yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
looks like crash in kernel memory. log dont show where, but it's all damaged as ram failed.

possible bug in game that tried to drain kernel ram when there was no more to spare.

kernel LMK tried to help but ram was corrupted.

when i see log like that: (just random part)

Msi^vfe40_`r/Cass_%rror_cdatus calIf errr qdAtur 0X8000000

msm_vfe40^prgbessWerror_spatu#8 v)ohathnn

isM_rb%40[pbobescY6(ol`$hon[statuc: camif viol`Dion

it's what i mean by writing about kernel ram corruption.

keep tracking and report if any more issues.
[G2 Android Development] krausw:
Hi Dori,

I had a sudden freeze while just ckecking emails and turning off screen afterwards. Screen started to dim and got stuck at about half way. The display stayed like this for about 3 Minutes. After that time I decided to restart the phone.

Here is my log...

Thanks in advance. :o
[G2 Android Development] dorimanx:
One of rom services stuck on cpu2 and locked the cpu.

Kernel stuck on processing this request.

In infinite loop.

Possible bug in rom code.
[G2 Android Development] repulse:
[MENTION=2376110]dorimanx[/MENTION] could your amazing kernel work with Magisk ?
[G2 Android Development] dorimanx:
Why? Cant you place file in system folder?

Its needed for other phones with elevated security, that block developers from messing with system mount.

We dont have that problem.
[G2 Android Development] duki994:
That looks to me like a memory crash made by pointer violating memory region range other than it's own.

statuc: camif viol`Dion ----> this is what caused it.

Some cache/swap driver random pointers probably conflicted.

Happened to on my G900H kernel due to some compiler bugs (or rather features that don't play well with Linux kernels).
[G2 Android Development] Äptiva:
It does work so long as I can remember how to get SELinux working properly.
[G2 Android Development] saarxee:
11.4 bad battery?
[G2 Android Development] foefur:
Is the 11.4 kernel bundled with a different battery?
[G2 Android Development] Floodland:
About the impact in battery usage, I found mpdecision running and consuming CPU even when another hotplug is in control. My solution to this issue was to wipe (or rename the file, if you ever need a roll back) /system/bin/mpdecision and reboot. After that, mpdecision no longer hog the CPUs without reason.
[G2 Android Development] Äptiva:
Is there a way to configure this kernel for selinux enabled by default? Just curious

Edit:

Modifed ramdisk for what I needed. [MENTION=2376110]dorimanx[/MENTION] may I upload the modified version I have for redistribution? It's your kernel I just had to tinker with it to fit what I needed to do and I have a feeling other people will want it as well.
[G2 Android Development] dorimanx:
Selinux can be enabled from dorimanx app.

Dont try to invent the wheel.
[G2 Android Development] dorimanx:
This driver is lack the cpu average sysfs once other hotplug is enabled.

So its does nothing. Its enabled to provide other functions needed by rom code. Its not hogging anything.

Again, dont invent the wheel. Its already done.
[G2 Android Development] Floodland:
Ok, I did not know that. Maybe the ROM I am using is bugged. I exaggerated a little when I said hogging, but found it persistently used +-5% CPU time while the screen is on, no matter which hotplug is active. After wiping the binary I did not find any side effect: CPUs are switching as intended, and top does show less CPU usage, all the time. I will report if I find any issue. Until now I see it a win-win condition.

Or maybe Autosmp does not use cpu average, I did not check the code, thank you for clearing my thoughts. Keep rocking
[G2 Android Development] Äptiva:
Had to be modded to take out your busybox to work. **shrug**
[G2 Android Development] dorimanx:
What ever dude. Use stock and close the case.

Or keep your privet mods to your self.
[G2 Android Development] blastagator:
Updated my script at the request of [MENTION=4456638]Äptiva[/MENTION] - for anyone else who wants SELinux on before ROM boot. There are now two zips on my site which you can flash that will change the command line BEFORE you boot. :)

v 1.2 for new kernel versions:

http://xdaforums.com/lg-g2/development/dorimanx-lp-script-to-enable-selinux-t3134013

Untested since I use CM13, but they should both be working.
[G2 Android Development] nman123:
Any way to make this work on f320?
[G2 Android Development] jeebspawnshop:
This has been answered many, many, MANY times before.

Search the thread before asking questions.
[G2 Android Development] falconhawk81:
Freeze and manual reboot in clash Royale.
[G2 Android Development] nman123:
My bad sorry about that haven't used XDA in a while thanks though got the answer
[G2 Android Development] kascro:
Your 11.3 kernel is a blessing, fast even after power on without a restart for a few days, battery friendly.

Will not update since this is it man!

Makes me use this phone and not upgrading for a while!

Cheers!
[G2 Android Development] Hiyaslalabs:
Anyone can share their best battery profile? Thanks.
[G2 Android Development] Diechel:
Yes, here you go

http://xdaforums.com/showpost.php?p=68375296&postcount=8585
[G2 Android Development] 60nine:
here is the best battery profile picture that i have
[G2 Android Development] Hiyaslalabs:
Perfect! Thanks. I might go back to 6.0 as the battery has never been good.

---------- Post added at 01:38 AM ---------- Previous post was at 01:36 AM ----------

That is not yours. You liar. You own a D802! Show me your D802 battery profile.:laugh::laugh::laugh
[G2 Android Development] dorimanx:
Hi :)

