Skip to content
Snippets Groups Projects

main/postmarketos-android-recovery-installer: Fix No OS warning

Merged Imported Administrator requested to merge fix/recovery-warning into master
All threads resolved!

Tested on sony-amami with TWRP 3.0.2

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
  • Administrator
  • Administrator
  • Author Owner

    Tested on lg-mako, TWRP 3.1.1-0. Without the patch, I get the "No OS installed! Are you sure you wish to reboot?" message as expected. With the patch, that does not happen anymore (as expected).

    What follows is logical as I've already seen it when installing Android ROMs with TWRP, but still I was surprised - it tried to drive-by install "the offical TWRP" app. The good news is, that even if one does the suggested "swipe to install twrp app" move, it seems like nothing happens and postmarketOS boots just as expected. The same happens when touching the "do not install" button.

    I wonder if we can disable it from asking to install the TWRP app (maybe fake that it is already installed too?)

    Thanks a lot for the MR @ata2001! :tada:

    By Oliver Smith on 2019-01-25T07:17:50

  • Administrator
  • Administrator added 7 commits · Imported

    added 7 commits

    • 17a7a7c0 - code style (#include)
    • 45546993 - Exit if file doesn't exist
    • 449881e6 - Declare and assign value on the same line
    • f4d96d2a - Add comment explaining the fallback method for closing file descriptors
    • 167a80bd - Disable TWRP app prompt
    • c1d44688 - minor style change
    • 0b715f1a - Update checksum

    Compare with previous version

    By Attila Szollosi on 2019-01-26T12:56:30

  • Administrator added 20 commits · Imported

    added 20 commits

    Compare with previous version

    By Oliver Smith on 2019-01-28T08:52:40

  • Administrator approved this merge request · Imported

    approved this merge request

    By Oliver Smith on 2019-01-28T08:53:02

  • Administrator resolved all discussions · Imported

    resolved all discussions

    By Oliver Smith on 2019-01-28T08:53:11

  • Author Owner

    Wow, you've even disabled the TWRP app prompt. Tested and working - great work @ata2001 \o/

    By Oliver Smith on 2019-01-28T08:53:49

  • Administrator enabled an automatic merge when the pipeline for b24a2a4c succeeds · Imported

    enabled an automatic merge when the pipeline for b24a2a4c succeeds

    By Oliver Smith on 2019-01-28T08:54:03

  • Administrator merged · Imported

    merged

    By Oliver Smith on 2019-01-28T08:54:06

  • Administrator mentioned in commit b24a2a4c · Imported

    mentioned in commit b24a2a4c

    By Attila Szollosi on 2019-02-11T21:36:41

  • Administrator mentioned in commit 18673997 · Imported

    mentioned in commit 18673997

    By Attila Szollosi on 2019-02-14T19:42:53

  • Please register or sign in to reply
    Loading