yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2] DJLamontagneIII:
Current Build

r8 [2015/05/16]

md5: bb4398fa60bd89556abaf575b9f5d435

Update to Intelli-plug v5.4

workqueue updates

sched updates

See git for additional changes

Updated Intelli-plug tunables in post #3

Previous Builds/Changelog

r7 [2015/05/11]

md5: ad160415498fe576e24bae53d37cbe84

Sound driver updates

lz4 updates

ARM: dts: msm: i2c: change clock rate to 19.2 MHz

New hashtable implementation

KSM updates

drivers: usb: Use Android device as USB keyboard/mouse (See LINK)

lowmemorykiller updates

Tons of other kernel updates see git for details.

r6 [2015/05/10]

md5: 6573f10e83c7f171996b91caae556caf

Latest linaro 4.9.3 stable release

Added GPU Gov (conservative governor, simple_ondemand, Faux Simple GPU Algorithm)

dorimanx Backlight control v6

Updated scripts in post #3

r5 [2015/05/09]

md5: b1ef96ae764b5a385703e55b03393a03

Faux Intelliplug hotplug driver (mpdecision disabled by default)

Powersuspend driver

Bricked Thermal

Msm limiter driver

dorimanx logger driver

CPU OC: Add cpufreq levels up to 2.6Ghz

Add 389 GPU step

Overall stats updates

Add init.d support to ramdisk

r4 [2015/05/04]

md5: e2cb4a1a55d82002d5cd75620d2cf4f8

dorimanx fast charge v2.7

Lower minimum panel brightness

Latest Savoca KCAL control driver (Get the app Here)

Insecure boot.img

r3 [2015/05/03]

md5: c6087fe19f89b080ec95102e20254914

Update kernel to 3.4.107

Disable some debug

r2 [2015/05/01]

md5: da07acd959108f7b14c73b1916c8bcc9

Revert faux sound

Add franco's sound control implementation

r1 [2015/05/01]

md5: 0d6ad79accc4bd236869ae4499954f7a

Compiled with latest linaro 4.9 toolchain

Optimized build flags

fsync on/off support

mach: Add adb reboot recovery

Tune deadline, row, cfq, readahead, ondemand, and interactive.

Updated interactive gov

Add sio, fiops, and bfq sched

frandom

Optimized rwsem

Voltage Control

updated workqueue including power efficient patches

updated writeback

memcpy, memmove, copy_page optimization

faux sound support

Add more tcp congestion control algorithms

Use interruptible threads to reduce cpu load

Disable add_random

lowmemorykiller task adj rbtree optimization

ARM topology updates

slimbus: Optimized overclocking of master component

Optimized AES and SHA1 routines

Add NEON accelerated XOR implementation

Add support for kernel mode NEON

Add optimized SHA-256/224 routines

futex updates

sched updates

lib/memcopy: use glibc version

lib/string: use glibc version

lib/int_sqrt.c: optimize square root algorithm

Various other updates see git for details ;)
[T-Mobile LG G2] DJLamontagneIII:
Kernel scripts

https://github.com/DJLaMontagneIII/kernel-scripts
[T-Mobile LG G2] dbarmak:
Wow!! Seems nice. I will try once i upgrade to lollipop.

Thnks man!!!
[T-Mobile LG G2] DJLamontagneIII:
Pushed r2 its a small update. Mainly swaps sound control implementations as faux sound isn't working correctly with this new kernel drop.
[T-Mobile LG G2] digitalsmoke:
Delete.
[T-Mobile LG G2] asalvi0:
Kernel Logging

Hi, I just flashed and everything looks fine for now, I have one suggestion, I saw Dorimanx has a feature to disable kernel logging and all system logging like logcat, all different logs (radio, kernel, system, ...).

Could tat be possible to do it on this kernel to save extra battery?

Thanks for your dedication on this Lollipop version.
[T-Mobile LG G2] SystemErrorOne:
Sweet, gonna try and flash this thanks :good:
[T-Mobile LG G2] DJLamontagneIII:
Thanks for the suggestion i will cut out some of the useless debug
[T-Mobile LG G2] DJLamontagneIII:
Update is up
[T-Mobile LG G2] Messip3:
Sup bro, I really love how you have tweaked this LP kernel. Props to you. I had a shutdown when i tried to undervolt with -75 but then i reduced it to -50 and everything works...no lags at all..no bugs that i know of. Will flash your new update now.
[T-Mobile LG G2] asalvi0:
Yesterday flashed the r3 version, and I have noticed a battery consumption improvement, FastCharge feature would be really appreciated, this was not working since the original stock kernel.

Thank you!
[T-Mobile LG G2] asalvi0:
Flashed r4 yesterday, and today I noticed is consuming significantly more battery than r3.
[T-Mobile LG G2] mannequin:
wow thanks for this! hopefully it will solve LP nasty sound issues.

is there a flashable stock kernel backup somewhere just in case? edit: found it!
[T-Mobile LG G2] mannequin:
unfortunately, the audio issue is still here :( not sure if it occurs less though, needs testing.

here's what i'm talking about (perhaps [MENTION=1249390]DJLamontagneIII[/MENTION] might know more):

no matter what the audio source is (playing mp3s or lossless, tons of EQ on or off, YouTube video, game, video, etc) there's a totally random, short sound corruption that sounds like garbled, sped up noise. it's impossible to trace any pattern when and why does it appear (it's rare but sometimes happens 2-3 times in a row with short intervals) and perhaps it's related to radio since it tends to appear more when the signal is switching from Wi-Fi to cellular or cellular signal comes online, etc but not necessarily. i tried to look at the logs and don't see anything suspicious regarding sound there at all.

there's also a theory on other devices forums (yes, it's not solely LG's issue but rather LP's in general) that Qualcomm's mpdecision is the cause since it always leaves only one core for the sound online and on LP apparently you need more. that doesn't seem right, however, since it does happen when the phone is doing a lot too and not just with the screen is off.
[T-Mobile LG G2] mannequin:
[MENTION=1249390]DJLamontagneIII[/MENTION]

please check the logs regarding the issue above, i stopped recording each one right after the sound glitch occurs:

https://drive.google.com/folder/d/0B61ePioapOf8R2xTcFdEeFFzQ1U/edit

i'm pretty sure it's radio related somehow but don't have knowledge to attribute it to a particular activity.

for some weird reason, the glitches do seem to appear less with more aggressive governor/kernel settings.
[T-Mobile LG G2] mannequin:
also, noticed that the multicore power saving option is missing (unless it was done for a reason).
[T-Mobile LG G2] DJLamontagneIII:
Thanks i will check it out. Il have an update tonight that ive been testing that switches to intelliplug so if its a hotplug issue hopfully that will fix it
[T-Mobile LG G2] mannequin:
a custom hotplug would rock (and hopefully it will help with the sound too)!

LP version of mpdecision is just not good (not sure how to describe it better) with really inconsistent and aggressive behavior. more so, i don't think it's possible to have a stable and good performing system using anything bust stock governor (ondemand) and settings since mpdecision shipped with LG's LP throws a huge wrench in anything custom (in my experience).
[T-Mobile LG G2] DJLamontagneIII:
Updates up.. To each is own how they control there parameters i like to use scripts personally and figured id upload the ones ive been using with this release. 69DJL is a "balanced" init.d script to set at boot and the others are profiles to use when i need a little extra juice or performance. https://github.com/DJLaMontagneIII/kernel-scripts
[T-Mobile LG G2] mannequin:
Thanks!

Do you recommend Trickster for general kernel control?

found a small issue:

# Set TCP Congestion

#

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

no such file and in kerner tweaking apps it shows as "Stock" and can't be changed.
[T-Mobile LG G2] DJLamontagneIII:
Thanks for the find, also noticed the host is changing the fsync control parameter to random characters so ive uploaded them to github instead and updated the link.

Generally i would use trickstermod, kernel adiutor, franco updater or faux sound depending what i have in the kernel. I just switched to the scripts so i could tune inteliplug and msm_limiter parameters that trickstermod doesn't allow you to do.

EDIT: updates up
[T-Mobile LG G2] mannequin:
after tuning the scripts to my liking, can't be more happy with overall system performance. so very good and pretty much eliminated all the inconsistencies of the stock (btw, had to bring the max frequency back to stock one with msm limiter for better performance in the long run, at least on my device).

will test the sound issues tomorrow.
[T-Mobile LG G2] mannequin:
sound tests show no improvement :( there's also a slight skip now together with the previously mentioned sound glitch, both are totally random. at least now we know it's not hotplug related (probably).

i'm giving it full power house mode too:

# Intelli_Plug

echo "1728000" > /sys/module/intelli_plug/parameters/screen_off_max

echo "1" > /sys/module/intelli_plug/parameters/touch_boost_active

echo "1" > /sys/module/intelli_plug/parameters/nr_run_profile_sel

# MSM Limiter

echo "0" > /sys/kernel/msm_limiter/limiter_enabled

slightly boosted ondemand:

echo "15" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential

echo "85" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo "75" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load

echo "65" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core

# Power Suspend

echo "0" > /sys/kernel/power_suspend/power_suspend_mode

echo "0" > /sys/kernel/power_suspend/power_suspend_state

# Logger Mode

echo "2" > /sys/module/logger/parameters/log_mode

is there anything else i can try?
[T-Mobile LG G2] DJLamontagneIII:
Try the latest update i added ton of sound driver updates from CAF and dorimanx.
[T-Mobile LG G2] mannequin:
fantastic, on it!
[T-Mobile LG G2] asalvi0:
Works great, this time I just restored build.prop with stock one and battery life is good now.

Sound is fine for me.

DO YOU THINK IS POSSIBLE TO COMPLETELY DISABLE LOGCAT AS IN DORIMANX KERNEL?
[T-Mobile LG G2] mannequin:
see here:

https://github.com/DJLaMontagneIII/kernel-scripts/blob/LG30b/69DJL

############################

# Logger Mode

# "0" Enabled, "1" Auto suspend, "2" Disabled

echo "1" > /sys/module/logger/parameters/log_mode
[T-Mobile LG G2] asalvi0:
Right!, thanks
[T-Mobile LG G2] mannequin:
and the issue remains.

i should probably try to describe it a little more. i think it's not a sound issue per se (the sound is excellent overall and with the latest version there are no skips of any kind in any situation). when it occurs, the "sound glitch" seems to replace the mediaplayer activity and then release it back on, so it's not the mediaplayer event that's being distorted but something else produces the glitch and then returns the system to whatever was playing. it sounds like a signal interference of sorts, sped up garbled electronic noise, sometimes very short but other times it can be louder and longer and completely random. looking at the logs i can only see various netd, libc-netbsd, ConnectivityService, NetworkManagementService activities around the times it happens and there's always BandwidthController [LG DATA] No such appUid: 10209 error present around but it occurs like every 15 seconds if you look at the whole log.

also, those glitches are extremely rare when you're listening to something while on wi-fi (perhaps only when the radio wakes up for whatever reason?). all of the above are just my observations and speculations about this annoying issue.
[T-Mobile LG G2] jamesd1085:
Cpu min and max values change at random...tried many apps and settings wouldn't stick...tried previous version and issue persists...
[T-Mobile LG G2] mannequin:
i believe this is by design. kernel has it's own hotplugging system that controls the frequencies at all times. if you want to influence it you have to use msm limiter through a script file.
[T-Mobile LG G2] jamesd1085:
I hope its an error...it goes back to 300-2265 from my settings of 422-2572 after screen off the ability to overclock is pointless if it won stick...i am glad dev brought us this kernel though its far better than stock...
[T-Mobile LG G2] veshwar:
battery drains with r7

Battery has been draining since r7 update. Will try goi Ng back to r6.
[T-Mobile LG G2] mannequin:
my battery is a flat line on r6 and r7 when screen is off. however, i noticed that r7 started to delay the messages (hangouts is the most obvious one) or you don't see any notification for them at all until you turn the screen on. i always had this issue on Dori's kernels and could never use them became everything was delayed/missed all the time (of course he always denies it) ha.

also, i think memory management got little worse too with the default settings (i don't use custom less aggressive values since they impact the performance quite often).
[T-Mobile LG G2] mannequin:
what do you use to overclock it? like i said, a conventional kernel tuning app won't make them stick since it obeys kernel's hotplugging system. what you need is a script with MSM Limiter control that DJLaMontagneIII provides in post 3:

https://github.com/DJLaMontagneIII/kernel-scripts

an example for OC:

############################

# MSM Limiter

#

echo "422400" > /sys/kernel/msm_limiter/suspend_min_freq_0

echo "422400" > /sys/kernel/msm_limiter/suspend_min_freq_1

echo "422400" > /sys/kernel/msm_limiter/suspend_min_freq_2

echo "422400" > /sys/kernel/msm_limiter/suspend_min_freq_3

echo "2572800" > /sys/kernel/msm_limiter/resume_max_freq_0

echo "2572800" > /sys/kernel/msm_limiter/resume_max_freq_1

echo "2572800" > /sys/kernel/msm_limiter/resume_max_freq_2

echo "2572800" > /sys/kernel/msm_limiter/resume_max_freq_3

echo "2572800" > /sys/kernel/msm_limiter/live_max_freq_0

echo "2572800" > /sys/kernel/msm_limiter/live_max_freq_1

echo "2572800" > /sys/kernel/msm_limiter/live_max_freq_2

echo "2572800" > /sys/kernel/msm_limiter/live_max_freq_3

echo "1728000" > /sys/kernel/msm_limiter/suspend_max_freq
[T-Mobile LG G2] DJLamontagneIII:
https://github.com/DJLaMontagneIII/android_kernel_lge_msm8974/commit/ef1271a39ca6b74d1464624400ac5db6928194ff.... Not many apps support it tho unfortunately. you can set a init.d script at boot, run a script after boot with an app like script manager or use UKM.
[T-Mobile LG G2] jamesd1085:
Just left stock freq...i tend to stick. with kernel audiutor unless on dorimanx kernel...i prefer to

Minimize the amount of apps that have control of my kernel to reduce chance of causing bugs...stock freq works fine for now with tweaked on-demand settings...thanks for the reply and the explanation
[T-Mobile LG G2] asalvi0:
faux kernel mnager app works fine for me on managing the cpu freqs. Only thing with r8 version is that intelliplug cannot be configured but previous releases it was.
[T-Mobile LG G2] DJLamontagneIII:
Yea fauxs implementation stopped at v4.0, kernel adiutor works well for the updated version https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[T-Mobile LG G2] mannequin:
[MENTION=1249390]DJLamontagneIII[/MENTION]

like i mentioned before, once the phone is deep sleeping for awhile it stops waking up to any new incoming messages, etc.

i'm assuming Power Suspend is responsible for that (that runs in "0" kernel mode by default). is there a way to make it less aggressive and what does the user mode do?

and with the latest update, putting 2 cores always online totally eliminates the sound issue!
[T-Mobile LG G2] joshualuna:
?

How do I know if I have 30B bootloader installd or whr do I get it. Im on Lollipop 5.0.2 30B rite now. THNX (rooted and TWRP 2.8.6.1 bumpd)
[T-Mobile LG G2] jamesd1085:
You wouldn't have custom recovery if you had 30b bootloader...you probably have 20g bootloader
[T-Mobile LG G2] asalvi0:
could you share the toolchain you are using to build this kernel? is optimized for A15 cpu?
[T-Mobile LG G2] mannequin:
any solution for phone not waking up for push messages? like mentioned before, in order to see the new hangouts, etc push messages i have to turn the screen on or there's a pretty long delay.
[T-Mobile LG G2] hp420:
The host site won't load :( DNS error.
[T-Mobile LG G2] voxluna:
The download link is bad. In fact, the entire domain is unreachable for me. :(
[Xperia Tablet Z Q&A, Help & Troubleshooting] antton93:
Hello i live in finland and was looking at tablets, the tablet z.

the model with 4g is SGP321 in nordic and then i was looking at german resellers and they all use SGP321DE as the model number?

Also found some with SGPT321 model number, what would the T be?

For example this ebay item

http://www.ebay.de/itm/Sony-Xperia-...b&pid=100005&rk=3&rkt=6&sd=390977750379&rt=nc

is this still the same device ans can i get finnish or swedish as the language in android?
[Xperia Tablet Z Q&A, Help & Troubleshooting] Rootk1t:
i think it is the same device. Android is multilingual, so you will have many languages. I'm sure Nordic firmwares have all languages needed for you.
[Xperia Tablet Z Q&A, Help & Troubleshooting] galaxyII:
Although this true, when I first purchased my Motorola Xoom in Germany it had no options to change language.

I had to download an app to enable the language switch. Weird but true :)
[Galaxy Note 4 Q&A, Help & Troubleshooting] Abdl:
Hello guys,

I happen to update my device to lollipop today and unfortunately whenever i take out the S pen out and select Action memo nothing happens,it wont open,but the image clip and other options are working,any ideas?
[Galaxy Note 4 Q&A, Help & Troubleshooting] yoniinfante:
did you check under Settings/S pen/ Pen detachment ?? if not then try enabling it there, cheers:fingers-crossed:
[Galaxy Note 4 Q&A, Help & Troubleshooting] Abdl:
Its enabled. Action doesnt just seem to work with lollipop on my build(SM-N910H)...downgraded to kitkat.happy now:)
[Galaxy Note 4 Q&A, Help & Troubleshooting] God'sEYE:
Help downgrade

Hi Abdl, im having the same thing with my note 4. Can you please send me the link for the 4.4.4 downgrade?
[Galaxy Note 4 Q&A, Help & Troubleshooting] Abdl:
I flashed a stock custom rom via recovery,as i couldnt get the sammobile file. Anyways its here http://xdaforums.com/note-4/development/n910hxxu1anl1-stock-firmware-rooted-t3020790 but be sure it correspond to your variant. Goodluck
[G2 Q&A, Help & Troubleshooting] Boopie11:
Hi, yesterday I was using Wakelock Detector and I found out this:

Today I flashed a new Rom and all I did was configuration stuff and install some basic apps such as facebook, twitter etc. and greenify (not xposed module) greenifying NOT system apps

After 3h it caused screen wakelock during 7 minutes :confused:

BTW I amb on stock lollipop 30b

Is greenify incompatible? is supersu broken?
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Velocy:
Hi all !

I have my Xperia Z3 compact since 6 month, and i used it a lot in shower, i noticed recently that i had some condensation inside the camera, and that the humidity sensor located near the usb port flaps turned pink....

The problem is that i always took care of the flaps being closed, and i was always under the IP conditions ( no detergent, no high pressure,etc).

I checked the flaps, sealing seems completly untampered....

So, i want to send it back under warranty.. but i'm afraid it will come back with "you used it in wrong way, see, the sensor became pink...."

Any advice ?

Thanks

Elipsus
[Xperia Z3 Compact Q&A, Help & Troubleshooting] nzzane:
I had this problem, except I was only using in the rain, you can get the water out without sending it away (Using a hair dryer / airtight bag of rice) It seems like a lot of Xperia Z3C's are faulty in the "Water Proof flaps" part of the phone. If you send it away Son'y will do a pressure test to see whether it is their fault or yours, if you are certain that the flaps where entirely closed then give it a shot - it should be covered under warranty if you have it.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Velocy:
thanks for the reply man,

i have tried the pressure test (in hidden menu) , with flaps closed, when i squeeze the phone, the pressure rise, but go back to normal after a second, even if i keep squezzing it, does this mean the waterproofing is defective ?

Elipsus
[Xperia Z3 Compact Q&A, Help & Troubleshooting] nzzane:
According to some other threads the pressure should stay up when you press the screen in, meaning that the device is holding the pressure with no leaks, so most likely, yes it is defective. You can try send it in for warranty, as the pressure test that Sony does is basically the same but they use more advanced testing methods.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Velocy:
thanks for you advices , i will give a try to warranty :)
[Xperia Z3 Compact Q&A, Help & Troubleshooting] PuffDaddy_d:
I can't find any water sensors under my flaps on my us version. Where are you guys seeing yours?

Sent from my Xperia Z3 Compact
[Xperia Z3 Compact Q&A, Help & Troubleshooting] nzzane:
If you open up the sim card flap which is at the bottom flap (or the right flap if it is laying flat), there is a little square at the very right/bottom and it will either have a white square of paper or a pink/red square of paper inside that little square (the paper will be red / pink if it has been activated by water)
[Xperia Z3 Compact Q&A, Help & Troubleshooting] PuffDaddy_d:
Thank you so much - I always wondered what that white square was for. I mistook it for the reset button originally, but that one is yellow.
[Xperia Z Q&A, Help & Troubleshooting] War3st:
Hello.

I have a problem with my Sony Xperia Z. When I use it (browse internet or just stay in launcher) sometimes it randomly turn screen on and off. Happens also when screen is off and lockscreen is showing out of nowhere. I tried to disable power button and set volume up as my power button but even with using volume up it still happens. What can I do?
[Xperia Z Q&A, Help & Troubleshooting] Hnk1:
Seems like some app is running in the background and turning on and off your screen. There are two ways to go about it but I would like to know if you are rooted or not. because it would only work on rooted devices.

look for Greenify in Google Play and how to use it.

Secondly , check this app. it will tell you which app is waking it up.

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en_GB

I hope this is enough, however, if you need any further assistance, make sure you quote me for an answer.

Good Luck
[G2 Q&A, Help & Troubleshooting] rawiswar2001:
Today i downloaded AVG Antivirus on my LG G2 after scanning the device i got that notification from AVG "device is running in high privilege mode (i.e, it has been rooted).We recommend using only genuine firmware." Then i installed Root Checker it stated " You have no root access". Please tell me is my device rooted or un-rooted?
[G2 Q&A, Help & Troubleshooting] mwedo:
Download Titanium Backup and let it gain root access. If it fails you're definitely not rooted. I don't trust in Root Checker because it was saying way too often that my G2 is rooted while it wasn't and vice versa.
[G2 Q&A, Help & Troubleshooting] rawiswar2001:
My device is un-rooted. Thanks a lot.
[G2 Q&A, Help & Troubleshooting] siggey:
Chris DiBona, Open Source Programs Manager at Google, certainly thought so when he released an update tackling the topic on his*Google+ account*back in November, 2011. In it, he argued that:*“Yes, virus companies are playing on your fears to try to sell you bs protection software for Android, RIM and iOS. They are charlatans and scammers. IF you work for a company selling virus protection for Android, RIM or iOS, you should be ashamed of yourself.”

Google’s official position hasn’t changed much in the intervening years,*as reported by*The Sydney Morning Herald:

“I don’t think 99 per cent plus users even get a benefit from [anti-virus],” claimed Adrian Ludwig, lead engineer for Android security,*talking at Google I/O 2014, “There’s certainly no reason that they need to install something in addition to [the security we provide].”

“If I were to be in a line of work where I need that type of protection it would make sense for me to do that. [But] do I think the average user on Android needs to install [anti-virus]? Absolutely not.”

_____________________________________Read more write less and be smart