yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] BlaY0:
Yes, but nothing conclusive. I already made some adjustments but I'm just not yet that far to be 100% if it could actually work. But it was said that it is working on Hero... if this is true, then I guess it shouldn't be a problem. Just need some time to find what was already done so I won't be reinventing the wheel. You could also be of some help here.

Sent from my HTC Legend
[Legend Android Development] warriorofice:
Ok BlaY0 take your time.

if i can help you, will do it, but my knowledge is very limited.

Thanks again for the job, this is my daily rom because is the best that i´ve tested.:D
[Legend Android Development] nafnist:
Overclocking is possible by installing setCPU, and battery seems good.
[Legend Android Development] knnhzx:
freezes again last night and just now. had to take out battery to reset.
[Legend Android Development] kazzaz:
is this the original rom they are working at in htc ?
[Legend Android Development] g0dshead:
No.

If you had read the first sentence in the first post from the cook you would know it aint.
[Legend Android Development] hotaso:
I've installed SetCPU but i don't know exactly which politic scaling to set. Now i have set interective. Is it right?
[Legend Android Development] Ciela:
Just wondering if it's possible to have circular battery mod added to this ROM?
[Legend Android Development] noxius:
Hey, although it is 2.2 I can only connect to one Exchange Server, when I try to add a new exchange server I get the same error like on 2.1, that only one is allowed?!?! Anybody can help...
[Legend Android Development] kazzaz:
well , i read it again now and i didn't get it maybe cause of my bad english .. all i see that it's a leaked version so i was asking is this leaked from the original one i meant from where he get this rom ..
[Legend Android Development] LayZeeDK:
Does anyone know when FM radio will be fixed? I use it too much to flash this ROM on my phone :(
[Legend Android Development] Fezze:
Hey, is the only issues bluetooth and fm? and ofcourse buildt in wifi tether thats crashing the wifi :)

Edit: well. I picked up my balls and flashed this rom, everythings goes fine, and when i boot it up i got a force close on the settings in the beginning so i dont come anywhere else... im waiting for this to be at least 1.0 before i flash this again
[Legend Android Development] Reclad:
Yo Fesse, check my post to fix it :

http://xdaforums.com/showpost.php?p=9150630&postcount=378
[Legend Android Development] e3rfn:
it worked, thx alot !
[Legend Android Development] g0dshead:
'

As to if it's a leaked version from the original aria , yes i pressume it is!

as for it beeing original for the legend no it's not.

Maybe it's just me misunderstanding you. or not.....
[Legend Android Development] zeonism:
Any idea how much longer will the A2SD version be available?

Andy
[Legend Android Development] Ciela:
http://xdaforums.com/showthread.php?t=840400

Official FROYO for Legend has started rolling out. I bet the drivers and so forth in this would be useful to Gratiend ROM devs :)
[Legend Android Development] hotaso:
+1 nice! :D
[Legend Android Development] cryshop:
Okay guys, I have a bad news and a good news :

- The bad news is : this rom will be discontinued. Thanks for all your support!

- And good news is : Official Froyo rom for Legend is on its way, it's time to grab it in next few days.
[Legend Android Development] warriorofice:
Your work whith Gratiend have been very great.

when we believe that we don´t have Froyo with Sense you did it.

Thanks for all
[Legend Android Development] kuklux:
+1 im looking forward too
[Legend Android Development] randy_khoo:
Thank you for your great work.

But don't just stop here. Why not try Gingerbread for Legend? :D
[Legend Android Development] xennr3:
i also wanna thank you for serving us this brilliant rom, it is the best rom i've tried :P

now i'm waitin for the official froyo update haha
[Legend Android Development] capychimp:
i know, has to be from a sense rom, aosp wont work at all

it's about searching till you find one that will work, cause it's 2.2 and we only have form 2.1 ;)
[Legend Android Development] cryshop:
Wow, thats tough, do you think I could use the one from the Desire or Wildfire 2.2 Sense rom?
[Legend Android Development] capychimp:
i doubt it, cause desire is completly different hardware and wildfire too ;)
[Legend Android Development] whitetigerdk:
Just tried latest version with dark tremor.. Every app that needs to load an ad closes and return to home screen.. No warning, nothing.. Goes for this app, rom manager and astro file manager..
[Legend Android Development] tobbeson:
Looks like the wildfire gets froyo saw this on developer.htc.com

