yashsingh1/xdaforums huggingface dataset:
[Legend General] YoungPretender:
Well, I'm in the same boat as a lot of you here.

I ended up just installing this rom here, it's pretty clean

http://xdaforums.com/showthread.php?t=866849

I had a few problems with stability though, so quickly installed the overclocked Kernel here:

http://xdaforums.com/showthread.php?t=856786 (768MHz Version, slowest of the two - I prefer stability over speed, even though it's still an overclock)

And so far, I've had no stability problems (over a day now messing about to no end like any geeky techie with a new toy would) and I've got plenty of FroYo goodness.

It's very much like a clean official ROM and I've decided I'm going to stick to it now. You couldn't tell the difference.

Speed difference compared to Elcaire is massive, no SMS bug, Wifi is fantastic and all the features (that I am away off anyway) of FroYo is there.

New YouTube, WiFi hotspot thingy, the whole shebang!

Just thought that it'd be useful for those, who like me, have tried and failed to get upgraded, but would like an worthy (arguably far superior!) replacement.
[Legend General] Siako:
Just installed the OTA on my VODAP203 rooted Legend. You just have to remove the CID check, create a new, unsigned ZIP file, copy it as update.zip on the sdcard and apply:update.zip from your rooted recovery.
[Legend General] YoungPretender:
Seriously? I tried similar last night, but it wouldn't get past the verify without being signed. Kept getting Status 4 & 7 errors once it was signed. What lines did you remove from the script files? Perhaps you could upload them somewhere?

Cheers
[Legend General] nutunited:
running stock froyo from wwe ota update. I temp-rooted and extracted my system folder. Then I used mkcramfs to create a system.img file. Not sure if that is the correct method for creating a system.img file, but it's uploading as we speak- so we'll see.

Swyped from my HTC Legend
[Legend General] Siako:
I just removed the assert checking ro.cid from the "updater-script" file, then repackaged the update, and applied it with clockwork recovery.

And it works :)
[Legend General] Siako:
Precision : of course you lose your root doing that ! May be you can edit the script to re-enable the good permissions on su.

I'll root it again tomorrow :)
[Legend General] callmewind:
Another one in the bootloop club, with bootloader 1.01 :D

I just tried the room indicated by YoungPretender, it is detected and checked, but after that it's not recognized :(
[Legend General] YoungPretender:
I hope the Rom I linked to didn't cause the bootlooping, did it?

My apologies if it did :(

Btw, People, what would I best be doing? keeping a custom ROM or installing the official ROM? Your opinions would be welcome.

Cheers.
[Legend General] YoungPretender:
Could you upload it somewhere or list the script file? I spent hours last night doing what you did to no avail. I spent last night is this thread [http://xdaforums.com/showthread.php?t=867263] trying all sorts.

Perhaps you could upload the modified ROM somewhere? It would be greatly appreciated by all of us.

Also, could you tell me what rom you upgraded from? I'm guessing, from looking at the script, the update is just that, an update and not a fresh install (plenty of replacing and checking of dipositories). I've got a sneaky suspesion that the reason I wasn't successful last night was because I was trying to update from a V1.xx rom instead of 2.1.

Again,

Cheers.
[Legend General] callmewind:
It wasn't your ROM, don't be sorry :)
[Legend General] callmewind:
Has anyone tried with this vodafone RUU? (found in google)

I'm trying to download it...
[Legend General] Greedybro:
yeah. won't work with the bootlooped devices. hboot 1.00 CID vodafone (VODA001 and many others)
[Legend General] senm:
I gave up.

I rooted my phone and installed de cyanogenmod 6.1

Works like a charm.
[Legend General] makedonii:
just a quick question?

can i update to 2.2 original unbranded from cyanogenmod?

i want to unroot my phone basicly and go with 2.2 ;)
[Legend General] BWhite22:
Checker script prepared

OK, so when I was waiting for WWE FroYo (the good old days :( ) I wrote a shell script that would search the zubu.ca FOTA listings and email me if FroYo came out. Now that we're waiting for the RUU, I've written a comparable script.

I have shell and cron access on my employer's web proxy, so every 3 hours it will check the Legend page on shipped-roms.com for 3.15.405.3 RUU. If I get an email, I will immediately check and pass the info along here should it be legit.

I've noticed there are some other FTPs out there and so on which have stock Legend ROMs too - I will look to fold those in at some point although I expect shipped-roms will get the goods first.
[Legend General] nutunited:
As per my previous message, here you go:

Stock WWE 3.15.405.3 system.img

Hope this helps in some way :)

