Custom Full wipe script - AT&T Samsung Galaxy S II Skyrocket SGH-I727

thederekjay; recognized dev from over in the T-Mobile forum (and many other places), has posted a custom full wipe script to be flashed each time before flashing a new rom. PLEASE READ HIS THREAD for full details...link below...
http://forum.xda-developers.com/showthread.php?t=1477955
I have flashed this wipe twice already with no problems.

Cool! this will be really useful

"After it is complete with format and erase, it will align all disks partitions properly"
I don't doubt it works great, but partition stuff makes me nervous.

It doesnt touch any internal or external memory.
orlandoxpolice said:
"After it is complete with format and erase, it will align all disks partitions properly"
I don't doubt it works great, but partition stuff makes me nervous.
Click to expand...
Click to collapse
Message relayed from the dark side.

Samsungs get finicky when you start messing with the partitions. I don't think Orlando was referring to the internal/next memory more so the boot and system partitions etc
chib1panda said:
It doesnt touch any internal or external memory.
Message relayed from the dark side.
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I727 using XDA App

Well, i've used it 3 times now with no issue yet. No problems...what do you think 'wipe data/cache/dalvik' boils down too?
Sent from my Skyrocket using XDA App

Dude . If you are a skeptic then check out darksides thread and ask him for more details after reading the thread.
00mred00 said:
Samsungs get finicky when you start messing with the partitions. I don't think Orlando was referring to the internal/next memory more so the boot and system partitions etc
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Message relayed from the dark side.

I'm not knocking it, just voiced a concern. if it has worked for you multiple times i dont doubt it validity. i will most likely use it next time i flash a new rom.

My skyrocket has only had crazy fc's once but seems like some are more susceptible to the fc's more than others. Wgich leads back to a subpar version of cwm...if running this script before flashing prevents crazy fc's, then it's a pretty big deal for our device. Mostly as a supplement to a cwm that requires wiping all partitions 3 times each in HOPES of a clean wipe.
Sent from my Skyrocket using XDA App

bacheezy said:
My skyrocket has only had crazy fc's once but seems like some are more susceptible to the fc's more than others. Wgich leads back to a subpar version of cwm...if running this script before flashing prevents crazy fc's, then it's a pretty big deal for our device. Mostly as a supplement to a cwm that requires wiping all partitions 3 times each in HOPES of a clean wipe.
Sent from my Skyrocket using XDA App
Click to expand...
Click to collapse
Yeah I have wondered why no one had written a script to do this sooner.
I like darksides work...haven't had any issues with anything he has produced so far.

00mred00 said:
Yeah I have wondered why no one had written a script to do this sooner.
I like darksides work...haven't had any issues with anything he has produced so far.
Click to expand...
Click to collapse
Can this script be added to the CWM touch version that was created. It seems that the CWM touch still has the same problem of not completely wiping data from the SkyRocket. If this script were to be incorporated into it, it might solve the CWM "wipe" problem?

wow thank you for the link. total time saver.

Its a cwm flashable zip...it should work I would think.
scott14719 said:
Can this script be added to the CWM touch version that was created. It seems that the CWM touch still has the same problem of not completely wiping data from the SkyRocket. If this script were to be incorporated into it, it might solve the CWM "wipe" problem?
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I727 using XDA App

Works perfect on Skyrocket.
Sent from my SAMSUNG-SGH-I727 using xda premium

So far it is working really well for me too
hcyplr29 said:
Works perfect on Skyrocket.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I727 using XDA App

so much better than having to flash back to odin

Related

[Q] Can someone check my rom-flashing plan, just to make sure that I don't brick?

