Tips & Tricks for a better battery-life - LG Optimus 3D

Hello O3D Users,
I just have switched from my Xperia neo to the O3D, but before buying it I have checked this Forum.
I have noticed that most of the people here keep complaining about the battery life of the O3D. I have been heavily using my mobile phone now and the battery life isn't that bad at all!! So i started this thread to gather tweaks to extend our battery life.
1.Root
First of all you will need to get root to be able to make changes to your O3D (see Link below)
http://forum.xda-developers.com/showthread.php?t=1518771&highlight=root+lg+optimus+3d
2.CWM
-After getting root i would suggest to flash a custom rom, since most of these are heavily optimized and tweaked.
for that you will need CWM (see link below)
-http://forum.xda-developers.com/showthread.php?t=1598320
3. Custom rom
Choose and flash a custom rom/kernel, dont forget to backup your phone before
-http://forum.xda-developers.com/forumdisplay.php?f=1076
-after flashing a lot of custom roms, you should reset your battery-stats. Charge your phone to 100% -> reboot into recovery -> advanced -> wipe battery stats -> recharge your phone to 100 again.
4. Optimize your phone!!
-Install Linksd ( https://play.google.com/store/search?q=Linksd ) and freeze/deinstall apps you dont need (A lot of preinstalled apps keeps running in background). Just check in system -> running apps which apps you dont need but keeps running in background and freeze them.
-Install easy batter saver ( https://play.google.com/store/search?q=easy+battery+saver ) and check in the menu "consumption" which app is draining a lot of battery% and try to replace it with a similiar app or get rid of it
-(Maybe we can start a bloatware list here but i will need your help for that)
5.
Underclock/Ram-management/Govenor
-Its always usefull to underclock your phone, because this will save your a lot of battery: I have my phone underclocked to 800Mhz normal use and 300Mhz while screen is off.
-If you are using a custom rom you dont need to take care of Ram-management, if not and you have installed a Ram-management app you should NOT use presets like very aggressive or aggressive. (They cause more app reboots -> more battery usage)
-Choose the Hotplug Govenor. It is the govenor from Lg and our phone run the smoothest with it (also most custom roms have tweaked this govenor).
6.
Sysctl tweaks, Vm heap size and Kernel tweaks:
-Install System Tuner ( https://play.google.com/store/search?q=System+tuner ) go to SysCtl -> recommended
-Install Rom Toolbox lite ( https://play.google.com/store/search?q=rom+toolbox+lite )go to Performance -> build.prob tweaks -> increase Vm heap save and reboot. Repeat this process up to Vm heapsize 124
-With System Tuner go to CPU-> Boot Settings ->Govenors behaviour -> and if your are using an Ondemand governor set Power-save bias to a value like 30-40.
7.
Other useful informations/tools
-Widgets: They are very useful for many apps, but widgets keep running in background. So if you don`'t really need them, replace them with an app-shortcut.
If you are using a Widget check if there is an Refresh-Intervall (Weather widgets) and set the intervall to a higher number
-Install easy battery saver. Its a great app, it calculates remaing battery capacity, shedules your data-traffic and monitos also battery usage of different apps.
-keep your Screen-Brightness in the lower end.
- turn wifi/gps/bluetooth off when you are not using it.
-2G network consumes less battery then 3g and data connection consumes less then wifi.
-don´t install apps you dont need/use or try to install an app that can do various things (For example Rom Toolbox can block ads, underclock your phone and manage your ram or easy battery saver)
-Live-wallpaper looks nice but consumes more battery and (i think) that a dark background consumes less battery then a bright/colorful one
-get a micro-sd card with higher class (like class 10)
I hope we can gather more tweaks here and create a Bloatware list.
Credits go to the developers, which do a rly great job!
Sorry for my bad english, but its not my native language.

-----I recommend you to install Titatium backup and before removing any app to make a backup of all app-----
Bloatware list: (First freeze the app(s) and try if the rom is still full functional, if yes you might delete it)
Fm Radio Provider
Fm Service
Lg Pc Suite
On-Screen Phone
Smartshare
Radio
Drmservice
Drmprovider
Vpnservice
Talk
Twitter
All Widgets
3d space
3d apps n games
Browser
LG home
Calculator
Market feedback Agent
Calendar
Downloads

"Changelog 20.07: added more bloatware (Markyzz)"

Pät said:
Bloatware list (reserve): Pm me apps you have freezed/deinstalled
I have frozen atm:
Fm Radio Provider
Fm Service
Lg Pc Suite
On-Screen Phone
Smartshare
Radio
Click to expand...
Click to collapse
Some that I deleted:
Drmservice
Drmprovider
Vpnservice
Talk
Twitter
All Widgets
3d space
3d apps n games
Browser
LG home
Sent from my LG-P920

Related

[ROM] [Huawei U8300] Vicky for Huawei Ideos Chat - updated 2013/feb/19

Vicky
Current: [Vicky v2.5.5] - Jul/24/2013
Lite Version: [Vicky v2.5.5 Lite v1] - Jul/24/2013
What is Vicky?
- Vicky is a mixed Gingerbread rom based on Cyanogenmod's sources stable/nightly/experimental, for now...
Some Screens
DISCLAIMER:
I'm not responsible for any damage you can do to your phone using my rom nor it is my fault your phone dumped you and loves your cat more than he loves you
Changelog
[Vicky v2.5.5]
Code:
- Slimmed a bit
- Fixed a few typos
- Updated some system apps
- Updated HoloLauncher_2.0.2
- Added Holo notifier and locker
- Adw.Launcher
- Tweaked some more
- Random bootanimation support without using apps
(just place your favorite bootanimation zip at bootanimation's folder in your sdcard)
- Modded kernel with hwuserdata support
- Replaced stock mms app with Huawei SMS/MMS app
- Huawei file explorer
- Latest huawei gb launcher
- Swap support (check Extras section for info)
- fixed problems related with changing phone settings while/after Wi-Fi was on (ex. toggles getting stuck)
- fixed layouts
- themes added
- stock dalvik cache bypassed to cache partition to grant extra space in data partition. new installed apps dalvik cache will be placed on data as usual
(if you need to wipe dalvik cache by necessity of something, in recovery select wipe dakvik cache and select wipe cache)
- Downloads cache moved to /obb (bigger partition and dont require cleanning)
- Some surprises
- Stuff i cant recall now
- Fixed a few typos
- Updated some system apps
- Updated HoloLauncher_1.0.2
- Replaced gps configs (enable internal gps in settings/location and security/gps source) - didnt noticed but since v2.0 the gps.conf was set to Portugal, now is for europe
- Fixed MagicSmokeWallpapers (now there is fog and not moving squares) -> finally no more apps to fix (i hope!)
- Tweaked some more
- Defaults settings changed - only noticed if doing a clean install, wont affect the ones already made
- Latest CM 7.2 sources for Huawei + for Samsung
- Lightly themed
- 60% Tweaked (battery, camera, network) (still no Supercharged script added)
- Increased performance
- Optimized All Apks
- Fixed some bugs
- Improved some libraries
- Improved MDPI layout
- Default kernel set to 600Mhz -> (U can choose other values)
- Original Network Operator Names -> back from the dead (If u find a problem, report)
- Battery PowerBar added
- Fixed Deskclock display size
- Crt animation on/off activated by default
- Bravia Engine added
- ICS Rotation added
- Beats Audio added -> might change that to XLoud, if it doesnt give any problem (battery drain, audio issues or force close)
- Updated APNs and fixed Optimus, Vodafone, Tmn MMS -> if anyone still has problems with the MMS, report it
- 3 Launchers (Adw, Huawei and Holo V1.0.1)
- TouchScreen, compass and battery calibrators
-> Wipes Required - Dalvik, Cache
-> Formats - Boot, System
-> Data Wiping / Factory Reset - no problems were reported by not wiping data but, if u encounter problems (bootloop, FCs, apps not working, etc). u'll need to do a wiping data + dalvik and reinstall all your apps
--> if ur apps are linked, unlink them. After flash/reboot, dalvik cache will rebuild itself with all apps info, including the linked ones. this way, wont exist conflicting doubled dalvik's
- CM 7.2 RC1 sources for Huawei u8150
- Lightly themed
- 40% Tweaked (0% Supercharged)
- Increased performance
- Screen, compass, battery calibrators
- Other Stuff i can't remember now
What do you need to install Vicky
- Vicky ->> [Current version]
- SuperSU [ Tx to Chainfire ->> [v2.82] | | old versions ->>[v1.01] |
- modded Lite GAPPS + Last Playstore for GB ->>[2016/09/22]
- Google Play Services ->>[2016/09/22]
What do you need to install Vicky Lite Version
- Vicky Lite ->> [Lite]
- SuperSU [ Tx to Chainfire ->> [v2.82] | | old version ->>[v1.01] |
- modded Lite GAPPS + Last Playstore for GB ->>[2016/09/22]
- Google Play Services ->>[2016/09/22]
Extras
- [Boot Sound Remover] -> not found
- [TSReset - Screen calibration reset]
- [Mac Address Patcher]
- [On-Screen Keyboard enabler] -> not found
- [On-Screen Keyboard enabler -> Vicky 2.5.4] -> not found
- [Huawei Keyboard] -> not found
- [Ascend ClockWorkMod Recovery 3.0.2.8]
- [Huawei ClockWorkMod Recovery 4.0.1.5]
- [Swap installer] -> Tx to Yank555
How to change ClockWorkMod Recovery
I made it simple by using the same proccess of flashing a rom. you just put the cwm zip file in your sd-card. Reboot to CWMod recovery, select "install zip from sdcard", select your new cwm zip file. After flashing, go to advanced and select "Reboot Recovery". Now you can see your new Recovery.
How to change MAC address
Method 1- unzip MacAdress.zip, go to system\etc\firmware\, open with notepad++ this file "nvram.txt", find this line of code:
macaddr=00:90:4c:14:43:26
write your own mac-address found inside the phone in the battery case, save.
go all the way back, zip META-INF and system folders with Store compression.
or just open MacAdress.zip (not unzip), go to system\etc\firmware\ and drag-and-drop to that folder ur edited "nvram.txt".
flash the new MacAdress.zip, fix permissions, reboot.
Method 2- open RootExplorer in system\etc\firmware and open "nvram.txt" with text editor, locate this line
macaddr=00:90:4c:14:43:26
and write your own mac-adress (like 11:22:33:44:55:66), save and close, reboot.
To install from stock rom you need these ones too
- [z4root]
- [rom manager]
Info
Code:
[COLOR="Red"][B]What is Working[/B][/COLOR]
Apparently almost everything
[COLOR="Red"][B]Bugs/Not Working[/B][/COLOR]
[COLOR="Red"]what are the drawbacks? The bugs that i need to live with of i update?[/COLOR]
FM Radio not working. Almost all phones that had FM Radio, updating to Cyanogenmod made them lose FM Radio because of certified drivers and other issues
Keyboard - some keys that used the double function, like the ".com" key or the "smiley" key, are stuck to using only one function, ".com" stays just "@". if u have keyboard issues (keys switched or something), flash the correct version for your phone. more info at the 2nd post.
TouchScreen calibration - it is not the best compared to the one used on u8300 eclairs, but is something almost as good.
Onscreen Keyboard - since most users use the hardware keyboard, the onscreen keyboard is purposely disabled. so if u want back the onscreen keypad (to use other soft keyboard like go keyboard or, i dont know... tswipe), just ask for a patch enabling it, otherwise i'll keep it disabled as a reminder of the keyboard issues. By request of songrak, a patch enabling the on screen keyboard is available for download, plus a Huawey Keyboard app (tx to RedDeviL). Check the Extras section.
[COLOR="Cyan"]Remember this is not an update for the stock rom, it's a new OS. [/COLOR]
Keyboard access Keys for a turned off phone
Call button + volume up + power -> turn on phone in CWM recovery
Hang up + power -> turn on phone in Bootloader mode (fastboot)
Hang up + volume up + power -> activate the huawey stock rom flashing, it will wipe everything in your phone and flash the stock rom back to phone (if you have a dload folder in your sdcard)
Flashing Requirements
- Rooted phone
- ClockWorkMod Recovery
- Rom files
- Partitioned SD-Card -> Read post 2 for more info
- 100% battery charge (in reality you just need something between 40% and 100%, but this way if u encounter problems, u'll still have energy in the phone to solve them and it will avoid a miss-install resulting from the power ended during flash)
Flashing Procedure
note: - Put the files into the root of your sd card or any other folder of ur liking.
just by my experience, i advice u to put also the dload folder at the root of ur sdcard, with just the updata.app inside. its just in case u experience something (phone not coming out of bootloader after restart or something) and this way u can go back to stock easy and start again
[Stock - 1 to 20] / [Others -> 5 to 20]
1- Install z4root and do a Permmanent Root to the phone
2- Install rom manager and open it
3- Select "flash ClockworkMod Recovery" to install the custom recovery from rom manager, choose huawei ascend recovery
4- go to "all clockworkmod recoveries" and flash a previous version of ClockworkMod Recovery, after finish, do step 3 again and go to 5. (its to avoid conflitcs with the huawey recovery and to avoid no access to CWM recovery)
5- select Reboot into recovery and do a full backup of your current rom (optional, but if u dont do it, u'll lose everything u had - if u want to go back to your previous rom)
In CWMod recovery Menu u use the trackball to go up/down (press it results in a "enter key"), the go back buttom is a go back buttom (lol) and return (enter) key is a enter
6- select wipe data/factory reset from the menu
7- go to advanced and select wipe dalvik cache
8- go to mount and storage and select format boot and format system (use the keyboard enter key to avoid selecting and entering the wrong one with the trackball)
9- Choose "install zip from sdcard" and select Vicky from the menu, go on with the process
10- Once done, again Choose "install zip from sdcard" and select gapps from the menu, go on with the process and again choose "install zip from sdcard" and select SuperSu
11- go to advanced and select fix permissions
12- go back and select reboot system now (remove ur sim card before)
the first boot it should take between 1 to 4 minutes (the phone is in bootloop if u see the animation or the boot sound restarting itself - the screen goes black and the android in a circle appears again, if it does this again and again, its on bootloop. if u dont see that it is fine (since it doesnt stay there for 15 min))
13- Calibrate screen and it will reboot as soon u finish. (read bellow if u miscalibrate screen)
14- insert the sim card before the phone enters the boot animation
15- turn on wifi, check if it is activating, if u dont use the 3G data, turn data off. Configure everything u want to be set ( like the crt animation or the buttons on the status bar or the allow unknown sources install - this one is a must), dont open link2sd nor set the cpu to 710 (or other) yet
16- reboot into recovery (long press the power button and select Reboot and Recovery mode)
17- Choose "install zip from sdcard" and select Boot sound Remover then reboot system, if u want to remove the boot sound
18- go to apps drawer, open No-frils CPU control, there should be there 2 frequencies, 245 and 600, change the 600 (it is the higher frequency the phone is working after reboot) to the value u want (dont worry, all of them were tested and none will grant problems, dont go bellow than 600, u'll slow down the phone and drain battery faster, 710 grants more performance and the battery drain is almost the same as 600), apply and grant superuser permissions
19- Open link2sd, grant permissions and select ext4.
20- Reboot
21- Install Google play Services (com.google.android.gms-7.8.95_(2113048-032)-7895032-minAPI9.apk) <- i don't know if Google PS will update itself for the most recent one (and bigger one) but it can be denied by going inside the playstore, searching for Google play Services and in the options, de-select auto-update.
22- Enjoy
(one thing, after the 1st boot and after the sim pin screen - if u have the sim card inserted -, let the phone stay a while in the touchscreen calibrator, there is chance that u need to insert the pin again and that will restart the calibration and could miscalibrate the screen. if u dont that to happen, insert the sim card before the 2nd boot)
If by any chance u miscalibrate the display - Go back in recovery mode and flash TSReset, reboot and go to Calibration app in Cyanogenmod settings
advice for a perfect install/config
- 1st boot - before calibrating screen wait till holo locker locks screen, then unlock, give a few seconds, then calibrate, this way u'll avoid the restarting of the calibration app. if, cant reach the unlock button, rotate phone
- 3rd boot - [Very important] Give 2 minutes before entering pin because file system is being changed (dalvik cache is being recreated on cache partition and if the OS is loading apps, the dalvik wont be perfectly moved)
- after selected the home launcher, you can freeze the other ones, using link2sd (selecting the launchers that you dont want, long pressing them and freeze) ou by using the applications section in settings.
p.s. u can disable the holo locker when u want to
- the boot sound is activated, i let it stay because, this way, u can see if the phone enters in boot loop after install (the music restarts). when u are done with the configs, u can delete it.
dont bypass the google apps or it will result in no-lockscreen and no receiving calls/sms bug.
(just kidding but they are really, really necessary)
any opinion, bug report, other things about the rom is welcomed to improve the rom
lol. +6k views and only one thanks
Settings
How to partition a SD-Card and how to work with Link2SD + Swap
Using this you can add more apps to your phone and keep a lot of internal memory free
[link2sd]
[XDA - sdcard partitioning]
[how to partition sdcard using windows]
[[GUIDE] Link2SD for Dummies] -> it wasnt me who named it
[[Video] How to Partition Your SDCARD using CWMod Recovery]
[[Video] Partitioning SD for Apps2sd and Swap]
[[GUIDE] Increase RAM using Swap File and Swap Partition] -> it has a text guide for Minitool partition wizard
~Values for the partitions: (as allways, its your choice to increase or decrease those values)
Swap - Max 64mb (initially i had 256mb (too much). even at 128mb and 100% swapiness, it was much. so i tested with 64mb and got the perfect partition size for swap, leaving a couple of free mb if wanted to increase swapiness)
SD-Ext - depends on the size of your sdcard and if you install lots of apps and want to link them so, minimum - 128mb
The rest is for sdcard data
Remember to backup your sdcard before partition it
----------------------------------------------------------------------------------------------------------------------------------------------------------
After flashing the rom, you'll need to calibrate battery.
use the batterycalibration app or the built-in app in CM settings to calibrate battery.
let the phone charge to 100%, wait 10-15 min, open batterycalibration, the battery values should be around 4120 and 4167mv, press battery calibration (do not unplug the phone yet). shutdown the phone, let it stay in charging mode for 5 min. reboot, check the new battery values at batterycalibration (the new ones should be between 4170 and 4270mv), let it sit there for another 5 min and, finally unplug the phone.
-> sometimes after doing the calibration, the battery 1st charge drains in a few (between 8 and 16) hours, but its normal. <-
even it drains the 1st charge, dont worry about doing a 2nd battery calibration. just do a normal charging, after one or two charging/draining cycles the battery will work properly.
----------------------------------------------------------------------------------------------------------------------------------------------------------
keyboard files for other languages
tuono in Adrenalin's thread made several keyboard installers, they work in Vicky's too, they are on the 1st page, 1st post.
u just need to download it, place it at ur sdcard, reboot to recovery, choose "install zip from sdcard", select the language file, after finish, fix permissions and reboot.
----------------------------------------------------------------------------------------------------------------------------------------------------------
GPS settings
the actual gps settings are for europe.
if u are from outside that area or u want a more specific area, u can use the fasterfix app. on its menu there are some gps servers and a custom option. by selecting it, u can write the one gps server u want (if it wasnt on the list). basically, it is just writing down the country abrv.
(france is fr, united kingdom is uk, etc) before the gps server adress.
something like this
uk.pool.ntp.org
for more info, visit http://www.pool.ntp.org/
using gps status app (its on google store), u can see if ur internal gps hardware is working and ur actual location
Note: u8300 huawei's gps was made to be an online gps (a gps assisted by internet), meaning, for it to work with google maps, ndrives and others, it needs to be connected to the internet to work properly (unless u use an off-line gps app that saves the maps in the sdcard and uses the tracking system to navigate, there are a few in google store and they work great without internet)
----------------------------------------------------------------------------------------------------------------------------------------------------------
Important
for the ones that dont like being at the spotlight
(just kidding)
the beats audio boot sound was supposed to delete itself after that 1st boot but apparently busybox (i think?!) cant remove it while the phone is booting
use some root explorer app and delete this file (android_audio.mp3) from this folder "system/media/audio/ui"
or replace it with the sound u like. (needs to be renamed android_audio.mp3) <- i did that and some guys hate my guts
or if u are a windows user, go google (lol ) and search for android commander, or go to the creator thread here in xda, its a very usefull tool and u can use it to delete that file and to do other stuff with ur phone. there is also a linux version but i think its a dead issue, but if anyone want a peek, go see it
----------------------------------------------------------------------------------------------------------------------------------------------------------
TouchSceen Calibration
if the display miscalibrates it self by bad calibration input or other stuff, go to recovery and use the TSReset to reset touchscreen calibration
the rom has some TS values by default, that allows you to go to the screen calibrator and calibrate again without any problems and with more accuracy. this way the old bad calibration input wont interfere with the new one
----------------------------------------------------------------------------------------------------------------------------------------------------------
For just the portuguese users
[Mini-Tutorial] Configurar MMS em Android
os apns foram actualizados com as modificações necessárias mas se, por algum acaso, (ainda?!) não funcionarem as mms, façam o seguinte:
- Instalar APN Portugal
- Abrir o APN Portugal e seleccionar "Configurar APNs"
- (opcional) Colocar o widget do APN Portugal no homescreen (recomendado)
- (opcional para controlar acessos indevidos à internet) Garantir que o widget está vermelho e não verde, ou seja, a internet está desligada OU abrir o APN Portugal e garantir que a internet está desactivada
- Ligar dados no smartphone (Definições - Sem fios e Redes - Redes Móveis - Check Dados activados)
- Testem enviando uma MMS para vocês mesmos.
NOTA IMPORTANTE: Se colocaram o widget, sempre que quiserem aceder à internet sem ser por wi-fi, TÊM que carregar no widget para ele ficar verde, senão não vão conseguir aceder à internet. Se não colocaram o widget têm que ir à app APN Portugal e activar o acesso à internet.
NOTA IMPORTANTE 2: Com a instalação do APN Portugal é possivel permitir/negar o acesso à internet (excepto wi-fi) por parte do smartphone, por isso não há problema de ter sempre os dados activados desde que se faça um bom controlo na APN Portugal para activar ou negar o acesso à internet. Eu tenho os dados sempre ligados e quando necessito de aceder à internet 3G basta-me tocar no widget e voilá. Quando termino a navegação, toco outra vez no widget e a internet fica inactiva.
Click to expand...
Click to collapse
Issues and/or updates info
An annoying "bug"
Only 3 users complained about this <- i thank you for reporting problems, without those reports i'ld assume everything is fine and could neglect bugs or errors and i dont want that
"I have a problem with receiving messages... they come with big delay and/or I receive it multiple times, even though it's not sent to me more than once."
apparently its an occasional memory problem (at least that was my case but i am using dev version 2.5) but could be related to the phone app (no need to explain since i'll see if i can fix it in the next version)
this fixed mine
(the names may be different but i think u know what i am talking about)
go to settings / cyanogenod settings / performance / lock messaging app in memory (<-- check this box)
other fix
uninstall the message aplication, u can use the link2sd to do that, its quicker and easy
install go sms or handcent sms or someother messaging aplication
reply back which one fixed your problem so i can see where exactly is the problem and fix that in the next version
what is to do for next updates
make the keyboard be more like the stock keyboard
add a battery power bar - 90% done but v2.2.7 has an app for that purpose
add a cpu bar - 60% done
fix network tweaks - 80% done - only a few conflict with the cmparts settings and others with the network, so they are not implemmented in v2.0 or v2.2.7 but dont worry the important tweaks are already running at the boot start
fix camera saving 90 degrees rotated files or fixing adrenalin camera transparency menus problem - i will do the one that is quick and wont be more a pain in the a**
fix the camera and gps battery drain that results from their using - that comes from the sources, the problem isnt after their use, is while we are using those apps. a friend is already trying to make them a little less energy drainners, lets see if he can do that
FM radio -> still a pita but dont force close the fm radio app anymore
modding
fix some icons that overcome the text bellow in buttons -> done
a bug resulting in a fc on the config of the light button at cmparts, options are already configured but if we want to change it, it forces close
fix the size of some menus (bigger than adrenalin and some bigger than stock), its a problem because this is an mdpi rom now instead of a ldpi like adrenalin -> 30% done
p.s.- i will try making those fixes not requiring any wiping, its a bummer doing wipes everytime and it wears the nand memory (from what i could investigate, only after 100k wiping cycles, lol, still have lots)
i will put more after
Click to expand...
Click to collapse
Just wanted to report back on version 2.2.7.
It seems to keep more apps in the memory and multitasking is for the first time kinda usable on gingerbread.
Menu buttons are fine now
ICS rotation is awesome!
Still cant notice a difference with beats audio, because our soundcard just sucks more then can be fixed by software, even stock wasn't good.
Bravia engine, can i turn that on and off at some place or is it enabled by default?
Only problem i noticed, after upgrading, the gmail app was gone and if i installed it from the play store it just crashed. Could be fixed by moving the apk to /system/app and fixing permissions.
Seems like its slowly getting better and better.
Thanks for your work!
Silas
that was my fault. i posted the wrong updated gapps (missing facebook, gmail, etc), tx for reporting
later i'll fix that
bravia is on by default in build.prop
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
Click to expand...
Click to collapse
to disable, 1->0
i tried to add an on/off to settings but... (i'll work on that later again). i noticed a difference in the taken pics, not on the camera display (stock cam app sucks, try the sleek cam and see the difference, clear img)
is hard to notice beats audio but u can tell if u put full volume that it doesnt distort audio like stock eclair. try setting a preset in the dsp manager
but that is one of the reasons i'll try xloud or megabass
edit: gapps fixed
edit2: lol
weird stuff
trying to add an Bravia on/off to settings, managed to fc wireless setting in the proccess. the surprising stuff was the free ram it left available.
135/178 mb (available/total) ->>>> something to lookup. to see if it can be managed to have all that free ram and have a full working O.S. <- that would be something really big to this little device (gameboy, lol)
btw, Silas, have u done a data wipe before fashing 2.2.7?
NAZUnlimited said:
edit2: lol
weird stuff
trying to add an Bravia on/off to settings, managed to fc wireless setting in the proccess. the surprising stuff was the free ram it left available.
135/178 mb (available/total) ->>>> something to lookup. to see if it can be managed to have all that free ram and have a full working O.S. <- that would be something really big to this little device (gameboy, lol)
btw, Silas, have u done a data wipe before fashing 2.2.7?
Click to expand...
Click to collapse
We do have 256MB of ram built in, right? Should the os itself really take more then 100MB, as it doesn't even has a GPU to keep up and running?
It actually quite noticeable how much faster the HTC Wildfire is, with the same CPU, but more RAM.
Nope, i didn't do a data wipe, just cache and dalvik. But my phone has now started to behave the same way as with your first patch, it doesn't keep the settings (for example the screen brightness resets itself) and i cant go to airplane mode.
I will see if your latest gapps update fixed that, and then report back. When the always terribly slow rapidshare has finished downloading
funny. my downloads and uploads are fast from rapidshare. i uploaded gapps from my u8300 in 4min. (i might switch to dropbox the big files and leave rapidshare for the stuff with 2mb or less)
according to http://whirlpool.net.au/wiki/huawei_u8300, we have 256mb, but unless the 178mb that appear in status are the ammount of ram available for the user and the missing rest (that dont appear anywhere) for the o.s. ,.... u get the idea.
512mb of memory flash
192mb- data
170mb- system
70mb - cache
3-4mb- boot
1mb- splash screen ( bootlogo)
(the rest for mombo-jumbo partitions like OTA)
the day i figure how to change partitions size without messing the phone internals.... that will be a good day
i was affraid of that. i do not experience that but i flashed with full wipe. not using data wipe was only tested with users that dont keep much stuff in data (almost nothing only apps) and i dont know if they changed the default settings and since none reported any problem, i figured it was fine.
like i said, v2.2.7 is a new rom, only the looks is the same as v2.0. that bug now (since i still didnt put the super 3g tweaks that busted those settings) is probably resulting from the saved settings/info/etc in data partition.
since i removed those tweaks, i have not seen that bug again and i am using v2.2.7 for almost 2 weeks now.
NAZUnlimited said:
funny. my downloads and uploads are fast from rapidshare. i uploaded gapps from my u8300 in 4min. (i might switch to dropbox the big files and leave rapidshare for the stuff with 2mb or less)
Click to expand...
Click to collapse
4min for a 15MB file is not fast for me, im used to about 15seconds for that. (and i still have one of the slowest broadband connections here in sweden )
NAZUnlimited said:
according to http://whirlpool.net.au/wiki/huawei_u8300, we have 256mb, but unless the 178mb that appear in status are the ammount of ram available for the user and the missing rest (that dont appear anywhere) for the o.s. ,.... u get the idea.
512mb of memory flash
192mb- data
170mb- system
70mb - cache
3-4mb- boot
1mb- splash screen ( bootlogo)
(the rest for mombo-jumbo partitions like OTA)
the day i figure how to change partitions size without messing the phone internals.... that will be a good day
Click to expand...
Click to collapse
Running aplications is showing about 50-70MB in total, so the OS must use ~200MB for something
Another thought, would it maybe help us if we use the sdcard for swapping? I'll try that today and look if i can notice any difference
Flash memory is not that much of a problem, as we have app2sd.
NAZUnlimited said:
i was affraid of that. i do not experience that but i flashed with full wipe. not using data wipe was only tested with users that dont keep much stuff in data (almost nothing only apps) and i dont know if they changed the default settings and since none reported any problem, i figured it was fine.
like i said, v2.2.7 is a new rom, only the looks is the same as v2.0. that bug now (since i still didnt put the super 3g tweaks that busted those settings) is probably resulting from the saved settings/info/etc in data partition.
since i removed those tweaks, i have not seen that bug again and i am using v2.2.7 for almost 2 weeks now.
Click to expand...
Click to collapse
It's a pretty random problem. Yesterday the bug was there, but after reflashing the new gapps and replacing superuser with supersu, it's fine again
Optical Fiber still havent reached this part of portugal and 3g data plan is absurd. That example was using the phone and a (lets say) "public" wireless with 10% signal strenght reception. i dont know the up/down capacities of that one ( i just detected it and the rest is history. Lets say i have allways access to the net and never used the 3g data) but most people here buy the 2mb pack (2 mb down / 256kb up) argh, stone age! Normally, at home, i can download 1gb in less than 10min and upload about 2x longer.
I considered swap and and a ram module (zram.ko) too but i hadnt much time to try it.
I am not worryed with the flash memory, like u said, we have app2sd and link2sd. What is annoying for me is seeing all that mb just sitting there un-used
edit: use the sdcard for swapping?
process
- creation of a 3rd sdcard partition for swap
- adapt a script to format that in recovery and other to enable the swap partition at phone boot ()
results so far
pro-swap
- no battery drain resulting from doubled sd-card read/write (none that can be noticed even using other means to check battery outputs)
- phone seems more responsive and the benchmark test results were more stable than the previous ones without swap, in fact, increased an average of 14~20 total points in ram/cpu integer
- still havent noticed much improvement (there is some) in multi-tasking but the phone isnt loaded with much apps (read downside why) and that will tested again when i have loaded the phone
downsides
- according to any devs of swap scripts, Swapping decrease Micro SD's life but it is easier and cheaper to buy and replace a new sdcard than a new internal memory (no argument there, done a quick search and realised that for the price of a memory chip + repair, u can almost buy a phone). in fact, according to one dev, he is still using the same card for 2 years (almost year and half using swap) and he still didnt see any wearing problems in that sd-card area (swap partition) or any other.
- the reason why the phone isnt loaded with much apps is because for the creation of a 3rd partition, i wiped and divided the 2nd partition (link2sd partition) in 2. that interfered with the link2sd script in system and didnt let me either activate swap or link2sd partition or replace the link2sd scripts in system, so i did a fast solution for that, full wipe . what i should've done back then was modify the size and create a new partition using the free space of the 2nd partition and no problems after but some ideas only come after the previous ones failed. lol
- i dont know which is better for swap, if the swapper app in store or just a init.d script at boot. <- tests for later
Sent from my U8300 using xda premium
NAZUnlimited said:
edit: use the sdcard for swapping?
process
- creation of a 3rd sdcard partition for swap
- adapt a script to format that in recovery and other to enable the swap partition at phone boot ()
results so far
pro-swap
- no battery drain resulting from doubled sd-card read/write (none that can be noticed even using other means to check battery outputs)
- phone seems more responsive and the benchmark test results were more stable than the previous ones without swap, in fact, increased an average of 14~20 total points in ram/cpu integer
- still havent noticed much improvement (there is some) in multi-tasking but the phone isnt loaded with much apps (read downside why) and that will tested again when i have loaded the phone
downsides
- according to any devs of swap scripts, Swapping decrease Micro SD's life but it is easier and cheaper to buy and replace a new sdcard than a new internal memory (no argument there, done a quick search and realised that for the price of a memory chip + repair, u can almost buy a phone). in fact, according to one dev, he is still using the same card for 2 years (almost year and half using swap) and he still didnt see any wearing problems in that sd-card area (swap partition) or any other.
- the reason why the phone isnt loaded with much apps is because for the creation of a 3rd partition, i wiped and divided the 2nd partition (link2sd partition) in 2. that interfered with the link2sd script in system and didnt let me either activate swap or link2sd partition or replace the link2sd scripts in system, so i did a fast solution for that, full wipe . what i should've done back then was modify the size and create a new partition using the free space of the 2nd partition and no problems after but some ideas only come after the previous ones failed. lol
- i dont know which is better for swap, if the swapper app in store or just a init.d script at boot. <- tests for later
Sent from my U8300 using xda premium
Click to expand...
Click to collapse
I have been using swapper 2 for a few days now, and while it works fine, and hasnt caused any problems, it also hasn't improved anything that i could notice.
What size and swappines settings do you use?
125mb swap partition (so i have 3 physical partitions in sd-card, 1-fat32 (data), 2-ext4 (link2sd), 3-linux swap (swap partition))
swappiness=100
vfs_cache_pressure=25
apparently, most of the swappers agree that less than 100 almost dont do anything
my previous was 60
"A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space. The default value is 60, and for most desktop systems, setting it to 100 may help to improve overall performance, whereas setting it lower (even 0) may improve interactivity (decreasing response latency.)[1]"
Changin the minfree values to 6,8,16,20,22,24 is giving some truly amazing multitasking!
I can now have about 8-12 apps in the "memory", with nearly instant switching.
My vfs_cache_pressure is at 10, which i think is default, i have 256MB of swap, enabled with swapper 2, but on a seperate partition. swappiness=100
This phone has newer been so fast
Edit: I was voting for stock browser because i want a vanilla experience. But i use Opera Mini 95% of the time, and sometimes Opera Mobile.
tx for the info, silas
i had changed a "bit" those values and oom priorities, etc
vm.min_free_kbytes=18400;
mine were :̶8̶,̶2̶0̶,̶4̶5̶,̶6̶5̶,̶9̶0̶,̶1̶0̶0̶ 10, 16, 55, 70, 85, 100
i'm still testing those for side-effects
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in the pic above, i used v6 script for tests. even though i changed all values, it still said 50% supercharged. then i figured out why, the script couldnt find the supercharged adj file nor the minfree. v6 puts them in /data to read them at boot start but since i didnt supercharged, my /data didnt have them. (i just altered the rom defaults making a more cleaner version - less files in /data and /init.d - and 100% tweak stick. on the opposite, v6 values didnt stick every 2 boots - dont know why that happened)
i love zepp's work but i dont use v6 supercharger for, mainly, two reasons
1- slows down boot proccess (dont know why), it can be noticed in the boot animation, it becames slower
2- some tweaks in the script block the light, orientation, gps, data toogles (one cant change those if the wifi or data is connected)
what i changed in rom defaults (these are only if using swap)
OOM_MEM_Settings, OOM_ADJ_Settings -> build.prop
minfree 2560,4096,14080,17920,21760,25600 -> (10, 16, 55, 70, 85, 100)
adj 0,3,6,10,12,15
swappiness 100
vfs_cache_pressure 25 -> yeah, the default is set to 10
dirty_expire_centisecs 500 -> will test other values later
dirty_writeback_centisecs 1000 -> same here
dirty_ratio 95
dirty_background_ratio 60
̶l̶e̶a̶s̶e̶-̶b̶r̶e̶a̶k̶-̶t̶i̶m̶e̶ ̶1̶0̶ -> this one is giving me lots of trouble, wont stick
vm.min_free_kbytes=18400;
vm.oom_kill_allocating_task=0;
vm.panic_on_oom=0;
vm.overcommit_memory=1;
kernel.panic_on_oops=1;
kernel.panic=30;
net.core.wmem_max=1048576;
net.core.rmem_max=1048576;
net.core.optmem_max=20480;
net.ipv4.tcp_moderate_rcvbuf=1;
net.ipv4.route.flush=1;
net.ipv4.udp_rmem_min=6144;
net.ipv4.udp_wmem_min=6144;
net.ipv4.tcp_rmem='6144 87380 1048576';
net.ipv4.tcp_wmem='6144 87380 1048576';
this i what i like
a good memory management
It seems like you are trying to get as much free memory as possible. Which isnt exactly what i want to do. Unused memory is always just wasted memory.
The perfect memory management would be when we can have all the memory filled up, but always have something that can be cleaned up when needed.
I havent tried all your values yet, might do that when i have more time, and a computer. Right now im testing out these values: http://forum.xda-developers.com/showthread.php?t=1227269
Also, Rom Toolbox is fantastic for this kind of tweaking, just a tip
That will be a yes and no. I am trying to keep free some internal memory to use when its needed by the current aplication or the os and load up all the rest in swap. Just like what u are doing but using swap as loaded "ram" to give some slack to internal ram for when we need it. I found out that the internal taskkiller kills apps after some time in internal ram, cached or not, even if tricking it to think we have more than 178mb ram ( the oom adjustments) but it doesnt kill the ones mostly present in swap (funny stuff). Other reason was because the phone couldnt reach deep sleep with a loaded internal ram and with taskkiller seeking for terminable apps, all that increased the battery drain. Since i never turn off wifi nor data, i noticed some power drain, higher than the ones before
rom toolbox, i used it a lot before when i was on adrenalin update 2 but it cant alter the lease value too. I can do most of the stuff by head now, in part tx to rom toolbox
Sent from my U8300 using xda premium
I must say, your settings work ok too, pretty much the same result as my earlier settings.
I found something interresting
I was replacing some system apps with the ones from Cyanogen 7.2, and i suddenly noticed that the auto brightness option was back. (I love that feature, relly usable ) It must have been eather Settings.apk or Settingsprovider.apk that did the magic.
But it introduced one bug, which also was on adrenalin earlier, I have too open the wifi settings to make it scan and connect. Could maybe be fixed by changing some scan settings?
Also, replacing some other files made a difference in performance. (Maybe just an illusion...) I think it must have been framework-res.apk and systemUI.apk. Maybe some other apps where optimized too.
And that gave me the stock look back. Nothing back about your theme, but stock looks much better
Replacing camera fixes the menu, (not transparent and horrible to read anymore). Image is still rotated, I might look into that later
All my files are available here:
http://silenz.se/owncloud/public.ph...dddf22a07966e8b75&file=/ownCloud/huawei_tweak
It does really seem a little bit smoother now
nice to see that someone is making stuff for our phone. like tuono once said, "i was starting to feel a little lonely here"
if u are using the ones from u8150, its normal they work good with vicky. like most roms made from cyanogen sources for huawei phones (u81xx/u82xx/u85xx/u88xx/m86x, etc), they all use the official u8150 code and part of vicky's code is also based on those sources, the rest is based on samsung.
about auto-brightness, u replaced the cmparts.apk. the "bug" is on that apk. its not an error in the code but something else interfering with the openning of that setting. i've tried the lux app and it proved me that auto brightness is working. activating the brightness icon (not the app in drawer but the toogle like the wifi, bt) in the toolbar (systemui.apk) and then pressing it until it reach auto, showed that too. i wasnt much concerned with that because i think it works backwards, when in sunlight it reduces the brightness and in darkness is the opposite, it burned my eyes when i used (i have photo-sensitivity <- i think thats the right name in english for that) and u8300 display is hard to see with sunlight and low brightness. but everyone is free to use what they see fit to it.
about performance, u are right. most performance increased is an illusion and its not. i did a couple of tests before i succumbed to the urge to change the stock looks (lol. i was forced by u know who ). i tested with stock look, mod look and stock look with a theme applied (using theme chooser). the results were pretty much the same but only modded looks got allways higher scores. most definitely because most pngs are smaller in kb than the ones from sources and the ones in the theme apk, that size makes all the framework (i'm not just talking about framework-res.apk here but all that is loaded for the display view) to occupy less in memory therefore granting more performance. but all that is if using vicky's apps, generated from vicky's mixed sources. now the reason that u have or appear to have an increased performance is because u replaced most system apps except the jar files. most of them dont make a difference but systemui, settings, cmparts and frameworks-res make. a quicky way to explain is if u think those apps as computer hardware and programs that run at windows start. if u disable some hardware and block some services and programs to start at boot, u will notice an increased performance in the pc, that is what u did. by replacing those apps u disabled some "instructions", since they wont run, more performance. just like when i crashed the network settings and freed a lot of ram. the jar files in frameworks folder use those instructions to make run some stuff like the 1% battery. stock only has 10% battery indicator.
i hope i explained myself well. its 6h in the morning here and i dont sleep for almost 34h. and i have to feed Vicky (btw, Vicky is the cat)
i am a bit curious about some things. why the rom manager and cmwallpapers conflict? those apps are universal. (cmscreenshot, u did have to replaced it, its universal, same code for every gb rom)
about the looks, i am making it a theme chooser app. it will make more easier for me to do the needed stuff in system apps without having to concern about the looks and the ones that dont want that look can easily change it or delete.
other thing, battery seems mor stable now. heres a screenie
NAZUnlimited said:
nice to see that someone is making stuff for our phone. like tuono once said, "i was starting to feel a little lonely here"
if u are using the ones from u8150, its normal they work good with vicky. like most roms made from cyanogen sources for huawei phones (u81xx/u82xx/u85xx/u88xx/m86x, etc), they all use the official u8150 code and part of vicky's code is also based on those sources, the rest is based on samsung.
Click to expand...
Click to collapse
Yes i have those from u8150, because its 90% the same hardware. Just another screen and no keyboard. (and maybe some internal stuff like the acelerometer, but those should "always" work).
NAZUnlimited said:
about auto-brightness, u replaced the cmparts.apk. the "bug" is on that apk. its not an error in the code but something else interfering with the openning of that setting. i've tried the lux app and it proved me that auto brightness is working. activating the brightness icon (not the app in drawer but the toogle like the wifi, bt) in the toolbar (systemui.apk) and then pressing it until it reach auto, showed that too. i wasnt much concerned with that because i think it works backwards, when in sunlight it reduces the brightness and in darkness is the opposite, it burned my eyes when i used (i have photo-sensitivity <- i think thats the right name in english for that) and u8300 display is hard to see with sunlight and low brightness. but everyone is free to use what they see fit to it.
Click to expand...
Click to collapse
But cmparts.apk is just for cyanogenmod, and other roms, even plain android source, has this feature. A fun little fact, even the stock rom could read light sensor data, but the auto brightness feature was missing.
Is it epilepsy you have? Its when you react to fast color/light changes?
It's possible to change the brightness values, and some other nice settings, in the cyanogenmod settings>Display>Automatic backlight
NAZUnlimited said:
about performance, u are right. most performance increased is an illusion and its not. i did a couple of tests before i succumbed to the urge to change the stock looks (lol. i was forced by u know who ). i tested with stock look, mod look and stock look with a theme applied (using theme chooser). the results were pretty much the same but only modded looks got allways higher scores. most definitely because most pngs are smaller in kb than the ones from sources and the ones in the theme apk, that size makes all the framework (i'm not just talking about framework-res.apk here but all that is loaded for the display view) to occupy less in memory therefore granting more performance. but all that is if using vicky's apps, generated from vicky's mixed sources. now the reason that u have or appear to have an increased performance is because u replaced most system apps except the jar files. most of them dont make a difference but systemui, settings, cmparts and frameworks-res make. a quicky way to explain is if u think those apps as computer hardware and programs that run at windows start. if u disable some hardware and block some services and programs to start at boot, u will notice an increased performance in the pc, that is what u did. by replacing those apps u disabled some "instructions", since they wont run, more performance. just like when i crashed the network settings and freed a lot of ram. the jar files in frameworks folder use those instructions to make run some stuff like the 1% battery. stock only has 10% battery indicator.
Click to expand...
Click to collapse
So your framework-res.apk is smaller? (don't have your files left, and rapidshare is still slow ) I might try to write a small python script that decreases the quality of the images.
Could you explain what i have disabled, because everything is still running, that i can notice. Or have you added some services that i disabled? (i get that the battery is updating less often but that shouldn't make a noticeable difference?)
NAZUnlimited said:
i hope i explained myself well. its 6h in the morning here and i dont sleep for almost 34h. and i have to feed Vicky (btw, Vicky is the cat)
Click to expand...
Click to collapse
I read your post a few times, and i think i got most of it now. But you should sleep a little bit now. And fondle the cat from me
NAZUnlimited said:
i am a bit curious about some things. why the rom manager and cmwallpapers conflict? those apps are universal. (cmscreenshot, u did have to replaced it, its universal, same code for every gb rom)
Click to expand...
Click to collapse
The conflicts are just some things owncloud (my hosting service, similar to dropbox, but on your own server) messed up. It's not the most stable peace of software ever written
Cmscreenshot was not exactly the same size, so the might have optimized something since the last release.
NAZUnlimited said:
about the looks, i am making it a theme chooser app. it will make more easier for me to do the needed stuff in system apps without having to concern about the looks and the ones that dont want that look can easily change it or delete.
Click to expand...
Click to collapse
Ok, the perfect thing for me would be a smaller stock theme.
NAZUnlimited said:
other thing, battery seems mor stable now. heres a screenie
View attachment 1135355View attachment 1135356
Click to expand...
Click to collapse
Battery stats never worked for me, it always blames some random app like youtube for 99% of the usage, even if it was running 5seconds
But at least battery life is ok for me, usually enough for a school day.
Edit: I will try to build some apps from source, and maybe reduce the size if possible. Might also try to take a look at the camera.
Edit 2:
I fixed the camera rotation
Available here:
http://silenz.se/owncloud/public.ph...31c0170c4d0dddf22a07966e8b75&path=/Camera.apk
Also i'm working at reducing the memory usage of the framework.
Could someone (NAZUnlimited) please check how much memory "Android System" and the service com.android.systemui is using?
Mine is currently at 21.48MB (was at 20MB directly after boot) and the systemui at nearly 6MB
You can use https://play.google.com/store/apps/details?id=com.rs.autokiller to check that.
Is it epilepsy you have? Its when you react to fast color/light changes?
Click to expand...
Click to collapse
no, not that. a sleeping brain couldnt find the right word or expression
photophobia or light sensitivity. i have cat eyes or bilateral coloboma (cat eyes is cooler, lol). my sight is fine, i just have to wear glasses with lenses that change color with light (i dont know the name of that, photo lenses or something). my coloboma problem is more of a cosmetic thing but it leave me with a high sensitivity to light.
Could someone (NAZUnlimited) please check how much memory "Android System" and the service com.android.systemui is using?
Click to expand...
Click to collapse
ok. after install the program
free ram -> 96MB
Android System -> 20.11MB
com.android.systemui -> 4.53MB
after reboot (here the program changed my oom settings without asking and i didnt apply nothing)
free ram -> 67MB
Android System -> 18.79MB
com.android.systemui -> 4.82MB
reboot 2 (with deny permissions for autokiller and keeping my settings)
free ram -> 85MB (with time or use, some apps will be cached to swap and will free ram)
Android System -> 19.26MB
com.android.systemui -> 4.07MB
i tested the cam. great job on that. now the only thing that remains to fix in that is to unsquare the img we see in the app. there was a cm's cam app that didnt have that problem, only the rotated save problem. dont remember if was in the htc or xperia cm gb.
one thing, reducing with high compression the size of the app is great for the amount of space it occupies in memory ("physically") but it forces the use of more ram to read the app, reducing performance. that is why odexed apps grant more performance (but they grant other problems). the trick is to set the right compression and/or reducing the amount of space the app occupies unpacked (pngs, code, etc). thats why zipalign is very important to deodexed roms
So your framework-res.apk is smaller? (don't have your files left, and rapidshare is still slow ) I might try to write a small python script that decreases the quality of the images.
Could you explain what i have disabled, because everything is still running, that i can notice. Or have you added some services that i disabled? (i get that the battery is updating less often but that shouldn't make a noticeable difference?)
Click to expand...
Click to collapse
no, my frameworks is in fact bigger than the one from sources, it has more files stored inside (if i recall right, something between 260 and 330) (used the trick above).
dont worry about what u have disabled. for stock looks, it wont cause any problems. but just in case, u should do a factory reset (data or just a dalvik reset) and check. if nothing force closes at start, u are fine. most services are in the jar files. u wont have any problems unless u replace those.
about the quality of the images, u need to be carefull there. most pngs stored have visual indicators. if a pixel is missed on those indicators, u'll have visual bugs or worse, the os could stuck at the end of boot and stay there, never starting to the actual interface. i had those problems in a lewa rom (hdpi)
NAZUnlimited said:
ok. after install the program
free ram -> 96MB
Android System -> 20.11MB
com.android.systemui -> 4.53MB
after reboot (here the program changed my oom settings without asking and i didnt apply nothing)
free ram -> 67MB
Android System -> 18.79MB
com.android.systemui -> 4.82MB
reboot 2 (with deny permissions for autokiller and keeping my settings)
free ram -> 85MB (with time or use, some apps will be cached to swap and will free ram)
Android System -> 19.26MB
com.android.systemui -> 4.07MB
Click to expand...
Click to collapse
Ok, mine are at 16.73 and 3.37
I also removed the fotakill app. Huawei will newer send us an OTA-update and it was runnning in the background all the time
NAZUnlimited said:
i tested the cam. great job on that. now the only thing that remains to fix in that is to unsquare the img we see in the app. there was a cm's cam app that didnt have that problem, only the rotated save problem. dont remember if was in the htc or xperia cm gb.
Click to expand...
Click to collapse
That image in the top right?
I also noticed that video recording is broken, no idea why.
NAZUnlimited said:
one thing, reducing with high compression the size of the app is great for the amount of space it occupies in memory ("physically") but it forces the use of more ram to read the app, reducing performance. that is why odexed apps grant more performance (but they grant other problems). the trick is to set the right compression and/or reducing the amount of space the app occupies unpacked (pngs, code, etc). thats why zipalign is very important to deodexed roms
Click to expand...
Click to collapse
Well, why not try to odex all the apk's. The stock rom was odexed. Which problems should it introduce?
I'll do that now and see if i get any performance boost, or bugs
Also, i think the cm7-compiling process is zipaligning system apks automatically.
NAZUnlimited said:
no, my frameworks is in fact bigger than the one from sources, it has more files stored inside (if i recall right, something between 260 and 330) (used the trick above).
dont worry about what u have disabled. for stock looks, it wont cause any problems. but just in case, u should do a factory reset (data or just a dalvik reset) and check. if nothing force closes at start, u are fine. most services are in the jar files. u wont have any problems unless u replace those.
about the quality of the images, u need to be carefull there. most pngs stored have visual indicators. if a pixel is missed on those indicators, u'll have visual bugs or worse, the os could stuck at the end of boot and stay there, never starting to the actual interface. i had those problems in a lewa rom (hdpi)
Click to expand...
Click to collapse
I have wiped data since my big changes, and no problems.
My framework-res.apk is currently 3.9MB, the same size as yours. But i have no idea where i got that from
I have actually replaced my framework.jar, with no problems at all. Mine is ~0,2MB smaller, most likely why my memory usage is lower. Also, some of my other .jar files are smaller, but i haven't tried those yet.
I had changed my images, and saved ~0.2MB there with no problems that i could find.
But the thing i wanted to do was to use a higher compression, but it was already as small as possible. So i reduced the resolution to 70% of the original (in each direction).
Reduced the size of drawable-mdpi to 976.0 kB from 1.1MB. No big changes. I might try to do that again with my new framework-res.apk (the one i don't know where it comes from ) and all the png's.
But i don't think we can save much there.
Edit:
I odexed a few system apps. Settings, systemui, holo launcher, camera, root explorer and play store
I noticed a little bit better performance with the launcher and the play store, but it's nothing revolutionary.
My system files are available here: http://silenz.se/owncloud/public.ph...dddf22a07966e8b75&file=/ownCloud/huawei_tweak
Also the new framework.jar is available there

[GUIDE][ICS][JB] Make CyanogenMod Faster & Smoother + Battery Tips [NEW ULTRA MOD]

[GUIDE][ICS][JB] Make CyanogenMod Faster & Smoother + Battery Tips [NEW ULTRA MOD]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Make CyanogenMod Faster & Smoother​
These Tips may or may not make a difference for you. Some of which you may know and some you may not. This has just been tested by me. I definitely recommend trying this once before you decide reverting back to CyanogenMod 9 or Stock or any other ROM.
Legends :-
☆☆☆ - Excellent Tip
☆☆ - Great Tip
☆ - Good Tip
​
Tips & Tricks
Increase RAM using Swapper2 [ULTIMATE MOD] ☆☆☆
This mod is for those with Ram < 500. If your phone has greater ram, you don't require this. For all those who complain about lag, here's the ULTIMATE FIX for it. No more lagging, play HD games WITHOUT lag.
Follow this amazing guide and give your phone the ULTIMATE POWER.
Increase RAM using Swap File and Swap Partition
Download Link For MiniTool Partition Wizard : Download
Regarding the above guide:
- Maximum for 3rd Partition is 1024MB ie. 1GB. So in 1st Partition, choose maximum partition size leaving only 1024MB so you don't waste any space.
- If you are not interested in App2SD, don't create 2nd Partition
​Proper Installation Process ☆
Many of you face different bugs and issues due to improper installation. Follow the steps given on the ROM's thread.
​Remove Unwanted System Apps ☆☆
The more apps you have on your phone, less free RAM available. Get rid of those stock apps which you rarely or do not use.If you want to save the app, use something like AppManager, Titanium Backup to archive the apps you want to keep around to SD card. Or just redownload them when you need them. Go into Settings > Apps and figure out which apps you want on your phone and which ones you want to remove. For removing Stock Apps, use Root Explorer or any other file explorer, go into data/sys-parts/app and delete unwanted apps. Reboot your phone after making any changes.
Some useless Stock Apps:
CMWallpapers
SpareParts
VoiceDialer
Live Wallpapers : MagicSmokeWallpapers
LatinIME - If you use a different keyboard than stock.
CMFileManager - If you use a different file explorer
Stk
Term - If you don't need a Terminal Emulator
Trebuchet - If you're on a low end device, trebuchet is no good for you.
Video Editor
Replacement:
Google Keyboard
Swype
Solid Explorer
ES Explorer
Root Explorer
Nova Launcher
Apex Launcher
Use Static Wallpaper ☆☆☆
Live wallpapers use much more memory of your phone than a static wallpaper. Even a simple Live Wallpaper will take 2 MB or so of memory. Complicated ones may take up to 20MB. And the live wallpaper will run in background ALL THE TIME taking much of your phone's memory. Live wallpaper even consume your phone's battery. So use a static wallpaper instead.
Don't have any great static wallpaper to chose from? See This Amazing Collection Of Wallpapers​Occasionally Kill Apps Running In Background ☆☆
Everyone loves multitasking and switching from one app to another. But when you multitask, apps run in background and consume battery and take up major part of your memory. This can make your phone a little slow and laggy. Occasionally kill the apps running in background to free up some RAM.​Tweaking Performance Settings ☆☆☆
CPU Governor, Minimum CPU Frequency, Maximum CPU Frequency
To make your phone faster and smoother, tweaking above settings play an important role.
You can select "Allow Purging Of Assets" in Memory Management to allow freeing of more RAM when required.
Remember, Increasing CPU Frequency Can Effect Your Battery Life.​Tweaking With Developer Options ☆☆
For experiencing quickness as well as smoothness, change: 1. Window Animation Scale 2. Transition Animation Scale 3. Animator Duration Scale. By default they are set to "1x". Change it to "0.5x". This will make transitions and animations on your phone much faster and make you feel that your phone is super fast.
You can even select "Don't Keep Activities" to kill every activity running as soon as you close it.​Restrict Your Home Screens ☆
People tend to have more than 3 homescreens and place a lot of widgets. More widgets you have, more lag you experience on your homescreen. This may not be true for some devices like Galaxy S3, but it does effect low end devices. Try to remove unwanted widgets from your homescreen and have least no. of homescreen possible, preferably 3 or less. This did effect my phone and my phone became much smoother than ever. Try this and if you don't notice any difference, you can always change your homescreen. ​Tweaking Build.prop ☆☆☆
You can add tweaks to your build.prop to make CM10 more fluid and smoother. Following are the details about the tweak:
For more information, visit this thread : Here​Project Butter Enhancer ☆☆
With this you can Make Your Phone 5x Smoother & Faster
For more information, visit this thread : Here​------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MORE TIPS & TRICKS TO BE ADDED!
It took me a lot of time to compile this guide for you people. You can return the favor by pressing the "Thanks" Button. That Easy!
3rd Party Apps That Can
Make CyanogenMod Faster​
1. Fast Reboot
Quickly "reboot" your phone to free up memory! Simulates a reboot by closing/restarting all core and user processes and thus frees up memory. Your phone should be much snappier after using Fast Reboot. DOES NOT ACTUALLY REBOOT YOUR PHONE, only the apps & processes.
2. App Cache Cleaner
One Tap to clean all cached files for getting more avalable space. This tool can free a lot of storage memory for your phone. Free phone internal momeory, Get more internal rom storage. It is an app which is crucial to anyone who has memory management issues.
2. RAM Manager Pro
★Balance - Option which makes your RAM to the best optimization, this option is for everyday using. Use this option when you want to have fast phone without lags.
★Balance (More free memory) - This option is nearly the same as Balance, but this option should be advantageous for users who have more RAM than 512 MB. This option gives you more free memory but a bit reduces multitasking.
★Balance (More multitasking) - This option is nearly the same as Balance, but this option should be advantageous for users who have less RAM than 512 MB. This option gives you more multitasking, but a bit reduces free memory.
★Hard gaming - Option which stabilizes your RAM for playing hardest games. Use this option for games which lag on your phone. Your games will run smooth without lags.
★Hard gaming (Less aggressive) - This option is similar to Hard gaming but should be better for devices with RAM lesser than 512MB.
★Hard multitasking - Option for users which are really hard working on their phones. You can have a lot of running apps and quickly switch between them without lags.
More ...
Battery Saving Tips​
Many users feel that the battery life on their ROM is not very good. First of all never judge a ROM's battery life on the very first day you flash it. Following are some Tips for increasing your battery life - a little maybe.
1. Adjust Your Battery
As stated above, don't judge a ROM's battery life on the very first day you flash it. Adjust your battery! Let your battery drain to 5% and then charge it till 100%. Repeat this 3-4 times and your battery should get adjusted.
2. Don't Use Any Task Killer
There are many threads on XDA stating why you shouldn't use a task killer. Go find them and read them.
Many people think that "Task Killers" actually increase their battery life and free up some RAM. This is not true. Here is why:
Android Forums said:
* Android is hard coded to automatically kill a task when more memory is needed.
* Android is hard coded to automatically kill a task when it’s done doing what it needs to do.
* Android is hard coded to automatically kill a task when you haven’t returned to it in a long time.
* Most services (while possibly running in the background) use very little memory when not actively doing something.
* A content provider is only doing something when there is a notification for it to give. Otherwise it uses very little memory.
* Killing a process when it isn’t ready only causes it to have to reload itself and start from scratch when it’s needed again.
* Because a task is likely running in the background for a reason, killing it will only cause it to re-spawn as soon as the activity that was using it looks for it again. And it will just have to start over again.
* Killing certain processes can have undesirable side effects. Not receiving text messages, alarms not going off, and force closes just to name a few.
* The only true way to prevent something from running at all on your phone would be to uninstall the .apk.
* Most applications will exit themselves if you get out of it by hitting “back” until it closes rather than hitting the “home” button. But even with hitting home, Android will eventually kill it once it’s been in the background for a while.
Click to expand...
Click to collapse
3. Use WatchDog Instead Of A Task Killer
WatchDog is a Task Killer but a little different. Watchdog monitors your apps and alerts when one loses control, allowing you to kill just that single app. You don't need a task killer but a way to make sure a background app doesn't lose control and eat up all your CPU.
PlayStore Link
4. Other Tips
- Use Wifi as much as possible
- Turn off Bluetooth if not in use
- Turn off GPS if you don't need it. Google Now checks your GPS frequently
- Turn off NFC if you don't use it
- Turn off Google photos sync in Gallery if you don't use it
- Uncheck any services you don't need synced for your Google account (Settings > Accounts & Sync > select your Google account).
- Uncheck Dial pad touch tones, Touch sounds, Screen lock sound, Vibrate on touch
- Adjust individual app refresh data intervals to the max that is acceptable for you
- Underclocking (If your kernel supports)
- AOKP Powersaver feature
- Solid black wallpaper (The more black in your wallpaper, the better)
- Inverted Gapps - The more the black is used the better
Hey, what the difference between ICS and JB? Cant you list it all? And when it comes to stock cm9 and cm10 which is smoother? CM9 is lag for me.
marshygeek said:
Hey, what the difference between ICS and JB? Cant you list it all? And when it comes to stock cm9 and cm10 which is smoother? CM9 is lag for me.
Click to expand...
Click to collapse
Here you'll be able to see some main differences between ICS and Jellybean.
As for which one is better between CM9 & CM10, you'll have to try them both. For me CM10 is much smoother and faster even when its in Alpha. Go ahead , try them and see which one works for you !
Thanks for the informative post.
IMHO Dsp manager is definitely not useless. If I don't enable bass boost on it then I really can't hear any bass. Btw not problem with headphones. What I mean to say is without dsp manager and bass boost you will not get any bass :banghead:
Sent from my GT-I9003 using xda app-developers app
i ll try for this weekend
cool...i ll try in evening...:laugh:
Can u also give tips to save battery life !!
Plz i will appriciate if u tell me this !!
simratcs said:
Can u also give tips to save battery life !!
Plz i will appriciate if u tell me this !!
Click to expand...
Click to collapse
I'll be including that soon!
Fully tweaked build .prop DOWNLOAD
Touch tweaks
tweaked download speed increase
tweaked ril signals and 3g speed
deep sleep tweaked
power saver tweaks
touch response tweaks
scrolling tweaks
wifi tweaks
increase photo video quality tweaks
faster video streaming tweaks
Vasishta Reddy said:
Fully tweaked build .prop DOWNLOAD
Touch tweaks
tweaked download speed increase
tweaked ril signals and 3g speed
deep sleep tweaked
power saver tweaks
touch response tweaks
scrolling tweaks
wifi tweaks
increase photo video quality tweaks
faster video streaming tweaks
Click to expand...
Click to collapse
\
do i have to replace exisiting one???
cauz if i do this my phone doesnt boots up ??
help!!
simratcs said:
\
do i have to replace exisiting one???
cauz if i do this my phone doesnt boots up ??
help!!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1876605
found this in the forum but i don't know if it applies. you can try if you have a backup.
i have no idea on how to apply this build.prop, still learning but i think it's just about replacing it after backing up.
please enlighten me too thanks.
Vasishta Reddy said:
Fully tweaked build .prop DOWNLOAD
Touch tweaks
tweaked download speed increase
tweaked ril signals and 3g speed
deep sleep tweaked
power saver tweaks
touch response tweaks
scrolling tweaks
wifi tweaks
increase photo video quality tweaks
faster video streaming tweaks
Click to expand...
Click to collapse
cheeyeen said:
http://forum.xda-developers.com/showthread.php?t=1876605
found this in the forum but i don't know if it applies. you can try if you have a backup.
i have no idea on how to apply this build.prop, still learning but i think it's just about replacing it after backing up.
please enlighten me too thanks.
Click to expand...
Click to collapse
i got it after replacing the existing build.prop
just change the permissions to rw-r-r
thats it
simratcs said:
\
do i have to replace exisiting one???
cauz if i do this my phone doesnt boots up ??
help!!
Click to expand...
Click to collapse
Delete the existing one and paste the new one. But before deleting , take a nandroid backup or save the existing file on your phone
TopDroid said:
Delete the existing one and paste the new one. But before deleting , take a nandroid backup or save the existing file on your phone
Click to expand...
Click to collapse
I did this
just permissions needed to be changed to rw-r-r
that it
now it booted up !!
simratcs said:
i got it after replacing the existing build.prop
just change the permissions to rw-r-r
thats it
Click to expand...
Click to collapse
Just did it and it worked. Thanks. Hopefully the tweaks can give a better experience :good:
tested it,tweaks working fine !!
but hey the wifi tweak not working for me,,
optaining ip address-saved network
like this seriously ****s me up !!
simratcs said:
tested it,tweaks working fine !!
but hey the wifi tweak not working for me,,
optaining ip address-saved network
like this seriously ****s me up !!
Click to expand...
Click to collapse
Delete the network n try adding again
Sent from my GT-I9003 using xda app-developers app
Vasishta Reddy said:
Fully tweaked build .prop DOWNLOAD
Touch tweaks
tweaked download speed increase
tweaked ril signals and 3g speed
deep sleep tweaked
power saver tweaks
touch response tweaks
scrolling tweaks
wifi tweaks
increase photo video quality tweaks
faster video streaming tweaks
Click to expand...
Click to collapse
Installed, Not noticing any changes so far with video/photo quality.
Don't know about 3G speeds.

[UPDATE][ALL ROMS][HOW-TO]Speed Up & Maintain - [CM-7/9/10/10.1][NEW CONCEPTS]

I know, many people here want to have Android 4.x.x on their phones, but unfortunately, because of low-end processor as well as less RAM, these CM10/CM10.1 ROMs are laggy and slow. I am also one of them, but, after using these type of roms since 4 months, I have now got a perfect idea of using them. So, I am sharing the way I use these roms. Many people told that this also helps for CM7 users. So, now I have declared this thread as UNIVERSAL PERFORMANCE THREAD. This method can be used on - Stock | CM7/9/10/10.1.
NOTE : This method is same for PAC ROMS.. because they are based on CM. So, you can use this on PAC ROMs also.
♦ FINDING STABLE VERSION :
First of all, you will need to find a good stable version of any CM7\CM9\CM10\CM10.1 ROM. Find stable version by asking in general discussion thread of those particular ROM and then download that version. But, do not flash now.. Follow next step.
Note : For CM7 users - Official CM7 is best, but if you want you can try it on custom roms also. If you are using CM7 custom or stock based custom rom, then for scripts n tweaks to work, you must delete all the scripts from init.d so that scripts will not get overridden.
♦ SLIMMING THE ROM :
Slimming means making rom size less by removing unwanted and unnecessary applications from system/app. It reduces system memory use. Here is a chart of cm10.1 apps which are safe to remove - LINK
With reference to that chart you should remove following apps with adding alternatives to them.
Note: Left side apps are to be removed and right side apps are alternatives.
● LatinIME.apk - WP7 Keyboard App
● Browser.apk - Holo Web Browser
● CMFileManager.apk - Root Explorer File Manager
● Trebuchet.apk - Holo Launcher
NOTE: On CM7, default ADW is good, but you can also use Holo Launcher.
Other apps that can be removed without alternatives-
● CalendarProvider.apk - One of the big RAM consuming apps. This app start anytime, you do anything, so it will be a big save of memory removing this app. But, you will get problems with calendar sync..
● GoogleCalendarSyncAdapter.apk - Reomove this only if you do not sync calendar.
● Email.apk - If not in use.
● Gmail.apk - If not in use.
● Talk.apk - If not in use.
● GoogleBackupTransport.apk - It is used in google backups, remove on your own risk. (Not a risk, i always remove it.)
● ChromeBookmarkSyncAdapter - No use.
● HTMLViewer.apk - Never needed.
● UserDictionaryProvider.apk - It is useless without LatinIME.apk.
● VisualizationWallpapers.apk - Wallpapers app. Remove it always.
● CMWallpapers - Remove it always.
● VoiceDialer.apk - Do you really use it?
● LiveWallpapers.apk - Dont you care for your battery?
● QuickSearchBox.apk - If you dont use.
● PicoTTS.apk - Text to speech function.
NOTE: Alternative apps should always be installed in system/app only. For that, I recommend you to remove these apps drectly from rom's zip before flashing.
♦ USE OF SCRIPTS N TWEAKS :
Many people use hard scripts n many tweaks to get good performance. But, it is totally wrong.
Highly recommended to use Activo Speeder. It is the best script for performance. Dont use anyother thing with it- such as ram manager, seeder or anyother script.
(Note: If the above script doesnt work on your device then please find another good script and flash it.)
ALTERNATIVE FOR ACTIVO SPEEDER :
After testing a lot, I found that SuperCharger is the best script which can be used with any ROM to get more performance and for perfect RAM Management. Here are some steps on how to use SuperCharger -
● Here is the original thread for SuperCharger script.
● Script can be downloaded from this download page.
● Download latest script as well as starter package if needed (Read Original Thread).
● Now, for 4.x.x ROMs, you do not need to do anything with services.jar. But, for below 4.x.x, services.jar needs to be patched to get SuperCharger Memory Management working.
● Now, copy script to SDcard and run it with Script Manager as root. For more detailed guide plz prefer the original supercharger thread.
● Now, you are running the script. You will find many options and info on screen. Read it all and choose what you want.
NEW DISCOVERY : SUPERCHARGER + CROSSBREEDER = ULTIMATE PERFORMANCE WITH MAX ENTROPY ! - by Dark Passenger
● LINK FOR THE POST.
Here are some tweaks-
In Build.prop -
●
Code:
ro.ril.disable.power.collapse=0
and change the value from 0 to 1. (Add the line with proper value if does not exist)
This one is for battery saving.
●
Code:
dalvik.vm.heapgrowthlimit=48m
If it already exists then just match the values.
This is a VM Heap management for RAM.
●
Code:
ro.ext4fs = 1
Improves EXT4 performance.
● IMP :
Add following lines below "# Other" in build.prop
Code:
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
(If exists, just change the values as above).
(Note: This one will remove location feature increasing performance freeing up more RAM. This frees up to 30mb of RAM)
And now remove NetworkLocation.apk from system/app as well as com.android.location.provider.jar from /system/framework.
For further build.prop tweaking, you can use this great guide -> Click Here. Thanks to Dark Passenger for some build.prop tweaks.
This much tweaking and scripting is enough. DONT USE TOO MUCH TWEAKS N SCRIPTS.
♦ BASIC APPS TO USE :
Your rom's performance also depends on the apps which you use. Always look for apps' memory usage and if the app consumes more ram then try to find an alternative app for it. Here are some basic apps which you should use (i always use them).
● Use Root Explorer as file manager, Holo Launcher as Launcher.
● Use Cache Cleaner App. It is must. Clean cache once a day.
● Use Root Cleaner App. A must have app. Do "Quick Cleaning" twice a day. It will regulate your performance.
You can also freeze the apps you are not using at that time, such as DSPManager (Unfreeze it only at the time of listening songs)
Freezing Google Apps will be a great way to reduce RAM consumption.
● Use this amazing app - Autostarts. This app controls the apps that start automatically in your phone. If you want settings which I use then PM me. I will tell you, how to use this app.
CLICK HERE FOR AUTOSTART APP SETTINGS
● ABOUT TASK KILLERS :
Using task killer is good but, it is also bad. Task killing is actually meaningless. Some apps never really get killed. They start again n again. So, use Autostarts instead task killers. But, here is a nice app for killing processes and freeing RAM. This is the original app. I have themed it to look good. Download it here.
Use it as a task killer, press menu button and include system processes and then start killing processes which are useless.
● Try to use apps as system apps.
● If you are using UC Browser then in its settings, check "Clear Data on Exit". If did, you will see UC will take less than 10mb but, if you wont do this, UC will take more than 15mb.
♦ IMPORTANT TIPS AND SETTINGS :
● Always flash rom with a clean wipe and proper flashing method.
● Do not flash gapps again if they are included in the rom.
● Do not flash internal memory scripts as they reduce performance.
● Use Adrenaline Boost. Boost once or twice a day. Boosting much will increase battery consumption.
● Use Root Cleaner app and freeze the apps which you are not using at that time. Freeze Google Play Store, Google Services Framework and other google apps which are always on. Unfreeze them when you want.
● The apps used for Backup purposes should not be installed always. Keep them in your sdcard and install them when you want and uninstall when done with them.
● Basic apps should always be in system/app.
● In Developer Options -
Set all animations scale to .5x
Set Background Process Limit to "Atmost 4 processes", if issues occur then set it back to "Standard Limit".
Enable "Kill App Back Button". Always use this feature to come out of the apps which do not really exit on pressing just back button.
● Do not expect much from our phone as it is not a high-end phone. Dont expect good battery life but, still to gain good battery life. Keep RAM free by using the ProcessKiller app as told above. I always get 170 mb RAM free.
● Do not charge battery until it gets discharged upto 10% or less. While charging do not remove it till it reaches 100% and 20 mins above that.
● Calibrate battery when needed.
● Avoid use of apps which are always running either in background or foreground.
● Press thanks. .
Re: [HOW-TO] Speed Up & Maintain CM9 | CM10 | CM10.1 ROMs
Very good tutorial i came across so far :good:
+1
So true...great thread...
even i used to things unknowingly but now i know what to keep(apps) and vice versa.. great work..:good:
mni ANKIT said:
So true...great thread...
even i used to things unknowingly but now i know what to keep(apps) and vice versa.. great work..:good:
Click to expand...
Click to collapse
Thnx..
Great
very helpful thread. good job
Good tutorial(surprising no one thought of it sooner, yes me Included).
1. small thing
add explanations for all those tweaks(basically what they do)
eg.
ro.ril.disable.power.collapse=0 : claims to put the phone into deeper sleep but according to the code base seems to be undefined and should actually do nothing
pm.sleep_mode=1 : useless cause ICS and above devices this is a kernel parameter that needs to be passed directly to the kernel on boot(thus putting it to build prop doesn't help).
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
and this just shuts off network locations(for google services).
a good guide to know which leaks are the real thing and which suck(ICS and above only) guide
Dark Passenger said:
Good tutorial(surprising no one thought of it sooner, yes me Included).1. small thingadd explanations for all those tweaks(basically what they do)eg.ro.ril.disable.power.collapse=0 : claims to put the phone into deeper sleep but according to the code base seems to be undefined and should actually do nothingpm.sleep_mode=1 : useless cause ICS and above devices this is a kernel parameter that needs to be passed directly to the kernel on boot(thus putting it to build prop doesn't help).ro.com.google.locationfeatures=0ro.com.google.networklocation=0and this just shuts off network locations(for google services).a good guide to know which teaks are the real thing and which suck(ICS and above only) guide
Click to expand...
Click to collapse
First of all thanks for the info...
actually, for ro.ril.disable.power.collapse=0.. it is default.. but it is written that the value 0 should be changed to 1..
And about pm.sleep_mod.. i will remove that.
The lines -
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
Remove location features.. i forgot to mention that.. but.. network location is useless for some people and eats about 30mb of ram.. always (in any condition) so.. removing location features by these lines is a good way to manage ram..
Thnx for tht link.. i will include that.
OJ said:
First of all thanks for the info...
actually, for ro.ril.disable.power.collapse=0.. it is default.. but it is written that the value 0 should be changed to 1..
And about pm.sleep_mod.. i will remove that.
The lines -
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
Remove location features.. i forgot to mention that.. but.. network location is useless for some people and eats about 30mb of ram.. always (in any condition) so.. removing location features by these lines is a good way to manage ram..
Thnx for tht link.. i will include that.
Click to expand...
Click to collapse
agood tweak is to switch this
Code:
dalvik.vm.heapgrowthlimit=32m
to
Code:
dalvik.vm.heapgrowthlimit=48m
(enough for our devices) cause this fixes the vm heap to restrict size to 48m(hence preventing the vm heap from spliting).
source :zeplinox
also
Code:
ro.ext4fs = 1
(suppose to improve ext4 filesystem performance).
also anyone tried to change this
Code:
debug.composition.type=gpu
on cm10.1/aokp 4.2
to
Code:
debug.composition.type=mdp
what happens(I mean does it cause bootloop or not).
Dark Passenger said:
agood tweak is to switch this
Code:
dalvik.vm.heapgrowthlimit=32m
to
Code:
dalvik.vm.heapgrowthlimit=48m
(enough for our devices) cause this fixes the vm heap to restrict size to 48m(hence preventing the vm heap from spliting).source :zeplinoxalso
Code:
ro.ext4fs = 1
(suppose to improve ext4 filesystem performance).also anyone tried to change this
Code:
debug.composition.type=gpu
on cm10.1/aokp 4.2to
Code:
debug.composition.type=mdp
what happens(I mean does it cause bootloop or not).
Click to expand...
Click to collapse
Thank you very much.. will add them all soon.
Activo seeder seems to do nothing for me...xcellent replacement is crossbreeder mod which i use everytime along with ram manager app..
swat4samp said:
Activo seeder seems to do nothing for me...xcellent replacement is crossbreeder mod which i use everytime along with ram manager app..
Click to expand...
Click to collapse
As you think.. it is up to you. I think activo is best. But, do not use both together.. use only one thing at one time.
Hey thanks for your awesome guide, to be honest i am using this guide with CM7.2 and i can feel better memory and battery life.
can you please tell me your auto start up settings, i wanna know exactly which apps to disable.
CoDDeZ said:
Hey thanks for your awesome guide, to be honest i am using this guide with CM7.2 and i can feel better memory and battery life.can you please tell me your auto start up settings, i wanna know exactly which apps to disable.
Click to expand...
Click to collapse
Wait, i will give you them..
EDIT: Here are the settings -
(Apps that should be disabled)
During Startup :
Google Services Framework
After Startup :
Contacts
Gallery
Download Manager
Settings
Google Play Store
DSPManager
Google Play Services (all 3)
Google Services Framework (all 4)
Connectivity Changed :
Download Manager
Google Play Services
Google Services Framework (all 3)
Application Installed :
UC Browser (If you have)
Gallery
Contacts Storage
Google Play Store
Google Services Framework
Pico TTS
Themes Provider
Application Changed :
Gallery
Contacts Storage
Google Play Store
Play - My Library
Application Data Cleared :
Google Play Services
Google Play Services
Application Removed :
Gallery
Contact Storage
Google Play Store
Google Play Services (all 2)
Themes Provider
Application Replaced :
UC Browser ( if you have)
Contacts Storage
Time Changed :
Google Play Services (all 3)
Power Connected :
Google Play Services
Note : If you have any other apps installed then disable the apps from those installed ones which you dont want to get started automatically. It depends on you.
Thanks!
BTW, don't remove UserDictionary.apk, when i did, my keyboard kept crashing and force closing every 2 seconds.
Dunno if this doesn't happen at CM9+
Just for CM7, make sure you don't remove the app i mentioned above.
CoDDeZ said:
Thanks! BTW, don't remove UserDictionary.apk, when i did, my keyboard kept crashing and force closing every 2 seconds.Dunno if this doesn't happen at CM9+Just for CM7, make sure you don't remove the app i mentioned above.
Click to expand...
Click to collapse
No it wont happen if you use wp7 keyboard with it.. it also has an inbuilt dictionary in it.
Actually, UserDictionaryProvider.apk and LatinIME.apk are related with each other.. so of we remove one of them n try to use th remaining one.. we will ovbviously get force close.
LatinIME.apk , according to me, must be removed.. because it is near about 10mb ( more than 5mb in cm7)..
Supercharge-CrossBreeding Guide[2.2+]
Supercharger CrossBreeder Combo:-- Yes This will help provide a boost.(this is an alternate to Activo Speeder,Adrenaline engine+boost)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q.Now you guys ask me why to use crossbreeder along with supercharger ?
Ans.Crossbreeder is an entropy generator(faster refreshing & movements generation in apps) along with dnsmasq cached dns requests(speeds the net)It does nothing where the ram is concerned(and ram is a scarce resource).Here's where Supercharger comes in the combination of min-frees , and fast engine flush(its like an automated adrenaline boost!)allows for much better user experience.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
you can get the latest supercharger v6 script form here its called beast but is safe tested and assured.
you can get latest crossbreeder here.
erikcas has already patched the service.jar so you don't have to do anything
Note : - the service.jar doesn't need to be patched for 2.3 or 2.2 as the values are written & read from build.prop or local.prop(preference to build.prop).
now lets begin.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Install CrossBreeder in recovery its a flash-able zip.
now for the interesting part cross-breeder has certain parts of supercharger in it.Mainly Kernel Mods(KAK)
so in supercharger I'm sure you know how to use it if no here's a small guide.
Guide
install an app called script manager(available in the play-store).
inside the app your first prompt will have an option of browse as root choose it(gets highlighted as blue)and click OK
now navigate to where the downloaded script is located and click on it.
on the top corner there should be an icon of superuser (skull with cross bones) click it and the n click run
now you are running the script....
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
now I wont help you with each and every aspect here(Its actually very simple if confused ask).
main point is to accept nearly everything when asked
a few exceptions are.
if you have zip align is any other script like int2ext then choose to disable boot align and zip align and only enable fix emissions.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
launcher strength = die-hard
Note :don't lock home in memory.
min-frees Settings this is your ram manager :
The setting are not available for 384mb devices(like us) so after a lot of trial and error I found the best working categorization they are as follows :-
Old Settings:
for people who like to have a smooth lag-free experience in their current app BUT no multitasking choose balanced(512hp) categorized by me as aggressive.(option 6)
for people who like limited multitasking along with a fairly lag-free experience choose Quick v6 cust-OOMizer. Categorized by me as balanced. (option 10).
for people who like a large amount of apps open simultaneously and don't mid as many apps open choose 256hp balanced categorized by me as Multitasking (option 3).
New Settings: (only for people who know what they are doing).
These are custom minfree values that can be entered from option 10(custOOMize) and not enabling minfree calculator values.
they are still experimental.
Code:
8,12,30,36,41,47----Balanced(same as minfree calculator).
8,12,33,39,44,50----Aggressive
8,12,24,30,35,41----Multitasking
a good guide to understand min-free settings and OOM is this
Note : disable zram(comp-cache).
Note : disable lock launcher in memory.
now when prompted for kernel strength choose default(thus no conflict with crossbreeder).
Detailing (helps use it).
for detailing choose every 4th boot.
Fast-Engine Flush
for fast engine flush(its kind of like adrenaline boost hell its the same). choose every 6hrs(its automatic wont even know its there) recommended for gb or froyo roms....still lagging choose every 3hrs or recommended is 6 hrs.
NOTE FOR GAMERS
enable fast engine flush every . hrs this will remove cached apps every 6mins allowing for free ram i.e a fast and generally lagfree experience though i recommend to change back to 6hrs once game finishes.
this should allow for a fast and smooth performance with no loss of life.
Thanks and Happy Flashing.
Dark Passenger said:
Supercharger CrossBreeder Combo:-- Yes This will help provide a boost.(this is an alternate to Activido)you can get the latest supercharger v6 script form here its called beast but is safe tested and assured.you can get latest crossbreeder here.erikcas has already patched the service.jar so you don't have to do anythingnow lets begin.Install CrossBreeder in recovery its a flash-able zip.now for the interesting part crossbreeder has certain parts of supercharger in it.Mainly Kernel Mods(KAK)so in supercharger I'm sure you know how to use it if no heres a small guide.Guide
install an app called script manager(availabe in the playstore).inside the app your first prompt will have an option of browse as root choose it(gets hilighted as blue).and click oknow navigate to where the downloaded script is located and click on it.on the top corner there should be an icon of superuser (skull with cross bones) click it and the n click runnow you are running the script....
now I wont help you with each and every aspect here(Its actually very simple if confused ask).main point is to accept everything when asked(launcher strength die-hard).minfrees according to me the minfrees set by the calculator are a tad bit too high(they tend to kill everything if you dont multitask this is the best).a better alternative is to use the balanced settings from 512hp(should be enough but if you get black screen in apps try multitasking 512hp)now when prompted for kernel strength choose default(thus no conflict with crossbreeder).for detailing choose every 4th boot.for fast engine flush(its explained kind of like adrenaline boost). choose every 6hrs(its automatic wont even know its there)....still lagging choose every 3hrs(very risky).thats about it.this should allow for a fast and smooth performance with no loss of life.also please disable zram. and lock home in memory.Thanks and Happy Flashing.---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------@OJ sorry for piling onto your thread but its such a small matter so didn't want to make one of my own.So we can have this as a comprehensive guide.
Click to expand...
Click to collapse
Why sorry..??? You are helping me.. then no sorry..
BTW, thanks for this new trick.. i am gonna try this.. and will include it in the guide as an alternative to Activo Speeder..
One more thing, it would be nice if you improve this guide a bit.. so that all people will get it.. thnx..
OJ said:
Why sorry..??? You are helping me.. then no sorry..
BTW, thanks for this new trick.. i am gonna try this.. and will include it in the guide as an alternative to Activo Speeder..
Click to expand...
Click to collapse
Sorry was for using your thread but rather than having multiple threads on the same topic I thought we should have one with multiple methods.
OJ said:
One more thing, it would be nice if you improve this guide a bit.. so that all people will get it.. thnx..
Click to expand...
Click to collapse
how so...? Edited it a bit let me know what else is needed
can you please explain what is the benefit of installing app as a system app instead of normally installing in internal memory
Sent from my GT-S5670 using xda premium
Dark Passenger said:
Sorry was for using your thread but rather than having multiple threads on the same topic I thought we should have one with multiple methods.how so...? Edited it a bit let me know what else is needed
Click to expand...
Click to collapse
Now it is perfect.. i will add it soon..

[GUIDE] Battery Guide Roughly 120-150% More Battery based on GB Stock Battery

I can't Garantee that This guide will give you 120-150% battery life it is all on the usage of the phone
but i get around 150% whit Bernies Pacman rom
first do we need to install some Apps all apps are free so no worries
1.Android tweaker
2.Greenify (Optional but higly Recommended)
only search for these apps on Gplay (yes i am lazy)
Let's start whit the General setting for all kind of rom's
open up android Tweaker (make an Rom backup before if you are uncertain of this app or maybe this Guide there is many more Good options in this app but i am lazy and don't Want to write them because they aren't Battery related so check around)
go to the Battery tap and klick on
1. increase deep sleep battery life
2. disable power collapse
3. disable media scanner
For CM10 roms whit Performance tab go to Kernel Tab in android Tweaker and Choose Conserativ(Battery)
but make my CM 10 steps first if you don't have you Cpu Gov on Conservativ already
For CM10 roms that have performance tab (will probably work on other Roms to like ICS but i don't know)
1.set I/O To Noop
2.set Cpu Gov to Conservativ
3.activate Kernel Sampling merging
4.set Zram to 0%
And Last if you installed Greenify use it on all the apps who have some kind of Background process that you don't Really need to have Activated allt the time Saves a lot of Ram and Battery
This is my way of Optimising if you have any improvments or something that you want to be in this Guide sen me a PM
(i may have made some misstake or Forgot something becasue my performance tab is kind of gone and i am to lazy to Flash the Newest update)
Thank you:laugh::good:
Wow that was a Quick Response

[DEV][SCRIPTS][MOD]Orig!n MOD 23/10

Orig!n MOD
Hey Folks.........
Introduction
What is Origin MOD
Origin MOD is script package by me, DC07, full of tweaks and system optimization with more features to give you better experience on your phone for great battery life and high performance. Based on pikachu01 Thunderbolt! script but repacked by me to optimized even further to fit our device. Huge thanks to pikachu01 for his Thunderbolt! script.
Features
✔Overall better performance and better battery life
✔ Less RAM usage through zipalign
✔ Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access
✔ ZRAM script include
✔ Better network throughput from TCP tweaks and 3G tweaks
✔ Faster disk access through remount script (noatime, disable barrier etc)
✔ Faster SDCARD Read/Write Speed
✔ VM Tweaks, battery tweaks and kernel tweaks
✔ Build.prop tweaks and improvements.
✔Cleans log files and tombstones at every boot.
Requirements
-Android 2.3.x (Gingerbread) and higher.
- Kernel with init.d support.
- Root.
- ClockworkMod. (4 or higher)
- At least 4 MB of free space in "/system".
Package Includes
/etc/init.d/ scripts :
1_builder
60ZRAM
67OriginCalcx
78OriginMod
83OriginControl
99Origin_lagReduction
cpugputune
S99Systemcleaner
z_optimization
/system/xbin/ :
haveged
sqlite3
zipalign
\system\usr\idc
mxt224_ts_input.idc...... Thanks to NiTzZ
Installation
1. Delete all others script you have installed in "/system/etc/init.d"
2. Copy zip to your phone SD card
3. Reboot your phone to recovery mode
4. Mount /system and /data
5. Flash the zip you have downloaded
6. Reboot Recovery
7.Clear/Wipe Dalivk Cache
8.Reboot Phone
Credits
- pikachu01 - ThunderBolt
- Zacharias.maladroit
- XDA's devs for some reference of some tweaks in Zach's scripts
- Darkyy for zipalign
-Ne.xt For Pointing Out my mistakes.....
-All My Supporters
-All My Haters
Downloads
Dev-Host
Ne.xt said:
99Origin_LagReduction is a launcher tweak, you should inform users to change the "USER_LAUNCHER" value to the launcher they're currently using.
Click to expand...
Click to collapse
TIPS & Tricks
GUIDE TO GET BETTER BATTERY LIFE
WIFI: Turn off wifi when not in use.
NETWORK: Navigate to setting>more and choose gsm only in network mode when not use 3G. Also use manual search mode.
DISPLAY: Set brightness to 25% to get better battery life cause the major battery drainer come from screen. Use dark wallpaper or theme due to the fact that one black pixel does not consume any battery.
CPU: We can customize our cpu to our personal optimized system. As we now that underclock and undervolt are the great combo to achieve better battery life. I personally not recommend to overclock more than 1Ghz(In Some Kernels) cause it can damage our phone. I personally prefer SetCPU for control cpu but this is the outdated version. Go buy another one on play store. Combination of smartassV2 and sio is perfect for well balance to get better battery life without sacrifice performance.
SERVICE AND APP: Freeze any app that not in use like maps and facebook with titanium backup or simply remove any unwanted app. This will optimize our system giving some battery juice. Also dont use too much widget cause it also running in service. Use only needed
SYNC: Turn off auto sync in setting. This is because that auto sync will running all the time and at the same time our battery flow like water.
OTHER: Turn off gps, google location and google backup the get extra juice in battery.
Thanks To ZN6 For Tips....
Our devices' max. frequency is 832MHz. The 83OriginControl script wont work on our device unless it runs an overclocked kernel. Also, V6 supercharger will conflict with this mod since this mod has a minfree script. Lastly, 99Origin_LagReduction is a launcher tweak, you should inform users to change the "USER_LAUNCHER" value to the launcher they're currently using. I don't mean to flame or destroy, I just want to point out what mistakes are here.
Ne.xt said:
Our devices' max. frequency is 832MHz. The 83OriginControl script wont work on our device unless it runs an overclocked kernel. Also, V6 supercharger will conflict with this mod since this mod has a minfree script. Lastly, 99Origin_LagReduction is a launcher tweak, you should inform users to change the "USER_LAUNCHER" value to the launcher they're currently using. I don't mean to flame or destroy, I just want to point out what mistakes are here.
Click to expand...
Click to collapse
Thanks alot for my mistakes...and my apologies.....
But I mentioned 1Ghz in Some Kernels i.e Merruk,Eve,Jarvis....
ill remove the compatibility...
once again thanks
Downloading .. gonna try later

Categories

Resources