How to power off Android on Pine64
#19
(09-15-2016, 08:15 AM)johnsl Wrote: Hi,

Apologies for asking a low level question, but I can't find any way to stop Android on the Pine 64 other than just killing the power.

All 'normal' android devices have a power button - and there seems to be no way to do a clean power off without one - the problem occurs in many android forums from users with phones/tablets with broken power buttons.

Is there any obvious way to do this without soldering a power button onto the board or finding some solution via rooting the installation?

John.

If it is rooted you can add an App.  ReMix 2.0 comes with a power button hidden in the upper corner of the Settings.  Android 7.0 places the root differently so most Apps do not think it is rooted and I tried giving permissions via SuperSU but failed.

(09-15-2016, 11:27 AM)MarkHaysHarris777 Wrote: You are correct.

... also be advised that a short 'click' on the power button puts the unit to sleep , for which atm there is no recovery except reset or power pull.  Always use a long push -- click the power button and 'hold' it until the power-off dialogue appears.

oops!  No wonder it never works.  I have only attached it to one of my multiple boards.  I figured I just screwed up soldering it.  I may still have, I'll have to test it again.

(11-15-2016, 04:31 AM)pfeerick Wrote:
(11-15-2016, 03:37 AM)symbiatch Wrote: Is there any reason for this, or work being done to fix this? This wasn't told before and my Pine with touch screen and battery is now actually useless since I can't put it to sleep. Power off/on takes ages and keeping it running all the time will mess the screen up in no time. So I kinda feel like the product isn't working as advertised...

Which Android build are you using? One of the latest 5.1.1 builds, or the Android 7 builds? I experience the power sleep issue with one of the earlier builds, but I felt it was more an issue with reinitialising the monitor/HDMI as the pine64 was drawing more power as if it had started up. I did try on a later 5.1.1 release, as shown in the two videos linked in an earlier post in this thread, and didn't have that issue any more. However, I don't have a LCD display, so I don't know if the LCD build is still susceptible to this issue, and I would be surprised if the Android 7 builds were suffering from it.

Android 7.0 sleeps very quickly, 10 seconds (or similar) to 30 minutes.
5.1.1 can be left running hours or it even suspended.

(11-15-2016, 11:15 AM)symbiatch Wrote:
(11-15-2016, 05:55 AM)MarkHaysHarris777 Wrote: Don't put it to sleep: reset required, not good.

Yes, that's my whole problem. I need to put it to sleep. It should support it. Why doesn't it? What's the reason it hangs?

Even if you wanted it has maximum time of 30 minutes and can not be suspended with 7.0


Messages In This Thread
How to power off Android on Pine64 - by johnsl - 09-15-2016, 08:15 AM
RE: How to power off Android on Pine64 - by Toriless - 12-19-2016, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 392,174 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 30,046 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 17,019 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,052 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,128 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,666 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,372 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 261,505 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,581 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 106,193 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)