yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] CfYz:
Blay0

I'm aware of custom kernels with perflock disabled already, I've installed SetCPU with main profile ondemand/interactive 122-806 and Screen Off 246-246. Still desktop screen listing and app drawer 3d in Launcher Pro is working slower anyhow... In stock rooted all went fine with stock kernel.

So still will waiting for a new version to test it. Do you plan to release ROM with offline 3.15 available or it has no differences with OTA you are using now?
[Legend Android Development] BlaY0:
What do you mean by offline?

As I said... if you want to mimic stock perflocked kernel, you should make default profile with 480 - 600 MHz to compare performance.

I doubt that there will be any changes regarding kernel in next ROM version, at least not in cpufreq governor part.
[Legend Android Development] TeCH-Guruz:
Great job I used ur guide or at leats part of it to downgrade from 2.2 so I could get root installed a few roms then found this wen I installed the rom it was freezin up everytime I used the keyboard now installed your kernel its working perfect well almost perfect just the usual froyo related problems but runs real smooth keep up the good work.
[Legend Android Development] whitetigerdk:
Got it fully working with this version.. (DT included)

B 0.1 rom, enabled overlay and activated A2SD all running from SD.

:) Thanx BlaY0
[Legend Android Development] Dr.Romca:
Hi BlaY0,

Just a quick question: Is it possible to disable the Menu+back button bugreport function?

I accidentaly generate bugreports all the time and it is really annoying for me...

Thanks a lot!
[Legend Android Development] billyJAM:
So I flashed the Custom Kernel on the first post. Overclocking works fine with SetCPU.

Problem when running Google Goggles, says Goggles cannot run, Kernel is not IPV6 compabitle or something like that. Could this be fixed?

Going back to stock then.
[Legend Android Development] dreawer:
Have a trouble with Remote RDP on this Rom. It says smt like "unknown host 83.167.111.* try using ip address" .

I'm using ip...

Ps. Don't have this trouble on Vodafone rom.
[Legend Android Development] BlaY0:
It can be done by altering initrd... will have to wait till Monday.

This topic was discussed already... if not here then in customized kernel thread.
[Legend Android Development] BlaY0:
Teaser

Just a little teaser for the next version... data2ext in action:

...using Transcend 8 GB class 6 with 1 GB ext data partition and OC kernel running at 787 MHz.
[Legend Android Development] Sckank:
What about real life performance? :)
[Legend Android Development] BlaY0:
...it is very poor ;)

Actually I'm testing for the most viable and safe solution using data2ext. In the end it will be a compromise between performance, stability and safety.
[Legend Android Development] kuklux:
What is the cons of using data2ext
[Legend Android Development] MAGMA2000-2:
Hello

I'm one of the legend users from Taiwan

Sorry to ask some questions

If I Want to use this Rom, do I have to root first or flash something??

My legend just updated official Android 2.2 "yesterday"

3.15.709.3

See how slow HTC does in Taiwan

Not important

I did try to download this rom and ported in my sd card

And I turn off my legen

Press "Back" and "Power" key

And choose recovery

And after red triangle showed up

I press Volume Up and Power key

And I choose Update from sd update.zip

My legend told me the verifycation failed

What can I do??
[Legend Android Development] smartsreenath:
you have to root the phone first and then you can flash it like any other ROM

note:lots of tutorials about rooting and flashing ROM check that first:D:D:D
[Legend Android Development] MAGMA2000-2:
Thank you

But as far as I know

An official legend Android 2.2 Rom has a new defense technich to block rooting??

My English is not that well

Can please anyone show me threads about android 2.2 on legend's rooting??

Thank you all
[Legend Android Development] loscassapalle:
noone likes my post?:)
[Legend Android Development] BlaY0:
It is not quite battery friendly. Need at least 3 more days to test some options that would potentially solve this problem.

Sent from my HTC Legend
[Legend Android Development] aelsharawi:
a sugesstion for the new arabic font face

"the arabic.gpg is the original froyo font but it dosnt support all letters"

the stock arabic font dosnt support all letters

open this from ur "Arabic" phone:

http://www.alanwood.net/unicode/arabic.html

a complete set of arabic fonts :

http://www.ce4arab.com/vb7/showthread.php?t=241557

My personal opinion aljazeera v2.
[Legend Android Development] segphault:
READ the first post, there's a default font patch available
[Legend Android Development] madmaxx82:
It's really astounding how different experiences regarding WIFI stability are..

