Restore to stock ROM without PC - Realme 2 pro Questions & Answers

Is there any way to restore the stock color os without using pc?

Are you on a custom rom with custom recovery ( r2x2, twrp, etc ... ) ?

AID to all
udayxd said:
Is there any way to restore the stock color os without using pc?
Click to expand...
Click to collapse
If you are in a custom recovery, then flash the stock recovery first. Keep the latest firmware of Color OS (ozip) from Realme's website downloaded into your SD Card. Steps:
1. Now boot to stock recovery.
2. Wipe internal storage from there.
3. Then tap on 'Apply Update from Storage'.
4. Select SD Card and select the ozip file downloaded and click confirm.
Yes, and your phone will boot up into the stock OS and thereafter if you wish, you can relock the bootloader and apply to exit in depth test to get future OTA updates.... Hope it helps !!!!!!

by following this mathod can i go back to color os 5.0 (i have locked bootloader)

You Can Try
Meraj018 said:
by following this mathod can i go back to color OS 5.0 (i have locked bootloader)
Click to expand...
Click to collapse
If you already have a locked bootloader and installed pie-beta update already, then this process of downgrading might not work. However, you can try it. If that doesn't work you may have to install TWRP once again and clear the 'Internal Storage' in the Advanced wipe section again to remove your current version of Color OS, and then repeat the above mentioned process. Be careful !!! Do a full backup of your files and all personal info once again.

Related

Possible Easy Un-root

[REVISED]
1. Download repacked stock rom, stock recovery and stock firmware 3.1 update:
Repacked stock rom:http://dl.project-voodoo.org/transformer-roms/3.0.x/
Stock recovery:http://forum.xda-developers.com/attachment.php?attachmentid=606402&d=1306284085
Stock firmware update: http://support.asus.com/Download.aspx?SLanguage=en&m=Eee+Pad+Transformer+TF101&p=20&s=16
2. Copy the files onto your micro sd
3. Boot into recovery. install repacked stock rom. Wipe all data, cache partition and dalvik cache. Reboot the tablet let it boot up then shut it down.
4. Boot into recovery and install stock recovery. Wipe all data, cache partition and dalvik cache. And then reboot and shut down.
5.
a.Boot into OS, there should be a notification for an update. select it and follow instuctions. Or
b.Boot into recovery(it should be stock recovery) then press up volume button within five seconds and the official update should install.
6. It should reboot automatically. When it does check about tablet info and check your apps to make sure the Super User icon is gone.
7.Return it.
I am european there is a version WW?
There is a thread here with the stock 3.1 image I've used nvflash sucessfully to install it. NVflash is a breeze after you have the images it takes like 3 minutes. I did it out of the box with the 2nd one in the parking lot from my laptop.
reference
I got the stock recovery from this link:
http://forum.xda-developers.com/showthread.php?p=14113508#post14113508
Here is another link I found helpful:
http://forum.xda-developers.com/showthread.php?t=900875
Just follow this thread
http://forum.xda-developers.com/showthread.php?t=1093403&highlight=unroot
baseballfanz said:
Just follow this thread
http://forum.xda-developers.com/showthread.php?t=1093403&highlight=unroot
Click to expand...
Click to collapse
Yeah, but the way I unrooted it works without having to use a command prompt.
I think I may have flashed stock recovery then flash stock rom, not totally sure but it worked.
philipwest said:
Yeah, but the way I unrooted it works without having to use a command prompt.
I think I may have flashed stock recovery then flash stock rom, not totally sure but it worked.
Click to expand...
Click to collapse
But after you've restored the tf101 with your method, check if you have tried to see the update to 3.1? There may be problems if I upgrade? super user icon has disappeared?
Stephen88 said:
But after you've restored the tf101 with your method, check if you have tried to see the update to 3.1? There may be problems if I upgrade? super user icon has disappeared?
Click to expand...
Click to collapse
Should be good enough to return right? I have not tried the upgrade because I'm about to return it for a backlight bleed issue. No CWM recovery but super user icon is still there.

