yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] frullewulle:
for QR scanner; zeubea released a modified camera.legend.so that has to be installed with adb in recoverymode

how to:

enable usb debugging and root access for adb in "system settings - settings for developpers"

connect your phone to your pc

copy the unzipped camera.legend.so file to your sdcard

run following commands

adb reboot-recovery

adb shell

mount /system

mount /sdcard

mv /system/lib/hw/camera.legend.so /system/lib/hw/camera.legend.so.bak

cp /sdcard/camera.legend.so /system/lib/hw/camera.legend.so

exit

adb reboot

restore root access settings to apps only in "system settings - settings for developpers"
[Legend Android Development] farukb:
^ yes but some barcode scanners like "barcode scanner" still don't work...

neoReader works though
[Legend Android Development] zeubea:
Hi,

I have uploaded the legend device tree https://github.com/zeubea/android_device_htc_legend

This one is from gb device tree legend and adapted to ics, then it inherits all properties related to gsm, hspa etc . Please, check and tell if any wrong.
[Legend Android Development] rsamanya:
Err... I'd like to add a few incompatibilities:

HDR Camera+ can not be set to 3:2 ratio (screen becomes full of lines)

Photaf auto picture taking doesn't work

GPS doesn't work

Can not send/retrieve MMS (I have checked my APN settings)

Edit:

HDR Camera+ 3:2 ratio and Photaf auto picture taking is now working after replacing camera.legend.so.

Edit2:

GPS is now working after replacing gps.agps.legend.so.

---------- Post added at 08:54 PM ---------- Previous post was at 08:49 PM ----------

any link to the file, please?
[Legend Android Development] ranger4740:
GPS defiantly does work, you might have do to the GPS fix to get it working on your device, which is mentioned a few posts back.

For mms you must have mobile data turned on or it won't work.

sent from my legend, currently using zeubea ics beta0
[Legend Android Development] rsamanya:
Thx, GPS seems to work now after replacing gps.agps.legend.so.

MMS still not working. Yes, mobile data is ON.
[Legend Android Development] madness8878:
May i know which is the post to gix gps.. been scrolling up n dwn cant find it
[Legend Android Development] rsamanya:
See "modified GPS library" from [ROM][KANG] CyanogenMod 7.2 RC1 (7th May, 2012)
[Legend Android Development] and313:
For everybody who wants to disable camera shutter sound and other related sounds use this:

With rootexplorer go to system/media/audio/ui and there just rename the sound you dont want. Thats it

Sent from my HTC Legend using Zuebea ICS Rom
[Legend Android Development] girish07:
Its android 4.0, but i am not able to install google chrome, it should work on android 4.0..?

I am not able to find it in market
[Legend Android Development] and313:
U dont have a compatible hardware... armv6

Sent from my HTC Legend using Zuebea ICS Rom
[Legend Android Development] frullewulle:
could it be that there is little "commenting out "error in following file:

(underlined "-->")

/overlay/packages/apps/Phone/res/values/config

<!-- Passion-specific phone app resources. -->
<resources>

<!-- Enable the onscreen touch UI for all states of the in-call UI. -->
<!--<bool name="allow_incoming_call_touch_ui">true</bool>
[COLOR="Blue"]<bool name="allow_in_call_touch_ui">true</bool>[U][B]-->[/B][/U][/COLOR]

<!-- This is a device with capacitive buttons, so disable the feature
where BACK rejects the current incoming call. (Since it's so
easy to press the key accidentally as you pull the phone out of
your pocket.) -->
<!--<bool name="allow_back_key_to_reject_incoming_call">false</bool>-->

<!-- Enable the onscreen "Dial" button in the emergency dialer. -->
<bool name="config_show_onscreen_dial_button">true</bool>

</resources>
[Legend Android Development] Niddle:
Folks,

Can you all pls try to support zeubea regarding his question like frullewulle does? I really would like to see zeubea being able to proceed with providing a final ICS version soon :-D :-D Would have done so too but my Legend is defect a.t.m. as the battery is not fuly loaded anymore..need to get a replacement first ;-)

B.t.w. GREAT STUFF Zeubea...this is a really fantastic ROM - appreciate your work !!

*cheers*
[Legend Android Development] madness8878:
doesnt work for me
[Legend Android Development] zabaknilesh:
u need to be s-off to get this working.
[Legend Android Development] =Dynamic=:
when next release?
[Legend Android Development] Messatsu:
When it will be ready ?! ;)
[Legend Android Development] Gorbayov:
where do i get this camera.legend.so file??

