yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] louie317:
Still no go BOSS

MAGLDR - USB Flasher - MAGLDR_CWM_Recovery_v3.0.2.4_for_NexusHD2_135M.zip

MAGLDR - AD Recovery - go go go! = NO GO

Thanks.
[HD2 Android NAND Development] tytung:
Did you re-download MAGLDR_CWM_Recovery_v3.0.2.4_for_NexusHD2_135M.zip?

I ever uploaded a version which stuck on go go go.

I re-uploaded it and didn't change the filename.
[HD2 Android NAND Development] seadersn:
sry regarding your name ;) i was in a hurry, and at the same time someone talked to me; so this "little typo" was introduced :)

updated first post with correct magldr cwm version! birkoffsjunk, is your zip containing the new (corrected by tytung) version? then i can link it in first post ;)
[HD2 Android NAND Development] clio94:
with new version of recovery and flash command from android can we have wm,flash magldr by renamed in leoimg.nbh and then boot into a sd android build and flash recovery and finally flash nand android or restore a nandroid backup without need of pc;
[HD2 Android NAND Development] birkoffsjunk:
Isn't tytung's for MAGLDR? My zip is for cLK ;)
[HD2 Android NAND Development] lorezz:
edit:

wrong topic....
[HD2 Android NAND Development] seadersn:
@ github :)

https://github.com/cedesmith/
[HD2 Android NAND Development] arif-ali:
nevermind ....
[HD2 Android NAND Development] seadersn:
ah, yes, sure... sry ;) i'll link it!
[HD2 Android NAND Development] :
Rom Manager not working anymore

can't automatically install a rom or make/restore a backup anymore, using rom manager...

it was working some time ago, but now i can't find the problem, why it is not working anymore.

my .settings file:

it restarts to recovery, when i click "backup" or "install zip"...but then nothing happens.

i got a .recoverycheckpoint file in my clockworkmod folder after trying that in rommanager...if i open the file only a "1" is in it.

any suggestions?
[HD2 Android NAND Development] seadersn:
rom or settings or cache (size / mounting) method dependent, sry ;)

which rom are you using? did you try arifs 02recov script? is it included?

i don't know this special file; try deleting it and test it again...?
[HD2 Android NAND Development] :
Thanks for the quick reply, using the rom in my signature, typhoons 3.0.5...140mb/5mb

No didnt touch, even didnt know this svript
[HD2 Android NAND Development] seadersn:
can you pls run "df -h" in terminal emulator for me and post the result here?
[HD2 Android NAND Development] arif-ali:
The 02recov script is now available in the following thread

http://xdaforums.com/showthread.php?t=1037072
[HD2 Android NAND Development] arif-ali:
@j4n87, can you also run the following commands, to see where the relevant folders are located for recovery to work correctly

ls -l /
ls -l /cache
ls -l /cache/recovery
[HD2 Android NAND Development] :
$ export PATH=/data/local/bin:$PATH
$ls -l /
drwxr-xr-x 3 root root 0 Apr 16 00:39 acct
-rwxr-xr-x 1 system system 460 Apr 3 18:23 bootcomplete.htcleo.rc
drwxrwxrwx 1 system cache 2048 Apr 16 00:32 cache
dr-x------ 2 root root 0 Apr 16 00:39 config
lrwxrwxrwx 1 root root 17 Apr 16 00:39 d -> /sys/kernel/debug
drwxrwx--x 1 system system 2048 Apr 16 00:39 data
-rwxrwxrwx 1 system system 118 Apr 3 18:23 default.prop
drwxr-xr-x 12 root root 2860 Apr 16 00:42 dev
lrwxrwxrwx 1 root root 11 Apr 16 00:39 etc -> /system/etc
-rwxrwxrwx 1 system system 107464 Apr 3 18:23 init
-rwxrwxrwx 1 system system 1677 Apr 3 02:49 init.goldfish.rc
-rwxrwxrwx 1 system system 2851 Apr 3 18:23 init.htcleo.rc
-rwxrwxrwx 1 system system 22565 Apr 3 18:23 init.rc
-rw-r--r-- 1 system system 61692 Apr 3 18:23 logo.rle
drwxrwxr-x 7 root system 0 Apr 16 00:39 mnt
dr-xr-xr-x 129 root root 0 Jan 1 1970 proc
drwx------ 2 root root 0 Apr 11 18:17 root
drwxrwxrwx 2 system system 0 Apr 3 18:23 sbin
drwxrwx--x 5 system system 1024 Apr 16 00:35 sd-ext
lrwxrwxrwx 1 root root 11 Apr 16 00:39 sdcard -> /mnt/sdcard
drwxr-xr-x 15 root root 0 Jan 1 1970 sys
drwxr-xr-x 1 root root 2048 Apr 16 00:38 system
-rw-r--r-- 1 system system 3858 Apr 3 18:23 ueventd.rc
lrwxrwxrwx 1 root root 14 Apr 16 00:39 vendor -> /system/vendor
$ ls -l /cache
drwxrwx--x 1 system cache 2048 Apr 16 00:32 download
lrwxrwxrwx 1 root root 19 Apr 16 00:32 recovery -> /mnt/cache/recovery
$ ls -l /cache/recovery
lrwxrwxrwx 1 root root 19 Apr 16 00:32 /cache/recovery -> /mnt/cache/recovery
$

