Mido stock boot image - Android Q&A, Help & Troubleshooting

How to recover stock boot image for mido, the image is to install Magisk after unrooted from SuperSU.
Need help, thanks.
Plus, is there anyway to backup the stock boot image???

Mr.Salty said:
How to recover stock boot image for mido, the image is to install Magisk after unrooted from SuperSU.
Need help, thanks.
Plus, is there anyway to backup the stock boot image???
Click to expand...
Click to collapse
TWRP > Backup > Boot.img

sachin n said:
TWRP > Backup > Boot.img
Click to expand...
Click to collapse
Thanks.
Thanks!

Related

FAQ about Restoration

I have a doubt..
If I make a twrp backup of the stock ROM without any modifications.. Then when I restore the backup in future will I be able to get the OTA update of OOS??
Anyone?
Yes you should be OK for OTA updates with a stock non-rooted backup
sarthakspiker said:
Anyone?
Click to expand...
Click to collapse
Yes if backup is of non-rooted ROM and with original recovery (not with TWRP) then you will be fine.
A_youu said:
Yes if backup is of non-rooted ROM and with original recovery (not with TWRP) then you will be fine.
Click to expand...
Click to collapse
How do I do that.. Actually I want to know it so that it will be easier to revert from other ROMs
A_youu said:
Yes if backup is of non-rooted ROM and with original recovery (not with TWRP) then you will be fine.
Click to expand...
Click to collapse
How do I do that.. Actually I wanted to know this so that it would be easier to revert from other ROMs
sarthakspiker said:
How do I do that.. Actually I wanted to know this so that it would be easier to revert from other ROMs
Click to expand...
Click to collapse
By simply restoring your device from backup (Original ROM) and then install OTA updates by doing system update.
A_youu said:
By simply restoring your device from backup (Original ROM) and then install OTA updates by doing system update.
Click to expand...
Click to collapse
I mean how to backup.. Without twrp
sarthakspiker said:
I mean how to backup.. Without twrp
Click to expand...
Click to collapse
So instead of flashing TWRP recovery on your phone, you can simply boot your phone in TWRP by -
Code:
fastboot boot <twrp img>
And once your phone is booted in TWRP, you can create backup.
If you noticed we are giving fastboot command to boot in twrp only (not flashing TWRP on our phone).
A_youu said:
So instead of flashing TWRP recovery on your phone, you can simply boot your phone in TWRP by -
Code:
fastboot boot <twrp img>
And once your phone is booted in TWRP, you can create backup.
If you noticed we are giving fastboot command to boot in twrp only (not flashing TWRP on our phone).
Click to expand...
Click to collapse
Yeah.. But what's the difference.. I mean making backup by just booting twrp and using a flashed twrp.. As now twrp also supports OTA updates..
sarthakspiker said:
Yeah.. But what's the difference.. I mean making backup by just booting twrp and using a flashed twrp.. As now twrp also supports OTA updates..
Click to expand...
Click to collapse
Difference is - with Flashed twrp your backup will have custom recovery as compare to booting twrp in which you will have original recovery in backup.
Yes, now twrp supports OTA updates. So you just have to download OTA's and flash through twrp. But, I still prefer to make backup of originial rom just in case I messed up something.
A_youu said:
Difference is - with Flashed twrp your backup will have custom recovery as compare to booting twrp in which you will have original recovery in backup.
Yes, now twrp supports OTA updates. So you just have to download OTA's and flash through twrp. But, I still prefer to make backup of originial rom just in case I messed up something.
Click to expand...
Click to collapse
I hope this works.. This would make it easier to change roms.. And would Save data too.. As I don't have to download full OOS

replace CWM with TWRP

