yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] shouk_1987:
I have flashed xposed systemless succeffully

It takes about 20 minites to boot first time

It is working fine with gravitybox for nougat

With magisk and jahlex 0.2.3b kernel with external sd formatted as fat
[LG V20 Guides, News, & Discussion] babihutan99:
Ok this kernel fix the video recording. But when i plug my quickcharge the icon doesnt show the qc (flash logo with round outline) and theres no notification of quickcharge is happening. With Ampere app, it shows "normal" charge rate.

Meanwhile when i use emdroidle's kernel the icon shows, the notification shows, and when tested with Ampere app, it shows "Turbo"

Edit : im using werewolf and the qc works again (notification and logo on battery). Plus the video freeze is also fixed. Im happy now. Thanks
[LG V20 Guides, News, & Discussion] joaovrsouza:
When I flash TWRP using fastboot and reboot my rom boot with problems on screen like a 'burn in', and I cant boot in twrp anyway.
[LG V20 Guides, News, & Discussion] shouk_1987:
Bluetooth have a major issue where it doesnot toggle instantly and it turns on after locking the screen by a random time

This is a main xposed issue and not for our device only
[LG V20 Guides, News, & Discussion] jahlex:
Hi,

after having tested [MENTION=4394458]Leicxan[/MENTION] kernel based on 10g sources and discussed with him, I made the decision to work with him on this kernel. I will not update any of the kernel I already provided (but I let them available for download).

I am currently using [MENTION=4394458]Leicxan[/MENTION] kernel and am facing no issue.

We will keep you updated of future evolutions of this kernel.

[MENTION=6984210]emdroidle[/MENTION] : FYI to fix video freeze issue in your kernel, I just copied the whole drivers/media/platform/msm/camera_v2 folder from 10g sources.
[LG V20 Guides, News, & Discussion] hotcell:
Are you referring to this kernel?

If yes, then that's what I'm currently using as well. Besides the kernel crash on copy to an external SD card (big files over 2 GB like KDZ), I see no other obvious issues with it.
[LG V20 Guides, News, & Discussion] Razorbacktrack5535:
Good luck :) Please check the BT Switch problem (I can't turn it on with your kernel but it's working with the Leicxan version)
[LG V20 Guides, News, & Discussion] jahlex:
Yes this is the kernel.

No problem in moving large files here. Not a general issue then. Maybe an issue that you encounter and that can depend on sooooo much things. Nothing to do with the kernel IMO. Moreover, if you don't provide more information and logs, nobody can help.
[LG V20 Guides, News, & Discussion] Redline:
This is fantastic news man. It really is. Once you've got the next release ready, I'd recommend you make a dedicated thread for it in the Dev section and link it here, that way people don't have to troll through pages of the same thread just to find the right kernel download. I'm using the same and it's by far the best one I've tried. Coupled with AKT Profiles ported from the OnePlus3, I'm easily seeing 5-7hrs SOT.

Looking forward to seeing what comes!
[LG V20 Guides, News, & Discussion] p7810456:
Also, one more thing. Is it possible to get back into TWRP after root without actually wiping the phone or using "adb reboot recovery"?
[LG V20 Guides, News, & Discussion] emdroidle:
As far as it goes, exFAT is a really crappy filesystem. Adding hash tables to FAT isn't something which should be patentable (gee, every other filesystem made in the 30 years has used hash tables due to their speed). The better solution is to instead use UDF, which is a standard and far more capable (it is possible to create files with names like line noise; "a:" is a legal Unix filename), but there is so much momentum behind FAT. :( Alas no one has taken that first step.

Sorry, had to make that statement, FAT really sucks. You've got good reason to want working exFAT. exfat-nofuse does appear to mostly work, but certainly there are hints it isn't such a good implementation. I'm wondering whether to jump to Samsung's implementation.

Problem is when trying to track down exFAT implementations zillions of different ones show up. The two big ones appear to be exfat-nofuse and Samsung's implementation (or rather bkuhn's copy on GitHub). I've been getting a bit of a bad vibe about exfat-nofuse, but so far it has in fact been working with my limited testing. Alas this hasn't happened for v0.2.4.

Yes. Hold volume down and power, when the LG logo first appears briefly release power and then press and hold again. Once TWRP is successfully installed this will go into TWRP rather than wiping the phone. Note the installation of TWRP via `fastboot` is the most unreliable step in the process, so having backups is good until you've confirmed TWRP has been successfully installed.

Are you sure the image persistence wasn't there all along, just the dark screen is making it a bit more obvious? `fastboot` does work, are you getting the timing right? Finger merely has to get fully off the power button, then right back on. The other factor is `fastboot` being unreliable. Yes, that is the start of the factory reset process, but will result in TWRP instead as long as TWRP has been successfully installed.

Interesting. I just put out v0.2.4 which has a different fix, reverting drivers/gpu/msm to stock. Since most of the compression is done there, that also looks to fix the issue. If we've got two distinct fixes, that is odd...
[LG V20 Guides, News, & Discussion] wrigglevision:
Is it just me, or do these steps only work if the "fastboot reboot" step is ignored? When I do it, the phone defaults to stock recovery and erases, then leaves the grey lines for me to start from square one. Historically, I just pull the battery after the two recovery flashes, and that seems to do the trick.
[LG V20 Guides, News, & Discussion] D4rk9009:
With kernel would be the best for los that 86x made for h990..?
[LG V20 Guides, News, & Discussion] hotcell:
1. If kernel crash screen on copy attempt has nothing to do with kernel... What files needed for investigation then? DiskInfo shows texfat FS.

2. Actually I've the second issue. WiFi connection stucks randomly, also when screen is on, meaning AP connection remains all the time, but there is no response on requests, so apps either waiting or show no network access / timeout / no response warnings. Brief tapping WiFi switch off and back on seems to resume the data flow. Other AP clients do not suffer from the issue.
[LG V20 Guides, News, & Discussion] blzsupp:
How do you manage enter TWRP without "adb reboot recovery"?

Holding DOWN+POWER, short release POWER on logo -> I see red triangle or Wipe dialog
[LG V20 Guides, News, & Discussion] hotcell:
Okay, exfat is crappy, but will a custom kernel allow automounting (on boot) ext2/3/4 formatted extSD card so all apps would be able to utilize it?

---------- Post added at 02:31 PM ---------- Previous post was at 02:12 PM ----------

The thing is that if you installed TWRP _successfully_ and twice confirmed YES on that dialog, you will enter TWRP and no wipe will occure. But, if not, you have a chance to get a wipe:eek:

Sure you could use an app like https://play.google.com/store/apps/details?id=com.antaresone.quickrebootpro to make your life a bit easier. BTW it can skip LG logo on reboots, well, except the red 10 seconds triangle of course + gives you nice shortcuts for rebooting.
[LG V20 Guides, News, & Discussion] dadme:
For me with latest [MENTION=4394458]Leicxan[/MENTION] kernel, DirtySanta-h990-1.2-u721-v10g.zip screen rotation is broken.
[LG V20 Guides, News, & Discussion] hotcell:
I can confirm the screen rotation has bugs. Sometimes only one horizontal position is supported, irrespectively of the actual phone position. So all video players show pictures up side down or only portrait... The only way to fix is reboot.
[LG V20 Guides, News, & Discussion] AVIMPEG:
https://xdaforums.com/v20/development/twrp-backup-10b-t3698077

For those who want to return Rom from TWRP
[LG V20 Guides, News, & Discussion] shouk_1987:
Bluetooth issue is gone with this kernel which is a great news

However the external card is having slow responses and it hangs when moving large files like 1.5G in size

Are we still limited to uaie FAT instead of any other one

exFat was fast and doing the job more efficiently

---------- Post added at 08:16 PM ---------- Previous post was at 08:09 PM ----------

Thanks

I know it is a weird question

Do you have the h990ds as i have the dual sim version ?
[LG V20 Guides, News, & Discussion] exadeci:
Thanks for the new kernel, what are the downsides?
[LG V20 Guides, News, & Discussion] AVIMPEG:
NO
[LG V20 Guides, News, & Discussion] jahlex:
As I said, a kernel crash is not necessarily linked to the kernel itself. This is a consequence. Is it cause ? Maybe, maybe not. Let's say that you have car crash because your car slipped on a puddle of oil that was on the road. Will you say "If my car crash has nothing to do with my car..." ?

As I also said, saying "this or that is not working" is just useless. Not saying this only for you, this is a general remark. The minimum info are :

- Hardware info : phone exact model, sd card model and filesystem format, eventually other devices info if relevant (IE while testing USB OTG)

- Software info : version of the kernel, version of the kdz

- Detailed description of the operation causing the issues

- Technical logs : logcat + dmesg

Now, to come back to the large file issue you mention. Regarding the info you provided, one hypothesis is that the issue is linked to texfat format. My µSD is formatted in vfat. That could explain why you encounter the problem and I don't. I will try with a texfat µSD if I find one.

Did not encounter this one neither. Using Wifi very often at home (web browsing, watching TV / movies on LAN) and no issue at the moment. The weird thing is that the Wifi part is purely stock in this kernel.

---------- Post added at 11:01 PM ---------- Previous post was at 10:52 PM ----------

Oh I think I encounter this one once while I was driving. Stuck in vertical postition if I remember well. Rebooted and never had it again. We'll need logs on this one. But rotation is also purely stock.
[LG V20 Guides, News, & Discussion] hotcell:
1A. Oddly enough, just re-tried the copy to Samsung virgin formatted texfat µSD 128 GB 10d.kdz and 10g.kdz files (around 2.7 GB in size each) from 64 GB OTG USB-C formatted as vfat - this time w/out a problem! Re-try the same from TWRP 3.0.1.2 was fine as well. Maybe there were some remnants from the previous kernel that I remember also caused a kernel crash?

1B. Still 2 unjustified notifications came on connect/disconnect OTG USB: the first one telling the ext drive is corrupted and asked to touch the notification to fix it (although I know it's perfectly fine and r/w everywhere, including in the V20). Just had to ignore. The second notification came on removal showing "USB drive unexpectedly removed. Eject before removing to avoid data loss". I don't know how to eject it safely (as the first one asking to "fix" was still there all the time the OTG was connected), seems like the second notification should be shown unless the first one resolved first (a bug in stock I'd suppose).

2. As to WiFi, what app/module data/cache may I cleanup to ensure there is no rubbish left? (even the system had an initial factory reset upon DirtySanta with no any backup applied to system settings).

I remember that after flashing and subsequent system reboots I had also the problem with camera manual focus disabled, but after simply cleaning data/cache of Camera app once the problem disappeared.

3. As I said the issue with screen auto-rotating disappeared only after reboot, but I have no idea what was the cause. Couldn't reproduce for now.
[LG V20 Guides, News, & Discussion] dadme:
jahlex, just dirty flashed H990* Generic Kernel v0.2.4 emdroidle kernel, and rotation works now. I know that are mixed modules now, but for me this fix rotation. I will try on weekend to clean flash 10c, upgrade with kdzwriter to 10f and clean flash DirtySanta-h990-1.2-u721-v10g.zip. If rotation is broken again i try to post dmesg logs.
[LG V20 Guides, News, & Discussion] wrigglevision:
Disregard/Delete
[LG V20 Guides, News, & Discussion] hotcell:
I have a general question. Looks like we basically have two major distinct usable kernel versions for now:

1. Current 0.2.4 by OP

2. DirtySanta 721-10g

They have quite different size, why is that? Anyone care to summarize the diffirences? I'd assume the reference here is the stock kernel. What version of stock FW 0.2.4 based on? What changes/fixes to WiFi it has? What are the differences in handling texfat/vfat/ext2/4/f2fs FSs on external μSD?

Also, it would be good to know how to switch between them the most appropriate way, preferably without using external PC. Sorry but I second splitting the thread to discuss kernels separately.
[LG V20 Guides, News, & Discussion] joaovrsouza:
I have the same problem than you. I'll try pull the battery too.
[LG V20 Guides, News, & Discussion] Leicxan:
1. The 0.2.4 kernel create by emdroidle is based on lineage's kernel source and his kernel is always based on lineage's source since v0.1, I think his aim is to bring us the full custom ROM in the future, you can check his github commit, he is working on bring up H990's device tree.

2. DirtySanta 721-10g is create by me and jahlex, this kernel is based on LG's stock kernel source drop, almost all the feature is working on this kernel, such as USB-C HDMI out, Focus Tracking in LG's stock camera app, and we also cherry-picked emdroidle's modem hack for our H990, otherwise pure LG's stock kernel use on our H990 will cause a modem issues, your phone won't get any signal.

I hope this is my last time hijack this thread... we will create a new kernel thread soon..

For the file system on your external SDcard

1. exfat is create by Microsoft and it's close source, the exfat module we used on our kernel is a open source project released by Samsung...

If you format your extrenal sdcard to this, both your PC and phone can use it.

2. vfat aka fat32, I think Linux kernel supported it long time ago, so it's doesn't need any extra module, both your PC and phone can use it.

3. ext2/4 is a Linux file system,for example our phone's system partition is ext4 format. I think you can format your external sdcard to this format, but need manually mount it. If you want use this on your PC, you must install a Linux distribution such as Ubuntu or ArchLinux.

4. f2fs is a new file system create by Samsung, in LG's stock kernel source we don't have this file system support.
[LG V20 Guides, News, & Discussion] hotcell:
Thanks. I deliberately mentioned ext FS. Is there an easy way to add (to kernel?) automounting of first partition on µSD card, even when it's formatted as ext2/4, whould it give us advantages like more reliabile, less defragmentation prone and more speedy R/W access?

Also, got the question about encryption: is there the right way to utilize it on internal and external SDs, on rooted device or should we forget about it completely?

---------- Post added at 01:33 PM ---------- Previous post was at 01:18 PM ----------

Thanks. Few questions:

1. What's the particular reason you don't mention 10d FW, only 10b/c versions?

2. When performing kernel switching, many have already tuned for their needs system. Can we consider TWRP backups reliable for restoration of system and user apps+data? What TitaniumBackup system level apps data may be restored (like system settings)?

3. Same question about encryption: is it safe to use built-in encryption of internal and external SD cards when rooted. Will the access from TWRP v3.0.2.1 be lost completely or there is a way to provide the right decryption password?
[LG V20 Guides, News, & Discussion] xdav20:
Some regions' kdz v10d may have later security patch date than Dec 2016. As long as it is below that date it should be fine.

Titanium Backups are kernel and firmware independent. There maybe some minor issues with restoring system apps' data from an older firmware to newer due to the changes in data structure of databases or xml files that normally stored under shared_prefs, something like that, folder. In your case you should be fine

I have never used the builtin encryption before, therefore not the best person to ask. I can share what I do though. I compress my most important data files with rar with password and encryption options on. You can always add and remove files from a rar file as it it was a drive itself. Rar files are portable whereas an encrypted SD Card is not.
[LG V20 Guides, News, & Discussion] KillerClaw321:
Does this exploit have a chance of working on any other devices?

Samsung Galaxy S7/S8/Note 8 users are desperate for any form of help.

We have been lied to by our carriers since the S7 about the bootloader unlock.
[LG V20 Guides, News, & Discussion] shouk_1987:
Thanks a lot for your guide

But may i know why flashing different kernels directly from TWRP above each other would cause any error

I was first on emdroilde then jahlex and then finally dirtysanta by jahlex and lexican
[LG V20 Guides, News, & Discussion] 3mL:
[MENTION=1657835]jahlex[/MENTION]

I'm currently running your 0.2.3b kernel, should I use the new 1.2-u721 kernel instead?
[LG V20 Guides, News, & Discussion] xdav20:
Many of the past kernels were driven from either werewolf or DirtySanta's which is based on LOS kernel. These two still shared heritage therefore could have been flashed over each other without any immediate adverse effect. But now the two main kernels will be very different and will most likely cause problems if flashed over one the other. They might share small parts with each other but one is based on LG Stock source code and the other LinageOS. When you hear about FM radio, Wifi, Camera, or sound problems you can't help thinking flashing kernels may have something to do with it. I hope this answered your question.
[LG V20 Guides, News, & Discussion] xdav20:
If anyone has seen the newly released firmware H990ds10j_00_OPEN_ESA_DS_OP_0923.kdz on lg-firmwares web site for Vietnam, don't bother downloading it. I did a checksum against it and it is same as all H990ds10j_00_OPEN_ESA_DS_OP_0923 listed on the same page.
[LG V20 Guides, News, & Discussion] hotcell:
I assumed it's the same ESA file for all 3 regions IND, PHL and VNM.
[LG V20 Guides, News, & Discussion] xdav20:
I'll let you know a secret, ESA that I call a super-region firmware, actually supports AME and AUS too. Going to open a thread, soon, with the info how TWN/SG owners can turn this firmware to Super-Region+.
[LG V20 Guides, News, & Discussion] Redline:
I'm currently still on TWN v10f and I'm in Australia. Been waiting for the new version for TWN KDZ to be uploaded. Is the new ESA one safe for me to update to using KDZ Writer? If not, which region would be?
[LG V20 Guides, News, & Discussion] qazishehryar:
[MENTION=1657835]jahlex[/MENTION] which kernel is stable and better in your opinion:

The warewolf kernel modified by you for H990

or

DirtySanta 721-10g created by you and [MENTION=4394458]Leicxan[/MENTION]

Thanks
[LG V20 Guides, News, & Discussion] ahmedyar91:
Jahlex mentioned, he won't support werewolf kernel anymore, as people still have issues with it,

He'll be working along with Leicxan for their own kernel which will be based on Leicxan's work.. :)
[LG V20 Guides, News, & Discussion] p7810456:
Thanks for all of you, and others' help! It finally worked and I'm setting it up as we speak! But one thing, I flashed kernel v2.3.0 when the newest is v2.4.0 (had it sitting around from last time, forgot to download the new one). Can I upgrade this just by simply flashing the new kernel over the old one via TWRP? Thanks in advance and for all of your help!
[LG V20 Guides, News, & Discussion] rubiicon59:
Its only possible to root firmware with security patch before 31 December 2016. See step #3 in the O/P.
[LG V20 Guides, News, & Discussion] -laughingman:
For those who have successfully rooted their device, can you test video recording of the camera.
[LG V20 Guides, News, & Discussion] fHB848:
Can confirm, root works, just that I had to flash via USB OTG due to corrupt .zips on my microSD.
[LG V20 Guides, News, & Discussion] kingnose:
Battery drain

Hi [MENTION=6984210]emdroidle[/MENTION] have you encountered battery drain issues with the device after the rooting procedure?

I'm getting random battery drains

Screen frozen, device not responding to any buttons, very hot, when battery is removed and replaced it shows a significant decrease.

I'm guessing something is wrong with the kernel? Or do I need to add these steps that are mentioned the original Dirty Santa thread : [IMG="(Screenshot)"]http://imgur.com/a/m5EWE[/IMG]

Thanks!
[LG V20 Guides, News, & Discussion] ahlok_hk:
Tested video recording of the camera not working with rooted H990DS TWN 10a firmware.
[LG V20 Guides, News, & Discussion] -laughingman:
Both front and rear camera does not work. It just shows a still image when video is played. Taking pictures work
[LG V20 Guides, News, & Discussion] darkstorm99:
I was one of the first to root the device under this method, I can confirm I have the same issue. It occurs under stock app and under Open Camera.

Seems like we have a major issue, might need to revert to stock :/

V10D-Aus

Emdroidle, I have also tried in different gallery apps. If it helps, Using MX player, the video does play back, albeit very very slow and stutters a lot, but only if software decoding is chosen. If hardware decoding is chosen, I get the same frozen frame as everyone else. Occurs on phone as well as pc.
[LG V20 Guides, News, & Discussion] Prowler_gr:
[MENTION=6984210]emdroidle[/MENTION] [MENTION=2764901]exadeci[/MENTION] is video recording working for you guys?

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Confirmed, video camera works after setting SELinux mode to enforcing.
[LG V20 Guides, News, & Discussion] rubiicon59:
Your f/w is unrootable, you need to upgrade to an earlier version.

Video recording / playback has stopped working on my V10c-TWN.
[LG V20 Guides, News, & Discussion] dadme:
Video camera working, but only after installing kernel adiutor mod, set kernel to enforcing and reboot. After reboot video recording works!

---------- Post added at 12:17 PM ---------- Previous post was at 12:14 PM ----------

Just use this https://xdaforums.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295

Saved my phone!
[LG V20 Guides, News, & Discussion] kingnose:
I'm using V10c TWN and camera works perfectly

But for me I'm getting random freezes with huge battery drain that can only be solved with a battery pull.
[LG V20 Guides, News, & Discussion] AlfaM03:
Waited forever for this! Thank you! Do any of the ROMs work for H990ds yet? Any root app suggestions?
[LG V20 Guides, News, & Discussion] -laughingman:
I cannot find the option kernel in the app. Are you referring to selinux instead?

---------- Post added at 12:57 PM ---------- Previous post was at 12:56 PM ----------

Have you tried recording something then tried to view the video? For the battery issue, maybe try to clean cache in twrp
[LG V20 Guides, News, & Discussion] Prowler_gr:
Confirmed, video camera works after setting SELinux mode to enforcing. I used the SELinuxModeChanger application to achieve this.
[LG V20 Guides, News, & Discussion] benyu5200:
My back camera can't focus, does anyone meet this problem before?
[LG V20 Guides, News, & Discussion] darkstorm99:
My focus seems to be ok in all 3 modes. Just asking the silly question, definitely dont have manual focus chosen?

Are you using SuperSU or Magisk? I and quite a few people are still on Supersu, and I get a prompt about being unable to obtain root access, even though I chose grant and it shows in the supersu logs as access being granted.
[LG V20 Guides, News, & Discussion] Prowler_gr:
I am using SuperSU, but I also have Magisk Manager installed. I doubt it makes a difference though.