..dont know, how to interpret this lines (:

As already said, after a wipe rom manager works...but i dont want to lose all my data :/

Edit: sry, but code/ quote tags didnt work for me with xda app -.-
[HD2 Android NAND Development] arif-ali:
@j4n87,

So last command to run

ls -l /mnt/cache

ls -l /mnt/recovery
[HD2 Android NAND Development] :
$ export PATH=/data/local/bin:$PATH

$ls -l /mnt/cache

ls: /mnt/cache: No such file or directory

$ ls -l /mnt/recovery

ls: can't open '/mnt/recovery': Permission denied

$

...seems not to be normal? How to solve this?
[HD2 Android NAND Development] arif-ali:
So, running that last one again after running su, and also running the following command "cat /proc/mtd", this setup, seems a bit different
[HD2 Android NAND Development] :
$ export PATH=/data/local/bin:$PATH

$su

# ls -l /mnt/cache

ls: /mnt/cache: No such file or directory

# ls -l /mnt/recovery

drwxrwx--x 1 system system 2048 Apr 9 10:11 dalvik-cache

drwxrwx--x 1 system cache 2048 Apr 9 10:11 download

drwxrwx--- 1 root root 2048 Apr 9 10:11 lost+found

drwxrwx--- 1 system cache 2048 Apr 16 00:33 recovery

# cat /proc/mtd

dev: size erasesize name

mtd0: 00100000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00500000 00020000 "boot"

mtd3: 08c00000 00020000 "system"

mtd4: 00500000 00020000 "cache"

mtd5: 10900000 00020000 "userdata"

#
[HD2 Android NAND Development] arif-ali:
OK, going through the whole process, have found that your cache recovery directory is not mounted/placed in the right place, and therefore that prevents you to reboot to recovery, or use ROM Manager.

your cache from the device is mounted in /mnt/recovery, but the /cache/recovery then should point to /mnt/recovery/recovery, which isn't. It is rather pointing to /mnt/cache/recovery. In your case you probably just need to do a "mount /dev/block/mtdblock4 /mnt/cache", and you should be working; but obviously you'll need to do that at startup everytime.

i presume you are not running the 02recov script, or it is not quite working if you are. I will see if my script would help here and get back to you.
[HD2 Android NAND Development] :
no, don't use that script..as far I know.

Decided to wipe my data and using titanium backup to restore my apps.

My cwm backup is messing up my recovery as it seems.

After spending some time to reconfigure my device, everything works now.

Many thanks anyway.
[HD2 Android NAND Development] seadersn:
this evening there will be the new version 3.0.2.5 available :) and: maybe there will be some other positive news at this time, too, thx to arif ;) we will keep you updated!
[HD2 Android NAND Development] idcom:
New CWM. New ppp wrapper from cedesmith. New hyperdroid cm7. I can't keep up :)

