Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Vote if you got 100% SuperCharged! Does it work as advertised?
Definitely! Nothing beats it... PERIOD! 449 40.86%
Very good! Quite happy with the results! 437 39.76%
Snake Oil! It Does NOTHING! 125 11.37%
Makes things worse! 88 8.01%
Voters: 1099. You may not vote on this poll

 
Post Reply+
Tip us?
 
wraithdu
Old
#5211  
wraithdu's Avatar
Senior Member
Thanks Meter 103
Posts: 281
Join Date: Aug 2008
Quote:
Originally Posted by zeppelinrox View Post
Do you notice scrolling a little jerky?
Are you getting repeated comments in the .prop file?
Yeah, I do notice the jerkiness. I'm going to remove the extra new tweaks and reboot to see. I did a quick google for pm.sleep_mode, and I'm not sure changing that is a good idea (just my 2 cents).
I don't have any repeats in my build.prop though, looks ok.

Also, I'm going to rebuild my busybox version with the latest version of the cross compiler. I noticed that there were tweaks in the config:

CONFIG_EXTRA_CFLAGS="-march=armv7-a -mfpu=neon"

I'm going to do a bit of research on those, but do you think it will not work on older android CPUs with those settings?

---------- Post added at 11:13 PM ---------- Previous post was at 11:05 PM ----------

