yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] ahmedyar91:
This is what i was referring to as "Static Screen"

just follow the instruction provided it will get back to normal
[LG V20 Guides, News, & Discussion] jahlex:
OK thanks. I will give it a try.
[LG V20 Guides, News, & Discussion] ahmedyar91:
I was unrooted,

Went through the whole process of rooting again,

at first I flashed Leicxan's kernel to check if the focus problem still persist,

focus issues was present but I recorded couple of videos without any STATIC VIDEO issue, even tried turning of screen for couple of minutes and still the video recording and playback was smooth.

To solve auto focus issue I flashed your kernel,

Auto focus is working perfectly fine and surprisingly Video Recording/Playback is fine as well

tried turning of screen for 10 minutes, recorded a video successfully.

Will update with video recording after an hour or 2

UPDATE: So it worked for an hour or 2 and I left it on standby for the whole night,

Just checked the Video recording in the morning and STATIC Video Issue is there :(
[LG V20 Guides, News, & Discussion] reza_xdv:
I rooted, focus on the main 16MP camera works, but on the 8MP doesn't work. Also fast charging doesn't work.
[LG V20 Guides, News, & Discussion] Mars104:
Originally had the static video issue after flashing h990-kernel-v0.2b-cam-fix-jahlex.zip. I then reinstalled 10f kdz using kdz writer, this has fixed the static video issue for now. Have recorded several videos on both cameras and locked the screen for a few mins. Focus working ☺️.

I have the fast charging issue, based on the progress when connected to a fast qc3 charger it does seem to be charging slowly as well as not reporting fast charge on screen.
[LG V20 Guides, News, & Discussion] dave_id:
hello everyone!

So I just received my V20 h990 DS, decided to root it.

my phone got the sec patch from april 2017 (10e)

so I went to proceed with LGUP and got this error:

"ERROR/ 0X2000 FILE DOES NOT support "refurbish" process"

edit:

got it to work, thanks! (was a bit complex) run into some more problems so I will

write down exactly what I did and perhaps you can add it to your tutorial so it's clear for everyone...(thanks to the previous answers, I'm just compiling the solutions here)

after that "ERROR/ 0X2000 FILE DOES NOT support "refurbish" process"

select UPGRADE instead ot refurbish, it will work (don't forget to install the LGUP_common.dll in lgup (in /model/common))

then after install and reboot, do a factory reset (had some leftover settings from previous rom)

-for stage 16 it's normal to be in fastboot on the phone! (it was confusing)

then instead of typing "fastboot reboot" unplug the cable and remove the battery then put it back

-got the scary message with the red flag, relax!

-apply 17

-once in TWRP, choose cancel when asked for a password (it was confusing) choose "wipe" then "format data" (or you will be prompted for some passwords with 30 attempts left at next reboot)

be sure that it's "Format Data" and not advanced wipe > Data

-then flash the kernel and supersu or magisk

-reboot

-once back in the rom, untick automatic rom update because you will have a new security patch and loose root! (also I read that the newest security update applies anti rollback to 1)

that should clear some mistakes.
[LG V20 Guides, News, & Discussion] Redline:
I'd imagine force-enabling it wouldn't cause any repercussions, as I'd imagine the phone would still negotiate with whatever charger it's connected to and decide if it can fast charge or not (or not if this is done on the kernel level) but in either case I'd imagine it'll just pull whatever charge it can.

Ampere still reports a 1800Mah connection to the charger, but there's definitely less power being pulled. On a sidenote, what WiFi/BT fixes are those? Are they present in the 0.2 with the camera fixes that was uploaded the other day? I haven't noticed any issues using WiFi or BT, so just curious if using your version before those fixes come out will affect me :)
[LG V20 Guides, News, & Discussion] emdroidle:
Uhm, an awful lot of modern hardware is heavily controlled by pure software. In a number of places bad software can actually tell hardware to do things that will cause damage. Perhaps the authors haven't been meaning it this way, but it kind of sounded like it overrode negotiations and forced fast-charging. I'm playing the conservative here. :)

