yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] Mars104:
:good:

Agree I can make do with my wide angle and front facing cameras for a while. My main rear camera takes perfect photos of anything approximately 0.5m away :p For the time being it's better to me to have root on this great phone than stock+auto-focus. For the majority it seems everything is perfect.
[LG V20 Guides, News, & Discussion] eclipse6:
Same here folks. My model is a Singapore model starting with 10e-SEA-XX. I went through the procedure and only had trouble with magisk where some softwares cannot recognized the root. So I installed a module from Magisk to fix it and now everything works including videos. I also try out USB to HDMI and even that is now working.

Thank you [MENTION=3693948]embroid[/MENTION]le and everyone help in the forum.
[LG V20 Guides, News, & Discussion] ok4u2laf:
Stuck!

Did you get this fixed i have the same problem
[LG V20 Guides, News, & Discussion] emdroidle:
Given how about an hour later [MENTION=1669605]djodjo131[/MENTION] posted about TWRP asking for password (answer to that, it is asking for the password to decrypt userdata, alas this doesn't work), I'm pretty sure [MENTION=1669605]djodjo131[/MENTION] subsequently succeeded. I'm unsure, but that may be a very minor and rare TWRP kernel bug (you're the second report, so pretty rare). Rebooting and redoing the TWRP access procedure is likely to clear it.

You've got a USB-C to HDMI adapter working? I've been getting an "Out of range" message when trying one with my display. Wondering whether my display has a narrow frequency range, the USB-C to HDMI adapter is broken, or something else.
[LG V20 Guides, News, & Discussion] eclipse6:
Yes. It is working with USB-C to HDMI (I am using wereWolf kernel and 10f-SEA-XX system). My hdmi adapter was purchased online . My display is a Lenovo but I did not check what frequency (not sure how as well) it is displaying.
[LG V20 Guides, News, & Discussion] dadme:
It seems to be a good idea to post the kernel werewolf on the front page in the download section so anyone can take advantage of this alternative that solves much of the bugs.
[LG V20 Guides, News, & Discussion] hurthouse:
So I successfully rooted my 990DS using the alternate instructions. Initially, I had some difficulty with the static screen problem, but I re-installed the kernel and SuperSU and now my phone is rooted and working.

However, I'm trying to figure out if I can return to stock -- i can't find "abootbackup.img" or "bootbackup.img" on my phone or my adb directory. Is it possible to return to unrooted, bootloader locked stock without these files?
[LG V20 Guides, News, & Discussion] UL7RA:
Yes, it is possible. You will need to extract your original boot image from the corresponding KDZ and flash it, then you can go LGUP and fully return to stock.
[LG V20 Guides, News, & Discussion] dadme:
You are make a big confusion. Aboot is the botloader partition, boot.img is kernel image. Aboot need to be restored in order to use LGUP or you could softbrick the phone. Aboot backup image is on the phone, and can be restored like emdroidle posted here:

https://xdaforums.com/showpost.php?p=72842236&postcount=674
[LG V20 Guides, News, & Discussion] UL7RA:
Oops... My mistake. You're right... Jeez, I should abstain from replying if I don't understand everything fully..
[LG V20 Guides, News, & Discussion] askermk2000:
Hello

Can anyone share a dump of a V20 engineering device? I only need the bootloader partitions.

I want to test sdcard booting, thinking maybe eng-bootloader has stuff enabled that production doesn't.
[LG V20 Guides, News, & Discussion] emdroidle:
Yes. "bootbackup" is of low importance since LGUP will restore that for you. "abootbackup" can be extracted from KDZ files, and there is even a backup copy on the phone itself (method 1b).

I've been wavering back and forth on that. Quite a number of [MENTION=5184450]USA-RedDragon[/MENTION]'s choices with the "werewolf" kernels seem poor, even outright dangerous. Though perhaps I'm too conservative with my development choices and everyone here really wants wild-west. :confused:

You would need to ask [MENTION=4591212]me2151[/MENTION] for that.

If you're thinking of trying to come up with a debricking method, two thoughts come to mind. There should be some method of figuring out how UFS media is divided into logical devices, if that can be reproduced on a micro-SD card that may solve things. Second, apparently UFS cards exist. If UFS cards are pin-compatible with SD cards (likely, but not certain) and the Snapdragon 820 supports UFS on the hot-plug bus (unknown), then simply dumping an image of the on-board storage to a UFS card may work.
[LG V20 Guides, News, & Discussion] askermk2000:
I think UFS divides it in firmware, something to do with the scsi protocol.

