yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] kokotas:
Hi guys,

First post updated with a new compiled version (2.6). Check TeamWin's page for the official (long) change-log.

Many thanks to the team for their efforts - a lot of work was done for this update!

As for (our) hd2's case, there was no problem booting up this time and everything seems ready to be tested;). So... have fun with this update;)

Regards!
[HD2 Android NAND Development] NYLimited:
Anybody test it yet? I have seen some problem reports with this version (not HD2 specific) and I think I saw a 2.6.0.1 someplace in my travels...

----

You can chose to ignore reality, but you cannot ignore the consequences of ignoring reality.
[HD2 Android NAND Development] MarkAtHome:
My backup failed due to zero byte data, as per kokotas. I have not yet had a chance to do another backup with that unchecked.
[HD2 Android NAND Development] NYLimited:
You mean data as in the userdata partition in nand?

----

You can chose to ignore reality, but you cannot ignore the consequences of ignoring reality.
[HD2 Android NAND Development] MarkAtHome:
Data Partition.
[HD2 Android NAND Development] kelddaug:
Hey Guys

I need some help.. I have searched but can't find anything.. I'm normal at Samsung guy, so i'm a bit lost here.

How do i get a Twrp recovery to work with MAGLDR .. it is set to boot from Native sd and every thing is on sd.

I have fat 32 and ext 4 partition on the sd.

I have Pa on it.

can any one help.?
[HD2 Android NAND Development] danvokez:
did you manage to fix this?because i have the same problem currently
[HD2 Android NAND Development] af974:
For the people that have ADB problem, here is a CWM version, credits to Arif-Ali and seadersn.

Arif if you will add it to your server i will delete from this post so you can check downloads.
[HD2 Android NAND Development] arif-ali:
thanks for that, the file was there fore beta testing at the moment until I have it working, and then I would have relased the CWM version. But I guess if this allows for more people testing, then that's great.

I am about to bring out a 1.1.1-1 out in the next 10-20 mins,

The sd-ext restore doesn't work in 1.1.1, so I have just fixed the code, and am testing it at the moment.

It will be uploaded soon with the CM version as well.
[HD2 Android NAND Development] 10507:
Can we get it to work with ROM Manager?
[HD2 Android NAND Development] arif-ali:
Possibly later, let's get the main bugs ironed out, then I'll think about adding that in

I am not the owner of this code, so I will have to learn how they have implemented the code, and then potentially look at CWM code to implement it

Maybe the Team Win may consider adding it themselves
[HD2 Android NAND Development] arif-ali:
1.1.1-1

uploaded the recovery with the sd-ext fix

both img and CWR files now provided, thanks to af974
[HD2 Android NAND Development] seaman2k:
thx alot now i can test it after U issue CWR.ZIP
[HD2 Android NAND Development] WaveMaster1406:
Nice work Alif-ali but it's impossible to confirm SD Partion with any button!

when i use "power button" it appear 'Partitioning aborted' and when i try with "green button" or any other button to cofirm SD partitioning, it displays alway 'Partitioning aborted'

What's about it?
[HD2 Android NAND Development] clyder:
Just tried this. I really like the ability to choose what partition you want to backup, and the que list for flashing several zips.

Only problem I have is that I cant do anything with sd-ext . I have a reiserFS partition, so I guess this recovery dont support that fs?
[HD2 Android NAND Development] arif-ali:
Compiling the fix now

1.1.1-2, will be up in a bit

You should be able to, can you check you backup folder, and see what the file was named sd-ext.xxx.win in /sdcard/TWRP/BACKUP/XXXXX/

you could run the following command and send me the output