Hey guys, I've been reading XDA for about a month now, and I think I'm ready to flash CM7. I've already rooted with superoneclick, but I don't have the money now to get a new phone if I brick, so I was hoping someone could just check my plan to make sure that I'm good to go? I've read the tutorials, but I want to be positive that I'm ok. I think that if I generate a list [without looking at the tutorial], rather than just copying theirs, I'll be sure that I understand the steps 100%.
Procedure:
-Root the phone (done)
-install nvflash on computer, and then clockworkmod to phone
-backup the NAND with clockworkmod (is that like the wii, where the NAND is specific to the device itself?)
-move the NAND to the computer for safe keeping
-install titanium backup > backup all apps > move to computer for safety
-flash rom from SD card
I've flashed a few roms onto an android tablet before, but I didn't backup the NAND when I did...
Will give "thanks" to each reply
You pretty much have it down the main thing to remember is to nvflash BC if not you will not be able to get into recovery. Also before flashing the rom you have to wipe data/cache/and dalvic cache. Let me know if this makes sense I'm at work so I don't really have time to go into detail lol
Sent from my LG-P999 using XDA Premium App
dnguyen1988 said:
You pretty much have it down the main thing to remember is to nvflash BC if not you will not be able to get into recovery. Also before flashing the rom you have to wipe data/cache/and dalvic cache. Let me know if this makes sense I'm at work so I don't really have time to go into detail lol
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Ah, yeah, I forgot about the clear cache bit- I remember doing that when I flashed the tablet. Thanks a bunch man, I just finished, and it worked great!
I'm glad everything worked out lemme know if there's anything else u need
Sent from my LG-P999 using XDA Premium App
also if u want to just install a kernel after the rom is installed just wipe cache then dalvik then install kernel....no need to wipe data
Also, depending on the rom, you also may need to flash gapps. With Faux or CM, you will. I believe with Bionix and Eagleblood it is included (someone correct me if I am wrong).
After flashing, it is always best practice to run a fix permissions in clockworkmod.
sryan1983 said:
Also, depending on the rom, you also may need to flash gapps. With Faux or CM, you will. I believe with Bionix and Eagleblood it is included (someone correct me if I am wrong).
After flashing, it is always best practice to run a fix permissions in clockworkmod.
Click to expand...
Click to collapse
Ah, yeah, I figured that one out. I couldn't figure out where the market was! And then I read...
What's the fix permissions thing? Is that the option in the CM settings that said something like "don't turn this on and then report bugs, because it'll break some apps" ?
Fix permissions is in the advanced menu in cwm recovery.
Sent from my LG-P999 using XDA Premium App
squish099 said:
Fix permissions is in the advanced menu in cwm recovery.
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
yup, i usually do this after installing the rom, kernel and gapps just for good measure
I'm a newb at this, and I've been looking around. Your steps are really basic and atually the simplest, I will actually be printing out that plan so I don't get confused with all of the confusing terms that I've seen floating around that I am not used to! Haha
squish099 said:
Fix permissions is in the advanced menu in cwm recovery.
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Got it, thanks!
Mikeglongo said:
I'm a newb at this, and I've been looking around. Your steps are really basic and atually the simplest, I will actually be printing out that plan so I don't get confused with all of the confusing terms that I've seen floating around that I am not used to! Haha
Click to expand...
Click to collapse
Sweet man, glad it helped
Don't forget to clear the cache before you flash

[Q] what do you do before installing new rom?

Hello
What are the best things to do before flashing new rom? Wipe data/repartition? Davlik? Use calkulins format all?
Thanks!
Sent from my DROID2 using XDA App
1 calk format all
2 wipe dalvik cache (dont worry if it says not found)
3 flash rom
The whole thing should take less than 4 minutes if done right.
What does the format all do exactly?
Sent from my DROID2 using XDA App
joshtb86 said:
What does the format all do exactly?
Sent from my DROID2 using XDA App
Click to expand...
Click to collapse
It automatically formats everything for you. In fact, you don't have to use the format all zip file. You can manually go through and format each one at a time. Another advantage is you are doing something identical to what the devs are doing when they developed the roms. It leaves less room for errors.
joshtb86 said:
Hello
What are the best things to do before flashing new rom? Wipe data/repartition? Davlik? Use calkulins format all?
Thanks!
Sent from my DROID2 using XDA App
Click to expand...
Click to collapse
Pray, pray and pray!
Fuzzy John said:
Pray, pray and pray!
Click to expand...
Click to collapse
Back in the early days of linux, this was exactly what I had to do everytime I was about to get ready to install a new linux OS. And I'm talking about the days when you had to write in a dozen commands in the console to install the OS. Some distros even wanted you to put in the specific models of your keyboard, mouse, video card, etc. And there was no guarantee that it would work. Praying was about the only thing you could do.

