a beginner - HD2 Android Q&A, Help & Troubleshooting and Genera

there is a file called data.img . I was wondering where it is

kekelovewi said:
there is a file called data.img . I was wondering where it is
Click to expand...
Click to collapse
Its on d internet...try searching beginning with d thread which contains d build u wish 2 run on ur device. .

Maybe your are wondering why you don't see this file when you download and extract a given build ?
Thats because some builds will automatically create this data.img file during the first boot, and this is one reason the first boot takes a very long time usually.
However, some other builds will provide a pre-initialized data.img as a separate file to download (usually a zip file), and you have to manually place it (after unzip) in the appropriate location, and this has to be done before the first boot.
Thus, finally, this data.img file should be directly under the Android folder of your SD card, the very same directory where you have the clrcad.exe and haret.exe.
At least this applies for SD builds, for NAND builds I don't know if this has changed.

Related

status on rooting cliq

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

Please help cannot get Android system.sqsh to run from SD card

I ran everything listed below that I got from another post, but I cannot get android to run when I use the system.sqsh file. I can get it to work from the system.img file but I want to run 1.6 and I cannot find one in the .img format. What am I doing wrong?
Instructions for booting android.
Files to download:
basefiles-xxxx.zip
default.txt
haret.exe
system-xxxx.img or system-xxxx.sqsh
resources.zip
updated zImage-xxxx
updated rootfs-xxxx.img
If you are updating clear the root of your sdcard of any old android related files by moving them to a seperate folder or deleting them. If you are changing system images make sure you rename or backup your old data.img it might not be compatible with new or different builds.
Copy all files to the root of your sdcard.
Extract the basefiles.zip and resources.zip (resources.zip is not needed for donut) to the root of your sdcard.
Rename any updated files to there short names. For example if you downloaded zImage-24-10-09 rename it zImage etc...
Edit your default.txt for your panel type and resolution. There are comments in the file that will guide you.
Correct resolutions for different builds:
Donut/Tattoo: mddi.width=240 mddi.height=320 lcd.density=120
Ion/Cupcake: mddi.width=320 mddi.height=427 lcd.density=160 (this is the most common and can be adjusted)
Hero/Rogers: mddi.width=320 mddi.height=480 lcd.density=160
Rename the system image that you downloaded to system.img or system.sqsh depending on what file extension is already there. For example if you downloaded system-08-08-09.img rename it system.img. If you downloaded system-tmo-ota-drc92.sqsh rename it to system.sqsh.
After everything is setup execute haret.exe and tap run.
Any other questions post them in the correct xda thread for the build you are running.
Which build are you trying? Ion/cupcake should be 240x320 also.
I am using system-tmo-ota-drc92.sqsh, and I get this error when trying. The error I get is Failed to find system.img on SD Card /bin/sh: can't access tty; job control t/ #
tomp8588 said:
I am using system-tmo-ota-drc92.sqsh, and I get this error when trying. The error I get is Failed to find system.img on SD Card /bin/sh: can't access tty; job control t/ #
Click to expand...
Click to collapse
put everything into a folder called android on your sdcard make sure your rename system-tmo-ota-drc92.sqsh to system.sqsh
Thanks it worked great. I have been trying to figure this out for a couple of days.
I had the same problem...thanks jamezelle

How do you download hastarins 8.5 to my hd2

How do I download hastarins 8.5 directly to my hd2, my pc is not working right now....Ty so much all
Sent from my Nexus One using XDA App
Um go to his thread, hit the download link then follow on from there?
Just use something like es file explorer then to move the files into your Android folder the same way you would on your pc, EXTREMELY straightforward!!!
bates_1974 said:
Um go to his thread, hit the download link then follow on from there?
Just use something like es file explorer then to move the files into your Android folder the same way you would on your pc, EXTREMELY straightforward!!!
Click to expand...
Click to collapse
do we copy all the files in the zip file ? or certain files . cause i noticed there is a readme file inside. how about the DEV folder ? I read somewhere before dont need that as well. But im not sure. .. able advise ?
pool7979 said:
do we copy all the files in the zip file ? or certain files . cause i noticed there is a readme file inside. how about the DEV folder ? I read somewhere before dont need that as well. But im not sure. .. able advise ?
Click to expand...
Click to collapse
The dev folder isn't needed for anything other than devs from what I remember, all you need to copy is the root folder (this goes in the android folder eg SD/Android/Root) and replace your existing zImage with the one included, simply put extract all minus the dev folder

[Q] How do you change Kernel on SD ROM?

in http://forum.xda-developers.com/showthread.php?t=1058809
It says: "Download, unzip to your rom folder, restart twice.."
Is this just for that ROM or will it work for all?
What exactly do I do?
After unzipping, there are several levels of folders. which level goes where and does "rom folder" mean "Android" folder?
Download, unzip, copy "root" & "update" & "zImage" to your Android folder, reboot twice, have fun !
ROM folder = "Android" (or whatever your ROM's folder is called)
Just copy the folders and the file to the top level of your folder .
And a Kernel (technically) should work with all ROMs.
Your sd card should look like this:
G:/SDCARD/Android/root/
G:/SDCARD/Android/update/
G:/SDCARD/Android/zImage
Well it depends on your build, what build are you using?
because some builds have different path than Android, and others don't support putting new files in the folder build as far as I can remember.
so some require you to put these files manually using ADB push commands, or root explorer and apps of the like.
Not all builds support different kernels, so make sure you check if the kernel you want is compatible with the build you have.
and make a backup before you do anything or you might regret it.
manual kernel installation means:
copying the zImage to the build folder to replace the original, run android then push/copy-paste kernel files each to it's respective folder on the device. it's not that hard to be done.

initrd open failed

Hi all,
i installed this but while booting from SD, MAGLDR is just saying "initrd open failed" in red font color. Then 123456... The Display looks crazy
Whats the problem?
First unzip the downloaded initrd.gz and after that replace the file.
Have fun!
Ahhhh... Shame on me!!!
Thanks
Intrid open failed
Petricanu said:
First unzip the downloaded initrd.gz and after that replace the file.
Have fun!
Click to expand...
Click to collapse
Hi, I must e one of the last one still liking the HTC HD2. Can you be please more precise which file and where (what directory on SD) should be replaced with the unzipped one.
Cheers
Marek
[email protected] said:
Hi, I must e one of the last one still liking the HTC HD2. Can you be please more precise which file and where (what directory on SD) should be replaced with the unzipped one.
Cheers
Marek
Click to expand...
Click to collapse
Hi Marek, can you be a bit more precise with your question?
MAGLDR is looking for two files to boot android, initrd.gz and zImage. You can tell it where to look for these files on your sd card by using 10. services / 1. bootsettings / 3. ad sd dir/ and selecting the folder where these files are located from the list.
Hope this helps

Categories

Resources