Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
codeworkx
Old
(Last edited by codeworkx; 11th October 2011 at 03:47 PM.)
#1  
codeworkx's Avatar
Elite Recognized Developer - OP
Thanks Meter 38248
Posts: 4,848
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
^^ this is my personal opinion and can't be taken as a official statement from the CyanogenMod team.
--------------------------------------------------------------------------------------------------------------------------------------------------
CyanogenMod Developer | FreeXperia Team
Twitter: http://twitter.com/codeworkx | FreeXperia Project Website | IRC: #freexperia @ irc.freenode.net

Current devices:
Google Nexus 4: 3.4.y, CWM6, CM10.1
HTC One: 3.4.y, CWM6, CM10.1
Sony Xperia Tablet Z: 3.4.y, CWM6, CM10.1
Sony Xperia Z: 3.4.y, CWM6, CM10.1
Sony Xperia V: 3.4.y, CWM6, CM10.1
Sony Xperia T: 3.4.y, CWM6, CM10.1
Samsung Galaxy Note II LTE GT-N7105: 3.0.y, CWM6, CM10.1
Samsung Galaxy S III GT-I9300: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 10.1" GT-P5100: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 7" GT-P3100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100G: 3.0.y, CWM6, CM10.1

Dead devices:
Google Galaxy Nexus, HTC Desire HD, LG Optimus 2X, Samsung Galaxy S, HTC Dream (G1)

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots: http://imgur.com/a/pyS99#0 | Downloads: https://sourceforge.net/projects/bbqlinux/files/ | IRC: #bbqlinux @ irc.freenode.net
The Following 43 Users Say Thank You to codeworkx For This Useful Post: [ Click to Expand ]
 
jivy26
Old
#2  
jivy26's Avatar
Recognized Developer
Thanks Meter 1090
Posts: 1,729
Join Date: Aug 2010
Location: Baton Rouge, LA

 
DONATE TO ME
It is vol up+down and power to get into recover
 
Futang44
Old
#3  
Member
Thanks Meter 3
Posts: 32
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 1090
Posts: 1,729
Join Date: Aug 2010
Location: Baton Rouge, LA

 
DONATE TO ME
Also running root now too ty!
 
codeworkx
Old
#5  
codeworkx's Avatar
Elite Recognized Developer - OP
Thanks Meter 38248
Posts: 4,848
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?
^^ this is my personal opinion and can't be taken as a official statement from the CyanogenMod team.
--------------------------------------------------------------------------------------------------------------------------------------------------
CyanogenMod Developer | FreeXperia Team
Twitter: http://twitter.com/codeworkx | FreeXperia Project Website | IRC: #freexperia @ irc.freenode.net

Current devices:
Google Nexus 4: 3.4.y, CWM6, CM10.1
HTC One: 3.4.y, CWM6, CM10.1
Sony Xperia Tablet Z: 3.4.y, CWM6, CM10.1
Sony Xperia Z: 3.4.y, CWM6, CM10.1
Sony Xperia V: 3.4.y, CWM6, CM10.1
Sony Xperia T: 3.4.y, CWM6, CM10.1
Samsung Galaxy Note II LTE GT-N7105: 3.0.y, CWM6, CM10.1
Samsung Galaxy S III GT-I9300: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 10.1" GT-P5100: 3.0.y, CWM6, CM10.1
Samsung Galaxy Tab 2 7" GT-P3100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100: 3.0.y, CWM6, CM10.1
Samsung Galaxy S II GT-I9100G: 3.0.y, CWM6, CM10.1

Dead devices:
Google Galaxy Nexus, HTC Desire HD, LG Optimus 2X, Samsung Galaxy S, HTC Dream (G1)

BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Screenshots: http://imgur.com/a/pyS99#0 | Downloads: https://sourceforge.net/projects/bbqlinux/files/ | 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 1090
Posts: 1,729
Join Date: Aug 2010
Location: Baton Rouge, LA

 
DONATE TO ME
Yes they are working fine no issues. Root with superoneclick was fairly straight forward as well.
 
brock.higdon
Old
#7  
Member
Thanks Meter 8
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 1090
Posts: 1,729
Join Date: Aug 2010
Location: Baton Rouge, LA

 
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
 
brock.higdon
Old
#9  
Member
Thanks Meter 8
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  
Elite Recognized Developer
Thanks Meter 20764
Posts: 11,471
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...