The time changes in build.prop walk testing, here are some improvements ...
They can also be applied to stock roms!
The optimization can vary from one device to another (I believe)! : Confused:
Be careful not to duplicate lines!
If you do not have the line, you can add it to end!
For the changes you need a file manager (with root access)
How: Go to System / build.prop build.prop and open with text editor and add (if not already) or change for better results!
Just made the changes save and exit and restart the machine!
Note: I am not responsible for killing your phone! Use at your own risk! It is indicated by guarantee having a backup!
1. Increase to 100% quality JPG
Code:
ro.media.enc.jpeg.quality = 100
2. render UI for GPU
Code:
debug.sf.hw = 1
3. Decrease delay dial
Code:
ro.telephony.call_ring.delay = 0
4. Help answer scroll (higher the value, the answer scroll!)
Code:
windowsmgr.max_events_per_sec = 150
5. battery Save
Code:
wifi.supplicant_scan_interval = 150
pm.sleep_mode = 1
ro.ril.disable.power.collapse = 1
6. Disable debugging notification icon in the status bar
Code:
persist.adb.notify = 0
7. Increase the overall touch response
Code:
debug.performance.tuning = 1
video.accelerate.hw = 1
8. Signal (3G) tweaks
Code:
ro.ril.hsxpa = 2
ro.ril.gprsclass = 10
ro.ril.hep = 1
ro.ril.enable.dtm = 1
ro.ril.hsdpa.category = 10
ro.ril.enable.a53 = 1
ro.ril.enable.3g.prefix = 1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5
9. Net speed settings
Code:
net.tcp.buffersize.default = 4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi = 4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts = 4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs = 4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge = 4096,87380,256960,4096,16384,256960
10. Disable the animation to boot faster startup
Code:
debug.sf.nobootanimation = 1
11. Phone will not wake up by pressing the volume
Code:
ro.config.hwfeature_wakeupkey = 0
12. enable JIT
Code:
dalvik.vm.execution-mode=int:jit
13. disable JIT
Code:
dalvik.vm.execution-mode=int:fast
14. enables lockscreen to unlock menu button (true = false = enable and disable)
Code:
ro.config.hw_menu_unlockscreen = false
15. disable black screen after a call
Code:
ro.lge.proximity.delay = 25
mot.proximity.delay = 25
16. Fix some application issues
Code:
ro.kernel.android.checkjni=0
17. Photos and videos with the recording quality
Code:
ro.media.dec.jpeg.memcap = 8000000
ro.media.enc.hprof.vid.bps = 8000000
There are some other tweaks, so far posted only tested by me! If anyone has any better or any setting is only post I will be making additions and changes! Enjoy!
Credits Jazux Knzo and the same!
Thanks
Sorry for poor English!
Nice work that you got them all together! /sarcasm
To bad you did not link to the original topic and give proper credits for the man that searched for hours and hours to make a complete list
Sent from my Optimus 2X using xda premium
owain94 said:
Nice work that you got them all together! /sarcasm
To bad you did not link to the original topic and give proper credits for the man that searched for hours and hours to make a complete list
Sent from my Optimus 2X using xda premium
Click to expand...
Click to collapse
Yes, nice work. I don't care about the original link as long as this particular one is the one that helps ME.
So thanks, this was helpful!
owain94 said:
Nice work that you got them all together! /sarcasm
To bad you did not link to the original topic and give proper credits for the man that searched for hours and hours to make a complete list
Sent from my Optimus 2X using xda premium
Click to expand...
Click to collapse
Ok! As the credits!
They were not taken from only one site.
Owain shut up, because the ones like you people dont want to develop for minis and you will scare away another dev/programer
Sent from my U20i using XDA Premium App
Driveskull said:
Owain shut up, because the ones like you people dont want to develop for minis and you will scare away another dev/programer
Sent from my U20i using XDA Premium App
Click to expand...
Click to collapse
Ehhm excuse me?
Chill out man you don't know me
And I don't scare him away
I just told the man to give proper credits
the tweaks he post are nice tweaks...
But it is nice to see some credits
Gustavo RD78 said:
Ok! As the credits!
They were not taken from only one site,
sorry, it was not my intention!
Click to expand...
Click to collapse
No need to sorry was just saying you know
Sent from my Optimus 2X using xda premium
Nice to see Owen94 around in mini forum .. he was the most exiting developer for mini .. newbies should think before commenting on recognized developers like him...
Sent from my X10mini using XDA App
anything from this topic has effect on miniCM7 2.1.1 with new kernel?
llava said:
anything from this topic has effect on miniCM7 2.1.1 with new kernel?
Click to expand...
Click to collapse
Yes, I did several tests and all those who tried were successful!
But you can guarantee to keep a backup ... : P
Hi!
I want to change the audio bitrate in video recording.
possible to make code for this or no?
ES File Exlorer FORCE CLOSES
I tried except 4,6,10,11,12,13,14,15 and then my ES file explorer got this problem. It won't open and prompt force close
Related
Hi,
Here's a SystemUI.apk which seems to fix the high cpu problem when charging on P500 CM7. Note: I only edited the graphical icon not the battery percentage.
How to install: remove SystemUI.apk and SystemUI.odex in /system/app/, push the new SystemUI.apk to /system/app/
Possible cause of the problem:
On receiving battery change intent, cmbatteryminiicon creates a handler which causes redraw on scheduled time, the problem is, it should only create the handler once, since the handler schedules itself for execution next time. Therefore, we got increased amount of handlers triggering redraw over time which causes the increased cpu usage over charging time.
Also attached is the edited CmBatteryMiniIcon.java
Note: a simple way to check your cpu load when charging is to install an app that shows your CPU load in the statusbar, e.g. SeePU. Charge your phone for 30 minutes and then check your CPU load. If your ROM has the bug, SeePU will continuously shows your CPU load as a 100% (full red color).
Note: requires mik_os' CM7 beta 6.5.1, wipe dalvik cache in recovery.
Note: added a new flashable zip: systemui-faster-animation for those who feel the new animation is too jumpy (aka slow) to test
28/05/2011 Anyone with empty battery could please test this new zip . I have change the animation timer based on current battery level but since my battery is still full I cannot see the animation from the beginning.
It should be made flashable.
Testing it now.
Nice work. Now go get you self 10 posts and post it in mik_os thread.
Sent from my LG-P500 using XDA Premium App with missing Thanks Button.
Please create flashable zip, there is another file CmBatteryMiniIcon.Java, do we need to push that files also.
Thanks.
It's quite simple without flashable zip:
1. reboot into recovery
2. connect phone to computer
3. adb shell
# cd /system/app
# rm SystemUI.*
# exit
4. adb push SystemUI.apk /system/app/
5. reboot phone
You only need to put the apk, the java file is only required if you want to compile android.
Yes, we need a flashable zip, plz create one soon, thanks!
Ok I already installed it but with root explorer but I don't recomend root explorer method.(Only for those who knows what they are doing)
Sent from my LG-P500 using XDA Premium App
eagledipesh said:
Please create flashable zip, there is another file CmBatteryMiniIcon.Java, do we need to push that files also.
Thanks.
Click to expand...
Click to collapse
No u don't its source code. For developers.
Sent from my LG-P500 using XDA Premium App
4silvertooth said:
No u don't its source code. For developers.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Ok thank you both
How do we know that currently we are having high CPU usage while charging?
Sent from my LG-P500 using Tapatalk
lekhwani said:
How do we know that currently we are having high CPU usage while charging?
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
Use Watchdog Lite.
Go to CPU usage in the app and you can see status bar using more than 30% CPU while charging. Sometimes it takes more than 50% as well.
Will try it now. Btw I am charging now and opened setcpu. It is showing frequencies between 320 and 600 and I am not doing anything. Does this behavior also confirm this? I am on 245/729 ondemand.
Sent from my LG-P500 using Tapatalk
Seems to have solved the high cpu. The charging animation isn't smooth anymore though, and flashes between animation frames.
A small price to pay to have the status bar use less than 1% of the cpu instead of all of it.
Thanks for this fix!
The high cpu usage doesn't start immediately but after some time of charging you can also use mini info app to check CPU usage. Setcpu just shows the clock speed and not CPU usage.
Sent from my LG-P500 using XDA Premium App
lekhwani said:
Will try it now. Btw I am charging now and opened setcpu. It is showing frequencies between 320 and 600 and I am not doing anything. Does this behavior also confirm this? I am on 245/729 ondemand.
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
Probably yes.i.would use android assistant though it gives a exact graph and it's easy to see what the usage is sometimes when I plug mine in it it will ride on 90% milk of aware of the bug have you told him about the fix will he be putting it in his next beta version???? if so I'll probably wait for the official fix
LG-P500 using XDA Premium App running CM7, ungaze data2sd, over clocked at 787 quadrant score 2100
nogav said:
Seems to have solved the high cpu. The charging animation isn't smooth anymore though, and flashes between animation frames.
Click to expand...
Click to collapse
In the original code, the charging animation frame is updated every 1 second, so I don't think it's supposed to be smooth.
Flashed the zip
Before flash:
After flash:
In short CPU usage reduced to 1% from 35-60%.
This is kind of a genius work.
But after rebooting my 3g is working but not showing the h sign.
Scrolling lag while charge also seems to be gone.
Will check further.
Sent from my LG-P500 using Tapatalk
lekhwani said:
How do we know that currently we are having high CPU usage while charging?
Click to expand...
Click to collapse
If you are running adb you could:
adb shell
vmstat
{ctrl-c to exit}
The id column is the one that shows idle percentage.
# vmstat
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
0 0 210600 51504 112456 9272 100 228 0 1 0 2 97 0 0
0 0 210600 51504 112456 9272 138 217 0 0 0 1 99 0 0
0 0 210600 51504 112456 9272 110 214 0 3 0 2 96 0 0
0 0 210600 51504 112456 9272 136 208 0 0 0 2 98 0 0
^C
In this example my OptT shows 1-4% CPU use (ie, 96-99% idle). So the charging cpu bug was not in effect during this demonstration.
I've de-emphasised the first line because traditionally the first line of vmstat output shows since-boot average or something, and the subsequent lines are snapshots. Dunno if it's that way in this shell (busybox?) or not but thought I'd mention it.
so maybe i was not supposed to do this but i just flashed the zip (didnt do the other steps) and now my notification bar is gone???? but it did fix the charging bug ... how can i fix??????? i saw the posted steps but then i saw the sighed zip and figured you can just use that
dislplin01 said:
so maybe i was not supposed to do this but i just flashed the zip (didnt do the other steps) and now my notification bar is gone???? but it did fix the charging bug ... how can i fix
Click to expand...
Click to collapse
I didn't test the flashable zip, so I don't know if it works or not. If your statusbar is gone then android cannot run your com.android.systemui process. You can either flash your ROM again or use adb to replace the systemui.apk
Here's my updater-script:
Code:
mount("yaffs2", "MTD", "system", "/system");
delete("/system/app/SystemUI.odex");
package_extract_dir("system", "/system");
unmount("/system");
Hmm, is this apk tied to a special version of mik's CM7 build? I use Beta 6.5. Installed with adb shell (removed SystemUI.apk and SystemUI.odex and then copied new SystemUI.apk to /system/app). I get constantly get FCs.
Will try to wipe dalvik cache and reboot again...
Hey Guys,
Im a final year software engineering student at staffordshire university. For my final project im making a colour identification android application for colour blinded people. Till now I know how to get the RGBA values from a particular pixel area. But guys how can i convert those values in to certain colour name so i can give it back to the user in voice+text. Please help.. im kinda stuck in getting the colour name from the RGB values
thanks
Hi, I'm not aware of any lib that will convert RGB to text, but you can build your own ! First of all, you must pick up a color 'threshold'. RGBs goes 0-255,0-255,0-255 so there are 256^3 possible colors to map... hmmm I think too many
What if we approx the colors dividing each 256 in a 4 group (threshold = 85) ? We would then have just 64 colors to map (4^3) that would be much easier to manually map the colors to names .
Then take your RGB value and approximate it to the upper (or lower) class and check it against your brand new array composed by RGB approxed values, and extraxt its name
ex.
Code:
0-0-0 = Black
0-0-85 = Very dark blue
0-0-170 = Dark blue
0-0-255 = Blue
0-85-0 = Rotten Green
0-85-85 = Water
0-85-170 = Poisoned water
0-85-255 = Azure
0-170-0 = Light green
0-170-85 = colorName
0-170-170 = colorName
0-170-255 = colorName
0-255-0 = colorName
0-255-85 = colorName
0-255-170 = colorName
0-255-255 = colorName
85-0-0 = colorName
I made you this PHP script that might help you in choosing the correct threshold (that will affect the overall accuracy of your color recognition) and give a name to the color. Just change the $th = value .
PHP:
<?php
// Color threshold
$th = 85;
$count = 0;
for ($i=0; $i<=255; $i= $i+$th) {
for ($j=0; $j<=255; $j= $j+$th) {
for ($k=0; $k<=255; $k= $k+$th) {
echo $i . '-' . $j . '-' . $k . '</br>';
echo '<div style="width:50px; height:50px; background:rgb('.$i.','.$j.','.$k.');"></div>';
$count++;
}
}
}
echo "Total colors: ".$count;
?>
Good luck, if you got lost in my words, feel free to ask me for light !
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
lufc said:
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Click to expand...
Click to collapse
Isn't the development section for asking development related questions? Who trawls the Q&A section for development help? I certainly wont go looking there for development related material since the section this was posted in clearly says "Development". Worldwide, Q&A != R&D, Q&A = "eh? where does my battery plug in?"
To answer the question, I found this little gem: Set RGB color codes for android and RGB color look up table
The easiest way would be to use a table like that the as some sort of look up table. Try and mirror .net's Color.GetKnownColor(int r,int g, int b) method. Browse around the mono code for an idea how how you can implement this. Read the pixel, then try and match the rgb values with your table. Good luck
Aww thanks <3 hey you have any idea about colour tracking also in android
princessDroid3 said:
Aww thanks <3 hey you have any idea about colour tracking also in android
Click to expand...
Click to collapse
You mean something like this blob tracker?
ell3 said:
You mean something like this blob tracker?
Click to expand...
Click to collapse
well can I change the blob to detect only squares
Im looking for an app either Paid or free APP
Wherein i can input equations like
3x + 4y +3 = 0
Where i can input not one but two variables
All i could find is apps which can take only 1 variable :/
Any help please
Science Graduate in need of help
Qwerty123 \m/ said:
Im looking for an app either Paid or free APP
Wherein i can input equations like
3x + 4y +3 = 0
Where i can input not one but two variables
All i could find is apps which can take only 1 variable :/
Any help please
Science Graduate in need of help
Click to expand...
Click to collapse
graphing calculator i used in high school only accepted one variable. Couldn't you change the equation so that it was y = 3/4x + 3/4 and graph that? sorry if i didn't help.
Here I am presenting the five different brightness mod to adjust brightness of capacitive button's backlight. Requirements, Procedure and mods are given below.
Requirement-
1 Root explorer or any similar explorer
2 Sharp mind
Procedure-
1 Open the root explorer and go to system/etc. Here you will find a script named as" hw_config.sh ".
2 Open the script or file as the text in text editor with the help of root exploprer.
3 Now scroll down to the last line and after that line add one of the required brightness mod line which one you like into it as given below. (Don't add all lines of different mods. )
4 Now reboot and done.
Five Different brightness mods-
1 Very High Brightness mod-
echo 10000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
2 High Brightness mod-
echo 7000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
3 Medium Brightness mod-
echo 4000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
4 Low Brightness mod-
echo 1000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
5 Zero Brightness mod-
echo 1 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
Important note:- If any line similar to these lines already exists in script or file then first delete that line or replace it with one of mods.
Recomended and tested successfully with stock kernel, can't say about custom kernels.
Press thanks if you thinks this post is useful to you.
Great
Is this applicable to ray
Sent from my ST18i using xda app-developers app
dheeraj.nijghal said:
Is this applicable to ray
Sent from my ST18i using xda app-developers app
Click to expand...
Click to collapse
Yes, for sure.
i'm using cm10 on my sk17. and in there is a line in the file "echo 500 > $dev/button-backlight/max_current" by default. and the brightness is very high. Tried various times and found that the minimum value that can be given is 150 on cm10. If you want more light, just increase in small steps...
shivamcheat said:
i'm using cm10 on my sk17. and in there is a line in the file "echo 500 > $dev/button-backlight/max_current" by default. and the brightness is very high. Tried various times and found that the minimum value that can be given is 150 on cm10. If you want more light, just increase in small steps...
Click to expand...
Click to collapse
ok thanks.
why this is not f**king working for me ...?!?
ok, had this problem and dont know wheres here the problem
1. i hate bbl (=buttonbacklight) so i disable it with Mini-Ultrabrightness mod and all was fine!
but after changing kernel to kappa kernel (1.6) the bbl was very bright AND NO way to disable it...?!?
---> edited hw_config file like here = no changes
---> flashed Mini-Ultrabrightness second time = no changes
---> make a script with value echo 1 > $dev/button-backlight/max_current / and also tested values for 1 button etc.. = no changes
before it was no problem changing the bbl, but after usig kappa kernel the bright backlight persist, even after flash diffrent kernels
..... MY QUESTION IS: anbody knows whats happenning there?? or haw to diable bbl with a diffrent (safe ) method??
it would be really nice.
thanks. and SFBE (=sorry for bad english)
bejunk said:
ok, had this problem and dont know wheres here the problem
1. i hate bbl (=buttonbacklight) so i disable it with Mini-Ultrabrightness mod and all was fine!
but after changing kernel to kappa kernel (1.6) the bbl was very bright AND NO way to disable it...?!?
---> edited hw_config file like here = no changes
---> flashed Mini-Ultrabrightness second time = no changes
---> make a script with value echo 1 > $dev/button-backlight/max_current / and also tested values for 1 button etc.. = no changes
before it was no problem changing the bbl, but after usig kappa kernel the bright backlight persist, even after flash diffrent kernels
..... MY QUESTION IS: anbody knows whats happenning there?? or haw to diable bbl with a diffrent (safe ) method??
it would be really nice.
thanks. and SFBE (=sorry for bad english)
Click to expand...
Click to collapse
u need to create or edit pre_hw_config.sh
Nice tutorial...
Will try when I get time...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
hey guys
wont this only apply to back button????
Not working in mine Xperia mini pro with kappa kernel 1.6
Please help me...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
rockstardeepaksharma said:
Not working in mine Xperia mini pro with kappa kernel 1.6
Please help me...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
Click to expand...
Click to collapse
Strange because kappa 1.6 is the only custom kernel with which I have tested all these mod and they all work fine with this kernel[kappa 1.6 for simultron].
Mankotialovely said:
Strange because kappa 1.6 is the only custom kernel with which I have tested all these mod and they all work fine with this kernel[kappa 1.6 for simultron].
Click to expand...
Click to collapse
i was using zero brightness trick but it doesnt helped me :'(
rockstardeepaksharma said:
i was using zero brightness trick but it doesnt helped me :'(
Click to expand...
Click to collapse
Under LMU AS3676 Configuration add these lines-
echo 1 > $dev/button-backlight/max_current
echo 0 > $dev/button-backlight/max_brightness
echo 1 > $dev/button-backlight-rgb1/max_current
echo 1 > $dev/button-backlight-rgb2/max_current
Now reboot 2-3 times and between every reboot provide some time also delete any previous lines which are similar to these or simply replace there value with these one.
Interesting thread...
Is there any way guys for the capacitive buttons to have backlight ONLY when we press them, not only every time the screen is on?
Alternative: can we change their backlight timeout?
thx
Mankotialovely said:
Here I am presenting the five different brightness mod to adjust brightness of capacitive button's backlight. Requirements, Procedure and mods are given below.
Requirement-
1 Root explorer or any similar explorer
2 Sharp mind
Procedure-
1 Open the root explorer and go to system/etc. Here you will find a script named as" hw_config.sh ".
2 Open the script or file as the text in text editor with the help of root exploprer.
3 Now scroll down to the last line and after that line add one of the required brightness mod line which one you like into it as given below. (Don't add all lines of different mods. )
4 Now reboot and done.
Five Different brightness mods-
1 Very High Brightness mod-
2 High Brightness mod-
3 Medium Brightness mod-
4 Low Brightness mod-
5 Zero Brightness mod-
Important note:- If any line similar to these lines already exists in script or file then first delete that line or replace it with one of mods.
Recomended and tested successfully with stock kernel, can't say about custom kernels.
Press thanks if you thinks this post is useful to you.
Click to expand...
Click to collapse
i have been facing a problem,i have installed "OpenSEMC-mr2-alpha2"
when i control my brightness the illumination bar light remain full
but in stock ROM when i reduce my brightness the intensity of that illumination bar light also decreases .
it is very annoying if you are doing something in night with low brightness and the illumination bar light is full.
please help
how tot enable ultrabrightest ?
Can anyone with gpe or 4.3 post a screen shot of your touchscreen settings file called
max1187x_touchscreen_0.idc
Located at
max1187x_touchscreen_0.idc in the /system/usr/idc directory
Thank you
one better? pulled from 4.3 system:
Code:
# Device Type
touch.deviceType = touchScreen
# Touch Filter
touch.filter.level = 2
touch.filter.path = /system/lib/touchfilter/tftype4.so
touch.filter.tftype4.Enabled = 1
touch.filter.tftype4.AssumedDelayFactorA = -11.71
touch.filter.tftype4.AssumedDelayFactorB = 12.53
touch.filter.tftype4.AssumedDelayFactorC = -0.81
touch.filter.tftype4.MaxSpeed = 0.036
touch.filter.tftype4.PositionFactorA = 0.2
touch.filter.tftype4.PStablePositionFactor = 0
touch.filter.tftype4.DirectivePriorityFactor = 0.95
touch.filter.tftype4.LatestSpeedWeight = 0.9
touch.filter.tftype4.GapResolver = 0.8
touch.filter.tftype4.OrgSize = 8
touch.filter.tftype4.AccSize = 8
touch.filter.tftype4.AddInitialAcc = 1
touch.filter.tftype4.DefaultInitialAcc = 0
touch.filter.tftype4.DragRangeSize = 3
touch.filter.tftype4.NoAccDistanceMin = 15.0
touch.filter.tftype4.NoAccDistanceMax = 580.0
touch.filter.tftype4.NoAccRate = 0.3
Thanks! It's the same as the one I'm on right now. My touchscreen goes crazy sometimes, especially during gaming. Trying to see if there was any difference.
Sashin said:
Thanks! It's the same as the one I'm on right now. My touchscreen goes crazy sometimes, especially during gaming. Trying to see if there was any difference.
Click to expand...
Click to collapse
On advice from @hamdogg I've adjusted the touch.filter.level to 4. Made a big improvement.
Sent from my C6833 using XDA Premium 4 mobile app
SpyderTracks said:
On advice from @hamdogg I've adjusted the touch.filter.level to 4. Made a big improvement.
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah, mine is set at 5. It's much better then before, but still goes nuts once in a while. Especially when gaming.