I have merged some code changes from all my sources.

And compiled new GCC 6.1.0 kernel builder and new busybox.

Testing on my device for a day + night, all good.

I will do more tests and release new build.

Stay tuned :)
[G2 Android Development] purpleraintoxicity:
Viper4android

Hey [MENTION=2376110]dorimanx[/MENTION]

I visited the OP and read the V4A section.

[SIDE NOTE it says to install the 2.3.4.0 version from your folder, but its not there]

so I downloaded this version from theV4A website and followed your instructions.

all work.

can I install a newer version? cause the 2.3.4.0 seems like its built for Android 2.2 and it had that annoying sticky notification

thank you
[G2 Android Development] repulse:
Sticky notification can easily be disabled
[G2 Android Development] purpleraintoxicity:
I know that

But I don't think this version is what I've needed to install
[G2 Android Development] dorimanx:
Sure, install the latest. Guide is outdated. But instructions still good.

I use 2.4.0 build.
[G2 Android Development] purpleraintoxicity:
So this happens

Installed busybox, didnt change.

I'm on 2.4.0.1

Using latest dorimanx on stock 30f
[G2 Android Development] repulse:
I suggest to use V4A from this thread, it's working like a charm. http://xdaforums.com/showthread.php?t=3289075
[G2 Android Development] purpleraintoxicity:
Thanks!
[G2 Android Development] repulse:
Using the ViPERAtmos 4.8 Sony Beats Edition right now.
[G2 Android Development] radzix27:
I don't know if it's kernel related but sometimes when I unlock phone I see bluetooth icon for split second.
[G2 Android Development] purpleraintoxicity:
Why 4.8 and not 5.5 if I may ask?
[G2 Android Development] repulse:
Check the OP, every major version is described ;)

IIRC 5.x versions introduces V4A 2.4 which is (was ?) bugged. But maybe fixed now.
[G2 Android Development] Mayson02:
I had this problem, but I think I fixed it by disabling that mount namespace setting in my superuser app. Either that, or if was just a coincidence.
[G2 Android Development] dorimanx:
News Update!

28/09/016

Kernel 11.5

*Merged code changes to RMNET,NET,SOUND,CRYPTO,ARM,AUDIT,TTY,HID,BLOCK,QSEECOM,DMA,SMP2P2,KGSL,QCEDEV

*Updated kernel GCC builder to latest 6.1.0 build + all needed fixes found during kernel build.

*Updated busybox with all latest code changes from source.

This build is stable on my device for many days now. GCC 6.1.0 hammered few code mistakes and it's managed the code in more efficient way.

Sadly this project is near completion. as kernel is stable. and device is getting old.

I am not sure what will be my next project, for now I am pleased with this kernel.

Have fun :)
[G2 Android Development] lordc:
[MENTION=2376110]dorimanx[/MENTION] From lgg4 world and as an old user of lgg2 and your kernel; I'm happy about your work and effort and I want to say again thanks you. But sad to hear that your work is arriving to its last time.

Thanks again

Enviado desde mi LG-H815 mediante Tapatalk
[G2 Android Development] dxkernel:
Thanks for your hard work Master. Was using your kernel for a long time for both kk and lollipop . Even i changed my phone by Nexus 6p I follow this thread all the time , thanks and keep going. In my personal idea just 6p can replace my beloved G2 .
[G2 Android Development] degman:
Device is old but now I have SGS7 Edge and it gives only multitasking, much better GPS, and great camera...... Only better hardware. LG G2 is great phone in this moment for me. This is sad because have no more official updates. But lollipop is still great OS, 6 and 7 have nothing interesting. And I still use my LG-D802 for a second phone.

Sent from my SM-G935F
[G2 Android Development] merlin21:
Time to say finally thank you Yuri!

Thanks for such an outstanding support all the years till now. For my g2 the end is near. I installed finally a new rom and that seems to be the last rom for this phone.

Gone be father again and in the new year my daughter get the g2 to "play with".

Perhaps the ways of your members will cross at another place / device. Hope it's OK to spam dev thread since kernel is already perfect many versions [emoji56]
[G2 Android Development] immi803:
Thanks master for such a bounty, enjoyed g2 all these years just because of you dori, thanks to everyone here for bearing each other, I've switched to oneplus 3, My kid lg g2 still stays in my drawer and in aeroplane mode on 11.4 dori :) I'll update 11.5 must , hehe

Thanks [MENTION=2376110]dorimanx[/MENTION] for such long and wonderful support for years, you made us stay on g2 for years

Last, wish to see you on Oneplus3, i apologize for spamming dev thread but can't stay away without saying THANKS
[G2 Android Development] CampfireVibés:
Great final release, super fast and stable so far!

I'm confident it will only impress even more in days to come.

Thank you so much.
[G2 Android Development] Diechel:
Thanks dori for the wonderfull kernel. Since I have the g2 I never used another kernel :p

Only stock one after installing rom. Does sound to me to only use Internet explorer once to download another browser.

For now my g2 is working but it's not the most beautiful one out there, it has some yellow spots on the screen and a lot of scratches. Would like to have a one plus 3 as next phone but I will wait for your choice and hopefully you will develop for that one too. If you are stopping kernel development for the next phone I would like to hear that..

Thanks again for your great work and kindness!
[G2 Android Development] dorimanx:
Before i will buy any new phone i will check 3 main things:

can it be rooted?

does it have recovery!?

does it have kernel source that can be compiled and it's will work normally as stock!

if one of this conditions fail. phone is disqualified immediately.

I dont care about camera or speakers....

I do like more rounded metal shape, not over 5.5" IPS screen with good res. and strong CPU + 4GB ram min.

All phones that have this conditions will be in my list of next device :) and i will not stop kernel development as long as i can do it without effecting my real life/job....

So stay tuned, enjoy LG G2 as long as it's lasts.... and i hope to see many of you in next thread for new device that will be selected. in next 4 months i think...
[G2 Android Development] immi803:
Oneplus 3 surely qualifies :laugh:
[G2 Android Development] khanjui:
OnePlus 3 or new Pixel, Pixel XL, there is no other affordable phone in market.
[G2 Android Development] CampfireVibés:
Phone suggestion

I would like to suggest the ZTE Axon 7.

Firstly because:

Hardware wise it competes with the best, 5.5 inch 2k amoled display,Snapdragon 820,4gb ram, 64gb base storage, micro sd card support/ or dual sim and a 3250 mah battery that gives about 5.5-6hr screen on time according to most reviwers,

Price wise however it competes with the one plus 3 at 400$SIM unlocked off contact

It has a durable metal housing and great design similar to the htc m8 mixed with the nexus 6

Secondly: it has all the software requirements you seek.

Unlocked bootloader, root, and kernel sources

It also has great developer support as zte officially supported a guy who tried to port cm13 and needed help.

It's guaranteed android nougat before the end of this year.

Lastly:

It reminds me a lot of the g2 as it has all the specs but from a small company that still listens and is thriving to grow. It's often compared to the 1+3 and has really made a name for itself with all the big tech YouTubers posting about it.

Here is why i think the community really needs you.

Only few developers are working on this phone so far

You really know what you're doing.

It uses quite a bit of its 4gb of ram and the multitasking performance could be significantly better with your kernel magic.

I know you said you don't care about speakers or camera much but just to inform you... :)

It has dual front facing hifi speaker with dolby surround sound

F1.8 20mp camera with ois and manual mode and 60/120/240 fps slow motion&4k.

Fast 0.25 fingerprint sensor

And the phone has been designed by bmw designers.

Oh and it's available almost all around the world so loads of people can buy it.

Anyways sorry for the long post and thank you again for the effort you put in to our g2's dori.
[G2 Android Development] runekock:
First of all, thanks to Dorimanx for providing this fantastic kernel for us.

Most phones seem like just more of the same these days. However, one development may turn out exciting: Project Tango.

The only Tango-phone yet is the Lenovo Phab 2 Pro, and it is too big, too slow, not to mention impossible to buy. But still...
[G2 Android Development] hitardo:
Thank you!

For sharing your work, dedication to this project and willingness to solve the issues found along the way.

It was a nice and fun ride, which I learned a lot from it.

Since jumping from KitKat to Lollipop, the G2 got slow and with many problems.

