Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
lilladyo2cute
Old
#1  
Member - OP
Thanks Meter 0
Posts: 76
Join Date: Dec 2008
Default status on rooting cliq

I found this on http://cliq-development.com/forums/v...c.php?f=5&t=13
hopefully this can help anyone who is trying to develop a way for root on the cliq.



To get where we are at in development you must learn about a few things

.SHX = A re-flashing file similar to a .nbh on the HTC brand. It is a full re-flash of everything on the phone, full stock. When extracted it creates three files the main one is the CG2

CG2 = A file extracted from the shx that hold the main partitions that will be flashed to the phone.

-----------------------------------------------------------------------------------------------------------------------
How to extract a shx
(http://modmymoto.com/forums/showthread.php?t=525344)

A developer by the name of Meiner Einer created a program named SbfRecalc. With this program we can extract three files and as i stated above the most important one is the CG2

How to extract a CG2
(http://modmymoto.com/forums/showthread.php?t=525477)

A developer by the name of Skrilax_CZ created a program named CG2 Parser. With this program we can extract all of the files within the CG2.
-----------------------------------------------------------------------------------------------------------------------

After you extract all of the files from the CG2 you will find that some of the names were similer to the partitions of the cliq. With a little file manipulation i recreated a boot.img and a recovery.img from some of the files. The guys over at modmymoto dumped a full system partition.

(http://android-dls.com/wiki/index.php?t ... oot_Images)

To recreate both the boot.img and the recovery.img just do these simple steps
1. Create a directory and put either bootsec.mbn or recoverysec.mbn from the CG2 dump inside it
2. Download the split_bootimg.pl from the link above and run it with the file in the directory to get both a kernel and a ramdisk file.
3. Using the mkbootimg from the android source code you can recombine the kernel and the ramdisk files to create your boot.img/recovery.img strait from the re-flash file

------------------------------------------------------------------------------------------------------------------------

With the system dump from modmymoto and my boot.img(+a little root) I created an update.zip file with root ready to be flashed when the keys are ready.

This is where we are at any help would be greatly appreciated.
A big Thanks goes out to everyone who, builds, contributes, helps others, and gives advice to those who need it. Without you this site would be nothing. THANKS again.
AdrianK Old
#2  
Guest
Thanks Meter
Posts: n/a
Wow, nice work!

This could really so with a sticky...
 
xxkingpinxx
Old
#3  
Member
Thanks Meter 0
Posts: 30
Join Date: Jun 2007
Thanks for the update! The cliq goes hard. Once rooted its ova, best android phone on tmo!
 
brybam
Old
#4  
Member
Thanks Meter 0
Posts: 63
Join Date: Jun 2009
Nice! It would be really great if you could repost this at android-devs.org over in the cliq development section of the forum

Since XDA is only for HTC phones and most people here most likely don't have the cliq and there really isn't a correct forum to have this posted in..

I'd reccomend using android-devs.org forums
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...