yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] vrracing:
you install through adb. if you dont know what that is, do a search. there are many FAQ's about it. I would recommend doing plenty of research on it before diving right in.
[HD2 Android NAND Development] arif-ali:
if someone can do some pictures for me that would be great, as I don't have a camera, or a second phone which has a good quality camera

thanks
[HD2 Android NAND Development] huhjun:
How's about battery charging, like clk?
[HD2 Android NAND Development] arif-ali:
It's the same as CWM

Edit: Added to FAQ
[HD2 Android NAND Development] siddharth singh:
Here you go with some phot... Not so high quality though... If you need better.. Tell me I will upload photos taken from my handy cam :D... And what vabout changing end call button to call button

http://db.tt/afg0Szat
[HD2 Android NAND Development] haysnamrip:
i got "failed with error: -1" :(
[HD2 Android NAND Development] 10507:
RC0.1 [2011-12-22] - Fix issues with wiping data on MTD devices

http://techerrata.com/file/twrp2/twrp-leo-2.0.0RC0.1.img
[HD2 Android NAND Development] dude0316:
Still has multiple choice bug

When flashing a kernel for example that has a clk or mag option you have to know its there. You can use the vol up and vol down keys to make the choice and then hit the call button to finish the flashing. This method of multiple choice is used by Dansta34; sbryan; carl1961, just to mention a few. They use this so they only have to upload the rom once and it have option for clk or mag and tmous or eu.

I by no means are downing this brilliant work I love it. I mean if you have a touch screen phone it only makes sense to have a touch screen recovery. Well off to change my sig Cheers
[HD2 Android NAND Development] rafiqzadah:
Twrp with softkeys

Guys TylerWatt, Huge Thanks as made a theme for TWRP, over in the Nexus S forum with SoftKey capability and I m testing it right now, it is amazing.

This is the link to his amazing work. Again really huge thanks to his work and his theme work is really cool.

Edit: This is the Link to the TWRP 2 theme engine that TWRP themselves were talking about. So to Themers, get to making your own theme. And to Arif-Ali or anyone that can get this across to XDA Admins, Can we please create a forum specially for TWRP, because there can be a heap of trouble trying to find themes when especially me finding a theme in the Nexus S forum when I am an HD2 user. Please run this across the XDA admins, would really make this recovery known. Or Arif-Ali, if you give me permission I could create a Thread to pull all TWRP "stuff" together. Please respond to this.
[HD2 Android NAND Development] arif-ali:
update

Firstly, OP has been updated with the img, and CWR files for 2.0.0RC0.1

Secondly, I don't know about the kernel choosing thing; I will download the relevant kernels and check out the magicary of the choosing of magldr/clk kernels. One think wrt this is how this will be easily achieved is the other thing. anyways; I will have a look and see what I can come up with on what we should do wrt this.

Thirdly, thanks for the soft key links; I will have a look. I think we should keep it all in one thread, otherwise it could get disjointed. If you are that keen, we'll get post 4 opened up for you to add all the themes (I will ask one of the mods to do that for us). I think that would be the best way to go about it. If we get flooded with them, then yes we should open up a new thread

Arif
[HD2 Android NAND Development] anikolop:
About the kernel thing. It actually is a binary that is called during flash. Here is some example from sbryan rcmix rom

package_extract_dir("system", "/system");

if
package_extract_file("yn/yesno","/tmp/yesno");
set_perm(0,0, 0777, "/tmp/yesno");
run_program("/tmp/yesno","error fixed, please ignore",
"************************",
"TMOUS or EU HD2 DEVICE? ",
"Yes - TMOUS/1024MB ",
"No - EU/512MB ",
"************************");
file_getprop("/tmp/yesno.prop","answer.yesno") == "yes"
then
ui_print(" ");
ui_print("-Installing for TMOUS Model...");
run_program("/sbin/mkdir", "/data/app_s");
run_program("/sbin/mkdir", "/data/app");
run_program("/sbin/mkdir", "/system/framework");
run_program("/sbin/mkdir", "/data/weather");
package_extract_dir("sd-ext/sys-parts/app", "/data/app_s");
package_extract_dir("sd-ext/sys-parts/framework", "/system/framework");
package_extract_dir("sd-ext/sys-parts/weather", "/data/weather");
package_extract_dir("sd-ext/app", "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/system/framework");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/weather");

symlink("/data/app_s","/system/app");
symlink("/data/weather","/system/media/weather");

delete("/system/etc/init.d/00linkstuff");
ui_print(" ");

else

ui_print(" ");
ui_print("-Install for EU Model...");
run_program("/sbin/mkdir", "/sd-ext");
run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
package_extract_dir("sd-ext", "/sd-ext");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/framework");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/weather");