With your kernel, my G2 got new life and faster.

Two months ago I flashed the stock Jelly Bean ROM and was impressed by how slow the stock Lollipop ROM is. KitKat, for me, was a nice balance between battery and speed. But we should not remain in the past, right?

Your kernel saved my LG G2 for another year, until now. Today I am too thinking on switching phone.

But, I have a bigger constrain than your equation: it needs to be around 5" in order for me to use it with only one hand, when I am carrying things or trying to open a door with the other hand.

For now, my list is short, due to my budget:

- Huawei Honor 8, without source-code (for now); or

- Xiaomi Mi5 / Mi5S.

Specifications comparison here

.

Both these devices are around ~€400, have 4GB of RAM, decent CPU and have a ~5" 1080p screen.

If someone has more suggestions, I am willing to add it to my list.
[G2 Android Development] naraykln01:
I'm using desperate rom with dori 11.5 in LG G2 D802. My Wi-Fi gets connected but sometimes internet doesn't come. I mean web page not opening. It happens sometimes and frequently. Whereas at the same time, internet Working fine in redmi 1s custom Rom and kernel. Do i need to do anything?
[G2 Android Development] merlin21:
- check your router?

- if connection is OK with another device, it could be also your rom...
[G2 Android Development] zizuka:
Honestly performance of any newer device is close to G2, just see S7 vs G2 on youtube. Only camera and maybe screen are better. Save your money for now. And volume keys at the back still rock :D

Now guys move this discussion to General section, make a new thread if you wish but this is kernel thread.
[G2 Android Development] paradox69:
Hi :) .I have the D802 model and i wonder what rom is the best to go with this kernel...for now i'm using cloudy g2 3.3...

And..if i may ask...which are the best settings for the dorimanx app(for performance...) .

PS:sorry if I haven't posted in the right thread

Thank you in advance :)
[G2 Android Development] marian daciu:
What about zte nubia z11??

Meet all conditions for further development.

And i'ts a beauty phone??
[G2 Android Development] 4r44444:
Yes you are right, LG G2 is still one of the best smartphones with debloat and custom Kernel and some tweaks.

Display also still great when I compare to the S7 but needet to tweak it a bit with Color Control.
[G2 Android Development] naraykln01:
You don't need to tweak anything in dorimanx kernel latest. Trust me i installed 285 apps. Background apps dozen will be running. Performance is really good. I've used cloudy g2 3.3 long time ago and it's also good Rom. I would suggest to try cheloz v5 or desperate rom.

If you feel in call speaker sound is less, you can increase the gain in sound control of dorimanx tweak app.

There is also multiple profiles. So far been using default only. Please check the screenshots.
[G2 Android Development] falconhawk81:
Freeze in play Store and manual reboot.
[G2 Android Development] dorimanx:
Play store crashed gpu driver. Not something that was reported before.

One of the error codes was been triggered and kernel halted on gpu process.
[G2 Android Development] boyheadkick:
Phone unresponsive after inputting knock code

Input knock code, unlock sound plays but screen is black

Hard restart
[G2 Android Development] boyheadkick:
Another freeze and auto restart
[G2 Android Development] dorimanx:
Nothing in log. You are pushing device to much, high gpu oc, high pressure on ram, try more balanced profile, my setup. Just swith to performance, should give you what you need with less problems.
[G2 Android Development] saarxee:
Replace my battery? My device works fast with this kernel but battery got 3h sot.

Or buy new device?
[G2 Android Development] zizuka:
In dorimanx I/O tab, change read ahead, then go in synape and read ahead will show 1024 still (default).

D802, v11.5
[G2 Android Development] saarxee:
Why change it?
[G2 Android Development] zizuka:
Im not saying you should change it. It was a bug report.
[G2 Android Development] krija:
[MENTION=6983970]zizuka[/MENTION] Here it's works as it should ;)
[G2 Android Development] zizuka:
Might just be something on my phone then and its no big deal. The rest seems good.

running CloudyG2 3.3 i made full wipe before flash, maybe its rom that persists on 1024kb. anyway ill just keep it 1024. thanks for reply.
[G2 Android Development] gasReal:
[MENTION=2376110]dorimanx[/MENTION]

my g2 is flying, thank you master
[G2 Android Development] Nigglenuts:
Hey Dori, I would like to say thank you for your support of the G2 since before I can ever remember. You are a true Jedi Master of the phone world. I recently purchased an s7 edge (which has no development, at least the AT&T variant) and will be venturing into a different realm. Wherever you end up, as far as your next phone, I hope that you can provide more awesome work. Thanks again Dori! You're the man.
[G2 Android Development] Rachid.Ala:
Can't imagine my phone without dorimanx kernel.

