[Magisk&rooted] MI A1 bootloop after trying to install updates - Xiaomi Mi A1 Questions & Answers

The phone worked great with Magisk and Oreo android, a few weeks ago there it started to download an update, but I paused it very quickly and canceled OTA, it was only in the begining of stage 1/2..
Today I followed this recommended GUIDE in order to update the device
What did I do wrong here?
1. in magisk >uninstall>restore image
2. enabled ota and started the update (continued from about 10% downloaded since it was paused weeks ago)
3.When stage 2 of the update started, in Magisk Install → Install to Second Slot, some commands ran on a black screen..
4.then I clicked reboot (sine the guide doesn't mention what to do), should I have clicked close instead?
Click to expand...
Click to collapse
Now it's stuck on boot
I managed to turn it off for now via the menu that you get by holding power+up
What should I do next? I installed this program, is it useful to fix the phone ?
Thanks

Fixed without deleting anything this is what I did (huge thanks to https://forum.xda-developers.com/member.php?u=5258176 )
1.enter fastboot on the Mi A1
2. Download this extract the folder "tissot_images_V.9.5.10.0.ODHMIFA_8.0"
3. install XiaoMiFlash
4.choose "save user data"
5.Select the folder and flash..
6. wait a few minutes for it to run, and it's all perfect, the phone starts with everything installed just like before the failed update with android 8.0.0
I'll never OTA with magisk/root

Related

Restore baseband and imei to make sim work again

Hello everyone.
I rooted my phone (os was marshmallow) with android lollipop procedure, so i soft bricked the phone.
I flashed with fastboot various versions of huawei p8 lite firmware, all of these were 5.0.1.
When I managed to unbrick my phone I found out that it can't read the sim, so I looked in settings and IMEI and BASEBAND were disappeared.
Probably direct downgrade from marshmallow to lollipop caused this.
By the way, I managed to solve all my problems.
I will write what I've done here. I hope will be helpful. To start: my model is ALE-L21 (Single Sim).
- Download B041c (if you search in google you will find various results, all taking to the same site). I'll explain this better after *
- Flash with fastboot B041c
- Download B133 (this is very easy to find, but if you have problems search in a site called carbontesla)
- Unpack B133 dload folder (you will find custom folder too, don't worry about it) and put dload folder in the root of your sdcard
- Go to Settings -> Updater -> Local Update and start B133 update. Phone will boot. The upgrade process should be done with phone chargend and unplugged from PC.
- At some points update could appear stucked (for me was at 15% and 85%) but be hopeful and it will continue (let be patient).
- Phone will boot and your sim after 4-5 seconds will work again!
* B041c is hard to find. At this time only one site have it. I can't link you this site, because the downloader you get from this site installs adware on your pc while it download B041c. I have had to solve my problem so I proceded at my own risk.
Updater will notify you about the update to B183. It doesn't worked to me! If you want to update your phone you can install firmware B171 and install it as update (in dload folder)
UPDATE TO MARSHMALLOW
- If you want to update your phone to marshmallow you have to download other two firmwares (B171 and the MM you want. I used B551)
- Put the dload folder of B171 in your sd card, turn off your phone and force flash (VOLUP + VOLDOWN + POWER buttons). It may appear stucked at 19% and 85%. Don't worry, be patient!
- When phone boot is completed, put dload folder of your MM firmware in your sdcard, turn off the phone and force upgrade (VOLUP + VOLDOWN + POWER buttons). It will take 15-20 minutes.
- When installation is completed and phone boots, turn it off again, enter in recovery mode (VOL UP + POWER button) and clear data and cache.
- Now you have a clean install of MM! However, some applications may be old (play store). If you have connected our phone to a network, play store will update automatically
SOLVE BALONG BUG
You can find easliy the solution in the forum. But to be a complete guide and make your life a lot way easier here is the solution.
Simply put UPDATE.APP of custom folder that you can find in some firmware (I used B049 custom folder) in your sd card and then update from settings or from force update. Is a 20KB file so it will be very fast to install

Hardest Bricked my P10 Plus. Can't even turn my phone off.

However, if you are watching this, it means ur phone is bricked with huawei p10 lite/p10/p10 plus
Read the replies and follow the instruction noted by @Blackball and his links.
Then you will find you self a way to restore the phone.
Thanks again to @Blackball and rest of you guys, much appreciated for your help.
What on earth is Yoroot?
So, You can't enter fastboot mode am i right ?
Do you connect usb cable to your devices before press Vol- and Power button ?
Current Situation
After the battery was dead, i actually can enter the fastboot and i used TWRP 3.1.1 for huawei P10 Plus from github. double wiped my device and by far i have entered the system normally.
However, the ROM wasn't official and i lost my warranty for unlock my huawei phone. And the custom service from Huawei said that they don't provide any official ROM Since it's Android 7.0 .
This ROM is really crappy that i can't delete/uninstall any Application i installed.(It gets reboot everytime i try to and the Application is still there even i just tried to Delete/Uninstall).
Worst of all, some options does not work properly in "Option" menu . (For example i can't access to "Developer mode" that everytime i press it it tabbed back to the former menu.)
I really hate this crappy menu so i tried to search on the internet for P10 Plus ROM so far i get B133 update ROM i can find and i tried to install it from SDcard by pressing VOL - and VOL + and Power buttom.
It says failed to update system at 5% while updating/recoverying the system.
and the ROM which i'm using was found in HUAWEI's official fan forum from Club.Huawei.com a forum belongs in china.(Rooted rom B140).
Right now seems the only option for me is to find a better ROM than this .(At least won't get me so many bugs like this one .:crying: )
and Thanks for your comment "Bigbearxl" it worked as normally it should after the battery was dead then i recharged it.
Yet Right now the PC doesn't recognize the device though Via-Usb because it's not Huawei official ROM and Hisuite helper only recognize their own ROM and the rest Phone helper or ADB can't recognize the device while The Phone is Booting normal .
And Reply to "Craphead" Yoroot is a special Root tool for Huawei P10/P10 plus made by chinese from Huawei Fan Club forum.
New Update
After rewrited boot.img though fastboot mode from https://forum.xda-developers.com/p10/help/root-huawei-p10-p10-t3589946 thanks to "yury_z, " i can start to delete files with current system, but it's still crappy that it doesn't even have camera
So i think i will try dload method to recovery my phone with firware that i found in forum.
Failed
Looks like i have to stock with that bit longer
dload with update.app method failed. and recovery TWRP install missing md5.
Unless i get System.img or i guess i can't get another system.:crying:
This work for P10plus too
https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
WackyJoker said:
Looks like i have to stock with that bit longer
dload with update.app method failed. and recovery TWRP install missing md5.
Unless i get System.img or i guess i can't get another system.:crying:
Click to expand...
Click to collapse
Maybe you could also try installing stock firmware with funkyhuawei, it's not for free though. But dload method never works on P10/plus unfortunately.
thanks @Blackball and @Craphead. i checked both of your method but didn't work and this new twrp 3.1.0 i downloaded displayed sd card 0mb. and i followed poster's step and missing one file.
However i might found a useful Thead that might work and i'm gonna try tonight.
http://www.stechguide.com/huawei-p10-plus-b133-nougat-update/
That is what I wrote.
It seems that firmware finder work for P10/plus now.
https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder
@Blackball not sure you what you mean by that, do you mean that you can actually use it to install firmware on p10/p10 plus now? If so how did they manage to get around the authentication issue?
I debranded my phone from L09 to L29 DualSim with this guide. It work with moded stock recoverys.
Blackball said:
That is what I wrote.
It seems that firmware finder work for P10/plus now.
https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder
Click to expand...
Click to collapse
well i tried your method but there were some file that can't be downloaded from that post so i used another and,eventhough with complete files, the method i posted and i was going to use it tonight. Failed.
did all the steps from update.bat indicated and all worked fine till the last step that it says " automaticly install system" and the phone shows error at recovery.(similar to dload method because it automaticly create dload and exact those ROM files)
it indicates a big red " ! " sign and stopped. basicly i'm back to "No System Status"
The only method wowrks for my "P10 Plus" is " flash system system.img " method.
yet i don't know how to exact system.img boot.img recovery.img etc from those stock firmware like those chinese.
i have some of their rewrote roms (it's crappy because i has no default camera and it's for chinese P10 Plus A.K.A VKY_L29) .
Yet i can't find any System.img on google by far.
Blackball said:
I debranded my phone from L09 to L29 DualSim with this guide. It work with moded stock recoverys.
Click to expand...
Click to collapse
I haven't tried your Firmware Finder method , i think i can install crappy system.img then try your Firmware Finder method.
Because right now i wiped my system and i'm without system :crying:
Guys This Thead https://forum.xda-developers.com/showthread.php?t=2315547
tells you how extract flashable rom files from firmware update.app.
It should work but i only made to Unknownfile XX .img and i can't download his script "HuaweiFinder" from his google drive.
Holy Crap it worked, i Extracted system.img and other img from update.app by some Chinese scripted unpack script. and I'm trying to restore my device though fastboot mode with adb.
Blackball said:
That is what I wrote.
It seems that firmware finder work for P10/plus now.
https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder
Click to expand...
Click to collapse
well just tried your method and at last step it says installing failed. then i reboot entered rec mode choose wipe/factory reset
wiped till 50% and stopped, it can't factory reset.
Before this method fastboot mode was " Phone unlock " " Bootloader unlock."
Now it's just "Phone unlock"
now i'm stuck at boot loop "your device is booting now" then it rebooted and back to "your device is booting now" again then automaticly goes to Erecovery mode. I have to shutdown device for now and hope i can find some solution tomorrow :S
When you try this :
https://forum.xda-developers.com/showthread.php?t=3593108
It's important that you have the 3 zip files from your wanted firmware and rename them correctly. Don't mix with another firmwares.
Blackball said:
When you try this :
https://forum.xda-developers.com/showthread.php?t=3593108
It's important that you have the 3 zip files from your wanted firmware and rename them correctly. Don't mix with another firmwares.
Click to expand...
Click to collapse
i did this method yesterday and, well, i can't get update_full_VKY-L09_hw_eu.zip from the link : http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1475/g104/v85029/f1/full/filelist.xml . only Update.zip and Update_full_data.zip . the other one "update_full_VKY-L09_hw_eu.zip" i had to get it from another webside (it's also b133)
it shows a big "!" sign at the last step . i did everything it tells and tried both sdcard&script way to flash twice both rebrand&same brand update.
after the failure i can't enter "Vol +" and "Vol -" and "Power button" to do dload method . When i try to do that it just goes in Recovery mode.
In recovery mode i tried to wipe data/factory reset. It stopps at 50% which is after wipe and starting to factory reset at 50% it failed.
i try to flash in system.img and boot.img yet i still can not enter the system and stuck at bootloop.

I think I brinked my phone. Please help [SOLVED!]

Hello. I tried downgrading from the latest ASUS firmware to Android 6.0.1
I used this tutorial to install the raw firmware: http://www.asus-zenfone.com/2016/12/asus-zenfone-3-raw-firmware-and-asus.html
Went all the way to the last step when the app hanged. ASUS Flash tool went all the way saying
Code:
Run flash image script ...
It was hanged there. And as per this video, went all the way to the end where it showed the "code bar" on the right (https://www.youtube.com/watch?v=P8xg7A-P7Ak)
This is when the "Android" uninstalled driver showed up in Windows. This is under "Other devices - Android". I tried updating this driver using the ASUS_Android_USB_drivers_for_Windows found here: https://www.asus.com/Phone/ZenFone-3-ZE552KL/HelpDesk_Download/ but it wouldn't install the drivers.
Note that I used these ASUS USB drivers to get the ASUS ADB Interface installed. As per the tutorial I showed in the very first paragraph, I never got the "ASUS Android Bootloader Interface". This is what I think this "Other devices - Android" is found under Computer - Manager - Device Manager.
Most tutorials on the internet shows that the "ASUS Android Bootloader Interface" should be installed using these drivers found on ASUS website, the ASUS_Android_USB_drivers_for_Windows.
Now of course because I unplugged the phone, it will continously stay on the Android splashpage showing the loading circle infinitely.
As a last attempt I tried installing the "stock", not "raw" firmware (the one I wanted to install WW_13.16.5.49 but ASUS would not let you downgrade using the recovery "power+volume down" and using "Apply update from microSD card". It would give the
Code:
Warning- No file-contexts. This package is for "ww-phone" devices, this is a E:error in /side load/ package.zip (status 7) Installation aborted.
)
Well, after it brinked, I tried it again and this time it DID install WW_V13.16.5.49. Was succesfull. But after the ASUS splashscreen it's still stuck in the booting process.
I am very sorry if my post is convoluted but I tried explaining everything I did. Any way to un-brink it? I think maybe if I figure out how to properly install the ASUS Android Bootloader Interface, I can try again ASUS Flash tool and install the raw image and maybe that will fix it?
Please help. Any questions if my thread is too confusing, please let me know and I will answer it. I can't even turn off the phone. While it's stuck into the load splash screen, if I press the power button it just restarts, not turn off.
I still have access to fastboot (pwr + volume up) or recovery (pwr + volume down)
EDIT: Phone won't get recognized anymore in ASUS Flash Tools. Serial number won't show up to select
Factory reset and delete cache/dalvik through recovery and post back. It'll take 5-10min to boot up after that. You should always delete cache/dalvik after flashing.
wang1chung said:
Factory reset and delete cache/dalvik through recovery and post back. It'll take 5-10min to boot up after that. You should always delete cache/dalvik after flashing.
Click to expand...
Click to collapse
Thank you, this actually worked!!
Aaaand, it's actually on the version 13.16.5.49!!!! THIS IS EXACTLY WHAT I WANTED!
So apparently by brinking my latest nougat 7.0 update from ASUS via the ASUS Flash Tool trying to flash the .RAW 13.20.10.137, the standard recovery system (power+volume down) allowed me to install the 13.16.5.49 version. Then I assume remnants files didn't allow to properly boot, and your idea to wipe cache and factory reset fixed that!
What is so great is that I was scared that because the .RAW firmware was newer than the version I needed (13.16.5.49), I wouldn't have been able to install it. It was the same problem initially, when I tried to install 13.16.5.49 directly via recovery over the latest nougat 7.0 version from ASUS, but it was giving me
Code:
Warning- No file-contexts. This package is for "ww-phone" devices, this is a E:error in /side load/ package.zip (status 7) Installation aborted.
I think this error was due to the fact that ASUS won't allow older firmwares to be installed over newer ones, as per their webpage
https://www.asus.com/support/faq/1009748
Code:
You can not change the SKU from one to another, e.g., WW -> TW, and also can not downgrade your firmware, e.g., V2.20.40.13 -> V2.19.40.18
So in the end, what allowed the 13.16.5.49 stock firmware to be succesfully installed? The installer not detecting a proper firmware anymore because of the damaged update due to ASUS Flash Tools hanging because my computer won't install ASUS Android Bootloader Interface?
Glad you got it going :good:

I need the original boot.img for the very first firmware on asus zenfone 3 520kl.

I have twrp flashed on my phone, and so cant get the oreo update. The phone had been stuck in the bootloop recently, and the guy at the service centre flashed the first available version of the firmware, but how he did it without removing the custom recovery, i dunno. So now i need the boot.img for this firmware: (WW_Phone-13.16.5.33). Thanks in advance.
Ashbor said:
I have twrp flashed on my phone, and so cant get the oreo update. The phone had been stuck in the bootloop recently, and the guy at the service centre flashed the first available version of the firmware, but how he did it without removing the custom recovery, i dunno. So now i need the boot.img for this firmware: (WW_Phone-13.16.5.33). Thanks in advance.
Click to expand...
Click to collapse
1) Follow the steps provided https://www.asus.com/zentalk/thread-196287-1-1.html
2) After updating, download last Nougat firmware here:
ZE520KL:
http://dlcdnet.asus.com/pub/ASUS/Ze...96.337208848.1517300772-1193861605.1517300772
ZE552KL:
http://dlcdnet.asus.com/pub/ASUS/Ze...96.337208848.1517300772-1193861605.1517300772
3) Download this firmware and put it on the root of SD card
4) After downloading, power off your phone and enter recovery mode by pressing Power button + Volume Down
5) And then navigate to 'apply update via microSD' by using volume button
6) Select by using power button and apply the update you've downloaded
7) Wait 5-10 minutes
8) After updating, select "reboot now"
Your device has been updated to last Nougat build
To update your device to Android Oreo ;
Download Oreo firmware here:
ZE520KL:
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE520KL/UL-ASUS_Z017D_1-WW-15.0410.1712.31-user.zip
ZE552KL:
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE552KL/UL-ASUS_Z012D-WW-15.0410.1712.31-user.zip
Follow steps (3-8) And your device will be updated to Android Oreo
Join our Telegram Group here:
MOD EDIT: LINK REMOVED
The distribution of social media links is no longer allowed on XDA. Please refer to the thread linked below:
Telegram and Whatsapp Channels - Going Forward
It says the stock firmware is for nougat, i myself am currently running marshmallow. I had tried to flash nougat through the custom recovery, ( when the thing was stuck in a bootloop) and it said something like only versions upto *some serial no.* can be updated.
Anyway, thanks for the links, will try it.:good:
Hello, I own the ZE552KL (Z012), but when I saw your question I was able to find a link containing what you need for your model. Take a look, I did not download but I believe it contains the necessary files.
1) download firmware files :
https://tinyurl.com/y863uw7y
-save UL-ASUS_Z017D_1-WW-13.16.5.33-user.zip to SD card / insert card in phone.
- under the folder ''boot recovr z017dww13.16.5.33''
2) Go to fastboot mode (power + vol up)
- flash recovery.img (command: fastboot flash recovery recovery.img)
- flash boot.img (command: fastboot flash boot boot.img)
3) reboot to recovery (power + vol down)
4) install update form micro sd card. set the file UL-ASUS_Z017D_1-WW-13.16.5.33-user.zip that you saved earlier
5) wipe cache
6) factory reset
Originally posted at this linkhttps://tinyurl.com/y6v7m2pq
All credits: haithem gs
I hope you can solve your problem.

