5,605,373 Members 39,622 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] ClockworkMod Recovery 5.0.2.3 // Initramfs Template for Devs

Tip us?
 
codeworkx
Old
(Last edited by codeworkx; 11th October 2011 at 03:47 PM.)
#1  
codeworkx's Avatar
Senior Recognized Developer - OP
Thanks Meter 43508
Posts: 5,439
Join Date: Nov 2010

 
DONATE TO ME
Default [KERNEL] ClockworkMod Recovery 5.0.2.3 // Initramfs Template for Devs

Quote:
CLOCKWORKMOD-RECOVERY FOR GALAXY S II (AT&T)
for use with Stock ROMs

I'll update it every time something important has changed, like CWM changes or kernel updates from samsung.
It's built from samsung kernel sources + teamhacksung initramfs template.

Instructions
  • Power your device off
  • Boot into Download-Mode using Volume Up + Volume Down + Power
  • Hit Volume Up to accept the warning
  • Start Odin
  • Choose "SGH-I777_ClockworkMod-Recovery_X.X.X.X.tar" as PDA (no repartition)
  • Connect your Phone
  • Start flashing
  • After reboot you can easily root your device using SuperOneClick

Usage
Volume Up + Power brings your Phone into Recovery Mode.

VolUp + VolDn = Highlight Up/Dn
Power = toggles menus off/on
Home = Select
Back = Back

Download
Testing - 5.0.2.3: http://www.multiupload.com/QQKN7NJAFT (md5: 4fb905992461586966ee1a7991206e93)


Don't forget to thank koush for his awesome work on ClockworkMod / ROMManager.


Quote:
INITRAMFS TEMPLATE FOR DEVELOPERS
Here's a initramfs template you can use as a base for your haxx0ry:
https://github.com/teamhacksung/cloc...2att_initramfs

It's KG1 initramfs + ClockworkMod Recovery and necessary modifications to make it work.

Instructions
To make sure to include fresh modules (vermagic) use a buildscript like this:

build.sh (inside your kernel dir)
Code:
#!/bin/bash

INITRAMFSDIR=/home/user/android/samsung/galaxys2att_initramfs
TOOLCHAIN=/home/user/android/cyanogenmod/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-

make c1_rev02_usa_att_defconfig
make -j8 CROSS_COMPILE=$TOOLCHAIN CONFIG_INITRAMFS_SOURCE="$INITRAMFSDIR"

cp drivers/bluetooth/bthid/bthid.ko $INITRAMFSDIR/lib/modules/
cp drivers/net/wireless/bcm4330/dhd.ko $INITRAMFSDIR/lib/modules/
cp drivers/samsung/j4fs/j4fs.ko $INITRAMFSDIR/lib/modules/
cp drivers/scsi/scsi_wait_scan.ko $INITRAMFSDIR/lib/modules/
cp drivers/samsung/vibetonz/vibrator.ko $INITRAMFSDIR/lib/modules/

make -j8 CROSS_COMPILE=$TOOLCHAIN CONFIG_INITRAMFS_SOURCE="$INITRAMFSDIR"
Example updater-script: http://pastebin.com/RXqiVTMv
Kernel Sources: http://opensource.samsung.com

greets
codeworkx
Currently inactive CyanogenMod Developer
Twitter: http://twitter.com/codeworkx

Current devices:
Google Nexus 5: Google Android 4.4, Stock Recovery
Google Nexus 4: 3.4.y, CWM6, CM11
HTC One: 3.4.y, CWM6, CM11
Sony Xperia Tablet Z: 3.4.y, CWM6, CM11
Sony Xperia T: 3.4.y, CWM6, CM10.2

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots | Downloads | IRC: #bbqlinux @ irc.freenode.net
The Following 46 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
jivy26
Old
#2  
jivy26's Avatar
Recognized Developer
Thanks Meter 1106
Posts: 1,760
Join Date: Aug 2010
Location: Virginia Beach, Va

 
DONATE TO ME
It is vol up+down and power to get into recover
Device History:
Nexus 5
Samsung Galaxy S4
HTC One
Droid Maxx
Samsung Note 2
Nokia Lumia 920
Samsung Galaxy S3
Samsung Galaxy S2
Samsung Captivate
 