adb shell ls /sdcard/TWRP/BACKUPS/no_console_sus/*
[HD2 Android NAND Development] arif-ali:
1.1.1-2

1.1.1-2 is now up
[HD2 Android NAND Development] clyder:
I was able to do a backup of sd-ext, but I couldnt do a wipe of sd-ext and also when I tried to do a full restore, restoring the sd-ext took 8 sec.

I used compression when trying backup, but only thing I cant restore is sd-ext..

i am getting some messy stuff when using ls, but I guess you want to see a list of files from backup so here it is:

10/08/2011 11:59 PM 80,556,948 system.yaffs2.win

10/08/2011 11:59 PM 52 system.yaffs2.win.md5

10/09/2011 12:02 AM 53,626,545 data.yaffs2.win

10/09/2011 12:02 AM 50 data.yaffs2.win.md5

10/09/2011 12:02 AM 5,242,880 boot.mtd.win

10/09/2011 12:02 AM 47 boot.mtd.win.md5

10/09/2011 12:06 AM 138,086,253 sd-ext.auto.win

10/09/2011 12:06 AM 50 sd-ext.auto.win.md5
[HD2 Android NAND Development] arif-ali:
OK, thanks for the report

I will have a look at this in more detail, and get back soon
[HD2 Android NAND Development] clyder:
When I go to format sd-ext in format menu, I get:

E:format_volume: fs_type "auto" unsupported

also in mount menu when I click on mount /sd-ext I get only the text that sd-ext has been mounted, but it's not mounted. Also in adb shell I cant see sd-ext.
[HD2 Android NAND Development] WaveMaster1406:
thx dude for your fast react!!! I try it now and let you know about it

---------- Post added at 02:08 AM ---------- Previous post was at 01:42 AM ----------

It's ok now with SD Partitioning confirm button! bug fixed!!!

This is definitly my HD2 recovery!

THX Arif-ali ;)
[HD2 Android NAND Development] seaman2k:
arif-ali@ the best thing for me from months ...it is so fast and smooth :D

working good still looking for bugs:p
[HD2 Android NAND Development] criszz:
mount sd-ext seems not working in last version
[HD2 Android NAND Development] MariusOX:
In the protal-article it said that this supported different Android Devices.

Does it support the Desire HD?
[HD2 Android NAND Development] 10507:
You can read more here http://www.teamw.in/project/twrp
[HD2 Android NAND Development] htcfreak:
I have cLK, so can some tell me how to "Reboot phone into fastboot"
[HD2 Android NAND Development] 10507:
hold Back button while rebooting until string "processing fastboot" is displayed
[HD2 Android NAND Development] criszz:
restore and format sd-ext also not working for me.
[HD2 Android NAND Development] htcfreak:
Thanks :)

I had forgotten that so lame of me

Also my CMD says "fastboot not recognized", what drivers should I need..???

I have all installed from "hd2_drivers_ksubedi"

Anything more required..???
[HD2 Android NAND Development] 10507:
This is the driver and adb that you'll need http://www.multiupload.com/9R0KMRJ5X0
[HD2 Android NAND Development] arif-ali:
i could compile it, but will have no way of testing it, as I have no DHD

If you could gather some testers, I will try my best
[HD2 Android NAND Development] arif-ali:
I will look at these issues, and get back to you. will need a few days to make modifications and test

Thank you guys for testing
[HD2 Android NAND Development] htcfreak:
Installed Android SDK but still says the same..!!!
[HD2 Android NAND Development] htcfreak:
Easiest way to install if you have issue with ADB or Fastboot

The easiest way to install for cLK version [May work for MAGLDR as well] if you have HD2 Android Toolkit by ksubedi installed on your PC/NB & if you have issues with ADB commands in CMD

1. Download recovery-twrp-leo-1.1.1-2.img (Or the latest 1 From post 1)

2. Rename recovery-twrp-leo-1.1.1-2.img to recovery-raw

3. Go to

a. C:\Program Files (x86)\HD2 Toolkit\data\ext

b. C:\Program Files (x86)\HD2 Toolkit\data\ref

& replace recovery-raw with the new one (i.e, renamed TWRP img) but be sure that you copy the old recovery-raw & save it just in case

4. Run HD2 Toolkit

a. Select cLK Install Recovery & follow the steps

5. You have twrp flashed :D

EDIT: - Should work for MAGLDR as well, I am on cLK so I haven't tried that. Somebody please check & let us know.
[HD2 Android NAND Development] mpis:
Also works in MAGLDR ROM

You can flash this image easily from within Android; simply copy the file onto your sdcard and run following commands in terminal emulator:

$ su

# flash_image recovery /sdcard/recovery-twrp-leo-1.1.1-2.img

Maybe the flash_image command is not available on your build; you can find it attached. Copy it into /system/bin folder and run following in terminal emulator:

$ su

# chmod 777 /system/bin/flash_image
[HD2 Android NAND Development] 10507:
Any good news?
[HD2 Android NAND Development] arif-ali:
I spent most of the night testing ...

as we are quite dynamic and mount the sd-ext in diifferent ways, this is not supported in twrp, and we can only use one filesystem; I have tried hacking this quite a bit, and nothing seems to work dynamically

In the interest of getting this to work, I will be setting the default FS for sd-ext to be ext3

Hopefully, after testing tonight, I will try to release the fixed recovery so that sd-ext works

regards,

Arif
[HD2 Android NAND Development] dude0316:
Just a thought here I wonder if we formated and partioned the sd card using this new recovery if everything would be fixed with these sd issues. I previously posted it worked on my sd but after formating with teamwin then flashed cwm I found that it indeed was not working. But before I could post back it had all ready been proven so let me say I'm sorry for my incorect information. It won't happen again.
[HD2 Android NAND Development] arif-ali:
1.1.1-3

OK guys,

1.1.1-3 has been posted, enjoy !!!

I hope we have a a good result here
[HD2 Android NAND Development] dimebagdan65:
In case anybody's interested...

Just finished a feature/user guide for TWRP over here.
[HD2 Android NAND Development] Aitrus:
I can't flash any roms with this. I keep getting "Md5 did not match, Aborting install."

I have a 400 magdlr partition and I'm trying to flash tytung's 3.1a rom. I've read the q&a and the change log. Whst am I not understanding?
[HD2 Android NAND Development] anikolop:
Uncheck in advanced menu -> twrp settings -> md5 checksum.

The use off this is to check the integrity of the zip file before flashing
[HD2 Android NAND Development] Aitrus:
I'm not see md5 checksum. Just "force md5 verification" and that still doesn't do anything.
[HD2 Android NAND Development] anikolop:
You are right it is force md5 verification. Is it checked?
[HD2 Android NAND Development] Aitrus:
Yes and I get the same thing. Abort install.
[HD2 Android NAND Development] anikolop:
Strange. I used the recovery to flash a rom.

Try to uncheck the "force md5 verification" and reboot.
[HD2 Android NAND Development] Richy99:
should the sd-ext be getting backed up in this new version?
[HD2 Android NAND Development] Aitrus:
Just did this and no go. Same thing.
[HD2 Android NAND Development] Richy99:
not sure with magldr only tested it inclk

have you tried a different rom ?
[HD2 Android NAND Development] anikolop:
I dont think so because i use magldr and the recovery is working fine (dint try backup/restore)
[HD2 Android NAND Development] Aitrus:
Yes just tried with dungphp's bliss rom. Same

I just redownloaded the rom to be sure it wasn't corrupted and got the same thing. but I tried flashing to tytung's froyo rom 1.9 and that installed ok. oh and I'm using the 1.1.1-3 twrp.

---------- Post added at 04:19 AM ---------- Previous post was at 04:02 AM ----------

so... are the md5 files one of these in META-INF?

CERT.RSA

CERT.SF

MANIFEST.MF
[HD2 Android NAND Development] Richy99:
do you have a tmous or eu device?
[HD2 Android NAND Development] Aitrus:
tmous. how much of a difference will that make?
[HD2 Android NAND Development] Richy99:
well if the partition recovery sizes are wrong it can possibly give errors, the tmous for dungs bliss rom is 445 so your partition of 400 would be too small to run that rom
[HD2 Android NAND Development] Aitrus:
makes sense, but on tytung's GB v3.1a it tells ya to have a 135 partition and it gives me the same thing.

I have to be missing something really simple...
[HD2 Android NAND Development] Richy99:
it might be the partitiuon is just too large for that rom, have you tried a 135meg partition as that rom says to use?
[HD2 Android NAND Development] Aitrus:
I have not. I'll try that now and tell you how it goes.

---------- Post added at 05:23 AM ---------- Previous post was at 05:04 AM ----------

ok just flashed 135 partition then the twrp and tried the v3.1a rom again and got the same results. so I reflashed the 400 partition then twrp and pongster 's HyperDroid-CM7-v3.0.1 and I got "no md5 file found, ignoring"...
[HD2 Android NAND Development] arif-ali:
That's is a lot of testing.

So last night I installed the usual CM7 nightlies that I build, and that works for without any problems, although it does still says something about the MD5, it is till able to flash without any problems.

I don't install any other roms, so not really sure what the problem may be. Maybe will try this in the next couple of days.
[HD2 Android NAND Development] Aitrus:
ok I installed cLK and pongster 's HyperDroid-CM7-v3.0.1 rom again and it said no md5 file found, ignoring rebooted and it took me to the fastboot: processing commands. but i flashed cLK_MAGLDR_Android_2.2.1_Sense_2.0_Firmware_Final after the same way it it booted no problem.

I'm hoping my trial and error is good feedback... sorry if it's just annoying.
[HD2 Android NAND Development] arif-ali:
There is an updated FAQ provided by the twrp team, the link below, which has more info on the md5 stuff

http://xdaforums.com/showpost.php?p=16120006&postcount=3
[HD2 Android NAND Development] Aitrus:
ok I tried this "md5sum myzip.zip > myzip.zip.md5" with adb cmd prompt and got 'md5sums' is not recognized as an internal or external command,. but i still got a .zip.md5. and then tried to flash the rom and got

-invalid md5

-filename in md5 and zip no not match

-aborting install

the .zip.md5 file was 0 bytes. do i need an additional programs?
[HD2 Android NAND Development] arif-ali:
Try running the md5sum command from your PC and the push the files over. Or as suggested you can use the force md5 option
[HD2 Android NAND Development] Aitrus:
HUZZAH!!!

thanks to your md5 tip. I got it to work. I put the md5 file into the rom .zip itself and it worked. the name of the .md5 can be anything like "itspeanutbutterjellytime.md5" just as long as it's the same inside the .md5 file.

this zip is the actual one I used. so use it as an example.
[HD2 Android NAND Development] lorezz:
hi arif....

only one stupid question....what you mean by "RM" in the firdt Faq....?
[HD2 Android NAND Development] clyder:
Rom Manager....
[HD2 Android NAND Development] arif-ali:
The post is now amended, to say Rom Manager
[HD2 Android NAND Development] pee-wee:
little report, I lost font color after using flush engine command from here

now i only see background picture with no font anymore, but, all function has normal... can you help me with this???

# I attached your .twrp file from TWRP folder in root of sdcard

# and how to make it back to previous recovery??
[HD2 Android NAND Development] padibuz:
Issue to report.

Installed TWR via CLK, everything worked fine, and flashed a MIUI rom. Everything was working properly until suddently the phone shut down. I've tried to restart it, it booted once, got up to the CLK screen and went back to sleep. Tried the second time with vol-down pressed, it got to HSPL for half a second and bang, dead again.

I'm going to assume my battery died. I fiddled with the phone all day, installed several roms, and I suppose the battery meter went beserk and wasn't showing my charge properly.

Thing is, now the phone's stone cold dead. Can't turn it on no matter what I do. I let it to charge for 15 minutes, doesn't work. Removed the cable and then tried to start it...nothing.

Suggestions ?

edit.

Found a solution. For some reason CLK/TWR loves my car kit charger :) It charged with no issue, but chose to ignore the wall socket charger
[HD2 Android NAND Development] ChaosBoy:
Hi arif,

i'm testing it @ the moment, but there is a big problem.

I can flash any file (recovery / kernel / gapps aso) but no rom.

Have allready make task29... flashed cLK 1.4.0.1 150/5MB...

Any Idea???

Thanks a lot!!!
[HD2 Android NAND Development] arif-ali:
What is the exact problem you are getting, can you explain please
[HD2 Android NAND Development] ricky886:
how can i restore all system with data from cwm recovery to Team Win Recovery:confused:
[HD2 Android NAND Development] Richy99:
pretty sure you cant as they use different formats, i could be wrong tho

might be able to use fastboot commands to do it
[HD2 Android NAND Development] ChaosBoy:
when i will flash the rom, i get the following line:

> md5 did not match

> Aborting install

this happens (only by flashing rom) with "force md5 Verification" and without it.

Have only tested it with your's CM7 nightly rom, not with a another...
[HD2 Android NAND Development] anikolop:
It's zip file verification enabled? If yes then uncheck it and try again
[HD2 Android NAND Development] ORiZorrie:
Hmm, I made a backup last week, now I do a restore and none of my data is restored.

I selected all options during the backup though. Restore claims everything went successfully: /system /data /boot /sd-ext...

Guess I missed android.secure? :(
[HD2 Android NAND Development] ChaosBoy:
Same here :confused:

no changes with "zip file verification" enabled or not...

Edit: Have found the misstake, it's so stupid...

i always change something in the rom (like bootanimation / lcd-density) and rename the zip for me...

if i don't rename the zip, all works fine...
[HD2 Android NAND Development] lorezz:
When I go to format sd-card in format menu, I get:

E:format_volume: fs_type "vfat" unsupported

P.S: sd-ext format seems working

edit: also sd-ext format doesn't work too ....
[HD2 Android NAND Development] Strychnin:
I really love this project but its unusable for me. I found some big bugs...

1. SD-EXT mountig is buggy. At ca 80% of the backups, sd-ext is not mounted and sd-ext backup is 0MB. If this bug appears, i also cant mount the sd-ext in mount menu. It doesnt switch to "unmount sd-ext" after choosing "mount sd-ext".

Maybe my SDCard is the problem?

2. restoring the recovery partition doesnt work at all. If i choose all partitions to restore, the process stops after the recovery partition, sd-ext is not restored.

Could it be that there is a bad block in recovery partition???

Recovery.log

3. Anyhow "batch restoring" (system/data/sd-ext) is not working correct. Sometimes I cant even boot the rom. If ROM boots, data is always inconsistent -> FCs.

I tried restoring one partition after the other, still inconsistent system.

Maybe the recovery breaks something in the symlinks, eg. data to sd-ext?

Any help/solution would be very appreciated.

EDIT/ Found a solution for point 2 and 3. Recovery partition had a bad block...

SD-EXT mounting is still buggy.
[HD2 Android NAND Development] sbryan12144:
Hey guys. I'm not knowledged in this field, but is it possible to convert the yaffs2 partitions like mount, boot, userdata into ext4? I know Desire HD can convert ext3 to ext4, but that's different. Let me know :)
[HD2 Android NAND Development] MarkAtHome:
I would like to see this capability, too!

--
[HD2 Android NAND Development] Bologna:
dorminax have digged in to this...but at the moment unsuccesfully
[HD2 Android NAND Development] LordDeath:
I think that our NAND flash memory requires a file system like yaffs2 because it hasn't an intelligent controller which does stuff like wear leveling on its own. This has to be done by the file system instead and ext3/4 don't have this capability.

Here is a better explanation: http://en.wikipedia.org/wiki/Flash_file_system ;)
[HD2 Android NAND Development] contactwajeeh:
What is the recovery size required for this?
[HD2 Android NAND Development] arif-ali:
Already answered in post #2, last question
[HD2 Android NAND Development] arif-ali:
Could be possible, but changes in the ramdisk will be required, and therefore will require to modify it for yourself, for every tomorrow you flash
[HD2 Android NAND Development] arif-ali:
I will have a look at try to look at this later in next couple of days
[HD2 Android NAND Development] dude0316:
Arif-Ali did you ever look into this ?
[HD2 Android NAND Development] arif-ali:
Update on TWRP 2.0

TWRP 2.0 is going through some in-house bug fixes, and I have been in contact with one of the developers, who for I did a few functionality tests of the GUI on the HD2.

The back key, home key and the touchscreen all seem to be working great. Although the GUI at the moment isn't great, it will be themeable.

I will create a video later to give a preview of what is coming.

ROM Chefs will be able to create a specific theme to start up, when it is specifically installing a ROM for example.

There are changes in the code, so we hope that the sd-ext functionality will be a lot better.

But as you are aware, at the moment, my focus has been on the ICS source code and implementation; so once that has slowed down, and if by then 2.0 is not out I will look at the twrp 1.1.1 sd-ext issues.
[HD2 Android NAND Development] tobiascrystal:
That is awesome, that is what I thought this was supposed to be before. Good luck, I really think this is going to be a favorite
[HD2 Android NAND Development] TheInVisibleGoD:
With touch, it will be a lot more pleasant experience :), we just hope that 2.0 works better with sd-ext...

Thanks arif-ali to keep our beloved HD2 not so outdated with TWRP 2.0 and ICS. ;)
[HD2 Android NAND Development] arif-ali:
Further update

http://teamw.in/blog/11

Looks like a Christmas Bonus
[HD2 Android NAND Development] 10507:
Wow, this is awesome news. Can't wait to try the touchscreen features.

Thank arif-ali
[HD2 Android NAND Development] arif-ali:
It's coming out tonight 11pm EST

Check out http://teamw.in/project/twrp for details when it happens and people will be on #twrp channel for the release if anyone can make it.
[HD2 Android NAND Development] 10507:
Thank you so very much for the info. Can you please update this once it is updated there?
[HD2 Android NAND Development] arif-ali:
It will be update it as soon as I can, but will be unlikely until tomorrow or Monday
[HD2 Android NAND Development] 10507:
Thank you, looking forward to it:)btw, can you please do a CWM version as well.
[HD2 Android NAND Development] 10507:
I'll keep this short. TWRP2 is here in RC status. Come and get it!

http://teamw.in/project/twrp2

It is finally here:)
[HD2 Android NAND Development] arif-ali:
Twrp 2.0.0rc0

The first post has been updated with all the new details

The CWR update and images will be provided later
[HD2 Android NAND Development] 10507:
Again, thank you for the update. One small favor, can you please remap the Back - Up a Menu Level to some other key. Since the BackKey is so close to the Endkey, I am afraid it will cause problem with the Endkey. Now, still have to use the physical Backkey to navigate up menu level.

Thanks
[HD2 Android NAND Development] htcfreak:
Thank you arif bhai :D
[HD2 Android NAND Development] lan78691:
I don't quite understand how to install this recovery on my phone. I read the instructions on the first page but am confused on what to do. So I am guessing I

1. download the file and put it on the root of my sd card

2. then go to terminal emulator or similar program and type those command lines???

can someone please help?
[HD2 Android NAND Development] habitat22:
waiting for the cwr.zip ... V2.0 will be great ;)