[RECOVERY] [SGH-I757M ONLY] v6.0.1.1 - Bell GS2 HD LTE ClockworkMod Recovery

markdexter

Senior Member
Oct 24, 2010
1,185
304
0
Na, I'm busy enough with CM9 already, I don't feel like doing anything else. Feel free to search the Root I757 thread for the mount points necessary to fix whatever is in that ZIP.
Oh ok. If the mount points are posted it will defibately help, didnt realise it was posted. Thanks

Sent from my SGH-I757M using xda premium
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
OH I'm so excited i hope this works I Miss ICS SO MUCH....
THANK YOU for all your hard work!!!
i hope you had a wonderful long weekend.
cheers
Don't get your hopes up too high :-D It's just a shot in the dark. I was looking at the SD driver config and noticed one value was overlooked, even though it was enabled in 2.3 and also in the ICS ROMs for other S2 devices.
 

jonnyjb

Senior Member
May 8, 2011
260
55
0
Calgary
Don't get your hopes up too high :-D It's just a shot in the dark. I was looking at the SD driver config and noticed one value was overlooked, even though it was enabled in 2.3 and also in the ICS ROMs for other S2 devices.
Ya it was working but then i plugged it in to power and all was lost.

Sent from my Transformer TF101 using xda app-developers app
 

spaztiq

Member
Aug 1, 2008
19
3
0
Calgary
Could someone post a mirror of "root_sgs2hdbell.zip"? Dev-Host has been transferring this tiny file to a new server for a while now, and I am unable to download it because of that. Figures the moment I want to root, something goes funky.
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Could someone post a mirror of "root_sgs2hdbell.zip"? Dev-Host has been transferring this tiny file to a new server for a while now, and I am unable to download it because of that. Figures the moment I want to root, something goes funky.
Check my response in the cm9 thread.
 
  • Like
Reactions: spaztiq

hhcat

Member
Dec 30, 2011
41
59
0
Hi dsixda, this is great work!
I am trying to port to Korean Galaxy SII HD LTE phone.
Could you share the tool you used to pack and unpack recovery.img?
I search on internet and got the tool bootimg-tools.
Following the instruction, I failed at the step:
gzip -dc ../recovery.img-ramdisk.gz | cpio -i
Error messages like:
cpio: xxx not created: newer or same age version exists
And there are no files extracted.
Could you please help?
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Hi dsixda, this is great work!
I am trying to port to Korean Galaxy SII HD LTE phone.
Could you share the tool you used to pack and unpack recovery.img?
I search on internet and got the tool bootimg-tools.
Following the instruction, I failed at the step:
gzip -dc ../recovery.img-ramdisk.gz | cpio -i
Error messages like:
cpio: xxx not created: newer or same age version exists
And there are no files extracted.
Could you please help?
I'm just using the msm8660 sources for kernel, as well as CM9 sources for recovery image. See my GitHub for instructions (kernel and device folders).

EDIT: You can also use my Android Kitchen, under Advanced Options, option #20 (to extract and re-pack a boot.img/recovery.img).
 
Last edited:
  • Like
Reactions: hhcat

hhcat

Member
Dec 30, 2011
41
59
0
I'm just using the msm8660 sources for kernel, as well as CM9 sources for recovery image. See my GitHub for instructions (kernel and device folders).

EDIT: You can also use my Android Kitchen, under Advanced Options, option #20 (to extract and re-pack a boot.img/recovery.img).
Thanks for the answer.
I am reading your instructions. It require to get CM9 code and compile from the scratch.
I am thinking of whether I could do in alternative easy way that just unpack your CMW recovery for i757, replace .ko module, replace fstab and then repack. :)
One more question, what is the base address?
I looked at hex content of recovery.img, it looks like 0x40400000, is this correct?
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Thanks for the answer.
I am reading your instructions. It require to get CM9 code and compile from the scratch.
I am thinking of whether I could do in alternative easy way that just unpack your CMW recovery for i757, replace .ko module, replace fstab and then repack. :)
One more question, what is the base address?
I looked at hex content of recovery.img, it looks like 0x40400000, is this correct?
That's the address for my device, but I'm not sure if your device has the same address.. you'll need to look at a stock boot.img or recovery.img to be sure.

You don't need the .ko module.. it's a recovery image so its kernel doesn't rely on modules like a kernel in boot.img does (required for wi-fi, bluetooth, etc.).

For building the recovery image, just replace my BoardConfig.mk to match yours (in the device folder).

Also, for the kernel, replace "cyanogenmod_celoxhd_defconfig" with the defconfig that comes with your stock ICS:

- you can grab it from from the Samsung opensource site, OR:
- grab the file /proc/config.gz while your phone is on, extract the config file, and rename it so that it ends with "defconfig".. e.g. "SHV_120L_defconfig"


Then follow instructions in my device_celoxhd github to do the "makerecoveries.sh".
 
  • Like
Reactions: hhcat

hhcat

Member
Dec 30, 2011
41
59
0
I enabled cwm recovery for e120s. :)
One monor issue, adb is not enabled in recovery.
Is this the expected issue or I might miss certian step?
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
I enabled cwm recovery for e120s. :)
One monor issue, adb is not enabled in recovery.
Is this the expected issue or I might miss certian step?
Congratulations, how did you do it?
I don't know how to enable adb, it might be set in the rc files or default.prop?
 
  • Like
Reactions: hhcat

hhcat

Member
Dec 30, 2011
41
59
0
Congratulations, how did you do it?
I don't know how to enable adb, it might be set in the rc files or default.prop?
I didn't find out how to enable adb in reocvery.
I have tired the following steps but did not succeed:
*set persist.service.adb.enable=1 in default.prop
* in init.rc:
service adbd /sbin/adbd recovery
enabled

The investigations are still on-going...
 

stronixs

New member
Jul 23, 2012
2
0
0
home button don't work

Very useful recovery, thanks:) But on my i757m don't work the Home -> Up button. In advanced menu key test show that menu = 139, home = 172, back = 158, search = 217. It's not deadly, but uncomfortably. What is the problem? Any advice?:confused:
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Very useful recovery, thanks:) But on my i757m don't work the Home -> Up button. In advanced menu key test show that menu = 139, home = 172, back = 158, search = 217. It's not deadly, but uncomfortably. What is the problem? Any advice?:confused:
Same here.. I don't know why.. maybe it was disabled on purpose. Just use the volume keys.


BTW the keys are defined under /system/use/keylayout/melfas_touchkey.kl. In the code it checks for KEY_HOME, but ours has it defined as just HOME. Not sure if that's the issue there
 
Last edited:

B.Moreira

Senior Member
Jun 13, 2012
72
8
0
Edmonton
I managed to build a rom on 2.3.6 from stock using your kitchen :)
It booted the first try! Would you want it on your dev-host files?
It just has root, busybox, de-odexed, zip-aligned, and all bloatware/useless apps removed.