I follow u since i9100 days

Cheers

Sent from my LG-D801
[G2 Android Development] smartpr1v4t3:
Since the latest version i have sometimes a network problem. No Network access is possible.
[MENTION=2376110]dorimanx[/MENTION] when you have time maybe you can check the log

Log:

https://drive.google.com/file/d/0B1cbckb82WVUYnN6andFMVBVWlU/view?usp=sharing
[G2 Android Development] radzix27:
I've restored kernel to v11.0 and v10.7 and problem disappeared. Also battery life improved.
[G2 Android Development] Djsam92:
Freeze and auto reboot with facebook app
[G2 Android Development] Vittorio_Fittaiolo:
Linux kernel 4.9 will support more soc for example the soc of lg nexus 5,i don t find the list, but it will be the Same for lg g2 or will be anyway Kernel support for g2?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] GalaticStryder:
It doesn't target Android, they are reduced sets of hardware capacities and machine code (.dtsi) to support a few things under Linux. Theoretically, putting support to the LG G2 in the mainline Kernel is possible, how we would deal with booting the image on a locked bootloader without the Android addons like vold to identify the partitions and the mounting points are the tricks to kick off.

Here's the bring up for some supported embedded devices:

N5: https://github.com/bhush9/linux/commit/9e36e20fd91b6ed99e0a1e69684b161282a698c1

LG Optimus Black: https://github.com/bhush9/linux/commit/999400d491d0bc0d857329950cec339d5d5690e4

N7: https://github.com/bhush9/linux/commit/46fb5280a0c88a7cf66333cd67a0159bd732ce3b (this one quite complete, it even has OTG support)

For all devices that are coming in Linux ARM: https://github.com/torvalds/linux/commits/master/arch/arm/boot/dts/Makefile (keep going 'older').

This is not "new" by any meanings too, history will tell you that Linux - without Android changes to it - on embedded ARM devices have been worked on for many years now.

Let's see how they manage to complete the set of features on those devices. I hardly think it will be of any use for the final user though.
[G2 Android Development] blastagator:
For anyone interested, a cursory explanation of the issue with getting mainline kernel support can be read here:

https://lwn.net/Articles/662147/
[G2 Android Development] robcore:
Really great read, thank you!
[G2 Android Development] d_Schizzo:
Time to say GoodBye... (for now)

Hey [MENTION=2376110]dorimanx[/MENTION] my Friend,

i received my HTC10 a few days ago and finally had the time and efforts to unlock and root it.

So, its time to say Goodbye for now.

I want to say "Thank You" for the last 4-5years (i think;)) in which i always run your kernel and learned a lot from you about android.:highfive:

For me, you are still one of the best kernel developer ever and i hope you will never loose your interest in developing!

It would be great to see you in another device section again (maybe the HTC 10 :o;) ) (Very good device btw, easy to unlock etc, outstanding performance)...

Still then, i wish you all the Best to you and your family.

Keep on rocking!

Best Regards,

Schizzo
[G2 Android Development] 4r44444:
Mobile access? If yes I have the same problem, I thought my sim-card is messed... from time to time just no more mobile network, after restart phone I have it again, WIFI works.
[G2 Android Development] gasReal:
random reboot for me, never happened.

what can I use to upload log? app "logcat" from playstore?
[G2 Android Development] smartpr1v4t3:
Phone freezed ( black screen) while it was in my pocket.

Have no idea what caused this, had 2-3 freezes the last week.

Maybe rom or data is damaged

https://drive.google.com/file/d/0B1cbckb82WVUVWZVdGZmbUpONnc/view?usp=sharing
[G2 Android Development] ogisha:
I have the problem but I am not sure whether it is dorimanx related.

Whenever I reboot my phone I am getting message "Android is updating: optimizing application 1 of 1".

I did not move any new application to system, and I am getting it every time I reboot.

What should be the problem or where could I find the solution, eventually.

Thank you very much.
[G2 Android Development] khanjui:
Export it from Dorimanx app.
[G2 Android Development] gasReal:
never done it, can you say to me how?
[G2 Android Development] boyheadkick:
open dorimanx app, go to last tab, tap kernel-crash-debug

open your file exporer, look for dorimanx kernel log with date and kernel version

upload for everyone to check :good:
[G2 Android Development] stroge:
Hi,

Phone froze when unlocking the screen. I was listening to Poweramp beta and facebook was opened also.

Log didn't say useless so I uploaded, hope it helps.

thanks.