can you give a link please?
[Legend Android Development] Oops...:
Sorry, but you do not need s-OFF to copy this file. Just use the adb method to copy while in recovery.

See post above for principle instructions.
[Legend Android Development] frullewulle:
here he is
[Legend Android Development] Alunduyn:
Hey guys, this is probably a very stupid question, but CM Team released CM compiler ( also for CM9 ). Can't this help in the development of this ROM?

Ok, I've asked my daily useless question.

For the camera.legend.so, can I do it just with my Legend? I can edit files is /system with ES File Manager, I copiet there the new CM music apk with that. Can this work also for this or I HAVE TO do it via adb? Thx.

( Ah, my Legend is again alive and with me, and the first thing I've done was re-flashing this awseome ROM )
[Legend Android Development] Gorbayov:
thanks frullewulle
[Legend Android Development] ranger4740:
A friendly request, please use the thanks button and try not to clutter up the dev thread. :thumbup:

sent from my legend, currently using zeubea ics beta0
[Legend Android Development] zeubea:
It is an automation modder/cooker script but at first it is required the source of the rom itself (what I am making).
[Legend Android Development] frullewulle:
Did you kept a sort of modification list for your self, or do you only have that in you mind? It would be easier to follow the things you have tried to get to this beta ....
[Legend Android Development] madness8878:
Already did that still not able to use gps
[Legend Android Development] primordus:
Been using this ROM for more than a week now :) I'm really satisfied with it, it's really nice to have ICS on my Legend :D.

I noticed 1 small bug though, but it might be because of some settings on my phone: this morning my clock wouldn't update in my statusbar or lockscreen. My alarm still went off at the right time but my clock showed 4:24 AM.

I just thought I'd throw that out there, maybe somebody knows a solution for the problem. :)
[Legend Android Development] madness8878:
I found another bug. When your phone is in a process, for example, installing/uninstall once done, you rotate your screen, it re-do the process
[Legend Android Development] kingofsurf:
Help

...any idea why only this rom cannot be installed because of a signature check error? i cannot use rom manager because my trackpoint doesnt work. the signed-tool also didnt work.
[Legend Android Development] girish07:
Plz anyone tell me...

Can I use tablet ui mod on this rom and if yes how..?
[Legend Android Development] maxydem:
Nearly the same problem but ~once a day when anyone try to call me and phone is locked in sleep mode, i see only ".... is calling", can't move the lockscreen "circle" (as Zeubea and more of you mantiones earlier ), but in my case i can't just patiently wait to unlag phone cause it's reboting itself automaticly ;/ anyone have idea how to fix?
[Legend Android Development] RQ7:
Does anyone know why Pro HDR Camera is not working? Every time im trying to take a photo, " Default " banner is showing upp and nothing no more... Is there something wrong with my camera or else ? :)
[Legend Android Development] TnTonly:
Wow, just wow! The ROM is great! It runs so smooth and almost bug-free. It's even as smooth as the stock Android on HTC Legend, even faster in some places. I'm currently using that as my daily phone now. A BIG thanks to zeubea and CM team.

I have also made a preview video of the ROM running on my HTC Legend on YouTube so drop by if you are interested

[YOUTUBE]Mqbxvk6AJCc[/YOUTUBE]
[Legend Android Development] bugallo:
This has been already reported by me. I hope this could be fixed in the next release :)
[Legend Android Development] RQ7:
I really hope so too :)
[Legend Android Development] mafosh:
can anybody tell my why i should install "normal gapps" and on the same page there are mentioned also ICS gapps? because i installed those on the cm9 beta0 and now i am on those bootloops... haha

(followed instructions but instead of "normal" gapps, i installed based on cyanogenmod page these ics cm9 gapps :P )
[Legend Android Development] rsamanya:
Have you tried the new camera.legend.so? It fixed my HDR Camera+.

---------- Post added at 08:45 PM ---------- Previous post was at 08:42 PM ----------

different Android version needs different Google apps version. So for this one we need the ICS specified version, yes, from CM9. I hope you solved your bootloops issue.
[Legend Android Development] RQ7:
How do I install camera.legend?
[Legend Android Development] mafosh:
issue still persist > i istall beta0 without prob... but when trying to apply ics gapps, i am getting bootloops... the alfa4 workaround doesnt help much, getting bootloops still... only way is always to flash CM7... any suggestions?

