[Q] .img data in NAND releases? - HD2 Android Q&A, Help & Troubleshooting and Genera

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

Related

HD2 internal storage only 150MB!

Hi,
I have installed NAND Android on my "Singaporean" HD2. After installing just few applications i got a message about low space and U found that the internal storage is 150MB only!!! How come?
I tried App2SD but still nothing happened since most imortant apps LOVE the internal storage.
Is it possible in anyway to install a new & larger internal storage?
Is it possible in anyway to install Android into the SD without having anything in the internal storage (Without having WinMo)?
Thanks,
Mohammad
Try one of these NAND builds:
RAFDROID HD or imilkas' HD2Z NAND
These builds will store the data.img on SDCard. If you use the same type of build (stock, desire, desire hd,cyanogen..), it is possible that your old data.img from sd build will working. If you have problems, put a new data.img on sd and restore your apps/settings with Titanium Backup or HTC/Google Sync.
So you mean these build put all my stuff in the SD?
if so then this is great!!
Thanks
Mohammad
Yes, your stuff will be in the data.img on sd, the system is in nand. Because these builds have more space in the Nand, some of them has completely deoxed all system files, so you can customize it with special icons or languages. The deoxed RAFDROID HD rom has for example battery icons with percentage counter.
rafpigna said:
It's fully DEODEXED so you can theme it as you want.
I tried also to keep most of the apps, background and other stuff in it.
But most important it uses DATA.IMG on SDCARD so you dont have to worry about storage limite on LEO512
Click to expand...
Click to collapse
I have found another build with this feature, a MIUI Build.
Advantages of such builds:
- easier backup of complete userdata
- theoretically unlimited userspace (see 4GB working)
- faster write speed at userdata (but slower access time)
Disadvantages:
- slower read speed and higher battery drain at userdata
- battery drain should be between a complete nand and sd
I dont have tested such a rom, I have the Nand gauner build. It has 184MB userspace at start, it is enough for me and works top after some reboot's.
I have enough space left and my big apps have the MoveToSD option, but still not applied.

TMOUS ROM/RAM - Partitions for CWR

This is probably a daft question but the TmoUS HD2 has 1gb ROM, so when we create partitions for CWR why dont we use the entire 1gb? It has an additional 500+mb of RAM to allow everything to run smoothly. What am I missing here? Why is 400mb the recommended size? Doesnt that just leave 600mb going to waste?
Thanks for any clarification.
It may not necessarily be daft, but it certainly is in the wrong forum.
You are completely not understanding how things works, you are messing ram with rom, you are messing cwr partitions with sd partitions..you are messing system partition with userdata partition.. summarizing: you are doing so much confusion that you will dont know also your name in some minutes
And, btw, wrong section.
btw I'm in a kind mood today:
When you flash CWR, all your availabe ROM will be used for data storage. The "400mb thing" is just for system partition, where the build will be stored
If you se a build that uses SD to store data, your availabel ROM is wasted also if you still need to use the 400mb thing (or less if the build is smaller)
Your RAM are never touched from those things.
First, not sure why this is the wrong section as it directly related to NAND/CWR, but thank for the psudo moderation.
Rafpinga: I'm not concerned with SD partitions, Don't use them as I have no need, but i gather the gist of your answer is that my 400mb ROM partition is strictly for the system (OS files) and the remainder of the 1gb will be used for data? That makes more sense.
So I basically have 1gb of ROM (700 something formatted), 400 is used for system/OS and the remaining 300 something is available for apps etc..?
Ok, I thought I had my answer but apparently not. How am I confusing NAND and SD partitions? I don't use SD partitions at all? I use NAND partitions only as far as I can tell. What did I miss? I didn't even mention SD partitions in my OP.
I have a 400mb System partition, which is on NAND, the remainder of my NAND is used for data correct? My SD card is irrelevant to this setup correct? I don't even need an SD card inserted for my setup to work...
If i'm confusing the two perhaps someone would explain how rather than just *****ing about the thread!.... If it's in the wrong place I'm sorry and I'm sure it'll get rightfully moved but that shouldnt negate trying to get an answer.
OK, you're all over the map, but lets do the quick rundown.
A partition is a chunk of named memory-space. aka c: in windows or the swap file in linux.
SD cards and internal ROM are essentially hard disks that can be written to. The ROM needs to be flashed, while the SD cards internally flash too. What you can do is partition either of them and name the partition. You can also choose the filesystem that a particular partition uses. Internal ROM for android needs to be partitioned into a proper linux filesystem with proper formatting to operate. One of the partitions is userspace, another is "system". SD partitions are extensions to the linux operating system and as such should not be considered "bad". Really, the more memory the better.
Random Access Memory (RAM), i believe some type of DDR in this phone, is a volatile memory that clears upon restart. It's only used during normal operation and never stores your Android.
Read-Only Memory (ROM) is NAND in this case. There is a large misnomer on these forums about NAND. They meant to call it Internal NAND. ROM, the 1gb, is where ALL operating system files are stored. You flash the bootstraps and system partitions once, then all your stuff is stored in a separate portion of the ROM.
NAND is the storage technology used to manufacture most consumer read-only memory(ROM). SD cards and the internal memory both use NAND type memory, the difference between the two is the bus speed between the internal NAND and the CPU.
On the TMOUS HD2, there is 1,000mb of space in the ROM. A 400mb system partition would leave 600mb for things like the swap file and the user data portion. In some cases, ie EU version, a 400mb system partition would eat the ~500mb available ROM, so developers figured out a way to partition the SD card and effectively expand the ~500mb to 1,000mb and beyond. APP2SD+ was the final solution.
The TMOUS when partitioned properly will have a huge amount of headroom for the Android to excel. Nothing really goes to waste as long as you use a TMOUS compatible ROM.
Next time, ask in the right forum and you'll get the answer you wanted without all the hassle.
Thank you. I really appreciate that explaination and again, sorry for being in the wrong forum.
Sent from my HTC HD2 using XDA App
Ok, now that the whole NAND/RAM/CWR thing is cleared and little badgering, I'll move this thread to the Q & A section. If you see a thread in the wrong section, just report it. Once you've posted the question in the wrong thread, there is nothing the OP can do to move it. So if you can answer then please do. This way when a MOD moves the thread to the correct place it has some useful information. So I'm deleting the SPAM/light Flaming and moving this along.
noellenchris
HD2 Forum MOD

