How to go back Stock ROM from CM? - Xiaomi Mi 5 Questions & Answers

How to back from Cyanogenmod to MIUI official global ROM?

Any help?

Factory wipe and flash recovery image of MIUI in TWRP.
I'm surprised this is asked considering you have more posts and have been here longer than me.

Expliciate said:
Factory wipe and flash recovery image of MIUI in TWRP.
I'm surprised this is asked considering you have more posts and have been here longer than me.
Click to expand...
Click to collapse
Could you explain exaclty what to do, because if I do wipes (cache data dalvik system) and then install miui, it doesn't work and I have no SO installed message.

giardux91 said:
Could you explain exaclty what to do, because if I do wipes (cache data dalvik system) and then install miui, it doesn't work and I have no SO installed message.
Click to expand...
Click to collapse
What exactly are you using when "install miui" ?

brambizimski said:
What exactly are you using when "install miui" ?
Click to expand...
Click to collapse
Flash the zip of miui rom (eu rom in my case) via twrp

giardux91 said:
Flash the zip of miui rom (eu rom in my case) via twrp
Click to expand...
Click to collapse
Which zip? And did you use encryption with CM ?

brambizimski said:
Which zip? And did you use encryption with CM ?
Click to expand...
Click to collapse
I install the xiaomi eu rom, like cm rom. Wiping and flashing

giardux91 said:
I install the xiaomi eu rom, like cm rom. Wiping and flashing
Click to expand...
Click to collapse
If you have encryption enabled, you have to wipe EVERYTHING, including internal storage.

brambizimski said:
If you have encryption enabled, you have to wipe EVERYTHING, including internal storage, i recommend twrp.
Click to expand...
Click to collapse
But if I wipe internal storage, I'll lose the rom..how to do?

giardux91 said:
But if I wipe internal storage, I'll lose the rom..how to do?
Click to expand...
Click to collapse
Sorry didn't read the part where you said you got a "No OS installed" message, so you were already able to completely remove cm.
It sounds more like you're using the wrong zip or something, maybe try redownloading the zip ?

brambizimski said:
Sorry didn't read the part where you said you got a "No OS installed" message, so you were already able to completely remove cm.
It sounds more like you're using the wrong zip or something, maybe try redownloading the zip ?
Click to expand...
Click to collapse
Tried with different versions of miui but no luck

Trying unmounting the /system partition before you flash it. Solved it for me anyway.

brambizimski said:
Sorry didn't read the part where you said you got a "No OS installed" message, so you were already able to completely remove cm.
It sounds more like you're using the wrong zip or something, maybe try redownloading the zip ?
Click to expand...
Click to collapse
That's what happens when you wipe system. The issue seems to be that he does not know how to get the ROM zip into internal storage after messing with TWRP wipe.
giardux91 said:
Tried with different versions of miui but no luck
Click to expand...
Click to collapse
You might as well just manually wipe data, system and cache in the advanced menu.
Reboot back into TWRP and drag the file into your internal storage to flash. Or you can just adb sideload the rom.
If you're trying to put your ROM in via booting up android, it's not going to work because you've already wiped the system, hence no OS.

Expliciate said:
That's what happens when you wipe system. The issue seems to be that he does not know how to get the ROM zip into internal storage after messing with TWRP wipe.
You might as well just manually wipe data, system and cache in the advanced menu.
Reboot back into TWRP and drag the file into your internal storage to flash. Or you can just adb sideload the rom.
If you're trying to put your ROM in via booting up android, it's not going to work because you've already wiped the system, hence no OS.
Click to expand...
Click to collapse
So, how can I put the rom via USB in twrp?

giardux91 said:
So, how can I put the rom via USB in twrp?
Click to expand...
Click to collapse
It should mount usb by default, at least for me.
If not, go to mount -> mount USB storage to manually mount it.

Expliciate said:
That's what happens when you wipe system. The issue seems to be that he does not know how to get the ROM zip into internal storage after messing with TWRP wipe.
Click to expand...
Click to collapse
I used to have a problem with encryption on a MIUI rom, and no matter what I did, flashing only system or anything other than a full wipe including internal storage didn't do anything. Thought he had the same problem