I had many issues with B07 and wifi (wpa2-psk), but wifi on CM7 is very stable for me.

Of course you cannot quiet compare CM7/CM7 since there are so many different builds.

Maybe different AP hardware is to blame for those differences...
[Legend Android Development] bodjor:
That's Android!
[Legend Android Development] andrekua:
I think some setting were changed for the font size. While its okay for most if not all programs, it does have some allignment problem with Stocks widget. I changed it to MS Trebuchet instead.
[Legend Android Development] abwebmaker:
arabic shapping letters

to obtain arabic connected letters you need to push framework.jar to /system/framework

needs arabic support for browser and Gmail by editing libwebcore.so

Thx
[Legend Android Development] fighting4fun:
Download

Hello,

have anyone a other mirror for me?

all 3 links are down =(

greets from Germany
[Legend Android Development] Catnap:
Working fine here. Maybe you have something blocking it.
[Legend Android Development] fighting4fun:
ahh ok now its working...

thx
[Legend Android Development] geminigeek:
Help!

Why does my a2sd become not active every time I change my battery? How do I active it back?
[Legend Android Development] Xeldar:
Just installed it, works very well, very smooth, 746 with quadrant, and love it ! :D

Thx :)
[Legend Android Development] bodjor:
Volume button long press

BlaYo, it would it be really great to add this one in 0.8:

That, when the screen is locked and you're listening to music, that you could skip songs by long pressing the volume button. It's really perfect for car or commute listening.

Is it possible?

Thanks in advance and tell you how I appreciate your work.
[Legend Android Development] SHS2000:
Does 0.8 will support Arabic??
[Legend Android Development] aelsharawi:
Music skipping : use poweramp

Arabic support : yes 0.8 supports Arabic already.
[Legend Android Development] Bricolo_fr:
are you sure poweramp supports next/prev track with volume button long press?

I tried it and I hven't seen this feature
[Legend Android Development] magedhk:
So when is B.08 planned to come out? Can't wait:D
[Legend Android Development] Greedybro:
When it will be ready I guess ?! You'll have it anyway, what is the point to have a deadline ? Don't you prefer wake up in the morning and see that you can now flash it ?
[Legend Android Development] virus54:
Blayo I just checked the multi touch and there is one problem

if you move one finger up or down another finger will be moved too

and when you add another finger the multi touch don't react well

I checked it via android system information->menu->multitouch test
[Legend Android Development] roeylee:
I've did it! It looks 100%. Thanks.

BTW,

What is "hostname support"?
[Legend Android Development] dannsf:
First off, THANK YOU Blay0 for this wonderful rom :)

Tbh, after hours of trying to downgrade my legend and later rooting it (thanks to my lack of knowledge), I thought that installing CM6 or CM7 would please me... but later I understood that I missed the People app that HTC Sense offered (yes, that was basically THE only thing I missed). And one would ask WHY didn't I keep the stock rom if I liked it too much. Cutting it short: I wanted speed.

So CM6 ended up on bootloop and CM7, though GORGEOUS and SPEEDY, it lacked my so loved People app... so I decided to move into YogenTouch... let me tell you: though pretty... it's a bit TOO pretty for my liking.

B 0.7 is SUPER smooth and looks great. It's speedy and never lags. Best of all, battery seems to be happier too :D

But I got a tiny question...

@blay0 - any thoughts on cooking a gingerbread rom with sense? :)
[Legend Android Development] BlaY0:
There's some manual labour still to be done (injecting translations into some 50 apks). Other than that it's almost finished.
[Legend Android Development] segphault:
Some of us can't afford or don't wish to pirate PowerAmp.
[Legend Android Development] segphault:
blay0, I've got a suggestion for improving SD card speeds.

I noticed in your ROM that catting /sys/devices/virtual/bdi/179:0/read_ahead_kb prints a value of 128, which is a little bit on the small side to be honest. Perhaps you could chuck this into your init.rc file when you cook up B0.8?

Many users have reported that increasing the read_ahead value greatly increases SD read speeds and even write speeds get a noticeable boost, too.

Unless I'm grossly misinformed there are no drawbacks to this tweak, so not including this would be kind of silly...
[Legend Android Development] BlaY0:
You can do that by yourself... just edit /data/local/init.d/01init replacing 128 with whatever you like.

