Switch back to MIUI from LineageOS -flashing Error:mismatching image and device - Xiaomi Mi 5 Questions & Answers

I was trying to switch back to MIUI from LineageOS-14 since my mobile banking apps doesn't run on custom ROM anymore.
However when I'm flashing the fastboot ROM (tgz) to the device using MiFlash, a warning "error:mismatching image and device" apprears.
As I googled for workaround it seems that it can be solved by removing two lines in the flash_*.bat file from the ROM files.
However I Im not sure about this, and therefore need some help here for the best practice on how to solve this, or in such case I've missed out any steps or other thing that may caused the error.
Thank you!

Update, unable to find a convincing solution on the device mismatch error form the Internet. Instead, installing MIUI ROM (zip) via TWRP. No problem at all. Case closed.

Related

Weird error on Honor 5C LEM-21 TWRP boots but stock recovery does not.

So, i tried flashing meticulus ROM by This guide, but it said that other version of recovery is needed which is meant for P9 lite and it should work on 5C. Then i did read that it does not work on EMUI 5.0+ and i did restore my old rom back. But the weird thing is that, my sound, microphone, video playback and nothing of those features work currently. Everything else works fine. I tried restoring OEMinfo, trying the dload method and such but nothing is making me able to downgrade. Has anyone has any similar problems before, because i checked that my OEMinfo is right but dload says "incompability with current version" so im unsure whether the problem is with the UPDATE.APP or my phone. TWRP works and i can flash things with it, but i'd rather rollback to the original ROM so i can install Lineage OS. The funny thing is that i tried flashing this multiple times but it will not boot but hangs on "Your device is booting": https://forum.xda-developers.com/ho...covery-stock-recovery-download-honor-t3521504
Camera isn't working either. Tried flashing Elite ROM to see if that works, but ended up in a bootloop. eRecovery does not update via wifi because it says that "cannot get package info" or something similar.
I flashed the oeminfo zip and tried to restore old nandroid backup. Now it only boots to eRecovery and says "getting package info failed". It's not booting into fastboot either nor recovery.
Managed to get into fastboot, but can only gain access to the product ID via software i guess and cannot get key without that. So now im stuck with locked bootloader, without rom and a stock recovery that is completely useless. Does anyone know if huawei support can help me?
They can help.
But you cam try dload method. There is a quick guide in my signature for the same. let me know in case you need any further information or help
shashank1320 said:
They can help.
But you cam try dload method. There is a quick guide in my signature for the same. let me know in case you need any further information or help
Click to expand...
Click to collapse
Actually there was some problems with the internal memory. Im not sure if i did damage it or did it have something to do with faulty hardware.
Anyhow it passed warranty so i did not get charged anything. Maybe i'll keep the phone as stock for a while at least
onnz423 said:
Actually there was some problems with the internal memory. Im not sure if i did damage it or did it have something to do with faulty hardware.
Anyhow it passed warranty so i did not get charged anything. Maybe i'll keep the phone as stock for a while at least
Click to expand...
Click to collapse
just dont blindly flash stuff thats made p9, it can work but not fully. NEVER flash anything thats made for other device.

Need help fixing phone

Good day. I have the Huawei P9 EVA-L09 model and my build number is C432B386.
I tried rooting my phone a couple of months ago and failed, so I gave up. Yesterday I tried flashing TWRP, it said it was successful, but while trying to enter it, I always get the "Your device can't be trusted... Your device is booting now." I completely gave up on rooting or flashing another ROM so I went to relock my bootloader. It was successful, but while the factory reset part, I got an error in eRecovery (Package download failed or something like that) and after that I restarted my phone and it was factory reseted. My problem is, eRecovery now says that my partition is heavily damaged and needs a wipe. So I tried doing that and it failed again. Now I'm left with a Huawei P9 that doesn't have any stock apps and I can't activate bluetooth (and who knows what else doesn't work but I haven't discovered yet)
If anyone could help, I would be grateful. I don't even know where to start fixing this. I just want my phone back or the MagicRainbow v3 ROM, but I'm not skilled enough to fix this alone.
I am just a beginner, too, so maybe you should wait for more experienced answers...
I would try to find the original images and flash them via fastboot. As far as I understand it, this would fix the corrupted partition.
But again, I still have little knowledge and an almost bricked phone!
McSvenster said:
I am just a beginner, too, so maybe you should wait for more experienced answers...
I would try to find the original images and flash them via fastboot. As far as I understand it, this would fix the corrupted partition.
But again, I still have little knowledge and an almost bricked phone!
Click to expand...
Click to collapse
The partition is fixed, thank you. But I still have a lot of problems. My bluetooth won't work and I no longer have any stock apps. I don't know what to do...
Could you tell we, which ROM you have installed? Is it the stock-ROM, or MagicRainbow? If it is a custom ROM you might need a gapps-package like in LineageOS...
If you want to get back to stock, you can create a dload folder in your sdcard and put the update app in it. Than a restart with a special key combination (power, vol down and vol up I believe) will install it.
I'd strongly advice you to read in this forum how to do this, as you need the right recovery corresponding to your ROM, as far as I understood.
I did this with a wrong ROM and now have a phone with no keyboard, only google voice recognition... So be careful!
I would download and install by DLOAD folder the downgrade package... Then flash a full firmware b136 or 182
But you have to be on cust c432 as far as I know.
There are a lot of info regarding dowgarde to MM. Look for it and take your time to be sure the steps to follow
Enviado desde mi EVA-L09 mediante Tapatalk

xiaomi mi 8 wifi issue help

