[01 FEB][RECOVERY] ClockworkMod Recovery for HD2 - v1.3

Search This thread

johho

Senior Member
Sep 11, 2007
292
18
Mainz
www.maklerhofmann.de
Hi Folks.

Propably i made everthing wrong i coud, but this is what happend:

I used futureshok 1.0 (Nand). Then i copied the stuff rom the archieve to a fresh formated (fat32) SD Card and flashed the Recovery Tool with daf.exe.

Now i can boot into recovery tool, but im not able to boot the "old" Futureshok nand build, even if i try Point 2 "Boot AD Nand".

The SD Card isn't usable in Windows anymore ("You have to format the drive..") propably because its ext4 now i guess?

The old Nand Build isn't bootable anymore :(, i thought i coud use them both, the recovery tool loader and "normal" nand Builds?.

This means, "normal" Nand Builds and the Recovery Tool aren't able to work at the same time, and I can only use special recovery Builds now?

EDIT: Can someone give me a short explanation, how to set up the sd card optimal (16GB SD) for use with recovery builds and with seperate fat partition for using in Windows? SOLVED

Can someone give me a small explanation how to use "normal" nand Builds and recovery mod together?
 
Last edited:

MAMeingast

Senior Member
Jul 20, 2008
1,286
51
Berlin
Can someone give me a small explanation how to use "normal" nand Builds and recovery mod together?

You can use them together, but not easily. Also, there seem to be a couple of problems judging by the other responses in this thread. But basically, you could do this:

  • Flash a NAND Rom you want to use.
  • Backup the NAND Rom following these instructions: http://xdaforums.com/showpost.php?p=10323548&postcount=94
  • If you're religious, pray that you will be able to restore the backup later - it might not work.
  • Install CW following the instructions in the first post. This will DESTROY THE ROM INSTALLED IN NAND!
  • Restore your NAND Rom using CW. Again, pray that it works.

Doing all of this, you have converted a single NAND Rom into a zip backup to be used with CW. This is very tedious and does not make much sense. Also, you have to do the whole procedure all over again if you want to convert a different NAND Rom to be used with CW. CW is supposed to be used with zip files and you should just wait for devs to provide zips of their NAND Roms...
 

0Reefa

Senior Member
Oct 25, 2009
133
0
London
That is strange. I do not know the specifics of what CW is doing or what your ROM did when it originally partitioned your NAND. What build are you running? If it is hanging as soon as it tries to backup boot (the first partition) it is probably not finding the partitions it expects.

If you want to try and see your NAND partition layout you can try the steps in this post:
http://xdaforums.com/showpost.php?p=10316703&postcount=842

Let us know your NAND ROM and if you find your partition information.

-Unc.

Hey man,

Thanks for the reply.

I'm running Gauner's NAND v0.3 with MDEEJAY's v9.2 kernel.

I tried the TTY method to grab partition info but TTY just seems to freeze and doesn't initialise when I run it. Windows does indicate that a device is connected (I can eject MAGLDR in taskbar) but Putty fails to connect to that serial number.

Any other methods to check partition? Do I need additional drivers for TTY? There's nothing showing up in device manager.

Guess I'll just have to wait for a proper CW released zip from the devs!
 

ilijan

Senior Member
Jul 21, 2008
290
40
Bratislava
Samsung Galaxy S20
its possible to create CW mode from SDcard.. becouse if we use your init and zimage its allready start... in ad sd mobde... but missing some files... its possible to rebuild your installer to sd card mode?
 

elless

Member
May 14, 2010
15
0
ClockworkMod Recovery for HD2 - v1.0 scusatemi dove lo scarichiamo questo programma grazie io non vedo nessun linck qualcuno puo aiutarmi grazie ancora:confused:
 

Unconn

Senior Member
Dec 3, 2009
396
109
Raleigh
...My question is, do I need to manually put those two files in my SD card root every time I need to use Recovery? Are there other alternatives?
No. I would put them in a subfolder and leave them there. AFAIK the recovery is being loaded from these files on the SD card. It may be loaded into the recovery partition created by DAF.ex in this procedure in the future, but even then, loading a ROM will not wipe this out.
Alright, so when I try to go to Recovery through "Boot AD SD" MAGLDR (V1.11) would get stuck on 123456 Go Go Go!

