[Q] TWRP and flashing roms - HTC One X+

Just curious about whether I am wiping and flashing correctly.
I currently have TWRP 2.2.2.0 installed.
I am presently on the Viper sense based rom for the HOX+. I assume I must be wiping and flashing correctly as the rom works!!
Wipe cache, wipe davlik cache, factory reset and system? Then flash rom?
Doing this, does it completely remove the previous rom, audio drivers etc so that I have a clean slate so to speak for flashing the new rom?
That's what I'm after, wiping the previous rom completely, drivers, everything so that I can flash an aosp based rom.
Thanks.

First off, I would advice you to flash the latest version of TWRP before doing anything. Now, having said that, yeah, essentially press all buttons in the wipe Menu (I frankly don't know if the "Format" button would be overkill). However, be aware that in doing so, you're going to wipe all the data in the partition, including any zip files you may want to flash afterwards. If you end up doing this, you're going to need to sideload the rom into your phone in order for you to be able to install it.

You only lose stuff in data by wiping data partition
Sent from my HTC One X+ using Tapatalk 2

If he is wanting to use the Viper rom it is best to flash the version that is on the Viper thread. This has some minor changes in it to allow the install of OTA's and zip files from the hub.
If he uses the latest version it may cause issues trying to install OTA's.

Lloir said:
You only lose stuff in data by wiping data partition
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Exactly, so long as he doesn't touch the data partition he should loose nothing. I did recommend the whole "Nuke it" approach because of the whole "Clean Slate" thing the OP wanted though...

Nuke it? Wipe everything, including data partition then sideload a rom?
Thanks.

maritimesbob said:
Nuke it? Wipe everything, including data partition then sideload a rom?
Thanks.
Click to expand...
Click to collapse
Yeah, although it's not necessary most of the times, at least that's what I personally do when I want a 100% clean install (Short of re-locking the bootloader and running a RUU of course).

maritimesbob said:
Nuke it? Wipe everything, including data partition then sideload a rom?
Thanks.
Click to expand...
Click to collapse
While installing Viper you can choose to wipe the phone for a clean installation. So basically it's not necessary to do anything than install recovery for Viper and then install Viper ROM and choose the correct option in AROMA installer...

Related

[Q] Twrp recovery -- do I also wipe system before flashing new rom?

Hello. I have backed up my stock rom and would like to flash a new custom rom. Team Win Recovery is all new to me as I used clockwork recovery and Amon RA on my old evo 4g. Before I flash a new rom, I know I'm supposed to wipe cache and dalvik, but do I also wipe system? Thank you for your help in advance.
If you're flashing a different ROM all together, then I usually do Factory Reset, Cache, Dalvik Cache. (in that order)
I don't know that the order matters, it's just my way of doing it, and I've never had any problems.
Wipe Menu
FattySparks said:
If you're flashing a different ROM all together, then I usually do Factory Reset, Cache, Dalvik Cache. (in that order)
I don't know that the order matters, it's just my way of doing it, and I've never had any problems.
Click to expand...
Click to collapse
Thanks for your quick response. Gladly appreciate it! But there's also an option in the wipe menu to wipe "system". In the wipe menu, there's: cache, dalvik cache, factory reset, battery stats, rotation, system. I wiped cache, dalvik and battery, anything else I neeed to wipe before I install a custom rom? In clockwork recovery, all I used to do is wipe data, cache and dalvik.
WilDip said:
Hello. I have backed up my stock rom and would like to flash a new custom rom. Team Win Recovery is all new to me as I used clockwork recovery and Amon RA on my old evo 4g. Before I flash a new rom, I know I'm supposed to wipe cache and dalvik, but do I also wipe system? Thank you for your help in advance.
Click to expand...
Click to collapse
Yes, when flashing a fresh ROM wipe EVERYTHING, including system. I usually wipe a few times just to make sure I'm starting fresh. I haven't used this super wipe but you can also check this thread
http://forum.xda-developers.com/showthread.php?t=1700211
Edit: I don't usually worry with wiping battery stats or rotation
Sent from my ELTE using Tapatalk 2
Got It
Thank you. I wiped everything and performed a factory reset.
You don't need to wipe system. Any decent rom out there will wipe the system for you before the rom flashes.
If I'm not mistaken, I believe that the factory reset wipes system anyway.
No factory reset does not wipe system. Also do not use super wipe zips. They are bad for you
sent from my EVO LTE
FattySparks said:
If I'm not mistaken, I believe that the factory reset wipes system anyway.
Click to expand...
Click to collapse
Factory reset wipes the data partition. It does the same thing as the factory reset within the phone settings. If you wipe system, it completely wipes out the OS, and there will be nothing to boot. Of course you can still get back to recovery. When you flash a rom, by default it should wipe the system for you and replace the system with the rom you are flashing. There may be a case where you are flashing an incremental upgrade, which will not wipe the system.
The reason you do a factory reset (data wipe) when flashing between roms is because settings and other stuff that was saved on the data partition may not be compatible with the rom and cause issues.
Spyderekz said:
No factory reset does not wipe system. Also do not use super wipe zips. They are bad for you
sent from my EVO LTE
Click to expand...
Click to collapse
Based on what?
Based on what developers have said. Super wipe originated from a CWM issue back on the EVO 4G and people never seemed to of forgotten.
sent from my EVO LTE
Spyderekz said:
Based on what developers have said. Super wipe originated from a CWM issue back on the EVO 4G and people never seemed to of forgotten.
sent from my EVO LTE
Click to expand...
Click to collapse
The issue was with cwm not superwipe. The superwipe created for this device works fine.
the issue was with cwm, the superwipe was made to combat that issue. a good dev will set his rom to wipe system. all a user has to do is factory reset in recovery. Superwipe is a unnecessary step and could be bad for the phone if its corrupted or the person who made it did it wrong.
really great info, thanks guys!
timtlm said:
Factory reset wipes the data partition. It does the same thing as the factory reset within the phone settings. If you wipe system, it completely wipes out the OS, and there will be nothing to boot. Of course you can still get back to recovery. When you flash a rom, by default it should wipe the system for you and replace the system with the rom you are flashing. There may be a case where you are flashing an incremental upgrade, which will not wipe the system.
The reason you do a factory reset (data wipe) when flashing between roms is because settings and other stuff that was saved on the data partition may not be compatible with the rom and cause issues.
Click to expand...
Click to collapse
So if i wipe the system, i can still get back to recocery?
sanyialo said:
So if i wipe the system, i can still get back to recocery?
Click to expand...
Click to collapse
Yes. A system wipe doesn't affect recovery. It just wipes the system partition on your phone. The recovery partition remains unaffected.
FattySparks said:
If you're flashing a different ROM all together, then I usually do Factory Reset, Cache, Dalvik Cache. (in that order)
I don't know that the order matters, it's just my way of doing it, and I've never had any problems.
Click to expand...
Click to collapse
Would i need to wipe system before restoring stock rom using twrp..?
hey i have wiped my system to flash cm unofficial rom in my galaxy a8 but i forgot to take backup and i am finding error while flashing tht rom. whn i try to reboot it shows no os wht to do now is there any way to recover or any other way so tht i can get my phone started plzzzz hlp
I haye advance wipe my galaxy s6 edge
now what can i do?
---------- Post added at 09:35 AM ---------- Previous post was at 09:28 AM ----------
Raheem1 said:
I have advance wipe my samsung galaxy s6 edge and not install new rom at that time now my phone not restarting
what can i do?
Click to expand...
Click to collapse

i have no service with new rom

so i just flashed jokers new rom on my photon 4g (without wiping anything) and now i have no service. can anyone help?? should i install one of those fixes?
Shady4life said:
so i just flashed jokers new rom on my photon 4g (without wiping anything) and now i have no service. can anyone help?? should i install one of those fixes?
Click to expand...
Click to collapse
The not wiping anything part is probably your problem. You should always at least wipe cache and dalvik. Data and system can stay intact. Make sure you downloaded the right version aswell. (Cdma/gsm) wipe those and try again. If that doesn't work, perhaps try those fixes youre refering to and if that doesn't work, full wipe.
Acvice said:
The not wiping anything part is probably your problem. You should always at least wipe cache and dalvik. Data and system can stay intact. Make sure you downloaded the right version aswell. (Cdma/gsm) wipe those and try again. If that doesn't work, perhaps try those fixes youre refering to and if that doesn't work, full wipe.
Click to expand...
Click to collapse
that worked! thanks!
service and IMEI Issues
Shady4life said:
so i just flashed jokers new rom on my photon 4g (without wiping anything) and now i have no service. can anyone help?? should i install one of those fixes?
Click to expand...
Click to collapse
I too installed joker's nw ROM.. In that also no service and IMEI number also showing "unknown"... can you please help me?...
Shady4life said:
so i just flashed jokers new rom on my photon 4g (without wiping anything) and now i have no service. can anyone help?? should i install one of those fixes?
Click to expand...
Click to collapse
ganeshshas said:
I too installed joker's nw ROM.. In that also no service and IMEI number also showing "unknown"... can you please help me?...
Click to expand...
Click to collapse
Which rom are you referring to? cm10 is his latest i believe? Is your photon unlocked & rooted? What Recovery did you flash? (joker has A CWM specially made for his roms) Unless you are upgrading a rom to a newer version of it, or you are using aroma installer, it is always important to wipe your phone prior to flashing. Im a wee bit OCD about it, so i
1) Wipe data/factory reset
2) Wipe Cache Partition
3) Format System
4) Format Data
5) Format Cache
6) Wipe Dalvic Cache
Then begin flashing. For safe measures always flash your rom twice to ensure it has been properly flashed
*edit*
Did you flash from a stock rom? If so, which gingerbread version was it running? and did you ensure to update it before you flashed?