Removable UFS has been made, though unlikely that any devices has support for it yet. They need different card reader, or a special combo reader for both sd-card and UFS. (This what I found reading announcement from Samsung)

But, looking at the DragonBoard 820c leads me to believe that it's not required to have a, presumably, "impossible" sd-card. That board also uses SD820 with UFS, divided into 6 LUNs or drives. That board can use the sdcard method to boot, and I've been trying to make such a card with the tools provided for that board.

I have not had definite success yet, because I don't have a partition dump of a H918.

[MENTION=2630853]Prowler_gr[/MENTION] was kind enough give me a dump of his H990DS, but that bootloader doesn't work on the H918. I can tell because the card isn't recognized as a bootable card.

That's the interesting part. When making such a boot card with H918 files (from kdz) it actually responds. How do I know? Because the Qdloader 9008 port does not appear with this card inserted. So It think the issue is I'm missing some of the partitions not found in a KDZ. That, or the bootloader is compiled without support for sd booting. Though I don't know anything about compiling bootloaders, I've read some hints about this.

PS: [MENTION=7006025]BigCountry907[/MENTION] has mentioned something about needing a card with V30 (video speed class) as a minimum speed characteristic. Not sure if this applies to simply booting the bootloader, as I've not seen mention of that in relation to sd rescue images before.

Sorry if this is off-topic. If so I will not post more about this here. I have my own thread also here: V20 unHARD-brick experiment.
[LG V20 Guides, News, & Discussion] dadme:
"werewolf" kernels seem poor, even outright dangerous??? I read entire thread from a week, and i never see anything "dangerous". It just solve video problem, where other kernel seem to fail. In a week of use i have no problems, by now. Great performance, and great battery life on "werewolf" kernel.
[LG V20 Guides, News, & Discussion] exadeci:
You didn't read the code did you? He read the changes that were done on werwolf which could be for example voltages changes
[LG V20 Guides, News, & Discussion] dadme:
This is from Werewolf thread, did you see voltage changes?

Feature List:

