How to change recovery size - HD2 Android Q&A, Help & Troubleshooting and Genera

Sorry if this question has been asked before but how do I change recovery sizes for example one rom will says it only needs 350mb size recovery but my only option is the 400 mb recovery I heard there is a way to change it to 350 or any other size but I have no clue.I'm on tmobile hd2 by the way.
Sent from a guy living in a van down by the river

You have to find the flash.cfg file then open Wordpad and drag and drop it in Wordpad. Then look for this line of text.
misro 5M ---à system ya ???M cache ya 4M userdata ya
There should be numbers where I have the three question maks at just change that number to the size you want and save the file.

jriv said:
Sorry if this question has been asked before but how do I change recovery sizes for example one rom will says it only needs 350mb size recovery but my only option is the 400 mb recovery I heard there is a way to change it to 350 or any other size but I have no clue.I'm on tmobile hd2 by the way.
Sent from a guy living in a van down by the river
Click to expand...
Click to collapse
First of all you should tell us if you are using cLK or MAGLDR bootloader.
In MAGLDR partitioning is made when you are flashing ClockWorkMod Recovery. Find the file flash.cfg
it will look like this:
Code:
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot yboot|ro 5M
system ya 400M
cache ya 4M
userdata ya|asize|hr allsize
Change the
Code:
system ya 400M
to be like this
Code:
system ya 350M
And continue as usual.
In cLK partitioning is managed by cLK it self so you need to flash a specific cLK bootloader
you will find cLK with many different partitioning here: http://forum.xda-developers.com/showpost.php?p=11983838&postcount=2

Thanks for your help I'm using magldr.so I configure the flash.cfg file then I flash the recovery via daf is that correct?
Sent from a guy living in a van down by the river

jriv said:
Thanks for your help I'm using magldr.so I configure the flash.cfg file then I flash the recovery via daf is that correct?
Sent from a guy living in a van down by the river
Click to expand...
Click to collapse
Correct, that also mean that you need you 1st make a backup and restore your backup afterwards because new partitioning will erase your data.

Related

[Q] HD2 internal memory only 284MB after clean rom

HI guys
I just flashed [DAF-CLEAN] BOYPPC-SHIFTPDA GINGER_HoneyComB_V12 (01.Apr)
After flashing, i found out that my TOTAL internal memory is only 284. Anyone also having this problem?
I tried few other roms. it seems that the total stays around this number.
i did a Task29, but seems to be having the same problem after reflashing the same rom.
Anyone have any ideas? or is this normal?
It depends on which cwm partition layout you are using for /system and how many apps you have etc
Are you using euro or tmous phone?
using Euros one. How do i check the cwr partition part?
Open the cwm partition folder and open "flash.cfg" in notepad+ and edit the /system to desired size.
So if your system folder in your rom is 90mb and you have used 150. You have approx 60 mb that could be used if you change the flash.cfg to eg 95. But you should then do a nandroid backup. Reflash cwm with the new layout and then restore
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot yboot|ro 5M
system ya 100M<-------------- Edit this to the value you want.
cache ya 10M
userdata ya|asize|hr allsize
Edit: Or use apps2sd, apps2sd+ data2sd or delete ringtones, bootanimations and stuff using root explorer/droid explorer.
Thanks a lot for the info. Actually i dont have a cwr partition. My sd card is not setup for cwr. I did install cwr before though..
Sent from my HTC HD2 using XDA App
its not on the sd card , its on the nand of your device
He is flashing a DAF, not a CWM-Zip. Also, 248mb sounds kind of normal, depends on how big the ROM is.
You can flash a daf rom and apply latest cwm at same time....
Look at the flash.cfg for the daf rom, copy the boot and system lines to the cwm flash.cfg( or edit the ones already there so the size is standard and bigger than the system.img file in the daf folder) then copy the system.img and boot.img files from daf folder to the cwm folder and run daf.exe in the cwm folder,,,, it will apply cwm and flash the daf rom. Then, if you want a clean backup, use cwm to back up completely then if you want to reflash that rom use the backup instead of the original daf.
Hi All
Thanks for all the replies.
Here's some notes on the nand Rom
From the DAF Zip (after unzipping) i found out the
system.img = 109MB.
boot.img = 2.9MB
From the file flash.cfg: Here's all the contents.
boot ya|boot|ro filesize+2M boot.img
system ya filesize system.img
cache ya 20M
userdata ya|asize|hr allsize
i guess in a way it is possible to have only 284MB free... Do let me know what you guys think. Thanks a lot for your advices

