yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Vatazhka:
Backdoor

If you follow developers' guide, you will install a root backdoor on your device! :eek: The hole is gaping, so there's no benefit from following responsible disclosure procedure.

Please make the following changes if you care about security:

set file ownership to root:shell

chown root:shell /system/etc/init.d/S97ramscript

set access mode to 0750 (rwxr-x---)

chmod 0750 /system/etc/init.d/S97ramscript
[Android Software/Hacking General [Developers Only]] bbgmp:
Thanks. Know nothing about Linux so this was all a bit confusing. Got there in the end though with the help of this web page:

http://www.linuxforums.org/articles/file-permissions_94.html
[Android Software/Hacking General [Developers Only]] dgart08:
Any updates in the works, Juwe???
[Android Software/Hacking General [Developers Only]] s3icc0:
I thought this script is working great but ...

Samsung remote application is closed everytime I use middle button.

Lots of GPS apps looses gps fix when using middle button.

Phone is smooth and quick but still poor multitasking.

I have at least 70MB RAM free all the time - why is this memory not used?
[Android Software/Hacking General [Developers Only]] milst:
lol....day+few hours on battery and still 50% left

great job man!
[Android Software/Hacking General [Developers Only]] fabricioemmerick:
Works on any kernel? In my not have the init.d folder? How to Proceed? And then as to whether this is working and the actual improvement? Sorry so many questions. Best wishes and good job
[Android Software/Hacking General [Developers Only]] PRGUY85:
Is there a way to delete this after flashing it?

I wanted to go back to V6 Supercharger which gives me more control over RAM settings and the like. Also, the version I flashed on 2nd page of the thread surely must be heavily outdated. Any thoughts on Juwe11 vs V6 supercharger tweaks?
[Android Software/Hacking General [Developers Only]] roofrider:
dont ask for vs! try both settle for the one which suits u best.

to remove the script..goto system/etc/init.d and delete the file,then reboot.
[Android Software/Hacking General [Developers Only]] eliteforce:
Hello to all!!!

I use kernel Semaphore 1.6.0 i wiped folder init.d added this script, but still multitasking doesn't work properly. The phone automatically unload some important processes for me such as Go Contacts, when i browsing inet and receive a call, phone do an unloading browser.

So multitasking not working proper as i have seen in first post at video

Semaphore 1.6.0 have CWM tweaks. Shall i switch them off?
[Android Software/Hacking General [Developers Only]] uzi2:
The XDA way is to try it and then report back with the results for the benefit of others.
[Android Software/Hacking General [Developers Only]] windam1992:
I'm using fushionideos and it has fusionbooster. should I delete that for this to work?
[Android Software/Hacking General [Developers Only]] merlthecruel:
is the flashable zip supposed to create a system/etc/init.d folder? i got nothin.

EDIT: does lucid-nexus (lucid blue stock rom) support init.d?

EDIT: fixed. works like a champ. noticeably better multitasking and RAM management overall. much appreciation.
[Android Software/Hacking General [Developers Only]] c0de_junkie:
does anyone know if this script works with the new VU rom 2.37.0 with Unity 6 kernel ?? thanks in advance :)
[Android Software/Hacking General [Developers Only]] shahkam:
Will it work whit an xperia x10? I know it does whit an xperia arc.. Please replyy !
[Android Software/Hacking General [Developers Only]] roofrider:
just try it mate...it doesnt matter wat phone u have, ur kernel just needs to support init.d.
[Android Software/Hacking General [Developers Only]] Leo Chu:
that's cool I should root my galaxy s2
[Android Software/Hacking General [Developers Only]] mocilicious:
hey guys,

i wanna ask.

why i cant create new folder "init.d" in system/etc folder even on r/w mounted? i create it but nothing happen, either with setting permission into 777.

just nothing happen.

[btw my device is samsung galaxy s5660 with official rom 2.2 xxxkc3]

thanks :)
[Android Software/Hacking General [Developers Only]] Vermithrax:
Ah memories...

Seeing this thread reminds me of my G1 days... Using scripts such as these were essential to running Froyo on that legacy device...

Sorry for the intrusion.
[Android Software/Hacking General [Developers Only]] carden12:
Thanks JUWE for providing us the wonderful script!
[Android Software/Hacking General [Developers Only]] Vatazhka:
You've answered your query already:

The ROM (not the kernel) has to support init.d scripting.
[Android Software/Hacking General [Developers Only]] shahkam:
Just tried it on my x10 and saw no changes and i know my kernel does support it as i can see the folder in root explorer on my xperia x10 :(
[Android Software/Hacking General [Developers Only]] lunn84:
Thank you Juwe11, your script works great on my xperia Arc (rooted) android 2.3.3 Build 4.0.A.2.368.
[Android Software/Hacking General [Developers Only]] theking_smen:
Thanks, worked like a charm on my x10 running SE stock rom 2.3.3 with a custom kernel...
[Android Software/Hacking General [Developers Only]] raashnal:
Thanks

Thanks for this great script it makes a big difference to my Dinc running Synergy RLS 1.
[Android Software/Hacking General [Developers Only]] manan001:
bro i have samsung galaxy ace .. i dont understand which files i need to add as cant understand which life is the latest one can u post all required files together or tell me full name so that i can install in my ace... please reply as eagerly waiting
[Android Software/Hacking General [Developers Only]] =Dynamic=:
Hi Juwe11 thanks for the script, works great!

if i want implement it on my rom, how i set 777 permits?

What should I add in updater-script in

set_perm
[Android Software/Hacking General [Developers Only]] darkstep:
set_perm(0, 0, 0777, "/system/etc/init.d/S97ramscript")
[Android Software/Hacking General [Developers Only]] ABu33:
Great script. Working in my X8.

Thank you:D
[Android Software/Hacking General [Developers Only]] mscuttari:
Wonderful script, thank you juwe! ^^

It works perfectly on my HTC Desire with RCMixS 2.0
[Android Software/Hacking General [Developers Only]] arpruss:
Will this work if one sets it to run on boot in a script launching app rather than in init.d. I can't get init.d scripts to work on my archos 43 with chulri's rw root. I think it's because of the way the rw system partition is implemented (as a shadow that I tihnk gets mounted somewhat late in the startup process).
[Android Software/Hacking General [Developers Only]] diegolaz:
Thanks! what other files should I leave?

Thanks for your work! This is the first time I'm going to install it on my Samsung Galaxy S i9000B (latinamerica)

In the folder /system/etc/init.d/ I have these files:

_99ramset

S01sysctl

S70zipaling

S96ramscript --> delete this one only?

S97sdcardspeedfix

S99complete

S_loopy_smoothness_tweak

Which ones to delete/leave? I think I need to delete S96ramscript, but any of the rest?

I use F4KRom 3.2 (2.3.4) with Kernel Mafalda 0.9b

Thank you!
[Android Software/Hacking General [Developers Only]] carhauler1969:
Thanks for the great script! Works great with my EVO on MIUI!

Stuck on an AOSP bootloop VaelPak-MIUI-Deck-VaelPak-MIUI-Deck.....
[Android Software/Hacking General [Developers Only]] AdamJuva:
!!!Updated!!!
[Android Software/Hacking General [Developers Only]] ayong chia:
Is this the correct value for the lastest update?

Sent From Batam-Indonesia!!!
[Android Software/Hacking General [Developers Only]] androidboss7:
Could i use this script even if i am

using supercharger and this other script??
[Android Software/Hacking General [Developers Only]] AdamJuva:
No those values are not correct.
[Android Software/Hacking General [Developers Only]] dioken:
i want an answer for this: Does it support Xperia acr's official stock rom 2.3.3 lates .368 ? is the kernal ok with this?
[Android Software/Hacking General [Developers Only]] manggagalugad:
Thanks Juwe! Just installed it on my GT-P1000. :)
[Android Software/Hacking General [Developers Only]] ayong chia:
My fault,i wasn't check the permission of the file,i guess the correct value as below ;)

Now i can feel my device lighter :)

Sent From Batam-Indonesia!!!
[Android Software/Hacking General [Developers Only]] dgart08:
Should I disable my launcher's option to "keep in memory"?
[Android Software/Hacking General [Developers Only]] GreenSGS:
CF-Root ram: min-free disbable?

Guys,

I have RAM min free enabled in CF-Root tweaks, should that be disabled if I use this script.

