[Development Question]What Nand Partition Layout To Chose??? - HD2 Android Q&A, Help & Troubleshooting and Genera

hey guys i am newone in the nand development and i want to have a question.i build my own rom with app2sd on dsixda's kitchen,i pack it and then i have to flash it to my phone but what nand partition layout should i use?i know that it depends of the roms size but the half rom goes to the ext partition and the other stays in the nand.am i right?how do i find out what nand partition layout should i use?

nkos719 said:
hey guys i am newone in the nand development and i want to have a question.i build my own rom with app2sd on dsixda's kitchen,i pack it and then i have to flash it to my phone but what nand partition layout should i use?i know that it depends of the roms size but the half rom goes to the ext partition and the other stays in the nand.am i right?how do i find out what nand partition layout should i use?
Click to expand...
Click to collapse
Hi,
Try a partition about 10 MB bigger than your "SYSTEM" folder.

malybru said:
Hi,
Try a partition about 10 MB bigger than your "SYSTEM" folder.
Click to expand...
Click to collapse
thank you so much buddy!

Related

EXT 4 Partition problem

How do I know if my EXT Partition is working??
i followed the steps perfectly..& ,y 16Gb sd card have 2 partition 1.5GB EXT4 - 13GB FAT32
but im not seeing a different with my internal memory space...its the same
i feel like its the same with out the EXT partition.
plz guys help me....
i needed more internal storage to install application...so i found a topic talking about making SD card 2 partition 1 EXT & the Other normal Fat32..i understod that the EXT partition will be as internal memory & i followed the steps
after flashing the NAND i didnt find any different in my internal memory storage & after installing some application my internal memory got low...so i used APP2SD but as u all know some application cant be moved to SD.
so plz i want to know where is my EXT4 1.5GB partition & how can i know if its working or not ?
Does your rom you are flashing use data2ext or app2sd? If the rom itself isn't set up to recognize the partition I doubt you can just add a partition.
ClydeB1 said:
Does your rom you are flashing use data2ext or app2sd? If the rom itself isn't set up to recognize the partition I doubt you can just add a partition.
Click to expand...
Click to collapse
i was using MDJ FroYo Revolution v.2.3 [A2SD+][RMNET][Kernel: MDJ S10.2 OC]
http://forum.xda-developers.com/showthread.php?t=823491
but my memory got low tooo fast from a little application....so im now using a smaller NAND
CleanDROID v1.30 - Super Clean [FROYO+Cyanogen][Kernel GL v1]
http://forum.xda-developers.com/showthread.php?t=917590 just to get more free space
I haven't tried either of those so can't comment. The one I'm using certainly recognises my partition and I have plenty of "internal" memory.
I know most recommend not going above 1gb for the partition as larger ones can cause a problem. Try reformatting the partition and resize it to 1gb and see if that helps.
thank you ill try another NAND
can u tell me ROM r u using?
justrelax said:
thank you ill try another NAND
can u tell me ROM r u using?
Click to expand...
Click to collapse
Link is in my signature

[Q] How to partition Nand For HD2

