Skip to content

Conversation

@BetaRays
Copy link

@BetaRays BetaRays commented Aug 10, 2025

This can be useful when dual-booting Android on the internal storage and postmarketOS on an SD card without physically removing it or using fastboot boot with the flashed Android boot image. This can be useful considering Android is required to charge the battery (safely) for some devices.

This can be useful when dual-booting Android on the internal storage and
postmarketOS on an SD card without physically removing it on using
fastboot boot with the flashed Android boot image.
This can be useful considering Android is required to charge the battery
(safely) for some devices.
@Biswa96
Copy link
Contributor

Biswa96 commented Aug 20, 2025

The reboot option already boots to Android.

@BetaRays
Copy link
Author

BetaRays commented Aug 20, 2025

The reboot option already boots to Android.

It doesn’t seem to for me. It goes back to lk2nd and if I do nothing, boots what’s on the SD card.

@Biswa96
Copy link
Contributor

Biswa96 commented Aug 20, 2025

Understood. I've not flahsed lk2nd in one device and it reboots to Android.

@TravMurav
Copy link
Member

Hi! First of all, sorry for the delayed response.

Generally, I prefer to minimize the amount of user-visible logic in lk2nd's boot flow, as it increases the space for confusion and possible edge cases. Would it be possible to implement your usecase (i.e. dual-boot linux and android) by installing lk2nd into a recovery partition and using the key combo to boot to lk2nd+linux on sdcard vs booting to android without any key combo?

@BetaRays
Copy link
Author

Hi! First of all, sorry for the delayed response.

Generally, I prefer to minimize the amount of user-visible logic in lk2nd's boot flow, as it increases the space for confusion and possible edge cases. Would it be possible to implement your usecase (i.e. dual-boot linux and android) by installing lk2nd into a recovery partition and using the key combo to boot to lk2nd+linux on sdcard vs booting to android without any key combo?

Hi.
I suppose it could work, though it would mean that there is no recovery available, which could theoretically be used by Android to install OTA updates.
Another issue is that Android seems to replace the recovery image on boot (TWRP has an option to patch this system out of the ROM when started).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants