yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] hotcell:
[MENTION=6984210]emdroidle[/MENTION] [MENTION=1657835]jahlex[/MENTION] [MENTION=4394458]Leicxan[/MENTION]

Just quick summary of relevant things from this post:

The latest kernels (tested on H990ds 10d with kernels DirtySanta-h990-1.2-u721-v10g and LGH990-stock-jahlex-0.1) are showing Kernel Crash when simply trying to copy a 10d or 10g KDZ file from /external_sd/a/b/c/ subdirectory to /external_sd/ root.

They are crashing also when coping happens in TWRP. External SD is Samsung 128 GB rather speedy UHS-1 has its virgin formatting without any extra re-formatting (i.e. the most probable use case). Also, the device started to show in adb as US996 instead of H990ds, a sign of ?
[LG V20 Guides, News, & Discussion] Salvaparalyzer:
Well, I'm running unofficial 87 version by PurifyOS. Tried to flash 88, 88.1, 88.1 systemless but always ended in bootloop.

Unofficial 87 flashed correctly. Then there was a point that the phone didn't pass the bootloop even when using the uninstaller.

Restored Nandroid Backup with TWRP and booted again.

Tried to flash again, and I don't know if I messed up try to constantly reboot to recovery (Through the night I noticed that I did the power + vol - incorrectly, because I was in a panic rush of having my phone trashed) But then the phone won't even let me try to boot to recovery (The "your device is corrupted" screen kept showing faster than the button combo).

