How do I revert to stock miui without pc - Xiaomi Redmi 2 Questions & Answers

I am running resurrection remix mm 5.7.4 with twrp 3.0.2 by kumajaya on my redmi 2 prime with lollipop bootloader( 2014818 Indian 2 gb ram variant )
I lost my miui twrp backups and now my pc is not working too.
I want to install miui on my phone back preferably lollipop miui 7.
Is there any way to do so without a pc recovery itself?

Download the recovery zip file of MIUI by googling it. (Version you required)
If you want latest version.
Then Google 'MIUI downloads' and search your device and download the ROM.
Then head over to TWRP and flash the zip.
It will give error for the first time.
Flash it again.
It will get flashed.
Then hit reboot, and reboot your device.
Voila! Now you have MIUI on your device.

I have successfully installed miui lollipop base on my redmi 2 prime without any errors.
Also I have confirmed from external app and settings the information of the device that it shows the correct device info.( provided my custom showed correct device info ).
I tried installing the miui ROM as sethidheeraj said. I started wiping system artcache cache and data but was not able to install miui after repeated tries
Then I restored my custom ROM backup
Then by following these steps I got miui back :
1 install your custom ROM( I had rr 5.7.4 mm) or restore your custom ROM backup
2 boot to recovery and flash the miui ROM without wiping system partition
3 it will take real good amount of time and the logs displayed on twrp also aren't very long, don't worry it is still being installed
4 just for your surity wipe data and caches and again flash the miui ROM
5 reboot to system and take a drink for a while coz it is the first boot
Tadaaaa
You have your stock miui back
Also no damages to your recovery or anything.

Download twrp 3.0.2.0 of kumajaya twrp because its device model no will be in wt88047etc...not hm2014818...use flashify app tp flash recovery. Img on using ur rooted custom rr remix...boot to recovery... Wipe cache, dalvil, system,data....then make sure Miui lp rom is in internal memory.... Then install it...it will give some error on start....then install again...it will take around 20min for install plus full boot up.

Riyanx55tu said:
Download twrp 3.0.2.0 of kumajaya twrp because its device model no will be in wt88047etc...not hm2014818...use flashify app tp flash recovery. Img on using ur rooted custom rr remix...boot to recovery... Wipe cache, dalvil, system,data....then make sure Miui lp rom is in internal memory.... .
Click to expand...
Click to collapse
I already installed MIUI and I have posted it's method above your post in my post.

Jamie446677 said:
I already installed MIUI and I have posted it's method above your post in my post.
Click to expand...
Click to collapse
Great ?

Jamie446677 said:
I have successfully installed miui lollipop base on my redmi 2 prime without any errors.
Also I have confirmed from external app and settings the information of the device that it shows the correct device info.( provided my custom showed correct device info ).
I tried installing the miui ROM as sethidheeraj said. I started wiping system artcache cache and data but was not able to install miui after repeated tries
Then I restored my custom ROM backup
Then by following these steps I got miui back :
1 install your custom ROM( I had rr 5.7.4 mm) or restore your custom ROM backup
2 boot to recovery and flash the miui ROM without wiping system partition
3 it will take real good amount of time and the logs displayed on twrp also aren't very long, don't worry it is still being installed
4 just for your surity wipe data and caches and again flash the miui ROM
5 reboot to system and take a drink for a while coz it is the first boot
Tadaaaa
You have your stock miui back
Also no damages to your recovery or anything.
Click to expand...
Click to collapse
Can you give me a video of that i didn't understand that without wiping system partition it was giving the error 7
Sent from my Xiaomi Redmi 2 using XDA Labs

Bhavesh Tak said:
Can you give me a video of that i didn't understand that without wiping system partition it was giving the error 7
Click to expand...
Click to collapse
I don't have a video tho but I meant that you should only wipe data and caches but leave system as it is. ( My phone had rr marshmallow installed before.) After rr I haven't tried any custom roms so I don't know whether it will work on others. So just flash miui 7.5 like you would for an OTA but do wipe your data and caches

Related

Flashing CM 13, Resurrection remix or AOSP ROM results in bootloop or boot stuck