Any way to fix this?

I put the two files in the root of the SD card ...
Your MAGDLR may still be using a different directory for trying to launch Recovery. Try putting these files in a directory and choosing that Dir for SD boot.

Many thanks. its tool work perfect for me. My hd2 is now a real Android device :)
* and I have a question : after recovery and upgrade ROM (*.zip), I can delete the two files initrd.gz and zImage in memory card or not ?
You can but you will not be able to load recovery from SD until you put them back. You might want to keep them and use them to back up your ROM until we have another way to get into recovery. Why not have more tools? :)
thank you.OP didnt mention push the files included IN the "move to SD" to root of your SD card.just wondering will i be able to get into clockwork recovery through the rom manager or the reboot to recovery?
Not Yet. This could come about the time they link recovery to MAGDLR properly. We will see.
is there a method without using "DAF.EXE"
Well, you might not have to run DAF.exe but your NAND will not be repartitioned to support the new partition layout that includes a recovery partition.

FYI guys, Unconn's method does not work if you flashed with MDJ_FroYo_Revolution_v._2.1_NAND. Keep getting

"E:Can't find MISC:
E:Can't mount CACHE:recovery/command
E:Can't find MISC:
E:Can't mount CACHE:recovery/log
E:Can't open CACHE:recovery/log
E:Can't find MISC:"

or am I missing something.
I would just try it. The Recovery partition does not exist until you repartition using the DAF.exe included and I got the MISC errors too. You were going to loose your current ROM anyway, this just gives you a CHANCE to try and keep it.
Everything went smooth except the last part when I run it from NAND again, its stuck at the HTC splash screen... How can I fix this?
I am not sure you can unless your ROM has a Update.ZIP version you can flash over it. This may be a ROM that was not written to support the partition structure we are using. This is why this is not a supported method for keeping your current ROM. Any number of things could stop working when trying to load from NAND, especially one written before the CW method and new partition structure. The steps that it goes through to load a kernel and ROM are going to look for certain things. If they are not found it just will not load. Sorry. Find and update.zip you like the look of and hope that you data partition survives (does not relate to SDcard <2.2). It might, but still may not load properly without a wipe before flashing from within recovery.

...Then i tried to create a folder in Windows named "Recovery"
But i can't find the folder recovery in the boot source menu
There are multiple screens of directories. Scroll down. New dirs are normally at the bottom and I had to go about 5 screens to find mine.

i tried it with that. When i try to restore, i get a failure. something like "MD5 Checksumme error". maybe because the data.img is on the SD card?

Edit: because clockworkmode just allowed 250mb of build storage
An MD5 error could indicate the backup was corrupted (maybe by an SD card that needs formatting).

Your EDIT is also a good point. If ANY of the backup IMG files end up containing more data than will fit in the new partition structure, they will never restore. The Recovery partition has claimed some of your once available space.

...Doing all of this, you have converted a single NAND Rom into a zip backup to be used with CW. This is very tedious and does not make much sense. Also, you have to do the whole procedure all over again if you want to convert a different NAND Rom to be used with CW. CW is supposed to be used with zip files and you should just wait for devs to provide zips of their NAND Roms...
This is a good point. If you Flash another NAND ROM from windows it will repartition your NAND again and you will have to run the Clockwork DAF.exe again at some point.
 

Unconn

Senior Member
Dec 3, 2009
396
109
Raleigh
If i backup a Rom with CM, will it backup all my setings and Apps too?

Yes. I will backup each partition and you will end up with these for each date-time you backup:
boot.img
cache.img
data.img
system.img
and nandroid.MD5 (Corruption/Tamper check)

Currently restoring a ROM will also overwrite your settings in NAND too. Just to be clear.
 

Sreta

New member
Jul 24, 2010
2
0
Ok, my first post here, i have been on this forum for a last six months reading and stuff :) Ok my question is, can we now use psfreedom payloads with recovery, from android that is on nand?
 

Sup3r

Member
Apr 4, 2006
49
34
jeddah
clockworkmod is in beta stage

so it won't work if you want install it