Thanks in advance for your hard work.
[HD2 Android NAND Development] seadersn:
this is a wonderful weekend for hd2 users :D
[HD2 Android NAND Development] seadersn:
sry, folks :( the commits which were included in the new version were reverted; also the version no. you can have a look about this yourself, links are in first post.

so, no new recovery for now :-) let's see what's next, and when ;)
[HD2 Android NAND Development] seadersn:
thx to arif contacting koush and opening a new "issue" @ rom manager, we are able to get latest stable recovery version through rom manager now :)

as these are versions which for sure are stable and everything incl. offcharging is working w/o patches (for cLK ;)), i will stop this for now and make a little break, because real life gets really annoying the next two months (minimum...).

don't be afraid: i'll do a minimodded version (yes/no) in future again :) but atm there's not much time in my life to check and do this reliably.

btw: atm it is the cLK version only @ rom manager!! magldr users won't be able to backup their bootpartition for now if they are using it! two possibilities:

- switch over to cLK and enjoy the benefits :p

- stuck with magldr and hope, they will program a compatible (more near android standard raw boot partition, not yaffs, and possibility of forwarding bootparameters) version soon. request this @ magldr thread!

bb for now @ this thread ;)
[HD2 Android NAND Development] clyder:
Does this mean that we shouldn't use version 3.0.2.4 from 13thApril, but the first 3.0.2.4. version?

BTW, sorry to see you go and thanx for all your work so far....
[HD2 Android NAND Development] arif-ali:
3.0.2.5 is available via ROM Manager. If there is anything required from the kernel side, I can easily provide that, let me know, and I can push the kernel changes to koush

here is the the file for people who want to use it via fastboot or flash_image

recovery-clockwork-3.0.2.5-leo.img.zip
[HD2 Android NAND Development] clyder:
I am on magdlr. If I flash this will I be able to do a backup of boot partition?
[HD2 Android NAND Development] arif-ali:
this is cLK only at the moment
[HD2 Android NAND Development] clyder:
Ok thanx. I got to try cLK one of these days.
[HD2 Android NAND Development] zach.antre:
Thanks arif...

Any idea why the comits were reverted?
[HD2 Android NAND Development] arif-ali:
No idea, there is no explanation in the changelogs. I think for this process, he just changed the numbering, so that me/seadersn could test it, last night. As the 3.0.2.4 we were testing was bugged slightly with the offmode charging not working. This was then fixed/tested and he just changed the numbering, so that we were able to upgrade easily using RM. That's my understanding anyway :p

So, 3.0.2.5, in our case, is still essentially 3.0.2.4
[HD2 Android NAND Development] seadersn:
jep, ver.no. was only changed for hd2 users; i believe this too :) btw, i'm not gone completely :D there will be updates to the yes no version. and magldr users can use 3.0.2.4 from first post, it's the most actual version. we used 3.0.0.6 from raider so long time and there was no error with it. :)
[HD2 Android NAND Development] karendar:
Does 3.0.2.5 support NILFS and ReiserFS like 3.0.2.4?
[HD2 Android NAND Development] arif-ali:
reiserfs yes

nilfs no

I will get those added if that is a requirement
[HD2 Android NAND Development] seadersn:
added "fake 3.0.2.5" (3.0.2.4 sources renamed to 3.0.2.5, as koushik did) yes/no version, compiled with koushik's offmode charging fix for htc devices :)
[HD2 Android NAND Development] 10507:
In ROM Manager, what should we choose for our device to be for the new recovery file?
[HD2 Android NAND Development] arif-ali:
Device: HTC HD2

version: 3.0.2.5
[HD2 Android NAND Development] seadersn:
htc hd2? :)

jep, arif
[HD2 Android NAND Development] windroidHD:
Does off mode charging work for MAGLDR? Will it charge if phone is completely off?

Thanks.
[HD2 Android NAND Development] seadersn:
nope, due to magldr. but charging with sd recovery version is working ;) boot into cwm sd version and led turns on to amber.
[HD2 Android NAND Development] illuzi0n:
patiently waiting for birkoffsjunk with CWM flashable zip :)
[HD2 Android NAND Development] seadersn:
can be that this isn't working, just because of filesize of recovery image :( is your recovery partition 5MB? that's required minimum.
[HD2 Android NAND Development] arif-ali:
All,

I'll be adding NILFS into the kernel for the one in ROM Manager.

