DD Backup and TWRP Backup of Stock October Pie boot.img with Orange Fox Recovery - Xiaomi Mi A1 Guides, News, & Discussion

here is the dd Backup and TWRP Backups of Stock Pie October Patch boot.img with Orange Fox Recovery Installed
(dd backup you can install in rooted phone with dd command)
( https://androidfilehost.com/?fid=4349826312261611188 )
(TWRP Backup)
( https://androidfilehost.com/?fid=4349826312261611192 )

Related

[RECOVERY] Proprietary Recoveries for KitKat 4.4 and above

Patched Recoveries
These recoveries are required to flash all latest roms (KitKat 4.4 and above). Enjoy!
TWRP 2.6.3.0
CWM 6.0.4.6
Experimental CWM 6.0.4.6 w/ working ADB and USB storage (and graphic issues hehe)
Experimental 4Ext Recovery (I don't recommend using for anything, just my experiments)
Installation Methods:
Code:
--- Using ADB/Fastboot ---
adb reboot bootloader
fastboot flash recovery [nameofyour].img
fastboot reboot
--- Using Terminal/ADB Shell #1 ---
su
dd if=/sdcard/[pathtoyourimg]/[nameofyour].img of=/dev/block/mmcblk0p21
reboot recovery
--- Using Terminal/ADB Shell #2 ---
su
flash_image recovery /sdcard/[pathtoyourimg]/[nameofyour].img
reboot recovery
Downloaded both just in case
Getting stuck at sending 'recovery' <6480 KB>. . .
**EDIT**
Nevermind my Linux laptop was able to do it.
publicized the experimental version I use to dev, link in OP. Only recommended for devs for easier debugging
Typos, Updates
Fixed to CWM Exp typo and uploaded my 4ext recovery
Excellent! I was on TWRP 2.2.2.1 for a while, tried to go back to TWRP 2.6.3.0 (SilverL's). Fastboot flashed it fine, but I got errors in the symlinking process with any ROM (two) I threw at it.
I suppose my local file got corrupted (as I had a disk problem some months back), but this version saved the day. Thank you!
Have you tried to build twrp 2.8.x? And whether it is possible for doubleshot ?

GUIDE: How to make backups and restore stock. || stock + patched images here

If you are not able to boot a patched boot image or a twrp image on Android 10, here is a workadound.
Machi007 said:
Boot TWRP and images is possible also on Android 10, but it needs some workaround...
1) Turn phone into Download Mode
2) Use command fastboot flash recovery twrp.img where twrp.img is your TWRP image you want to boot up
It shows this error (it is OKAY):
Code:
FAILED (remote: '(recovery_a) No such partition') //This is because an A/B Device does not have a recovery partition. It's located in the boot partition itself.
3) Now you can boot your TWRP recovery image, for example: fastboot boot twrp.img
Click to expand...
Click to collapse
Hay Guys!
One of the most important things on Android is to make backups. Every time you want to root or flash something, make backups!
I saw many people struggling with OTA because they didn't make backups to restore there images.
=========================================================================
If you DONT have any backup, but you want to restore stock, I'll upload all my stock backups as well as all patched boot images in this mega:
https://mega.nz/#F!52B0HCID!A1k8PiGn9OQbiEa_IJ3_EQ
This is just in case something went wrong with you backup. You should still make your own backups!!!
=========================================================================
In this post I will show you how to create a backup and how to restore it.
There are 2 ways to backup your Phone images.
TWRP:
Reboot ur phone into bootloader
You can do this via adb
Code:
adb reboot bootloader
You can do this by holding volume down + power button while your phone is connected to USB.
Boot into TWRP. you can use the TWRP image from my mega. DO NOT FLASH IT!!!
Code:
fastboot boot twrp.img
Hit the Backup button and backup boot image, system image and vendor image.
If you want to restore this images, you can restore them with TWRP. Just hit the restore button.
This may not work for all Devices. But you can flash the images via fastboot too.
The fastboot files looks like boot.emmc.win. Dont worry, this is img file. So you can rename it to boot.img or something.
ADB:
1Reboot ur phone into bootloader
You can do this via adb
Code:
adb reboot bootloader
You can do this by holding volume down + power button while your phone is connected to USB.
Find out your current slot
Code:
fastboot getvar current-slot
Boot into a patched boot image.
Code:
fastboot boot patched.img
Your phone shoud boot up. If it does,
then open ADB.
In ADB type there commands to dump the images.
Get root access by typing the "su"
Dump your boot, system and vendor from your current slot you found out on step 2
(The commands for dumping an image are below)
If you want to restore this images, you can restore them via fastboot.
Code:
fastboot flash [boot_{current-slot}/system_{current-slot}/vendor_{current-slot}] <image file>
Replace the {current-slot} with your current slot.
Example:
Current slot is a and you want to restore the boot image.
Code:
fastboot flash boot_a boot_a.img
If you still have Questions or need help, feel free to pm me.
Also you can leave a comment under this post.
Commands for dumping images:
#Backup A boot:
Code:
dd if=/dev/block/mmcblk0p52 of=/sdcard/boot_a.img
#Backup B boot:
Code:
dd if=/dev/block/mmcblk0p53 of=/sdcard/boot_b.img
#Backup A vendor:
Code:
dd if=/dev/block/mmcblk0p83 of=/sdcard/vendor_a.img
#Backup B vendor:
Code:
dd if=/dev/block/mmcblk0p84 of=/sdcard/vendor_b.img
#Backup A system:
Code:
dd if=/dev/block/mmcblk0p81 of=/sdcard/system_a.img
#Backup B system:
Code:
dd if=/dev/block/mmcblk0p82 of=/sdcard/system_b.img
Great tutorial and much appreciated. On the first sentence... There is a typo on the word "thinks".. it should be "things".
Danny1976 said:
Great tutorial and much appreciated. On the first sentence... There is a typo on the word "thinks".. it should be "things".
Click to expand...
Click to collapse
Thanks. fixed it :good:
Hail brother! Tnx!
might have shot the capability of OTA on experimenting with TWRP and it's possibilites of taking backups.
thought, I was careful, but wasn't enough.
so THANKS a lot for providing all the information and (of course) : the sp1 images.
January stock and patched images is now uploaded.
Hi! I have a Problem with the wifi not working after flashing back stock boot.img on slot a & b....if anyone could help I'll be grateful.
emicloud91 said:
Hi! I have a Problem with the wifi not working after flashing back stock boot.img on slot a & b....if anyone could help I'll be grateful.
Click to expand...
Click to collapse
Did you flash your own backups?
Do you have global 6.1?
Also, why did you flash A AND B?
¥sBielefeld said:
Hay Guys!
One of the most important things on Android is to make backups. Every time you want to root or flash something, make backups!
I saw many people struggling with OTA because they didn't make backups to restore there images.
=========================================================================
If you DONT have any backup, but you want to restore stock, I'll upload all my stock backups as well as all patched boot images in this mega:
https://mega.nz/#F!52B0HCID!A1k8PiGn9OQbiEa_IJ3_EQ
This is just in case something went wrong with you backup. You should still make your own backups!!!
=========================================================================
In this post I will show you how to create a backup and how to restore it.
There are 2 ways to backup your Phone images.
TWRP:
Reboot ur phone into bootloader
You can do this via adb
Code:
adb reboot bootloader
You can do this by holding volume down + power button while your phone is connected to USB.
Boot into TWRP. you can use the TWRP image from my mega. DO NOT FLASH IT!!!
Code:
fastboot boot twrp.img
Hit the Backup button and backup boot image, system image and vendor image.
If you want to restore this images, you can restore them with TWRP. Just hit the restore button.
This may not work for all Devices. But you can flash the images via fastboot too.
The fastboot files looks like boot.emmc.win. Dont worry, this is img file. So you can rename it to boot.img or something.
ADB:
1Reboot ur phone into bootloader
You can do this via adb
Code:
adb reboot bootloader
You can do this by holding volume down + power button while your phone is connected to USB.
Find out your current slot
Code:
fastboot getvar current-slot
Boot into a patched boot image.
Code:
fastboot boot patched.img
Your phone shoud boot up. If it does,
then open ADB.
In ADB type there commands to dump the images.
Get root access by typing the "su"
Dump your boot, system and vendor from your current slot you found out on step 2
(The commands for dumping an image are below)
If you want to restore this images, you can restore them via fastboot.
Code:
fastboot flash [boot_{current-slot}/system_{current-slot}/vendor_{current-slot}] <image file>
Replace the {current-slot} with your current slot.
Example:
Current slot is a and you want to restore the boot image.
Code:
fastboot flash boot_a boot_a.img
If you still have Questions or need help, feel free to pm me.
Also you can leave a comment under this post.
Commands for dumping images:
#Backup A boot:
Code:
dd if=/dev/block/mmcblk0p52 of=/sdcard/boot_a.img
#Backup B boot:
Code:
dd if=/dev/block/mmcblk0p53 of=/sdcard/boot_b.img
#Backup A vendor:
Code:
dd if=/dev/block/mmcblk0p83 of=/sdcard/vendor_a.img
#Backup B vendor:
Code:
dd if=/dev/block/mmcblk0p84 of=/sdcard/vendor_b.img
#Backup A system:
Code:
dd if=/dev/block/mmcblk0p81 of=/sdcard/system_a.img
#Backup B system:
Code:
dd if=/dev/block/mmcblk0p82 of=/sdcard/system_b.img
Click to expand...
Click to collapse
Can these images be used for downgrade to oreo? I am on pie (ta1068), unrooted and loocked bootloader.
Windoors said:
Can these images be used for downgrade to oreo? I am on pie (ta1068), unrooted and loocked bootloader.
Click to expand...
Click to collapse
No i don't think so. I never tested it.
Anyway.. You are locked, so you need to downgrade to unlock bootloader. You can use NTool or visit this
¥sBielefeld said:
No i don't think so. I never tested it.
Anyway.. You are locked, so you need to downgrade to unlock bootloader. You can use NTool or visit this
Click to expand...
Click to collapse
How to do it with NTool?
JurreTas said:
How to do it with NTool?
Click to expand...
Click to collapse
You need to buy Ntool credits. Just google it
¥sBielefeld said:
No i don't think so. I never tested it.
Anyway.. You are locked, so you need to downgrade to unlock bootloader. You can use NTool or visit this
Click to expand...
Click to collapse
I heard in nokia 6.1 u don't need to downgrade to unlock bootloader (just change slot a to b).
Anyways, if I have already unlocked my bootloader can i downgrade to oreo without ntool? Thanks
Windoors said:
I heard in nokia 6.1 u don't need to downgrade to unlock bootloader (just change slot a to b).
Click to expand...
Click to collapse
Nokia changed the Bootloader unlock algorithm with the August patch. So you need to be pre August patch.
A B slots work work like this:
Start: A(June)B(June) Currentslot A -> OTA UPDATE -> A(June)B(July) Currentslot B -> OTA -> A(August)B(July) current slot A and so forth.
So. If you are on Slot A and you have Januar installed, you B slot is on December. This means, switching the Slot does not help you with the bootloader unlock.
You have to downgrade.
Windoors said:
Anyways, if I have already unlocked my bootloader can i downgrade to oreo without ntool? Thanks
Click to expand...
Click to collapse
Yes you can use OST LA for downgrade if you are unlocked. Make sure you are critical unlocked too.
Thanks for clarifying. I unfortunately updated to January patch.
March update just released (V3.51F) with 530 MegaByte...
This is not just a security update but a complete software update.
Waiting for your files @MEGA.
Do we have to flash more than boot, system and vendor?
Last time (with pie october patch) radio and some other files were updated!
Updated to march security patch.
klauer said:
March update just released (V3.51F) with 530 MegaByte...
This is not just a security update but a complete software update.
Waiting for your files @MEGA.
Do we have to flash more than boot, system and vendor?
Last time (with pie october patch) radio and some other files were updated!
Click to expand...
Click to collapse
Why do you want to flash more?`If you are rooted, flash stock boot image. If ur modified ur system, flash stock system.
If you are complete stock, install OTA
Btw. Stock images for march are online
Are your images from Global version ? I had issues updating to March OTA (said that some partitions were modified) so I flashed your boot.img and system.img, but I still cannot update.
Solannae said:
Are your images from Global version ? I had issues updating to March OTA (said that some partitions were modified) so I flashed your boot.img and system.img, but I still cannot update.
Click to expand...
Click to collapse
Yes, they are global. I hade this issue a few weeks ago too. I had to reflash my phone for some reason...

TWRP on OB 1

Anyone know how to flash or boot TWRP on that Android 10 OB 1. I tried booting with fastboot and it just sits on the fastboot mode screen and flashing it just continuously kicks me back to the bootloader.
I'm not on OB1, but from what I understand the command to boot TWRP doesn't work yet. And you can't flash TWRP in fastboot (can only flash it in TWRP or Magisk). Depending on what TWRP file/fastboot command, you might not even be flashing it to the right partition!
I believe the sequence is:
1) Install Magisk Manager
2) Fastboot flash patched boot image
3) Reboot, open Magisk Manager
4) Flash TWRP installer zip, like it is a Magisk module.
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
And more info here: https://forum.xda-developers.com/oneplus-7-pro/help/rooting-android-10-t3964863

paranoid Android back to stock 10.3.0?

I'm on the latest paranoid Android beta with twrp and magisk installed, can someone provide me with the steps to flash stock ROM 10.3.0 without losing twrp? I don't mind not being rooted
Thanks in advance!
just download the rom from here
flash it via twrp
then after setting up your device reboot to fastboot mode and boot into twrp image
then flash twrp again( be sure to use the latest twrp image otherwise you will not be able to boot into twrp)
ps i dont now if thats gonna work:
flash the rom via twrp
flash twrp.zip
reboot to recovery and again reboot to system
Does TWRP work with 10.30? I couldn't get mine to boot TWRP once I went to 10.30
dimitrispas22 said:
just download the rom from here
flash it via twrp
then after setting up your device reboot to fastboot mode and boot into twrp image
then flash twrp again( be sure to use the latest twrp image otherwise you will not be able to boot into twrp)
ps i dont now if thats gonna work:
flash the rom via twrp
flash twrp.zip
reboot to recovery and again reboot to system
Click to expand...
Click to collapse
I would say, from TWRP :
- unistall magisk
- reboot recovery
- flash the rom zip
- flash twrp zip
- reboot recovery
- flash magisk
Geo411m said:
Does TWRP work with 10.30? I couldn't get mine to boot TWRP once I went to 10.30
Click to expand...
Click to collapse
Sure you can flash it, try 3.3.1-16 !
If you get an error by
Code:
fastboot boot twrp-3.3.1-16-enchilada-Q-mauronofrio.img
try
Code:
fastboot flash boot twrp-3.3.1-16-enchilada-Q-mauronofrio.img
.

Unofficial TWRP recovery for Tecno KC8(KC8-H6110LMN-Q-OP)

Twrp & Root
1. TWRP RECOVERY
Twrp recovery for Tecno kc8 android 10
any build version
Flashing guide:
Cmd:
adb reboot bootlader
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
Download link:https://drive.google.com/file/d/1Gbq54tk8HshL5W0Gy-XwD8L23pzhMv3Y/view?usp=sharing
2. Root zip:
magisk zip link:https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip

Categories

Resources