yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] lasic:
Hi, I have a problem with USB charger. On kitkat it was working fine and now on Cloudy 3.1 and 3.3.1 kernel it is charging only at 0.45Ah. Funny thing, it works fine (1.6Ah) when it's in recovery. Any ideas?
[G2 Android Development] n@vier:
First reboot with v.3.3.1
[G2 Android Development] nidzaaaa:
I had 1 restart with 3.3.1.. Think the 3.1.2. Was the best i have tried.. 2 restarts with 3.2... All restart happened while running instagram..
[G2 Android Development] iko11:
Provide log or don't report anything, what dori can do about this report ?
[G2 Android Development] Ginel:
somewone can help me please? why my setings from dori app not sticking i had this problem since 2.7 i used first SKRG 2.0 and now cloudyg2 3.1 and 3.2 and i have same problem. i always untick sleep2wake and fast charge off. and after some time ( i reboot phone and normal use) kernel goes default always. i know to flash rom and kernel is not first time i flash always with all wipes cache/data/system/dalvik.
[G2 Android Development] nidzaaaa:
How to sorry?
[G2 Android Development] iko11:
Please provide logs next time and state which settings you are using on Dorimanx app, check couple posts earlier, dori shared 3.3.2 version for Beta test, try that or wait for him to release 3.4, until everything settles down you can go back to 2.8.
[G2 Android Development] nidzaaaa:
I figure it out, will post later debug.. So, 28 is most stable?
[G2 Android Development] iko11:
You can see when you read some posts, some users had problems with v3s 2.8 is now Stable. Dori will merge some updates and release 3.4 but 3.3.2 is rock stable and has no problem for me. It's up to you which you choose :)
[G2 Android Development] nidzaaaa:
I wass using intellidemand, as i always do, on every phone..

But restart happend while i was on default setting > ondemand.. Nothing else was changed as i remember..
[G2 Android Development] runekock:
3.3.2 No problems!
[G2 Android Development] Lizzacore:
3.3.2 Perfect ! Best Version , no reboots until now. I will tell more tomorrow.

Good scores with 17 ghz (nobody cares but want to say [emoji14])

Device : LG-G2 D802

Rom : Stock 30b 16 GB

Kernel : DorimanX 3.3.1

Hardware-Rev : 1.0
[G2 Android Development] Junioryoda:
Just installed 3.2 over 3.1 and flashed blastagator's patch, bootloader and permisse right after flashing 3.2. I only wiped caches.

So far so good. It feels more snappy at this point. 3.1 became pretty sluggish after installing xposed, xprivacy and tweaksbox but 3.2 seems to have fixed that problem. Thank you Cloudyfa.
[G2 Android Development] goran_oh:
Wrong thread.

Sent from my LG-D802
[G2 Android Development] SimpleX91:
A lot of reboots with 3.3.2. 3 or 4 during night (deepsleep, i hope), 2 today in the morning. Log from first. Freeze on telegram msg receive. Screen did not turn on, led flashed for the new msg until the very reboot (3-5 seconds).
[G2 Android Development] jacoghi:
Dorimanx, would it be possible to push the minimum brightness limit even further? I feel that the minimum allowed right now is yet too bright to read on the dark. Thanks for the great work, as always
[G2 Android Development] dorimanx:
No. This is the min.

Sent from my LG-D802
[G2 Android Development] dorimanx:
No single reboot here. I will check log

Sent from my LG-D802
[G2 Android Development] dorimanx:
So rom is cloudy.

I see its using chargerlogo rom binary to mess with kernel.

Its for lg4 kernel. Its trying to find cores that we dont have, charger code that we dont have

And order reboot. I cant do anything about it.

Tell cloudy to remove it from rom.

Its kill your device.

Till that done, cloudy rom is not supported with my kernel.

I cant help you.

Sent from my LG-D802
[G2 Android Development] asalvi0:
I have solved my No Signal/IMEI EFS wiped problem, by following this guides:

http://xdaforums.com/att-g2/general/links-manually-forcing-ota-20c-to-20u-t2828874

http://xdaforums.com/att-g2/general/update-to-stock-lolipop-d80030f-root-t3084081
[G2 Android Development] toybxb:
My rom is NO NAME and having your kernel with default values, it steel have some reboots, had one last night.

I had question on the Rom topic if the rom have this code.

Thank´s for your help !!!
[G2 Android Development] SimpleX91:
Nope, not cloudy. Somboons' modified stock ([ROM] SRKG2-2-00 (Fast,Stable,Yummy) [3 In 1 ROM with Thai Food Names] - 20150523).
[G2 Android Development] dorimanx:
News Update.

Kernel 3.4

26/06/15

*Updated AIO FS code. cleaned old hacks from it. now in sync with 3.10.y by 98%

not all can be ported without more changes.

*Restored MMC code change that needed for LP, i have removed it in early builds 1.xx

with KK it's crash MMC. but here it's was by default from stock... so i have tested and restored.

*Cleaned wakelock check/clean on every check for charger... to many checks, can lead to bugs.

we dont need it any more, was made for KK.

*Merged fix to Selinux perms in case used in enforce mode by @blastagator

*Merged Google Services power drain and wakelock fix by @Alcolawl

*Merged fix for switch mutex guards from KK kernel.

*Merged fix to speedup I/O for SSD flash.

Have fun :)
[G2 Android Development] dorimanx:
never mind.
[G2 Android Development] 60nine:
then [MENTION=4008653]somboons[/MENTION] has to be notified about this as well... at least for his SRK2 roms
[G2 Android Development] oscar mok:
Yes, it's how it works. For controlling use Dorimanx.
[G2 Android Development] smartpr1v4t3:
Hey Dori,

I UV my Phone in KK and in LP is now the difference that i can only switch in 25k mv steps. In KK was smaller Steps possible.

Another Problem is that the Settings get every time after saving resetet or set with other steps. I use Trickster Mod for UV.

Is this Kernel related? Thanks for everything!
[G2 Android Development] drew150931:
Best Setting for your kernel?

Hi dori, can you give me the best setting and tweaks for your great kernel? i want a better battery life. what settings that you can recommend for us? Thanks. :)

I love your work.
[G2 Android Development] Bornin:
I have not installed this yet but i bet theres a profiles tab to start from. From there you go to Q&A thread ?
[G2 Android Development] minotavros:
I had the same problem. I lost system settings. Try with 1.1 and stock kernel but since no settings. The solution was to flash the rom again. Then flash 1.2 kernel again and no problem until now.
[G2 Android Development] BaschtlWaschtl:
I had this too.

Set PA lock and installed Viper.

Now its good as usual.
[G2 Android Development] fuxmen:
It unfreezes by himself or You need to force restart?
[G2 Android Development] lordc:
[MENTION=2376110]dorimanx[/MENTION] thanks! 8GR31865XK9347910
[G2 Android Development] dorimanx:
Already gave you the settings.

Sent from my LG-D802
[G2 Android Development] dorimanx:
The true uv must be -+25 regulator do not accept less step.

Cpu has 6 freq/voltage tables.

Some cpu chips are strange, each boot they want different table, and this why defaults change for you.

About why app dont Keep the changes, its not my problem, its just been killed on boot by rom.

Try to move it to system/priv-app

And set in supersu, allow su on boot, and trust system service.

Sent from my LG-D802
[G2 Android Development] GalaxyGusta:
the kernel made my device slow and stuttery

also made it become hot way faster then the stock one..

only good thing it did is to make the device charge at the kitkat rate which is between 1200ma to 1600ma i think

on the stock kernel its completely random sometime 600ma sometime 1000
[G2 Android Development] dorimanx:
You know you can tune it right?

Then why you post this? You need pedal to the flor as with stock, then tune it like that.

Sent from my LG-D802
[G2 Android Development] Lycidias:
It unfreezes by himself after like a Minute

Spoiler content hidden.
[G2 Android Development] dorimanx:
memory drain...

i have run stability test that drain ram and force max freq, in cycle 120, device hang hard, and kernel recovered by killing all system UI and open apps, still survived for more 4 cycles then die... (reboot)

LP rom has RAM problems, not something i can fix...
[G2 Android Development] smartpr1v4t3:
Thanks for respone, my problem atm is not that the setting is changed after a reboot.

The settings get already reset 1 second after i apply them, the other confusing thing it doesnt reset to values as before,

It sets all values +25mv

Maybe its Trickster Mod i will test another app.
[G2 Android Development] marchino123:
The fix RAM of xposed work?
[G2 Android Development] wkobaint:
Just report on my D802, latest 1.2 version is stable. I set alucard gov and hotplug at max 1,7 and min 300. Battery lifes is good so far with 3 hours SOT, 3G Data almost 18 hours and 38% left.

Viper4android + kernel run perfectly without any distortion or volume problem.

The problem I found is led notification, doesn't work after flash this kernel.

---------- Post added at 07:00 PM ---------- Previous post was at 06:54 PM ----------

Fix memory leak on xposed run normally on my D802. I get 800-900mb free of ram. No lagging issue so far on nova launcher.

I just install amplify and control the wakelock at 600. and install greenify 2.6.1 too.
[G2 Android Development] samuele94:
Hi Dorimanx, excuse me but I've read that the memory leak is related to the bootanimation ( http://xdaforums.com/android/software/arm-arm64-android-5-0-lollipop-t3032247), so in your opinion if you took it off, the kernel would have more ram available ? If that is true, is there any way to reset the ram after the boot?

Delete boot animation can fix it? now i'll try to delete boot animation. Kernel all ok,no battery drain or lag :good: :good: (stock settings,no touchboost)
[G2 Android Development] Closed Force:
leak1: I think that bootanimation shouldn't bother you, afaik it is just - your phone will either boot or not, if it boots it's ok, if it didn't you maybe have a leak.

leak2: screen off animation fixed with xposed module

leak3: leak that happens while using chrome, I think it has nothing to do with custom kernel, we had it with stock - it happened to me million times on LP that if I use chrome for a bit longer, after i switch to other apps all of them would have to start again, I knew it was a leak.
[G2 Android Development] ribou:
Thanxs [MENTION=2376110]dorimanx[/MENTION] 23Y21690Y7894090L
[G2 Android Development] duki994:
Dori,

I had one chargerlogo reboot on old 1.x or early 2.x versions.

It also searched for nonexisting cpus in old stock debloated ROMs...

Maybe it was some LG common source for Gx family so they didn't bother changing some binaries.

Anyway I'll try to find and remove it.
[G2 Android Development] metteduch:
How can we remove this binary? You know where we can find it in the rom? :)

Havent heard of this chargerlogo before, we need your help master dori

Sent from my LG-D802
[G2 Android Development] duki994:
I removed charger_monitor.

Try with that, but be VERY careful since binary may contain more services. No sideffects for now, also no chargerlogo lines in kmsg/dmesg
[G2 Android Development] didhiy:
Afaik chargerlogo binary was placed in sbin folder. So it came from the kernel, not the rom. You can't delete that.
[G2 Android Development] dorimanx:
hmm... you right. strange that i never seen any logs from it in my device...

i will check who activate it and when.

maybe i should remove it.

maybe not...

checking if running and it's NOT.

root@g2:/ # ps | grep /sbin

ps | grep /sbin

219 root 0:00 /sbin/ueventd

286 root 0:01 /sbin/healthd

4098 root 0:02 /sbin/busybox sh /sbin/ext/cortexbrain-tune.sh

17218 shell 0:00 /sbin/adbd --root_seclabel=u:r:su:s0

26152 root 0:00 grep /sbin

so why this service activated by something in different ROMS and at some point...

from what i have learned it's should be used when device is OFF. and we connect power.

so kernel boot but not booting ROM, and just charging showing charge anim.

but it's never should run on full BOOT. if it's does... well BOOM! rom dead.

"started manually via ADB!" funny...
[G2 Android Development] didhiy:
Yup, you right. It should starting by init.lge.power.rc & running only when phone off + connect charger to show charging process.
[G2 Android Development] duki994:
Isn't chargerlogo mode when offline charging. So it displays charger logo + percentage only?

arch/arm/mach-msm/include/mach/board_lge.h

enum lge_boot_mode_type {
LGE_BOOT_MODE_NORMAL = 0,
LGE_BOOT_MODE_CHARGER,
LGE_BOOT_MODE_CHARGERLOGO,
LGE_BOOT_MODE_FACTORY,
LGE_BOOT_MODE_FACTORY2,
LGE_BOOT_MODE_FACTORY3,
LGE_BOOT_MODE_PIFBOOT,
LGE_BOOT_MODE_PIFBOOT2,
LGE_BOOT_MODE_PIFBOOT3,
};
/* here is the function */
enum lge_boot_mode_type lge_get_boot_mode(void);

and here:

arch/arm/mach-msm/lge/devices_lge.c

gets called

int __init lge_boot_mode_init(char *s)
{
if (!strcmp(s, "charger"))
lge_boot_mode = LGE_BOOT_MODE_CHARGER;
else if (!strcmp(s, "chargerlogo"))
lge_boot_mode = LGE_BOOT_MODE_CHARGERLOGO;
else if (!strcmp(s, "qem_130k") || !strcmp(s, "factory"))
lge_boot_mode = LGE_BOOT_MODE_FACTORY;
else if (!strcmp(s, "qem_56k") || !strcmp(s, "factory2"))
lge_boot_mode = LGE_BOOT_MODE_FACTORY2;
else if (!strcmp(s, "qem_910k"))
lge_boot_mode = LGE_BOOT_MODE_FACTORY3;
else if (!strcmp(s, "pif_130k") || !strcmp(s, "pifboot"))
lge_boot_mode = LGE_BOOT_MODE_PIFBOOT;
else if (!strcmp(s, "pif_56k") || !strcmp(s, "pifboot2"))
lge_boot_mode = LGE_BOOT_MODE_PIFBOOT2;
else if (!strcmp(s, "pif_910k"))
lge_boot_mode = LGE_BOOT_MODE_PIFBOOT3;
printk("ANDROID BOOT MODE : %d %s\n", lge_boot_mode, s);
/* LGE_UPDATE_E for MINIOS2.0 */

return 1;
}

__setup("androidboot.mode=", lge_boot_mode_init); /* here goes android's boot mode */

[MENTION=2376110]dorimanx[/MENTION]

Perhaps add check that if ROM fully booted, binary not executes?

Permission change on boot from kernel/script could help
[G2 Android Development] renzo090513:
I have Cheloz rom G4 and no reboots so far. All good here with default prof.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] dorimanx:
i think i will do some mods to prevent running it when ROM is booted.

i will just rename it or remove IF rom fully booted.

so no one can run it on sleep or wake... as it's crash all...

when device boot to power only mode, binary is restored to it's location from ramdisk.
[G2 Android Development] dorimanx:
good work, saved me the time to seek it :) yep that is where it's called by kernel on boot ONCE...

if device is OFF.

but what if something calling it again on full boot! as user give me log of last_kmesg that show that reboot was from chargerlogo

that was last what happen...

need to think on how to remove any access to it when ROM booted.

i will run tests....
[G2 Android Development] nidzaaaa:
Is it safe to flash 3.4 kernel with dori 3.2?
[G2 Android Development] iko11:
3.4 is safe.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Yesterday I posted a log but in the end I had only one reboot.

Now I'm testing v3.4 I'll report soon my experience with this new release. As always thanks for your awesome work and support ;)
[G2 Android Development] toybxb:
Stock Lollipop ROM right ?
[G2 Android Development] n@vier:
Stock Lollipop v30b LG G2 D802 (by [MENTION=4008653]somboons[/MENTION] no mod flashed by recovery).
[G2 Android Development] wisefreakz:
[MENTION=2376110]dorimanx[/MENTION]

In regards of the problem that we, the D805/6 owners are having with the infamous "signal drop", can you do a test for us?

Can you replace or add the below call to the init.qcom.rc?

service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh

class late_start

user root

disabled

oneshot

I would great appreciate if you can cut a beta version for us to try and see if it fix the problem.

Thank you!!
[G2 Android Development] dorimanx:
Send me the file, i will not add it. Its brake kernel config.

I have custom, just with what needed.

Sent from my LG-D802
[G2 Android Development] wisefreakz:
Here it is!

http://www66.zippyshare.com/v/ufrS8i0L/file.html

Thanks
[G2 Android Development] Lizzacore:
One question, my phone gets warm (50°C and up) with mobile data and / or Wi-Fi, is that normal ?

For safe ,the Log :

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

kernel : 3.4 (but not special for this version, it's gets warm on every version of your kernel)

Cheers
[G2 Android Development] iko11:
Yes it's normal. I am not sure about how hot outside in the country you live but it's summer and mobile data usage makes my phone hot too.
[G2 Android Development] renzo090513:
It is nor normal, i have the phone very cold with default prof. Gets warn when i watching videos on youtube only.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Junioryoda:
Oh, yeah:)))))
[G2 Android Development] dosek15:
in my LS980 doriman doesnt works every time is in bootloop screen all version
[G2 Android Development] Luzmo:
Delete
[G2 Android Development] jacoghi:
Anyone else having the following wake lock? qcril_pre_client_init
[G2 Android Development] n@vier:
First impressions about last release

v.3.4:

No freezes no reboot and very smooth, also I noticed a little bit more of free ram, for battery drain I'll wait some days...stay tuned ;)

Ps: my profile is, as always, performance (stock Lollipop v30b).
[G2 Android Development] MilanStojkovic:
QA thread for this. With a bit more info if you have an actual problem of phone not going into deep sleep. I haven't seen that one, but it has something to do with qualcomm radio interface layer.
[G2 Android Development] jacoghi:
Thanks for the info. I had taken a look at the qa, but didn't find anyone reporting the same wake lock. Anyways, my phone is awake all the time because of this wake lock since 3.4. I'll clean flash anyways just to make sure it isn't an app triggering the event. Thanks once more for the help.
[G2 Android Development] capoooro:
https://mega.nz/#!0MoB3bjT!_0TSQKtf8QWRNbj7yiifcsuhZWKKZsGBZgInH631ow0

D802

4x pegasusq.

Cloudy 3.2

Reboot

Hope this file Is good for you. Tnx
[G2 Android Development] gozzaa:
Cloudy is not supported by this kernel...
[G2 Android Development] capoooro:
Strange, It works perfectly. Only a reboot since cloudy 3.1 spring out. OK I'll not post anymore logs. Sorry
[G2 Android Development] toybxb:
Dont worry, the problem is at roms that have G4 based... I think that Dorimanx is taking care of this.
[G2 Android Development] AlexVipXDA:
Cloudy is support, dorimanx say that search Fix for a problem, he talk with cloudyfa too

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] goran_oh:
Problem it's in kernel,I hope dori will find the fix.
[G2 Android Development] donalberto17:
Well, it's not really based on G4. It's based on Stock G2 Lollipop with the G4 interface ported, so it should't be a huge problem.
[G2 Android Development] dorimanx:
I see that log.writer service crashed.

Its rom service that write logs about modem and other parts.

Actually no one read them.

So maybe i will just remove it.

First time that its crashed...

So far for me 3.4 is great. Nothing i do, i cant make it crash.

With normal limits.... no crazy things...

Sent from my LG-D802
[G2 Android Development] jamesd1085:
Have tried stock setting as well as my own profile used since first release for d801...tried on fresh rom install and still rebooting...reboot in this log actually dismounted efs/imei and modem...seems to happen 1 out of five reboots since 3.1...i am not having issues though on 3.2

...hope you can see an issue here...will stick to 3.2 for now...d801 stock 30b
[G2 Android Development] mannequin:
3.4 is pretty amazing so far, very steady.