this app should be fixed don't tell me i made a mistake i know what to do
i dont need to change my sd card to get it working

from now on i prefer using couttla nand build
 

Unconn

Senior Member
Dec 3, 2009
396
109
Raleigh
Ok, my first post here, i have been on this forum for a last six months reading and stuff :) Ok my question is, can we now use psfreedom payloads with recovery, from android that is on nand?
I do not know a ton about this, but I have heard that PSfreedom ROMs load successfully from SD card. So you run your normal ROM from NAND and then crush PS3s with a reboot into an SD card build. :)
 

DownPoster

Member
Nov 19, 2007
26
0
I just bought a new microsd card, and clockwork mod booted (yeey), mounted SD card in MAGDLR to copy a update.zip, but clockwork won't boot anymore.

I dont have any idea's to try left :p
 

ancola66

Senior Member
Oct 16, 2007
963
144
You can but you will not be able to load recovery from SD until you put them back. You might want to keep them and use them to back up your ROM until we have another way to get into recovery. Why not have more tools? :)
I ask to understand all of this Tool only:D This tool is great. May be ones is not use the android who does not know the great impact of this tool:( . I'm using DesireHD and HD2 so be know utility that tool :) . Sorry for my bad English, thanks again :)
 

kobibz

Senior Member
Sep 9, 2008
87
4
Can i flash .ZIP file from desire/desire hd?

or i must to have special .zip file for HD2 recovery?
 

Unconn

Senior Member
Dec 3, 2009
396
109
Raleigh
I just bought a new microsd card, and clockwork mod booted (yeey), mounted SD card in MAGDLR to copy a update.zip, but clockwork won't boot anymore.

I dont have any idea's to try left :p
You need to have the same files in tne same directory on your new SD card for CW to work. it is basically a trimmed down Android SD boot from SD right now.
or i must to have special .zip file for HD2 recovery?
Yes, you need to use update.zips specifically for HD2. The drivers (among other things) will be different.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 229
    READ ALL OF THE OP BEFORE POSTING QUESTIONS

    The Intro;
    As we now have NAND booting for the HD2, its time we also had a way to flash ROMs from the SD aswell so here we have ClockworkMod Recovery compiled for the HD2. It is fully working except ROM Manager is not supported.

    Recovery can now boot from NAND instead of the old SD Card boot method, to flash the rom, download the recovery with the partition layout you require, then flash as you would a standard NAND rom using DAF and MAGLDR USB Flasher. then select AD Recovery to load into recovery.

    MAGLDR v1.13 IS REQUIRED, OLDER VERSIONS ARE NOT SUPPORTED, DOWNLOAD v1.13 HERE

    Kind note to Devs;
    Please stop posting modified flash.cfg files for use with CWM

    CWM is designed to make it easier to flash roms without needing a windows PC, if you post a different flash.cfg in each rom thread then it defeats this purpose as a pc will be required for flashing each layout.

    Stick to using the default partition layouts or use USB flasher


    WARNING MESSAGES:
    GOING FROM A DAF FLASHED ROM TO A RECOVERY FLASHED ROM WILL WIPE ALL DATA
    IF YOU FLASH ANOTHER ROM USING DAF, RECOVERY WILL NO LONGER WORK CORRECTLY, YOU WILL NEED TO REFLASH RECOVERY

    Features;
    -Flash ROMs in update.zip format
    -Backup and restore ROMs using Nandroid
    -Flash ROMs from the SD card without use of a PC
    -Easilly Wipe all Data/Cache
    -Repartition SD card for use with Apps2SD
    -Full Root ADB access
    -Fix app permissions

    How to use;
    For MAGLDR NAND Boot;
    1. Download recovery with partition size for the type of rom you plan on using, see guide below if unsure.
    2. Extract downloaded file and load magldr into USB Flasher mode.
    3. Run DAF.exe and follow instructions
    4. After completed and phone reboots, hold power key and select AD Recovery from list
    5. Recovery will now load

    For old style SD Boot;
    1. download one of the partition files for SD Boot, if you don't know which one you need, use the 250M one or check with rom developer.
    2. Extract downloaded zip to a folder of your choice
    3. Copy contents of copy_to_sd_root (initrd.gz and zImage) to the root of your sd card
    4. boot into magldr and select USB Flasher option while phone is connected to PC
    5. Run DAF.exe included in the zip and follow onscreen instructions.
    6. After complete, again boot into magldr and select "Boot AD SD" option
    7. ClockworkMod recovery should load, you can flash a rom from here.

    Video Tutorials;

    Downloads;

    Changelog;
    v1.3;
    -Supports AD Recovery in MAGLDR
    -MAGLDR v1.13 REQUIRED Download HERE
    -400MB Partition layout now works with 512MB LEO for roms with Data2SD

    v1.2;
    -Fixed SD-EXT Backup/Restore/Wipe

    v1.1;
    -Updated ClockworkMod to 3.0.0.5, now based on Gingerbread Source

    v1.0;
    - Initial Release

    Q&A;
    Q. Ive flashed v1.3 but cant access recovery anymore.
    A. Make sure you are using MAGLDR 1.13 and are selecting "AD Recovery" instead of "Boot AD SD"

    Q. Ive downloaded v1.3 but there is no copy_to_sd folder
    A. Recovery no longer requires any files on the SD card, just flash it like a standard nand rom and select "AD Recovery in magldr menu

    Q. Can I change the partition sizes used for CWM
    A. You can by editing the flash.cfg but this is not recommended, CWM is designed to make it easier for switching roms, by flashing a custom partition size you may stop other roms working and require reflashing a new partition size when you want to change roms.

    Q. I dont know which partition size to download
    A. Depending on what type of roms you plan on using, you should choose the partition size based on the following.
    150MB Partition - For bare roms including CyanogenMod, AOSP, and MiUI
    250MB Partition - For Standard sense roms including Desire and EVo based ROMs, can also be used for some squashed HD builds
    400MB Partition - For Larger roms including unsquashed Desire HD and Z roms, ROMs REQUIRE data2sd for EU HD2 with 512MB NAND


    *I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE BY USING THIS RECOVERY IMAGE*
    Notes for devs;
    Please add tags to the title of your threads stating if they are to be flashed with recovery or DAF, [ZIP] for recovery update.zip and [USB] if its installed over usb using daf.
    The cache partition is only 10MB so that recovery can still use it, to get cache to work in android, make a directory in data called cachemnt and on boot symlink /cache to /data/cachemnt, this does not apply when using 150M partition size

    Credits go to;
    -Cotulla + DFT for the great work for Android on NAND
    -CyanogenMod team for work on recovery
    -Anyone else who has made the HD2 a great device
    19
    Keep your current ROM and still create Recovery Partition

    Running DAF.exe with erase your current ROM out of NAND. It needs to do this to repartition. But, just running Clockwork does not remove your current ROM. Stay with me here...

    I just loaded up CW recovery WITHOUT repartitioning first, and then backed up my current ROM. Now then repartitioned and restored my backed up ROM. [It works]!

    Steps takenr:
    - Copied file from "copy_to_sd_root" to ./Recov on SD
    - Rebooted (need to do this to set SD boot Dir correctly, or you will get green text flash)
    - Set ./Recov as my SD boot Dir.
    - Booted to SD... Yes. Into Clockwork.
    - It said "E:Can't find MISC:" but looked good other than that.
    - Ran Backup. Waited. "Backed up boot, system, data, .android-secure, and cache. It skipped the sd-ext as I do not have one.
    - Said "Backup complete!"
    - Reboot back into MAGDLR and follow the rest of the steps (Flash using DAF.exe) to repartition. Now it will not boot to NAND. Tried it.
    - Boot into CW Recovery using SD boot again
    - Now see if your restore works.
    - When the restore is done, reboot back into MAGDLR and choose NAND boot and it should boot back into your ROM just as you left it!

    It worked for me. Should I create a Tutorial/Walk-through topic? I will just leave this here for now and get some feed back. I make no promises that it will work for you.

    -Unconnected
    10
    150 MB: HotFile
    250 MB: MediaFire
    400 MB: HotFile

    If you thought this helps, gimme a thanks ;)
    9
    Here are (attached) the three recoveries files in a torrent. And that would be my first contribution to this wonderful community :).