Something went horribly wrong...

So I woke up this morning to a OnePlus updater notification saying that there was an update, but when I looked at the update it said i was up to date with the April Security patch. Thinking that OOS12 did some auto update thing I went to go update Magisk via OTA update. Well I then also saw Magisk had an update too and like an idiot i updated direct then in auto pilot mode updated OTA and rebooted. When it rebooted it dropped straight into recovery with this error: fs_mgr_mount_all. I didn't really think it was bad as i thought it was just Magisk messed up the boot.img so I grabbed the latest full zip for OOS12 and pulled the boot.img out and flashed it. Well it got worse, now is stuck on the "The boot loader is unlocked..." screen. When I go to fastboot I can't full flash the OOS12 image some reason the as the critical partitions are locked but when i unlock them they are unlocked. At this point i'm trying to recover the phone to a usable state befor i progress to rooting and such.
Watch out!
Read this before you continue:
[GUIDE] How to Avoid Killing Your OnePlus 8 Pro / 8T / 9R with OxygenOS 12 / ColorOS 12
As You can see, recently we started seeing more and more threads complaining about OxygenOS 12 killing people's devices. I lost my 8 Pro the same way few months ago and we finally know what caused this! ANSWER - THE BOOTLOADER! Massive Update...
forum.xda-developers.com
I would use MSM only now and stay on OOS11. https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4084953/
if you need to recover your data read the first link very carefully.
Unfortunately I couldn't recover my data, mainly photos. But I got it back with the MSM tool.
Hello
My last OxygenOS update offered by the Oxygen Updater app went wrong, and it's my fault.
I exited the update before it was fully installed.
I tried to restore a very recent Nandroid backup with TWRP but the operation failed.
I then tried to factory reset the device but now the OnePlus 8 Pro does not restart: there are just the 2 white dots that revolve around the red dot.
I cannot connect the device to the PC because it is no longer in “developer” mode.
So I can't use ADB or Fasboot commands.
Do you have a solution so that I can copy the latest official firmware (OxygenOS 11) to the device and reinstall it from the "bootloader" or "recovery" mode?
Thanks a lot for your help.
Best regards
nadnan said:
Hello
My last OxygenOS update offered by the Oxygen Updater app went wrong, and it's my fault.
I exited the update before it was fully installed.
I tried to restore a very recent Nandroid backup with TWRP but the operation failed.
I then tried to factory reset the device but now the OnePlus 8 Pro does not restart: there are just the 2 white dots that revolve around the red dot.
I cannot connect the device to the PC because it is no longer in “developer” mode.
So I can't use ADB or Fasboot commands.
Do you have a solution so that I can copy the latest official firmware (OxygenOS 11) to the device and reinstall it from the "bootloader" or "recovery" mode?
Thanks a lot for your help.
Best regards
Click to expand...
Click to collapse
Hi there
Can you just wait for it to run out of battery, while charging try to enter EDL mode?
Thank you for your quick return.
I don't know this "EDL" mode.
Do you have a link for a tutorial on this?
Thanks again!!
What is EDL Mode? How to Enter EDL Mode on Any Qualcomm Device
This guide will have an in-depth look at the EDL Mode on Qualcomm devices and its associated importance. Android devices are always known to be at the
www.getdroidtips.com
Here it is
Edit: Try this also: https://www.xda-developers.com/oneplus-8-pro-unbrick-tool-now-available/
Thank you, thank you, thank you very much...
Best regards,
Jean-Noel

Categories

Resources