yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] remorema:
I dont have xposed right now but I think its called "fix lolipop memory leak"

here mate grab a beer ;)

like we say in portugal its not much but its given in good will.
[G2 Android Development] Norside:
At the left side where all the # are?
[G2 Android Development] 4r44444:
Sorry Dorimanx I did a wrong post, battery calibration works, the error appears when I press the Update Ad-Blocker button.
[G2 Android Development] Lycidias:
Yes, just add the 7 "#"'s and Set permissions With root browser

Spoiler content hidden.
[G2 Android Development] jakowskim:
Eh dont work on rom gpro2... ;/
[G2 Android Development] dorimanx:
yes all the deep_buffer function! from { to }

others leave them alone!

viper4android have it's own drivers, and that is braking them,,, or use stock, or use viper! your call.

dont ask if you dont trust me. i know what i post.
[G2 Android Development] dorimanx:
thanks for support :)

i have installed the module and all OK for now...
[G2 Android Development] dorimanx:
FIXED

https://github.com/dorimanx/DORIMAN...mmit/4c3aa21ed857d3d05fc8f1511af498db1fb6672d

thanks.
[G2 Android Development] zapppppp:
Ok, and again I with slow charge problem. I can be ur tester for this fastcharge hack. If u need logs i can post them. Thanks in advance
[G2 Android Development] Lycidias:
I Set selinux permissive in stweaks but after every reboot i need to change again to permissive With selinuxmodechanger app (app notification says that Kernel is enforcing)

Spoiler content hidden.
[G2 Android Development] 60nine:
btw just a side note
[MENTION=3605868]tonyp[/MENTION] (that xposed LP memory leak mod creator) and [MENTION=3783116]pengus77[/MENTION] did for LG Optimus 2X what you're doing for LG G2 here... great developers that LG should hire for life...

without those two - Optimus 2X wouldn't have anything more than Jellybean (thanks to tonyp for his roms it runs even CM11 now) and to pengus77 for his awesome kernel support (especially for cleaning LG's kernel mess)

sorry for this little OT - i just wanted to pay a tribute to those two...

i've already donated some beer money for your kitkat kernel development, and i'll surely be donating again for LP as soon as i switch to LP... :good:

keep up the good work
[G2 Android Development] dorimanx:
08-05-15

Kernel 1.2

*Fixed AD block download and set.

*Boosted performance to support LP heavy UI.

*Tuned Alucard CPU gov to deliver higher performance.

*Cleaned Zipalign and Camera reset. no longer supported.

*Few cleanups in boot scripts.

from reports so far, i made corrections, thanks for reports! :)

Go get the fixed build 1.2 :)

Profiles will be RESET!
[G2 Android Development] theinspector:
Do you ever sleep? Haha you do an insane ammount of work on this. You rock.
[G2 Android Development] dorimanx:
if in dorimanx app it's set Permissive, it's permissive, if dorimanx app even OPEN, then Selinux is permissive.

all the rest i dont care, it's wrong reading...

maybe you have something that set ENFORCE on boot, that i cant change.

from my ADB

root@g2:/ # getenforce

getenforce

Permissive

root@g2:/ #
[G2 Android Development] dorimanx:
LOL, i hear that a lot :) and it's bright day right now, in sunny Israel :)

I am going for a drive to other city.... try not to brake your phones people :)

no support for few hours :)

backup each other, you dont really need me :)
[G2 Android Development] reemar:
phone work faster when its cooler, but, in israel, we do miss the sun.. after weird long winter..

for me, i prefer a phone to be a bit weaker and i to be more stronger in summer, then opposite , in winter when its cold and phone run faster, but we humans run slower.....
[G2 Android Development] SimpleX91:
Yup, it doesn't. At least I read log via "adb logcat" without any problem with any option selected.

There's only these lines related to stweaks operations:

I/com.gokhanmoral.stweaks.app.MainActivity(16763): Changed control:Android Logcat Logger
I/com.gokhanmoral.stweaks.app.x(16763): [Running command:/res/uci.sh logger 2]
D/com.gokhanmoral.stweaks.app.x(16763): --> Line received: 2
==== something about battery ====
D/com.gokhanmoral.stweaks.app.x(16763): --> Line received: [%nexttweaks%]
I/com.gokhanmoral.stweaks.app.x(16763): [Finished command:/res/uci.sh logger 2]
I/NotificationService( 1011): enqueueToast pkg=com.gokhanmoral.stweaks.app callback=android.app.ITransientNotification$Stub$Proxy@2f02715b duration=1
D/NotificationService( 1011): Show pkg=com.gokhanmoral.stweaks.app callback=android.app.ITransientNotification$Stub$Proxy@2f02715b