[Q] need a little bit of help with clockwork recovery :)

Ok, I've been able to keep up with all the flashing of android on hd2 fairly easy since the beginning almost a year ago. This is the only time I've ever really had a hard time figuring it this thing out.
I have flashed nand miui rom with 250mb partition on my eu hd2 through clockwork recovery. I'm trying to try other builds so I do the same method previously by flashing the zip file on my sd card through clockwork but it always get stuck at "unpacking sdext" files.
Is it because each build require different size partitions? Is it something else? Am I missing a step?
This clockwork stuff is pretty confusing...help is appreciated and thank you all in advanced. Much love.
Yes, different builds do require different partition sizes. A GingerBread build can get by on a 150mb (and possibly less) partition, whereas a Desire HD based build will require a 400mb partition.
so how do i go about doing this? because ive tried to partition my card, but it just erases everything clean even with a backup
mini_robot said:
so how do i go about doing this? because ive tried to partition my card, but it just erases everything clean even with a backup
Click to expand...
Click to collapse
The latest cwm partitions are flashed to your NAND and has nothing to do with partitions on your sd card. The sd card partitions are needed to run certain roms on the EU512 device.
To flash a cwm 1.3 partition, you need magldr 1.13, download the partition size you need, boot to usb flasher in magldr and run the daf.exe file from the download. It will wipe data on your phone NAND memory and should have no impact on data on the sd card.
I already have cwm 1.3 and magldr 1.13. I already flashed miui rom. That means I have to use a computer to flash other Roms as well? I thought the point of cwm is so u can flash and switch between roms without a comp?
or does this mean flash through the computer once and then u can switch between roms? sorry if I'm really dumb
You can (as long as you have the same partition size as is needed). I haven't tried it, but I guess you could install the 400mb partition and that should cover all rom types. The only problem is that you then create a larger partition on NAND than may be needed for some roms thereby reducing the internal memory available.
ClydeB1 said:
You can (as long as you have the same partition size as is needed). I haven't tried it, but I guess you could install the 400mb partition and that should cover all rom types. The only problem is that you then create a larger partition on NAND than may be needed for some roms thereby reducing the internal memory available.
Click to expand...
Click to collapse
ahhhhhh. I think I will try that and report back to see how it goes. thanks so much for your help. I will try to do the same for other people once I figure this out
I'd be interested to know the answer. Good luck....
welps. I have tried with no luck. I actually ruined my 8gb SD card trying it and had to get a new one.
Ive been able to flash the 400mb partition and have been able to flash any rom but like it has already been stated it affects the amount of internal memory available, not too bad for me as i have a tmous
Sent from my HTC HD2 using XDA App
mini_robot said:
welps. I have tried with no luck. I actually ruined my 8gb SD card trying it and had to get a new one.
Click to expand...
Click to collapse
Ok, send me your 8Go SD if you think it's dead
NAND and SD are two different things. For your SD, just delete/recreate the partition and it will be new again.
Explanation I post somewhere else (hope it wll help you to understand):
===
I will try to explain.
I assume you have a non-TMOUS device. So your internal storage (let call it NAND) is 512Mo. This is all what your have.
The CWM xxxMo will be what your allocate for your build.
If you allocate 150 (by flashing CWM 150MB) you will have 512-150=362Mo free.
If you use CWM 400... you will have 112Mo free space.
The build you want to use take a little bit more than 100Mo. So why using CWM400 to fill it with only 100Mo???
You have to use the smallest CWM to put your build in it. This will give you the more storage space after installing the build.
Don't think the more "CWM" you will use the more space you will have. It's exacly the opposite.
Hope you understand. Please take into account that the figures I give are appoximation. Don't complain if instead of 362Mo you have only 300... it's more than enough anyway for most of us.
===
So if your first NAND needed a small partition only, you may have to flash again CWM with another partition setting (for ex a 400Mo to fit a desire HD NAND).
Go on the CWM thread to find the version you need (150, 250 and 400 are available). Some thread are also available to modify the config file to make the partition size you want.
By using the 400Mo most build will be flashable... but you will have very little free space and will have to use your SD card (APP2SD or other soft).
I prefer to put everything in NAND for two reasons:
1/ I can remove my SD when I want
2/ I think it's better for battery consumption to not use the SD (but this I don't know, it's just what I think).
i was able to recover the sd card (thanks). anddddd i was able to kind of, sort of, dual boot, two different builds except that one of them has force close issues constantly.
mini_robot said:
i was able to recover the sd card (thanks). anddddd i was able to kind of, sort of, dual boot, two different builds except that one of them has force close issues constantly.
Click to expand...
Click to collapse
What are you talking about? You can't dual boot with clockwork
Sent from my HTC HD2 using XDA App
dung8604 said:
What are you talking about? You can't dual boot with clockwork
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
well its not dual booting. i just kind of re-install each build from clockwork.