Futang44
Old
#3  
Member
Thanks Meter 3
Posts: 41
Join Date: Aug 2010
Location: Where I lay my head is home.
Can't wait till I get one today! Great work!

Sent from my SGH-I897 using XDA App
 
jivy26
Old
#4  
jivy26's Avatar
Recognized Developer
Thanks Meter 1106
Posts: 1,760
Join Date: Aug 2010
Location: Virginia Beach, Va

 
DONATE TO ME
Also running root now too ty!
Device History:
Nexus 5
Samsung Galaxy S4
HTC One
Droid Maxx
Samsung Note 2
Nokia Lumia 920
Samsung Galaxy S3
Samsung Galaxy S2
Samsung Captivate
 
codeworkx
Old
#5  
codeworkx's Avatar
Senior Recognized Developer - OP
Thanks Meter 43508
Posts: 5,439
Join Date: Nov 2010

 
DONATE TO ME
Quote:
Originally Posted by jivy26 View Post
Also running root now too ty!
Are the buttons working like described?
Currently inactive CyanogenMod Developer
Twitter: http://twitter.com/codeworkx

Current devices:
Google Nexus 5: Google Android 4.4, Stock Recovery
Google Nexus 4: 3.4.y, CWM6, CM11
HTC One: 3.4.y, CWM6, CM11
Sony Xperia Tablet Z: 3.4.y, CWM6, CM11
Sony Xperia T: 3.4.y, CWM6, CM10.2

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots | Downloads | IRC: #bbqlinux @ irc.freenode.net
The Following User Says Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
jivy26
Old
#6  
jivy26's Avatar
Recognized Developer
Thanks Meter 1106
Posts: 1,760
Join Date: Aug 2010
Location: Virginia Beach, Va

 
DONATE TO ME
Yes they are working fine no issues. Root with superoneclick was fairly straight forward as well.
Device History:
Nexus 5
Samsung Galaxy S4
HTC One
Droid Maxx
Samsung Note 2
Nokia Lumia 920
Samsung Galaxy S3
Samsung Galaxy S2
Samsung Captivate
 
brock.higdon
Old
#7  
Member
Thanks Meter 9
Posts: 40
Join Date: Sep 2011
Location: Auburn, Alabama
Quote:
Originally Posted by jivy26 View Post
Yes they are working fine no issues. Root with superoneclick was fairly straight forward as well.
I wish it was that easy for me. Coming from the iPhone jailbreaking scene, this stuff is like jibberish. They need a "rooting the gsII for dummies."
 
jivy26
Old
#8  
jivy26's Avatar
Recognized Developer
Thanks Meter 1106
Posts: 1,760
Join Date: Aug 2010
Location: Virginia Beach, Va

 
DONATE TO ME
Quote:
Originally Posted by brock.higdon View Post
I wish it was that easy for me. Coming from the iPhone jailbreaking scene, this stuff is like jibberish. They need a "rooting the gsII for dummies."
http://forum.xda-developers.com/show....php?t=1285894
Device History:
Nexus 5
Samsung Galaxy S4
HTC One
Droid Maxx
Samsung Note 2
Nokia Lumia 920
Samsung Galaxy S3
Samsung Galaxy S2
Samsung Captivate
 
brock.higdon
Old
#9  
Member
Thanks Meter 9
Posts: 40
Join Date: Sep 2011
Location: Auburn, Alabama
Quote:
Originally Posted by brock.higdon View Post
I wish it was that easy for me. Coming from the iPhone jailbreaking scene, this stuff is like jibberish. They need a "rooting the gsII for dummies."
Quote:
Originally Posted by jivy26 View Post

:doh:
I leave the general forum for 5 minutes. Haha
 
Entropy512
Old
#10  
Senior Recognized Developer
Thanks Meter 23432
Posts: 12,791
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Can someone who has flashed this and NOT flashed anything else get a system dump for us?
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes