yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] m00nshake:
okay maybe this is why I can't copy the recovery file to /system/bin:

---

mount -o rw,remount /dev/block/stl9 /system

---

how do I execute this command? Using adb, Odin, help please?? :)
[Vibrant Android Development] scrizz:
use terminal emulator

or adb shell

remember to su 1st

;)
[Vibrant Android Development] m00nshake:
doh! I should have known that... Thanks... done! :)
[Vibrant Android Development] supercurio:
Possible integration in Voodoo

Hi!

Is your work Open Source?

Voodoo 5 now has CWM support but at least a test-key recovery would be nice.

I don't distribute hacked binaries (and I'm heavily size-limited). Would you publish the source of this modifications ?

Thanks
[Vibrant Android Development] untermensch:
this mod was done with a disassembler and a hex editor, no source
[Vibrant Android Development] supercurio:
Oh sure, i meant the source of the modification themselves :P

(like a description: change this to AC.. etc)

I guess anybody can find the mods using an hex editor also. I'll take a look.
[Vibrant Android Development] untermensch:
if all you want to do is load the keys from /efs/keys then search for /res/keys and

change to /efs/keys

if you want to also kill the forced wipe after installing an update zip then you will

also have to make these changes

Comparing files orig_recovery and MOD_RECOVERY

000016B6: 02 AF
000016B7: F0 F3
000016B8: ED 00
000016B9: F8 80

000016BA: 03 AF
000016BB: F0 F3
000016BC: AF 00
000016BD: FA 80

000016C2: FF AF
000016C3: F7 F3
000016C4: E5 00
000016C5: F8 80

000016CA: FF AF
000016CB: F7 F3
000016CC: E1 00
000016CD: F8 80

000016D2: FF AF
000016D3: F7 F3
000016D4: DD 00
000016D5: F8 80

000016DA: 02 AF
000016DB: F0 F3
000016DC: DB 00
000016DD: F8 80

AF F3 00 80 = NOP
[Vibrant Android Development] Cefur:
Hi!

Since the binary on I9000 is not the same as on Vibrant, hex only info is not enough for "easy" convertion. I assume/hope a little more info is needed.

Would you be so kind to teach a man how to "fish"? ;-)

Thank you.
[Vibrant Android Development] Cefur:
Can somebody post/attach a stock non-modded recovery file, please.

So I can try checking for differences and "implement" them on I9000 binary with a help of debugger.

Thank you.

P.S.: I would like to thank TJD319 for providing me with non-modded recovery.
[Vibrant Android Development] thechadhall:
worked like a charm! finally got Clockwork back with the JK6 update.
[Vibrant Android Development] slinky88:
installed root explorer

hit the button so it said r/w in the top left (im guessing read and write access)

copied files to proper folders

hit home button to go back to my phone desktop

turned off phone

booted into recovery

hit reinstall packages a few times and got same error which is e: sig verify failed

i did have clockwork flashed with the proper update.zip inside my internal sdcard root dir

please help thanks!
[Vibrant Android Development] luismanson:
im interested on modding the i9000 recovery, can you please explain a bit more on how to skip the check? not actually the hex edit but how did you find where to do the edition? our recovery is not the same... :(
[Vibrant Android Development] untermensch:
that is not an easy question to answer, I disassembled recovery with IDA, then I used a the on

screen messages to narrow down the target code, then read the assembly code, identified sub

functions that print to the screen or recovery.log and just eliminated the unwanted sub functions.
[Vibrant Android Development] untermensch:
updated first post with JK6 recovery, included the IDA database file, and the patch offsets

to patch factoryfs.rfs with the mod friendly recovery. added update.zip that will root JK6
[Vibrant Android Development] luismanson:
thanks, its time to burn my brain :P :)
[Vibrant Android Development] silow:
Holy **** you are awesome. Thanks for your work.
[Vibrant Android Development] mveksler:
I have a question, when I tried to move the files to the system folder, it told me that i dont have enough space in the system space. I when into that folder with Root Explorer and it tells me that system folder has 180k available.

How do i move these files into system folder? Do I have to remove some stuff before moving this files in?
[Vibrant Android Development] luismanson:
i took a look inside ida, and got scared away, im interested on the /rel keys but i do have to sign the updates with an specific key, right? (which ones?)
[Vibrant Android Development] outllaw:
So I gave this a try on stock JK6

Everytime I try to reinstall packages it says signature failed. I followed the instructions, maybe I got confused somewhere in the process with the fact that there are 4 files to dl and 2 versions etc.

can someone pease give a step-by-step from which to dl then what to do next?

I hate to ask like i need my hand held but it just flat out isnt working for me. Not to mention it is a massive pain to get files to my sd since everytime it says parameter incorrect. I could really use a hand here. I can get fies on the internal after copying to the externa then moving with root exporer, but I am just lost otherwise
[Vibrant Android Development] zapote21:
Just wiped and updated to JK6... Cant remount to r/w because no root access...

Ideas, thoughts?

EDIT.. Got it... :-)
[Vibrant Android Development] galaxypirate:
so i installed everything and i can now make the recovery feture work, but clockwork is not working. tried flashing with clockwork, but all i get is the samsung recovery screen. am i doing something wrong?
[Vibrant Android Development] silow:
If you are on stock JK6 - meaning you flashed JK6 via ODIN and do not have root:

The 2 files you will need to download are update.zip and mod_jk6_recovery.zip

1.) Place the update.zip in your internal sd card (i.e. /sdcard/update.zip). Sounds like you already have a method to do this by copying to external and using root explorer to move it to internal (you can also use adb push).

2.) Boot in recovery and flash the update.zip file. This will root your phone.

3.) Unzip mod_jk6_recovery.zip and rename the file 'mod_jk6_recovery' to 'recovery' and place this file on your external sd card.

4.) Use adb shell to issue the following command

mount -o rw,remount /dev/block/stl9 /system

or use Root Explorer and browse to the /system folder and use the Mount r/w button

5.) Using root explorer (or through adb shell) you will need to delete some bloatware from the /system/app partition to free some space. I got rid of slackerradio.

6.) Use root explorer to rename the following file /system/bin/recover to /system/bin/recovery_jk6 to back up your original recovery file

7.) Copy the recovery file from your external sd card to /system/bin

You can skip the first 2 steps if you are already rooted.
[Vibrant Android Development] untermensch:
you can also use rageagainstthecage to get temp root and install the modded

recovery.

download and extract ratc.zip

download and extract the modded recovery

Settings>Applications>Development: turn on USB debugging

adb push ratc /data/local/tmp/ratc
adb push recovery /data/local/tmp/recovery
adb shell
chmod 755 /data/local/tmp/ratc
/data/local/tmp/ratc

let rageagainstthecage run when you get booted log back in

you should now be root.

adb shell
mount -o rw,remount /dev/block/stl9 /system
rm /system/bin/recovery
cat /data/local/tmp/recovery > /system/bin/recovery
chmod 755 /system/bin/recovery
rm /data/local/tmp/recovery
rm /data/local/tmp/ratc

the file system is full on JK6 and JL1 so you will also need to delete

some bloat, you might get Superuser.apk and su but not busybox

so choose something in /system/app to delete I choose slackerradio.apk

because its about the size of busybox and can be downloaded from the

market.

you can also root with the update.zip on the first post which will automaticly

delete slackerradio.apk and install root.

my preferred way is to patch factoryfs.rfs with the modded recovery and flash

with Heimdall.
[Vibrant Android Development] b-a-p:
Could you make same great job for Samsung Galaxy S GT-I9000 (ROM JPB or JPU)?
[Vibrant Android Development] fataltrain:
hi I am on galaxy s

baseband I9000xxjpp build no: i9000xxjpo

and i cant seem to get this to work i am rooted and cant seem to do anyhting wiht clockwork i just get E: failed to verify whole-file signature

E: signature verification failed installation aborted :S
[Vibrant Android Development] leungda:
It works on my T959 JK6. Thanks. Now, the Rom Manager recovery installed.
[Vibrant Android Development] blackerwater:
So I've been running this 3e from day one works great thank you

Sent from my vibrant
[Vibrant Android Development] thechadhall:
works great on the JL5 update too. thanks for this.
[Vibrant Android Development] Bugdog:
Forgive me if this is a stupid question, but might this work to fix a "bitmap indeterminate" error that I get when trying to boot into CW recovery after flashing the JL5 kernel and modem over stock JK6? The phone seems to be working fine in general, except for recovery. I can get into stock recovery, but if I reinstall packages it freezes at the error screen, which is also what it does if I try to boot into CW from ROM manager. I know that I can ODIN a fresh install to fix it, but I don't have a PC and am looking for another option (if one exists).

Thanks much in advance.
[Vibrant Android Development] untermensch:
recovery has not changed since JK6, so I don't think this will help unless the file

