How to clean install custom ROM.
I have MIUI ROM and i want to try diffrent ROM ,
please tell me how to full wipe data ( completely remove MIUI) except sd data like music, movies..etc.
Thank you...
rom dev already made update script that will wipe all thing inside your phone when you flash his rom,you also can manually wipe data,dalvik and cache,no sd data will be wiped
rashid.fairus said:
rom dev already made update script that will wipe all thing inside your phone when you flash his rom,you also can manually wipe data,dalvik and cache,no sd data will be wiped
Click to expand...
Click to collapse
Not always (TEAM does not do this. )
easiest way is to grab a Stock Firmware FTF file then flash it with Flashtool. there are huge big guides in general so i'll let you find them.
this will wipe everything and put the stock kernel on
Pvy.
Related
After playing around with several ROM / kernel combinations I am looking to return to the latest stock Rom. I have the PC36IMG file on my SDcard and will be installing via ClockworkMod recovery. What is the proper procedure to ensure the cleanest possible installation? Im a bit scared of all the options in recovery such as all the format options in the partitions menu. Do I need to format everything? Will any files be carried over? I know I will need to re install Clockwork and SU app just want to make sure everything is as clean as possible. Thanks in advance.
cleanest possible? Flash this in recover. It wipes 100% of every every time.
Courtesy of Calk.
If you are just changing kernels, choose wipe catch and delv catch.
Changing to a different rom you need to wipe everything.
Thanks for the tip. I am running a custom kernel so I'd be looking to wipe all of those files as well as the ROM. The ROM I am using is just a re packaged RUU, does the RUU completely wipe all data or will I still need to manually wipe?
You should always manually wipe. I never count on something else to do it for me. When I am changing roms I always wipe data/factory reset, cache and davlick, plus I use calkulin's format all tool that the other responder to your question attached to his post. That way you know nothing will be left over. Before you do all that, remember to make a backup of your current configuration just in case something goes wrong. I have been bailed out by nandroid backup a few times.
Also one more thing, there is a Rom on here that is the latest stock already rooted which would make it much easier on you. You could just wipe and flash and still have SU and all other benefits of having root. Just a suggestion.
I found the stock rom thread. It has both odexed and deodexed version. Odexed will probably boot faster, but deodexed can be themed and/or modded. Heres the link: Stock 3.70 EVO Rooted
I reccommend clearing the cache, and then wiping the dalvik to ensure a clean rom. After that, just flash your rom. As always if you are unsure, you can backup your SD card.
Hello guys, I would like to know how to update my ROM using dalvik cache? I have Foxhound ROM 0.3 and i would like to install the 0.4. Can anyone help me ?
Hi Mate
You don't update using the Dalvik Cache. The Dalvik Cache is just something that is best to clear before an update.
In order to flash a new ROM there are a few things you need to have set up on your computer and phone and they are well detailed here:
http://forum.xda-developers.com/showthread.php?t=1392310
Read the above thread and find out what has already been done. I think your phone will be Bootloader Unlocked and Rooted already. If so flash the latest Clockwork Recovery Mod CWM and then just download the ROM you want and store it on your phone. Once done you will be able to use the above link to easily write it to your phone using CRM and the Flash Update from SD Card Option.
Hope this helps.
jamesmcuk said:
Hi Mate
You don't update using the Dalvik Cache. The Dalvik Cache is just something that is best to clear before an update.
In order to flash a new ROM there are a few things you need to have set up on your computer and phone and they are well detailed here:
http://forum.xda-developers.com/showthread.php?t=1392310
Read the above thread and find out what has already been done. I think your phone will be Bootloader Unlocked and Rooted already. If so flash the latest Clockwork Recovery Mod CWM and then just download the ROM you want and store it on your phone. Once done you will be able to use the above link to easily write it to your phone using CRM and the Flash Update from SD Card Option.
Hope this helps.
Click to expand...
Click to collapse
Ummm. he doesn't have to read that thread..
Just simply download the ROM
Put it on your phone's storage
Boot into CWR
Wipe Dalvik and Cache
Flash ROM
[OPTIONAL] Flash Kernel (if you used one a custom kernel)
zephiK said:
Ummm. he doesn't have to read that thread..
Just simply download the ROM
Put it on your phone's storage
Boot into CWR
Wipe Dalvik and Cache
Flash ROM
[OPTIONAL] Flash Kernel (if you used one a custom kernel)
Click to expand...
Click to collapse
If you flash another rom, will your apps be wiped as well? And if you flash an update from the same rom? Just back-up with Titanium or? Thanks.
danielvc said:
If you flash another rom, will your apps be wiped as well? And if you flash an update from the same rom? Just back-up with Titanium or? Thanks.
Click to expand...
Click to collapse
Apps are never wiped unless you wipe data/factory. Yes use titanium
Sent from my Galaxy Nexus using xda premium
Is it only necessary when coming from ICS to JB or is it necessary to do when coming from a JB ROM to another JB ROM? In my SGS2 days it was factory data wipe, wipe cache, wipe delvik cache, and maybe a kernel cleaning script for good measure, but never touched my SD user content( PDFs, music, etc.).
Super wipe will erase everything( as indicated by the warning in CWM), if you don't think it did cuz you still see the files, try and open them, its a shell only, no content (still lists correct file sizes though???)
I found this out by trying to flash some alternate ROM firmware or kernels I had but couldn't get them to work.
Don't use those stupid superwipe .zip's.
They're running the same scripts as your recovery runs...potentially multiple times for the "LULZOMGCLEAN" factor. [Uh...not needed]
Even installing a rom wipes /system...but %90 of people say "lul wipe /system/ /data/ /cache/ /dalvik/ and then flash superwipe..."
(Yes, I realize a script has to be run for the .zip to wipe system...and the Rom dev MAY leave it out. Personally, if the developer of my rom doesn't even make a "wipe system" script in the .zip I would not use that rom.)
NOT necessary.
If you don't trust your recovery to do it's job...wipe everything with one wipe...
Maybe you should get a new one.
Jubakuba is right but rather than assume the ROM zip wipes /system I find it easier to just wipe it. I never have the problems that others do when they flash ROMs and I always do a factory reset from recovery and wipe system. And if a ROM requires Gapps I always reflash the Gapps after a new ROM update. May not be needed but has saved me from problems before and only takes a couple seconds. Wipe zips are for chimps.
jesusice said:
Jubakuba is right but rather than assume the ROM zip wipes /system I find it easier to just wipe it. I never have the problems that others do when they flash ROMs and I always do a factory reset from recovery and wipe system. And if a ROM requires Gapps I always reflash the Gapps after a new ROM update. May not be needed but has saved me from problems before and only takes a couple seconds. Wipe zips are for chimps.
Click to expand...
Click to collapse
You have to flash Gapps after flashing a rom as they reside in /system/
FYI!
Jubakuba said:
You have to flash Gapps after flashing a rom as they reside in /system/
FYI!
Click to expand...
Click to collapse
Right. Many ROMs like CM are supposed to have a script to preserve Gapps and they say that you don't need to flash Gapps after, say, updating to a new nightly but I've learned the hard way not to depend on it.
Hello,
I don't know why my lg g3 phone doesn't want boot on custom rom.
I have the LG G3 d855 model, 16gb memory and here are my procedure to install every custom rom :
1. Flash Stock ROM using LGUP (the version of the firmware is not important but the possibility to root is)
2. Install KingRoot and get root
3. Install AutoREC and enter to the recovery
8. Flash Recovery TWRP 3.1.0-2
9. Reboot to the new recovery
10. ADVANCED WIPE (wipe cache, dalvik cache, data and SYSTEM)
11. Flash baseband 21C
12. Flash CUSTOM rom
13. Wipe cache and dalvik cache
14. Flash Gapp
15. Wipe cache and dalvik cache
16. Reboot
I think I did nothing bad...
but the phone does not start and it stays at the initial logo screen (not the LG logo, but the custom rom logo). I waited over 10 minutes to boot but nothing. Even though I install the identical rom again or install an anoter rom, each time the same issue.
This happens with all custom rom (xenonhd, resurrection remix, and now lineageOS)
I can use and boot on stock rom but each time I want to install a custom rom, my phone doesn't want to boot. The phone display stays at the initial rom logo screen.
It seems that I am alone to have this problem.
I don't know why and I search everywhere to find out the solution...
PS : My phone never restart by itself. I never have bootloop with my phone when I using stock rom and same with custom rom..
The problem is the boot with a custom rom. The phone don't want to boot and stay on logo loading...
Any suggestion may be help.
Thank you.
1. Once you installed TWRP you don't have to go back to stock to switch roms. From then on you can just download zips and flash them.
2. You need to delete everything (including system) except internal and external storage ( so you can still flash the zip for xceed, otherwise you will delete it). Remember that you will lose all your apps including your data with it. You can backup them with titanium backup tho. Pictures and video's will still be there as they are stored on the internal or external storage.
3. You also need to flash the GAPPS package after flashing rom, for xceed (7.1.1), pick nano (ARM)
4. Wipe cache and dalvik after flashing and reboot.
5. Make a backup before you do so !!!!!!
Good luck.
Jornwitt said:
1. Once you installed TWRP you don't have to go back to stock to switch roms. From then on you can just download zips and flash them.
2. You need to delete everything (including system) except internal and external storage ( so you can still flash the zip for xceed, otherwise you will delete it). Remember that you will lose all your apps including your data with it. You can backup them with titanium backup tho. Pictures and video's will still be there as they are stored on the internal or external storage.
3. You also need to flash the GAPPS package after flashing rom, for xceed (7.1.1), pick nano (ARM)
4. Wipe cache and dalvik after flashing and reboot.
5. Make a backup before you do so !!!!!!
Good luck.
Click to expand...
Click to collapse
Hello,
1. I think that but with specific rom, some people tell us to flash stock rom before flashing a custom rom. eMMC bug related ?
2. Deleting the system changes nothing because the system is wiped when I flash the rom, right ?
3. if the rom boot first then I will install Gapps. Else, I don’t install because the rom doesn’t want to boot.
1. Well .. I've been switching between fulmics,xceed,rr, .. etc without any problem so no, there is no need to go back to stock everytime.
2. Try it, you won't be able to boot until you flash a new rom, but it could help. That's why you take a backup in the first place. It is more 'clean' and if you don't try it you won't know.
3. Sometimes you have to flash gapps directly after the rom or you will be in for a bad time if you do afterwards.
Once you have TWRP recovery installed it's the easiest thing ever to flash a new rom. Make sure your zip files are downloaded okay. Download the MD3 to check it. Try to download via MEGA app or so, because browsers downloads tend to have errors sometimes.
Apart from that. Don't root via kingroot. They have had some suspicious cases where malware was installed on the phone when rooting.
If nothing's works. Go back to full stock through KDZ, root wit your PC, install TWRP via autorec, go to recovery, wipe everything, install modem 21C, install rom and gapps, wipe cache, reboot. Don't try anything other than that.
I have the same problem
Jornwitt said:
1. Well .. I've been switching between fulmics,xceed,rr, .. etc without any problem so no, there is no need to go back to stock everytime.
2. Try it, you won't be able to boot until you flash a new rom, but it could help. That's why you take a backup in the first place. It is more 'clean' and if you don't try it you won't know.
3. Sometimes you have to flash gapps directly after the rom or you will be in for a bad time if you do afterwards.
Once you have TWRP recovery installed it's the easiest thing ever to flash a new rom. Make sure your zip files are downloaded okay. Download the MD3 to check it. Try to download via MEGA app or so, because browsers downloads tend to have errors sometimes.
Apart from that. Don't root via kingroot. They have had some suspicious cases where malware was installed on the phone when rooting.
If nothing's works. Go back to full stock through KDZ, root wit your PC, install TWRP via autorec, go to recovery, wipe everything, install modem 21C, install rom and gapps, wipe cache, reboot. Don't try anything other than that.
Click to expand...
Click to collapse
Hello,
I have a question.
Can you give me a gapp 100% compatible with all custom rom with android 7.1.2, because i think opengapp are not reliable. Maybe the gapp will cause my issue and the rom won't boot.
Can i use this one https://forum.xda-developers.com/on...isited-slim-gapps-6-0-7-0-unofficial-t3462088 ?
I always use PICO version of gapp
Thank
Now I am on custom rom, what to do to flash stock rom? just flash zip file in TWRP? or should I flash stock TWRP or what?
You got some options:
But first a heads-up: you will lose all your data.
Zip-flash method:
Copy the stock rom flashable zip to your micro sd. Make sure you got the flashable zip! To be flashed in twrp.!
Boot to twrp.
Factory reset
Then wipe system partition
Now flash the zip.
Wipe dalvik and cache.
Reboot
Enjoy
Fastboot method: (will surely wipe everything)
Search for team one rescue firmware on our XDA.
Download the firmware package.
Boot your phone into bootloader.
Connect your phone to your PC.
Make sure you got your backup to your PC. Or micro SD.
Extract the firmware package and start
Flash-all stock recovery.bat
Or a name similar.
Wait until the phone reboots in its own, and DO NOT , disconnect the phone while in process of flashing.
Once the the Google setup is visible, you can safely disconnect your phone.
You should be back on marshmallow stock rom.
Do some ota updates. Enjoy,
sm00th4f3 said:
You got some options:
But first a heads-up: you will lose all your data.
Zip-flash method:
Copy the stock rom flashable zip to your micro sd. Make sure you got the flashable zip! To be flashed in twrp.!
Boot to twrp.
Factory reset
Then wipe system partition
Now flash the zip.
Wipe dalvik and cache.
Reboot
Enjoy
Fastboot method: (will surely wipe everything)
Search for team one rescue firmware on our XDA.
Download the firmware package.
Boot your phone into bootloader.
Connect your phone to your PC.
Make sure you got your backup to your PC. Or micro SD.
Extract the firmware package and start
Flash-all stock recovery.bat
Or a name similar.
Wait until the phone reboots in its own, and DO NOT , disconnect the phone while in process of flashing.
Once the the Google setup is visible, you can safely disconnect your phone.
You should be back on marshmallow stock rom.
Do some ota updates. Enjoy,
Click to expand...
Click to collapse
Now I have custom TWRP and a custom rom, I will choose Zip-flash method.
Can I flash stock rom with this custom TWRP? I mean can I flash stock rom like custom ones via twrp?
Can I flash custom rom later after installing stock rom?
Egyptiandroid said:
Now I have custom TWRP and a custom rom, I will choose Zip-flash method.
Can I flash stock rom with this custom TWRP? I mean can I flash stock rom like custom ones via twrp?
Can I flash custom rom later after installing stock rom?
Click to expand...
Click to collapse
For starters, twrp is a custom recovery, so you don't have to put the word "custom" before twrp everytime you mention it. X)
There are flashable zips that contain the stock rom. So, in a sense, yes, but you can't do any ota updates.
Download any needed file before beginning to flash a new rom:
Custom Rom, Gapps and if you want root: Magisk or SuperSu. Put those files on your micro SD in your phone.
Create a backup in twrp. You Just have to slide from left to right, no need to select anything more than what is already selected from the start.
Before installing a custom rom, you have to always wipe system, data, dalvik and cache partition in twrp recovery.
Only then you can flash the stock rom, which can be downloaded in one of the threads here in our XDA Lenovo p2 forum.
Little need to know: before flashing any rom, do a factory reset in twrp and wipe system partition.
Be aware that by deleting the four partitions you will lose your app data, sms,call log and so on.
Internal storage however isn't affected, so your music und Pictures won't be deleted.
sm00th4f3 said:
For starters, twrp is a custom recovery, so you don't have to put the word "custom" before twrp everytime you mention it. X)
There are flashable zips that contain the stock rom. So, in a sense, yes, but you can't do any ota updates.
Download any needed file before beginning to flash a new rom:
Custom Rom, Gapps and if you want root: Magisk or SuperSu. Put those files on your micro SD in your phone.
Create a backup in twrp. You Just have to slide from left to right, no need to select anything more than what is already selected from the start.
Before installing a custom rom, you have to always wipe system, data, dalvik and cache partition in twrp recovery.
Only then you can flash the stock rom, which can be downloaded in one of the threads here in our XDA Lenovo p2 forum.
Little need to know: before flashing any rom, do a factory reset in twrp and wipe system partition.
Be aware that by deleting the four partitions you will lose your app data, sms,call log and so on.
Internal storage however isn't affected, so your music und Pictures won't be deleted.
Click to expand...
Click to collapse
Thanks for your detailed answer I am now on custom rom, i will download stock rom from the sticky thread, although all links are dead but I will try to find a working link
BTW, what is the latest stock rom?
I think S251 ...i'm not sure though. It shiuld be the one with the highest number=latest version ?
I still think that custom roms are better than stock though but do what you think is right.