E:unknown value for path [/sd-ext]

That's what I get when accessing the "advanced" part of CWM Touch 5.8.1.3 on my skyrocket(to wipe dalvik cache). I also got something similar during a nandroid backup.
What does this mean and why am I getting this message?
Something to do with your external sd card. Might want to Odin cwm again.
Sent from my SAMSUNG-SGH-I727 using xda premium
It's done this since I've had the phone.. part of me thinks it's because of all the weird partitioning i had to do when i was using this external card with my atrix and the lapdock.. trying to unlock the webtop and all that insanity. I've tried repartitioning but it doesn't do the job.. now what?
I don't think re-odining CWM will do it, I've been on 4 different CWMs since getting my skyrocket and they've all done this.
I'm also having trouble running sean's newest ICS rom(i went back to GB for a while, too many little bugs were driving me crazy) now. Phone won't boot with it installed. Could this be because the dalvik can't be wiped? where is the dalvik cache written to?
Have you tried using a different external SD card to see if it still gives you that error?
naw, i know i should. i will soon, i was just kind of looking to see if this was a common thing. just formatted the card and will try again. the issue never caused any problems until right now, i'm thinking it's part of the reason i can't boot the ROM. will try reflashing after formatting the external card, then if that doesn't work i'll try going back to the GB nandroid, if it still doesn't boot then i'll try the external card and get back.
You shouldn't need an external to boot the rom. Everything should be flashed from the internal. Just leave the external out, reflash everything, and boot up.
Sent from my SAMSUNG-SGH-I727 using xda premium
yeah i figured it couldn't really be the external causing the boot failure. but would not being able to properly wipe the dalvik cause it? because it returns the error when i go to wipe the dalvik. sorry, i'm like a half-noob... got all the terms and procedures down, but the under the hood stuff is still coming slowly lol
edit: no dice. just won't boot at all. going to ODIN cwm again as suggested and try that.
now things are getting really weird. after ODINing CWM, when i go to install from the external SD it just keeps going to my internal. both "internal" and "external" sd card options go to the internal. there's a subfolder for the external_sd as it would be in root explorer, but that just loops back to the normal internal sd folder.. what the hell is going on?
stevenavm said:
now things are getting really weird. after ODINing CWM, when i go to install from the external SD it just keeps going to my internal. both "internal" and "external" sd card options go to the internal. there's a subfolder for the external_sd as it would be in root explorer, but that just loops back to the normal internal sd folder.. what the hell is going on?
Click to expand...
Click to collapse
Your on ATT so get the odin oneclick and properly start with the leaked ICS rom.
The onclick has bootloader updates thats CWM wont give you and it also installs the most recent radio and most recent ril's.
The odin "oneclick" will wipe the entire phone and set it up stock and should correct any wierd formatting errors.
Then use the Odin "program" to flash CWM tar
Then try flashing a rom again.
Oh take that card from your atrix and format it FAT32 with a pc and only put the rom and rom updates on it to start with. If you get this far, you should be good to go.
stevenavm said:
That's what I get when accessing the "advanced" part of CWM Touch 5.8.1.3 on my skyrocket(to wipe dalvik cache). I also got something similar during a nandroid backup.
What does this mean and why am I getting this message?
Click to expand...
Click to collapse
Well you are a noob for one but to answer your question its a file on you SD card used for the apps to SD feature the file will not exist nor will it be found if the feature is not used in the rom its not an error and its nothing to worry about your phone is fine and to all of you giving advice stop none of you know wtf your doing
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
nrm5110 said:
Well you are a noob for one but to answer your question its a file on you SD card used for the apps to SD feature the file will not exist nor will it be found if the feature is not used in the rom its not an error and its nothing to worry about your phone is fine and to all of you giving advice stop none of you know wtf your doing
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Hey don't be a ****, go take your disgruntled ass elsewhere. No need to be a douche when people are trying to help. This q and a. And he is having other problems too, guess you missed that part.
i727-ucle2-SkY IcS
Dirtburgler said:
Hey don't be a ****, go take your disgruntled ass elsewhere. No need to be a douche when people are trying to help. This q and a. And he is having other problems too, guess you missed that part.
i727-ucle2-SkY IcS
Click to expand...
Click to collapse
Hey, the clueless noobs were giving incorrect answers, He answered his question with an informative answer. What more do you want.
Sent from my SAMSUNG-SGH-I727 using xda premium
stevenavm said:
yeah i figured it couldn't really be the external causing the boot failure. but would not being able to properly wipe the dalvik cause it? because it returns the error when i go to wipe the dalvik. sorry, i'm like a half-noob... got all the terms and procedures down, but the under the hood stuff is still coming slowly lol
edit: no dice. just won't boot at all. going to ODIN cwm again as suggested and try that.
Click to expand...
Click to collapse
Your second issue is likely a bad download
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Dirtburgler said:
Hey don't be a ****, go take your disgruntled ass elsewhere. No need to be a douche when people are trying to help. This q and a. And he is having other problems too, guess you missed that part.
i727-ucle2-SkY IcS
Click to expand...
Click to collapse
While you are so called trying to help. Nrm actually did help. Take the attitude elsewhere.
Its not good to have a question when you all give wrong answers lol
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
nrm5110 said:
Its not good to have a question when you all give wrong answers lol
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
So your just a douche then? At least people tried to help without insulting others.
i727-ucle2-SkY IcS
Yes I am when your dealing with repeat questions but I did answer no less and correctly
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Dirtburgler said:
So your just a douche then? At least people tried to help without insulting others.
i727-ucle2-SkY IcS
Click to expand...
Click to collapse
They are all wrong answers.
I was going to say, I get this all the time and never worry about it. Everything runs fine.
Dirtburgler said:
So your just a douche then? At least people tried to help without insulting others.
i727-ucle2-SkY IcS
Click to expand...
Click to collapse
He didn't insult them personally. He gave constructive criticism for the noobs to build on. You are the only butt hurt noob insulting the one guy who gave correct information. If he didn't help the OP, he would have flashed his phone repeatedly with the same results. Quit trying to be a tough guy, and swallow your pride
Sent from my SAMSUNG-SGH-I727 using xda premium

[Q] Totally erase phone

I am looking to do a new ROM on my phone and need to basically do a "format c:" to get rid of all the old app folders ect basically start totally from scratch is there a way to do this?
You mean something like format data, cache, dalvik, system and sdcard?
Sent from my sweet & buttery Infuse
andros11 said:
You mean something like format data, cache, dalvik, system and sdcard?
Sent from my sweet & buttery Infuse
Click to expand...
Click to collapse
well I need to get rid of all the old application settings, folders, ect from all the apps/roms that I have installed. I have a TON of old folders on there that I don't know whether they are in use or not and to sum it up I guess i want to make the folder structure ect like it was when the phone was new.
Format everything andros11 mentioned. The /Data folder is where app stuff is kept so it will wipe it clean.
Sent from my SGH-I997 using xda app-developers app
After you do the wipes, you can also use odin or heimdall to flash stock froyo or gb, whatever you prefer.
Sent from my sweet & buttery Infuse
andros11 said:
After you do the wipes, you can also use odin or heimdall to flash stock froyo or gb, whatever you prefer.
Sent from my sweet & buttery Infuse
Click to expand...
Click to collapse
I did heimdal back to stock gb ukj4. now I have no Baseband ver. and it won't read my sim card. I've looked just about everywhere I can think of and have come up with barely anything, or I'm just completely missing something. Am I missing a Radio? Also I'm getting the Google Talk authentication failed message.
Drew2873 said:
I did heimdal back to stock gb ukj4. now I have no Baseband ver. and it won't read my sim card. I've looked just about everywhere I can think of and have come up with barely anything, or I'm just completely missing something. Am I missing a Radio? Also I'm getting the Google Talk authentication failed message.
Click to expand...
Click to collapse
Not sure why people always ask there (somewhat unrelated) questions in other people threads...makes it harder to find the help you need cause people assume the only question asked is what's in the title...so by scrolling through threads I would never guess someone asked about heimdall problems, id assume it was strictly about erasing data on the phone...two unrelated things -atleast post your question in a thread that is about heindall problems or when heimdall goes bad...etc
Anyways...what heimdall did you use? Try running it again, don't close it when it finishes, check the box for bootloader and the do it once more (again don't close the program after the first heimdall flash...leave ot open)
Sent from my HTC PH39100 using Tapatalk 2
I used the heimdal one click by Adam. Before I wiped out everything thing on my phone. Didn't even have recovery.
Sent from my Inspire 4G using xda premium
Drew2873 said:
I used the heimdal one click by Adam. Before I wiped out everything thing on my phone. Didn't even have recovery.
Sent from my Inspire 4G using xda premium
Click to expand...
Click to collapse
How did you wipe out everything if you didn't have recovery? Just curious about that.
Sent from my SGH-i997 using xda premium
Well. I did have red recovery when I was wiping, then I started messing with flashing new roms and ended up soft bricking my phone. I had the sim card problem before, which led me to wiping and re-partitioning the sd card then using heimdal to get stock back on. I just need to know what I can do to try and figure out what is causing the problem. I was running Aeon with red recovery. I didn't care for it. I had more problems than I wanted.
Sent from my Inspire 4G using xda premium
scooterjes said:
I am looking to do a new ROM on my phone and need to basically do a "format c:" to get rid of all the old app folders ect basically start totally from scratch is there a way to do this?
Click to expand...
Click to collapse
Go to storage and format the internal and ext sd if you want as well then or you can do it in recovery by wiping phone.

TWRP from CWM???

Was gonna give TWRP recovery a try... I am currently using CWM and didn't know if it would be safe to just use the goo app and flash TWRP that way. I have always used CWM and wanted to try something new and just want to be safe when going about it.
Sent from my SCH-I535 using xda app-developers app
I tried it, but I didn't like much. To much switching pages to do things, such as format, erase cashed, and dalvic. But who knows you might just like it.
Sent from my SCH-I535 using xda app-developers app
Yes you can install TWRP any way you like. One recovery will simply overwrite the other. Nothing to worry about.
My only brick
The one time i ever truly bricked a phone after close to 30 times rooting and unlocking boot loaders was with TWRP and this phone. I am talkin complete brick, like qualcom drivers request show up on windows brick, the kind brick that you just throw at a window, because you got no charging light, no vibration, no light what so ever.
Btw i was only flashing a rom
I never touched TWRP after .
Thanks for the input guys..... Gonna stick with CWM for now. Seen a fair amount of negative stuff towards TWRP in the forums and don't want to risk anything.
Sent from my SCH-I535 using xda app-developers app
Been running TWRP since received pre-order device. No problems whatsoever.
prdog1 said:
Been running TWRP since received pre-order device. No problems whatsoever.
Click to expand...
Click to collapse
Seconded.
Used the gooapp to flash twrp and haven't had any problems. In fact I switched over from cwm because while installing liquidsmooth cwm kept giving me error 7. Everything I googled told me it was a problem with my recovery, so switched to twrp and presto
Although watch which version of twrp because I was reading the Cleanrom lite thread and ppl were having issues with the latest twrp at the time of their postings. It was around end of September that they were saying this, I believe.
Sent from my SCH-I535 using xda premium
prdog1 said:
Been running TWRP since received pre-order device. No problems whatsoever.
Click to expand...
Click to collapse
Thirded
prdog1 said:
Been running TWRP since received pre-order device. No problems whatsoever.
Click to expand...
Click to collapse
+1
Sent from my SCH-I535 using xda app-developers app
I used to use cwm and now have been using twrp and have never had a problem. This guy above you can't blame twrp for your brick you don't know if that's what it was. Twrp I like better cause I can move my backup folder and copy it even to another computer. Cwm has the blob folder which you can't see which files belong to which backup so you can't just move one backup you have do do them all
Tap'n
evolishesh said:
I tried it, but I didn't like much. To much switching pages to do things, such as format, erase cashed, and dalvic. But who knows you might just like it.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Don't know what you were looking out but CWM is the one where the wipes/format are on different pages. All wipe options in TWRP are on the wipe page right next to each other. Newest version now released.

Categories

Resources