Good luck

Also if it is useful could someone please upload it to a different mirror. Dropbox was the only place I could get it because of my super slow connection.

EDIT: Just to be clear I'm by no means an expert - I followed some instructions to temproot my Legend, followed some more to extract system folder, and the followed even more to use makecramfs to make a system.img file. Whether this file is correct now I have no idea, so obviously use at your own risk...
[Legend General] kleutscher:
im going to give it a try, atleast alot of thanks for even trying. and more thanks if it works:)
[Legend General] Greedybro:
Hey thanks you for your help !! Nevertheless, UNYAFFS, the tool to extract files from a system.img tells me your .IMG is broken and so it can extract it.

Far from me saying your file is not good, I just want to check what's inside ^^

But I can't. That doesn't want to say we won't give a try with your file ^^

Thanks anyway.
[Legend General] kleutscher:
yeah youre right. unyaffs cant extract.

nonetheless im going to give it a try.

wont brick my phone more then it already is:)

and you need to try to find out if it works or not.

i made a legeimg.zip from it.

now i need tro find a way to get it on my sdcard:p
[Legend General] Greedybro:
I've just try mate, but once again my legend is [Checking LEGEIMG], then go back to Hboot menu... nothing change ! With an older version of Hboot in the LEGEIMG it tells me "Main version is Older", but with a 1.01, it tells me nothing, just go back to the menu :(
[Legend General] kleutscher:
found a way to place the file on SD card:p

borrowed an old htc windows phone that supports micro sd:P

hope it works.
[Legend General] nutunited:
I'm uploading one with just the system folders now...

I probably made some mistake with making the system.img file :D
[Legend General] kleutscher:
yeah but you gave it a try.

if youre going to try again to make a system.img.

i still wil be your guinea pig:p
[Legend General] nutunited:
Ok, this is gonna take way too long (slow connection :( ). Try downloading this. Extract the folder. Copy system.img from my file into the folder. Open a command prompt and navigate to the folder, then run this command: cramfsck -x system system.img

EDIT: I think maybe I see the problem - when I created it there was a system folder within the system folder. So maybe re-creating with just the lower level folder would work... But with the above you should be able to extract the files from my system.img and play around with them :)
[Legend General] kleutscher:
youre system.img didnt work.

i ll take a look at youre other thing.

thanks anyway:D
[Legend General] kleutscher:
if you would give it a try again it would be really nice.

im also going to give it a try.
[Legend General] nutunited:
Ok, I'll try! But will take a couple of hours to upload :(
[Legend General] kleutscher:
greedybro already tried it the way you did with lower level system directory but also unyaffs giving a error.

recompile them into a system.img but first check with unyaffs if you get a error so you dont have to upload them:P

ill do some more research in recompiling a system.img.

but one thing the system files we now got from you are almost the exact same size as the one we extracted from the RUU 3.14 vodafone:D 223mb:D

the system files in the OTA3.15 where split in to a patch/system directory and a system directory

and where together only 80mb.

so the files are a great start:D
[Legend General] kleutscher:
oke i think i found why i get a error with unyaffs becouse of this.

after the mkcramfs system system.img i get this warning

warning: gids truncated to 8 bits (this may be security concern)
[Legend General] moppetit:
Hi everyone, well I am having the same issue as you guys.

I have a debranded (but not rooted) Legend (originally SFR, french Vodafone).

Yesterday I updated to the 2.05.405.2 HTC OTA, update went well, but it got rid of my Wi-Fi. I haven't found a way to get it back.

I did the update without the goldcard (all the previous OTAs worked fine without it).

So I decided to try and update to froyo 2.2 with the goldcard i had used to debrand my phone in the first place, thinking it might bring my wifi back, but behold, I got the dreaded red triangle during update (Status 7, ro.cid check problem)....

