[HELP] Uninstalling Magisk - Xiaomi Mi A1 Questions & Answers

every time I do the procedure to install the gcam with temporary root, when uninstalling the magisk, my mi a1 gets stuck in the "no command" screen, I saw in several sites that this happens when the magisk does not make a backup correct boot.img, has anyone gone through this?

die.henrique said:
every time I do the procedure to install the gcam with temporary root, when uninstalling the magisk, my mi a1 gets stuck in the "no command" screen, I saw in several sites that this happens when the magisk does not make a backup correct boot.img, has anyone gone through this?
Click to expand...
Click to collapse
Mine too, had to flash the original rom with mi flash. Get the og boot.img then when you're in fastboot mode type : "fastboot boot boot.img" the boot.img needs to be the stock unpatched boot image

emiljano539 said:
Mine too, had to flash the original rom with mi flash. Get the og boot.img then when you're in fastboot mode type : "fastboot boot boot.img" the boot.img needs to be the stock unpatched boot image
Click to expand...
Click to collapse
but will not this reset the device? can I flash the stock boot.img without erasing the data?

die.henrique said:
but will not this reset the device? can I flash the stock boot.img without erasing the data?
Click to expand...
Click to collapse
Yes, but you can keep the data by selecting to flash only the system.
And you can also flash only the stock boot.img with command "fastboot flash boot boot.img"

emiljano539 said:
Yes, but you can keep the data by selecting to flash only the system.
And you can also flash only the stock boot.img with command "fastboot flash boot boot.img"
Click to expand...
Click to collapse
Omg, thanks for the answers, just one more thing, the boot.img do I have to download from the internet or do a backup of my current device?

die.henrique said:
Omg, thanks for the answers, just one more thing, the boot.img do I have to download from the internet or do a backup of my current device?
Click to expand...
Click to collapse
You should download the boot.img for mi a1 which corresponds with your update. For ex. boot.img of january rom.

device not found in adb fasboot after uninstall magisk
emiljano539 said:
Mine too, had to flash the original rom with mi flash. Get the og boot.img then when you're in fastboot mode type : "fastboot boot boot.img" the boot.img needs to be the stock unpatched boot image
Click to expand...
Click to collapse
[HELP] after uninstalling magisk, my mi a2 stuck at no command and does not found in adb (device not listed in fastboot). what should i do? i want to flashboot.

caan90 said:
[HELP] after uninstalling magisk, my mi a2 stuck at no command and does not found in adb (device not listed in fastboot). what should i do? i want to flashboot.
Click to expand...
Click to collapse
Because you have lost the stock boot.img. find the stock boot img of your patch then flash it via fastboot directly

emiljano539 said:
Because you have lost the stock boot.img. find the stock boot img of your patch then flash it via fastboot directly
Click to expand...
Click to collapse
Thank you so much... it work.. my mi a2 just come back to life..

caan90 said:
Thank you so much... it work.. my mi a2 just come back to life..
Click to expand...
Click to collapse
I'm glad it worked. Make sure you leave a like in my comment if it was useful . Peace

my mi a2 is not detect in adb and in fastboot too what can i do

Related

twrp error 1 with lineage update