I've got a SGS4 (I9506) with Cyanogen Mod 13.0 and CWM and I want to switch to LineageOS 15.1 which states I should use TWRP.
1. Does it make a difference whether I use CWM or TWRP?
2. How exactly would I proceed to replace CWM with TWRP?
The only answer I found while searching was to "just use GooManager from the Play Store"...
Thanks in advance
Simple you going to go on twrp and see if a offical twrp exist for your device and if not go on the xda page for your phone and see if any modified twrp bulids exist for your phone and then you flash the twrp image in your recovery and reboot recovery will pop up and now you have twrp I hope this works...
Sent from my SM-J327P using Tapatalk
PoochyX said:
Simple you going to go on twrp and see if a offical twrp exist for your device and if not go on the xda page for your phone and see if any modified twrp bulids exist for your phone and then you flash the twrp image in your recovery and reboot recovery will pop up and now you have twrp I hope this works...
Sent from my SM-J327P using Tapatalk
Click to expand...
Click to collapse
well, I'd hope this works too, because that's what I'd have tried without asking here.. but I'd like some assurance
tm0ntana said:
I've got a SGS4 (I9506) with Cyanogen Mod 13.0 and CWM and I want to switch to LineageOS 15.1 which states I should use TWRP.
1. Does it make a difference whether I use CWM or TWRP?
2. How exactly would I proceed to replace CWM with TWRP?
The only answer I found while searching was to "just use GooManager from the Play Store"...
Thanks in advance
Click to expand...
Click to collapse
1. It makes difference by not booting into rom when you flash with cwm or older versions of twrp
2. Download twrp from https://androidfilehost.com/?fid=3700668719832239230 .... and flash it with odin..
or extract that .tar and you will find recovery.img then flash that .img with flashify app if you are rooted..
Hope this helps
HemanthJabalpuri
HemanthJabalpuri said:
1. It makes difference by not booting into rom when you flash with cwm or older versions of twrp
2. Download twrp from .... and flash it with odin..
or extract that .tar and you will find recovery.img then flash that .img with flashify app if you are rooted..
Hope this helps
HemanthJabalpuri
Click to expand...
Click to collapse
2. so I can just flash TWRP "over" CWM with Odin and there won't be any remains of CWM nor any problems?
Thanks!
tm0ntana said:
2. so I can just flash TWRP "over" CWM with Odin and there won't be any remains of CWM nor any problems?
Thanks!
Click to expand...
Click to collapse
You can just flash with odin over cwm....
tm0ntana said:
2. so I can just flash TWRP "over" CWM with Odin and there won't be any remains of CWM nor any problems?
Thanks!
Click to expand...
Click to collapse
Are you succeeded? If yes then edit the title by starting it with [solved]......
Have a great day
Solved
Sent from my SM-J327P using Tapatalk

How to install OTAs on rooted poco F1 ?

