yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] thez3ro:
the script didn't help me anything so i wanted to delete it... but i couldn't... beacause every time i used a root explorer app to get to the location of the script and deleted i got a notification that the script could not be deleted.

how do you exactly remove the script? i presume i'm not able to delete it beacause it is running...
[Galaxy S I9000 Android Development] siky_dude:
Mount system rw
[Galaxy S I9000 Android Development] thez3ro:
thank you very much ;)
[Galaxy S I9000 Android Development] zg1603h:
In init.d folder i got 2 scripts among others

one is S_loopy_smoothness_tweak and the other is S_volt scheduler.

Now, the S_volt is from voltage control app and is suppose to set default OC/UV values on startup but it does not do so because of of the smoothness script.

When i remove the loopy script the S_volt one runs like it should on startup.

What’s with that? :)

I can’t have 2 scripts starting with S_ in init.d or what?

Can i rename one or the other or those things have to start with S_...?

excuse my ignorance.

Thanks

btw.

loopy tweak version 2 works like a charm
[Galaxy S I9000 Android Development] lpy:
Two possibilities that come to mind, one being the kernel only allows one script to run (shouldn't be the case, unless the code was written incorrectly), or both scripts run, but S_volt runs last. Try renaming S_volt to something like S1_volt or S_1volt and see how that goes.
[Galaxy S I9000 Android Development] zg1603h:
Renaming did the trick.

I was on semaphore kernel before and now I'm on galaxian and on both kernels same thing, scripts load on boot only after renaming them.

Funny.
[Galaxy S I9000 Android Development] cenculko:
hi,is possible to use on other android pone?i mean lg optimus me.thanx
[Galaxy S I9000 Android Development] tomatenjungee:
possibly dumb question: how do i see the script is loaded?

sadly the tamron kernel i use has logcat disabled :/
[Galaxy S I9000 Android Development] petrichor8:
*process listing solved*

Ok, did some digging.

for ADB use,

1: shell into adb, then use the command

/$ pm list packages -f

OR 2: run from command prompt

c:\android-sdk-windows\tools>adb shell pm list packages -f

(protip-> dump into file using 2nd method, open in text editor of choice)

This will give you a list of all the packages, along with the path to the apk file, which can give a clue to what exactly the file is/does.

Using the phone, you can d/l an app such as Quick System Info

Using this proggie, go to Applications->long click app->details->Package Name (or process). This will let you choose specific apps to speed up.

You can use these values to fill in the blanks in you file before you send it to your phone :cool:
[Galaxy S I9000 Android Development] anndalis:
Same Q previously.. how I make sure that the script is working ?
[Galaxy S I9000 Android Development] bobbbb:
I love finding interesting little scripts like this that improve my phone (works on vibrant) :) Any news on an update?
[Galaxy S I9000 Android Development] Entropy512:
Hmm... kswapd should be irrelevant on most phones. It's responsible for paging memory in/out of the swap partition (pagefile in Windows terminology) - VERY few Android phones have any swap enabled at all.

I should check my Infuse when I'm more awake.

Changing priority of kernel processes can be dangerous... Plus I'm surprised kswapd is using much CPU at all unless you're using a ps/top variant that is including iowait percentages (time CPU is spending waiting for an I/O resource, NAND flash in the case of almost any Android phone). kswapd typically uses little to no CPU, but if you include iowait in its usage it'll be much higher apparent CPU usage.
[Galaxy S I9000 Android Development] lpy:
You are right. After a little more tinkering, I discovered it was actually the speedmod kernel causing heavier kswapd usage, which is why I haven't really looked into this script for a while...the effect is definitely still noticeable on a stock kernel but just not as much as I had originally anticipated.

petrichor8 posted something interesting that I might look at.
[Galaxy S I9000 Android Development] nstong:
So I was looking at running processes so I could make it look at swift key and not swype, and I can't find ADW running (meaning I saved a top output and grepped for adw). Also when checking via packages (thanks for that), it lists org.adw.launcher. Not the freak that I've found in the two version of this script I've seen. Anyone have any idea how my launcher isn't running?
[Galaxy S I9000 Android Development] bobbbb:
dead thread :eek:
[Galaxy S I9000 Android Development] Nikotiko:
Does this work on all Android phones?
[Galaxy S I9000 Android Development] siky_dude:
I say yes. :)
[Galaxy S I9000 Android Development] Nikotiko:
I installed the T2 and didn't quite experience a big difference. Though the PIN insert was faster responding, I think.