symlink("/sd-ext/sys-parts/app","/system/app");
symlink("/sd-ext/sys-parts/framework","/system/framework");
symlink("/sd-ext/sys-parts/weather","/system/media/weather");

ui_print(" ");
endif;
....
....
[HD2 Android NAND Development] Ambious:
bloody thing erased my SD card and made it unaccessable.
[HD2 Android NAND Development] rafiqzadah:
Thanks arif for letting me get the theme thread together. I contacted tylerwatt for allowoiing me to link to his work. And he gave me the get go. Now I will be waiting on the open space. Let me know please.
[HD2 Android NAND Development] 10507:
Did you use the WIPE SD CARD function under WIPE? I have been using it for about two days without any problem.
[HD2 Android NAND Development] Drew99:
Bug

Unable to install kernel with yes/no script (ex. Dorimanx kernel) via this cwr - selection menu isn't appear (i think it "under" the screen - when i press buttons - menu is blinking)

P.S. startup delay - is awful (first time i think that the phone hangs at teamwin logo), is it possible to decrease it or add some kind of progress indicator?
[HD2 Android NAND Development] tansr7:
Did you like wipe all SD partitions, lol.
[HD2 Android NAND Development] arif-ali:
Posts 4 and 5 are yours
[HD2 Android NAND Development] rafiqzadah:
Thank You so much. I Had already started the Theme Thread in the [HD2 Android Themes and Apps] Forum.. I linked it in Posts number 4 & 5.
[HD2 Android NAND Development] vodkinagdan:
Can't find how to wipe ONLY data partition with twrp v2. V1 had this ability.
[HD2 Android NAND Development] rafiqzadah:
It is Under Wipe and Then Wipe SD-Ext. but I am Going off of the Themed Recovery that is in my Thread ready for download. Forgot where it was in the Original One.
[HD2 Android NAND Development] vodkinagdan:
But I don't need SD-EXT to be wiped. I only need to wipe data partition

misc

recovery

boot

sboot

system

data

cache

and not to touch other partitions. So, I don't want to use Factory reset because it'll also wipe SD-EXT and mnt/asec/. This feature was in CWM, in 4EXT recovery and in TWRP v1. But I can't find it in TWRP v2.

P.S. Sometimes I do it very often, so restoring other partitions from backup is not a solution.
[HD2 Android NAND Development] rafiqzadah:
If I m not mistaken, isn't "Data Partition" the same as "SD-Ext?"
[HD2 Android NAND Development] vodkinagdan:
No, it's not. In the default android all of apk's and application data are stored in data partition. But our HD2 has not so much nand memory, so absolutely most of roms has either app2sd script or data2sd script. App2sd script symlinks /data/app to SD-EXT(Mostly used for CM roms), ext3 or ext4 secondary partition on SD card(which should be created at first, of course) and data2sd script, which symlinks whole data partition to SD-EXT(so we can use up to 300 mb for system partition. Mostly used for Sense roms). I use CM rom and it has app2sd script, so wiping data and wiping SD-EXT is not the same for me.
[HD2 Android NAND Development] mwakious:
hi arif!nice work!!

i installed today and i love it...only issue found in clk is when i use off-charge if i unplug it the red light remains i have to take out the battery...
[HD2 Android NAND Development] blazethelight:
Hello guys. Awesome work and big thanks!

I have one question. I use the bootloader sometimes with dormint rom CM7.

The rom ask for kernel install, themes, etc...

I think his roms are optimzed for CWM Bootloader... because with their great touch Recovery i can´t see the charcters...

Its possible to support in next versions?

Really big thanks and good next year!
[HD2 Android NAND Development] mknewman:
Installed rc1 then did a full backup, Installed an ICS Rom and played for a bit, then did a full restore from my backup. Seemed to work but on boot magldr was unable to find the kernel.

Fortunately I had a CWR backup too.

Marc
[HD2 Android NAND Development] rafiqzadah:
Arif.. me and they guys at the evo 3D forum were talking about trying to get a "press" action into the recovery. You know with our main button being "black" and we were to press "Install" we could make another resource in the xml to bring up "red" instead of black. You know basic button press action. Is there anyway to do that? Would you know? I'm asking because your the main guy having contact with the TWRP fellas and was wondering if you could forward this to them please? Would be good idea for next release.
[HD2 Android NAND Development] TarekNajem04:
Thank You very much.

