yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] ungaze:
anyone(patient enough) wanna test removing bootanimation to supposedly speed up booting?

just add this line in build.prop:

debug.sf.nobootanimation=1

don't forget to time your boots. ;)
[Optimus One, P500 Android Development] vladsk8:
Ok. I took them one at a time and found out that vm-tweaks.sh was causing lag. Everything is flawless without that script. Really faster than before.

What about sd-patch.sh? Isn't 4mb cache too much? I changed it to 2mb, but can't really figure out the difference in performance. Either none, or too little difference for me to sense it. What about on paper? Is 4mb optimum provided that default is 128kb? (correct me if I'm wrong). Or any drawbacks?
[Optimus One, P500 Android Development] franciscofranco:
Thanks a lot for your feedback. My phone doesn't have any lag with all the tweaks, but I'll test it without the vm-tweaks scripts.

About the sd-patch, that setting proves perfect for me. What I have noticed is that write speed lowers a little while read speed actually improves a lot. Just change the setting until you find a suitable number for you, I bet it changes from user to user, depending as well from our sd-cards.
[Optimus One, P500 Android Development] ungaze:
these are very useful feedbacks. I feel quite good that people are using my script to its full potential - debugging.

with SD patch I use 256kb, but I also think its a case to case basis as SD cards varies a lot. Test which value suits you best. Don't forget to leave your feedback.
[Optimus One, P500 Android Development] socialdistortion:
I too felt a lag with vm-tweaks. Others seem to work well and phone feels snappier...
[Optimus One, P500 Android Development] kly91:
works for me!..great thread..
[Optimus One, P500 Android Development] kt0ce:
Hi I have a question. Do you mean to set heap size at 8 M or is that an typo. I set mine @ 48.
[Optimus One, P500 Android Development] franciscofranco:
startheapsize and heapsize are different things.
[Optimus One, P500 Android Development] kt0ce:
Thank you, sorry for a bad question.
[Optimus One, P500 Android Development] LouisTran:
Hi,

Can any1 tell me how to know that the script working right?
[Optimus One, P500 Android Development] corwin42:
This is the problem:

echo 0 > /proc/sys/vm/dirty_writeback_centisecs;

If I left this in the script, the kernel uses permanently 30-40% of CPU.

You can see this with "SeePU".

Without the Patch SeePU shows CPU load of 5-10% (peaks up to 20%) with 0-2% in kernel. With the patch SeePU shows 35-50% (peaks up to 60%) with 30-40% in kernel.
[Optimus One, P500 Android Development] lekhwani:
How to disable stagefright only. I am on cm4.
[Optimus One, P500 Android Development] Stumpalump:
Testing battery life on miks build of cm7 and all tweaks applied. Will report back.
[Optimus One, P500 Android Development] franciscofranco:
http://lmgtfy.com/?q=How+to+disable+stagefright
[Optimus One, P500 Android Development] franciscofranco:
Thanks for your feedback.
[Optimus One, P500 Android Development] sbarro:
Thanks for all your hard work, unfortunately I cannot get this to run.

"cat /proc/sys/vm/min_free_kbytes" returns 2767kb's

Browsing with Root Explorer, I see /etc/init.d/99mytweaks folder and opening it shows the script as copied and pasted from the first post.

I am running stock rooted v2.2 Does this need a modded ROM to work?

**Also tried Ungaze's SD Tweakz program, still no go.

Thanks for any help
[Optimus One, P500 Android Development] ungaze:
Yep, modded ROM indeed with "/etc/init.d script support" AKA "busybox run-parts". If youre gonna use dsixda's kitchen it's on the advanced options. Stock ROM doesn't have this. Only way is to apply the tweaks through gscript yourself manually.
[Optimus One, P500 Android Development] kpbotbot:
UPDATED Mar 31 2011 GMT +8

I got so bored so I decided to make an interactive script on enabling the tweaks found in this thread. Credits goes to those who posted them. I simply put everything in one script while retaining the ability to be able to choose which ones to activate and which ones not to.

Tweaks taken and based from here: http://xdaforums.com/showpost.php?p=12445847&postcount=117

Script download: http://www.mediafire.com/?2iim6isb4mn3wqv then place it on the root folder of your sdcard.

How it looks like:

Choose number for details and option to apply.
I highly recommend you backup first! ;)

1. Non-rotational disk tweaks
2. Schedulers
3. Dalvik tweaks
4. Read-ahead value
5. Noatime
6. Build.prop tweaks
7. TCP buffer sizes tweaks + ipv4 stuff

