Shutdown (Power off) with Android?


#1

I am using Android 7.1 on Rock Pi 4 (downloaded from here: https://dl.radxa.com/rockpi/images/android/all/rockpi-4b-nougat-20181221_1453_877b95b-gpt.img.gz)
This version dows not provide a shutdown / power off mechanism and the board has no hardware pushbutton for that purpose.

How to safely shutdown the device?

The only version that seems to contain a power key app is the Android TV 7.1 image from march.


#2

This version of Android is primary for the usage with the LCD, is there any special reason you want to use it?


#3

Thanks for your quick reply. I want to use it with 1080p at HDMI.
But even when it is used with LCD (I guess you mean the 7" RasPi display?) there should be an option for a safe shutdown.


#4

I agree. I also would be very grateful if there would be proper powerdown option app. For example both power down and reboot options…


#5

Hi,

https://dl.radxa.com/rockpi/images/android/all/rockpi-4b-nougat-20181221_1453_877b95b-gpt.img.gz

This is not 1080P on hdmi, it’s 800x480(the 7inch display resolution) instead. The Android TV image is 1080p. Please download the latest from:

https://github.com/radxa/rockpi4-android-tv-7.1/releases


#6

Hi

Would it be possible to include powerdown option in future Android releases also? Not just Anroid TV images…


#7

Is it possible to connect a physically power button?

greetings


#8

The physical power button is possible with power from the GPIO header, check the discussion here:

Is there a reset signal on the RockPi4?


#9

This will just be an option to cut off power the hard way. I am looking for a safe shutdown that protects the file system to be corrupted, which could happen in case of hard cut off.

Please include the shutdown / reboot options also in the “normal” Android images.


#10

At the moment i activate the Download mode and power of with a main switch in front of the power supply.


#11

Can I ask how you get to “Download mode” my remote keyboard does not have a POWER button ?


#12

Hi,

The 7.1 img have a Powerbutton app, with this I et too the download mode.

https://forum.radxa.com/t/rom-android7-1-android-tv-firmware-released/590/11

greetings


#13

pumuckll,

Thanks thats not there at the moment on the 9 version … fingers crossed it gets added soon …

I think I was hoping for a keyboard shortcut ??


#14

The power button is not available in the plain 7.1 image and only this supports Raspberry Pi’s TouchScreen and Pi camera. Please make it available also there (and also in the new version 9 image).


#15

Found a workaround that is working for me (on the plain Android 9 Pie image):
If you install “Qute” terminal, you can create a script with command
reboot -p
and you can create a shortcut to that script on the desktop. Clicking this shortcut will trigger a shutdown (without confirmation!),


#16

Really good workaround, Thanks! Works with plain Android 7.1 image too.