Anyone want anything else in the kernel, then let me know. I will get that forwarded to koush to add to ROM Manager for the next version of recovery

Arif
[HD2 Android NAND Development] seadersn:
rofl... just found out that sd version is only working with usb or charger plugged in -.-

i've attached "old" (=same) version.
[HD2 Android NAND Development] djbarney:
Just updated rom manager and selected the HTC HD2 in the list, works great so far! Now, i'm not familiar with the original rom manager for android, since the only Android device i've got here is my HD2 :) Is the clockworkmod supposed to actually start the backuping process once you select "backup current rom"? I'd think it should be, since it asks about backupfoldernames etc. However, when using the backup function, all it does now is reboot into recovery and show the "main menu", where i have to select backup myself (like before). Is this a bug in Rom Manager? or is it just me doing something wrong? :) i'm currently using [12.APR][cLK/MAGLDR] NexusHD2-Gingerbread V2.6 [Android 2.3.3][Kernel: tytung_r9] as rom, with CLK 1.3.3 ofcourse (updated cwm to version 3.0.2.5 with rom manager).
[HD2 Android NAND Development] arif-ali:
it should work, but there are pre-requisites

the cache from mtd needs to be mounted, and the recovery folder in that needs to at /cache/recovery.

ROM Manager by default writes to that folder, then CWM detects the commands to run from that folder. If you use the 02recov script, that should allow you to do this.

Can you run the following commands on your phone, so that we can see what is configured on your phone.

ls -l /
ls -l /cache
ls -l /cache/
ls -l /cache/recovery
ls -l /cache/recovery/
mount
df
cat /proc/mtd
[HD2 Android NAND Development] Stephen:
I also have exactly the same setup, and getting the same issue, reboots into clk and sits at the main screen. I have run the o2recovery and rebooted but still same issue. I noticed the following error:

Can not open

/cache/recovery/log

/cache/recovery/last_log

no space left in device

I manually created the folders/files but still same error. I have checked and found that the cache folder is mounted ok, any ideas?

Alsio ran your commands and got the following error:

ls -l /cache/

opendir failed. Permission denied

194mb free internal

7.39gb free on SD

Fixed permissions on the folders but still getting the error in cwm
[HD2 Android NAND Development] LordDeath:
Should I still apply the "fake" 3.0.2.5 update, even if I only use MAGLDR?
[HD2 Android NAND Development] seadersn:
nope, no need :)
[HD2 Android NAND Development] seadersn:
ghost, what's your cache partition size? if it's five mb you really need to use arifs 02recov script! this links cache into data partition => plenty of space :)
[HD2 Android NAND Development] Stephen:
Cache size is 2mb do you need to have an ext4 data partition on the sd card? for o2recov to work?

Ok created a ext4 partition using cwm very nice! 2gb formatted the cash partition and got rid of the errors. I also ran the 02recov script but when I go to backup the phone using rom manager it simply restarts the phone, goes into cwm's main menu, it does not start the backup?
[HD2 Android NAND Development] dusko_m:
updated recovery trough Rom Manager and just performed ROM backup and it works without any problems...just like with 3.0.1.9. I'm using cLK with 40M cache partition size (if it matters)
[HD2 Android NAND Development] Stephen:
No matter what I do it simply reboots the phone and goes into recovery main menu and does not start the backup.
[HD2 Android NAND Development] :
Got the same problem...my backup was somehow messed up..and didnt let me use rom manager correctly...so i decided to throw away my backup, wipe my data, restored apps with titanium and take some time to configure my device....you will see if you dont restore your backup after wiping, rom manager will work.
[HD2 Android NAND Development] RayHeath:
If you want me to, I can then translate the German version to English. :) Just let me know. Nice work!
[HD2 Android NAND Development] :
Great Been Waiting For This For A While!! :D
[HD2 Android NAND Development] seadersn:
@ arif-ali: i'm using tytungs kernel, edited for OC; i will try to unpack the raw recovery-image, the two files needed (initrd.gz and zImage) have to be in it, basically.

@ karendar @ arif: this is good news for eventually adding the filesystems, thx :) i will figure this out; it may need some time if sth more is needed, but... :D