I won't do it coz 128 is the most sane value for everyone. You should also take under consideration that there are thousands of different SD cards available and every one has its own specs and may not work well with those settings.

There are drawbacks like ram usage which Legend doesn't have plenty.
[Legend Android Development] segphault:
Do you mind if I post a how-to in this thread concerning how to do so? Some new users might want to apply the patch but will be unaware of how to do.

EDIT: Check the attached files for my results. All tests were performed on a 16GB Class 4 Kingston SD card, using the application "SD Tools".

I have more need for higher read speeds over write speeds, so I'm sticking with 2048. I've also noticed that in conjunction with your data2ext script, this tweak greatly improves how responsive the feel of your ROM is.
[Legend Android Development] BlaY0:
Sure, post the howto and I will put a link to it into 1st post.

EDIT: Mind also that /data/local/init.d is wiped and repopulated from /system/etc/init.d on ROM upgrade/flash.
[Legend Android Development] segphault:
SD Card read_ahead_kb tweak

Many users have been reporting slow SD card read speeds regardless of the fact that they've a crazy-fast Class 10 card or something of a similar calibre. The issue lies within how large the read cache is, which the Android system defines at boot time. Luckily for us, we can change that with relative ease.

PRE-REQUISITES

You'll need the following:

Root access

blay0's ROM installed (duh)

ADB installed and functioning on a PC of your choice

System overlay enabled to be safe ("aufs --enable" using ADB shell or in a Terminal Emulator on your phone then reboot)

USB debugging enabled on your phone

You may also want to install the application SD Tools from the Android market in order to benchmark your results to see if you actually get improvements. Before you actually do all this, it's probably worth checking what your read_ahead_kb is actually set to. Using an ADB shell, plug in the following command and hit enter:

cat /sys/devices/virtual/bdi/179:0/read_ahead_kb

If the value returned is 128, then you're all set to proceed with the tweak. If it's anything else, keep reading if you want to change it.

Use your command line (cmd on Windows, terminal on Ubuntu etc etc) to enter the following command:

chmod 755 /data/local/init.d/01init
chmod 755 /sys/devices/virtual/bdi/179:0/read_ahead_kb

This will give you the correct permissions you need in order to permanently modify the file.

After you've done that, do this:

adb pull /data/local/init.d/01init

You should now have a file called "01init" in the same directory that your ADB session was initiated from. Open this file in a text editor and find the number which was printed earlier when you cat'd "/sys/devices/virtual/bdi/179:0/read_ahead_kb". This is the number you'll need to edit.

Change that number to 2048 for now and save the file in exactly the same format and location as it was before you started editing. After you've done that, you'll need to push the file back to your phone using the following command:

adb push 01init /data/local/init.d/01init

After that's done, you'll need to reboot. If you're not using data2ext, you can issue the following command and your phone will reboot automatically:

adb reboot

If you are using data2ext, you MUST turn off the phone using the power button and reboot manually.

...in which case you'll need to do all of the above again every time you upgrade or flash.

Try different numbers using the guide above then benchmark with SD Tools and see what results you get. A general rule of thumb is to use numbers which are divisable by 4 I.E. 128, 1024, 2048, 3072, 4096 etc etc etc. If you find that a certain number gives better results, stick with it!

-EOF-
[Legend Android Development] whitetigerdk:
Okay sorry.. I just don't get it.. Market has an app named "SD Card Speed Boost" that fords threw exact same thing.. The app is free so if you do not want to mess with ADB you should try this app at first..
[Legend Android Development] segphault:
[offtopic]

Sigh... using apps which mess with things like this are bad for people who actually wish to learn. Similarly why I'm against things such as one click rooting tools etc etc. If you don't do it this way you've no idea about the things involved.

[/offtopic]
[Legend Android Development] Zeyckler:
I tried this app and changed the default value of 128 and change it to 4096 and during playback music it have small stops several times during the playing. My SD card is a Trascend Class 2 16GB. I don't tried any more values, should I try any other value?
[Legend Android Development] MaBlo:
Try 2048. Works great for me, I use a Transcend Class 6 4GB.
[Legend Android Development] Zeyckler:
I do the steps of the tutorial, and when I rebooted the phone I use cat for the read_ahead_kb and prints "128" it is normal or it should print "2048"? I check the other file and seems to be ok, and I did chmod 777 for the read_ahead_kb.

Thanks

