yashsingh1/xdaforums huggingface dataset:
[L Speed] ianmb:
I didn't make them system apps. I made them data apps. And it was only the app GMS core. What that is, is Google Play Services. What you need to do is, look for Google Play Services on the Internet. Find the version that runs on your phone and download it to sd card.

If you have TB backup your current Google Play Services. Locate folder that says GMS core using a root browser. Now just totally delete that folder and all its contents. After doing that a bunch of on screen messages will start popping up saying that "Unfortunately "blah blah" app has stopped. Now reboot recovery . Wipe cache/dalvick After screen comes back on the pop ups will probably come back. Now install the downloaded Play Services, this will install it data/app. Now you should wipe cache/data of Play Services app. Reboot, now you will have to sign back in to Google so all Google apps can run again.

I am NOT responsible for ANYONES phone if something wrong should happen. This is how I did it and it worked for me.

SO MAKE A BACKUP BEFORE YOU START.
[L Speed] gothy.gothy:
opinions? hm ... I would like settings from Paget for the most great battery life, something like a menu with options for battery:

- light (more performance, less battery)

- balanced (50%-50%)

- aggressive (more battery, less performance)

that would be great, due to the fact the values are values, ... opinions could differ from device to device, pattern of usage, etc
[L Speed] deathkid13:
I did and even r3plus. Gave me battery drain. Lost 3% batt upon unplugged. Turned off kernel tweak, misc. Tweak and vm tweaks. Also turned off multi core save. Only governer tweaks enabled..
[L Speed] Soultaker1974:
Testing the R3+ since yesterday and put everything on

Excluding black screen fix.

everything is good !!.

thanks.

Gabe.
[L Speed] kchaisu:
Hi Paget96,

I have a little problem with latest reuploaded R3+ on my Saga, RAM 768MB, internal memory 1.1 GB, CM-12.1-sagaopt. With default OOM killer, my internet browser has a problem with intermittently cut off, so I enabled OOM Killer, the problem was solved; however, the device is very hot and leaving for a while screen has been turned off with power bottom was not functioned anymore. I had to take battery out and booted into recovery, wiped dalvik cache and cache, then rebooted. To reduce battery drain, I turned Google Drain Fix. What should be the potential causes for this phenomenon. Thanks.
[L Speed] kchaisu:
Here is screenshot for my settting:
[L Speed] Paget96:
Tell me what is the latest version of V3.0 which work good for you.

Thank you a lot :)
[L Speed] Paget96:
Enable kernel tweak, disable KSM :)
[L Speed] kchaisu:
I have changed from CM-Tabuche launcher to Google Now Launcher because it solved loading apps lag time. So with Google now Launcher there is not much different among V3.0 Release, R3, and R3+. However, with taqbuche launcher, I would say R3+ is good for my device. Thank you very much for your energetic works.
[L Speed] Paget96:
Ok, tell me now is r3+ good or bad for you?? :D heheh
[L Speed] kchaisu:
Thanks.

---------- Post added at 02:04 PM ---------- Previous post was at 01:56 PM ----------

Good, except for the little problem of which I will turn KSM off as your advice. Thanks.
[L Speed] Paget96:
try that,and report back :)

KSM is draining battery but improve performances a bit :)
[L Speed] Psycho_Crazy:
Flash r3+ on my d855 running xenonhd. I need more time to test, but it looks very good! Thank you!
[L Speed] Paget96:
thank you, I'm waiting for your feedback :)
[L Speed] kchaisu:
So far, it should be OK for the time being. It is not hot anyway. Thanks.
[L Speed] Paget96:
awesome,thank you too :D
[L Speed] xn0live:
Which Launcher is good for mobile who have a lot of apps and open fast apps?
[L Speed] Paget96:
Smart launcher

Hola launcher

Holo launcher
[L Speed] wadamean:
Action launcher 3, nova launcher, apex launcher

---------- Post added at 07:57 AM ---------- Previous post was at 07:56 AM ----------

Ended up returning to r3 official. After having been on r3 plus and the reuploaded version I have encountered much battery drain and plus the cpu wasn't deep sleeping much at all. Now back on r3 it's way more consistent and no problems whatsoever.
[L Speed] bullfinch110:
I can confirm this. Back to r3 with my s3 neo (1.5gb)
[L Speed] Paget96:
L Speed V3.0 TRINITY r4 beta1 uploaded:D

Changelog:

Better scrolling updated, removed some useless lines

Kernel samepage merging values are updated

lowmem_reserve_ratio tweaked a bit

Allocations reduced to 60% of ram

ADJ tweak removed from ram profiles because it's useless on ICS+ roms

Added some changes, using sysctl instead of echo

Fixed some stuff inside VM tweaks

Installation:

Flash over and wipe cache and dalvik-cache

If you experience heating do next:

inside /system/etc/init.d/LS00Kernel_tweaks

you will find next line

busybox sysctl -w kernel.sem="250 32000 32 1024"

make it to looks like this

#busybox sysctl -w kernel.sem="250 32000 32 1024"

save the file, check permissions are them same like other init.d files and reboot device. :)

EASY!!!

Download links :)

Mega:

https://mega.nz/#F!4BcXBaRK!d0piT6X21gG6ajHCLEObFw

Google drive:

https://drive.google.com/folder/d/0B4Kx-tvKVhBxMDZNdEJlTThtV1U/edit

I'm waiting for reports. I will make fixes and improvements as fast as possible. :D

Also here is mine donation URL:

http://xdaforums.com/donatetome.php?u=5514152

Thanks guys for everything :D

I'm so proud on users which I have :)
[L Speed] Hpsgill:
Flashed it...will report soon..anyways i got drain on r3+ so i moved back to r3 now m on latest beta
[L Speed] Paget96:
Ok, thank you :)

I will wait for tour report :)
[L Speed] jhonnz:
[MENTION=5514152]Paget96[/MENTION] i have the 2.4 hyper opyimizer version, the problem is i havent custom recovery

Enviado desde mi LG-D375 mediante Tapatalk
[L Speed] Paget96:
You can flash new version with flashfire app, check first post for it. :D

ONE INFO:

Uninstall your current versiom from LS menu, then flash the latest ;)
[L Speed] xn0live:
768mb

setprop dalvik.vm.heapsize 320m

setprop dalvik.vm.heapgrowthlimit 192m

is that not too much?
[L Speed] Paget96:
It's too much 256 is enough :)
[L Speed] Hpsgill:
While updating from from r3+ will installer also replace new init.d files in system/etc/init.d ???

Or we have to restore profile again?
[L Speed] Paget96:
If you use twrp you will need to backup :/
[L Speed] xn0live:
but why u make it to 320m?

the original is that(KItkat)

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

dalvik.vm.heaptargetutilization=0.25

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m
[L Speed] Paget96:
Check again, it isn't 320 ^~^
[L Speed] xn0live:
sure ?

busybox echo "VM profile for 768mb applied at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LS

elif [ "$mem" -lt 1048576 ]; then

busybox chmod 644 /proc/sys/vm/*

busybox sysctl -w vm.dirty_background_ratio=5

busybox sysctl -w vm.dirty_ratio=10

setprop dalvik.vm.heapsize 320m

setprop dalvik.vm.heapgrowthlimit 192m

if [ /sys/block/zram* ]; then

busybox sysctl -w vm.swappiness=40

else

busybox sysctl -w vm.swappiness=20

fi

if i go to Terminal

su

getprop dalvik.vm.heapsize

it came 320m
[L Speed] Paget96:
This is for 1GB :D

You see this line

elif [ "$mem" -lt 1048576 ]; then
[L Speed] xn0live:
i understand ;D this are for 1gb devices?

busybox chmod 644 /proc/sys/vm/*

busybox sysctl -w vm.dirty_background_ratio=5

busybox sysctl -w vm.dirty_ratio=10

setprop dalvik.vm.heapsize 320m

setprop dalvik.vm.heapgrowthlimit 192m

if [ /sys/block/zram* ]; then

busybox sysctl -w vm.swappiness=40

else

busybox sysctl -w vm.swappiness=20

fi

can u explain what that is with a example

dalvik.vm.heapgrowthlimit 192m

the "original" is only 48m
[L Speed] Paget96:
As name said, that is limit to which can heap going. If heap is bigger than this limit it will take maximum = heapsize. :)

Understand???
[L Speed] Black_Eyes:
This converts to a -XX:HeapGrowthLimit option. It specifies the maximum size of a "standard" app's heap. If the app uses android:largeHeap in its manifest, it uses the full heapsize value instead.
[L Speed] xn0live:
the original was 128 m here is it 320 m

setprop dalvik.vm.heapsize 320m

which app have 320mb?

Games like fifa 15 have only 60mb? :S
[L Speed] Black_Eyes:
You are not getting it right, what you asking doesn't make sense to me.

Moreover if you want to mess with this, i suggest you to look at Google's Code

Here: https://android.googlesource.com/platform/dalvik/+/kitkat-release/vm/alloc/HeapSource.cpp

Thanks
[L Speed] jhonnz:
ok, thanks for your work and your atention for respons all answers

Enviado desde mi LG-D375 mediante Tapatalk
[L Speed] Paget96:
Thank you for sharing this with us ;)

That is my job ;)
[L Speed] jugoslavpetrovic:
Cpu governor Conservative

R3plus
[L Speed] xn0live:
[MENTION=5514152]Paget96[/MENTION] Is Art or Dalvik better

WHat do u think?

---------- Post added at 08:25 PM ---------- Previous post was at 08:23 PM ----------

is conserative good for u?

I tested it, but my mobile was then slowly
[L Speed] Paget96:
Good 7h on nexus 5 :D

Btw is battery better on CAF.?

For sure that ART is better. :)
[L Speed] xn0live:
u nexus hat from begin ART or u change it ?

because i see that my is on dalvik
[L Speed] Paget96:
Every device on 5.0+ android is on ART.

On KK roms ART is only tested, and you can chose runtime.

When you select ART you will have less space on device because of ART cache. :)
[L Speed] xn0live:
ok thank u i will see and change it to ART :D
[L Speed] jugoslavpetrovic:
Im just testing conservative, so far runs fluent with this mod.
[L Speed] xn0live:
i click on it and then i click yes after reboot nothing happened it do not changed to ART DO u know why?

system rom 1.05 gb/568mb free

intern 2,11gb/305mb free

media 11,8gb/700mb free

sd card 64gb/40gb free
[L Speed] lido:
These are the two files you wanted screenshots of that are in my init.d folder. They are read only. What do I need to do with them?
[L Speed] droidblitz:
Everytime i flash a new build this happens
[L Speed] jugoslavpetrovic:
I really cant tell about difference of battery bitween aosp and caf. There is so many aspects of measuring batt drain but with this setup now I like it si far. Its not 7 SOT but at the end of the day I still have a lot of juice, more then usually. Thanks for all your blood and sweat and putting this all togather and share with the world of androids.
[L Speed] lido:
Aaaand nothing attached...
[L Speed] itsdonjuan:
Nameless ROM 5.0.2 .. GT-I9300 (S3) 1GB RAM it is laggish with the latest version .. needhelp .. thanks man !
[L Speed] LiL_Assassin:
Using resurrection remix for i9100. It lagged at first but runs well. But it seems to drain my battery quickly
[L Speed] ariefabuzaky:
Do I have to delete this ? It showing after I enabled init.d via apk
[L Speed] Justasmig:
Thanks ;)
[L Speed] Paget96:
Ok that is 1gb device??

With 1.1???

Nothing ;)

No problem dude ;)
[L Speed] Sk0rpi0n89:
I update from 1.0 to 1.2 and lags in chrome is gone.

Ram managment is fine, about 350-400mb is free, and speed is amazing, rom from signature.

Sent from my Optimus 4X HD
[L Speed] LiL_Assassin:
Yeah it's a 1gb ram device
[L Speed] Artyomska:
On the 1.2 stable, after reboot, seeder turns off. I must activate ot manually everytime. Set on boot option is on.

I also see no difference regarding battery life, but the performance is improved. Sometimes I have lag spikes, but they are rare and the duration is max 1 second. Using a Xperia Z with CandyRom 5.
[L Speed] Paget96:
Guys, I was changed swappiness to 5 and vfs_cache_pressure to 10 device seems to work very smoot. My L7 with 512mb of ram.

that means that is better to have less free ram and a lot of apps in it, because switching app is faster (ram is more faster than swap)

Now I need users which want to test.

I need 256mb device(if it's posible), one 512 to be sure that this work on any 512mb device, 768mb :) ,1024 and one with above 1024.

Thanks for support guys...

Reply here, I will send you PM with download link ;) (reason why pm, because users will see, and download,maybe wont work xd. Then I need some testers)

Thanks :)
[L Speed] Maltonator:
Version 1.2 Reborn seems to run very good! Especially battery life! Performance is not bad but I don´t experience any improvements.

Here is a screenshot of my first battery impression:
[L Speed] TPD-21:
Well, I could be the first tester for 768mb devices. :) But, before I apologize for having to report some important things (I think) related v1.2.

Here I just wanted to report, After using my device (768MB RAM) for ± 3 hours (3G Internet), I feel my device so hot. Unlike in previous versions. Then I had noticed the whole folder in SDCard0 had disappeared instantly. :rolleyes: But I managed to recover by doing wipe cache and Dalvik cache via CWM. Maybe just a suggestion. Do you think there needs to be lowered back to the values of tweaks v1.2, especially for a device (768MB)? :rolleyes: That is all. Thanks in advance.
[L Speed] joaaoalves:
When I use L wizard on my l5 it says I don't have root when I do have. Any solution?
[L Speed] Paget96:
First type su then L_Speed
[L Speed] joaaoalves:
Got it, thanks :)
[L Speed] Paget96:
That is what I'm doing now ;)

Do you know to put file in init.d and set 755 permission? :) because I want to send you only vm tweaks(all smoothness is there) and you only neeed to put and reboot device :)
[L Speed] ~KV:
LG E980

Would this mod work with LG Optimus G Pro E980??

It has 2 GB Ram...and I am running a custom rom (4.4.2)
[L Speed] TPD-21:
Oh really? It's like what I expected. Okay, I'll give it a try. :) But, by the way my device is charging. If you want to be patient waiting for the finish. Later I will give you feedback.

Yes, I know it. :)
[L Speed] Paget96:
Yes it will work ;)
[L Speed] Artyomska:
After using my phone from 100% to 6% to see if batttery life is better with this mod, I can say that the mod improved my SoT from 3,5-4 hours with low screen brightness to nearly 5 hours with moderate gaming, intense internet surfing and medium to high brightness. Amazing work regarding battery life with good performance. I keep the seeder of because I have a better experience with it this way. Thank you [MENTION=5514152]Paget96[/MENTION] for this amazing mod. :)
[L Speed] Paget96:
Whih device do you use?? And how much ram it have?;:)

Thanks for report :)
[L Speed] mmatic10:
Me too. No matter what kernel I flash I get that message after flashing lspeed.
[L Speed] jugoslavpetrovic:
Yup, and yiu could feel the flowness of art on kk but with xposed in that time it was returned to dalvik anyway, cuz xposed could not work with art. We are now living in a different era.

---------- Post added at 20:59 ---------- Previous post was at 20:56 ----------

Have you tried another kernel manager?

Never got that message, Im using Kernel Aduitor and Synapse.
[L Speed] lido:
These are the files contained within the text editor and Linux script editor, dasboot screenshots first, UKM screenshots second (subfolders within init.d folder):
[L Speed] droidblitz:
I have to dirty flash my current kernel zip. :/
[L Speed] xn0live:
if i change from dalvik to art then xposed not work more because i have kitkat
[L Speed] mmatic10:
After flashing lspeed stweaks and synapse wouldn't work but kernel adiutor would. So I was forced to use adiutor and I'm beginning to like it more than stweaks. But I still don't understand how come it works and others don't.
[L Speed] jugoslavpetrovic:
As I remember, it even didnt want to change unless you uninstall xposed.

---------- Post added at 21:33 ---------- Previous post was at 21:32 ----------

Well, it seems like app related then.
[L Speed] lazer9:
Thanks for continued updates!

Testing this now. A couple questions:

1) Is it still recommended to not turn on "multi-core" saver setting in the tuner tweaks as discussed yesterday?

2) I still use Synapse app to set some of my kernel settings and what not with success. I'm on a 910T Note 4 with a COD6 based lollipop and running Emotion r21 kernel. So I see some discussion a few pages back to optimize VM with kernel auditor (I believe)... All that was given by user was a set of numerical values. Could someone kindly break down the actual names per desired settings so I can optimize via Synapse app properly?

Thanks!
[L Speed] keemi:
Too fast new versions :D

and I further tests V3.0_r3_beta6
[L Speed] mauam:
Hi bud,

I use this CM12.1 & this unofficial TWRP 2.8.7.0. Both r3+ & r4 beta1 don't let go in recovery. When I press power button, reboot, recovery the phone reboot normally not in recovery!!! Of course I can go in recovery pressing the combo Power+volume up+home button. I unistalled r3+ & can go in recovery as usual. So, it's something related to the script. I only start using your script (again) yesterday, because my rom is already fast & good battery, but of course I want to continue to use L speed because it increase (a lot) not only my battery, but all other things. My phone is flying:cool:

P.S. I'm using the default superuser, not SuperSU. Could the issue be related to that!!? Anyway, not big deal since I can go in recovery with the buttons combo. Thanks once more for your awesome work:cool::good:
[L Speed] FalenDemon:
Hello there!

I have some troubles with 3_r3 and 3_r3plus. If I am using a phone via 3g, 4g after some time it stop working, dl speed become <1kb/sec. Default settings, but net tweaks off (if on same story). What could be wrong? :(
[L Speed] Paget96:
Because you don't have enough space in internal mem :)

On which version stweaks worked for you??? :)

Them everything is a bit better with CAF???

What is the latest version of L Speed where stweaks work???

You don't need to delete anything just flash L Speed ;)

Damn :/

Maybe kernel tweaks cause that, om which version stweaks worked for you???

Yup :)

Disable it, :D for better performances :D

For synapse app disable kernel tweaks and clear data of the app and try to run the app

Hehehe, wohoo :'D

Hmm did you changed init.d support method inside L spreed wizard?? :D

Just to know, also try flashing superSU :D

Thank yoi for reporting amd using mine mod ;)
[L Speed] mauam:
Not changed init.d. My rom already has init.d. Ok, tried SuperSU & no way. On my init.d I only had two default files, 00banner & 90userinit. Do I need to delete them? Rom will still boot if I delete them!!? I'm scared:laugh: As I said before not big deal bud, I can enter in recovery anyway:)
[L Speed] Paget96:
No no no, don't delete them :D
[L Speed] mauam:
Roger that:laugh: Keep it up:cool:
[L Speed] darkilong:
i flashed arm, i have s4 i9500
[L Speed] Paget96:
Hmm, what can be wrong then??
[L Speed] lazer9:
Ok & thanks. I understand the still disable "multicore saver" for better performance.

But regarding "Synapse app question", I am a bit unclear as I was wanting to know best VM settings in it... I don't know if you are suggesting I turn off "kernel tweak" in Lspeed or what?? And what clearing data in Synapse resolve... I have no issues regarding Synapse, just my VM settings questions. Sorry for my confusion :o
[L Speed] elhugo3:
Where I can off multi core saver? Thanks

Enviado desde mi GT-I9300 mediante Tapatalk
[L Speed] anjirru:
in LS wizard menu, option #6 cpu tuner..
[L Speed] elhugo3:
Thanks, I didn't see

Enviado desde mi GT-I9300 mediante Tapatalk
[L Speed] iceheart12:
Without kernel tweak, i better a bit [emoji1] [emoji1] [emoji1]

Gửi từ IM-A900L của tôi
[L Speed] deathkid13:
Sir.. I see this, instead of 32000,should i change 32000 to this?
[L Speed] deathkid13:
Does this really take long to calculate??
[L Speed] kchaisu:
Hi Paget96,

On R4 beta, Kernel Tweaks caused quick battery on Saga, CM12.1- sagaopt. Thanks.
[L Speed] deathkid13:
Update for note 4 user n910c

Latest beta is good as advertised. No more heating issues. (just follow op's instruction in kernel tweak) very smooth transition from opening apps to closing, smooth scrolling even if scroll tweak is not enabled. Performance is good. Battery? Hmmm. Battery is better than previous beta and builds. But v2.5 beta 12.5 is still better in terms of battery. But latest will and future betas will continue to improve and im sure OP will further perfect his amazing work.

Quick question to OP: is there any way we can implement battery tweaks used in v2.5 beta 12.5 in latest? Cause for me that is still best. Having only 0.4%/h drain in deep sleep mode. :)
[L Speed] tholmes8291:
What OP instructions are you referring to for kernel tweaks? Thanks
[L Speed] GreekDragon:
I think she/he talking about kernel tweak on terminal mod.
[L Speed] Amansinghiam:
With plus version... My ohone is not going on deep sleep....
[L Speed] dollyaja:
Which version is it?can u share what setting u have change by numbers,thanks
[L Speed] iceheart12:
I am using r3+, just disable kernel tweak and now testing with vm tweak off :)

Gửi từ IM-A900L của tôi
[L Speed] jugoslavpetrovic:
R4_b1

No heating, confirmed.
[L Speed] Paget96:
You don't need to change nothing at VM :) keep L Speed setup ;)

Ok, thank you for reporting, that will be fixed in next ;)

Where?? How do you mean that instead of 32000 you want to write 32000 is that not the same??? Xd

Yeah one or two battery cycles ;)

Thank you for reporting this :)

Thank you for spending time here ;)

Every version or beta is special on his own :D we building this better better and much more better :D

Please try r4_beta1

On post 5 ;)

Yeeah :D
[L Speed] Paget96:
Pic by [MENTION=5651185]GreekDragon[/MENTION] [emoji23] [emoji23] [emoji23] [emoji23]
[L Speed] deathkid13:
Sir [MENTION=5514152]Paget96[/MENTION], report from current beta. it seems, battery is draining? Or im wrong?
[L Speed] Paget96:
Hm, 20min of sot in 1h on battery and 8% drained.

Hmm, you will get ~77% of battery in next full 1h of sot. It seams that you will get about 4h of sot.

Maybe it's draining a bit.
[L Speed] deathkid13:
Yea... Draining batt...

Can you also please check this? First is fsync. Second, i copied ur instruction. However, my original line is different from ur instruction. Hope this helps.
[L Speed] Paget96:
Don't keep double lines, only one with #
[L Speed] Paget96:
#### BUILDING PROGRESS ####

Removed ril tweaks and useless dns from kernel tweak

shmall parameter fixed

Some VM parameter fixed

kernel semaphores tweak removed

Backup destination from wizard changed to sdcard

This will be changelog for future beta2 :)

I don't know when will I release it, because I am busy, and also I need to test some new lines.

Thank you for time and patient.
[L Speed] BlazeForth:
Can you chnage your energy mode bro.?? ?? you are super duper fast & please change your energy mode to just super fast. ? ✌ ? ? ?

I am just going to flash beta1 and you already post the changelog for beta2...???

ne❌us 5 --> pure ne❌us --> ❌TREMEMusic --> L Speed
[L Speed] Paget96:
Hahahah sorry :'D I doesn't have multicore energy saver :'D hahahah

My fans are blazing fast :'D hahahahha

Beta2 will not come soon, in next few days 2-3 :D
[L Speed] BlazeForth:
That would be great bro.... I havent seen an active thread like this in xda & I couldnt read all the pages of this thread. ??

ne❌us 5 --> pure ne❌us --> ❌TREMEMusic --> L Speed
[L Speed] Paget96:
Name of the next L Speed v3.0_r4 will be OVERSEER?? Is that ok??

L Speed v3.0_r4_OVERSEER

Also I have good logos for it :)
[L Speed] BlazeForth:
What does overseer mean ??

ne❌us 5 --> pure ne❌us --> ❌TREMEMusic --> L Speed
[L Speed] Paget96:
Overseer is someone who are looking from above and controls everything. :)
[L Speed] gothy.gothy:
It would be better NEVER SEEN ...
[L Speed] Hpsgill:
Got 4 hour SOT on r4 beta 1

Smoothness is not good as old versions...

I found r3 beta 5 the best

Got 5 hour SOT wid it and smoothness was awesome...
[L Speed] xn0live:
Who can share any setting+Battery Screenshot/or BBS here with the new beta version or other version
[L Speed] Hpsgill:
[MENTION=5514152]Paget96[/MENTION]

Smoothness fixed after disabling multi Core savings...

Performance is increased but i think i got 4 hour SOT on enabled savings now it will drain..

?
[L Speed] tholmes8291:
Yeah I understand that but on or off? Or were there other instructions that I missed?