Thanks
[Android Software/Hacking General [Developers Only]] yaatzek:
On miui with latest neo after putting the script into init.d - bootloop :( Don't know if its miui/kernel/script related.
[Android Software/Hacking General [Developers Only]] bbgmp:
Thought I'd raise this issue again since didn't seem to get much acknowledgement. Anyone else try changing the permissions to the above? Does the script still work OK?

EDIT: It still works OK and permissions now match all other files in init.d folder.
[Android Software/Hacking General [Developers Only]] 10507:
Do I need to delete your old script before applying this new update?

Btw, how do you know whether the script works?

Thanks
[Android Software/Hacking General [Developers Only]] laidick:
:confused:

Excuse me.... can anyone tell me what is the difference from V6SuperCharger???
[Android Software/Hacking General [Developers Only]] gr8lats:
Compatible with MIUI XJ D2EXT X-PART 1.9.16 - 2.3.5 GS 3P FINAL

Just would like to know if compatible with latest MIUI XJ D2EXT X-PART 1.9.16 - 2.3.5 GS 3P FINAL and if there is a flashable version for that rom?

18.8.2011 version worked great from flashable version..
[Android Software/Hacking General [Developers Only]] jukyO:
Yes, it is compatible, I'm using it. Will post flashable version later today in miui thread.
[Android Software/Hacking General [Developers Only]] jukyO:
Thanks again Juwe for an updated version.
[Android Software/Hacking General [Developers Only]] GreenSGS:
Tweks

Can somebody please put some light on, which settings in CF-ROOT Tweaks, can conflict with this RAM script settings?

At the moment I have this script running and in CF Tweaks I have following enabled:

SD:Speed Tweak

I/O:No-a-time

I/O:Scheduler

Kernel:Scheduler

Rest in Tweaks is disabled. I hope I got configuration right.

Thank you.
[Android Software/Hacking General [Developers Only]] AdamJuva:
Yes, these values are correct.

Yes, always delete older RAM scripts.
[Android Software/Hacking General [Developers Only]] Jason Black:
Did i do it right?

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] arpruss:
I'm still wondering if this needs to be run in init.d, i.e., before zygote starts up, or if it's OK to launch it from an Android script launcher set to launch scripts on boot (in which case it would be run after zygote starts up). I have not been able to figure out how to run startup scripts on my device except via a java-based app.
[Android Software/Hacking General [Developers Only]] Jason Black:
Try running the script with script manager

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] sdkim89:
How would I install this on ARHD 1.17 for IncS? Same method? Or can I flash the script in recovery or something?

Sent from my HTC Incredible S
[Android Software/Hacking General [Developers Only]] Motodefyuser:
ehemmm.. What's init.d ? :D
[Android Software/Hacking General [Developers Only]] arpruss:
Of course, I *can* run it that way (though I'd prefer to use my own Autoscript which runs all the scripts in /system/etc/autoscript on boot), but the question is: Will it do anything? Does varying the memory management settings matter once zygote has already started? How can I check?
[Android Software/Hacking General [Developers Only]] bdcrim:
That is what I did and it worked.
[Android Software/Hacking General [Developers Only]] ruslik0579:
Thanks! Works fine on HTC Incredible S rom ZhangKu Runny v1.2 Sense 3.5
[Android Software/Hacking General [Developers Only]] retskrad:
I'm using speedmod for gingerbread, can I just flash this with CWM?
[Android Software/Hacking General [Developers Only]] burner07:
yes... is a tweek:) im waiting for miui v5.1 with this script:D
[Android Software/Hacking General [Developers Only]] extralife:
Does darkcore really support init.d?

Applied the script, and available memory is same as before

... using Tapatalk
[Android Software/Hacking General [Developers Only]] demonstone:
Speedmod doesn't support this yet.

Escrito desde mi Galaxy S
[Android Software/Hacking General [Developers Only]] gusoldier:
Installed it on froyo with speedmod k13e... I don't see any different in ram usage but I have Opera Mobile now running in the background for few hours and I still can switch to it without the pages getting reloaded again.... : o

Opera Mobile always "closed" (reloading pages when re-opening the app) itself right after leaving the app.

So I think it did work, great love it!
[Android Software/Hacking General [Developers Only]] sebarkh:
Hey! You fixed only one occurence of "background", and there is the seccond. Thanks God, I ve noticed this. Fix it please. ;)
[Android Software/Hacking General [Developers Only]] retskrad:
Does this work with TK-GLITCH with CM7?
[Android Software/Hacking General [Developers Only]] anoneemooz:
Fixed the other "backgroud" typo. :)

Have yet to try this though since I'm on Fugu and wouldn't want to make any changes right now cus I just finished setting everything up :o