q. Quit.
a. about

Choice:

How to use:

su
mount -t yaffs2 -o remount,rw /dev/block/mtdblock1 /system
cp /sdcard/tweaks.sh /system/tweaks.sh
cd /system
chmod 755 tweaks.sh
./tweaks.sh

Make a backup first. I will not make a revert script (and I dont think anybody will xD) to return to stock settings, so make a backup.

Also, please report errors.

And oh, in case you're asking: "another script?!?!?!" <-- It's not just another script. I made this because some people still run the stock rooted ROM (they do exist. trust me) may want the tweaks but their ROM doesn't support init.d running thingy. So yeah, that's that.

What the parts does:

-TODO. GTG. I'll finish this part later.
[Optimus One, P500 Android Development] franciscofranco:
I'll have to update the first post with some new information regarding the feedback from some users and as well with your script kpbotbot, thank you by the way. I will probably update it tomorrow, too much work these last few days.
[Optimus One, P500 Android Development] socialdistortion:
My bad. Pointed out a right thing wrong :)
[Optimus One, P500 Android Development] Stumpalump:
Reporting back about these tweaks applied to Miks build. Currently running Beta 4 of miks cm7 port no app2sd or anything special. The difference with all of these tweaks applied is amazing! Before was getting an average of 8 hours on battery. Now I am past 16 hours with 28% left and been using it normally. Thank you so much for this!
[Optimus One, P500 Android Development] franciscofranco:
I'm so glad it helped you :) Did you applied the VM tweaks?
[Optimus One, P500 Android Development] Stumpalump:
I did apply all tweaks and running at boot.
[Optimus One, P500 Android Development] franciscofranco:
Awesome, thanks for your input!
[Optimus One, P500 Android Development] franciscofranco:
EDIT: First post updated, please check it.
[Optimus One, P500 Android Development] kpbotbot:
You mean stock ROM? ;)
[Optimus One, P500 Android Development] franciscofranco:
Yes nevermind - this is what 3 hours of sleep does.
[Optimus One, P500 Android Development] AsherChua:
Guys I'm abit confused by this.Do I use franciscofranco's method or kpbotbot's method?
[Optimus One, P500 Android Development] kpbotbot:
@AsherChua - depends on what you want. If your ROM supports busybox runparts, it might be easier if you use ungaze's method. If you're running the stock ROM(or just want to download only one file), use mine. Most (or all) stuff on our scripts are taken from franciscofranco (:

Also, updating my script (:
[Optimus One, P500 Android Development] franciscofranco:
Kpbotbot explained it pretty good. My method is the hardest for the common user, ungazes one's pretty good to debug and easier to implement, kpbotbot is mainly for stock roms without busybox, but you can use it as well.
[Optimus One, P500 Android Development] kpbotbot:
Updated. It should be easier to use now (;
[Optimus One, P500 Android Development] t3chg33k:
I am using CM7 b4 and I started off with the SD Tweakz method. Unfortunately, the phone doesn't boot as soon as I place the scripts in the scriptz folder (tried only with all the scripts, so don't know which one might be causing a problem).

So I guess placing the twekas script in init.d and setting the permissions is the best way to go.
[Optimus One, P500 Android Development] kly91:
As stated at the updated first post, my build.prop was the same as before even after applying the setprop tweaks..

However i was able to edit the wifi supplicant to 200 but i can't seem to find the other items that i need to edit..all that i can see is the wifi supplicant..

By the way i'm using LOL1.4.2. And I think the VM tweaks is working for me..though i occasionally experience lag time for just about 4 seconds then its smooth as silk again..I don't know why..
[Optimus One, P500 Android Development] franciscofranco:
Exactly...check first post, there you got all the info. When you don't have the items in build.prop you gotta add them yourself. About the "lag" just disable dirty_writebacks_centisecs. The "suppossed" explanation is on the first post.
[Optimus One, P500 Android Development] kly91:
Thanks but i'm new to these tweaking..will i just add it at the end of the build prop as new lines like this?

mot.proximity.delay 25

windowsmgr.max_events_per_sec 60

dalvik.vm.startheapsize 8m

ro.ril.hep 1

ro.ril.enable.dtm 1

And by disabling the dirty_writebacks_centisecs you mean replacing the 0 value to 1 in the vmtweaks right?
[Optimus One, P500 Android Development] ungaze:
Regarding setprop.

As I've explained before somewhere, setprop won't change anything from your build.prop file. Instead, in theory it will simply override it and set the new properties and apply them, again in theory. Which we can check by getprop and check if the property we have set really did get changed.. Now my question is, "is it really doing it's job?". Sure getprop shows that you have changed a prop, but is it working? Can anyone test if it something really gets applied regardless of what getprop says?

I have an idea, i can test if I get the time but currently i don't so i'll just share it to you guys and maybe someone can do it before I do.

1. check if stagefright is disabled or enabled by entering the "getprop" command in terminal. This would result into a ton of texts, just scroll up and look for this lines:

media.stagefright.enable-player=false
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=false

2. now get superuser by typing "su"

3. set each parameter to true if the result of getprop is false and vice-versa by entering each command on terminal:

setprop media.stagefright.enable-player true
setprop media.stagefright.enable-meta true
setprop media.stagefright.enable-scan true
setprop media.stagefright.enable-http true

4. now to check if the settings DID get applied, use quadrant and benchmark it. if you enabled stagefright and quadrant gave you a score of around 1k then the setprop command really does implement the change. If you enabled stagefright and get scores around 500, then setprop along with getprop is just fooling us and really does nothing.

Reason I can't test it out, cause I'm trying out a new method to "REALLY" change build.prop contents and also allows you to a bunch of tweaks all from terminal with just few keystrokes. In short a new script.
[Optimus One, P500 Android Development] ungaze:
could you make another test with just one script applied? would really be helpful with my revision. Thanks
[Optimus One, P500 Android Development] franciscofranco:
No, just delete that line and apply it.
[Optimus One, P500 Android Development] kly91:
got it pardz..ok na ung stagefright..thanks..ung sa setprop, i think its all ok now, at first the other lines except for the wifi supllicant was not visible even if i run getprop,,but after adding the lines at my build.prop, it appeared now at the getprop..and was i doing the right thing by replacing the 0 value in the dirty_writeback to 1? Because after a reboot the 4 second lag was gone already..
[Optimus One, P500 Android Development] kly91:
lol..that's what i first thought of but i changed my mind..anyway i deleted it now..thank you!
[Optimus One, P500 Android Development] franciscofranco:
No problem ;) Enjoy.
[Optimus One, P500 Android Development] bluviper:
i really still cant get the batt life extension these scripts promises... how come?

i have calibrated my batt many times.

» charged to full

» clear batt stats

» use until its empty

» charge to full

» and use

2nd step

» charge to full

» use until its empty

» charge to full again

» and use

still the battery is eating out. even when my phone is on standby the whole night

wifi off, gps off, auto sync off. silent mode, with 10% brightness. no vibration when typing sms. hhmm wot else?

after all that saving features, the phone still eats up like 10% the whole evening.

when installing this, should i wipe something?

or is there an undo file on the very updated scripts on boot. so that i can undo it then re-apply once again
[Optimus One, P500 Android Development] franciscofranco:
Which rom are you using?

If you don't want the tweaks anymore, if you're using my method you just jave to delete the file created inside init.d and reboot.

My phone has been up for 1 day and 12h and I still have 36% battery left with normal usage, so either it's your rom, an app running in the background eating CPU cicles, or your battery is busted.
[Optimus One, P500 Android Development] bluviper:
ok.... i think my batt can last the same as yours in normal usage... and also play games a bit. i know because ive been thru the whole situation before monitoring my batt life.

by the way, im using Nessy #Fenice ROM.

LauncherPro Plus with 3 homescreens and around 7 widgets running.

i have a call blocker, watchdog and droid wall running on the background.

thanks.. i guess this is the farthest that our batt can go... i can no longer ask for more.

i thought i was the only having that issue.

yes i can confirm that my phone can last thru 1day & 12hrs from full charge and still have 36% to spare....
[Optimus One, P500 Android Development] franciscofranco:
With froyo you can achieve a little more. I'll give you some hints from personal experience/researching etc:

- Overclock: 480 min, 729 max (at least) ondemand governor. 480 min actually improves battery life because, as ungaze told me, the voltage difference between 125 and 480 is the same, so rather have an higher frequency without battery impact and have better performance out of the box. That way the CPU won't need to do big frequency jumps and you'll save 2/3/4 secs of processing each time you wake up the phone, for example (numbers are made up to illustrate my point), in comparison with having 125 or 250 mhz min. That way everything is smoother and battery will last longer.

- Download Spare Parts and set Animation and Trasition speeds to Very Low. Everything will be super smooth and I think it helps on battery as well.

- Get rid of those widgets, they eat your battery.

- Live wallpapers as well, get rid of them if you have them.

- If that droid wall is a firewall...seriously you don't need that.
[Optimus One, P500 Android Development] bluviper:
yeah, actually it was just my second day as ive reverted back to using widgets. in lieu of my fav launcher.. sheesh...

i was using Launcher7 back then with only 1 homescreen.

and yes.. i know the impact of widgets....

just didnt know why i had droidwall in the first place *lol*

prolly an old app needed to be shut up....

and yes, i too have the same setCPU frequencies... thanks for ungaze.

i got your word for that... many thanks amigo!
[Optimus One, P500 Android Development] ungaze:
Did you try the test that I've mentioned above? What's the result? Did you get the proper quadrant result after changing the stagefright status with setprop? I'd really appreciate the result cause this would give conclusion to how setprop impliments it's changes.
[Optimus One, P500 Android Development] kly91:
After setup I tried quadrant and got a score over a thousand but after reboot I got a low score of 806..tried it again and the same results..

when i checked using getprop the settings went back to false..so i just went to my buildprop and manually edited it there..after reboot, it didn't went back to false
[Optimus One, P500 Android Development] ungaze:
yep, seems like setprop along with getprop is just fooling us. settings cant be felt and seems un-applied(for build.prop entries at least), unless someone can do more extensive tests and prove me wrong.

making a better script for this. might take time though, i'm still in the learning process of making scripts work and optimize them. good thing theres people around willing to test and give advice when you need it. thanks guys. off to work i go.
[Optimus One, P500 Android Development] kokesh:
How about Sysctl Control app for root? You can do tweaks via interface!
[Optimus One, P500 Android Development] AsherChua:
Hey I downloaded the initial script from ungaze and also put all the tweaks in /sdcard/scriptz . I flashed the initial script from ungaze in recovery and rebooted.Nothing actually happened.Its like a normal reboot.Am I doing something wrong?
[Optimus One, P500 Android Development] ungaze:
Nothing special should happen, but unnoticeable improvements should be applied(like sdcard/nand memory optimixation, minor battery enhancement, minor internet strength etc). best way to check if tweaks were applied is by terminal. type

getprop

scroll up and look for something like

wifi.supplicat_scan_interval=200

200 = works

other than that = fail
[Optimus One, P500 Android Development] franciscofranco:
Yes, it should work. Still, and speaking by myself, I'd rather do it harder and manually.
[Optimus One, P500 Android Development] bluviper:
actually i do not have this line when i boot up after applying the script:

wifi.supplicat_scan_interval=200

so i put it manually... also is the braces "[ ]" character matters the way they are place?

because some are place like this

]net.tcp.buffersize.default]: 4096,87380,....
]net.tcp.buffersize.wifi]: 4096,87380,....

