Related
First off if you're on ANY recovery that isn't CWM 5.0.2.7 you DO NOT NEED TDJS SUPER WIPE OR CACHE WIPE SCRIPTS!!!! Seriously stop flashing these people you're filling up threads with problems caused by both of these scripts and bad flashing methods. Here's how to PROPERLY flash a ROM..
If on CWM 6.0.x.x
1. Wipe factory data/reset
2. Wipe cache
3. Go into mounts and storage
4. Format /system
5. Format /data
6. Format /cache
7. Enter advanced
8. Wipe dalvik
9. Flash ROM then gapps
10. Reboot and let the ROM settle for 5-10 minutes if flashing TW ROMs, this step is unnecessary for AOSP based ROMs.
11. (Optional) if flashing a new radio flash AFTER the ROM has been initially booted for the first time. No wipes are necessary when flashing a new radio but it HAS to be flashed after the ROM is loaded and settled in. Flashing a radio first and then a ROM has caused issues like the phone not even recognizing there is a network for it. ( phone remains in emergency mode )
If you're on a Cyanogenmod nightly a full wipe IS NOT REQUIRED. The proper method of dirty flashing is just wiping cache, ( NOT FORMAT CACHE IN MOUNTS & STORAGE )
wiping dalvik and flashing your ROM. Simple as that.
If using TWRP 2.2+ the steps are essentially the same or use TDJs wipe scripts. They work perfectly fine with TWRP. Feel free to wipe 2x or even 3x if it makes you feel safer about your installation.
And THAT'S IT. People are cluttering up threads with issues than can totally be avoided by flashing the right way. I hope this helps some of you iron out these insane tiny quirks I keep reading about.
Happy flashing folks.
EDIT:
I forgot to note.. if you're still using one of TDJs roms or any other rom that automatically wipes with TDJs SUPER CACHE WIPE, do NOT use any other recoveries other than CWM 5.0.2.7 or TWRP 2.2+. With any other recovery such as CWM 6.0.x.x+, the wipe script breaks the roms ability to reboot properly and the only way to solve this is to use TDJs CACHE WIPE which in turn breaks your recoveries ability to work properly.
Sent from my SAMSUNG-SGH-T989 using xda premium
Thanks man this was needed. Yes threads get filled with this so often. I dirty flash like you mentioned accept I format system first. I also clean flash like you mentioned but never formatted cache and dalvik just system. That's good to know. Thanks
But I will add those new steps. I format system when dirty flashing because on the cm10 Site they mentioned that.
Again thanks
Sent from my SAMSUNG-SGH-T989 using xda premium
I edited OP with a little bit more information for safer flashing.
Sent from my SGH-T989 using xda premium
Sad we need to keep telling people how to flash. If you are not sure what you are doing I think you should be very careful before you destroy your expensive toy. Everyone should have an idea on how to flash and restore from a bad flash before they even root. Also as my sig says let Google be your friend people if you run into issues instead of running to a thread and clogging it up...
Thanks for post and this is a bump to keep it on page 1 and hopefully more people will notice it.
So I messed up and used the darkside scripts with 6.0.1.4 and I can't get my phone to boot, like you mentioned. It also destroyed the recovery, does nothing at all. What can I do, if anything, to fix?
Goofy317 said:
So I messed up and used the darkside scripts with 6.0.1.4 and I can't get my phone to boot, like you mentioned. It also destroyed the recovery, does nothing at all. What can I do, if anything, to fix?
Click to expand...
Click to collapse
Can you boot into recovery at all? If you can.. download the TWRP 2.2.2.0 zip in its thread and flash it. Its going to hang in the install process but should say twrp has been installed. At that point reset your phone by holding the power button. As soon as you feel the phone vibrate hold down both volume buttons and you should boot into TWRP recovery.
Sent from my SAMSUNG-SGH-T989 using xda premium
I have been using the darkside wipe! It has been working great. I don't think that it will brick my phone or anything.....
tickerman said:
I have been using the darkside wipe! It has been working great. I don't think that it will brick my phone or anything.....
Click to expand...
Click to collapse
Darkside superwipe will only mess your ROMs ability to reboot on touchwiz ROMs. The only way to fix this is flashing the darkside cache wipe which WILL break clockwork mod 6.0.1.4 like the user above. Point is.. don't use either scripts at all on CWM. Wipe the old fashioned way.
Sent from my SAMSUNG-SGH-T989 using xda premium
tickerman said:
I have been using the darkside wipe! It has been working great. I don't think that it will brick my phone or anything.....
Click to expand...
Click to collapse
I agree. even after switching to twrp I still find the script useful. But op warning about using script with cwm version 6xxx might be true. I have issue with boot when i was on cwm 6 and i had to Odin cwm 5.0.2.7 again to get into recovery menu.
Sent from my SGH-T989 using xda app-developers app
Thanks, always forgot the formatting steps
ultratt said:
Thanks, always forgot the formatting steps
Click to expand...
Click to collapse
Never forget those! Those completely format your partitions.. like formatting a hard drive before you install Windows.
Sent from my SGH-T989 using xda app-developers app
RushAOZ said:
Never forget those! Those completely format your partitions.. like formatting a hard drive before you install Windows.
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the guide. One question, how do you format partitions on TWRP? Do you need to?
Davy Jones said:
Thanks for the guide. One question, how do you format partitions on TWRP? Do you need to?
Click to expand...
Click to collapse
Luckily enough, TWRP does this in the wipe section already when you hit system, cache and dalvik. Its an awesome and well thought out recovery!
Sent from my SGH-T989 using xda premium
RushAOZ said:
Luckily enough, TWRP does this in the wipe section already when you hit system, cache and dalvik. Its an awesome and well thought out recovery!
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Oh cool, I was already really liking TWRP and this makes it even better.
This thread should be a sticky.
Khameleon said:
This thread should be a sticky.
Click to expand...
Click to collapse
Agree.
Sub'n.
I just followed this and it answers many questions. I have great luck with CWR 5.0.2.7 and the darkside scripts. Everytime I had an issue, I would run the darkside cache script and all was fixed.
Now, since I upgraded CWR, I have had issues installing ROMS, bad recovery installs, etc. Just as you mentioned.
Got a new phone today. Flashed an odin CWR (didn't know the version). It turned out to be an older touch version. I CWR flashed the latest Sk8's recovery. I then followed your instructions. Installed JB ROM and Gapps and it was a success. Not boot loop.
Questions: What do I do if I want to wipe cache and dalvik or fix permissions in the future? What radio is recommended with the latest JB nightly?
apicia said:
Agree.
Sub'n.
I just followed this and it answers many questions. I have great luck with CWR 5.0.2.7 and the darkside scripts. Everytime I had an issue, I would run the darkside cache script and all was fixed.
Now, since I upgraded CWR, I have had issues installing ROMS, bad recovery installs, etc. Just as you mentioned.
Got a new phone today. Flashed an odin CWR (didn't know the version). It turned out to be an older touch version. I CWR flashed the latest Sk8's recovery. I then followed your instructions. Installed JB ROM and Gapps and it was a success. Not boot loop.
Questions: What do I do if I want to wipe cache and dalvik or fix permissions in the future? What radio is recommended with the latest JB nightly?
Click to expand...
Click to collapse
Just go into CWM and wipe cache in the main menu and dalvik in the advanced menu. To be honest though you don't need to do this whatsoever. Only when dirty flashing a new nightly. In my experience atleast lol as far as gapps go..
http://goo.im/gapps/gapps-jb-20121011-signed.zip
These should work just fine
Sent from my SAMSUNG-SGH-T989 using xda premium
Bump fer new users yo
Sent from my SGH-T989 using xda premium
Bump for new users
Sent from my SAMSUNG-SGH-T989 using xda premium
Thanks
Yesterday I have rooted and installed a ROM panaroid 2.99 28 Nov kernel was hellboy cm10 at maxwen page on my HTC one v primou now after a single day my fine still a lagger and even the games and videos some time stuck and after reboot they work but not smooth can some one tell me what's the problem with my device
think made a wrong choice of rooting
Sent from my One V using xda app-developers app
Either you underclocked by mistake
The way to solve this prob is to reinstall the rom,because cm10 roms aren't laggy at all
When I boot in bootloader some things run 1 says no image second says wrong image and after 3-4 of these no image there is also a same thing wrong image is that thing making my phone lag ????
Sent from my One V using xda app-developers app
no that is normal noting wrong.
Sent from my ST25i
Reflash ROM with full wipe and don't over clock above 1.5ghz as donsaid and you should be fine.
Sent from my One V using xda app-developers app
soham_sss said:
Reflash ROM with full wipe and don't over clock above 1.5ghz as donsaid and you should be fine.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
its my first time flash so please check i was wrong in some way ???
1. installed cwm recovery and made backup
2. rooted
3. then copied the rom and gapps in SD card
4. rebooted in bootloader fullwipe/factory reset and by mistakenly done wipe devlik and the install the rom and then gapps without rebooting
then wrong my device started and then it stuck on welcome screen (dont know where were the option in the rcovery to reboot in bootloader)
then i reboot in bootloader and installed the kenel mistakenly (boot-HELLBOY-CM9-201212011716)
the i used the recovery restore the stock rom flashed with the stock kernel as i found it in some topics
and then my device started with the stock rom
6. then once again i started to install the rom gone to bootloader then full wipe then install ROM and just after that GAPPS and then VOLUME DOWN AND POWER BUTTON KEY to reboot in bootloader
7. Fastboot then inserted the phone in usb then flashing with kernel. Kernal name (boot-HELLBOY-CM10-201212011716)
8. DONE
please reply fast
soham_sss said:
Reflash ROM with full wipe and don't over clock above 1.5ghz as donsaid and you should be fine.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
dont know how to overclock mate
Reflashed my device with new pa 08dec and done reboot to bootloader after installing ROM again rebooted to bootloader installed gapps and then again rebooted to bootloader fastboot kernel now everything working fine lag decreased but don't know is it permanent installed apps like gmail, Facebook ,temple run , subway surf ,xda adobe etc etc finger crossed
Sent from my One V using xda app-developers app
you have to wipe:
factory reset
dalvik cache
cache
and most importantly 'SYSTEM'
Before your reply I did factory reset and then install 8 DEC pa then reboot in loader installed gapps then again reboot fastboot and flashed kernel done running smooth till now
Sent from my One V using xda app-developers app
1ceb0x said:
you have to wipe:
factory reset
dalvik cache
cache
and most importantly 'SYSTEM'
Click to expand...
Click to collapse
please elaborate this didnt get it what did u mean by system???????????????
and today apollo app is stopped too many times and i ve installed player pro and its dsp pack is that making problem
And I have done a test with antutu
It displayed my score 4670 is it normal ?????
Sent from my One V using xda app-developers app
quadrant,antutu all are useless..benchmark doesnt affect !
In recovery go to mounts and storage and select format system....
no signature....problem ?!?!?!
donhashem.dh said:
In recovery go to mounts and storage and select format system....
no signature....problem ?!?!?!
Click to expand...
Click to collapse
then again install the rom ????????????????
please elaborate m not a pro in these stuff
That's before installing the Rom
Sent from my HTC One V using xda premium
ijayesh said:
then again install the rom ????????????????
please elaborate m not a pro in these stuff
Click to expand...
Click to collapse
Its like this son...forget about formating the system,bla bla...just do as i say
1.go to recovery and backup your current Rom(if you already didnĀ“t)
2.wipe data/factory reset
3.wipe cache
4.go to advance and wipe dalvik cache
5.go back-install zip from sd card-choose zip from sd card(Rom of your choice)
6.install zip from sd card-choose zip-gapps
7.reboot system
during the boot animation press down the power until it goes black and hold it and press volume down to go into bootloader
8.when those wrong images you see ends,choose fastboot
9.plug in your usb to pc and to your phone
10.it should say fastboot usb-now you can flash the kernel (boot.img) specific to the rom that you flashed before
when its done reboot and enjoy.
dont worry about overclocking now as these kernels are set to work out of the box(you can play with them later)
For easier kernel flashing go check this out http://forum.xda-developers.com/showthread.php?t=1676686
Hope i helped.
Talk a little bit nicely don't call son thts doesn't gonna make you father
Sent from my One V using xda app-developers app
BTW u helped can you tell me between the your 5th and 6th step do I need to reboot ? After ROM installation
Reboot bootloader
Install gapps
Then reboot
Flash with kernel ?
Sent from my One V using xda app-developers app
Are you not going to help? Expected so much from you coz you are father of PA
Sent from my One V using xda app-developers app
Ok guys, these are modded versions of TDJ's tools to add the preload partition. This should allow you to wipe cache and dalvik without jacking up the symlinks. Also for you guys having issues installing a ROM, the superwipe should fix that. First flash the ROM and reboot (important), then if you are having issues flash the super wipe and then the ROM again. Reboot and you should be good.
Thanks again TDJ!!! You rock bro.
Note to other developers: Feel free to link here from your thread, just don't re-upload them please. Thanks
Everyone else: if you see these uploaded anywhere else please let me know. I have no problem with others linking to these but do not want them uploaded anywhere else.Thanks
Saved. . . . . . .
One more. . . . . .
I'm awesome
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
thx for this, i was annoyed by the preload problem.
Is this for CWM recovery or TWRP as well?
Sent from my SGH-T989 using xda app-developers app
Will work for both.
Thanks Jamison this will solve alot of headaches!
So whenever we want to wipe cache/dalvik use zip file instead of built in twrp??
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
euklid said:
So whenever we want to wipe cache/dalvik use zip file instead of built in twrp??
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
If on a TMo based 4.1.2 ROM, yes.
Whats the difference between the two downloads?
inpherknow said:
Whats the difference between the two downloads?
Click to expand...
Click to collapse
One is cache/dalvik, superwipe is data/factory reset.
Well before using the scripts ROM would not boot but after super wipe no problems, TWRP 2.5.0.0 :thumbup:
Sent from my SGH-T989 using xda premium
Jamison-does the cache wipe also fix permissions?
Sent from my SGH-T989 using xda app-developers app
Yes it does.
Sent from my dark hole called an office.
I used these scripts installing a ROM and I am having very serious issues. I was using Clockwork and when I rebooted I got stuck in a boot loop. I booted back into recovery but I was not getting fully back into recovery. I tried several times. I finally ODINed back to stock but I can't get the ****ing phone to boot up. It gets toa popup that says ""unfortunatley google partner setup has stopped" and then if I clear that "Google account manager has stopped", "google calender storage has stopped""unfortuantely the process com. android.phone has stopped". ****. I have tried ODIN to 3.5 stock and 4.0.3 both having similar issues.
Anyone have any idea, may have absolutley nothing to do with these scripts but any ideas would be very much appreciated.
What are you running and what are you trying to flash? Wouldn't be the scripts as they only wipe, format, align the partitions.
Sent from my dark hole called an office.
Jamison904 said:
What are you running and what are you trying to flash? Wouldn't be the scripts as they only wipe, format, align the partitions.
Sent from my dark hole called an office.
Click to expand...
Click to collapse
I was running CWM 6.0.2.9 touch and trying to flash the StockWalk ROM. I don't know if you have seen something like this before but it seems like I am totally unable to install any GAPPS even when flashing stock ROM in ODIN. I had flashed the same ROM before attempting to use the scripts, the reason was that I was unable to add my google account (may be a defect in the ROM but others are saying they have not had issue).
*when I say install GAPPS I am just refering to the ones that install on TW ROMS, I am not flashing a GAPPS file of any kind
ArcticFish said:
thx for this, i was annoyed by the preload problem.
Click to expand...
Click to collapse
blackangst said:
If on a TMo based 4.1.2 ROM, yes.
Click to expand...
Click to collapse
OK so I thought I knew enough to not feel like a noob, but here I am with three questions.
First question is what is a "preload problem"?
Second question is this will only work on 4.1.2, and not 4.2.2 (CM 10.1)?
And the third question is will using the original DS wipes mess something up?
T mobiles 4.1.2 loads a preboot partition. Wiping cache with anything but these scripts also wipes these partitions. This script is modified to not do that. No preboot partition = boot loop.
Thus, if you're on anything BUT Tmobiles 4.1.2 you don't need this script and there's no advantage to using it.
Sent from my SGH-T989 using xda app-developers app
I woke up this morning to find that I had a system software update. I thought it might be the new 4.3 update that's been getting pushed out so I select to install the update. After the phone turned off to reboot, my CWM recovery screen popped up and stayed there. I recieved a message telling me that the update failed to complete and now I'm stuck in this never-ending loop. I've wiped the Delvik cache, I've done a factory reset/wipe cache and have rebooted the system multiple times. Does anyone know what I should do? Anyone else had this problem? I've heard that Nexus users are experiencing issues with the new update.
It's not 4.3
Sent from my LG-LS970 using xda app-developers app
Corylsu said:
It's not 4.3
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
Do you know what the issue might be? I can't exit out of the boot sequence.
tgent87 said:
Do you know what the issue might be? I can't exit out of the boot sequence.
Click to expand...
Click to collapse
It might be CWM that's causing the update issue.
Press and hold the Power button for 20 sec. That should turn it off. If it still loops, turn it off again, try to get into recovery or download mode. If recovery, flash a stock Rom. If download, well you know.
Sent from my A500 using XDA Premium 4 mobile app
engine95 said:
It might be CWM that's causing the update issue.
Press and hold the Power button for 20 sec. That should turn it off. If it still loops, turn it off again, try to get into recovery or download mode. If recovery, flash a stock Rom. If download, well you know.
Sent from my A500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried what you suggested but still not getting anywhere. I'm pretty new to rooting and recoveries, so not sure what I'm doing wrong. The only screen I get is what reads 'CWM-based Recovery v6.0.1.5'. I'm not positive that I have a download mode either. The options I have are as follows:
-reboot system now
-install zip from sdcard
-install zip from sideload
-wipe data/factory reset
-wipe cache partition
-backup and restore
-mounts and storage
-advanced
Any ideas?
tgent87 said:
I tried what you suggested but still not getting anywhere. I'm pretty new to rooting and recoveries, so not sure what I'm doing wrong. The only screen I get is what reads 'CWM-based Recovery v6.0.1.5'. I'm not positive that I have a download mode either. The options I have are as follows:
-reboot system now
-install zip from sdcard
-install zip from sideload
-wipe data/factory reset
-wipe cache partition
-backup and restore
-mounts and storage
-advanced
Any ideas?
Click to expand...
Click to collapse
If you have a backup on your SD you could restore. If you have a ROM, install it. Make sure to wipe /system, /cache, /dalvic, and /system. I'm not sure about CWM, but the wipe system might be in mounts and storage, or advanced.
If you have nothing on your SD, you'll need to sideload a stock ROM. Get the odexed or deodexed roms.
If nothing works go to the teeny bin thread, under Additional info will show you how LGNPST.
Sent from my A500 using XDA Premium 4 mobile app
engine95 said:
If you have a backup on your SD you could restore. If you have a ROM, install it. Make sure to wipe /system, /cache, /dalvic, and /system. I'm not sure about CWM, but the wipe system might be in mounts and storage, or advanced.
If you have nothing on your SD, you'll need to sideload a stock ROM. Get the odexed or deodexed roms.
If nothing works go to the teeny bin thread, under Additional info will show you how LGNPST.
Sent from my A500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Everytime I choose RESTORE, the device seems to respond but throws me back at the initial screen. When I select "reboot system now" I never actually exit CWM-Recovery. That's the part I don't understand. Sorry if this is confusing, I know you're being helpful.
tgent87 said:
Everytime I choose RESTORE, the device seems to respond but throws me back at the initial screen. When I select "reboot system now" I never actually exit CWM-Recovery. That's the part I don't understand. Sorry if this is confusing, I know you're being helpful.
Click to expand...
Click to collapse
OK. If restore won't work, then try installing a stock ROM. If not on your SD then use that "install zip sideload. " Your other options are to use teenybins or zvb/zvc.bins through LGNPST.
Sent from my LG-LS970 using XDA Premium 4 mobile app
If you have adb setup on your computer you can search for my post on using dd to remove the flag in misc. I don't remember the needed offsets off the top of my head.
Sent from my LG-LS970 using xda app-developers app
same thing happening to me, except it happened after flashing the new version of cwr. I want to and use lgnpst and teenybin to restore, but i can't seem to find the lgs970 dll file anywhere; the lgnpst link in the thread tells me the file to download is missing
Im using twrp recovery, can i format my internal storage without bricking my device? I will still have access to download mode, and recovery?
Sent from my SM-N900T using xda app-developers app
Also in twrp recovery we have 2 options to "wipe internal storage" or "format internal storage" isn't that the same?
Sent from my SM-N900T using xda app-developers app
Yes you will still have access to DL mode and recovery.
Sent from my SM-N900T using XDA Premium 4 mobile app
Thank you for your reply, i still wonder what's the difference between wipe and format? I should be able to flash a rom through recovery after wiping and formating?
Sent from my SM-N900T using xda app-developers app
wipe - deletes everything on internal storage preserving partition structure
format - recreates internal storage partition from scratch so to say
Usually wipe is more safe, format might end up with corrupt partition structure if something goes wrong
And NO, you cannot flash ROM after wipe/format unless ROM zip is on your external storage.
Thank you nejil8. I will try to flash this rom http://forum.xda-developers.com/showthread.php?t=2468083 because when i try, it boot loops in the very first logo screen it wont go past the very first logo. Ironically, I have installed darthstalker rom several times with no problem.
I always wipe
-cache
-dalvik cache
-system
-data
I will try wiping "internal storage" and see if it boots up. Thank you for your help.
I forgot to mention im using twrp 2.6.3.2 not the latest version. Sometimes i wonder if that's causing the boot loop at very first logo.
Sent from my SM-N900T using xda app-developers app
christisnfermin said:
I forgot to mention im using twrp 2.6.3.2 not the latest version. Sometimes i wonder if that's causing the boot loop at very first logo.
Sent from my SM-N900T using xda app-developers app
Click to expand...
Click to collapse
It's very important to update to the latest twrp. I'm not sure how old your version is
sent from my ??????? note 3?
christisnfermin said:
Thank you nejil8. I will try to flash this rom http://forum.xda-developers.com/showthread.php?t=2468083 because when i try, it boot loops in the very first logo screen it wont go past the very first logo. Ironically, I have installed darthstalker rom several times with no problem.
I always wipe
-cache
-dalvik cache
-system
-data
I will try wiping "internal storage" and see if it boots up. Thank you for your help.
Click to expand...
Click to collapse
Update your recovery, flash the ROM and see this for fixing bootloop. Wiping internal storage wont help.
Use adb to push all files needed to /sdcard and have them available for flashing in recovery.
Thank you to all that were helpful. I decided to go back to stock using this method how to unbrick unroot NOTE 3 I was able to enable unlimited native tethering and rerooted and install this amazing program Xposed framework (you can record calls an many many more tweaks. I don't really need a custom rom, i mainly wanted unlimited tethering that's all. I also have Next launcher 3D NEXT laucher 3D is SICK. I don't need anything esle. That launcher is a major GO.