HTC Wildfire - Froyo - 2.6.32 kernel source code

but i didn´t see any legend kernel source code for froyo
[Legend Android Development] warriorofice:
Very very great ROM, fast and smooze.

Hope we´ll get wifi working soon.

Thanks so much, i´d wait this for a long time.
[Legend Android Development] whitetigerdk:
I have MAYBE just found the cause of no wifi..

Working on it right away... Will get back VERY SOON!! :)
[Legend Android Development] Ciela:
Tried this rom out this afternoon. 3G data seemed to work ok but GPS did not get a lock at all. According to the first post tho, GPS is working, could be buggy tho?
[Legend Android Development] cryshop:
Yeah, thats really a strange behavior, I keep searching for a solution.

Awesome, waiting for your result :D
[Legend Android Development] warriorofice:
Yeah!

f5 f5 f5 f5 f5 f5

Thanks a lot.
[Legend Android Development] jgescit:
F5, F5, F5, F5, F5, F5, ......

Thanks for your hard work.
[Legend Android Development] TheGrammarFreak:
Auto reload on Chrome FTW
[Legend Android Development] whitetigerdk:
Unfortunately no luck in this compiling.. :(

I'll keep looking for an answer though...

This time however was no succes.. Sorry guys..
[Legend Android Development] cryshop:
You might share your thoughts and ideas?
[Legend Android Development] BlaY0:
@whitetigerdk:

Yes, what have you come up with?
[Legend Android Development] whitetigerdk:
I took latest CM Nightly - decompressed boot.img and looked through init.legend.rc / init.rc and compared it with the ones from original gratia boot-image..

Seems like both of them is calling the same file in setting up WiFi (/system/etc/wifi/Fw1273_CHIP.bin) same procedure..

couldn't find any obvious differences..

I tried taking the files from CM N and replace the ones from etc with gratia's..

The trying to build boot.img for gratia based on CM N.

and then cook the rom together... In this final cooking I got an error in the file trying to flash it.. and I just didn't go through it yet again to spot the error..

(Simple error in the building process I would guess... But wife tells me to some practical things around the house.. :-/ )
[Legend Android Development] MichaelAlexanderBull:
I tried replacing the tiwlan and sdio libs, and the wireless binarys, and changed the settings in the build.prop, no luck though.
[Legend Android Development] gyroing:
during installation of cm (official one) - i have lot of problem to connect wifi during tiwlan.ini

so i made update.zip from russian build rc1 . because the tiwlan.ini from russian rc1 is tottally diffrent from offical buils. have you ever check that one . for this update i could solve my problem for each official build because with one that inside of rom imy wifi is too lagy.

!!!!

i kindly ask from developer to check between 2 tiwlan maybe hopefull
[Legend Android Development] warriorofice:
This .zip can be tested?

I´ve other sugestión. This rom is based of Superfroyo 8 kernel that doesn´t work for me very good (may problems with touch and fisical buttons) i´ve the same issues in this, but the Superfroyo 8.2 kernel works very good.
[Legend Android Development] BlaY0:
@cryshop: Just try loading tiwlan_drv.ko manually with insmod. Also try to load that firmware an bring up interface manually.

Sent from my HTC Legend
[Legend Android Development] cryshop:
Told ya at #36

There's something wrong with it.
[Legend Android Development] BlaY0:
What about modprobe -f? What about manual loading of firmware?

Sent from my HTC Legend
[Legend Android Development] cryshop:
BlaYo, would you please download the rom and take a look inside? I'm absolutely stuck.
[Legend Android Development] whitetigerdk:
..ooOO( Would have been a little nicer with a leaked wwe instead of Asian )
[Legend Android Development] BlaY0:
OK, will do that tomorrow at work. The fact I can't do the testing myself is because I don't have any other phone to use and I have to be available if someone calls me...

Sent from my HTC Legend
[Legend Android Development] whitetigerdk:
I can do the testing...
[Legend Android Development] TheGrammarFreak:
How would BlaY0 even begin to develop if someone else is doing the testing?! It would take forever...

Anyhoo, he tried that. BlaY0 developed in as far as telling you what he'd do to work it out, leaving you to do the testing. :D
[Legend Android Development] BlaY0:
@cryshop:

OK, I dled your ROM... /system/etc/wifi is not populated. U R missing /system/bin/wlan_loader (WiFi firmware loader, get it from CM nightly).

There's still init.liberty.rc in initrd (replace it with init.legend.rc from CM nightly).

Manually load modules. You have to load sdio.ko prior to tiwlan_drv.ko! After WiFi module is loaded, load firmware:

wlan_loader -f /system/etc/wifi/Fw1273_CHIP.bin -e /proc/calibration -i /sys
tem/etc/wifi/tiwlan.ini

...it should set property wlan.driver.status to ok upon successful loading. After that you have working WiFi ready to be connected with an AP. You could try to enable WiFi from settings menu.

You will also need to use libhardware_legacy.so from CM nightly if you wish TI WiFi modules to load automatically.
[Legend Android Development] cryshop:
Thank you for helping!

- I replaced init.legend.rc from CM.

- Replaced /system/bin/wlan_loader also.

- I could load module sdio.ko but after that, I couldn't load tiwlan_drv.ko, it says

insmod: can't open '/system/lib/modules/tiwlan_drv.ko'

(hmmm....)

- About the libhardware_legacy.so, at #40. I said :
[Legend Android Development] BlaY0:
Did U try dmesg after module loading? Did sdio.ko actually load? Do cat /proc/modules to see if it is loaded.

What does logcat say while booting? What's the exact error?
[Legend Android Development] cryshop:
After loading sdio.ko, I did insmod sdio.ko again, and it said : (file existed) : so I guess it was loaded.

This is my logcat :

D/WifiService( 259): setWifiEnabled( mAirplaneModeOverwridden=)false

I/WifiHW ( 259): wifi_load_driver enter

D/NetSharing( 724): wifi enabled change, state = false

I/WifiHW ( 259): wifi_load_driver end error 2
E/WifiService( 259): Failed to load Wi-Fi driver.
[Legend Android Development] BlaY0:
I don't know why is your tiwlan_drv.ko module not loading... mine is loading fine, at least if I do it manually.

1st you need to be able to load tiwlan_drv.ko module otherwise it all fails!
[Legend Android Development] cryshop:
You flashed my rom and successfully manual load the wifi module? So, Wifi works fine on your device?
[Legend Android Development] BlaY0:
I didn't say that ;)

But I am using pretty much the same kernel as U are and tiwlan_drv.ko and sdio.ko from stock ROM so I don't see any particular reason why you shouldn't be able to load them...
[Legend Android Development] JonesN7:
How unstable/slow is the mobile network? WiFi is not really an issue for me as I have a good dataplan.
[Legend Android Development] whitetigerdk:
Mobile data connection works just fine..
[Legend Android Development] warriorofice:
i read this post every day, hope the wifi and gps works soon.

For me the best rom that i´ve tested.

Thanks to all for the job.
[Legend Android Development] gnarlyc:
Has anyone tried hex editing the libhardware_legacy.so instead of just replacing it? I've tried this on an Eris port, and got it to boot. The wifi still didn't work, so I obviously did something wrong.
[Legend Android Development] tazzpatriot:
hey gnar i sent u a pm bro about what was suggested to me did u get it?
[Legend Android Development] dirkkuyken:
I've noticed some issues...

The default web browser shuts down on certain moments, i've noticed that it is mostly when logging in or posting... Now i'm using opera and this doesn't experiences the bug.

Also in the xda-app it also restarts when I enter a topic (for example this one), I think it has something to do with the advertisement.

All the rest is very nice, very fast ROM !
[Legend Android Development] warriorofice:
Same issue.

Much app closes by itself
[Legend Android Development] cryshop:
Got a boot stuck, how could you get through?

Took a look iside libhardware_legacy.so, it loads fw_bcm4329.bin and fw_bcm4329_apsta.bin (system/etc/firmware) also, how can I manual load them?

Edit :

@BlaYo : haha, I got the "set property wlan.driver.status = ok - ok", but wifi still couldn't be turned on, did you forget something else? Like...the /system/etc/firmware/wl1271.bin

- Also, I need help to make GPS and Bluetooth work, fix apps close. Everybody feels free to join in and PM me anytime :) And I believe what we have to do is to get the right lib***.so files.
[Legend Android Development] warriorofice:
Is wifi working?