This appears. I can not find anything on the internet and I do not know what to do.
KafkaG said:
This appears. I can not find anything on the internet and I do not know what to do.
Click to expand...
Click to collapse
Hi,
extract the original Firmware on your PC, look for boot.img and than in fastboot write "fastboot flash boot boot.img". Error1 disapers. :good:
Sent from my Mi A1 using XDA Labs
yorkberliner said:
Hi,
extract the original Firmware on your PC, look for boot.img and than in fastboot write "fastboot flash boot boot.img". Error1 disapers. :good:
Click to expand...
Click to collapse
Thanks, but how I can do it?
yorkberliner said:
Hi,
extract the original Firmware on your PC, look for boot.img and than in fastboot write "fastboot flash boot boot.img". Error1 disapers. :good:
Click to expand...
Click to collapse
but I have to extract it from the firmware of lineageos I installed or from the original one of stock? and how do I extract it?
Nobody can help me?
KafkaG said:
Nobody can help me?
Click to expand...
Click to collapse
Good evening,
please be patient. DLoad and extract with 7zip the firmware from here. Extract the firmware again. Now you have the original boot.img from MIUI.
In Fastboot flash the boot.img with "fastboot flash boot boot.img".
If above method won't work, re-download the rom file, this seems corrupt.
Next time try to fresh flash the rom instead of ota, some ota are broken and would have some issue like this.
tanapak1 said:
If above method won't work, re-download the rom file, this seems corrupt.
Next time try to fresh flash the rom instead of ota, some ota are broken and would have some issue like this.
Click to expand...
Click to collapse
I downloaded several times the same rom and more versions, the problem is the system
yorkberliner said:
Good evening,
please be patient. DLoad and extract with 7zip the firmware from here. Extract the firmware again. Now you have the original boot.img from MIUI.
In Fastboot flash the boot.img with "fastboot flash boot boot.img".
Click to expand...
Click to collapse
which of those rom? the first one, 8.1 almost destroyed the system (with the boot.img) and I had to put the boot.img back from the twrp backup, so which link is right?
Edit: I think, indeed, I'm sure I need the boot.img of the rom that I have or lineage, but I do not know how to extract it from the zip.
Hi,
okay. I think the best way is you flash first the original Firmware from here with Xiaomi Flash Tool. DLoad and install on your PC. DLoad and read this Site.
Now you have the original Firmware installed. Go to settings, about the Phone, Buildnumber. Tab 7 times on it and than go to the Developer. Open OEM and US-Debugging. Reboot into Fastboot. In ADB/Fastboot write "fastboot devices" and your device must recogniced. Than write "fastboot oem unlock". After this you get a reboot to system. Now look again iin settings, devoloper if oem and usb-debugging on. Reboot in fastboot your Phone. Now write again "fastboot devices". Is everythink okay than write "fastboot boot recovery-3.2.1-2-oreo.img". Now you have twrp installed. In twrp flash the twrp-recoveryinstaller-3.2.1-2-oreo.zip. After this you can flash your favoryte Custom Rom. Good Luck :good:
yorkberliner said:
Hi,
okay. I think the best way is you flash first the original Firmware from here with Xiaomi Flash Tool. DLoad and install on your PC. DLoad and read this Site.
Now you have the original Firmware installed. Go to settings, about the Phone, Buildnumber. Tab 7 times on it and than go to the Developer. Open OEM and US-Debugging. Reboot into Fastboot. In ADB/Fastboot write "fastboot devices" and your device must recogniced. Than write "fastboot oem unlock". After this you get a reboot to system. Now look again iin settings, devoloper if oem and usb-debugging on. Reboot in fastboot your Phone. Now write again "fastboot devices". Is everythink okay than write "fastboot boot recovery-3.2.1-2-oreo.img". Now you have twrp installed. In twrp flash the twrp-recoveryinstaller-3.2.1-2-oreo.zip. After this you can flash your favoryte Custom Rom. Good Luck :good:
Click to expand...
Click to collapse
No thanks, bye

I need help with twrp ASAP please