I have tried updating with the standard sd card too, to no avail, exactly same error :(

Luckily I haven't bricked my phone or got ended up in a bootloop, so for the moment I am stuck on a 2.1 but with no wifi.

Thanks to all of you guys who are testing all sorts of stuff to bypass this problem, I am eager to see if a solution comes up.

Does anyone know whether i can root / downgrade from this ****ty wifi-less 2.05.405.2?

Thanks again
[Legend General] kleutscher:
look a this thread.

http://xdaforums.com/showthread.php?t=867528
[Legend General] kleutscher:
wich way did you extract the system folder?

with clockworkmod?

becouse i found this piece of text:

So, the moral of this is that the YAFFS partitions cannot be dumped quickly as an image by simple means (you need something like "nanddump"). The slightly more tedious mechanism of archiving the individual files (using "tar") will work fine, of course. ClockworkMod is probably the best way for most of us to get a system.img file.

maybe the dump of the system files went wrong. like they said clockworkmod is probaly the best way to get the system files.
[Legend General] nutunited:
I got the files using the sdk and busybox (as detailed by blayo somewhere else in the forum). Pretty sure the system files are ok.

Swyped from my HTC Legend
[Legend General] kleutscher:
is there a way that you can pack the systemfiles in a .rar or .zip?

so i have the system files directly and not extracted from the system.img i downloaded from you.

becouse the system.img we got from you was already broken when trying in unyaffs?

would be really great if i get them from you:D.

so i could try some more things.

thanks in advance:)
[Legend General] kleutscher:
im going to try it with a goldcard.

but im not sure if my second sd card still is a goldcard:P.trying atm
[Legend General] kleutscher:
yeah its a goldcard:D and updating:D

will post if it is a succesfull update.

hope i dont brick my phone:S
[Legend General] ANtiHazarD:
****... my usual card with gc was stolen in university... agrrr.

Now i have a ****ty sd with 1 gb. Goldcard don't want to install on it (SanDisc)
[Legend General] kleutscher:
bootloop im ****ed

argh how to get out of the bootloop.

i knew the solutions with a rooted one but not with an unrooted version.

help:P:S
[Legend General] ANtiHazarD:
i'm very angry. Why we have this ?!

why another phones get update normal...
[Legend General] therocket147:
Same here, bootloop, what can I do?
[Legend General] kleutscher:
hmmmm dont know im googling my ass off:P
[Legend General] Greedybro:
bootloop too... GREAT !! that's just ****i*g great !

Shall we try a reset factory ?
[Legend General] thugzie:
well life's a ***** afterall.

y'all been trying an update from SD?
[Legend General] kleutscher:
found this.

http://android.modaco.com/content/h...4/froyo-update-problem-boot-loop-wrong-radio/

he fixed it but it isnt quite the same problem but he also had a bootloop and not rooted.

still reading dont quite understand how he fixed it.
[Legend General] senm:
Same here.

Tried everything.

It was an original dutch vodafone. I debranded it with a gold card and orignal firmware.

Do we need a goldcard or are there people with the same error and didn't change everything on the phone.
[Legend General] kleutscher:
there are people that had rooted or unbranded their phone build also a stock one.

some of us tried installing the update from sd card and we are bootlooping atm:S
[Legend General] KeNToR:
I've got the same problem is a Original Vodafone Spain and then I unbranded it. Since I've installed the previous update the wifi don't work... I try to download the Froyo Update with the Net Phone but i will take the red triangle
[Legend General] kleutscher:
now i wished i had the red traingle and not the bootloop:P
[Legend General] Greedybro:
Hell yeah, I feel the same !
[Legend General] tasar:
In german forum the wrote, that this error came on debranded phones. not sure that is thru...
[Legend General] kleutscher:
argh think my phone is bricked:S
[Legend General] sjaak1234:
I got it too.

So just to make things clear it seems that the red triangle happens only for people who debranded their phone? And trying to update with a goldcard will make your phone bootloop?

This just rocks. I've been having the sms bug for months (that updated just ****ing great) and now 2.2 is finally out I can't even install it.

HTC really knows what they are doing... taking forever to make a update and still failing.
[Legend General] kleutscher:
yep:)

bootloop sucks.
[Legend General] thugzie:
nope - I have unbranded, unlocked Legend and I get the red triangle too.
[Legend General] i4o:
Well share with us the results of experiments with this system.img
[Legend General] nutunited:
Sure, but don't hold your breath, it'll take a while to upload!

EDIT: currently uploading the tar (zipped) that was the direct output from the extraction :)

Swyped from my HTC Legend
[Legend General] kleutscher:
hehe i have the time. how long will it take? couple of hours or days:p

anyway thanks:D
[Legend General] kleutscher:
the only thing so far is that the system.img we got from nutunited was broken.

but the files we extracted from the system.img from nutunited where the same almost the same size as the system.img extracted from the vodafone ruu 3.14 rom.zip.

1mb less size from vodafone ruu is 223mb and the system.img from nutunited 222mb.

