yashsingh1/xdaforums huggingface dataset:
[L Speed] Paget96:
Ok guys, as i can see that a lot of users want to test, and more will come I am here to present you all totally freedom regarding to other mods :D

This new version have different installer from other mods and previous versions. You don't need recovery anymore,and also devices without init.d can apply it. :D what to say.

Mod have line in menu where you can check current L Speed state, working or not.

Also there are new options like disable debugging and Assertive display. Assertive is inside v3.3 but cause problems for some users. For users who wanna test PLEASE READ THIS CAREFULLY, this are important steps.

If you have L Speed installed open menu and uninstall it.

su

LS

then option to uninstall.

after that delete this files

/system/bin/sysinit

/system/xbin/sysinit (if exist)

/system/su.d

/system/etc/install-recovery-2.sh (DON'T DELETE install-recovery.sh!!!)

Now download script manager. This is the easier app to run LS :D

https://play.google.com/store/apps/details?id=os.tools.scriptmanager

Ok, now we have installation part :D

Download file from link below

Remove .pdf from name

open script manager, and run L Speed file. you can keep it anywhere on SD, internal memory... Keep this file, because you need it to configure LS if you want to change parameters late. :D

L speed now needs about 100kb of your memory.

read all printed comments that you know what to do later.

Init.d support needs SuperSU by [MENTION=631273]Chainfire[/MENTION] that is important, same for selinux.

Options where you see (soon) are not inside mod yet :D

Plans for future:

Add all options

fix bugs (if there is any)

Convert current minfree in mb which you see inside Ram manager menu

Add current entropy inside seeder menu :D

Option to disable all(enable all is impossible)

Also configure auto updating files when new version come, for now when I push new beta you need to uninstall mod and configure it again, sorry for that. I will find a solution :)

When you make a backup, you can't use it on newer versions, I will find a solution for this too :)

Can you live without seeder, OOM killer and adblocker for now?? xD

Changelog:

Whole code rewritten

Code optimization

Every single script is updated

Added Disable debugging

Added Assertive display

Removed scheduler

Added selinux changer

Every script is updated, and a lot of things added xD

Test and find bugs xD

DOWNLOAD:

https://www.androidfilehost.com/?w=files&flid=41771
[L Speed] insigma28:
Hell yeah bro give me [emoji1] [emoji1] [emoji1]

Tapped from my marshmako

#prayforparis
[L Speed] mestizo19:
I try to delete the files you said from system via es file manager and it says '' file can't delete " any other way?
[L Speed] Paget96:
enable root on ES and also system RW :)
[L Speed] mestizo19:
System Rw?
[L Speed] Paget96:
Read write :)

or simply open terminal emulator

su

mount -o rw,remount /system
[L Speed] mestizo19:
I can't find how to give root on ES :confused:
[L Speed] Paget96:
scroll menu from the left (side menu) scroll down to tools, tap on it, then scroll down again and you will see root explorer :D enable that :)
[L Speed] mestizo19:
Done.. :)

Now if i want to check my settings I can't from terminal emulator? Because script manager it's a little bit confusing :confused:
[L Speed] Paget96:
it's not :D

you need 10 mins to adapt xD

It's same like a file manager just with a possibility to run shell scripts :D
[L Speed] mestizo19:
Ok then.. I made my settings so we will see from tomorrow.. :) one more thing.. What is assertive display?
[L Speed] Paget96:
everything what you need to know is here :D

https://www.qualcomm.com/news/snapd...ay-power-efficient-technology-thats-easy-eyes

This option recalibrate display for battery improvements :D
[L Speed] mestizo19:
You are the best! Thanks for help!
[L Speed] Paget96:
Thank you :)

I really love to help, that is my "regeneration" :)
[L Speed] patalao:
How to know if everything is working.

On Lspeed folder there's no log for me

---------- Post added at 01:59 AM ---------- Previous post was at 01:57 AM ----------

How to know if everything is working.

In Lspeed folder there's no logs
[L Speed] Paget96:
When you open L Wizard, you will see, enabled if working in the top of the script.. You will see, current state :D

Edit:

You need superSU by [MENTION=631273]Chainfire[/MENTION] for mod working :)
[L Speed] pustinjak:
Nice...[emoji14] now i must find place for that shortcut

sent from Qinez
[L Speed] Paget96:
Hahah, awesome :D
[L Speed] jugoslavpetrovic:
I dont have install recovery-2.sh file, I got wi.rsthout "-2"

I suppose I deleted that one, is that ok?

---------- Post added at 03:14 AM ---------- Previous post was at 02:39 AM ----------

Can the script 4.0 be run on android 4.0.3?

---------- Post added at 03:33 AM ---------- Previous post was at 03:14 AM ----------

Script runs beautifully, a lot faster to toggle without redrawing all the options. El King El Paget, lol. Great. Now, I have idea and maybe you and or some others would enjoy that as well. Menus with suboptions, maybe you could manage to put all in one line, in main menu as for example Ram manager, instead of 10 and getting in and out, to put submenus with letters like 10a,10b,10c… Its not a big deal but just as a thought. You are awesome and your creations as well. ?estitam.
[L Speed] unk2009:
Would it be considered odd if I didn't have any of the files that needs to be deleted?

Please advise, thank you for all your hard work...?
[L Speed] LyNChP1N:
Every time i uninstall and reinstall LS, I enable init.d again. I have done it using both options. So, now I think init.d scripts are being run multiple times on boot as my boot as become very slow :D Any ideas?

CPU optimizer is definitely improving my battery life. I am getting atleast 1 hour more of SOT because of it

Without CPU Optimizer(dont mind 23% That was charged with phone turned off after battery got completely drained.)

WITH CPU Optimizer

:silly::laugh::highfive::good:
[L Speed] chonghua:
Hi Paget96, do you have preset on battery for xiaomi redmi note 2? its mtk6795T processor.. :)
[L Speed] lazer9:
Hrmm, I want to continue testing new versions but admit that I am a little off using script manager :sly:
[L Speed] kalvinlou:
I tried 4.0 on my old device, and that is VERY smooth. I'd like to ask other than the change in tweak procedure, does any changes in the tweaks itself made?
[L Speed] kchaisu:
I am also facing a problem on script manager. So I use sh command by terminal emulator and set up preference, initial commands on terminal emulator:

su

sh path/filename.sh

(In my case:

sh sdcard/download/L_SPEED_V4.0_beta1.sh)

Thanks.
[L Speed] mrrocketdog:
+1 on issue. open script mngr. select Lspeed file (with .pdf removed) , grant root , select run. installs. says select an option (just as with TE) after making choices enter "e" to exit and cursor goes to next blank line.

open TE. grant su. type LS and get "LS not found".

any ideas/suggestions ?

"all i can really do is stay out of my own way and let the will of heaven be done"
[L Speed] orgulloso4202:
[MENTION=5514152]Paget96[/MENTION] I want to test this new beta version, but I much want to keep the adblocker. Do you have any alternative for me to used until it's incorporated with the new version.

Using:

Galaxy S4 SPH-L720

WICKED X 10.7 rom

Android 5.0.1

Thanks

Oyea Happy BIRTHDAY [emoji320] [emoji322] [emoji323]
[L Speed] mrrocketdog:
thanks for guide for TE [MENTION=5691218]kchaisu[/MENTION]. will try your method.:good:

"all i can really do is stay out of my own way and let the will of heaven be done"
[L Speed] bilgerryan:
Haven't tried v4.0 yet, but I'm getting killer battery life on v3.3 stable. Galaxy S4, Wicked X Rom. 36 hours battery and 4 hours SOT with stock battery.
[L Speed] mmatic10:
I didn't have install-recovery2.sh file, only install-recovery.sh. do I need to delete that one? When I make changes to the script and want to exit do I kill the script and exit or just exit the script manager and leave it working? [MENTION=5514152]Paget96[/MENTION] thank you so much for all your hard work!! I'm seeing that you're awake every night till 3-4 am and answering questions. You're really the best dev I've encountered here!!
[L Speed] justin1221:
[MENTION=5514152]Paget96[/MENTION] just set up V4. Love the new idea of no terminal. So much faster to set up and change settings. Im sure it will perform great, as always. Will test it out tom. Thanks!
[L Speed] derkleinebroicher:
I would suggest adaway. Used to be my favorite in times before L_SPEED.
[L Speed] looney_tkp™:
now about to try out the 4.0

just a little bit confused about assertive display

its for qualcom displays right, what if my display is not qualcom but adreno

wouldnt it cause drags and rips or something else in other gpu's unlike qualcom ??
[L Speed] chan470:
Ryan I don't know how it's possible but v4 is better. [MENTION=5514152]Paget96[/MENTION] you're a genius!
[L Speed] Paget96:
Don't delete anything :D

Interesting idea for submenus, I will see if it's possible to expand it on option select :D

Thank you ^~^

If you don't have any of them, just use LS ^~^

For that double executing delete files which I mentioned if they exist :D

If no, then don't touch first option for init.d on wizard :D

Hmm, CPU optimizer shows well :D

Hahah :D

I have few pics from some users, I will send you later, because it's on PC :D

You can use terminal too ;)

Yes a lot of fixes and code optimizations :D I only think that I mess up zram a bit and that there is no completely log. :)

Good idea for exit, I can rewrite code a bit

clear; exit;;

:D

Adblocker have same sources as adaway :D for now you can use an app :D I will see to manage it on next week :D

This is awesome :D

I like it :)

Thank you a lot :)

Don't delete it :)

You can exit however you want :) I prefer kill ;)

Yeah, when I can I don't sleep ^~~^

Thank you buddy ^~~^

That is the app ::D

LS have same sources ;)

I will see to manage adblocker next week as I said ;)

http://xdaforums.com/showthread.php?p=63880631

See here :D
[L Speed] Paget96:
Eheh, thank you ^~~~^
[L Speed] chan470:
You must use script manager and the v4 Lspeed.sh file to access LS menu. No more TE.grant su. LS.

Script manager is easy guys. No more "reboot device" after changing options. Just give it time.
[L Speed] Paget96:
I forgot to say, yes ;)
[L Speed] Corduroysack:
[MENTION=5514152]Paget96[/MENTION] I deleted that file ?
[L Speed] Paget96:
This is a part of superSU, create new file and copy this inside..

#!/system/bin/sh

# If you're implementing this in a custom kernel/firmware,
# I suggest you use a different script name, and add a service
# to launch it from init.rc

# Launches SuperSU in daemon mode only on Android 4.3+.
# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.
# If you want to force loading the daemon, use "--daemon" instead

/system/xbin/daemonsu --auto-daemon &

# Some apps like to run stuff from this script as well, that will
# obviously break root - in your code, just search this file
# for "install-recovery-2.sh", and if present, write there instead.

/system/etc/install-recovery-2.sh

Set permissions of a file 755...

su

chmod 755 /system/etc/install-recovery.sh
[L Speed] zachchen1996:
I accidentally deleted the install-recovery.sh file, is that bad? :(

Great job on v4.0! I'm loving it so far. :D

Edit: Oh, just saw your post above. xD
[L Speed] Paget96:
No, just follow previous post :)
[L Speed] Paget96:
Why nobody listen to me?? hahahaha :D
[L Speed] mestizo19:
I also yesterday delete the same file because i didn't find the same as Paget said.
[L Speed] Paget96:
Ok, post updated :)

http://xdaforums.com/showthread.php?p=63879894
[L Speed] Corduroysack:
Can we just reinstall SuperSU?
[L Speed] Paget96:
Yup :D

I just mean that this is easier way to make a file :D

If it's easier for you to flash it, then flash ;)
[L Speed] ohad129:
Samsung s3 mini. I get not support?
[L Speed] Paget96:
What?? :) LS working on every device :)
[L Speed] ohad129:
The device is rooted get sign. No support
[L Speed] Corduroysack:
[MENTION=5514152]Paget96[/MENTION] think I did it, after a few miss types lol check attached. (All before my coffee as well lol) ?
[L Speed] Paget96:
What support, I don't understand you clearly:/
[L Speed] mestizo19:
[MENTION=5514152]Paget96[/MENTION] now i have problem that i delete install recovery.sh? How can i restore it? :confused::confused::confused::confused:
[L Speed] Paget96:
That's it :D

You see it's easy to use terminal:D
[L Speed] ohad129:
Iget when i try to upload it to device script not support
[L Speed] Paget96:
Reflash superSU or just create a file, I was written procedure on few posts before ;)
[L Speed] Corduroysack:
Cheers mate, now to get on with testing ? followed a screenshot of other user and my device is very smooth. I've enabled some options I don't usually use so going to see how battery is effected. Great work ?
[L Speed] Paget96:
Can you screenshot please?? :)
[L Speed] Paget96:
Ok bud, report back ;)
[L Speed] Rustamveer:
What a great incident......!!

guys my device has gone mad!!!!

consuming 1% battery in 20 minutes SoT while doing Net Surfing!!

WooooW..!!!!
[L Speed] Senthil360:
One for the Guiness Books, lol
[L Speed] Paget96:
Woow :D

Share your setup, and also battery status after one cycle ;)

Hahaha :D
[L Speed] lrsong96:
Why fstrim doesn't support ?When I use V3.3 fstrim is running.

来自我的 ASUS_Z00AD 上的 Tapatalk
[L Speed] Paget96:
that's because your rom doesn't have binary :)

I added that because there must to be a reason why some binaries are removed. That are possible reasons for battery drain and instability ;)
[L Speed] wawan20:
Bro, can u confirm to me this is script actived or not?

Because i can't feel any different on my phone
[L Speed] bilgerryan:
You need to run option 1 before it is enabled, it appears you don't have init.d support. Then start turning things on and you will see a difference.
[L Speed] Rustamveer:
Here it is bro~

Cpu optimizer & multicoe saver on

I use ur battery calibration.

And I also temper battery by plugging in & out 7-8 times when its 100% after powering it off.

Also using Amplify & Greenify!!!!!

as I always say, performance is Awsmm...!
[L Speed] Paget96:
as you can see enable init.d on the top, you need to enable it :D

flash superSU v2.52 and open LS menu again, go to option 1 and chose su.d method, reboot device, that's it :D
[L Speed] Paget96:
awesome :D

Thank you :D
[L Speed] wawan20:
Thank you bro, now its actived [emoji106]
[L Speed] latino81:
Hi [MENTION=5514152]Paget96[/MENTION] one question the file vector pdf change permission?as to know if working?not logs?
[L Speed] Paget96:
just read this :)

http://xdaforums.com/showpost.php?p=63879894&postcount=14443

You have everything
[L Speed] yucet:
Hello Danjiel , although my kernel supports selinux permissive Lspeed shows as disabled , any solution ? Thanks
[L Speed] Paget96:
Please open terminal and type

getenforce (press enter)

Screenshot and send me here ;)
[L Speed] yucet:
It says "not found"
[L Speed] Paget96:
That mean that your kernel doesn't have selinux :)

getenforce is universal command for all devices with selinux. :)
[L Speed] iceheart12:
delete
[L Speed] deathkid13:
hello sir. I cant seem to enable init.d support even tho I tried option 1 and 2. even after restarting, still the same enable init.d :|
[L Speed] iceheart12:
Another question, 1865 is my Ram????

Gửi từ IM-A900L của tôi
[L Speed] Paget96:
flash superSU by [MENTION=631273]Chainfire[/MENTION] ;)

because that is your devices total ram :D
[L Speed] chan470:
Best SOT I've ever had on my S4, LS V4.0, WickedX rom, and a 2yr old battery. [MENTION=5514152]Paget96[/MENTION] and [MENTION=4310299]bilgerryan[/MENTION] thanks for transforming my old phone. [MENTION=5514152]Paget96[/MENTION] you're a mad man!
[L Speed] Paget96:
Why I am so mad?? Hahahaha :D
[L Speed] bilgerryan:
Here's another way to enable init.d if you have this file:

system/etc/init.qcom.post_boot.sh, open it and scroll all the way to the end and add the following lines with a text editor, save the file, and reboot. *Make sure there is a empty line at the end.*

# init.d support
run-parts /system/etc/init.d/
[L Speed] deathkid13:
Still the same :( already flashed super su 2.52... chose option 1.. Shall i repeat from step 1?
[L Speed] bilgerryan:
You should sleep for more than 4 hours lol. I would know, that's about all I sleep a night.
[L Speed] bilgerryan:
Did you try what I suggested right above your post (post #14527)?
[L Speed] chan470:
Doctor said I could sleep when I die! Hehehe.
[L Speed] Paget96:
try again to enable su.d :) and also try [MENTION=4310299]bilgerryan[/MENTION] method ;)
[L Speed] deathkid13:
No luck... Maybe because i have permissive selinux
[L Speed] Paget96:
try changing it to enforce :)
[L Speed] ohad129:
OMG look at this score !!! After i install this before it was 56-57
[L Speed] Paget96:
that seems to be good ;)
[L Speed] deathkid13:
If i changed it to enforcing. My root would be removed. This is our case in Note 4 5.1.1..

---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------

Damn i envy those who can use l speed...
[L Speed] Paget96:
Interesting, I prefer permissive also init.d won't work on enforce :)
[L Speed] deathkid13:
I do have init.d support tho. will this not really work on my device?
[L Speed] Paget96:
Flashing superSU and after that enabling su.d method from L Speed wizard must to enable it....
[L Speed] deathkid13:
Made it work. Lol. I just updated busybox binary. Then becausr of frustration. I kept of pressing option 6 thrice. Then boosted and fstrim. After flickering, its enabled. LOL
[L Speed] Paget96:
good :D ehehe
[L Speed] Paulo Narley:
[MENTION=5514152]Paget96[/MENTION]

Adblock a great solution.

Use and recommend:

AdGuard

https://goo.gl/1LAoGU
[L Speed] deathkid13:
Ok. Found the problem. Its busybox. Sir can u make the newest beta compatible with the busybox version attached in photo? Cause thats whats supported in my kernel. After updating busybox, i got no uci thingy in synapse. Then dirty flashed my kernel and busybox was downgraded to the kne attached in photo and l speed not work agajn..
[L Speed] Paget96:
I can't do nothing :/

That is not related to me and the mod :/

why are you using synapse??

there is much better apps :)

trickstermod, kernel auditor, kernel tweaker...
[L Speed] m1trand1r:
trickster mod sucks...kernel aduitor isn't as it should be...(nice UI but what's set doesn't always stick on reboot), kernel tweaker is just not there....Synapse has a lot of tweaks to tune in comparison to KA...and everything works well with Synapse... :)

My 0.02€ ;)
[L Speed] deathkid13:
Cause synapse is whats supported by the kernel... Hmm cant the busybox version 1.21.1 supported by l speed?
[L Speed] marregazza:
Hello Paget. Which one to delete? There are no install-recovery2
[L Speed] Paget96:
Ok, why you have on synapse what other apps doesn't have ? :D
[L Speed] Paget96:
nothing to delete :D
[L Speed] ahmed dzico:
But I have root !!!
[L Speed] mestizo19:
In deep sleep no battery issues. But in SOT drain is big. Performance i think it's the same as the latest build. If i want to go back to 3.3 i just uninstall this and flash the again 3.3 [MENTION=5514152]Paget96[/MENTION]?
[L Speed] Paget96:
When you tap on a file, you have few icons in the top.

Tap on su (icon with cross-bones)

Then run :D

Hmm, share your setup..

Yeah, uninstall from a file
[L Speed] Paget96:
Disable assertive display and Net tweaks :)
[L Speed] mestizo19:
One more thing. When i type "e" for exit it doesn't exit.
[L Speed] jordirpz:
[MENTION=5514152]Paget96[/MENTION] is necessari reboot when change values?
[L Speed] ahmed dzico:
Problem
[L Speed] Paget96:
Yes :D

I will fix ;)

It's not a problem :D
[L Speed] GTOJim:
The new version of LS is working on my Nexus 5x. Previous versions of LS caused boot loops.

One minor problem so far with very limited testing. The current state was enable even though I have init.d and it was detected. Tried using option 1: su.d, no change, option 2 no change. After a reboot it shows Enabled. Don't know if this is normal or just my device.