Notably "BroadPwn" and "BlueBorne".

The worst damage I had previously read about BroadPwn was the potential to create a self-propagating worm which infected an ARM processor embedded in their 802.11 ("Wifi") chips. Reads like more recently they've been attacking Linux's 802.11 network stack and finding remote code execution vulnerabilities (very bad).

Blueborne is attacking the Linux Bluetooth stack. Few people had bothered to do much attacking before and thus lots of severe vulnerabilities were found. Apparently several remote code execution vulnerabilities were found (very bad).

Alas while the CVEs are listed in the security bulletin, the patches aren't going to be public for a week (sometime between now and the 19th).
[LG V20 Guides, News, & Discussion] Xenago:
Thanks a ton. I also have an H990DS with s5k2p7, currently on 10f (AME region). This fixed focus for me, as far as I can tell. I flashed the zip and didn't reflash superSU or anything, it just works! I tested the OEM camera app, Snapchat, and Telegram - all function as expected. :) I will report if I notice any problems.
[LG V20 Guides, News, & Discussion] ahmedyar91:
Check Video recording/playback as well, users are facing static video recording issue
[LG V20 Guides, News, & Discussion] Xenago:
Tested in OEM camera, snapchat, and Google Camera HDR+ modded APK. Snapchat works (probably because it just records the screen) but I am experiencing a static image in the other two.

Edit: tested with front camera, same result.
[LG V20 Guides, News, & Discussion] jahlex:
Hi guys,

new kernel version (0.2d) which is basically emdroidle's v0.2 with LSE997 cam drivers & power drivers ==> https://xdaforums.com/showpost.php?p=73770419&postcount=648

Working on my H990DS :

- root

- camera focus

- video recording

To test :

- quick charge ==> I can't say because my battery is fully charged right now, so you tell me
[LG V20 Guides, News, & Discussion] ahmedyar91:
Focus was working flawlessly but I had Static Video Issue in Jahlex's Kernel,

I flashed Lexcian's kernel in the morning and it's been 4 hours and I've not faced any Video Recording issues as of now,

But Focus issue is still present. (as this kernel doesn't have the s5k2p7 drivers)

I think our best possible chance to have working focus & Video isto include s5k2p7 Camera drivers into Lexcian Kernel.
[LG V20 Guides, News, & Discussion] jahlex:
Give a try to my 0.2d
[LG V20 Guides, News, & Discussion] ahmedyar91:
Gonna flash it right now :fingers-crossed::fingers-crossed:
[LG V20 Guides, News, & Discussion] Ryrzy:
instruction from first post ?
[LG V20 Guides, News, & Discussion] reza_xdv:
Fast charging isn't working.

Also the option "Power Supply" when we connect phone to pc is no longer present. only present with werewolf kernel.:(
[LG V20 Guides, News, & Discussion] jahlex:
OK we'll need to dig deeper for fast charge.

What is the option "Power Supply" you mention ? See attached picture, I have the option to only charge the phone when connecting to PC.

Focus & video OK ?
[LG V20 Guides, News, & Discussion] reza_xdv:
I mean with stock and werewolf kernel we have power supply option. As you see in the picture. Maybe your kernel missing a file. I'm just guessing because I dunno how to build a kernel.

Focus works great. But in the wide angle camera manual focus seems not to work. I donno is it the same in the stock or not because i don't use the wide angle camera much.but the auto focus works great.

Video recording works too. Guys said it has static screen problem after some minutes but i havent experienced it.

Now the main problem is with fast charging.

Could you have a look at werewolf kernel and see why does it have fast charging enabled?
[LG V20 Guides, News, & Discussion] ahmedyar91:
Yes the same instruction.

Flash TWRP

Code:

fastboot flash recovery twrp-3.0.2-1-h990.img

and wait it to finish, then wait further 30 seconds and run the same command again and then wait for another 30 seconds to enable the command to execute completely.

unplug sync cable, pull out battery wait 5 seconds and put back afterward

boot in to TWRP.

Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again.

You will then be prompted "Delete all user data and reset all settings?"

Select ""Yes"" twice, and as long as TWRP installation was successful you'll get into TWRP and NO RESET will be done.
[LG V20 Guides, News, & Discussion] jahlex:
Not that easy.

My guess is that fast charge is forced anytime. I am really not convinced that this is the best thing to do.

CONFIG_FORCE_FAST_CHARGE=y
[LG V20 Guides, News, & Discussion] v0ne:
Feedback in latest jahlex kernel v0.2d: Fast charge is not working if screen is on (same with base on warewolf kernel). But fc will automatically kick in when screen is off. See ss.
[LG V20 Guides, News, & Discussion] jahlex:
Thanks for this feedback.

This seems to be a normal behavior according to this : https://xdaforums.com/v20/help/fast-charging-t3538061

Or is it different using stock kernel ?
[LG V20 Guides, News, & Discussion] ahmedyar91:
Every thing is working perfectly Video Recording Auto focus :)

BTW Haven't tested Fast charging thoroughly, but I can't see Fast charging notification, emdriodle also mentioned about fast charging i think it's disabled, not sure though.!

Thanks for the effort [MENTION=1657835]jahlex[/MENTION] :) :good::good:
[LG V20 Guides, News, & Discussion] reza_xdv:
By the way you mean fast charging is working but just the phone doesn't pop up the fast charging message?