the biggest stress for the phone it seems is coming out of the no signal zone. when the radio starts to switch from none to 4G to LTE it spasms, stutters and heats up a lot, on previous kernel versions it was the easiest way to crash the phone. 3.4 still struggles but comes out like a champ in the end.
[G2 Android Development] Kemby13:
I tryed darkness on all 4 cores and the phone froze up and rebooted shortly after...

Didnt get the log though, srry. Darkness is my favorite gov since KK, but whats interesting,

when i use ondemand on core 0 or 0 + 1 everything is rock solid. I always use msm hotplug.

Besides that, 3.4 is very fast and stable...
[G2 Android Development] jamesd1085:
Using ondemand on 0 has been known fix for reboots for awhile
[G2 Android Development] blastagator:
Kernel Panic -

I was sitting at my desk, not even using my phone, and I see LG logo pop up out of nowhere. Log shows kernel panic. Hopefully helpful?
[G2 Android Development] wisefreakz:
[MENTION=2376110]dorimanx[/MENTION]

No mean to rush you... Just wondering if the sent file will serve at least!

Thank you!
[G2 Android Development] nidzaaaa:
I use intellidemand for all 4 cores, best balance of perf and battery.. 0% battery drain while 10h sleep.. And no reboot so far with 3.4 kernel..
[G2 Android Development] RainGater:
Wow, are you serious? How is that even possible? System services should use little bit of battery even if you have wifi + data + bluetooth + location turned off...

What are your other settings other than intellidemand? Default profile?
[G2 Android Development] nidzaaaa:
Default settings except governors.. Wifi is on, data too.. Location off, BT off.. Nfc off..

Its like, phone is in deepsleep when the screen is off.. I will test it again tonight.. With ondemand it drains abouth 10-15% while im sleeping.. Test it..
[G2 Android Development] dorimanx:
Memory crash when releasing used ram on clean task...

No idia why... not much shown in log.

What amazing is that each report include different bug.

And i have none of them....

I dont know... need to try to see if something can be updated in ram code.

Thanks for report

Sent from my LG-D802
[G2 Android Development] g.paganini:
First freeze & reboot I had since 3.0

4xIntelidemand, alucard hotplug. I'm on latest kernel now

https://drive.google.com/folder/d/0B_LbsT0gdUatY3RzaGRwbFN3TmM/edit
[G2 Android Development] Floodland:
Take in mind that as our devices get older, they are more prone to random failures. Some devices may not fail, ever, while others start throwing all kind of issues, using any software combination... Planned obsolescence to blame...
[G2 Android Development] donalberto17:
Exactly the same happened to me, Hope the log helps.
[G2 Android Development] pmgnet:
We're in new experimental territory. I had a crash reboot today as well... but check this out...

Four hours idle, cloudy 3.2 and dorimanx kernel.
[G2 Android Development] dorimanx:
No problem in your log.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Service sdcard failed on rcu lookup.

First time i see this.

Thanks for report.

Sent from my LG-D802
[G2 Android Development] g.paganini:
Sorry, I forgot to mention that it happened maybe 2-3 minutes after I switched to intelidemand from your default settings, while browsing Tumblr for maybe 30 seconds... Anyway thank you for your work!
[G2 Android Development] iko11:
Time for feedback: I am very satisfied with 3.4, running on all cores Intellimm and MSM Hotplug, since the release imI didn't have any reboots, freezes. Overall experience is very smooth. Even Touch Boost disabled. This is a really good version amd I suggest everyone upgrade this one. Thanks dori
[G2 Android Development] Dick Gordon:
Reboot. Lg-g2 d802, 32gb, lp 502, dori 3.3, performance profile.

Написан с LG-D802. Работает на XDA Forums
[G2 Android Development] iall5tar:
Hiho buddy

Yesterday evening I had a soft reboot...

Here is the log.

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

Cheers!
[G2 Android Development] christiano88:
It is possible with wifi/data/bt/location turned off, I got the same results with yankactive (CloudyG2 3.0 ROM).
[G2 Android Development] iko11:
I got a reboot 4xIntellimm MSM Hotplug, it was connected to charger.

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