There will(hopefully) be a lot of otas coming to Poco F1 for bug fixing. So if we are rooted with Magisk we cannot install Otas directly as magisk modifies our stock boot image. And since poco doesn't have A/B partitions we cannot install OTA's and still keep Magisk. That brings us to Flashfire which can preserve root. Flashfire doesn't work on MIUI 9.6.14.0 (it doesn't work on mine) .So how do we install OTAs while preserving Magisk ? Is it possible or do we have to flash stock recovery and stock boot image and lose magisk ?
OTA update method according to topjohnwu:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md
Would be helpful if somebody can post a diy in the guide section on how to apply OTAs on Magisk rooted devices.
I would be very interested as well!!
Go to recovery.
Flash Magisk zip to restore old kernel backup.
Boot to system, you will not have root.
Update.
You still have TWRP, install Magisk again.
Profit.
I did flash my ota via stock recovery . You need flash stock recovery then go to system update after done go back to twrp and your magisk
abdohop said:
I did flash my ota via stock recovery . You need flash stock recovery then go to system update after done go back to twrp and your magisk
Click to expand...
Click to collapse
Could you please be more specific?
1. Flash stock recovery (so you loose Twrp)
2. Boot to System and make update
3. Flash twrp again and root again with Magisk?
Thanks
---------- Post added at 07:59 AM ---------- Previous post was at 07:57 AM ----------
trax7 said:
Go to recovery.
Flash Magisk zip to restore old kernel backup.
Boot to system, you will not have root.
Update.
You still have TWRP, install Magisk again.
Profit.
Click to expand...
Click to collapse
You mean that flashing Magisk again will "undo" root?
DoudouJack said:
You mean that flashing Magisk again will "undo" root?
Click to expand...
Click to collapse
Yes.
trax7 said:
Yes.
Click to expand...
Click to collapse
Hi, just booted into TWRP and flashed Magisk zip file, I'm still rooted.
Do you mean then the uninstaller Magisk file? If so, it will remove packages as well and root will still be there... Could you please be more explicit? Thanks!
DoudouJack said:
Hi, just booted into TWRP and flashed Magisk zip file, I'm still rooted.
Do you mean then the uninstaller Magisk file? If so, it will remove packages as well and root will still be there... Could you please be more explicit? Thanks!
Click to expand...
Click to collapse
Magisk makes a backup of ur boot.img, which you need to use OTAs, to restore it, you can flash Magisk again to restore it. (that's how it should work)
trax7 said:
Magisk makes a backup of ur boot.img, which you need to use OTAs, to restore it, you can flash Magisk again to restore it. (that's how it should work)
Click to expand...
Click to collapse
In my case flashing Magisk again did not work. From Magisk Manager -> Uninstall either since it was "unable to download".
For those who would be in the same case, I did following steps to update:
- Download latest Magisk uninstaller (currently 17.3, I tested with 17.1 & 17.2)
- Boot into TWRP (I use an app for convenience), go to Install > flash the Magisk uninstaller zip and (optional) boot to system to make sure root is gone (with Root Checker e.g.)
- Power off device and boot into Fastboot, flash stock boot.img (you can find it in the ROM folder you used to install your ROM), boot to System and install OTA update via the update manager, then reboot
- At this point I was stuck in fastboot screen, I simply booted with TWRP (with decryption working) and it took care of installing the update, I then flashed Magisk from there.
DoudouJack said:
Could you please be more specific?
1. Flash stock recovery (so you loose Twrp)
2. Boot to System and make update
3. Flash twrp again and root again with Magisk?
Thanks
---------- Post added at 07:59 AM ---------- Previous post was at 07:57 AM ----------
You mean that flashing Magisk again will "undo" root?
Click to expand...
Click to collapse
Correct
Sandepp said:
There will(hopefully) be a lot of otas coming to Poco F1 for bug fixing. So if we are rooted with Magisk we cannot install Otas directly as magisk modifies our stock boot image. And since poco doesn't have A/B partitions we cannot install OTA's and still keep Magisk. That brings us to Flashfire which can preserve root. Flashfire doesn't work on MIUI 9.6.14.0 (it doesn't work on mine) .So how do we install OTAs while preserving Magisk ? Is it possible or do we have to flash stock recovery and stock boot image and lose magisk ?
OTA update method according to topjohnwu:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md
Would be helpful if somebody can post a diy in the guide section on how to apply OTAs on Magisk rooted devices.
Click to expand...
Click to collapse
Try this guide, https://forum.xda-developers.com/poco-f1/how-to/step-step-guide-flashing-ota-beta-t3878730
Darklouis said:
Try this guide, https://forum.xda-developers.com/poco-f1/how-to/step-step-guide-flashing-ota-beta-t3878730
Click to expand...
Click to collapse
Its ok I have already flashed several OTAs, custom roms and kernels on my pocophone.
Sandepp said:
Its ok I have already flashed several OTAs, custom roms and kernels on my pocophone.
Click to expand...
Click to collapse
Is that so? What custom recovery you used?
Darklouis said:
Is that so? What custom recovery you used?
Click to expand...
Click to collapse
Twrp with working decryption
Sandepp said:
Twrp with working decryption
Click to expand...
Click to collapse
About that recovery, data partition will not get encrypted when you flash OTA update?
Darklouis said:
About that recovery, data partition will not get encrypted when you flash OTA update?
Click to expand...
Click to collapse
It will but I am ok with encryption. If you don't want then flash disable force encryption from twrp after flahsing the ota or flash magisk which will disable force encryption.
Sandepp said:
It will but I am ok with encryption. If you don't want then flash disable force encryption from twrp after flahsing the ota or flash magisk which will disable force encryption.
Click to expand...
Click to collapse
Nice nice.. Thanks for the tip
Darklouis said:
Nice nice.. Thanks for the tip
Click to expand...
Click to collapse
You're welcome

Is there any latest stock boot img for Mi A3?

I accidently upgraded my phone to Android 10 11.0.14 ( prehaps ). I want to install TWRP on this phone, and I attempted to install it without flashing the boot img, and it caused to entirely be bricked and stuck on fastboot, and I did also attempt to change the slot, but ****** off. I tried using MiFlash, ****** off, reinstall, ****** off. I still kept my OnePlus rom and I succeed to install and normally use it, and it still remained TWRP. I installed the stock rom for it cuz Oxygen is so unstable, and I did, but the TWRP is lost. I reinstalled it, but it bricked, again. I entered TWRP, wipe all data, and enter again, but lost TWRP. I figured that I did miss flashing boot img, thanks to a thread I accidently read. And I also figured how stupid I was when I just did upgraded my phone to the latest version, and there is no boot img compatible to that version, and I did searched entire internet for it. I didnt try to flash the boot img of the early version cuz I am afraid it bricked again cuz of the compatibility. So when will I expect for a boot img file to flash TWRP and when can I download and use it? Or technically I dont need that boot img file and just simply change the slot and flash it? Ty.
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
gamernayeem said:
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
Hang on. What do you mean by TWRP is already installed ? Does it mean that boot img file already contained TWRP or I do need to install it as a boot img to get the phone boot and work normally?
And btw, is installing SHRP Recovery an opinion or a must?
PNT5V said:
Hang on. What do you mean by TWRP is already installed ? Does it mean that boot img file already contained TWRP or I do need to install it as a boot img to get the phone boot and work normally?
And btw, is installing SHRP Recovery an opinion or a must?
Click to expand...
Click to collapse
the boot img already contain twrp, and the boot img should be able to boot your rom (stock android 10) and no shrp is not a must you can use any recovery you like, but if you want to keep your recovery after installing a rom you have to install the recovery installer zip
gamernayeem said:
the boot img already contain twrp, and the boot img should be able to boot your rom (stock android 10) and no shrp is not a must you can use any recovery you like, but if you want to keep your recovery after installing a rom you have to install the recovery installer zip
Click to expand...
Click to collapse
Boot img not working
oseraphaels said:
Boot img not working
Click to expand...
Click to collapse
Then you have to flash fastboot rom then flash this boot img
gamernayeem said:
Then you have to flash fastboot rom then flash this boot img
Click to expand...
Click to collapse
Thank you very much
It works
oseraphaels said:
Thank you very much
It works
Click to expand...
Click to collapse
No problemo
Big Thanks
gamernayeem said:
try this boot img, its compatible with android 10 also twrp is already installed in the boot img.
https://sourceforge.net/projects/mi...HR_Q-v2.2-laurel_sprout-official.img/download (its for official android 10 rom)
then flash whatever rom you like then flash this zip, it will install shrp recover
https://sourceforge.net/projects/mi...ller-v2.2-laurel_sprout-official.zip/download
Click to expand...
Click to collapse
I was also stuck like this so i flashed that boot img rebooted and everything came back.

How root MIUI GLOBAL

HI GUYS!
I NEED TO ROOT MIUI GLOBAL 11.0.9 / STABLE
11.0.9.0(QEJMIXM)
CAN ANYONE HELP ME HOW TO ROOT, THIS IS ANDROID 10 :crying::crying::crying:
Fdraco10 said:
HI GUYS!
I NEED TO ROOT MIUI GLOBAL 11.0.9 / STABLE
11.0.9.0(QEJMIXM)
CAN ANYONE HELP ME HOW TO ROOT, THIS IS ANDROID 10 :crying::crying::crying:
Click to expand...
Click to collapse
Unlock bootloader.
Flash twrp image in fastboot.
Download latest magisk zip.
Reboot to Recovery.
Flash it in twrp.
Reboot to system.
callmebutcher101 said:
Unlock bootloader.
Flash twrp image in fastboot.
Download latest magisk zip.
Reboot to Recovery.
Flash it in twrp.
Reboot to system.
Click to expand...
Click to collapse
Can you provide me the files please.
Fdraco10 said:
Can you provide me the files please.
Click to expand...
Click to collapse
Magisk - https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip
Twrp - MOD EDIT: Link Removed
Check dm-varity and disable force encryption to get safe from weird MIUI bug which automatically encrypt your phone storage after flashing magisk

Categories

Resources