[Q] Noob Question - Flashing a different custom ROM

Yeah I realize this is probably a noob question, but I'm proud (kinda anyway) to admit I am one.
Before jumping head first into flashing a different ROM (currently rooted w/ CWM & ViperXL) I want to make sure I don't end up with a paperweight or at least hours of unexpected work. My reason is just because I want to check out what other Roms have to offer. So its more than possible I may end up back on Viper at some point. Having read some semi-related threads it sounds like this is as simple backing up (nandroid, apps, system data) then flashing from recovery followed with a restore of apps and sys data.
Is there anything I'm missing? Do you need to do a cache and Dalvik wipe? Do I need to load a new boot.img, kernel or anything else? Am I thinking too much and making it seem harder than it really is?
Sent from my HTC EVARE_UL using xda app-developers app
It's pretty simple, just back everything up, wipe system, data, and the cache + dalvik-cache. Then install the ROM, and flash the kernel. Then, you can restore data if you want.
Sent from my One X+ using xda premium
Just to be clear in CWM its the following wipes ONLY!
Main screen
- wipe data/factory reset
- wipe cache partition
Advanced menu >
- wipe dalvik cache
remember (and please someone correct me if I'm wrong) flash the kernel first then jump to recovery.
Oh and ALWAYS have a rom.zip on your phone even if you dont require it, that way you could always reflash your way out of trouble should you forget to put that new rom on to try

[Q] Best practice for flashing 4.3 ROMs?

Can someone confirm the order for flashing ROM, kernel, and Gapps? Do I perform all the factory reset/wipe/format steps prior to flashing anything, and do I need to reboot between any of the steps? Is it really necessary to perform multiple wipes (i.e. factory reset x3) and/or use the CleanWIPE script?
I'm used to a factory reset and a flash of just the ROM, but I'm reading through the CarbonROM thread and seeing the suggestions for custom kernel, separate Gapps, and "hoops" regarding data/GPS that have me second-guessing my noobish knowledge.
I am S-OFF and currently running Tachyon 1.1 with some minor problems. I attribute these to using CWM Touch recovery and not formatting internal SD/emmc prior to first (and only) 4.3 ROM. I plan to switch to TWRP 2.6.3 prior to flashing another ROM per all the high praise.
esmith818 said:
Can someone confirm the order for flashing ROM, kernel, and Gapps? Do I perform all the factory reset/wipe/format steps prior to flashing anything, and do I need to reboot between any of the steps? Is it really necessary to perform multiple wipes (i.e. factory reset x3) and/or use the CleanWIPE script?
I'm used to a factory reset and a flash of just the ROM, but I'm reading through the CarbonROM thread and seeing the suggestions for custom kernel, separate Gapps, and "hoops" regarding data/GPS that have me second-guessing my noobish knowledge.
I am S-OFF and currently running Tachyon 1.1 with some minor problems. I attribute these to using CWM Touch recovery and not formatting internal SD/emmc prior to first (and only) 4.3 ROM. I plan to switch to TWRP 2.6.3 prior to flashing another ROM per all the high praise.
Click to expand...
Click to collapse
If you are S-OFF, I would recommend this procedure (assuming TWRP 2.6.3.0 is installed)
1) Backup current ROM
2) Flash CleanWipe script of choice
2.5) [OPTIONAL] Format /boot partition (Some people say do this, others say never do. I do it everytime and never had any issues)
3) Flash ROM
4) Flash recommended Gapps (official full or unofficial Core as recommened by ROM dev)
5) Reboot
If you are going for a custom kernel that is not included in the ROM, make sure the ROM boots and comes up problem free BEFORE you flash it.
This is what I have been doing for some time, it always works... no extra steps or anything else. I have never had the internal storage problems or anything else. If you do have the internal storage issue, just format it in TWRP and you should be good to go.
acejavelin said:
2.5) [OPTIONAL] Format /boot partition (Some people say do this, others say never do. I do it everytime and never had any issues)
Click to expand...
Click to collapse
Where do you do this in TWRP 2.6.3.0? I do not see an option for /boot in Advanced Wipe.
esmith818 said:
Where do you do this in TWRP 2.6.3.0? I do not see an option for /boot in Advanced Wipe.
Click to expand...
Click to collapse
Hmm... Apparently its gone now, just skip that part I guess. The more I think about it, the more I am pretty sure I haven't done that since I used Amon Ra. Just Cleanwipe and flash.
Sent from my Nexus 4 using xda app-developers app
esmith818 said:
Where do you do this in TWRP 2.6.3.0? I do not see an option for /boot in Advanced Wipe.
Click to expand...
Click to collapse
If internal is acting funny and camera says it doesnt work after you flash the rom and everything you'll have to go into advanced settings and partition internal sd card and emmc...and also wipe it afterwards...also just to be safe format internal sd to defaults on pc afterwards