brambizimski said:
I used to have a problem with encryption on a MIUI rom, and no matter what I did, flashing only system or anything other than a full wipe including internal storage didn't do anything. Thought he had the same problem
Click to expand...
Click to collapse
He does have the same problem. However his dilemma now after doing a full wipe is that he does not know how to put stuff in his internal storage without booting into system.

Related

[Q] How do I wipe everything but recovery?

I messed up my WiFi somehow and a factory reset doesn't fix it.
Is there anyway to wipe absolutely everything but my recovery and a ROM/Gapps to flash?
Ratzu said:
I messed up my WiFi somehow and a factory reset doesn't fix it.
Is there anyway to wipe absolutely everything but my recovery and a ROM/Gapps to flash?
Click to expand...
Click to collapse
Is this possible?
Ratzu said:
Is this possible?
Click to expand...
Click to collapse
wipe data system cache davlik cache and android secure. if you wide sdcard you will lose all your pics,videos and file you downloaded
skinsfanbdh said:
wipe data system cache davlik cache and android secure. if you wide sdcard you will lose all your pics,videos and file you downloaded
Click to expand...
Click to collapse
How do I get my ROM on there?
Using TWRP 2.5.
Ratzu said:
How do I get my ROM on there?
Click to expand...
Click to collapse
you either put it there while you booted into your current rom. or you sideload it using adb commands or all in one toolkit from bootloader

[Q] international HTC one 4.2.2 camera doesn't work.

i was using android revolution HD since 7.1,and 4 days ago i flashed android revolution 10.0 and the the camera app on my phone does not work anymore,i can still open the camera app but it doesnt response and close itself after a few seconds, then i tried the trickdroid 6.0.1,still the same. seems like i am the only on who have this problem, i think maybe i flash it wrong, could you guys help me find out which step i did wrong? and how to fix the camera app. thanks!
Did you flash kernels after you installed the ROMs? Looks like a kernel issue to me.
ArmedandDangerous said:
Did you flash kernels after you installed the ROMs? Looks like a kernel issue to me.
Click to expand...
Click to collapse
No, i didnt, because mike said not to.
KenHu1993 said:
No, i didnt, because mike said not to.
Click to expand...
Click to collapse
try clearing the camera app data
skinsfanbdh said:
try clearing the camera app data
Click to expand...
Click to collapse
tried, still doesn't work,and i also tried factory reset.
KenHu1993 said:
tried, still doesn't work,and i also tried 他和factory reset.
Click to expand...
Click to collapse
might want to try clearing data for gallery also. other than that maybe a bad download bad flash
skinsfanbdh said:
might want to try clearing data for gallery also. other than that maybe a bad download bad flash
Click to expand...
Click to collapse
tried, doesn't work, and i downloaded trickdroid 7.0 and flashed it, even the AOSP camera and QR scanner are not working, do you think it is a hardware problem?
KenHu1993 said:
tried, doesn't work, and i downloaded trickdroid 7.0 and flashed it, even the AOSP camera and QR scanner are not working, do you think it is a hardware problem?
Click to expand...
Click to collapse
i doubt it
did you wipe data,cache,davlik before you flashed
one more thing download rom manager and use the fix permissions script included in the app
I had this problem, But i wiped everything and flashed Android Revo 10 again and it worked again.
skinsfanbdh said:
i doubt it
did you wipe data,cache,davlik before you flashed
one more thing download rom manager and use the fix permissions script included in the app
Click to expand...
Click to collapse
i didn't wipe data,cache,davlik, becasue dont know how, the last time i flash a lot of rom on my phone is 2 years ago, and when i came from stock to android revolution HD i didnt wipe data,cache,davlik before i flash, could you please teach me how and i try flash again. in fact, every app need real facing camera doesn't work now.
in cwm wipe data/factory reset then wipe cache then go to advanced wipe davlik then flash rom then reboot
Peterboi said:
I had this problem, But i wiped everything and flashed Android Revo 10 again and it worked again.
Click to expand...
Click to collapse
in fact i dont know how to wipe everything, all i did is factory before i flash, could 有please teach me how?
skinsfanbdh said:
in cwm wipe data/factory reset then wipe cache then go to advanced wipe davlik then flash rom then reboot
Click to expand...
Click to collapse
it wont wipe my rom rar file? in old days it does..
KenHu1993 said:
it wont wipe my rom rar file? in old days it does..
Click to expand...
Click to collapse
no. it will only wipe user data,app data,and apps you have installed.
but if this is your first time using 4.2 you should backup your sd card to your computer and after you flash the rom and boot up boot back to recovery and wipe your sd card then reboot and restore backup from computer or you will think it wiped everything but it just moves things around for multiuser support
skinsfanbdh said:
no. it will only wipe user data,app data,and apps you have installed.
but if this is your first time using 4.2 you should backup your sd card to your computer and after you flash the rom and boot up boot back to recovery and wipe your sd card then reboot and restore backup from computer or you will think it wiped everything but it just moves things around for multiuser support
Click to expand...
Click to collapse
I just did the wipe data,cache,davlik and flashed again, and tried the rom manger,the camera still doesn't,work. how do i back up SDcard,or should i just delate all the stuff on my phone and only leave the rom rar on my phone and flash it?
what recovery are you using? and is the flash finishing to 100%?
skinsfanbdh said:
what recovery are you using? and is the flash finishing to 100%?
Click to expand...
Click to collapse
i am using CMW and yes, 100%
did you choose aosp camera in aroma? if so try doing it without choosing it
skinsfanbdh said:
did you choose aosp camera in aroma? if so try doing it without choosing it
Click to expand...
Click to collapse
the rom i choosed is android revolution hd,doesn't have that option..
try the stock 4.2 rom mike1986 posted. i was running ARHD 10.1 and camera worked im on trickdroid7.1 now and camera works also