I have HM2014818 model (variant of HM2014811) and had the latest MIUI ROM 7.2 (developer). I decided to flash CM 13 first which resulted in bootloop then I flashed Resurrection remix which also ended in error. Now the procedure which i followed is.
1. Enter recovery mode TWRP 3.0.2-0-wt88047
2. Wipe data, system, cache , dalvik cache (formatted user data as well for last resort)
3.Flashed The ROM
4. FLashed GAPPS (Tried without flashing as well)
5. Wipe cache/dalvik cache (tried without it also)
6. Reboot System results in boot loop or boot stuck (with MI logo)
Here what I have done so far to correct it.
Downloaded stock ROM for Redmi 2 (latest developer version 6.4.14) unzipped it extracted boot.img file, replaced the resurrection remix boot.img file with stock boot.img file. The system booted, the only problem is the resurrection remix logo takes 15 minutes to change its animation sequence, it is not at all smooth. It is laggy. How to fix this can anyone give the appropriate boot.img image for faster boot keeping in mind my phone only boots from stock Boot.img file.
Restore to kitkat partitions (instructions from here).
Then wipe all data, reboot to recovery, and then flash again.
zeomal said:
Restore to kitkat partitions (instructions from here).
Then wipe all data, reboot to recovery, and then flash again.
Click to expand...
Click to collapse
What is the error ? And how is this method gonna correct it ?
nrdnandan said:
What is the error ? And how is this method gonna correct it ?
Click to expand...
Click to collapse
I have no idea of what the error per se is, but I remember having faced a similar problem and this is how I corrected it. I'm no developer.
nrdnandan said:
What is the error ? And how is this method gonna correct it ?
Click to expand...
Click to collapse
U can't flash cm13 or other mm ROMs if u r on miui lollipop bootloader.. Just downgrade to KitKat.
U can use this guide http://forum.xda-developers.com/redmi-2/how-to/rom-stock-kitkat-miui-6-fastboot-rom-t3375693
Sent from my 2014818 using XDA-Developers mobile app

Clean Restoration to Stock MIUI from Custom Marshmallow ROMS

Custom ROMs are awesome! But sometimes, you need to get back to stock MIUI. But you cannot directly flash the MIUI rom. Eventhough, if you have made a backup of stock miui, you ll face problems while restoring back from marshmallow based custom roms. You will get an error as " extractTarFork() process ended with ERROR 255 ".
Dirty Solution:
In TWRP, mount all partitions
Go to restore, and untick only "firmware"
Restore everything; and wipe cache, dalvik cache
Reboot system
Clean Solution:
Now from above solution eventhough you ll come back to miui, but while updating through updater app, you ll not be able to flash the OTA files. This happens only on some devices. If you are facing this, you need to follow all the above steps of dirty solution. Additionally, download fastboot rom, and flash using "Flash all", which will wipe your data and internal sd card data too.
Press Thanks if i helped you
Thank-you was searching for this..I'll try restoring now ..I'm on RR with cm13 radio flashed.and I never mind about ota but can I flash full recovery rom.zip from alka again ??
Pranbellam said:
Thank-you was searching for this..I'll try restoring now ..I'm on RR with cm13 radio flashed.and I never mind about ota but can I flash full recovery rom.zip from alka again ??
Click to expand...
Click to collapse
It will do.
Sent from my Redmi Note 3 using XDA Labs
MOVZX said:
It will do.
Sent from my Redmi Note 3 using XDA Labs
Click to expand...
Click to collapse
Bro ,can u plz tell me y is firmware failing to restore ..if u know..
This tutorial works 100%fine if any1 wants to go back to miui from cm13 based roms.but all u need to have is a twrp alka backup of miui ..
Yeah. Alka backup is required
How about we don't have miui backup to restore? Can I flash any miui fastboot ROM via miflash?
I have Unofficially unlocked boadloader with CM13 radio.
I have no problem with restore miui backup. But I am not able to flash ota updates. While flashing its opening twrp recovery and I have flashed it manually, but showing error.

[GUIDE] How to get CM 14.1 working.

