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
3
votes
1answer
975 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 ...
2
votes
2answers
4k 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?
1
vote
1answer
386 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
22 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
41 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 ...
0
votes
0answers
109 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 ...