yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 Android Development] llawen:
Not sure. I'm doing another test tomorrow. I'll post it tomorrow.
[T-Mobile LG V10 Android Development] RogerF81:
May I ask which changes exactly you made at VM parameters? I mean which values did you set? :)
[T-Mobile LG V10 Android Development] raging9:
I have Gummy Kernel and I've been using it. No issues..you should be good.
[T-Mobile LG V10 Android Development] warBeard_actual:
See picture
[T-Mobile LG V10 Android Development] :
Zram is really only needed for devices with 1gb - 2gb devices.
[T-Mobile LG V10 Android Development] RogerF81:
Thanks! :)
[T-Mobile LG V10 Android Development] Nandroid28:
Hi, i can not make changes to the gover?

Enviado de meu LG-H818 usando Tapatalk
[T-Mobile LG V10 Android Development] warBeard_actual:
​

I locked the permissions to be read only for the values changed under cpu0's interactive folder.

If you want to modify them, you'll have to navigate to the folder and change them back to a writable state.
[T-Mobile LG V10 Android Development] Techlyfe:
Hope i'm not stepping on any feet but here's a flashable zip i threw together that adds .bak to the init.lge.zramswap and original init.qcom.post_boot.sh and then copies the 04-18-2016 init.qcom.post_boot.sh to /system/etc and sets permissions.
[T-Mobile LG V10 Android Development] warBeard_actual:
Good stuff!

I'll toss this up in the OP as an option for those that have a custom recovery and/or don't feel comfortable using a terminal.
[T-Mobile LG V10 Android Development] demoncamber:
This is 100% awesome, thank you for doing this. Just did it to my h811.

lol @ the intro code

@warBeard_actual

I thought that it was optimal to disable swap to 1, and use zram instead of the other way around, from what I've read, swap uses internal sd, and zram uses much much faster dram. Is this wrong?

Usually I use that config, so curious as to why yours is the other way around. This was the guide I usually follow here http://www.imoseyon.com/2011/02/sysctl-and-minfree-tweaks-revisited.html and here http://www.imoseyon.com/2011/01/sysctl-tweaking-for-faster-longer.html which explains this.

also what is the recommended read-ahead values for g4/v10's?
[T-Mobile LG V10 Android Development] warBeard_actual:
The short answer is this... My opinion is that neither are beneficial. The reason being that this device shouldn't ever be strained for resources given its specifications.

Swap uses your SD card, yes. More specifically, your internal SD card for allocating pages of memory that would otherwise take up your RAM. So on so forth, they interact accordingly.

zRAM is compression of your physical RAM. Effectively, you are creating virtual RAM. And every time you need to access it, it is decompressed and used accordingly.

The trick with the zRAM is that the system tries to compress parts of the system RAM, which it deems are idle, not as needed, used, etc. But when you need to access them, again, they need to be decompressed ...

In both cases, I see this as a wasted CPU cycles. Writing, compressing, writing, compressing... If you are a task heavy user like myself, or even if you aren't, this wastes time and thread activity.

Your physical RAM will always be faster and more efficient than any virtually compressed RAM, and no SSD will ever be as fast or efficient as your physical RAM either. In fact, this could really just be a performance inhibitor for you.

You need to understand the purpose of swap and zRAM, its intended design, in order to fully understand why and when to implement it. It was not designed to be efficient, it is far from efficient, as it is slower - therefore It was not designed to be fast, it is not fast. It was not designed to be a power consumption friendly module on an operating systems, it is far from that, as adding more write and read operations to a slower disk takes time, costs CPU cycles, and therefore is not energy efficient.

It was designed to save space. That's it. You have low raw resources, let's make more at the cost of performance.... But you'll get more space.

Letting your system trim the fat without any other bs makes a lot more sense to me. You ever take a look at your RAM usage on this device? How often do you see the system starving? Never. Don't waste your time with zRAM and swap unless you have some special circumstance to justify its application. If you want more memory on this device, let's use the dRAM which we have plenty of... With all of that considered, I made adjustments.
[T-Mobile LG V10 Android Development] demoncamber:
Thanks for your insight :good:

If I wanted to make the screen wake up a bit more snappier from wake on double tap, what would I want to adjust?
[T-Mobile LG V10 Android Development] warBeard_actual:
There is a line in build.prop for this... Find it and adjust to 500 (rather than the default 1000)

persist.sensors.knock_delay=1000

Change that value to 500 and reboot
[T-Mobile LG V10 Android Development] demoncamber:
Kinda odd, but when I initially flash this and go into kernel tuner, the input boost value is disabled, but after a reboot and I go back, it's reporting the input boost at 384MHz. Is this normal?
[T-Mobile LG V10 Android Development] llawen:
Nice. I made this mod in j rummy build prop editor, it works. way faster. sometimes I felt as if it was so slow.

Thanks good mod.
[T-Mobile LG V10 Android Development] warBeard_actual:
Yes, I disabled it by default
[T-Mobile LG V10 Android Development] jaysonic88:
Using it on 6.0 (Marshmallow) without any seeming issue. I know at least some of it sticks as Rom Toolbox shows as "noop/interactive" as opposed to default "CFQ/Interactive". Would love to see the i/o and governor mods from Evil Yummy Gumdrops (specifically SIO and Intelliactive) ported over to Marshmallow.

Thank you [MENTION=7372544]warBeard_actual[/MENTION] for your time and effort on this. Fingers crossed that you work on a MM version. :D
[T-Mobile LG V10 Android Development] warBeard_actual:
There is a new version I'm testing right now for MM. Not many changes, but there were a few... Some things added by Qualcomm as well.
[T-Mobile LG V10 Android Development] windhoarse00:
Help! Getting stuck at the "cd /sfcard" command. It says no such file or directory.
[T-Mobile LG V10 Android Development] dementio:
"cd \sdcard"

Note the slash
[T-Mobile LG V10 Android Development] windhoarse00:
Thanks Will try. Will let you know if it works. Thanks for the quick response

---------- Post added at 05:29 AM ---------- Previous post was at 05:12 AM ----------

Nope didn't work! This is from the command line in post exactly. Anyone have any idea why & has anyone had success?
[T-Mobile LG V10 Android Development] 11868:
try this

cd /storage/emulated/0
[T-Mobile LG V10 Android Development] Amd4life:
Can't wait!!!! Awesome
[T-Mobile LG V10 Android Development] warBeard_actual:
Updated. Follow the same steps to replace it. In the meantime, I'll have a version of this up, tonight, that will have a huge impact on IO performance (disk reads and writes) and battery life - quite a bump in performance, and significantly improved battery life. Use it at your own risk, however, as there will be potential for instability if you are on a ROM that is unstable and reboots on you, or you have applications that force close, device reboots, etc.

Standby for that
[T-Mobile LG V10 Android Development] demoncamber:
We talking fsync disabled or is this just a generalized cautionary warning? Can't wait!
[T-Mobile LG V10 Android Development] warBeard_actual:
fsync will not disabled. ext4 journaling for /system /data and /cache will be, however.

It's just something to be aware of if you have to pull your battery or do a hard reset from the OS. Unstable systems should proceed with caution.

I'll post that one late tonight.
[T-Mobile LG V10 Android Development] ousoonerchase:
[delete]
[T-Mobile LG V10 Android Development] warBeard_actual:
Absolutely is... I'm lazy. Lol
[T-Mobile LG V10 Android Development] iamtheon:
Hey man when I flash it I get:

Could not find 'META-INF/com/google/android/update-binary' in the zip file.

Error installing zip file '/sdcard/Download/warBeard_Tweaks050916.zip'
[T-Mobile LG V10 Android Development] demoncamber:
I get a failed error code 7 when trying to flash this

---------- Post added at 12:34 AM ---------- Previous post was at 12:22 AM ----------

Hey guys, if we are simply updating to a newer version of the tweaks, would we only have to run these codes after downloading new file and placing on internal sd card root?

1. cd /sdcard

2. mv init.qcom.post_boot.sh /system/etc

3. chmod 0644 /system/etc/init.qcom.post_boot.sh
[T-Mobile LG V10 Android Development] warBeard_actual:
You have a twrp log for the error'd out flash?

Also, shoot the guy that uploaded it a PM.
[T-Mobile LG V10 Android Development] ousoonerchase:
Try to flash it with flash fire. I just redownloaded and flashed the file I uploaded and didn't get any errors. Sorry I can't be more help, I'm no developer.
[T-Mobile LG V10 Android Development] demoncamber:
lol @ autocorrect "flash fire" Flashify still came up though when I searched for it. I will try this next update and report back. I just did it the manual labor way :)
[T-Mobile LG V10 Android Development] warBeard_actual:
File updated. The "more aggressive" version will be posted right here, and linked in the OP. I'm getting that up right now as well... For those of you who are like myself and prefer to.... Live dangerously. See the change log in post #2

lawlz

Edit**** side bar convo while I'm here... To the guy posting the flashable zips. No more of those unless you test them first. If you are going to do that, and believe me I don't mind, you will at the very least test them to make sure they work.

Standby for the live dangerously version

lawlz x 2

Edit edit***** file is attached

What does this do? It improves performance and battery life SIGNIFICANTLY. It will be very noticeable if you use your device a lot, lots of apps, cached data... The effects are extreme.

The con's of this method of improving IO disk reads and writes is that there is potential for loss of data or, in other words, stability if you were to ever have a random reboot, had to yank your battery, etc. If you are using a ROM that suffers from frequent or infrequent system crashes, I wouldn't bring this file to the playground. You've been advised at this point. Users that are running stock or mostly stock have minimal risk. Properly shutting down your device while using this particular version is just as important. DO NOT hard reset the device from the OS.

Here it is, if you so desire.

LINK REMOVED - SEE CHANGELOG FOR FILE
[T-Mobile LG V10 Android Development] ousoonerchase:
Really sorry about the ****up. swear I tested first, and I did figure out what is wrong! My flashable zip only works from fresh install. It tries to rename the zswap and post-boot files to .bak, but if you have already done that as OP instructs, the zip will fail. I updated my post to reflect that. If you want to just update to the newest version, just swap out the old file for the new.

Thanks for the hard work, [MENTION=7372544]warBeard_actual[/MENTION], I'll leave the .zips to the experts from now on :angel:
[T-Mobile LG V10 Android Development] warBeard_actual:
Like I said its not a huge issue, just need to consider all angles, otherwise the thread gets cluttered with people asking questions that about things I didn't originally intend to deal with.
[T-Mobile LG V10 Android Development] gillim74:
I kniw this is the v10 section but i flashed it on my h811 had one data drop other then that no more yet and i can notice a incredible amount of difference
[T-Mobile LG V10 Android Development] demoncamber:
I took the plunge. So if we are just updating a newer version of the tweaks, could I just as well use a root explorer and copy the new "

init.qcom.post_boot.sh" to system/etc and then set permissions? No need for me to do the terminal right?
[T-Mobile LG V10 Android Development] warBeard_actual:
Correct, there is more than one way to get this installed.
[T-Mobile LG V10 Android Development] demoncamber:
CPU boost on cores 5 & 6? Interesting.
[T-Mobile LG V10 Android Development] warBeard_actual:
Why not, right? They get used. :cyclops:

