Needed stock boot image for 8.1 (June patch) - Xiaomi Mi A1 Questions & Answers

I wanted to relock my Mi A1 but forgot to backup the stock boot image. Searched the monthly ROM update thread but it's not there yet.
Anyone got it?
Thanks!
Edit:
My bad, it was June patch (OPM1.171019.019.V9.6.3.0.ODHMIFE)

https://forum.xda-developers.com/mi-a1/how-to/ota-xiaomi-mi-a1-ota-links-t3718542

i need stock boot image for july patch to
I want to update to August but I have already rooted Magisk and I uninstalled it first which happened to be uncommand, because it might boot. img patch has overwritten boot.img default.
for the link above I do not understand why it is so large in size even though the img boot that has been patched is less than 5MB.
please help

nirvanarahadian said:
I want to update to August but I have already rooted Magisk and I uninstalled it first which happened to be uncommand, because it might boot. img patch has overwritten boot.img default.
for the link above I do not understand why it is so large in size even though the img boot that has been patched is less than 5MB.
please help
Click to expand...
Click to collapse
it's the entire rom, not only the boot image, that's why it is so large in size

Done
smsporto said:
it's the entire rom, not only the boot image, that's why it is so large in size
Click to expand...
Click to collapse
Done i downloaded fastboot in here https://forum.xda-developers.com/mi...-ota-links-t3718542/post74828108#post74828108, i download Android 8.1.0 [OPM1.171019.026.V9.6.4.0.ODHMIFE] (fastboot image) and i do flash with cmd boot.img. its work , not uncommand anymore, and i did an experiment with restarting my phone and stock boot img is only temporary and returns uncommand. how to fix it?,is it safe if i immediately update to the latest patch from OTA, the thing that is feared if booting will return like that and i'm confused looking for boot.img for august patch

nirvanarahadian said:
Done i downloaded fastboot in here https://forum.xda-developers.com/mi...ota-links-t3718542/post74828108#post74828108, i download Android 8.1.0 [OPM1.171019.026.V9.6.4.0.ODHMIFE] (fastboot image) and i do flash with cmd boot.img. its work , not uncommand anymore, and i did an experiment with restarting my phone and stock boot img is only temporary and returns uncommand. how to fix it?,is it safe if i immediately update to the latest patch from OTA, the thing that is feared if booting will return like that and i'm confused looking for boot.img for august patch
Click to expand...
Click to collapse
If u are sure that u haven't touched the system partition then u can try to update via OTA. Make sure u flashed and not only booted the downloaded boot.img from V9.6.4.0 ROM. I guess it's better to download the latest version from here:
https://drive.google.com/drive/mobile/folders/1dw87qgRNGxfj7UZduHK91LE6X1Xs7CWL
Then do a clean flash and install the entire ROM with fastboot.

"'*"*"
I've done flashing while on the way and I'm waiting. My cellphone suddenly turns on and it looks like it's doing a factory format. and I just updated it to August. all my data is lost even though the user data has been secured and the flashing process has not finished

Related

Can I Ota update while rooted on stock firmware