got corrupted somehow.
[Vibrant Android Development] Bugdog:
I figured. Sometimes you just have to ODIN (although this is my first time). Thank you!
[Vibrant Android Development] krylon360:
stock JK6 that Som posted has 3emodded recovery, JL5 kernel has 3e built into the initrd as well as the rom, I added the 3eModded recovery to the rom so it works as 2e. replace the recovery in /system/bin with the one posted in the OP and you should be fine.
[Vibrant Android Development] Bugdog:
Thanks so much - quick question or two: do I need to delete the pre-existing recovery from /system/bin? and just to clarify, there are two files in the zip, one that has the extension .i64 - which do I use?

Thank you!

Edit: nvm - I see you said "replace".

UPDATE: Successful! Huge thank yous to Krylon and untermensch - renamed mod_jk6_recovery from zip in OP to "recovery", replaced recovery file in /system/bin using root explorer, and I'm back in business. Hell yes.
[Vibrant Android Development] shinobix37:
man, I felt like I was playing an RPG game trying to get my CW recovery to work again lol. I was getting unsigned errors n stuff... I didn't bring my data cable b/c I'm at work so I had to run adbWireless... Root explorer didn't allow me to copy over the modded Recovery to /system/bin so i had to adb that sucker. That's what I get for installing a stock JL5 at launch lol.

Nero 3 here we goooo baby!!!

as always, great work XDA devs. u guys rock. hard.
[Vibrant Android Development] krylon360:
I'll see if we can't mod the recovery before we leak the next one and re-tar it for ODIN. (No, I dont have a new leak yet, just for when I find one.)
[Vibrant Android Development] Shagman68:
My phone is all messed up now, this boofed my JL5. Odin'ed the JL5 leak, but it does not have root, and now when I try to root, I get E: signature verification failed installation aborted. I'm gonna drop-kick this phone in a few minutes!!!!!
[Vibrant Android Development] larryvand:
Get the ODIN stock JL5 version that includes 3e recovery and root from here:

http://xdaforums.com/showthread.php?t=881542&page=7

post #62
[Vibrant Android Development] Matarick:
Rock and roll! Thank you since I had to reflash to semi Froyo stock due to a faulty prior ROM. Then I realized how difficult is it to nand the T959UVJL5 Froyo. This is much needed for ODIN firmware update users!

Now, I got to fix the external SD card issue from CWM. :p
[Vibrant Android Development] Ducifer:
Got it worked! thanks. finally i can get into CWM and intalling my first Custom ROM! exciting!
[Vibrant Android Development] redstorm82:
I still can not install the recovery successful on jk6:confused:

The message is that Installation aborted.

Who can help me/
[Vibrant Android Development] risktaker84:
hi,

I seem to be having trouble flashing this modified recovery. I intend on using this because I am trying to have my apps moved to my sd card based on this thread:

http://xdaforums.com/showthread.php?t=846384

According to that thread I needed ClockworkMod Recovery which I got here: http://xdaforums.com/showthread.php?t=734164

From that I ran into the problem of signature verification error, which led me to this thread here.

I have put the two text files found in mod_jk6_recovery.zip in the /efs directory. I have put the other two files in mod_jk6_recovery.zip in the system/bin folder and i have also placed the update.zip file in the root of my sdcard all using root explorer.

In ClockworkMod Recovery I have Galaxy Si9000 installed (model(?) number GTI9000HSB*BKNRB). Upon rebooting into recovery before choosing "apply sdcard:update.zip" I get the following:

Finding update package...

Opening update package...

Verifying update package...

E:failed to verify whole-file signature

E:signature verification failed

-- Applying Multi-CSC...

Installing Multi-CSC

multicsc : src /system/csc/BMC/system .

Installation aborted.

Selecting "apply sdcard:update.zip" I get the following:

-- Install from sdcard...

Finding update package...

Opening update package...

Verifying update package...

E:failed to verify whole-file signature

E:signature verification failed

Installation aborted.

I am about at wits end, if anyone can help in any possible way please do.

Thanks
[Vibrant Android Development] risktaker84:
Bump! ... can anyone help?
[Vibrant Android Development] untermensch:
remove all the files you have installed, rename mod_jk6_recovery to recovery

and replace /system/bin/recovery on the phone. the other files are for dev's

to port the mod to other phones.
[Vibrant Android Development] sandiego101:
I to am going to pull my hair out I get the same message when I try and root my phone E:failed to verify whole-file signature

E:signature verification failed

Installation aborted.