I flashed 3.3.1-2 twrp and then installed a couple different roms to compare. Then I'm not quite sure what happened, I know I formatted and tried to install another, then I lost access to twrp. Even though it says I'm successful at flashing it, it won't boot into twrp or any recovery for that matter. What should I do? I've tried two different twrp's and neither will boot up. I've tried the .bat and volume+ and power, and I even tried with the fastboot boot twrp.img command.
willineedhelp said:
I flashed 3.3.1-2 twrp and then installed a couple different roms to compare. Then I'm not quite sure what happened, I know I formatted and tried to install another, then I lost access to twrp. Even though it says I'm successful at flashing it, it won't boot into twrp or any recovery for that matter. What should I do? I've tried two different twrp's and neither will boot up. I've tried the .bat and volume+ and power, and I even tried with the fastboot boot twrp.img command.
Click to expand...
Click to collapse
What do you see exactly when you try to enter recovery mode? Stock recovery? Or fastboot? Which recovery have you tried? (provide links)
willineedhelp said:
I flashed 3.3.1-2 twrp and then installed a couple different roms to compare. Then I'm not quite sure what happened, I know I formatted and tried to install another, then I lost access to twrp. Even though it says I'm successful at flashing it, it won't boot into twrp or any recovery for that matter. What should I do? I've tried two different twrp's and neither will boot up. I've tried the .bat and volume+ and power, and I even tried with the fastboot boot twrp.img command.
Click to expand...
Click to collapse
Hello, download fastboot rom and flash this files
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix)
For twrp use bat file to install for u don't do it manually..
SomethingWentWrong said:
What do you see exactly when you try to enter recovery mode? Stock recovery? Or fastboot? Which recovery have you tried? (provide links)
Click to expand...
Click to collapse
Fastboot mode
farhan20 said:
Hello, download fastboot rom and flash this files
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix)
For twrp use bat file to install for u don't do it manually..
Click to expand...
Click to collapse
I'll give that a shot, thanks!
farhan20 said:
Hello, download fastboot rom and flash this files
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix)
For twrp use bat file to install for u don't do it manually..
Click to expand...
Click to collapse
Oh man you're a life saver! Worked perfectly! Thanks so much!
willineedhelp said:
Oh man you're a life saver! Worked perfectly! Thanks so much!
Click to expand...
Click to collapse
Glad to know I was able to help, it happens with me and this is how I fixed ?
Hello! Had the same problem and the procedure let me access recovery, yet everytime I reboot to system, the phone opens recovery instead.
I tried restoring a backup but rom is unstable and stuff keeps crashing. Any ideas?
EDIT: did a fastboot flash of .9 ROM and at got it back to work.
farhan20 said:
Hello, download fastboot rom and flash this files
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix)
For twrp use bat file to install for u don't do it manually..
Click to expand...
Click to collapse
So I tried to go back to MIUI and it did it again, I did the default wipe and tried to install it. It got stuck in a bootloop and wouldn't go into TWRP again. Tried what you prescribed again, but that didn't work. I tried using the command (fastboot boot recovery.img) and it just shut off. It's clearly not flashing TWRP, but I have no idea why. I tried both 3.3.1-2 and 3.3.1-3, neither worked. I tried flashing more of the fastboot ROM images, but that did nothing either. Any suggestions? I'm having to use my old moto g5 until I get this fixed, so help ASAP would be amazing. Thanks in advance!
willineedhelp said:
So I tried to go back to MIUI and it did it again, I did the default wipe and tried to install it. It got stuck in a bootloop and wouldn't go into TWRP again. Tried what you prescribed again, but that didn't work. I tried using the command (fastboot boot recovery.img) and it just shut off. It's clearly not flashing TWRP, but I have no idea why. I tried both 3.3.1-2 and 3.3.1-3, neither worked. I tried flashing more of the fastboot ROM images, but that did nothing either. Any suggestions? I'm having to use my old moto g5 until I get this fixed, so help ASAP would be amazing. Thanks in advance!
Click to expand...
Click to collapse
Nvm, I just had a junk TWRP version.
willineedhelp said:
So I tried to go back to MIUI and it did it again, I did the default wipe and tried to install it. It got stuck in a bootloop and wouldn't go into TWRP again. Tried what you prescribed again, but that didn't work. I tried using the command (fastboot boot recovery.img) and it just shut off. It's clearly not flashing TWRP, but I have no idea why. I tried both 3.3.1-2 and 3.3.1-3, neither worked. I tried flashing more of the fastboot ROM images, but that did nothing either. Any suggestions? I'm having to use my old moto g5 until I get this fixed, so help ASAP would be amazing. Thanks in advance!
Click to expand...
Click to collapse
What MIUI version you have tried to go back?

Flash this If you stuck on fastboot or soft brick