hey can anybody guide me to the right way of partitioning my hd2 nand(tmobile) so i can install dl desire z from dandiest and get faster smoother working rom....plus 2 see 3000 on my quadrant scores.......i already have desire z 4.1 but its not as smooth as i thought it would be....i heard running the rom from a partition would increase read and write speeds...so before i install 4.2 i would like to know how to partition my nand to run the rom off of it....thank u.
Have you tried the video guide posted by locn?
http://forum.xda-developers.com/showpost.php?p=11656790&postcount=3943
there's also a lot of partition tutorials all over that thread, xda & the web, I could link them for you, but that would deprive you of all the joy you will get when you actually find such info for yourself.
Good luck
Kam
Yeah I found partition videos and tutorials...a lot ...but they were all for partitioning memory cards not nand memory ..
Sent from my DL DesireZ v4.1 using XDA App
trinfinate said:
Yeah I found partition videos and tutorials...a lot ...but they were all for partitioning memory cards not nand memory ..
Sent from my DL DesireZ v4.1 using XDA App
Click to expand...
Click to collapse
Exactly. I'm running HyperDroidGBX and it says my internal storage is only 729MB, out of 1024MB. So just roughly 256MB Of the nand is being used for the system/data/cache partitions. What I want to do is resize all my nand partitions to allow for a data partition of atleast 900MB of internal storage and still have sufficiently sized system/cache partitions as necessary. What are the sizes of the partitions by standard? How do we use Android SDK and AVD "Andriod Virtural Device" on a Windows desktop to adjust the partition sizes?
THANKS!
BTW - It's called the mtd partitions. So look up how to resize mtd partitions android sdk avd.
Look in the folder where your cwm instal files are.one is called flash.cfg. open that in notepad, each line is one of the partitions. Adjust size and flash.
(Allsize means all the leftover space)
If you aren't using a clockwork rom, then the same applies.... in the daf rom folder is flash.cfg
If it is a daf rom, if you merge the partition info from your flash.cfg with the info in a cwm flash.cfg, and copy in the recovery.img you can flash your daf rom with your partition layout and apply cwm recovery at the same time.
samsamuel said:
Look in the folder where your cwm instal files are.one is called flash.cfg. open that in notepad, each line is one of the partitions. Adjust size and flash.
(Allsize means all the leftover space)
If you aren't using a clockwork rom, then the same applies.... in the daf rom folder is flash.cfg
If it is a daf rom, if you merge the partition info from your flash.cfg with the info in a cwm flash.cfg, and copy in the recovery.img you can flash your daf rom with your partition layout and apply cwm recovery at the same time.
Click to expand...
Click to collapse
Wow! Your great man! Ok I'm using HyperdroidGBX v11 and CWM 1.13. Do i need to edit the hyperdroidgbx flash.cfg and the CWM flash.cfg? What do you mean by copy in the recovery.img. So what should I do? Should i just adjust partition sizes in the cwm flash.cfg and then just flash hyperdroid or even better i could perform a nandroid backup and just restore right?
Ok so its a cwm rom so only the cwm flash.cfg exists.
However you should find the data part is already set to allsize meaning it takes up all the space after the small fixed size parts are done.
Do you have an ext partition on your SD card? If so, the rom is automatically putting apps there instead of on the phone.
(At least that's my understanding of app2sd+ enabled roms, certainly I never manually move apps to the SD card, yet there they are on my SD in the ext part. If you manually choose to move apps to SD in app manager, it takes them from the ext part and puts them on the fat32 partition.)
Get rid of your ext part and re try before you bother editing flash.cfg
If someone who knows yes or no could confirm my understanding of apps2sd+, that would be great.
Ok so i downloaded the recovery_150M is what i had on it. Edited the partition sizes. Now after flashing MAGLDR 1.13 edited flash.cfg, I'm stuck at the boot screen where the android is and it doesn't do anything. Do i need to edit a flash.cfg within a CWM folder? I tried several different sizes. IDK why it won't boot.... No ext3 and no i don't want apps installed to sd automatically, i have 1 fat32 partition on class 10 32gb stick. I want all apps to be installed to nand and i don't want my sd to be used at all unless i specify to move the data to sd card. Do i need to flash in HARDSPL? or on FLASHER in MAGLDR?
There was no need to do magldr again, only cwm, having looked in flash.cfg in the cwm folder.
Going back to your post 1 "how do I partition",,, that's what cwm is doing, creating partitions as per instructions in flash.cfg. you can't run nand android without partitioning first, therefore the answer to your original question is "it already is partitioned"

[Q] How to calculate CWR ?

First Im sorry my bad English !
I only have a Tmous HD2 but I dont know how to calculate the CWM for Leo512 (EX: system folder is 350mb) with my builds ?!
Some one help me about values of flash.cfg please ?
Thank you very much !!!
Whatever rom you want to use will typically tell you withon the first couple of posts in the rom thread. It really depends what rom you use what recovery size is needed. Bigger roms like ones with htc sense will need a bigger system partition.
If you use a larger system partition with a smaller rom, I think it'll still work, but will take space away from your data partition, which is particularly a big deal if you have a EU HD2, as they dont have as much nand memory as the TMOUS HD2.
Sent from my HTC HD2 using XDA App
dungphp said:
First Im sorry my bad English !
I only have a Tmous HD2 but I dont know how to calculate the CWM for Leo512 (EX: system folder is 350mb) with my builds ?!
Some one help me about values of flash.cfg please ?
Thank you very much !!!
Click to expand...
Click to collapse
If you can not find the size partition you need stated in the first few post by the ROM chef in the ROM thread. This is what I do, I click on the download and get it to start downloading or either let it finish downloading so I can see what sise the file is and then add at least another 25MB to 30 MB to that and tyhen go with the closest Recovery partition size to that or just go in and make the Recovery partition size what I need. But now that I I am using cLK and not MAGLDR I have ROM manager and don't have to worry about the partition size anymore.

[Q] Stuck on bootscreen new nand rom

Today I was updating my android rom (one of the first nands) and I've updated magldr and installed CWM.
Then I installed a new rom with CWM and after reboot he keeps showing the bootscreen of the rom, I've tried another rom and it's the same...
Can anybody help me?
The most common reason for being stuck at bootscreen is improper partition size. You sure you got that right?
I've taken the largest partition size (400mb)...
you don't take the largest, but rather the most suitable. (or the one stated in the rom's thread) you should also take into consideration whether the rom NEEDS sd-ext or not.
What rom do you want to use/upgrade?
Have you met the requirements? (sd-ext/system partition/cache/radio)
I've a EU 512mb HTC HD2. I don't know my rom anymore that I used but I think its a darkforce froyo rom...
I've parted my sd with cwm: 1024ext, 64mb swap and used the 400mb CWM
Now I want to install the Runnymede 3.5 or the Desire HD 3.06.405.1 - Sense 3.0 - Android 2.3.5 [v1.4][RAFPIGNA 1.9GB], i don't know which one is better...
link to those roms please?
http://forum.xda-developers.com/showthread.php?t=1275119
and
http://forum.xda-developers.com/showthread.php?t=1264828
okay for the first one (runnymede) you need 6/200/8. that means 200mb system partition, 6 boot partition and 8 cache partition. AND A 1GB SD-EXT
And for the second one you need 5/155/5. which means 155mb system partition and 5 megs for both cache and boot. AND YOU NEED 1GB SD-EXT.
Neither of these ROMs will run under a 400mb system partition ~!
And remember, always wash your hands and wipe your phone/sd before attempting another rom
Marvlesz said:
okay for the first one (runnymede) you need 6/200/8. that means 200mb system partition, 6 boot partition and 8 cache partition. AND A 1GB SD-EXT
And for the second one you need 5/155/5. which means 155mb system partition and 5 megs for both cache and boot. AND YOU NEED 1GB SD-EXT.
Neither of these ROMs will run under a 400mb system partition ~!
And remember, always wash your hands and wipe your phone/sd before attempting another rom
Click to expand...
Click to collapse
Thank you very much, I'll try it ...
And does anyone know wath's the better rom of this 2?
Marvlesz said:
okay for the first one (runnymede) you need 6/200/8. that means 200mb system partition, 6 boot partition and 8 cache partition. AND A 1GB SD-EXT
And for the second one you need 5/155/5. which means 155mb system partition and 5 megs for both cache and boot. AND YOU NEED 1GB SD-EXT.
Neither of these ROMs will run under a 400mb system partition ~!
And remember, always wash your hands and wipe your phone/sd before attempting another rom
Click to expand...
Click to collapse
Can some1 explain how i change those setting? I want the same rom (runnymede) but it stays stuck in the bootloader screen
*I change the Sd-ext part. in 1024 but how do i change the 200 mb settings and the 6 boot part.?
Slagers said:
Can some1 explain how i change those setting? I want the same rom (runnymede) but it stays stuck in the bootloader screen
*I change the Sd-ext part. in 1024 but how do i change the 200 mb settings and the 6 boot part.?
Click to expand...
Click to collapse
If you're using the old method, then look for a file called config.cfg, edit that using any file editor.
But if you're using the NAND Toolkit, you can edit them by selecting the desired partition from the panels on the left or the right, depending on your bootloader, and the cache is just right below those panels.
Marvlesz said:
If you're using the old method, then look for a file called config.cfg, edit that using any file editor.
But if you're using the NAND Toolkit, you can edit them by selecting the desired partition from the panels on the left or the right, depending on your bootloader, and the cache is just right below those panels.
Click to expand...
Click to collapse
can you give me more info please. I dont use the Nand toolkit were can i download it because all download links are down for the HD2 Toolkit. I dont now what file you mean
Slagers said:
can you give me more info please. I dont use the Nand toolkit were can i download it because all download links are down for the HD2 Toolkit. I dont now what file you mean
Click to expand...
Click to collapse
You'll find it here:
http://www.mediafire.com/?881bpw2xer88h23

