X96 mini Power Off not working

The problem is the wake up reason is unkown.
Use first last nightly and disable CEC wakeup in ce settings at all.
Disable also WOL and try again.

With a UART log I can tell u the reason for the wakeup.

How can i make an uart log? Do i need some special hardware?
I dont know if that helps, but i tried “shutdown --reboot” , the box stays in that “zombie” status (black screen but the tv shows “1080P input signal”) and the box does not restart.

I used the same microSD slot for for both. Does anyone know wich is the right one for this box? (gxl_p281_2g.dtb or gxl_p212_2g.dtb) What are the differences?

in the Android Recovery Menu (long press reset without usb) mine shows p281 7.1.2/NHG4L/root.

i’ve flashed an old android image (20180512) with the usb burning tool but still get the same shutdown problem.

The NG Version of 9.2.5 stable works fine for me too btw but still the shutdown problem

Just comment out lines 231-239 and compile the u-boot. However, you also have to patch the u-boot for 2g RAM support and faulty reset button function on p281 boards.


Or ask @Portisch if he could test compile bl301 without auto_wakeup
1 Like

Some other user use this timer on GXL platform I guess.
On G12* platform it’s replaced by a RTC wakeup. I currently searching a bug about RTC wakeup after 1-5min for CE 10.0. When I found this maybe the timer issue can be solved to.

1 Like

First question: why buying a device with a obsolete SoC? No answer needed…

Second:
Here is a image where I deactivated the auto_wakeup in bl301 blob for p241/p281 only. So please boot with your current image and be sure bl301 is injected. Send the device to suspend - and it wake up?

If yes please update with this tar and try suspend again after update. The bl301 blob is automatic updated if it was injected before.

https://mega.nz/file/qWAnhQSL#edTssmRn9cbjxlJ6_LvP4-cFIZXlDOARyZ5LSGXvqh0

Thanks a lot, i will try the image later today.
To your second-not-to-be-answered question: beleive me, it was not an intention to buy one like this. I went trough all the hardware infos here, unfortunately all listed devices are older and not on the market anymore - you can get them eventually over ebay. I am happy enough to got one with S905W, as i read now there are some out with an other SoC than stated. The other thing is the naming of the boxes, there is no direct correlation between names and hardware… A broader hardware database would be helpful, until then: do not by an X96 mini like mine… Thanks

Installed the update, it has no effect on switch off. The led stays blue, the hdmi output is still active. Also tried “poweroff -p” from a ssh terminal, same behaviour.

What means hdmi is active? Is Kodi on screen or is it black? I have no such hardware and can’t check it in more detail. The p281 device I have does support suspend after inject bl301 with all features. Before inject it just resume as the “old” bootloader have no suspend support.

Only a UART log will lead to a solution I guess

I have a monitor with multiple inputs, if one input becomes inactive the monitor switches to the next input - which is in this case my pc. If i start the x96 mini in android mode and push the “power off” then the led goes to red and my monitor switches to my pc as the next active input. If i run it with CoreElec and push the “power off” then CoreElec stops, my ssh connection is saying: “connection lost” and the monitor only gets black with the backlight still switched on it and stays on this input. If i then pull the power plug of the X96 mini the monitor switches to my pc. The same behavior on my TV.
Would that help if a make pictures from the board itself?

You should update the bootloader, install android 9 and try again…

The box was delivered with Android 9 installed on it, if i run it with the installed Android the “power off” works correctly.

I understand now what you ment, installed android 9 and the original bootloader from scratch (X96mini_RP_20200831-1031-SV6030P.img).
Now i can power off (LED goes to red) and on (LED goes to blue) with the original android 9 again… but after installing CoreELEC-Amlogic-ng.arm-9.2-nightly_20210116-Generic with gxl_p281_2g.dtb as dtb.img it is the same again, so if i am switching it off it goes to a zombie state, LED stays blue, the attached usb harddrive stays on. To switch it on again i have to pull the power plug. Same with suspend. Instralled CPU-Z, it states Model: X96mini_RP (ampere), Board: ampere. I saw an older X96Mini, there was: Model: X96mini (p281) , Board: p281.
Is there any known Box with this “ampere” board? Should i try some other device maps or other images (like Odroid or Potato or whatever)
I have the latest original image now, can this help somehow?

I installed the original sw+ bootloader, then “CoreELEC-Amlogic-ng.arm-9.2-nightly_20210120-Generic”. I started inject_bl301 from a remote shell. Status after pressing:
“Power off system” : LED stays blue, attached USD-HDD stays on, HDMI-output switched off
“Suspend” : LED stays blue, attached USD-HDD stays on, HDMI-output stays on,
“Reboot” does the same as “Power off”
The box allways wakes up.
After i started inject_bl301 and boot in android mode, it is not anymore possible to start the box with the remote - before it worked ok.
Thanks

You have wrong IR code setup

Thnaks, corrected “config.ini” according to the howto, unfortunately at the end: “sync && reboot” the box does not reboot, it stays in this funny zombie state. After replugging power comes up but on-off behaviour remains the same.

Thanks and sorry - i will slowly get to it…

dmesg:
http://ix.io/2Naa

system logs:
http://ix.io/2Nac

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.