Edit. Nevermind I did it with su and works :D
[Legend Android Development] segphault:
Hm, because you've a Class 2 card it probably isn't able to keep up with 4MB (4096) of read_ahead at a time. As previously suggested, try changing to 2048.

My SD card is only Class 4 and it stutters during music playback too on 2048. I'm going to try 1024 or possibly something a little higher.

A general rule of thumb is to set the value slightly higher if you have a fast card, and vice versa for slower cards.

Swyped from my Legend using the xda app
[Legend Android Development] segphault:
chmod 777 should only be used if you've exhausted all other methods of modifying the file. It's generally bad practice to use 777 instead of 755.

Swyped from my Legend using the xda app
[Legend Android Development] bodjor:
Another thread on this: http://xdaforums.com/showthread.php?t=1010807
[Legend Android Development] Snowtoad23:
I'm having problems with Wi-Fi tether, not sure if specific to this rom..

When I have Wi-Fi hotspot on, my mobile internet seems to constantly drop in and out. It will technically stay 'on' (as status shown in long press power button menu), but the symbol will dissappear from the notification bar for a while and no internet will work on any tethered devices, then it comes back again after a while.

Sometimes its so bad, it only stays on for about 5 seconds before it drops out again and then turns on again..

Anyone have this problem or a fix?

Cheers
[Legend Android Development] BlaY0:
0.8 is out!

Check changelog and 1st post for updated instructions.

Upgrading should work (I guess) but dalvik-cache needs to be wiped!

Replacing framework-res.apk or com.htc.resources.apk will break things and your phone might end up boot-looping so don't replace either of them! Ask theme creators to supply MetaMorph or NinjaMorph patches instead.

Supplemental Arabic files are in attachment. Link to Arabic patch is now in 1st post.

PS: 2nd mirror is not yet working.
[Legend Android Development] Snowtoad23:
Awesome!

When you say replacing, is it ok if I just get the framework-res.apk and change some images in it (e.g. batt stat icons)?
[Legend Android Development] Dr.Romca:
Hey Blay0! Great work again!

What if I take those framework files, replace some images inside and re-sign?

That should work right?

Thanks so much :)

Dr.

EDIT: Good one Snowtoad! :D
[Legend Android Development] BlaY0:
That would be OK. Replacing images inside your current apk should work. But be careful, some files (even images) have to be stored inside with no compression! You should inspect which are those. You can of course resign and zipalign apk also.
[Legend Android Development] Dr.Romca:
My Batt Mod that worked in B0.7 does not work here...do the batt-stat images have to be zipped with no compression?

Could you recommend those programs for png optimization (batch optimization is preferred :) ) Thanks!
[Legend Android Development] BlaY0:
In original they are stored. In fact I think all pngs are just stored.

I use pngcrush or optipng... but that's on Linux.
[Legend Android Development] Dr.Romca:
Thanks! Both are for Win as well, I just ran them all through optipng and it works :)

How do I make only some parts of the archive stored and others compressed?

Or should I make the whole archive just stored?
[Legend Android Development] Snowtoad23:
If you just open the .apk in winrar without unzipping or whatever and copy the new pngs in, then select "store" for compression method, it works fine
[Legend Android Development] whitetigerdk:
Taa Daaaaa....

Mirror 2 up and running :)
[Legend Android Development] fint:
Opera mini 5 and 6 crashes on B 0.8. when i try to input adress.
[Legend Android Development] deimdos:
hi BlaY0, will you release/update this new version of your kernel?

thx
[Legend Android Development] Asovse1:
I just upgraded to 0.8 from 0.7, and when I hold down the power button to power off, it reboots to the 2nd bootscreen phase (the one where "quietly brilliant" starts to appear). Did I do something wrong?

I should probably take this moment to also ask, is there another way to power off? I don't want to pull the battery, too.
[Legend Android Development] andrekua:
I had no problem with B08 shutdown. Are you sure you shutdown or reboot? Blay0 added a nice touch with the reboot option.
[Legend Android Development] sinanharb:
why does the picture show 781 MB of internal storage while i only get a 109 MB on my phone after flashing this ROM?
[Legend Android Development] alexhtclegend:
You have to enable data2ext for that. Personally, I find 100mb to be good enough if you enable apps2ext. BlaY0 has said how to do this in his first post.
[Legend Android Development] slovenec88:
That's with data2ext function enabled..
[Legend Android Development] yanoosh:
does B 0.8 have AAC+ support?
[Legend Android Development] BlaY0:
Ask yourself if 0.7 did support it, check changelog for 0.8 and compile yourself an answer from information you've got.
[Legend Android Development] Knight77:
But...now I have 0.7 with data2ext enabled...if I pass to 0.8:

- Do you suggest me to wipe?

- Will I have to enable again data2ext after the flash?

Thanks!
[Legend Android Development] yanoosh:
funny

I read the changelogs and searched the thread for "aac" before. There was only one hit (# 1615) - and the guy who asked never got an answer...

but okay... i'll flash 0.8 and try to set it up
[Legend Android Development] BlaY0:
data2ext should be OK, no need to reenable but do nandroid befor you upgrade just to be on the safe side.

Hmm, I have never had a chance to test it. In fact I have never had a chance to test most of the stuff users suggested. I've tested and implemented like 3% of suggestions I guess ;)

EDIT: I guess it supports eAAC+ but not AAC+.
[Legend Android Development] Asovse1:
Is there anything I need to do/keep in mind before downgrading to 0.7?

By the way, just holding down the power button reboots the phone, no off menu appears.
[Legend Android Development] BlaY0:
You probably didn't wipe dalvik-cache as I instructed.

Yep. This is the "feature" of HTC's 3.30 ROM itself. Unfortunately I have no idea on how to solve this one.

Sent from my HTC Legend
[Legend Android Development] magedhk:
B.08 is perfect

Thanks a million Blay0 for this update.

The Rom is working perfectly with me, I used to have a problem with Wifi on 07 but it is now so much better with no hiccups on B.08

Very nice touch with the boot menu and the Arabic is what I was really looking forward to is perfect. I just one question, how do you switch to the Arabic keyboard? Swiping doesn't do it and there is no specific setting to toggle it. I have my local set to English (Egypt).
[Legend Android Development] BlaY0:
Try some app with text input, tap and hold the input form and dialogue with options should apear. Choose Arabic keyboard.

Sent from my HTC Legend
[Legend Android Development] tr36cs:
B 0.8

There are some problems with Cyrillic fonts, “find on page” in any browser doesn't work, opera mini crashes while starting. Probably the reason is Arabic kernel. Is it possible to download b 0.7 at the moment?
[Legend Android Development] BlaY0:
@Asovse1: Did you install any themes after upgrade?

Do nandroid of data partition then format it and see if it works.

Sent from my HTC Legend
[Legend Android Development] Asovse1:
Alright thank you, I'll update you on this tonight when I get home.

And I installed the lockscreen mod from cryshop. :S
[Legend Android Development] aelsharawi:
thx Blay0

my experience about it:

I formatted my sd card using your mod clockwork mod.

then I used date2ext (I fell that the programs startup time is taking more time,but with succesive restart it improves ????? why am I donin something wrong ?)

Also I installed the new Radio update from here

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

till now I have no problem with this radio,is it ok to continue on it ?

thx again for this great job
[Legend Android Development] BlaY0:
I thought my instructions were clear. I said DO NOT REPLACE FRAMEWORK-RES.APK OR COM.HTC.RESOURCES.APK! And that's exactly what you did!

Sent from my HTC Legend
[Legend Android Development] Asovse1:
That's what I did? My bad.

I think of queries, I search, and search, but I'm always afraid to ask when no results pop up. Terminology and technical stuff just baffles me, but I'm always here at the Legend forum sweeping up whatever hints come raining down and learning from that.

It's no biggie, well, not anymore. Now I "understoods".
[Legend Android Development] xillius200:
Thank you for this great rom ^^ first time downgrading and rooting and flashing a rom to a legend xD and no problems with this rom at all so far :D great work!!!

Those having problems do not know the way of the android ;)

PS: Howcome the Legend section is so small, the Legend seems like a great phone 0o
[Legend Android Development] SHS2000:
Thank you.

I enabled the ap2sd but it still showing the internal space is 100 .

What should I do?
[Legend Android Development] arxus82:
0.8 installed and all work fine. Wifi work better than 0.7 :)

thanks blayo!
[Legend Android Development] dannyhc:
Would like to know how far off the desocialised version of 0.8 is due if anyone has the heads up once again?

Cheers

Dan
[Legend Android Development] segphault:
Apps2SD allows you to store some data from apps on the SD card. It does not affect how much internal space you have on your phone.

I think what you're looking for is data2ext, for which you need an ext partition on your SD card. Read the first post for more info.