yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] ugianni:
Hello blay0,I tried to change the animation but now I only have written Android blue.The phone starts up as normal.

I found a file "local ".

I did:

adb push bootanimation.zip / data / local

I find the cell data/ but "local" no folder, but file 2.29 MB (= new boot file size).

Why? S-ON?
[Legend Android Development] Bricolo_fr:
This would be reeeeeeealy great!
[Legend Android Development] haha123:
in values/styles.xml change

<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">

<item name="textColor">?textColorPrimaryInverse</item>

to

<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">

<item name="textColor">@color/bright_foreground_dark</item>
[Legend Android Development] stiffmast3r:
before i do that, one question:

when im updateing the rom (for example to b0.8), is there the same problem?

have i do the same steps again to deactivate it?

maybe blayo can add a "switch on/off menu" for "wake on trackpad"?

and, maybe he add trackpad call and hang up :)
[Legend Android Development] Bricolo_fr:
you'll need to go through this process again, if you flash a new rom

about the trackpad call, as mentionned above, that's not an easy task. It involves modding an app we don't have the source code of: not gonna be done in a few days, if it's gonna be done one day...
[Legend Android Development] gaz_armo:
Can anyone help me with dat2ext.

I just began using dat2ext and the phone is much smoother and quicker, but every now and then it lags.

Anyone know how to fix it?

By the way my sd card is 8gb class 4 and data2ext is on ext2

THanks
[Legend Android Development] yingchai:
Blayo: I just install your ROM but I failed to switch on my mobile network. After I enable the mobile network, the mobile network icon does not appear at the top of status bar. But my wireless is working fine. PLEASE HELP!!!
[Legend Android Development] picz:
Have you checked your APN Settings? Maybe you have to insert them manually.
[Legend Android Development] Dr.Romca:
First make sure you have the SD card partitioned and formatted as it should be, there is a guide from BlaY0 here.

If you have all OK, it might just be that the card is not fast enough and once upon a time it doesn't handle the data flow...

Usualy Class 6 is recommended, but it's not just about class of the uSD, I had a class 10 Kingston which was terrible, but now I have class 4 sandisk mobile ultra and it is just fine...no lags whatsoever...
[Legend Android Development] Bricolo_fr:
didn't the sandisk mobile ultra cost you an arm? they look really expensive, at least here in france
[Legend Android Development] yingchai:
Thanks. I just set it manually. Never thought of setting it manually as all my previous ROM configured it automatically.
[Legend Android Development] Dr.Romca:
No, just a couple of fingers (I don't mean shoplifting :D)... It costs around 45 EUR here in CZ, Kingston on the other hand costs around 70 EUR...so ultimately I won :D
[Legend Android Development] Bricolo_fr:
40€ for which size?

I just bought a 16Gb class 4 kingston for about 30€ here (on amazon.fr)
[Legend Android Development] ugianni:
Fixed I entered with "es file explorer" with root permissions. I created the folder "data / local" manual and I pasted the file bootanimation.zip!

Now it works!:D
[Legend Android Development] Dr.Romca:
16GB ;) I have 8GB too, but it's too small for me nowadays...
[Legend Android Development] stiffmast3r:
1. stupid question

2. yes, i search in forum

3. i found nothing

here it is:

how can i see that a2sd is enabled?! :o

i enabled it, then i type it again in terminal app.

it says "a2sd is enabled and active". but when im installing any app,

it takes internal memory.

thx 4 helping me :rolleyes:
[Legend Android Development] janarp:
i was same problem and im just repartition my sd card... all is ok now... im sure there is others methods too but this was the easyst way for me...=)
[Legend Android Development] BlaY0:
If it says "enabled and active" then it is enabled and it is active. Simple as that. And yes it still uses your internal memory! Why in the love of your favourite mesiah would you want your internam storage to be free? It is ment to be filled otherwise it wouldn't be there! So why do you need it to be free? a2sd means only installation part of application is moved to SD, other parts of application stay on internal storage.

And you really need to practise searching coz this was mentioned before at least 3 times :rolleyes:
[Legend Android Development] Bricolo_fr:
about A2SD

I enabled it yesterday for the first time. It moved all my apps to the 512MB ext3 partition of my SD card.

