Procedure to go back to MIUI from CM13 - Xiaomi Redmi 2 Questions & Answers

Hi. I'm using the 18/Redmi2Prime and I was thinking of reverting back to MIUI and I'm on CM13. I'm kind of confused with all the threads here because it's been a while since I was active here in the forums. Can't I just flash the MIUI ROM over CM13 using TWRP 2.8.7 with a clean install?
I wanted a rooted lollipop miui hence I am reluctant of choosing this. And I donno which ROM to choose either. Any help would be greatly appreciated!

Grab a copy of the stock recovery from here, and follow the instructions to install it onto your device. Basically, download the file, extract the .img file from it, and install the .img file using TWRP. Then boot to recovery.
Then, download a copy of the official MIUI ROM (beta, release or otherwise), from here, rename it as update.zip, copy paste it to your SD card (internal/external), and from the stock recovery, wipe all existing data (cache and user data - SD card can stay). Install the update.zip from the recovery from the options shown.
Done.
Additional notes -
1. If you are plan to go back to a custom ROM, then install a pre-lollipop based MIUI ROM, or backup your EFS, Modem, Boot partitions prior to wiping the existing recovery - this will save you a lot of trouble, and perhaps opening another thread.
2. It is preferable to download the MIUI ROM and rename it as update.zip before you restore to stock recovery, should anything go wrong down the lane. (That is, without a ROM installed, and the computer just not willing to recognize your device, you might end up in a small soup - you cannot access the files on the phone using the stock recovery easily.)
3. If anything goes wrong, check for instructions on how to install the MIUI ROM using fastboot.

Hey thanks for the quick reply. Will do the mentioned and will get back to you if need be. Thanks again!
But wait. It isn't prerooted right?

Related

[Q] need help flashing MoDoCa and CM7

I am having a heck of a time tryingto flash a new rom onto my nexus s. I have downloaded MoDoCa and CM7 and put both .zip's on my SD card.
When i go to install via clockwork, its verifies the install and fails saying it cant find any of the packages. I left the files as a zip, i also extracted wthem within the same folder.
Im so lost why this wont work. Also the backup's i made before flashing dont wanna flash either. I can only get barebones 2.3. HELP!
Are you using version 3.0.0.0 or higher of Clockwork? That's one of the requirements on Modaco's ROM.
You should leave the Modaco rom as a zip. Put it in the root of your sdcard.
I think what's happening to you is that you're trying to flash it the wrong way.
In Clockwork, don't select the flash update.zip file, what you need to do is choose the menu option to flash a file from the sdcard. This puts you into a selection mode screen where you will navigate through the files and folders in the sdcard to the one you want to flash, then select it and flash away.
Have you tried it that way?
EDIT: P.S - you don't "flash" nandroid backup files, you restore them from the backup/restore menu option in Clockwork. You probably know that, but just making sure, since there shouldn't be an issue restoring them.

I need step by step instructions to flash a newer ROM