My first vision.

After installed it.

1- I try to install [Sensation Rom] that required to run [third party application] that use output and input to ask user to complete installation, your application not show output to late me to select options.

2- After set time zone your application not show correct time.

If my vision is wrong, excuse me and tell me how I can do this.
[HD2 Android NAND Development] arif-ali:
1. This is not currently supported by twrp2, as the feature used requires you to use the volume up/down and select.

2. This has been tested, and it has worked without any problems for me. Obviously in this your main time in android in CMOS type thing should be correct for this to work
[HD2 Android NAND Development] contactwajeeh:
Unable to successfully restore the backup. Tested with Dorimanx rom and RCMiX. The progress went sucessfully and said the restore was sucessfull but after the phone reboots it gives and error saying that unable to find the kernel and returns to the MAGLDR screen for me. I am using 1.13 MAGLDR.
[HD2 Android NAND Development] mknewman:
Same results as I reported on prior page. beware if you use it you may not be able to restore a backup.

Marc
[HD2 Android NAND Development] arif-ali:
OK, it seems this is a bug with twrp2 with magldr, and not backing up /boot correctly.

I will get this investigated, and get another release posted up soon.

Thanks for all for testing.
[HD2 Android NAND Development] TheInVisibleGoD:
I can confirm that with cLK also. It doesn't bother me that much since I can reflash the kernel again...
[HD2 Android NAND Development] arif-ali:
Ok, maybe not then, :(

I will investigate the issue
[HD2 Android NAND Development] mdskrzypczyk:
From what I've seen it's the same with Clockworkmod. I find myself reflashing the kernel everytime. Didn't mean to derail the topic but while we were on this little sidenote I thought I'd mention it.
[HD2 Android NAND Development] kylew1212:
Thank you for this.

I have installed and played around with it some, but I have not tested. Looks great though.

Is it possible I can put this into clk 1.5 and everything built into one .Nbh file? I want to implement different options to those with broken USB.

I will test this more soon.
[HD2 Android NAND Development] barjel:
Hi! thxs for this very good job but It lacks a back button touch (and tactile arrow key)! :o

and it doesn't work fine with my HD2... impossible to upgrate my dorimanx rom! the yes/no menu does no appear...

it's a pity !
[HD2 Android NAND Development] bzhmobile:
you have to press the phone button (the left one) to see the yes/no menu :)
[HD2 Android NAND Development] barjel:
Yes i know that, but it don't work...

TWRP works for you?
[HD2 Android NAND Development] mknewman:
Any news on this arif-ali?

Marc
[HD2 Android NAND Development] D3LTA:
This still under development?
[HD2 Android NAND Development] arif-ali:
TWRP2 is gone down, no new development anymore

The lead developer of TWRP2 has left teamWin.

Agrebren, who was the main dev, is now devloping a new recovery called phoenix, which will be what TWRP3 was going to be, and have a better touch screen engine

Unfortunately, I haven't had the opportunity to look at the boot issue, but will have a look at it soon
[HD2 Android NAND Development] mknewman:
Thanks, Keep us informed.

Marc
[HD2 Android NAND Development] wserfer:
E:error opening /sdcard/TWRP/BCKUPS/00000000000

E:Unable to open zip file.

What is it??
[HD2 Android NAND Development] T-Macgnolia:
Hey arif-ali, I was wondering if you are going to continue working on this awesome recovery now that TWRP 2.1 has been released?
[HD2 Android NAND Development] arif-ali:
Cool, will have a look, and get an update out soon
[HD2 Android NAND Development] 0719andy:
good news!thank you
[HD2 Android NAND Development] Mr.Oug:
Any updates...??
[HD2 Android NAND Development] zach.antre:
I have downloaded 2.1 from their website (see my signature) and using it now for almost 2 weeks.

I have used it only for flashing and works fine, I haven't tested backup
[HD2 Android NAND Development] Mr.Oug:
Is it pre compiled for hd2
[HD2 Android NAND Development] zach.antre:
yes it is... if you check their website there is a recovery image for each device specificly...