Nothing else. And lots of other system stuff per second. :)
[G2 Android Development] jeyd02:
After w 2 days of use from 801. I haven't had any issues at all. Thanks dori
[G2 Android Development] Nussi29:
Gesendet von meinem LG-D802 mit Tapatalk

---------- Post added at 02:23 PM ---------- Previous post was at 02:23 PM ----------

Gesendet von meinem LG-D802 mit Tapatalk[/QUOTE]

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] mannequin:
just some observations:

Color Control app introduces quite a bit of screen flicker when used. it's hard to see in normal conditions but quite visible in some. better to use an init.d script if you're messing with screen settings.

manual msm-adreno extra controls for the gpu give overall touch experience a very "slimy" (for a lack of a better word) feeling, especially noticeable in apps with a lot of swiping involved. just never feels right with any settings (at least i couldn't find a good combo) so better set on Auto.
[G2 Android Development] Salvi1982:
Any possibility to extend this kernel on F320 devices (with LP)? I'm ready to test it! I need undervolt features to have some extra juice on my battery life!

Thx for your precious work!

;)
[G2 Android Development] sonic997:
when can this great kernel be supported on F320 ?

thank you very much!
[G2 Android Development] Diechel:
Maybe when you read the rules....

Don't ask for ETA!
[G2 Android Development] rebar71:
So glad to have this kernel back!! Thanks for your hard work, [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] gozzaa:
Hah, just got a softreboot after telling everyone that i dont have issues ;)

I also reduced screenoff max cpu from 1,9ghz to 1,5ghz but no idea of there is any connection.

The log just says rebooting, maybe you can get any information out of it
[G2 Android Development] taywin13:
me too, reboit with batery profile 1.9. default and perf oll is ok
[G2 Android Development] qweewq22:
I have 4x ondaemon. 1x1.7 3x1.5, screenoff 1.0. No problems
[G2 Android Development] mannequin:
i think many people don't realize that most of the changes in kernel settings require hard reboot.

if you constantly change things trying to test different combos in most of the cases in won't work right at all until you reboot causing all kinds of abnormal system behavior.
[G2 Android Development] siggey:
Second day on ls980, stock settings, no reboot or freeze.

_____________________________________Read more write less and be smart
[G2 Android Development] gozzaa:
Where did you get that Information?

I remember dorimanx saying that all settings are on the fly and that there are no reboots required to apply settings
[G2 Android Development] theefim:
If you have problems with slowcharging. Change your Usb cabel! I am using the one from my ps4 and now its charging superfast. According to charging current around 1800ma :) I hope I could help
[G2 Android Development] remorema:
Well guys it was good while it lasted. My G2 has now a craked screen and doesnt detect any touch :(

Maybe Ill return if I decide to fix it. Huge thanks [MENTION=2376110]dorimanx[/MENTION] for making d802 last this long.

Enviado do meu HIGHWAY SIGNS através de Tapatalk
[G2 Android Development] Sfuma:
Im the only one using stable kernel v 1.5? No reboot and good battery life
[G2 Android Development] dorimanx:
Probably. If you have no problems, you will not have it with 2.8

Sent from my LG-D802
[G2 Android Development] Nussi29:
Sometimes my phone is laggy with lp and you kernel. I have 4xalucard+hp. I think to go back to kk. My wife have also the G2 but with kk and dori kernel and sometimes i compare and i wonder that kk is better. Im confused...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Lizzacore:
I fixed the problem with the fast charge , toggle it to Manuel and may 1600 and everything is fine now, no reboots but with yankaktiv @ 1,9 GHz HP: msm and TP: 0,9 GHz the phone get a little bit leggy if I start whatsapp for example .. Should I toggle the TP or the max CPU speed ?

By the way : default profil

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] djtiesto22:
try before downgrade to kk stock kernel for lollipop now when i am back to stock some magic happened and now phone fly, dont know how it possible...No memory lag no problem whit battery [emoji57]
[G2 Android Development] Nussi29:
You mean i flash stock lp kernel and than flash back dori kernel?

Gesendet von meinem LG-D802 mit Tapatalk

---------- Post added at 09:45 PM ---------- Previous post was at 09:13 PM ----------

If i go to dori download link i reveived bad gateway...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] 5nickers:
Rebbot while using HO. Kernel version 2.8 Ondemand Gov and Intelli Hotplug. Hope the log helps

https://www.dropbox.com/s/srt3d9u39xy5r6w/dorimanx_debug.zip?dl=0
[G2 Android Development] djtiesto22:
no just flash stock kernel you can download on dori web it is for 30b but you can flash it on any firmware.. You can try nothing too lose [emoji57]
[G2 Android Development] TMG1961:
Using the kernel since it came out and now on 2.8

I havent had a single reboot, lag or anything else that isnt normal. Battery life is just out of this world, i charge my phone once every 4-5 days.

But i must say that i only use the phone for calls, text messages/whatsapp, agenda and taking photos and the occasional video

Thanks again dorimanx for creating this kernel and sharing it with us.
[G2 Android Development] oTeMpLo:
Kernels "prevents/kills" adaway webserver from running...
[G2 Android Development] Wimmme:
Wtf ? I just barely make it through the day...(7-2). I get 3,5 to 4h SOT.
[G2 Android Development] Abrilabr:
Check ur wakelocks, u may have something eating ur battery in background, i have atm 18hrs since last charge with 2hrs SOT and 75% left
[G2 Android Development] Rondador:
I get a reboot every time i use miracast for about 10 minutes. https://mega.nz/#!RxhCgYSK!7WdzhxAVJdCi8j_YnYWEkYXMcRsdVrF36uyruffd7Wk
[G2 Android Development] biggiesmalls657:
I can't wait till VS980 is supported for Verizon G2, but no hurry!
[G2 Android Development] rebar71:
So I've been using this now for most of the day. I have kicked it up to performance profile - defaults for now. Unfortunately, the performance has been less than stock. Basically experiencing lags when launching or switching between apps. Reminds me of when I first started using your KK kernel. You eventually got that sorted out and I expect you will on LP as well.
[G2 Android Development] siggey:
Maybe you can upload your LP boot.bin, it helps..

_____________________________________Read more write less and be smart
[G2 Android Development] biggiesmalls657:
Where do I find that?
[G2 Android Development] siggey:
In your original rom kdz/tot...or http://bfy.tw/GDO

_____________________________________Read more write less and be smart
[G2 Android Development] ddreamer:
Same happens on my wifes Phone. Dori. Kernel (all versions above 1.5) lags.

Flashed back stock Kernel 30b, now it flys

Her G2 is one of the first models

On my G2, same rom with dori Kernel runs perfect

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Nussi29:
After i flash the stock kernel i have fc setting and smart cover. I cant understand why. I have freeze the smart cover app. After flash back dori kernel than all ok. Any suggestions?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] TMG1961:
I dont use my phone to play games or browse the internet. Most of the time it is asleep
[G2 Android Development] djtiesto22:
I dont use smart cover app, try clear dalvik/cache.. Are you using xposed maybe ? You have some fix here: https://m.reddit.com/r/lgg2/comments/2vtw0u/unfortunately_lgsmartcover_has_stopped/
[G2 Android Development] AlexVipXDA:
[MENTION=2376110]dorimanx[/MENTION] Another reboot using whats app

Dori 2.8 + stock lp

https://www.dropbox.com/s/gdik38lai3tqnrf/dorimanx_debug.zip?dl=0

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] Abrilabr:
[MENTION=2376110]dorimanx[/MENTION] I think Darkness gov is bugged for d800. Tried it in 3 diferents cellphones and each one rebooted constantly after selecting it (different hps and profiles). Cant post logs atm

All of them with stock D80030f
[G2 Android Development] jst07:
Just wanted to chime in and let you know that I flashed 2.8 on my LS980 last night and haven't had any issues with it. I'm running TWRP 2.8.6.3, UltraPop 1.2 (ZVG based rom), and Xposed. I haven't messed with any settings yet, but I will start pushing it in the next day or so. If I come across any bugs I'll let you know. Thanks for developing this!
[G2 Android Development] Sfuma:
Man, sorry but you've predicted wrong:( I had one reboot today, when scrolling using xda app. With 2.8.

v1.5 was better?
[G2 Android Development] Closed Force:
I was using 2.8 default, and it was stable. Then I went to stweaks and made changes - freqs to 1.7,sample rate 10k, triple core boost, 2 cores min, gpu 200mhz min, laziness 4 steps, 2000 ramp.

Got reboot after 5 minutes, was not even using any app.

made log1

after 2 reboots, all changes were to default, so this time I changed only 4 things freqs to 1.7, sample rate 10k, laziness 4steps, 2000 rate. After 2 minutes reboot again

made log2
[G2 Android Development] empire10:
Random reboot on d801 using battery profile
[G2 Android Development] Kemby13:
Darkness is bugged even for the D802, at least for me it is... And that bug is present in almost all versions of the kernel.

When ever i select it the phone just reboots randomly. That's just too bad, because Darkness is IMHO the best

Cpu governor considering performance/battery life. I hope it will be fixed in the near future. Until than,

use Ondemand, it works withous any issues.
[G2 Android Development] jamesd1085:
Works fine for me as long as not used on cpu0...have cpu 0 ondemand and darkness on 1,2,3...
[G2 Android Development] dorimanx:
This make sense.

Cpu0 is the one what drive all and never unplugged.

Maybe it good solution, just lock cpu0 to ondemand, and allow others to be changed.

Sent from my LG-D802
[G2 Android Development] krija:
No problem here with 4x intellimm.
[G2 Android Development] jamesd1085:
It works perfectly for me...even with OC i get great battery life with this setup...maybe others should test to see if it helps them...if it does you may be on to something with limiting core 0 to ondemand...loving lp version...great work
[G2 Android Development] :
I wish I could reproduce these reboots on 2.8. There's definitely something funky with it. At least on this device. I only have v4a and a couple of xposed modules. Cool tool and g3 tweaksbox. Fine with 2.5 but no way with 2.8.
[G2 Android Development] Lycidias:
Dorimanx 2.8 With the "thank you Verizon V39A" Rom is a beast! The rom is so much more smooth than the 30X Roms.

Spoiler content hidden.
[G2 Android Development] Kemby13:
Great find! Thx :good:

Yeah, it makes sense. Will try it and report :good:
[G2 Android Development] Abrilabr:
Using Ondemand on cpu 0 and darkness on the rest, everything smooth and fine atm, no reboots
[G2 Android Development] Sfuma:
[MENTION=2376110]dorimanx[/MENTION], this is so strange for me: when my phone had rebooted my battery injured As if it had been fired from a gun:/
[G2 Android Development] dorimanx:
Normal, its will drop slower, its calibration.

Reboot cant reduce battery. Just wrong reading.

Sent from my LG-D802
[G2 Android Development] L0nelyE4rth:
Just charged to 100% and Reset Counter Battery again.

It'll be normal for me :)
[G2 Android Development] bbender716:
VS980 LP boot.img here [MENTION=2376110]dorimanx[/MENTION]

https://drive.google.com/file/d/0B93FbKqjt9I1d3VBSFhnQlI4R2s/view?usp=sharing
[G2 Android Development] gozzaa:
got a soft reboot again while using cam

i even got a "Kernel panic" in log so i hope its useful :)
[G2 Android Development] sonic997:
I am sorry for that.

But what is ETA?

I just want to have support for F320
[G2 Android Development] 60nine:
google doesn't help?

ETA = Estimated Time of Arrival or "the date something would be released"

play Dune2000 (build a starport, order some troops) and you'll know ;)
[G2 Android Development] Abrilabr:
LoL, what do u think he will find when searching ETA on google?
[G2 Android Development] 60nine:
try it yourself... simple "what is ETA" query gives you an explanation what ETA means... ;)
[G2 Android Development] blastagator:
Kernel Panic and System Reboot :(

Log attached :)
[G2 Android Development] hasanandnexus:
hey lycidias, I m flash and success steps "thank you Verizon rom". And flash dorimanx kernel boot after "com.android.phone" stopped.

sorry for my bad english.
[G2 Android Development] Lycidias:
Sorry, I have no idea why It's Not working. Just followed the Steps, let it Boot, flashed 30E Baseband and after that i flashed Dorimanx. I have a d802

Spoiler content hidden.
[G2 Android Development] blastagator:
[MENTION=2376110]dorimanx[/MENTION] - Which git repo is dorimanx stweaks apk built from? I think I have solved dorimanx.apk selinux problem, but I don't know which repo to do pull request. In MainActivity.java, kernel support check occurs prior to gaining root. By flipping this so root is gained first, support can be properly checked and app works. Tested by opening APK with permissive selinux, switched to enforcing without closing app. Was able to make changes to config and confirm they were made, while OS was in ENFORCE status.

Fix: --

edit: "private boolean isKernelSupportOk()" is also going to need to be modified. To be continued...

edit2: this should work - WIP [Working from newest tree now]

(Although to be frank I don't know if the == 0 should be == "0" since the command returns a String)

Also, to fix selinux on custom roms

su
mount -o remount,rw /system
restorecon -RF /system

If you have XPOSED, you also need to run the following or you will BOOTLOOP!!

chcon u:object_r:zygote_exec:s0 /system/bin/app_process32_xposed

(If you use my 4 commits, the base command will properly apply to xposed.)

I can't guarantee other users will be 100% working but the 4 commits should be applied and released in next kernel. Beware all! SELinux Context is a tricky thing if you mess it up!

Of course, best practice would be to do this immediately after installation of ROM, to prevent any sneakily named malware from acquiring permissions.:

If you have d800, flash my zip: Posted on my site, under ROM d800 Patch "LP ROM SELinux Context Fixer"

I know you have been hating selinux, but this should fix all of the woes & allow enforcing!!

Also, I fixed some of the contexts in your ramdisk, this should make the above steps even smoother:

https://github.com/blastagator/lp_ramdisk_dorimanx/commit/8a2cadc411e7c903e2f37b7edbe07d09b6485d8c

https://github.com/blastagator/lp_ramdisk_dorimanx/commit/70ba0afddefc15dfe6862cb3920ac460dda23408

https://github.com/blastagator/lp_ramdisk_dorimanx/commit/89009d8d80dbe1334fe4f4d67111fff5b4651724

edit: one more https://github.com/blastagator/lp_ramdisk_dorimanx/commit/3bba30a653e0d139a836430153bebffb3328ea88
[G2 Android Development] cacciucco:
Same issue here, but when I try to select a profile under P nothing happens, there is no restart. I also tried to apply Dori's fix but cannot find \data\dori folder.

C
[G2 Android Development] krija:
It's from alucard24's repo (now B--B's). I think you are first who changed something about the root part.
[G2 Android Development] drew150931:
[MENTION=2376110]dorimanx[/MENTION]. From my experience 2.8 is very smooth ui, fast and no lags using default settings. But the battery is a little bit fastest to drain. From moderate use i have only 2 to 3hrs of sot. In 2.7 it has lags and sometimes the apps and ui freeze and some random reboot. In 2.8 so far so good no random reboot and less lags. Thanks for your work..
[G2 Android Development] blastagator:
Thank you. I am fairly confident that change will fix the problem and make app work with ENFORCE.

Please delete quote, I am still editing post, don't want people getting confused!
[G2 Android Development] dorimanx:
I have disabled stupid selinux.

Its dead.

No problems any more.

Kernel and rom working perfect 2 days now.

Lots of free ram, and faster i/o performance.

And much less power drained.

Sent from my LG-D802
[G2 Android Development] samuele94:
But some apps that require selinux permissive will work ? I for example I have the play services android m (which I have made flashable) and viper, they require permissive (FC on enforce or various problems )
[G2 Android Development] Underworled:
Yes . U have to download an app to force selinux to permissive

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] samuele94:
No. I wondered if without selinux some app will work properly but I think it will work because I think it was just enforce to give problems.That's why I asked to dorimanx
[G2 Android Development] blastagator:
Thank you for adding the commits. If I fix Dorimanx app, I will send to you also. Do you plan on continuing to add selinux commits to kernel source? I might compile kernel for d800 w/ selinux support if I get app fixed.

Thanks for all your hard work!
[G2 Android Development] Peppe91:
First of all thank you! I've tried for the first time this kernel and... Wow!! I was sceptical but your work is superb! Everything seems to work great with a perfect battery drain for my daily usage.. You're doing what Tonyp and Pengus77 did for the mitical optimus 2x!

I've just one question, does Selinux have an important impact on ram, i/o schedule and battery drain? Or it's a light impact? Just for my personal know. Surely I'll donate! Excuse me if I haven't respect the thread but for me was important to praise your work!

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
thanks for kind words :)

Selinux is impacting performance and battery.

it's protecting files with permissions so apps cant touch other files without permission,

BUT! if you have ROOT and we all do... app that gain root access can do WHAT EVER it's want.

it's also need to have fixed code to work with selinux. it's just ask for system permission and get it as it's ROOTED apps.

so it's one big JUNK that we dont need,

BUT! i know there are many security freaks that will not use my kernel if i will disable selinux for good...

SO! i have added switch in Dorimanx app to Enable selinux on boot. then we can set Enforce or Permissive as before.

New kernel will come with Selinux OFF by default. adding performance battery save and lots of permission bugs fix!

as installing custome ROMS with my kernel and not loosing GSM connection!.

apps that depend on selinux will have to work without it or FC. i have 350 apps. i dont see any problem. all works.

Including viper4android and other control apps...

ROOT apps and normal apps. :)

Stay tuned.