yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] GalaticStryder:
Incremental builds and D802 latest

Folks, I decided to reorganize the way my script works, so I decided to do the following concerning to versioning:

The release name is still there in alphabetical order, but I managed to do 3 stages of builds.

Incremental: My own testing builds for certain features, they will follow a scheme like that:

LambdaKernel-Dominó-Incremental-N5-d802-12212015.zip

N1, N2, N3 are the number consecutively successful compilations...

Some of them are "open" (shared) but risky.

Beta: They are closer to the proper release version but still can have some errors or bugs to be reported and tested, they are open for everyone to test.

Stable: That's the monster, the proper safe build for everyone to flash and feel :laugh:

Release name switches the letter when it achieves stable. There might be times when we have two or more different release names in different stages (beta, stable, incremental...).

OBS.: Talking about that I'll push my latest D802 incremental for testing once I need reports about fast-charge, sweep2sleep and some more patches for Faux Sound Control.

Incremental Number 5: Google Drive.
[G2 Android Development] dharani1234:
[MENTION=6175749]GalaticStryder[/MENTION] - Could you pls take a look int the D800 issue when you get a chance ?
[G2 Android Development] shaneel1491:
Incremental 5 is running great, thanks for implementing all these nice features, fast charge is also solid at the moment!:good:
[G2 Android Development] Krenol:
[MENTION=6175749]GalaticStryder[/MENTION] could you add the md5 of your uploaded zips somewhre?:) sometimes my internet sucks and i get bad downloads :/
[G2 Android Development] GalaticStryder:
Ja, I'll put them all in a file with their respective file name when pushing to Drive. XDA stable builds always have md5 checking.

I already did, the next build must work... otherwise I would screw cause as I said there's very few code variant specific, the variant thing is all in the config files for D800 and they were changed the same way D802 and others.

I'm testing fast charger as well, may need some more polishment but we'll work this out in the next releases. It's version 2.7 from dorimanx. I' considering updating to 3.4.117 kernel as well.
[G2 Android Development] ytgbg:
[MENTION=6175749]GalaticStryder[/MENTION]

Latest N5 is workung PERFECTLY on my D802, not a single problem, not a single hickup. THANKS and fast charge is great new addition.

Great news on the 3.4.117 bring up :)
[G2 Android Development] Lawlrus:
[MENTION=6175749]GalaticStryder[/MENTION]

Awesome bro, thanks a ton. Been using your kernel since you started releasing, and I'm the type of person that always tells people to use stock kernel.

Every build has been spectacular
[G2 Android Development] GalaticStryder:
Thank you, always supporting my threads and clarifying peoples' doubts ;)

I just try to add things that I know what they do, read the commits and port code... simple and safe, many dudes overwhelm their development adding stuff that is not meant to be added, or not respecting other's code. I'm still newbie, but I've been learning the safety way for the past two years.

Could you test Synapse? If it doesn't work right out of the box, you can flash UKM manually here:

http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

I built my version before patching it and didn't flash the new ones.
[G2 Android Development] fendaris:
I'm having an update binary error when trying to flash the ls980.
[G2 Android Development] GalaticStryder:
What it says? I activated device checking, maybe it's getting the right property from your ROM. Provide more info.

Fixed just redownload.

Here's what was wrong: https://github.com/GalaticStryder/AnyKernel2/commit/637c2a176f7844f5ea80424a95e27ce4fa39cc55
[G2 Android Development] Lawlrus:
[MENTION=6175749]GalaticStryder[/MENTION]

Yeah, i sure will, and I couldn't have said it better myself. Simple is ALWAYS better. Get it running well and add small things here and there.

You start adding all kinds of commits and you break things.