you are the man!!!
[Legend Android Development] BlaY0:
Why would you load those? Those are for BCM chip not TI!

How come? So after you load firmware you don't see tiwlan0 network interface and you can't bring it up manually? So you can't manually set wpa_supplicant with tiwlan0 interface and can't start dhcpcd with it? Leave /etc/firmware/*, it has nothing to do with WiFi.
[Legend Android Development] cryshop:
- wpa_supplicant.conf is set with tiwlan0

- dhcpcd is also set with tiwlan0

Ok, here's what I did :

sh-3.2# insmod /system/lib/modules/sdio.ko
insmod /system/lib/modules/sdio.ko
sh-3.2# insmod /system/lib/modules/tiwlan_drv.ko
insmod /system/lib/modules/tiwlan_drv.ko
sh-3.2# wlan_loader -f /system/etc/wifi/Fw1273_CHIP.bin -e /proc/caliration -i /
system/etc/wifi/tiwlan.ini
<in -e /proc/caliration -i /system/etc/wifi/tiwlan.ini
Set property wlan.driver.status = ok - Ok
sh-3.2# ifconfig tiwlan0 up
ifconfig tiwlan0 up
sh-3.2# ifconfig tiwlan0
ifconfig tiwlan0
tiwlan0: Cannot assign requested address

Dmegs

<3>[ 191.640350] tiwlan_drv: version magic '2.6.29-8d705e0d preempt mod_unload
ARMv6 ' should be '2.6.29.6-Super-Kernel preempt mod_unload ARMv6 '
<4>[ 191.692077] [htc_linux] scan_interval_size=13
<4>[ 191.692321] [htc_linux] Starting
<4>[ 191.692535] [htc_linux] Locking
<6>[ 191.693054] tiwlan0 (): not using net_device_ops yet
<4>[ 191.699493] hPlatform_Wlan_Hardware_Init
<4>[ 191.699707] wifi_add_dev
<4>[ 191.700469] wifi_probe
<6>[ 191.701629] legend_wifi_power: 0
<6>[ 191.712127] WiFi disable vreg_wifi_osc.
<4>[ 211.691192] [htc_linux] Unlocking
<4>[ 271.747894] [htc_linux] Locking
<4>[ 291.741577] [htc_linux] Unlocking
<4>[ 361.744171] [htc_linux] Locking
<4>[ 381.741607] [htc_linux] Unlocking
<6>[ 421.110900] TIWLAN: 489.504246: drvMain_InsertAction: eAction: 1
<4>[ 421.292236] pInitParams->RoamingScanning_2_4G_enable 1
<6>[ 421.292755] legend_wifi_power: 1
<4>[ 421.646179] CHIP VERSION... set 1273 chip top registers
<4>[ 421.647613] Working on a 1273 PG 2.0 board.
<4>[ 421.647888] Starting to process NVS...
<4>[ 421.648071] No Nvs, Setting default MAC address
<4>[ 421.648468] pHwInit->uEEPROMCurLen: 1c
<4>[ 421.648651] ERROR: If you are not calibating the device, you will soon get
errors !!!
<4>[ 421.649353] Chip ID is 0x4030111.
<4>[ 421.650543] FEM Type 1
<4>[ 421.680114] Firmware successfully downloaded.
<4>[ 421.680480] FW download OK...
<4>[ 421.687744] Firmware successfully downloaded.
<4>[ 421.687957] FW download OK...
<4>[ 421.688568] Firmware successfully downloaded.
<4>[ 421.688781] FW download OK...
<4>[ 421.691467] Firmware successfully downloaded.
<4>[ 421.691833] FW download OK...
<4>[ 421.693420] Firmware successfully downloaded.
<4>[ 421.693634] FW download OK...
<4>[ 421.694549] Finished downloading firmware.
<4>[ 421.694976] Firmware running.
<4>[ 421.725616] Firmware successfully downloaded.
<4>[ 421.725830] FW download OK...
<4>[ 421.726379]
<4>[ 421.726806] --------------------------------------------------------------
------
<4>[ 421.727355] Driver Version : WiLink_Driver_6.1.0.0.115
<4>[ 421.727752] Firmware Version: Rev 6.1.0.95.293
<4>[ 421.728942] Station ID : 08-00-28-12-34-56
<4>[ 421.729461] --------------------------------------------------------------
------
<4>[ 421.729919]
<6>[ 421.734771] ADDRCONF(NETDEV_UP): tiwlan0: link is not ready

<3>[ 442.122955] tiwlan_drv: version magic '2.6.29-8d705e0d preempt mod_unload
ARMv6 ' should be '2.6.29.6-Super-Kernel preempt mod_unload ARMv6 '
[Legend Android Development] BlaY0:
Can we meet on irc? Check PM.
[Legend Android Development] JonesN7:
I have a bug report or a thing that is not working. Anyways here it is:

- Volume controlls do not work while the screen is turned off.

They do work on the lockscreen, just dont when the screen is off.
[Legend Android Development] cryshop:
You could control volume - screen offf with other roms?
[Legend Android Development] Ciela:
Works on Sense 2.1 (Vodafone 2.10 Legend rom) for me, both rooted and not rooted
[Legend Android Development] knnhzx:
i think what he means is when music is playing? or during a call?
[Legend Android Development] Ciela:
Both. When music is playing and screen is off (locked), volume buttons still control volume of the music (I use Winamp, cannot comment on other media players)

When on a call and screen is off (proximity sensor), volume buttons still control volume of the call.
[Legend Android Development] whitetigerdk:
@cryshop:

Any progress, mate?
[Legend Android Development] cryshop:
Okay, here what I got so far:

- Wifi things (module+firmware) seemed to manually load well, I got Mac Address also. But the thing is GUI problem (can't control it via Settings). The best way is : finding a right libhardware_legacy.so or editing the libhardware_legacy.so (gratia's) to load the modules (sdio.ko and tiwlan_drv.ko). Me and BlaY0 are working on that.

- GPS : tried to replace libgps.so, you guys please test it, I have been flashing roms all day, it's time for my phone to take a rest :(

- Bluetooth : don't have another bluetooth device to test, please test it also and post feedback. :D

- If you get the boot freeze, go to recovery and push the file libgps.so back(attached below) to /system/lib/libgps.so (before that, remember to mount /system)
[Legend Android Development] Chaotick:
Great news. Hope we will be seasin 1.0 sooner than (if ever) the FOTA update form HTC :).
[Legend Android Development] JonesN7:
Yes, could with the default 2.1 HTC Legend rom. Im pretty sure i could also do that with the azure 2.2 rom.
[Legend Android Development] g0dshead:
awesome work! really apreciate the effort
[Legend Android Development] TheGrammarFreak:
Downloading V0.4 now. I'll feed back after some testing. :D
[Legend Android Development] warriorofice:
+1

Really hope soon working 100% and i will say to HTC what can he made with de Official Update
[Legend Android Development] TheGrammarFreak:
The GPS library causes a framework restart.

I'll update this post as I test more.

I Like how it defaults to Chinese. Lol

:D

EDIT:

Well, GPS is a no go. Bluetooth is a no go as well (not that I know why). Mobile data seems stable enough. Good job. :D
[Legend Android Development] Kwen:
Isn't that one line to change in build.prop? lol
[Legend Android Development] JonesN7:
Hmm, my phone won't boot at all with the newest version (0.4). It just get stuck at the HTC boot logo.
[Legend Android Development] svenvv:
did you wipe?

that might be the case.

i'll download when 0.5 comes out.

one question.

can i write to the /system partition (overlay like in superfroyo)?
[Legend Android Development] warriorofice:
You must follow the instructions on post #94

I´m now testing 0.4 and is more speed than 0.3.
[Legend Android Development] grlayouts:
think i'll jump on this band wagon and see whats what! ill have a look into the gps.
[Legend Android Development] knnhzx:
So wifi works already?
[Legend Android Development] whitetigerdk:
Nope.... not yet!
[Legend Android Development] Metallaro:
Why it supports only chinese and english? It is based on htc aria's rom, this phone doesn't support italian, french, spanish ecc?:confused:
[Legend Android Development] whitetigerdk:
Maybe because it is based on an Asian rom?? ;)

Havent found any leeked WWE rom yet...
[Legend Android Development] tobbeson:
Wifi

In this thread they fixed wifi you guys maybe can get help from them

http://xdaforums.com/showthread.php?t=797869
[Legend Android Development] cryshop:
Use MoreLocale 2 on Market, it changes your GUI to any desired language :) But not the multi-language keyboard.

EDIT : OK guys, I need some help writing a script that calls /system/lib/modules/sdio.ko at boot. We're almost there guys.
[Legend Android Development] whitetigerdk:
Nice finding there... I'm already into testing this :-)
[Legend Android Development] TheGrammarFreak:
Just append it (the command) to the first script in init.d. Would that work?
[Legend Android Development] whitetigerdk:
Is it done in stock Rom 2.1? If it is try looking at my "rev 3" rom..

Edit: in the unit files that is ;-)
[Legend Android Development] Kwen:
Again, the available languages are in a xml file, whose name I've forgotten

Just need to edit the xml with additional locales
[Legend Android Development] cryshop:
Hmm, try to add a command in 00banner script with

insmod /system/lib/modules/sdio.ko

but after the boot, the module didn't load.

Did i put in something wrong?
[Legend Android Development] BlaY0:
What happen if you load sdio.ko manually via adb?
[Legend Android Development] cryshop:
It loads fine, did that with your before. But here is the plan:

A guy from HTC magic dev forum made wifi to work by doing this :

- Hex edit libhardware_legacy.so to load wlan.ko module

- Don't use /system/bin/wpa_supplicant service at booting (init.***.rc) but creat another file /system/wpa_supplicant.exec and load it in site init.***.rc

#!/system/bin/sh
/system/bin/wlan_loader -f /system/etc/wifi/Fw1273_CHIP.bin -e /proc/calibration -i /system/etc/wifi/tiwlan.ini
sleep 2
ifconfig tiwlan0 up
/system/bin/wpa_supplicant -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf

Since they don't use sdio.ko, so wifi works for them well. And you remember the idea that we discussed before?
[Legend Android Development] BlaY0:
OK meet me on irc...

EDIT: I tried similar approach... made wrapper script around insmod to do all the mumbo-jumbo but wasn't successful...
[Legend Android Development] whitetigerdk:
By looking in other rom /system/etc/init.d I found this:

#!/system/bin/sh

#

# Load any extra modules

MODULES="ipv6"

for i in $MODULES;

do

modprobe $i;

done

So it looks like insmod is not enough... Try modprobe.. :)
[Legend Android Development] BlaY0:
insmod is enough... modprobe would complicate things coz it expects modules in certain directories and it also expects dependency tables that we don't have and don't need...
[Legend Android Development] tobbeson:
I found that thread give me some credit
[Legend Android Development] BlaY0:
It is not just that simple... i had already working WiFi yesterday but was experiencing weird reboots after some seconds of using...

Will try to figure out what is giving me those reboots.

PS: Of course tobbeson get some credits too for finding the thread ;)
[Legend Android Development] cryshop:
Okay, okay lol, check 1st post.
[Legend Android Development] whitetigerdk:
LOOOL

How about credit to me.. Just for being around! ;) :-P
[Legend Android Development] Blindie:
did you have any idea when i can use wifi with this rom?
[Legend Android Development] Ciela:
The way things are going, probably within the next couple days. Hope Im right on that, cause then I can stop refreshing this thread every 5 minutes :)
[Legend Android Development] BlaY0:
WiFi is working (was not that straightforward as I thought it would be). Now I'll grab something to eat, then prolly make a patch for you to flash later today...