Jump to content

Armbian for H313 X96-Q LPDDR3 TV-Box


Recommended Posts

20 hours ago, zdvrv said:

Yes, I have a bricked Z1 (the old version).

 

Today a made a new attempt to clone the Z1 (secure boot) version of Android and it succeeded

 

Unfortunately i don't have i Live (Non secure boot  Z1) to do the same.

 

If you find a live box same with yours,  boot with Armbian from SD and use a USB SD reader with SD card (al least 32GB)

give the bellow command:

 

sudo dd if=/dev/mmcblk2 of=/dev/sda bs=64K conv=noerror,sync status=progress

 

mmcblk2 --> Tv-box eMMC

sda  --> Usb Card Reader with (32 GB SD card)

 

When finish, shutdown your TV Box, remove the sd card from reader and insert it to your box

 

It will boot to android.

Link to comment
Share on other sites

38 minutes ago, zdvrv said:

Could you share the secure Z1 Android image?

It will not boot on your (non secure) device for sure, because i test it on my (non secure)  Z1 and does not boot.

We have to find a Live (non secure) Z1 box to extract the image. I am also looking for such device.

 

Devices are not same and  emmc + wifi/bt chips are different.

 

Right now i have a bootable SD Card if i make image it will be about  15GB (uncompressed)

 

it is not easy to share it,  but i will try it.  When i have the time i will inform you.

 

 

 

Edited by rafman
Link to comment
Share on other sites

19 minutes ago, rafman said:

It will not boot on your (non secure) device for sure, because i test it on my (non secure)  Z1 and does not boot.

I see, I thought maybe secure Z1 image could work on the older model.
I had that version for a moment and saw kernel modules for aic8800 in the firmware but they were not used.

Do you have a way to make the aic8800 bl/wifi and hardware acceleration work on armbian with this box?

Link to comment
Share on other sites

17 minutes ago, zdvrv said:

Do you have a way to make the aic8800 bl/wifi and hardware acceleration work on armbian with this box?

 

For the moment i have complied a driver for aic8800 but it does not work correctly. I will try to compile

the branch with the kernel 6.7.12 because with 6.10.9-edge-sunxi64 HDMI seems broken and does not work on x96q_v1.3

 

The problem is that now my free time is very limited.

 

 

Link to comment
Share on other sites

2 minutes ago, sicxnull said:

Should have some time this week to dig in

 

I did it locally,  i modify 

 

KERNEL_TARGET="edge"  on board configuration

 

The system chooses kernel 6.10.9-edge-sunxi64

I see that Ethernet is working however HDMI seems broken and i don't have console,  ssh works.

 

 

 

Link to comment
Share on other sites

I am looking the way to compile a board with edge kernel of my choice. (for testing)

 

When i use : KERNEL_TARGET="edge" on board_defconfig

 

System selects 6.10.9 however i don't need  the latest possible kernel that system is choosing.

I want to compile board with kernel 6.7.12 and not 6.10.9

 

how can i do this ?

what else i need to change/add ?

 

Link to comment
Share on other sites

You can change your edge kernel in config/sources/families/include/sunxi64_common.inc

 

case $BRANCH in

	legacy)
		declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
		declare -g KERNELBRANCH="tag:v6.1.104"
		;;

	current)
		declare -g KERNEL_MAJOR_MINOR="6.6" # Major and minor versions of this kernel.
		declare -g KERNELBRANCH="tag:v6.6.44"
		;;

	edge)
		declare -g KERNEL_MAJOR_MINOR="6.10" # Major and minor versions of this kernel.
		declare -g KERNELBRANCH="tag:v6.10.9"
		;;
esac

 

Link to comment
Share on other sites

@rafman  But be aware when pointing to a specific kernel version other than what is currently used, that you also need the set of patches for that kernel that gets added on top of the mainline kernel.  Since you mention wanting a 6.7 based kernel, you would find those patches in patch/kernel/archive/sunxi-6.7.  (Note that at some point this whole directory will be removed as it isn't maintained, and depending on what point version of 6.7 you are wanting to use, these patches may or may not apply cleanly).    So you can't just point to any random mainline kernel version and expect that all the patches necessary will exist for that particular kernel version.

Link to comment
Share on other sites

3 hours ago, SteeMan said:

@rafman  But be aware when pointing to a specific kernel version other than what is currently used, that you also need the set of patches for that kernel that gets added on top of the mainline kernel.  Since you mention wanting a 6.7 based kernel, you would find those patches in patch/kernel/archive/sunxi-6.7.  (Note that at some point this whole directory will be removed as it isn't maintained, and depending on what point version of 6.7 you are wanting to use, these patches may or may not apply cleanly).    So you can't just point to any random mainline kernel version and expect that all the patches necessary will exist for that particular kernel version.

 

I just want to test the X96Q_H313_LPDDR3 board with different kernels, I use 6.7.12 kernel on my Transpeed 8k (H618) and it seems to perform nice.

However on X96Q_H313_LPDDR3 with  6.6.44 kernel the board is stable, but seems to have response problems,slow video playback problems and consumes lot of CPU resources ( UI ) without reason. (Also seems that GPU is not used)

 

H313 - H616 / H618 are very similar.

 

Yesterday: I compiled the board ( X96Q_H313_LPDDR3 )  with latest -->  6.10.9-edge but the HDMI is broken (i have no console) only ssh, and for this reason i wanted to compile for test with 6.7.12

 

Today: I test with 6.7.12 and HDMI, Ethernet is working, but I have other problems because 1 of 2 USB ports and sound is not working.

I am trying to understand what causes above problems. However seems that box response ( UI ) seems to be much better with 6.7.12 than 6.6.44.

 

I will check further.

 

 

 

 

 

 

 

 

Edited by rafman
Link to comment
Share on other sites

I installed Armbian on the eMMC to see if it would improve performance in Netsurf, but I didn't get good results. Now, when I tried to go back to the original Android, I noticed that the X96Q is no longer recognized in Windows 10's Task Manager. Does anyone know how to make the X96Q be recognized by the PC again?

Link to comment
Share on other sites

I don't wish to appear rude, so I'm back with an update.

My main goal for this was to install HomeAssistant, which I successfully did using miniach, so I've no requirements for Armbian at this stage.

Getting HomeAssistant to run however is another issue. 🙂

Thanks for the input though.

Edited by K R
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines