yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] blastagator:
Dori - Need to comment out another line in LS980-RAMDISK/file_contexts for selinux and superuser

/system/bin/app_process32	u:object_r:zygote_exec:s0

should be

#/system/bin/app_process32	u:object_r:zygote_exec:s0

Otherwise, root and selinux boot script will get in a war with each other. It got uncommented in merge of correct ramdisk.
[G2 Android Development] asalvi0:
Hey [MENTION=2376110]dorimanx[/MENTION], just wondering which

Toolchain Cortex-Axx

version did you choose for your kernel?

You're right binaries output from toolchain is the answer for the other crap I posted. xD
[G2 Android Development] zborn:
Man, Toolchains are a group of tools used to compile the kernel code correctly and depending on the combination of processor/memory in the building machine, it will take longer or shorter to finish that task. It has nothing to do with the processor used in the device (our G2s). The power consumption in a device will differ depending on usage and more than anything on configs of the kernel. A stable and well configured kernel will be the perfect combination between battery/performance but the processor inside the building machine has nothing to do with it since we have a standalone and non-changeable processor on our devices.

Hope it was clear, not attacking intended..
[G2 Android Development] asalvi0:
No offense, just one question: Why do we have multiple toolchains optimized for every architecture, if is just a " set of tools" to compile source code?

I guess is due to different constants, values, dimensions of buffers, API methods, etc. that are used for different architectures and those libraries used to compile the source code can produce different binaries and more important embedded functions can differ from one processor to other.

BUT THE MAIN POINT WAS THE DIFFERENCE OF MODIFIED/ADDED/DELETED FILES OF THE TOOLCHAIN REPOS.

For the record LG G2 is a armv7 device.
[G2 Android Development] toybxb:
Using 4.2 version of your kernel (everything stock) and so far so good !

Im on No Name Rom and dont have xposed install.
[G2 Android Development] tomarin:
Freeze and reboot with 4.2.

Happend on wake up. No charger connected.

D802, rom v30b, all default

Log. https://db.tt/iFMZcakx

P.s. had problems with logging. Zip would turn up empty

Reinstalled stweax and I hope now is ok

Hope it helps
[G2 Android Development] heocoi22:
In 4.2 it's very good smooth and havent lag and frezee when using chrome and facebook . thanks u so much.good luck. Sorry my english so bad...
[G2 Android Development] droid_does:
Just out of curiosity, what colour profiles are people running? Thanks for the great kernel!
[G2 Android Development] dorimanx:
If you have problem with log, its mean something really bad with your setup.

No busybox, or other problems.

If you have busybox installed by you. Remove it.

Reboot, kernel will install new one.

Without it, nothing can work in my kernel, all the scripts are broken, and can crash any minute.

This why you cant even take a log using dorimanx app.

Kernel is not the problem here.

Do not use any kernel mod apps other then supplied with kernel.

And dont add any other rom mods as busybox and super duper muper scripts that someone else made. Its will just brake my setup.

Sent from my LG-D802
[G2 Android Development] dorimanx:
I am building with cortex a15 armv7

Neon vfp hard.

Dont make me laugh by comparing changed files.

I do upgrade from older build to new in git.

So change amount is not so much. Mostly the binary files change.

Tool chain is huge, if added from 0 to all.

Toolchain not effecting battery.

Just the way kernel code is compiled.

I cannot use cpu architecture that i dont have.

Cortex a7 is not what we have.

But its probably will still work.

I dont take any chances, and build by the book.

So if we have bugs, its not the toolchain.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Do you have other kernel that allow you to use debug mode and mtp?

If so, attach it here, i will inspect the ramdisk of it, and if i find changes i will fix it.

If its the same with stock, then its how lg want it to be.

Sent from my LG-D802
[G2 Android Development] n@vier:
In attach my colour settings (seems "amoled like" and white is not "bluish" )
[G2 Android Development] Kemby13:
To get the calibrated color output, you must set Color control like this

Red: 255

Green: 245

Blue: 230

I tend to set blue on 235, because i like a bit blue'ish tint...
[G2 Android Development] tomarin:
Was just writting a reply and another freeze and reboot. Now with vibrating while frozen.

Log https://db.tt/iFMZcakx

Afaik I dont have any aditional rom or kernel scripts. All default. Rom v30b debloated.

Kernel settings default.

If I can add an observation . on early versions more freeze and reboot by poeople with cloudy rom. Stock wariants were more stable. Now with kernel 4.x. Seems like cloudy rom is more stable then stock.

Anyway thanks for your exceptional work.
[G2 Android Development] Nussi29:
I have problems with gps connection. I make a clean install of rom and nothings happens. The problem still here. Anyone have the same issue?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] obvious:
Loving 4.2

In Dorimanx app > Profiles I find the profile switching and profile check logic to be a little off. Sometimes profile check does not display current profile, sometimes 'profile already set' when it is not, sometimes blank output, sometimes numeric output, sometimes app restarts. It all seems to work after a bit of fiddling though :)

(Deleted dori folder and can still see these minor niggles)
[G2 Android Development] dorimanx:
Did you read the instructions?

Probably not.

When you push a profile set button you need to wait till its finish setting the profile in background!!!

Your task is to wait, and not touch anything, till app restarts it self. At that point only, its finish to set profile.

Then you can go to profiles and check what profile you have.

Operation takes about 30sec.

Do not mess this. After wrong user usage, people get bugs that i never seen before.

Just wait.....

If you delete .dori folder, you must reboot.

Do not use app or kernel after that.

Many things depend on that profiles that written to that folder.

Deleting that folder is a last resort.

Sent from my LG-D802
[G2 Android Development] obvious:
Thanks. I did not read instructions since a long time ago. :eek:

Suggest toast/pop-up saying "please wait" to avoid user error
[G2 Android Development] biggiesmalls657:
There is a notification that says please wait...
[G2 Android Development] obvious:
Lol not here. They all say "don't push me, already active". Clearly I've managed to get the app's knickers twisted
[G2 Android Development] Lycidias:
That means "wait, you already pushed me"

Sometimes i need to clear recents before i open stweaks (when stweaks isn't restarting itself)

Spoiler content hidden.
[G2 Android Development] obvious:
Yes but they can't all be active at the same time like some kind of super-governor
[G2 Android Development] Lycidias:
So wait, like the toast notification says

Spoiler content hidden.
[G2 Android Development] obvious:
Seriously haven't seen that before. Doesn't app get updated automatically. Very strange
[G2 Android Development] silent_silver:
Hi Dori, hi all,

quick question for you. I tried various settings in section memory, especially OOM Level Screen On/Off, but couldn't notice any differences.

My aim is to have apps opened 2-3 hours ago to be killed to gain more free ram.

Aggressive and exterminate setting didn't seem to work as expected (just personal, practical experience)

Phone becomes a lot slower/laggy after using apps with heavy ram usage. After reboot everything is fluently.

Is there any other option to reach my target?

Any need to add logs?

kind regards!
[G2 Android Development] obvious:
https://youtu.be/sHB4eWv3Sos
[G2 Android Development] lgnd:
d802 cloudy 3.3 rebooted during browsing firefox.
[G2 Android Development] iko11:
Push the Profile button couple times one them will say 'restoring' it will work
[G2 Android Development] obvious:
Jeez guys. It was only supposed to be a quick post to say thanks and point out some unusual behaviour in the Dorimanx app :) As I said, it's pretty easy to get it to work but it might not be working exactly as intended. Now it's taken up a whole page. /runs_away
[G2 Android Development] iko11:
I haven't read the old posts mate, saw your last post and answered. Anyway you can just ignore my answer :) Let's keep up the dev. thread
[G2 Android Development] iall5tar:
OMG!!

How awesome is this kernel!!!! my cpu temperature doesn't pass more than 55°C watching YouTube, listening music, chatting... And my battery temperature is always less than 40°C

You made it buddy!

Ps: default profile

Sent from my LG-D802 powered by Dorimanx's kernel
[G2 Android Development] Ginel:
settings on dori app not sticking... after 1 rr all settings come back to stock, always same problem. its not first time i had it from 2x. Room and kernel flashed from all wipes and factory reset.
[G2 Android Development] wisefreakz:
Try remove .dori folder, reboot and try again.
[G2 Android Development] dorimanx:
hmm. seems like your modem crashed. and forced BUG action that lead to reboot.

subsys-restart: subsystem_powerup(): [c3dc0900]: Powerup error: modem!

------------[ cut here ]------------

kernel BUG at arch/arm/mach-msm/subsystem_restart.c:494!

Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM

very random bug... maybe will not happen again... if same happen, then try to reinstall modem. (easy is to reinstall ROM that have modem added to it.)

if you can find stand alone zip with modem for LP ROM, also good.
[G2 Android Development] duki994:
Uncheck High MEM release in Memory tab in Dorimanx app.

That helped me in similar condition without killing apps.

Weird indeed.
[G2 Android Development] blastagator:
Generally stable, Kernel is rocking!

Had one random freeze up this evening while typing an SMS. I looked in log and nothing seemed particularly useful. Posting anyway, since I am not the log guru.

Thanks as always for awesome kernel :)
[G2 Android Development] albatron34:
ls980 pc connection !

ls980 users

is there a problem when changing pc connection mode from mtp to another mode; i mean it refuse to go buck to mtp mode again (only chargin or ptp mode).:confused:

dorimanx kernel 4.2.2
[G2 Android Development] tsjanda:
Disable usd developer mode, this worked for me
[G2 Android Development] Dick Gordon:
Hi, Dori. Two reboots, different situations, 2-3 hours between. Stock lp, dori 4.2, lgg2 802 32gb.
[G2 Android Development] jeebspawnshop:
Even though this post is OT in regards to Dori's kernel, it does address his suggestion above.

The following link contains a number of flashable LP modems for D802:

http://xdaforums.com/lg-g2/development-d802/modem-flashable-modem-d-802-20g-20h-t2960263

I actually flashed one of them over somboons stock ROM and it GREATLY improved my signal reception.
[G2 Android Development] dorimanx:
log is clean.

what i do see that kernel really fighting to allocate ram to system as your apps drain RAM non stop.

it's kill them, they start again.

reduce open apps in ram.

this crash was by ROM service give up and order reboot.

kernel was trying till the reboot action.

see by your self. look at the end of the file.

see the lowmemkiller actions.

then silence... tried best it can...
[G2 Android Development] g.paganini:
First reboot since on 4.2.. Just tapped recent and then rebooted... Anyway, nothing to report besides this reboot, kernel is fast and stable

https://drive.google.com/file/d/0B_LbsT0gdUatS0U1Y3JHYnhyOTg/view?usp=docslist_api
[G2 Android Development] droid_does:
I've noticed something incredibly annoying.... My power button led just keeps flashing as soon as my screen goes off. I'm not getting this issue on the stock kernel for cloudy 3.3.

Any idea how to control or disable the rear power led?
[G2 Android Development] 0xetrov1:
I think, someone else mentioned this problem before, and Dorimanx has in his post stated, that this issue is not related to Kernel-Level.

And I have LG G2 Variant D802 using CloudyG3.3 with Dorimanx's Kernel V4.2 and haven't encountered this issue, so I'm pretty sure, that there is something wrong either with your phone or the ROM you are using.
[G2 Android Development] droid_does:
Cheers.

Imma going to try a full clean wipe.... See if that fixes things.
[G2 Android Development] saspo59:
Just swich on and off your data and its fixes
[G2 Android Development] love4k21:
Anything you can See here?

Phone is constantly rebooting after 1-2 minutes after screen is off.

If sceen is on it works perfect.
[G2 Android Development] djtiesto22:
Try to use default profile, for some intellimm or some other gov seems buggy. You have set on all cores intellimm...

Послато са LG-D802
[G2 Android Development] goofy22:
Dori 4.2 on cloudy 3.3 works fine for me on D800 no reboots or freezes and get good battery life can go for 2 days without a recharge.

only thing I see is light around the power button blinks whenever there is a notification and it blinks continuously until I clear the notifications.
[G2 Android Development] dorimanx:
This is rom feature, not kernel.

Go to setting Screen led and remove power blink on notify.

Why people dont know there phones?

Sent from my LG-D802
[G2 Android Development] goofy22:
Thanks dorimanx i'm not aware of the settings.
[G2 Android Development] geov03:
Please help...

I am getting a bootloop after installing this kernel

I am on Cloudy G2 3.3 ROM
[G2 Android Development] Underworled:
Did u flashed the right versión ,? ( d802...)
[G2 Android Development] jeebspawnshop:
[IMG="o.O"]http://i60.tinypic.com/ern9s2.jpg[/IMG]

Did you flash the correct kernel for your phone, which appears to be a D800?

Cuz I'll bet my last dollar that you flashed the wrong kernel - why do people flash stuff without paying any attention to WHAT they're flashing?

Good idea, but his phone is D800, judging by his signature.
[G2 Android Development] Ginel:
i dont have any reboot i never had 1 but i face only 1 problem please somewone help me, i have latest dori with latest claudy i had factory reset all wipes flashed rom, flashed kernel. I always untick sleep2wake and i set on fast charge ON and apply. after some time hours/days when i check dori app i have defalut kernel setings ( with sleep2wake and fast charge manual). always same problem flashed from 2.4 until now and i changed 3 roms. i dont have any erros on internal storage, i deleted dori folder and, and problem always persist. any ideeas?
[G2 Android Development] geov03:
I flashed the right version,, but it was v3.2

Then i downloaded v4.2 and flashed, it booted.

But after using 2-3 hrs phone again showed a bootloop. then i flashed the zip again and performed a dalvic,cache wipe. It again booted up fine..

Don't know what will happen next....:):)

---------- Post added at 04:58 PM ---------- Previous post was at 04:48 PM ----------

The reason I decided to flash this kernel in the first place was some crazy behavior of my phone..

It was like this:

The day before yesterday when i was using the phone it just rebooted and showed the following text in green back ground

"Apps watchdog bite!

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

DemiGod Crash Handler : Apps watchdog bite!

Press key to choose Dload Mode or Reboot.

1) Vol up : Dload mode.

2) Vol Down : Reboot"

If i pressed vol down sometimes it rebooted back to the same screen but sometimes it booted up fine,.......this problem keep reappearing that day.

I don't know if it has to do anything with the bootloops occurring now.......

oh sad.. bootloop started again.....phone was just fine when i started to type this post
[G2 Android Development] Matt927:
My phone has got a reboot

https://mega.nz/#!XFFAiSLZ!j4i-FHrAhWtmpvPXKTLI5wOfm9aZ2p1xDT9telFq_ZU

Thanks for your work and sorry for my bad English

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] boyheadkick:
happy to report 4.2 stable as a rock since flashing it no reboots at all
[G2 Android Development] masteril:
4.2 is great so far but wifi range is reduced and sometimes lost checked in the same place vs stock and stock have stable signal in that range..but the kernel is great dori so far stable
[G2 Android Development] dannycellestio:
[MENTION=2376110]dorimanx[/MENTION] 4.2 is truly fast and stable. but it has a HUGE problem, at least for me. in comparison with 3.9.2 , the battery drain is INSANE. did you do changed something that's related with power consumption ? ps don't send me to stock, I love your kernel and I'll never move from it.

EDIT: I forgot to mention that I had the exact same settings, the same config as in 3.9.2 but the battery lasted 2 and a bit times less than on 3.9.2 .
[G2 Android Development] silent_silver:
Many thanks for the tip!

Seems to work for the moment. lags under heavy ram usage are gone.

i still use exterminate for omm level screen on and off.

Additional information: thermal throttling has been excluded in those cases as temperature limits has been raised to maximum and those haven't been reached.

best regards
[G2 Android Development] dorimanx:
There is a huge difference with 3.9.2 its has updated workqueue code, that reduce power usage, but was unstable.

Now we have normal power drain as was with stock, with not much difference. Depend on usage. But still better :)

I will work on importing stuff we lost later when i will have time.

I am busy at my day job, and come home crashing to my relaxing chair, and watch TV and read xda, then kick players in online games and go to sleep in deep night.

Then all start again early at the morning.

When my crazy job projects will be done.

I will have time to work on kernel.

I am happy with 4.2 for me its monster stable.

4 days, no problems. Its an record for me not to install test kernel in so many days.

Its just work as i expect. And i have chargers every where, so i dont even look at my battery and must go from 100 to 2 and check how was it...

Dont go to stock just yet :)

Sent from my LG-D802
[G2 Android Development] Matt927:
[MENTION=2376110]dorimanx[/MENTION], sorry man... 4 random reboots... Can you take a look please? I don't know if it's a ROM problem or Kernel

1- https://mega.nz/#!TMlkzJST!iAMTO-lHSmwN7Mdb7ElhZj_ZxksMY-LNKdzZ7Cv-k-g

2- https://mega.nz/#!zY9zhQ7b!4th4JtnaYNgbik2EehcQDlrtCMju5X5zGBn9Ppbl6RY

3- https://mega.nz/#!6NUknIxK!VYjO6HwfmXdAEStvzUMD6xR8NEiAg_oc8g8yMPylOwY

4- https://mega.nz/#!XQl0FDqR!VwTUyRla8fN8JdEaYjmiQI71EsvKGKPtg8-YoB2a5kg
[G2 Android Development] iall5tar:
Just reporting a reboot using chromecast app...

Dunno if this is related to app or kernel.

Here is the log

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

is this relevant??

dmesg-Error:
<3>mdss_mdp_parse_dt_prop_len: Error from prop qcom,mdss-clk-levels : spec error in device tree
<3>mdss_mdp_parse_dt_prop_len: Error from prop qcom,mdss-ad-off : spec error in device tree
<4>msm_serial_hs_init: error creating logging context
<3>ngd_msm_ctrl fe12f000.slim: error creating ipc_logging context
<3>init: /sys/kernel/debug mount failed: error code: 16
<3>init: /sys/fs/cgroup/memory mount failed: error code: 2
<3>init: /dev/memcg mount failed: error code: 2
<3>init: /sys/fs/pstore mount failed: error code: 2
<6>EXT4-fs (mmcblk0p30): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
<6>EXT4-fs (mmcblk0p35): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
<6>EXT4-fs (mmcblk0p35): mounted filesystem with ordered data mode. Opts: barrier=1,noauto_da_alloc,errors=continue
<6>EXT4-fs (mmcblk0p14): mounted filesystem with ordered data mode. Opts: barrier=1,noauto_da_alloc,errors=continue
<6>EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: barrier=1,noauto_da_alloc,errors=continue
<6>pil-q6v5-lpass fe200000.qcom,lpass: Subsystem error monitoring/handling services are up
<6>pil-q6v5-mss fc880000.qcom,mss: Subsystem error monitoring/handling services are up
<3>WLDEV-ERROR) wldev_set_country : wldev_set_country: set country for CH as CH rev 4

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