and so fort and so on....

other lines.. i cannot find....
[Legend General] sal_911:
Hey guys so Ive installed the Live wallpaper hack from XDA i think it was the Rodriquezz rom patch for live wallpapers on the legend..I got it working and everything i was just wondering is there anyway to use it on the lockscreen too? Because when I go to settings to change lockscreen wallpaper i dont see a live wallpaper option as i do with normal wallpaper for the homescreen...

thanks :D
[Legend General] Asovse1:
That's if you have Froyo. Because then, there will be no option to change the lockscreen's wallpaper, and it will use the one you have on your homescreen instead.

It makes sense (hurr not really but sorta pun) to flash a 2.2 ROM instead, because I assume this hack requires you to already have your device rooted.
[Legend General] sal_911:
Well, Im rooted lol I used the tut from paul at modaco, I guess im on froyo? Because i can change the lockscreen wallpaper, i just dont have the option for live wallpaper.
[Legend General] Asovse1:
Rooting doesn't automatically give you Froyo. Unless I misread everything you said.

Sorry if I did.
[Legend General] sal_911:
hmm..k lol sorry for my nubness -_- this is the tutorial i used...http://android.modaco.com/content/h...-r4-htc-legend-rooting-guide-now-with-1-31-x/

so what rom am i on right now then? and did you happen to know how to nand unlock and get r/w access?
[Legend General] Asovse1:
You're still on the ROM you installed during rooting. It's nothing special, thank goodness it's not Froyo either.