Input boost and multi boost tuning is easy to accomplish. You can even make it core specific (not sure why you'd need to).

The function is found in /sys/module/cpu_boost/parameters/ and can be written as such:

0:600000 1:600000 2:600000 3:600000 ... etc etc...

Where the 0, 1, 2, 3, 4, 5 are the cores being called out. You can set the values to whatever you please, and they'll operate accordingly.
[T-Mobile LG V10 Android Development] gillim74:
The only thing ive noticed is it drops data at some point when the phone is asleep and doesnt connect on wake up unless airplane mode is toggled for me
[T-Mobile LG V10 Android Development] warBeard_actual:
That sounds like another issue apart from anything you installed here, to be honest. Are you using the dangerously version? Haha
[T-Mobile LG V10 Android Development] gillim74:
Of course lol.i guess it just had to settle in cause it only happened once now its connected when i wake it up
[T-Mobile LG V10 Android Development] bacu12:
Editing

Hello, I am interested in possibly playing with the file some. Any advice on editing it? Thanks Bacu12
[T-Mobile LG V10 Android Development] Techlyfe:
Sorry bout that, didn't notice all the updates. I'll rework the zip later to look for the .baks and if they exist then skip the renaming and just do the copy. I was just concerned about keeping the original files in tact just in case someone needed them ASAP. Just a note, never just update and flashable zip without knowing how it does what it does! Break it apart first.
[T-Mobile LG V10 Android Development] iamtheon:
What exactly should the permissions be for the file? Could you post a screenshot of the permissions in Root Explorer or something similar?
[T-Mobile LG V10 Android Development] Amd4life:
rw-r-r (0644)
[T-Mobile LG V10 Android Development] ratchetrizzo:
I tried this when it was first posted in March and battery life was impacted noticeably, how is the battery life now since all the taking has taken place?
[T-Mobile LG V10 Android Development] warBeard_actual:
Still noticeably better than the previous updates. I've got some other stuff in the works for the next week or two, a full ROM for 6.0.
[T-Mobile LG V10 Android Development] windhoarse00:
Ok will try. I think it will work. Saw others in previous post with same issue and worked for them . get back to you after I try. Thanks
[T-Mobile LG V10 Android Development] raging9:
I've been living dangerously all my life and now I can say the same about my phone...

...awesome update btw, the performance is definitely noticeable from the get. Been running since last night and so far loving it..keep up the GREAT WORK!
[T-Mobile LG V10 Android Development] warBeard_actual:
Quick update for everyone here, I made some more changes, switched the scheduler back to cfq, tuned it, did a few other things with the task scheduling... Here is a comparison with the last file (old vs new). I'll get this up tonight. The overall score difference was about 2500... much of that was IO and cpu. GPU took a hit because I was testing something that turned out to be detrimental in that area, I'll revert that change and that aspect will improve again... Looking at a solid 76k baseline with everything. 12,000 above stock. 80k is achievable with the ext4 journaling (disabled) version. For sure the last change for a while.

The next update will be included in the ROM.
[T-Mobile LG V10 Android Development] iamtheon:
Wait included in the rom? Which rom what rom haha
[T-Mobile LG V10 Android Development] Techlyfe:
OMG... haven't done any real scripting in a minute and even this little bit of code took me a minute to get right with no issues.... but here you guys go! Tested, tested some more and then tested to the point of a migraine... If there are any issues related to running these, please pm me and not post to forum, this isn't the place nor is it warBeard's problem.

warBeard_Tweaks.051016.RemZ:

Backs up Originals, if availabe, removes Zram, Applies tweak.

warBeard_Tweaks.051016.KeepZ

Back up Original post_boot if available, does nothing to zram, Applies tweak.

*If you previously deleted zramswap, this file will not replace it.

warBeard_Tweaks.OFF

deletes the .bak of post_boot or zramswap and restores the original files.

*Original files restored will be my backups of the original zramswap or post_boot located in the zip.
[T-Mobile LG V10 Android Development] warBeard_actual:
Haha, good stuff man. You made sure to grab the latest version right?
[T-Mobile LG V10 Android Development] Techlyfe:
Just downloaded the file and the hash matches the files within the zips so as of now they are up to date.
[T-Mobile LG V10 Android Development] iamtheon:
Ahh this is the ROM incoming.. Sorry for being stupid ha
[T-Mobile LG V10 Android Development] gillim74:
will you be releasing just a zip with the new updates as i cant run the rom due to im using the mod on a g4.if so when you release it can you let me know please
[T-Mobile LG V10 Android Development] crutchcorn:
Just curious. Are those battery stats with 2nd screen on or off?
[T-Mobile LG V10 Android Development] warBeard_actual:
​

Excellent question... And, no, I don't use the second screen at all.
[T-Mobile LG V10 Android Development] crutchcorn:
Gotcha. Thanks boss!
[T-Mobile LG V10 Android Development] Darky_Fans_2012:
Very crazy tweaks

Amazing:good::good::good::good:

thank you [MENTION=7372544]warBeard_actual[/MENTION]
[T-Mobile LG V10 Android Development] jaysonic88:
Excited for a new 6.0 ROM and your "secret sauce" to enhance performance. Still on track for this week? :D
[T-Mobile LG V10 Android Development] nghevathay:
Im newbie of LG V10

sorry if this is a silly question, but this one does not need root or unlockbootloader, and for version 5.1 or 6.0
[T-Mobile LG V10 Android Development] OriginalShinken1:
Not silly at all. You will need root being That system files are being edited.

Also, anyone correct me here, I'm in the understanding that this can be used on any device using this chipset.

-sent from this device using this app.
[T-Mobile LG V10 Android Development] warBeard_actual:
That is correct. Any 8992 device can use this modification.
[T-Mobile LG V10 Android Development] nhtu1997:
help me

how to fix this ???, thank
[T-Mobile LG V10 Android Development] alphahere:
You need to read the OP directions again or grab a zip to flash.
[T-Mobile LG V10 Android Development] warBeard_actual:
You are not executing the commands as an admin (super user)

type su then hit enter and follow the steps again.
[T-Mobile LG V10 Android Development] iamtheon:
Any updates we should know about on the rom and this? Just checking in.
[T-Mobile LG V10 Android Development] jaysonic88:
Yep would love an update--either the existing file or a ROM. .
[T-Mobile LG V10 Android Development] ratchetrizzo:
The latest update of this seems to be working great for me. I tried this when it first was released but stopped due to the battery drain issues. I'm glad I decided to give the latest version a go. Phone is definitely speedier/more responsive and battery life is just as good if not better than default settings (with the greenify/amplify/battery life thread stuff) I'm getting like 8+ hours of normal use and 72ish on standby. Very pleased
[T-Mobile LG V10 Android Development] kpierredev:
I keep getting a no such file or directory after typing "mv init.qcom.post_boot.sh /system/etc" can someone explain what I am doing wrong?
[T-Mobile LG V10 Android Development] warBeard_actual:
Haven't had much time for the ROM you guys, I seriously apologize for the slowness, work has been consuming most of my time recently - just shook out that way unexpectedly.

However, I do have an update ready for the file. Been messing around more with the virtual machine and kernel parameters in /sys/... I think I've got something worthy of releasing to you guys. Been tightly monitoring RAM cache usage and the duration that background processes are sitting in RAM, dirty pages, vfs files, things like that. I've also been fine tuning the touch input boost settings to be more in line with something appropriate to a daily usage.

Like I said, always looking to better optimize from a user experience perspective. I've also been toying with enabling laptop_mode, but haven't found a sweet spot with it yet.

Anyways, haven't forgotten about you guys, keep checking back her over the next few days.
[T-Mobile LG V10 Android Development] demoncamber:
If we wanted to easily update your zip for any newer file versions, how would one do so?
[T-Mobile LG V10 Android Development] Techlyfe:
The way they are now, you can just replace the new file into the zip, overwriting the old file, it's in the root of the zip.
[T-Mobile LG V10 Android Development] jaysonic88:
Looking forward to the update, thanks [MENTION=7372544]warBeard_actual[/MENTION]!
[T-Mobile LG V10 Android Development] raging9:
Thx..keep up the great work!!!
[T-Mobile LG V10 Android Development] raging9:
Love the dedication...keep up the GREAT WORK!!!
[T-Mobile LG V10 Android Development] warBeard_actual:
Didn't forget about you guys... file updated. Please read the changelog, as changes are very drastic. The dangerously version is also there in the changelog, with a reference link to post #109 so you know exactly what it is/does - if you choose to use that version, I strongly suggest you read post 109.

echo "shots" > /fired
[T-Mobile LG V10 Android Development] dimm0k:
I have yet to try your findings with this tweak, but I was wondering if my "issue" was what you experienced above... so my device will be fine for 2-3 days max before experiencing somewhat of a very small lag when opening up apps before experiencing several periods throughout the day of high I/O and abnormal spikes in CPU usage from a process called system_server that ranges from 30 seconds to maybe under 1.5 minutes. this is most apparent when I open up emails in GMail that contain links that I open up in Chrome, which in turn open up a 3rd party app. after repeating this dance with GMail, Chrome, and 3rd party app it will get to the point that GMail no longer stays open on the last message I had open and instead refreshes back to the main screen.
[T-Mobile LG V10 Android Development] Techlyfe:
Thanks again, and we appreciate the hard work!

Zips updated!
[T-Mobile LG V10 Android Development] warBeard_actual:
http://xdaforums.com/tmobile-lg-v10/general/linux-virtual-machine-explained-part-1-t3386956
[T-Mobile LG V10 Android Development] jaysonic88:
[/COLOR]

So after flashing a reinstall of Eliminaters ROM, Wifi calling popped back up with no issues. I removed the following part of the code on the latest tweak file :

# Tuning Transmission Control Protocols.

echo "cubic" > /proc/sys/net/ipv4/tcp_congestion_control

echo 1 > /proc/sys/net/ipv4/tcp_timestamps

echo 1 > /proc/sys/net/ipv4/tcp_sack

echo 1 > /proc/sys/net/ipv4/tcp_window_scaling

#

Saved, rebooted. No issues! Wi-fi calling back up and running. What doesn't make sense to me is why after editing out that section it doesn't restore wifi calling once it's broken. I tried clearing cache on both wifi.apk and wificalling.apk and then rebooting. Is there some other place the values are written?
[T-Mobile LG V10 Android Development] demoncamber:
Just flashed, wifi calling is working for me, I did a test call. I'm on stock rom but custom kernel
[T-Mobile LG V10 Android Development] dimm0k:
interesting... my Wi-Fi calling stopped working as well and while I was thinking it may have been Xposed, others have reported no issues with Xposed. I've been tweaking my device using the tweaks here and the section you cut out was also a section I had used! Were you also getting the REG99 error when you tried to enable Wi-Fi calling? do you also have Xposed? very odd a tunable like this would cause persistent issues after removing. I'm in the process of wipe dalvik/cache hoping this fixes things as I don't want to wipe my device and restore everything again!