the system files located in the OTA3.15.zip where separated in two directories: system and patch/systems these together only where 80mb.

if i have the tar that nutunited is uploading im going to try make a working system.img out of it if it works.

we'll see;)
[Legend General] nutunited:
2 hours left :(

Swyped from my HTC Legend
[Legend General] kleutscher:
fast enough:D
[Legend General] callmewind:
I've tried to create a LEGEIMG.ZIP with android.txt file from the froyo OTA and all the files from post #274 image, but no luck, the file is detected and loaded and then, ignored xP
[Legend General] marcospozo:
I have downloaded the zip file of nutunited an now what I have to do? I got an debranded Legend running 2.05 and getting a red triangle error when updating the OTA.

thanks
[Legend General] Greedybro:
Don't do anything with that, we are trying to end the bootloop on our phone !

For yours check this out -> http://xdaforums.com/showthread.php?t=867528
[Legend General] marcospozo:
Ok thanks a lot.
[Legend General] nutunited:
I have to go out and the upload isn't finished, but I pmed kleutscher with the link to post here when it is done!

Swyped from my HTC Legend
[Legend General] kleutscher:
many thanks to nutunited;):D

here is the system.tar from nutunited

http://dl.dropbox.com/u/9867238/system-img.zip

im going to take a look at it and try to make a system.img of it.

and others pls feel free to try your self:D
[Legend General] kleutscher:
im confused.

what im reading is that to make a system.img file you need the yaffs2 tools.

but with mkcramfs it also works to make a system.img but these failed to work so far(am trying with new system file at the moment).

what i read is that some phones need yaffs2 to recompile a system.img. does this also count for the legend?

that could be the reason why we cant extract it with unyaffs.

but the yaffs2 tools need linux and i dont have linux.
[Legend General] callmewind:
Hey kleutscher, I would like to help, but don't know how...

I'been trying different ROMS with no luck.

With RUU updates I'm always ending with wrong bootloader version. With LEGEIMG.zip files, I get messages like 'main version is older' or they don't work at all.

I miss my legend!! Now I'm back to a dumbphone... :rolleyes:
[Legend General] kleutscher:
i think this is the way to make a system.img but you need linux.

as android is linux it would be obvious it uses linux to create the .img files

Making a system.img

From http://xdaforums.com/archive ... 25930.html

The google android emulator included in the google android sdk is limited. Although you can use 'adb push' to upload more tools, but one has to do it again next time. Follow the steps to create a enhanced system.img:

1. system.img is yaffs2 flash file system, so firstly you need the mkfs.yaffs2 tool, download it in the following link: Release Android Yaffs2 Tool (Both X86 And ARM) (http://openhandsetalliance.org.cn/bbs/v ... a=page%3D1). One has to be a registered user to download the tools.

2. use the 'adb push' to upload tools to android emulator, executables in /system/bin/, libraries in /system/lib, one can also create folder. One need change the file mode necessary.

3. upload the ARM mkfs.yaffs2 tool, use the following command to create system.img: # mkfs.yaffs2 /system /system.img

4. download the system.img to local with command 'adb pull', replace the system.img in your emulator folder/tools/lib/images/

so it seems like it would be just as much fun doing a nandroid backup

http://www.anddev.org/sdk-adt-emulator-problems-f16/emulator-roms-t15345.html
[Legend General] kleutscher:
trying other roms and legeimg dont work:)

we need the RUU 3.15.403.3 to extract the rom.zip out of it.

or we have to make our own system.img with the files we got to combine with the firmware.zip from the ota.

but there starts the problem.

creating a system.img needs linux i think and i dont have linux.

and the RUU isnt released at the moment:)

but all help is welcome maybe you will discover something new what we missed
[Legend General] znz:
You can also use a live CD or Wubi to quickly/easily get up and running with a Linux desktop.
[Legend General] moppetit:
Thank you so much !

I've managed to succesfully downgrade to the Vodafone_FR 2.1 release, wifi was back up, everything working perfectly.

Then proceded to do all the OTAs to get 2.2, and it's just installed without a hitch !

So I am now a happy Froyo user, albeit being branded again, but at least I shouldnt run into any of these problems again. The initial reason I debranded was to access to usb modem option (which SFR selfishly removed from prior versions) but since the wifi hotspot is an available option even on the branded version of 2.2, i no longer need to be debranded.

Thanks again for pointing me in the right direction, and good luck to you all still having problems.