Now you can flash a custom ROM through ROM Manager and enjoy Froyo from there!

EDIT: Oh yeah, installing custom ROMs wipe everything. And there are specific instructions for each ROM too. Look for ROMs and special goodies that you can use with ROM Manager in the Dev section of the Legend's forums.
[Legend General] sal_911:
yea i actually tried Cyanogenmod it was nice but i diddnt like it much, so i rolled back..what else is out there? Im running the stock rom that came with my phone originally now...i have tons of apps and my contacts in it so its gonna be pretty ***tty putting it all back on a new rom :P
[Legend General] Asovse1:
There's cryshop's American mytouch roms for the American t mobile devices, and the one I'm using, Blayo's ROM
[Legend General] Botloos:
download "App Backup & Reinstall" from the market, reinstalls every app you have with a small backup file. Cache and settings are lost though...

And for your contacts, you van backup them to a Vcard (.vcf file) in Contacts > Menu > Import/Export ;)

Titanium Backup is an option aswell since your device has root acces already.
[HTC Inspire 4G] plmiller0905:
Check this out:

http://www.androidcentral.com/

I may be canceling my ATT service if this Evo 3D lives up to the hype and specs...unlike the Atrix.

But these specs are unbelievable...their insane!
[HTC Inspire 4G] newter55:
I like to have coverage with my cell phone. Other than that small issue it looks like a sweet device.
[HTC Inspire 4G] Aridon:
Sprint? No thanks. I prefer my 3.2 down on at&t vs .2 with sprint in my area.
[HTC Inspire 4G] netnerd:
3.2 down? haha