[Q] Corrupt Data Partition

Hi
I just tried flashing ARHD 20.2 coming from rooted stock 4.1.2 via CWM touch. The rom won't install, halfway through the phone just re-starts. Also whenever I try a factory wipe or data re-format from cwm my phone re-starts immediately. So I have recovery but I can't flash a new ROM.
Have I corrupted my data partition somehow? Is there a way around this? Maybe via a new recovery or kernel? My searches on xda haven't come up with much. Any ideas? Thanks.
showingcatches said:
Hi
I just tried flashing ARHD 20.2 coming from rooted stock 4.1.2 via CWM touch. The rom won't install, halfway through the phone just re-starts. Also whenever I try a factory wipe or data re-format from cwm my phone re-starts immediately. So I have recovery but I can't flash a new ROM.
Have I corrupted my data partition somehow? Is there a way around this? Maybe via a new recovery or kernel? My searches on xda haven't come up with much. Any ideas? Thanks.
Click to expand...
Click to collapse
follow this guide step by step, maybe you forgott something http://forum.xda-developers.com/showthread.php?t=2265618
herwegan said:
follow this guide step by step, maybe you forgott something http://forum.xda-developers.com/showthread.php?t=2265618
Click to expand...
Click to collapse
HI, thanks for the advice although I don't understand what you want me to do. I guessed you might have meant try going back to stock which I just tried but that didn't work. I do not seem to be able to flash any ROM.
I can enter in and out of CWM recovery but that is it. My phone is formatted and wiped (excepting my suspect data partition???). So I am doing all flashing etc by adb and fastboot.
I tried a TRWP flash over the top of CWM but it only briefly flashes the twrp logo and then restarts the phone, so I have gone back to CWM which at least works.
In my CWM log I see this
I: Can't partition non-vfat: datamedia
I: Can't format unknown volume: /emmc
Any attempt to format data still just restarts the phone.
showingcatches said:
HI, thanks for the advice although I don't understand what you want me to do. I guessed you might have meant try going back to stock which I just tried but that didn't work. I do not seem to be able to flash any ROM.
I can enter in and out of CWM recovery but that is it. My phone is formatted and wiped (excepting my suspect data partition???). So I am doing all flashing etc by adb and fastboot.
I tried a TRWP flash over the top of CWM but it only briefly flashes the twrp logo and then restarts the phone, so I have gone back to CWM which at least works.
In my CWM log I see this
I: Can't partition non-vfat: datamedia
I: Can't format unknown volume: /emmc
Any attempt to format data still just restarts the phone.
Click to expand...
Click to collapse
edit: format every partition on your device first through cwm, then
try to adb sideload a rom: http://forum.xda-developers.com/showthread.php?t=2318497
herwegan said:
edit: format every partition on your device first through cwm, then
try to adb sideload a rom: http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
This is what I am already attempting but unable to do.
showingcatches said:
This is what I am already attempting but unable to do.
Click to expand...
Click to collapse
to add more info to my situation: if I choose the wipe data option in the install of ARHD 20.2 the phone immediately restarts on the commencement of the installation.
If I don't choose the wipe data option the installation seems to fail when it has finished unpacking.
herwegan said:
edit: format every partition on your device first through cwm, then
try to adb sideload a rom: http://forum.xda-developers.com/showthread.php?t=2318497[/QUOT
I have formatted every partition I can in CWM. Recovery immediately crashes if I try to format my /data partition or the /sd card partition.
Click to expand...
Click to collapse
showingcatches said:
herwegan said:
edit: format every partition on your device first through cwm, then
try to adb sideload a rom: http://forum.xda-developers.com/showthread.php?t=2318497[/QUOT
I have formatted every partition I can in CWM. Recovery immediately crashes if I try to format my /data partition or the /sd card partition.
Click to expand...
Click to collapse
try to reflash the newest version of cwm/twrp via fastboot and see if it helps..
Click to expand...
Click to collapse
herwegan said:
showingcatches said:
try to reflash the newest version of cwm/twrp via fastboot and see if it helps..
Click to expand...
Click to collapse
I am on latest CWM touch for HTC one- 6.0.3.6. And as I said before I can't fastboot TWRP it doesn't seem to be working.
Click to expand...
Click to collapse
showingcatches said:
herwegan said:
I am on latest CWM touch for HTC one- 6.0.3.6. And as I said before I can't fastboot TWRP it doesn't seem to be working.
Click to expand...
Click to collapse
flash it again. maybe there's a bad flash of cwm..
Click to expand...
Click to collapse
Does anyone know a way of getting the status/health of disk partitions by adb or some such method. Thanks in advance
Data is permanently mounted in CWM too.
herwegan said:
showingcatches said:
flash it again. maybe there's a bad flash of cwm..
Click to expand...
Click to collapse
Nope doesn't work
Click to expand...
Click to collapse
showingcatches said:
herwegan said:
Nope doesn't work
Click to expand...
Click to collapse
Solved!
I just kept trying to install ARHD 20.2 in the end itflashed succesfully when I unchecked all programs and options before flashing. I don't understand but I have a phone again.
Thanks for your help Herwegan!!
Click to expand...
Click to collapse
showingcatches said:
showingcatches said:
Solved!
I just kept trying to install ARHD 20.2 in the end itflashed succesfully when I unchecked all programs and options before flashing. I don't understand but I have a phone again.
Thanks for your help Herwegan!!
Click to expand...
Click to collapse
you're welcome, nice to hear it works again
Click to expand...
Click to collapse

