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

Search This thread

crys18

Member
Dec 29, 2010
37
32
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!

Just made my backup , 10x a lot :) have anyone flashed a diffrent rom-zip and after that restored the backup and worked??
 

parleyp

Senior Member
Jan 31, 2007
964
41
Xiaomi 13 Pro
I think the original post should be quickly updated to include the "format the sd" and "Recov/Recovery folder" tricks. We all hate newbies and newcomers when they ask questions that have been answered a zillion time but it's normal they do when the initial information is not exhaustive...

There is also one other piece of information that will be helpful to those people having issues getting their sd card reconized--do NOT insert it until you are at the magicloader menu. Once you have the menu up insert it and wait about 20 seconds. Then try to set the boot directory via the service menu. This works every time. I had done all the other tricks but still couldn't get it to work...so I thought what the heck--I'll pull out the card and then reinsert it. That seems to be the issue at least on my phone.

I only thought of this because on my tp2 running my company mail, i have to remove my sd card when I boot and wait until all of their security stuff runs before inserting or the phone doesn't know it is there....
 
  • Like
Reactions: Dam4rusxp

yongh

Senior Member
May 8, 2009
775
42
baltimore
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 support still has some issues. See below for features and how to use.

Because ROMs are not flashed using DAF, a set partition layout is required before flashing any ROMs using recovery, included in the download is DAF which is configured to create the required partitioning, just run as you normally would to flash a NAND ROM and you are set to flash a new ROM through recovery


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 THE PARTITIONING TO USE RECOVERY AGAIN
YOU WILL NOT BE ABLE TO USE AN SD ROM FROM MAGLDR WHILE USING 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;
1. Copy content of copy_to_sd_root folder to the root of your SD card
2. Power on phone holding power button to access magldr menu
3. Select "USB Flasher" option
4. Run DAF.exe and go through installer to set required partition layout
5. After reboot repeat step 2 to access menu again
6. Select "Boot AD SD" and recovery will load

Video Tutorial; (Courtesy of GFurr)
http://www.youtube.com/watch?v=VExznx3QaYw

Download;
-v1.0- DOWNLOAD
MegaUpload Mirror

Changelog;
v1.0
- Initial Release


*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 flashed 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


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

how to go back to bootloader after install recovery ? try the vol down and power button but still boot into magldr please help im try go back to window mobile
 
  • Like
Reactions: Dam4rusxp

Dam4rusxp

Senior Member
Aug 27, 2010
101
64
There is also one other piece of information that will be helpful to those people having issues getting their sd card reconized--do NOT insert it until you are at the magicloader menu. Once you have the menu up insert it and wait about 20 seconds. Then try to set the boot directory via the service menu. [...]

This really works! Before i tried this I wasn't able to use the Recovery with my 8GB SD card, it only worked with my 2GB one. But with this trick I got it to work with my 8GB card. Thank you!


how to go back to bootloader after install recovery ? try the vol down and power button but still boot into magldr please help im try go back to window mobile

Just power off your phone. Then power back on and hold the power button pressed. Now you should get to the MAGLDR menu.
Oh, if you mean the bootloader for RUU flashing then just power your phone on while pressing the vol down button. It works for me.
 
Last edited:

jose makalolot

Senior Member
Aug 21, 2009
2,001
156
Florida
I tried my first backup process now but I keep having error:

Can't mount /boot/!
E: Can't mount cache:recovery log
E: Can't open cache:recovery log
E: Can't find misc
 

yongh

Senior Member
May 8, 2009
775
42
baltimore
This really works! Before i tried this I wasn't able to use the Recovery with my 8GB SD card, it only worked with my 2GB one. But with this trick I got it to work with my 8GB card. Thank you!




Just power off your phone. Then power back on and hold the power button pressed. Now you should get to the MAGLDR menu.
Oh, if you mean the bootloader for RUU flashing then just power your phone on while pressing the vol down button. It works for me.

not work for me try so many time already
 

fusion06

Senior Member
Jun 11, 2010
111
8
Charm City
I found this on YouTube..a very very helpful video showing exactly how to install a zip nand using clockwork recovery.i know there's a video already on how to install the clockwork itself but when he starts to show how to actually install the zip..it's kind of vague because he already has a few installed. Thanks goes out to the creator- jayceooi ! http://www.youtube.com/watch?v=Zd9luUWJ34o ...ON A SIDE NOTE: with all these apps out (even an app that makes an Iphone cook popcorn) wouldn't it be nice to have an app that turns your phone kinetic! in other words,you know how they have kinetic watches that recharge with movement..imagine your battery getting low on your phone and all you had to do is shake it. i know it's a bit far fetched but hey,a man can dream right? :rolleyes:
 

af974

Retired Recognized Developer / Retired Forum Mod
Jan 22, 2008
4,934
1,683
Redmi Note 8
I'm going to uprade to V. 1.1, can you enlight me about the " partition layout", if i'm not wrong they werent in previous version.

Thanks for new update.
 

RaiderX303

Inactive Recognized Developer
Mar 16, 2009
856
408
Merseyside
there was the partition layout but there was only one which was the 250M one, due to different roms being different sizes and smaller roms leaving alot of wasted space ive added other layouts.
 
  • Like
Reactions: vista1984

af974

Retired Recognized Developer / Retired Forum Mod
Jan 22, 2008
4,934
1,683
Redmi Note 8
Yeah, i see that in old flash.cfg there was only 250 mb, now i understand the difference.

Thanks for reply.

there was the partition layout but there was only one which was the 250M one, due to different roms being different sizes and smaller roms leaving alot of wasted space ive added other layouts.
 

luffyp

Senior Member
Oct 11, 2009
417
43
there was the partition layout but there was only one which was the 250M one, due to different roms being different sizes and smaller roms leaving alot of wasted space ive added other layouts.

So, if I understand it correctly, this is the size of the system partition in NAND? If I have a Leo512 and use 250MB partition and if use data in NAND that would mean I would have 512-250 MB for my data in NAND? Is that correct?
 

vista1984

Senior Member
Apr 1, 2010
463
60
NYC
there was the partition layout but there was only one which was the 250M one, due to different roms being different sizes and smaller roms leaving alot of wasted space ive added other layouts.

thanks, does it work like ext partition in sd card?
and will it also be backup when i backup the system?

thanks again and have a good night
 

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 :).