Had to recover in download mode (after a bunch of heart attacks, because I couldn't get past 9%)

After that I proceeded to root following emdroidle instructions, and I presented a problem I didn't had when I first rooted my device, TWRP not installing correctly, static in boot and recovery. Managed to solve that flashing TWRP 4 times.

I restored my month old ago Nandroid Backup :(:(:(

Now running Magisk 14.2 and Xposed Unofficial 87 (Already installed at the nandroid backup) and 10f update.

Anyway, the werewolf_h990_unofficial_v0.1_l711-no-rctd.zip kernel was working better for me (GPU Freq can be maxed to 652, instead of 624 of new kernel)

Managed to found werewolf_h990_unofficial_v0.1_l711.zip kernel in a chinese forum and it's working correctly. But no-rctd version worked better for me.

If [MENTION=4394458]Leicxan[/MENTION] gives me permission, I could upload the file.

Thanks for the time for adressing my doubts. :D
[LG V20 Guides, News, & Discussion] ahmedyar91:
Ok.

You can uninstall unofficial Xposed and update to official one..

Magisk has the official one in modules repository

The first boot will take 20mins..
[LG V20 Guides, News, & Discussion] Salvaparalyzer:
It lasts that much?

Maybe that's why i thougt It was not booting.

So you recomend to give it a shot and letting the phone for 20 mins after flashing xposed?

Thank you :D
[LG V20 Guides, News, & Discussion] ahmedyar91:
Yes.. Was worried as well for the first time,

But after searching in Xposed thread, i found out people are having this at first boot..!!

Btw ptrss thanks if its helpful. :)
[LG V20 Guides, News, & Discussion] xdav20:
I have, more than few times, reported about all custom kernels having file system issues. Only [MENTION=6984210]emdroidle[/MENTION], so far, commented back on it. As I recall it, he was considering porting Samsung's implementation into DirtySanta's kernel. I'm guessing this work is the reason that we haven't heard anything from him for a while. I am not going to trust my data with non-stock kernels for the time being as I have had data loss at critical times.

Edit-01

I'm hoping a new rooting method is born where I can choose a 100% (okay 90%) stock kernel. Having multiple LG Devices in the past 3 years, nothing will work as good as the stock kernel with LG devices.
[LG V20 Guides, News, & Discussion] AVIMPEG:
Where can I find DLL files For the Model H990

I'm kinda desperate No one answers me That's my third question

is there anyone here
[LG V20 Guides, News, & Discussion] hotcell:
Today I had my folder data empied from extSD directory and its subdirs. Guess how? After trying 10d.kdz over 2 GB file copy from TWRP 3.0.2.1 finished in kernel crash, I booted in the system, and it chewed my extSD (notif. "preparing...") for probably 1-2 minutes. Well, maybe the folder was marked dirty or had errors after the crash on copy initiated from TWRP, but the emptied folder /extSD/a/b/ had exactly the /extSD/a/b/c/*.kdz file I tried to copy! The folder /extSD/a/ retained all its subfolders and files, except the folder /extSD/a/b/ that retained managed to retain its folders, but emptied from any files. I've no courage to try copying from extSD root :silly:

So are you keeping old 10c/10d stock kernels and managed somehow to retain root or just have un-rooted your main V20 keeping full stock kdz with latest security patches?

Also, I wonder if TWRP is able to decrypt internal and/or external cards so we still can encrypt them and have access from TWRP? So far I have no idea what pwd it wants and how to obtain it (normal screen unlock pwd doesn't work)...
[LG V20 Guides, News, & Discussion] hotcell:
That's what helped me.
[LG V20 Guides, News, & Discussion] xdav20:
After more than one month of owning an H990DS, I have done nothing with it but experimenting, testing, and automating things for when the kernel is reliable enough. I can't wait to retire my LG G Pro 2 and replace it with one of my H990DS. The extra storage capacity (x3), speed, DAC, and more memory is what I love to have on my daily phone.

Didn't want to say it...but I dislike this dependency so much that I have started learning the underhood of Android (Linux) so I can eventually be able to do, at least, 80% of things by myself.
[LG V20 Guides, News, & Discussion] hotcell:
Oh no! Are you serious? Kernel cooking would require very extensive knowledge of *nixes plus you have to be better than average programmer with real-time embedded devices handling skills. So instead of touching Android Java world you'll be deep into much more complicated stuff ... for eternity :)

So are you keeping 10d stock kernel or somewhere on 0.2.3 from the thread?
[LG V20 Guides, News, & Discussion] xdav20:
I'm sorry, I use jahlex's werewolf v0.1 that was posted a while back. The one with camera fix. Werewolf also suffers from file system issues but not as bad as DirtySanta's.
[LG V20 Guides, News, & Discussion] Leicxan:
Sure, you can get it from here
[LG V20 Guides, News, & Discussion] shouk_1987:
I have flashed jahlex 0.2.3b as the ported werewolf had a minor bug in the 2nd screen it was laggy and contacts dial shortcuts were shifted such that last contact was almost visible

Also formated ext sd to fat and now all is fine
[LG V20 Guides, News, & Discussion] Bangash737:
Guys is there any difference between H990ds Taiwan version and H990ds Middle east version? I am using Middle east version with software version: V10g-AME-XX and 1st September 2017, android security patch level. So can it be rooted?
[LG V20 Guides, News, & Discussion] shouk_1987:
Yes it can be rooted mate

I am on the same region and v10g as well and rooted

Just follow the OP you need to downgrade 1st then will upgrade again after root

---------- Post added at 01:55 PM ---------- Previous post was at 01:53 PM ----------

Hello ahmed

I have removed drivers and installed lg bridge

Still not seen in twrp ( in cmd in windows when i enter adb devices there is no device shown )

Am i doing it correctly shall i do something in twrp or enter specific page

Note that i am on twrp 3.0.2 and there is twrp 3.1.1 but not updated to it yet
[LG V20 Guides, News, & Discussion] AVIMPEG:
I already have it it does not help

It does not recognize my device. That was my second question

Go back a few pages

I am trying other software that require an H900 DLL that I can not find
[LG V20 Guides, News, & Discussion] shouk_1987:
I had the same issue till i renalized that i must run lgup as admin user

Although i am admin user on my pc but it saw my device when i did
[LG V20 Guides, News, & Discussion] hotcell:
Did you tried recovery Method 2 from the first post here (fastboot using abootbackup.img)?
[LG V20 Guides, News, & Discussion] AVIMPEG:
Yeah sure I ran as an admin and UPPERCUT to And many other ways

---------- Post added at 10:16 AM ---------- Previous post was at 10:13 AM ----------

No I can not because Everything was erased after DirtySanta
[LG V20 Guides, News, & Discussion] hotcell:
Well, I thought download mode (volume up button) works even for unrecognized devices...

What about this method?

Or this?
[LG V20 Guides, News, & Discussion] xdav20:
I am very disappointed with my findings. I hope, I'm wrong, but I don't think so.

I always wondered why there has been so much problem with exFAT support with our custom kernels. exFAT is patented by Microsoft, knew that already, and anyone use or distribute it must pay a license fee, forgot about this one. Apparently, back in 2013 Samsung released their exFAT implementation as GPL, meaning anyone can use it for free. I remember, [MENTION=6984210]emdroidle[/MENTION] did mention he intends to use Samsung's implementation but I assumed he meant by replacing the existing broken implementation -- not, in fact, to introduce it.

What the lack of exFAT means to you and I? No media storage formatted with exFAT can be connected to LG V20 H990DS with a custom kernel installed. Also, the user cannot handle files more than 4GB in size. The other day I tried to move the system.img to a Fat32 formatted SD CARD and I couldn't.

I see root process as a progression, not a regression. Progression, because we can do more once rooted. When a key feature is removed and something else is half-baked then we, technically, regressed. I know some of you will quote me on this.

I'm not trying to undermine anyone's work in here but to highlight the issue and express my opinion that the knowledge of this has been suppressed and not once I was given the appropriate answer (or any) when I spent hours testing and recovering when something went wrong while the developers knew what was going on. I would like to be proven wrong by an already published disclaimer note about the absent of exFAT with the release of kernels to the public. I would be deeply offended if my understanding of this situation was right on the money.

I would like, respectfully, to request [MENTION=6984210]emdroidle[/MENTION] to address this issue for us and update us with any progress on this matter. Even FAT32 implementation ported to all custom kernels have their own issues. I genuinely don't trust any kernels, released to this date, with my critical data. Thank you.
[LG V20 Guides, News, & Discussion] AVIMPEG:
I can not use the LGUP software because of an unrecognized model
[LG V20 Guides, News, & Discussion] xdav20:
I found myself where LGUP wasn't recognising my phone as LG H990DS, instead the US version, nor I could flash a kernel or restore system partition from TWRP backups.

From fastboot I flashed misc and persist partitions (maybe boot image too) and everything, magically, started working again. I'm guessing you don't have a backup of the mentioned partitions. How about trying to restore only the boot image of a TWRP backup and then try LGUP again?

Whatever you do, for the time being, do not lose TWRP recovery and fastboot because one of them is your ticket out of this.

Edit-01

Sometimes after a change to the phone, I had trouble with everthing on the pc side until I rebooted both devices.

Edit-02

When working with, lgup, adb, and fastboot always disable the antivirus.

Edit-03

I just double-checked before commenting. With LG Firmware Extractor you can extract persist, cust, and boot partitions and flash them by fastboot, at your own risk.

example after extracting ESA 10j

fastboot flash cust cust_1633414.bin

fastboot flash boot boot_6.bin
[LG V20 Guides, News, & Discussion] ahmedyar91:
I have 3.0.2 as well.. I don't know why it isn't working
[LG V20 Guides, News, & Discussion] hotcell:
ext2/4 or f2fs?

Do you mean there is no kernel sources released for V20 regarding exfat handling part?

If Samsung has it open under GPL, isn't that the question of integration into our kernels only?

And what if we'll agree to have no (easily) portable microSD storage (to Windows PCs) and format it in ext2/4 or f2fs, with a kernel patch accordingly?

---------- Post added at 05:33 PM ---------- Previous post was at 05:16 PM ----------

Well all these partitions have under 40 MB images, just checked with this tool:

Partitions Backup & Restore

https://play.google.com/store/apps/details?id=ma.wanam.partitions

Not sure if the img files can be used in fastboot directly. Is there LG Extractor tailored specifically for V20/H990ds?
[LG V20 Guides, News, & Discussion] xdav20:
Regarding the exFAT, you need to ask the developers releasing kernels to us.

Partition size has to do with how it was packed. If it is smaller or bigger it doesn't mean it is invalid. AIK repacks boot.img half the size the original size and still a valid boot image. With fastboot you can flash both .bin and .img files.
[LG V20 Guides, News, & Discussion] AVIMPEG:
Exactly how - can you explain With pictures it would be good for me or an accurate explanation
[LG V20 Guides, News, & Discussion] xdav20:
I went a couple of pages back to read your posts, am I right to think you have problem flashing a kdz file with LGUP? If so, have you ever flashed a kdz file on the very same pc before? if so, when did it stop working for you? Do you have TWRP recovery installed on your phone?
[LG V20 Guides, News, & Discussion] AVIMPEG:
Yes I have a problem with the software LGUP

Yes A flashed before

Yes I have TWRP recovery
[LG V20 Guides, News, & Discussion] xdav20:
Okay, thanks. Having TWRP installed means you have the engineering aboot that you can flash, almost, any partitions. But first, let me be assured your LGUP is exactly what I have. Can you please run and submit a SHA256 checksum on the lgup_common.dll file located at c:\program files (x86l\LG Electronics\LGUP\Model\common and lgup.exe located at c:\program files (x86l\LG Electronics\LGUP\

You didn't say when it stoped working. Just as brief as possible, like after flashing a kernel. Thanks.
[LG V20 Guides, News, & Discussion] AVIMPEG:
I do not know what you want From the DLL

And yes after the end after flashing a kernel

But I did a lot after that Other software and other experiments
[LG V20 Guides, News, & Discussion] xdav20:
Have you used kdzwriter before?

Can you flash a kernel, any kernel, in TWRP recovery without any errors?

To perform a checksum SHA256

Install 7Zip from this link for your Windows version http://www.7-zip.org/download.html

Open 7zip and navigate to each folder I mentioned. Click the file once to highlight it. On each file, right-click to popup the context menu. Select CRC from the menu then SHA256. A Window will open with a long number. I need both fir lg_coomon.dll and lgup.exe to make sure you have the right files.
[LG V20 Guides, News, & Discussion] AVIMPEG:
I have 7 ZIP

I have never used kdz writer before

I think I can flash a kernel
[LG V20 Guides, News, & Discussion] xdav20:
I'm sorry, I have tried to help but I found your lack of co-operation discouraging. Good Luck.
[LG V20 Guides, News, & Discussion] lucfig:
Hi guys.

Can anyone check if you are able to use the built-in one handed mode?

Mine ia bit working. I don't know if was some tweaks I made or something related to rooting and flashing werewolf kernel.

Best regards,
[LG V20 Guides, News, & Discussion] AVIMPEG:
Why do not I help?

You ask I answer

Briefly because I do not speak English
[LG V20 Guides, News, & Discussion] hotcell:
Listen. You were kindly asked to provide a signature of LGUP files from your environment. Just to be able to help you. For instance, I have the following SHA256 hashes:

LGUP.exe 30c846ddb73fc5960fa7aea5f0a44bbc95540167dc8ff2502b78678d43049535

LGUP_Common.dll cef67f5621e9249e120a5fb27655f892c0c2570a694a13223fff1aea801b7ea6
[LG V20 Guides, News, & Discussion] AVIMPEG:
LGUP_common.dll

SHA256: 61AEC9D3688B9F02D04552EEC14834F052988204498FB4B0C4BC71001DC1BC1F

LGUP

SHA256: 1A8F1BF03CF6C43D587D8C580BA21CDFC9CF20151CBC413383471E2B91647E45
[LG V20 Guides, News, & Discussion] hotcell:
Strange. I used official LGUP v14.3 with only dll added [I sent it here zipped]. That was enough to get DirtySanta root. Maybe you are using modified LGUP to get extra options like partition selector?

Maybe [MENTION=8589922]xdav20[/MENTION] has a thought on the validity of your hashes?
[LG V20 Guides, News, & Discussion] xdav20:
LGUP.exe

469BA01646ADDAEC25AF8627FDC49A708A2E2C9CA9730A20E5F7D9F13D48DE8

LGUP_common.dll

7DAFDDA83F5A55FFA4CB4EF2F478B26465827B72729F057BA6B68CC322B9FDC0

[MENTION=1742622]AVIMPEG[/MENTION]

You are better off uninstalling everything LG, I mean everything, delete the LG Directory from Program Files (x86) by hand, reboot, install lg mobile driver v4.1.1, lgup v1.14.3, and then overwrite the lgup.exe and lgup_common.dll with patched store version from the xda thread. Sorry, I couldn't find the thread where I downloaded mine.

Ensure the antivirus is off when launching lgup.exe. If it can't detect your phone, you still have environment setup problem. If it launches but either detects your phone as US version or as soon as it starts flashing (Upgrade Option) ends with an error then the problem is on your phone side. In that case, one solution would be to flash a stock boot image via fastboot. To achive this, you need to extract it from a kdz file by using Windows KDZ Extractor v1.2.6.1, boot to bootloader and flash the boot image, hoping that would be the end of it.

To boot to the bootloader is same as Download mode, except you hold and press the Down Volume key instead.

To flash the stock boot image:

fastboot devices (to ensure fastboot can detect your phone)

fastboot flash boot <full boot image name>

Please note, there is always a risk of bricking your phone.

[MENTION=1057334]hotcell[/MENTION] Thank you.

Edit-01 (as usual)

Attached the tools for your convenient.
[LG V20 Guides, News, & Discussion] xdav20:
Extracting the boot image from a kdz file

[MENTION=1742622]AVIMPEG[/MENTION]

How to use Firmware Extractor

When you launch the program, you are presented with two Open buttons on top of the window, a button below them, two list boxes at middle, and three buttons at bottom.

1. Create a folder on one of your pc drives called Troubleshoot

2. Click Working Folder button and select Troubleshoot folder

3. Use the 1st Open Button to load the kdz file, in order to list its content in the first list box

4. From the first list box, select the file has the file extension .dz (example H99010i00.dz), then click Extract KDZ button. Wait until the process is completed

5. Click on 2nd Open Button and navigate to Troubleshoot folder and select the .dz file. Once loaded, the second list box is populated with file names.

6. Look for the file name starts with the word 'boot' (example: boot_6.bin) in the 2nd list box. Tick the checkbox next to it and then click on Extract DZ

7. You have extracted the boot image now, located in Troubleshoot folder.
[LG V20 Guides, News, & Discussion] ahmedyar91:
Ok Guyz so [MENTION=2881807]x86cpu[/MENTION] has uploaded LOS build (test) for H990..

I'll Test it in while, Go over to the thread and give a Thumps up as well

Thread Link

https://xdaforums.com/v20/development/rom-unofficial-lineageos-14-1-lg-v20-t3682604

Download Link

https://drive.google.com/drive/folders/0B51rjK5Hd_P5NmpwY1o4VmlyaUk
[LG V20 Guides, News, & Discussion] AVIMPEG:
Thanks I will try it'll take time I'll come back with answers

And thank you again
[LG V20 Guides, News, & Discussion] D4rk9009:
Omg thank u so much bro.. I wanna kiss u
[LG V20 Guides, News, & Discussion] Arfzck:
Can you make this kernel support KCAL?

https://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080/page1
[LG V20 Guides, News, & Discussion] babihutan99:
Sorry for my noob question. Ive done what emdroidle told us to root my h990ds. I want to apply your kernel, how can i do that? Just a simple flash with twrp ? Or should i do it with a computer and data cable? Thanks

nevermind. ive flashed the file with twrp :)
[LG V20 Guides, News, & Discussion] babihutan99:
i've tried this on top of 0.2b

now, my videos with any camera app record just fine.. no more freeze :) thanks !
[LG V20 Guides, News, & Discussion] AVIMPEG:
I failed to send to the store For repair
[LG V20 Guides, News, & Discussion] xdav20:
If I understood you correctly, you decided to send out your phone for a repair? If so, I hope you get it back soon in a good working order. We all learn from our mistakes.
[LG V20 Guides, News, & Discussion] Razorbacktrack5535:
Thanks for your work, but I can't turn on bluetooth with these versions (It's working with h990-kernel-v0.2-20170913 and modded werewolf https://xdaforums.com/showpost.php?p=73294716&postcount=391)
[LG V20 Guides, News, & Discussion] AVIMPEG:
YES
[LG V20 Guides, News, & Discussion] p7810456:
Guys, I tried to root my phone this weekend but every time I was supposed to get into the TWRP recovery, pressing wipe actually wiped the phone. After this, I flashed TWRP again and this time it went in but the filesystem was not mounted and would not mount. After this, I had to return to stock because I couldn't do much without the filesystem mounted. I have tried this twice or maybe 3 times so far. Thanks in advance and maybe I will get to successfully root next weekend.
[LG V20 Guides, News, & Discussion] exadeci:
You have to go in TWRP > Wipe > Wipe data (not advanced, neither factory reset) It will ask you to type 'yes' it will wipe everything even the "sdcard" (the virtual one not the external but remove it just in case)
[LG V20 Guides, News, & Discussion] xdav20:
Did you swipe to allow modifications?

The TWRP version we use is old and the latest version of elsa TWRP won't flash kernels. I have experienced system partition wasn't mounted, a bug? I don't know.

After you install TWRP, part of rooting process, you need to cancel when it asks for a password, swipe allow modifications, goto wipe, swipe factory reset, back, tap on Format Data, type yes, wait until is done. Go back to home (TWRP main screen), goto reboot, tap on recovery. When recovery starts again then do what you wanted to do.
[LG V20 Guides, News, & Discussion] p7810456:
I forgot to format it. Would formatting also delete the boot and system partitions? I did swipe to allow modifications. Thanks for the help and I will try to root next weekend or preferably during the week! Also, is there any way to get the one handed feature back since i flashed another KDZ (the US one wasn't available) and now can't use it?
[LG V20 Guides, News, & Discussion] faeterov:
Guys, I've kept track of the thread, I even originally pledged to pay in order to have root on the h990ds.

That being said, is it possible to update the first post with the latest news regarding this development? I'm currently confused with wich kernel is the latest one, how to incorporate the drivers that some have mentioned are necesary to use the camera properly, etc.

I had to revert to stock from the early days of this root method, but would love to root once again to remove bloatware and improve battery life.

Thanks for your development to everybode involved!
[LG V20 Guides, News, & Discussion] xdav20:
Format Data only wipes portions of /data partition only. Please do not forget, before leaving TWRP, right after installing it during the root process, to flash a custom kernel and your choice of SU. Good Luck.
[LG V20 Guides, News, & Discussion] faeterov:
Originally I was able to root my h990ds two times, and going back to stock.

Now it impossible for me to root, I'm having problems when running

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

It tells me

could not open /storage/emulated/0/dirtysanta

The previous steps where performed.

Interestingly on of the terminal emulators that I downloaded says untrusted_app, while other emulator doesn't. Maybe thats related?

As I've said, I was able to root this device 3 months ago.

EDIT: It was the terminal emulator, tryed with anotherone and I was able to go through.