cyanogen mod 10.2 and 11 problem

I installed both given version of cyanogen mod using proper method but after rebooting into system, bootanimation appears for some time then my z1 restrats. This happens again and again.
I tried various ways like changed the kernel etc. But still no luck.
Have someone any solution???
jobangill99 said:
I installed both given version of cyanogen mod using proper method but after rebooting into system, bootanimation appears for some time then my z1 restrats. This happens again and again.
I tried various ways like changed the kernel etc. But still no luck.
Have someone any solution???
Click to expand...
Click to collapse
Have you cleared cache after installing CM11? Which CM11 did you install? There are some issues with the current FXP versions. Use this one. http://get.cm/get/ecz
Rekoil said:
Have you cleared cache after installing CM11? Which CM11 did you install? There are some issues with the current FXP versions. Use this one. http://get.cm/get/ecz
Click to expand...
Click to collapse
Yes I tried. Different versions like fxp 302, 301, from fxp source and from get.cm but did not find what the problem is
jobangill99 said:
Yes I tried. Different versions like fxp 302, 301, from fxp source and from get.cm but did not find what the problem is
Click to expand...
Click to collapse
Install the boot partition from this zip, load up recovery, flash the zip, clear cache, reboot. Done. (you might want to install GApps there somewhere as well)
Tried wiping data too?
Sent from my C6903 using Tapatalk
Rekoil said:
Install the boot partition from this zip, load up recovery, flash the zip, clear cache, reboot. Done. (you might want to install GApps there somewhere as well)
Click to expand...
Click to collapse
Did what you said. now stuck at boot animation waited for 5minutes but nothing was happened. Is it normal? And what cache to wipe? I wiped both dalvik And cache partition
tomascus said:
Tried wiping data too?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
You mean all internal storage including media?
I Did factory reset
jobangill99 said:
You mean all internal storage including media?
I Did factory reset
Click to expand...
Click to collapse
If you've just unlocked the bootloader and never booted a Sony ROM after the fact then you'll not be able to do a simple factory reset, but will need to do a full /data and /data/media (/sdcard) format. So do that first, then flash the zip(s), and then it should boot fine.
wiped full internal storage also tried relock and again unlocked the bootloader but still stuck at bootanmation,
also slimkat and slimbean roam won't boot up but ihackers working fine.....strange
jobangill99 said:
wiped full internal storage also tried relock and again unlocked the bootloader but still stuck at bootanmation,
also slimkat and slimbean roam won't boot up but ihackers working fine.....strange
Click to expand...
Click to collapse
Something is wrong with your phone in that case... Either that or you're doing something wrong.
Sent from my Xperia Z1

