[Q] Disabling Multitasking and ... - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hey, how is it going.
lets get to the point right away.
Basically I Don't do multitasking more often and I'm more of a performance fan kinda person in other words f*** multitasking speed this Scheiße up a little bit for god sake.
So I have a couple questions for ya all today I'll be really grateful if you help me out and like my other posts everyone here will get a thank.
(I'm on about CM7)
1. how to disable multitasking or at least reduce the max number of active/running apps. (note!!! how to do that without home app being terminated)
2. how to tell the system not to terminate home app under any circumstances or just keep it in memory or cache it or dunno somehow don't touch it.
3. how to change the default values for settings of a ROM *
4. how to change the default values for settings of an app *
* => I'm gonna make a ROM, so basically I would like to change the default values to something else for example cpu freq or gov to my desire or changing the animation speed of the home app to something else in this case I'm on about launcherpro. so once I flash the ROM the settings are already set to what I wanted.
Note!!! I know some of that could be done through Cm dev app. but i'm thinking of some sort of script or build.prop lines or actually add these settings to cm settings which would be great.
Cheers!!!

I think spare parts has an option to set android's task manager to aggressive.
To lock the home app in memory, you can either,
Go to cyanogenmod settings>Performance >Lock home app in memory
Or you can put this line in build.prop: ro.HOME_APP_ADJ=1
Sent from the cracked screen of my GALAXY Ace.

tomb20 said:
I think spare parts has an option to set android's task manager to aggressive.
To lock the home app in memory, you can either,
Go to cyanogenmod settings>Performance >Lock home app in memory
Or you can put this line in build.prop: ro.HOME_APP_ADJ=1
Sent from the cracked screen of my GALAXY Ace.
Click to expand...
Click to collapse
=====================
Cheers bro spare parts doesn't have that option and neither cyanogenmod settings or the home_app_adj=1 would work I was already aware of those but if you reduce the number of running apps to for example one or two once you open up one or two apps the home app will be terminated
Sent from my GT-S5830 using xda premium

All this can be done by editing the ramdisk folder in the kernel. (Except the app values ofc).!!
For no multitasking use dsixda kitchen. It has the option. Option 12 in the first advanced view if i ain't wrong. Other things you have to edit manually..
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________

shaaan said:
All this can be done by editing the ramdisk folder in the kernel. (Except the app values ofc)
Click to expand...
Click to collapse
Cheers bro. Could you be a bit more specific what things could be done in that folder I mean is all the settings values stored in that folder like sound,brightness or other settings or is it just the CPU freq and gov ? And what about settings of an app?
Sent from my GT-S5830 using xda premium

Flashing an app's data and dalvik cache to the appropiate address will keep its settings.
You can also try modifying the kernel's minfree values to force the closing of inactive apps in favor of more free ram.

dxppxd said:
Flashing an app's data and dalvik cache to the appropiate address will keep its settings.
You can also try modifying the kernel's minfree values to force the closing of inactive apps in favor of more free ram.
Click to expand...
Click to collapse
Thank you bro
Sent from my GT-S5830 using xda premium

Anymore suggestions people ???
Also is it possible to add some of the available options in the cm Dec app to cm settings? If yes how?
Sent from my GT-S5830 using xda premium

Related

LCD Density - keeping settings through reboots

Anyone know why the screen density you set (either using LCD Density or modifying build.prop directly) doesn't keep when rebooting? TIA
What do you think the optimal density is and does it make a noticeable difference?
I like 140 - makes the screen look very nice and smooth. All apps seem to run fine, with the "stretch apps" fix.
ethanwinkley said:
I like 140 - makes the screen look very nice and smooth. All apps seem to run fine, with the "stretch apps" fix.
Click to expand...
Click to collapse
what "stretch apps" fix do you mean? are you talking about messing with the manifest file the .apk file?
post pics please!
Sorry, I couldn't remember before... spare parts is the name of the app you need to install. Then, go in there and set Compatibility Mode disabled - reboot. This stretches apps that run in less than full screen.
ethanwinkley said:
Sorry, I couldn't remember before... spare parts is the name of the app you need to install. Then, go in there and set Compatibility Mode disabled - reboot. This stretches apps that run in less than full screen.
Click to expand...
Click to collapse
Have had that running. Does not work on all apps though. I thought maybe I missed something new. Thanks though.
Sent from my HTC HD2 using XDA Premium App

[MOD] IncrediControl - Easy control of voltages and kernel settings!

Please read this post through thoroughly before downloading.
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
In addition, if you are an Incredikernel user, the app may also be used to toggle Incredikernel specific features on and off, namely USB fast charging and audio boost.
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
NOTE: The settings in the general tab are only functional in kernels that have implemented the simple sysfs interfaces for usb fast charging and audio boost. If you toggle them, its not going to break anything, but they won't work and the app may crash. If you would like your kernel dev to implement the interfaces, please direct them to these two commits:
https://github.com/Chad0989/android_kernel_common/commit/a7c21fa0391c225900f93960362535179c0cecc9
https://github.com/Chad0989/android_kernel_common/commit/41dc138bae23dc7582de72a4d9895aaa8e1f8b2d
NOTE2: It is a requirement of the HAVS adjustment that the kernel you are using has the HAVS sysfs interface implemented. If it does not, it will not work. Most non-stock gingerbread kernels have the HAVS adjustment. Very few sense kernels have the adjustment. I believe ziggy's latest is the only one that does.
NOTE3: Before using, please delete any boot scripts you may have in /etc/init.d that toggle any of the settings this app controls.
Get it at http://www.incredikernel.com
Restore script - use this if you went too low and find yourself in a boot loop. Flash through recovery:
http://www.incredikernel.com/?p=229
This excites me.
Neat
Sent from my Synergy Rom using Tapatalk
Great chad! Finally an app that does all the work.
Sent from my ADR6300 using XDA App
Hey Preview 2 has the HAVS, I think you should put the minus on the left of each number field. So that way it's like
- [voltage] +
mikeymop said:
Hey Preview 2 has the HAVS, I think you should put the minus on the left of each number field. So that way it's like
- [voltage] +
Click to expand...
Click to collapse
I concur. And will this work on the incredikernel?
J/k on the the question part (because I know someone will take that seriously ). Great work, chad.
Chad, here's something to ponder or consider. Please think about putting in some way to back-up your settings. That way when flashing new roms you could just restore from back rather than settings all again. Just a thought.
Great thanks!
I know viperboy was working on something similar.
I have to say though your aggressive undervolt package is the tits. It is rock solid for me, and I can't lower anything -25v from there without crashing.
RebelShadow said:
Chad, here's something to ponder or consider. Please think about putting in some way to back-up your settings. That way when flashing new roms you could just restore from back rather than settings all again. Just a thought.
Click to expand...
Click to collapse
That may come in the future.
@everyone: Anyone try it on other devices that have havs + sysfs interface? Evo, desire?
effing sweet..... no more term emulator for me
Chad, I've noticed that after I reboot the phone and go back into the app, the boxes for "set on boot" are unticked.
Also I know you already know this but it's sort of a pain in the ass to set the SD card speed (your other app) after every boot, so if you could do a "set on boot" for that one too that'd be awesome.
Keep up the good work, I like how every time I check back here you have a bunch of updates
I've noticed after installing a new nightly with no wipes, the values revert to stock, even with set on boot.
POQbum said:
Chad, I've noticed that after I reboot the phone and go back into the app, the boxes for "set on boot" are unticked.
Also I know you already know this but it's sort of a pain in the ass to set the SD card speed (your other app) after every boot, so if you could do a "set on boot" for that one too that'd be awesome.
Keep up the good work, I like how every time I check back here you have a bunch of updates
Click to expand...
Click to collapse
The boxes are unticked on purpose, so that the file is only written when you specify that you want to set the current settings on boot. The other option is to have it ticked when the boot script is found, but then you would have to untick it when you want to just play with voltages (but not change your boot script) and then tick it again to set on boot. Would everyone prefer it that way?
I should also specify that when you tick set on boot, you also must click set in order to truly set it on boot. There is also the option to have it write the file when set on boot is ticked. I just need to know what everyone's preference is.
SDspeed might be added to a future release and would have the set on boot option.
PonsAsinorem said:
I've noticed after installing a new nightly with no wipes, the values revert to stock, even with set on boot.
Click to expand...
Click to collapse
That's because new nightlies overwrite the /system folder where the boot script is stored. I'll probably add a backup option too so you can load the defaults, either that or change over to storing the values in a database and loading them via the app on boot as opposed to the boot script.
Looks cool.
Backup database - yes!
Default set on boot once it's been ticked - yes!
Thanks for this, Chad!
Zeam & Incredikernel
CM7 latest Nightly
7/19/2011 - Preview 3:
Changes include:
Added +/- All Min and All Max buttons
Reordered the + and – buttons to flank the voltages to clean up the layout a bit.
Removed the title bar for more vertical screen space
Next up is feature checking / disabling of functions your kernel doesn’t support as well as voltage checking.
Get it at http://www.incredikernel.com
Here's an icon I made in photoshop for the time being, so there won't have to be that plain android icon.
Download it here: http://dl.dropbox.com/u/12361010/volts.png
nagasgura said:
Here's an icon I made in photoshop for the time being, so there won't have to be that plain android icon.
Download it here: http://dl.dropbox.com/u/12361010/volts.png
Click to expand...
Click to collapse
Thanks, I'll add it for the next release.
The + on the Max voltage doesn't display for me.
Love it, fast and simple volt changing.. Makes viperMOD ancient news.

CyanogenMod Speed Tweaks

CyanogenMod is known as one of the fastest Android ROMs available. For many of us with older devices though, it’s not exactly speedy unless you make some tweaks to it. so some changes need to be made. Here are a few changes I made to my galaxy mini that made it super fast. Give them a try on your own device if you Cyanogen runs slow.
Note: Some of these changes may cause damage to your device. I am not responsible for your results. Use these tips at your own risk.
Overclock the CPU
Take advantage of the capabilities that comes with rooting your device. Go under Settings > CyanogenMod settings > Performance > CPU settings and do the following:
Select CPU settings and set Max CPU frequency to 748Mhz or 768Mhz. I personally go with this setting you can choose. This may reduce the life of your hardware, but it’s totally worth it.
Set Available governors to smartass v2 or lilgv2.
Check Set on boot.
Optimize ADWLauncher
The included ADWLauncher will run extremely slow on older devices if left to its default settings. Make some changes under Settings > ADWLauncher:
Select Drawer settings and uncheck Animated Drawer and Fade app labels. This will save resources and enable the launcher to load faster.
ADW drawer settings
Select System Preferences and uncheck Wallpaper Hack.
Also under System Preferences, go to Scrollng cache and set it to Low quality.
ADW wallpaper hack and scrolling cache settings
Miscellaneous tweaks
If your device is still slow after the changes above, you may also want to do the following:
Under Settings > CyanogenMod settings > Performance, check Lock home in memory.
Also under Settings > CyanogenMod settings > Performance uncheck Enable surface dithering.
Cyanogen performance settings
Uninstall unused apps.
Move apps to the SD card.
Delete widgets from the Home screen.
Restart your device and it should now fly. Feel free to post your own optimization tips.
710mhz is enough, some models will reboot or freeze @ 768mhz...
yackovsky said:
710mhz is enough, some models will reboot or freeze @ 768mhz...
Click to expand...
Click to collapse
I personally go with this setting(and my phone work fine) you can choose what you want
What's your thoughts on the apps Swapper (or Swapper2) and Sysctrl Config? Any suggested settings for the latter?
Sent from my Galaxy Mini (SGH-T499) using XDA
i use smartass v2
oc 322mhz-844mhz ...
huggs said:
What's your thoughts on the apps Swapper (or Swapper2) and Sysctrl Config? Any suggested settings for the latter?
Sent from my Galaxy Mini (SGH-T499) using XDA
Click to expand...
Click to collapse
i think swap partition is not recommended
use ram management like Adrenaline engine
i use governor smartass v2 320 min freq and 787 max freq.. my phone works fine and considerably fast
I had plans on writting a detailed thread about speeding up official CM7.2, but i just can't find time for it

Simple density tweak

This is such a simple tweak but I figured I'd share it any how...
It always amazes me how there's this badass high res screen but it ships with everything scaled up which just doesn't take any advantage of the number of pixels available.
I messed around with a few values of the "ro.sf.lcd_density" property in /system/build.prop and settled for 320 (default is 480). It does make a little on the small side but you can offset this with the regular Settings -> Display -> Font size option.
The result, is for me at least, a great improvement. I can see most of my apps in the drawer without scrolling, can see and actually read a whole website without zooming in plus the system and nav bars top and bottom now take up a much more reasonable amount of space.
Install your favorite root enabled File Explorer and mount system RW and go edit. I like http://goo.gl/NvtA8 as it runs as su & mounts system for you.
After getting stuck in a bootloop by using one of those dpi changer apps I've plucked up the courage to try again. This time I edited the build.prop myself and it worked.
It looks crazy I think I could get used to this though
Sent from my C6603 using Tapatalk 2
wow this is amazing. i always wondered why they scale it up, now i can tweak it myself. thanks!
I'm hoping that at some point someone ports Paranoid Android for the Z it will be amazing! (please, please, please!). But can someone who's applied this upload some screenshots (Settings, Notification shade, etc)? Thanks in advance!
Kallb123 said:
After getting stuck in a bootloop by using one of those dpi changer apps I've plucked up the courage to try again. This time I edited the build.prop myself and it worked.
It looks crazy I think I could get used to this though
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
How about the camera app
Are the controls offset?
Sent from my C6603 using Tapatalk 2
Here's some screen shots
320 DPI, font size is normal. With small font size everything is tiny
Sent from my C6603 using Tapatalk 2
Just found the phone app doesn't scale correctly.
The buttons work, but graphics are messed up.
Sent from my C6603 using Tapatalk 2
R: Simple density tweak
I suggest you to try with the value 400: I've been using it since I got the phone and is great! A lot of space but still usable everyday. But sadly this is not a stock value ( 480 320 240 and 160 are stock afaik) and this will break play store compatibility: to fix it you have to flash a multi dpi play store mod.
And yes, the phone app does not scale properly but it's not really an issue..
Sent from my C6603 using xda premium
Tried with 320 , but I got a boot loop. Locked Z , with root and CWM .
I think I will have to reflash it from the PC companion to recover it.
Very strange. What does adb logcat say during your bootloop? Sure you didn't b0rk the file some how?
I did not look at the adb, but I'm thinking the same thing, I thing somehow the file just got corrupted ...
also after I mount R/w , twice the screen got black, reboot, root explorer, R/w and everything ok.
Once I flash with PC companion , and root it again I will try again :fingers-crossed:
Anyhow I tried also a couple of days ago with a dpi changer and the result was the same .
DeiphoneaAndroid said:
I did not look at the adb, but I'm thinking the same thing, I thing somehow the file just got corrupted ...
also after I mount R/w , twice the screen got black, reboot, root explorer, R/w and everything ok.
Once I flash with PC companion , and root it again I will try again :fingers-crossed:
Anyhow I tried also a couple of days ago with a dpi changer and the result was the same .
Click to expand...
Click to collapse
I used a dpi changer a few days ago and got a bootloop. This time I simply used ES FilevL Explorer and enabled root functions. Didn't need to mount anything, just change number, save and reboot
grievous2004 said:
I suggest you to try with the value 400: I've been using it since I got the phone and is great! A lot of space but still usable everyday. But sadly this is not a stock value ( 480 320 240 and 160 are stock afaik) and this will break play store compatibility: to fix it you have to flash a multi dpi play store mod.
And yes, the phone app does not scale properly but it's not really an issue..
Click to expand...
Click to collapse
Seems like a big gap between 320 and 480 :/
I've been thinking if using 400, as I did try on my way down to 320 abd it looked alright, but now I know it's not stock I'm not sure. Also, would we get tablet interfaces on 400 dpi?
I opened up imdb and was greeted by a nice tablet interface kinda don't want to give it up :/
Sent from my C6603 using Tapatalk 2
For apps that don't scale such as dialer I use xposed and app settings module.
Been using 380dpi for a while that works ok
Sent from my C6603 using Tapatalk 2
fards said:
For apps that don't scale such as dialer I use xposed and app settings module.
Been using 380dpi for a while that works ok
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
Any chance you can give us a hint on how to use xposed, please?
Sent from my C6603 using Tapatalk 2
Set the dpi per app to the original 480 for each of the particular app such as contacts (dialer), contacts import, phone, phone contacts and phone storage and semc task switcher.
which don't scale properly at a lower res.
To install it
http://forum.xda-developers.com/showthread.php?p=39145237
Sent from my C6603 using Tapatalk 2
fards said:
For apps that don't scale such as dialer I use xposed and app settings module.
Been using 380dpi for a while that works ok
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
Will 380dpi give us a tablet interface or do we need to go all the way to 320 for that?
Sent from my C6603 using Tapatalk 2
fards said:
Set the dpi per app to the original 480 for each of the particular app such as contacts (dialer), contacts import, phone, phone contacts and phone storage and semc task switcher.
which don't scale properly at a lower res.
To install it
http://forum.xda-developers.com/showthread.php?p=39145237
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
Well... THANK YOU! It's almost like being on Paranoid!! You can set per app dpi, font dimension (scale) and layout (screen dp) so I can get tablet layout in the apps I'm interested while keeping the global interface (navbar and notification bar) at the desired dpi.
This is not development... Moving to themes and apps
Sent from my Z
fards said:
Set the dpi per app to the original 480 for each of the particular app such as contacts (dialer), contacts import, phone, phone contacts and phone storage and semc task switcher.
which don't scale properly at a lower res.
To install it
http://forum.xda-developers.com/showthread.php?p=39145237
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
Pls pls pls share your settings for exposed, meaning all the packages with modified settings list with the applied parameters. Would be worth a million thanks.
Story is i've applied 320 dpi via build prop and everything is perfect but the dialer is coorupt. So i installed xposed and the module, hanged the dpi for the phone and contacts apps to 480, but when i open the dialer, it has ne dial button and the soft keyboard pops up...
Once again, i would really appreciate if one of you gus who reported everything to work ok could share all the relavant details i/o for me to reproduce.
Cheers
Sent from my Z using xda premium
shulmus said:
Pls pls pls share your settings for exposed, meaning all the packages with modified settings list with the applied parameters. Would be worth a million thanks.
Story is i've applied 320 dpi via build prop and everything is perfect but the dialer is coorupt. So i installed xposed and the module, hanged the dpi for the phone and contacts apps to 480, but when i open the dialer, it has ne dial button and the soft keyboard pops up...
Once again, i would really appreciate if one of you gus who reported everything to work ok could share all the relavant details i/o for me to reproduce.
Cheers
Sent from my Z using xda premium
Click to expand...
Click to collapse
I got these set to 480 and the dialer looks pretty good for me:
Contacts
Contacts Import
Contacts storage
Phone
Phone Contact
Phone/Messaging Storage
Recent Calls
I'm not sure how many of these actually relate to what you're seeing on screen, someone else will hopefully clear that up, but at the moment this is what is working for me.

Rom toolbox settings not sticking

I have been driving myself a little nutz... The more I search, the more I feel like a noob! I am trying to find out why none of the settings I make in rom toolbox stick. I heard that the sysclt.conf file has to be "turned on", so that you could edit it directly or with rom toolbox or the like. Can anyone shed any light my way? TIA.
When you say they don't stick do you mean after reboot or immediately after making changes? Also, what settings are you changing? ROM Toolbox has many different tweaks that it can set on boot, and the fix could differ per what you are tweaking. For example, if you are setting CPU frequency it could just be the kernel you're using.
Sent from my HTCONE using xda app-developers app

Categories

Resources