Edit: After I installed this, Tegrak Overclock resets my overclock scaling when I leave the settings. Sometimes though it doesn't, but what could cause this?
[Galaxy S I9000 Android Development] zenosteam:
keep the good work
[Galaxy S I9000 Android Development] juanmaper:
Im gettin (status 0) error when trying to install from recovery.

I have i9003, with CF ROOT cwm.

Any help?

Thanks
[Galaxy S I9000 Android Development] ChadZ:
How do you install / apply this?
[Galaxy S I9000 Android Development] siky_dude:
just flash it, if you would have read what i does you should have known how to flash it...

some men just want to watch the world burn
[Galaxy S I9000 Android Development] thunderteaser:
Very interesting approach. Subscribed!
[Galaxy S I9000 Android Development] topiratiko:
In script it says put your launcher here how do i properly word it for go launcher ex?

Sent from my Apex Blue JVR Samsung Captivate.
[Galaxy S I9000 Android Development] siky_dude:
Read the thread.
[Galaxy S I9000 Android Development] topiratiko:
LMAO thats a FANTASTIC answer.

Random dude: wheres the bathroom? Silky dude: on planet earth. The reason i asked was because i skimmed it and couldnt find it. MY BAD

Sent from my Samsung Galaxy S Captivate on Blue Apex
[Galaxy S I9000 Android Development] bhu1:
Calm down, we all know silky dude is rude and bad tempered but can we change it? He is the only one who can change it but i dont think he wants too.
[Galaxy S I9000 Android Development] Mr Woolf:
He's not rude and bad tempered, he's direct and to the point. Big difference.
[Galaxy S I9000 Android Development] Stevenrogers_420:
First post on pg 7 Top.
[Galaxy S I9000 Android Development] topiratiko:
Never encountered silk before, but judging by the responses it seems like he has a reputation to uphold. Not an issue. Good day to all

Sent from my Samsung Galaxy S Captivate on Blue Apex
[Galaxy S I9000 Android Development] topiratiko:
Thank YOU kind sir!

Sent from my Samsung Galaxy S Captivate on Blue Apex
[Galaxy S I9000 Android Development] Stevenrogers_420:
I don't use ADB (Never tried setting it up). I just fire up quick user info and make changes accordingly with my phones text editer and reboot.
[Galaxy S I9000 Android Development] siky_dude:
+1 :)

10 chars

---------- Post added at 04:09 PM ---------- Previous post was at 04:08 PM ----------

well, i wouldn`t say on planet earth, but: "there are signs as big as your head that indicate where is the bathroom, why wont you read them?"

big difference, use search. :)

---------- Post added at 04:11 PM ---------- Previous post was at 04:09 PM ----------

bad tempered ?

well, that`s just like you`re opinion, man
[Galaxy S I9000 Android Development] Stevenrogers_420:
Forkin Hilarious man!!
[Galaxy S I9000 Android Development] topiratiko:
Xda search is non functional on mobile. /endflame/

Sent from my Samsung Galaxy S Captivate on Blue Apex
[Galaxy S I9000 Android Development] Stevenrogers_420:
Wrong again Top. On the right of your pm tab is a tab that says "more" that's where search is "hiding" on the mobile app.
[Galaxy S I9000 Android Development] siky_dude:
yes, that`s where it is :D
[Galaxy S I9000 Android Development] bhu1:
Ya search is available. Exploring an app. When u install it should be a must in ur list.
[Galaxy S I9000 Android Development] topiratiko:
You mean this one? That when searching for paragon Rom it shows me everything BUT that?

I said non functional. I never said i didnt know where it was. SERIOUSLY guys....

