zra123 Posted October 2 Posted October 2 23 часа назад, sicxnull сказал: i just built a 5.1 image. Should work for you https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q-v5-1_bookworm_current_6.6.44_mate_desktop.img.xz https://github.com/sicXnull/armbian-build/tree/X96Q-5.1-DDR3 I've compiled the image, everything works. Thx 0 Quote
sicxnull Posted October 2 Author Posted October 2 5 minutes ago, zra123 said: I've compiled the image, everything works. Thx glad it's working for you. 0 Quote
going Posted October 3 Posted October 3 21 час назад, sicxnull сказал: correct me if i'm wrong, but the point of a board level patch is so that it does not apply to all devices, no? Yes it is. If you are satisfied with how all patches are applied during the compilation process, then we will just leave everything as it is. 0 Quote
rafman Posted October 3 Posted October 3 @sicxnull Yesterday i make a fresh clone of : git clone https://github.com/sicXnull/armbian-build.git --branch X96Q-TVBOX-LPDDR3 --single-branch But when compile it I get an error [Error context msg [ Check MD5 sum of installed packages failed ..] I also tried to use FORCE_CHECK_MD5_PACKAGES=no but I receive the same error. after i clone the : git clone https://github.com/sicXnull/armbian-build.git and is compiled without errors, And finally i make a bookworm image (with secure boot) After i test the image on my tv-box (Z1): The Tv-box boots from SD card, however when i try to copy my image from SD card to eMMC then the Tv-box does not boot al all. I solve this problem with my old noble (secure boot) image (when i copy the bootloader to eMMC via armbian-config) Something is changed on u-boot ? 0 Quote
sicxnull Posted October 3 Author Posted October 3 1 hour ago, rafman said: But when compile it I get an error [Error context msg [ Check MD5 sum of installed packages failed ..] no changes made, only thing i did was rename to v1-3 ill double check though and make sure nothing funky is going on. will compile tonight and see if i can replicate 0 Quote
rafman Posted October 4 Posted October 4 20 hours ago, sicxnull said: no changes made, only thing i did was rename to v1-3 ill double check though and make sure nothing funky is going on. will compile tonight and see if i can replicate FYI: git clone https://github.com/sicXnull/armbian-build.git --branch X96Q-TVBOX-LPDDR3 --single-branch cd armbian-build ./compile.sh build BOARD=x96q-v1-3 BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=bookworm build.log 0 Quote
jschwart Posted October 16 Posted October 16 On 10/2/2024 at 1:57 AM, sicxnull said: i just built a 5.1 image. Should work for you https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q-v5-1_bookworm_current_6.6.44_mate_desktop.img.xz https://github.com/sicXnull/armbian-build/tree/X96Q-5.1-DDR3 I first tried the non-v5.1 that you have, but it didn't do anything. Then I tried this v5.1 one and it works amazingly on my device!! Thank you so much! 👏 0 Quote
vok4us Posted October 17 Posted October 17 I am trying to install Armbian on emmc of the tv box X96Q using armbian-install. The installation is aborted at the file copying stage (message "Cleaning up ... Almost done", but the tv box does not start with emmc). @rafman please share the image (or the path) with a secure boot for the tv box X96Q or Z1 0 Quote
rafman Posted October 17 Posted October 17 (edited) 49 minutes ago, vok4us said: @rafman please share the image (or the path) with a secure boot for the tv box X96Q or Z1 I will share it again but Please let me know what image you have used and you had the problem with emmc ? If you used normal image your system probably will not boot with secure boot image. Also if you have a picture of your board/box please place it. Edited October 17 by rafman 0 Quote
DrEaD Posted October 18 Posted October 18 Hi! Firstly thanks put work in this box! I've a X96Q Brazilian clone named PROSB-3000, it's almost same from comment #200190 It boots D:\MiniArch-20240715-6.10.10-board-h313.x96_q_lpddr3-SD-Image.img... Compiled all links from this topic, always write only "root" partition, without boot partition(in all tests only work with boot and root partitions). In one compiling trying gets "Check MD5 sum of installed packages failed" message, like #203154 comment. So I've tried #202501 method, burned MiniArch, changed files in boot, removed root, restore armbi_root and got screen, but... Glitched splash screen, waited some minutes, nothing happen... Any advice? Images attached. 0 Quote
rafman Posted October 18 Posted October 18 (edited) 1 hour ago, DrEaD said: Hi! Firstly thanks put work in this box! I've a X96Q Brazilian clone named PROSB-3000, it's almost same from comment #200190 It boots D:\MiniArch-20240715-6.10.10-board-h313.x96_q_lpddr3-SD-Image.img... Compiled all links from this topic, always write only "root" partition, without boot partition(in all tests only work with boot and root partitions). In one compiling trying gets "Check MD5 sum of installed packages failed" message, like #203154 comment. So I've tried #202501 method, burned MiniArch, changed files in boot, removed root, restore armbi_root and got screen, but... Glitched splash screen, waited some minutes, nothing happen... Any advice? Images attached. Your board is LPDDR3_v1.3 and from your photos It seems that your system is booting, however HDMI and LAN is not working and you have this screen. (known problem with this hack) You can try the bellow image. Normally your system will boot without above problems. https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img.xz Use Balena Etcher to burn it on SD. Edited October 18 by rafman 1 Quote
DrEaD Posted October 18 Posted October 18 Quote Your board is LPDDR3_v1.3 and from your photos It seems that your system is booting, however HDMI and LAN is not working and you have this screen. (known problem with this hack) You can try the bellow image. Normally your system will boot without above problems. https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img.xz Use Balena Etcher to burn it on SD. Thank you, this image worked! 0 Quote
vok4us Posted October 18 Posted October 18 17.10.2024 в 23:17, rafman сказал: I will share it again but Please let me know what image you have used and you had the problem with emmc ? If you used normal image your system probably will not boot with secure boot image. Also if you have a picture of your board/box please place it. Hello. I used this image https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img.xz My tv box boots from an SD card with this image, but does not install on emmc. My tv box is X96Q H313 PC040BB 9031 SanDisk SDADFAAP-i66. I am attaching a photo. 0 Quote
sicxnull Posted October 18 Author Posted October 18 2 hours ago, vok4us said: My tv box boots from an SD card with this image, but does not install on emmc. what is happening when you install to EMMC? 0 Quote
rafman Posted October 18 Posted October 18 2 hours ago, vok4us said: Hello. I used this image https://github.com/sicXnull/armbian-build/releases/download/v24.8.0-trunk.425/Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img.xz My tv box boots from an SD card with this image, but does not install on emmc. My tv box is X96Q H313 PC040BB 9031 SanDisk SDADFAAP-i66. I am attaching a photo. Your board is x96q_LPDDR3_v1.3 normally you should not have any problems with the image you used. FYI: You don't need any secure boot image for this board. I compile a normal image for you for the x96q_LPDDR3_v1.3 (same as i use on Z1 and Q1) You can Download it Here: https://easyupload.io/mmdyw7 Instructions: 1> Write the downloaded image on SD Card using Balena Etcher. 2> Boot from SD Card. 3> Install it via armbian-install to eMMc (don't reboot) 4> Update the bootloader on eMMC via armbian-install. (to ensure that bootloader is written) 5> Power off your tv-box. ( sudo shutdown -h now ) 6> Remove SD card from your Tv-box 7> Unplug - Replug the power cable of your tv-box PS: Please let me know if it is working or no. If you encounter any problem please inform us. 0 Quote
vok4us Posted October 19 Posted October 19 18 часов назад, rafman сказал: Instructions: 1> Write the downloaded image on SD Card using Balena Etcher. 2> Boot from SD Card. 3> Install it via armbian-install to eMMc (don't reboot) 4> Update the bootloader on eMMC via armbian-install. (to ensure that bootloader is written) 5> Power off your tv-box. ( sudo shutdown -h now ) 6> Remove SD card from your Tv-box 7> Unplug - Replug the power cable of your tv-box Hello. I followed your instructions and failed to complete point 3 (screenshots attached). 1> Write the downloaded image on SD Card using Balena Etcher. ...OK! 2> Boot from SD Card. ...OK! 3> Install it via armbian-install to eMMc (don't reboot). ...FAIL! Screenshot 1 - The step "Counting files..." lasted 5 minutes. Screenshot 2 - The step "Transferring rootfs to..." lasted 1 minute. The progress always stayed at 0 %. Screenshot 3 - The step "Cleaning up..." lasted 2 minutes. Screenshot 4 - This message appeared at the step "Cleaning up..." Screenshot 5 - The final message "All done" I also tried to clone the sd card using this command $ sudo dd if=/dev/mmcblk0 of=/dev/mmcblk2 bs=1M status=progress The result is the same - the tv box does not load from emmc 0 Quote
rafman Posted October 19 Posted October 19 (edited) 42 minutes ago, vok4us said: Hello. I followed your instructions and failed to complete point 3 (screenshots attached). This is just a warning is not failure operation is finished. Do it again, 1> Boot again from SD Card. 2> Install it via armbian-install to eMMc (don't reboot) even if you receive the warning. 3> Update the bootloader on eMMC via armbian-install. (to ensure that bootloader is written) 4> Power off your tv-box. ( sudo shutdown -h now ) 5> Remove SD card from your Tv-box 6> Unplug - Replug the power cable of your tv-box If your tv-box fails to boot then something is wrong with u-boot. Edited October 19 by rafman 0 Quote
vok4us Posted October 19 Posted October 19 (edited) 14 минут назад, rafman сказал: If your tv-box fails to boot then something is wrong with u-boot. I have followed all the points of your instructions, but the tv box does not load. Do I need to flash u-boot? Edited October 19 by vok4us 0 Quote
rafman Posted October 19 Posted October 19 (edited) 31 minutes ago, vok4us said: I have followed all the points of your instructions, but the tv box does not load. Do I need to flash u-boot? Yes your problem probably has to do with u-boot. I had the same problem, but with a different git build, read here: I will check the image to my old Z1 (non secure boot) and i will inform you. Edited October 19 by rafman 0 Quote
rafman Posted October 19 Posted October 19 (edited) @vok4us 1 hour ago, rafman said: I will check the image to my old Z1 (non secure boot) and i will inform you. I checked my image to my old (non secure) Z1 and WORKS it boots from SD/eMMC without problems. Also @sicxnull Image boots from SD/eMMC without problems. FYI: I also receive lsof warning. I don't know you why on your tv-box eMMC boot fails (your board is V_1.3) (probably something is different ?) Check also the following : eMMC boot has a delay about ~10 second. Try to boot your tv-box without keyboard / mouse connected. Try to check / format / remove partitions of your eMMC via gparted, and check for errors / reinstall Armbian Try to use different Monitor / TV Try to use diferent image e.g X96Q_v5.1 Finaly if all fails for you: Try to test miniarch (MiniArch-20240715-6.10.10-board-h313.x96_q_lpddr3_v1.3-SD-Image.img.xz ) install it on your emmc and see if it boots. Edited October 19 by rafman 0 Quote
zdvrv Posted October 20 Posted October 20 @rafman Do you have the original Android firmware for the Z1 by any chance? 0 Quote
rafman Posted October 20 Posted October 20 (edited) 2 hours ago, zdvrv said: Do you have the original Android firmware for the Z1 by any chance? No because manufacturer don't publish the firmware, they just provide (when needed) updates via update-tool inside the box . I really don't care for android because now both boxes works with Armbian, and for me android makes the box HOT and both boxes are blacklisted from Netflix and there is no reason to use android anymore. FYI: There are two versions of Z1 box. 1> Newer version with Kingston eMMC (secure boot) 2> Older Z1 version was with Micron eMMC and AIC8800 wifi (non secure boot) I Have both tv-boxes, But no firmware for both. I have extracted the DTB from (Secure Z1) for research purposes. I tried unsuccessfully to backup the firmware from a live (Secure Z1 with kingston) via dd with Armbian in order to restore it to a bricked Z1 (Secure Z1 with kingston) but this did not worked for me. if You are looking for firmware for Z1 (you must check your board version first) Do You have a bricked Z1 ? Why you are looking for Android firmware ? Edited October 20 by rafman 0 Quote
RaulZzz Posted October 20 Posted October 20 I successfully installed Armbian on my x96q lpddr3 v3.1 without issues, but it seems the GPU is not enabled on the system. Could someone explain how to enable GPU acceleration? I've never used Linux before, so I'm a bit confused about how to proceed. The version i used on my board: Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img 0 Quote
rafman Posted October 20 Posted October 20 8 minutes ago, RaulZzz said: Could someone explain how to enable GPU acceleration? I've never used Linux before, so I'm a bit confused about how to proceed. Follow the instructions on this topic, it works with mpv. 0 Quote
zdvrv Posted October 20 Posted October 20 (edited) 2 hours ago, rafman said: Do You have a bricked Z1 ? Why you are looking for Android firmware ? Yes, I have a bricked Z1 (the old version). Netflix stopped working so I started experimenting with software from other boxes like X96Q Pro. I managed to get Netflix to work with Magisk and Play Integrity Fix but then I discovered that Bluetooth doesn't work and I need it in my setup for audio and the remote. I'm considering Armbian now as there is no way to get the original firmware. Just don't know if it will work for me as I need Disney+, Netflix, Apple TV (and maybe Prime) with some nice interface to operate it through a remote - so Android. Edited October 20 by zdvrv 0 Quote
RaulZzz Posted October 20 Posted October 20 @rafman I managed to install it on the system, but I don't quite understand what it's for. Is it to enable video encoding for the GPU with h264/h265? Either way, that's not exactly what I wanted. My problem is the following: every time I move the mouse, the CPU usage goes to 100% on one or more cores, showing that the workload for rendering the UI on the screen is on the CPU. I want to know if I can use the GPU to "render" the UI. Note: The mouse flickers on the screen because the UI can't be rendered at 60fps. Note 02: The CPU clock is locked at 1512MHz to slightly improve the situation. 0 Quote
rafman Posted October 20 Posted October 20 (edited) 1 hour ago, RaulZzz said: @rafman I managed to install it on the system, but I don't quite understand what it's for. Is it to enable video encoding for the GPU with h264/h265? Either way, that's not exactly what I wanted. My problem is the following: every time I move the mouse, the CPU usage goes to 100% on one or more cores, showing that the workload for rendering the UI on the screen is on the CPU. I want to know if I can use the GPU to "render" the UI. Note: The mouse flickers on the screen because the UI can't be rendered at 60fps. Note 02: The CPU clock is locked at 1512MHz to slightly improve the situation. Your board is V3.1 and may use a a diferent DTB than V1.3 and for this reason you may have problems with box behavior. Unfortunately at this moment there are Armbian versions for V1.3 and V5.1 boards. V1.3 may partially works for your board. You can also try to compile X96Q_V5.1 to see if something is changing or to switch to an other (newer) kernel via armbian-config Edited October 20 by rafman 0 Quote
RaulZzz Posted October 20 Posted October 20 @rafman Thank you for the help, I will put it aside for now. Could someone compile a headless version of lpddr3 v1.3 for me? I tested v5.1 and it didn't work. 0 Quote
rafman Posted October 20 Posted October 20 @sicxnull My Armbian installation is on eMMC. I tried to switch to edge kernel 6.7.12 via armbian-config in order to test the kernel with my H313 (Z1) . When I choose the kernel and my system rebooted, my box was not able to boot anymore. After i boot from SD and i mount the root partition of eMMC to investigate the problem. I realized that the new kernel make a new folder on /boot/ dtb-6.7.12-edge-sunxi64 and the sun50i-h313-x96q-lpddr3.dtb was missing from this folder (allwinner). When i copy the sun50i-h313-x96q-lpddr3.dtb from the remaining dtb-6.6.44-current-sunxi64 the system booted normally but without sound and Ethernet. is there any way to compile the X96Q v1.3 Branch with edge kernel 6.7.12, including the sound and Ethernet patches from 6.6.44 ? FYI: 6.7.12 seems faster and more responsive than 6.6.44 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.