@ ray: it is already in english language :D if it will be translated, then only into german language; if someone want's another language, basically we could do this...? hmm, let's see :) good idea, generally.
[HD2 Android NAND Development] -Spyros-:
What about :D:D:D

[I can translate all functions :D]
[HD2 Android NAND Development] seadersn:
@ ray: np :)

@ spyros: contact me @ handy-faq.de, let's exchange icq no. etc, and we'll see, ok?
[HD2 Android NAND Development] Lint6:
ok..flashed a new rom..don't get the errors but noe it goes sits at the black screen and has some text..no errors, then stops at

[750] fastoob: processing commands

and won't boot into the rom
[HD2 Android NAND Development] mattfmartin:
So this is only in german as of right now?
[HD2 Android NAND Development] makavelitha:
is the rom manager working now?
[HD2 Android NAND Development] seadersn:
@ matt:

@ life engineer:

folks, as always: read the posts :) i will not answer questions anymore which are answered already. sry ;)

@ rommanager: visit cLK thread for updates for that; it looks promising, what cedesmith told. he's already working on that. this would be a more than only nice feature :D
[HD2 Android NAND Development] seadersn:
dharvey, thx for editing first post regarding casesensitive and mentioning, that this is the "original" english version ;)
[HD2 Android NAND Development] dharvey4651:
Hehe sorry. It's the perfectionist coming out in me. I was actually thinking about adding a FAQ instead of that one little note but decided to just put the note.
[HD2 Android NAND Development] Digital Outcast:
It seems everything works if you restore a backup from the previous CWM except the boot partition. When it gets restored it is empty. Strange? Anyway, I just reinstalled the kernel with an update.zip and that took care of it. Was faster for me than reinstalling the ROM and data partition separately.
[HD2 Android NAND Development] tobiascrystal:
please dont shoot me if I am way off base but is there any way to add the charging bits to recovery so that we can charge our phones in CWM while we are flashing a new ROM so the batt file will be correct right out of the box?
[HD2 Android NAND Development] seadersn:
it's included already ;)
[HD2 Android NAND Development] tobiascrystal:
That is great
[HD2 Android NAND Development] af974:
Someone gave a try to backup and restore with new CWM?

I just did it twice and it always fails, i am talking about new CWM and Magldr.
[HD2 Android NAND Development] seadersn:
about magldr i can't tell you anything, because i don't use it anymore :( maybe someone other can help you out here, sry :)
[HD2 Android NAND Development] karendar:
Well, you can always PM Alex-V from the desire forums to see how he did it, I'm sure we can get it working without too many snags. ;) Because from what I've been reading, I want btrfs or ReiserFS on my SD! :D haha
[HD2 Android NAND Development] Stephen:
Yea just done a full restore and same issue. It wil reboot the phone ok but then just sits at the main menu. If I do a manual backup it works fine.
[HD2 Android NAND Development] Blubster:
You are not supposed to run the script yourself actually, just drop it in /etc/init.d (and make sure you don't have another script there which works on /cache), and reboot.

can you do these commands with adb?

ls -lrt /etc/init.d

ls -lrt /data/cache

ls -lrt /cache

mount | grep cache

df -h | grep cache

and drop the results here?

"recovery" folder should be present in /cache, and "mounted" from /data/cache to the small /cache partition, as it is used to pass commands to CMR... That's how i understand the script...
[HD2 Android NAND Development] Stephen:
Ran on a terminal on the phone and mount | grep cache seemd to run ok but df -h | grep cache came back no file or directory.
[HD2 Android NAND Development] arif-ali:
please, give us the outputs, so that we can see exactly what is on the output. otherwise we cannot diagnose
[HD2 Android NAND Development] Blubster:
That's quite weird... You don't have a computer with adb? having the output of the commands would be conveniant! ^^

can you do a "df -h" without | grep cache and give us output if possible? Maybe you could do

df -h > /sdcard/df_output, and upload the df_output file that should get created on your sdcard? :)
[HD2 Android NAND Development] D4rk50ul:
Since you guys are checking if symlinks are correct, is this looking good?