I am running Cyanogen 6.0.0-Heroc. I have been for about 6 months but it has some quirks (locks up sometimes, etc) that may be better with a newer version (I hope). Can somebody please give me very explicit step by step instructions to load a new ROM. Also can you give me a link to the newer version of this ROM.
I was scared to death when I rooted my phone and am equally fearful now. I appreciate your help.
Whoops, accidentally clicked thank
Anyway, I can only speak for what I have done. I have heard that updating to gingerbread takes a slightly different approach. (But I haven't tried it yet)
What I do:
Download the rom and put it on my sd card
Reboot into recovery
NANDROID BACKUP
wipe data/cache/factory reset
wipe davlik
wipe battery stats
flash rom
flash gapps
reboot
Flashing a rom is very easy. I suggest the app rom manager. What you do is you put the . Zip file on the root of your sd card (not in any folders) and re-name it * update* without the *. Now flash clockwork recovery mod and boot your phone into recovery mode via rom manager. It will take you into recovery mode (big surprise) now select install update.zip. this should install the mod right away. the phone will reboot and you have yourself a custom rom my friend.
READ THIS FIRST!!!
troubleshooting and other tips: i put this in because i had countless problems when i first flashed a rom...
if your .zip file won't flash because it says it isn't signed the go to options and disable the need for it to be signed.
so if you are given the option to backup your current mod i highly recomend that especialy if you aren't sure about the rom.
next i suggest getting a rom with gapps as you need that to sync your accounts. just boot to recovery mode then select an option to manually install programs or something like that. select gapps and you're gravy!
i see you need a rom update. i cannot give you the link but look for CM7 it is gingerbread and it looks classy. don't be afraid if it takes a long time to boot. that is natural. it should be in htc hero development forums.
backup everything you can. i suggest creating a folder labeled phone or sd card. copy and paste all files just in case.
if you need any more help I would be glad to help you.
Sent from my HERO200 using XDA App
pandadog11 said:
i see you need a rom update. i cannot give you the link but look for CM7 it is gingerbread and it looks classy. don't be afraid if it takes a long time to boot. that is natural. it should be in htc hero development forums.
Click to expand...
Click to collapse
I've been using that ROM, works great but GPS won't stay locked right now. It's very fast.
It doesn't get any more step-by-step than this:
http://wiki.cyanogenmod.com/index.php?title=HTC_Hero_(CDMA):_Full_Update_Guide

[TUT] Flashing your first A500 custom ROM

Well, flashing a custom ROM on our beloved Iconias became quite easy now thanks to developers on xda. Most of you are quite familiar with the procedure but there are still people that ask basic things all over the ROM developement threads. This is just a beginner's guide, an attempt to collect all the procedures and tools in one thread. Nothing of this is my work and I would like to say THANK YOU to sc2k, thor2002ro, Euclid's Brother, Chainfire, monki-magic, drellisdee, ezterry, Skrilax_CZ, gersma and all A500 developers for making this possible.
You will need the following: external SD card, root rights, unlocked bootloader (if you're on stock ICS), custom recovery and a custom ROM of your choice.
Well lets start by placing an SD card in the SD card expansion slot. Its file system should be FAT32!
*This is optional: To be sure it is recognized later in CWM, format it first with SD Formatter - a tool that can be downloaded from here. Use your home computer / notebook with a card reader for this procedure. Alternatively you can do this using an ANDROID phone.
1.ROOT
Root for Honeycomb 3.0.1 by monki-magic
original thread by Slowie911 here
1. Make sure usb debugging is turned on and unknown sources is selected in Applications settings.
2. Have a micro sd card inserted and turn the tablet on portrait mode and lock it with the switch to fix it in portrait.
3. Download and execute the attached apk. (i had to download from my comp and transfer to the tablet for it to work).
4. Once the apk is installed run the root procedure within the app which was installed
5. Wait and you will receive full root access.
Download Gingerbreak 1.20
Root for Honeycomb 3.1 by sc2k thread here
1. Goto Settings->Applications and enable "Unkown sources"
2. Download the attached APK file
3. Copy the file to your Iconia
4. Install the APK & start the tool
5. Click "root"
6. Enjoy
/IconiaRoot should work on both 3.0.x and 3.1/
Download Iconiaroot 1.3
Root for Honeycomb 3.2.x OTA
Unfortunately there's no dedicated rooting app yet developed for HC3.2. It also comes with a new bootloader. In order to get root you need to revert to an older version of Honeycomb first where Iconiaroot works. How to do that is explained in details in this thread
UPDATE: if you're on OTA HC 3.2.x then you can just update to ICS and use the method for rooting ICS - links posted below
Root for ICS 4.x.x OTA
Stock ICS Leak One-Click Root Tool by blackthund3r
or
Full root for A500 ICS 4.0.3 - Simple method, posted by ZeroNull
2. Bootloader
Since there are many new ICS custom ROMs and custom recoveries, please read in their dedicated threads if they require ICS bootloader. Some of the ROMs can recognize the version of your bootloader and load the proper boot.img during boot. In general - if you're on Honeycomb - you have HC bootloader. If you've updated OTA to ICS, then you have stock ICS bootloader, that is unusable for flashing custom ROMs and therefore you need the unlocked bootloader. A guide on how to install it read here - thanks civato. This thread links to a nice little piece of software (option 1) by gersma that can automatically do all the job for you - install ICS unlocked bootloader and custom recovery. Read and download here - AfterOTA by gersma
3.Custom recovery
original thread with clockworkmod recovery by thor2002ro here
1. Open Market app with your tablet and search for Acer Recovery Installer.
Acer recovery installer
2. Install it and then open it. It has ClockworkMod Recovery by thor2002ro rev1.3.4 built-in.
3. Select "ClockworkMod Recovery rev.1.3.4 by thor2002ro". Tap on install Recovery Image. A popup offering to backup current recovery image will appear. Surely, buckup! Thus you can restore your original recovery image in case of need. Then CWM will be installed. Once it is installed you can remove Acer Recovery Installer tool from your system if you want.
thor2002ro updated CWM to 1.7.3. You can download the zip from tegraowners.com. Later versions of his recovery does not meet GPL because of the "mini" kernel of his - sources not being released. It supports flashing both from internal memory and the external SD card. In order to update your CWM to this latest version, place the downloaded ZIP on your external sd card and update from your CWM by choosing install zip from sd card. Alternatively you can extract the recovery.img from the zip, place it on your external sd card and install it through Acer Recovery Installer by choosing Custom or Stock recovery.img from micro sdcard.
GPL compliant recoveries
RA Revamped for Iconia
TeamWin Recovery Project (twrp) - needs ICS bootloader
A500 Public Recovery
Since the creation of AfterOTA by gersma, you can use his software to install both the bootloader and CWM before flashing the ROM. Get it HERE
4. Flashing custom ROM
Download the ROM of your choice which should be a zip file. Place the zip on your EXTERNAL SD card. Power off your device. Now hold volume down and power buttons together until you see text appearing on the top left corner of the screen - you can release both buttons now. Wait until CWM loads. Volume keys (Up and Down) are used to navigate the CWM menu. Power button is uded as "Enter" i.e. to proceed with your selection. Before going on to install your ROM do a full backup of your system first. Navigate to "backup and restore" and then select Full Backup. Wait untill the operation completes.
Now do the following:
Wipe menu:
- wipe data/factory reset -> navigate to "Yes - delete all user data"
this should format you data partition and cache partition (dalvik cache is gone as well)
Mounts and storage menu
- Format System
this should format your system partition
The above commands are presented in thor's CWM. There are slightly different menus and sub-menus in the other custom recoveries but if you dig a little you'll find that they do the same things and you'll get the idea of what you're doing.
Now you're ready to install your ROM. Get back to the main CWM menu and select
- Install zip from sdcard -> choose zip from sdcard.
Navigate to your zip on the SD card and install it - choose "Yes" again to install. Wait untill installation is complete, return to the main CWM menu and choose "reboot system now".
You're done, enjoy your first custom ROM. Take time for its initial configuration.
5. Flashing custom KERNEL
Flashing custom kernel is as same as custom ROM. You place the zip (Kernels come in zip files as well) on your external SD card and:
- Install zip from sdcard -> choose zip from sdcard.
It is recommended before flashing a new kernel to wipe cache partition and dalvik cache. And of course first you flash the ROM and then the desired Kernel
6. UNBRICKING by flashing a stock ROM
thanks to vache we have full packages shared in his topic
vache said:
Once the desired file downloaded, you have to use Acer Update Decryter by thor2002ro to decrypt them.
After decrypting the file, you have to extract the update.zip from it, put it on an external SDCard (does not work on internal memory) and boot your tablet with Vol- & Power. The update will launch automatically.
Click to expand...
Click to collapse
p.s. Feel free to add stuff to this tutorial - video, pistures or anything you find useful or to correct me if I've made a mistake.
This is fantastic. Thank you. I have had my iconia for a month now and been looking at flashing a custom rom but kept backing out. Just a couple of questions for clarification:
(1). Does wiping data erase the internal sd?
(2). If by some stroke of bad luck a flash is unsuccessful and a boot loop or similar occurs, am I right in my understanding that you can just go straight back into recovery and re-flash?
(3). What are the chances of bricking the tablet?
Sorry for noon questions, please just wanna certain because my gf bought me this tablet under the condition I don't do anything risky like on my x10 that I flash almost daily haha
Thanks for replies
Sent from my A500 using XDA Premium App
kylec said:
This is fantastic. Thank you. I have had my iconia for a month now and been looking at flashing a custom rom but kept backing out. Just a couple of questions for clarification:
(1). Does wiping data erase the internal sd?
(2). If by some stroke of bad luck a flash is unsuccessful and a boot loop or similar occurs, am I right in my understanding that you can just go straight back into recovery and re-flash?
(3). What are the chances of bricking the tablet?
Sorry for noon questions, please just wanna certain because my gf bought me this tablet under the condition I don't do anything risky like on my x10 that I flash almost daily haha
Thanks for replies
Sent from my A500 using XDA Premium App
Click to expand...
Click to collapse
1. No, it doesn't.
2. Yes. You can do that. There's another option in mounts and storage -> format system - that will format even your system partition and leave your device bare with no ROM files on it. That would be a really clean install I guess
EDIT: I just saw that system is formatted during ROM installation. So no need to do that
3. Always read first what option you've selected and be sure you understand what it does. If you have CWM successfully installed, you have a powerfull tool to restore reflash, wipe, format etc. I've flashed my HD2 hundreds of times and now my Iconia is on the run Never ever had a boot failiure.
drkalo said:
1. No, it doesn't.
2. Yes. You can do that. There's another option in mounts and storage -> format system - that will format even your system partition and leave your device bare with no ROM files on it. That would be a really clean install I guess
3. Always read first what option you've selected and be sure you understand what it does. If you have CWM successfully installed, you have a powerfull tool to restore reflash, wipe, format etc. I've flashed my HD2 hundreds of times and now my Iconia is on the run Never ever had a boot failiure.
Click to expand...
Click to collapse
Thank you very much. I will click thanks when I'm on my computer :-D
Sent from my A500 using XDA Premium App
VERY good information here. Thank you very much for taking the time.
I've flashed ROMS on my last two "chinatabs" but haven't gotten into it with my A500 yet. (To be frank, I'm still thrilled with the prospect of OTA updates from a manufacturer after my last experiences.)
It looks like the process is very similar to my Rena3 tablet.
strider_mt2k said:
VERY good information here. Thank you very much for taking the time.
I've flashed ROMS on my last two "chinatabs" but haven't gotten into it with my A500 yet. (To be frank, I'm still thrilled with the prospect of OTA updates from a manufacturer after my last experiences.)
It looks like the process is very similar to my Rena3 tablet.
Click to expand...
Click to collapse
Thank you, that lays it out all nice and precise for us all. Like strider_mt2k, I have been holdng off on the custom ROMs, because my first tablet was a Gtab, and while it became a pretty awesome tablet, it had to be flashed with a custom ROM to be really usable. The OTA thing was holding me back. But I think that I may try to flash the thing this weekend if I get the chance.
Thanks. Glad it could be of use.
nice tutorial dude! thanks!!
could you please make another tutorial to return back to stock?
specially to return back to stock te kernel.
thanks!!!
As mentioned, best case is if you've backed up your device before flashing any ROM or Kernel. Thus you can restore to your country specific version.
Otherwise its pretty simple - its just like flashing any other ROM following the steps described.
Download the stock one that dr1337 shared from here:
http://forum.xda-developers.com/showthread.php?t=1154492
or choose the right full package - shared by vache:
decript it with Acer update decripter by thor2002ro
Of course they come with stock kernel
I am new in this with flashing and that kind of stuff.
Now is my question, how is it with updates from acer?
Greetz
distructor said:
How is it with updates from acer?
Click to expand...
Click to collapse
I'm not sure I understand your question. Could you be more specific?
if i put a custom rom on the device could i still use the build in update program of acer?
distructor said:
if i put a custom rom on the device could i still use the build in update program of acer?
Click to expand...
Click to collapse
Unfortunately I can not tell you for sure. I haven't tried all of the custom ROMs but in most cases - no you won't be able. I've tried Tabooney, Honeyvillain, Virtuous Picasso, Virtuous Galaxy. ROM developers usually update their ROMs to the latest base available. I think it depends on many things - base, kernel, stock apps removed etc.
Maybe someone who have succeeded with custom ROM updating would share his experience.
Can anyone tell me if there is a version of ROM manager that supports the version of CWM that there is for the Iconia. I would love to be able to simplify my ability to backup my ROM's before flashing.
synapses11 said:
Can anyone tell me if there is a version of ROM manager that supports the version of CWM that there is for the Iconia. I would love to be able to simplify my ability to backup my ROM's before flashing.
Click to expand...
Click to collapse
You can install a clockworkmod for Iconia no matter of the version of ROM manager. But it is much much easier to use Acer Recovery Installer. I recommend you using it instead of playing with recovery img files. It is a one time procedure after all
Anyway - here's what you need to do if you don't want to use Acer recovery installer, or you don't want to use ADB:
http://www.addictivetips.com/mobile/how-to-install-clockworkmod-recovery-3-using-rom-manager/
instead of CWM 3.x you will need to get CWM from thor2002ro In this guide you substitute the recovery that ROM Manager is about to flash with thor's CWM. I haven't tried this method myself but it should work.
With Acer Recovery Installer you can flash custom recovery as well. As long as you have it in IMG format you can be flashed from within the app - "install custom or stock recovery image from sd card".
great thread.
thanks!!!
Great Tutorial!!!
Just a couple of doubts:
First question: Backup files.
3. Flashing custom ROM
"...Before going on to install your ROM do a full backup of your system first. Navigate to "backup and restore" and then select Full Backup. Wait untill the operation completes. "
Where do the backup files go in the system? On internal or external SD card? Is it an *.img file extension?
Should i move it to my computer to keep it save, or just leave it where ever they are?
Second question: Kernel.
4. Flashing custom KERNEL
"Flashing custom kernel is as same as custom ROM. You place the zip (Kernels come in zip files as well) on your external SD card and:
- Install zip from sdcard -> choose zip from sdcard.
It is recommended before flashing a new kernel to wipe cache partition and dalvik cache. And of course first you flash the ROM and then the desired Kernel"
I am on Stock 3.1 ROM with original Kernel, if i want to try Virtuos Picasso, do i have to flash a new Kernel? And if yes, shouldn't i do it before flashing the ROM? Or just flash the ROM and then the Kernel? What happens if i just flash the Rom and use the stock kernel?
Thank you..
Your backup goes to your external SD card in a folder named clockworkmod\backup\2011-XX-XX.HH.MM.SS
As you can guess the name of the backup corresponds to the time it is created. This backup can be used to restore your system through CWM in case of need.
CWM does not backup /data/media folder. Additionally: you should also delete .android_secure.img from your backup set or a full restore will fail before it restores flexrom.
The last is an issue described by Euclid's brother:
http://forum.xda-developers.com/showpost.php?p=16467191&postcount=3
I am on Stock 3.1 ROM with original Kernel, if i want to try Virtuos Picasso, do i have to flash a new Kernel?
Click to expand...
Click to collapse
No, of course! Your custom ROM (Virtuous Picasso in your example) and any ROM comes with its Kernel. Its up to you to decide wheather to change it or not after that by flashing another Kernel. Follow every Kernel developer's notes for ROM compatibility. So, that answers the last part of your question - you cannot flash Virtuous Picasso and still think you're on stock kernel
drkalo said:
No, of course! Your custom ROM (Virtuous Picasso in your example) and any ROM comes with its Kernel. Its up to you to decide wheather to change it or not after that by flashing another Kernel. Follow every Kernel developer's notes for ROM compatibility. So, that answers the last part of your question - you cannot flash Virtuous Picasso and still think you're on stock kernel
Click to expand...
Click to collapse
Oh, i see...i thought that the flashing ROM procedure of a custom ROM, would just flash the ROM and not the Kernel...so in this case i just have to choose the ROM that i want to flash and do not have to pay attention about the Kernel compatibility...unless i flash a Kernel only. Right?
Thank you very much!!
That is correct

[fix][xperia play][cwm) lupus ics/gb kernel]

Hi To All,
Im a new member to xda, but i have been lurking in the shadows for a couple of weeks now i am starting this thread to provide the things that i have learned about using the stock Lupus ICS/GB Kernel by wedges this is the thread http://forum.xda-developers.com/showthread.php?t=2167766
i would really like to say thanks to him he had done a great job.
So some issues i encountered while using the kernel
1.) Cant Create A Nandroid back up: so i flashed LuPuS-Stock-ICS/GB-v1-480p.img and flashed Krisdee's rom http://forum.xda-developers.com/showthread.php?t=2161560 (thanks krisdee one of the best ics roms for my play so far) but i could not create a nandroid back up i tried everything fixing partition/wiping dalvik cache etc.. after a day of troubleshooting i found out that the way to create a back up with this combo kernel + rom is to use the TWRP recovery instead of CWM Wedgess has the instruction on how to select recovery on his kernle on his OP. i was able to create a successful back up without getting the failed to back up /system image.
2.) Install Zip file failed in TWRP: so now i was already using TWRP to flash zip files but some files were having error during installation saying failed/ found a fix on this one as well what i did was uncheck the check the check zip sign and also check md5sum successfully installed those files. However there are zip files that i really could not install so i decided to Revert back to CWM recovery was able to install the zip files correctly however some of those files that was not installing in TWRP but installed on CWM successfully caused broken system.ui and boot loops TIP: if its not installing in TWRP even with all options uncheck it may not work properly and may not have proper permission to set for your ROM.
3.) Mount SD CARD: Not working on TWRP Found a fix on this as well just install latest drivers from the latest flashtool
Hope i Helped ( Please correct me if i have made any wrong move on this post)
here is also the link for the latest flashtool http://forum.xda-developers.com/showthread.php?t=1351299 all credits to these great devs much respect