dmesg-Warning:
<6>warning: `qseecomd' uses 32-bit capabilities (legacy support in use)

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

dmesg-Fail:
<3>Setting cpu dump region failed
<3>mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-panel-status-command
<3>mdss_mdp_splash_init: splash memory reserve failed
<7>msm_vidc: 1: debugfs_create_file: fail
<3>usb_bam_ipa_create_resources: Failed to create USB_PROD resource
<4>Failed to load ipt action
<3>init: /sys/kernel/debug mount failed: error code: 16
<3>init: /sys/fs/cgroup/memory mount failed: error code: 2
<3>init: /dev/memcg mount failed: error code: 2
<3>init: /sys/fs/pstore mount failed: error code: 2
<3>[Touch E] [touch_work_pre_proc 2525] get data fail -100
<6>dhd_preinit_ioctls wl ampdu_hostreorder failed -23
[G2 Android Development] lynxrz:
Work on 3 days Undervolting and great result with your rock solid 4.2 kernel

I'll post here but It became bigger post than I think :)

Here is if somebody interested in with undervolting : http://xdaforums.com/lg-g2/general/guide-undervolting-lg-g2-t3160975/post61942892#post61942892
[G2 Android Development] secret.animal:
I've been in the 4.2.2 ls980 adjusted kernel and been quite pleased with battery life now on it. If course profile battery might be it.

Loving it.... Back to a usable phone.
[G2 Android Development] Everhez:
Second Reboot.

while he is watching a video in facebook.

https://drive.google.com/file/d/0B3Qj9bhEUjEkS1paUWVOX1hpdzA/view?usp=docslist_api

Enviado desde mi LG-D800 mediante Tapatalk
[G2 Android Development] silent_silver:
will check it out, thanks! :)
[G2 Android Development] blastagator:
Reboot. Got an SMS, the light was blinking. I tried to wake the screen. It wouldn't wake. Then LG logo. v4.2 (Default performance profile, w/out OC)

Nothing jumped out at me in the log.
[G2 Android Development] dorimanx:
After some checks. I think that some of reboots directly connected to low ram situation.

When kernel also releasing high mem allocated ram belong to drivers and crash rom or its self.

Please go to dorimanx app. Memory tab

And uncheck the high mem release box.

Apply.

Check if system is stable again even in low ram situation.

Sent from my LG-D802
[G2 Android Development] kRel:
LP: low amperage charge . . .

I have well-read line by line the characteristics of this kernel, but apart fast charge hack , I found nothing relevant to the well-known problem that plagues all G2 (or almost) to the migration of lollipop: the low amperage charge and the subsequent extension charge time up to 3 hours and even more ....

However, I found that this amperage varies depending on the status of the device: on, off, on standby, with screen on, or with screen off.

So my question is a general one, is not specific to dorimanx:: perhaps this is a condition of kernel design of this OS?
[G2 Android Development] Peppe91:
While charging, cpu temp it's OK about 50 degrees and battery it's 45 degrees but touch screen it's really hot! Had the feeling that burns my fingers [emoji3] with stock kernel touchscreen temp while charging it's fine. Any advice? Btw charging time with dorimanx kernel it's really faster than stock.

Rom stock 30b, xposed, default settings, dual Temp control.

Inviato dal mio LG-D802
[G2 Android Development] RainGater:
No, I don't think it's specific to L. I get a charge of 1600 mA using ORICO 36W 5-Port Desktop USB Charger and it charges in about 90 minutes (from 5 to 100%).

So, it depends on the charger and the cable and with [MENTION=2376110]dorimanx[/MENTION]'s help, it charges rather quickly!
[G2 Android Development] toybxb:
[MENTION=2376110]dorimanx[/MENTION]

after a week with your last kernel, i didn´t had any reboot !

i´m on No Name Rom, and i´m starting to realize that maybe it´s because of Xposed that i had reboot´s...

now, i dont have it and 0 reboots !

:D