# ls -lrt /etc/init.d
-rwxr-x--- 1 root root 177 Apr 17 11:01 99complete
-rwxr-x--- 1 root root 1073 Apr 17 11:01 98zipalign
-rwxr-x--- 1 root root 370 Apr 17 11:01 97ppp
-rwxr-x--- 1 root root 464 Apr 17 11:01 96ppp
-rwxr-x--- 1 root root 162 Apr 17 11:01 77sdcardspeedfix
-rwxr-x--- 1 root root 925 Apr 17 11:01 20userinit
-rwxr-x--- 1 system sdcard_r 1663 Apr 17 11:01 12vddlevels
-rwxr-x--- 1 root root 3122 Apr 17 11:01 11dalviklocation
-rwxr-x--- 1 root root 3187 Apr 17 11:01 10apps2sd
-rwxr-x--- 1 root root 1619 Apr 17 11:01 02cache
-rwxr-x--- 1 root root 382 Apr 17 11:01 01modules

# ls -lrt /data/cache
drwxrwx--- 1 root root 2048 Apr 17 11:03 lost+found
-rw-r--r-- 1 app_12 app_12 90610 Apr 17 11:03 downloadfile.apk
-rw-r--r-- 1 app_12 app_12 41120 Apr 17 11:03 downloadfile-3.apk
lrwxrwxrwx 1 root root 19 Apr 18 20:50 recovery -> /mnt/cache/recovery

# ls -lrt /cache
lrwxrwxrwx 1 root root 11 Apr 18 20:50 /cache -> /data/cache
# mount | grep cache
/dev/block/mtdblock4 on /mnt/cache type yaffs2 (rw,relatime)
# df -h | grep cache
/dev/block/mtdblock4 5.0M 780.0K 4.2M 15% /mnt/cache
[HD2 Android NAND Development] Stephen:
C:\Users\Stephen>adb shell

# df -h

df -h

Filesystem Size Used Free Blksize

-h: No such file or directory

#

Everything try to do from running adb shell is giving me access is denied even if I try to move into a differet folder eg /system really odd!

That is all I get it is very odd! Sorry I am being a pain but I am new to this back end stuff! :(
[HD2 Android NAND Development] arif-ali:
yeah, that looks good. that's more or less the way I have it
[HD2 Android NAND Development] arif-ali:
ok, try df instead, some roms, do not have the -h extension available.

so in a nutshell, run ALL the commands below, and send us the output

ls -lrt /etc/init.d

ls -lrt /data/cache

ls -lrt /cache

ls -lrt /cache/recovery

mount | grep cache

df | grep cache

cat /proc/mtd | grep cache
[HD2 Android NAND Development] Stephen:
C:\Users\Stephen>adb shell

C:\Users\Stephen>adb shell

# ls -lrt /etc/init.d

ls -lrt /etc/init.d

-lrt: No such file or directory

02recov

# ls -lrt /etc/init.d

ls -lrt /etc/init.d

-lrt: No such file or directory

02recov

# ls -lrt /cache

ls -lrt /cache

-lrt: No such file or directory

/cache

# ls -lrt /cache/recovery

ls -lrt /cache/recovery

-lrt: No such file or directory

# mount | grep cache

mount | grep cache

# df | grep cache

df | grep cache

# cat /proc/mtd |grep cache

cat /proc/mtd |grep cache

mtd4: 02c00000 00020000 "cache"

#
[HD2 Android NAND Development] Blubster:
no problem, i think it does not work for you because you may not have busybox or the same version i have, nevermind...

anyway, it seems good for me too, i don't use nexusHD2, and it is different in Typhoon...

You can try simply :

ls -lrt /cache/recovery

and see if it outputs something.

I have only one file there, named "last_log".

EDIT : too late!

Go in superuser before trying these commands :

su

Your permission issues are weird too... :/
[HD2 Android NAND Development] Stephen:
By doing an ls /d command I was able to list the directories.

C:\Users\Stephen>adb shell

# ls /d /etc/init.d

ls /d /etc/init.d

/d

02recov

# ls /d /data/cache

ls /d /data/cache

/d

downloadfile.apk

lost+found

recovery

# ls /d /cache

ls /d /cache

/d

/cache

#

Also no files at all in the /cache/recovery folder. May be that is what I am missing. Could you see if your last_log file has anything in it?