As far as the issue flashing, I think either it was a bad upload, or the DLS are not working right. I tried to DL it at work on their WiFi and the kernel fled with some odd long ass letters. I chaulked it up to my works WiFi, and was going to try and DL once I get home.
[G2 Android Development] GalaticStryder:
As I mentioned above, I enabled device checking for people not brick their devices as a "plus" safety layer, but then I needed to add one more device (VS) and I misspelled it on code replication. Now all fixed, CCACHE makes a full build in less than a minute.
[G2 Android Development] dharani1234:
same issue on d800
[G2 Android Development] thtkidsvm:
Compiled latest lambda kernel beta for my d801 and it works great and smooth as butter. This is probably the best I've seen the kernel, doesn't seem to need cpu OC. I'm new to compiling kernels and ROMs but am good at following tutorials so I just thought let me try it out. If I had a bigger hard drive then i would have tried compiling and porting ROMs. When I went through the menuconfig I saw multiple other CPU governors that looked like it was enabled but when I finally compiled the kernel and flash it all I see are interactive, conservative, impulse, perf., and power saving. Is there a way I can try the other CPU governors out? I'm using cm 13 nightly 07/01 with kernel auditor BTW.
[G2 Android Development] TheHaso:
Hi, i flashed the Beta N4 successfully, and installed synapse. Everything kernel related seems to be working good, but whenever i open synapse it says "No UCI support detected". What is the issue?
[G2 Android Development] samuele94:
Same issue here, I suggest to use kernel adiutor
[G2 Android Development] Floodland:
The issue is that you posted a question answered many times over the last months.

Best option for me is to use kernel adiutor mod by now. (And use the forum search option)
[G2 Android Development] TheHaso:
I did, and noone gave an answer to the issue, but an alternative. Since this issue wasn't listed on OP, I thought I did something wrong.
[G2 Android Development] android extreme:
The developer said in one of his post that for now the synapse support is removed because the kernel was completely rebased
[G2 Android Development] pmgnet:
Hi, GalaticStryder, I'd like to try beta for zram tests on d800, if that's an option. I don't currently have a build machine, so I'd currently need to get a pre-compiled kernel.
[G2 Android Development] blakeatl:
@thtkidsvm Care to share your build with me?
[G2 Android Development] android extreme:
On vanir rom(on a clean flash)i've installed latest hypnose beta 4. Every time that i would play a video with youtube the phone reboot, this happen also when i try to open the camera. No strange patch installed mod or xposed
[G2 Android Development] xxoscarxx28:
This is a known bug coming from latest (June) Adreno libs released by Qualcomm, merged by theMuppets, and therefore not related to Lambda Kernel.

Use this as temporary fix. [MENTION=5236920]zg85[/MENTION]'s Fix
[G2 Android Development] destroyer31:
I came here dorimanx 5.0.2 LP. Firstable thanks for awesome kernel. no 2.8 OC and no fast charge on kernel auditor. I couldnt see. latest n4 beta and aicp MM.
[G2 Android Development] xGOGI:
How to unlock charging current more than 500mAh?
[G2 Android Development] Mrondo:
I managed to compile the latest hipnose beta for my d801 over the weekend and I'm stoked by how fast the kernel is. Good work from our devs. For those having issues on getting stuck on boot logo after compiling, use limiter branch for kernel and init branch for anykernel
[G2 Android Development] lunafag:
A really weird problem. Sometimes using this kernel my phone starts emitting high pitched noise from under somewhere in the middle of the screen. Happened three times so far, I couldn't pinpoint the reason. Reboot helps. Also the BOTTOM right corner of the phone, where the microphone grill is located, sometimes gets very hot without any apparent load. D802.
[G2 Android Development] GalaticStryder:
Be more specific, much more.

1. What version of the kernel?

2. What firmware (ROM)?

3. What situation forces it to happen (the most)?

4. Use the dmesg tool to supply feedback, otherwise, none of this happened.

Many ROMs out there are using my kernel, my Paranoid builds use it as well, I haven't seen problems like that since... Well, ever. As you didn't specify what is the version I presume is BETA 4, it's hard to tell what could have been the cause of that, though the kernel might not be the one to blame. I overload it as much as I can before pushing anything to the public and by far this doesn't happen.

--- CUT HERE ---

After getting Paranoid fixed for some working days, I touched the kernel to rebase it publish the 5th BETA. If it's all good then we'll lead to the stable release with support for all CM based device trees and my CAF device trees out-of-the-box built-in the script with enforcing support as well.

--- CUT HERE ---
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], I just wasn't sure what logs to fetch, will do next time. Your build of paranoid + beta 4, no gapps, no xposed. Overheating occured when I was setting everything up after clean flash, the noise started during the charging but like I said, I couldn't pinpoint the exact conditions. They are quite easy to miss as well.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], Welp, just pulled it out of my pocket and it's making that noise. It's actually closer to the right grill, so the issues might be connected. Attached as much info as I could, not rebooting yet in case you need anything else.
[G2 Android Development] GalaticStryder:
That's explained but the sound isn't related to the Kernel. My PA device trees aren't compatible with BETA 4 and lower. I'm preparing a big kernel release after testing it to the bottom on newest PA.

As PA uses qcom init files, it doesn't work on BETA 4 and other non-Pure builds that need init patches.

After fixing many things I'll come up with BETA 5 release tomorrow and PA updates that fix baseband verification on enforcing mode.

When booting the new Kernel it'll start on permissive and switch to enforce after booting up.
[G2 Android Development] destroyer31:
We want fast charge or raise up 300 mah

Thanks for your works.
[G2 Android Development] GalaticStryder:
Hello, welcome to the sunshine.

Before the BETA being published, I need someone to test the incremental build that's in my Google Drive.

Don't flash it if you need a working phone, this is extremely testing:

- 3.10 cpu backports
- crypto
- lz4 crypto compression with crc32 updates
- zram
- process reclaim
- swap
- zram with lz4 compression on 4 streams
- state notifier hooking on lge_touch_core
- new idr api
- voltage control "v2"
- gpu and cpu oc
- rpm updates
- the usual schedulers
- latest workqueue code
- bitmap updates
- usb and xhci patches
- s2s
- adreno idler
- memory management updates
- sdhci updates and affinity

Seems like very few changes but they are more than 40 github pages so... it's not few.

Crypto code is my only doubt of all this so be careful.

It's ready for CM based device trees and my mixed CAF device trees.

Read the statement in

RED

if you aren't sure.

It can "destroy" - encrypt - your /data partition if using F2FS alongside encryption sometimes!

Great testing, feed me logs!
[G2 Android Development] ytgbg:
I just did bite the bullet 5 minutes ago.

Phone booted just fine. Made phone call, listened to mp3, started a movie with MX Player, checked few of my apps. Did some extreme tuning with Kernel Adiutor and all seems fine and kernel is snappy as hell.

Will report if I get some sod, freezes or bugs.

Thanks!
[G2 Android Development] khanjui:
I think there is no need to zRAM for this device, but it's good for heavy multitaskers. Is there any reason to you keeping "noop" as a default I/O scheduler and 512kb cache?
[G2 Android Development] SREEPRAJAY:
Members

Is it necessary for each one of you to quote the entire change log?

Please edit your posts and try to refine it to only what needs to be mentioned and with logs...

Thanks
[G2 Android Development] GalaticStryder:
Noop and CFQ are simpler than other I/O scheduler. As for the booting process, it makes a little difference, not much, we don't need sophisticated schedulers running when the read/writes are high, we just wanna read/write. At least I've used this since I started using Linux on my laptop and computer and there's no problem at all on it.

The default script changes it to ZEN after it has booted.

512kB of read-ahead has seemed to create more entropy. Also, dorimanx pointed it here: https://github.com/GalaticStryder/kernel_lge_msm8974/commit/09f1b057c9692980b23a76210a065e55b11a0461

As for ZRAM, I've followed neobuddy's implementation on shamu instead of hammerhead implementation. The ZRAM calculation may vary accordingly to user needs and usage spectrum. When running stock LG's firmware this can be useful given it demands 700~800MB out-of-the-box (no mods, no cron, no LMK tuning). CyanogenMod doesn't "suck" all that in terms of RAM, neither straight from CAF AOSP builds although I'm sticking with 512MB (that might fit every user needs by default) of Swap with 4 compression streams, it will ensure it doesn't lag on high usage and will distribute I/O on all cores creating more entropy and consequentially reducing the lag. Will consume more battery but it's worth in case you don't wanna replace your old phone just for multitasking purposes.

The LMK is tweaked to aggressive to avoid this though, decreasing LMK barrier is easier than tweaking ZRAM so it's all about user choice, swappiness and vfs cache pressure are also in the game to avoid this, they are fairly easy to change as well.
[G2 Android Development] aleasto:
Booted, it just works. KISS. :p
[G2 Android Development] horbolsi:
it dont work ! i flashed the incremental then reboot phone and nth change ! am using zg85 albina 11.1 aosp kernel / cyanide 12.07 / g2 D802

Envoyé de mon LG-D802 en utilisant Tapatalk
[G2 Android Development] Josh:
Bootloop on latest Cm13 07/15 nightly D802

Edit:sorry I read but didn't see about logs!:eek: How to get log on easiest way ,sorry for noob question . Thanks in advance!
[G2 Android Development] android extreme:
On which rom you have installed it?
[G2 Android Development] ytgbg:
PA
[G2 Android Development] Josh:
What is the issues of PA rom,battery life?
[G2 Android Development] GalaticStryder:
I didn't test CyanogenMod for the past two months but it has everything to be compatible, even if it doesn't have the new changes from CyanogenMod kernel.

Discuss this on Panaroid Android thread located HERE.

Let's get the thread smooth and clean for Kernel related discussions, I just posted that one a while back as a "heads-up" for that project and cause I didn't want to create a thread just to show that I was working on PA.
[G2 Android Development] ytgbg:
[MENTION=6175749]GalaticStryder[/MENTION]

I am using latest incremental with latest PA build.

Strange but after awhile I am loosing mobile data. I didn't notice that yesterday because I flashed the incremental tested it with different apps and played with Kernel Adiutor Mod and after that I got home and used only wi-fi, but today I went for a walk and although I had LTE indicator and full signal I didn't have any internet access, my messenger app of choice stayed at connecting state, I restarted the phone, wiped cache and davlik but the result was the same: no mobile data was getting through.

Very strange. I flashed Beta 4 and the mobile data is working as should, after few hours I flashed back the incremental and again after some time the same happened after about an hour - getting mobile data and then not...

That never happened to me before, very strange.

The incremental is incredible and the speediest my phone was ever...

I needed my mobile data and didn't get a log, although I think that log will not show anything, I can flash back the incremental and wait some time till a loose mobile data and get a log or do something else that you thing can help...
[G2 Android Development] GalaticStryder:
Really strange, that incremental build wasn't 100%, I had many problems on it like reboot-stuck, powering off problems but no random reboots.

I've cleaned it up and found the source of 'em, fixed and recompiled. It's working wonderfully back again with 2.8GHz frequency table and all the goods.

Despite the fact that I can't test 3G/4G connectivity here, everything seems normal on BETA 5 I've just published. If anyone can confirm it's working I'll update the thread and recommend it. Otherwise, I'll blacklist it.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], had connectivity issue with crdroid + incremental as well, but I blamed crdroid for not being up to date. Data works for a couple of minutes then stops, and if you disable and enable network it will show something like full LTE but with an exclamation mark. The easiest way to reproduce is to tether - it drops almost immediately. Will try the beta right now.
[G2 Android Development] ytgbg:
I will try Beta 5 and report.
[G2 Android Development] GalaticStryder:
In any case, you can compare the Github branches from BETA 4 vs BETA 5.

Limiter for BETA 4: https://github.com/GalaticStryder/kernel_lge_msm8974/commits/limiter?page=1

Lambda 3 for BETA 5: https://github.com/GalaticStryder/kernel_lge_msm8974/commits/lambda3?page=1

Wireless changes and non-related to connectivity have nothing to do with SIM connectivity. SPS, NET can possibly match this issue.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], rebooted, enabled hotspot, after a minute the connection dropped. Beta 5 + crDroid June 2 build, d802.
[G2 Android Development] GalaticStryder:
Hum, opting-out watchdog with timeout set (10s) causes tx to hang and then throws exception. I'll try to reproduce right here, patch it and try to reproduce if it's fixed.

Good report.

Fixed.

Also, fixes the GSM connectivity failing since it passes through watchdog. At least the hotspot called "Crazy" hosted on the G2 passed the connection to the Moto E using my 3G network on the LG G2, 3 mins of testing, seems stable.
[G2 Android Development] ytgbg:
Beta 5 is working perfectly with mobile data. Tested it from yesterday and all is fine.

Edit: I spoke too soon. The loosing of mobile data started to happen again. This time reboot is solving the issue.

D802, latest PA, Beta 5.
[G2 Android Development] barrtzz:
What's wrong with synapse. It's no UCI support detected. On hipnose beta N4.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] ytgbg:
It is mentioned by GalaticStryder and discussed already that for now Synapse is not working, but you can use Kernel Adiutor Mod with great success.
[G2 Android Development] GalaticStryder:
Flash latest incremental with rmnet fixes for watchdog timeout and you'll probably be fine. Plus, you'll be flashing FFC kernel with UKM support enabled.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], latest incremental stuck on LG logo on the latest crdroid and on the latest PA, clean flash, d802. Is there a way to get logs form this stage?
[G2 Android Development] ytgbg:
Latest rmnet fixes incremental booted just fine on your latest PA. Will investigate the mobile data situation and report.
[G2 Android Development] GalaticStryder:
It's the same kernel as BETA 5 plus the fixes + force fast charge. Try doing the setup with the default PA kernel and then reflash, the first boot should always use the stock kernel. After that, just dirty flash and clean caches, reboot. I'm running this version on my device since yesterday, seems solid as rock. Mobile data worked for me all the morning when I got around walking in my neighborhood.
[G2 Android Development] ytgbg:
I dirty flashed the latest incremental on latest PA and then just in case bumped with blastagator's bump zip and all went fine.
[G2 Android Development] GalaticStryder:
You don't need to bump it twice. My anykernel script runs on flashing and does it on its own. E.g.: You install system-less root SuperSU. Just reflash my kernel and you'll get a bumped boot image again and will be able to boot just fine.

See here: https://github.com/GalaticStryder/anykernel_lge_msm8974/blob/lambda2/anykernel.sh#L107
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], tried flashing just PA, booting, then wiping cache/dalvik cache and flashing the kernel, still stuck(shows the logo for about 30 seconds, then reboots, then logo again, etc). I even backed up and wiped internal storage. The phone doesn't show up in the device manager. Does the kernel require any specific bootstack/modem? Because I'm not using any, once in a while I just do tot+dll flash, then CSE flash the official 30d, then root+autorec, then update to the latest twrp and do all the flashing. [MENTION=5351413]ytgbg[/MENTION], there's no secure boot error but I'll try.
[G2 Android Development] ytgbg:
Good to know. I am flashing it through Kernel Adiutor straight which is automated flash procedure and just added the bump just in case, but while flashing I noticed a line at the end of your kernel installation that said something like "bumping image"... Now I am not going to do that anymore. Few seconds are saved and one less pain in the ass :)

By the way the mobile data is holding till now with latest incremental, I am continuing the testing.

---------- Post added at 05:41 PM ---------- Previous post was at 05:11 PM ----------

Good to know. I am flashing it through Kernel Adiutor straight which is automated flash procedure and just added the bump just in case, but while flashing I noticed a line at the end of your kernel installation that said something like "bumping image"... Now I am not going to do that anymore. Few seconds are saved and one less pain in the ass :)

By the way the mobile data is holding till now with latest incremental, I am continuing the testing.
[G2 Android Development] Floodland:
Hi, beta 5 and latest incremental generated bootloop with Krexus (Aosp based). Beta 4 works amazingly with it.
[G2 Android Development] GalaticStryder:
Taking a look on it, it's weid cause I've been flashing many builds in a row and it just works. When I flash the latest one it stucks me as well. Somethin' ain't going good down the hood.

Okay, found out that for some reason my dtbTool has corrupted :confused:

Just 'curled' the one from CyanogenMod and 'chmod' it back again did the job, booting just fine.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], Some good news and some bad news. The latest incremental booted after I flashed beta 5 first. So, beta does some persistent changes that the incremental doesn't. As for the bad news, the network fix didn't work - I ran speedtest and it dropped almost immediately. Seems like the bug happens under high network load, same as in beta 5(after I tethered I immediately opened many tabs in the browser). The log is attached.
[G2 Android Development] GalaticStryder:
Get the new incremental that I'll upload. It was defective as I said previously.
[G2 Android Development] lunafag:
[MENTION=6175749]GalaticStryder[/MENTION], booted fine. Tethered, opened a youtube video - network died.