[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

Dont turning on after install custom rom

Hi, after installing custom firmware (i tried 2 different) my A500 don't turning on. What do I wrong?:
1 downgrading to offical 3.0.1
2.install root
3CWM 1.7 >>1.7.3
4 v8 bootloader (first time didn't do that)
5 download to SD firmware and gapps
6 install firmware and then without rebooting(can this be the problem?) Install gapps
After rebooting device don't turning on only power button lighting. First time downgrade helps, but the second only flash recover((
What do I wrong and how to install custom rom without killing device?
P.s I need only 3g modem support, may be there is the way to install patch on offical firmware?
Sorry for English)
vnuEndru said:
Hi, after installing custom firmware (i tried 2 different) my A500 don't turning on. What do I wrong?:
1 downgrading to offical 3.0.1
2.install root
3CWM 1.7 >>1.7.3
4 v8 bootloader (first time didn't do that)
5 download to SD firmware and gapps
6 install firmware and then without rebooting(can this be the problem?) Install gapps
After rebooting device don't turning on only power button lighting. First time downgrade helps, but the second only flash recover((
What do I wrong and how to install custom rom without killing device?
P.s I need only 3g modem support, may be there is the way to install patch on offical firmware?
Sorry for English)
Click to expand...
Click to collapse
When you install a custom Rom, you have to wipe the original Data first. This is done in the CWM recovery which you installed.
When you boot to CWM Recovery, you have a menu item "Wipes"
In Wipes;
1. Data/Factory Reset (don't worry, it skips your photos and such)
2. Cache
3. Dalvik Cache
Wait, you're not finished.
Go back to the previous menu, and select "Mounts and Storage".
1. Format System
2. Format Flexrom
Now, go back to the previous menu, and select Install Zip from SD (or similar)
Install the Rom.zip you downloaded.
This should get you going. Note that it usually takes about 15 minutes for this process, so make sure you have a charged battery.
Also, just so you know, if you are running a stock rooted rom, there is an app called PPP in the 500 Apps and Themes forum, which allows you to use a USB Modem. So check it out.
MD

[GUIDE][How to][custom recovery] [custom rom][Redmi Note 3 SD]

I am not responsible for anything done wrong for you and your device. Sorry!!
You have two options to follow, the 1st one is long, may be difficult to follow. I recommend you to read option 1 and 2 both but to follow option 2
OPTION 1
Hello friend this is a short tutorial for those who have just bought the Beast Red Mi Note 3.
This guide is only for Redmi Note 3(Qualcomm Snapdragon 650 2GB/3GB version) users.
The Device's codename is kenzo. It also called Xiaomi Redmi Note 3 Pro. On MIUI sites Its also mentioned as HMNote3Pro so don't get confused.
The below mentioned MiFlash-Tool is required in emergency. Installing Mi-FlashTool in PC also install all the Quallcomm and Xiaomi Drivers to make your device function with PC at any mode( recovery, fastboot or system mode) Make sure before installing MiFlash-beta setup, You have disabled Driver Signature Enforcement in your Windows PC. To know how to disable check on Microsoft sites for your particular OS.
Requirements
1. A PC with windows 7,8,8.1 or 10 32-bit or 64-bit with .NET Framework version 3.5 installed. Before you install Mi Flash. To download .NET framwork visit the microsoft website.
2.Download Xiaomi MiFlash-Beta(This beta version works good and also support 32-bit Windows OS) http://en.miui.com/forum.php?mod=at...2NGJkfDE0ODE4MTQxMTh8MTU5MjAzMDUwMXwyODE5Nzk=
3.TWRP Recoveries- download all these 3 recoveries
a. Alka TWRP http://en.miui.com/forum.php?mod=at...xMmZifDE0ODE4MTY5NzZ8MTU5MjAzMDUwMXwyODI3NzM= (for emergency backup and restore) (this recovery is most necessary to backup all the partition of our device. RN3 comes with all about 40 partitions, and their are many important files stored their. So at anytime you get any problem just restore. The recovery image file is compressed in a .zip file. Therefore, you may need to firstly extract it using Winzip on your PC or extract it using ES File Explorer on your phone. One more thing, this build is for Redmi Note 3 Qualcomm Snapdragon (Kenzo).
b. Cofface TWRP https://drive.google.com/open?id=0B5bSNUUrjm6JQjFhUEkzZXZ2bkk (zip password www.cofface.com)
c. Official TWRP https://dl.twrp.me/kenzo
If you want to flash custom Rom like Cyanogenmod, xiaomi.eu, Resurrection Remix etc. This tutorial will help you to use all those thing which can be done on our Beast .
:angel: first of all you guys get the Bootloader unlocking permission from en.miui.com/unlock/ (recommended) and always sign in the Mi Account with valid mobile number and e-mail which is used by you currently and can be accessed by you anytime. Goto setting in the phone and register for Mi account and login. Enable Find Device feature.
i have not checked ZC-X TWRP RECOVERY because i have seen some people getting problem from zcx, but now it is upgraded. So it can be universal for everything( like flashing any official/stock/custom rom(as cofface and official do), maybe it supports all partition backup( like alka do) and also it can be used to update or upgrade you MIUI based rom. Check it at your own risk.
3.USB DATA cable (the one that came with your device).
4. device battery charged at least 50%.
5. A good observer and patient most of patient.
I don't think about any other way to unlock bootloader. You can find them on other places but I don't find them easy than this.
So I am supposing that you guys using your phone with stock MIUI Rom that should be MIUI 7 or MIUI 8 with stock recovery and You got the permisssion official to unlock your beast .
So just unlock the bootloader by using MiUnlock tool from PC. Store all these tools in your PC for future process.
Now you have unlocked bootloader to check the status just boot your phone into fastboot mode by pressing volume down+power key when your device is off then use this fastboot command fastboot oem device-info to check the bootloader info if it says bootloader unlocked:true then you are ready to go. If you don't know how to setup adb-fastboot environment and driver check it here http://forum.xda-developers.com/showthread.php?t=2588979
Put unlocked bootloader phone in fastboot mode,connect device to PC using USB cable and check the bootloader status again to verify it is unlocked or not by using command fastboot oem device-info. Now copy(don't cut because you should have a backup plan for each process) all the recoveries ALKA TWRP, CoffaceTWRP and official TWRP recovery to the adb fastboot folder and rename alka twrp to alka.img,cofface twrp to cofface.img and official twrp to official.img. Please copy and rename one by one for don't getting confused. If you accidently rename cofface to alka then it will be not good to you after flashing. So take each step carefully.
(if you have managed environment variables on PC then you can use adb fastboot commands any where in PC, That is a good idea. So if you want to know how to set environment variables just comment here I will give you all the steps.)
Now just press continuously the Shift key and press RIGHT CLICK on the blank area of window.
An option menu will be showed click on open command prompt here.
A black backgrounded command shell will be opened.
Now type fastboot oem device-info and press enter key.
If it shows bootloader unlocked :true then proceed to the step 1 and if shows false then don't proceed unlock your bootloader which is shown above with this symbol :angel:.
Step 1:
A.First of all take backup of internal sd by copying all the folder and files in your PC's folder and name this folder to KenzoInternal you can use any name. And delete more files in internal to get atleast 5GB space.
B.You shuould have atleast 5GB space in your internel to back up your all device partition through ALKA TWRP.
C. copy all three recoverys(cofface.img,official.img and alka.img) in your phone's Internal SD directly or make a folder recovery and place there.
Now go,read and follow the instruction from below
Boot your phone in fastboot mode and connect with PC
open command prompt in adb-fastboot folder where you have copied all the recovery images(official.img,cofface.img and alka.img)
Type on command prompt:
fastboot flash recovery alka.img
it will be flased in atleast 10 seconds.
Now we have to go directly to recovery mode from fastboot mode not in system so care fully press volume up + power key at the same time in your REDMI NOTE 3 and when your device vibrate leave the power key but don't leave the volume up key until the recovery window get shown. If your device get booted to system not in recovery then maybe your flashed 'alka' will be replaced with stock recovery, and may be it get bootloop or maybe it will boot successfully but have some problems like Wi-Fi radio get disabled.
Read the above step again and do everything carefully.
Step 2:
[[ If on welcome screen the language shows in chinese or other, then simply swipe on first screen and touch on the 2nd column and 3rd row in menu and then touch on the icon(shows like earth or sphere) and choose English and then done. ]]
In recovery go to BACKUP and mark all the partition I said all the partitions (you can leave unmarked the DATA partition if you are not wanting to make backup of your own installed applications and their data. It will decrease the backup size and also the TIME) their may be 35+ partitions. And swipe to backup. Their are some partitions like system,efs(stores modem and radio and may be your IMEI information) etc have the sensitive data. So you are mostly recommended to mark all the partition except DATA(optional).
GREAT!!! wait until getting backup.
Step 3:
Now touch on Install menu in recovery and touch on Install Image that is always in the right below of the screen upto the swipe handle.
Now browse to the root of internal sd or the folder where you have copied all the recovery images(cofface.img,alka.img and official.img). And choose the cofface.img and swipe to install.
Now get back by touching on back arrow symbol on left bottom.
Step 4:
Touch on REBOOT menu in recovery and then touch on Reboot to recovery or to recovery.
Your RN3 will reboot again to recovery(which is now cofface).
[[ If on welcome the language shows in chinese or other then simply swipe on first screen and touch on the 2nd column and 3rd row in menu and then touch on the icon(shows like earth or sphere) and choose english and then done. ]]
Now touch on reboot and thenreboot to system.
If it shows that your recovery will be
If any query shows saying your phone is not rooted just touch on Do not Install
your phone will boot to MIUI system as it was. and it has a custom recovery(currently cofface).
if you want to root your device then download superSu.zip from https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip and place it in your internal sd card of phone and then boot to recovery by pressing power key+volume up key on same time then go to install and choose to install for supersu_vx.xx.zip file and swipe to flash. Then get back and wipe cache and dalvik/ART cache or some times it also reboots automatically.
Kindly follow the on-screen instruction which shows on screen during installation.
NOTE: It may be bootloop or take too much time on first boot after installing superSu.
SuperSU app and all the applets(including busybox tools) also comes with superSU zip file. So no need to install it through PlayStore. However you can update from PlayStore.
You are strongly recommended to take the backup(whole partition backup taken by ALKA TWRP) and copy it to Your PC that is the life of your mobile. I know you can flash An official MIUI rom through PC using fastboot or EDL method but If you lost your EFS partition then You will lost your IMEI which is unique to each and every devices. In Qualcomm Snapdragon based phone It is hard to recover IMEI. I say hard not impossible. Their are many forum that give solution to this but It is highly recommended to have this backup copy to your PC. You can find your backup in the /sdcard/TWRP/Backup/ OR open Internal SD then go to TWRP folder then open BACKUP and then a folder like 5exxxye. just copy this folder to your PC and keep it safe or you can save it to other places also that will be more good and also show your smartness.
How to install custom ROM or OSs in RN3Snapdragon?? Hmm come here
NOTE: Always flash all custom ROM(Except MIUI) through official TWRP. But when you have made your mood to install custom ROM you have to flash official twrp through either with TWRP(currently cofface in your device) or with fastboot command using same method that I have explained above when we have flashed coffaceTWRP in your device or use this commandfastboot flash recovery official.img
I have tested many ROMs but I found most stable Resuurection Remix(based on Marshmallow) and CyanogenMod 13(based on Marshmallow) yet. Everything is working fine except VoLTE. Their are many available ROms that supports VoLTE based on Nougat(Android 7.0 or 7.1) but have some bugs with camera. (The Cyanogenmod 14.1 officially is also declared but in experimental mode(nightly)(not recommended for you.))
I am going to show you the steps to flash custom ROMs without getting into any problem but you are recommended to follow each steps carefully. Thanks
Suppose you have downloaded official released Cyanogenmod 13 for your phone from here https://download.cyanogenmod.org/get/jenkins/174586/cm-13.0-20160816-SNAPSHOT-ZNH5YAO0FI-kenzo.zip (It is recommended to download it to your PC for backup plan). Having a copy of this backup in your PC makes you free to delete it from internal SD to free the space when you are in a Stable Rom or in a ROM you loved and want to be always with it.
then place it to your internal SD. now follow these steps... Check out your device battery is 50+ % charged.
Step 1:
Reboot to recovery. Go to install and choose install image. Now choose official.img(officialTWRP) and then swipe to flash/install it.
Step 2:
Now reboot again to recovery by choosing REBOOT in recovery menu and then RECOVERY
your phone will be rebooted to official TWRP recovery which is not supported by MIUI. I mean official recovery doesn't have the ability to patch the boot image., that is why I said it is not supported.
Step 3:
Now go to wipe/format menu in TWRP recovery(I am supposing you have the back up with alka twrp before and have copied it to your PC also.). Choose 'advanced wipe' and Mark these partition System,Data,Cache,Dalvik/ART cache. Do not choose Internal SD, Micro SD or USB OTG. and swipe to wipe.
Step 4:
After wiping now you have not any Operating System installed. Just touch INSTALL in RECOVERY MENU and choose the ROM ZIP file which is cm-13.0-20160816-SNAPSHOT-ZNH5YAO0FI-kenzo.zip (for example). Always use the ROM that is build for Your Device. Since above zip file's name shows it is for kenzo that is your RedmiNote3 Quallcomm Snapdragon.(just check the underlined word in zip file.)
and swipe to flash and wait no matter how much time it takes. Just wait don't try to reboot.
if you want to flash google apps(GApps) like play store and play store services you have to install it also after flashing the ROM zip file. to download GoogleApps go to opengapps.org and choose arm64 from architecture menu and choose android version for this ROM(Cyanogenmod 13) choose 6.0. choose which package you want I recommend you to use pico it will only install play store and services and you can also install other google apps through Play Store later.
If you want all google apps then choose 'aroma' it has a built-in file explorer to choose particular app in recovery.
Step 5:
After installing cyanogenmod and GApps wipe cache and Dalvik/ART cache again. Do not wipe anything else.
Now its time to reboot to the system.
first time it will take atleast 2 to 10 mins (depends on the open GApps package type) for optimization of apps.
After that go and enjoy..
Any problem comment below.
To revert back to MIUI again.
just copy the backup folder you have taken before, to the folder /sdcard/TWRP/BACKUP/ and reboot to recovery(currently official).
and choose to install image in recovery menu and then choose alka.img and then reboot to recovery again(using recovery menu).
You will again reboot to recovery (currently ALKA).
In alka recovery menu choose to WIPE and wipe these partition SYSTEM,DATA,CACHE,DALVIK/ART CACHE.
then choose RESTORE from recovery menu and select your backup folder and it will show the list of all the partition you have made backup. Mark all and swipe to restore.
Note:sometimes it shows an error during restore that it can't restore firmware partition. If it show this error kindly choose to restore again and mark all partition except firmware partition then swipe to restore.
After restoring backup(MIUI) do not reboot just. choose to install image and install cofface.img again because this recovery works with MIUI.(Cofface twrp paches boot image automatically which is required to make custom recoveries to work with MIUI ROMs ) after installing cofface.img. Reboot to recovery again and then reboot to system.
Now wait if it takes too much time (may be 15 to 20 mins).
Now you are come back to your MIUI ROM.
MUST READ:
1.Always check your bootloader status after and before flashing any ROMs(boot to fastboot mode connect USB to PC and type the command in command window fastboot oem device-info.
2.If any time it shows bootloader unlocked: false then use Mi Unlock tool to unlock the bootloader again. You have to use same user-name/mobile number/e-mail and password to sign-in the UnlockTool which you have sihned in your phone.
3.No matter how many ROM you have flashed or which OS you currently using. MiUnlock-tools always recognises your phone.
4. During unlocking the phone your PC must have an internet connection from other sources.
5.You can't use your phone's wi-fi hotspot to unlock its bootloader because it should be in fastboot mode.
6.Always make back up and store them in safe place.
Credit
to the respective developer,manufacturer.
OPTION 2
Now you can use zcx recovery which is Universal to flash custom/stock/miui ROM without any problem. So unlock your bootloader and flash ZC-X twrp recovery, and follow the instruction comes with it, you don't need to follow the long procedure given above. You should use it with Marshmallow based MIUI ROM too which comes with by default DATA partition encryption. It can automatically decrypt DATA partition. So go for it here https://www.google.co.in/url?sa=t&r...DwoAzQEtfzPxp4Shw&sig2=SOZcDMBpgO_teBIK6lNnhw
Thanks any problem comment below. Enjoy
can't i use zc-x rom ? for all purpose ?
You can.. but must use alka twrp for backup and restore
jangid said:
can't i use zc-x rom ? for all purpose ?
Click to expand...
Click to collapse
What do you mean by zc-x rom? If you want to say zcx recovery then yes You can.. but must use alka twrp for backup and restore always
If i want to flash custom MiUi rom like miui.eu or epic miui ROM, should I use cofface recovery or official twrp ?
Sent from my Redmi Note 3 using XDA-Developers mobile app
This tut has been pretty clear but I have a typical doubt! If I unlock my phone using mi flash tool by using the miui7.1.8 fastboot rom and flash twrp and if I later how do I update my miui? If I would be able to update it in some way doesent the bootloader get locked again? If it gets locked and I need to downgrade to older miui version! Pls help!
If I use offical twrp and take my unrooted miui backup and flashed cm14.1 and then latter restore my unrooted miui i wouldn't work?
---------- Post added at 05:58 AM ---------- Previous post was at 05:57 AM ----------
Also we can't flash cm14.1 rom using any other recoveries like Alka zcx coaffe ?
gaurav1322 said:
What do you mean by zc-x rom? If you want to say zcx recovery then yes You can.. but must use alka twrp for backup and restore always
Click to expand...
Click to collapse
Seriously dude , zcx supports all partition backup like alka twrp+6.0 encryption problem is also solved ,inbuilt boot image patcher + miui ota support
This guide just made procedure to flash ROMs more hectic and uneasy and long process.
I Recommend user to just flash zcx twrp and do all the stuff you want,flash any roms including miui.
NVDX11 said:
Seriously dude , zcx supports all partition backup like alka twrp+6.0 encryption problem is also solved ,inbuilt boot image patcher + miui ota support
This guide just made procedure to flash ROMs more hectic and uneasy and long process.
I Recommend user to just flash zcx twrp and do all the stuff you want,flash any roms including miui.
Click to expand...
Click to collapse
Can i restore miui backup after flashing cm14.1 in zcx recovery ?
a.broken.star said:
If i want to flash custom MiUi rom like miui.eu or epic miui ROM, should I use cofface recovery or official twrp ?
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Then must use cofface because MIUI based custom rom like
Xiaomi.eu etc. Are also need boot image patching..but 1st
Take full nandroid backup through alka and copy it to pc
Before flashing it. After flashing MIUI based custom rom use
Check your bootloader status because some of them locks your Bootloader again..
ckflash09 said:
This tut has been pretty clear but I have a typical doubt! If I unlock my phone using mi flash tool by using the miui7.1.8 fastboot rom and flash twrp and if I later how do I update my miui? If I would be able to update it in some way doesent the bootloader get locked again? If it gets locked and I need to downgrade to older miui version! Pls help!
Click to expand...
Click to collapse
1st of all the bootloader status(lock/unlock) get changed
From rom to rom. So everytime if you wanna flash something
Like any rom(official/stock/custom) or any recovery you need to check your bootloader status 1st. I have told in post that if u wanna flash Miui rom or wanna update it,just flash through cofface recovery. And one thing to remember, never downgrade miui version through cofface (for example Miui8 to miui7). But if u want to upgrade(for ex. Miui7 to miui8) or want to update(ex.- miui 8.0.1 to miui 8.1.1 or something like this) then you can use cofface twrp recovery and also zcx twrp recovery. Before flashing make sure you have full backup through alka twrp. You should read the post again.
vikasb32 said:
If I use offical twrp and take my unrooted miui backup and flashed cm14.1 and then latter restore my unrooted miui i wouldn't work?
---------- Post added at 05:58 AM ---------- Previous post was at 05:57 AM ----------
Also we can't flash cm14.1 rom using any other recoveries like Alka zcx coaffe ?
Click to expand...
Click to collapse
It will work if your miui backup from official twrp contains backup of firmware partition. Since official twrp doesn't supports all partition backup. So you need to flash a miui based fastboot rom then unlock bootloader again if it get locked and then flash alka to take all partition backup then save this backup to pc. And after that check the post again for what you want.
vikasb32 said:
Can i restore miui backup after flashing cm14.1 in zcx recovery ?
Click to expand...
Click to collapse
Yep sure! No prob.
NVDX11 said:
Seriously dude , zcx supports all partition backup like alka twrp+6.0 encryption problem is also solved ,inbuilt boot image patcher + miui ota support
This guide just made procedure to flash ROMs more hectic and uneasy and long process.
I Recommend user to just flash zcx twrp and do all the stuff you want,flash any roms including miui.
Click to expand...
Click to collapse
you are right but zcx doesn't support all about 40 partitions. Maybe it comes with all features that we get in all other twrp recoveries like cofface,alka etc. but for whole partitions backup alka is necessary.
But it is true that ZCX supports important partitions that are more important while ALKA twrp supports whole with important and not important
This post is not so long or uneasy. It is for noobies to understand. This is not for PROs. Thank you!
gaurav1322 said:
you are right but zcx doesn't support all about 40 partitions. Maybe it comes with all features that we get in all other twrp recoveries like cofface,alka etc. but for whole partitions backup alka is necessary.
Click to expand...
Click to collapse
Zcx supports all partitions backup,i am using it for long time,never faced a single prob and i am not shooting arrows in dark bruh,i have tested and its my experience,if you dont believe try it by urself.
But just dont post like it doesnt support partition backup like alka.
NVDX11 said:
Zcx supports all partitions backup,i am using it for long time,never faced a single prob and i am not shooting arrows in dark bruh,i have tested and its my experience,if you dont believe try it by urself.
But just dont post like it doesnt support partition backup like alka.
Click to expand...
Click to collapse
okk bro I am wrong. I am also using it and thanks for the info. I will add it in the tutorial. Thanks
No problem bro, i know you have made guide for new comers( i wont call them noobies) & it's a good one.
But i am just in favor of "if we can do things on easiest way,no need to choose harder ones"
I will try to suggest if some steps need to be included and what other things which we can short doing the flashing procedures.
NVDX11 said:
No problem bro, i know you have made guide for new comers( i wont call them noobies) & it's a good one.
But i am just in favor of "if we can do things on easiest way,no need to choose harder ones"
I will try to suggest if some steps need to be included and what other things which we can short doing the flashing procedures.
Click to expand...
Click to collapse
Thats the good idea bro actually i haven't any knowledge about zcx recovery till the post was submitted. And I have seen somewhere that it comes with few bugs but I think now it gets updated.
Now I am going to re-post the tutorial by editing it and at last thank you so much..
Flashed miui globle dev rom in unofficially unlocked bootloader
even flashed lazy flasher script
disabled dm verify
yet bootloader got locked
now how to flash rom without loosing data
Trustzone error 7
Hello,
currently i am on MIUI 8.2 and when i try to flash any custom ROM based on android N like Lineage OS or Resurrection Remix ROM using official TWRP, I always get trustzone error 7 with following messege:
Checking for TZ version TZ.BF.4.0.1-77307
assert failed: xiaomi.verify_trustzone("TZ.BF.4.0.1-77307") == "1"
Updater process ended with ERROR: 7
which prevents me to flash any of the ROMs. Please help me out....

Some confusion about flashing a custom ROM

Hello,
I have some difficulty understanding the tutorials on how to simply install a custom Android Oreo ROM along with GApps. I noticed there are some differences between them which confuses me.
I have a non-rooted Samsung S4 i9505 with the stock Samsung Touchwiz. I don't have any SD card and I want to install the custom ROM without a PC.. Here are my questions:
1. Tutorials say that I have to root my device before installing a custom ROM while people in threads say that it is not needed. Do I have to root the device or not?
2. Is the next step to unlock bootloader?
3. Do I then have to install TWRP? Or is it not necessary and do I simply have to put the ROM's and GApp's .zip files in the internal memory of my phone and boot into recovery mode?
JohnnyGui said:
Hello,
I have some difficulty understanding the tutorials on how to simply install a custom Android Oreo ROM along with GApps. I noticed there are some differences between them which confuses me.
I have a non-rooted Samsung S4 i9505 with the stock Samsung Touchwiz. I don't have any SD card and I want to install the custom ROM without a PC.. Here are my questions:
1. Tutorials say that I have to root my device before installing a custom ROM while people in threads say that it is not needed. Do I have to root the device or not?
2. Is the next step to unlock bootloader?
3. Do I then have to install TWRP? Or is it not necessary and do I simply have to put the ROM's and GApp's .zip files in the internal memory of my phone and boot into recovery mode?
Click to expand...
Click to collapse
1- Does your phone have a locked or unlocked bootloader?
2- You don't need root to install a custom rom.
3- You need to install a custom recovery like "TWRP" or "PhilzTouch".
4- External storage like SD Card or OTG USB is recommended but not must.
None of the Samsung s4 phones have a locked bootloader except the s4 sold by USA carriers.
I do not recommend using Philz to flash a custom ROM as Philz is based on CWM and CWM has not been updated for years.
Does the USB port work on the phone? Is it recognized by a PC when connected?
RubbaBand said:
1- Does your phone have a locked or unlocked bootloader?
2- You don't need root to install a custom rom.
3- You need to install a custom recovery like "TWRP" or "PhilzTouch".
4- External storage like SD Card or OTG USB is recommended but not must.
Click to expand...
Click to collapse
Thanks for the reply. How do I check if the bootloader is unlocked? And how to install TWRP?
audit13 said:
None of the Samsung s4 phones have a locked bootloader except the s4 sold by USA carriers.
I do not recommend using Philz to flash a custom ROM as Philz is based on CWM and CWM has not been updated for years.
Does the USB port work on the phone? Is it recognized by a PC when connected?
Click to expand...
Click to collapse
It is recognised by the PC yes. I have to make sure the bootloader is unlocked but I don't know how.
If you have a GT-i9505, the bootloader is not locked. Using software to unlock the bootloader will probably hard brick the phone. Google XDA and you will find further answers to your question.
Regardless of whether the bootloader is or is not locked, there is always a risk that flashing software to the phone can cause it to brick.
audit13 said:
I do not recommend using Philz to flash a custom ROM as Philz is based on CWM and CWM has not been updated for years.
Click to expand...
Click to collapse
Yes PhilzTouch is outdated but i'm still using it on 7.x without any problems.
JohnnyGui said:
Thanks for the reply. How do I check if the bootloader is unlocked? And how to install TWRP?
Click to expand...
Click to collapse
1- What's your phone model?
2- Can you insert any sim card without any problem? If yes it means it's unlocked.
3- Download TWRP for your device model.
4- Download Odin.
5- Go to download mode on your phone.
6- Connect phone to pc .
7- Open Odin and select PDA.
8- Locate and select the "TWRP" file.
9- Select Start.
10- Wait phone to reboot.
It's good that you are able to use CWM/Philz. I used it on my s2 and s3 for a while. When I moved to the s4, I switched to TWRP since many ROM developers recommend using TWRP to flash. I then moved to the s6 for a little and then the s7.
RubbaBand said:
Yes PhilzTouch is outdated but i'm still using it on 7.x without any problems.
1- What's your phone model?
2- Can you insert any sim card without any problem? If yes it means it's unlocked.
3- Download TWRP for your device model.
4- Download Odin.
5- Go to download mode on your phone.
6- Connect phone to pc .
7- Open Odin and select PDA.
8- Locate and select the "TWRP" file.
9- Select Start.
10- Wait phone to reboot.
Click to expand...
Click to collapse
Thanks a lot for the tutorial. After that, should I put the Custom ROM and the Gapps in the internal memory (any folder?) and then put the phone into recovery mode? Or does the TWRP already bring you to the installation after the reboot (your step 10)?
JohnnyGui said:
Thanks a lot for the tutorial. After that, should I put the Custom ROM and the Gapps in the internal memory (any folder?) and then put the phone into recovery mode? Or does the TWRP already bring you to the installation after the reboot (your step 10)?
Click to expand...
Click to collapse
Yes, put them in any folder you prefer. The phone will only reboot to the os, even if it reboots to the recovery i recommend going into recovery manually. After that clear data/data & cache & system, then install the zips and reboot.
RubbaBand said:
Yes, put them in any folder you prefer. The phone will only reboot to the os, even if it reboots to the recovery i recommend going into recovery manually. After that clear data/data & cache & system, then install the zips and reboot.
Click to expand...
Click to collapse
So these are basically all the mentioned steps?
1. Make sure the phone is recognised by the PC via USB
2. Download TWRP for your device model.
3. Download Odin.
4. Go to download mode on your phone.
5. Connect phone to pc .
6. Open Odin and select PDA.
7. Locate and select the "TWRP" file.
8. Select Start.
9. Wait phone to reboot.
10. Put the Custom ROM and GApps in any folder of the internal
memory that you prefer
11. Manually reboot into recovery mode (hold ON/OFF, Home and Volume Down button all at once)
12. Clear data/data & cache system
13. Install the Custom ROM and then GApps.
Are these steps alltogether correct?
(Another question, is it not possible to flash with a Custom ROM and Gapps without using a PC at all?)
JohnnyGui said:
So these are basically all the mentioned steps?
1. Make sure the phone is recognised by the PC via USB
2. Download TWRP for your device model.
3. Download Odin.
4. Go to download mode on your phone.
5. Connect phone to pc .
6. Open Odin and select PDA.
7. Locate and select the "TWRP" file.
8. Select Start.
9. Wait phone to reboot.
10. Put the Custom ROM and GApps in any folder of the internal
memory that you prefer
11. Manually reboot into recovery mode (hold ON/OFF, Home and Volume Down button all at once)
12. Clear data/data & cache system
13. Install the Custom ROM and then GApps.
Are these steps alltogether correct?
(Another question, is it not possible to flash with a Custom ROM and Gapps without using a PC at all?)
Click to expand...
Click to collapse
Download Mode: Hold power button + Home + Volume down
Recovery: Hold power button + Home + Volume up (Hold until s4 logo appear and let go)
Clear data/data & cache & system
Yes you can download and install them directly into phone, The only thing that needs a pc is installing the recovery.

Resources