try verizon thunderbolt LTE 4G! 17MB down!!!

the only reason i staying with att cus they have the cheapest plan!

family plan starting at 59.99 VS 69.99 on verizon

25$ for 2gig data (i rarely go over 2gb) VS no point of paying 30$ data on verizon!

when verizon able to match att prices, i'm gone! i getting really tired of att BS fake 4G phones and fake 4G network!
[HTC Inspire 4G] klquicksall:
I would rather not have cell service that to go back to sprint.
[HTC Inspire 4G] plmiller0905:
So for me...if I'm not mistaking, with the 15% discount I get for working for that state, my ATT family plan comes to about $140...that includes 700 Share minutes, 2GB of data for both my Inspire and wife's iP3Gs. Family text messages

Now with Sprint and my 23% discount..I get 1400 Share minutes, Nights Free starting at 7pm, UNLIMITED data,UNLIMITED text and my bill was just under $120

That's why I'm wondering when exactly these devices launch on Sprint. Because if they launch within a month, I'm going to cancel my ATT service and grab one of these new devices.

I don't want the Atrix because of the locked bootloader, I'm not really feeling the Nexus S because of it has no SD Card slot but I may still grab it. I'm really looking forward hear about this Evo 3D. But if it fails to meet expectations like the Atrix, I'm just gonna stay with my Inspire.
[HTC Inspire 4G] mudknot2005:
I'm not to worried because we will Prolly get something along the lines of an inspire 3d LTE eventually...
[HTC Inspire 4G] californiarailroader:
Lol Me too :D Sprint doesn't even have service here in Mendocino County, beyond roaming on U.S. Cellular and Verizon that is.
[HTC Inspire 4G] IsraelR:
I was messing around with my buddy's Thunderbolt the day they came out and couldn't get higher than 1.5mb/s. Maybe he doesn't have LTE coverage yet.
[HTC Inspire 4G] 0space_monkey0:
http://network4g.verizonwireless.com/#/4g-network-verizon-wireless

^there you go...

i was tempted for the thunderbolt, but im just going to stick with at&t with the inspire until both their LTE networks have expanded beyond major cities. (should be pretty wild in 2 years huh?)
[Galaxy 3 General] YanOri:
hi, just wanted to ask, is it possible to delete some of the built in apps like

all share, layar, think free office etc ?
[Galaxy 3 General] i_rnb:
Yes . Use titanium... Delete SYSTEM APPS by its batch operation.. :)
[Galaxy 3 General] rogue93:
Or you can use root explorer. Go to system/app. You will have all the apps installed on your phone. Remove the apps you dont want.

Sent from my Lestatious v1.4.5.1 Galaxy 3 FROYO
[Galaxy 3 General] i_rnb:
Unistallin via root xplorer is nt so effective.. U see there many apps (eg. Live wallpaper) use library at /system/lib ... So in those case u hav to remove d library too..
[Galaxy 3 General] Kaleptik:
I highly suggest against this. If you need the aop later, the lib files won't be there.

Sent from my Lestatious v1.4.5.5 Galaxy 3 FROYO
[Galaxy 3 General] ROLY5573:
Root Uninstaller from the Market seems to be the most simple way to remove those unwanted apps.
[Galaxy 3 General] kyrillos13:
I suggest titanium... :)
[Galaxy 3 General] ralbuh:
ES File Explorer is my favorite, it's a very good file explorer and it has options for root and system read/write.