want to install lineageos 16 but dont know of a/b partitions - Xiaomi Mi A1 Questions & Answers

i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.

iamranjodh said:
i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.
Click to expand...
Click to collapse
there you go
https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/

1. Flash or update to lastest stock rom
2. Boot twrp (don't flash TWRP, just boot) from:
https://forum.xda-developers.com/mi-a1/development/treble-twrp-installer-treble-manager-t3793637
3. Wipe to factory
4. Install LOS16
5. Reboot to bootloader and boot TWRP again
6. Flash gapps and magisk if you need it
That's what I did and works like a charm but I prefer RR.
Cheers!

ccalixtro said:
1. Flash or update to lastest stock rom
2. Boot twrp (don't flash TWRP, just boot) from:
https://forum.xda-developers.com/mi-a1/development/treble-twrp-installer-treble-manager-t3793637
3. Wipe to factory
4. Install LOS16
5. Reboot to bootloader and boot TWRP again
6. Flash gapps and magisk if you need it
That's what I did and works like a charm but I prefer RR.
Cheers!
Click to expand...
Click to collapse
This method is not working. We have to use a special bootable TWRP for LOS 16 Official builds.
Sent from my Mi A1 using XDA Labs
---------- Post added at 09:52 PM ---------- Previous post was at 09:33 PM ----------
iamranjodh said:
i'm a newbie in the A/B partitions system previously i have installed many roms on many Android phones but all of them are below android 6.0. now i moved to Mi A1 and i flashed TWRP and rooted my phone with Magisk18 now i have tried to flash lineageOS 16 on stock Pie but when i tried to flash it asks for slot_a or slot_b and i dont know anything about a/b partitions so i quit installation and write this thread pls help.
Click to expand...
Click to collapse
Try following these steps:
1. Download and boot this TWRP. Only boot it, don't flash it. https://drive.google.com/file/d/1LtLrNnL0h7alZaaOWADvc2Sf5aNkNukM/view
2. Wipe system, data, cache and dalvik. If you are encrypted, make a Format Data.
3. Go to Reboot and select other slot. (For example, if you are on Slot A, select Slot B)
4. Boot TWRP again.
5. Wipe system, data, cache and dalvik. Make a format data again.
6. Install latest LineageOS 16 Official nightly. You can select A or B.
7. Reboot to bootloader.
8. Boot TWRP again.
9. Flash GApps and Magisk (if you want root).
10. Reboot to system and enjoy Lineage!
Sent from my Mi A1 using XDA Labs

Related

Always boot in recovery mode after an update

Hi,
I was updating my OP6T to the new version (Magisk + Xxx NoLimits), but after the reboot post-update the device started to reboot to recovery after it booted. So I've tried to delete Magisk but the problem was still present, so I've decided to download the latest Oxygen ROM from the OnePlus and flash it from TWRP, but after flashing, the device started to always boot to recovery (before the OnePlus boot animation).
At least i tried to restore a nandroid backup of 1 month ago (System, Boot and Data), but still the device after the restore still boot to recovery before the boot animation.
I've only tried the system reboot (I've not tried to force boot another slot).
Do you have a solution to try before formatting the internal storage?
Thanks
Edit: After unistalling magisk and reflashing it again, now the device boots again, but immediately after (when the lock screen appear) the device reboot automatically to recovery again
Try this:
- in twrp , dirty flash the rom you are using (Oxygen os)
- factory reset
- flash twrp (the latest the better)
- flash Magisk 19.1
Reboot to system.
If this not working, Format data will work.
null0seven said:
Try this:
- in twrp , dirty flash the rom you are using (Oxygen os)
- factory reset
- flash twrp (the latest the better)
- flash Magisk 19.1
Reboot to system.
If this not working, Format data will work.
Click to expand...
Click to collapse
Factory reset from TWRP?
yes
null0seven said:
yes
Click to expand...
Click to collapse
So, do you mean the classic Wipe data, cache and dalvik?
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
TWRP Users
1. Boot into TWRP and Flash the Latest Magisk Uninstaller
2. Flash the latest Full Oxygen OS Zip
3. Flash the TWRP installer Zip
4. Reboot to RECOVERY to make sure TWRP stays and continue to root.
5. Flash the Latest Magisk to maintain root
6. Reboot System and Enjoy the latest firmware without any data loss
Click to expand...
Click to collapse
I am guessing you skipped the first step...
Try this:
Flash the OTA zip
Reboot (you will be unrooted and with stock recovery)
Boot to TWRP through ADB
Flash magisk unistaller
Reboot
Boot to TWRP through ADB
Flash OTA zip
Flash TWRP
Reboot to TWRP
Flash magisk
Galeanatur said:
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
I am guessing you skipped the first step...
Try this:
Flash the OTA zip
Reboot (you will be unrooted and with stock recovery)
Boot to TWRP through ADB
Flash magisk unistaller
Reboot
Boot to TWRP through ADB
Flash OTA zip
Flash TWRP
Reboot to TWRP
Flash magisk
Click to expand...
Click to collapse
I don't have the OTA but the full rom, isn't simplier to update with the full ROM?
I think I'm going to try the null0seven's solution
null0seven said:
Try this:
- in twrp , dirty flash the rom you are using (Oxygen os)
- factory reset
- flash twrp (the latest the better)
- flash Magisk 19.1
Reboot to system.
If this not working, Format data will work.
Click to expand...
Click to collapse
Ok, I've done this and actually is even worse, the device started to boot in recovery again and TWRP doesn't recognize that the internal storage is crypted, so i can't even access the internal storage (it shows only strange folders), so, now I can't flash the nandroid backup anymore.
I also mean FULL rom .zip.
Format data in twrp or in Fastboot. Or use MSM tool .
https://forum.xda-developers.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
all of them will wipe ALL in youre phone, but it will work.
null0seven said:
I also mean FULL rom .zip.
Format data in twrp or in Fastboot. Or use MSM tool .
https://forum.xda-developers.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
all of them will wipe ALL in youre phone, but it will work.
Click to expand...
Click to collapse
So I've to Full wipe and then adb sideload the ROM? Because at the current state I can't even boot the device, it always starts in TWRP
Edit: I've also tried the blue_spark's version but nothing changed, TWRP can't recognize the encrypted storage
you can try this first.
https://forum.xda-developers.com/oneplus-6t/how-to/rom-stock-fastboot-roms-oneplus-6t-t3862516
fuji97 said:
Hi,
I was updating my OP6T to the new version (Magisk + Xxx NoLimits), but after the reboot post-update the device started to reboot to recovery after it booted. So I've tried to delete Magisk but the problem was still present, so I've decided to download the latest Oxygen ROM from the OnePlus and flash it from TWRP, but after flashing, the device started to always boot to recovery (before the OnePlus boot animation).
At least i tried to restore a nandroid backup of 1 month ago (System, Boot and Data), but still the device after the restore still boot to recovery before the boot animation.
I've only tried the system reboot (I've not tried to force boot another slot).
Do you have a solution to try before formatting the internal storage?
Thanks
Edit: After unistalling magisk and reflashing it again, now the device boots again, but immediately after (when the lock screen appear) the device reboot automatically to recovery again
Click to expand...
Click to collapse
When you're saying you're flashing the full ROM after wiping, are you meaning the xxx no limit? If so this isn't an os rom it's just a magisk module rom that's an add on to oxygen os. You need to wipe and flash the latest oxygen os rom, stable or beta which ever you're using, then flash TWRP, flash your os again on the other slot, flash TWRP, flash magisk, if your system boots fine then flash the xxx no limits rom in twrp.
ebproject said:
When you're saying you're flashing the full ROM after wiping, are you meaning the xxx no limit? If so this isn't an os rom it's just a magisk module rom that's an add on to oxygen os. You need to wipe and flash the latest oxygen os rom, stable or beta which ever you're using, then flash TWRP, flash your os again on the other slot, flash TWRP, flash magisk, if your system boots fine then flash the xxx no limits rom in twrp.
Click to expand...
Click to collapse
No, I flashed the full ROM downloaded from the OnePlus server
Have you tried formatting data?
Cablespider said:
Format data.
Click to expand...
Click to collapse
So, full format data and flash rom + TWRP + Magisk?
fuji97 said:
No, I flashed the full ROM downloaded from the OnePlus server
Click to expand...
Click to collapse
You're best bet is to use the MSM tool
https://forum.xda-developers.com/oneplus-6t/how-to/tool-6t-msmdownloadtool-v4-0-oos-9-0-5-t3867448
Ok, I've decided to use MSM to recover the device, I've lost the internal storage, but at least the device is working again.
Thank you to everyone who helped me in this thread
fuji97 said:
Ok, I've decided to use MSM to recover the device, I've lost the internal storage, but at least the device is working again.
Thank you to everyone who helped me in this thread
Click to expand...
Click to collapse
Maybe it was a Magisk module that caused it. I removed pixel module from Magisk and it done the same to me.

How to install ANY CustomROM on OnePlus6T from OOS/CustomROM

So, I searched the internet for a method to flash a CustomROM on the OnePlus 6T. But somehow none of them worked, so I worked on one myself that at least works for me.
There are 2 methods, use Method A if you don't have a custom ROM installed and still use OxygenOS. Use Method B if you are using a custom ROM and want to have another one:
Method A: From OxygenOS to CustomROM
1. boot in twrp
2. in twrp, do a factory reset
3. flash latest oos zip(flashable ota, link will be below)
4. flash twrp installer zip(i recommend mauronofrio´s twrp, link wil be below)
5. check current slot, then reboot in twrp
6. check if slot changed, then do a factory reset
7. flash latest oos zip
8. flash twrp installer zip
9. reboot recovery, and check if slot changed
10. factory reset
11. flash custom rom zip
12. flash twrp installer zip
13. reboot twrp(check current slot)
14. check if slot changed(if yes:it worked, if no:repeat)
15. additional: flash magisk&gapps
then,your rom is ready to use
Method B: From Custom ROM to another Custom ROM
1. reboot to twrp
2. in twrp, do a factory reset
3. then select advanced wipe: wipe system,cache,data. DON’T WIPE VENDOR
4. flash custom rom zip
5. flash twrp installer zip
6. check which slot you´re in
7. reboot twrp
8. if slot changed, everything worked
9. flash gapps and magisk if you want
then, your rom is ready to use
So, I hope I have spared you many problems and wish you much fun with your Devices.
Links:
Mauronofrio TWRP: click here
OxygenOS Stable OTA 10.3.1: click here
DirtryElectro said:
So, I searched the internet for a method to flash a CustomROM on the OnePlus 6T. But somehow none of them worked, so I worked on one myself that at least works for me.
.......
Links:
Mauronofrio TWRP: click here
OxygenOS Stable OTA 10.3.1: click here
Very important note: Download the FULL OTA, not the local-upgrade OTA!
Click to expand...
Click to collapse
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
DarthVader said:
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
Click to expand...
Click to collapse
these are just the steps which worked for me, but ok
DarthVader said:
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
Click to expand...
Click to collapse
this helped me greatly! following the instructions above had my files corrupt when id factory reset. i dont have an otg usb. so the instructions above kind of troubled me. again, thank you!
Beefybeardedbear said:
this helped me greatly! following the instructions above from OP had my files corrupt when id factory reset. i dont have an otg usb. so the instructions from OP kind of troubled me. again, thank you!
Click to expand...
Click to collapse

[QUESTION] Not able to boot Custom ROM P8 Lite Alice (ALE-L21)

Hello together,
after 3 Days of reading and searching and testing solutions, I have to ask you if you can solve my problem.
I can't find the reason by myself, because I'm new with this topic. I want to install a Custom ROM on my Huawei P 8 Lite Alice from 2015, but everytime I flash any Custom ROM which should match, it ends in a bootloop (huawei logo, then logo custom rom, then huawei logo etc....).
My device:
Huawei P8 Lite ALE L21 from 2015 - Alice
Built number before start this "project": ALE-L21C432B634
Android 6
Emui 4.0.3
Bootloader unlocked with code generated by dc-unlocker
No Root
My prefered Custom ROM is Lineage OS 14.1 and I tried to flash it following the steps in this thread:
[url]https://forum.xda-developers.com/p8lite/development/rom-lineageos-14-1-p8-lite-t3824247[/URL]
1. step - Flash TWRP
First Problem was to install the TWRP 3.1.1 linked in this thread:
[url]https://forum.xda-developers.com/p8lite/orig-development/twrp-t3583180[/url][/URL]
To flash the TWRP image with adb caused no problem. When I boot into recovery, TWRP starts, but when I touch anything on the screen (like swipe to unlock) the System boots (With OS installed it boots the OS and without it stucks at huawei logo). Booting again into TWRP is no Problem.
I solved this problem with a TWRP image 3.1.0-1 from this forum:
[url]https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p8-lite.2476/huawei-p8lite-neues-inoffizielles-twrp-3-1-0-1-von-surdu_petru-xda.826139.html[/URL]
The thread references on the same XDA thread mentioned above, but it is linked to another version of TWRP image. This Version 3.1.0-1 is working good.
2. step - flash EMUI 4.1
I flashed the EMUI Update B896 with TWRP. In the thread to the Lineage OS 14.1 mentioned above, it is described that you need this update. I used the linked .zip.
Steps:
1. Wipe Data, internal storage, system, Dalvik Cache, Cache (all except micro sd card).
2. Format Data
3. Reboot into TWRP
4. flash .zip from SD card
5. Wipe Davlik Cache and Cache
5. Reboot System
After that :
Android 6
Build number: ALE B896
EMUI: 4.1
The updated ROM works good.
3. Step - Flash Lineage OS 14.1
Steps:
1. Wipe Data, internal storage, system, Dalvik Cache, Cache (all except micro sd card).
2. Format Data
3. Reboot into TWRP
4. flash .zip from SD card
5. Wipe Davlik Cache and Cache
5. Reboot System
Result Boot Loop :victory:
Trouble shooting:
I tried to install different TWRP versions, but only the TWRP 3.1.0-1 works.
I useb adb sideload to flash the Lineage
I flashed the EMUI 4.03. I had before and than Lineage 14.1 (EMUI works, but Lineage doesn't)
I wiped dalvik cache and data, cache after flashing Lineage, to fix the bootloop
I flashed versions of Lineage OS 14.1 from different dates and different download websites
I flashed different Custom ROMS - all the same Problem except Lineage 13.0. Lineage 13.0 boots till it is ready to "preparing" apps and than boots again.
Now I don't know what do do and would be very thankful to get some new ideas to try or perhaps a solution
Thank you! :highfive:
The ROM needs Emui 4.1 B895/B896 update to be installed first
Then unlock bootloader, flash twrp then flash ROM
Thank you for your help. I'll try this. So I have to lock bootloader again first?
No. You flash the update with twrp
Go to step 6 in the first post on this thread
https://forum.xda-developers.com/p8lite/general/guide-unlock-bootloader-root-device-t3977067
Keran_3066 said:
No. You flash the update with twrp
Go to step 6 in the first post on this thread
https://forum.xda-developers.com/p8lite/general/guide-unlock-bootloader-root-device-t3977067
Click to expand...
Click to collapse
Maybe I described it not so good in my first post but I think I did it already exactly like that.
1. Unlock bootloader
2. Flash TWRP
3. Flash Emui 4.1 update B896 ( its working on my phone now)
4. Flash TWRP again
5. Flash Custom Rom ( evertime the result is a bootloop)
Or did I overlook anything?
Sorry I didn't read that part where you flashed emui 4.1
Lineage os 14.1 works for me.
Did you try Resurrection Remix OS
https://forum.xda-developers.com/p8lite/development/rom-t3606568
Keran_3066 said:
Sorry I didn't read that part where you flashed emui 4.1
Lineage os 14.1 works for me.
Did you try Resurrection Remix OS
https://forum.xda-developers.com/p8lite/development/rom-t3606568
Click to expand...
Click to collapse
Thank you very much, that you tried to help me Im happy about all suggestions.
Yes I tried RR and Paranoid, but its the same Problem. I'm wondering that the EMUI Roms which are not officially from Huawei work and any custom rom does not. Maybe there is a Problem with the structure of my system but I dont know anything about this stuff and how to find out the reason for my Problem:laugh:
Maybe you know a command for adb or android terminal app to check if everything is ok?
Jaba Wup said:
Maybe you know a command for adb or android terminal app to check if everything is ok?
Click to expand...
Click to collapse
I'm kinda out of ideas
Keran_3066 said:
I'm kinda out of ideas
Click to expand...
Click to collapse
I feel like you:laugh: thanks and have a nice evening:good:

[RECOVERY] Unofficial TWRP 3.6.0_9-0 for Stock Android 9, 10, 11 & Custom ROMs

This thread is not pirated, mirrored or copy of official twrp
I'm just sharing the official TWRP 3.6.0_9-0 patched boot img for Stock Android 10, 11 & Custom ROMs
Whats Working?
Everything
Whats Not Working?
Encryption/Decryption of Data
Download
Unofficial TWRP 3.6.0_9-0 IMG for Stock Android 10, 11 & Custom ROMs
https://androidfilehost.com/?fid=17825722713688272934
Official TWRP 3.6.0_9-0 IMG for Stock Android 9 only
https://dl.twrp.me/laurel_sprout/twrp-3.6.0_9-0-laurel_sprout.img.html
Official TWRP Installer 3.6.0_9-0 ZIP for Stock Android 9, 10 & Custom ROMs
https://dl.twrp.me/laurel_sprout/twrp-installer-3.6.0_9-0-laurel_sprout.zip.html
Note: enable "use rm -rf instead of formatting" in TWRP settings, before you wipe data, else userdata partition will be ****ed
Hit thanks button if you liked my work
Reserved
Deleted
Will this be able to format data on Android 10 encryption like SHRP?
Flashed it from fastboot but doesn't come ,only comes fastboot mode ?
Only Sharp works in 10 properly.
Sami Devo said:
Flashed it from fastboot but doesn't come ,only comes fastboot mode ?
Only Sharp works in 10 properly.
Click to expand...
Click to collapse
Your not doing it right because everyone else is able to install all recoveries it's only you who is having these issues. Without a proper bug report nobody can help you though
Rajendran Rasa said:
This thread is not pirated, mirrored and copy the official twrp
I'm just sharing the official TWRP 3.4.0-0 patched img of Android 10
Unofficial TWRP 3.4.0-0 for Android 10
https://androidfilehost.com/?fid=8889791610682878366
Official twrp-3.4.0-0 for Android 9
https://dl.twrp.me/laurel_sprout/twrp-3.4.0-0-laurel_sprout.img.html
Official twrp-installer-3.4.0-0 for Android 9&10
https://dl.twrp.me/laurel_sprout/twrp-installer-3.4.0-0-laurel_sprout.zip.html
Note: enable "use rm -rf instead of formatting" in TWRP settings, before you wipe data, else userdata partition will be damaged
Hit thanks button if you liked my work?
Click to expand...
Click to collapse
Which one should I download? unofficial?
hello, i have this noob question:
i have 4 year flashing twrp and roms... but i'm new with this device and its slotA slotB issue (fastboot boot loop)...
please OP, can you tell us the tutorial of how install correctly the official twrp? i saw videos on youtube but none has this 3.4.0 version.
thank you very much for your hard work, i really apreciatte it.
and thanks in advance for your comments.
garylawwd said:
Your not doing it right because everyone else is able to install all recoveries it's only you who is having these issues. Without a proper bug report nobody can help you though
Click to expand...
Click to collapse
Oops sorry it was orange fox.!! It has problem!
"........else userdata partition will be damaged"
what does it mean??....I will lost my data???...or phone can be bricked??.....what can happen exctly??
ovi2901 said:
"........else userdata partition will be damaged"
what does it mean??....I will lost my data???...or phone can be bricked??.....what can happen exctly??
Click to expand...
Click to collapse
It just won't boot. You can still recover from this by enabling the setting in twrp and reformatting data.
You will lose data regardless of this being enabled because this is only used for formatting data. That's what formatting data does
garylawwd said:
It just won't boot. You can still recover from this by enabling the setting in twrp and reformatting data.
You will lose data regardless of this being enabled because this is only used for formatting data. That's what formatting data does
Click to expand...
Click to collapse
can I install shrp recovery zip and then miui12...
what I will do is -->
1. install this recovery in b slot through minimal adb
2. boot in twrp
3. install shrp recovery zip file (phone is still in b-slot)
4. change slot to a
5. reboot recovery
6. format data
7. install miui12
8. reboot
will this steps safely boot my device???
hello. first thank you very much for your hard work. i really apreciate.
so, i was on stock rom, freshly unlock the bootloader and flash twrp unofficial for android 10.
then in twrp i flash the zip installer and reboot to recovery.
once again in twrp i, like i'm use to, wipe successfully dalvik/system/data to erased all of stock rom.
then i format data (the one typing "yes" for confirmation) but it broke internal storage.
twrp does not show any file or folders. i rebooti in recovery but it won't show anything
i reflash twrp and the same... nothing.
so i went to fastboot mode and flash shrp, boot up in recovery but it was still not showing files or folders of internal storage. i wipe dalvik/system/data and reboot to recovey.
and this time it show folder but with codes like "QRGHQ9R4HGVUQE4RNG98TH9324HTG923" OR "66EFQ3KFK4TK34KT3K4K34K2KK2" and so...
what do i 'm doing wrong?
can i format data with out breaking internal storage?
the only thing i can do to get internal storage was flash stock rom again, i have not encrypted anything, i don't use microsd card, even i don't use password to unlock screen.
thanks in advance for your comments.
---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------
ovi2901 said:
can I install shrp recovery zip and then miui12...
Click to expand...
Click to collapse
this it twrp thread bro
d_g_m_2000 said:
hello. first thank you very much for your hard work. i really apreciate.
so, i was on stock rom, freshly unlock the bootloader and flash twrp unofficial for android 10.
then in twrp i flash the zip installer and reboot to recovery.
once again in twrp i, like i'm use to, wipe successfully dalvik/system/data to erased all of stock rom.
then i format data (the one typing "yes" for confirmation) but it broke internal storage.
twrp does not show any file or folders. i rebooti in recovery but it won't show anything
i reflash twrp and the same... nothing.
so i went to fastboot mode and flash shrp, boot up in recovery but it was still not showing files or folders of internal storage. i wipe dalvik/system/data and reboot to recovey.
and this time it show folder but with codes like "QRGHQ9R4HGVUQE4RNG98TH9324HTG923" OR "66EFQ3KFK4TK34KT3K4K34K2KK2" and so...
what do i 'm doing wrong?
can i format data with out breaking internal storage?
the only thing i can do to get internal storage was flash stock rom again, i have not encrypted anything, i don't use microsd card, even i don't use password to unlock screen.
thanks in advance for your comments.
---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------
this it twrp thread bro
Click to expand...
Click to collapse
Ok you performed Format > And type "Yes" , actually this will Format your internal storage as well, RIP for your Data now else you took a backup earlier.
Now connect your phone to your PC with data cable , in mount section check if MTP is enabled if not then enable it , now your phone's internal storage shows in PC transfer Rom flash Zip files to internal storage, disconnect from PC and flash that rom.
Recovery choice is yours SHRP or TWRP
Note - Do not perform format > yes before flashing that zip.
Sent from my Mi A3 using Tapatalk
Not able to flash recovery
I am on the latest stock android patch, probably that's why not able to flash recovery.
First I tried TWRP 3.3.1-2 Unofficial by Nikesh Kataria from the other post. As it said it supported android 10 with decryption and everything. But it didn't work.
Now with version 3.4.0-0, I am able to boot into recovery using platform-tools. But the files in /sdcard seems to be encrypted (judging by the codes shown instead of readable folder names).
Could someone please help me suggest any recovery which supports latest stock android 10 with decryption?
Is there a way around this?
https://drive.google.com/file/d/1TcRxuBUde9chk3MWbvFWhUuojS-iZ8x2/view?usp=sharing
Thanks in advance!
Themane said:
I am on the latest stock android patch, probably that's why not able to flash recovery.
First I tried TWRP 3.3.1-2 Unofficial by Nikesh Kataria from the other post. As it said it supported android 10 with decryption and everything. But it didn't work.
Now with version 3.4.0-0, I am able to boot into recovery using platform-tools. But the files in /sdcard seems to be encrypted (judging by the codes shown instead of readable folder names).
Could someone please help me suggest any recovery which supports latest stock android 10 with decryption?
Is there a way around this?
https://drive.google.com/file/d/1TcRxuBUde9chk3MWbvFWhUuojS-iZ8x2/view?usp=sharing
Thanks in advance!
Click to expand...
Click to collapse
Decryption will only work if you format data first. This is with every recovery. Has to be a factory reset of stock ROM or fresh install of custom ROM and from then twrp will be able to decrypt if it is installed, you're not installing it either by the way just temporarily installing it to inactive slot which will get wiped on reboot. For twrp to decrypt you must install it using the installer.zip by flashing it in you're temporarily installed twrp.img
garylawwd said:
Decryption will only work if you format data first. This is with every recovery. Has to be a factory reset of stock ROM or fresh install of custom ROM and from then twrp will be able to decrypt if it is installed, you're not installing it either by the way just temporarily installing it to inactive slot which will get wiped on reboot. For twrp to decrypt you must install it using the installer.zip by flashing it in you're temporarily installed twrp.img
Click to expand...
Click to collapse
Thanks for the help.
But after booting into twrp, how do I install twrp.zip. I even tried sideload that also errors out "Unable to find partition for path /cache".
May be I am missing some step. But here is what I have done.
Unlocked bootloader.
Booted into TWRP on inactive_slot(i.e. slot_b , in my case) with command fastboot flash boot twrp.img
Trying to install twrp.zip (failing at this step itself).
Themane said:
Thanks for the help.
But after booting into twrp, how do I install twrp.zip. I even tried sideload that also errors out "Unable to find partition for path /cache".
May be I am missing some step. But here is what I have done.
Unlocked bootloader.
Booted into TWRP on inactive_slot(i.e. slot_b , in my case) with command fastboot flash boot twrp.img
Trying to install twrp.zip (failing at this step itself).
Click to expand...
Click to collapse
Put the zip on an SD card
Some ROM has some recovery integrated within the OS. If i install that and then the ROM, will the ROM's recovery overwrite this?
mihovkris said:
Some ROM has some recovery integrated within the OS. If i install that and then the ROM, will the ROM's recovery overwrite this?
Click to expand...
Click to collapse
Yes
Flash twrp installer zip after flashing rom zip

Slot B always become encrypted when flashing

Hi,
I have not flashed a rom or anything since I replaced my Nexus 6P with my OnePlus 6T about three years ago so this A/B slot thing is all new to me.
I have tried installing two different ROMs, the first one is LineageOS but when I flash it it seems like slot B gets encrypted sence the folders have wierd names and don't contain anything when I rebooting to recovery to flash on slot A.
If I copy slot A to slot B everything looks like normal again. I have followd the guide as I understand it but it wont work so I moved on to try DotOS which have a much more simple guide.
"CLEAN FLASH :
Download the latest build, TWRP, Magisk 21.4 and NikGApps
Reboot to TWRP
Flash OOS, TWRP & Reboot to TWRP This step was fine.
Flash OOS, TWRP & Reboot to TWRP Slot B seems to have become encrypted again.
Flash build, TWRP & Reboot to TWRP
Flash NikGApps (Optional), Magisk (Optional)
Reboot to system"
If OOS stands for OxygenOS, I don't understand what I'm doing wrong. I also tried to remove pin from lockscreen and factory reset after every flash, that didn't wort either.
Thanks in advance!
Sorry if my english is bad, it seems to go downhill at a rapid pace after you graduate...
Lirkaren said:
Hi,
I have not flashed a rom or anything since I replaced my Nexus 6P with my OnePlus 6T about three years ago so this A/B slot thing is all new to me.
I have tried installing two different ROMs, the first one is LineageOS but when I flash it it seems like slot B gets encrypted sence the folders have wierd names and don't contain anything when I rebooting to recovery to flash on slot A.
If I copy slot A to slot B everything looks like normal again. I have followd the guide as I understand it but it wont work so I moved on to try DotOS which have a much more simple guide.
"CLEAN FLASH :
Download the latest build, TWRP, Magisk 21.4 and NikGApps
Reboot to TWRP
Flash OOS, TWRP & Reboot to TWRP This step was fine.
Flash OOS, TWRP & Reboot to TWRP Slot B seems to have become encrypted again.
Flash build, TWRP & Reboot to TWRP
Flash NikGApps (Optional), Magisk (Optional)
Reboot to system"
If OOS stands for OxygenOS, I don't understand what I'm doing wrong. I also tried to remove pin from lockscreen and factory reset after every flash, that didn't wort either.
Thanks in advance!
Sorry if my english is bad, it seems to go downhill at a rapid pace after you graduate...
Click to expand...
Click to collapse
If you are already on OOS and just unlocked bootloader and boot to TWRP you can just skip the flash oos and start from flashing ROM/build
( I'm not responsible for any problems but it's work fine for me)
Or
Flash OOS
Flash ROM/build
Flash Finalize.zip ( use this so you don't have to flash oos multiple times )
Flash twrp.
Flash Gapp (optional )
Format data and reboot to system.
SOK seila said:
If you are already on OOS and just unlocked bootloader and boot to TWRP you can just flash the ROM zip without flashing OOS( I'm not responsible for any problems but it's work fine for me)
Or
Flash OOS
Flash ROM/build
Flash Finalize.zip ( use this so you don't have to flash oos multiple times )
Flash twrp.
Flash Gapp (optional )
Format data and reboot to system.
Click to expand...
Click to collapse
Missed to press format data. This was a day well spent! :'D

Categories

Resources