-
Posts
30 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by Juan Rangel
-
One last question, making tests I have tried both Armbian_23.11.1_Aml-s9xx-box_bookworm_current_6.1.63_xfce_desktop.img and Armbian_community_25.2.0-trunk.86_Aml-s9xx-box_bookworm_current_6.6.63_xfce_desktop.img I think that it is more stable for me the 23.11.1 version. I have been trying to find and archive repository to find any version between these two, but I haven't get managed. is there any problem using one year ago version? I am not sure but I also think that 25.2.0 is not an stable release.Is it enougth using armbian-config or apt upgrade systems? Thanks a lot.
-
Thanks, I have hello of my brother. And by my own I managed to get all the hardware off my TV box working by doing lot of test with dtb files. I have this last step problem. How to keep the TV box updated. You can see my other posts (like a serie of them: first how to backup emmc of android TV box, how to use and edit dtb file, ...) I hope someone could help me and I will write afterwards all the steps. Merry be it is very easy to "re-configure again" the boot process after apt upgrade and before the final reboot. This way, this post will be useful for some people, won't it? Thanks a lot. I will read also your links
-
Hi, i have tried and ...same problem First question is about (I am newbie in Linux) kernel. It seems that it has not been updated And the second question is that again, after reboot, the TV box doesn't boot. (See images, of before, after and failed boot) There is a packet that it is changing something. What will be the solution? 1. Before reboot, go to this file and change this ? 2. You must prepare again the SD card with the official IMG and reflash again emmc. (This is a big problem because I will lost what I have in my actual TV box everytime I want to update/upgrade). Any key ? Thanks a lot.
-
Hi, I own a Mini Mx III - II (S905X) that I "flashed" with an micro SD with install script. The tv box without any micro sd card inserted boot perfectly afterwards. I keep it but today, after few months I see that I have this image installed: Bookworm 23.11.1 Armbian_23.11.1_Aml-s9xx-box_bookworm_current_6.1.63_xfce_desktop.img.xz I have seen now that we have this version: 25.2.0 Armbian_community_25.2.0-trunk.86_Aml-s9xx-box_bookworm_current_6.6.63_xfce_desktop.img So I have tried to use armbian-config system firwmare update to get up to 25.2.0. After waiting to download and installa packages, I reboot my tv box but .... it doesnt boot properly. It says: "Failed to mount /dev/mmcblk1p1 as root file system" I am lucky as I keep the original micro SD card, so I have inserted it again and run again the install script, so now, again, I have 23.11.1 armbian booting perfectly in my tv box without any sd card. The question is .... 1. what have done armbian-config update to break this? 2. is the only way to keep my armbian OS up to last update by flashing again the new img file to sd card and make again the installation to my emmc of my tv box? 3. is there any other way not to loose all data to update to last updates? Thanks a lot,
-
Hi, I have finally installed armbian in my amlogic. I want to make a backup of the emmc now that it is "just installed". So if next year or whatever, if i want to go to my first day after the installation, I could go quickly. What will be the best way to create a "rescure image usb" ? In case of a disaster, could I boot from usb or only from sd? Thanks
-
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
Could you change the TITLE of this post adding at the begining "[SOLVED]", may be it is good for community, thanks -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
if someone read this, please, check also this post: -
Hi, finally I have get managed to get something good, and i want to share here to community. Finally I have decompile and compile lots of dtb files, dts files from here from librelec, .... changing text lines in dts files one by one to check them.... Finally: Based from meson-gxl-s905x-khadas-vim.dtb Decompile and make these changes: Lines 329-330, put this (solve BT): compatible = "qcom,qca9377-bt"; enable-gpios = <0x15 0x60 0x00>; Line 353, put this (solve LED): status = "disabled"; Line 1597, put this (solve USB): dr_mode = "host"; WORKS: usb1, usb2, hdmi, lan, wifi, BT, led, poweroff, poweron IR, audio DOESN'T WORK: poweroff IR I have even tried wifi hotspot (works). I attach here these two files: meson-gxl-s905x-minimxiii-ii.dtb meson-gxl-s905x-minimxiii-ii.dts Thanks a lot for your help. Next step .... install to emmc !!!! Next step meson-gxl-s905x-minimxiii-ii.dtb meson-gxl-s905x-minimxiii-ii.dts
-
HI, I have just used this firmware: Armbian_23.11.1_Aml-s9xx-box_bookworm_current_6.1.63_xfce_desktop.img.xz (https://forum.armbian.com/topic/17106-installation-instructions-for-tv-boxes-with-amlogic-cpus that links to: https://es.sbcmirror.org/dl/aml-s9xx-box/archive/) Is it a "full" one? Where are full ones?. About opening the box, yes, I opened it some days ago. May be you can identify something here. LMT8830 ? Wifi+BT (it is also strange that wifi works and bluetooth doesnt, isn't it?) (google search: https://github.com/armbian/firmware/commit/2516660cc89cc130c1e675fddfeb0b695acbdc76) But I don't know how to "write" or "search" for the correct DTB file. Is it impossible to get from android firmware in my tv box by a terminal app? Thanks a lot for your help. I am near, but next steps are impossible for me.
-
Hi, I have spent several days compiling and decompiling dtb and dts files. Trying to find the better one, comparing dts files in text editors.... Finally I have found something better but yet, not the best. (I have even checked libreelec dtb files) I have also tried to check in Android TV Box by installing terminal or hardware info apps trying to find information about bluetooth. But no luck. I have seen P212 in my android tv box. At this moment, my conclusion is: 1. despite my android tv box "says" P212, i found better this dtb file meson-gxl-s905x-khadas-vim.dtb than this one: meson-gxl-s905x-p212.dtb. 2. Both have errors, but after comparing lots of dts files if I make TWO changes in meson-gxl-s905x-khadas-vim.dts file, I get managed to get working all of this: usb1, usb2, hdmi, lan, wifi, LED, poweroff, poweron with IR, audio. And DON'T work: bluetooth and poweroff with IR dts line 353 change to "disabled" (solve LED problem, so I can see led on and off) dts line 1597 change to "host" (solve that with meson-gxl-s905x-khadas-vim.dtb only one usb port works. Now the two usb ports work) I have "left" two problems with my modified meson-gxl-s905x-khadas-vim.dtb. 1. I haven't got bluetooth working (THIS IS IMPORTANT if I want to use it for home assistant for example) 2. I haven't got the chance to power off the tv box with IR remote control (THIS DOESNT MATTER) Questions, please: 1. Despite my android tv box shows me "P212" in some "play store hardware info apps".... is there any problem not to use meson-gxl-s905x-p212.dtb and use meson-gxl-s905x-khadas-vim.dtb ? 2. Is it dangerous to alter two lines in a dts file? could I damaged hardware? 3. I have also tried to connecto TWO external old usb bluetooth adapters to solve the biggest problem of my modified dtb file. Both have the "same problem". I can see my tv box with armbian firmware from my mobile phone, but my armbian tv box can NOT detect anything. I click on "search" but .... nothing. 4. I have tried also to modified a bit the dts file with these two options to get the INTERNAL bluetooth working: compatible = "brcm,bcm43438-bt"; or compatible = "realtek,rtl8723bs-bt"; (line 329, and with realtek option also add in line 324 this: enable-gpios = <0x15 0x60 0x00>;) do you know how could I find the bluetooth chipset in a rooted android tv box? I can not find any solution with compatible = "brcm,bcm43438-bt" I get this: root@aml-s9xx-box:~# dmesg | grep Bluetooth [ 9.041277] Bluetooth: Core ver 2.22 [ 9.064960] Bluetooth: HCI device and connection manager initialized [ 9.064985] Bluetooth: HCI socket layer initialized [ 9.064992] Bluetooth: L2CAP socket layer initialized [ 9.073711] Bluetooth: SCO socket layer initialized [ 9.161291] Bluetooth: HCI UART driver ver 2.3 [ 9.165629] Bluetooth: HCI UART protocol H4 registered [ 9.170024] Bluetooth: HCI UART protocol BCSP registered [ 9.174866] Bluetooth: HCI UART protocol LL registered [ 9.179849] Bluetooth: HCI UART protocol ATH3K registered [ 9.185282] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 9.191661] Bluetooth: HCI UART protocol Intel registered [ 9.197142] Bluetooth: HCI UART protocol Broadcom registered [ 9.201468] Bluetooth: HCI UART protocol QCA registered [ 9.209641] Bluetooth: HCI UART protocol AG6XX registered [ 9.251766] Bluetooth: HCI UART protocol Marvell registered [ 9.459255] Bluetooth: hci0: BCM: failed to write update baudrate (-56) [ 9.464465] Bluetooth: hci0: Failed to set baudrate [ 9.650023] Bluetooth: hci0: BCM: Read verbose config info failed (-56) [ 22.006738] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 22.006787] Bluetooth: BNEP filters: protocol multicast [ 22.011685] Bluetooth: BNEP socket layer initialized root@aml-s9xx-box:~# rfkill ID TYPE DEVICE SOFT HARD 0 bluetooth hci0 unblocked unblocked 1 wlan phy0 unblocked unblocked It seems that the problem is "failed to write update baudrate". 3. with compatible = "realtek,rtl8723bs-bt"; I get this: root@aml-s9xx-box:~# dmesg | grep Bluetooth [ 8.236291] Bluetooth: Core ver 2.22 [ 8.251409] Bluetooth: HCI device and connection manager initialized [ 8.251434] Bluetooth: HCI socket layer initialized [ 8.251441] Bluetooth: L2CAP socket layer initialized [ 8.251483] Bluetooth: SCO socket layer initialized [ 8.312137] Bluetooth: HCI UART driver ver 2.3 [ 8.312193] Bluetooth: HCI UART protocol H4 registered [ 8.316137] Bluetooth: HCI UART protocol BCSP registered [ 8.321480] Bluetooth: HCI UART protocol LL registered [ 8.333958] Bluetooth: HCI UART protocol ATH3K registered [ 8.334060] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 8.334569] Bluetooth: HCI UART protocol Intel registered [ 8.351967] Bluetooth: HCI UART protocol Broadcom registered [ 8.364945] Bluetooth: HCI UART protocol QCA registered [ 8.370309] Bluetooth: HCI UART protocol AG6XX registered [ 8.387307] Bluetooth: HCI UART protocol Marvell registered [ 21.398088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 21.398110] Bluetooth: BNEP filters: protocol multicast [ 21.398127] Bluetooth: BNEP socket layer initialized root@aml-s9xx-box:~# rfkill ID TYPE DEVICE SOFT HARD 0 wlan phy0 unblocked unblocked No errors, but.... no info in rfkill output Does anybody know how to go further here? Any dts/dtb expert? I can not get the internal bluetooth module working despite it is being "detected". I can not also get the two external usb adapters working because then can not find anything.... NOTE: I will upload my final DTS and DTB files but I want not to upload a not-finished file.
-
HI, I have tried all dtb files that we talked about. These are the results: dtb wifi lan poweroff BT usb1 usb2 ir Audio led p212 y y n n y y n n y hwacom error khadas y y y n y n ¿? y n libretech n y n n y y ¿? y y libretechV2 error a95x error Dtb files with ERROR is that they really don¡t finish boot What I can see now is that best one is the group of p212+hwacom (or p212+libretech). Hwacom and libretech has AUDIO but hwacom can also power off correctly the tvbox. So if I could managed to get the information about audio in these dtb files and "copy" in p212 dtb file, I could make a customized DTB for Mini MXIII-II only with these problems: Bluetooth (It is a pitty, but I have also read that it is easy to solve with an external and cheap usb-bluetooth adapter) and IR (but this is almost useless once I boot my tvbox with armbian). Does you know how to "merge" both DTB files? Any clue? Any help? Thanks. (just in case I attach here the three files) meson-gxl-s905x-khadas-vim.dtb meson-gxl-s905x-libretech-cc.dtb meson-gxl-s905x-p212.dtb
-
HI, I have another post about Mini MXIII-II (if you have it, please start reading this post: My next step, as @SteeMan said me in that post, is to check "all" things in the SD card before installing armbian to the emmc. I have detected problems with audio and bluetooth. HDMI, WIFI, USB, LAN seems to work. If you will check anything more, please, tell me, thanks. My question is about... I think that hardware is defined in the DTB file, so ... could I check one by one "all" dtb files? (I mean only ones that have S905X in their names). does it make sense? Any other DTB file that I could test? Thanks.
-
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
I supposed that I could write in the script emmc="mmcblk1" (i am not completly sure) but I think it is better to find the error and then share it so experts could check again the ddbr script for everybody, isnt it? EDITED: I have finally forced this two values: runfrom="mmcblk0" emmc="mmcblk1" I am now just backing it up meanwhile I get an answer. Runfrom was forced because it also had "sda1" (my usb to save the backup). I have also found a little error in script about autochecking destinantion free space as it checks in "/" root. I have gone on despite this warning, And I am just doing a backup to my usb pendrive (/media/root/16Gb or /sda1) SAVING AND COMPRESSION mmcblk1 TO /media/root/16Gb/BACKUP-arm-64-emmc.img.gz ... 1. Do you agree that this is correct? then I can go to next step, check audio driver and bluetooth (If I try to enabled it in desktop, the icon just dissapers). If "yes, this backup is correct", I will add here (in the next message) the script, some explanations and also (I don't know where) make a PR or ISSUE about ddbr script.(please tell me in which web page or github repo I could warn about this. Then they will decide if they want to check again the script or not as it is only "one" case) NEXT STEP (as you have said when I have the audio, bluetooth, .... verified) will be "install-aml.sh" (may be this script also fails in my configuration). 2. After that, is it good to make again a "emmc" backup image as "fresh installation" ??? Probably I will have same errors in "install-aml.sh" won't I ? 3. About audio and bluetooth problems... are they related with DTB file? Could I get it from the original android tv box firmware that I have backed up? May be it is better to open another post? Or all things about Mini MXIII-II here changing the post title? Thanks a lot -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
Hi, I have just add some "echo" to ddbr script. hasdrives: mmcblk0 mmcblk1 avail: mmcblk0 mmcblk1 sda1 runfrom: sda1 mmclbk0 sed: -e expression #1, char 6: unterminated `s' command emmc: (empty) UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!! So the "sed error" fires in this line: emmc=$(echo $avail | sed "s/$runfrom//" | sed "s/sd[a-z][0-9]//g" | sed "s/ //g") (I still has your modification un runfrom: runfrom=$(lsblk | grep / | grep -oE '(mmcblk[0-9]|sda[0-9])' | uniq) If I put the original one, I get this runfrom: sda1 mmcblk0 mmclbk0 Here the lsblk output -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
I have tried and put a command echo $runfrom, I get: "sda1 mmcblk0 sed: -e expresion #1, char 6: unterminated 's' command UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!!" After I have put echo $emmc, but it is empty. Could you help me with next step? -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
Let me try, thanks a lot. -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
I think here is the problem, as I am getting an error message about the "command" sed, I am trying to check ddbr.sh in my disk image (Armbian_23.11.1_Aml-s9xx-box_bookworm_current_6.1.63_xfce_desktop.img.xz) Just above this text "UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!!" and after the "click" of "b", I can see this line: emmc=$(echo $avail | sed "s/$runfrom//" | sed "s/sd[a-z][0-9]//g" | sed "s/ //g") if [ "$emmc" = "" ] then echo "$_r UNABLE TO FIND YOUR EMMC DRIVE "$_c"OR"$_r" YOU ALREADY RUN FROM EMMC!!! $_x" exit 1 fi Just in case I attrach here the ddbr.sh that I have found in the sdcard. ddbr -
Help with emmc on Mini Mx III - II, I want to backup it
Juan Rangel replied to Juan Rangel's topic in Amlogic CPU Boxes
Hi, I am trying this command: sudo ddbr /media/root/16Gb/ Then I push "b" And this is the error (you can see it in the first message of this post): "sed: -e expresion #1, char 6: unterminated 's' command UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!!" I have also tried without any argument, or any sudo, same answer. Command: ddbr Then I push "b" And this answer: "sed: -e expresion #1, char 6: unterminated 's' command UNABLE TO FIND YOUR EMMC DRIVE OR YOU ALREADY RUN FROM EMMC!!!" Do I have any way to get "more log" for you to check? Thanks