- EAS for custom ROMs (Note: Your ROM MUST have userspace support for EAS otherwise it won't kick in. Also you need to keep schedutil governer for EAS to work)

- Latest upstream 3.18.55

- Updated crypto functions

- Adreno idler

- Adrenoboost

- KCAL

- Optimizations following KISS(Keep it simple stupid)

- Built with GNU's GCC 6.3.1

- SafetyNet bootloader workaround

- Exfat Support

- SIO, FIOPS, bfq, cfq, deadline, noop IO scheduler

- ondemand, interactive, performance, conservative (Custom: scheduti, schedl)

- bic, cubic, htcp, reno, westwood TCP congestion algorithms

- Fingerprint Boost, when unlocking with fingerprint it should be a lot faster

- Various smaller tweaks
[LG V20 Guides, News, & Discussion] emdroidle:
I may well be rather too conservative here. For folks wanting to experiment with all kinds of stuff perhaps more radical changes are good. Yet there are a number of spots where changes I see really worry me.

(note I'm using him/her and s/he since I don't actually know for certain; based on the name I'm guessing male, but names can be deceiving and thus I aim to be polite just in case)

Setting readahead to 3MB. I'm actually very happy for the long commit message, most of his/her commit messages are a single line at best. The data is very handy yet it doesn't justify what s/he has done. If there actually is any improvement it is lost in the noise; based on those curves I'd tend to decrease the default readahead to free up memory on the phone.

Not dangerous, but showing some dubious changes are included.

Meanwhile this one gives me a Bad Feeling(tm). Like all warnings, "misleading indentation" gives a significant number of false positives. Based on looking at the code, about 10% of the flagged warnings are actual bugs. I didn't find any major ones, but that is a high enough percentage to be worth fixing the warnings. This was likely inherited from his/her other branch, but in this branch those warnings had already been fixed by jcadduono.

I may be paranoid, but that doesn't mean they aren't out to get me. There is a love/hate relationship with security. When it keeps you secure, you love security. When it gets in your way, you hate security.

If your phone ever gets breached, kernel module signing makes it much harder to inject data into the kernel and hide the breach. This is a pain if you're trying to develop kernel code, but a major security improvement otherwise. As such disabling module signing is a Very Bad Idea(tm).

I'm guessing [MENTION=5184450]USA-RedDragon[/MENTION] missed the signing step. The build scripts themselves will create the signing key, embedded the key in the kernel and sign all modules if you let them (this is included in modules_install).

If you're curious, it may be possible to find portions of the keys used for v0.1 or v0.2 on my computer's storage media, but the files have been deleted. That tiny bit of data is dangerous and I don't keep it around for the released kernels.

These are 3 examples of things I've found. Again, perhaps I'm being too conservative and paranoid, but overall I'm not really very impressed with [MENTION=5184450]USA-RedDragon[/MENTION]'s kernel choices. Yet I must concede his/her knowledge of all the V20 upstream kernel sources is of high value and since I learned about these upstream sources and their potential from [MENTION=5184450]USA-RedDragon[/MENTION], I have little ethical choice, but to cite him/her in the opener due to the high value of that knowledge.
[LG V20 Guides, News, & Discussion] Leicxan:
My unofficial build set readahead to 128kb, 3MB is to heavy for our UFS device. Also I set default io scheduler to ZEN.

I found another problem in werewolf kernel is when you use third party governor like zzmoove, after your phone wakeup from deepsleep, CPU3&4 will stay in a high frequency.

Btw, I saw your new branch in github with based on jcauddonuo's stock LG source. And I registered my git account prepare to start add a little bit feature when I have more spare time.:p
[LG V20 Guides, News, & Discussion] jobheger:
I have rooted the phone and returned to stock many times, for me there was no need to reflash the aboot image. As long as I could boot into OTG mode I was fine. Flashed the appropriate .kdz file with LGUP and everything was back to normal. Yet again, experiences may vary. I have the SEA variant of the H990DS.
[LG V20 Guides, News, & Discussion] USA-RedDragon:
I love that you can't stop berating my work at any place and opportunity you're given. I don't see you making your own kernel, so instead of "fixing the issues" of my "kernel" you decide to berate it left and right. There's a reason I blocked you on GitHub. I don't like waking up to you nitpicking every single thing. At least don't ****ing tag me when you s*it on my work
[LG V20 Guides, News, & Discussion] jmz:
Jesus Christ dude. You must be a pathetic lowlife to be just trolling him at this point. You literally must have nothing better to do. Don't like it? Move the F*** on and make yourself more productive.
[LG V20 Guides, News, & Discussion] Brutale1090!:
These posts did really make me sad. Cannot you cooperate instead of having a conflict for a..... Kernel!?

That should be an hobby/passion/way of learning, not a war.

Cm'on.. XDA = Sharing and cooperation.

I appreciate the work of you both a lot. Thanks!
[LG V20 Guides, News, & Discussion] USA-RedDragon:
I had no conflict with him, he know's what he's doing and is probably a better developer than me. I freely admit that, but it's when he gets his kicks from *constantly* berating my work and being condescending that I have an issue. A pointer here or there can help, but he comes off as the biggest know it all on XDA.
[LG V20 Guides, News, & Discussion] mastersjef:
Maybe a noob question but i can't get pass the string applypatch /system/bin/atd /storage/emulated/0/dirtysanta i get an error that i can't access the folder of /storage/emulated/0/dirtysanta what did i do wrong here everything works till that part
[LG V20 Guides, News, & Discussion] Brutale1090!:
We all really appreciate your work. Please keep developing as you actually do, critics are a fastest way of learning. Maybe the way he does it isn't the best one, but you should just take the opportunity, improve your sw and ignore they rest. It is, IMHO, the way you should face such kind of "challenge" :) .
[LG V20 Guides, News, & Discussion] jblock92:
Thanks everyone for all the support, tomorrow I'm gonna try this on my h990ds sea, I was trying to hold off a little longer but I'm having issues with my zerolemon 10,000 mAh battery and I'm starting to think maybe rooting and using an app to change the battery file might be my only solution, anyways I'm gonna use magisk with werewolf kernal variation and I will post feedback regarding my experience. I also noticed in a recent comment that some noticed improved reception I'll mention that too after some usage.
[LG V20 Guides, News, & Discussion] huungryshark:
LTE and 4G is the same

Gesendet von meinem LG-H990 mit Tapatalk
[LG V20 Guides, News, & Discussion] askermk2000:
I for one don't mind have one who knows-it-all working on our V20. That is exactly what we need isn't it?
[LG V20 Guides, News, & Discussion] emdroidle:
I may be poor at the task of being a critic, but I've been attempting (perhaps very poorly) to give pointers to issues I note. I disagree with some of the choices you make and I've been trying to explain why. I'm pretty sure there are a bunch of things you do distinctly better than I (you were the first to discover the LineageOS/CAF sources worked better, a discovery of massive value!).

Sorry about coming off harsh, but I'm very emotion-blind. I hope you improve in both areas of strength and weakness.
[LG V20 Guides, News, & Discussion] kuachi00:
i tried almost every firmware rooting going back to stock and rooting again still no hope in getting the focus to work. also i tried all kernels.

btw make peace all of you contributed to this wonderful masterpiece . and were truly grateful for that.
[LG V20 Guides, News, & Discussion] laneyyy:
I just went back to stock and gave up. Thanks for doing the hard work haha
[LG V20 Guides, News, & Discussion] Mars104:
I have tried the same. I'm wondering if trying different region fw might be worth a shot. Have you tried that? I'm on twn
[LG V20 Guides, News, & Discussion] TheIronMaiden:
Hey guys help this guy out

https://xdaforums.com/v20/development/root-lg-stylo-2-t3658512

He's all jacked up, this looks like the h990 model number.
[LG V20 Guides, News, & Discussion] Bradley W:
Please help me about how to root lg stylo 2 or if anyone can send me zv3.kdz

I will flash the firmware because zv3 can get ful root.

Now my software is v20c
[LG V20 Guides, News, & Discussion] kuachi00:
Yes i tried different region and still hopeless. lets just hope someone would come up with the solution regarding the camera focus issue
[LG V20 Guides, News, & Discussion] TheIronMaiden:
This is the lg v20 section dude stylo 2 doesn't have root

---------- Post added at 03:34 PM ---------- Previous post was at 03:33 PM ----------

Its weird because when I looked up the software version it was listed as a h990 via google
[LG V20 Guides, News, & Discussion] Jaspreet.master7:
I have been away from this group for a quite a time so I'm not sure The bugs have been fixed or not

The video camera bug

Fast charging bug

Could someone please clarify on these two

And is magisk compatible with our v20
[LG V20 Guides, News, & Discussion] jobheger:
Just a quick update, not sure if it's relevant to you guys but it looks like LG just released a new .kdz file for the H990DS SEA variant. You can download it straight from LG's official servers using the following link: http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW07DDZC72QRAZ7C91C494Y/H990ds10g_00_OPEN_SG_DS_OP_0720.kdz. You can install it using kdzwriter. Remember to change your browser agent to: LGE-ActiveDP/0.9 or it will give you a blank page.
[LG V20 Guides, News, & Discussion] Bradley W:
To extrack the .kdz file i must have a password, i dont know the password
[LG V20 Guides, News, & Discussion] Kreem90:
Hello guys i need a full video how to root lg v20 h990 ds bcs i didnt understand anything can any one help me
[LG V20 Guides, News, & Discussion] zhadj030:
After a goof 12-24 hours of reading before hand I was able to successfully root my 990DS. Thank you so much [MENTION=6984210]emdroidle[/MENTION] .

I have no issues regarding the camera focus . also I dont think I have issues regarding the fast charging either (works a lot better when screen is off then on).

I had a little issue with the static screen when first time loading the twrp so I went for the alternative options now my device shows the "your device is corrupt..." message but all works perfectly, just wondering if someone was able to bypass it or something like that.

Also when performing a restore via twrp it kind of screwed the lock screen pattern code so I had to manually delete the .key files , which is an issue with twrp not with the root (So thank you again for getting us the root access.)

It could be just me but I am having an annoying issue with the phone going back to GSM-WCDMA Every time after restart instead of GSM-WCDMA-LTE , my provider in canada only offers WCDMA -LTE no GSM network. The irritating part is that once it restarts it connects to a 4G (LTE) then 6 sec later it turns back to 3G . after many tries I kind of just quit thinking about it assuming it is an issue in the LG software.

I was thinking that I need to update to the V10e-May-17-2017 to fix this annoying glitch , but I dont want to lose the root, so I stopped.

---------- Post added at 07:00 PM ---------- Previous post was at 06:00 PM ----------

If you feel like this post is not detailed enough then there is a post on reddit showing this method with "more details" see if it can help you out.

I found this thread good enough even for someone like me with no profond knowledge but make sure you reading a lot before just in case anything happens so you can be prepared

www reddit.l com/r/lgv20/comments/6jf711/detailed_lg_v20_root_guide/
[LG V20 Guides, News, & Discussion] jobheger:
Perhaps you could try kdztools to extract the .kdz file. I personally always use

that tool; works like a charm.
[LG V20 Guides, News, & Discussion] Bradley W:
Ok i will try it later and let you know..

Thaanks
[LG V20 Guides, News, & Discussion] johanneswilm:
Hey,

did I understand this correctly:

We are currently waiting for [MENTION=6984210]emdroidle[/MENTION] to finish his kernel work before he starts working on getting a current LineageOS to work on our devices. One of the two problems he still has is related to recording video. This issue has been solved by [MENTION=5184450]USA-RedDragon[/MENTION] in his "Werewolf" kernel which [MENTION=4394458]Leicxan[/MENTION] has compiled and tested for the H990DS. [MENTION=5184450]USA-RedDragon[/MENTION] probably knows what change he made that fixed the problem, but unfortunately, [MENTION=6984210]emdroidle[/MENTION] and [MENTION=5184450]USA-RedDragon[/MENTION] don't talk to each other. The reason they don't talk to each other is that [MENTION=5184450]USA-RedDragon[/MENTION] feels that [MENTION=6984210]emdroidle[/MENTION] is overly critical of his commits on Github.

I would say to that: On the one hand, Github is made for code review. It's not at all uncommon that some random person on the internet tells me that something is wrong with my code. Sometimes they just haven't understood it. Other times they even offer a patch. This seems totally normal, also on a Sunday morning (remember - we live in different time zones). On the other hand, I find it a bit odd that [MENTION=6984210]emdroidle[/MENTION] has been so critical of the kernel that several of us have been running for a while now, with fewer known issues than his own 0.2 kernel. How serious are these concerns with the kernel? Is there reason to suspect that devices running the werewolf kernel could be easier to hack? Could there be be a secret exploit bundled inside of it?

I really hope you guys can find a compromise in a way that lets you both communicate and help us all get this phone to work. The LG V20 is an awesome phone, and given that it has an exchangeable battery, it is even doing good for the environment getting people to make use of it. Those of us who live places places where we need more than one sim card are forced to buy the Asian variant.. You both did an awesome job so far, and it would be good if you could continue doing so. I am an open source developer myself, but I'm very glad that I can concentrate on my field and that there are people like the two of you out there who take care of my phone.
[LG V20 Guides, News, & Discussion] Bradley W:
Hi guy can you help me about how to root my lg k520

With the software version v20c?
[LG V20 Guides, News, & Discussion] skwidy:
The rooting worked and also kdzwriter to update, but I also had the camera focus issue. I use my camera a lot so unfortunately I had to return to stock :( really loved having root access because it gives you full control over the phone but the camera issue ruins it for me. I have tried all the kernels including the werewolf one and tried different firmwares all with the same issue.
[LG V20 Guides, News, & Discussion] jblock92:
This morning I woke up to a large software update 10g claiming stability fixes, maybe this is our camera focus's missing link?
[LG V20 Guides, News, & Discussion] culang:
Can I install it on my H990N? Have not received update since February, sad
[LG V20 Guides, News, & Discussion] jobheger:
Unfortunately not, this update is for the H990DS SEA variant. You can check a 3-rd party e.g. lg-firmwares.com if you can find a new update for your device.
[LG V20 Guides, News, & Discussion] FACAF:
Can I install it on my H990ds from Korea?
[LG V20 Guides, News, & Discussion] dudeawsome:
could you get this to work on h91810p
[LG V20 Guides, News, & Discussion] exadeci:
You have the only V20 that has a bootloader than can be unlocked by anyone, you don't need dirtysanta to root...
[LG V20 Guides, News, & Discussion] dudeawsome:
yeah I know that but 10p update is so far unrootable
[LG V20 Guides, News, & Discussion] jblock92:
https://www.google.com/amp/s/xdafor...0p-stock-rom-flashable-zip-root-t3654049/amp/ this might be what your looking for?
[LG V20 Guides, News, & Discussion] dudeawsome:
thanks but im on 10p and want to root which i could not find as of yet
[LG V20 Guides, News, & Discussion] dilaboni:
Me too Can I install it on my H990ds from Korea?