edit: ok my fault... just follow the post in the link from first page really step by step... i did mistake >>>

Do this

Step by step

1. Flash the beta0

2. Then install normal gapps

3. Reboot it, it will bootloop

4. While bootlooping remove the battery and start into recovery.

5. Wipe dalvik and cache partition. ( i first cleaned cache part and wipe afterwards, it should be vise versa :) )

6. Reinstall gapps.

7. Reboot

It will work without any bootloops now

ANYWAY, if i have it all now there, how do i install any app without internet if there is no file browser in the rom? :)

edit2:also this point figured out :D
[Legend Android Development] frullewulle:
http://xdaforums.com/showpost.php?p=25782779&postcount=802

and

http://xdaforums.com/showpost.php?p=25883407&postcount=821
[Legend Android Development] zeubea:
Released BETA1

Fixed camcorder, panorama, OJ wakeup, data usage limit, inverted option in browser and other stuff.

Video taken with camcorder is not possible to view with actual OMX enc/dec.

At this momement, Wifi sleep requires an third party app.
[Legend Android Development] farukb:
guys, i'm seeing beta 1....is my eyesight ok? :D thanks zeubea, once again

@zeubea, you didn't put torch, did you?
[Legend Android Development] zeubea:
Nop, just "pure" cyanogenmod/aokp stuff.
[Legend Android Development] bugallo:
What does this exactly mean? We can take video with camcorder but it's impossible to view it with the phone?

Can we see the video on a pc?

Thank you SO much for your work
[Legend Android Development] farukb:
the answer is in the first post.

as the matter of fact torch is a "pure" cyanogenmod feature...as well as led notification settings and few minor things still missing
[Legend Android Development] zeubea:
It seems camcorder is not working properly for me :( Anybody can see video properly in PC?

--Edit

well, it will try another build tomorrow.
[Legend Android Development] farukb:
just tried it and it saves the video, sees it in gallery but doesn't play it, instead it only shows "Loading..."

i just installed MX Player with armv6 codec and it can play the video recorded with camcoder, but wit a lot of colorful light flashing across the screen...will try another player though
[Legend Android Development] zeubea:
yes, but in the PC?
[Legend Android Development] farukb:
so i tried mx player, moboplayer on anndroid and they both play the same way as i described in my previous post

i tried quicktime and realplayer on my mac and they both play only sound with black screen

i also tried "mplayer OSX extended" on my mac and it works exactly the same as mx player on android

------------

i had a few FCs...eg application manager force closed when i tried to remove an app, camera force closed when i tried to switch to another mode...but that's maybe because i updated from beta0 to beta1
[Legend Android Development] zeubea:
Yes, camcorder saves something but it seems fr or frame size is not properly set up.

-- edit

I was sure I saw a video saved, but ....
[Legend Android Development] zeubea:
This build has got more fcs than former, because OPEN_GL_RENDERER option (probably it needs more memory) , plus more changes in android, besides binder compatibility for camera. Yes, this beta is possibly more unstable than the last one, but there are more stuff working ...
[Legend Android Development] madness8878:
I still don't get it. How do I get GPS to locate my location?
[Legend Android Development] zivilist:
Thanks again.

Run smoothly but it has a main problem: can't write SMS, the SMS application isn't able to start.

Wiped all:

WIPE DATA/RESET FACTORY

WIPE CACHE

ADVANCED -> WIPE DALVIK

PS: after rebooting > now working (only one time).

PPS: now I can't open the Play Store :(

(after rebooting it works again one time and the second time it does't work)

The clock seems also not working.
[Legend Android Development] OlegKrikun:
zeubea plz remove system\etc\init.d\90userinit or system\etc\init.d\20userinit =)

my scripts are run twice +)

UPD: i send pull request to you in github

UPD2: what about enable torch in device tree?
[Legend Android Development] pasanjay:
wow great update..runs even smoother
[Legend Android Development] realpikolo:
Cannot go back to Beta0

Thanks Zeubea for your great job!

I tried Beta1 but after some problems tried to go back to Beta0.

I am with the damn bootloops again :-)

This time they are different as they appear after the Android skating. The message 'Actualizando Android - Iniciando aplicaciones' appear and...again the Android skater...

I tried:

1.- wipe data - restore to original , then install beta 0. It works, but as soon as i recover my last CM9 backup, again the bootloop,

2.- wipe cache, wipe dalvik, flash again gapps-ics --- again bootloops,

