yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] DroidTh3ory:
If I had any idea I would help. But the fact that I am clueless on doing that. What I have to offer. Lol.

Maybe a dev can chime in???

---

Sent from my HD2 DROID.
[HD2 Android NAND Development] DroidTh3ory:
This TUT should be the SAME procedure.. Your rooted and ready.. Hope it helps.

http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
[HD2 Android NAND Development] hardstuffmuc:
Update

Hey DroidTheory,

managed to get it all up and running with no prob whatsoever. Flashed the Nexus HD2 Gingerbread NAND v2.0 and now it is just waiting for an update by Tytung so I can use the CWR :-)

Thanks very much for your help! This all is somewhat confusing to start with, but now it is much clearer to me!

greets
[HD2 Android NAND Development] DroidTh3ory:
Glad to hear it!! You can always make your first NANDROID Backup to test out CW.. :)
[HD2 Android NAND Development] hardstuffmuc:
Yeah!!! :D

I am just reading up on it!

And then gonna try it out! Starting to see now what all the rave is about :p Quite exciting!
[HD2 Android NAND Development] captainhakan:
have you done a Nandroid backup succesfully ? Cause i have managed to set up Clockwork with different settings succesfully and i am on CMYLXGO's TopiaHD v1.3n but when i try to make a backup it gets interrupted with error messages that some folders cannot be found like cache, boot, etc...

i will start from the scratch with your flash.cfg file content if you report you can make a Nandroid backup ?
[HD2 Android NAND Development] DroidTh3ory:
It is because you didn't use the flash.cfg file that you can't make backups. The flash integrates the partition layout in the NAND that works with Clockwork.

:D
[HD2 Android NAND Development] hardstuffmuc:
I am all set now!

BackUp done without a glitch!

Took like 6 minutes in total!

Couldn't have done this whole CWR thing without DroidTh3ory's help!

Thanx mate! Very much appreciated!

;) Grüße aus München
[HD2 Android NAND Development] captainhakan:
Actually i used your flash.cfg file at first place and it didn't work for me with CMYLXGO's TopiaHD v1.3n. Android build and Clockwork gets succesfully installed with your flash.cfg but then Nandroid backup cannot be done. On the other hand Clockwork works perfectly with also succesful Nandroid backup with dharvey4651's flash.cfg but that way the NAND Android build itself cannot boot giving yafs error on first AD NAND BOOT.
[HD2 Android NAND Development] ridikolous:
i tried this, with your cfg and dharveys. trying to flash cmylogo topia hd 1.3n. cwm was successful. but upon booting android it says cannot read zimage.

same issue for me
[HD2 Android NAND Development] DroidTh3ory:
Today I spent some time doing it wrong to see the results.. Like, skipping this step, that step, not formatting, etc.

Both times of NOT formatting the SD card cause this exact same issue. I also noticed that the larger SD Cards are more susceptible to errors with out formatting.

I fixed both these errors by formatting the SD Card with the SD Formatter, then after the clock work files are added to the SD card... BEFORE flashing the ROM... partitioning the SD using CW's manager. It will add a SD/EXT. After that I continued to flash the NAND with the "flash.cfg" file I provided and all was well.

In all my testing... The thing that caused the MOST issues... NOT FORMATTING THE SD CARD. I know it is a pain in the ASS, but it is necessary. :)
[HD2 Android NAND Development] DroidTh3ory:
OP updated with Clockwork 1.2... If you have already done this you can simply swap the files on your SD Card with the 2 new ones...

Your Done. :)
[HD2 Android NAND Development] samsamuel:
Mostly simple set up, second attempt was the charm. Just flashed about a dozen times, through nand, through zip, through restore, , , Backing up and restoring nand roms with no probs.

for anyone using an ext partition with a2sd+ roms, the step

will wipe that ext partition, so your apps will be gone.

Very handy, thanks very much.
[HD2 Android NAND Development] DroidTh3ory:
Glad to hear it!!!! Any formatting will delete. :)

___

Sent from my HD2 DROID with XDA.
[HD2 Android NAND Development] saintsmmx:
Great to hear that. So I just replace the two files in the "Recovery" folder that I created and it's all good? I don't want to mess up the working one that I have right now haha
[HD2 Android NAND Development] DroidTh3ory:
It wouldn't mess anything up... it will just load the new Clockwork... If something should happen, you can always put the old files back on. :)

___

Sent from my HD2 DROID with XDA.
[HD2 Android NAND Development] saintsmmx:
Alright thanks again my man. I'll try that on right now.

