yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
I think i know from where you took those lines

these im sure they dont work:

ro.HOME_APP_ADJ=1

debug.performance.tuning=1

These make composition type overlap many times. they just change one thing for another. This started going famous when a galaxy i5500 user claimed his performance had improved when having debug.composition.type=cpu and debug.composition.type=gpu at the same time in build.prop. We are talking about android 2.2 froyo at Motafoca roms (2010-2011). then many people started spreading that having different composition type setted one after the other was better :confused:

debug.composition.type=c2d

debug.composition.type=gpu

persist.sys.composition.type=c2d

persist.sys.composition.type=gpu

These im pretty sure are from zeppelinrox v6 supercharger (which doesnt support android oreo)

persist.sys.NV_FPSLIMIT=60

persist.sys.NV_POWERMODE=1

persist.sys.NV_PROFVER=15

persist.sys.NV_STEREOCTRL=0

persist.sys.NV_STEREOSEPCHG=0

persist.sys.NV_STEREOSEP=20

this is why we sould search before adding any line to build.prop, what happends if you only suspend your pc? it gets super slow

persist.sys.shutdown.mode=hibernate

this keeps scrolling cache always on, a config used for debug which may bring lags. i set it to 4 at moreSolutions which is "always off"

persist.sys.scrollingcache=3

this, if it worked, would be useless. having like 300 frames rendered to only show 60?

hwui.disable_vsync=true

these, if im not wrong, are for a lg phone i dont remember which

persist.service.pcsync.enable=0

persist.service.lgospd.enable=0

i doubt these work now, even if they did before

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

persist.sys.use_16bpp_alpha=1

ro.fb.mode=1

ro.product.gpu.driver=1

ro.sf.compbypass.enable=0

persist.sampling_profiler=0

dev.pm.dyn_samplingrate=1

ro.config.hw_quickpoweron=true

persist.sys.use_dithering=1

persist.android.strictmode=0

ro.config.disable.hw_accel=false

Many of them probably never worked, others did work and now its an unknown. and some others work, but the values they have make more bad than good.

the best is to search a lot before adding lines. Knowing what it does, what are the possible values, the stock common value, the stock value OUR device has. and just then see what it does when adding it. Most of those things are already polished by google
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, now I'll delete all them, thanks for your deep explanation man :)

For the script i just modified it then i think the phone is much more faster than before, just give it a try

This is for fast fps shutdown animations, lines in build.prop then i know you knew them :D :

boot.fps=30

shutdown.fps=30
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
ok, i will try "ForTest" script during tomorrow and see how it goes :good:
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, just download it again, i modified it so I'll not disturb you by modifying it
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thank you, i think some of these lines are also working on Oreo, for the shutdown, just use "30", using "20" or less will still like the stock speed or less, so, the "30" is faster than stock and i think it's the only working value
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Just did 3h sot, 15% battery left with your fortest script. Device felt more responsive at certain situations, but i think its not worth trading like 1:30h sot for that little improvement in my case.

Will see tomorrow how far can i get with my cpu solution
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thank you for that, i just wanna say that i have a new one which is more responsive, i have included more solutions, i disabled Input boost for the Little Cluster and Big Cluster and Custom thermal driver and i also tweaked them, i enabled Core Control and i disabled MSM Thermal Throttling for longer sustained performance, i have also tweaked HMP Scheduler, i need a tester if you'd like to, it's an Ultimate Fix in my opinion
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
I saw the file and actually there are some lines which do nothing to our phones, some others are already included at thermal solution and specially the input boost ones, why you are "disabling" input boost and then changing its parameters? as far as i know input boost is basically impossible to disable or modify (there is one way to turn it off from little cores but will make them act really awkward). The ones that work make the phone feel and work faster at expenses of battery (like 1h sot)

Anyway, i have attached a new test i will try tomorrow. there is CpuSolutionConservative and CpuSolutionInteractive. each of them will use a different governor. I will start trying interactive one. Maybe you could try one of them and tell me your thoughts. this is like a new base, so then it can be modified towards performance or battery. All 4 scripts in the zip have modifications

edit: i reuploaded the file as having overcommmit memory set to 2 would hang the device upon boot

i saw there are 4 downloads for this file, so if your device gets frozen after boot run this with cmd when its turning on
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Ok thanks, I'll try them out then let you know how's the phone reacts, just for my cpu solution (only cpu big and little Cluster) i can ensure you that the phone isn't getting hot anymore or less than usual

Yes, in my tweak these lines are actually not present in our kernel ( proc/sys/kernel/enable_power_aware ) and also the soc bcl lines or its folder, thanks for noticing that

What about "15000" as extra_free_kbytes, and "1024" as min_free_kbytes?
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
For your cpu solution you are talking about the cpu governor and it's tunables? or also the scheduler modifications?

min_free_kbytes is the minimum amount of memory to keep at least, for high priority processes. shouldn't be less than 1024 as i've read

extra_free_kbytes is the the amount of memory the system will try to keep free to allow keeping a low latency when you have some process that needs it (instead of having to free memory, it is ready to be used) i tried taking advantage of this to improve apps opening speed, but there is not much difference at all. and the rest of the time that amount of memory will stay unused

I reuploaded test3 zip because there was a setting that would cause the device to hang when finishing boot, if you haven't tried it yet, please redownload
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, no, not the scheduler modifications, ok I'll download the zip again, but I wanna say that this engineering kernel makes me crazy, there's not even a chance to make the apps load more faster or load as a 4GB ram phone

Edit: But why adding a low power mode in a laggy device?

There are some improvements including the battery life with a lot of great differences but the apps opening still as before, I didn't test the conservative one

What is #UNKNOWN tweak?

Here is an interesting thing https://xdaforums.com/galaxy-s8/themes/script-debloating-s8-oreo-t3760452 if we want to debloat completely our phones, I think we should delete the bloatware completely instead of freezing them, I have already deleted some of them but I'm a little bit confused to delete some others!

Edit: I deleted almost any unwanted bloatware included the device's test apps and much more others apps and the phone booted successfully with maximum battery life that I had never seen before
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
unknown are the things im not so sure what they do:p, as i couldnt find yet a good explanation. but when testing there were no issues so far

So you are getting better battery life with apps deleted vs frozen? i haven't deleted them yet as i had to test my new tweaks and the only way to recover a bootloop without full wipe i had was to flash stock ap and reroot, so if i deleted some app it would get re added after flashing ap and it wont be frozen. Do you remember which apps you deleted?

I have made some improvements with app opening, all seems to be better. it still needs some polishing yet, but this may end being V7. I will leave the beta test here so you and anyone can test it, please give feedback

Choose one between CpuSolution3 and CpuSolutionFO and delete original CpuSolution you may have. Replace MoreSolutions and give all 777 permissions
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, I'll test them then I'll give a feedback, yes, as I told you I deleted too much bloatware without any kind of bootloops with extreme battery life, I'll give you the list, just wait for some times so I make it

Here is the list: I'm with my Galaxy S7 edge SM-G935V running on UFirmware SM-G935U

•All Qualcomm apps except these ones:

com.qualcomm.timeservice 8.0.0

Content Adaptive Backlight Settings 1.0

LocationServices 1.0

SVI Settings 1.0

•All Knox Apps

•WlanTest

•WallpaperBackup

•Samsung Cloud

•Syscope ( also by deleting it, the custom splash boot screen will disappear and you will get a normal splash screen without that custom icon, but you will get some copy/past issues, not at all, just in some situations, for me it works )

•Samsung pass

•Samsung Pay

•RootEUkor • RootPA ( if present in your firmware)

•Galaxy Apps

•Galaxy Apps ( widget )

•All BookmarksProvider

•All Briefing Apps

•Samsung Heath bloatware

•Gmail

•Maps

•Hangout

•WhatsApp

•Instagram

•All Facebook Apps ( bloatware, installer, location ...)

•Foundation

•Drive

•DRParser

•Unwanted Edge Panels ( I deleted almost 4 panels )

•AppexService

•AAService

•BasicDreams

•Customizations ( All Apps )

•Gear

•HandwritingService

•All ANT Apps ( Service and any other one )

•Device Test •DeviceKeystring ( and any other app that relates DeviceTest ) [ if you deleted these apps you will no be able to tap the device test codes like *#0*# or *#06# and any other code]

•EmergencyInformations

•HTMLViewer

•SVCAgent

•All Svoice Apps

•All Svoice Package languages packs

•Magnifier

•Samsung billing

•IPService

•IntelligenceService

•Hearingdro

•All Game Launcher Apps

•HwModuleTest

•ImsLogger

•EasySetup

•EnhanceService

•Tag

•AdvSoundDetector

•I'll post others as soon as I remember them

□Here's what still present as Apps on my device ( Attached below)
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Even with beta V7, we got some battery life improvements but the phone is a little bit slow, there's no improvements in term of apps opening
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
UPDATE V7​

Aka: New base

As updates went on, new solutions were added, but from my perspective older ones didnt got a proper revision(for example after app scheduler and app solution was added, cpu tunables were "outdated", as the cpu now would not be so agressive to jump and/or stay at high freqs)

Now we might say all the Solutions got redone. Things are more organised now

ThermalSolution

Redone from scratch, reorganised

CpuSolution

Totally redone app scheduler and cpu tunables (thanks to [MENTION=9071111]TheDevelopper[/MENTION], Xperia XZ, onePlus 3/3T forums and stock bootloader)

DacSolution

Activated impedance detection and turned up a little svs voltage

MoreSolutions

Swap has come back (relaxed value) in order to help having overcommit_memory=1

Some VM values have been set to stock unrootable user-kernel values

added page cluster modification

storage scheduler read ahead modificated

disabled lmk debugging

reduced entropy tunables (we have urandom linked since v6, having this high only contributes to battery drain)

NEW

Rendering Solution

NEW

SolutionInstaller
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Try V7, if you feel no improvements. unroot and see. V7 is 90% like unroot at apps opening
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, that's what I'm going to do, I'll try V7
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] slimcyril:
What does these do?

persist.service.lgospd.enable=0

persist.service.pcsync.enable=0
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
probably disable some service, you can google them if you want to. I haven't had time to discard useless lines yet as i stated at op. But im pretty sure they are useless.

If they end up doing nothing, the worst thing may happen is your boot time increasing by average 0.001s because of having them
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] slimcyril:
I googled but found nothing

Edit: those are LG flags
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Deleting the SamsungFan application and some others apps that you included in your AppsSolution tweak will give a bootloop
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Well, i must have a semigod phone because i didn't have any bootloop :p

Talking seriously, i test EVERY single tweak (and have them all installed in my phone right now) before posting to be 100% sure it doesn't cause a bootloop or anything which may lead to a odin flash or rom reflash.

if you had a bootloop it must be another thing you done. Plus, Solution Tweaks has 22 downloads right now and nobody else gave bootloop feedback

I also couldnt find in either thread images or AppsSolution .bat the "SamsungFan" app you're talking about

Please tell me what rom and what else you have done to your phone so we may get to the bootloop cause

edit: just downloaded my SolutionInstaller from op, ran AppsSolution.bat and phone booted perfectly. Apps Solution doesnt give bootloop
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Well, I'm sorry, I mean the Samsung Galaxy friends application, not SamsungFan, I deleted it manually then i have found out that it was the reason why my phone stuck in a bootloop and your AppsSolotion.bat was just fine with no problems, this happened with the Ufirmware and I haven't tried it on any other carrier, just the U firmware SM-G935U, I have almost deleted any present bloatware successfully but deleting the Samsung Galaxy Friends app gave a bootloop, so, don't delete it in the future, maybe if it was already present in others firmwares, I'm so sorry man :D
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
no prob men. I just dont want people get confused if some tweak may give bootloop or not. I'll remove Galaxy Friends from solution installer in next update just in case someone else uses U firm. I use jrkruse rom and never had issues
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] slimcyril:
What does these line do?

ro.ril.fast.dormancy.rule=0

ro.fb.mode=1

hwui.render_dirty_regions=false

hwui.disable_vsync=true

ro.sf.compbypass.enable=0

ro.vold.umsdirtyratio=20

Note: ro.product.gpu.driver=1 works, it enables the force 2D hardware acceleration in the developer settings
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Is there any forTest tweak? I noticed that the SmartView is taking a lot of ram without using it at all, but the problem is that when I froze the app, that gave a bootloop, eventually, when deleting it I was obligated to flash the stock firmware?

Two more question please, 1•Is there any difference between busybox "$bb echo" and directly "echo" for example:

$bb echo "85" > /sys/devices/system/cpu/cpu0/cpufreq ... or

echo "85" > /sys/devices/system/cpu/cpu0/cpufreq ...?

2•If I set 5000 for CPU min_sample_time, will it affect the performance and slow it down?
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Im not really sure of what they individually do. As its written at op, i will remove useless (busted or non working for our device) lines when i end researching all of them.

usng echo and the command without quotes works fine for me. And using ";" at the end of every line is very helpful when im testing things applying many lines using cmd

About cpu min_sample_time you can use the links provided at CpuSolution and search for min_sample_time in those, so you know what that does. Then imagine what it may do, and test it. Thats how i do. I think it may affect device perf at some particular events where frequency should be sustained for a little longer
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks, I'm using yours, it just says that using a higher min_sample_time number=worse battery life, then a higher go_hispeed_load number=better battery life
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
google source says

and yes using a higher value = worse battery life, but also a really low one = lag

The idea is to find the best of both worlds. i combine it with timer_rate so using 10000 timer rate will trigger a reevaluation in cpu load more frequently (so freq ramping up faster when load appears) and a low min sample time will make reevaluations to get freq down happen more frequent too in order to keep useless battery waste in control
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
[MENTION=5703916]Maxissc[/MENTION], big thanks for explaining that, what about the device's heat?

Can you please tell me what you think about this froTest cpu tweak if worth it? If this can improve something or only causes battery drain?
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
device's heat comes at the cost of "disabling" samsung proprietary frequency controller (the slippery). Kernel does throttle anyways but at higher temps. The only downside i found with this is when playing a game like pubg, you will have good performance until that heavy kernel throttling kicks in, and one big core gets disabled. And your perf will get severely reduced. But isn't worse than having the slippery throttling you making you play the whole time at 1.3 ghz. the performance drop is more noticeable, because you jump from having all cores at full speed to disabling one of our powerful cores. Also having the slippery disabled helps a lot with everyday tasks where freqs would be capped at 1.9/1.7/1.4 ghz you will still have full 2.1ghz available at a slight temp increase.

One smart move would be to have some tasker profiles in order to make throttling more progressive (like building our own slippery)

About the for cpu tweak i can only recommend you to test it and compare your battery usage and app opening response with stock V7 Cpu Solution. But i'm pretty sure reaction time can't be more shortened that what is in v7. For battery, V7 still has some room for optimizing it

The only way i think app opening and those things may be more similar to stock (or even better) would be to search what priority does the system assign to user processes, and set the sched_upmigrate_min_nice to one next value from there and sched_spill_nr_run to a high value (like 25). so basically all processes with less priority than a user app wont ever get moved to big cluster. then set sched_upmigrate and sched_downmigrate to low values (like 50/40) so user and higher priority tasks will only run at big cluster whereas low priority ones will only run at little cores.

This is just a supposition and testing is required, i don't know how phone will react to this (higher or lower temps/battery consumption/performance)

here is a test file with above method. what you should do is paste it at sud and all that... and be aware of this:

if you see apps opening is noticeable slower, open file and change sched_upmigrate_min_nice to +1 value of what is in there (now its 0, you will change it to 1 and so on), if that apps opening slowiness doesn't happen, lower it by -1 (change 0 to -1) and so on until it happens.

Doing this requires a reboot after changing the value.

I can't do that because right now im unrooted, and studying for an exam so i need my phone working and have no time for testing
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] slimcyril:
I read somewhere on xda, the below property causes instabilities on newer android

dalvik.vm.checkjni=false
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Thanks for all your detailed explanation, I'll do what you said then feedback later, good luck for your exam, for me we're just at the beginning of the univ-year so, I'm pretty free for doing a lot of tests, that's the countries differences
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Well i've been using my device with that line (rooted and unrooted) and had no problems. If you find the page on xda i would like to read that :). Anyways, we can delete it if you like. I don't want to compromise stability more than eng kernel does by any %

If you like you can search for some lines about what they do and if it's still useful to have them, it would make the busting job easier :highfive:

Also basically all gpu lines can be deleted without searching anything, as having rendering solution makes gpu the only rendering option
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
For the apps opening i think the problem is in the apps themselves because I noticed after applying your latest zzforTest tweak that the results are almost similar to stock, and the stock one is not as fast as others similar devices in same softwares specs and there's a delay even that a 1GB ram device with a lowfat processor is faster than an unrooted Galaxy S7 edge just at apps opening (after doing a speed test) and even with an increased performance CPU tweak the results are disappointing, but after taking some dumped Galaxy Note9 apps and also from the Galaxy S9 supported Android Pie beta built apps, I noticed that the apps opened without that habitual delay, I mean faster than the stock S7 edge apps, finally, I don't really know if the problem is in there but there're very noticeable differences especially after replacing the stock apps with the Android Pie ones (Weather, Gallery, Messages), for the others I replaced them with the Note9's ones
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
would you mind sharing those app posts links? btw have you done any progress with sched_upmigrate_min_nice values?
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] TheDevelopper:
Yes, I've done with it and here's the best that i could set for best app opening after trying almost everything:

echo 2 > /proc/sys/kernel/sched_window_stats_policy

echo 45 > /proc/sys/kernel/sched_downmigrate

echo 65 > /proc/sys/kernel/sched_upmigrate

echo 3 > /proc/sys/kernel/sched_spill_nr_run

echo 100 > /proc/sys/kernel/sched_spill_load

echo 5 > /proc/sys/kernel/sched_upmigrate_min_nice

echo 950000 > /proc/sys/kernel/sched_rt_runtime_us

echo 1000000 > /proc/sys/kernel/sched_rt_period_us

echo 5 > /proc/sys/kernel/sched_ravg_hist_size

echo 5 > /proc/sys/kernel/sched_new_task_windows

echo 100 > /proc/sys/kernel/sched_init_task_load

echo 0 > /proc/sys/kernel/sched_restrict_cluster_spill

echo 33 > /proc/sys/kernel/sched_rr_timeslice_ms

echo 10 > /proc/sys/kernel/sched_small_wakee_task_load

echo 110 > /proc/sys/kernel/sched_wakeup_load_threshold

echo 25 > /proc/sys/kernel/sched_big_waker_task_load

echo 200000 > /proc/sys/kernel/sched_freq_dec_notify

echo 300000 > /proc/sys/kernel/sched_freq_inc_notify

echo 0 > /proc/sys/kernel/sched_boost

Here're the links for the apps:

Note9 ones (full /system/app, and /system/priv-app only):https://drive.google.com/file/d/18jfeNUJG4iXLlxrB_M7yb3epYgL5bxaL/view

S9 with Android Pie apps (Weather, Gallery, Messages):https://drive.google.com/drive/mobile/folders/1KgdnrPOQ73vBifGwx48MrdQWMNNKtiif?usp=drive_open
[Verizon Samsung Galaxy S7 Edge Themes, Apps, and M] Maxissc:
Well, those are not the values i told you to play with when testing my zz99CpuSolutiontest instead these are your own ones (the same ones from Here). Anyways i also did what i told you to do and i really feel the phone more smooth in general after modifying some values

I see you are going on with your own values (which i think is great), so i wont be bothering you with beta tests and all that stuff