Help. How can I go back to stock rom if im using custom rom right now with magisk and custom kernel. Can someone teach me the process of what needs to remove before flashing the stock rom. Do I need to remove the custom kernel that I installed, magisk and twrp? Sorry for bad english. Help will be appreciated
You dont need remove nothing
Only download XiaoMiFlash, download a stock rom https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913 (Fastboot) and unzip the file, Off the device and restart in bootloader, connect to pc and flash the rom
That´s all
Best practices should be followed - always backup your settings, data, photos & documents, anything else you do NOT want to risk losing with the partitions being possibly wiped clean with a fresh stock installation - a) onto a formatted mSD card and/or b) onto a PC's stoarge/data drive(s) ... just in case.
Then, you can dirty flash stock rom without wiping data; or, for best results, wipe it for a clean, fresh install (then, restore save data once it is rebooted & running smoothly, settled down)
I guess, being lucky, running stock Pie roms, not downgrading back to Oreo stock roms as the tricky partition_A and partition_B can be confusing to newbies just starting out to learn the ADB & fastboot basics, etc. Good luck !
leechgid said:
You dont need remove nothing
Only download XiaoMiFlash, download a stock rom https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913 (Fastboot) and unzip the file, Off the device and restart in bootloader, connect to pc and flash the rom
That´s all
Click to expand...
Click to collapse
Sorry sir im a total newbie. Do I get the latest OTA on the link you provided and that is the stock rom? Flash it through XiaoMiFlash tool and it will automatically remove custom kernel, twrp and magisk? Thank you so much for help.
Mnlpz said:
Sorry sir im a total newbie. Do I get the latest OTA on the link you provided and that is the stock rom? Flash it through XiaoMiFlash tool and it will automatically remove custom kernel, twrp and magisk? Thank you so much for help.
Click to expand...
Click to collapse
Yes you will have a brand new phone. The flashing process is simple!
Edit: Sorry there is bad link - download rom from xiaomi site (miui newest) !! https://en.miui.com/download-354.html
Gumka1977 said:
Yes you will have a brand new phone. The flashing process is simple!
Edit: Sorry there is bad link - download rom from xiaomi site (miui newest) !! https://en.miui.com/download-354.html
Click to expand...
Click to collapse
Ok sir. Thank you will try ?
Related
hey! iam new into the root wolrd...
but iam wana use some moto mods later.. and none of the roms can use the mods.... (yet)
is there a way how i can get back the unrooted, version of my phone, and can get ota updates. and install them..??
greets from a noob
Check here. Go down a bit and it tells you how to do so.
https://forum.xda-developers.com/moto-z-play/how-to/howto-moto-z-play-unlock-root-t3508547
EspElement said:
Check here. Go down a bit and it tells you how to do so.
https://forum.xda-developers.com/moto-z-play/how-to/howto-moto-z-play-unlock-root-t3508547
Click to expand...
Click to collapse
Than i still have twrp installed.. (Tried this a long time ago..) and than i cant install the ota.. Is there a zip with the original recovery..? Retue
My recommendation usually is not to flash twrp at all. Just use fastboot boot when needed. Disadvantage is that you don't have it handy if you're not at your computer, and you need the cable any time you want to start twrp.
Original recovery is contained in the stock ROM archive. Just flash only recovery. You can take the command from any guide how to flash stock ROM. But you need the one that is delivered with your software version. That's why I recommend not to flash twrp, if you want to do OTA it can be a hassle to find the right original recovery.
When you flash the original ROM it will have the stock recovery which will bring back your ota ability. Stock recovery is flashed by, fastboot flash recovery recovery.img
EspElement said:
When you flash the original ROM it will have the stock recovery which will bring back your ota ability. Stock recovery is flashed by, fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Ah okay! Gona do it later this day, lets hope it works!
tag68 said:
My recommendation usually is not to flash twrp at all. Just use fastboot boot when needed. Disadvantage is that you don't have it handy if you're not at your computer, and you need the cable any time you want to start twrp.
Original recovery is contained in the stock room archive. Just flash only recovery. You can take the command from any guide how to flash stock ROM. But you need the one that is delivered with your software version. That's why I recommend not to flag twrp, if you want to do OTA it can be a hassle to find the right original recovery.
Click to expand...
Click to collapse
Lets hope its works, and good idea! Never gona flash it again. Just gona use fastboot
getting one error when trying to install...
EspElement said:
Check here. Go down a bit and it tells you how to do so.
https://forum.xda-developers.com/moto-z-play/how-to/howto-moto-z-play-unlock-root-t3508547
Click to expand...
Click to collapse
hey man, doesnt work.. when i trying to intstall the ota, it gives me on the last thing, it says Error..
nothing more..
Refer to this link - http://en.miui.com/thread-650046-1-1.html
Looking forward to flash this rom. The uploader tells us to use miflash to flash this .zip file.
Wanted to learn if it was safe to try installing this using TWRP and re-flash twrp and supersu afterwards, assuming that MIFlash will send the phone back to stock recovery and unroot.
Thanks
Claureid said:
Refer to this link - http://en.miui.com/thread-650046-1-1.html
Looking forward to flash this rom. The uploader tells us to use miflash to flash this .zip file.
Wanted to learn if it was safe to try installing this using TWRP and re-flash twrp and supersu afterwards, assuming that MIFlash will send the phone back to stock recovery and unroot.
Thanks
Click to expand...
Click to collapse
Simple ans. Try it yourself.
Safe to assume no risk of hard brick ?
There is always some risk.
What happen. ??? Did you flash it ??
Most system apps crash flashed by TWRP, the safest method would be to use Miflash tool and play around after TWRP install
My phone has unlocked bootloader, TWRP, and is rooted with magisk. Got the OTA for (global) 9.5.4.0 last night - it downloads/de-crypts ok, reboots into TWRP, and then fails to flash. I also tried to flash manually via TWRP by locating the downloaded file, still fails. During the night, it rebooted itself (to try again I suppose), and my alarm didn't go off.
So here I am, late in work, wasting more "work time" to ask you for a possible solution :angel:
Go back to original miui recovery then you can update your miui successfully. After update,reflash twrp and magisk.
jimandy60 said:
Go back to original miui recovery then you can update your miui successfully. After update,reflash twrp and magisk.
Click to expand...
Click to collapse
Sounds easy, but I don't know how to do that. Could you point me in the right direction?
you can't flash an OTA with TWRP
Flash recovery img with fastboot
Code:
fastboot flash recovery recovery.img
then boot your phone
settings->about phone->system update->update
it will get in origin miui recovery and update system automatically
after update finished,reflash twrp and magisk
Thank you very much @jimandy60
With all the respect though, I would prefer downloading the file from a popular location. Is there any way to find this hosted somewhere else, maybe by Xiaomi?
ang3l said:
Thank you very much @jimandy60
With all the respect though, I would prefer downloading the file from a popular location. Is there any way to find this hosted somewhere else, maybe by Xiaomi?
Click to expand...
Click to collapse
maybe try this site?
en.miui.com
Hello!
I got the same problem but instead to come here and ask for help I tried to solve myself. I downloaded the lastest TWRP version and the device was not going into recovering mode. Then I installed again the previous one without results. I downloaded the TWRP app from Play Store and trying to solve I made wipe data, cache and I am not sure but I think also choose wipe system. Now my phone is stuck on the fastboot screen. Does not start. Using ADB I installed back the stck recovery but the problem remains. Somebody can help me please?
reflash the full rom?
download&unzip full rom package,get in fastboot mode and run flash_all.bat
Check out my guide here:
https://forum.xda-developers.com/mi-mix-2/how-to/guide-mi-mix-2-unroot-restore-recovery-t3770690
It has all the steps and files you will need to go from rooted stock MIUI Nougat to rooted stock MIUI Oreo applying the OTA update
colorado_al said:
Check out my guide here:
https://forum.xda-developers.com/mi-mix-2/how-to/guide-mi-mix-2-unroot-restore-recovery-t3770690
It has all the steps and files you will need to go from rooted stock MIUI Nougat to rooted stock MIUI Oreo applying the OTA update
Click to expand...
Click to collapse
Thanks, I'll take a look.
Hello everyone I need help
How I install gsi ROM like hydrogen oxygen
In mi a2 lite daisy I have twrp but now I have miui ROM
Can I flash without reflash firmware in pc ? More options like a flash vendor boot or what thanks have a nice day my slot is A/B but boot set in (B)
robin_vilensky_ said:
Hello everyone I need help
How I install gsi ROM like hydrogen oxygen
In mi a2 lite daisy I have twrp but now I have miui ROM
Can I flash without reflash firmware in pc ? More options like a flash vendor boot or what thanks have a nice day my slot is A/B but boot set in (B)
Click to expand...
Click to collapse
First of all many users are confusing rom with firmware, the whole rom is flashed through fastboot or EDL (although OTA updates could be flashed through recovery) while the firmware is a small set of files that can be flashed through recovery in form of zips.
What I did to boot many GSIs out there? although any of them satisfied due to many bugs comparing with the developed custom roms for Daisy.
- Go to recovery and backup just the boot partition.
- Then format data.
- Then advanced wipe; data, system and cache/ART Dalvik cache.
- Transfer GSI to your device using any convenient method (transferring file or copying to your external SDcard)
- Flash the GSI on System Image partition.
- Restore the boot partition.
- Flash only the firmware zip (version may vary) Never I needed to flash the whole rom.
- Flash DFE.
- Switch to the other slot and reboot.
- If device won´t boot it could be required to flash a proper vendor version through fastboot. Pay attention to the slot that you flashed before to target the same slot if you need to flash this partition.
With this method I could boot to OneUI, Moto, nubia, ZenUI, HydrogenOS and Xperia while I can´t on ZUIOS and didn´t try with FlymeOS
Can I flash firmware via twrp ? Thanks
robin_vilensky_ said:
Can I flash firmware via twrp ? Thanks
Click to expand...
Click to collapse
Yes, this is why they´re done this way, to updates just some essential partitions, there is a thread here where you can download them.
SubwayChamp said:
Yes, this is why they´re done this way, to updates just some essential partitions, there is a thread here where you can download them.
Click to expand...
Click to collapse
,
Thank you ! You can send me link for firmware zip for twrp ? Thanks and it's not removed the twrp?
robin_vilensky_ said:
,
Thank you ! You can send me link for firmware zip for twrp ? Thanks and it's not removed the twrp?
Click to expand...
Click to collapse
I'm now far from a pc, under Guides section you can find it.
Doing this way you won't need to reflash TeamWin.
SubwayChamp said:
I'm now far from a pc, under Guides section you can find it.
Doing this way you won't need to reflash TeamWin.
Click to expand...
Click to collapse
From here it's okay ? https://c.mi.com/oc/miuidownload/detail?device=1700354 for twrp
SubwayChamp said:
I'm now far from a pc, under Guides section you can find it.
Doing this way you won't need to reflash TeamWin.
Click to expand...
Click to collapse
Thank you bro iam fine thanks for helping
robin_vilensky_ said:
From here it's okay ? https://c.mi.com/oc/miuidownload/detail?device=1700354 for twrp
Click to expand...
Click to collapse
I´m back, the link is to download the whole rom.
Remember the difference between rom and firmware that I mentioned before?.
This is the link for firmwares https://forum.xda-developers.com/mi-a2-lite/how-to/firmware-updates-daisy-t3975879
Anyway you´ll need sometimes the whole rom and sometimes it´ll be enough flashing just the firmware.
SubwayChamp said:
I´m back, the link is to download the whole rom.
Remember the difference between rom and firmware that I mentioned before?.
This is the link for firmwares https://forum.xda-developers.com/mi-a2-lite/how-to/firmware-updates-daisy-t3975879
Anyway you´ll need sometimes the whole rom and sometimes it´ll be enough flashing just the firmware.
Click to expand...
Click to collapse
Thanks for help bro big respect
I am not responsible for any brick.
I tested this guide myself and decided to share it.
Make a backup before this guide because you will lose your data!
The unlock method has been updated and now you can unlock the bootloader more easily without the risk of bricking after an OTA and without changing the bootloader.
Now you can safely unlock the bootloader using mtkclient.
Link: https://github.com/bkerler/mtkclient
TWRP can be installed via mtkclient or manually from rooted Android.
TWRP Download link: https://github.com/XRedCubeX/twrp_meizu_m5c/releases
IF you unlocked the bootloader with the old method you can follow these steps:
1) Download the attached package.
2) Download OTA zip from flyme, link: http://www.flymeos.com/firmwarelist?modelId=70&type=1
3) Download the latest version of SP Flash Tool.
4) Download MTKClient and follow the instructions to install it.
5) Power off the phone and keep unplugged it from PC.
6) Open SP Flash Tool, select the downloaded package and select all partitions, then press the download button, don't plug phone for now.
7) Boot to recovery with vol +, plug the phone on PC, depending on recovery, TWRP or stock, use adb sideload or put update.zip in internal memory and install the zip.
8) Let the phone reboot or reboot it manually.
9) Now start the flash from SP Flash tool automatically, let it finish.
10) After the flash, unplug the phone and reboot into recovery.
11) Paste the update.zip in the phone and flash it.
12) After reboot, let your phone reboot into android and power off.
13) You can follow the guide to unlock bootloader with mtkclient.
FAQ:
A) But will I lose the data with this guide?
Yes.
Make sure to back up your data in any case!
B) But this guide is a bit different than usual, where is "fastboot oem unlock"? Or "fastboot flashing unlock"?
Meizu has not implemented an unlock command and in this case to unlock the bootloader we have to use a tool that makes us change the unlock status.
C) Are there Custom ROMs?
There is only one custom ROM for this device, the Lineage OS 14 but I advise against using it because it has a bit of a bug but I haven't had more time to work on it yet.
D) But wasn't the guide different?
It has been updated with a better method with more advantages.
E) My device is in Hard Brick! How can I solve?
There are various types of Hard Brick and it depends from situation to situation.
F) I have installed Lineage OS 14 but I am not satisfied, I want to go back to Flyme!
Flash update.zip from official website.
G) Can I relock the bootloader?
From MTKClient readme:
for relocking use:
python mtk da seccfg lock
Click to expand...
Click to collapse
H) TWRP? I am interested in Device Tree, where is the link?
Here: https://github.com/XRedCubeX/twrp_meizu_m5c
I) I have a Meizu A5 (Chinese M5c) will it work on it?
I can't assure you anything but it could work, the only way to be sure is to test on a Meizu A5.
J) Can I flash twrp from fastboot?
Fastboot refuses to flash partitions, strangely, I don't know if downgrade or anything changes the situation but for now I was able to flash it with mtkclient.
I can remove the FlameOs from the Meizu M5c and install a custom rom. So far I haven't found any rom for this device?
Mortaux said:
I can remove the FlameOs from the Meizu M5c and install a custom rom. So far I haven't found any rom for this device?
Click to expand...
Click to collapse
Im working on a Lineage OS 14 for this device.
I tried the procedure and it failed. Apparently it just formatted it but couldn't finish the process, returned an error. Then I tried to reinstall the stock ROM and it generated the error S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004). Now my phone is off and I can't turn it on anymore.
I tried this method but it didn't work:
HOW TO FIX FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004) FOR MTK PHONES
HOW TO FIX FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004) FOR MTK PHONES FIX FOR SP FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) AND (2004) Follow the following steps: 1. Get SP flash tools (Latest version) 2. Download your...
forum.xda-developers.com
I know it's my responsibility, but I don't know what else to do. Could someone please help me?
thiagosousa777 said:
I tried the procedure and it failed. Apparently it just formatted it but couldn't finish the process, returned an error. Then I tried to reinstall the stock ROM and it generated the error S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004). Now my phone is off and I can't turn it on anymore.
I tried this method but it didn't work:
HOW TO FIX FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004) FOR MTK PHONES
HOW TO FIX FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) & 2004) FOR MTK PHONES FIX FOR SP FLASH TOOLS ERROR S_BROM_DOWNLOAD_DA_FAIL (0x7D4) AND (2004) Follow the following steps: 1. Get SP flash tools (Latest version) 2. Download your...
forum.xda-developers.com
I know it's my responsibility, but I don't know what else to do. Could someone please help me?
Click to expand...
Click to collapse
You unplugged the device while it was formatting, consequently it no longer has the bootloader, that error means that the device needs an authorization file that unfortunately only meizu has, shortly if I can try to release a tool to unbrick it in cases similar to these
XRed_CubeX said:
You unplugged the device while it was formatting, consequently it no longer has the bootloader, that error means that the device needs an authorization file that unfortunately only meizu has, shortly if I can try to release a tool to unbrick it in cases similar to these
Click to expand...
Click to collapse
It's a shame .. I hope you can really release this tool, so I can revive my phone. Thank you.
You can make a video on youtube showing the procedure on the Meizu M5c. Installing Twrp and LineageOs 14? Just to make sure it works
Mortaux said:
You can make a video on youtube showing the procedure on the Meizu M5c. Installing Twrp and LineageOs 14? Just to make sure it works
Click to expand...
Click to collapse
For now I can't make the video because I can't release the Lineage because I'm fixing some bugs and I want to do some checks before releasing it publicly
thiagosousa777 said:
It's a shame .. I hope you can really release this tool, so I can revive my phone. Thank you.
Click to expand...
Click to collapse
Ok i found a working guide, tried on my M5c and it works:
Search on YouTube: flash mtk without da ,
You will find a video called, just exactly as I write here: "How to flash MTK secure boot devices without a custom DA" and follow the video tutorial for unbrick your device.
P.S:Obviously when the guide ends you flash the ROM from SP flash tool as you normally would
XRed_CubeX said:
Ok i found a working guide, tried on my M5c and it works:
Search on YouTube: flash mtk without da ,
You will find a video called, just exactly as I write here: "How to flash MTK secure boot devices without a custom DA" and follow the video tutorial for unbrick your device.
P.S:Obviously when the guide ends you flash the ROM from SP flash tool as you normally would
Click to expand...
Click to collapse
I'll try that, thanks a lot!
thiagosousa777 said:
I'll try that, thanks a lot!
Click to expand...
Click to collapse
Did you finally manage to fix the device?
Were you able to get on with the guide?
XRed_CubeX said:
Did you finally manage to fix the device?
Were you able to get on with the guide?
Click to expand...
Click to collapse
I haven't had time to do it yet. When I have time I will follow the tutorial and tell you if it worked.
thiagosousa777 said:
I haven't had time to do it yet. When I have time I will follow the tutorial and tell you if it worked.
Click to expand...
Click to collapse
Ok good luck
XRed_CubeX said:
Ok good luck
Click to expand...
Click to collapse
XRed_CubeX, I followed the tutorial from start to finish. I used the SP Flash Tool to install the M5c stock ROM, the ROM was flashed 100%, but after disconnecting the USB cable the phone did not turn on.
thiagosousa777 said:
XRed_CubeX, I followed the tutorial from start to finish. I used the SP Flash Tool to install the M5c stock ROM, the ROM was flashed 100%, but after disconnecting the USB cable the phone did not turn on.
Click to expand...
Click to collapse
Have you flashed the Stock ROM or the Engineering ROM? I remind you that even if you have flashed the eng rom only once previously, you can no longer return to the flyme bootloader so use the normal stock ROM but you will have to flash the Engineering rom
XRed_CubeX said:
Have you flashed the Stock ROM or the Engineering ROM? I remind you that even if you have flashed the eng rom only once previously, you can no longer return to the flyme bootloader so use the normal stock ROM but you will have to flash the Engineering rom
Click to expand...
Click to collapse
Well, I flashed the stock ROM a second time, using the Firmware Upgrade option, and it worked. My phone turned on and I'm in the initial setup screen.
By the way, this Engineering ROM is the ROM you shared above? Do you think it is stable enough to be used? Maybe another day I'll install it, with care to not do anything wrong again
thiagosousa777 said:
Well, I flashed the stock ROM a second time, using the Firmware Upgrade option, and it worked. My phone turned on and I'm in the initial setup screen.
By the way, this Engineering ROM is the ROM you shared above? Do you think it is stable enough to be used? Maybe another day I'll install it, with care to not do anything wrong again
Click to expand...
Click to collapse
Yes, the ROM in this thread is ROM engineering, about the stability I can't tell you why I haven't tested it, the main purpose FOR ME was to get the bootloader unlock with this ROM, if you want to switch to ROM engineering you CAN install the flyme after installed the Engineering ROM but you must always modify the OTA zip so that some partitions do not flash but if you are interested I will talk about it in more detail and maybe I will give you a hand to flash flyme safely on bootloader engineering
XRed_CubeX said:
Yes, the ROM in this thread is ROM engineering, about the stability I can't tell you why I haven't tested it, the main purpose FOR ME was to get the bootloader unlock with this ROM, if you want to switch to ROM engineering you CAN install the flyme after installed the Engineering ROM but you must always modify the OTA zip so that some partitions do not flash but if you are interested I will talk about it in more detail and maybe I will give you a hand to flash flyme safely on bootloader engineering
Click to expand...
Click to collapse
Actually, the ROM I installed with SP Flash Tools was not the update.zip from the official Flyme OS website. I downloaded the stock rom from needrom.
I have done this several times before.
But now, strangely I can no longer update to the latest version. The version I'm running is Flyme 6.0.2.0G. I tried to download the update.zip file and install it manually by clicking on it, and it appeared "corrupted file". I also tried to use the Update application and "network error" appeared. But everything else is working perfectly.
XRed_CubeX said:
if you are interested I will talk about it in more detail and maybe I will give you a hand to flash flyme safely on bootloader engineering
Click to expand...
Click to collapse
I would like to know how to install the latest version of Flyme OS via TWRP. If you can tell how to do this..
XRed_CubeX said:
can't release the Lineage because I'm fixing some bugs and I want to do some checks before releasing it publicly
Click to expand...
Click to collapse
Are you working on a custom Lineage OS ROM for this device? I'm interested, when you can publish it.. Do you have a prediction of when you will be able to release that ROM?
thiagosousa777 said:
I would like to know how to install the latest version of Flyme OS via TWRP. If you can tell how to do this..
Are you working on a custom Lineage OS ROM for this device? I'm interested, when you can publish it.. Do you have a prediction of when you will be able to release that ROM?
Click to expand...
Click to collapse
Ok, I'll explain in detail how it works: In the guide you will have read that you cannot return to the flyme using the stock rom or an unmodified OTA. This is a tip because once you flash the Engineering ROM, the engineering bootloader (which is essential for unlocking) will also be flashed, but the problem is that if you flash the stock bootloader (the flyme one, the one you surely have when you get the phone), the device for a reason unknown to me, probably the Engineering ROM modifies something in the device (?) and then goes into brick if you try to return to the flyme bootloader. To flash an OTA flyme on TWRP, you must first have some precautions: you must take the OTA on your computer (or a file explorer capable of editing zip files) and remove the following files: lk.bin preloader.bin (it will have a name longer but you still have to remove that) and tz.bin / trustzone.bin. Done like this, now the OTA becomes safe to install, you install it from TWRP, at the end of the flash it will give you an error but it is because it does not find the files we have removed but we can safely ignore it because it will have successfully installed the flyme on the device.
Regarding lineage: I'm still working on it a bit and gradually I'm discovering bugs. I already warn you that the camera will not work in the Lineage, I have tried in every way to try to make it work but it does not want to go, I have asked for help everywhere but no one has been able to answer so I do not know what to do, for the rest I want to keep a little longer the ROM under test to fix the remaining bugs