yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
Sorry cant fix that, its should be fixed on app / rom level.

Try app that never let me down,

Gentle alarm paid app. But its have all you need even great wedget.

Sent from my LG-D802
[G2 Android Development] dorimanx:
[MENTION=3970210]krija[/MENTION]

Can you take a look at this stweaks mods by other dev

https://github.com/B--B/STweaks

I have received OK to use changes from that git for our stwekas :)

They have theme selector and many other nice things.

Sent from my LG-D802
[G2 Android Development] krija:
Yes i know about this great mod, i'll try to not mess up :)
[G2 Android Development] Computoncio:
[MENTION=2376110]dorimanx[/MENTION] i only notice today that i couldn't flash your kernel, and the reason was because it didn't mount system, my system is f2fs.

So no support to f2fs :crying: lets fix it.

I patch updater-script, i replace this:

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");

With this:

package_extract_file("mount.sh", "/tmp/mount.sh");
set_perm(0, 0, 0755, "/tmp/mount.sh");
run_program("/tmp/mount.sh");

mount.sh is attached.

With this i can flash your kernel without issues.:victory:

Test to see if it flashes in your phone, i think you have ext4 system.

I have used my idea to detect automatically fs type from the S2 time.

Feel free to change what you want.

Nobody notice this before because data partition is mounted automatically in recovery.

This let me to another question, I'm the only one who's using system in f2fs?
[G2 Android Development] Diechel:
From a website

On top of that there shouldn’t be a real performance gain with a F2FS /system partition because it’s read-only. And reading operations are fast with ext4, too.
[G2 Android Development] Taifuuni89:
It was reported in the recovery thread.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Thanks, will be fixed :)

EDIT: DONE see git :)

Sent from my LG-D802
[G2 Android Development] gasReal:
stupid lollipop for now, I stay with kk+dorimanx and peace :D
[G2 Android Development] jamesd1085:
Lollipop needs some dorimanx power...this thing runs great but eats battery something terrible
[G2 Android Development] Tinchoska:
Just let me add some things no else on your post... Lp needs dorimanx + pardus...

Battery is suppose to be solve on the lp version we are going to have.... 5.0.2 right? Let's hope we get 5.1
[G2 Android Development] jamesd1085:
I have d801 and we got 5.0.2...and i have wanted to try pardus forever but tmo isn't supported...but dori kernel is a must...idk if i can imagine keeping my g2 without it
[G2 Android Development] dorimanx:
then wait, and stop posting empty useless posts here.

Use QA for small talk.
[G2 Android Development] krija:
First shot

Big thanks to B--B and his staff.

Changelog

- built from B--B's latest sources

- "dealucarded" partly, what wasn't removed stays there to give credit where due

- removed all unnecessary resolutions

- removed italian language (sorry, it's incomplete after my changes)

- changed icons

- added restore and backup buttons to profile tab

- added DorimanX OTA button to menu for launch or install this great app.

Note

I'm already on lollipop, so can't test the app. If any bug occurs, or you have suggestions, please mention me in Q&A thread.

Bonus

Synapse built from latest sources and with do not show again checkbox in popup window.

Thanks again to B--B.

Some screenshots (Stweaks=lollipop) and both apks attached.
[G2 Android Development] g.paganini:
[MENTION=3970210]krija[/MENTION] no stweaks after reboot, synapse is here.
[G2 Android Development] dorimanx:
[MENTION=3970210]krija[/MENTION]

New stweaks looks good. But with few bugs...

* can you please set dark theme by default, white is bad taste...

*all buttons that can be pushed, have same color as background, and its not right...

New user will not see that its can be used.

Can you please set some box around, and use different color, its will great.

Thanks for spending your time on merging our stuff :)

I am not sure that profile setting is working... need to test some more.

Thanks.

Sent from my LG-D802
[G2 Android Development] g.paganini:
Is there any way of getting back stweaks? I installed krijas Mod. After that no stweaks even after I refreshed 10.1.2 and deleted. dori folder?
[G2 Android Development] dorimanx:
Beta release.

To all BETA TESTERS. new BETA 10.1.3 for all models is ONLINE in beta storage.

*Fixed installing kernel when your system/data is F2FS.

*Updated busybox 1.24.1 from source + Android NDK patches and fixes.

*Added new STweaks sound control: INCALL Speaker gain! now we can boost the incall volume. not depending on headphones gain.

READ the control description before asking!

*Fixed hotplugs switch function, now works as should. in some cases cores where STUCK ONLINE when switching hotplugs.

*Merged new I/O sched. "ZEN" it's fast and tuned for Android SSD storage.

*Disabled hidden bricked hotplug driver, it's needs to be fixed before use. no point to leave it in RAM.

*Alucard optimized all his CPU govs and his Hotplug driver + tuning by me.

*Reverted one change in GPU driver that seems was the scrolling delay bug. we have more gpu steps than default driver.

*Boosted GPU 100Mhz step with higher bus freq. to reduce small lags when min gpu freq is 100mhz.

Have fun testing. :)

Report any bugs that are kernel related. i will check and fix.
[G2 Android Development] wkobaint:
Just go to setting-app and select com.gokhanmoral than uninstall update
[G2 Android Development] g.paganini:
I removed them from titanium backup, wiped data also... Flashed 10.1.2, and now everything is fine... Thank you!
[G2 Android Development] krija:
Did you solve it? E: Now i see, ok :)

Thanks to you too.

*dark theme is default

*button color is now holo blue (i can't test)

Profile settings worked fine for me . The problem could be caused by insufficient informations in toasts. I'm not able implement various statuses or checks commands from your scripts.
[G2 Android Development] pdimi70:
After two reboots, Test Cron Task Service reports "Service is online and supported" while main switch is OFF

DorimanX BETA 10.1.3 , CloudyG2 2.2
[G2 Android Development] dorimanx:
Beta release.

To BETA TESTERS. new BETA 10.1.4 ONLINE.

*Fixed bug with stuck cores when switching hotplugs. added small delay from one to other and cores off function.

Now works as should. very old bug.

*Changed vol to gain descriptions in STweaks XML for sound control.

Have fun :)
[G2 Android Development] Alexander1988:
Sorry to bother but CRON TASK service seems to be online regardless of what the user's option is. Just a report.
[G2 Android Development] duki994:
There are less microlags overall. I think they are not gpu related, but more CPU freq/governor related (and of course ROM compiler optimizations, app coding...).

Govs like alucard and ondemandplus are using low-mid frequencies a lot and those low-mid cpu freqs cause cpu bottlenecks and microlag "stalls" within apps.

Hotplugs:

Finally no more stuck cores when switching from Alucard to MSM :)

Good work :D
[G2 Android Development] dorimanx:
Govs can be tuned for more high freqs.

Thanks for hotplug report, bug was old granpa when i found it lol.

Sent from my LG-D802
[G2 Android Development] iko11:
Quick Report: Running latest BETA 10.1.4 for couple of hours and I can say optimizations on Alucard really made a difference. It's running smooth, scrolling is better. New Stweaks looks gorgeous by the way :D
[G2 Android Development] Tinchoska:
About beta no problems at all, been using it for about one hour...

I do prefer the one that came on kernel.... The look is nicer....
[G2 Android Development] SPBoss:
Beta is running good so far here :)

There is stutter in tapatalk app but that's because it is so poorly optimised.
[G2 Android Development] wkobaint:
Yeah, agreed with you. The latest beta running normal and more cool temperature. Mine using alucard gov and alucard hotplug.

OT ; I don't know how to optimized this tapatalk, nothing change better even on the last update.
[G2 Android Development] wkobaint:
http://www.dorimanx.com/LG-BETA/
[G2 Android Development] Kemby13:
I must say that the latest beta is working flawlessly. Phone is fast, snappy and without any lags.

Msm hotplug + Darkness gov are working their magic, but with Zen instead of Row it seems more

battery friendly than ever before. Now after 5h on battery and 2h 15min of sot i still have 80% left!

Great work master Dori :good:
[G2 Android Development] Tinchoska:
On darkness and alucard hp been having great battery, smooth and no troubles at all
[G2 Android Development] :
Okay the new Interface looks good but i dont like the rounded style and big Buttons. I wish me more materialstyle... Like the old one :)
[G2 Android Development] pitsgraft:
Hi [MENTION=2376110]dorimanx[/MENTION],

Here's my D802 Self reboot/ restart report on kernel-V10.1.4 beta

https://mega.co.nz/#!slp01BTb!hIqKCxCd9M8vxrz4LK2s-pt8Ns6YTX3_uW9NaOuq9Yw

I Hope this helps.

Cheers
[G2 Android Development] stealth919:
THANKYOU THANKYOU...Running bone stock Sprint LS980 with ZVE-Rooted-TWRP 2.7.0.0-and Kernel 10.1 with KNOCK (now) and everything seems to be working much better...Quicker Data and Camera Performance and Camera Flash is much quicker from what I can see right off anyways :)
[G2 Android Development] :
Hey Dori one question about WLAN...is there any way to increase wlan power via Kernel?
[G2 Android Development] je2854:
awesome battery life!

vs980 xdabbeb vs980 2.3.0 with dori 10.1

almost 2 days of battery life with medium to medium-high usage
[G2 Android Development] dorimanx:
Not helping. REBOOT is not kernel problem.

camera app has nothing to do with kernel, and flash too...

report relevant info. thanks.

No. already been discussed.
[G2 Android Development] krija:
Back to KitKat and to Dori´s kernel

Changelog

-extended my previous version with B--B´s some stuffs (without settings part, so no themes etc) Thanks!

-changed some colors, dimens...

-added our stuff, like dorimanxota app

etc

Please, test profiles part. I think, now is everything ok. I forgot to change in one java file .alucard folder name to .dori.

enjoy :)
[G2 Android Development] je2854:
If it ain't broke... Don't fix it..
[G2 Android Development] tehbigbug:
The stock kernel wasn't broke. And Dori fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And fixed it. And look where it is now. It's like, super mega awesome. So... Yeah.

Dori, don't stop fixin'.

I'm from Texas; I can say it like that.
[G2 Android Development] je2854:
I was talking about the application...
[G2 Android Development] dorimanx:
looks good! one request. can you please restore the push button boxes? it's was more PRO that way.

now it's just huge different color line...

all the rest seems great! :)

Thanks for your hard work.
[G2 Android Development] krija:
[MENTION=2376110]dorimanx[/MENTION] what do think, please?
[G2 Android Development] :
Looks better as the other one :D
[G2 Android Development] fLipz:
Looks Good! Great Job!
[G2 Android Development] :
Maybe another font color for the greymaterial Text like....glow wihte or something like that...or brighter :)

And i have the paid OTA App...but i can not enter the OTA App in ur Stweaks i got a link to Free App in Playstore.
[G2 Android Development] SPBoss:
Zen scheduler seems better than row so far. Better battery life and it doesn't slow down the phone as bad as row does when apps are being installed :)
[G2 Android Development] :
Sry for double post but i got a error by editing...

See the Picture, i mean that brighter Color.

http://www.bilder-upload.eu/show.php?file=69e73e-1428404972.jpg
[G2 Android Development] dorimanx:
Very good! i like it :) great work.

I will include in next build, if you like to do small mods as you think is good, i will wait.

If not, then it's looks great. thanks for your contribution to kernel project :)

This STweaks will follow me to every device i will have. :)

Same for other kernel project members!

Respect to you! :good:
[G2 Android Development] dorimanx:
agree. i think it's good to set it as default I/O gov. at boot, and in default set of profiles.

it's works good, no side effects, or slowdowns.

thanks for report.
[G2 Android Development] je2854:
I see no Zen I/O....
[G2 Android Development] merlin21:
At this time only in last beta version.
[G2 Android Development] je2854:
ahh, downloading now then....

thanks!
[G2 Android Development] duki994:
/* from Q&A thread */

Looks like dori's LGE Charging Scenario release code did not execute.

/*end from Q&A thread*/

[MENTION=2376110]dorimanx[/MENTION]

Since our charging driver periodically checks for charging, I see a lot

smb349_is_charger_present: DC is missing.

in logs. Maybe setting LGE Charging Scenario unlock wakelock in smb349_is_charger_present can help?

Like this:

static bool smb349_is_charger_present(struct i2c_client *client)
{
u8 irq_status_e;
bool power_ok;
int voltage;
struct smb349_struct *smb349_chg = i2c_get_clientdata(client);

if (!smb349_chg) {
pr_err("smb349_chg is not yet initialized\n");
return false;
}

/* uses under voltage status bit to detect cable plug or unplug */
mutex_lock(&smb349_chg->lock);
irq_status_e = smb349_chg->irqstat[IRQSTAT_E];
mutex_unlock(&smb349_chg->lock);

/* insert case is 0, remove case is 1 */
power_ok = !(irq_status_e & 0x01);

if (power_ok) {
voltage = smb349_get_usbin_adc();
power_source_state = 1;
#if SMB349_BOOSTBACK_WORKAROUND
smb349_pr_info("DC is present. DC_IN volt:%d\n", voltage);
#else
pr_err("DC is present. DC_IN volt:%d\n", voltage);
#endif
} else {
pr_err("DC is missing.\n");

/* Release LGE Charging Scenario wakelock if stuck */
/* usb_power_curr_now is now unneeded since function determined that there is no DC current */
if (wake_lock_active(&smb349_chg->lcs_wake_lock)) {
wake_unlock(&smb349_chg->lcs_wake_lock);
pr_info("thermal-engine: Releasing LGE charging scenario wakelock\n");
}
/* End of wakelock release */

power_source_state = 0;
}

return power_ok;
}

And same change in smb349_is_charger_present_rt function.

Then there would be 3 checks.

Is there something else that can activate this wakelock except smb349 driver?

Also adding

#ifdef CONFIG_LGE_THERMALE_CHG_CONTROL
if (wake_lock_active(&smb349_chg->lcs_wake_lock)) {
wake_unlock(&smb349_chg->lcs_wake_lock);
wake_lock_destroy(&smb349_chg->lcs_wake_lock); //don't know how this works. destroying wakelock is freeing pointer from mem and leaves no trace of lcs_wake_lock?
}
#endif

(or maybe without macros, so it executes always?)

right after

#ifdef CONFIG_LGE_CHARGER_TEMP_SCENARIO
wake_lock_destroy(&smb349_chg->lcs_wake_lock);
#endif

(right after lines 5043 and 5122)

may help with finaly totally destroying wakelock (if missed by other code) when not needed.

For all I know, this code above looks good, but if what i wrote last is destroying wakelock while phone may be charging...

Well battery circuitry failsafe if other kernel mechanism don't protect.

Or Lithium party hard :D

---------- Post added at 10:00 PM ---------- Previous post was at 09:04 PM ----------

Set nomerges to 2 and rq_affinity to 2

Looks like our internal memory and cpu handle this settings very good, without battery loss.

It boost overall I/O scheduler performance and UI smoothness while heavy multitasking.

Seems like ZEN is now working enormously fast.

Plus it's code is light and well written. :)
[G2 Android Development] krija:
Thank you!

I think top and bottom padding around push buttons was too big in previous version. i changed it little bit.

- added dorimanx ota pro to menu [MENTION=2845304]nscounter[/MENTION]

enjoy :)
[G2 Android Development] :
Cool tnx! :thumbup:

Is it possible to make one Button "Dorimanx OTA" and u push it after that comes out a Popup to choos Free or Pro?! :)
[G2 Android Development] krija:
[MENTION=2845304]nscounter[/MENTION] :)

At this moment it is too much if, else, elif and so on for me, sorry.
[G2 Android Development] dorimanx:
looks great! well done. :)
[G2 Android Development] dorimanx:
I will review the code again. thanks for help.

we need to be very carefully with battery temp check code, from mistakes can be "!!!BOOM!!!"

not good for my reputation :) as now it's SAFE release of wakelock at part of code that run when no power connected. its in loop, so every ~10~20sec it's cycled, and if wakelock not needed, it's will be released.

so far one user reported, it's can be other reason.

about ZEN. I guess it's should be fine. there is no delays in disk access, it's SSD. so should work good.

I will set.
[G2 Android Development] je2854:
I was having some serious delays and lags with ZEN...

I put it back to FIOPS and all is smooth...

I'm just asking can we run more tests on it before throwing it to default?
[G2 Android Development] dante1976:
Zen rules ;) 2 days up and running silky smooth
[G2 Android Development] iall5tar:
All I can say about Zen's I/O is great! Everything for me is Smooth even playing a heavy games like Modern combat 5.

Really battery friendly!
[G2 Android Development] bender_007:
How do you differ ota from pro ota? I would go for: export donators list(google mails), the app will check for local account and see if the mail is registered to some user who has "contributed" and either allow normal ota or pro.(this stuff works, checked). Unless you have 2 seperate apks for ota and pro ota.
[G2 Android Development] krija:
Hi [MENTION=3279781]bender_007[/MENTION]. There are two cases. One for ota and one for ota pro. Both checks in first place if app is installed and if is not then popup dialog shows up.
[G2 Android Development] duki994:
What readahead value did you use? And share your I/O tunables if you changed them. They can slow down device if badly configured.

I changed to ZEN for both deepsleep and screen-on. It works much faster than ROW with no lags. I use(d) it on several devices. No issues with zen since my old Xperia Mini(it still loads apps as fast as G2 - with ZEN).

Whats your other settings? Share profile in Q&A thread.
[G2 Android Development] dante1976:
On demand plus on all cores, Touch boost 1728000, Touch boost duration 10ms, 2572800 max. Freq. On all cores, Msm hot plug, Hotplug suspend mode: Always active, Gpu max speed: 533 mhz, Read ahead 1024, Both i/o schedulers ZEN, Cron off, Fast charge off, Max 1800ma, Swipe2sleep off, Everything else on default... With these settings phone is super fast and responsive on every task along with great battery life... Dorimanx is real magician, hats down, awesome job!

I wont even consider touching lollipop without this great kernel ;)
[G2 Android Development] Garfield3333:
@ Dori

LP v30d is out........(5.0.2)

http://lg-phone-firmware.com/index.php?id_mod=36

http://opensource.lge.com/osSch/list?types=ALL&search=D802
[G2 Android Development] harkis123:
deleted.
[G2 Android Development] iall5tar:
Well... Nothing relevant in this post xD

Also this post.
[G2 Android Development] duki994:
Enable ARCH_POWER

[MENTION=2376110]dorimanx[/MENTION]

Hey, I forked your kernel in my git, so I could play around with some code :)

I enabled arch_power in sched

https://github.com/duki994/Dorimanx...mmit/f87d2ad3bed4080bcf988fdbffc653d015d4367d

It may help us save more power and/or help kernel to better use our cpu,
[G2 Android Development] DRUMSBH:
Cracked my digitizer and screen changing the oil in my drag/street car.... Happy to say I got my new to me used G2 and back on the [MENTION=2376110]dorimanx[/MENTION] train.
[G2 Android Development] dorimanx:
We had that enabled long time ago, seems like have no positive effect, slowdown the performance, and not effect battery. So its was off again.

Sent from my LG-D802
[G2 Android Development] dorimanx:
I need 32g version. Clean. Not some vodaphone.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Well, news are wellcome here. If no one will tell me, how will i know, if i dont search for the news! :)

Sent from my LG-D802
[G2 Android Development] runekock:
v30a is also available, and is a clean version for both 16 and 32GB. For some odd reason, 30a is one day newer than 30d.

I'm running somboons' 30a now, and there aren't too many bugs.
[G2 Android Development] dante1976:
D = branded, A = open ;) that's why A is newer build

But like I said before... No lollipop for me until dori and cloudy do their magic.
[G2 Android Development] Titchener17:
maybe consider bumping the zen fifo batch to 8 or 16 to improve throughput
[G2 Android Development] dorimanx:
Are you sure its have any effect with ssd?

I need to look at the code, to understand what we get by changing the batch.

Sent from my LG-D802
[G2 Android Development] dorimanx:
I have already made kernel from stock for lp d802.

Now i need ramdisk from original kernel from kdz for 30a clean. 32gb

Then i can try to boot it with kk bootloader. And see if i need more changes for that.

I am not exited to start new kernel from source...

I have added/merged 4642 commit changes to KK kernel.

That is a lot of code, hard work, and no sleep nights, and long work days till dark at work, to get to point we are now.

I will have to do it all over again...

There is no easy way.

So get a huge deep breathe, and wait.....

Its going to take time,

and KK development will stop as JB was...

I will start first tests at this new work week.

I hope i can count on my beta team to get ready for alpha LP tests :)

Sent from my LG-D802
[G2 Android Development] jamesd1085:
It will be worth the wait...Lp is running as stock like kk did with your kernel...i can see your kernel keeping the g2 in the game for longer than most devices last
[G2 Android Development] Tinchoska:
I am sorry my friend, but this beta member will stop here until lp runs into my d806 officially.... Until then lp is a gun on monkey's hands...... D802 lp roms are not as safer than kk.... So, for my own safe I'll wait a little bit.... But at the moment I get lp you count on me like always my master
[G2 Android Development] oudbrood:
I had a couple of days 30a LP on my phone but i'm back to cloudy and your kernel.

Nice rom but wifi was not perfect (drops) and some games has lags. I missed your kernel. Also battery is better with your kernel. Maybe I try it again when there is a dori kernel.
[G2 Android Development] masteril:
Dori about the scrolling lag..its releated to alucard gov..tested with the last versions ? now i am on msm hp and intelimm gov and all is fine with last beta.
[G2 Android Development] duki994:
Yes. It has both small input lag and it agressively ramps down freq from higher ones (range 1.728ghz-2.26ghz) to lower ones (range 300mhz-960mhz).

It's just alucard gov tuning that can be changed.

Well milion hour SOT can't be there without adjusting to lags :)
[G2 Android Development] AlMustansir:
Well LP Stock is pretty great but i really do miss your kernel Dorimanx.

I can´t imagine how much work you put into your kernel so far but i do know that it has to be a LOT. Take your time, enjoy the beautiful weather (at least here in germany) and don´t feel pressured :)

Have a great spring :)
[G2 Android Development] gamerZ1:
Does this kernel work on CloudyG2 2.2 ROM?(D802 International)
[G2 Android Development] Kirpman:
Yes.
[G2 Android Development] Computoncio:
[ Who's the flashaholic around here who can make a list of roms that's dorimanx can be powered by Dorimanx kernel?

If Dorimanx likes he can put it in op, maybe it stops this kind of questions or maybe not [emoji13][emoji12]

[MENTION=2376110]dorimanx[/MENTION] tomorrow i will send you the update script of the counters, then i will make a stats page for kernels model ranking, top 10 by day, week, month.

Phone: LG G2 D805

Kernel: Dorimanx kernel v10.1.4 D802

1st ROM : Pardus HD RoM™ Sensation Black v3.2

2nd ROM : Waiting for custom recovery ;)

MODS: Still searching
[G2 Android Development] Kemby13:
+1!

I too flashed stock LP, but i do miss a ton of features from your amazing kernel (which i used for a long time)

I just hope you'll be able to bring many of those great features to LP when the time comes...