Can I just pop this files in there and replace the old ones through Android USB, or do I have to do it through MAGLDR?
[HD2 Android NAND Development] banawe24:
Hey Th3ory how do i update a build using your method..same way as the regular CWM?
[HD2 Android NAND Development] DroidTh3ory:
Either way... just drop them in replacing the old ones.

:)

___

Sent from my HD2 DROID with XDA.
[HD2 Android NAND Development] DroidTh3ory:
Yes, everything functions the same. It is the same... lol.

Just a different way of getting there. :)

___

Sent from my HD2 DROID with XDA.
[HD2 Android NAND Development] banawe24:
got it just want to make sure thanks homie
[HD2 Android NAND Development] 10507:
Help with Backup

Sorry, wrong post
[HD2 Android NAND Development] DroidTh3ory:
Maybe the wrong thread but.... You are not doing anything wrong. Nandroid doesn't necessarily create a ZIP... It creates a backup file for it to read along with a Check SUM for errors..

Make the back up and thats it. Leave until you need it. :)
[HD2 Android NAND Development] 10507:
So, how can I set CWM to create a ZIP file. It just give me

.android_secure.img

boot.img

cache.img

data.img

nandroid.md5

recovery.img

system.img

I like how we have CWM.ZIP. It is more convenience.
[HD2 Android NAND Development] DroidTh3ory:
It doesn't... You backup in Clockworlk... If you screw something up you go back into Clockwork and restore.

Is there a reason you want a ZIP? If so... maybe we can figure it out??? :)
[HD2 Android NAND Development] 10507:
No, because I though CWM supposed to make a ZIP file. IMG files are good too, but it just take up too much space and too many files to worry about.:) So can we just ZIP up the IMG files, and when restore, we just point to that ZIP? Do you think it would work?
[HD2 Android NAND Development] DroidTh3ory:
Clockwork will make the backup/date and time stamp it/and put it under Clockwork/backups.. You will never need to see them.. EVER. :)

I would highly advice you to not alter the Nandroid Backups. :)
[HD2 Android NAND Development] 10507:
Can I still move it to my PC and replace it when I need it. I currently have two NAND ROMs, a Desire HD and a CM7. Would like to alternate them...:D Would like to try all the NAND builds, but I don't think my SDcard could handle all those files..

BTW, do you have any problem restoring your MDJ CM7 build? After restoring, do you get a SDcard corruption, like when first flash?

Again thank you for the help and sorry for keep spamming your thread.
[HD2 Android NAND Development] DroidTh3ory:
Got ya... You can move them to a safe spot on the PC. You can rename the folders so you know what ROMS they are.
[HD2 Android NAND Development] NYGraFFit1:
Thanks Again

Just decided to just flash his CWM 2.1 version since the NAND version was lagging for some reason, it works good now. Last Question (I know Q's can get annoying lol but I'm still learning): When MDJ releases an update can i just rename it "Update.zip" and do it that way or Must i wipe the cache and davivik cache also. or do i have it wrong?
[HD2 Android NAND Development] DroidTh3ory:
No need to rename it.. What I do to keep things simple and organized is... I create a folder on my SD Card named "ROMS". Then I just keep all my ROMS in there.

To flash a update you

1: Boot into Clockwork

2: Wipe Cache Partition/Advanced/Wipe Dalvik

3: Install ZIP from SD Card

4: Choose ZIP from SD Card

5: Go to your ROM folder and select which ROM you want.

DONE.

You have the new ROM and saved all your settings and DATA. :)
[HD2 Android NAND Development] NYGraFFit1:
Awesome, just awesome. :bows: thank you good sir. you've truely helped me in making my night much less stressfull and take away all the headbanging i was about to do trying to figure it out :lol:

You should place ^^^ what you said (update) some where in OP, i think it will help alot of people.
[HD2 Android NAND Development] DroidTh3ory:
LOL, Glad you got it set.

Advice taken.. Update Instruction in the OP>

:D
[HD2 Android NAND Development] bestmodel03:
hi, i am using "MDJs_CyanogenMod7_v.2.1_NAND_A2SD+z" how can i update to cwm without loosing my apps and settings?
[HD2 Android NAND Development] brush2:
Works for me

Hi all,

i tried recovery with ROM:

[30 DEC][DFT]LEO "Stock Desire" NAND Android ROM Originally Posted By Cotulla

http://xdaforums.com/showthread.php?t=893620

on my HD2(576mb, see my Signature for more details) and

Backup and Recovery worked well - after two little incidents:

Booting into Clockwork didn't worked with the two files in SD root directory.

I had to put the two files in a folder(i chose the folder name RECOV) and

set under Services->BootSettings->AD SD Dir to this folder.

After this i did a reboot and Boot AD SD kicked me into a working Clockwork.

After booting into Nand notification bar messages looped from "SD Card is write protected" to "Preparing SD Card" ....

Apparently i unplugged the USB cable too soon, after i moved the two files into the RECOV folder.

So my card became erroneous, which i fixed by rebooting into MAGLDR->USB MassStg, plugged USB cable and started PC Check Disk:

Check disk-> only checked Automatically fix file system errors->Start->Reboot->Boot to Nand

Except this two little stumbling blocks all went fine and i restored my ROM successfully including all settings and also all non Android files on SD.

I have one question:

Is it possible to drag the Recovery folder from SD Card to my PC, and vice versa if need to recover a ROM?

(I am just afraid regarding the MD5's and file attributes/permissions change when copying back to SD Card, so it does not work anymore...)

Thanks DroidTh3ory for the feature to do backups that work!

Great Job - and my respect for this,

Greetings, Stephan
[HD2 Android NAND Development] DroidTh3ory:
I added a 123 HOW TO at the bottom of the OP on how to Update.. Remember to download the .ZIP CWR ROM to update... Not the NAND. :)

Glad it worked!! Credit always goes to the DEV's for making all this cool software. :)
[HD2 Android NAND Development] tdizzle404:
after i follow instruction lost the ability to connect usb in flasher mode??? help!
[HD2 Android NAND Development] tdizzle404:
It Works!

I just flashed a new rom using the nifty lil clockwork recovery and everything works.

THIS WORKS IF YOU DO EXACTLY WHAT DroidTh3ory SAYS!

Im just a lil 420 friendly so it takes me a time or two or three! lol jk

great job DroidTh3ory! You strike again!
[HD2 Android NAND Development] milo356:
help i folllow this step by step done this 100 times but i keep getting nandroid kernal failer im tyring to install CMYLXGOs.Topia.HD.NAND.Edition.v1.3n.......PLEASE HELP
[HD2 Android NAND Development] jmcdonald58:
Geeze I ain't getting it

oops sorry no comment posted to wrong topic
[HD2 Android NAND Development] jmcdonald58:
Can someone break it down

Ok I am going give this a try tonite but I am not sure I fully understand yet,I can follow instrustions so that will not be a problem ---I am happy with the nand build I currently run the Cotulla LEO STOCK--but would like to have other roms on sd to test if I follow the directions listed here will I lose the build and need to reflash it? If this is the case then after reflashing I can load zip-roms (or any rom type) on sd and then flash from phone without losing orginal rom as long as I back it up?

Damn I think I am making this more complicated than it is but I tried flashing cwm last week and it failed on me so I ended up having to reflash my nand build ...Either way I wanna give it a go tonite and I am sure I will get it done just wanted a better understanding before I gave her a go Thanks in advance and please excuse me I did read the thread just ain't getting it for some reason
[HD2 Android NAND Development] Yom:
ROOT broken after recovery flash keeping settings!

Hi,

I have tested flashing a new ROM while keeping my apps and settings, and it works GREAT... except for the fact that the new ROM is no longer rooted... I can re-root with SuperClick, but is there a solution so either the new ROM will remain rooted, or to re-root the phone without a computer?

Thanks!
[HD2 Android NAND Development] DroidTh3ory:
LOL, I used to be there... One you can say about 420, after it EVERYTHING is an adventure. :D

Yes, like stated in the OP... Some ROMS with advanced file system structuring will not work. I tried for 2 hours on that ROM (Topia) to figure it out. The partition layout just won't work... SORRY.

Yep, the first time you have to sacrifice your DATA and wipe it all... But after that you never have to again. You can flash .ZIP ROMS, Updates, Tweaks, Etc.

Keep us posted.. And FOLLOW THE STEP BY STEP.. :)

Some ROMS have a root issue... You can download the Superuser EF file to your SD Card... Flash in Clockwork like you would a ROM and you will have SU Access again. :)

SU EF File.... http://bit.ly/su2361ef
[HD2 Android NAND Development] jmcdonald58:
Alrighty then hopefully this will work with the upcoming DS build will give it a go when thats out -Thanks
[HD2 Android NAND Development] Bluntastic:
Nice tutorial! Always like to see people helping out others.

But i have had massive problems including my need of an ext3 partition while keeping my fat32 partition visible to magldr (nothing happens after boot ad sd and such...).

I'd recommend using MiniTool Partition Wizard Home Edition (google it - i've found it on the forum)

Put a fat32 partition on the beginning of your sd with no unallocated space left in front of it. Label and size it as you wish and set it as primary. Now (important) change the cluster size from default to 32kb. Next, create with an ext3 partition using the whole space left. Label optional, set as logical and clustersize default.

Don't forget to apply and you are done.

Maybe you can add this to your tutorial.

If my post appears redundant - well... :rolleyes:

ok, i just found another (maybe simpler) way to do this: http://xdaforums.com/showthread.php?t=908935
[HD2 Android NAND Development] radeonsx3:
i quit...

Tux blunt... was finally able to create a working partition for a2sd roms. However, I'm still unable to get cwm on my phone. Whatever method there is, it don't work. Formatted, followed every step, it flashes real quick an goes back to magldr. Putting the files in a folder doesn't work either. Boot dir. either shows <.> or a bunch of symbols..

Have been trying for the past 9 hours with no success. Better quit before I p\o the universe and create a black hole...
[HD2 Android NAND Development] smuvman:
perfect

used this method with jdms ultimate nand rom and i have 0 problems. instructions worked for me. thanx!
[HD2 Android NAND Development] DroidTh3ory:
When the DIR in CW shows that it is usually caused by a improper format... You say you have a working a2sd partition setup now? I would assume to know that you flashed a ROM? And since Clockwork has been giving you a issue it is most likely a NAND Rom? If so... That would have changed the partitions to be incompatible with Clockwork.

Try the method in this thread. It will keep the partitions integrity to use Clockwork along with flash the NAND ROM you want. After that you can enjoy a2sd and flash Clockwork ROMS.

Sounds like you have had a long night, but if your up to it... :)
[HD2 Android NAND Development] DroidTh3ory:
Glad to hear it!!! Congrats.

:D
[HD2 Android NAND Development] hitekredneck:
Here's what I do not understand. Once clockwork mod is installed and accessible via MAGLDR, there should be no need to have to hook up to a pc to flash any of these ROM's if they are packaged properly, then why oh why are all of these so-called clockwork mod compatible builds packaged the way they are instead of in a true update.zip format?

I have had a Viewsonic Gtablet for about a month now and have used clockwork mod to flash numerous roms to this tablet, and the only things I had to do to install these rom were copy the rom file to the sd card, open up clockwork mod and clear user data (format) then flash the rom.zip file that I had copied to the sd card. Reboot and all is complete.

You folks might want to touch base with bekriebel, roebeet and gojimi over in the respective forum about simplifying this process. I am sure they could get everyone on the same page with this method. All I am seeing now is total confusion of most users that want to give this a go.

I know the hardware is totally different on these two devices (HD and Gtablet) but the methods should be the same I would think.

Here's a link to the Gtablet android development forum here on XDA -> http://xdaforums.com/forumdisplay.php?f=844

I am sincerely hoping that some good can come from this post and that the method can be much more simplified for those that are having so many problems with what should be a simple procedure for flashing these roms.

Getting MAGLDR and Clockwork installed should be the hardest part, the rest should be as easy as copying a file to sd, running clockwork and wiping data, then flashing the rom by choosing the .zip that you just copied to the sd card. No PC should be needed other than to copy the .zip file to the sd card.

Don't get me wrong, I am deeply appreciative of xRaider porting clockwork over to the HD2, and since I had some prior experience with clockwork mod on my Gtablet, I had relatively little trouble installing and using it on my HD2, but the simplicity of what it is meant for is missing. Yes, it is very handy for backing up a build after you have flashed it and configured it the way you want it, it will save your ass if your build gets hosed and you need a quick way back to where you were before the hosing. But the potential of just dropping a .zip file to the sd, unplugging your usb and flashing the .zip is a simple procedure that "almost" anyone can follow and should be possible.

These are just my thoughts on the clockwork mod method. If there is something that I have totally missed that would allow this simplicity, please inform/correct me and lead me onto the path of enlightenment. LOL

HTR
[HD2 Android NAND Development] radeonsx3:
...

@droidth3ory... I have just reformatted (lost my ext3 partition) and followed your instructions. That is how I currently Have mdj's cm 2.2 on my phone, but cwm still remains inaccessible for some reason. I have also tried to flash cwm the normal way (1.0 1.1 and 1.2) and all available partition sizes, still with no success... have used minitool, gparted, SD formatted and windows formatted with all alternatives just to make sure... its getting old. Lol