Sent from my Samsung Galaxy S Captivate on Blue Apex
[Galaxy S I9000 Android Development] siky_dude:
yeah, that`s the one ;), its harder, but still functional ^^
[Galaxy S I9000 Android Development] Dimitri178:
+1
[Galaxy S I9000 Android Development] evilfry:
This worked well for me until latest neo 18 kernel. Gave me error even with script manager. Any idea?
[Galaxy S I9000 Android Development] retskrad:
Does TK Glitch kernel support init.d together with MIUI?
[Galaxy S I9000 Android Development] siky_dude:
Yes
[Galaxy S I9000 Android Development] surtrafl:
Is anyone working with this?

I want it for Honeycomb!
[Galaxy S I9000 Android Development] xFilthyxJesusx:
This is my first time playing around with messing with boot scripts and d.init. So any help/review would be fantastic. Want an opinion before flashing onto my phone.

Can anyone verify this for MikRunny Beta [ Sense 3.5 | GB 2.3.5 | 1/12/2012 ]?

Basically stock Sense Launcher, and Sense Dialer, Sense Music, Beats/SoundEnhancer

#!/system/bin/sh

###### Loopy Smoothness Tweak for Galaxy S (Experimental) #######

sleep 3
renice 18 `pidof kswapd0` # please give credit and thanks to loopy for this line if it works

##### Set nice levels for smoothness loop BEGIN #####
### Let's loop this in the background for a bit
for i in {1..20}
do
sleep 5

### Phone dialer app ###
###renice -20 `pidof com.android.phone` (not needed for htc????)###
renice -20 `pidof com.android.htcdialer`

### Launcher apps ###
renice -19 `pidof com.htc.launcher` # HTC Launcher

### System apps ###
renice -19 `pidof com.android.mms` # SMS MMS
renice -18 `pidof com.htc.lockscreen` # Lockscreen
renice -15 `pidof com.android.systemui` # Status
renice -9 `pidof com.android.settings` # Settings
renice -9 `pidof com.android.browser` # Browser
renice -9 `pidof com.android.vending` # Market
renice -6 `pidof com.android.camera` # Camera
renice -6 `pidof com.google.android.apps.maps` # Maps
renice -3 `pidof android.process.acore`
renice -3 `pidof android.process.media`
renice -3 `pidof com.htc.music`
renice -3 `pidof com.htc.musicenhancer`
renice -3 `pidof com.htc.music:mediaplaybackservice`

### Memory management kernel thread ###
renice 19 `pidof kswapd0` # please give credit and thanks to loopy for this line if it works
done
##### Set nice levels for smoothness loop END #####

Wondering if :

###renice -20 `pidof com.android.phone` (not needed for htc????)###
renice -20 `pidof com.android.htcdialer`

Is correct????

Opinions on including the Lock Screen?

renice -18 `pidof com.htc.lockscreen` # Lockscreen

And would just be right to include the Sense Music Player and Beats/Sound Enhancer:

renice -3 `pidof android.process.acore`
renice -3 `pidof android.process.media`
renice -3 `pidof com.htc.music`
renice -3 `pidof com.htc.musicenhancer`
renice -3 `pidof com.htc.music:mediaplaybackservice`

Any help is greatly appreciated :)
[Galaxy S I9000 Android Development] xFilthyxJesusx:
Forgot to mention, I have an Evo Shift 4G
[Galaxy S I9000 Android Development] nalinbhatt:
I tried to flash the zip after some modifications and I am getting the following error:

(status 0)

installation aborted

Any ideas?

EDIT: I am on Teamhacksung ICS build 14.
[Galaxy S I9000 Android Development] raddacle:
Made my phone unbootable, my guess is this hasn't been updated for any recent rom. Do not download this if your using the same rom that I am on. Unfortunately my latest backup was from months ago.
[Galaxy S I9000 Android Development] kettont:
I already had lagfree script, can I install this script?
[Galaxy S I9000 Android Development] A_U:
is it still in development ? or abandoned ?

just askin...
[Galaxy S I9000 Android Development] matthewgwilt:
Android is fine the way it is.. Dont judge Android by our out of date i9000

Android doesn't need its priorities set straight... we just need a new higher spec phone.. agree with me or not but I've recently bought a Galaxy Tab 2 7.0, installed CM10 and the ROM is exceptional... faultless.. (that's with the same build as my i9000)
[Galaxy S I9000 Android Development] dark_knight35:
Lpy's script was made to speed the lockscreen etc. up after booting, and it really helps there. Read the OP if you don't know why he created the script.
[Galaxy S I9000 Android Development] matthewgwilt:
I think you need to read the OP again mate:

His script tries to..

- Entering your PIN with minimal/no delay/lag

- Minimising delay with lock screen pattern/unlock (not the time it takes to wakeup, but the touchscreen response lag)

- Having smoother notifications on the status bar, and smoother pulldown menu response

- Minimising Launcher lag while Media Scanner is running (can scroll through screens without heavy pauses)

- Minimising lag when scrolling through the market while icons are still loading

- Installing/Uninstalling apps while continuing other tasks

- Minimising/eliminating intermittent lag spikes in gaming

- No delay in being able to answer phone calls

Like I said... I think we just need to upgrade our phones :eek:
[Galaxy S I9000 Android Development] matesc:
I will give it a try. This should work on cm10 with sema, right?

Do I have to flash this right after updating a nightly- is it necessary?

Edit: just installed it. But manually(copied to init.d folder) because flashing with cwm did not work. Guess i will have to do this after every rom update, but it is worth it. Faster media scanning, launcher usable from the first second, notification centre is also faster, Play store does not lag. Coool. Thh for this!
[Galaxy S I9000 Android Development] burakgon:
Nice idea mate.

Why you didn't decrease providers priority?

I tested.

When calendar.provider works = dungeon defenders start lagging.

Than maybe we can decrease tham to 19. Background sync things can lag. We won't see them at all.

And games will run fine.
[Galaxy S I9000 Android Development] sUsH667:
hey burakgon!

would you maybe be so kind to tell me how i can "decrease the provider" myself?

and what exactly are those provider-priorities and in which way do they affect the performance of the system, meaning:

what would be the benefit of the changes you mentioned?

many, many thx in advance for clarification!

greetz,

sUsH

tapatalk'd
[Galaxy S I9000 Android Development] dark_knight35:
Should be

renice 19(or another value, didn't fully understand that) com.android.calendarprovider.apk

Now, when you play a game, calendar won't sync in background as the game has higher priorities, so you have a smooth gaming experience.
[Galaxy S I9000 Android Development] chris-t-an:
Does this work on cm9.1.0 stable?
[Galaxy S I9000 Android Development] dark_knight35:
Works everywhere.
[Galaxy S I9000 Android Development] muktheo:
instalation aborted on cm10..
[Galaxy S I9000 Android Development] MoneyFace =p:
Anyone experienced super duper long booting time especially on kernel booting stage after applying this tweak?
[Galaxy S I9000 Android Development] 4EVA:
wow... this sounds amazing. but i can't seem to flash it, it says installation aborted. any ideas? :confused:
[Galaxy S I9000 Android Development] adrianmak:
How do I know the full process name of an app?
[Galaxy S I9000 Android Development] Simba501:
Use root explorer (another similar file manager would probably work) to "view" the apk; open the android manifest xml and at the top you'll see the package name in quotes. You could also decompile the apk on a computer and open the same file.

EDIT: Another way is to download Android System Info. Under the apps tab, it allows you to access the android manifest file I mentioned. Once open, look for the package name.
[Galaxy S I9000 Android Development] adrianmak:
how about the battery consumption ?
[Galaxy S I9000 Android Development] dark_knight35:
The battery consumption of what?
[Galaxy S I9000 Android Development] Helloworld294:
Don't we have the V6 Supercharger that sets the OOM priorities and such?

Sent from my GT-I9000
[Galaxy S I9000 Android Development] SAINI99:
this thing soft bricked.my phone i m using cm10 hb
[Galaxy S I9000 Android Development] BlueFlame4:
Who wonders? This thread is older than one year, lulz
[Galaxy S I9000 Android Development] MoneyFace =p:
Use Terminal Emulator and type df.
[Galaxy S I9000 Android Development] adrianmak:
will it consume more battery ?
[Galaxy S I9000 Android Development] dark_knight35:
How should this script kill your battery? It won't.
[Galaxy S I9000 Android Development] adrianmak:
version T2 is more complicated.

which lines should I edit to suit my phone?
[Galaxy S I9000 Android Development] DanielSanchez:
Why would you guys resurrect a year old thread.
[Galaxy S I9000 Android Development] dark_knight35:
It may be helpful :p.
[Galaxy S I9000 Android Development] EdUaRdOo91:
who tried this on remics-jb?i want to know if is worthing to flash it.
[Galaxy S I9000 Android Development] lpy:
Maybe :p

For what it's worth, I made an update. With the amazing speed of phones these days, it probably won't be as useful, but it's there if anyone feels like messing around with some code.

Cheers.

http://xdaforums.com/showpost.php?p=15010845&postcount=1

Version 1.0.0
[Galaxy S I9000 Android Development] elburo:
I am on slim bea 2.7

After flashing your .zip I wanted to restart. But the bootscreen was the only thing that appeared.

Maybee u can help me
[Galaxy S I9000 Android Development] archdoraz:
Got the same problem. Stuck at kernel splash screen.

Go into recovery > advance > clear init.d > reboot

should be fine.
[Galaxy S I9000 Android Development] elburo:
Yes.

Zhats a good idea! I just made a nand-backup before flashing and restored it. But your way is more easy!! :)
[Galaxy S I9000 Android Development] elburo:
Anyone helping us?

sent from my i9000. slim-bean 2.7 + sema 2.4s.

could I help u? --> press thy
[Galaxy S I9000 Android Development] lpy:
For some reason I can't get Slim Bean 2.7 to install (probably need to seek further instructions).

I tested it on CM 9.1 and was also freezing.

EDIT: Removed it for now.. something ain't right.
[Galaxy S I9000 Android Development] roshan2989:
Can this script used on CM10 (14/10) with semaphore kernal(2.4.0s)...?will it stuck on the boot?
[Galaxy S I9000 Android Development] atomixxx:
I'm on CM 10,is this script pre-configured or do we have to configure it ourselves ?
[Galaxy S I9000 Android Development] lpy:
You'd have to configure it, but I can't get it working properly on CM9, so I doubt it'd work on CM10 either. It just freezes until the loops are complete, if they're short enough, else it just boot loops.

Looks like it's only good for stock. I don't know enough about CM to understand the difference that's causing this. It probably wouldn't make much of a difference anyway, if any.
[Galaxy S I9000 Android Development] screamwork:
I'm waiting for v1.0.1 hope to see it soon (:
[Galaxy S I9000 Android Development] superkoal:
Don't get freaked out about this old thread. This scripts are from long ago and don't work on CM9/10/Slim.

If you want to gain some performance check out the link to mnazims superlauncher in my signature.

It's based on Zeppelinroxx's supercharger mod and works perfectly fine with new roms (and also is regularly updated for new releases by the great mnazim).
[Galaxy S I9000 Android Development] dark_knight35:
The creator of this tweak still works on it, don't say it's old.
[Galaxy S I9000 Android Development] lpy:
Thanks, but that's ok. It is getting a little old. I had neglected this for a long time, and just thought I'd see what I could add to it.
[Galaxy S I9000 Android Development] Simba501:
I like the update. The script is still very effective. I don't consider it "old" at all.

Sent from my Galaxy S2
[Galaxy S I9000 Android Development] thatsupnow:
Yea thanks for this its working great on my sgs3 I747M!!!
[Galaxy S I9000 Android Development] EdgaBimbam:
is it ok? o.O btw i have busybox latest installed.

galaxy note 2,rooted, latest busybox.

Mon Nov 12 17:44:39 UTC 2012

LOOPYST: Initiate.

Debug: Mon Nov 12 17:44:39 UTC 2012

Debug: 1st loop

Test 'renice' command.........PASS!

Debug: Mon Nov 12 17:44:40 UTC 2012

Debug: 15 processes total...

Debug: Mon Nov 12 17:44:40 UTC 2012

Debug: kswapd0

Error: launcher check expired after 60 seconds

Debug: Mon Nov 12 17:45:42 UTC 2012

Error: pidof launcher (Timeout?)

Debug: Mon Nov 12 17:45:42 UTC 2012

Debug: pidof 'com.sec.android.app.launcher'

Error: pidof oom_adj launcher (Busybox required?)

Debug: Mon Nov 12 17:45:42 UTC 2012

Debug: oom_adj 'com.sec.android.app.launcher'

Debug: Mon Nov 12 17:45:42 UTC 2012

Debug: pidof processes...

Debug: Mon Nov 12 17:46:23 UTC 2012

Debug: 1st loop early complete

Debug: Mon Nov 12 17:46:23 UTC 2012

Debug: Checking complete...

Debug: Mon Nov 12 17:46:23 UTC 2012

Debug: 2nd loop

Debug: Mon Nov 12 17:46:23 UTC 2012

Debug: pidof processes...

Debug: Mon Nov 12 17:47:09 UTC 2012

Debug: Checking complete...

LOOPYST: Done.
[Galaxy S I9000 Android Development] habylab:
Works well on galaxy s3!
[Galaxy S I9000 Android Development] roshan2989:
can i use this script on CM10...?
[Galaxy S I9000 Android Development] lpy:
It looks like the launcher app may be something other than com.sec.android.app.launcher. If it is the same, then I'm not too sure.

Probably not. It doesn't work on CM9.1. I believe it might be the "sleep" command actually freezing the phone in the foreground rather than the background, but I can't say for sure.
[Galaxy S I9000 Android Development] EdgaBimbam:
It is same :/
[Galaxy S I9000 Android Development] PuRu a.K.a ProCtor:
HELP

anyone help me in installing this tweak in galaxy ace 5830i with mind cr v2.3 rom
[Galaxy S I9000 Android Development] DanielSanchez:
What's in it for us? ^^
[Galaxy S I9000 Android Development] dark_knight35:
New version?
[Galaxy S I9000 Android Development] lpy:
It is, but I don't think it helps anymore. I was playing around with I9000XWJW9 (and mngb-0.5.8 kernel), but I couldn't get it smoother than what it already is. To be honest, even though the phone is a lot slower than my GT-I9305, the animations seem smoother.. go figure.

Anyway, if anyone can learn anything from the code, it's there for anyone to use, or share, which many have. Apart from that, it seems Samsung finally produced a smooth I9000 ROM, even if it took a couple of years :)
[Galaxy S I9000 Android Development] dark_knight35:
AW: [SCRIPT/DISCUSSION] Loopy Smoothness Tweak (Android's priorities) [02-02-2013]

I was just reading something about nice and renice yesterday and thought of looking into your script, and then I saw that a new version is out :D. Now I have to try JW9 when you say that it runs so smoothly. In the OP, you wrote that the priorities go from - to +20, but isn't it that they go from 1 to 99, and the priority isn't a fixed value, so when you renice a process, it's priority is always the one it would have + the value with which you (re)niced it. Not sure if you actually meant what I wrote, but from reading the first post it sounds kinda different.
[Galaxy S I9000 Android Development] dreamer94:
Ynt: [SCRIPT/DISCUSSION] Loopy Smoothness Tweak (Android's priorities) [02-02-2013]

JW9 isn't smooth :) For me,it's just same as jw8 :) i didn't see any differnces :)

Btw i'm using stock roms for months even without rooting.Stock rom,stock kernel...

Can you guys recommend me stock rom? 2.2/2.3 ones?

i tried;

JVI

JVS

JVO

JVT

JW1

JVU

and all new value packs (jw4 to jw9)

Is there any rom that you think that's better than list that i wrote?

GT-I9000 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S I9000 Android Development] habylab:
This still seems to help on my i9300! Thank you.

Sent from my Galaxy S3. Long live the original Galaxy S :)
[Galaxy S I9000 Android Development] hoholee12:
nope. renice have fixed prioritiy values between -20~20. If you set anything more or less than that priority, it will automagically choose either -20 or 20.

뷁