CWM not restoring backup.

Hy,
I have two i9505, I read a lot and installed CWM using Heimdall, I flashed SuperSU to gain root, and made a backup. It labeled the backup with an outdated 1970 name...
I took the SD card out to copy the SD backup, but could find it even when searching for hidden folder.
I put back the SD card in my device, and booted to CWM, the backup was available for a restore process. So before trying any flash I tried out a restore process, but ended up with a stuck in boot. Boot to CWM and bootloader being still available, I managed to flash a workable ROM, but I can't restore to my initial ROM.
Now, I'd like to be able to restore my device to it's initial ROM.
I believe that somehow, the backup I made is corrupted.
As I have another identical i9505 I haven't tempered with yet, I guess I could install CWM (or other custom recovery) to make a backup of the ROM, extract the backup of the ROM from the SD and use it to 'clone' my second device ROM to this one.
But I don't wan't to make any mistake here, so I'd apreciate some help, first to understand where CWM put the backup .tar.
Another solution is to get some stock ROM I can flash. As anyway I don't have any warranty on the device I don't care to restore to exact initial state, I just want to be able to get back to some stock ROM.
sammobile.com/firmwares is the place to go if you want a stock ROM. Download whichever ROM you want, then use Heimdall to flash it, and you should then be returned to stock. For best results, the ROM you download should have no carrier branding, but any of them should work.
I though I would have to do something like that from reading the unroot guide. Also, as I use Heimdall to flash (I have a linuxBox), I will use this guide in french as a guideline.
I noticed that the command line they recommend don't flash sbl1. I don't know if it is required.
Thank you anyway for confirming that.

Categories

Resources