But now, every time I boot the phone, some widgets of my homescreen don't show. I heard we shouldn't move widgets to SD (or is this only valid with froyo's vanilla app2sd?), but since A2SD doesn't give me a choice...

Is anyone familiar with this issue?
[Legend Android Development] Dr.Romca:
Wll the "don't move the widgets to SD" rule applies only to A2SD Froyo has as native function (e.g. it moves the files to FAT32 partition of your SD), A2SD Blayo has and the others (like Darktremor etc) use script that stores the files on ext3 partition as you know, so the system doesn't know that the files are not in NAND flash...

Even though you have a2sd enabled, I'd still look in settings if you don¨t hae them moved to FAT32 partition...that might still be the cause...
[Legend Android Development] dilip007:
battery life in unbareable anyway to improve it?
[Legend Android Development] BlaY0:
2 days on average is not enough for you?

Sent from my HTC Legend
[Legend Android Development] TheGrammarFreak:
I need mine to be completely independent of chargers
[Legend Android Development] dilip007:
mines last around half a day with wifi on :s

if i turn wifi off ill get about a day :/

anything im doing wrong? and how shall i get it to work for me for 2 days?

:confused:
[Legend Android Development] ogo2:
2 days with 3G always enabled and some wifi use at home.
[Legend Android Development] TheGrammarFreak:
And brightness at a sensible level
[Legend Android Development] odyon:
Same problem here :( ROM is great (speed, etc), but if i forget to switch off 3G/wifi one day at the office, and it's all gone.
[Legend Android Development] ogo2:
Help Needed

Hi, all. Did someone knows how to build framework-res.apk with apktool?

I'm working on 2 new MODs, but i have problems with FCs after pushing the new apk file to my phone (with deodexed ROM). Here is what i did:

1. Decompile the apk file.

2. Edit some XMLs in res/values

3. Build the new framework-res.apk

4. Creating new APK with uncompressed resources.arsc like in the original APK

5. Sign the new APK with testkey

6. Zipalign the new APK

7. Reboot in recovery and push the file to /system/framework

And when it boots, i have many FCs. Can someone tell me what i'm doing wrong please?
[Legend Android Development] BlaY0:
Just search the thread... everything was already written several times... about SetCPU, profiles, overclocking, underclocking, different governors, screen brightness, 3G/EDGE data, Wi-Fi sleep policy...

Logcat to debug FCs.
[Legend Android Development] Thronesmasher:
don't sign and zipalign it

just extract it with WinRAR/WinZIP/7z/etc., edit your file and reZIP it with no compression, then rename to apk

you'll have to keep the signing info of the original file
[Legend Android Development] ogo2:
To edit /res/values/*.xml files i have to decompile apk. In your way i can edit only PNGs inside the apk, but this is not enough in my case. :(
[Legend Android Development] Kot_Ik:
If you want, I can pm you, ogo2, about all this stuff tomorrow. So BlaY0 can do, I hope.
[Legend Android Development] ogo2:
Thanks. You help me ones with the odexing, i hope you can help me this time too.

Because if i made it, we will have gingerbread dark menu panels and reduced auto-brightness. :)
[Legend Android Development] bruoli:
@BlaY0: How have you reached such a high score in the benchmark test as you have shown in your screenshoots....I just get about 900-1000 points after killing unimportant apps and using swapper...

Regards bruoli
[Legend Android Development] BlaY0:
The "original" of B ROM is signed with test cert so resigning is not an issue here. Also zipaligning doesn't hurt.

Sent from my HTC Legend
[Legend Android Development] stiffmast3r:
forget that score...

i get 1800 and many many lags, now im on 1080, and my legend run fast and very smooth ;)

blayo teached me :rolleyes:
[Legend Android Development] bruoli:
But somewhen you had 1800 :D How? ^^
[Legend Android Development] BlaY0:
Overclocked, data2ext + fast SD card. Enough with those Quadrant scores now coz they are not important at all.

Sent from my HTC Legend
[Legend Android Development] Kot_Ik:
Never mind. If i can help you to make some stuff better, why shouldn't i do that.

I've already mod it, and for now i can understand HTC engineers that set minimum level so high... Reduced minimum level looks weird. Legend's light sensor has too few discrete steps to make autobrightness comfortable for me. Also, there is no such thing like hysteresis and overlapping ranges like CM have. Well, we look at what yo can do :) May be you do it better.
[Legend Android Development] BlaY0:
I can add two more steps for light sensor in kernel, maybe it would help...
[Legend Android Development] Kot_Ik:
Maybe. Depends on what exact steps (in what range of sensor values) you can add. I have to play more with phone to understand what's steps i really need.
[Legend Android Development] BlaY0:
I never use auto... I'm practically always on minimum brightness.

There are 10 values from 0 to 1023 in kernel source. Last 3 are all 1023.
[Legend Android Development] Kot_Ik:
So am i. But someone else can want to use this feature.

Went away digging the sources...
[Legend Android Development] Snowtoad23:
It would be cool if the auto brightness was modified..

I used to have it on that but its usually too high. Now I have it like 30%

but it'd be cool if you could configure it like set a max and min range that it changes depending on the light sensor.

Like change from 5% - 35% depending on what light sensor sees
[Legend Android Development] Kot_Ik:
Well, sensor data gives me 9 different values. They are: 40, 90, 160, 225, 320, 640, 1280, 2600 and 10240 (walking from dark places to light). May be there is also 10, but i can never can reach it, even in a full darkness.

How are they correlate with that struct describing lightsensor? It seems nothing common between them. Especially knowing that last three value in that struct's array are equal.
[Legend Android Development] ponchofiesta:
OK, after some days of testing the kernel:

I still have lags and crashes. Yesterday I listened MP3s and surfed with Dolphin HD. Than it began to lag and after some seconds the phone did not respond anymore. Music still played. Same problem like I had described some pages before.

I will now try the interactive govenor.
[Legend Android Development] BlaY0:
OK, try it and report back...
[Legend Android Development] yingchai:
my phone is running stress test using setcpu...but it has been running half-day now. is it normal? i plan to end the process later...pls giv ur opinion on this. thx.
[Legend Android Development] ikdegek:
that's how it is, in the help function or google it is there: will run forever....., half a day is normal, two weeks also....
[Legend Android Development] ogo2:
If you look inside the framework-res.apk and specialy in res/values/arrays.xml you will find these:

I believe this is the sensor data in lumens.

And this is the coresponding level of brightness.

There is two additional arrays - "config_autoBrightnessLcdBacklightValuesUp" and "config_autoBrightnessLcdBacklightValuesDown".

What i'm trying to do is to decrease all brightness levels with 20 (level - 20) except the last one. Working outside with our AMOLEDs is pain in the @$$... :)
[Legend Android Development] jonaseg:
The stress test runs until one of the following occurs:

Your phone crashes.

You abort the test. -> You will get a report telling you for how long the test have been running.
[Legend Android Development] stiffmast3r:
someone can tell me how ad-free in this rom working? :o
[Legend Android Development] Daidoo:
It works perfectly fine for me.
[Legend Android Development] ogo2:
Add-free is nothing more than the /etc/hosts file.

This file contains a list with host addresses and coresponding IPs of these addresses. The IP is aways 127.0.0.1 (local loopback interface of the phone). When you try to open some ad URL you are redirected to the loopback interface and there is no ads to be shown. :)

http://en.wikipedia.org/wiki/Loopback
[Legend Android Development] casklaverstijn:
I had abnormal battery drain with WIFI on. Like 1% every 2 minutes. Im going to try to flash another time and see if that helps.

update: Did not work at all. I've flashed the wifi patch, cause my wifi was losing its connection all the time. Someone knows what to do. And yes I know that enabling things drains battery. But this isnt normal. And I've read a lot of post and didnt found an real solution.

thanks in advance.
[Legend Android Development] ponchofiesta:
It crashed again.

This ROM does not like my Legend :)
[Legend Android Development] BlaY0:
Tough luck.
[Legend Android Development] caretaker01:
ok i know i should read these threads, all of them, but i`m kinda lazy and new to the thread and i was wondering is it worth the trouble to downgrade, root, install clockwork recovery and install this rom, from 2.2 stock froyo, mentioning that i don`t care much for overclocking, a2sd, data2text or trackball awake. Is it faster then the stock version, better battery life, other then the visual changes with i care for in being much better loocking then the stock version

thanks
[Legend Android Development] alexhtclegend:
In that case you'll simply have a rooted version of the stock rom. Its up to you really, there are some useful advantages of being rooted, and with the clockworkmod app from the market it is really easy to change roms, so you may well find yourself experimenting a bit. A2SD is really good, and took me about 1 minute to set up, but if you don't download many apps it is pointless.

Some useful root apps include ones which take screenshots and adfree.
[Legend Android Development] caretaker01:
Long ago i used to have my legend rooted, played around with apps and roms, and i admit people at xda have made these actions very simple for non experts, but other then phone calls and some office, texting, e-mails, web-surfing and playing around with customizations, i dont use the phone for other stuff anymore.

THX for reply and repect to Blay0 for this rom
[Legend Android Development] frentraken:
Hi wondering if there might be a way to disable the status LED on this phone? I want to use it as a bedside clock, but with that charging light going it's hard to get to bed lights up my whole room.
[Legend Android Development] shara6:
games got slower... especially on fruit ninja.. having delayed sounds.. im using a2sd and dc2sd...
[Legend Android Development] stiffmast3r:
since i enable that, its going faster :D
[Legend Android Development] shara6:
Maybe just a bad flash? Oc to 768 now everything's back to speed..
[Legend Android Development] ogo2:
I have tried this one too and it's not working! :(

Anyone have an idea how to change panel menu font color in Sense ROM?

P.S.> Only need to fix this issue and then release the mod-ed framework-res.apk with new autobrightness levels and gingerbread style menus.
[Legend Android Development] zorro12010:
Has anybody got the reboot in power options working?

The way it should be done is with: adb push android.jar.policy /system/framework

I did not get it running.

I'm using yogentouch 1.5.

Any suggestions?
[Legend Android Development] ogo2:
This is only for ROMs based on B0.x :)

That's why i posted the MOD in this thread.
[Legend Android Development] andrekua:
Hi Blayo,

Stocks Widget text seem to be out of allignment when I restore the font back to original. Any quick fix for this? Thx in advance.

Nevermind, I just replaced the font with Trebuchet MS and it looks okay
[Legend Android Development] zorro12010:
thanks for the info.
[Legend Android Development] whitetigerdk:
new sd card is giving my phone a very hard time :(

@blaY0:

Need a little help here please :)

I have run your rom since the beginning. (you probably know) ..

I have used a Sandisk 4GB class4 card for data2ext partitioned according to your guide.. and everything worked just fine.. Nice overall speed .. Loved it..

At my birthday-party I was given a Kingston 8GB class4 card which I thought.. Wow.. Have to use.. For more storage on the Fat32 partition for music etc.

I went back to the guide.. And did a partitioning of the card..

Went for a reinstall of this rom.. To build everything from scratch on the new card. However.. All I experiencing is a total lag on the phone.. FC on startup and so on.. When going to settings to see free storage.. It takes like 5 min. just to get to the settings menu.

I have her posted a shot of my logcat.. I seems like the Data2ext is enabled correct.. but afterwards it looks like the card is changing status to "unmounted".. Any idea on how to fix this.. 'Cause it makes my phone useless.. :( .. Any help.. (from anybody) would be nice..
[Legend Android Development] stiffmast3r:
i have the same problem like u.

first time i had 4gb class 2, working all perfect, fast, smooth with data2ext.

then i buy a 8gb class 6, extreme slow, much lags and so on, also with data2ext.

1 week ago my 4gb sd crashed, dont work in my phone and pc. :mad:

i take my 8gbclass6, installed fresh b07 rom, but installed a2sd.

and its working perfect.

dont know why, but it works :o
[Legend Android Development] TheGrammarFreak:
It's been discussed before, some SD cards can't maintain a usable read/write rate when dealing with smaller files. It sucks :(
[Legend Android Development] whitetigerdk:
I tried the a2sd as well.. And it works.. however I really would love to go data2ext instead.. Hoping that blaY0 can figure out what has happened..
[Legend Android Development] stiffmast3r:
is it true that data2ext is not good for our sd card (lifetime)?
[Legend Android Development] BlaY0:
Very likely. You have nothing to loose so go for it.

Sent from my HTC Legend
[Legend Android Development] whitetigerdk:
@BlaY0:

Any news of a DarkTremor version working on the new kernels?

I have only once succeded in adding it .. on the (un)official .. Every other version I tried ended up in bootloops ..
[Legend Android Development] billyJAM:
Hi whitetigerdk

I'm awaiting in anticipation for a WWE release from you based on 3.15 froyo and DarkTremor A2SD. All the best, can't wait.
[Legend Android Development] deffez:
why my legend with this rom has crash problems and slow interface problems and htc sense crash?

someone can help me please?
[Legend Android Development] snakefox666:
Do you think that 2.2 Official version, like this one, is faster than a Cyano 6.1 ?

Anyone have made some test without OC ?

Thanks.
[Legend Android Development] flyingff82:
Not faster i'd say.

I used CM6.1, then tried this Rom and now back again with CM. Didn't make big tests, on 1-2 runs with quadrant it was almost the same score. ~850-870

Although i've the feeling that CM responds faster and (the reason for reinstalling) needs much less battery.
[Legend Android Development] wooikok:
have issues with this rom as face freezes and fc too...:(
[Legend Android Development] deffez:
me too........

my legend with this rom has crash problems and slow interface problems and htc sense crash

someone can help me please?
[Legend Android Development] Termiks:
Did you flash custom kernel from first page too? That should help.
[Legend Android Development] deffez:
no. i didn't. My problem is that i don't know wich is the right way, step by step.
[Legend Android Development] Termiks:
Download kernel to sd card...In Market download and instal ROM Manager..Run manager and in first line you will see flash clockworkmod recovery...do it. Than in rom manager go to line where is Install ROM from SD Card...tap on it and select kernel on your sd card...That's all.
[Legend Android Development] ogo2:
Just try my version, if you are not a social maniac (facebook,twitter,etc.). The perflock problem must be fixed.

http://xdaforums.com/showpost.php?p=9759943&postcount=107

I will still recomend you to flash the custom kernel from the 1st post after that.
[Legend Android Development] BlaY0:
OK, concerning DT a2sd. Is anyone willing to test this. Install latest DT a2sd via ClockworkMod recovery. Stay in recovery mode and pull off to your PC /system/bin/launcha2sd. Edit it and find line that says:

export a2sdfirstboot=`ps | $bbcmd grep -e android.process.acore -q;echo -e $?`;

...make it say:

export a2sdfirstboot=`[B]/system/bin/[/B]ps | $bbcmd grep -e android.process.acore -q;echo -e $?`;

...push it back and make it executable:

adb chmod 755 /system/bin/launcha2sd

...and report.
[Legend Android Development] Sckank:
Anyone? I can try it when I get home if noone else can.
[Legend Android Development] BlaY0:
Even better would be to download the latest DT, edit /system/bin/launcha2sd directly in zip archive and flash that zip afterwards...
[Legend Android Development] denisman:
Heading off to work now so I can't test it now but if anyone wants to give it a go I uploaded the modified DT with the edits Blay0 suggested.

http://www.multiupload.com/W4TY3FPF8H

If nobody wants to I'll flash it later when I get home.
[Legend Android Development] whitetigerdk:
I'm on this shortly..

EDIT: Tested..

I installed this in this order:

BlaY0's ROM,

The Custom Kernel from Post 1

Installed the new version of overlay-script (no kernel)

Installed modified version of DT (from post above)

Installed and booted fine..

But entering Terminal Emulator and trying to move Dalvik Cache to SD -> Stuck at HTC bootscreen..

Will try this procedure again without moving Dalvik Cache.. :)
[Legend Android Development] BlaY0:
OK, as I recall DT (I'm not using it and never have been, got my own a2sd script for that) has its install script that is being run upon flashing the zip. So after reboot should the ROM already use sdcard as app store? Or do one need to run some command via terminal to actually move them there? After moving, GUI should be restarted for changes to take effect...

I will make some tests tomorrow if I find some time during work...

Sent from my HTC Legend
[Legend Android Development] ogo2:
Hi, all.

I spend whole day to find out how to add Gingerbread look (UI Theme) to this ROM. I have some progress. Just prepared framework-res.apk with images from the gingerbread rom (res\drawable-mdpi\*existing*.png). The resulted .apk is zipalined, but it is not signed. I am not quite sure about if this is necessary...

Unfortunately i am tired to flash my phone again and again, so i want to ask if there's a volentier to test it with strong knowledge of recovery/nandroid. :)

Just PM me.
[Legend Android Development] maxq1:
i'm using dt apps2sd but on cm6.1. i hope the ff helps though..

yes, as long as an ext partition is already on sd. all apps, private or otherwise, are moved to sd-ext, except davlik-cache

only to move davlik-cache

..thought you were on vacation, bro?:eek:
[Legend Android Development] whitetigerdk:
Indeed.. Any app for Android to measure the speed?
[Legend Android Development] greenolive:
Yep, SD Speed Test (SST). Was removed a while back for some reason. But I have a copy of it here (link below). Did download it from the web so I can't be held responsible for what it might contain.

http://db.tt/eYxGSk7
[Legend Android Development] MaBlo:
Hmm why does it need permission to my phonecalls?
[Legend Android Development] greenolive:
Don't know, at all. I just provided the .apk :)
[Legend Android Development] TheGrammarFreak:
Sort of. ;)
[Legend Android Development] jul644:
.

omg i just did the same thing ! i cant belive i ruined my pants :(