[Q] How can I verify the CWM partition size?

Hi,
First of all I am sorry for the noob question, but how can I verify what is the partition size of Clockworkmod Recovery is creating in my cell phone?
I have a T-Mobile HD2 with MAGL 1.3, Clockworkmod Recovery 3.0.0.1 and Hyperdroid CM7 installed. Under Settings/About Phone/ Mem Info I see 134MB/411MB. Is the CWM partition related with this?
In the past I used the HD Core Droid version 1.5 witch was a very big Android ROM (270Mbytes), now a installed the Hyperdroid witch is very light (67Mbytes). But I just installed the ROM without changes in the CWM layout. Any suggestions about?
Thanks
Eduardo
magoo1275 said:
Hi,
First of all I am sorry for the noob question, but how can I verify what is the partition size of Clockworkmod Recovery is creating in my cell phone?
I have a T-Mobile HD2 with MAGL 1.3, Clockworkmod Recovery 3.0.0.1 and Hyperdroid CM7 installed. Under Settings/About Phone/ Mem Info I see 134MB/411MB. Is the CWM partition related with this?
In the past I used the HD Core Droid version 1.5 witch was a very big Android ROM (270Mbytes), now a installed the Hyperdroid witch is very light (67Mbytes). But I just installed the ROM without changes in the CWM layout. Any suggestions about?
Thanks
Eduardo
Click to expand...
Click to collapse
looks like your partition is set for around 400mb
you can modify the flash.cfg file in cwm by opening it with notepad.
and change the numbers to those recomended by the Rom dev
misc ya 1M
recovery rrecov|ro|nospr filesize MAGLDR_recovery_3.0.2.4-seadersn.img
boot yboot|ro 8M
system ya 400M
cache ya 8M
userdata ya|asize|hr allsize
Thanks for your help. Just a few question.
Where is located the flash.cfg file? So, just changing the parameter system ya from 400M to 150M is enought to release space to install more apllications?
Thanks
Eduardo
magoo1275 said:
Thanks for your help. Just a few question.
Where is located the flash.cfg file? So, just changing the parameter system ya from 400M to 150M is enought to release space to install more apllications?
Thanks
Eduardo
Click to expand...
Click to collapse
u will need to instal everything again and use the toolkit to install the 150 mb partition ... witch will leave about 200mb free ...if u install 120 mb that will leace about 300 mb free ... if u go lower mayve the rom wont boot.
for hyperdroid i used ti flash 100 mb but with 90mb the rom dont boot ...it's advisable to flash the partition set by the dev of any rom...
magoo1275 said:
Under Settings/About Phone/ Mem Info I see 134MB/411MB. Is the CWM partition related with this?
Click to expand...
Click to collapse
no, it isnt related at all, thats the memory, the RAM, not the partition size.
there is nowhere as standard that shows you teh size of the system partition (which is what you mean by CWM partition).
You can see the size of the data partition by going setings - storage - internal storage.
to see teh others, get 'super manager' from teh market, open it, and choose file explorer.
now, at teh top of the foldes list, in small writing under where it says 'back up level folder' it gives you details of teh folder you are currently in, ,
so use it to browse into your system folder, and look at the info.
EG mine says 'total 150M used 137.4M, bla blah' because I have a 150Meg system partition, and teh typhoon rom comes to about 137 meg when unzipped.
If i now browse into the cache folder, that info shows 'tot 40M, used 1.1M.....' because i chose a 40meg cache partition.
you can do the same with the sd-ext folder to see how big and how full your EXT partition on the sd card is.
Thanks a lot for all the answers. Now the this thing is getting clear for me.
Thanks guys.