[Q] need help

hi
i have an htc hd2 sfp and i flashed android from this post http://forum.xda-developers.com/showthread.php?t=1268580
flashed hspl 2.08.hspl
rom 2.15.50.14europ
magldr1.13
formated sd
kernel marc 1.08
every think is ok installed from zip in cwm
but when i finish installing kernel and reboot my steel on face picture is this normal or i should see lines for installing in my screen ???
excuse my english and if i am wrong pleas help me and explain me how can i install and run android from nand and what's the best rom for android on htc hd2 (stable and no freez)
thanks a lot for replay
Did you flash the correct partition size (170MB)? Do you have an EXT Partition on your SD card? The translation isn't the best so I'm going to assume that you installed the kernel successfully but are stuck in a bootloop of some sort.
Nigeldg said:
Did you flash the correct partition size (170MB)? Do you have an EXT Partition on your SD card? The translation isn't the best so I'm going to assume that you installed the kernel successfully but are stuck in a bootloop of some sort.
Click to expand...
Click to collapse
first thanks for replying
i have formated my sd car first partition 7go fat32 primary and 1go ext4 primary
but flash the correct partition i don't know what is 170mb partition
Use the HD2 Toolkit, it explains makes things simple. Read the guides in my signatures too, they should also clear a few things up.

Categories

Resources