yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] luckydude:
one question MR Developer

i have bckernel LP kernel . it means i have 30d bootloader

can i flash your kernel ? or i have to flash 20H bootloader then flash your kernel ??
[G2 Android Development] Blumdum:
also happens to me

wiping cache & dalvik cache didn't solve the problem

there is no fc

it just closes itself
[G2 Android Development] dorimanx:
you dont have 30B bootloader. LP bootloader is not working with ANY custom kernels or recovery.

you have or 20A or 20B now...

yes best if you flash 20H as instructed.
[G2 Android Development] the baptizer:
Thanks for nice kernel and your effort

But very big performance drop with 1.1

Overall smoothness and lollipop feeling is less now.. antutu states that runtime went from 3800 to 1200 (reproducable). Besides that, something wrong with gpu, very unstable fps. Otherwise very nice.. no bugs, except updating ad block wont work (no internet connection error).

edit: everything tested with stock kernel settings, 30B and your recommended 20H bootloader.

Thanks
[G2 Android Development] goran_oh:
Yap Im on v30b,switch to mtp and my charge 1600 tnx dori:)

Sent from my LG-D802
[G2 Android Development] alex1690:
Where i can find this option? In TWRP mode "mtp" still enabled

Thanks in advance!
[G2 Android Development] 0xetrov1:
Yeah, indeed, cache works as F2FS, but data don't :(

I've converted /data to ext4 and the phone has booted up perfectly

maybe I am wrong, but I don't think, because as I stated before, I've waited at least 20 minutes,
[G2 Android Development] ollielol:
Hi, I just installed your kernel but am unable to send any text or make any phonecalls. I can however use my mobile data �� and am connected to my network... I just installed google messenger and got a error 69 when I tried to send a text. Other than that your kernel seems to do a great job !

Edit: going back to the stock LP kernel doesn't solve the issue... How is this possible ?
[G2 Android Development] edgd1er:
LP kernel 1.1 : stweaks: no support for kernel

Hi everyone,

I'm very pleased to test this high quality kernel. Sound is great...

I'm on a D802 with dorimanx LP 1.1 properly installed wit twrp 2.8.6.1 as says infos from Kernel Mod. I have xposed alpha4 installed.

dorimanx Stweaks says "Sorry, no kernel support". I've joined Screen cap to show stweaks info and kerel +app logs.

stweaks check profile says "default profile" ( kernel scripts seem to be working though)

If any additional logs are needed , please let me know.

Thanks.

From logs:

I/com.gokhanmoral.stweaks.app.MainActivity(29973): Searching siyah script...

I/com.gokhanmoral.stweaks.app.MainActivity(29973): Kernel script(s) found.

E/com.gokhanmoral.stweaks.app.MainActivity(29973): Kernel script(s) NOT OK!

I'ts time to change my signature.
[G2 Android Development] PhoenixNLx:
Agreed, especially when I wake up the phone. But indeed a performance drop.

edit: Can somebody give me a .zip for the stock kernel of 30b OPEN? In case of emergency?
[G2 Android Development] minotavros:
Thank you man for your work! Always my phone is less boring with your support :)

Keep up the good work!

7SK23242CS815610J

For one beer :o
[G2 Android Development] remorema:
holy mother of god. just woke up to find that lp 1.1 is online. flashed it on my way to work. its working flawless.

just beat my friends oneplus one in a geekbench faceoff. hehehehe
[G2 Android Development] dracushor87:
it's at the bottom of the page :)

http://www.dorimanx.com/LG-LP/
[G2 Android Development] remorema:
[MENTION=2376110]dorimanx[/MENTION] first of. thank you very much for the time you take to put in our device. its really priceless. ill buy you a beer later when I have paypal funds.

quick question. are we good with the lolipop memory leak or do you advise to use xposed module to fix it?
[G2 Android Development] shaneel1491:
I am also getting the same problem, I think it may be an incompatibility with the grid view, as it can open settings in list view...
[G2 Android Development] PhoenixNLx:
Thank you! Should have seen that!
[G2 Android Development] zapppppp:
hello all

my problem is slow charging on lollipop. I have samsung charger 2A, on stock 4.4.2 or cloudy roms it charge great(1500-1600mAh), on lollipop it charge very slow(200-300mAh). I installed this kernel but fastcharge still dont work, 330mAh max. what I am doing wrong?

Any suggestions?
[G2 Android Development] Lycidias:
Just flashed 1.1 and I have no stweaks/Dorimanx stweaks

Spoiler content hidden.
[G2 Android Development] bajito93:
Excellent job [MENTION=2376110]dorimanx[/MENTION] your kernel's are great. Thx.
[G2 Android Development] infected85:
[MENTION=419143]Dori[/MENTION] the gpu frequency keeps reverting back to 450 with 200.
[G2 Android Development] merlin21:
OT:Try night filter app in playstore [emoji106]
[G2 Android Development] Lizzacore:
G2 dont sleep ?
[G2 Android Development] Closed Force:
you got a wakelock, not kernel related, install bbs or something to see why, or your phone was on charger over night
[G2 Android Development] Lizzacore:
My phone charging every night because the charger is not so good in this case so I have to :/

But I install it maybe I can find something else then, my phone is pluged out since 4 hours but only 48 mins in sleep ?
[G2 Android Development] Closed Force:
man don't post here, nether in kernel q&a, I told you this is not kernel related, have some respect to developers
[G2 Android Development] Nussi29:
SOD whlie navigate with navigon and loose gps

https://www.dropbox.com/s/3mb4yiwtjz8h2zu/dorimanx_debug.zip?dl=0

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Kemby13:
I doubt that we have the same understanding of "smooth", that is highly subjective - but nvm if you are happy...

Anyway that's a nice theory, about CPU clocks. Only, the thing is you cant know what cpu will go on or off at any given moment.

There is no rule AFAIK, that says that after cpu0 has high demand for computing power - cpu1 will kick in and help with the task.

It could be cpu2 that turns on (which is low on top speed), so maybe the cpu3 needs to get up and running too.. I hope you get my point ;)
[G2 Android Development] :
Sorry if this is off topic...

Does the alternative mounting in fstab work when using your updated f2fs tools then?

When I did this, the duplicate entries in fstab worked in custom roms but would error in Stock. I actually do it this way in my cm/aosp ramdisk... But it would fail and mount manager would stop when I was doing this in Stock.
[G2 Android Development] dorimanx:
News Update!

Kernel 2.4

23/05/15

*Possible final fix for F2FS support in LP for system/data/cache

Thanks to [MENTION=2941286]xdabbeb[/MENTION]

*Reverted few changes in MSM CPUFREQ driver that maybe responsible for CPU GOVS crashes.

need to test now if OK. and CPU GOVS stable.

*Merged few other good changes to CPUFREQ that prevent possible problems with hotplug cpus.

*Merged HACK to stop ROM messing with min/max freqs and not letting kernel cpuboost driver to work.

have fun testing and report with LOGS... that show some really ugly errors in the end of the file.! you cant miss it,

lots or 00000000000000000000 BLA BLA and trace to function names and KERNEL PANIC... or things like that.

even if you dont understand the other stuff... (thats OK, i try to understand :)

BUT, for me so far few hours, all OK. so i hope it will for all..
[G2 Android Development] dorimanx:
need to put fsck.f2fs to ramdisk! sbin/fsck.f2fs

then INIT will find it on boot, and do the CHECK, then boot. or it's will stuck waiting!

<3>wait_for_irsc_completion: waiting for IPC Security Conf.

this is how it's working now. in 2.4

https://raw.githubusercontent.com/d...075b22af3de4c526b42328b2fe182b72e9f7/fstab.g2
[G2 Android Development] dorimanx:
are you NEW to android?

well if yes, then you should know that when device plugged to power, it's not sleeping! no power state 3. (deep sleep)

it's just in standby. as it's has power, why to sleep? any way it's by design. system need to check battery heat and protect from BOOM! if something is wrong with charger.

now you know :)
[G2 Android Development] wisefreakz:
Best explanation ever!!!
[G2 Android Development] 0xetrov1:
So I have changed /data to F2FS and ..... IT WORKED :D

[MENTION=2941286]xdabbeb[/MENTION] and [MENTION=2376110]dorimanx[/MENTION] THANK you guys, Outstanding Work :good:

I had /cache as F2FS and it worked always and now /data too :D

Something else, I'm using Dorimanx's kernel, and it's been 1 week and no reboot, so I suggest, stay with onDemand + MSM hotplug
[G2 Android Development] Pritt0:
Dori have you disabled OC on some governor on last 2 version? Because i've set 2 and 3 core on 2,41 ghz but synapse show max freq run on 2,2 ghz
[G2 Android Development] Lizzacore:
Thanks for that, anytime I thinked if the device charging he get into deep sleep [emoji28]

F2FS work perfectly on /data and /cache , a little bit faster I think :) good work for all
[G2 Android Development] antys86:
Hello [MENTION=2376110]dorimanx[/MENTION] can I ask a favor? In ondemand governor, could you remove the lower limits of frequency for syncfreq, optimalfreq and optimalmaxfreq that are currently 1036MHz? It is crucial for my tuning. Another question .. I know that can set the input boost from your app, but reading the code of ondemand I noticed that is not used? Do you make another method? Thanks
[G2 Android Development] oudbrood:
Hi Dori,

I want you to let you know that I have no reboots from yesterday after the fresh clean install with 2.3.1.

Even with playing Heroes Charge.

Now see hows going with 2.4

Thanks for your hard work

---------- Post added at 10:48 AM ---------- Previous post was at 10:05 AM ----------

Noooooooo reboot to LG logo while reading a news app.

No errors in log......damn!

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

Going back to 2.3.1
[G2 Android Development] dorimanx:
Great, thanks for report, i will update op that f2fs is supported.

Good news indeed :)

Sent from my LG-D802
[G2 Android Development] dorimanx:
Nope. Should work, i will check.

Edit, :)

Synapse show stats for core 0 only.

So if its lower than max for others, you will not see it go higher.

Sent from my LG-D802
[G2 Android Development] dorimanx:
The limits set to block rom mpdecision to change how its want, and that brake performance.

But now i have better way to block it.

And i can remove the protection.

About input boost, all govs stripped from dbs input code, that bump freq if screen is touched.

As there is one driver that do that work.

Touch boost, its in touch screen folder.

Its react to touch by boosting freq as set in dorimanx app.

All i do has a reason, no favorites if its not good :)

Sent from my LG-D802
[G2 Android Development] oudbrood:
Is it possible that there differents in 30b rom versions?

I'm using 30b europian version.

Which 30b version are you using?
[G2 Android Development] 0xetrov1:
Unfortunately, I have to say, that I can't boot into recovery anymore, the TWRP splash screen come up but the phone then restarts it self, I've flashed the KDZ for my region (Emirates) and rooted with SRK-TOOL and now I have root+twrp again but /data and /cache are ext4, so I really don't know, what the problem is! is it possible that F2FS/kernel has messed up the recovery? :confused:
[G2 Android Development] dorimanx:
You need latest recovery by blastogator.

Its support f2fs.

Twrp dont have f2fs support.

Sent from my LG-D802
[G2 Android Development] thekondo:
after i install your kernel i get this:

[860] Fastboot mode started

[1020] -- reset --

[1030] -- portchange --

firts time i get this ....

install in stock lollipop
[G2 Android Development] lascoul:
You probably installed a version that is not for your device
[G2 Android Development] the baptizer:
[MENTION=2376110]dorimanx[/MENTION]

when do u think u will switch to LG G4? :)
[G2 Android Development] Diechel:
Use DorimanX OTA app next time or never try again!

Wrong model flashing.

Always check your model number!

Go into recovery with button combination and flash stock or good model dorimanx kernel!

EDIT:

Can confirm phone booted with /cache to F2FS
[G2 Android Development] thekondo:
ok im flash the kernel...

now i charge my phone but its very charge my phone slowly.. i change in the tweask but nothing happen :/

any help?

in the kk its was perfect..
[G2 Android Development] dorimanx:
when i buy it. and my LG2 will die...

EDIT:

just checked the LG G4 specs!

Holly SH@T!!!!

Type

Qualcomm® Snapdragon™ 808 processor with X10 LTE

and (integrated) Speed1.8GHz 64-bit Hexa-CoreCPU

more correct info:

Snapdragon 808 processor specs

CPU Dual-core ARM® Cortex™ A57 and quad-core A53 with 64-bit support
GPU Adreno 418 GPU
DSP Hexagon™ V56 DSP (up to 800MHz)
Modem Integrated X10 LTE, with Global Mode supporting LTE FDD, LTE TDD, WCDMA (DC-HSPA+, DC-HSUPA), CDMA1x, EV-DO, TD-SCDMA and GSM/EDGE
Cat 9 speeds of up to 450 Mbps with support for up to 3x20 MHz carrier aggregation on LTE FDD and LTE TDD
Support for LTE Broadcast, LTE multimode dual SIM (DSDS and DSDA) and VoLTE with HD Voice and SRVCC
RF 4th gen power efficient LTE multimode transceiver with Qualcomm RF360™ Front End solution for world mode bands, lower power and PCB reduction
USB USB 3.0/2.0
Bluetooth BT 4.1
WiFi Qualcomm® VIVE™ 2-stream 802.11n/ac with MU-MIMO
GPS Qualcomm® IZat™ Gen8C
NFC Supported
Video 4K playback with H.264 (AVC) and H.265 (HEVC) formats
4K capture with H.264 format
DASH supported
Camera Combined dual ISPs can support 1.2GP/s throughput and image sensors up to 21MP/8MP
Display 2560x1600 on-device display concurrent with 4K Ultra HD output to HDTV
1080p and 4K external displays supported
Quick Charge Qualcomm Quick Charge 2.0 technology, up to 3A out, supports Parallel Charging
Memory/Storage LPDDR3 933MHz Dual-channel 32-bit (12.8GBps)/eMMC 5.0 SD 3.0 (UHS-I)
Process Technology 20nm

10 cores!

I think my LG 2 will die before it's time hahaha.....
[G2 Android Development] dorimanx:
switch to MTP for usb connection.

if that dont help, switch OFF force fast charge.

if that not help, get good USB cable and good charger. LP is more aggressive on this checks.
[G2 Android Development] Nussi29:
I have try with charger that have 2.1ah output but phone charge with 40mah.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Pritt0:
Little OT: Dori i don't want to switch off your happines about snap 808 but it si totally fake premium processor. Hexacore it mains one dual core A57 and one quad core A53. It's one step back rathet than improovement respect to 810.
[G2 Android Development] dorimanx:
you have hardware problems. or try STOCK kernel. if charge 2000mah, well then use it.

i have no charge problems, and NOTHING in kernel set max 40mah...??!! it's less than any calculation in drivers!

MIN = 500.

so i have no idea how to help you.
[G2 Android Development] dorimanx:
correct. 1 dual core 1.8ghz and 1 quad core 64BIT! (hyper threading) = 8cores of 1.4Ghz

still, it's 64bit... and that is no step back. you have no idea how much powerful that is from our LG G2.

when our CPU heatup to 77C we get max freq of 1.2Ghz and it's jump from 1.2 to 1.7/1.9 MAX x4

LG G4 probable all the same, no real cooling! BUT it's 10 cores stuck at 1.2Ghz when max heat, not 4. and here this CORE blast all other away.

Also this core is 20mm and that mean it's generate less heat, so MAX thermal limit for freq is higher, no idea how much.

I think it's will be stuck at 1.4 x 10 cores, :) and jump higher in short bursts.

Think larger, out of the box! considering the real life limits.
[G2 Android Development] Trixanity:
Once again I have to commend you [MENTION=2376110]dorimanx[/MENTION] - you made lollipop usable to me. I held off moving forward to lollipop because every LG release makes the headphone audio hiss, crackle and distort. You fixed it in kitkat and seems you have done it with lollipop :) your kernel on both kk and lp is the only one providing a complete fix.

I had tried lp a month ago and it hissed then went back to kk with your kernel. Tried latest modified 30b yesterday and it hissed. Installed viper with super high audio quality driver and it still hissed. Then I installed your kernel and it was crystal clear as it should be.

So I thank you for making this phone actually usable for headphone users :)
[G2 Android Development] Lizzacore:
I'll buy it too, I hope I can get your awesome kernel on my G4 :)

U

You now that the G4 comes with Android 5.1 ?

To the kernel on my g2 ,everything is fine with 2.4 more deep sleep than ever. Thanks ! :)
[G2 Android Development] krija:
Hi guys.

Can you please check if reset to default in dorimanx app works?

[MENTION=2376110]dorimanx[/MENTION]

dorimanx app uses these commands

delete_profile()
{
if [ "`cat $ACTIVE_PROFILE`" == "$1" ]; then
select_profile "default";
fi;
rm ${PROFILE_PATH}/${1}.profile;
}

from

https://github.com/dorimanx/lp_ramdisk_dorimanx/blob/master/res/customconfig/customconfig-helper

For me it sometimes only deletes active profile, but doesnt set a default profile.

I have already fixed it in a new attached version, but maybe you have a better solution.

My looks like this:

Utils.executeRootCommandInThread("/res/uci.sh delete default");
Utils.executeRootCommandInThread("/res/uci.sh select default");
System.exit(0);

We need to run the select command separately.

Changelog

- uses stock lollipop theme

- removed material mods used in KK version, so don´t use it with dorimanx´s KK kernel. It will looks like stock one.

- some UI changes

- above written fix

You can install it as update app.

PS Guys, please test it with flat xposed module. Maybe it is fixed too.
[G2 Android Development] MK45A:
Anything after v1.3 makes my D802 freeze and reboot.
[G2 Android Development] L0nelyE4rth:
Stock LP flashing ?
[G2 Android Development] suhiiii:
Whats recommended for f2fs ?

I used cache only on KK, should I format now everything system/data/cache ,or only data/cache ?
[G2 Android Development] MK45A:
30B stock LP
[G2 Android Development] Diechel:
/system is read-only.

From what i know its good to use ext4 for that
[G2 Android Development] L0nelyE4rth:
I know it's stock LP but it's KDZ or Flash ?
[G2 Android Development] MK45A:
Flash
[G2 Android Development] L0nelyE4rth:
From Somboon's Rom ?

If he were owner. I'm Recommend KDZ more
[G2 Android Development] iall5tar:
soo...the end of G2´s scene is almost dead without your work...
[G2 Android Development] Pritt0:
Dori got freeze and reboot on v2.4 while browsing facebook. Here logcat

https://mega.co.nz/#!AFYAmZ6b!GWREmjesAeM0UoKE7hAt5PVHLcmPwp7dyhoIcTIYfZ0
[G2 Android Development] 0xetrov1:
I've flashed the recovery.img (extracted from TWRP [MENTION=5031300]blastagator[/MENTION]) with flashify, and still I don't have access the TWRP recovery, it shows the TWRP splash screen and then the phone restarts it self.
[G2 Android Development] L0nelyE4rth:
Recommend Flash ZIP. I got that problem like you
[G2 Android Development] 0xetrov1:
Now I have flashed the zip using flashify, still the problem exist, how did you manage to solve this problem?

PS1: I'm assuming, that the recovery that [MENTION=4008653]somboons[/MENTION] uses, it's the normal TWRP without the F2FS support, so I think the only possible solution is, we should flash KDZ, then root and install custom recovery using the [MENTION=4008653]somboons[/MENTION] tool, then reboot into recovery and flash the TWRP+F2FS support, this way, we may have fixed the problem!
[G2 Android Development] L0nelyE4rth:
Can you boot Download mode ?

If you can just flash KDZ
[G2 Android Development] Floodland:
Dori, G4 Qualcomm 808 is a crippled down 810: Less cores, slower, no usb3... On the other hand it does lock higher whenever activating thermal protection and its GPU support opengl 3.1, but still, seems an inferior product to the largely deployed 810, even when LG wants us to believe otherwise.

Source: http://system-on-a-chip.specout.com...10-MSM8994-vs-Qualcomm-Snapdragon-808-MSM8992

Flex 2 would be a better choice from hardware perspective now (I know, it has 0 development now).

Now, snapdragon 820 is around the corner, and it might worth to wait for it. G4 seems to be like S4 when we had our beloved S2: There are better choices for the same price, do not fall in the marketing hype ;)

Curious how different brands replicates the same polemic decisions regarding phones generations, even replicating numbering: G4 is the new S4!

Best regards
[G2 Android Development] 0xetrov1:
Ok, so I've spent about 6 hours today with F2FS, and unfortunately it HAS problem if you change your /data partition to F2FS you will NOT access your recovery, I have flashed TWRP recovery + F2FS support but still it doesn't work, something it's not right, the only way is KDZ method. :(
[G2 Android Development] smartpr1v4t3:
I have no problem with f2fs and v30b stock, blast twrp.

Backup Data, copy internal storage, format data to f2fs, copy internal back, restore backup.
[G2 Android Development] siggey:
And G4 till now has no root no development locked bootloader and probably short future...

_____________________________________Read more write less and be smart
[G2 Android Development] Glpcha:
Reboot on 2.4, stock 30b. 2x ondemand, 2x nightmare. Log:

http://s000.tinyupload.com/?file_id=28512430657659929657

Hope it helps...
[G2 Android Development] masteril:
8h on 2.4 no problems whatsoever all is looking great performance profile stock 30a isr rom. Tommarow will test music playing with headphones,gaming and battery.and maybe benchmark just for fun :)
[G2 Android Development] dorimanx:
hmm.. that is not good... then we wait! i am not going any where...

for me NO ROOT = NO DEVICE.

My wife will receive LG G3 very soon, so i will have new toy... but i dont want it... just to think to start NEW kernel one more time...

neee... i am good with my G2 :)
[G2 Android Development] crazylife:
and for me no Dorimanx kernel = no device :D :D so me too not going anywhere for now
[G2 Android Development] AlexVipXDA:
[MENTION=2376110]dorimanx[/MENTION]

Thanks for your time, and your work :D :D

0D005022NS5633548
[G2 Android Development] xdabbeb:
Yep, works just fine, but that's due to us finally having proper init/sepolicy binary support. Is it possible you weren't using the 39a version of one or the other? The updated f2fs tools enable proper initial formatting and fsck during boot. The ones included in the recommended TWRP build tree (Omni) are quite outdated and shouldn't be used...which leads me to the following:

This is due to the outdated f2fs kernel support in the OMNI repo that is used to build the TWRP recovery you're using. You will need to get an updated one or you will randomly see this (and other) issues. If you have a VS980 I can email you a copy of my personal TWRP build. I'm not interested in supporting another project, however, especially since blastagator is already maintaining it nicely.
[G2 Android Development] dorimanx:
can you please give few tips to blastagator about how you added new support, i am sure he will be happy to update his project and thanks to you, huge amount of people will have better support for F2FS in recovery and Kernel.
[G2 Android Development] dorimanx:
thanks for support :)
[G2 Android Development] blastagator:
I've just been being lazy since it didn't cause any problems. Now that it is causing issues, I'll work on it soon :)
[G2 Android Development] drew150931:
Hello [MENTION=5031300]blastagator[/MENTION]. I have encountered problem in my nandroid back up using twrp bumb recovery 2.8.6.1 when restoring my backup after reboot the navigation bar are missing and i cant used my g2. I have modded install like flashlight toggle in statusbar, t-action, 32dpi navigation bar, call recorder, plug and pop and miniview. I used V30e lp [MENTION=4008653]somboons[/MENTION] rom. Can you fix it?
[G2 Android Development] d_Schizzo:
I had exactly the same. But i dint think its an twrp issue. My backup of clean lp 30b rom are always restored without problems. But the backup with the mods like you have (plug & pop, t-action etc.) was totally messed up after restoring. So, it will be 100% relate to the mods.