I'd like to have the stock rom and a custom rom on it.
Probably not because there is no a/b partitions. But if you can create it then I think the bootloader won't boot to it and there is no recovery which allows to choose between a/b slots
Related
Answering my own question and for others who may need to.
Make a nand back up if the following in twrp.
Data
System
Boot ramsisk
I tried to install a treble ROM but I think the twrp version i'm using didn't allow it.
Going to hope that a compatible treble twrp is released or we are screwed for treble ROMs and let's be honest that's our last hope.
OR
Boot to eRecovery and recover from there, you'll lose all data and recovery but you will retain bootloader unlock.
Some background: I'm coming from an OP3 which did not have this Slot A/B thing and you could easily just flash firmware going forward. I'm currently confused as to how custom roms will update firmware and such going forward.
I noticed there's 'systemless' roms now (like NoLimits), I don't really understand what the advantages/disadvantages vs something like Havoc OS are.
If I go with a custom rom, will I need to flash to OOS to update firmware then reflash back to the custom rom in the future?
I apologize if these are really newb questions, trying to find specific details with some of these keywords makes it really hard to find relevant information (and I've tried).
https://forum.xda-developers.com/oneplus-6/how-to/guide-noobs-guide-to-b-partitions-op6-t3816123
Link above is some info on A/B partitioning.
The benefit of systemless ROMs are that they are just Magisk Modules so installing and uninstalling is very easy. You don't need to boot into recovery or wipe anything.
Havoc is a full ROM and based on AOSP so wiping is needed, especially when security patches are different. Some people are decrypting their phones with the no verity zip but I won't say too much about that to keep things as simple as possible.
You don't need to flash any OOS firmware when on Havoc, and I think it's because custom ROMs have their own vendor image. More advanced users feel free to correct me if I'm wrong about this.
Flashing isn't really too different and I personally don't even think about A/B slots. You just need to remember to flash the TWRP zip file after a ROM flash to keep TWRP. And you also need to reboot back into recovery to install Google apps, rather than just after the ROM flash.
Custom kernels are now flashed last (after TWRP and Magisk).
This is how I've done it and have been issue-free.
I have a Mi A3 it has the A/B partition system. As far as I understood (please correct me if I am wrong really new to the whole messing with mobiles stuff) both the partitions have different builds in them and the one which is active is the newer one
I was thinking if what I think is correct then is there a way to have like the stock rom on one and a custom one on the other??
Ofc updating the stock rom would remove the custom rom but is there any way to have this 2 os setup??
It looks like the OP8T OOS recovery doesn't really exist. About the only things it will do is wipe data or reboot to fastboot or system. No sideload.
All of the android devices that I own I have rooted as well as installed new ROMS on them and they had at least a basic recovery. Why doesn't OP8T OOS have a recovery like most any basic android OS? I really don't understand especially since OP has been very user-oriented in dealing with it's fan base. It appears the LOS recovery has these basic features. I expect other ROMS built for OP8T have a working recovery. Is there something unusual about the OP8T?
zzjea said:
It looks like the OP8T OOS recovery doesn't really exist. About the only things it will do is wipe data or reboot to fastboot or system. No sideload.
All of the android devices that I own I have rooted as well as installed new ROMS on them and they had at least a basic recovery. Why doesn't OP8T OOS have a recovery like most any basic android OS? I really don't understand especially since OP has been very user-oriented in dealing with it's fan base. It appears the LOS recovery has these basic features. I expect other ROMS built for OP8T have a working recovery. Is there something unusual about the OP8T?
Click to expand...
Click to collapse
With the move to the A/B model, you now flash updates directly in the running system. So that functionality is no longer required in recovery. Which leaves just factory reset and fastboot as the two functions you can't do while the phone is still running.
Thanks. How do you install a new ROM then?
zzjea said:
Thanks. How do you install a new ROM then?
Click to expand...
Click to collapse
You use the custom ROM's recommended installation process.
You flash images, after unpacking them, with fastbootd.
So if you wanted to go back to OOS stock ROM from a custom ROM, you have to use the MSMtool? Did Android 10 or 11 or OOS change the partition structure for the OP8T? When and why did payload. bin become the container for the img files that used to be directly in the zip file? Is this all about the introduction of the seamless update and the a and b slots?
zzjea said:
So if you wanted to go back to OOS stock ROM from a custom ROM, you have to use the MSMtool? Did Android 10 or 11 or OOS change the partition structure for the OP8T? When and why did payload. bin become the container for the img files that used to be directly in the zip file? Is this all about the introduction of the seamless update and the a and b slots?
Click to expand...
Click to collapse
Have a read of this: https://source.android.com/devices/tech/ota/ab
Note that the OnePlus 8T uses this method - it even gets the updates from Google's servers.
My device isn't supported by twrp (Huawei fla-lx1 or fla-l21) and I want to install this gsi image file because my phone is treble compatible, is it a must to have a working twrp image? Doesn't LOS has its own recovery thing? Can I still root it and install modules? Can I do ANYTHING?
Relected said:
My device isn't supported by twrp (Huawei fla-lx1 or fla-l21) and I want to install this gsi image file because my phone is treble compatible, is it a must to have a working twrp image? Doesn't LOS has its own recovery thing? Can I still root it and install modules? Can I do ANYTHING?
Click to expand...
Click to collapse
Once you can unlock bootloader then you could do a step further, GSIs can be installed through fastboot, and in regards LOS recovery it must there one specific for your device, they're not generic recovery images for every android device.