More Explanation on how to install from one android rom to another android rom!

i just started converting my HD2 to android
It now is NAND and has magldr
question now is do i install clockwork mod so to get from DFT Stock Desire to say like RUNNYMEDE http://forum.xda-developers.com/showthread.php?t=1268580
Yes, install CWM, with the appropriate size system partition for the ROM you want, then download the rom.zip, put it on the root of your SD card, then in CWM, choose to flash .zip from sd card, then choose .zip, then flash it.
Reboot system, and enjoy your new ROM
ignore, my mistake.
AngryDinosaur said:
i just started converting my HD2 to android
It now is NAND and has magldr
question now is do i install clockwork mod so to get from DFT Stock Desire to say like RUNNYMEDE http://forum.xda-developers.com/showthread.php?t=1268580
Click to expand...
Click to collapse
Make sure you have the right recovery partition for the particular rom .... each one is different and can be easily modified by opening
flash.cfg file with notepad and changing the values in red
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
boot yboot|ro 8M
system ya 325M
cache ya 10M
userdata ya|asize|hr allsize
here's the newest Clockwork Recover to date version 5
since the version of runnymede require CWR 5/445/5
and im trying to use this CWR http://forum.xda-developers.com/showthread.php?t=898913
do i download the 400mb version?
Just get the HD2 NAND Toolkit from the HD2 NAND Android forum and you can flash CWM with the correct partition sizes. Or you can download the CWM of whatever size you want, open up the flash.config file in any text editor, and change the patition sizes that way.
Either way you go, it's important to use the correct partition sizes.

[q] cwr 5/250/5 ?!!?!

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 !!

[Q] How to customize the partition table?

First of all, I ahve searched the forum and I am unable to get an idea on how to customize the partition table. I want to customize the partition table as follows,
Code:
misc ya 1M
recovery rrecov|ro|nospr 5M cwm_recovery_leo.img
boot yboot|ro 5M
system ya 200M
cache ya 2M
userdata ya|asize|hr allsize
No idea what does this means. I know how to use hd2tool kit if it is to be used.
I can change the system partition size and cahce size by this app but other than that I have no idea.
Is there anything to run this code to update the partition table?
thanks for helping me......
SUNNY ARSLAN said:
First of all, I ahve searched the forum and I am unable to get an idea on how to customize the partition table. I want to customize the partition table as follows,
Code:
misc ya 1M
recovery rrecov|ro|nospr 5M cwm_recovery_leo.img
boot yboot|ro 5M
system ya 200M
cache ya 2M
userdata ya|asize|hr allsize
No idea what does this means. I know how to use hd2tool kit if it is to be used.
I can change the system partition size and cahce size by this app but other than that I have no idea.
Is there anything to run this code to update the partition table?
thanks for helping me......
Click to expand...
Click to collapse
well, if you are using clk 1.5.x.x it's extremely simple, just change partition layout from there (in settings), otherwhise on magldr just open the flash.cfg with a text editor and change the layout from there (then flash magldr you edited)... if you are on clk 1.4.x.x, upgrade to clk 1.5.x.x and change layout from there
I don't use cLK but in MAGLDR the above instructions aren't very clear. You have to download a CWM package to your PC then go into the CWM folder and open the file flash.cfg (not flash.cfg.txt) in notepad (which happens by default on Windows). Edit the values to whatever you need for your ROM (make sure to keep the formatting the same) then save the file. Boot your phone into MAGLDR and flash the CWM with the new partition table from the USB Flasher option.
Sent from my Nexus 4

Categories

Resources