Code Monkey home page Code Monkey logo

Comments (3)

calebccff avatar calebccff commented on May 28, 2024 1

The way that custom recoveries work on system-as-root devices like the OnePlus 6, is that the recovery is the initramfs, were on older devices the initramfs was used to boot android and the recovery initramfs would be on a separate partition.

PostmarketOS is not android and just uses an initramfs in the same way any normal Linux distro would. This means that if you flash the TWRP installer it will nuke the initramfs on both slots, this is fine for android but means that instead of booting PostmarketOS the device will attempt to run TWRP on the mainline kernel. This will result in your device not booting.

If you want to install TWRP, you can just backup the PostmarketOS boot partition and reflash it afterwards.

Hopefully this answers your questions.

from pmos-oneplus6.

WammKD avatar WammKD commented on May 28, 2024

Interesting; thanks a ton – it's definitely informative.

So does that mean you could, theoretically, just install TWRP before installing PmOS and install PmOS after that?

I'd done that, yesterday, and had been able to boot PmOS; but the way the README's worded, I hadn't realized that might even be an option (perhaps it's the only logical conclusion, based off of how things work, but, without the info. you just provided me, it seemed like it was saying that I shouldn't install TWRP to that slot, at any point, if I wanted to ever install PmOS to it).

from pmos-oneplus6.

calebccff avatar calebccff commented on May 28, 2024

It's useful to be aware of what "installing TWRP" actually means, and apply some common sense here. PostmarketOS does not know about, care about, or depend on anything related to Android. It's an important distinction to make as we aren't running any downstream / vendor code here.

I see where your misconceptions might arise regarding the wording, realistically if you're attempting to run PostmarketOS on your device it's advisable that you have a solid understanding of how Android devices boot and work in general.

I'm more than happy to accept pull requests if you want to improve the wording.

Beyond being able to dual boot android and PostmarketOS, I dont intend to offer any extra support or guidance on how to e.g. flash TWRP. Closing this as out of scope in that respect.

from pmos-oneplus6.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.