Hi so I been seeing many people getting stuck on fastboot after flashing ROM so here is the method u can use if u can't boot to TWRP also.
I have tired on PA ROM and it works so idk about others ROMs ..
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix).. Russian one
And after those comands do run TWRP auto installer.
U can find those files from fastboot stock ROM. This will save ur data and u won't needed to flash Stock ROM ..
Hope I explained everything if anything else needed comment down below.
Hi, i'm stuck in this fastboot limbo but can't find some of these files you mentioned: logo.img and misc.img
Where do i get them?
edit: nevermind, solved flashing fastboot miui with miflash pro.
EDIT 2: after flashing a rom i get stuck in fastboot everytime. How to avoid this?
Also tried flashing those files in that exact sequence but still stuck in fastboot.
My persist.img is shown not writable in cmd if I try to flash it. If I flash a rom using TWRP an error pops up saying "failed to mount /persist' (Invalid Argument).
SOLVED- Flashing persist.img from twrp "Install Image" works.
farhan20 said:
Hi so I been seeing many people getting stuck on fastboot after flashing ROM so here is the method u can use if u can't boot to TWRP also.
I have tired on PA ROM and it works so idk about others ROMs ..
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix).. Russian one
And after those comands do run TWRP auto installer.
U can find those files from fastboot stock ROM. This will save ur data and u won't needed to flash Stock ROM ..
Hope I explained everything if anything else needed comment down below.
Click to expand...
Click to collapse
Could you (or anyone) please provide these files.
Reep1324 said:
Could you (or anyone) please provide these files.
Click to expand...
Click to collapse
Hi, this u can get from fastboot stock Rom, download fastboot stock Rom and extract them u will find.. if need help just tag me ..
farhan20 said:
Hi, this u can get from fastboot stock Rom, download fastboot stock Rom and extract them u will find.. if need help just tag me ..
Click to expand...
Click to collapse
i got the .img file but i cant install it via twrp or fastboot cause this partition is unmountable
do you have any idea? i flashed stock rom via fastboot but the error insists
Dr.Dinel said:
i got the .img file but i cant install it via twrp or fastboot cause this partition is unmountable
do you have any idea? i flashed stock rom via fastboot but the error insists
Click to expand...
Click to collapse
Hello, seems u need to repair ur partition from TWRP.
Also what u did that cause this ?
PS: I'm not expert or anything but I will try to help if I could.
farhan20 said:
Hello, seems u need to repair ur partition from TWRP.
Also what u did that cause this ?
PS: I'm not expert or anything but I will try to help if I could.
Click to expand...
Click to collapse
thanks for replying
i finally solved it, used a chinese twrp that has the option to install on persist partition and the rest was easy
My k20 bricked after install miui 11 Chine version i try to flashing with flash tool but after processing not working "error antirolback check error" please someone help me
hamidezat20 said:
My k20 bricked after install miui 11 Chine version i try to flashing with flash tool but after processing not working "error antirolback check error" please someone help me
Click to expand...
Click to collapse
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
farhan20 said:
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
Click to expand...
Click to collapse
like me please help me after installing miui 11 Chine version
hamidezat20 said:
like me please help me after installing miui 11 Chine version
Click to expand...
Click to collapse
U r stuck on fastboot right and u said u can't flash fastboot rom because u r getting anti roll back error so I gave u solution
How to fix this problem
Hello same me how to fixed step by step
First you need fastboot rom extract fastboot rom on your pc after extract find 3 file
1-boot
2-recovery
3-system
Flash with fastboot
Turn off your phone and going to fastboot
Type
Fastboot devices
Fastboot flash boot boot.img
Fastboot flash recovery recovery.img
Fastboot flash system system.img
Done device can't boot but you can install twrp China version link ?
https://www.lanzous.com/i6ahykh
after installation you can go to twrp
Download fastboot miui install from twrp
Sorry for me English
Oh my god, you saved me!
HI guys i flashed my mi 9t with twrp-3.3.1-2-davinci-fix it worked with miui.eu 9.8.15 after trying to flash miui 11 for about 6 hrs lol, anyway my phone is working but i would like to go back to stock and relock the bootloader but i cant find the mi 9t fastboot rom
timbook2 said:
HI guys i flashed my mi 9t with twrp-3.3.1-2-davinci-fix it worked with miui.eu 9.8.15 after trying to flash miui 11 for about 6 hrs lol, anyway my phone is working but i would like to go back to stock and relock the bootloader but i cant find the mi 9t fastboot rom
Click to expand...
Click to collapse
You're able to flash miui 11 after such long time or just 9.8.15?
farhan20 said:
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
Click to expand...
Click to collapse
hey i am getting file missmatching image and device error so i deleted those lines from .bat file but still getting the same error
lucifer said:
hey i am getting file missmatching image and device error so i deleted those lines from .bat file but still getting the same error
Click to expand...
Click to collapse
Hi, u deleted from flash all. Bat right and what's the error u r getting?
farhan20 said:
Hi, u deleted from flash all. Bat right and what's the error u r getting?
Click to expand...
Click to collapse
well it worked after i moved the file to c:/ drive but after flashing i lost widewine L1
When I got 9.8.15 working I stopped at least I got a working phone now, I will try and flash stock later.
I got anti rollback error trying to flash stock with miflash tool.