I am currently on stock rom but rooted. An Ota update popped up can I update without bootloop
I would like to know the same thing
Naruto101 said:
I am currently on stock rom but rooted. An Ota update popped up can I update without bootloop
Click to expand...
Click to collapse
stkman32 said:
I would like to know the same thing
Click to expand...
Click to collapse
No you can't take an OTA if you have any modifications to /system (root). Have a look at my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
I got an 8MB update for the november patch. Being on TWRP and root i need to convert back to stock before i can have it leave me alone? Is there a way to flash the patch without doing that?
Thanks for answering my question
roughriduz said:
I got an 8MB update for the november patch. Being on TWRP and root i need to convert back to stock before i can have it leave me alone? Is there a way to flash the patch without doing that?
Click to expand...
Click to collapse
No way around it, any modifications will cause the update to fail.
Heisenberg said:
No way around it, any modifications will cause the update to fail.
Click to expand...
Click to collapse
@amoeller had me flash the modified boot.img for MDB08M then flash the MDB08M system.img and vendor.img from the factory image. I rebooted bootloader, the booted to TWRP and re-flashed supersu. I am now on the November patch without having to remove TWRP and all works well. My user data was also untouched.
roughriduz said:
@amoeller had me flash the modified boot.img for MDB08M then flash the MDB08M system.img and vendor.img from the factory image. I rebooted bootloader, the booted to TWRP and re-flashed supersu. I am now on the November patch without having to remove TWRP and all works well. My user data was also untouched.
Click to expand...
Click to collapse
User data should never be affected during an OTA anyway.
This is actually the first time I've unlocked a phones bootloader and stuck with the stock rom. I usually use some kind of popular rom with it's own built in OTA (CM/Viper One)
How often do you guys actually update your phones for OTA? It seems like a real hassle
GloriousGlory said:
This is actually the first time I've unlocked a phones bootloader and stuck with the stock rom. I usually use some kind of popular rom with it's own built in OTA (CM/Viper One)
How often do you guys actually update your phones for OTA? It seems like a real hassle
Click to expand...
Click to collapse
I am rooted now so I'll wait a while before updating an ota until there's a big deal of info. However, in the past if I was sticking with stock there's usually at least one developer who posts the updates with root and stuff built in so you can easily flash with twrp. So I'm kind of waiting for that. That or cataclysm or another awesome rom that's close to stock.
GloriousGlory said:
This is actually the first time I've unlocked a phones bootloader and stuck with the stock rom. I usually use some kind of popular rom with it's own built in OTA (CM/Viper One)
How often do you guys actually update your phones for OTA? It seems like a real hassle
Click to expand...
Click to collapse
I wait for factory image for that build and flash over the new images when they become available (provided that root can still be achieved). Some will do a clean wipe and start fresh with the new build and reload in their apps and user data, others will just dirty flash the updated system (and boot/bootloader or whatever else was changed too).
If you think about it, it really isn't all that different from taking an OTA, the difference is that we're applying the commands to flash instead of having it automated. It's not that big of a trade off in my book.
I have 2 questions...
What is the easiest way to make flashing updates a breeze if I have mods in /system partition? I have heard of "freezing" them. Or is the only option... to delete every mod and flash updates? If so, should I keep a note of every change I make to/system?
And last... Should I make a backup of any file i am replacing or overwriting in /system? And if so, do I have to put them back how they were before flashing an update?
Delete
If you're rooted then you need to download the full factory image, extract system and vendor and flash those. Reflash SuperSU.
roughriduz said:
@amoeller had me flash the modified boot.img for MDB08M then flash the MDB08M system.img and vendor.img from the factory image. I rebooted bootloader, the booted to TWRP and re-flashed supersu. I am now on the November patch without having to remove TWRP and all works well. My user data was also untouched.
Click to expand...
Click to collapse
It’s probably easier and quicker just to flash stock factory images separately instead of having to jump through hoops with OTAs. Like I told @roughriduz just flash the updated partition(s) that were updated like system.img, vendor.img, or whatever and just flash SuperSU in TWRP after.
The steps @roughriduz took was
1. Download and extract latest factory image.
2. Download matching modified boot.img for that build (For example MDB08M).
3. Flash system, vendor, and any other partitions (like radios, etc) with fastboot if they were updated in the OTA. Don’t bother to flash stock recovery because we’re not using an OTA. Flashing userdata.img is just like a factory reset.
4. Boot directly into TWRP and flash SuperSU.
5. Reboot and profit.
This method gives you the latest stock build rooted with TWRP while keeping your data because I hate having to redo my phone.
amoeller said:
It’s probably easier and quicker just to flash stock factory images separately instead of having to jump through hoops with OTAs. Like I told @roughriduz just flash the updated partition(s) that were updated like system.img, vendor.img, or whatever and just flash SuperSU in TWRP after.
The steps @roughriduz took was
1. Download and extract latest factory image.
2. Download matching modified boot.img for that build (For example MDB08M).
3. Flash system, vendor, and any other partitions (like radios, etc) with fastboot if they were updated in the OTA. Don’t bother to flash stock recovery because we’re not using an OTA. Flashing userdata.img is just like a factory reset.
4. Boot directly into TWRP and flash SuperSU.
5. Reboot and profit.
This method gives you the latest stock build rooted with TWRP while keeping your data because I hate having to redo my phone.
Click to expand...
Click to collapse
A couple questions:
1. Step 1 refers to the latest factory image that contains the update, correct?
2. Step two refers to the boot.img that contains root?
3. At what point in this process do you flash the modified boot.img, before or after applying the other images?
Thanks for your help!
JimmyJunk said:
A couple questions:
1. Step 1 refers to the latest factory image that contains the update, correct?
2. Step two refers to the boot.img that contains root?
3. At what point in this process do you flash the modified boot.img, before or after applying the other images?
Thanks for your help!
Click to expand...
Click to collapse
1. Latest factory image is the latest factory image from the nexus factory images page. It's not an update like ota, but rather the entire image they would return you to stock if all is flashed.
2. Flashing a modified boot does not give you root. You still have to flash SU, so saying the modified boot contains root isn't right.
3. I flash boot first unless there is an updated bootloader.
JimmyJunk said:
A couple questions:
1. Step 1 refers to the latest factory image that contains the update, correct?
2. Step two refers to the boot.img that contains root?
3. At what point in this process do you flash the modified boot.img, before or after applying the other images?
Thanks for your help!
Click to expand...
Click to collapse
1. This can be whatever the latest factory image is at the moment. It’s currently MDB08M. All the OTA does is update your phone to whatever build it was made for. Factory images already have previously released updates built into them. You can upgrade but avoid downgrading unless you want to factory reset your phone.
2. I’m referring to the boot.img without root by @mrRobinson found https://www.androidfilehost.com/?fid=24269982086992320 although this process can be used for systemless root also. For systemless root you wouldn’t flash SuperSU in TWRP but instead sideload the SuperSU APK as per Chainfire’s instructions and use the matching systemless root boot.img
3. I don’t think it matters but as long as you have the matching modified boot.img with the system.img installed before you restart, you should be fine.
amoeller said:
It’s probably easier and quicker just to flash stock factory images separately instead of having to jump through hoops with OTAs. Like I told @roughriduz just flash the updated partition(s) that were updated like system.img, vendor.img, or whatever and just flash SuperSU in TWRP after.
The steps @roughriduz took was
1. Download and extract latest factory image.
2. Download matching modified boot.img for that build (For example MDB08M).
3. Flash system, vendor, and any other partitions (like radios, etc) with fastboot if they were updated in the OTA. Don’t bother to flash stock recovery because we’re not using an OTA. Flashing userdata.img is just like a factory reset.
4. Boot directly into TWRP and flash SuperSU.
5. Reboot and profit..
Click to expand...
Click to collapse
What the heck did I do wrong here? I just tried to apply the November OTA update to my MBD08K build, it didn't work, and now I am in the process of doing a full reset and rebuild of my phone (flash-all of factory images from Google)
Here are the notes I made as I attempted to follow the procedure in this thread:
Code:
- Download latest build for MBD08K from https://developers.google.com/android/nexus/images?hl=en
- Extract boot.img, system.img, vendor.img to C:\adb (or wherever where adb and fastboot are
installed). You have to
- Right-click, open command window here
- Ensure USB debugging is enabled on phone (grant permissions on phone if you get the popup)
- In command prompt, "adb devices"
- Should see serial number and "device"
- type "adb reboot bootloader"
- Should get to bootloader screen with little android man lying down with hatch open
- type "fastboot devices" - should see your serial # again and "fastboot" beside it.
- type "fastboot flash boot boot.img"
- type "fastboot flash system system.img"
- type "fastboot flash vendor vendor.img"
- Use volume keys to boot into recovery (in my case TWRP)
- Swipe to allow modifications
- Install -> SuperSU.zip that you should have on your phone from last time.
- Reboot system
I saw a red "your phone is corrupt" scary message on startup... took a while to boot. Couldn't get past the dancing circles.
Interrupted boot, rebooted to fastboot, tried to flash old modified boot.img
Booted again, got encryption unsuccessful warning
Flashed most recent boot.img again, stuck booting forever
try again:
- flash system.img
- flash vendor.img
- flash boot.img (modified)
reboot to recovery - your device can't be checked for corruption (yellow warning instead of red)
- swipe to allow modifications
- reboot with TWRP, swipe to install SuperSU
- Encryption unsuccessful. Prompt to factory reset. Click OK. Boots through TWRP.
Give up, start flashing factory images.
EDIT: I might be the stupidest person alive. I think I should have been using the files for MDB08M. Arggghhhh. Someone please confirm I am an idiot.
Edit 2: Factory reset worked, I am at MDB08M. Now rooting again... grr. At least I backed up all my apps & settings to Google Drive with TB.
Edit 3: Rooted and restoring all apps with TB. If anyone has any insight into where I F'ed up I'd appreciate it.

