Where can be obtained original default.reg and initobj.txt files or how to extract it from ROM image?
I want to make my own ROM image not based on a XDA Developers one, so I want unmodified these files.
Thanks,
McLEI
I found this on http://cliq-development.com/forums/viewtopic.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.
Wow, nice work!
This could really so with a sticky...
Thanks for the update! The cliq goes hard. Once rooted its ova, best android phone on tmo!
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
I dont have access to a linux box and I think in order to flash the latest JMA firmware from samfirmware i need to extract the rfs files in order to load them up via odin...if im completely off please disregard or point me to the correct path..
if any helpful souls out there that wouldnt mind extracting the files and uploading them here?
thanks
Im just a noob trying to flash the latest JMA firmware on my JM6 tab
thanks again..
EDIT - Thank you all for explaining it:
For anyone else presented with the same issue; use the zipped JMA file in odin in the PDA box and the pit file located at the bottom of the samfirm page when flashing the latest JMA firmware.
Eltahur said:
I dont have access to a linux box and I think in order to flash the latest JMA firmware from samfirmware i need to extract the rfs files in order to load them up via odin...if im completely off please disregard or point me to the correct path..
if any helpful souls out there that wouldnt mind extracting the files and uploading them here?
thanks
Im just a noob trying to flash the latest JMA firmware on my JM6 tab
thanks again..
Click to expand...
Click to collapse
Extract them yourself by opening the file with 7Zip or WinZip. They're just archives.
Also - Should be in the General section.
knightnz said:
Extract them yourself by opening the file with 7Zip or WinZip. They're just archives.
Also - Should be in the General section.
Click to expand...
Click to collapse
thanks for the tips. I just installed both winzip and 7zip and could not extract the factory.rfs file with either.....
im guessing I have to extract the factory.rfs file and zip as a tar file for odin right?
Eltahur said:
thanks for the tips. I just installed both winzip and 7zip and could not extract the factory.rfs file with either.....
im guessing I have to extract the factory.rfs file and zip as a tar file for odin right?
Click to expand...
Click to collapse
The file you download is a zip file. Unzip it. There should be a tar file in there, tar is an archive format (similar to the way zip is, only it's uncompressed), so use 7zip or other unarchiving software to untar the file. There will be all of the JMA files including the RFS images contained in the tar file.
maniac3389 said:
The file you download is a zip file. Unzip it. There should be a tar file in there, tar is an archive format (similar to the way zip is, only it's uncompressed), so use 7zip or other unarchiving software to untar the file. There will be all of the JMA files including the RFS images contained in the tar file.
Click to expand...
Click to collapse
I see, so i downloaded a ziped file from samfirmware with the JMA firmware, unziped it down and got the pit file but there were no tar files in there for me to use in odin under the PDA box.
when flashing JMA what file do i put in PDA box? i pressume thats the only file i will use besides the pit file given that i dont want to replace the modem (phone) file...
I'm sorry if this is not making any sense
Eltahur said:
I see, so i downloaded a ziped file from samfirmware with the JMA firmware, unziped it down and got the pit file but there were no tar files in there for me to use in odin under the PDA box.
when flashing JMA what file do i put in PDA box? i pressume thats the only file i will use besides the pit file given that i dont want to replace the modem (phone) file...
I'm sorry if this is not making any sense
Click to expand...
Click to collapse
Go find the thread here that has the JMA firmware, that's where I got mine from
Eltahur said:
I see, so i downloaded a ziped file from samfirmware with the JMA firmware, unziped it down and got the pit file but there were no tar files in there for me to use in odin under the PDA box.
when flashing JMA what file do i put in PDA box? i pressume thats the only file i will use besides the pit file given that i dont want to replace the modem (phone) file...
I'm sorry if this is not making any sense
Click to expand...
Click to collapse
Use the JMA file here on XDA. Extra JMA.tar. Select that file ALONE as PDA. No repartition, PIT, Phone or CSC. It'll update PDA, Phone and CSC automatically.
If it doesn't reboot on its own after flash is complete, reboot into recovery.
You should be upgrading to JMA from JM6.
If you still need to extract/unpackage RFS->
Reffer to my guide here
Cheers
Can anybody provide me with the original sysytemui file found in system/apps as I have replaced with the modified without the backup and it is continuosly showing the message that sysui has stopped
Plz
If nobody provides the single systemui.apk you can try to extract it from original firmware by using [WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!! http://forum.xda-developers.com/showthread.php?t=1921399
Make a copy from your extracted i9500MEA firmware and rename .tar.md5 into zip.
Then extract system.img.ext4 an unpack with above-mentioned tool.
AiMwasNeD said:
If nobody provides the single systemui.apk you can try to extract it from original firmware by using [WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!! http://forum.xda-developers.com/showthread.php?t=1921399
Make a copy from your extracted i9500MEA firmware and rename .tar.md5 into zip.
Then extract system.img.ext4 an unpack with above-mentioned tool.
Click to expand...
Click to collapse
Thanks but it would be so easy if somebody kind enough to provide me with the default file
Thanks downloaded the whole new firmware
Good day guys can someone please help me unpack this firmware allupgrade_v553_8G_1G.bin, I have attached build.prop... Extracting with binwalk gives me a 25 Gig folder. Is there a tool that can unpack this firmware?