Have a look in this thread, enabling fast charging even when screen is on. I tried it and still I don't see fast charging message but the phone seems to charging fast!

Link: https://xdaforums.com/v20/themes/mod-fix-cpu-throttling-charging-gaming-t3650705

Can you help me with this? When I upgrade system with kdz writer I see this error after writing system and system won't boot: inflate() failed: (null) kdzwriter : failed while writing /system , major problem, PANIC! failure while unmounting "/system": device or resource busy.

I tried all the -a -s -k -aM -sM commands but not fixed!

Now I can confirm that focus is working well with both back cameras!!!:good:
[LG V20 Guides, News, & Discussion] jahlex:
Having a notification and actually charging fast are two different things indeed.

Modifying the thermal configuration seems risky to me. OK you'll charge faster, your cpu will have an higher frequency but... your phone will get hot. On one hand, you would be able to cook an egg on your phone, which is pretty cool functionality, but on the other hand the lifetime of your phone's components will probably be reduced.
[LG V20 Guides, News, & Discussion] Mr.Gong:
Both the focus and the video problems are solved, It's just a quick charge that doesn't show up.

Thank you for doing all this ! :fingers-crossed::fingers-crossed::fingers-crossed::good::good::good:
[LG V20 Guides, News, & Discussion] jody2k:
My friend you should make a own kernel topic for H990DS ;) great !
[LG V20 Guides, News, & Discussion] Xenago:
I can confirm the other reports, this fixes the focus and static video. Fast Charging works when screen off. Great stuff! Much appreciated, and of course I will report if I encounter issues.
[LG V20 Guides, News, & Discussion] admops:
Thank you so much.. camera problem is now gone.. my phone is finaly completed!!! :victory: :highfive:
[LG V20 Guides, News, & Discussion] ahmedyar91:
Dear Check your PM regarding Xposed
[LG V20 Guides, News, & Discussion] dave_id:
ok...I've flashed the werewolf derived kernel and now I can't focus...great!

will try the new kernel from jahlex but franckly if the camera capabilities are gone, there's no point in rooting it and that's too bad...

will give you feedback about how it works!
[LG V20 Guides, News, & Discussion] ahmedyar91:
Try the latest jahlex's kernel

Everything remains intact with Root ?
[LG V20 Guides, News, & Discussion] dave_id:
just did it:

half the work is done, the main camera does focus, the wide angle one doesn't work, it's just displaying and no focus!

video got no static noise.
[LG V20 Guides, News, & Discussion] johanneswilm:
The wide angle didn't focus for me in non-rooted mode either. It's just the same mid-focus constantly. Are you certain that this used to work for you?
[LG V20 Guides, News, & Discussion] jahlex:
How are expecting to focus in wide angle mode ? Basically everything is focused, that is the concept of wide angle.

Is this different with stock kernel ?
[LG V20 Guides, News, & Discussion] v0ne:
Oh. Sorry will check
[LG V20 Guides, News, & Discussion] ahmedyar91:
Yea that's confusing everyone.

Its a wide angle not a telephoto lense

It has everything in focus

It works the same.

Jahlex can you build with the werewolf combinition.?

Actually it has KCAL support and some other stuff
[LG V20 Guides, News, & Discussion] jahlex:
Not that easy buddy.

I already had a look and couldn'nt make it. It would take some time. We'll see if I have time.

At least we already have a functionnal kernel for those with Samsung sensor with v0.2d.
[LG V20 Guides, News, & Discussion] ahmedyar91:
Take your time buddy, not in a hurry.!

We have complete root and thats whats important.! I can live with it
[LG V20 Guides, News, & Discussion] ahlok_hk:
Flashed [MENTION=1657835]jahlex[/MENTION] 's to H900DS with the following observations:

1. USB Flash Drives not working

2. OTG cable not working

3. USB to HDMI not working

Flashed [MENTION=4394458]Leicxan[/MENTION] 's Werewolf Kernel 2.0 to H900DS with the following observations:

1. USB Flash Drives working

2. OTG cable working but only for low power devices such as mouse and usb drive but not for USB Hub + LAN

3. USB to HDMI working

4. OTG devices like USB Hub + LAN working which plugged into external powered hub

My V20 has Sony camera so no camera focus issue.
[LG V20 Guides, News, & Discussion] dave_id:
ok so wide angle doesn't got any focus feature, right? good then, it's working.

you mean that there's 2 types of sensors in that phone??I just hate that when they do this, like when they have different screens providers...

do we know which one is best? I would say sony but not sure...
[LG V20 Guides, News, & Discussion] Mr.Gong:
Jahlex is our hero ;)
[LG V20 Guides, News, & Discussion] jody2k:
Kcall color plugin and some cpu gouvernors from werewolf kernel would be cool :)
[LG V20 Guides, News, & Discussion] MosesCT:
Boys, how can I root directly with jahlex kernel?

Can I switch it with the kernel in the guide?

ps: jahlex you saved my life lol.
[LG V20 Guides, News, & Discussion] emdroidle:
In this case I would suggest retrying downloading the KDZ file, this sounds like a corrupt KDZ file. Test mode (-t) can be used as a double-check before writing a KDZ file, it simply goes through all the unpack steps without writing anything and should give the same error messages.

Once this is done you'll also need to reinstall one of the kernels.

Discovered I did a silly goof with the -20170913 kernel and I've uploaded an updated version. If you install the original version, you will want to have /system remounted read-write and then run the command `mv /system/lib/modules/exfat.ko /system/lib/modules/texfat.ko`. Yup I goofed and missed the step of renaming "exfat.ko" to "texfat.ko". Easily fixable.

I'm wanting to track down exactly what is being fixed. Could a volunteer try the attached kernel and tell me whether it has the camera issue or not? (experiment branch, this includes the available security updates)

When trying this, could you report whether any kernel messages related to "msm_actuator_" show up (on the device `dmesg | grep -emsm_actuator_`, or `adb shell dmesg` and look through the results)? This would hopefully confirm where the issue actually is.

MD5: b53129b989069fabe23f3d185be2330a

SHA1: d6e35b755beaa672b846b09bde24809ee2b43156

SHA512: 7def52f87639be75422b80f0c29da9b27a83b92810e553a239da34b2e2569b78c6937f3d0848c901f5d38475d9c30e777b67db4d781c4721b9c7812a3c4f2022
[LG V20 Guides, News, & Discussion] D4rk9009:
Can anyone tell .why when i het to part where itype applypatch/ in terminal .. Nofhing happens. It says cile npt found..so how do i getrunmecirst to lromt to ru. Stem
[LG V20 Guides, News, & Discussion] dave_id:
you have to type this exactly: (don't forget the spaces)

applypatch /system/bin/atd /storage/emulated/0/dirtysanta

if not working , restart the procedure

---------- Post added at 03:18 AM ---------- Previous post was at 03:04 AM ----------

also can't seem to find the files "abootbackup.img" and "bootbackup.img"...where are they supposed to be?

not possible to use LGUP to get back to stock without it?
[LG V20 Guides, News, & Discussion] Leicxan:
This

CONFIG_FORCE_FAST_CHARGE=y

is for fast charge on USB port, normal USB 2.0 port use 500ma charge speed, with this option it can reach 900ma if you are use USB3.0 port.

Hi emdroidle, I complete your kernel with your source from jcadduono, this git repo

Build is successful, but I got a watch dog error after my reboot.

Screenshot attached.
[LG V20 Guides, News, & Discussion] jody2k:
If guys are interested: zen i/o scheduler gives insane battery life compared to cfq for my h990ds. I tried the modified werewolf kernel (with broken focus camera :( )

Also advanced color control (kcal color) is a nice feature on this phone, got rid of the yellowish colors

Would be nice if there features could be added in future to leicxan kernel? :) but i suggest it aint so easy? As there was already some trouble to add the camera drivers module
[LG V20 Guides, News, & Discussion] jahlex:
dmesg and logcat attached.

May I suggest you to have look at these files ?

drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c
drivers/media/platform/msm/camera_v2/sensor/ois/msm_ois.c
drivers/media/platform/msm/camera_v2/sensor/ois/lgit_s5k2p7_rohm_ois.h ==> missing in your kernel
drivers/media/platform/msm/camera_v2/sensor/ois/lgit_s5k2p7_rohm_ois.c ==> missing in your kernel

On my side, built a werewolf based kernel yesterday but the phone becomes very laggy. Will try to figure out what the problem is...
[LG V20 Guides, News, & Discussion] ahmedyar91:
Guys anyone having issues with finger print unlock.??

Whenever i restart my phone the fingerprint unlock doesn't work on first unlock,

it works only after unlocking with pin/knock
[LG V20 Guides, News, & Discussion] Jaspreet.master7:
It is normal even on a unrooted phone
[LG V20 Guides, News, & Discussion] ahmedyar91:
Lolz, Just paying extra attention after rooting :p

ended up finding abnormality even in normal stuff.
[LG V20 Guides, News, & Discussion] jahlex:
yep, unability to unlock with fingerprint at startup comes with unfocusing camera while using wide angle. Damn root. :silly:
[LG V20 Guides, News, & Discussion] Jaspreet.master7:
I think we also need unrooted testers who can tell whether a certain situation after root also exists in unrooted phone or not

---------- Post added at 12:33 PM ---------- Previous post was at 12:33 PM ----------

I'm up for it.

Be camera focus recording

Fast charge and other stuff
[LG V20 Guides, News, & Discussion] ahmedyar91:
Does that mean its due to root.? Or is this the normal behaviours.?
[LG V20 Guides, News, & Discussion] D4rk9009:
Can u guys tell me please why when i type in terminal in my phone. Applypatch/system/bin/atd/emulated/0/dirtysanta i get error msg that file not found
[LG V20 Guides, News, & Discussion] hugoletz:
must be space after /system/bin/atd .
[LG V20 Guides, News, & Discussion] D4rk9009:
Omg ..thank tou
[LG V20 Guides, News, & Discussion] dave_id:
I told you to be aware of the space while typing it!
[LG V20 Guides, News, & Discussion] reza_xdv:
Actually it seems that my KDZ file is OK, because LGUP flashes it without any problem.
[LG V20 Guides, News, & Discussion] jody2k:
[MENTION=1657835]jahlex[/MENTION] you think its possible implement (paste) your camera focus fix into leicxan kernel which including good features like: kcal color and gouvernors etc, great battery life etc?
[LG V20 Guides, News, & Discussion] dave_id:
like he said, he's working on it...
[LG V20 Guides, News, & Discussion] Redline:
That'd be a question for [MENTION=6984210]emdroidle[/MENTION] since he's the one working on getting our kernel up to date with newer sources, the other ones are just forks with specific files and commits added to work for the moment.

Might also be a possible collaboration question between OP and another for kernel maintainers :highfive:
[LG V20 Guides, News, & Discussion] reza_xdv:
Here's the link to the KDZ file that I've used:

https://lg-firmwares.com/download-file/?fileId=10042
[LG V20 Guides, News, & Discussion] jahlex:
LGE only released the sources of v10a for H990. Yes, at the time, they were only using IMX298 sensor, so no trace of these files in the kernel. Now take a look at H918 sources. 1st version : same as H990 v10a. Last version (I didn't check intermediate ones : they are present. I am pretty sure that LGE contracted with Samsung for their sensor after releasing the first versions of the H990. See attached picture : LGE H915 sources.

I will give a try these and report.
[LG V20 Guides, News, & Discussion] admops:
Battery life using jahlex mod kernel for me is been great.. got 5-6 hours sot easily.. but any perfection is always a welcome feature :p
[LG V20 Guides, News, & Discussion] jody2k:
Yeah its good also :) im getting about 7 SOT with leicxan's but this is bacause of the Zen i/o scheduler and probably some other tweaks
[LG V20 Guides, News, & Discussion] Mars104:
Tried both of the new experimental kernels my camera focus did not work for either, jahlex fix works for me. When I run the command 'dmesg | grep -emsm_actuator_,' in terminal emulator nothing is returned
[LG V20 Guides, News, & Discussion] ahlok_hk:
just curious if you can use any USB OTG or USB flash drive when using jahlex fix kernel?
[LG V20 Guides, News, & Discussion] Mars104:
No I don't have one. I use 128gb micro sd. Only issue I have noticed is that fast change is not reported
[LG V20 Guides, News, & Discussion] jahlex:
experiment1

camera focus : NOK

video recording : OK

experiment2

camera focus : NOK

video recording : OK

Attached dmesg & logcat.
[LG V20 Guides, News, & Discussion] Smackedgnome:
Just wanted to say thnx worked a treat:):)
[LG V20 Guides, News, & Discussion] ThomasKHL:
I've tried mine with h990-kernel-v0.2d-fix-jahlex

& my camera focus works.

It also works on cameras with WeChat & QQ but not with Whatsapp.

My device is V20 H990N V10e-HKG-XX (downgraded from V10h-HKG-XX).
[LG V20 Guides, News, & Discussion] ahmedyar91:
Guyz I've been using jahlex kernel

Rooted with magisk

Can any one share their status of root beer ..?
[LG V20 Guides, News, & Discussion] Smackedgnome:
Rooted with SuperSU running jailed kernel and camera focus fix
[LG V20 Guides, News, & Discussion] haririan:
didn't worked for me at all

I fixed my phone by taking it to lg customer service they had better app than I was
[LG V20 Guides, News, & Discussion] ombundetot:
LG-h990ds-kernel:3.18.31-soft:v10g-SEA-XX

For lg LG h990ds kernel: 3.18.31-soft: v10g-SEA-XX is a chance ....

I also look for good custom rom for h990ds but without luck.

I really wrote jthrasher47 because it already modified Resurrection Remix 5.8.3-WHO 7.1.2-8 / 12/17 and it seems to man in the job however at dualsim I think it is more work.

https://xdaforums.com/v20/developme...beta-unofficial-t3540362/page140#post73828377

Thank you very much.
[LG V20 Guides, News, & Discussion] dilaboni:
https://imgur.com/a/YklHj

Rooted with Magisk v14 running kernel h990-kernel-v0.2 and camera focus all fonction

h990ds