yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Diechel:
You can use AutoTrim app

See my signature
[G2 Android Development] infected85:
If im not mistaken dori had autotrim finction but he removed it because the autotrim function needs to run with screen on. Thats why we now have app for that.
[G2 Android Development] Diechel:
True story
[G2 Android Development] dorimanx:
News Update!

Kernel 3.8

07/07/15

*Merged and synced kernel work queue and scheduling code with 3.10.y android kernel.

Many bugs fixed, now kernel will try to resolve stuck schedule and not to reboot.

major update! lots of code. see GIT

*Merged IDR code to support new kernel work queue also maxed to 3.10.y source code.

Also updated many kernel drivers to use new IDR code structure to speedup and secure from bugs.

*Merged fixes to KGSL (GPU) to prevent ram drain and bugs.

*Merged fix to Alucard Hotplug from DEV.

*Merged fix NET code.

*Merged fixes to USB driver.

Have fun. this build is must have, so far works great for me.

Already seen it delay schedule and process after delay and not order BUG and reboot.

<4>[sched_delayed] try_to_wake_up_local: Failed to wakeup task 21525 (kworker/2:3H), rq = c3498d00, this_rq = c3486d00, p = d7597000, current = dcc94900

D805 build not used for now. not solved modem bugs. so if you wish use D802.
[G2 Android Development] Lizzacore:
Reboot on 4x Darkness , HP: msm.

Sorry no log , I was typing something in what's app.

Kernel : 3.8
[G2 Android Development] boyheadkick:
i flashed v3.7 just 5 hours ago, and now v3.8 is up...haha..oh well, keep on flashing!
[G2 Android Development] d_Schizzo:
Bro, you have reboots on every kernel-version. Please give up and use stock. Nobody can help you. Last option for you seems to get an replacement by your carrier.

Regards,

Schizzo
[G2 Android Development] Lizzacore:
Sorry for that but I don't be you "bro" and I don't have a reboot on each version , everybody with darkness have a reboot , go ahead and ask. With Alucard and Intelligent HP everything is fine up to now from Kernel version 3.3 .

Only darkness is tricky at all.

I only test the GOV darkness on my Device ;)

Device : LG-G2 D802

Rom : Stock 30b 16 GB

Kernel : DorimanX 3.8

Hardware-Rev : 1.0
[G2 Android Development] jamesd1085:
Lol...the 4x darkness also seems like a good idea seeing as the last 30 pages are littered with reports of major complications using darkness especially on core 0...smh
[G2 Android Development] jmileti:
Or just use different settings. Gotta use what works best for your phone. Unfortunately there are so many g2 variants it just seems there are too many variables. By far best kernel for g2. Trust me. All devs are great but [MENTION=2376110]dorimanx[/MENTION] is above and beyond on his support and being approachable. Keywords here are LOGS LOGS LOGS.

Happy flashing. No I'll intent meant. Sad I have to disclaimer my post.
[G2 Android Development] iko11:
Learn some coding and fix the Darkness Governor, you can save yourself and us from this miserable situation, that would be good contrubution except(!) keep posting reboot reports !
[G2 Android Development] d_Schizzo:
I dont want to argue with you. If everbody has a reboot with gov xy, there is no need to post it. Especially not without a log in a dev thread.

Oh, and sorry for saying "bro" to you..... Good night, Dude...
[G2 Android Development] Lizzacore:
The problem is , I can coding I coding the German language ABAP and java. Maybe I will if I understand how to setup and edit some :(

Cheers
[G2 Android Development] dannycellestio:
he's right, I think you've come up with reboot reports for every version since around 2.0 or even earlier. my advice is: stock kernel or clean flash. or even KDZ to stock kk, root, TWRP, then somboons' 30b. wiping internal storage and formating data. practically killing your phone and resurrect it.

this method solves many more problems than directly flashing stock LP.

try it, clean everything, KDZ it, root it, twrp it, flash 30b from somboons and then Dori's kernel. if you still have problems afterwards, I'm sorry, your phone is truly f!#@#ed.
[G2 Android Development] Lizzacore:
No you miss understand , I only have reboots all the time with darkness , I know this.

But now with this settings since 3.0 or 3.3 everything is stable ,smooth and perfect at all.

I only want to test darkness GOV on my Device.

Cheers,

Device : LG-G2 D802

Rom : Stock 30b 16 GB

Kernel : DorimanX 3.8

Hardware-Rev : 1.0
[G2 Android Development] suhiiii:
Well I said a long time ago,we dont need 10 governors, only more problems. One for performance,one for battery ,and something between would be enough,and easy to tune.
[G2 Android Development] infected85:
You could at least wait for a version where dori fixes or updates darkness governor and then report reboots.
[G2 Android Development] n@vier:
Flashed v3.8 on CloudyG2 3.3 (D802) no lost IMEI or GSM (flashed without wipe dalvik and cache). In next days I'll report my experience as always btw also v.3.6.1 works great as I said. [MENTION=2376110]dorimanx[/MENTION] as always thanks for your masterpiece ;)
[G2 Android Development] lynxrz:
First look it is stable

Tested a couple of governors and it was really good

No crash no reboot

I will test it deeply in next days

Thanks [MENTION=2376110]dorimanx[/MENTION]

for your support an all your effort...
[G2 Android Development] 60nine:
freeze and reboot while reading on facebook...

kernel 3.8

https://www.dropbox.com/s/256m15vnb6jdund/dorimanx_debug.zip?dl=0
[G2 Android Development] jamesd1085:
I'm guessing from the chargerlogo error spam that you are using cloudy
[G2 Android Development] Eminemiero:
the phone was charging?

I cant understand this line:

Shouldnt be =1?

Im so tired of exams that i may be delirating :D
[G2 Android Development] 60nine:
not cloudy rom

somboons srk2-00 30b (d802)

not charging

i was using 3.6.1 for several days - no problems, no reboots whatsoever -

skipped 3.7 and flashed 3.8 today - voila, reboot
[G2 Android Development] jamesd1085:
Really strange...as far as i knew the chargerlogo bug was only issue with cloudy and that dori and cloudy had been trying to squash it collaboratively...hopefully your log will contain new info
[G2 Android Development] 60nine:
afaik, chargerlogo exists in somboons rom as well... as i remember, it was noticed some weeks ago when few of us had some reboots with an older kernel version...

i really don't know what could trigger this... and i'm using basically the same settings with every kernel version

as i've already said - no problem whatsoever with the 3.6.1 since it came out
[G2 Android Development] jamesd1085:
I've had no issues for last 4 versions...but I'm on 100% stock rom...not touched by any dev...must be something with the mods added by devs
[G2 Android Development] 60nine:
i think somboons pad-thai srk2-00 rom is pure stock 30b lollipop - only debloated more and with great customized aroma installer...

please [MENTION=4008653]somboons[/MENTION] correct me if i'm wrong

---------- Post added at 01:21 AM ---------- Previous post was at 01:10 AM ----------

another reboot, this time using snapseed...

https://www.dropbox.com/s/k2w4hvjllk44q6e/dorimanx_debug2.zip?dl=0

i think i'll go back to 3.6.1 for now...
[G2 Android Development] jeyd02:
Flashed 3.8 very smooth. However after my phone was locked and asleep for a while I couldn't wake it up and had to hard reboot
[G2 Android Development] mannequin:
3.8 - masterpiece (on my phone at least). nothing else to add.
[G2 Android Development] dannycellestio:
darkness you said ? do you have a D802 ?

surprisingly, so do I. and I use darkness as my daily governor when I don't stay at home and do battery tests. and it's stable, smooth and battery friendly, even at 1.497 ghz and 80mV UV.

but, just how Dori said, phones could be slightly different, desite being the same variant.
[G2 Android Development] dannycellestio:
and speaking about battery life.

3.8 was not such a bad try for today's battery test, after all. :D

almost continous usage. data always on, location also. such a good performer.
[G2 Android Development] renzo090513:
Really ? Did you use your phone for 6:30 of 7:30? .

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] blastagator:
You are wrong, which is why I stopped using somboon's. There are init.d scripts and unknown what else. Even after I removed the scripts manually, dori kernel didnt't seem to play nice with it.
[G2 Android Development] 60nine:
i removed init.d scripts as well, some weeks ago... but didn't have much problems with the rom...

i switched to 3.6.1 after those recent reboots, and since then - everything running well...

can you explain the "unknown what else" part regarding somboons rom? (you can send me a pm so we don't spam this thread)
[G2 Android Development] dosek15:
I flash version 3.7 and 3.8 on my ls980 and i have bootloop agaim on lg logo
[G2 Android Development] eak1080:
Flashed 3.8 on d800. Coming from 3.6.1 on cloudy 3.3. Lost imei and signal. What logs can I provide?. I flashed rom again and then without rebooting flashed 3.8 again from recovery. All is OK now.

I'm just curious why I have to reflash the rom before flashing the updated kernel for signal/imei to work.
[G2 Android Development] biggiesmalls657:
Going from 3.6.1 kernel to 3.8 might have corrupted but reflashing rom then flashing kernel probably helped with its stock before flashing dormianx.
[G2 Android Development] dorimanx:
I dont know, never lost my imei.

And 3.8 is very stable for me, so far.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Use stock

Sent from my LG-D802
[G2 Android Development] renzo090513:
Reboot when screen off.

https://mega.nz/#!T18wkCbD!-T5j1N_8xafDafpyd2Itn921vh1AH_rCBxhki7V10Jk

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

Just an idea for the OTA app, was thinking about it yesterday. Should I build in a battery level check before flashing? If yes what should be the minimal percentage to allow flashing from app?

Will D805/6 be splitted in separate models? Now they are rewritten to D802 in app
[G2 Android Development] huseinn:
15 % maybe, cause i think somebody (like me) want to flash kernel at the critical battery point, so the new flashed kernel got calibrated while charging :) no need to wait for new cycle . Flashing is very fast, without cache and dalvik cleaning of course :)

EDIT : the battery stats i mean
[G2 Android Development] TMG1961:
All working great here. romboons 30b and 3.8 kernel. No reboots and still having an out of this world battery life :)
[G2 Android Development] christiano88:
Happened to me too. Missed my alarm for work, good thing I don't have a fixed schedule. Going back to 3.7.
[G2 Android Development] dorimanx:
if i ever fix d805/6 for hacker modem, then we can add one more branch.

till then no need.

about battery... 5% is more than needed.
[G2 Android Development] dorimanx:
send logs or go back to stock, will be best.
[G2 Android Development] dorimanx:
again useless log. it's from POWER CHARGE ONLY boot.

as if you see the BIG BATTERY animated pic. and then push power to boot to ROM.

your log contain last state that was in POWER CHARGE ONLY. bootlogo.

there is no log for me to see. i have no idea why your ROM do that.
[G2 Android Development] dorimanx:
ondemandplus is broken, do not use it.

and you have other app bugs and broken kernel config by ROM via sysctl

dont mess with my settings for kernel please.

or use stock, then send logs to LG.
[G2 Android Development] Yoni03:
Hi.

I'm on 5.0.2 lp on my d802 using your great 3.8 kernel.

However, since i installed it, the dialing is very laggy ( it take 1 second to hear me when i answer call and 2 seconds when i press dial).

I tried to flash a lot of stock kernels but i get no imei nor reception after it. Only when i return to your kernel i get the imei back.

Logcat is too big for the forum rules

Please help.
[G2 Android Development] albatron34:
and what about cloudyg2 ?, i like this rom.
[G2 Android Development] dorimanx:
after you install stock, reinstall ROM to fix selinux crap permissions.

Selinux is OFF with my kernel.
[G2 Android Development] SimpleX91:
Hi, Dori! Still no reboots on stock 30B (debloated) with xposed and some modules. Default profile, kernel ver. 3.8.

Maybe if everything is good it's time to try GCC 5.1 again?
[G2 Android Development] duki994:
Guys, I may have found quick "hack" fix for infamous chargerlogo bug. It struck me 3 times in range of 10min-15min ago, so I decided to fix it.

Simple word explanation for those who don't understand tech talk:

On every boot/reboot chargerlogo binary(it's for offline charging) gets overwritten. So there is NO HARM in deleting binary while phone is running in normal mode.

That means that you will always have that binary functioning as it should. If you delete it, turn off the phone and plug the charger it'll work since on every boot chargerlogo bin gets newly written/overwritten. In offline charging mode kernel also starts, which means there is newly written/overwritten chargerlogo binary, but ROM is in reduced chargerlogo state induced by chargerlogo binary.

So the fix is that you delete it from /sbin folder in normal working mode.

You can delete it with any good root file manager or with this command from terminal (first enable su access to terminal):

rm -f /sbin/chargerlogo

[MENTION=2376110]dorimanx[/MENTION]

You could implement this and stop chargerlogo bug once and for all.

Maybe add sysfs param to be equal to "1" if kernel sees that is in chargerlogo mode and "0" in all other cases.

Later ramdisk script will check that param and decide if to delete or not to delete chargerlogo bin.

Of course, it can always be added directly to ramdisk without kernel check, but I don't know if script would delete chargerlogo while in offline charger mode. That is bad, so my idea is to have in kernel sysfs param for script to check.

---------------------------------------------------------------------------------------------------------------------------------------------

Additional info for others who may help finding why chargelogo gets set off in first place:

init binary sets usb config to auto configuration

autoconfiguration returns only one function: charge_only

chargerlogo gets invoked by android_usb.

When charge_only is set (like USB charge_only) android_usb returns

android_usb android0: gadget enable(1)

and chargerlogo binary is instant called and reboots phone, but it shouldn't since charge_only means that you don't want usb storage connected just charge only from usb port.

It's always call after the gadget enable line above. Like bad function recognition and mistaken call to chargerlogo from some other driver/bin/service.

You can see gadget enable from sysfs store struct /drivers/usb/gadget/android.c

static ssize_t enable_store(struct device *pdev, struct device_attribute *attr,
const char *buff, size_t size)
{

here. Full code on dori's git
[G2 Android Development] Yoni03:
Is there any option to avoid re installing rom?

I don't want waste the hours again to root, debloat it and restore all of the configuration (I'm on stock)

in addition, I assume from your answer that you don't know the reason for the lag in calling?

Thanks
[G2 Android Development] Jeik:
Installing this kernel on CloudyG2 3.3 makes the rom go to the fastboot screen after the LG logo.

I tried to install it after a clean flash too,but I got the same result.
[G2 Android Development] Diechel:
Did you update with the prefered DorimanX OTA app?

If not you should read very carefully or don't use this kernel. Use the right kernel for your MODEL!!

For the OTA app check my signature.

PS:

If you did flash with the OTA app i would like to know :)
[G2 Android Development] bender_007:
Sorry but it's not correct. Works fine for me. 101% you downloaded d801 or other kernel.
[G2 Android Development] dorimanx:
you are WRONG. look at BUILD YOU HAVE DOWNLOADED.
[G2 Android Development] dorimanx:
install my kernel.

in Dorimanx App in OTHER tab,

click Selinux Status. if it's say DISABLED

click ONCE on Selinux HARD ON OFF.

after it's finish, REBOOT.

check that you have connection as should.

reboot to recovery. install STOCK kernel for your model.

boot to ROM, see if all OK.

Let me know.
[G2 Android Development] dorimanx:
I will fix that.

for now, to avoid this stupid LG bug. switch USB mode to MTP when USB will be connected.

P.S never had this. so it's only with modded roms.
[G2 Android Development] Epsil:
Hi Dori,

On 3.8 and stock rom no reboot on default profile but when I set darkness and alucard HP I have a reboot on dori app.

debug
[G2 Android Development] huy_gm:
I hope I'ill see a come back of dorimax on L01F. I will definitely donate some money for developement if it happens.
[G2 Android Development] Yoni03:
Awsome!!!

Worked well.

I got back to stock and get the imei back.

No I'll wait till the lag in the dialer will resolved.

Thanks
[G2 Android Development] 60nine:
ok, then how to give you a proper log?

what i did after reboot was entering the dorimanx app and pressed "kernel bug" button - what did i miss?

i don't know what you changed from 3.6.1. to 3.8. - but something changed obviously - 3.6.1. works like magic...
[G2 Android Development] RainGater:
Maybe, I am *really* stupid but I fail to understand why do people keep changing governors to darkness or intellidemand when there are reports, I mean gazillion of them, that it reboots or have issues. There are tons of other governors and I use Pegasusq, which has NOT resulted in even ONE reboot so far.

I just don't understand but I see people keep posting these reboots which is taking away [MENTION=2376110]dorimanx[/MENTION]'s awesome work!
[G2 Android Development] seba112:
Good replacement a Darkness is Alucard and Yankactive, Darkness is buggy and still You don't understand ;)

No Darkness governor - no reboots - 100% stable.
[G2 Android Development] christiano88:
Also ondemandplus was bugged.
[G2 Android Development] iko11:
Hello I wanted to report something related to Xposed and Greenify. Yesterday I have updated my Greenify version 2.7 Beta 3 and reboots started all the time. I thought It could be dorimanx Kernel 3.8 but (thanks to him) dori looked my log there was nothing but perfect hehe Greenify Beta version is the reason, updated to Beta 3.4 and all is OK. Wanted to let you know incase you are using this app.

- - - - - -

I loved the v3.8 running perfect and so stable.
[G2 Android Development] jeyd02:
Beta. 4?which one is that?
[G2 Android Development] oTeMpLo:
We could mark know buggy not tested options / giverners... With * in front of a name in stweaks... As lots posts here are about this...

But it could be that then we must mark all functions :) ...

A

Im still on stock waiting for stable release with fixed WiFi..
[G2 Android Development] jeyd02:
@ First sentence..what did you say?
[G2 Android Development] oTeMpLo:
That we could mark known beta or not tested options in stweaks app with an symbol like * so user would know he is using less tested or known buggy options.

Like:

*darkness
[G2 Android Development] jeyd02:
Oh yes definitely. I was just thinking the same. To maybe warm some users for not broken/bugged govs and settings.
[G2 Android Development] Agimax:
But then it would just be tons of "what's the asterisk mean?" or "hey governor xxx crashed my phone and it had an asterisk by it"
[G2 Android Development] Dick Gordon:
Reboot. Lgg2 d802 32gb, lp 5.0.1, dori 3.8.
[G2 Android Development] Yoni03:
Well.

Not perfect.

Every reboot, a lot of system settings got reset.

I need to approve chrome terms etc...

Any ideas?

---------- Post added at 03:56 PM ---------- Previous post was at 03:52 PM ----------

Wipe cache and delvik not helped.

I also get lteconfig stopped and even google inbox stopped until i uninstalled and install again
[G2 Android Development] Lizzacore:
Try to flash your Rom dirty. For some users it helps. After that install the new version of DorimanX kernel.

Cheers
[G2 Android Development] calvxrr:
I always do clean flash, no nandroid backup and for now cloudy g3 3.3 and dori 3.8 w/o any issues.
[G2 Android Development] dorimanx:
Know thing after selinux off on.

Its will get better. Just few apps loose there settings.

Others dont care.

Just set all that you want. And try to reboot after 10min. If all stay set, then all good.

Its permission bugs.

Sent from my LG-D802
[G2 Android Development] dosek15:
i try on stock ZVG and cloudy 3.3 :crying::crying::crying::crying::crying::crying:
[G2 Android Development] Epsil:
I know darkness is bugged. I report for perhaps fix it. If nobody reports bugs...
[G2 Android Development] rick09:
Just wanted to say v3.8 has been working perfectly. Stable, no reboots, smooth and responsive. I was a little worried to update as 3.6.1 was also working perfectly.

Had problems with 3.6 (lost imei) but I played with settings. Now I just use stock settings, only changing sound and fast charge, and all is perfect. Thanks Dorimanx for all your work!

Sent from my LG-D801
[G2 Android Development] nidzaaaa:
I dont know whats the point of flashing kernel if u use stock settings...
[G2 Android Development] Januh:
hey guys the version 3.8 is heating up my phone when iam on call or when i use the mobile data :s
[G2 Android Development] eak1080:
D800 here v3.8. I get a lot of heat using Mobile data. Especially when I'm not on lte
[G2 Android Development] Diechel:
Think its a permission problem, dorimanx kernel should fix it.

Manually install through TWRP.

Kernel zip should be available in /sdcard/DorimanXOTA

Then try again
[G2 Android Development] infected85:
I had two reboots today while using the phone in gallery and fb.

Here is the log

https://drive.google.com/file/d/0B668QE0uO0mnRkk4U25wdG9kSjA/edit?usp=docslist_api
[G2 Android Development] Diechel:
You can try dirty flash rom, worked for others in this thread
[G2 Android Development] Lizzacore:
Try to install your Rom like : wipe system ,cache and dalvik. Install your Rom then start the system if everything is fine flash DorimanX kernel.

Cheers,
[G2 Android Development] Lizzacore:
Dirty flash is the flash option that you reinstall your main system without to customize everything. That mean that all your apps and settings will be stay.

Only the main system will be deleted and new installed.

Try so :

Wipe system, dalvik and cache (not data!!)

Install your Rom

Optional : supersu

Start the system

If everything is fine then flash DorimanX kernel.
[G2 Android Development] wisefreakz:
100% OT: Everytime I read the app name written like this I piss myself laughing... This is because XOTA means ***** in portuguese... ROFL... Hahaha... Moderators going mad in 3, 2, 1...
[G2 Android Development] dorimanx:
Your modem stuck. and MMC stuck in wait for modem and all crashed...

ssrestart_check: modem timeout: BAM DMUX disabled for SSR

subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED.

msm_pcm_playback_close: CMD_EOS failed, cmd_pending 0x8

modem_notifier_cb: sysmon_send_event error -110

it's was normal crash restart, not kernel panic... any way this is new bug... maybe for your device only.

try to reinstall modem, use latest found for your model.

no more ideas...
[G2 Android Development] dorimanx:
you should have read the first page! and do backup of your working system before trying my kernel.

But, YOU didnt care. so now you need to read and restore and download, what ever you need.

Any way, you ignored my instruction, then dont spam my dev thread, thanks,
[G2 Android Development] g.paganini:
First reboot on 3.8 since 3.7 for me...freeze on fb messenger...

https://drive.google.com/file/d/0B_LbsT0gdUatbEptX0J1Qzl1YnM/edit?usp=docslist_api

https://drive.google.com/file/d/0B_LbsT0gdUatbUZKWDg1M0ZPd0U/edit?usp=docslist_api

Debug and logcat..... Lost screen setup,widgets, and textra reseted to lg messaging app.....strange
[G2 Android Development] jeyd02:
Since darkness isn't much reliable with 3.8. I am using Alucard gov with default hotolugs and the phone has been very smooth and very battery friendly. I downgraded to 1.7ghz and undervolted - 25mVs. So far very stable and smooth and battery friendly. I'm pleased

Thanks dori.