3.- flash again gapps-ics, wipe cache, wipe dalvik -- again bootloops.

I keep working on going back to Beta0 ... any idea?

Thanks :-)
[Legend Android Development] zeubea:
This build is too much different of former one; you are sure for doing all wipes and formats.
[Legend Android Development] realpikolo:
Thanks Zeubea for your quick response.

But i am not sure on what you mean.

I plan to wait for news. After reading your last posts i think you are working on same fixes. I think i also read a new release coming today?

What i finally did is to wipe data and install Beta0.

At this point i am not able to recover my last CM9 backup with all my apps and config cause it brings me to the bootloops again :-/

So, the good thing is i have a brand new Beta0 install :-D

The bad thing is i will have to manually install my apps and config my phone.

Anyway, i am looking forward for future releases. Great job.

Cheers,

Javier.
[Legend Android Development] zeubea:
What it means is this build has got merged a lot changes as compared to former one. As a result, some normal FCs because the new status, but this the right path: you test, you report and I try to find out fixes and merged here. For testing this build, you must do all wipes and formats and NOT NANDROID FROM CM9 BETA0, because gui libs are not the same. Just install apps from scratch.
[Legend Android Development] realpikolo:
Trying to increase performance as per:

http://xdaforums.com/showpost.php?p=25018796&postcount=551

Looks like memory setting screens have changed and not possible to change VM heap? Are zRam settings the same?

Thanks.
[Legend Android Development] RQ7:
Damn you really are number one, Zeubea :) Nice work man !!
[Legend Android Development] stickus:
data2ext?

Love that we have ICS on our little old Legend. Beta0 has been awesome, especially since I setup data2ext. Looks like Beta1 has some issues with the data2ext scripts that TheGrammarFreak posted a while back. Works great in CM7, works great in Beta0, won't boot when enabled on Beta1. Is there a custom kernel I should be flashing too?

---------- Post added at 03:44 PM ---------- Previous post was at 03:22 PM ----------

Ha! Figured it out: reboot to recovery after and then repair permissions. Works a treat now. :)
[Legend Android Development] maduuto:
The ICS Buttons not Working on CM9 beta 1
[Legend Android Development] realpikolo:
Editing some desktop/launcher settings in Beta1 now i have a boot 'Trebuchet application failed' or something similar. Not able to skip it.
[Legend Android Development] homi3kh:
ICS buttons updated for beta1, go to first page and go to the optional link.

NEW

-I scaled down the button to 32px so it won't eat much screen. Enjoy. Download in first post.

-I also disable hardware button backlight so it won't be weird having soft button and hardware button at the same time :D

Guys this ain't nightly build don't expect to just upgrade from beta0 to beta1, backup all ur apps and data with titanium backup, then always do a fresh flash of this ROM, and restore ur apps and data back, remember this is still in beta state.

After testing it, wow the laucher is much more smoother, many bugs was fixed like mobile network bar only show half, lockscreen sometimes unresponsive now it's better, and the new background in setting is cool :D but i like the old black bg better, where can i get ics theme anyway? no force close here cuz i do a fresh install, this is much stable than beta0 if u do a fresh install. one problems is the video codec is still the same, can't play HD vids, video recording isn't working too it record but can't play it, in pc can't too. i think the codec is messed up. :(
[Legend Android Development] ranger4740:
I love this new update, however I'm having heaps of issues restoring my apps from TB, not sure if its a tb issue or what, when restoring the progress gets stuck and won't keep going have to force stop app and start again but still keeps stuffing up.

Never had this issue ever before and I've used it very often too so got me stumped tb version 5.1.1.

I've done a fix permissions but this seams to make more problems :what::confused::mad:

Update: I downgraded tb from 5.1.1 to 5.1.0 & didn't have any issues restoring my apps now, touch wood...

sent from my legend, currently using zeubea ics beta 1 :-D
[Legend Android Development] pasanjay:
There are few working themes on the market. Most of them are for HDPI
[Legend Android Development] zeubea:
About FCs, this works for me like a temp solution : Developer options -> Background process limit : At most 4 process It is intended here 'process' means = "Android app", not linux process.

ranger, with this version is different too much things, including size of recovery partition (I suppose this is the reason ...)

homi3kh, video encoding are not working in any msm7227 device because it requires to change the OMX video encoding itself. I suppose the problem is camera uses gingerbread codecs, unlike ics codecs present in the rom, but it is just a thinking ...