Great work, LS keeps getting better and better. When I think you can't possibly make any more improvements you find something new, amazing work.
[L Speed] mrrocketdog:
1) thank you [MENTION=4310299]bilgerryan[/MENTION] for "enable init.d" help.

2) in Smanager i get message "enabled". when i go N/2 TE , type su , LS ; it reads "LS not found".

is this right ? , or something else i need to do to show up in TE.? any help appreciated.

"all i can really do is stay out of my own way and let the will of heaven be done"
[L Speed] Paget96:
Yeah, after change you need to reboot the device :D then if status is enabled, mod is fully working ;)

I always have new ideas :D You need to have a good imagination when do this :D ^`^

There is no su LS anymore :)

Only one file for configuration ^~^ That is much more easier :D
[L Speed] Corduroysack:
Silly question but do you need to keep smanager running in background, onlyI've noticed it opening and running in the background by itself that's all?
[L Speed] Paget96:
Don't need to keep it, when you do the changes, just close the app :)
[L Speed] carwashman:
Another Wicked X user here on S4 and new version is running perfect so far:D

Thanks for the great work on this mod
[L Speed] orgulloso4202:
Want to share your settings? I'm trying it out tonight [emoji1] [emoji41]
[L Speed] king_ahmed:
Wow beta 1 work great here in my s2 i9100 and most thing I love in it how I can set setting for LS it very easy and faster :D .... I also made widget for LS and now I can open it with one click :D :good: I waiting beta 2 to have full mod working :p :D and thanks [MENTION=5514152]Paget96[/MENTION] for this great update you are awesome developer keep up the great work :D and sorry for my bad English :D
[L Speed] Paget96:
Wow, thank you a lot :D

Beta2 will be here in day or two ;)
[L Speed] jugoslavpetrovic:
If I flash supersu over will that return that file?
[L Speed] yasin0005:
Awsm worked man.....☺
[L Speed] jugoslavpetrovic:
Beta1 is very similar to 3.3 official but its a lot painless to toggle options. The animated text looks cool as well.
[L Speed] akv22:
What is lspeed?
[L Speed] Paget96:
Looks good but takes a time xd :D

L speed is a mod for performance/battery boost :)
[L Speed] jugoslavpetrovic:
Tried to install 4.0 beta1 on LG e440, cuz I cant flash custom recovery on that device for I dont know reasons, this script should be able to work but… here are the screenshots during running script, please advice
[L Speed] jugoslavpetrovic:
Can this work on android 4.0.3 without selinux at all?
[L Speed] pustinjak:
My device dont support selinux and i use Beta 1
[L Speed] Paget96:
For sure that it will work without selinux :D
[L Speed] akv22:
Which file do I downloaded if I am using aryamod 7.3 which is on a n900a?
[L Speed] Paget96:
Go to post5 and download beta1 for v4.0 :D

Also read a post how to setup it, there is link on the changelog, it's in post5 too :)
[L Speed] pustinjak:
Since this morning till now my battery is on 57% ( i also use AFwall with 2 or 3 app aloved to connection on data plan )

After cleaning dalvic cache reboot command not working :p
[L Speed] -CALIBAN666-:
maybe im late, but here is my suggestion for a new name and something.greetz bro!!!

---

---

"the quieter you become, the more you able to hear"​
[L Speed] Paget96:
What command?mm :o

Eheh, your suggestion is?? :D
[L Speed] pustinjak:
This command

sent from Qinez
[L Speed] Paget96:
Reboot wont work???
[L Speed] pustinjak:
Yeah

sent from Qinez
[L Speed] jugoslavpetrovic:
On lg e440 cant chanhe cache reclaim, once changes to leesser and cant change, also better voice call cant disable.
[L Speed] LiL_Assassin:
Flashed it. Impressive. Anyone know what would be good for note 5 options? Not doing kernel tweaks as I don't want kernel conflicts with my custom kernel
[L Speed] akv22:
How do you install beta 1 v4???

---------- Post added at 09:28 PM ---------- Previous post was at 09:27 PM ----------

How much does, this, help with battery life and, which setting should I use, to increase my battery life?
[L Speed] justin1221:
Search and read