Hi,
So I have created this thread just because I can see many people creating new threads as after flashing CM 14.1, their phone doesn't boot up. So for all those who are going to flash CM 14.1 or have already flashed it and can't get it working, this thread is for you.
What you will need:
1. Rooted OnePlus X (Obviously)
2. Custom Recovery (TWRP recommended)
3. Latest CM 14.1 build
4. Arsenic Kernel or BlackReactor Kernel
So this is how you get CM 14.1 working on your OPX (make sure your battery is above 80% just to be sure that nothing will go wrong considering battery's point of view)
Make sure you have backed up everything before performing the following steps as the process will wipe your data completely. (I would recommend to take a Titanium backup of all user apps and then taking a nandroid backup of system and data)
1. Download the required files and place them in your SD Card or internal storage
2. Reboot your device into recovery
3. Go to wipe, and swipe to factory reset (Note! This will completely wipe all the data from your device including app data and SMS! This won't wipe the contacts but just to be safe, have a backup of all your contacts)
4. Go to Wipe again, and go to Advanced wipe, select the following partitions - System, Cache, Dalvik cache. Swipe to wipe (Note! Make sure you have a backup of the System as this will wipe the Operating System from your phone!) Although this step isn't necessary, I like to do it.
5. Go to install, and direct to the location where you have saved the CM 14.1 zip file and the kernel. Select the files, and swipe to flash.
6. If you want anything else in your system, direct to that location, select the zip file, and swipe to flash. (Note! You need not flash the SuperSU zip file as CM offers Root access in developer options)
7. Reboot your system and wait for it to boot.
Viola! Your device is now running official CM 14.1 nightly.
Hope this helps! ?
Downloads:
1. Latest CyanogenMod nightly - found here https://download.cyanogenmod.org/?device=onyx
You can have any version of the nightly as long as it is CM 14.1
2. Arsenic Kernel R32 (or R31) - http://forum.xda-developers.com/oneplus-x/development/kernel-arsenic-kernel-r2-t3422020
Open the above thread and follow the guide
OR
Black Reactor kernel v1.0 - http://forum.xda-developers.com/oneplus-x/development/kernel-blackreactor-kernel-oneplus-x-t3460989
-Reserved-
Good Evening, @aamodjoshi23 THX a Lot. You are my Hero. Finally it works.
greetings
If you're facing some Error 7 while trying to flash cm 14.1, you can try updating the bootloader following this
http://forum.xda-developers.com/showpost.php?p=69267239&postcount=2560
I used the Oxygen OS 3.13 full ROM as recommended, edited updater-script (following those instructions)
Immediately after flashing the OOS 3.13 rom, you don't have to reboot.
I immediately flashed twrp 3.0.3 original from https://dl.twrp.me/onyx/
I then rebooted into twrp 3.0.3 (using the reboot button in twrp, then bootloader)
Then I installed (in this order):
cm 14.1 (https://download.cyanogenmod.org/?device=onyx)
arsenic kernel (as recommended above)
opengapps
Not sure if this step is necessary, but I wanted to let twrp patch the rom to not overwrite twrp so I rebooted into twrp again (using reboot --> bootloader in twrp)
Then I used reboot --> system
First boot took a while, but now I have nougat!!
kenel zip every time
Do i need to flash the kenel zip every time I update the the cm 14.1 zip file?
allons-y said:
Do i need to flash the kenel zip every time I update the the cm 14.1 zip file?
Click to expand...
Click to collapse
Yes, as when you flash the CM 14.1 build, the kernel that is provided with the build is also flashed, and that is not supported. So you need to flash it every time you flash a CM 14.1 build, but if you want to flash any other build, something like CM 13.0, then you need not as the kernels provided in those are supported.
aamodjoshi23 said:
Yes, as when you flash the CM 14.1 build, the kernel that is provided with the build is also flashed, and that is not supported. So you need to flash it every time you flash a CM 14.1 build, but if you want to flash any other build, something like CM 13.0, then you need not as the kernels provided in those are supported.
Click to expand...
Click to collapse
Hi,
I have a very specific problem. I rooted my Oneplus x few months back and everything was fine. I use to get update notifications and after downloading it use to update automatically. But since last 2 months i download the update files but it takes me to recovery and then i cant find the zip file to flash/install. (i also started using external sd card two months back, but not sure if it has to do anything with this). I tried searching a solution on web - tried checking 'system' under Mount tab, installed an app for auto update and some more but no use. I even connected my phone in recovery mode to laptop and copied the zip file to internal memory but while flashing it gave error.
Now i am not sure what the problem is. Do i need to update my recovery or something else. Pls help.
shashanksachdeva said:
Hi,
I have a very specific problem. I rooted my Oneplus x few months back and everything was fine. I use to get update notifications and after downloading it use to update automatically. But since last 2 months i download the update files but it takes me to recovery and then i cant find the zip file to flash/install. (i also started using external sd card two months back, but not sure if it has to do anything with this). I tried searching a solution on web - tried checking 'system' under Mount tab, installed an app for auto update and some more but no use. I even connected my phone in recovery mode to laptop and copied the zip file to internal memory but while flashing it gave error.
Now i am not sure what the problem is. Do i need to update my recovery or something else. Pls help.
Click to expand...
Click to collapse
First of all we need more info about your current ROM recovery etc.
Fap4k said:
First of all we need more info about your current ROM recovery etc.
Click to expand...
Click to collapse
I installed CM 13.0-20160928-NIGHTLY-onyx and the recovery is: TWRP v2.8.7.0 | blu_spark r8
I'll be grateful for a solution.
shashanksachdeva said:
I installed CM 13.0-20160928-NIGHTLY-onyx and the recovery is: TWRP v2.8.7.0 | blu_spark r8
I'll be grateful for a solution.
Click to expand...
Click to collapse
In October oneplus updated to 6.0.1 officially i.e OOS 3 it brings new bootloader to the device as you are using old recovery you can't flash new update..so you need to upgrade to latest bootloader by following thread available in general section or you can flash stock recovery and upgrade to latest OOS and flash whatever you want to flash..I recommend you to see how to upgrade bootloader in general section if you are planning to flash custom ROMs or if want to flash latest OOS then simply flash stock recovery and upgrade. onece you updated to OOS 3 after that you can flash new official twrp 3.0.3.0 from its official page.
Edit: for old bootloader you need stock 5.1.1 recovery..which is not available in official oneplus download page..so just follow below link
https://forum.xda-developers.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917
Fap4k said:
In October oneplus updated to 6.0.1 officially i.e OOS 3 it brings new bootloader to the device as you are using old recovery you can't flash new update..so you need to upgrade to latest bootloader by following thread available in general section or you can flash stock recovery and upgrade to latest OOS and flash whatever you want to flash..I recommend you to see how to upgrade bootloader in general section if you are planning to flash custom ROMs or if want to flash latest OOS then simply flash stock recovery and upgrade. onece you updated to OOS 3 after that you can flash new official twrp 3.0.3.0 from its official page.
Edit: for old bootloader you need stock 5.1.1 recovery..which is not available in official oneplus download page..so just follow below link
https://forum.xda-developers.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917
Click to expand...
Click to collapse
I made a blunder. I read somewhere to upgrade TWRP to 3.0.3 and after doing that now i just can't access the recovery mode. When i try to boot in recovery mode the screen gets stuck with One+ logo. Then I even tried to Factory reset and the phone rebooted to the same screen stuck with logo. I longed pressed the power button and it got switched off and then again turned it on. It started and is working fine but I cant factory set it, nor cant I access recovery to flash anything.
shashanksachdeva said:
I made a blunder. I read somewhere to upgrade TWRP to 3.0.3 and after doing that now i just can't access the recovery mode. When i try to boot in recovery mode the screen gets stuck with One+ logo. Then I even tried to Factory reset and the phone rebooted to the same screen stuck with logo. I longed pressed the power button and it got switched off and then again turned it on. It started and is working fine but I cant factory set it, nor cant I access recovery to flash anything.
Click to expand...
Click to collapse
This is because you flashed wrong recovery twrp 3.0.3 is for new bootloader and you are on old bootloader..that's why it all happened..so you just need to flash old recovery..then follow given link to upgrade bootloader and recovery.
shashanksachdeva said:
I made a blunder. I read somewhere to upgrade TWRP to 3.0.3 and after doing that now i just can't access the recovery mode. When i try to boot in recovery mode the screen gets stuck with One+ logo. Then I even tried to Factory reset and the phone rebooted to the same screen stuck with logo. I longed pressed the power button and it got switched off and then again turned it on. It started and is working fine but I cant factory set it, nor cant I access recovery to flash anything.
Click to expand...
Click to collapse
I've got a good news and bad news for you.
The bad news is, no one has the older 2.8.x TWRP image files and there are no threads that have the download links for the older version of TWRP. So you're stuck and you have lost your recovery. You have lost everything... Having no recovery means you can't do a lot of things like factory reset, any wipe of a partition, you won't be able to update your system, you won't be able to flash zip files to enhance your experience and many more... I'm sorry my friend...
The good news is, I've got you covered. I had saved the older TWRP so that if anyone one day would need that recovery image, I would be able to help them.
Download the older TWRP from here : https://drive.google.com/file/d/0B2Ms-zaNd3SiTmpxX0UtYUV2R1k/view?usp=drivesdk
Flash it. You should get back your recovery.
e: unknown command (log)
e: unknown command (log)
am not able to make my device android 7.0 running...
i tryed and install kernal after that but no luck, stuck on boot only 1 plus logo will appear, please recommend any solution.
Plush suthar said:
e: unknown command (log)
e: unknown command (log)
am not able to make my device android 7.0 running...
i tryed and install kernal after that but no luck, stuck on boot only 1 plus logo will appear, please recommend any solution.
Click to expand...
Click to collapse
Which ROM you are on currently?
If possible post screenshot of about device in setting.
Fap4k said:
Which ROM you are on currently?
If possible post screenshot of about device in setting.
Click to expand...
Click to collapse
using resurrection remix marshmallow 6.0...
Plush suthar said:
using resurrection remix marshmallow 6.0...
Click to expand...
Click to collapse
Did you ever updated bootloader?
If not than update your bootloader and install latest recovery!!
Plush suthar said:
e: unknown command (log)
e: unknown command (log)
am not able to make my device android 7.0 running...
i tryed and install kernal after that but no luck, stuck on boot only 1 plus logo will appear, please recommend any solution.
Click to expand...
Click to collapse
By stuck on boot, I didn't know you meant that it showed only the OnePlus logo and not even powered by Android.
In that case, follow this guide to update your bootloader :
https://forum.xda-developers.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917

How to revert back to miui8 stable rom from any custom rom?

Guys help me i am currently using cm14.1 with twrp recovery . i tried to flash the miui 8 stable rom using twrp but it was unsuccessful . how can i revert back to miui without using pc .thanks in advance
Arupam46 said:
Guys help me i am currently using cm14.1 with twrp recovery . i tried to flash the miui 8 stable rom using twrp but it was unsuccessful . how can i revert back to miui without using pc .thanks in advance
Click to expand...
Click to collapse
Without PC....
1)Flash stock recovery(search it in xda) by rashr/flashify/t.w.r.p.
2)Rename the ROM file by "update.zip" and place it in the root (best is outside of any folder)of internal memory.
3)reboot in stock recovery.
4)wipe user data (not all data )
5)select update.zip from stock recovery.
I flashed miui ROM by this process many time .But. It is best to flash miui ROM by fastboot..
I tried to flash stock recovery but it stucks on mi logo while flashing through flashify
Arupam46 said:
I tried to flash stock recovery but it stucks on mi logo while flashing through flashify
Click to expand...
Click to collapse
Did u try it from here.It always work with me.Or you have to search for a compatible stock recovery with ur model for flashing global miui ROM(without PC).
I tried this but it didnt workd
easy..!! flash twrp whichever build you were on.. reboot to twrp, wipe system, data, caches then flash miui8 any official build, you may get error 7 then go back and mount everything choose reboot to recovery again and flash miui8 this time it will be installed showing flashing firmware.
do caches wipe then reboot. done..!!
Arupam46 said:
Guys help me i am currently using cm14.1 with twrp recovery . i tried to flash the miui 8 stable rom using twrp but it was unsuccessful . how can i revert back to miui without using pc .thanks in advance
Click to expand...
Click to collapse
Stable MIUI, without Computer, Use Xiaomi.eu ROM for your device, they are zip which can be flashed easily with twrp 3.0 !! It's Pure MIUI with some more feature, also it gets update every Friday.