And yes, removing the graphics tweaks and sleep_mode (don't know if this last one matters, but it scares me http://forum.xda-developers.com/show...30&postcount=8 ) has relieved the jerkiness.
 
lucfig
Old
#5212  
lucfig's Avatar
Senior Member
Thanks Meter 58
Posts: 396
Join Date: Feb 2008
Location: Niteroi
Quote:
Originally Posted by zeppelinrox View Post
Theoretically, android should do this by default...
However, the background apps/content providers should die before secondary servers (apps you launched/used recently)
A couple things you can do is use more multitasking friendly minfrees.
Don't use bulletproof launcher if you have a low ram device.
You can bulletproof those apps that you want to keep alive and save them to 97BulletProof_Apps and use script manager to apply it every few minutes if you like.
If you were to do that, you can also edit 97BulletProof_Apps and add in apps to kill every at the same time using the pkill command...

With pkill, you can use a unique segment of the process name the same way as you can with pgrep.

So, for example say the script adds this to the script:

echo "-17" > /proc/`pgrep gReader\`oom_adj;
echo "renice -20 `pgrep $gReader`;

You can add below it

pkill facebook

So the script then looks like:
Code:
echo "-17" > /proc/`pgrep gReader\`oom_adj;
echo "renice -20 `pgrep gReader`;

pkill facebook
Sure I can manually add facebook, gmail and others to the kill list. But I was thinking in find a way to get the PID of the apps I recently launched and lower their OOM value automatically.
In the example I used before, the OOM values should be like this:
Dolphin Browser OOM 7
Read it Later OOM 7
gReader OOM 8
gmail OOM 8
facebook OOM 9
Beautiful Widgets OOM 9
etc.

and not like this:
Beautiful Widgets OOM 7
Dolphin Browser OOM 7
Gmail OOM 8
Facebook OOM 8
gReader OOM 9
Read it Later OOM 9


Some apps can access the recently launched list (TaskOS for example).
 
jukalo
Old
#5213  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Aug 2011
Quote:
Originally Posted by zeppelinrox View Post
Well it seems that the problem is that "the /system partition will not unmount properly"

I have no way to confirm that either way.

But if his method works... what the heck

Of course, I'd probably try and figure out a way to get it to unmount properly LOL
zepp you are rigth, the /system partition dont unmount properly, i checked with root xplorer and wend i open /system partition is mounted as r/w and the / partition is mounted as r/o
 
Gage_Hero
Old
#5214  
Senior Member
Thanks Meter 110
Posts: 841
Join Date: Jul 2010
Quote:
Originally Posted by jukalo View Post
zepp you are rigth, the /system partition dont unmount properly, i checked with root xplorer and wend i open /system partition is mounted as r/w and the / partition is mounted as r/o
jukalo is there a way to fix it? all i wanna do is make a backup... but i cant make that happen...
Telus Galaxy S3
Hairybean 64GB Sandisk Ultra
I/O Boost - Data2SD 28GB FAT32 - 31GB EXT4
it's unlocked an no I don't regret it.....
Join dropbox you get 2 gb free I get an extra 250 mb @Dropbox. 2GB account is free! http://db.tt/BCnlmj2R
 
zeppelinrox
Old
#5215  
zeppelinrox's Avatar
Senior Member - OP
Thanks Meter 16648
Posts: 8,001
Join Date: Dec 2010
Location: IN THE FREAKIN' OP

 
DONATE TO ME
Quote:
Originally Posted by wraithdu View Post
Yeah, I do notice the jerkiness. I'm going to remove the extra new tweaks and reboot to see. I did a quick google for pm.sleep_mode, and I'm not sure changing that is a good idea (just my 2 cents).
I don't have any repeats in my build.prop though, looks ok.

Also, I'm going to rebuild my busybox version with the latest version of the cross compiler. I noticed that there were tweaks in the config:

CONFIG_EXTRA_CFLAGS="-march=armv7-a -mfpu=neon"

I'm going to do a bit of research on those, but do you think it will not work on older android CPUs with those settings?

---------- Post added at 11:13 PM ---------- Previous post was at 11:05 PM ----------

And yes, removing the graphics tweaks and sleep_mode (don't know if this last one matters, but it scares me http://forum.xda-developers.com/show...30&postcount=8 ) has relieved the jerkiness.
Ok I upped RC2.1
Took out those 2 graphics tweaks but left the sleep mode in as I'm curious as to feedback about battery... it's not an uncommon tweak and I haven't heard anything bad about it being set to 1.
Also took care of your first 2 comments
About the busybox stuff and older cpus... I'm sure you know more about that than I do
Quote:
Originally Posted by lucfig View Post
Sure I can manually add facebook, gmail and others to the kill list. But I was thinking in find a way to get the PID of the apps I recently launched and lower their OOM value automatically.
In the example I used before, the OOM values should be like this:
Dolphin Browser OOM 7
Read it Later OOM 7
gReader OOM 8
gmail OOM 8
facebook OOM 9
Beautiful Widgets OOM 9
etc.

and not like this:
Beautiful Widgets OOM 7
Dolphin Browser OOM 7
Gmail OOM 8
Facebook OOM 8
gReader OOM 9
Read it Later OOM 9


Some apps can access the recently launched list (TaskOS for example).
Yeah they get the info using java but I doubt a script can do that.

So if thats what you want, you can just do...

echo 7 > /proc/`pgrep dolphin`/oom_adj
echo 8 > /proc/`pgrep greader`/oom_adj
echo 9 > /proc/`pgrep facebook`/oom_adj

pgrep will use the PID of a matching process.

I guess an easy way is to just bulletproof all the apps you want to control and have the script put everything in 97bulletproof_apps and just edit the script with the numbers you want instead of the -17
The Following User Says Thank You to zeppelinrox For This Useful Post: [ Click to Expand ]
 
jukalo
Old
#5216  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Aug 2011
Quote:
Originally Posted by Gage_Hero View Post
jukalo is there a way to fix it? all i wanna do is make a backup... but i cant make that happen...
me to, this thing only happens to me whit the rc1, i gonna test the rc2 right now
 
avgjoemomma
Old
#5217  
Senior Member
Thanks Meter 79
Posts: 453
Join Date: Jul 2010
Quote:
Originally Posted by Gage_Hero View Post
One more post I promise I'll shut up... I have rom manager, my options are, nexus s, nexus s 4g, samsung galaxys i9000 and samsung gallaxysi9000 (mtd). I have a samsung Fascinate 4G model T959P. Which one do I choose and if something goes horrible wrong, will I be able to odin my way back? I do have the files since ive messed up the phone once before lol.
Sorry, I don't know enough about your model and don't want to give you incorrect information. You should check out the Fascinate forum and see if they can help you: http://forum.xda-developers.com/forumdisplay.php?f=721
Hardware: Google Nexus One
Recovery: ClockworkMod 5.0.2.0
ROM: CM7 (nightly)
Kernel: intersectRaven's Kernel AVS (latest)
Tweaks: zeppelinrox's V6 SuperCharger, zeppelinrox's Kick Ass Kernerlizer, SD read cache 1536
 
Gage_Hero
Old
#5218  
Senior Member
Thanks Meter 110
Posts: 841
Join Date: Jul 2010
RC2.1 seems to be smokin fast Zep.... Thanks Superchargerman......
Telus Galaxy S3
Hairybean 64GB Sandisk Ultra
I/O Boost - Data2SD 28GB FAT32 - 31GB EXT4
it's unlocked an no I don't regret it.....
Join dropbox you get 2 gb free I get an extra 250 mb @Dropbox. 2GB account is free! http://db.tt/BCnlmj2R
 
jukalo
Old
#5219  
Junior Member
Thanks Meter 1
Posts: 18
Join Date: Aug 2011
now the new rc 2.1 it working for me, tnx alot zepp for fixing the unmounting issue
 
zeppelinrox
Old
#5220  
zeppelinrox's Avatar
Senior Member - OP
Thanks Meter 16648
Posts: 8,001
Join Date: Dec 2010
Location: IN THE FREAKIN' OP

 
DONATE TO ME
Good... glad it's working!!
Got the changelog up...

Updated October 26: - V6 SuperCharger Update 9 RC2.1
Smarter - If you change launchers, it tells you that you need to reboot
Smarter - If it's your first SuperCharge, it brings to the wipe caches & reboot tool
Misc. Tweaks - Removed "debug.sf.hw=1", Added "pm.sleep_mode=1" (saves battery)
Tweaked - Minfrees again - less multitasking but not as aggressive as before
Enhanced - the interface some more
Improved - the code some more
Tweaked - init.rc support - off by default
Tweaked - 99SuperCharger a bit - Added an echo command to make busybox v1.19.1 stfu and be happy.

The Following 3 Users Say Thank You to zeppelinrox For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
android.process.acore, awoooooooooooooooogaaa, booga booga booga, boomstick, hard to kill, hellz yeah, hi mom, ky for android, lag, launcher, mbq was here, omfg, out for justice, ram, redraw, supercharger, turbocharger, under seige, v6 supercharger, wooooow, zeppelinrox is a god, zepplinrox, zepplinrox thanks meter exploded, zoom zoom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...