Error 7

I installed one latest firmwares to try it, and hate it. Anyway I went to install CM13 even blisspop and it won't install and gives error 7. I can odin stock rom but can't flash any asop is my sm-g900T dead lol.
enzodad said:
I installed one latest firmwares to try it, and hate it. Anyway I went to install CM13 even blisspop and it won't install and gives error 7. I can odin stock rom but can't flash any asop is my sm-g900T dead lol.
Click to expand...
Click to collapse
Are you doing a full wipe before installing any AOSP ROM? I.e. in TWRP, there is an option for Advanced Wipe. Before your first time installing any AOSP ROM, coming from stock ROM, you must wipe system, data, cache, and dalvik. Also when you say latest firmware, you mean FOL1, right? Because that's the latest. Finally, are you using the right ROM file. This phone's development codename is klte, as opposed to kltespr, kltedv, kltevzw, klteusc, etc.
thisisapoorusernamechoice said:
Are you doing a full wipe before installing any AOSP ROM? I.e. in TWRP, there is an option for Advanced Wipe. Before your first time installing any AOSP ROM, coming from stock ROM, you must wipe system, data, cache, and dalvik. Also when you say latest firmware, you mean FOL1, right? Because that's the latest. Finally, are you using the right ROM file. This phone's development codename is klte, as opposed to kltespr, kltedv, kltevzw, klteusc, etc.
Click to expand...
Click to collapse
Yes I've install hundreds of roms on this phone, I know it's klte I do a full advanced wipe in twrp
I believe it was FOL1- I've never had a problem before. Figured maybe new firmware made impossible flash asop or something.
enzodad said:
Yes I've install hundreds of roms on this phone, I know it's klte I do a full advanced wipe in twrp
I believe it was FOL1- I've never had a problem before. Figured maybe new firmware made impossible flash asop or something.
Click to expand...
Click to collapse
I googled it and error 7 is a problem with the assert. So double check you have the correct ROM file, then edit the first line or two out of the updater-script (located in META-INF/com/google/android/)

Categories

Resources