Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting charging from power off will cause booting to fastboot mode #37

Closed
mokmeister opened this issue Sep 2, 2020 · 11 comments
Closed
Labels
bug Something isn't working

Comments

@mokmeister
Copy link

If the phone battery fully discharges and then is plugged in to charge, the phone will instead boot to fast boot. Work around for this is to disconnect the cable, reboot, let the phone boot to OS and then plug in to charge.

@mokmeister
Copy link
Author

It has been suggested that it may be a porting issue where the port is missing offline charging support.

@wurzer wurzer added the bug Something isn't working label Sep 5, 2020
@JamiKettunen
Copy link
Collaborator

JamiKettunen commented Sep 14, 2020

It should be noted that this happens anytime the phone is powered on by plugging it to a power source (even if it isn't a computer); @NotKit has suggested that the device should be made to always boot Ubuntu Touch for now until support for offline charging is added.

@gbdomubpkm
Copy link

Hello.
Received Volla yesterday (great smartphone) and first uses (bug reports coming soon).
First charge (I didn't know if the battery was totally full): this bug is still there (after update RC 2020-W49/2): any progress?
My immediate solution was to make a forced shutdown (power button held down) to exit fastboot mode.

@JamiKettunen
Copy link
Collaborator

@gbdomubpkm Halium/initramfs-tools-halium#22 will fix this whenever it gets merged.

@gbdomubpkm
Copy link

@JamiKettunen Thank you for the concerned link. This would be great for OTA-15 !

@JamiKettunen JamiKettunen changed the title Plugging in phone to charge when battery fully discharged will boot phone to fastboot. Starting charging from power off will cause booting to fastboot mode Dec 13, 2020
@gbdomubpkm
Copy link

! will be happy not to see fastboot in this case ! 😉

UniversalSuperBox pushed a commit to Halium/initramfs-tools-halium that referenced this issue Mar 24, 2021
When booting to initramfs and detecting the device was started to a
non-standard mode such as charging from power off (offline charging),
current devices have been booted to the 'android' mode previously.

This however is broken on Halium 9 and as such causes e.g. the Volla
Phone to just reboot to fastboot soon afterwards with no fast charging
support etc.

To work around this we should just reboot to reset the mode (i.e. boot
normally) as this will still provide the needed droid side daemons for
fast charging and such.

This behavior can be overridden with the new optional cmdline flag
'halium_no_avoid_android_mode'.

Fixes HelloVolla/ubuntu-touch-beta-tests#37.
@JamiKettunen
Copy link
Collaborator

Now that the pull request is merged, the fix should be in tomorrow's Development channel update. I'll test it then and close this if the issue is fixed.

@JamiKettunen
Copy link
Collaborator

I've confirmed that on Development channel build 2021-03-25 now trying to enter charging mode reboots into Ubuntu Touch instead (a much better alternative for e.g. fast charging than rebooting into into fastboot mode after failing to boot the charging UI). There's still some work to do here to actually fix the charging mode, but for the end users this should be a solid workaround for now.

@mardy
Copy link

mardy commented Apr 2, 2021

Thanks for your work on this, Jami! Do we have a bug then for fixing this for good, that is reboot into charging mode? I could try to help, if you give me some hints at what needs to be done.

@gbdomubpkm
Copy link

gbdomubpkm commented May 6, 2021

I discovered today that this issue seems fully solved : in last RC, there is now real charging with starting power off.
Thanks to the developper(s) involved. 👍

However, i noticed :
When charging Power off:

  • the screen keeps a certain luminescence ;
  • the phone can be restarted only if the charging cable is unplugged: otherwise, pressing the power button seems to cause a blocking of the charging gauge but the phone does not restart.

@gbdomubpkm
Copy link

Charging from power off seems to heat up the back of the phone a lot currently (RC 22) : is this a normal effect? This is much less the case when charging from smartphone on.

r3vn pushed a commit to droidian/initramfs-tools-halium that referenced this issue Aug 3, 2021
When booting to initramfs and detecting the device was started to a
non-standard mode such as charging from power off (offline charging),
current devices have been booted to the 'android' mode previously.

This however is broken on Halium 9 and as such causes e.g. the Volla
Phone to just reboot to fastboot soon afterwards with no fast charging
support etc.

To work around this we should just reboot to reset the mode (i.e. boot
normally) as this will still provide the needed droid side daemons for
fast charging and such.

This behavior can be overridden with the new optional cmdline flag
'halium_no_avoid_android_mode'.

Fixes HelloVolla/ubuntu-touch-beta-tests#37.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants