yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
use the built in wipe function instead of darkside scripts. some phones can be finicky with those scripts.

- wipe data/factory reset

- mounts&storage>>wipe /system
[T-Mobile Samsung Galaxy S II SGH-T989] Phil3759:
Source code for PhilZ Touch 3 recovery

https://github.com/PhilZ-cwm6/philz_touch_cwm6

I committed new changes to ORS/Kernel backup & restore/EFS to:

universal support for mount points as defined in recovery.fstab:

efs/ors/kernel scripts detect mount point from recovery.fstab

better handling of internal/external sd card mounts for other devices

possibility to backup kernels with time stamp and flash any user select-able kernel

PS: I do not always have time to clean code after I implement things. Feel free to simplify things in the code
[T-Mobile Samsung Galaxy S II SGH-T989] erickwill:
Thanks!

Thanks bro!
[T-Mobile Samsung Galaxy S II SGH-T989] LoopDoGG79:
To clear things up, I could use v6.0.1.5 to flash 4.2 ROM's once they are out?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
any recovery can be used to flash 4.2 roms. the issue was with resetting to factory when you already have a 4.2 rom installed. but i fixed this issue with v14.2.1

so yes :)
[T-Mobile Samsung Galaxy S II SGH-T989] rorreo:
does this or will it work on any phone?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
im creating a new repo of my source that will work on any phone.
[T-Mobile Samsung Galaxy S II SGH-T989] rorreo:
lol i think i just bricked mi phone dag gum it. its stuck on white htc boot screen
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Did you install this recovery on an htc phone?
[T-Mobile Samsung Galaxy S II SGH-T989] HiM@L:
nvm
[T-Mobile Samsung Galaxy S II SGH-T989] rorreo:
I did lol. But I restored to a recent backup. So it wasn't bad.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
This particular recover is made for the samsung hercules and skyrocket. Why would you ever try installing it on another phone? Lol. I have the source on my github and you can compile it for your phone very easily to get it working. If you would like to wait a day I can compile it for you tomorrow and send it to you. What phone is it you have?
[T-Mobile Samsung Galaxy S II SGH-T989] arthurgreeeen:
So i installed via flashing it in cwm 5.0.2.7 but when I reboot system it just stays black with no boot. Anyone know a fix?

I think I posted this situation before in this thread but I thought with a different ROM it would change but guess not.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Oh weird ive never seen this before. Can you verify the md5 of the file you downloaded against what it says on the url?
[T-Mobile Samsung Galaxy S II SGH-T989] rorreo:
I am using a htc inspire 4g
[T-Mobile Samsung Galaxy S II SGH-T989] doug36:
Just a little tip regarding ur 'updater.sh' script,

Make it a lil bit easier (users dont gotta edit ****)

Change '/mnt/sdcard' to '$EXTERNAL_STORAGE', its a native variable, & always correct.

Can also trim your script a little by prioritizing values, for example:

#!/system/bin/sh
Pth="$EXTERNAL_STORAGE/sk8Updater"
If [ ! -d "$Pth" ];then
mkdir -p "$Pth"
else
rm -rf "$Pth"/*.txt
fi
wget http://sk8erwitskil.selfip.net:81/url-$1.txt -O "$Pth"/url-$1.txt
wget http://sk8erwitskil.selfip.net:81/version-$1.txt -O "$Pth"/version-$1.txt
url=`cat "$Pth"/url-$1.txt`
version=`cat "$Pth"/version-$1.txt`

if [ -e "$Pth/$version" ];then
echo "You already have the latest version"
else
wget $url -O "$Pth$Version"
echo "install /emmc/sk8sUpdater/$version" > /cache/recovery/openrecoveryscript
else
echo "
Your phone will now reboot into recovery
Select run openrecoveryscript in recovery
"
sleep 2
reboot recovery
fi

Path (Pth) variable is set first, & automaticly determined for first storage,

If path not exist, make path, else empty path,

Check version & record,

If version up to date (per old script) then nothing, else

echo warning, sleep 2 seconds, export values to file, & reboot recovery.

less hassle, straight to the point. :)
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Awesome. Thanks! :)
[T-Mobile Samsung Galaxy S II SGH-T989] rorreo:
You still working on that new version
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
yes. there are a few bugs i need to iron out first.
[T-Mobile Samsung Galaxy S II SGH-T989] doug36:
No worries, just a note,

Just noticed i had the reworked version in code box, but apparently had a copy/paste issue xD damn cellphone browsers xD

Fixed & should work as is

& holy f*ck rorreo, thatsa big sig
[T-Mobile Samsung Galaxy S II SGH-T989] thehandi:
I'd like to request an embedded minimalistic file sort toggle with name, date, type, & size arrangements.

Being such a simple(hopefully), maybe point me towards documents detailing how I could go about adding it myself? or would that require recompiling?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
not sure what you mean. youde like to be able to sort the files when you are looking at them in recovery? like when you go to install a file or something?
[T-Mobile Samsung Galaxy S II SGH-T989] thehandi:
Basically, yes. Essentially the same kind of sorting as used in TWRP.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
ok updated to latest version
[T-Mobile Samsung Galaxy S II SGH-T989] gruntparty:
Yes.
[T-Mobile Samsung Galaxy S II SGH-T989] muasxees:
Can anyone make a tar package for odin on this latest version?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
You can do the terminal method if you dont want to flash through cwm.
[T-Mobile Samsung Galaxy S II SGH-T989] YourPartyBoy:
Thanks buddy for the latest update, i'm glad you ported it for our devices!
[T-Mobile Samsung Galaxy S II SGH-T989] erickwill:
Thanks!

Hey brotha!

Nice job! ;) Thank you very much ;)
[T-Mobile Samsung Galaxy S II SGH-T989] mataflakitas:
Enviado desde mi SAMSUNG-SGH-I727 usando Tapatalk 2

---------- Post added at 03:29 AM ---------- Previous post was at 03:20 AM ----------

Update now...thanks my friend...:D

Enviado desde mi SAMSUNG-SGH-I727 usando Tapatalk 2
[T-Mobile Samsung Galaxy S II SGH-T989] soleil10:
First time to flash Recovery on SII. How to do it? May I flash via CWM?
[T-Mobile Samsung Galaxy S II SGH-T989] :
yes, flash like any zip... reboot into recovery and you should be golden.
[T-Mobile Samsung Galaxy S II SGH-T989] soleil10:
thanks and this is for hercules?

Flashed. But Can not wipe cash. Can not flash a new ROM.

Restore...

What's wrong with me?
[T-Mobile Samsung Galaxy S II SGH-T989] DM_Sledge:
Did you reboot the recovery after flashing?

Sent from my Note 2 running PA2.99
[T-Mobile Samsung Galaxy S II SGH-T989] cricketz66:
Thx for the work on this! And I gotta say it flashed in perfectly and is a breeze to use!
[T-Mobile Samsung Galaxy S II SGH-T989] 6Seven:
Will this recovery backup and restore 4.2 ROMs?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Yes the /sdcard/0/ fix has been applied
[T-Mobile Samsung Galaxy S II SGH-T989] DM_Sledge:
This recovery it's the only thing I miss from my old phone!

Sent from my Note 2 running PA2.99
[T-Mobile Samsung Galaxy S II SGH-T989] dennis96411:
I wish CWM had some compression feature for making backups. I was forced to use TWRP because my 32GB microSD card had gone bad and I needed the backups to be smaller.

Sent from my Samsung SGH-T989 running CM10 by TeamChopsticks.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Ive never had an issue with the size. I keep 1 backup at a time on my external sdcard and barely notice it's there
[T-Mobile Samsung Galaxy S II SGH-T989] bryan2894:
Hey, sk8erwitskil, not sure if you're aware of this but when using the CM updater to flash a nightly on CM10.1 it gives a verification error and says no such file found. Flashes ok manually though. Here's a recovery.log if needed.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
I'll look into it. I assume it would do the same on the skyrocket as well.
[T-Mobile Samsung Galaxy S II SGH-T989] jrodbrown58:
Is there anyway to install this such as thru goo manager or an app anywhere? my phone is not recognized thru the computer in adb or as an external hard drive in order for me to install it the way the dev says. I do have terminal emulator installed but not sure on the correct way to use it for this install. What would everyone recommend me to do? I currently have TWRP installed and love it but have seen where some ROMs that use AROMA might have a few issues.

Thanks!

Edit: Nevermind, i missed the zip download link...
[T-Mobile Samsung Galaxy S II SGH-T989] Evilhik:
Hey, sk8erwitskil can you update clockwork mod to the latest version ? 6.0.2.9
[T-Mobile Samsung Galaxy S II SGH-T989] Solidified:
Need modification for screen colors

sk8erwitskil,

I am using a LG-P505 which uses different screen drivers (?) for displaying the menu etc.

I am currently using vers 6.0.2.7 and LOVE it!!

Any chance of getting a mod'ed version for my screen so I can see what the h*ll I'm doing? :laugh:

Many thanks regardless for a WICKED good recovery!! It's much appreciated.

Solidified

LG-P505 running CM10.1.0-RC2-20130512

Jenkins kernel 122-844 Mhz

CWM 6.0.2.7 Rulz!
[T-Mobile Samsung Galaxy S II SGH-T989] Chosen_on184:
Its seems download link is down, can someone post a mirror to it
[T-Mobile Samsung Galaxy S II SGH-T989] jfreshh330:
Can I download the flash able zip and flash thru my correct CWM version? Do I have to use Odin or adb? Should I install ROM from SD card and find flash able zip and flash?
[T-Mobile Samsung Galaxy S II SGH-T989] krazierokz:
Or you can just download ROM manager and install through there :thumbup::rolleyes:
[T-Mobile Samsung Galaxy S II SGH-T989] xda___:
dl/wrk?

is there a list of compatible devices?
[T-Mobile Samsung Galaxy S II SGH-T989] 20twins10:
anyone know if im able to mount/use storage with CWM? i'm currently on a newer version of twrp and i have a problem with my primary drive to the point of where i cannot boot my rom. i need to try and throw another rom on and see if that works. in twrp im unable to mount my internal storage to where i can pull files off.. im trying to salvage my camera photos. i switched roms earlier this summer and must not of changed the save to location..
[T-Mobile Samsung Galaxy S II SGH-T989] gyakusetsu1215:
Can't you just install the ROM from your external sd card?

sent from my liquid smooth landline via the tapatalk touch tone app
[T-Mobile Samsung Galaxy S II SGH-T989] 20twins10:
restoring via twrp, my current rom only boots so far then locks up and reboots.. what i am going to try is to put a different rom on the microsd card and install it, see if i can get a different rom to boot.. i believe to some point that the last drop that happened damaged the internal drive to some degree and its not able to boot up.. however i can get the device into recovery, but twrp isnt able to mount the drives to where i can pull my files off.. im just trying to salvage my photos for the most part. If CWM will mount my drive i can pull off what i need.
[T-Mobile Samsung Galaxy S II SGH-T989] 20twins10:
saved!!

so this evening i finally got time to flash this version of CWM, while i wasnt able to get usb to mount via recovery *if that's even possible* i did however manage to get into AROMA file manager and transfer all the files i wanted too off my busted internal storage onto my micro-sd which i plugged into my wifes phone, booted and connected too and got all my files.. 8months of family photos.. i wasnt quitting just yet.. but this method.. not sure if doing it without aroma would have worked, i tried, but was also impatient and drinking so.. not impossible i missed something. aroma worked. if you caan dig root explorer your dog aroma.. a ****in plus.. so stoked..

ps.. currently on twrp 2712 on my new htc one s, will definitely be looking into cwm for this device.. a saviour
[T-Mobile Samsung Galaxy S II SGH-T989] scifan:
So, I'm unsure what to think... I never really did anything with the S2 that my daughter has when it was my wife's phone (she wouldn't let me do anything exotic with it...) My daughter was having some difficulties with the stock 4.0.4 rom, and honestly wanted to have a newer rom to work with...)

SO, I flash CWM on it, made a backup, rooted it, installed tibu, and backed up her apps, and then started playing...

I updated the recovery on my daughter's phone to this version of CWM...

And I ran into this scenario... I'd flash 4.3.1 (I tried Carbon, Liquid Smooth, and Slim Bean) - I'd wipe/format the system and data, clean wipe, then I'd let the rom boot for the 1st time, and then log into google, and let it automatically install all of her applications, the 1st time I restored application data via TiBu it all looked great, and then I rebooted, and poof it hung at a black screen - no splash screen, nada...

I thought I must have screwed something up... I did it a 2nd time, and had the same experience... switched roms, and tried it again, and no dice.. I read something about someone else having a problem with corrupt cache... or something about permissions being set wrong for cache via CWM - I read about using Darkside super-wipe... tried that... (and then had to Odin back to UVMC6 to get it back to a usable state...)

Then I tried it one last time after Odining... and ran across something about TWRP working better than CWM for some install scripts... figured what the hey... flashed TWRP, and then checked various file systems, and found my data partition/filesystem was corrupted, formatted it, and re-installed and bam, it's working...

I don't know what to think... I've run CWM previously with no problems... *shrug*
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
if you havent had any problems with 5.5.0.4 and like that format you can go into cwm 6.0.1.2 and go to backup and restore and change backup format to tar and you will have the same backup format as 5504. :)

if you use a file manager app or mount your sdcard and find out if .android_secure is on either /emmc or /sdcard or if you have a rom that does it the other way see if it is on /sdcard/external_sd or /sdcard. if you have an /emmc folder and it lives on /sdcard then its external.
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Here's what I came up with.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
so it looks like you were using a ROM that put it on your external sdcard but sometime after june 7 you switched to a rom that now uses it on your internal sdcard since the one on your internal was accessed on august 20. so download the normal version and it will backup the correct folder :)
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
You are awesome sk8! Thanks! That's probably why I couldn't use my previous nandroid. So when I flash this cwm will I need to flash a new nandroid??
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
yah i would delete all your previous nandroids (for that rom) and just make a fresh one.
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Last question. I am used to looking up backups in astro under cwm. How do I go about finding them? Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] scribbles92:
Sweet thanks..!! :good:
[T-Mobile Samsung Galaxy S II SGH-T989] bmakk2055:
Same place
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
This is my old one. When I flashed this new recovery i did a nandroid to external I believe. But I don't see it. Also with my rom manager app do I delete it or do I still need it? And if I need it what do I do next? Sorry for all the questions. Just so used to the old way
[T-Mobile Samsung Galaxy S II SGH-T989] noodles2224:
Ok thanks, so second one it is then. Btw, i just have the stock ICS for tmobile.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
you have to see where your ROM mounts your external storage. in recovery i have all the mount points set correctly so if you selected backup to external then its there. the way recovery mounts your partitions and the way your ROM mounts your partitions are different.
[T-Mobile Samsung Galaxy S II SGH-T989] manekineko:
I notice in 6.0.1.2 non-touch at least, under advanced the option for "partition internal sdcard" is back.

This was removed by sk8erwitskil in CWM5 with warnings that it could brick our phones.

Has this been solved or is this a bug that it's back?

It sure would be great to be able to repartition my phone's internal storage to get more space for apps and less for media storage, or even to eliminate the media storage entirely like on the Galaxy Nexus!

I'm reposting this from blackwing's thread here at this suggestion to talk to sk8erwitskil directly.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
i only took it out because there was really no use for it and unless you are an experienced user you could really do damage to your device. there was no bug that caused problems for this particular device. if you would like that option added in you can PM me and i will make a private version for you but i do not want to make a public one since there will be people out there who dont use it right and then come blaming me that i bricked their device.
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
So I have no worries it should be there. if I did a backup correct? Btw it looks very nice. With astro it shows only sdcard0, im assuming external is 01? How can I get it to see it? Again thanks

---------- Post added at 07:52 AM ---------- Previous post was at 07:35 AM ----------

Crap I just flashed your 10 and now you have a new one?? Lol! Do I have to do a new nandroid if I flash this new one or is my latest one ok?
[T-Mobile Samsung Galaxy S II SGH-T989] manekineko:
Well actually, like I noted, it's already an option in there.

How could using this cause bricks or otherwise damage the phone? Is it doing something more than reallocating the space among the partitions in internal memory?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
no you do not need to make a new one between versions. all cwm6 backups are compatible with all cwm6 versions

yah its an option in stock but i took it out of my version. idk exactly what its doing as it hasnt been something ive ever looked into. i can take a look
[T-Mobile Samsung Galaxy S II SGH-T989] noodles2224:
Is the external sd version coming out anytime soon?? :)

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
http://d-h.st/apB

^^here ya go
[T-Mobile Samsung Galaxy S II SGH-T989] Dougshell:
did we just get an informal update?
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
So when a new update comes out just reflash in cwm like the original correct? Sorry for all the questions. Haven't done anything but cwm 5. This is my first change.
[T-Mobile Samsung Galaxy S II SGH-T989] bmakk2055:
What the one in the op don't back up to external?
[T-Mobile Samsung Galaxy S II SGH-T989] noodles2224:
Thank you. Will flash later when im charging my phone. I hate how everytime we restart our phone, the batterystats erase. It wasnt like that on other phones. Maybe its a samsung thing but i like seeing how long it lasted each time i plug it in to charge. :)

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
correct. just flash and you are done :)

it does. thats not the issue. some people have .android_secure on their external sdcard and some have it on their internal sdcard. it all depends on what rom you are using. so i made 2 versions....one that looks for it on internal and one that looks for it on external
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
nope its in the OP as well. its just the version for people who have a ROM that puts .android_secure on their external instead of internal
[T-Mobile Samsung Galaxy S II SGH-T989] Chuchave:
hey i have big issue i installed aok jb build 1 i followed the instructions to the t..the rom was pretty smooth but i was unable to shutdown or boot into recovery...someone said to do another darkside cache wipe but i cant because im unable to get to recovery it just hangs....even if i try it in cwm it wont let me...also i cant factory reset...i was on cwm 6.0.1.2 but someone went into rom manager and flashed an older touch version..can someone pls help
[T-Mobile Samsung Galaxy S II SGH-T989] bmakk2055:
What is Android secure for?
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
this part doesnt make sense to me: "im unable to get to recovery it just hangs....even if i try it in cwm it wont let me". how do you try it in cwm if you cant get to recovery? cwm is recovery...

its nothing majorly important. some apps store some cache-like information there.
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Do scripts work on this? Ime used to when things are acting up I flash darkside cache wipe. Btw im using your recovery and its pretty cool.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
yes the darkside cache wipe will work in this recovery
[T-Mobile Samsung Galaxy S II SGH-T989] pettigrew95:
Can you use this recovery whether your ROM writes android secure to external or internal? I'm using a modified stock ROM. Running Mr.X's tweaked official T-Mo ICS.
[T-Mobile Samsung Galaxy S II SGH-T989] dadr0p:
Hi

I'm running the CM10 alpha3 by TeamChopstick ROM & my mount is /Storage/Sdcard0 where the .Android_secure is located, so nothing backs up. FYI The Micro SD is mounted as /Storage/Sdcard1

Any suggestions? Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
yes i made versions for both. theyre both in the OP.

so it looks like your android_secure folder is on your internal. so download the regular one and if it doesnt back it up then try the other one. one of them has to work since theres only 2 locations it could be.
[T-Mobile Samsung Galaxy S II SGH-T989] SandeepEmekar:
Safe CVM?

I had heard that Touch CVM which was mainly used for rooting is not safe due to a hardbrick bug.

Can this one be used on Galaxy Note- N7000 ?
[T-Mobile Samsung Galaxy S II SGH-T989] erickwill:
@sk8erwitskil

I am kind eager for the new release! :D
[T-Mobile Samsung Galaxy S II SGH-T989] krazeecracker:
To update or to stay with 5 lol I'm worried.
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Hey sk8 I've used the Darkside cache script and it doesn't work with this. When I manually did cache wipe dalvik it booted up. Also I have a notification to update rom manager... Even if I use your recovery should I update rom manager?? Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
So you flashed the darkside cache wipe and it didn't erase anything? I don't get what you mean. Can you explain a little more?

You can update rom manager anytime. It won't affect recovery at all. :)
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
Do not..... I repeat, do not use anything that wasnt created for your device. This is made for the gs2
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Sorry. I dirty flashed paranoidandroid and used darkside cache scripts first then rom SU then gapps and ended up in bootloop. So I started again and manually cache wipe and dalvik wipe then flashed rom in the order I mentioned and it booted fine.
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
uploaded newest version. lots of new features
[T-Mobile Samsung Galaxy S II SGH-T989] erickwill:
You rock brother! Thank you very much!
[T-Mobile Samsung Galaxy S II SGH-T989] suaverc118:
Already flashed. Don't know much about aroma but have heard of it. Is it something I can google because it's all the same or is it different?
[T-Mobile Samsung Galaxy S II SGH-T989] ArcticFish:
Wasn't the dark side scripts discontinued?

Sent from my SGH-T989 with Cyanogenmod 10 Alpha Power.
[T-Mobile Samsung Galaxy S II SGH-T989] krazeecracker:
Yes but they still work for cwm 5

Carrier: T-Mobile

Phone: GSII

ROM: ErickWills CM10 8/25

Kernel: Stock

Baseband: T879UVLG3
[T-Mobile Samsung Galaxy S II SGH-T989] casonswag:
Theres many types of aromas this aroma thats on here is like a root explorer in your recovery just put it like that
[T-Mobile Samsung Galaxy S II SGH-T989] sk8erwitskil:
i dont know. were they? i dont see why they wouldnt still work. its just scripts that format and align the partitions.