yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Taqieddine:
[IMG="can any one help me with this"]http://imgur.com/mPQSG0o[/IMG]

this is my problem and i can't do anything with the phone any help please
[G2 Android Development] pmauzao:
Need help please, after downgrading from LP to kitkat the screen went all white with stripes, i don't see how to enter recovery anymore...

What should i do?

I've managed to enter recovery but its the same, just vertical white stripes...
[G2 Android Development] :
Hi, [MENTION=270378]Cloudyfa[/MENTION]

How can I flash the JDI kernel when the display is completely filled with the white lines and I cannot see anything?

[IMG="white lines"]http://i.imgur.com/w6tY2he.jpg[/IMG]
[G2 Android Development] Cloudyfa:
"Return to JB" info updated.
[G2 Android Development] shriom_manerker:
oh alright :) thanks for clearing up our doubts :)
[G2 Android Development] aureluanobue:
I have a problem to start the rom. I do all the steps in this order from twrp recovery:

Baseband / Rom /patch

But I stay definitively in the lg logo.

Can you help me please?
[G2 Android Development] hoangnova:
Right way :

- stock 4.2.2 Rom

- root it

- Flash recovery

- Flash Kitkat Baseband

- install KK Rom (give enough on Forum)

- Flash the Special kernel.

- reboot

Key point:

System Kitkat + Patched Kitkat Kernel + Baseband kitkat
[G2 Android Development] aureluanobue:
The installation process can be done from a custom rom stock 4.2.2 or only from the original stock rom?
[G2 Android Development] farhanito:
so the KK ROM (or Patch), should not contains aboot.img, correct?
[G2 Android Development] somboons:
[MENTION=270378]Cloudyfa[/MENTION]

What is a different between KitKat BaseBand of you and BaseBand that extract from kdz file?
[G2 Android Development] ephumuris:
I used baseband from stock KitKat ROM and flashed it at same time as system. All in one zip.

Flashed my missed stock ROM. Flashed modded boot.IMG then flashed SuperSU. All fine.
[G2 Android Development] Cloudyfa:
You guys can think flashing KitKat ROM just the same as flashing normal (JB) ROM with special baseband requirement (KK baseband)

Yep, if you include aboot (new bootloader), then all this process is useless.

They're the same, I just packed them and uploaded for your convenience.
[G2 Android Development] somboons:
What is the file img that control rooted/unroot status from download mode?
[G2 Android Development] somboons:
[MENTION=270378]Cloudyfa[/MENTION]

When I back to JB by backup file from TWRP and flash JB BaseBand Why in the software version show this.

I already factory reset.
[G2 Android Development] levizx:
cust.prop takes precedence.
[G2 Android Development] SREEPRAJAY:
Though I am not a developer or an expert in this subject.....

with my previous device LG O2X, Base bands could not be flashed with a zip file by recovery method....ONLY possible with smart flash tool or the KDZ method...so I am a bit confused and your picture confirms somewhat this.... [MENTION=270378]Cloudyfa[/MENTION] maybe you can clarify this?

Thanks
[G2 Android Development] somboons:
problem solve .

I download this : https://mega.co.nz/#!dUkUCACD!aHKC-ylD2ngd8eX-jcwKVWHQt4Z2qIGEWMbKMvk8w-A

and flash via TWRP again it's ok.

in zip file contain

cust

modem

of D80210E ESA of my country
[G2 Android Development] Cloudyfa:
I already mentioned about cust.img, so if you wanna back to JB (D802) you should include your JB cust.img or simply clear its contents.

With G2 we can flash it via zip file, they're in [MENTION=2684188]autoprime[/MENTION]'s thread. Or you can extract it from your latest JB kdz to have an updated version.
[G2 Android Development] somboons:
ัyou mean I can use script

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/cust

for make rom or restore swap between JB and KK.
[G2 Android Development] fabioio:
Should i do something special if i want to flash and AOSP Based rom? I mean flash a different kernel or baseband?
[G2 Android Development] maorosh:
hmm that what i tried ...

i flashed KK stock rom,

than i tried flashed the kernel

and boom,

phone is dead ,??!!

:confused::confused::confused::confused:
[G2 Android Development] raz0r09:
Hello,

I didn´t really get the use of the patched kernels. What is possible if I use such an modded kernel? I am at Europe Open KK Stock Firmware at the moment. So I can´t use TWRP etc. anymore due to the closed source of the KK Kernel of the original Firmware.

Please explain me the feature of the offered Stock KitKat kernels patched for Old Bootloader in this thread.
[G2 Android Development] albsat:
Guys, this post is for developers. Not something to mess for us, common users. Don't mess with it.
[G2 Android Development] murdoch1:
kk base band

Hi. I'm currently on mahdi rom . if I venture onto lg 4.4.2 do I need to flash the baseband and will it be safe to go back to mahdi there after?

Cheers
[G2 Android Development] Alleks1802:
Sorry guys for noob question but im on cloudypro2 with working philz recovery .... Can i just flash the kernel without going back to JB?^^ :D

Or is this kernel already inside cloudypro2?
[G2 Android Development] Ryrzy:
hi all...

strange thing... when i update modem and cust partitions (D802) and flash system + moded kernel i dont have IMEI (NULL)... no gsm/wifi etc is working... when i return to JB modem/cust/system/kernel it works ok... any ideas ?
[G2 Android Development] Cloudyfa:
LOL, seems only you really understand this simple thing.

These things are needed for Stock LG KitKat 4.4.2. Other custom ROM (AOSP, CM,...) you can treat them as you're using LG Stock JellyBean.

I already included them. No need for doing that.

If you are not familiar with all these stuff, dont try to get it working, its for DEV only ;).
[G2 Android Development] Ryrzy:
[MENTION=270378]Cloudyfa[/MENTION]

LOL... sorry but... look at my posts/threads... ehhh xD

btw. i found the problem... now it's working ok...
[G2 Android Development] Cloudyfa:
LOL sorry I didnt turn on signature display. Btw, glad you solved it.

@ ALL: KitKat Baseband updated with D805 and D806 modem (unofficial version). Thanks to [MENTION=4237218]Floodland[/MENTION] and [MENTION=3025329]emoibm[/MENTION].
[G2 Android Development] KriegerBread:
Thanks for support with D805 latin models... I made a donate from san_estel...

regards:good:
[G2 Android Development] jaybz:
Modded PhilZ Touch for F320.

[MENTION=270378]Cloudyfa[/MENTION], looks like your modded PhilZ for F320 does not include exFat support. In case you need to know, I have an F320L. My flash drive (connected via USB OTG) and my microsd card are both formatted with exFat as I sometimes need to store 4GB files on them and can't be mounted in recovery. I can confirm that formatting my flash drive to FAT32 allows it to be mounted in recovery.
[G2 Android Development] smyrosnik:
Hi, I have D802 version and I follow this guide , but i cant find the cust.img file. Is it the same file, cust.bin, contained in the zip? Or we download it?
[G2 Android Development] dr87:
you can go back if you flash JB baseband again, otherwise rotation will be broken
[G2 Android Development] p.valenta:
cust.bin or cust.img are same files.
[G2 Android Development] dr87:
[For rom devs]

I don't think anyone has made this yet so I will post here

This is a working updater script I made for the 4.4.2 stock rom. Went through all the folders finding all the new symlinks and added them to the updater script, removed all files no longer in kitkat added kitkat permissions for files that need them. So now we can edit the /system folder and make custom roms and not keep using the same system.img

I tested this working good on my debloated tmo rom

This is pure stock so no busybox or su included in the script yet.
[G2 Android Development] Cloudyfa:
Thanks for the script, I tried it before to use "set_metadata" instead of "set_perm" (as we did it with CM 4.4 ROMs) but the problem still exist. I dont know if it fixed now. Can you try to replace the build.prop (with minor change such as ROM version) for example and flash it via recovery to see if other Recovery can overwrite it correctly yet? All recovery I tested had that issue (not build.prop only) that's why I recommend Philz. If it fixed I'll update the 1st post. Thanks so much.
[G2 Android Development] Carter07:
Hi, I'm not a developer but I'm tring to build a custom kernel for kk.

I compiled the zimage from sources, now if I use this boot.img to build a "newBoot.img" the kernel should be fine to flash without losing recovery?

Ps: I'm using this guide:

http://xdaforums.com/showthread.php?t=2486098

"With this tool you can change zImage inside a boot.img without modify the ramdisk."

EDIT: i tried but gives this error:

"The boot image does not appear to contain a valid gzip file at ./scripts/extract-ramdisk.pl line 34."
[G2 Android Development] FAFE ANDROID:
Why you say it work, i had flash and nothing hapens, my devices says the same that yours, and i cant overclock my phone... you can?
[G2 Android Development] Idan73:
[MENTION=270378]Cloudyfa[/MENTION] Now that d803 KitKat has been released, can we have patched kernel and new modem as well?

I have extracted bin files with firmware extractor but don't know how to extract further to img file for submitting here, to save you from downloading 1.6gb file.

Sent from my LG-D803
[G2 Android Development] Cloudyfa:
Maybe, please pm me the modem.bin and boot.bin you extracted.
[G2 Android Development] Idan73:
Sent.

Thanks!
[G2 Android Development] Peterpaulmarie:
Any chance for LS980??
[G2 Android Development] Idan73:
D803 sources are out on lg

Sent from my LG-D803
[G2 Android Development] Cloudyfa:
In progress :)
[G2 Android Development] Cloudyfa:
Patched kernel for D803 added ;)
[G2 Android Development] malek777:
Works perfectly on d803. Using cloudystock. This thing flies. Thanks alot
[G2 Android Development] garwynn:
Happy to guinea pig for LS980 if you need one.

Not liking this revert/undo-revert option that currently is in place..
[G2 Android Development] Cloudyfa:
You dont need to :D

LS980 is ready, but must use it with autoboot, you can get it here: http://xdaforums.com/showthread.php?t=2704155
[G2 Android Development] ceyo14:
I dont get why we (LS980) need autoboot... why cant it be like d800's? Or is this better in some way? Sry. Dont completely comprehend what it is...
[G2 Android Development] FAFE ANDROID:
I dont understand very well, is this a kernel for overclock or a stock?

I have 4.4.2 stock whit root and a recovery, can i use this kernel, can i flash in recovery?

Thanks
[G2 Android Development] =JKT=:
I know I'm a little late out of the gate on this one, but THANK YOU for working so hard so we can all enjoy stock KK roms with the freedom we've been accustomed to.
[G2 Android Development] Cloudyfa:
Patched kernel for VS980 added (thanks to [MENTION=2941286]xdabbeb[/MENTION])
[G2 Android Development] Cloudyfa:
Yep, you should blame Sprint for that :D. They messed up LS980 variant kernel so it can't be loaded from 4.2.2 bootloader directly like other variants :mad:, luckily we had autoboot :good:

If you already had KitKat with root and recovery, then you're using a patched kernel for KitKat. You dont need to flash this kernel again.

This is a stock 4.4.2 kernel pached for bootloader 4.2.2 (so we can keep recovery) only. If you're looking for a custom kernel, you're in wrong thread.
[G2 Android Development] FAFE ANDROID:
Ok.... do you now any custom kernel for use in this situation?

Thanks
[G2 Android Development] somboons:
could you explain what is a different between boot.IMG and system/lib/module of your patch and stock one?
[G2 Android Development] darkflyer1983:
Any news on a patched kernel of D80220C firmware?
[G2 Android Development] darkflyer1983:
up? any news?
[G2 Android Development] penser:
If anyone is using this on the OTA, can you confirm any touch/hold freezing issues?

Specific issues I'm referring to (can't link to the thread I posted because I froze a bunch of bloatware and can't figure out which disabled the LG clipboard, which disables the AOSP/default android clip):

Swiping up from home button

Holding items on home screen (Nova)

Freezing after every keypress in Swiftkey and LG keyboard
[G2 Android Development] ahme_t:
Up?
[G2 Android Development] robogo1982:
Use/try AutoRec.
[G2 Android Development] ahme_t:
Thanks
[G2 Android Development] bayuadhi069:
LG kernel source for D802 still 20A.

So any custom kernel still based on 20A. Again, not .kdz but the kernel source released by LG is 20A and still no update as of today.
[G2 Android Development] pcfree:
To developers,

I would like to know why stock KK kernel is not compatible with stock JB bootloader. Where can I find the tech details? And how to patch the KK kernel source code to make it compatible with JB bootloader?

Thanks!
[G2 Android Development] savoca:
We rely on loki, a hack against boot/recovery img's to load these partitions that aren't signed by LG. LG's aboot (bootloader, part of msm8974's secure boot) checks to verify that the boot/recovery.img it is loading is official.

LG's KitKat OTA comes with a new custom kernel using DTBv2 (appended dt.img), this new and official kernel also requires LG's new aboot, which happens to patch the loki exploit.

The new kernels can't be loaded onto the loki-exploitable aboot we had in JB, since that aboot doesn't support DTBv2. So we have to recompile the kernels (with some changes to appease the JB aboot and the new use of mdss_mdp.panel in the display cmdline from the new aboot) under DTBv1 format, which has a split zImage/dtb, and will allow the JB aboot to load them.
[G2 Android Development] somboons:
This kernel can use with d80220b that support knock code?
[G2 Android Development] 6ril1:
same question:

Does this kernel can be used on the new release date stock d80220b that includes Knock Code without losing Knock Code functionality:

http://xdaforums.com/showpost.php?p=52017458&postcount=19

But, if we refer to Cloudyfa, it seems that we must wait until LG releases new sources code:

http://xdaforums.com/showpost.php?p=52021830&postcount=349
[G2 Android Development] pcfree:
[MENTION=4316709]Savoca[/MENTION],

Thanks & very appreciate your kindly reply.

After search & study several days, I've know the loki-magic, cmdline argument issue and dtsi file source insertion of qcom,mdss_dsi_lgit_video... May I ask how to build the kernel from LG KK source to generate DTBv1 image. I've add mdss_dsi garbage to dtsi file, then try to build the kernel by LG supplied make command. The generated pre-compressed "image" and compressed zImage do not contain mdss_dsi string added. It seems LG supplied make command do not generate DTBv2 format?? And if what I have now is standlone zImage, how can I manually make DTBv1 format image?
[G2 Android Development] savoca:
Using KK source, your build will finish with zImage and zImage-dtb, you will also have dts files in arch/arm/boot.

Inside this .zip you will find dtbTool, you will also need device-tree-compiler (available in apt-get) to run it.

Then this command will compile a dt.img for you.

./dtbTool -s 2048 -o /path/to/output/dt.img arch/arm/boot/
[G2 Android Development] pcfree:
[MENTION=4316709]Savoca[/MENTION],

Thanks for these useful tools.

I am new to android dev. However, I've discovered the TOT file structure to root LG D838. Please see my post here: http://xdaforums.com/showthread.php?t=2717934

I want to do something new to D838 phone. May I PM you to ask some questions off-topic from this thread?
[G2 Android Development] ephumuris:
Would it be possible for someone to patch the new Vodafone \germany d80220B rom boot.img?
[G2 Android Development] savoca:
Sure, no problem.
[G2 Android Development] pendroz:
Thread up :)
[G2 Android Development] Cloudyfa:
Stock kernel patched with Knock Code supported:

D802: http://www.androidfilehost.com/?w=files&flid=14195

I and [MENTION=4316709]Savoca[/MENTION] will try to adapt this KC to other variants soon.
[G2 Android Development] jackweedon:
tested with Paradus V6 and knock code working perfectly from screen off! thanks for the great work!
[G2 Android Development] MP1979:
Work very well on cloudypro 2....thanks man
[G2 Android Development] TheFerhatKing:
Knock Code don't work on QuickWindow only when the cover is open. It works perfekt on screen off.
[G2 Android Development] alienware231788:
:good::good::good::good::good::good:
[G2 Android Development] SNaReX:
Have you noticed any other enhancements apart from knock-on code?

I flashed now and until now I haven't felt any performance increase or more stability. Maybe this is because it is already stable enough:)
[G2 Android Development] alienware231788:
+1
[G2 Android Development] thiagofbrito:
Hey I've never lost knock on. What's this knock code about?

Sent from my LG-D805
[G2 Android Development] Marcosuper7:
Tested with CloudyFlex 2.1 and knock code working perfectly from screen off!

Thanks for the great work! :D

Enviado desde mi LG★G2★FLEX★KK★D802®
[G2 Android Development] Marcosuper7:
After closing the lid for 10 seconds.

When open this screen will appear where you will have to enter the code.

Enviado desde mi LG★G2★FLEX★KK★D802®
[G2 Android Development] TheFerhatKing:
But I mean Knock Code don't work there
[G2 Android Development] Marcosuper7:
Is that if I'm not mistaken this option only wakes the clock ect...
[G2 Android Development] farhanito:
Thanks for this..

Is this kernel based on the new Vodafone update, or?

Can we see the source code, please?

EDIT:

hissing and crackling sounds seems gone too.. Excellent.
[G2 Android Development] Kinhooow:
it will work ok D805?

In Brazil, LG release kitkat for D805 with Knock Code yesterday but i prefer CloudyStock

edit:

YES, IT'S WORKING WITH D805 (Brazil)

thank you

o/
[G2 Android Development] TheFerhatKing:
So for QuickWindow users knock code isn't very good because when you open the cover the screen turns on.
[G2 Android Development] farhanito:
But when cover is closed, Knock On works. Very well execution by LG.

Who needs to unlock the screen with closed cover anyway.. ?
[G2 Android Development] Marcosuper7:
Not so, the screen is turned on if you open it quickly, if you wait 10 seconds you'll have to insert the code on this screen.

Enviado desde mi LG★G2★FLEX★KK★D802®
[G2 Android Development] TheFerhatKing:
I know, I know but this is not the sense of Knock Code.
[G2 Android Development] schnip:
Thank you for the great kernel! Knock code works like a charm but when doing the "standard" knock knock nothing happens. It would be cool if the phone turned on like when pressing the power button(without unlocking ofc) . Is this possible or does LG prevent this by design?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] alienware231788:
Can you access lockscreen with simple double tap without all the combination of code? I've read that it doesn't work (it works only with power button)
[G2 Android Development] ziociccio:
Yes,double tap works.

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] superandroid2011:
Double tap works as long as you are not using KC to unlock the phone, if you are using KC, double tap will not wake up the screen, power button will.
[G2 Android Development] schnip:
i wish that could be changed. i dont really like that behaviour
[G2 Android Development] ziociccio:
is normal.

with the knock code can be set from 2 to 8 touches. If you are using knock code with 2 touches, it is unthinkable that the system will interpret this as a knock on, but we will see how to knock code.
[G2 Android Development] alienware231788:
Double tap not work when screen off..

Any solve to this..
[G2 Android Development] bl0wndiff:
You cant solve this, I'm on stock kitkat and the same thing is here. Moreover I think that's the proper way Knock Code should work, it would be stupid to get the screen on just by tapping randomly. So obviously one of the reasons Knock Code has been invented is to stop screen turning on when user accidentaly puts his fingers on screen, as it is case when using KnockOn to get the screen turn on.
[G2 Android Development] Pabo:
How to fix it?
[G2 Android Development] pendroz:
* 3845#*802# > setting > update touch firmware

* The device will freeze ( Wait until the process )
[G2 Android Development] angadreme:
THANKS Pendroz...I was getting really mad with this double tap to wake not working any more :good::victory::laugh:
[G2 Android Development] fkfs9:
i installed the KC kernel for stock kitkat on my d802 but i cant find the setting anywhere.

Knock On also no longer works.. but used the method above and works now.
[G2 Android Development] Idan73:
[MENTION=270378]Cloudyfa[/MENTION] What is on the latest update from 4th of may? Is it knock code compatibility with old bootloader by any chance? So far only d802 has released updated source code, and my version d803 is passed the gpl deadline, yet still no sources. So I was hoping you or [MENTION=4316709]Savoca[/MENTION] have found a way to support the rest without needing latest sources.

Sent from my LG-D803
[G2 Android Development] Cloudyfa:
No, its the latest patched stock kernel (no KnockCode support), for KC, you can find it in KC folder (only D802 now).

Other variants must wait for new LG source, no other way.
[G2 Android Development] Cloudyfa:
Some devices use different panel hardware (JDI instead of LGIT) and you will have white lines after using patched kernel. You must use those kernel with "_jdi" in its name.

For Devs:

You should make another version of your kernel to fix that issue for those using JDI panel. By using this cmdline appending:

"mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_jdi_cmd" instead of

"mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd"

For Users:

Show your favourite Dev this post and he'll know what he should do in order to fix the issue.

If you're using Stock kernel, flash these kernel instead: http://www.androidfilehost.com/?w=files&flid=14480
[G2 Android Development] Schrotty35:
How can i see which panel i have?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] SeVIIn:
Thanks so much for this, I cant wait to see the integration of it with all of the current aftermarket kernels :highfive: It's awesome having working recovery again!
[G2 Android Development] secondskin:
Does this mean that for those of us on LS980 variant we no longer to to flash your bootstack package? Also it looks like knock code is still killed after flashing this based on a few posts above mine?

Interestingly I have LS980 and didn't get white line issue after using autorec to gain custom recovery but I also didn't test for a long time because I wanted the newest knock on.

---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------
[G2 Android Development] lonz358:
Yea, I flash the kernel with the fix and now I don't need to flash the bootstock.
[G2 Android Development] nikosst:
thanks for the kernel [MENTION=270378]Cloudyfa[/MENTION].

Just a question: the kernel of 5th may has compilation date of 13th march is it normal (d802)??

thanks again :)
[G2 Android Development] BryWr:
I tried flashing it, and my phone went into a weird bootloop where it kept showing the LG logo with "Security Error" under it, power off, and would do it again.

I dont think thats normal.

I am on a d801.

Thank you!
[G2 Android Development] iall5tar:
Sounds like you didnt flash your kernel model... =/
[G2 Android Development] BryWr:
I definitely did flash the right model unfortunately. I even tried re downloading it and still have the issue.
[G2 Android Development] scottdanpor:
I got my screen wet and replaced it with one from Ebay. I then got the white line issue. Apparently I had LGIT before but now have JDI.

Cloudy's kernel solved it. Much appreciated Cloudy! :victory:
[G2 Android Development] squeeks716:
worked great for me! thanks!
[G2 Android Development] AspenSTi:
Same here, had white lines on an install of autorec. Then rebooted installed the kernel fix and bam no more lines. Thanks!!!
[G2 Android Development] arifqur:
Can someone explain what these white lines look like. When it happens to me its like the whole display becomes a mess of vertical maybe white or multicolored lines.

Is this what happens to everyone?
[G2 Android Development] stevie13.xo:
Yep