The question is does the phone need to be rooted before I can run the mod_jk6_recovery
[Vibrant Android Development] silow:
Yes you need to have root access before you can replace the stock recovery with the modified one. You won't be able to root your phone using the update.zip method on a stock 2.2 ROM. Use SuperOneClick to root (note that on a stock 2.2 ROM you won't have enough space in /system to have su, SuperUser, and busybox but that can be solved by removing bloatware from /system/app).
[Vibrant Android Development] sandiego101:
OK the super1click said it rooted and I see the superuser app however when I tried to install Titanium back-up it requested root permission I said yes but then it errors out saying its not rooted. @##$%#^$^:confused::confused::confused::confused::confused::confused::confused:
[Vibrant Android Development] silow:
Install busybox. You ran out of space in the /system mount. Delete bloatware from /system/app to free some space (i.e. slackerradio) then download and install busybox from the Market.
[Vibrant Android Development] guynaa:
i am getting a temp root failed messege,

running stock ka6, already have root with superoneclick,

it never asks me for root permissions when running,

what do i need to do?
[Vibrant Android Development] Krzysiek_CK:
untermensch,

I tried to use the zip file in your first post but my anti-virus program stops me and gives me a TR/Dropper.Gen trojan warning.
[Vibrant Android Development] untermensch:
that is because rageagainstthecage is a Linux exploit designed elevate privileges

I went ahead and compressed rageagainstthemachine this is the new virus report.

http://virscan.org/report/8e83f338fd7b8631c6b0bc0679efbd29.html
[Vibrant Android Development] vibey101:
I cant find they keys file to push to /efs?
[Vibrant Android Development] nraudigy2:
I still can't install CWM or Odin to run custom ROM. When I tried to reinstall package to get CWM (...Replacing stock recovery with CWM), it just reboots to e3 recovery everytime. I was using Axura and Nero V5. Now I am stuck on Official Froyo that just came out. My phone is rooted.
[Vibrant Android Development] Broken:
Just installed the mod 3e recovery on "official update KA6" and worked as it should. Rebooted into recovery, reinstalled package, rebooted into 3e again and reinstalled package second time and CWM popped up.

Thanks.
[Vibrant Android Development] jay661972:
Mine works. Update official froyo from kies, rooted with oneclickroot, odin ka6 voodoo and you wil have red recovery.
[Vibrant Android Development] nraudigy2:
This doesn't work. I still have the official 3e recovery even it says successfully installed. It's like I have a locked up bootloader.
[Vibrant Android Development] untermensch:
Your post here

http://xdaforums.com/showpost.php?p=10819632&postcount=73

proves that it works, your problem is something else, quit posting in this thead!!!!
[Vibrant Android Development] Nothingness00:
For those having issue with not gaining temp root, you can use Super1Click 1.5.5 to activate TEMP ROOT and then run the modifier over again. It will realize that its running already as root and install the modified recovery.
[Vibrant Android Development] frankvcs:
Hi

I just installed the mod 3e recovery on "official update KA6" and worked as it should. Rebooted into recovery, reinstalled package, rebooted into 3e again and reinstalled package second time and CWM popped up. But now I have force closes and apps stopping unexpectedly. What would you recommend?

2.2

t959uvka6

kernel:2.6.32.9

Thanx :confused:
[Vibrant Android Development] Nothingness00:
Try fix permissions in Rom Manager. It says its used to fix force closes.
[Vibrant Android Development] huynhct:
Having the EXACT same problem.
[Vibrant Android Development] huynhct:
GOT IT! Just reinstalled packages a few times and it finally opened clockwork
[Vibrant Android Development] krylon360:
they changed the binaries on the Vibrant 4G, so we will need to update this
[Vibrant Android Development] reddragon72:
I am having this issue. I have reinstalled packages 50 times and every time it reloops back to 3e....

Any ideas?
[Vibrant Android Development] krylon360:
you changed the recovery file in /system/bin correct?

you might need to redownload CWM also
[Vibrant Android Development] reddragon72:
actually I just fixed it by trial and error. I used titanium to uninstall slacker radio and then reran the recover program from my pc and this time the file wrote was bigger then before. Now when I reboot into recovery and press reinstall twice I go into clockwork everytime. Funny though is that the first time I ran this it worked and I could get into clockwork but then it just stopped working all together, but I seem to be good to go now.

Thanks for the help and I'll do it manually in the future.
[Vibrant Android Development] krylon360:
you ran out of system space.

Sounds like you ODIN'd one of the leaks I had posted. System only has less than 100KB of space when you do that.
[Vibrant Android Development] untermensch:
here are the offsets to patch for the Vibrant 4G, I flashed KAB but the no SD

issue prevents me from testing any further.