Also I am using it in my HD2 (i have attached it in previous post which you can just flash via recovery) and works fine.
[HD2 Android NAND Development] Mr.Oug:
status 7 running cwm 3.0
[HD2 Android NAND Development] I7V:
nice work
[HD2 Android NAND Development] MarkAtHome:
Have you tried backup and restore yet?
[HD2 Android NAND Development] kylew1212:
I have and it seems to work very well.
[HD2 Android NAND Development] Mr.Oug:
I dont see 2.1 at there website for HTC hd2
[HD2 Android NAND Development] kylew1212:
I downloaded it from a previous post.
[HD2 Android NAND Development] Mr.Oug:
Can you confirm its 2.1 because arif didn't compile 2.1 nor did the folks at teawin
[HD2 Android NAND Development] kylew1212:
Yes, I'm certain its 2.1 .. Also when I boot it up it says something about arif Ali
[HD2 Android NAND Development] Mr.Oug:
Hmm its confusing because the op didn't update us that there is an update
[HD2 Android NAND Development] zach.antre:
guys, it's my mistake I didn't explain, sorry.

I edited the cwm zip from 2.0.0RC0.1 and just replaced the *.img file, so when you install it say "by arif-ali" and "v 2.0.0RC0.1" but it is actually 2.1

here is HD2 page in their website: http://teamw.in/project/twrp2/80

and here is the download location: http://techerrata.com/browse/twrp2
[HD2 Android NAND Development] baddevil2:
This Recovery is much better than the standard one, I'm using 2.1 and it works really good
[HD2 Android NAND Development] Mr.Oug:
This is an awesome recovery. Hey arif please update the thread to 2.1
[HD2 Android NAND Development] siddharth singh:
It would be be fine to update... Because restore and backup working fine
[HD2 Android NAND Development] JaegerStriker:
i have noticed a roll out of version 2.2 will there be a 2.2 version for us HD2-ers
[HD2 Android NAND Development] kaiserlein:
It's right there on the download page, that zach.antre linked 4 posts above yours:

http://techerrata.com/file/twrp2/openrecovery-twrp-2.2.0-leo.img

