People, please make me understand what is CWR 5/250/5 & how to do it?!
Does it has something to do with the SD Card?! And what if I have only 700MB out of the 8GB, would that hurt this CWR?!
its the partition size needed for the rom to work correct
1st number is the boot size required
2nd is the system partition
3rd is the cache size
Can you please help with the steps to do that?!
2ndly, would it harm if my sdcard has only 438MBs left out of the 8GB?!
Internal partition, nothing to do with your SD card. Go get the nand toolkit, cwm partition, select 250 done.
samsamuel said:
Internal partition, nothing to do with your SD card. Go get the nand toolkit, cwm partition, select 250 done.
Click to expand...
Click to collapse
Now that's what I call "Express Answer"!!! Thanks a lot for the quick & full answer! Because of you, I've done it!!
samsamuel said:
Internal partition, nothing to do with your SD card. Go get the nand toolkit, cwm partition, select 250 done.
Click to expand...
Click to collapse
Now that's what I call "Express Answer"!!! Thanks a lot for the quick & full answer! Because of you, I've done it!!
so impressed he answered twice, hehehe.
metaljoker said:
People, please make me understand what is CWR 5/250/5 & how to do it?!
Does it has something to do with the SD Card?! And what if I have only 700MB out of the 8GB, would that hurt this CWR?!
Click to expand...
Click to collapse
Here you go
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot yboot|ro 5M
system ya 250M
cache ya 5M
userdata ya|asize|hr allsize
copy paste this into your cwm in the flash.cfg (open it in notepad)
then flas the cwm via usb flasher in magldr (i assume you know this)
its just like flashing any daf rom !!
Related
OK, not that much of a noob (or at least dont think I am!) have been playing with android for some time, and have decided to cook up my own rom based on DesireHD. After some failures I now have a good stockish rom that I like and will release once i can sort out a few problems that I have.
I want to go down the CWM .zip route so I can release updates easily, off to the forums I went with a few questions... hours and hours of searching and researching and a few test runs later... have even more questions!!!!
1. EuroHD2 (Leo512) has 512mb ROM > how much of that ROM is actually available?
2a. When does the kernel load the SD-Ext partition?
2b. With CMW Recovery do you have to set a "userdata" partition when using SD-Ext data, or can you get away with not setting one?
3. Does CMW support using SD-Ext userdata
4. Is the 400m CMW Recovery only for the Leo1024?
5. What is the maximum size for the "system" partition on Leo512?
6. What is with all the questions??????
As you can see, many questions. Most have come from searching the forums and becoming more and more confused with it all!!
Please help!
SquithyX said:
I want to go down the CWM .zip route so I can release updates easily, off to the forums I went with a few questions... hours and hours of searching and researching and a few test runs later... have even more questions!!!!
Click to expand...
Click to collapse
Good idea.
SquithyX said:
1. EuroHD2 (Leo512) has 512mb ROM > how much of that ROM is actually available?
Click to expand...
Click to collapse
All of it.
Partitions:
misc 1MB
recovery 5MB
boot 5MB
system 150MB to 350MB
cache (optional, but people like 10MB)
userdata (whatever that remains, 350MB system partition size = 50mb userdata)
SquithyX said:
2a. When does the kernel load the SD-Ext partition?
2b. With CMW Recovery do you have to set a "userdata" partition when using SD-Ext data, or can you get away with not setting one?
Click to expand...
Click to collapse
yes, sadly, you still need the userdata partition, you can go around it by creating another partition on the SD card, and call it userdata, I am assuming that works too. So now your SD has userdata, sd-ext, fat32 partitions.
SquithyX said:
3. Does CMW support using SD-Ext userdata
Click to expand...
Click to collapse
urm, that's not CMW's job, that's your job.
You can either use DATA2EXT method which puts all userdata in SD card, ext2/3/4 partition or A2SD+ which puts all your data on the SD card, minus I don't know what, because it keeps reducing and I never figure out what. I am lazy to use adb.exe to go check.
SquithyX said:
4. Is the 400m CMW Recovery only for the Leo1024?
Click to expand...
Click to collapse
Yes, because you really ran out of space. 350MB system partition, gives you less than 50MB of userdata partition provided you have 10MB of cache partition.
I was wondering that...
So if I create a "userdata" partition on the SD card the system should use that... meaning no userdata partition on the NAND... meaning SD-Ext and Data2SD features are not needed?
But then surly if it was that easy somebody else would have done it?!
The layout I am thinking is:
NAND/
--/misc (1mb)
--/boot (5mb)
--/recovery (5mb) *Is this needed? - Is this not for the recovery programs that we have on SD?
--/system (350-400mb) *theoretically upto 491mb as no userdata on NAND
--/cache (10mb)
SD/
--/userdata (1gb) *Could be bigger, but have read that it can cause corruption if over 2gb
-Fat32 (leftovers)
But all of this comes back to Q2a. When does the kernel load SD partitions?!
Other idea is to set the "userdata" in NAND to set size and grow the "system" partition and carry on using SD-Ext and Data2SD for internal storage, something like:
NAND/
--/misc (1mb)
--/boot (5mb)
--/recovery (5mb)
--/cache (10mb)
--/userdata (50mb)
--/system (leftovers) *441mb
SD/
--/Ext (1gb)
-Fat32
But then does the "system" partition have to be created 4th and wont work if created last???? And what about all the plastic trees, where do they go?! My head hurts, i'm cold and there are wolfs after me!
I am guessing that creating userdata on sd card might work, but I don't know how your build mounts partitions, so that is your job too.
but you should read up on data2sd, data2ext, a2sd+ and a2sd
No, you can move the partitions around, it worked for me.
Hi all,
why some Roms needs the SD-EXT partition ?
if we install a rom using the SD-EXT partition and then we boot without putting the SD card,the phone will boot?
many thanks
There are to ways a ROM can use the partition.
1. It will put your apps to sd which saves much space and you can install nearly infinite count of apps
2. Put dalvik cache to sd card which saves also space /ram etc.
If it just uses the partition for putting apps on sd it will boot but if it uses dalvik 2sd it won't boot.
Sent from my HD2 using xda premium
jonas2295 said:
If it just uses the partition for putting apps on sd it will boot
Click to expand...
Click to collapse
(Just to add)
but none of the apps you installed will be there.
thank you jonas2295 and samsamuel,
and what about the sense roms?it puts apps or dalvik cache to sd to sd ?
i'm interested to these roms: sense 2.1 and sense 3.0
Try this one (Sense 3.0):
http://forum.xda-developers.com/showthread.php?t=1185087
It´s from the best dev in know and it uses dalvik2sd and a2sd+ .
No glitches and the dev knows what he does.
jonas2295 said:
Try this one (Sense 3.0):
http://forum.xda-developers.com/showthread.php?t=1185087
It´s from the best dev in know and it uses dalvik2sd and a2sd+ .
No glitches and the dev knows what he does.
Click to expand...
Click to collapse
i have only 1Go sd card,so can i install this rom and use 1Go ext partion? if it is possible,can i use my sd card after installing the rom?
CWR: 5/180/5 ==>what does this mean "5/180/5"
i know that 180 is the size for the recovery,and what about the "5"?
hmm that´s bad .no you won´t be able to use it .
Or at least you can´t put anything on sd.
You need min. 2gb card.
jonas2295 said:
hmm that´s bad .no you won´t be able to use it .
Or at least you can´t put anything on sd.
You need min. 2gb card.
Click to expand...
Click to collapse
so i have to buy a new sd card,ok i will do
can you jonas2295 help me here:
CWR: 5/180/5 ==>what does this mean "5/180/5"
i know that 180 is the size for the recovery,and what about the "5"?
Click to expand...
Click to collapse
no there is a flash.cfg file.it has to look like that:
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot yboot|ro 5M
system ya 180M
cache ya 5M
userdata ya|asize|hr allsize
I made what you need fat
Thaaaaaaaank you jonas2295,your 'r the best
haha i am glad to help you
THC HD2 How 170MB system partition and at least 2MB cache partition with HD2ToolKit4.2.0.1?
Step bay step?
On left click 170, below that enter 2 in cache box, click repartition.
Cabron
Dasis said:
THC HD2 How 170MB system partition and at least 2MB cache partition with HD2ToolKit4.2.0.1?
Step bay step?
Click to expand...
Click to collapse
eiy seems like AOKP but using HD2Toolkit, min. for cache is 5mb, try the link below it could give you an idea
Installations:
Please use at least 170MB system partition and at least 2MB cache partition.
Please refer to ksubedi's HD2 NAND Toolkit and/or mskip's guide.
Cache partition (/dev/block/mtdblock4) is only mounted and used by CWM.
Cache partition size is not important because the data partition (/dev/block/mtdblock5) is used as the cache space when running Android.
If your HD2 has bad NAND blocks, you may need larger partitions.
Wipe
Wipe Data/Factory Reset while doing a fresh install. (Optional: also delete /sdcard/Android folder or format your SD card if you have any strange issue.)
Advanced -> Wipe Dalvik Cache while upgrading from an old version and wanting to retain data.
Flash this ROM.
I click custom and below that enter 2 in cache box, click repartition. Show new table "What do you want the custom partition size to be 5-445 MB allowed. I write 170 click OK.
I give table sorry chase size must be 5 to 45MB.
Where is I did mistake ?
samsamuel said:
On left click 170, below that enter 2 in cache box, click repartition.
Click to expand...
Click to collapse
raziel024 said:
Cabron
Click to expand...
Click to collapse
You haven't helped in any way, thats rude. Cabron.
Dasis said:
Installations:
Please use at least 170MB system partition and at least 2MB cache partition.
Please refer to ksubedi's HD2 NAND Toolkit and/or mskip's guide.
Cache partition (/dev/block/mtdblock4) is only mounted and used by CWM.
Cache partition size is not important because the data partition (/dev/block/mtdblock5) is used as the cache space when running Android.
If your HD2 has bad NAND blocks, you may need larger partitions.
Wipe
Wipe Data/Factory Reset while doing a fresh install. (Optional: also delete /sdcard/Android folder or format your SD card if you have any strange issue.)
Advanced -> Wipe Dalvik Cache while upgrading from an old version and wanting to retain data.
Flash this ROM.
I click custom and below that enter 2 in cache box, click repartition. Show new table "What do you want the custom partition size to be 5-445 MB allowed. I write 170 click OK.
I give table sorry chase size must be 5 to 45MB.
Where is I did mistake ?
Click to expand...
Click to collapse
1 -In the main HD2 android NAND toolkit window, look left for "Choose system partition size(MAGLDR)" and select "CUSTOM"
2 -Below this window change "cache size", but smallest possible is 5MB. It doesn't matter if it's bigger, won't give trouble.
3-after those step choose "Repartition" button below 'Functions' and type desired (4) system partition size.
Have fun.
Dasis said:
I click custom and below that enter 2 in cache box, click repartition. Show new table "What do you want the custom partition size to be 5-445 MB allowed. I write 170 click OK.
I give table sorry chase size must be 5 to 45MB.
Where is I did mistake ?
Click to expand...
Click to collapse
retsam88 said:
2 -Below this window change "cache size", but smallest possible is 5MB. It doesn't matter if it's bigger, won't give trouble.
Click to expand...
Click to collapse
as retsam88 said, it deoesnt matter the cache size, most people leave it at 5, some roms say 45, (but i haven't seen that for a while).
As far as i know, (i've read it once or twice) on most roms, only recovery uses the cache partition.
misc ya 1M
boot yboot|ro 5M or 6M // According to their Recovery
system ya 150M // Minimal Installation
system ya 240M // Full Installation
system ya 150M - 275M // Custom Installation
cache ya 2M
userdata ya|asize|hr allsize
if you have Bad Sectors, please add 5MB more, to System Partition
I like to do this partition. What do i have to make it work with hd2toolkit ? Thanks
saigon66 said:
What do i have to make it work with hd2toolkit ? Thanks
Click to expand...
Click to collapse
you cant because the toolkit writes a new flash.cfg each time when you choose custom, or uses an .nbh when you choose a preselected size.
You should find the daf.exe flash version of cwm, and when you extract it into a folder you will find one file called flash.cfg, , open that in notepad you will see a list like teh one you posted, , edit the numbers, save it, then run daf.exe with teh phone in usb flasher mode.
OK .. Im about to flash a new rom (ParanoidAndroid HD2) but i am a little confused on how to do all the partitioning requested.
Heres an example:
misc ya 1M
boot yboot|ro 5M
system ya 200M
cache ya 2M
userdata ya|asize|hr allsize
I understand that i can use HDToolkit to partition the system and cache, but what about partitioning "boot" and "misc". And what is userddata ya?
Everything in that list gets partitioned when you do the system partition, so don't worry about it.
Also, your thread title says SD partitioning, which is nothing to do with anything in your post,, totally different thing.
So basically all i want to do is make sure the system partitioning is as recommended or enough and the same with the cache. The other partitioning is done during the installation.
If thats the case, thank you very much for your input.
Noob Dude said:
So basically all i want to do is make sure the system partitioning is as recommended or enough and the same with the cache. The other partitioning is done during the installation.
If thats the case, thank you very much for your input.
Click to expand...
Click to collapse
Basically yeah, just select 200MB in the HD2 Toolkit and let it do it for you.
thank you so much
Noob Dude said:
thank you so much
Click to expand...
Click to collapse
1.misc is for android misc data and boot is for the linux kernel and ramdisk in order to let the rom boot
2.normally we set boot to 5 and cache to >=2 because roms now dont really use this partition for cache, it's just used by cwm
3.misc and recovery should normally be 1 and 5~6
4.userdata is for android to store your system and application data in your daily usage
5.usually you can find an instruction for partitions size in a rom thread
EDIT:userdata is usually auomatically sized becasue it spreads at the end of the nand,
following other partitions...
if this helped you and enlarged your knowledge please press the thanks button
. |
. |
.\ /
Hi, I dont know, where fail me, please can you help me? Sorry if I write in bad section.
I want install this ROM to HTC HD2: http://forum.xda-developers.com/showthread.php?t=1348922 I found step by step guide, and stuck at at instal magldr 1.13 recovery, I solved that, and next step was instal CLK 1.5. ok, after reboot I get to android recovery menu. I copy ROM to root SDcard a over recovery menu installed , by instal asked me at wipe (I gave wipe) next ask was version EU vs US t-mobile verzi (EU option get error. US-tmobile get install ROM) last ask was magldr or CLK installed, I installed at last CLK so choiced CLK.. on LCD I saw install complete, you may reboot, and may take 15 minutes. I saw HTC logo, but after 35 minutes in stuck htc logo, I powered off and find help. can you help me, where I failed? THX and sorry for my bad english
Follow the guide in my signature, either you followed a very bad guide or (more likely) you misunderstood a lot of it because of the language barrier. This is an outline of the steps you should be taking:
1. Install HSPL
2. Install a compatible radio
3. Install MAGLDR
4. Install CWM with the correct system partition size for your chosen ROM
5. Partition your SD card for A2SD (optional)
6. Install the ROM
7. Install any extra features you want.
Good luck
Nigeldg said:
...
4. Install CWM with the correct system partition size for your chosen ROM
5. Partition your SD card for A2SD (optional)
...
Click to expand...
Click to collapse
THX for reply. I think error is in 4 and 5 steps. I found this informations "system size 5/145/5 MB". Mean it I must edit flash.cfg in MAGLDR_CWR_5.0.2.6? at
misc ya 1M
recovery rrecov|ro|nospr 5M recovery_leo.img
boot yboot|ro 5M
system ya 145M
cache ya 5M
userdata ya|asize|hr allsize
??
HOLAS13 said:
THX for reply. I think error is in 4 and 5 steps. I found this informations "system size 5/145/5 MB". Mean it I must edit flash.cfg in MAGLDR_CWR_5.0.2.6? at
misc ya 1M
recovery rrecov|ro|nospr 5M recovery_leo.img
boot yboot|ro 5M
system ya 145M
cache ya 5M
userdata ya|asize|hr allsize
??
Click to expand...
Click to collapse
That is correct, yes, however you must also partition your SD card if you have an EU HD2 as some apps will be installed to the EXT partition of the SD. You can either do this on a PC or in CWM (see the guide in my signature for this).
Nigeldg said:
... if you have an EU HD2 ...
Click to expand...
Click to collapse
How can I check if I have EU or TMOUS (this is not my phone, so I dont know it)? I am installing TMOUS, because EU install get error. and must I EXT partition creat in SD with TMOUSE? big thanks
A TMOUS HD2 will have the T-Mobile logo on the top of the phone, a red end call button and a green call button. I think that you may still need to create an EXT partition for the TMOUS one as well, now that I've had a look at the ROM.
I changed touch screen, so mabye only check button ok I think I have EU version, so I need EXT part? can you any PC tools recommend me? I think by CWM not work :/ or its possible it take format 8gb card 1 hour? I see only partitioning SD card... please wait... but really I see it 1 hour :/
HOLAS13 said:
I changed touch screen, so mabye only check button ok I think I have EU version, so I need EXT part? can you any PC tools recommend me? I think by CWM not work :/ or its possible it take format 8gb card 1 hour? I see only partitioning SD card... please wait... but really I see it 1 hour :/
Click to expand...
Click to collapse
Yeah, it shouldn't take an hour so it's clearly not working properly in CWM. I'd recommend using EaseUS Partition Manager, it's fairly user friendly. I don't know about the language settings though, hopefully it'll work for you.
I must be idiot :/ still nothing I formated SD card with primary partition FAT32 capacity 6,5 GB and 1 logical partition EXT (I tried EXT2 and EXT3), but If I try install EU version, by step "mount sd-ext" get error E:error name_rom.zip (status 0) isntall aborted. Any ideas? THX
OK, I choosed another ROM and it work BIG THANK TO Nigeldg