Im Kind Of Confused With Nand Backup...(CMW) - HD2 Android Q&A, Help & Troubleshooting and Genera

So I Installed a Rom With an exe and i have already set it up and themed it like i wanted, CWM Opens perfect with no problems but when i back up my current Rom to try other one it backups but it doesn't restore and i end up deleting the backup and reinstalling with the exe. so i cant backup roms that are installed by exe only the one by Zip???
Thanxx In Advance Guys!!!

Yeah I think you can only backup .zip ROM's. How did you even flash CWM and keep your DFT ROM at the same time? It's supposed to wipe it. Unless ofcourse, you're using the SD card root way. So erm yeah I don't think you can restore it. Just use a backup app like Titanium to backup in future, unless you want to go back to the other ROM's current state.
You are best off just using CWM full-time now as it's much easier snd hassle free.

You can use backup restore with daf roms, but chances are when you tried a different rom it laid out a different set of partition sizes so the backup wont fit. (maybe )
How to flash a daf rom and apply cwm at the same time.
get the contents of the latest cwm in a folder, and your daf rom in another folder.
Compare the contents of flash.cfg in both folders (you can open notepad and drag the .cfg file into it to edit it). You basically wanna edit the system line in the cwm flash.cfg to match the one in the daf roms flash.cfg, same with the boot line, (see example) and then copy system.img and boot.img from the rom folder into the cwm folder, save the edits in the cwm flash.cfg and run daf.exe (in the cwm folder, not in the rom folder)
It will flash the rom just like normal, except it will also apply clockwork into a partition too, allowing correctly working cwm, plus a partition layout that fits your daf rom. So now you can backup and restore your current rom, plus you can try any cwm zip roms, so long as the system size is smaller than whatever the system.img file is from your nand rom.
example flash.cfg combined for original DFT nand rom, plus cwm 1.13.
boot yboot|ro filesize+2M boot.img
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
system ya filesize+2M system.img
cache ya 44M
userdata ya|asize|hr allsize
(just an example, compare this to the plain cwm 1.13 flash.cfg to see what i mean)
For a little wider compatibility, you could fix the system partition to a standard size to take most roms, set it to 250 for instance, which would allow most sense roms as well as the smaller roms.
system ya 250M system.img

Wow! Sound Like Alot of work!! LOL! Gonna Try it!!Thanxxxx!!!!!!

heh, its dead simple really, but you gotta understand what the flash.cfg file is actually doing, else it just seems like a set of random instructions. (Plus im not very good at explaining concisely )

Your The MAN!!! Backed it up, installed Typhoon tried it, went back to CWM restored perfectly!! Thanxx!!

Hehe, glad it worked, I didn't have time to test it.

Related

backup settings nandroid

id like to be able to update the nandroid rom as and when required, perhaps another custom rom, etc. but im concerned about loosing my contacts, desktop laylout, widgets, etc.
i know the old days you would backup the data file from the SD card before nandroid came about,
whats the procedure now, ive came across clockwork but im really confused with that
Well contacts/calander etc are backed up via google so as long as you sync manually or automatically you are fine.
Other stuff like settings and apps/games can be backed up via Titanium Backup.
The clockwork mod is a way to flash roms via SD card, make system backups, partition your SD card etc. Read the thread about it or ask questions in there.
thanks for that, i appreciate this,
do i always have to update, i have the nexusdroid froyo 2.2 on my hd2 and i dont really want to update everytime theres a minor update
flash.cfg for CWM compatible
The flash.cfg to partition in a clockwork compatible method is:
boot ya|boot|ro filesize+2M boot.img
system ya filesize+2M system.img
misc ya 1M
recovery ya|ro 3M
cache ya 3M
userdata ya|asize|hr allsize
Just paste that into your flash.cfg and overwrite what was there....then you should be able to go into clockworkmod and do a backup afterward so if necessary and just restore from backup.

[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] 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

Bit of a noob here, got a quick question!

So I just bought a HD2 last week, after a little trial and error I managed to install this ROM http://forum.xda-developers.com/showthread.php?t=1117787 following the guide in the thread.
Every thing is running fine, no bugs, really fast and am really pleased with the phone and rom.
The only thing that I am a little unsure of, is that looking around the forums at other roms and also in the MIUI forums I see a lot of people talking about needing specific cache/partition/swap (not exactly sure which) sizes to run each ROM, in the MIUI forum it says "rom need to be at 150mb for magler/cLK to work right."
But following the guide for the ROM there is no mention of this an I did not do this step, the only thing I did was use CWM to create a EXT and swap (just chose sizes I thought would suffice) to get apps2sd to work once I had installed the rom.
Now I know the ROM runs fine but my question is will it run any better if I created the correct sized cache/partition/swap (whatever the hell it is!!)?
Sorry for sounding such a noob but this phone is a little different from my old hero to install ROMs on
When you flash clockwork mod you can edit the size of the system.
Open the folder of clockwork mod you downloaded and edit flash.cfg file with notepad and change system size to 150M .
That´s it
When you flash clock work mod???
As far as I can tell CWM just runs of my SD card (if I wipe the files off the SD card that are provided with the rom, it doesnt load CWM when I hold the power button then choose the number one option)
This is what I dont get, is CWM supposed to be permanently flashed to the nand as well, like the ROM is? And if it does just run off the SD, then why does it need a certain system size and what does this do?
Okay i think i have to write much now
Okay first you flash magldr (it´s the ´base´)
then you flash Clockwork Mod via USB Flasher option in magldr:
"For MAGLDR 1.13, booting from NAND:
Download the file attached
Download a partition layout incl. recovery from this thread which fits your ROM you want to use best and unzip it into "C:\recovery" for example
Copy over the recovery image file from inside the zip archive into this folder "C:\recovery", delete existing "recovery-raw.img" and rename copied image file to "recovery-raw.img"
Flash the recovery and partition layout using "DAF.exe" as usual and described in the thread of raiderx or the ROM provider
Boot Recovery with menu point "8. AD Recovery"
You're done"
Go here to get it :http://forum.xda-developers.com/showthread.php?t=987531
Before flashing it edit the flash.cfg file like i described it before ,then flash the .zip ROM..
Thanks for the detailed reply, so I'm gathering that this will install CWM onto my nand, but as I have the ROM running fine and don't really mind that CWM runs from the SD card, are there any benefits to doing this?? And will I lose some storage space on the phone if I do this?
you can use the sd version too
I suggest that when you change your ROM next time ,use the nand version with the right partition .

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.

Categories

Resources