MIUI 11 Open Beta

I'm not quite familiar with how open betas work. Are they invite-only? Do we have to do something to get it? or will it be available via OTA and it's up to us to download it? Or do we just flash it?
Can somebody clarify? Thank you
jceey15 said:
I'm not quite familiar with how open betas work. Are they invite-only? Do we have to do something to get it? or will it be available via OTA and it's up to us to download it? Or do we just flash it?
Can somebody clarify? Thank you
Click to expand...
Click to collapse
Beta are always invite only. You had to fill the form to be able to receive it over the air. Never the less, if you have an unlocked bootloader, you can just download that build and flash it through TWRP. The latest build has been floating on the internet since its release.
Sukhi said:
Beta are always invite only. You had to fill the form to be able to receive it over the air. Never the less, if you have an unlocked bootloader, you can just download that build and flash it through TWRP. The latest build has been floating on the internet since its release.
Click to expand...
Click to collapse
Oh, I thought that was for the closed beta only. Thank you Does flashing it via TWRP wipe my data?
jceey15 said:
Oh, I thought that was for the closed beta only. Thank you Does flashing it via TWRP wipe my data?
Click to expand...
Click to collapse
If you’re already running stock China MIUI, you could just dirty flash it. Wiping Data doesn’t wipe your Internal Storage. Backup beforehand incase something goes wrong.
Sukhi said:
If you’re already running stock China MIUI, you could just dirty flash it. Wiping Data doesn’t wipe your Internal Storage. Backup beforehand incase something goes wrong.
Click to expand...
Click to collapse
So the only steps I need to do is just backup everything, then flash the rom and wipe data, cache/dalvik?
jceey15 said:
So the only steps I need to do is just backup everything, then flash the rom and wipe data, cache/dalvik?
Click to expand...
Click to collapse
Just copy your important stuff from Internal storage to PC. Flash the MIUI beta followed by a Cache, Dalvik wipe. Reboot. If you rather want it clean, go back to stock recovery after first MIUI 11 boot and wipe data. That should suffice for a clean restore.
PS: Stock Recovery would overwrite your custom TWRP on boot so incase you need that, you’ll have to flash it again.

Categories

Resources