Patched Boot.img for OnePlus 8 Pro Android 11 D4 preview?

Does anyone have a patched boot image for the D4 preview, I just updated to it and I noticed that install to inactive slot didn't keep my root from D3.
I'm going to try and extract the DP4 boot.img and patch it with Magisk. I just searched 'How to Extract Android OTA Payload" and found an article..
Mike02z said:
I'm going to try and extract the DP4 boot.img and patch it with Magisk. I just searched 'How to Extract Android OTA Payload" and found an article..
Click to expand...
Click to collapse
download payload dumper
or you can do it the same way the persist guide tells but there are 2 boot files in that folder
DP4 patched img
https://drive.google.com/file/d/181NrT_l6l3hzBtPhF9i5CMpZV6bgjnds/view?usp=drivesdk
First boot it
Fastboot boot DP4.img
After rebooting to OS, again reboot back to fastboot
Fastboot flash boot_a DP4.img
Fastboot flash boot_b DP4.img
cultofluna said:
DP4 patched img
https://drive.google.com/file/d/181NrT_l6l3hzBtPhF9i5CMpZV6bgjnds/view?usp=drivesdk
First boot it
Fastboot boot DP4.img
After rebooting to OS, again reboot back to fastboot
Fastboot flash boot_a DP4.img
Fastboot flash boot_b DP4.img
Click to expand...
Click to collapse
phone doesnt boot at all after booting this
galza said:
phone doesnt boot at all after booting this
Click to expand...
Click to collapse
Did you disable every magisk module before do to this?
cultofluna said:
DP4 patched img
https://drive.google.com/file/d/181NrT_l6l3hzBtPhF9i5CMpZV6bgjnds/view?usp=drivesdk
First boot it
Fastboot boot DP4.img
After rebooting to OS, again reboot back to fastboot
Fastboot flash boot_a DP4.img
Fastboot flash boot_b DP4.img
Click to expand...
Click to collapse
vuoshino said:
Did you disable every magisk module before do to this?
Click to expand...
Click to collapse
i came from stable 10.5.12..i dont remember..and if i havent disable what can i do now to make it work?
I dont know. Why you didnt follow the treadh guide that is made properly on this forum about the dp3? Inside there is already the dp4 boot image. Ask in there for some helps
cultofluna said:
DP4 patched img
https://drive.google.com/file/d/181NrT_l6l3hzBtPhF9i5CMpZV6bgjnds/view?usp=drivesdk
First boot it
Fastboot boot DP4.img
After rebooting to OS, again reboot back to fastboot
Fastboot flash boot_a DP4.img
Fastboot flash boot_b DP4.img
Click to expand...
Click to collapse
Fastboot boot DP4.img
Install magisk.apk
install select direct
boot
is it true ?
brmbjn said:
Fastboot boot DP4.img
Install magisk.apk
install select direct
boot
is it true ?
Click to expand...
Click to collapse
Theoretically should work...
You can try it..
You can also boot the twrp (11) and flash latest magisk canary zip from there , it should also theoretically work...
Anyone else seeing issues with your 8 Pro shutting off randomly after applying the patched boot? Did it twice yesterday and once this AM.
Mike02z said:
Anyone else seeing issues with your 8 Pro shutting off randomly after applying the patched boot? Did it twice yesterday and once this AM.
Click to expand...
Click to collapse
This is my fourth day on dp4 (rooted) and I havent had any reboots..
Mike02z said:
Anyone else seeing issues with your 8 Pro shutting off randomly after applying the patched boot? Did it twice yesterday and once this AM.
Click to expand...
Click to collapse
Did you format when updating?
May be why.
I build my own patched boot.img with the latest canary and did a full clean install of DP4 and it works perfectly fine so far. 2 days in now. No reboots and root works fine.
Imprezzion said:
I build my own patched boot.img with the latest canary and did a full clean install of DP4 and it works perfectly fine so far. 2 days in now. No reboots and root works fine.
Click to expand...
Click to collapse
.yep that's how you do it.
I think the reboots have to be from dirty upgrades, there may be left over files causing issues
My random shut downs stopped. Has not happened in a couple days.