I have updated the device tree https://github.com/zeubea/android_device_htc_legend and I have uploaded the kernel source of lengend https://github.com/zeubea/htc-msm7x27-ics . This kernel is forked from munjeni's aria kernel (thanks munjeni!).
[Legend Android Development] homi3kh:
have u tried Integrate Hardware Video Codec into Android Stagefright using OpenMAX IL yet?
[Legend Android Development] artur0588:
gps do not work

Who know how to get GPS work on CM9 Beta1? Do not work on my Legend, no any indication in tool bar and no any sattelite able to find.
[Legend Android Development] smithchipz:
Hi,

You could try the following, worked for me but I don't know if it'll work for you :

1. Go to Settings>Location Services and then click 'GPS Source'. Make sure 'Use Internal GPS' is selected.

2. In the same Location Services screen, tick the boxes next to 'GPS Satellites' and 'Google's location service' (press agree when the prompt comes up)

This should be enough for it to work. If not there is one last thing I know of that you can try:

3. Download the 'GPS Status & Toolbox' app from the Play Store. Once installed go into the app and hit Menu and then select Tools. From the popup menu select Manage A-GPS state. Select Reset and then Download. Reboot and see if you can get a fix now :)
[Legend Android Development] artur0588:
Thanks for suggestions but still can not find any locations using GPS, using Wi-Fi

only.
[Legend Android Development] smithchipz:
Can I just ask then how you're testing your GPS to see if it works or not eg. what app(s) are you using to determine if GPS works or not?
[Legend Android Development] ranger4740:
Hi all, I'm sharing my days experience on beta1 which unfortunately have not been good. As an update to the tb restore issues I was having, I discovered that I still had some apps in the tb repository backed up from the time I was on gingerbread, in any version upto beta0 I didn't have any issues restoring my apps, however in beta1 doing a batch restore it gets stuck on the apps that were backed up from gingerbread days, so I filtered out the apps from gb and only restored apps from ics version and everything went well, or so I thought :(

I hate to complain about the great work being done here, but after a day on beta1 my phone went compleatly haywire basically the whole phone went into FC every app pretty much went into melt down, even cwm which is a system app wouldn't work (tried to do a fix permissions).

To make matters worse even my backup of beta0 became corrupt.

So have done a fresh flash if beta0 so far my phone is OK but I am almost coming to the belief that my rom space has bit the dust with bad blocks from to much flashing, only time will tell.

sent from my legend, currently using zeubea ics beta0 :-D
[Legend Android Development] artur0588:
Sure, I am using Google Maps and Google Navigation. Also I tried GPS Test app.
[Legend Android Development] dahwe:
I had no trouble with TB. I went from Beta0+Link2SD to Beta1+Data2Ext. Backups were made with TB 5.1.0 and restored with 5.1.1.

I also find Beta1 less stable than Beta0 so far, but overall I am very happy with the new beta! Complete story is in General section. My mistake to post it there..

edit: little thing I'd like to add: all backups I made are from apps I installed on Alpha5 or Beta0, except Angrybirds ;p I don't know if any gingerbread mess-ups are causing the problems you have, but I decided to delete all old TB backups (copied to pc) and make fresh ones. Just in case..
[Legend Android Development] ranger4740:
Up until now, I've been using s2e for my ext support, I am currently testing with no s2e and no ext, and fresh apps from the market to see how that goes, I suspect that the newest version of s2e is causing some of the issues.
[Legend Android Development] Alunduyn:
I upgraded to beta1 this morning, and after just 8 hours with this new version I'm sure I won't go back.

This is REALLY smoother, I can see animations even in Google Play Music! Trebuchet now is a great launcher ( I'm not going to replace it ) and smoother than Apex.

Also, new CM9 functions are a must-have!

The only issue was a Gallery Launch Crash that persisted until I removed it from "recent apps" in multitasking, but the fault could be of all the Performance>Memory options that I applied.

You're doing a great job zeubea! Thanks so much!
[Legend Android Development] gebazzz:
I'm using it and I have no problems... what kind of issues do you have?
[Legend Android Development] and313:
Working for me but I had a lot fc's. Fix permissions fixed it
[Legend Android Development] smithchipz:
Ahh OK well I'm stumped. Sorry I can't help you further.
[Legend Android Development] ranger4740:
I don't want to clutter up the thread with double post, if you look here

http://xdaforums.com/showthread.php?p=26324258

This explains what's going on.