Max pro m1 bootloop? Please help

Hello, so im stuck now on startup. I actually rooted my phone a week ago and everything's fine until I've downloaded some cracked apks online and restarted my phone. Please help what would i do now
imgur.com/a/07UWA4l
Did you installed Twrp...if yes then you might want clear cache and restart the phone or you could just reflash the rom or any other custom rom....and if you havn't then i am afraid you will have to lose your data..
Paramvir Singh said:
Did you installed Twrp...if yes then you might want clear cache and restart the phone or you could just reflash the rom or any other custom rom....and if you havn't then i am afraid you will have to lose your data..
Click to expand...
Click to collapse
yes yes i've installed twrp, i've actually tried formatting my data, clearing dalvik cache (thru twrp) then restarted it but still stuck at loading zenfone logo. i dont care bout my data on phone, just wanna get my phone back to normal.
can u please elaborate bout reflashing rom? i've never done flashing any rom before , stock or custom,
Never done this on my M1 but on my note edge,
When i got a bootloop, i simply reinstall stock rom, or just clean install custom rom
abcnormal said:
yes yes i've installed twrp, i've actually tried formatting my data, clearing dalvik cache (thru twrp) then restarted it but still stuck at loading zenfone logo. i dont care bout my data on phone, just wanna get my phone back to normal.
can u please elaborate bout reflashing rom? i've never done flashing any rom before , stock or custom,
Click to expand...
Click to collapse
Ok so it's good opportunity to try something new...first you need to download custom rom and gapps package to sd card (always a better option)or internal storage...do the downloads on pc or somewhere else...
1. Wipe cache, dalvik cache, system, vendor, data, internal storage(this one is optional)
2. Mount extsd card
3. Install Rom package...(i personally use xenonhd based on pie) from here https://mirrors.c0urier.net/android...tal/X00T/XenonHD-181007-Experimental-X00T.zip
You can try any other of your choice
4. Install Gapps package from here..http://download2264.mediafire.com/r0vq21tabscg/m1u4llu62bdwyos/BiTGApps-arm64-9.x.x-0.1-unsigned.zip
5. This step is optional if you want root access then flash magisk package from here..https://github.com/topjohnwu/Magisk/releases/download/v17.1/Magisk-v17.1.zip and uninstall package from https://github.com/topjohnwu/Magisk/releases/download/v17.2/Magisk-uninstaller-20180921.zip ......after tge rom boot up install magisk manager from https://github.com/topjohnwu/Magisk/releases/download/manager-v6.0.0/MagiskManager-v6.0.0.apk
6. Reboot to system..first boot up will take 4-5 minutes...ENJOY
so i tried flashing the stock rom but i got an error
Code:
[B] This package is for "ASUS_X00TD" devices; this is a "X00TD"[/B]
i got the rom at asus.com/ph/Phone/ZenFone-Max-Pro-ZB602KL/HelpDesk_BIOS/
i guess i'll try flashing with a custom rom instead?
also a follow up question: is it safe to reboot to recovery with twrp even my phone has no OS installed (already wiped it for flashing a new rom)
abcnormal said:
so i tried flashing the stock rom but i got an error
Code:
[B] This package is for "ASUS_X00TD" devices; this is a "X00TD"[/B]
i got the rom at asus.com/ph/Phone/ZenFone-Max-Pro-ZB602KL/HelpDesk_BIOS/
i guess i'll try flashing with a custom rom instead?
also a follow up question: is it safe to reboot to recovery with twrp even my phone has no OS installed (already wiped it for flashing a new rom)
Click to expand...
Click to collapse
Stock rom available at asus website is not flashable through twrp...u need twrp flashable zip...download this file...
https://forum.xda-developers.com/showpost.php?p=77671149&postcount=83
And also decrypt file from here.... https://forum.xda-developers.com/asus-zenfone-max-pro-m1/how-to/mod-decrypt-data-t3787311
After flashing the rom...flash decrypt zip
And remember to wipe internal storage after flashing these two zips!
Hello sir i got stuck in bootloop in asus max pro m1
Actually its not showing anything screen is blinking as i try to turn it on. I was on custom rom and suppose to install stock rom and i followed every step but my phone doesn’t start its just reboot and nothing displays anything. Please can anyone tell me the solution of this issue.
did u solved issue
how did u soolves issue ??

Categories

Resources