8T on OOS A12 - C.16 Recovery with ADB Enabled

Tested on my own KB2003, work flawlessly. Useful for many cases.
I followed the GUIDE of @s3axel here : https://forum.xda-developers.com/t/...n-os-stock-recovery-with-adb-enabled.4084487/
All credits to him.
Basically, this modded Recovery just saved my a** )))) Just unzip using 7z then flash it to Recovery as normal.
LinhBT said:
Tested on my own KB2003, work flawlessly. Useful for many cases.
I followed the GUIDE of @s3axel here : https://forum.xda-developers.com/t/...n-os-stock-recovery-with-adb-enabled.4084487/
All credits to him.
Basically, this modded Recovery just saved my a** )))) Just unzip using 7z then flash it to Recovery as normal.
Click to expand...
Click to collapse
Can you share your file?
Rootk1t said:
Can you share your file?
Click to expand...
Click to collapse
Sure man, find attachment
Hi, I am facing a strange issue on OOS12 not able to factory reset or enter stock recovery it says boot/recovery.img damaged flash the correct one or contact support can any one help me out with this issue.
houstontaxi said:
Hi, I am facing a strange issue on OOS12 not able to factory reset or enter stock recovery it says boot/recovery.img damaged flash the correct one or contact support can any one help me out with this issue.
Click to expand...
Click to collapse
unpack your firmware, extract stock recovery.img and flash it.
But for flashing do I need to unlock bootloader or it can be done without unlocking?
houstontaxi said:
But for flashing do I need to unlock bootloader or it can be done without unlocking?
Click to expand...
Click to collapse
As far as i remember to flash partitions with stock firmware you don't need unlocked bootloader.
Rootk1t said:
As far as i remember to flash partitions with stock firmware you don't need unlocked bootloader.
Click to expand...
Click to collapse
If it needs to flash recovery the same way as we do for custom roms like fastboot flash recovery in platform tools then i tried that doesn't work to make it work bootloader needs to be unlocked I did that(unlocked the boot loader) then flashed stock recovery and it worked but after locking the boot loader with fastboot oem lock same issue happened again couldn't boot into recovery.
houstontaxi said:
But for flashing do I need to unlock bootloader or it can be done without unlocking?
Click to expand...
Click to collapse
To flash ANY partitions, u must unlock bootloader even if the partition is critical or not. And to prevent the boot/recovery image damaged error, u must flash stock boot/recovery images along with vbmeta.img ( also extracted from stock, same build ).
LinhBT said:
To flash ANY partitions, u must unlock bootloader even if the partition is critical or not. And to prevent the boot/recovery image damaged error, u must flash stock boot/recovery images along with vbmeta.img ( also extracted from stock, same build ).
Click to expand...
Click to collapse
I'm gonna try this also need to know if I have to flash boot.img and recovery.img as there are two files when extracted from the stock rom
houstontaxi said:
I'm gonna try this also need to know if I have to flash boot.img and recovery.img as there are two files when extracted from the stock rom
Click to expand...
Click to collapse
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
LinhBT said:
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
Click to expand...
Click to collapse
I'm gonna try that thanks for the help and I hope it resolves my issue with OOS A12 recovery as I don't face this kind of issue on OOS11
1
LinhBT said:
Both, boot.img and recovery.img , also in some case, u must flash dtbo.img too. I dont know the exact situation of you so my advise is to flash both boot.img recovery.img dtbo.img and vbmeta.img
Click to expand...
Click to collapse
Hello, tell me that your recovery cannot decrypt the date section? I need to extract data from the phone, the phone won't boot into the system, I tried to boot into your recovery but I can't access the folders.
lenox30 said:
Hello, tell me that your recovery cannot decrypt the date section? I need to extract data from the phone, the phone won't boot into the system, I tried to boot into your recovery but I can't access the folders.
Click to expand...
Click to collapse
This is simply Stock Recovery with ADB enabled bro. It only can help u in some tasks which need to access adb via Recovery, it won't help to decrypt ur device and/or have any functions as other custom recovery

Categories

Resources