Accidentally flashed boot to TWRP

Good evening!
Well, my problem is, that trying to install TWRP as recovery (which I did). After doing it, I used the following command -stupidly because I wasn't thinking- thinking it was another thing:
flashboot flash boot twrp.img
Now, everytime I try to boot my OP5, it loads the TWRP.
Now, what can I do? I have the full 4.5.12 OTA that I downloaded from a post in the original OP5 forum, but the one I have installed in my phone is the 4.5.10 or 4.5.11 (I'm not sure now, the last one available before the .12).
Thank you very much!
enlapse said:
Good evening!
Well, my problem is, that trying to install TWRP as recovery (which I did). After doing it, I used the following command -stupidly because I wasn't thinking- thinking it was another thing:
flashboot flash boot twrp.img
Now, everytime I try to boot my OP5, it loads the TWRP.
Now, what can I do? I have the full 4.5.12 OTA that I downloaded from a post in the original OP5 forum, but the one I have installed in my phone is the 4.5.10 or 4.5.11 (I'm not sure now, the last one available before the .12).
Thank you very much!
Click to expand...
Click to collapse
1.Unzip the full OTA file
2. Take boot.img from OTA file
3. Execute following command:
flashboot flash boot boot.img
Thank you very much!
But what if my version is not the same as the OTA I have? Will that affect? Because my version is for sure lower than what I have.
enlapse said:
Thank you very much!
But what if my version is not the same as the OTA I have? Will that affect? Because my version is for sure lower than what I have.
Click to expand...
Click to collapse
You can flash the OTA (if it's over 1GB) in TWRP too.
That will simply update your software to the latest version and will hopefully also bring your phone to a working state.
In other words, what you did was flash TWRP to the boot partition instead of the normal recovery partition. Simply reflash the boot.img to the boot partition and you should be good to go. The boot.img is mostly the kernel and doesn't usually change much from OTA to OTA so you should be fine.

Help with new update and Magisk

Hey guys
so initially i rooted partition B using magisk now i got the new update of 75mb. I switched to partition A where it was still on august security patch and i made update of 1gb followed by 75mb update.
So i switched back to partition B and it was unrooted but the update did not install on this partition and told me to make update of 75mb again but i tired to update and it gave me an error but safetynet was not passed ctsproilfe:false
can someone help me? i tried to flash boot.img of stock but same result.
faddys123 said:
Hey guys
so initially i rooted partition B using magisk now i got the new update of 75mb. I switched to partition A where it was still on august security patch and i made update of 1gb followed by 75mb update.
So i switched back to partition B and it was unrooted but the update did not install on this partition and told me to make update of 75mb again but i tired to update and it gave me an error but safetynet was not passed ctsproilfe:false
can someone help me? i tried to flash boot.img of stock but same result.
Click to expand...
Click to collapse
I ended up having to flash the previous Oct (7.10.14) fastboot ROM using MiFlash, rebooted back into the stock ROM and then took the single 1GB OTA update which has the Oct 30 kernel and build number. Booted into TWRP and reflashed Magisk 14.4 and Safetynet passed.
BTW, did you try booting into partition A and check whether the Oct 30 kernel and build OTA (75MB) update was installed? Just thinking this might be the case since you took 2 OTA updates.
cmk7128 said:
I ended up having to flash the previous Oct (7.10.14) fastboot ROM using MiFlash, rebooted back into the stock ROM and then took the single 1GB OTA update which has the Oct 30 kernel and build number. Booted into TWRP and reflashed Magisk 14.4 and Safetynet passed.
BTW, did you try booting into partition A and check whether the Oct 30 kernel and build OTA (75MB) update was installed? Just thinking this might be the case since you took 2 OTA updates.
Click to expand...
Click to collapse
using miflash did you do this without the data being wiped?
faddys123 said:
using miflash did you do this without the data being wiped?
Click to expand...
Click to collapse
I selected the "save user data" option before flashing in MiFlash but somehow all my data was erased when the phone rebooted. Not sure why that happened.
cmk7128 said:
I selected the "save user data" option before flashing in MiFlash but somehow all my data was erased when the phone rebooted. Not sure why that happened.
Click to expand...
Click to collapse
if i just download the stock rom extract boot.img and system.img and flash manually via fastboot it should return to stock? with my app data etc still intact then i can run the update and then flash magisk for root?
faddys123 said:
if i just download the stock rom extract boot.img and system.img and flash manually via fastboot it should return to stock? with my app data etc still intact then i can run the update and then flash magisk for root?
Click to expand...
Click to collapse
Not sure, but worth a try. What about booting from partition A?
cmk7128 said:
Not sure, but worth a try. What about booting from partition A?
Click to expand...
Click to collapse
i booted into A and it is updated with build 30 oct not rooted, but if i root this using new magisk 14.4 for future updates i won't be able to update and partition b is still on update from 14 oct
faddys123 said:
i booted into A and it is updated with build 30 oct not rooted, but if i root this using new magisk 14.4 for future updates i won't be able to update and partition b is still on update from 14 oct
Click to expand...
Click to collapse
If I am not mistaken, you can boot into partition B (which is unrooted) for future OTA updates. Being on 7.10.14 updates would just mean the OTA files will be bigger in size compared to the OTA file for updates from 30 Oct?
Yesterday, I run into problems updating my phone to 30 oct version too. At the end I stuck into bootloops. This is how I solved it:
- boot into fastbootmode
- flash 14 oct Image with MiFlash (option: save user data)
- reboot
- download and install update 30 oct
- reboot into fastbootmode
- fastboot oem unlock
- fastboot boot recovery.img
- flash Magisk 14.4
- reboot Phone
cmk7128 said:
If I am not mistaken, you can boot into partition B (which is unrooted) for future OTA updates. Being on 7.10.14 updates would just mean the OTA files will be bigger in size compared to the OTA file for updates from 30 Oct?
Click to expand...
Click to collapse
well partition B was the one originally rooted, but i could not install the new update, so switched partition to A and did the update but booting into partition b still has build of 14th oct whereas partition A (unrooted) is on 30th oct build. so both partitions are not getting updated together

Help with soft brick

Hi guys,
I got the ASUS Zenfone 3 Zoom and started playing with it. Unfortunately I managed to soft brick it and somehow I can't go back to stock. Here are all the things I did. I would be happy to get any ideas what to try next:
1. unlocked the bootloader - using asus's official unlock tool
2. flashed twrp recovery - twrp-3.2.1-0-Z01H-20180304.img, using:
adb reboot bootloader
fastboot flash recovery twrp.img
3. updated asus's firmware to the latest official one:
copying UL-Z01H-WW-71.60.139.30.zip onto internal memory
android detects the update and applying it using android
4. Enabling lock pattern at boot (from android settings). Correct pattern required even when booting into recovery
5. Installing supersu via twrp:
adb reboot recovery
installing supersu
wiping caches (the cache partition cannot be wiped)
6. SuperSu working (tested via android)
7. Reading about Magisk. Trying to install magisk via twrp. Magisk's installer complained that the system is not vanilla (due to SuperSu modifications). Have to uninstall SuperSu to return to previous state.
8. Tried uninstalling SuperSu from the program itself (in android). The uninstaller got stuck. The phone become unresponsive and had to reboot.
9. Found a script packaged as an executable zip (to be installed via twrp) that will uninstall SuperSu and return system to pristine state (SuperSu makes a backup of the files it changes before installation) - UPDATE-unSU-signed.zip. Uninstallation worked.
10. Magisk installation still complained about the bootloader. Then things started to go wrong. I unpacked the latest firware UL-Z01H-WW-71.60.139.30.zip, took out boot.img and tried to flash just the bootloader
fastboot flash boot boot.img
11. Upon reboot the phone got stuck at the ASUS logo. Reboot into recovery and into fastboot still works (soft brick). Still shows unlock pattern at boot.
12. I tried flashing the original firmware using TWRP (install a zip). However the installation threw some errors. Unsuccessful.
13. I've tried flashing the system.img from the original firware using fastboot but still it's stuck at the ASUS logo at boot.
fastboot flash system system.img
Here I am stuck. I've read that TWRP cannot install properly the ASUS official firmware but if you flash the original recovery, it can probably flash it properly. Another thing that I think might explain why I cannot get out of the soft brick is that I've enabled the lock pattern at boot, which effectively encrypted some parts of the phone and I have a strong feeling this interferes with the boot process. I will look for a script/installable zip (via twrp) that can remove the lock.
I really need ideas/suggestions before I make something that will turn my phone into a hard brick. Thanks.
What you need to do is flash stock MM recovery from bootloader using "fastboot flash recovery recovery.img"
Since it came with MM preloaded you'll have to install the ROM using stock recovery via adb. It'll take a while, but after that you should upgrade to the latest MM update.
After that, update to any Nougat patch update you wish to receive, because I still haven't figured out yet how to apply them all with @shakalaca's recovery images.
Once you're done, you can install twrp again and flash magisk.
Good luck and hope this helped you
Thanks
+)KEV1N(+ said:
What you need to do is flash stock MM recovery from bootloader using "fastboot flash recovery recovery.img"
Since it came with MM preloaded you'll have to install the ROM using stock recovery via adb. It'll take a while, but after that you should upgrade to the latest MM update.
After that, update to any Nougat patch update you wish to receive, because I still haven't figured out yet how to apply them all with @shakalaca's recovery images.
Once you're done, you can install twrp again and flash magisk.
Good luck and hope this helped you
Click to expand...
Click to collapse
Thanks,
I tried to find a stock recovery images but unsuccessful. Can you tell me where to get it from?
Here's a link to Shakalaca's recovery images.
In the Old folder you'll find MM stock recoveries.
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w!I89QgZpK
Flash 11.40.86.75 recovery
Boot into recovery
Flash 11.40.86.75 stock rom via adb (it'll take a while)
Once it's done, boot into Android.
Download your respective region's latest MM rom.
Send it to your micro sd.
Install it once Android detects the update file.
(It won't work with custom recovery. I tried every recovery Shakalaca has and only those two seem to work)
Once on the latest MM rom install any nougat patch update you wish to apply, because once you have a nougat rom, you can't boot stock recovery. (As far as my testings went)
So if I were you, I'd go for any update after the zenui 4.0 update since it's a bit better looking imo.
After that final update you can flash TWRP to root your phone. I prefer using magisk, since it doesn't modify the system files.
All you need to do is flash magisk and that's it. No need for SuperSU or anything else. And by any means, do NOT wipe your cache partition once you flash TWRP, otherwise you'll get stuck on the Asus logo during boot.
If you wish to retain the "certified" status in google play store's device certification, do NOT go into the play store before installing magisk. Also, don't delete play store data, otherwise you'll lose your previous purchases.
This post was longer than I initially thought it'd be, but I guess this sums it up pretty well.
Good luck
+)KEV1N(+ said:
Here's a link to Shakalaca's recovery images.
In the Old folder you'll find MM stock recoveries.
-- [link] removed due to XDA regulations
Flash 11.40.86.75 recovery
Boot into recovery
Flash 11.40.86.75 stock rom via adb (it'll take a while)
Once it's done, boot into Android.
Download your respective region's latest MM rom.
Send it to your micro sd.
Install it once Android detects the update file.
(It won't work with custom recovery. I tried every recovery Shakalaca has and only those two seem to work)
Once on the latest MM rom install any nougat patch update you wish to apply, because once you have a nougat rom, you can't boot stock recovery. (As far as my testings went)
So if I were you, I'd go for any update after the zenui 4.0 update since it's a bit better looking imo.
After that final update you can flash TWRP to root your phone. I prefer using magisk, since it doesn't modify the system files.
All you need to do is flash magisk and that's it. No need for SuperSU or anything else. And by any means, do NOT wipe your cache partition once you flash TWRP, otherwise you'll get stuck on the Asus logo during boot.
If you wish to retain the "certified" status in google play store's device certification, do NOT go into the play store before installing magisk. Also, don't delete play store data, otherwise you'll lose your previous purchases.
This post was longer than I initially thought it'd be, but I guess this sums it up pretty well.
Good luck
Click to expand...
Click to collapse
Thanks, I managed to flash 11.40.86.75 and stock ROM using your instructions. I will look now into updating and applying magisk. Just a final question. You mentioned to install Nougat patch update and not a full firmware, but my phone came preloaded with Nougat. Will this be a problem? I installed stock 71.60.139.30 and it worked fine (i was able to boot into twrp).
mollonado said:
Thanks, I managed to flash 11.40.86.75 and stock ROM using your instructions. I will look now into updating and applying magisk. Just a final question. You mentioned to install Nougat patch update and not a full firmware, but my phone came preloaded with Nougat. Will this be a problem? I installed stock 71.60.139.30 and it worked fine (i was able to boot into twrp).
Click to expand...
Click to collapse
Sorry I misread your comment. I'm updating to the latest ROM and installing TWRP. Thanks for the help.
mollonado said:
Sorry I misread your comment. I'm updating to the latest ROM and installing TWRP. Thanks for the help.
Click to expand...
Click to collapse
Glad to help!
---------- Post added at 01:33 PM ---------- Previous post was at 01:30 PM ----------
mollonado said:
Thanks, I managed to flash 11.40.86.75 and stock ROM using your instructions. I will look now into updating and applying magisk. Just a final question. You mentioned to install Nougat patch update and not a full firmware, but my phone came preloaded with Nougat. Will this be a problem? I installed stock 71.60.139.30 and it worked fine (i was able to boot into twrp).
Click to expand...
Click to collapse
It came preloaded with Nougat? Interesting.
+)KEV1N(+ said:
Glad to help!
---------- Post added at 01:33 PM ---------- Previous post was at 01:30 PM ----------
It came preloaded with Nougat? Interesting.
Click to expand...
Click to collapse
Hi I managed to flash stock ROM - 71.60.139.30, but after that I can't flash twrp - twrp-3.2.1-0-Z01H-20180304.img. I tried with:
adb reboot bootloader
fastboot flash recovery twrp.img
but when I try to boot into recovery with:
adb reboot recovery
it goes into the stock recovery. Is there something I missed? Do I need to downgrade to flash TWRP?
mollonado said:
Hi I managed to flash stock ROM - 71.60.139.30, but after that I can't flash twrp - twrp-3.2.1-0-Z01H-20180304.img. I tried with:
adb reboot bootloader
fastboot flash recovery twrp.img
but when I try to boot into recovery with:
adb reboot recovery
it goes into the stock recovery. Is there something I missed? Do I need to downgrade to flash TWRP?
Click to expand...
Click to collapse
Quick question: which of these warnings do you get when you boot?
https://www.androidauthority.com/go...rrupted-and-modified-android-software-629180/
Also, did you try power cycling to get it to boot?
And since the version number made such a large jump, I believe they must have changed something internally with the latest update and that it's probably going to be one of the last Nougat updates before Oreo (which was delayed until June).
I still need to update to that version to check it out, but I might reset soon since I was waiting for Oreo to reset.
+)KEV1N(+ said:
Quick question: which of these warnings do you get when you boot?
https://www.androidauthority.com/go...rrupted-and-modified-android-software-629180/
Also, did you try power cycling to get it to boot?
And since the version number made such a large jump, I believe they must have changed something internally with the latest update and that it's probably going to be one of the last Nougat updates before Oreo (which was delayed until June).
I still need to update to that version to check it out, but I might reset soon since I was waiting for Oreo to reset.
Click to expand...
Click to collapse
I have the Orange warning. It looks a bit different but the wording is the same. Yes, i tried powercycling and still I boot into the stock recovery. What can I do now? Is it possible to downgrade? I am not sure if I boot into stock recovery if it will let me flash an older stock ROM.
mollonado said:
I have the Orange warning. It looks a bit different but the wording is the same. Yes, i tried powercycling and still I boot into the stock recovery. What can I do now? Is it possible to downgrade? I am not sure if I boot into stock recovery if it will let me flash an older stock ROM.
Click to expand...
Click to collapse
I read here - https://android.gadgethacks.com/how-to/twrp-101-install-best-custom-recovery-for-android-0179547/
that once you flash twrp Android upon next reboot might overwrite it with the stock recovery. Is that possible?
mollonado said:
I read here - https://android.gadgethacks.com/how-to/twrp-101-install-best-custom-recovery-for-android-0179547/
that once you flash twrp Android upon next reboot might overwrite it with the stock recovery. Is that possible?
Click to expand...
Click to collapse
So, how did you flash TWRP exactly? Using that guide? Or flashed through bootloader?
And to answer your question: yes, it happens sometimes.
+)KEV1N(+ said:
So, how did you flash TWRP exactly? Using that guide? Or flashed through bootloader?
And to answer your question: yes, it happens sometimes.
Click to expand...
Click to collapse
Hi, I managed to get around it by directly booting into TWRP from fastboot. Yes, apparently unless I flash some TWRP files to the system partition upon next reboot, the recovery will return to stock. Anyway, I managed to install Magisk and Exposed framework and have been poking with those two for the last couple of days.
The youtube vanced app is great, but I found something that worries me. I can't login to facebook/twitter. I checked and the reason is I can't connect to the facebook.com or twitter.com https sites (even over chrome). I think either:
- I've installed some module which is messing with that
- my rooted phone is hacked
I've installed a module that is meant as ad blocker, that updates the hosts file. However I removed all modules and the problem remains. I really don't wanna start all over again just to check. And even if I reflash and it works, I will not know what caused it and how to fix it myself next time. Do you have any ideas on how to figure out what the problem is?
Regards,
mollonado said:
Hi, I managed to get around it by directly booting into TWRP from fastboot. Yes, apparently unless I flash some TWRP files to the system partition upon next reboot, the recovery will return to stock. Anyway, I managed to install Magisk and Exposed framework and have been poking with those two for the last couple of days.
The youtube vanced app is great, but I found something that worries me. I can't login to facebook/twitter. I checked and the reason is I can't connect to the facebook.com or twitter.com https sites (even over chrome). I think either:
- I've installed some module which is messing with that
- my rooted phone is hacked
I've installed a module that is meant as ad blocker, that updates the hosts file. However I removed all modules and the problem remains. I really don't wanna start all over again just to check. And even if I reflash and it works, I will not know what caused it and how to fix it myself next time. Do you have any ideas on how to figure out what the problem is?
Regards,
Click to expand...
Click to collapse
First off, my apologies for this late reply (Been superbusy with school and internship assignments)
Secondly, and that is why I only use magisk. Because once you mess with the host file, depending on what module you install, it can range from tripping safetynet to bootlooping.
So quick question, is it still in this state right now since 9 days ago?
Greetings,
Kevin
+)KEV1N(+ said:
Here's a link to Shakalaca's recovery images.
In the Old folder you'll find MM stock recoveries.
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w!I89QgZpK
Flash 11.40.86.75 recovery
Boot into recovery
Flash 11.40.86.75 stock rom via adb (it'll take a while)
Once it's done, boot into Android.
Download your respective region's latest MM rom.
Send it to your micro sd.
Install it once Android detects the update file.
(It won't work with custom recovery. I tried every recovery Shakalaca has and only those two seem to work)
Once on the latest MM rom install any nougat patch update you wish to apply, because once you have a nougat rom, you can't boot stock recovery. (As far as my testings went)
So if I were you, I'd go for any update after the zenui 4.0 update since it's a bit better looking imo.
After that final update you can flash TWRP to root your phone. I prefer using magisk, since it doesn't modify the system files.
All you need to do is flash magisk and that's it. No need for SuperSU or anything else. And by any means, do NOT wipe your cache partition once you flash TWRP, otherwise you'll get stuck on the Asus logo during boot.
If you wish to retain the "certified" status in google play store's device certification, do NOT go into the play store before installing magisk. Also, don't delete play store data, otherwise you'll lose your previous purchases.
This post was longer than I initially thought it'd be, but I guess this sums it up pretty well.
Good luck
Click to expand...
Click to collapse
I made a mistake and could not install recovery stock, I followed what you wrote in the beginning install MM recovery and so I did a hard reset and I was able to install the most current recovery stock and installed ROM Oreo, Thanks. Sorry, I'm on google translator.

Patched Boot from latest OTA 10.0.3.0

Hello everyone
Someone in the russian forum (4pda) shared this patched boot from january ota
I flashed it and the device booted correctly without facing any problem, now magisk works again
Link to download : https://mega.nz/#!R5NAgQKJ!yfm886jSAA_x1raUzxRlq-t53AFjaFvU7Q_AH-fXRlY
Tested and it works. Thanks
help
guyz my adb cant load the patched boot img even when it is in the same folder any help plss
veddeomi said:
guyz my adb cant load the patched boot img even when it is in the same folder any help plss
Click to expand...
Click to collapse
Put the patched boot in adb folder
Reboot your phone into fastboot mode
Then open cmd : fastboot flash boot patched_boot_3.0.img
you can save ur time by using the below toolkit
https://forum.xda-developers.com/mi-a2/development/tool-mi-a2-xtrem-toolkit-t3879660
and just download Magisk from XDA and use the tool to install it using the ADB Sideload.
that is what i did and worked perfectly on Pie after Jan Update.
Does it work with v10.2 ?
Or i must update to v10.3 to flash this patch ?
beny ms said:
Does it work with v10.2 ?
Or i must update to v10.3 to flash this patch ?
Click to expand...
Click to collapse
U have to update first
Abrilabr said:
U have to update first
Click to expand...
Click to collapse
Okay ,thanks mate
i flashed it successfully but i get bootloop. this patch not working my phone
Oline1032 said:
i flashed it successfully but i get bootloop. this patch not working my phone
Click to expand...
Click to collapse
You should unlock your phone's bootloader first
And update to 10.0.3.0
medkim said:
You should unlock your phone's bootloader first
And update to 10.0.3.0
Click to expand...
Click to collapse
dude bootloader is unlocked
Oline1032 said:
dude bootloader is unlocked
Click to expand...
Click to collapse
are you in january patch ?
it's weird, your phone should boot normally, maybe you missed something
i was on 10.0.2.0.PDIMIFJ with unlocked bootloader and patched boot.img. when OTA update is avaiable, i restored boot.img using Magisk and installed the update, then patched boot.img again using Magisk.
After reboot, phone keeps restarting while showing Android One screen.
Then I flashed this patched 10.0.3.0, but phone is stuck at Android One screen (there should be moving color bar)
Now I'm trying to downgrade to 10.0.2.0.PDIMIFJ using MiFlash without erasing user data
Edit: still boot loop at Android One screen after flashing 10.0.2.0.PDIMIFJ without erasing user data. Phone shows the Android recovery screen with error message "can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device"
HRSE said:
i was on 10.0.2.0.PDIMIFJ with unlocked bootloader and patched boot.img. when OTA update is avaiable, i restored boot.img using Magisk and installed the update, then patched boot.img again using Magisk.
After reboot, phone keeps restarting while showing Android One screen.
Then I flashed this patched 10.0.3.0, but phone is stuck at Android One screen (there should be moving color bar)
Now I'm trying to downgrade to 10.0.2.0.PDIMIFJ using MiFlash without erasing user data
Click to expand...
Click to collapse
I have encountered the same problem.
It seems like there is something wrong with the encryption of the phone because I need to format the userdata partition to stop the bootloop.
Fulva said:
I have encountered the same problem.
It seems like there is something wrong with the encryption of the phone because I need to format the userdata partition to stop the bootloop.
Click to expand...
Click to collapse
Good for you that you are still on 10.0.3.0
Now my phone is wiped, and back to 10.0.2.0. I gained nothing and lost too much.
HRSE said:
i was on 10.0.2.0.PDIMIFJ... Edit: still boot loop at Android One screen after flashing 10.0.2.0.PDIMIFJ...
Click to expand...
Click to collapse
My jasmine 6/128 was on 10.0.2.0.PDIMIFJ, unlocked, rooted - Magisk with Modules, /system partition changed, automatic .Updates disabled
Thus, checking for January OTA and seeing that it is ready, I made these steps:
1. downloaded stock 10.0.2.0.PDIMIFJ http://en.miui.com/download-353.html (actually, I made it much earlier);
2. flashed it in fastboot preserving /data (there is "flash_all_except_data.bat" in unpacked ROM directory);
3. rebooted, downloaded OTA 10.0.3.0, installed OTA, rebooted without bootloop;
4. used phone for a while (root gone, all user applications, except for 1 rather specific, working - including Nova, phone calls, SMS, etc, OK);
5. Took patched boot image from 4pda, and booted it into phone in fastboot ("fastboot boot pached_boot.img"); NOTE: not flashed, but booted for safety!
6, As phone was working OK with booted patch, I started Magisk and "installed" it; thus Magisk patched my stock 10.0.3.0 boot in phone, and saved original stock in /data partition.
7. after reboot I had everything restored - Magisk modules and su, root permitions for applications, etc.
P.S. Seems like 10.0.3.0 PDIMIXM OTA is withdrawn by Xiaomi due to numerous bootloops in stock phones.
So if you already updated to this OTA, use these attachments at your own risk, or better wait for 10.0.4.0
Aerobatic said:
My jasmine 6/128 was on 10.0.2.0.PDIMIFJ, unlocked, rooted - Magisk with Modules, /system partition changed, automatic .Updates disabled
Thus, checking for January OTA and seeing that it is ready, I made these steps:
1. downloaded stock 10.0.2.0.PDIMIFJ http://en.miui.com/download-353.html (actually, I made it much earlier);
2. flashed it in fastboot preserving /data (there is "flash_all_except_data.bat" in unpacked ROM directory);
3. rebooted, downloaded OTA 10.0.3.0, installed OTA, rebooted without bootloop;
4. used phone for a while (root gone, all user applications, except for 1 rather specific, working - including Nova, phone calls, SMS, etc, OK);
5. Took patched boot image from 4pda, and booted it into phone in fastboot ("fastboot boot pached_boot.img"); NOTE: not flashed, but booted for safety!
6, As phone was working OK with booted patch, I started Magisk and "installed" it; thus Magisk patched my stock 10.0.3.0 boot in phone, and saved original stock in /data partition.
7. after reboot I had everything restored - Magisk modules and su, root permitions for applications, etc.
Click to expand...
Click to collapse
somehow my phone doesn't show the january OTA update anymore (it was still there a few hours ago!)
Hey guys if i root using patched boot image will i still be able to install updates?
one08 said:
Hey guys if i root using patched boot image will i still be able to install updates?
Click to expand...
Click to collapse
No you should restore stock boot first
one08 said:
Hey guys if i root using patched boot image will i still be able to install updates?
Click to expand...
Click to collapse
Yes you can receive updates, but only if you did not made any changes to system files !

Categories

Resources