BA6 = AF F3 00 80 = NOP.W
BAA = AF F3 00 80 = NOP.W
BB2 = AF F3 00 80 = NOP.W
BBA = AF F3 00 80 = NOP.W
BC2 = AF F3 00 80 = NOP.W

1CAA = 01 20 = MOVS R0, #1
1CAC = 00 BF = NOP
1CC0 = AF F3 00 80 = NOP.W
1CC8 = AF F3 00 80 = NOP.W
1CD2 = AF F3 00 80 = NOP.W
1CDC = 00 20 = MOVS R0, #0
1CDE = 00 BF = NOP
1CE4 = AF F3 00 80 = NOP.W
1CF0 = AF F3 00 80 = NOP.W

3CD76 = 00 00 00 00 00 00 00 00 00

3D892 = 32

The attached file is for developers only, and is not flashable!!!

it contains the modified Vibrant 4G recovery, a file for IDA disassembler with

areas to be patched in red, and a text file with offset's to be patched and the

patch data.
[Vibrant Android Development] ndwgs:
As always, great work Unter! Thanks!

Sent from my SGH-T959
[Vibrant Android Development] reddragon72:
First is that a bad thing? and secondly how do I go about recovery that space. I was always under the impression that installing a new rom deleted averything from the old one....

FYI I had when back to total stock JFD before I ran the kies update for "official" KA6.
[Vibrant Android Development] TeldenW:
Hey,

I'm having the same problem that a couple of other users. I'm getting continually looped back into the 3e screen.

What program are you using to replace the "recovery" file...
[Vibrant Android Development] untermensch:
Your file system is full, You need to delete something from /system/app then

reinstall busybox. busybox 1.9 is almost 2mb so delete something about the

same size like thinkdroid.apk
[Vibrant Android Development] gzowner:
FOr those having issues, go back to the front page and download the 3e script. Run it. Let it reboot one time, than click 1 to reboot into recovery. You will need to do it twice, run the reinstall apps. It will boot to Clockwork.. coming from a full stock app 2.2.1
[Vibrant Android Development] tiber:
Thanks for this

This got me over the hump for being able to use update.zip.

One thing - you could make this a one-click. Scripting is all of our friends.

Using connectbot (or busybox)... Copy the recovery binary to your internal SD card and run the following:

su

mount -o remount rw /system

mv /system/bin/recovery /system/bin/recovery.original

cat /mnt/sdcard/recovery > /system/bin/recovery

chmod 755 /system/bin/recovery

mount -o remount ro /system

exit

This gives you recovery.original which is the unmodified binary, copies recovery to the /system/bin folder through the magic of pipes, and then sets the correct permissions.

Or just grab 3g_recovery_installer.sh.txt (attached, drop the .txt), upload it to your sdcard and run it.

Since it sounds like "open source" is important to people rolling roms, feel free to use this post.
[Vibrant Android Development] aamir123:
Can someone please help me? When I run the 3e prompt I keep getting looped with the message saying:

The system cannot find the path specified.

Temp root failed. Install cannot continue.

Before running this I used superoneclick to achieve temporary root. (Shell root)

What can I do to fix this?
[Vibrant Android Development] tiber:
I am not sure this will work with the temp root. The temp root gives you a root shell but things which aren't spawned from that root shell wont be run as root. You could try the script I posted but I would suggest doing the full root first.
[Vibrant Android Development] deadly3kys:
I am a Learning noob and cant get into clockwork recovery. First off I have updated to Official Froyo through Kies. I rooted through superonclick, downloaded titanium, got busybox off market and then it updated through titanium. Backed up apps and system data. Downloaded Rom manager it says i have clockwork 2.5.1.2. When i click to reboot into recovery it takes me to the stock recovery 3e and when i reinstall Packages it gives me this error:

"E: failed to varifywhole-file signature"

"E:signature verification failed"

Installation aborted.

What is it that am doing wrong ? I did tons of research on forums but am getting the spin around about this Recovery3e. Can you guys lead me to the right direction how to fix this ?
[Vibrant Android Development] aamir123:
Ok I was having the same problem a you, I'm also a noob. Go to the first post and download the 3e recovery and extract to desktop. Use super one click to achieve shell root. (i used the psneuter method) After that open the .bat file you just extracted and press 2 then enter.let it run. Restart as recommended. The end. Click thanks if I helped.
[Vibrant Android Development] tiber:
Yes, but you have to have the android SDK installed and ADB working, USB debug mode also. THEN this all will work.

The reason why I wrapped it up in a shell script is becaue there's really nothing particularly interesting going on in the BAT file, and I object to deleting the original recovery. I understand why - the system partition is often full on these devices - but why toss out your original stuff?