[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 =/

[Q] Not enough internal storage

Like everyone here, I have the famous HTC Leo. A friend installed Android on NAND, the 2.3.4 with the mod-HyperDroid CM7-v2.1.0.
This is a great device, but the more I use it, the more I have less internal memory.
At first, I installed a lot of applications, I was full of things and I ended up filling the internal memory. I moved the more applications possible on the SD card, but the internal memory ended up being full. So I uninstalled applications not too useful, and applications more useful, clean caches, remove data, but it is still too small. My system tells me that I only have 217.3 Mb total internal memory and while I hardly more than application system installed, I only have 21.3 MB available. Now, I know that this model has double.
I do not understand: what is this devilry? Where is my memory? How can I resume normal operation until all the memory is gone and my phone becomes unusable?
I can't be the only one to whom it happens, right?
only the data partition counts as internal memory, the rest is taken by the system, boot and recovery partitions, so your200+ sounds about right.
read up on creating an ext partition on your sd card, and either flash a rom that supports it already, or add a script to your current rom, , then, instead of using the data partition on the nand the system will use the sd-ext partition as if it were nand. (This is NOT the same as choosing 'move to sd' in the apps config screens, that moves it to the fat partition, and some apps wont work from there, , , all apps will work from the ext partition, and faster than the fat partition.)
There are two sets of scripts, some move the whole data partition to ext, meaning of course you are not using the 200+ mb on the nand, so for me i prefer the scripts that move only the apps to the ext partition, and keeps your actual data (txts, contacts, stuff like that) on the regular nand data partition, thus spreading the useage.
look out for keywords like 'app2sd+' 'data2ext' 'dataonext', , stuff like that when you're searching.
samsamuel said:
only the data partition counts as internal memory, the rest is taken by the system, boot and recovery partitions, so your200+ sounds about right.
read up on creating an ext partition on your sd card, and either flash a rom that supports it already, or add a script to your current rom, , then, instead of using the data partition on the nand the system will use the sd-ext partition as if it were nand. (This is NOT the same as choosing 'move to sd' in the apps config screens, that moves it to the fat partition, and some apps wont work from there, , , all apps will work from the ext partition, and faster than the fat partition.)
There are two sets of scripts, some move the whole data partition to ext, meaning of course you are not using the 200+ mb on the nand, so for me i prefer the scripts that move only the apps to the ext partition, and keeps your actual data (txts, contacts, stuff like that) on the regular nand data partition, thus spreading the useage.
look out for keywords like 'app2sd+' 'data2ext' 'dataonext', , stuff like that when you're searching.
Click to expand...
Click to collapse
Excellent advice, but I think you forgot to mention this
Late I think me brain is playing tricks on me...:cyclops:
shanman-2 said:
Excellent advice, but I think you forgot to mention this
Click to expand...
Click to collapse
so, pretty much exactly what i described, then....
shanman-2 said:
Excellent advice, but I think you forgot to mention this
Late I think me brain is playing tricks on me...:cyclops:
Click to expand...
Click to collapse
So, I don't really need to use this. I just can install a new ROM on my NAND after making extending place on my SD for the 'dataonext', can't I?
I have to choose a dataonext ROM (with french version) and make new partition on my CD card. I'm saving all the SD card data's just now (with luckyBackup, because I'm on ubuntu PC).
My problem is find a good ROM for my needs. So, I have HSPL 2.0.8 and MAGLDR. How can I find the rom radio number? I need this information to choose the good ROM. Any advices about good ROM for my needs?
r no need to change the radio,,, if magldr works then the radio is fine.
samsamuel said:
r no need to change the radio,,, if magldr works then the radio is fine.
Click to expand...
Click to collapse
I bought a new 16 GB SD card to try the method of post 1843062. I am trying to format as it should, and tonight or tomorrow, I'm trying to see if I can install the script without too much risk, I am not a very experienced user of ROM for HD2 and, in addition, as I'm 100% Linux Ubuntu, I saw that many procedures are more complicated or impossible to run from a Linux desktop.
Thank you for all your help and I'll let you know.
I need to understand.
I have a EU HD2 with HyperDroid CM7 installed on it.
Like many people here, my memory became too small over time. So I look for a solution and I was guided to this thread. While speaking, I read everything I could understand (and frankly there really is too much to read and understand, here ) and I ended up deciding to adopt the solution Kokotas.
So I bought a new SD card (16GB class 10 Duracell - I know, Duracell is a brand of batteries ...) and I formatted properly Gparted as shown, with one primary partition of 12 GB fat32 I named /données (French for datas) and a second primary partition 4 GB Ext4 I named /data.
Then I primed to install the script Kokotas (but I have not yet done so, this is the trick!) And there: surprise!
I suddenly 4 times more free memory internally (from 20 MB to 80 MB), but it is still the same overall size!
I wonder how it is done, because it's been months that I want to release the NAND memory, I deleted almost all my applications downloaded without great effect and there, before installing the solution Kokotas, hop, I have the place!
I run Nautilus on my HD2 connected via USB and what do I see? in the partition /data in ext4, records were Cres /app /app-private and /dalvik-cache.
What does that mean? My ROM can do one DATAtoEXT 2011 alone, when she sees a partition SD / data?
Do I install the script Kokotas or it is not worth it?
Do I flash a new ROM (I thought MIUI-MIX_3.3.1, but I'm not sure it's a good idea) without risk, in short I need to understand what happens with my phone.
Thank you.
(Sorry for my english : this is the fault of Google translation )
You might also consider just running an SD build instead of NAND. You can get a 2GB "internal storage" system.img and you don't risk getting bad blocks on nand by constantly flashing things. In my use of both I didn't really see any great speed increase or advantage in using NAND other than boot-up time is a bit less, but does that really matter?
Just another thought on this.
orangekid said:
You might also consider just running an SD build instead of NAND. You can get a 2GB "internal storage" system.img and you don't risk getting bad blocks on nand by constantly flashing things. In my use of both I didn't really see any great speed increase or advantage in using NAND other than boot-up time is a bit less, but does that really matter?
Just another thought on this.
Click to expand...
Click to collapse
I thought NAND is better for battery's management...
Monolecte said:
I thought NAND is better for battery's management...
Click to expand...
Click to collapse
I didn't see any great battery improvement with NAND.
ROM flashing don't work
I tried to flash MIUI-MIX_3.3.1, but, it wasn't working. I think this is because Resurection needs this specific table of partition and I don't how can I modify this table of partition. CMW had a partition tool? How can I do?
Monolecte said:
I tried to flash MIUI-MIX_3.3.1, but, it wasn't working. I think this is because Resurection needs this specific table of partition and I don't how can I modify this table of partition. CMW had a partition tool? How can I do?
Click to expand...
Click to collapse
use the nand toolkit
samsamuel said:
use the nand toolkit
Click to expand...
Click to collapse
With an Ubuntu PC?
After miles of thread reading here, I won against the machine!
I have something like a new phone.
Thank you everybody.
If I can do it, anybody can do it!
ubuntu or windows will be fine.
The NAND Toolkit is a Windows software... so...

Categories

Resources