Thx for the response.
[HD2 Android NAND Development] jmcdonald58:
Got it working

Ok I followed the directions and got it booted haven't got zip.rom loaded as I wanted to reset my Nand 1st I can't load a file manager from market it seems working on root so I can use titannium backup again also what size to i set the partition to in the cmw settings its at 128 I have t-mobile us -thanks so far so good just working out the bugs
[HD2 Android NAND Development] jmcdonald58:
All is good

All is good here got my Nand rerooted with z4root and got my settings and apps restored shows 590mb internal storage left getting ready to load a couple of zip.roms and give it a go great work and instrustions was quite painless I must say Thanks DroidTH3ory for the breakdown and RaiderX303 for the program

Ok I knew it was coming to easy for me so I would grateful if someone can guide me down the right path I haved completed steps 1-5 sucessfully and I am able to load and installed zip roms but after the installion is completed I am unable to get it to boot from the sd it will boot from the nand side but will not load past the splashscreen loops using htcclay's gingerclay build I really don't want to have to reflash as I see some are using the v1.0 instead of the 1.2 I am using can anyone point me in the right directions Damn gotta d/load a movie or something for the little lady she starting to give me the look
[HD2 Android NAND Development] tritran18518:
This method doesn't work with nand-builds that don't contain boot.img file

In the file flash.cfg that you provided, i see the line : boot ya|boot|ro filesize+2M boot.img And the nand-rom i am trying to flash doesn't contain the boot.img file. When i replace your flash.cfg file with the one was already in the rom, and then flash, i have this error:
[HD2 Android NAND Development] law16:
got the same erro when using DesireZ.v2.1.Nand from http://xdaforums.com/showthread.php?t=881937
[HD2 Android NAND Development] radeonsx3:
woot...

finally managed to get CWM on my phone and got it to laod by putting the files in a folder labeled "recovery"...

Tried to flash 2.3 Froyo and 2.2 CM7, but both roms got stuck in the bootloop...

Started over from scratch and was able to flash 2.3 CM7 with CWM with no problems...

Hope i dont have that problem again....

Thx...
[HD2 Android NAND Development] juergeli0815:
great work, but i´m still missing the following:

when i flashed a NON-cwr-rom and want to get back to a cwr-rom via restore, i get allways an error text "misc is missing" and the restored system hangs at boot-logo. I think it´s because the different partitioning when using an NON-cwr-rom. Therefore i flashed a modified ROM (with the flash.conf from CWR-Pack) to get the right partititions and then i can make a restore which is working.

Is there any way to manage this without the need of a PC?

If not, it would be great to have a option in the CWR-Menu like "Make Partitions for CWR-ROMS".
[HD2 Android NAND Development] LiFE1688:
Clockwork Recovery uses specific partitions and directories.

misc

recovery

boot

system

data

cache (I think this might be optional)

If you are going to use a NAND build that does not use Clockwork to install, you just have to edit the flash.cfg file.

Add the 2 following lines at the beginning of the flash.cfg file.

misc ya 1M

recovery ya|ro 5M

The flash.cfg should already contain

boot ya|boot|ro 5M

system ya 350M

cache ya 10M

userdata ya|asize|hr allsize

or something similar.

This way, it should also do a backup even if you did not install the ROM via Clockwork.

NOTE: I think the MD5 checksum also checks the size of the partition, so if you change the partition size, it won't restore.
[HD2 Android NAND Development] tritran18518:
yes, because that rom doesn't contain boot.img :(
[HD2 Android NAND Development] juergeli0815:
thanks, but that´s the way i already did and it´s working, but i think the main reason for using CWR is, that we can switch between roms without the need of a Desktop-PC. But in this special case we need a PC and therefore i asked if there is a way to make these special partitions without a Desktop-PC.

As i red in other Threads, i am not the only one with this "Problem" and it would be much easier if there would be an option in the CWR-Menu to do the right partitioning.

sorry for my bad english, i am from germany !!!
[HD2 Android NAND Development] yesucan:
+1 for this :)
[HD2 Android NAND Development] saintsmmx:
Just trying to keep this helpful thread alive haha.

So a few of recently downloaded CWM ROMs aren't able to get through the hTC logo (MDJ Gingerbread v2.3 and PPC_ShiftPDA v4).

Any tips?
[HD2 Android NAND Development] jahmezis45:
is there a way for me to run a zip rom without the restore data that i backed up prior. the reason i ask is i think this has been causing some force closes on this particular rom being that the android.process keeps force closing.. any help would be great