hello guys,
my phone is xiaomi mi 8, and has a wifi issue ( mac address 02 00 00 00 00 )
when the phone was on china version the wifi and bluetooth work only when i sign in to mi account and if i sign out the wifi ...ect stop working
when i flash my phone with global version the bluetooth back to work only when i sign in to mi account and the wifi stop working even if i signed in or out to mi account
please help
Chouiyekh said:
hello guys,
my phone is xiaomi mi 8, and has a wifi issue ( mac address 02 00 00 00 00 )
when the phone was on china version the wifi and bluetooth work only when i sign in to mi account and if i sign out the wifi ...ect stop working
when i flash my phone with global version the bluetooth back to work only when i sign in to mi account and the wifi stop working even if i signed in or out to mi account
please help
Click to expand...
Click to collapse
You need to use the correct firmware for your device.
Here is a website that has firmware for the Global and the Chinese version of the Mi8
Here is the chinese Firmware link
https://xiaomifirmwareupdater.com/#stable#dipper
If you continue having an issue after upgrading the firmware, you will need to use QPST to repair your IMEI
tsongming said:
You need to use the correct firmware for your device.
Here is a website that has firmware for the Global and the Chinese version of the Mi8
Here is the chinese Firmware link
https://xiaomifirmwareupdater.com/#stable#dipper
If you continue having an issue after upgrading the firmware, you will need to use QPST to repair your IMEI
Click to expand...
Click to collapse
that what do now, download a lot of chinese and global roms and try them and hoping to find one working
but you wrote if problem continue i have to use QPST to repair IMEI but i don't have problem on IMEI !!
Chouiyekh said:
that what do now, download a lot of chinese and global roms and try them and hoping to find one working
but you wrote if problem continue i have to use QPST to repair IMEI but i don't have problem on IMEI !!
Click to expand...
Click to collapse
Yes I misread and was thought that you were also having cellular connection issue, in addition to WIFI, BT etc. You did not provide very much information
Did you try the most basic steps with resolving your issue.
Such as, fully resetting/or forgetting your Network and then resigning back into your WIFI?
Did you rule out the issue being with your router, or duplicate IP address, did you power cycle the router?
Did you fully wipe your device before switching to a completely different rom?
Your issue is probably an encryption issue, did you first fully wipe your device, including formatting user data? If not that very likely the issue and formatting resolves will absolutely resolve encryption based issues.
In fact, the more that I think about this issue and how the issue improves when able to sign into Mi-Cloud, I am certain that encryption is the problem. So back up your memes, and fully wipe and FORMAT ( not wipe) user storage ( type yes) reboot to recovery, then reinstall your rom and you should be back to using the phone without issues.
tsongming said:
Yes I misread and was thought that you were also having cellular connection issue, in addition to WIFI, BT etc. You did not provide very much information
Did you try the most basic steps with resolving your issue.
Such as, fully resetting/or forgetting your Network and then resigning back into your WIFI?
Did you rule out the issue being with your router, or duplicate IP address, did you power cycle the router?
Did you fully wipe your device before switching to a completely different rom?
Your issue is probably an encryption issue, did you first fully wipe your device, including formatting user data? If not that very likely the issue and formatting resolves will absolutely resolve encryption based issues.
In fact, the more that I think about this issue and how the issue improves when able to sign into Mi-Cloud, I am certain that encryption is the problem. So back up your memes, and fully wipe and FORMAT ( not wipe) user storage ( type yes) reboot to recovery, then reinstall your rom and you should be back to using the phone without issues.
Click to expand...
Click to collapse
i tried every single thing you wrote above, nothing helpful
I also have the same problem someone could already solve it?
Chouiyekh said:
i tried every single thing you wrote above, nothing helpful
Click to expand...
Click to collapse
I am not sure if possibly English is your second language so I will give you the benefit of the doubt, a friendly tip, and another thing to try.
If a stranger on XDA is spending their personal time attempting to HELP YOU, with YOUR issue and providing you with a plethora of things to try, you may want to use your good manners and thank them for spending their time trying to help you, instead of briefly stating, I tried everything and it did not work. You would be amazed with how many doors simple appreciation can open for you. Next, It's called troubleshooting, If I had a definitive answer, with a definite solution I would have told you.
With that in mind here is another idea of something you can try,
It's pretty much all that is left to resolve, at least AFAIK.. So either this works or it's probably a hardware issue. Or an issue that requires using QPST as I stated originally, regardless of your IMEI. There are a million sites that describe step by step QPST steps if needed, I recommended.
Any of the steps below, you do at your own risk.
My last guess is that you probably wiped your persist partition by accident
You will need to restore your persist image and then you should be back in working order.
Important: you need to locate the correct persist image from the correct fastboot rom for your device. You can manually extract the file from the stock fastboot rom for your specific model and then push it to your device via ADB
As mentioned, you can find the rest of the additional steps with Google
@sear01
If you tried everything else, this post is probably the solution that will work for you as well.
Again at your own risk
thanks, I speak spanish and try to install the persist for a while the detail is that in a week I turned the wifi out of nowhere and now that the rom Pixel Experience was updated, the wifi again failed. Excuse me you could detail the steps I already made the flash of several rom both of China and global by Miflash but until now I do not expect anything to understand my desperation.
sear01 said:
thanks, I speak spanish and try to install the persist for a while the detail is that in a week I turned the wifi out of nowhere and now that the rom Pixel Experience was updated, the wifi again failed. Excuse me you could detail the steps I already made the flash of several rom both of China and global by Miflash but until now I do not expect anything to understand my desperation.
Click to expand...
Click to collapse
Yes, I am getting ready to go to bed right now. Tomorrow, I will put together some instructions for extracting what you need from a fastboot rom.
I need to know if you have a Global of Chinese device.
If you have a global device, I can make a TWRP flashable file for you, which I will send to you via PM, I am happy to help people who appreciate my time.
tsongming said:
Yes, I am getting ready to go to bed right now. Tomorrow, I will put together some instructions for extracting what you need from a fastboot rom.
I need to know if you have a Global of Chinese device.
If you have a global device, I can make a TWRP flashable file for you, which I will send to you via PM, I am happy to help people who appreciate my time.
Click to expand...
Click to collapse
thank you very much it is global version Vipper use rom pixel.
thanks for your time
sear01 said:
thank you very much it is global version Vipper use rom pixel.
thanks for your time
Click to expand...
Click to collapse
Click
Okay then, here's the cliff notes.
I have good and not so good news, Keep in mind that repairing Mac address issues, Imei, QCn issues is the same for all Qualcomm processors, it doesn't matter if a post said this is for the Redmi 10, in fact I can't find the link at the moment but Qualcomm themselves published a guide with similar steps across the spectrum of chips. ( Just make sure that you only flash driver ( firmware images ) for your Global Mi8 and not the proprietary files from the links. Otherwise the instructions are the same, various versions of QPST will work, PC drivers, android drivers will also work. If will only benefit you to use the latest version of any of those files. If language is a issue, use chrome with the translator plugin .
I made copies of my personal persist files and spent the time to create the main files that you need and posted them Get the files here : https://mega.nz/#F!0NAXEK7S!Bj_hTKSz2_hMKDjOEocNrg
Install the version of TWRP that is on the link above, Create a folder called restore or whatever you want and place the downloaded files from my Megalink inside of that folder, make sure that they are not compressed. Next, place the folder inside the Twrp/Backup/ <<<< Place your folder there.
Boot to Twrp, click restore, and you should be able to restore the persist image.
If it doesn't work then use ADb to push to your phone. Google it, the steps are listed a billion times on countless sites, and I do not have enough server space to upload a complete recoveries, and plus I will not share my EFS or QCN
If that doesn't work read this post : https://forum.xda-developers.com/mi-8/how-to/how-to-fix-mi8-sensors-t3844551 ( Note the persist image, present. But also much older. However, it's still worth trying.
Worst case QPST, should absolutely resolve the issue
If what I listed above fails go here: https://forum.xda-developers.com/redmi-note-4/how-to/guide-how-to-change-mac-address-mido-t3773026
(Again, be sure to only use Mi8 files) DO NOT use a QCN from another device.
Here is another guide that has illustrations, again use your own files for your device, Otherwise the steps are identical, I have completed these steps myself on other devices : http://en.miui.com/thread-348525-1-1.html
One last final option that I would suggest trying before using QPST
Did you happen to make a recovery of your phone, after initially installing TWRP for the first time?
If no, search the web for a full stock recovery
tsongming said:
I am not sure if possibly English is your second language so I will give you the benefit of the doubt, a friendly tip, and another thing to try.
If a stranger on XDA is spending their personal time attempting to HELP YOU, with YOUR issue and providing you with a plethora of things to try, you may want to use your good manners and thank them for spending their time trying to help you, instead of briefly stating, I tried everything and it did not work. You would be amazed with how many doors simple appreciation can open for you. Next, It's called troubleshooting, If I had a definitive answer, with a definite solution I would have told you.
With that in mind here is another idea of something you can try,
It's pretty much all that is left to resolve, at least AFAIK.. So either this works or it's probably a hardware issue. Or an issue that requires using QPST as I stated originally, regardless of your IMEI. There are a million sites that describe step by step QPST steps if needed, I recommended.
Any of the steps below, you do at your own risk.
My last guess is that you probably wiped your persist partition by accident
You will need to restore your persist image and then you should be back in working order.
Important: you need to locate the correct persist image from the correct fastboot rom for your device. You can manually extract the file from the stock fastboot rom for your specific model and then push it to your device via ADB
As mentioned, you can find the rest of the additional steps with Google
@sear01
If you tried everything else, this post is probably the solution that will work for you as well.
Again at your own risk
Click to expand...
Click to collapse
I'm very sorry my friend ?, I'm just angry of that problem that's why i forgot to thank you, and I appreciate everything you did and you will. Yes English is not my first or second language, it's my third.
I've tried to flash persist.img through TWRP that what i got (image attached) and when i try to flash it through adb i got write failed
tsongming said:
Yes, I am getting ready to go to bed right now. Tomorrow, I will put together some instructions for extracting what you need from a fastboot rom.
I need to know if you have a Global of Chinese device.
If you have a global device, I can make a TWRP flashable file for you, which I will send to you via PM, I am happy to help people who appreciate my time.
Click to expand...
Click to collapse
Please don't be upset of me, and please accept my apologies
Chouiyekh said:
Please don't be upset of me, and please accept my apologies
Click to expand...
Click to collapse
No worries, it's all good Thanks.
You may not have seen the post I made earlier here: https://forum.xda-developers.com/showpost.php?p=79802367&postcount=11
If these things do not work come back here and report what happened and I will stay with you until we resolve the issue, there is always something else to try.
I have successfully solved similar issues on other devices, the issue here is possibly a permissions issue due to encryption, Read the post above and make sure that you use the version of Twrp that is linked on my Mega drive. That version has no problems with encryption, while many versions of Twrp have issues with decrypting. Plus, that version allows the option to select and restore each partition ( There is a lot!)
Check this post later, I am going to edit this post, and add a link to the Persist Image from the latest Global stable Rom. This will be an alternative and maybe better solution than using the persist images that I uploaded to my Mega drive.
UPDATE EDIT
Okay, I created a folder on the Mega Link called Method with a TWRP flashable persist image >>> Install the Official Xiaomi EU TWRP English version ( The one on my Mega Drive) Boot to TWRP, Mount the persist partition > Choose Restore and install to persist> Forget you WIFI and rejoin, it may and will probably work for you.
Three Options if it does not
One
First Option requires fully wiping your device, so back everything up
Assuming that your Device is a Global Device
Download this Fastboot Rom : http://en.miui.com/download-346.html Download the Full Stable fastboot version and not the Recovery version.
Unpack the Rom, place your phone into EDL Mode - This Rom comes with the Fastboot flashall script, it will fully restore your phone to the a Stable Rom and Overwrite every partition., this is as good as using Qfil to unbrick. In fact I recommend this over Qfil. This should definitely work, as long as your issue is software, and I am certain that it is.
Two
You are too afraid to wipe the phone and would rather try something else first, since you would need WIFI to restore your Google Services and Mi-Cloud.
No worries, here is a QPST alternative that has worked for many people, you basically create a new Mac address by following the steps in this thread, read the comments, it has worked for many people and it may save you time, and its not as difficult as it may seem.
This method has worked for people with WIFI Authentication issues.
https://forum.xda-developers.com/showpost.php?p=70408778&postcount=9
Use this tool to generate a Mac address to use for the above linked steps.
Three
IMEI Repair
http://en.miui.com/thread-260943-1-1.html
Note although, you may not have issues with data or with calling, this solution ay still be relative. But definitely try everything else first, and leave this as a last resort.
Let me know, if it works, and if it does work , change the name of the OP "Solved" at the end. this way others can benefit from the thread
Update,
I just found another, much easier method of restoring the persist partition
Use Google translator and follow instructions here Then go thank the_virus_ua
Note you do not need to download the files on the link the file that I shared on the earlier post will suffice
@Chouiyekh @sear01
I never heard back to hear if your issue was resolved. if you are still having issues, this solution just fixed the issue for someone with a similar issue
https://forum.xda-developers.com/showpost.php?p=79824537&postcount=2
@tsongming thank you so much for keeping in touch, i've read your solutions, but i still didn't apply them yet, because i was sick these days and now it's time to sleep i will try tomorrow then tell you the result, ( when i was trying to flash persist.img through twrp, i find the persist partition, so the partition not missing? )
Chouiyekh said:
@tsongming thank you so much for keeping in touch, i've read your solutions, but i still didn't apply them yet, because i was sick these days and now it's time to sleep i will try tomorrow then tell you the result, ( when i was trying to flash persist.img through twrp, i find the persist partition, so the partition not missing? )
Click to expand...
Click to collapse
Okay, no worries. Just use that last step first.
That one is the easiest and absolutely worked for another person that I was helping. He had exactly the same issue.
Sent from my Xiaomi MI 8 using XDA Labs
tsongming said:
I never heard back to hear if your issue was resolved. if you are still having issues, this solution just fixed the issue for someone with a similar issue
https://forum.xda-developers.com/showpost.php?p=79824537&postcount=2
Click to expand...
Click to collapse
hello dear, i'm sorry for the delay, i had some urgent work out of my country that why i late to answer, now i'm in my country and i started to apply what you wrote, but when i tried to flash twrp the on your reply i got black screen can't boot to twrp ( i think i made something wrong because i extracted the zip file and flash only twrp img through cmd fastboot ) please correct me or give another twrp img .
i read some comments on google that there is a risk to lose imei or something else, if that right how can we making a back up just in case
i hope to get your answer soon, and thank you sooooo much
anyway, i tried at my own risk, that's what i got in twrp ( see image ) then reboot to system but still have the problem ! no wifi no bluetooth !
** i tried factory reset too, not helping.

[ROM][STOCK] Stock Firmware Packages (For Expanded EDL Tools)

Stock Firmware Packages
Yes, they are finally here! This thread is for stock firmware packages.
These packages are specifically made to be installed with this EDL tool: https://forum.xda-developers.com/ax...n-10-pro-5g-expanded-edl-tools-fixes-t4174667
READ THE WARNINGS IN THAT THREAD BEFORE USING THE TOOLS
These packages are UNOFFICIAL unless marked otherwise. ZTE has not released stock firmware packages for most phones and versions.​
How to install an EDL firmware package:
Note: These packages are specifically made for the EDL tools, not MiFlash or anything else.
1. Install the latest version of the EDL tools (in this thread)
2. Download a firmware package from this thread.
3. Unpack the firmware archive into the tool directory "Firmware_Package_Restore"
Make sure you unpack the firmware into Firmware_Package_Restore directory like this -​Just for example - the script would be located in:​"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\Write Firmware v1.10 to A.ps1"​And the firmware files would be in:​"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\firmware_1_10\"​4. Put phone in EDL mode and run Load Programmer
5. Run a backup of your phone! Even if it isn't booting.
6. Run whichever "Write Firmware vX to Y.ps1" you want (X = firmware version, Y = A or B partition) (If you don't know which partition is currently booting, just install both.)
7. Wait for the install to finish ("done")
8. Start the phone (hold the power button until it resets, or run the Reset script)
9. You might see a few bootloops and then the phone ask you to do a factory reset / system wipe.
10. If the phone does not boot - look in the tools thread for how to use the Fix Bootable tool and try that.
11. Done.
Firmware Package Downloads:
~~~ A2020U (US Version) (Non-5G) ~~~
Firmware Version: 1.10 (GEN_NA_A2020U_PROV1.10)
Android: 9 (Pie)
Source: UNOFFICIAL (bobthenormal)
Download: Axon10Pro A2020U EDL Firmware v1.10(A9)
(If you downloaded this firmware before 12/9/2020 the script had an error, re-download the firmware or simply replace the script files with these ones: Firmware 1.10 Script Fix)
Thanks:
@djkuz for the original EDL tool for Axon 7
@Unjustified Dev for his port of the tool and tons of other work
@rafyvitto for a ton of ROMs and his stock B12 backup
and @eKeith for requesting the firmware enough times I finally bothered to make it =P
Please keep issues with the firmware here, and issues with the EDL tools in that thread.
I will upload firmware versions for A2020U: 1.11, 1.13, 2.09 (A10) (locked and unlocked). I just need to get time to actually test these out to make sure they work.
I didn't test the 1.10 version either but it should work and some people are stuck on A10 without it so I'm trying to post it quickly.
If anyone can wants the tools or firmware packages like these for their phone version (EU, CN, whatever non-A2020U Non-5G) and can volunteer their phone/time, PM me - I can't do them myself as I don't have those phones, but I can give safe instructions on what to do so that I can change make a version of the tools for those phones.
Hi i want the Firmware for zte axon 10 pro 5g 6ram
Details in photo
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Axon 10 Pro (Non-5G) EDL Tool - Flash / Backup / Restore/ Bootloader Unlock
Axon 10 EDL Tool BAT-program for Flash / Backup / Restore/ Bootloader Unlock Qualcomm HS-USB QDLoader 9008 (COM ...) !!! Whatever you do, you do at your own risk !!!" !!! If you are not sure of yourself do not use this program !!! Special...
forum.xda-developers.com
My post
amooor said:
Hi i want the Firmware for zte axon 10 pro 5g 6ram
Details in photo
View attachment 5146295
Axon 10 Pro (Non-5G) EDL Tool - Flash / Backup / Restore/ Bootloader Unlock
Axon 10 EDL Tool BAT-program for Flash / Backup / Restore/ Bootloader Unlock Qualcomm HS-USB QDLoader 9008 (COM ...) !!! Whatever you do, you do at your own risk !!!" !!! If you are not sure of yourself do not use this program !!! Special...
forum.xda-developers.com
My post
Click to expand...
Click to collapse
I'd suggesta new thread. I haven't seen anyone with that phone or a firmware package for it. If you can find someone that has your phone with stock firmware who is willing to do a little work, I'll tell them what to do to make it.
bobthenormal said:
I'd suggesta new thread. I haven't seen anyone with that phone or a firmware package for it. If you can find someone that has your phone with stock firmware who is willing to do a little work, I'll tell them what to do to make it.
Click to expand...
Click to collapse
Am sure 100% the problem is Firmware.
Do you know why because the holder tray for your ZTE Axon 10 Pro 5g in my phone is making for 1 sim like oneplus 7t in t-mobile if you unlocked and change the holder tray to hybrid dual sim it will work
Hello, I tried to use your tools to restore my phone since its on the European version and my sim card doesn't work (its US). The Write Firmware v1.10 to A tells me that COMPort is not found even though I already launched the load programmer script and see a COMPort file in the folder. Any ideas on what I can do? Thank you for your time!
los95 said:
Hello, I tried to use your tools to restore my phone since its on the European version and my sim card doesn't work (its US). The Write Firmware v1.10 to A tells me that COMPort is not found even though I already launched the load programmer script and see a COMPort file in the folder. Any ideas on what I can do? Thank you for your time!
Click to expand...
Click to collapse
Make sure you unpack the firmware into Firmware_Package_Restore directory like this -
Just for example - the script would be located in:
"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\Write Firmware v1.10 to A.ps1"
And the firmware files would be in:
"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\firmware_1_10\"
bobthenormal said:
Make sure you unpack the firmware into Firmware_Package_Restore directory like this -
Just for example - the script would be located in:
"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\Write Firmware v1.10 to A.ps1"
And the firmware files would be in:
"...\Axon10_(More)_EDL_Tools_v1_1b\Firmware_Package_Restore\firmware_1_10\"
Click to expand...
Click to collapse
Thanks for the response! I will try it on Tuesday as I have finals. Will update to see what happens.
Okay I tried it again with the steps and now its giving me this.
https://pastebin.com/LwbK3vf7
It tells me that it can't find the files even though I have put the folder in that directory. Sorry for being ignorant I thought this wouldn't be too bad since I used to root Samsung devices.
Update:
I downloaded the new version of the edl tools and it still can't find the firmware files. Here is the log.
https://pastebin.com/LRuXEx0y
Another Update:
Sorry for the updates just wanted to see if I can fix it but I figured out why it didn't find the files.
For some reason, it would try to find the files inside the Firmware_Package_Restore instead of its own folder.
Now, I am getting another error that is says that my device is not on the port although I put it in edl mode. Perhaps I am doing something wrong? Here is another log with this error.
https://pastebin.com/ZtXwhUB0
los95 said:
Okay I tried it again with the steps and now its giving me this.
https://pastebin.com/LwbK3vf7
It tells me that it can't find the files even though I have put the folder in that directory. Sorry for being ignorant I thought this wouldn't be too bad since I used to root Samsung devices.
Update:
I downloaded the new version of the edl tools and it still can't find the firmware files. Here is the log.
https://pastebin.com/LRuXEx0y
Another Update:
Sorry for the updates just wanted to see if I can fix it but I figured out why it didn't find the files.
For some reason, it would try to find the files inside the Firmware_Package_Restore instead of its own folder.
View attachment 5152479
Now, I am getting another error that is says that my device is not on the port although I put it in edl mode. Perhaps I am doing something wrong? Here is another log with this error.
https://pastebin.com/ZtXwhUB0
Click to expand...
Click to collapse
Hey! Thanks for attaching the log, that was perfect for finding the issue right away. The script is building the search_path incorrectly, here's corrected copies of the scripts. I'll update and re-upload the full firmware zip file as soon as I get a chance, but just replace the ones you have with these.
EDIT: Ah, yes hold on I'll take a look at the second issue. Sorry about that, didn't have a chance to test these.
So, the new problem appears to be something with the COM port communication. I have to get going in a minute but a few suggestions to try:
Reboot your phone into EDL then run the loader/firmware scripts right away. Sometimes the ports kind of time out.
Open Device Manager in windows and open the "Ports" list and make sure you see your phone on there. Edit the COMPort file to have the right one, or delete it to force the script to re-check if it's trying to connect to the wrong one.
Check the drivers - the tools have the stock A2020U drivers included, might need to reinstall them especially if you install drivers for other phones.
See if any of those help, let me know how it goes.
bobthenormal said:
Hey! Thanks for attaching the log, that was perfect for finding the issue right away. The script is building the search_path incorrectly, here's corrected copies of the scripts. I'll update and re-upload the full firmware zip file as soon as I get a chance, but just replace the ones you have with these.
EDIT: Ah, yes hold on I'll take a look at the second issue. Sorry about that, didn't have a chance to test these.
So, the new problem appears to be something with the COM port communication. I have to get going in a minute but a few suggestions to try:
Reboot your phone into EDL then run the loader/firmware scripts right away. Sometimes the ports kind of time out.
Open Device Manager in windows and open the "Ports" list and make sure you see your phone on there. Edit the COMPort file to have the right one, or delete it to force the script to re-check if it's trying to connect to the wrong one.
Check the drivers - the tools have the stock A2020U drivers included, might need to reinstall them especially if you install drivers for other phones.
See if any of those help, let me know how it goes.
Click to expand...
Click to collapse
Thanks I will try this.
Edit:
I ended up deleting the com port file, ran Load Programmer, and the scripted worked. However, when it finished and I go back to boot my phone (I had to use the other edl tool and asked it to unlock the google FRP since I don't know another method to boot it back to normal) it boot back to the old rom it had. Its like it didn't write anything to the phone although the script did show me it was doing its job and end with a success. Any ideas? Here is my phone with the same firmware still installed after using the script.
Update:
I decided to use the write firmware to b instead and now it is American. Thank you for all the hard work I thought I had to carry two phones with me everywhere lol. Now I have another question. When I reboot my phone, a message pops up saying that the phone is unlocked and to either press the power button to pause or continue. I read in the threads that this means that fast boot is disabled. Is there anyway I can get fast boot back?
los95 said:
Thanks I will try this.
Edit:
I ended up deleting the com port file, ran Load Programmer, and the scripted worked. However, when it finished and I go back to boot my phone (I had to use the other edl tool and asked it to unlock the google FRP since I don't know another method to boot it back to normal) it boot back to the old rom it had. Its like it didn't write anything to the phone although the script did show me it was doing its job and end with a success. Any ideas? Here is my phone with the same firmware still installed after using the script.
View attachment 5153355
Update:
I decided to use the write firmware to b instead and now it is American. Thank you for all the hard work I thought I had to carry two phones with me everywhere lol. Now I have another question. When I reboot my phone, a message pops up saying that the phone is unlocked and to either press the power button to pause or continue. I read in the threads that this means that fast boot is disabled. Is there anyway I can get fast boot back?
Click to expand...
Click to collapse
Nice! Super glad that it worked.
That A/B issue is why I considered just making the script automatically install it to both A and B. The only way I can tell which side is booting is to go into fastboot, which I find annoying. But if you install a ROM to A while you're booting from B, you won't see it obviously, so I generally just flash both sides at the same time since I always have full backups of both anyway.
As for that message, it sort-of means fastboot is disabled - it pops up when:
1. the bootloader is unlocked
AND
2. the stock bootloader is installed
So to get rid of the message you can either re-lock the phone OR install Unjustified Dev's patched bootloader. And since the stock bootloader does not have fastboot, the only way to have it is to install the unlocked bootloader.
You can do that either through the old tool ("unlock" the phone again), or through mine by running "write_UD-bootloader.ps1" in the Write_Unlocked_Bootloader_and_FRP folder.
bobthenormal said:
Nice! Super glad that it worked.
That A/B issue is why I considered just making the script automatically install it to both A and B. The only way I can tell which side is booting is to go into fastboot, which I find annoying. But if you install a ROM to A while you're booting from B, you won't see it obviously, so I generally just flash both sides at the same time since I always have full backups of both anyway.
As for that message, it sort-of means fastboot is disabled - it pops up when:
1. the bootloader is unlocked
AND
2. the stock bootloader is installed
So to get rid of the message you can either re-lock the phone OR install Unjustified Dev's patched bootloader. And since the stock bootloader does not have fastboot, the only way to have it is to install the unlocked bootloader.
You can do that either through the old tool ("unlock" the phone again), or through mine by running "write_UD-bootloader.ps1" in the Write_Unlocked_Bootloader_and_FRP folder.
Click to expand...
Click to collapse
Thanks for the great help. Now I have installed twrp and will most likely just put magisk and keep the stock rom as I am now terrified on installing a custom rom since it lead to me to a lot of trouble. Maybe I will touch lineage later on but for now I will just have twrp and root.
los95 said:
Thanks for the great help. Now I have installed twrp and will most likely just put magisk and keep the stock rom as I am now terrified on installing a custom rom since it lead to me to a lot of trouble. Maybe I will touch lineage later on but for now I will just have twrp and root.
Click to expand...
Click to collapse
You're welcome!
I wouldn't be afraid of doing custom roms once you do a full backup of your working phone with my tools! If you have the 256gb phone you can add the userdata backup to that and really have everything including settings, apps, and data. Then if anything goes wrong you just do a full restore back to exactly where you were.
I haven't been trying custom ROMs because I just don't have the hours to spend trying them out and re-configuring each one to find out which I want to use, otherwise I definitely would. The stock ROM is really kinda poop (I'm on A10).
Also, if you try flashing a custom ROM and it doesn't boot after you install it - before assuming it didn't work and restoring, FIRST try the "Fix bootable" tool. Some ROMs get installed to a different partition than they were made from, so they have that flag for which partition they think they are installed on. When it doesn't match it won't boot. Good luck!
bobthenormal said:
You're welcome!
I wouldn't be afraid of doing custom roms once you do a full backup of your working phone with my tools! If you have the 256gb phone you can add the userdata backup to that and really have everything including settings, apps, and data. Then if anything goes wrong you just do a full restore back to exactly where you were.
I haven't been trying custom ROMs because I just don't have the hours to spend trying them out and re-configuring each one to find out which I want to use, otherwise I definitely would. The stock ROM is really kinda poop (I'm on A10).
Also, if you try flashing a custom ROM and it doesn't boot after you install it - before assuming it didn't work and restoring, FIRST try the "Fix bootable" tool. Some ROMs get installed to a different partition than they were made from, so they have that flag for which partition they think they are installed on. When it doesn't match it won't boot. Good luck!
Click to expand...
Click to collapse
Thanks for the tip! I forgot to mention something strange about the reset from edl tool. When I was turning my phone back to American, I tried to use that and it gave me an error saying this
{ERROR: Command line argument 'reset=' is not recognized as a valid option}
On the shell window it shows different options and there is one that says reset but without = sign. I'm not sure if its some typo but wanted to let you know.
los95 said:
Thanks for the tip! I forgot to mention something strange about the reset from edl tool. When I was turning my phone back to American, I tried to use that and it gave me an error saying this
{ERROR: Command line argument 'reset=' is not recognized as a valid option}
On the shell window it shows different options and there is one that says reset but without = sign. I'm not sure if its some typo but wanted to let you know.
Click to expand...
Click to collapse
Ah that is weird! I must have forgot to save some changes to that script, it's supposed to use the XML file. Fixed that and threw on a script with a long delay ( version 1.1d now)
Thanks for pointing that out.. my quality control guy is slacking! (I'm the quality control guy...)
Lemme know if you find any other ones.
bobthenormal said:
Ah that is weird! I must have forgot to save some changes to that script, it's supposed to use the XML file. Fixed that and threw on a script with a long delay ( version 1.1d now)
Thanks for pointing that out.. my quality control guy is slacking! (I'm the quality control guy...)
Lemme know if you find any other ones.
Click to expand...
Click to collapse
Sorry for all the replies I just want to be sure everything is fine with the backup tool. I did the full back up and it looks like it worked but I was getting warnings that the files it was looking for returned as null. Is that supposed to happen? Here is the link with the log.
backup_all log - Pastebin.com
los95 said:
Sorry for all the replies I just want to be sure everything is fine with the backup tool. I did the full back up and it looks like it worked but I was getting warnings that the files it was looking for returned as null. Is that supposed to happen? Here is the link with the log.
backup_all log - Pastebin.com
Click to expand...
Click to collapse
Oh whew, you scared me if there was a problem with backup_all
That's the one I was especially careful about since I got burned by the original EDL backup tool.
No worries about bringing up potential issues, I can't guarantee the tools don't mess up anyone's phone but I'd still feel terrible if they did so I appreciate the "bug testing".
The warnings there are all good even though they look scary.
If you look in the log, you see the files are attempt to read (and returned NULL) first, then once it has gone through all of them it repeats the list. The way the EDL interface works is kind of odd. It doesn't take a "read" command, it takes a "write" command "reversed", so it executes it like a write command sort of. That means it looks for the files to "write" first to prepare, even though it doesn't actually use them (except to overwrite them if they do exist).
It makes sense from a programming perspective, efficient and saves ROM.
Hi, I am back again. Magisk had an update and after it was installed, the phone wouldn't boot up anymore. It just stayed at the bootloader and I had to wipe it and installed the original firmware as for some unknown reason, my backup is not there. I tried using the restore tool and it couldn't find my back up. I checked the specific files folders to see if the backup was there and nothing was found. The good thing is that the phone can be brought back life even if I have to start fresh ( I don't mind it to be honest since I don't use a lot of apps). This inspired me to install lineage but the link on that thread is broken. Someone asked the OP of the thread about it but I think he hasn't been active for a while. Do you by any chance have the lineage rom file? Sorry for asking but I don't know where to look. Thanks for reading!
los95 said:
Hi, I am back again. Magisk had an update and after it was installed, the phone wouldn't boot up anymore. It just stayed at the bootloader and I had to wipe it and installed the original firmware as for some unknown reason, my backup is not there. I tried using the restore tool and it couldn't find my back up. I checked the specific files folders to see if the backup was there and nothing was found. The good thing is that the phone can be brought back life even if I have to start fresh ( I don't mind it to be honest since I don't use a lot of apps). This inspired me to install lineage but the link on that thread is broken. Someone asked the OP of the thread about it but I think he hasn't been active for a while. Do you by any chance have the lineage rom file? Sorry for asking but I don't know where to look. Thanks for reading!
Click to expand...
Click to collapse
Damn that's not good. You checked in the Backup tool folder for the backups?
They would be named "backup_all-critical-(date/time)" and "backup_all-non-critical-(date/time)"
The Restore tool doesn't automatically try to find backups, you have to move the backup files you want to restore into the restore directories (critical to critical, non-critical to non-critical).
It's not super user friendly, but it's a ton of extra work to make it search for backups and pop up a menu and such. Hopefully that's the issue, but if not I'd like to know if you figure out why the backups aren't there.
I *think* I have the lineage ROM... but I can't upload it right now, on slow internet! Might be a few weeks before I get back, if rafy hasn't uploaded it by then I'll upload it.
Also, the magisk update - I've had that happen on several phones too where it tries to update itself and bricks, so I'm really careful about when I do updates. Not sure if there's a safe method, maybe uninstalling magisk and reinstalling the new version.
.

Question Redmi note 10 Pro not flashing, not booting

Long story short, my gf Redmi Note 10 Pro somehow got to MIUI Recovery menu and 3rd party service managed to erase recovery and everything from the phone and gave back the fresh looking brick stuck on Fastboot!!!
I have successfully flashed EEU Sweet ROM (Europe (EEA) latest Fastboot ROM MIUI V12.5.6.0.RKFEUXM) on the Global version though and after that it comes to recovery menu but it shows in red "NV data is corrupted" now I am clueless what to do next. Desperate me tried to flash Global latest Fastboot ROM MIUI V12.5.9.0.RKFMIXM but it gives Anti Rollback error so based on info here https://www.xda-developers.com/xiao...78.2028059671.1642858063-854958160.1642858063 I have checked the Anti_version.txt of the current ROM and the one I try to install and both is on 3 so based on the info I should be able to flash to the same number but it wasn't successful so I tried to edit Flash_all.Bat file and remove the ARB check commands but even after that I still get the ABR error. What should I do? Am I taking a wrong path in solving the issue? Would flashing it again solve the "NV data is corrupted" issue?
I dunno if this helps, but I was stuck in Fastboot as well at some time. Nothing helped, not even flashing through fastboot. The only tool that helped me was the Xiaomi Tool V2 https://www.xiaomitool.com/V2/ here. No ad or something but this really helped alot without problems.
Other possible problem by another user: https://forum.xda-developers.com/t/redmi-note-10-pro-sweet-nv-is-corrupted-fixed.4345659/
Maybe you installed the wrong rom?
romuser87 said:
I dunno if this helps, but I was stuck in Fastboot as well at some time. Nothing helped, not even flashing through fastboot. The only tool that helped me was the Xiaomi Tool V2 https://www.xiaomitool.com/V2/ here. No ad or something but this really helped alot without problems.
Other possible problem by another user: https://forum.xda-developers.com/t/redmi-note-10-pro-sweet-nv-is-corrupted-fixed.4345659/
Maybe you installed the wrong rom?
Click to expand...
Click to collapse
Thanks, DLin the tool you mentioned atm but yes I did dl a EU version on global which I read it is no issue as long as it is not on Chinese version. It all started suddenly, out of nowhere the phone rebooted on Fastboot so it was taken to a 3rd party service and their they tried to fix it by wiping the phone to an unrecoverable state and said this is a new model so the files are not yet published you better take it to an authorized service!!!Oh I am mad! I'll report after trying the tool. Btw the other solution you mentioned was the 1st thing I tried but the file in 1st step is removed from the hosting server and someone asked the thread creator to reupload but no reply yet :/
Asgharjoon said:
Thanks, DLin the tool you mentioned atm but yes I did dl a EU version on global which I read it is no issue as long as it is not on Chinese version. It all started suddenly, out of nowhere the phone rebooted on Fastboot so it was taken to a 3rd party service and their they tried to fix it by wiping the phone to an unrecoverable state and said this is a new model so the files are not yet published you better take it to an authorized service!!!Oh I am mad! I'll report after trying the tool. Btw the other solution you mentioned was the 1st thing I tried but the file in 1st step is removed from the hosting server and someone asked the thread creator to reupload but no reply yet :/
Click to expand...
Click to collapse
Ok so now I tried with the tool and interestingly I had to make choices which were not easy and obvious anyhow, it didn't work
It gives the below error and seems to be called "sideload" status issue. But the phone now still reboots on Main Menu with the same old "NV data is corrupted"
romuser87 said:
I dunno if this helps, but I was stuck in Fastboot as well at some time. Nothing helped, not even flashing through fastboot. The only tool that helped me was the Xiaomi Tool V2 https://www.xiaomitool.com/V2/ here. No ad or something but this really helped alot without problems.
Other possible problem by another user: https://forum.xda-developers.com/t/redmi-note-10-pro-sweet-nv-is-corrupted-fixed.4345659/
Maybe you installed the wrong rom?
Click to expand...
Click to collapse
I could finally flash the latest Global version but the error persists. Accidentally I did flash the phone with clean all and lock ticked Now I cannot even flash anything as bootloader is locked! How can I fix it help please
Here is the wrong selection on MI Flash! Is there anyway to get it unlocked?

Categories

Resources