Questions tagged [ab-partition]

A/B partitioning was introduced by Google in Android O. It allows the inactive set of partitions to be patched in a running system on the active set of partitions.

Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

A/B partitioning - which slot is really flashed?

I have a Moto Z3 Play with stock ROM and rooted it by Magisk. Phone is seamless updates and treble ready. Everything works fine. Yesterday system updater was trying to update to the newest version but ...
3
votes
1answer
26 views

How does update_engine validate a differential update-image with dm-verity enabled?

I am working with Android 8, Android verified boot with dm-verity, and block-based differential seamless A/B updates. To my understanding, the Android update_engine performs some validations of the ...
0
votes
0answers
19 views

How to switch active slots without a computer or rooted device

Essential PH-1, Liquid Remix ROM api 28, not rooted, no Gapps, bootloader unlocked. Problem: current slot A, where the ROM boots from, does not have custom recovery installed. However TWRP is ...
1
vote
1answer
85 views

How is system-as-root mounted in Android 9?

In Android 9, system.img consist of system and ramdisk. So kernel will mount system.img directly and implement init program. Next, init will parse init.rc file and mount remaining partitions based on ...
0
votes
1answer
52 views

Installing rom zip through TWRP replaces recovery instead of intalling os

I formatted my Oneplus 6t and was able to install TWRP, but when I install the zip for LineageOS, instead of installing it as the OS, it just replaces the TWRP recovery with a Lineage one, and I am ...
3
votes
1answer
1k views

Why can't I write to recovery using fastboot on A/B device?

I'm trying to flash TWRP Recovery into my Mi A2 recovery. However I get the error when flashing: ~$ fastboot flash recovery twrp.img FAILED (remote: '(recovery_a) No such partition') Does anyone ...
0
votes
0answers
141 views

Razer Phone 1 no such partition problems

I was currently having problems with my phone boot looping and tried to go into recovery or use twrp to stop it but they both failed. I read by using the flash_all dat that it will flash the factory ...
1
vote
1answer
552 views

Manually create A/B partitions

I have an Xiaomi Mi 6X which is the Chinese version of A2. There is a way to convert it into A2, but OTA updates won't work because 6X has only A partition. I'm not sure, but I've read, it is possible ...
1
vote
1answer
1k views

Install TWRP to only one slot or offline boot.img file, not both

I want to install TWRP on my phone that uses the A/B partition schema. The official TWRP installer ZIP by default installs to both boot_a and boot_b. This always breaks the system in the inactive slot ...
3
votes
2answers
5k views

How do I update an OTA while retaining TWRP and Magisk, only with my phone?

I have a OnePlus 6 that uses the A/B partition schema. Previously with my OnePlus 5 with TWRP, I normally download the OTA package, reboot into TWRP to install it, and then TWRP img and Magisk ZIP ...
1
vote
1answer
2k views

`Wipe Cache` option missing in Google Pixel 2! (A/B device)

I am not finding the option Wipe Cache in the recovery mode of Google Pixel 2. can anyone tell how could i enable it if it is disabled by default and is it there in this device or not?