But unfortunately it doesnt boot on my phone :-(
[HD2 Android NAND Development] chshrm:
Same here, it also can not boot in my phone, my device is not T mobile
[HD2 Android NAND Development] YamazakiRobert:
tried on my hd2 too but dosent boot too

i have tried to increase the recovery partition but without luck
[HD2 Android NAND Development] filkint:
The same. When will be fixed?
[HD2 Android NAND Development] chshrm:
why it can't be booted? nobody gets the booted one ?
[HD2 Android NAND Development] MarkAtHome:
I just tried it and it seems to have created a successful backup. Yay! The log has entries that concern me, but that will be for another time.

Anyone get v2.2 to work? It installs, and when I choose AD Recovery via MAGDLR, it gets no further than the green HTC logo, like everyone else... :(
[HD2 Android NAND Development] petbede:
Howdy?

Can u please upload your cwr 5.5.0.4 or link me where to find it.

PEACE!!!
[HD2 Android NAND Development] MarkAtHome:
As of now:

http://bit.ly/MnCcjT

____________________
[HD2 Android NAND Development] petbede:
Thanks!!! I also clicked the THANKS BUTTON.

PEACE!!!
[HD2 Android NAND Development] NYLimited:
Moved from another thread

Since it uses a different directory I copied an old directory, created with 5.5.0.4 to the TWRP structure and it "saw" it as an available backup for restore. The file names are diffferent between new and old. I will have to try it to be sure.

Yes, I understand. A backup created with TWRP may not be compatible with 5.5.0.4. I was more concerned with going the other way - being able to restore something created with 5.5.0.4 or 5.0.2.7 using TWRP.

I still have not seen any options in TWRP that would specify the splitting of a zip file into multiple parts of some size although I do see it in the change log: "Backup archive splitting -- allows backup and restore of data partitions larger than 2GB". Is there such an option? Or is it something automatic that one does not control?
[HD2 Android NAND Development] MarkAtHome:
I have yet to re-install my 1000+ apps to try it, so I don't have an answer for you.

Best bet would be to see what their website offers ( http://www.teamw.in/).

My attention is currently split between PC maintenance and painting my never ending room, so the phone is taking the back burner...

____________________
[HD2 Android NAND Development] NYLimited:
The simple answer is that TWRP does not want to restore backups created with CWM Recovery.

It doesn't not 'see' any backup files in the directory, probably since it expects different names (containing 'win').

There is a small possibility that renaming the old files may work but there could also be file format differences and one would have to compare old and new sources to be certain (not something I am prepared to do).

Without further information I would simply assume that any backup created before TWRP is not compatible.

The next question is if incompatibilities might exit among different versions of TWRP.. :'(

---

Turn on, tune in, drop out... (via Tapatalk)
[HD2 Android NAND Development] MarkAtHome:
If you don't mind, I'll sit back and watch your head spin.

____________________
[HD2 Android NAND Development] NYLimited:
Indeed!

To be honest, I am somewhat disappointed.

The HD2 is listed on the TWRP Site and a version of it can be downloaded from there. Too bad it does not work. If it wasn't for a port by Xylograph a version for the hd2 would not exist.

And backward compatibility (read and restore) is pretty important, especially for a backup / recovery app.

---

Turn on, tune in, drop out... (via Tapatalk)
[HD2 Android NAND Development] Burag:
Thanks for the test ny_limited !

I was just about to flash TWRP, so you just saved me some time :)
[HD2 Android NAND Development] MarkAtHome:
Of course my carefully and more robust response disappeared with an errant key press, 2.1.0 is here: http://xdaforums.com/attachment.php?attachmentid=1032333&d=1335772404

____________________
[HD2 Android NAND Development] NYLimited:
Well, on the chance that you are tempted to try it anyway you should probably know that it does a very nice job backing up but the boot partition is not restored so you cannot boot after a restore. Xylograph is aware (someone else noted it before me) but for now it is not ready for prime time. Nonetheless, it is pretty. :cool:

I am fairly certain that is the version I tried before Xylo's and it gave me all kinds of problems. Besides, it does not help you since it does not split large archives, so I guess we'll both wait.
[HD2 Android NAND Development] NYLimited:
Okay, I checked it, just in case, and it is the version I tried a while back.

It has some odd displays (reports successful completion while still running, no visual progress indicator, etc.)

Are you certain it can restore? Have you actually restored with it? The version Xylograph ported has a problem with Magldr (cannot restore the boot partition). One might assume without more info that this one has the same problem. Although the HD2 is listed as a "supported" device on the TWRP site I must wonder if it will ever work properly on the HD2. I don't see many working on it here or there.

A backup that cannot be restored is, well.. sort of useless. :mad:

---

Turn on, tune in, drop out... (via Tapatalk)
[HD2 Android NAND Development] NYLimited:
From the looks of it I would guess this forum is abandoned and unofficially closed. Nobody is posting here except you and I. As you know, the web site lists the HD2 as supported but last I tried the app simply did not work. Time to move on.
[HD2 Android NAND Development] arif-ali:
It was only working, because I was their person to make the relevant changes for the HD2, now that I haven't been available to help, They haven't been able to support it properly, I am busy and will be away until end of November, when I will by a HD2, and hopefully will continue development
[HD2 Android NAND Development] MarkAtHome:
Hi arif-ali - Would you consider providing a pre-schooler's step-by-step guide to making the relevant HD2-specific changes so one of us could carry on?

____________________
[HD2 Android NAND Development] Xylograph:
Forgot to get back to you regarding the 2.2.# version..

I've tried to make it compatible with magldr using the

postrecoveryboot.sh:

#!/sbin/sh

sleep 2

if [[ "`grep clk= /proc/cmdline`" == "" ]]; then
sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab
fi

Which should mount the bootpartition as '/yaffs2' instead of 'mtd'

recovery.fstab

# mount point	fstype	device	[device2]

/boot	mtd	boot
/cache	yaffs2	cache
/data	yaffs2	userdata
/misc	mtd	misc
/recovery	mtd	recovery
/sdcard	vfat	/dev/block/mmcblk0p1	/dev/block/mmcblk0
/system	yaffs2	system
/sd-ext ext4 /dev/block/mmcblk0p2 /dev/block/mmcblk0

However I think twrp seems to search for a boot.img instead of a zImage + initrd.gz..

So even if it mounts the /boot partition as /yaffs2 you still can't make a backup of it.. I think there is more to it, but I can't find out what and I am not sure if it could be done without building this from source ;) Let's wait for arif-ali !

For now at least cLK users should be able to use the twrp I've ported without issues..

Btw. the reason that the last available build on twrp website for our device (2.2.0?) is not booting is because of wrong init files.. changing it to previous init files will make it work, however.. even on that version the magldr backup /boot stuff is not working :silly:
[HD2 Android NAND Development] MarkAtHome:
Hi Xylograph - FYI, 2.2.2 also fails at splitting 4G+ files during a NAND backup (sorry, recovery log was deleted).

____________________
[HD2 Android NAND Development] Xylograph:
4G+ files ??? do you have some magic 'nand memory expansion' you should have told us about ? :D

I don't know m8.. I've just ported it and I'm not the designer of it..