Combine data.img - HD2 Android Q&A, Help & Troubleshooting and Genera

I was wondering if I could combine my old 1gb data.img, with a blank 2gb data.img that I have.
They both work with the build individually.
If so, can anyone give me detailed instructions?

Related

[Android] ext2 and haret questions

Would someone write a tutorial on installing Android on ext2? I thought I understood how it works, but realized I was only booting from haret, and not installing onto the ext2 partitions I had made. I went back and reread a lot of the old threads, but find it hard to figure out when to push vol down or hit end. Also, I prefer to boot into 320 x 480 so I can see the whole Market. This makes the print so tiny, I'm not sure what I'm seeing. (I did manage to get it on to my ext2 partition, I think. How do I know for sure.) Thirdly, the choices when booting are different, depending on whether you want to install for the first time or not. So, could someone tell us what the correct selections are if you are:
1. Installing onto ext2 partitions for the first time.
2. Just wanting to change resolution.
3. Wanting to change builds completely from say, Donut to Eclair.
Also, I understand that you can backup your data.img. But how do you go about reusing it if you are wanting to go back to a version of Android you've used in the past?
Lastly, if you are moving from, say Donut to Eclair, (moving to a completely different build), must you use a backup app to take your apps, settings, ringers, wallpapers and so on, to the new build?
If someone would write a tutorial addressing these questions, I'd be forever grateful and I'd imagine it would help those who want to try Android for the first time. Having all this information in one place would really help.
Thank you so much.
Not a pro by any means, I am still trying to figure everything out myself but here is how I understand it...
To install on ext2, you need to partition your SDcard into 3 partitions, 1 FAT32 and 2 ext2. When you run haret, it will detect the partitions and ask you to "upgrade". If you choose yes, it will install on the ext2 partition. If you choose to back up your data, it will create a backup of your data.img file and then upgrade. If you press End, you have the option to wipe the data file before you install.
You can verify if it installed to the ext2 partitions by browsing your SDcard. You should not see a data.img file on your FAT32 partition and you should see a backupsystem folder with the system.sqsh file in it.
If you want to change the resolution, all you need to do is change it in your default.txt or startup.txt file.
Don't have any advice going from one build to another as I normally just wipe my data file and start over to ensure I am starting clean.
Thanks, it helped me too...
But; I made 2 partitions, 1 Fat32 and 1 EXT2. I'm running haret now, he didn't ask anything about updating... Now it hangs on a black screen, but the backlight is still on. I didn't see any linux penguin neither like the last times (without ext2).

Data.img

I was wondering how do you change the data.img. A lot of roms come with 1gb and 512mb data.img files so I was wondering how do change them do you just put them in place of the root.fs because thats the only other data.img I can see in my rom.
The data.img file is created by Android the first time you boot a ROM. At a basic level (ie my level!) it defines your free memory size (how much space you have to fill with Apps). You can define what size data.img you want in the startup.txt of most builds (512Mb, 1Gb, etc).
I haven't come across any builds with a data.img already included, although I have been using Bangsters for some time.
If you want to change it, just delete it and when you re-boot a new one will be created. Make sure you backup all your settings and apps though as it will wipe all this. Titanium backup is a free app in Marketplace.
If you want to copy one across, then just overwrite your existing one and re-boot. I've done that with previous builds.

[Q] .img data in NAND releases?

Hi, i downlaoded this release: http://forum.xda-developers.com/showthread.php?t=823491
The rom runs fine etc. but theres no .img data in it, so i downlaoded 1 from another build (does this matter?)
So i saved the file under sd/Android/1gb.img like i always did with the SD-Card releases, but nothing changed.
Any ideas what im doing wrong? id be happy about some suggestions.
Best regards
For NAND BUILDS you don't need any data img.. only for SD
and this is in the wrong section. This should be in the HD2 Android Q&A secton
sry for the wrong section, but i actually DO need an img data, cause my phone is already full, and theres nothing left i can move to the SD card and i cant recieve any more SMS because of it
correct me if i'm wrong but as far as i know the data.img is meant for emulating the phones internal storage respective the nand memory. it reserves a part of your sd - depending on the sice of your data.img.
since a nand version is stored in the phones nand (0o) there is no more need of emulating/reserving an internal storage on sd, thus, the old data.img is useless.
i have not flashed a nand version yet but i guess titanium backup will do the job from sd to nand version as well.
ya.... but my angry birds (and seasons) gets a FC after restore to NAND build
HD2ONE has a nand test build which supports data.img on SD. i'm testing it now, and while it seems stable, I think you sacrifice some of the nand benefits (boot time, download speed). System Monitor shows heavy activity in the loop0 process.
I think now there's only one NAND ROM support data.img. You can test it here:
http://forum.xda-developers.com/showpost.php?p=10246269&postcount=228
Try this or do a search...
ok thank you guys for your answers

[Q] How can I tell if my partitioned SD is being used properly?

Thank you to anyone who can assist with this. I have tried searching the other threads for an answer, but have been unsuccessful.
My configuration is as follows...I partitioned my SD as follows:
1st - PRIMARY - FAT32 (Approx 10GB)
2nd - PRIMARY - EXT2 (2GB)
3rd - PRIMARY - SWAP (2GB)
I extracted and copied the Desire_DL folder (new v4.0) to the newly created FAT32 partition.
I then extracted and copied the Desire_DL and Update_DL folders (from the bugfix.DLZ4.0 patch). I also changed the config.txt.sd to config.txt (though I made no edits).
I rebooted the phone, and once in WM 6.5 I loaded booted Android. Everything booted OK, but I am not sure if it is utilizing the 2nd & 3rd partitions, or if it is just running on the FAT32 partition only. I'd like to ensure I am getting the best performance I can out of the build, so how do I check to see if everything is configured properly and using these partitions?
open MiniTool and see if it uses them.. It says how much it uses. As long as you don't have data_img=1 then it can't remember anything if it doesn't use them.
Thanks for the repsonse.
I used mintool to partition the SD card originally, but how do I use it to see if the partitions are being utilized?
Also, the default settings of the config.txt includes a line that reads: data_img=1
Should I delete that line to force it to utilize the other partitions?
ccrobin said:
Thanks for the repsonse.
I used mintool to partition the SD card originally, but how do I use it to see if the partitions are being utilized?
Also, the default settings of the config.txt includes a line that reads: data_img=1
Should I delete that line to force it to utilize the other partitions?
Click to expand...
Click to collapse
plz see http://forum.xda-developers.com/showpost.php?p=11398763&postcount=3602
set the data_img=0 to use the ext4 ! no need for data.img anymore

[Q] SDCARD Problem, need data.img support

Hello all,
I think my SDCard is currently broken and it's quite strange but I can not make partitions anymore.
I am running Typhoon CM7 Rom, and I wanted to know how to create and enable data.img in order to have more internal userspace.
From where must I begin ?? help me please
up... really no one ?
hmm long time ago for me but i think you sd boot should make an data.img by itself but you can also (atleast i had it when i was still on sd) download a data.img file provided by the dev
This is a NAND build, not SD, so there's by default no data.img, and the dev doesn't provide any data.img too =/

Categories

Resources