Fugu makes my launcherpro app drawer jerk slightly now and then while scrolling through. :\ and I always seem to have <100mb of RAM free even with barely anything running..maybe in the weekend I shall give this a try.

Thanks Juwe! :D
[Android Software/Hacking General [Developers Only]] matsuru:
Hi everyone! Thanks JUWE for providing us the wonderful script!

I've applied this to my SGS, powered by Simply Honey 3.6.1 + Speedmod. Everything work fine, i can see overall apps functions are smoother and multi task is a breeze.

Thanks again to JUWE and also to Simone201.
[Android Software/Hacking General [Developers Only]] rkadve:
Works great on fugu.
[Android Software/Hacking General [Developers Only]] xenos126:
Installed it in GingerReal 5.0 works awesome and now apps with huge mem usage like gun bros and modern combat lags no more. Pretty impressive scripting there juwe! Respect !
[Android Software/Hacking General [Developers Only]] currydude:
LOLS I've always never had many problems with memory as I was able to easily manage it myself. But now I don't need to because of this awesome script :)

Update script with all fixes included.

(Around 170-180mb ram free now :P)
[Android Software/Hacking General [Developers Only]] jeeperxx:
It really work! a must have patch. Thank you thank you very much :D
[Android Software/Hacking General [Developers Only]] mruzian:
great thanx to Juwe and Currydude
[Android Software/Hacking General [Developers Only]] zhelloz:
Nice script! More free RAM now!
[Android Software/Hacking General [Developers Only]] kakomalo:
Works amazing on MIUI!!! And not for the RAM available, it works so nice that has erased the scroll lag in settings menu.

Good Job.
[Android Software/Hacking General [Developers Only]] currydude:
LOLS don't thank me, it's all Juwe, I only did some basic cwm scripting LOLS
[Android Software/Hacking General [Developers Only]] currydude:
LOLS the scroll lag was fixed in v5 without needing the script.
[Android Software/Hacking General [Developers Only]] CHENBATU91:
can it be used on p1000?

i use p1000, standrd version without any tweak,:

baseband=p1000xxjpz

kernel=se.infra@SEP-52 #2

build no.=gingerbreas.xxjq1

can i flash this script?

thanks
[Android Software/Hacking General [Developers Only]] currydude:
No, you must use a kernel that supports init.d
[Android Software/Hacking General [Developers Only]] manan001:
please tell me the latest script i need to tick run at root and run at boot?

i use script manager
[Android Software/Hacking General [Developers Only]] AdamJuva:
You can rename it to 97ramscript for make you sure.
[Android Software/Hacking General [Developers Only]] Jason Black:
I just did that. Thanks! How do i know if its working?

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] jukyO:
There you go:
[Android Software/Hacking General [Developers Only]] Jason Black:
Non of these work... I guess the script isnt running

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] Jason Black:
I ran it with script manager too.

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] DROCSID:
I'm so frikkin lazy. Can someone make a flashable .zipper?

I will pay in a handful of THANK YOU's.
[Android Software/Hacking General [Developers Only]] KB0SDQ:
Was wondering, slightly off topic but how long after device enters market does the roms & kernels start showing up for use? I have the Samsung Admire it is rooted and this is my first android so I am a noob but learning from this board.
[Android Software/Hacking General [Developers Only]] marlove:
oh thanks!!! :D
[Android Software/Hacking General [Developers Only]] Jason Black:
The script above.. Should i run them as bak or txt files?

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] Jason Black:
Nevermind

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] Raffie75:
With this post you recieve an answer in a few seconds.... NOT!

Send from my MIUI Desire
[Android Software/Hacking General [Developers Only]] Jason Black:
Stop crying. No one has to answer you and your nasty attitude.

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] roofrider:
If u can read the fukking op:

Requirements: Root, Kernel which supports init.d

He cannot make a list of all the available init.d supported kernels in the world!

if u have root access..just fukking place the script in init.d and fukking reboot.

if u still want to confirm,type in terminal:

su

cat /sys/module/lowmemorykiller/parameters/minfree

and see if those values match with that in the script!!

Edit:su not reqd.
[Android Software/Hacking General [Developers Only]] Jason Black:
You shouldn't have answered him. An attitude like that should be ignored.

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] mloc33:
Lol, the nerve of some people...