Regards,
[Legend General] kleutscher:
great! going to take a look at it:D
[Legend General] kleutscher:
glad to hear it worked out right for you:D

we are also going in the right direction.

atleast i think :p
[Legend General] BWhite22:
I'm a huge Linux nerd - if it comes to it, I can probably provide some guidance or even try to compile something. I'm away from home (and my smartphone doesn't work :mad: ) but I will check in in a few hours and see if I can help with anything.
[Legend General] kleutscher:
yeah that would be great.

we need linux to recompile the system files into a system.img.

i got all the how tos and files you need and its quite easy.
[Legend General] callmewind:
I have both linux & windows. I'm IT but don't know nothing aboyt android world :D

Now I have to go, but tomorrow I will look further all this yaffs2/system.img/LEGEIMG.zip thing.

By the way, I noticed that LEGEIMG.zip's I've found are not exactly zip format (I'm not sure). I can't open with windows integrated zip tool, but it opens in 7zip with no problems.
[Legend General] ANtiHazarD:
maybe because .img ? not .zip
[Legend General] BWhite22:
I'm home now and with a few hours to spare from now until later this evening EST... if you can hook me up with the material, I will have a read through and take a crack at it.
[Legend General] kleutscher:
do you have msn? its a bit easier to communicate. pm me
[Legend General] kleutscher:
Bwhite and i tried to make a system.img from the files from Nutunited.

We made the system.img with linux and this one works with unyaffs to extract so we think the system.img is right made. We followed some how to's

After that we made the system.img i combined this one with the firmware.zip from the ota and named it legeimg.zip. Placed it on the goldcard and bootloaded it and failed. no error nothing:(.

After that i tried the way with the vodafone RUU and fastboot but it gave me a error[132]signature error.

My head an bswhite head is spinning so we stopped for the day.

We suspect that it has something to do with the signing but we are not sure.

Ive uploaded the made system.img and .rar it for you.

feel free to do some expirements with it.

http://www.megaupload.com/?d=IPB8JR12
[Legend General] i4o:
I do not know how you did this file(system.img), but I think the problem is that it is not bootable.

And I'm struggling with some programs but not managed to do it bootable.

When you load it into the emulator nothing happens.

Here's what I found http://xdaforums.com/showthread.php?t=520676
[Legend General] BWhite22:
Kleutscher got the files from a 3.15.405.3 phone courtesy of nutunited. He and I each used mkfs.yaffs2.x86, a program for building Android YAFFS images on our two respective Linux machines. We pointed the mkfs at the folder of the system files from nutunited. Interestingly, Kleutscher and I each got slightly different file sizes and MD5 checksums on each of our resulting system.img files. I would assume this is due to some factor in the way a YAFFS image is generated.

The link you posted seems to involve putting the files onto an EXT2 (Linux) filesystem, mounting that FS, and generating a CRAMFS filesystem off of it. I'm not clear on whether or not we should be using CRAMFS or YAFFS, or even if they are interchangeable in this case, so I don't feel that I can usefully comment on that.

I've seen some sites which illustrate how to get the files from /system off the phone by uploading the ARM version of mkfs.yaffs2 to the phone via ADB, building the image on the phone, then pulling it back down with ADB again. Again, this is rapidly leaving the bounds of my limited Android experience, so I have no idea if this would be any more useful than the method nutunited used.
[Legend General] nutunited:
Send me a link to the details of creating the image on the phone and I'll give it a shot- guess it's worth a try!

Swyped from my HTC Legend
[Legend General] BWhite22:
Thanks! Here's the page I was reading (although others mention this technique):

http://jiggawatt.org/badc0de/android/index.html

The relevant portion seems to be:

adb push mkfs.yaffs2 /data/misc/mkfs.yaffs2

adb shell

# cd /data/misc

# ./mkfs.yaffs2 /system /system.img

# exit

adb pull /system.img ./system.img

You will no doubt need to change some of the paths being listed, and the name of the mkfs.yaffs2 tool may differ; here's the link to the ARM version:

http://jiggawatt.org/badc0de/android/mkfs.yaffs2.arm.tar.gz

The instructions listed above seem to be putting the system.img output directly on the phone's internal storage - I don't know if the Legend has enough space. Perhaps you can specify /sdcard/ instead in the mkfs.yaffs2 line.
[Legend General] nutunited:
Cool, I'm sure I can figure it out- just wasn't that keen to do all that research myself! ;)

will try when I get home a bit later...

Swyped from my HTC Legend