FORUMS

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more

Original Moto G Receives Lollipop, OTA Captured

The original Moto G was released almost two years ago. Motorola still continues to … more

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the … more

When a Friend or Family Member Asks for a Phone Recommendation, What Do You Tell Them?

The majority of us here at XDA would consider … more
Post Reply Subscribe to Thread Email Thread

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

2nd October 2011, 01:01 PM |#1  
codeworkx's Avatar
OP Senior Recognized Developer
Thanks Meter: 44,806
 
Donate to Me
More
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
Last edited by codeworkx; 11th October 2011 at 03:47 PM.
The Following 48 Users Say Thank You to codeworkx For This Useful Post: [ View ]
 
 
2nd October 2011, 01:34 PM |#2  
jivy26's Avatar
Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,109
 
Donate to Me
More
It is vol up+down and power to get into recover
2nd October 2011, 01:58 PM |#3  
Member
Flag Where I lay my head is home.
Thanks Meter: 3
 
More
Can't wait till I get one today! Great work!

Sent from my SGH-I897 using XDA App
2nd October 2011, 02:00 PM |#4  
jivy26's Avatar
Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,109
 
Donate to Me
More
Also running root now too ty!
2nd October 2011, 02:11 PM |#5  
codeworkx's Avatar
OP Senior Recognized Developer
Thanks Meter: 44,806
 
Donate to Me
More
Quote:
Originally Posted by jivy26

Also running root now too ty!

Are the buttons working like described?
The Following User Says Thank You to codeworkx For This Useful Post: [ View ]
2nd October 2011, 02:20 PM |#6  
jivy26's Avatar
Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,109
 
Donate to Me
More
Yes they are working fine no issues. Root with superoneclick was fairly straight forward as well.
2nd October 2011, 02:26 PM |#7  
Member
Auburn, Alabama
Thanks Meter: 9
 
More
Quote:
Originally Posted by jivy26

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."
2nd October 2011, 02:28 PM |#8  
jivy26's Avatar
Recognized Developer
Flag Virginia Beach, Va
Thanks Meter: 1,109
 
Donate to Me
More
Quote:
Originally Posted by brock.higdon

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
2nd October 2011, 02:30 PM |#9  
Member
Auburn, Alabama
Thanks Meter: 9
 
More
Quote:
Originally Posted by brock.higdon

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

http://forum.xda-developers.com/show....php?t=1285894


:doh:
I leave the general forum for 5 minutes. Haha
2nd October 2011, 02:31 PM |#10  
Senior Recognized Developer
Flag Owego, NY
Thanks Meter: 25,257
 
Donate to Me
More
Can someone who has flashed this and NOT flashed anything else get a system dump for us?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in AT&T Samsung Galaxy S II Android Development by ThreadRank