Sent from my jocks to your eyes..
[Android Software/Hacking General [Developers Only]] Jason Black:
Good. I hope you can't get it working for you dummy. It's really easy, but you cant figure it out, so you blame others for your problems. Grow up.

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] Jason Black:
Good for you. Next time, dont blame the thread "creator" for not answering you. He has no moral obligation to you nor does he owe you a response. Next time, be more courteous instead of coming across like a P.O.T

Sign up for dropbox http://db.tt/52Opvvv or minus http://min.us/rinWeay
[Android Software/Hacking General [Developers Only]] DasGensu:
hey, i'm running MIUI 1.9.16 (atroy kernel) on my pvt4 desire s-on, on cm7 i was able to use an old flashable version and it worked like a charm but i cant seem to get it working on miui.

the script cant be found in /system/etc/init.d, i cant copy it there (since im still s-on and want to keep it that way for now)

the newer flashable version tells me (or my amonra recovery does..) theres no script inside the zip.

how do i get it working? cm7 became way snappier with it so i want to use it on miui too
[Android Software/Hacking General [Developers Only]] jukyO:
If you wanna use it in Miui, check my sig and dl juwe's ramscript in flashable zip. Note to other rom users: script is renamed to 97ramscript to adjust to init.d naming in MIUI.
[Android Software/Hacking General [Developers Only]] DasGensu:
already tried that

[#10870] We could not find the file specified

could you reupload it?

okay, found that script on the site, but when trying to flash i get something like "cant open juweramscript flashable (bad)"

yes, "(bad)" is the only information i get

/€ okay, redownloaded it, the file might have been corrupt or something.

the script is now in init.d, but its called S97... instead of the number in front which seems to be default for miui

does that matter?

also the permissions are not set to 777
[Android Software/Hacking General [Developers Only]] suryapreet27:
nice script i am using it...so far its going good...Awesome job
[Android Software/Hacking General [Developers Only]] bigjoexxl:
Question, for some reason whenever I try to delete the script files from 99charger located in init.d. It's telling me these files can't be deleted. "Read Only". Some one know what I'm doing wrong?
[Android Software/Hacking General [Developers Only]] cedriccc:
on the top of root explorer you see "Mounted as r/o Mount R/W"

just click "Mount R/W" and it should be fine :-).
[Android Software/Hacking General [Developers Only]] bigjoexxl:
Thanks for the r/o tip. That was my problem. But now I have unzip the file

With root explore and moved it into the init.d file. then I went back to scriptmanager and clicked on the s97script and hit run as root and nothing came up on the screen.

Help please.....
[Android Software/Hacking General [Developers Only]] cedriccc:
you dont have to use script manager! just place the s97ramscript in the init.d folder and change the permissions! after that reboot ur phone and you should feel a difference, lot smoother
[Android Software/Hacking General [Developers Only]] bigjoexxl:
Ohh okay, I just did like you said. Do I check all the boxes? Or just leave it like it was? Sorry for all the question.
[Android Software/Hacking General [Developers Only]] KCRic:
Why not just chmod it in terminal? A bit simpler IMO, less typing.

chmod 777 /system/etc/init.d/s97ramscript

reboot
[Android Software/Hacking General [Developers Only]] Jon2555:
Can I use it on any device???
[Android Software/Hacking General [Developers Only]] Paracetamol100:
1000 Thanks! It's nothing more then indescribable amazingly fast. I did have massive lag problems on lg optimus black and now it's gone. The again, great job!
[Android Software/Hacking General [Developers Only]] DROCSID:
It's always like that on XDA. Poor people.
[Android Software/Hacking General [Developers Only]] cedriccc:
READ WRITE EXECUTE

Owner X X X

Group X X X

Others X X X

And uncheck all boxes under special permission, you just need the above ones, hope this was clean enough ;D
[Android Software/Hacking General [Developers Only]] dgart08:
For the love of God... READ THE OP.
[Android Software/Hacking General [Developers Only]] contradude:
I usually rush to the defence of anyone getting blasted but it really pays off to read all posts on the first page by the topic creator.
[Android Software/Hacking General [Developers Only]] DasGensu:
okay, after applying this script my phone even hung up at incoming phone calls.

On CM7 there was no problem

Now im using

sMIUI 1.9.16 atroy kernel Desire pvt4 s-on standard partition table.

I do not recommend this script if you are using my setup, though on cm7 it worked fine!

glad i made a nandroid backup before apllying this script, since i cant delete it from init.d while im s-on :/