yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] xdav20:
[MENTION=3201087]eclipse6[/MENTION]

Thank you eclipse6. After some thinking, I think Android's own Document Storage provider or service does this. This behaviour and file renaming issue reminds me of a badly put together sync service. If I'm on the money then Android can potentially log anything goes through the sync service and report back to its master. As soon as I started using Android Nougat I said...Android Nougat is exactly what Google wanted, but not the users.

I know so far of three extension files that Android changes when is transferred to the SD Card namely, .mht to .mht.htm (how crazy is that?), any ascii file with no extension to .txt, and .gz to gz.zip. For the sake of accuracy I did a test before posting, it means anyone should be able to replicate what I'm claiming.

Now, Android, one of the most used OS on the planet cannot open and edit a single text file out-of-box. Isn't that crazy? Android out-of-box does not provide a single tool for compressing/decompressing files, I'm not talking about Linux. The only tool is avaiable among the mentioned extension types is the .mht by the built-in HTML Viewer app. But guess what? When Android service renames a perfectly fine .mht to .mht.htm then the Android's HTML Viewer app fails to render the content properly but if the very same file is renamed back to either .mhtml or .mht then renders it brilliantly.

Since I'm not actually syncing and I own the files, the device, and the media storage I'm transferring to then the OS should not change my files in anyway. Something tells me there is a legal implication with this new implementation.

Unfortunately, my only other Nougat device (Tablet, unrooted) is on 7.0 as well, and I just did a test with the same results, but I would like to hear if this behaviour was changed in 7.1.x from anyone who has such device. Thank you.

Last thing...Experienced another TWRP backup issue with the device I flashed the experiment kernel before. I managed to cancel it and did not pull the battery out. Took both SDCards out again and Windows 7 promoted me to Scan them. Factory reseted and formatted Data on both phones to see what happens next.
[LG V20 Guides, News, & Discussion] 3mL:
It did not even hold up for one hour..:confused:

Autofocus working but all recorded video is just a freezeframe with sound.
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=8214813]3mL[/MENTION] try this one, it works perfectly: https://mega.nz/#!VLphgSbL!2JU3kiBsnMvODKkE5ivFYF3gh1KeYozObaOeFfFQMtw no video freezing, fast charge working perfectly, autofocus too, i've V20 H990DS , i've updated with DDZ writer to V10gSEA all is perfect and with root!
[LG V20 Guides, News, & Discussion] 3mL:
Thank you, I think I have tried that kernel but I will give it another go.

What is the manufacturer date of your V20?

Mine is 30th August this year and by that, quite certain I have the other sensor from Samsung.
[LG V20 Guides, News, & Discussion] brunochka:
ahh look it seems 01/10/2016 mine... anyway try it and let me know pls :)
[LG V20 Guides, News, & Discussion] xdav20:
[MENTION=6984210]emdroidle[/MENTION]

Just reporting back while don't wish this to come across as a criticism. We all know how much you are still trying to address the issues. Thank you again.

After flashing your v0.2.3a.experiment6 I never recovered from it. I used the word infected before to describe a symptom that won't go away until a proper cure is found. Even after reflashing the old kernel problems with storage started popping up. The worst part was, I was no longer able to backup the ROM from TWRP. I even restored a backup from my other H990DS that your experitment6 wasn't flashed on with no avail.

The only solution was to restore the phone by .kdz method, root it, upgrade to 10f by kdzwriter (my favourite tool), and then restored my good backup from 1st H990DS. I was then able to make a backup successfully again.

I cannot technically describe and prove to you when something goes wrong with your kernels (or installations) they leave something behind that the next kernel installment cannot undo the adverse effect. Now, that I know how to recover from a bad kernel, I am still brave enough to test your next kernel releases. Thank you.
[LG V20 Guides, News, & Discussion] oliwek:
Nice to hear you solved it.

Envoyé de mon LG-H990 en utilisant Tapatalk
[LG V20 Guides, News, & Discussion] jorn romanov:
Dude this is for v20 h990 only
[LG V20 Guides, News, & Discussion] 3mL:
Did not work, broke the Autofocus.

I'm quite certain it is because my V20 have the other sensor.

I'm flabbergasted that with v0.2.3 the camera works flawless, including the laser autofocus even when the following quirk presents itself, that the videos somehow get corrupted and presenting the freezeframe with distorted sound.
[LG V20 Guides, News, & Discussion] emdroidle:
I'm guessing you updated with kdzwriter 1.0? Try using 1.3 instead. Version 1.3 also defaults to updating /cust and this fixes this error message.

I'm rather doubtful legal issues caused the current implementation. More likely the developers at Google tried to come up with a reasonable implementation given all the issues and this is what resulted. Alas nearly any way of handling these situations will have downsides. Perfection is nearly impossible, at which point you have to do something which is good enough.

The real solution is to stop relying on filenames as a reliable data type hint. A file named "something.txt" could be nearly anything. Is it US-ASCII? Is it Unicode16? Is it UTF-8? Heck, it might not even be text (`dd if=/dev/zero of=something.txt count=8` is a perfectly legal operation).

A much better solution is one along the lines of what "libmagic"/`file` uses. Take a look at the start of the file and then simply test for bunches of patterns. File named "something", okay it begins with "#!" => likely a shell script. File name "blorp", hmm, most bytes in the range 0x20-0x7E and a few 0x09 and 0x0A bytes => likely a text file.

Really file "Intents" need to be broadcast to all processes and all of them need to check whether the file could sanely be one they can handle, or else allow applications to register signatures for their file types. Alas, this results in different downsides.

Good news is I've now seen this occur, so I've got a better feel for what is being described. Right now though I don't yet know the cause. In my case it appears the video problem takes somewhere 1-3 days before it shows up.

The resultant files look to be rather more interesting than everyone has been describing though. It likely depends on the video player you're using, but the files are large enough to potentially hold most/all of the video data for the recording length. I tried `mplayer` and once the audio has been played back, at least some of the video is played. Trying `vlc` generates a bunch of "core decoder error: Could not convert timestamp #######" after the audio. My guess is something is causing the timing information on the audio and/or video tracks to get corrupted. Given the mostly normal audio, and timing of the timestamp errors, I will speculate it is the timing on the video information that is being corrupted.

It might in fact be possible to recover the "corrupted" videos. Need to repair that timing information, this isn't something I know how to do though. I've got some idea of what sorts of things to look for.
[LG V20 Guides, News, & Discussion] 3mL:
I did in fact use 1.3, but on reflection i did not factory reset the device after the downgrade, and that was when it started to show up.

I'm glad to hear you have witnessed the video problem occur, just one question; is it isolated to the s5k2p7 camera sensor or does it happen on imx 298 as well?
[LG V20 Guides, News, & Discussion] Moon75:
I got H990ds running Taiwan 10e rooted with emdroidle h990-kernel-v0.2.3, tested video record freez with other recording app (Lg stock, open camera) but use Footej recorded working fine.

---------- Post added at 08:15 AM ---------- Previous post was at 08:11 AM ----------

I think when I recorded it was recording for Open camera but when play the recorded video they freezed can't view it show one picture that's it.
[LG V20 Guides, News, & Discussion] Leicxan:
My H990N has imx 298 sensor, has the same video freeze problem, I guess there's some problem in lineage os's source.
[LG V20 Guides, News, & Discussion] JJJRW:
Holy **** footej camera app from playstore DOES work for video recording. The stock camera app has only the video freeze problem where the autofocus and everything works but video only captures first frame and only audio for the rest BUT the footej camera is able to take videos perfectly.

I am STILL on the very first kernal made by [MENTION=6984210]emdroidle[/MENTION] for h990ds.
[LG V20 Guides, News, & Discussion] margo51:
I've finally find the time to try it again using v0.2.3 emdroidle's kernel and Magisk. This time it worked OK. Flashed 10f version with KDZ writer. No issues so far. Continue using the phone.

Small question. Do I understand correctly that password protection of power up (secure startup) was part of LG boot code, and so with modified bootloader it is impossible to setup secure startup?
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
When you use the LGUP to downgrade the firmware is it

1) Refurbish

2) Upgrade

???

thank you
[LG V20 Guides, News, & Discussion] storm68:
Upgrade
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
I have tried flashing and it failed at 9% saying 0x2000

This LGUP software is such a piece of crap. Never had trouble with Odin for Samsung.

I don't know if it's to do with this common.dll file that I downloaded @ https://www.androidsage.com/2016/04/12/update-t-mobile-lg-v10-android-6-0-marshmallow-h90120e-lgup/ as it was a link for flashing the V10

because when I installed LGUP, it wouldn't load up saying <LGUP can't load the model>

Is there another piece of software that will allow me to rollback the firmware from v10f SEA? I downloaded v10d SEA.

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

I have now successfully flashed old firmware v10d-SEA 1st Dec 2016

*when you download/install the LGUP from this link https://xdaforums.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903

which is in the 1st post

it DOES NOT COME WITH COMMON.DLL

+

The LGUP.exe also is bad

(you will get various errors like <lg cant load model> or if you download wrong dll off internet <0x2000 error at 9% if you try flash)

What you need is to download a new LGUP.exe and LGUP_common.dll from

https://xdaforums.com/v20/how-to/guide-patch-lgup-to-unlock-features-t3652222

copy the dll folder into the model filepath + overwrite with new LGUP.exe

Now it will let me UPGRADE using LGUP.

Once firmware is flashed, the phone immediately became semi unusable due to multiple <android.process.acore has stopped working> errors.

That is fixed by doing a factory reset on your now older firmware.

----

And that concludes the tinkering for now. All this effort and haven't started the root yet :(
[LG V20 Guides, News, & Discussion] alldine345:
since xposed for nougat officially released has anybody tested? i'm with magisk and already 5 minutes stuck on lg screen lol.

---------- Post added at 05:08 AM ---------- Previous post was at 04:51 AM ----------

uninstalled your lg up and use this : http://www.mediafire.com/file/dhpkdzwy5brpppp/LG_V20.rar i also provided common.dll which working for me on 2 v20.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
ah i've already found a way to fix it now which has been edited into my post above. but thank you so much for giving another link for other people to try.

like I said, my first impression of rooting a LG phone is that it is very, very fiddly..
[LG V20 Guides, News, & Discussion] ahmedyar91:
I have been using unofficial Xposed for sometime..

I think you should wait for Xposed version with Magisk support
[LG V20 Guides, News, & Discussion] 3mL:
Do you think it will work with Super SU?

Also, have anyone tried the upgraded gpu drivers with emdroidles kernel?
[LG V20 Guides, News, & Discussion] sbacham:
Iam on superSU.Official Xposed naugot.I is Working fine.iam using greenify,amplify apps
[LG V20 Guides, News, & Discussion] youhsueh:
Hello all!

I have the H990DS variant on SEA (SG) ROM. Flashed the unofficial werewolf (no rctd) kernel with Magisk.

Wifi Lagging Issues

I realised that Wifi screen tends to lag when switching on/off and connecting/disconnecting.

By lagging, I mean it will take almost 20 seconds to connect to another Wifi network (most of the time it'll just connect to Mobile Data in between the transition); or for the Wifi screen to display the list of Wifi network around me.

Anyone having the same issue? I don't seem to face this issue on Stock ROM. This issue is also present on emdroidle's original ROM (v0.2.3) before I switched over to Werewolf.

Issue resolved by resetting Network Settings (includes Wifi).

Camera Focus

Also, can anyone verify whether it is normal to not being able to Focus on Wide Angle Mode (Manual Mode/Recording). Wide Angle on Auto Mode seems to be able to focus.

EDIT: This is present in both Werewolf and jahlex's kernel. I am not sure whether this is present in Stock ROM.

Thanks in advance!
[LG V20 Guides, News, & Discussion] alldine345:
tryu jahlex's kernel. its the only kernel working for me
[LG V20 Guides, News, & Discussion] youhsueh:
Hi there,

Thank you. I will give it a try later. Can you confirm whether the Wifi issue I've mentioned persist on jahlex's kernel?

Thanks.
[LG V20 Guides, News, & Discussion] alldine345:
i had 2 router and both of them working fine like on stock without root
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
HELP!

I ran Step 2 bat. then all the command windows dissappeared. This is step 14.

Phone is stuck in black screen fastboot mode started / fastboot: processing commands...?!?!?

there is no where for me to put command in step 16?!?

---

i tried double clicking adb.exe / fastboot.exe and it scrolls text really fast then closes

----

THIS GUIDE IN 1st POST IS REALLY POOR!!!

Clicking on step3.bat should be Step 16.

Now my phone has restarted and is stuck on the LG Logo with star going round. It is still connected to laptop. Laptop is trying and failing to install drivers. It also says LGE Android device <disconnected>. Phone will not load into home screen.

So am I supposed to unplug the phone now from the laptop or what?

As stated, the guide is really unclear :@

----

i unplugged phone. phone does not finish booting to home screen

i take battery out. try to boot into TWRP (power + vol down). fails. phone does not boot to home screen

try power + vol up. hangs on boot with flashing LG logo after the little jingle screen.

if I try to go into LGUP while my phone is hanging on boot. It says "unknown model"

i now have a bricked v20

--

it appears step3.bat was NOT the same as Step 16

it starts off with flash boot boot1.img

so there's no TWRP on the phone???

-----------

managed to get into TWRP (I'd been pressing power + vol down simultaneously, I tried pressing vol down first, then holding power button down)

I clicked yes twice. Phone froze for a bit, had some static on screen. phone rebooted itself. and it is now hanging on boot up again
[LG V20 Guides, News, & Discussion] youhsueh:
Thanks for the help. Updated my original reply.

It's not because of the kernel but a Network Setting fault. Resetting it will fix the Wifi lag.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
phone final booted into <Kernel Crash> black screen?!???

---------- Post added at 08:50 PM ---------- Previous post was at 08:41 PM ----------

how can I get into boatloader to try flash TWRP again?

I still dont know where the command windows were.

step3.bat seems to do things automatically. but they do NOT last 30 seconds between each step!
[LG V20 Guides, News, & Discussion] 3mL:
Take a look at these instructions, I found them easier to follow: https://xdaforums.com/showpost.php?p=72716640&postcount=613

You should be able to get out of this, if I understand you correctly you clicked on step2.bat? I don't know if that will work, you should write step2.bat in CMD when in you've placed yourself in adb directory in the CMD window.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
well my problem is now i just put phone into download mode. vol up then insert usb cable

and the phone screen went to static 1 min later. so if i try use LGUP to flash back to stock, will it brick completely?

so you have to run step2.bat from within CMD and not just by double clicking step2.bat to run itself?? how do you use cmd to navigate folders anyway?

I think there's a lot of problems with the original post in this thread.

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

Looking back at the original instructions. It wasn't made clear I needed to open a CMD window myself. Then change directory to the ADB folder. Then run the commands.

Anyway i can't make the phone enter into download mode now without static screen. LGUP will not recogise model after static screen.

Is my device basically completely dead?
[LG V20 Guides, News, & Discussion] 3mL:
I think not, better not do anything else before [MENTION=6984210]emdroidle[/MENTION] or any one else with more experience than me show up and can help you out!

In regards to how you navigate in CMD; https://www.online-tech-tips.com/computer-tips/how-to-use-dos-command-prompt/
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
I have now managed to boot into TWRP

I did it by making the phone enter into fast boot mode from power down and reflashing the TWRP img twice from opening my own CMD window.

now that i am in TWRP, I am immediately asked for a password.

I don't know what the password is for? I don't ever remember encrypting any data?? Is it for the MicroSD card i've put in??

---------- Post added at 09:42 PM ---------- Previous post was at 09:31 PM ----------

even without a password, it seems i am able to navigate to microsd folder for installation.

i am now downloading a kernel from the OP's post. and transfering it onto micro SD. the other 2 files are on there already.

if this works, then the light is at the end of the tunnel...

---------- Post added at 10:10 PM ---------- Previous post was at 09:42 PM ----------

well i've done all the steps. went into TWRP. flashed everything...

still hanging at loading? the post at https://xdaforums.com/showpost.php?p=72716640&postcount=613

says just WAIT...

but i've been waiting 6 mins now. Is that long enough? I mean it hasn't got a Kernel Crash so far, where as I did get a Kernel Crash pre installation of TWRP. I'll leave phone on another 5 minutes and see how it is?? I'm out of ideas if that doesn't work because I think I've managed in the end to do every step...??

---------- Post added at 11:08 PM ---------- Previous post was at 10:10 PM ----------

well i've now managed to brick it totally I think. because I couldn't boot into home screen. I tried the fastboot flash abootbackup.img

now I am now locked out of fastbook (says need to unlock OEM), flashing stuff fails / locked out of TWRP (device is corrupt loo)

and locked out of download mode

while i can go into download mode, LGUP will no longer recognise the handset.

battery won't even charge plugged into the wall without the device corrupt bootloop

all in all. this is the 4th android phone I've had, all of which I've rooted in the past. This one has gone down a miserable failure.

I think something went wrong when I ran the step3.bat. I don't know what was in the step3.bat, but whatever it was, it made the device unable to boot even after twrp was flashed onto device and SU flashed also.

---------- Post added at 11:38 PM ---------- Previous post was at 11:08 PM ----------

update: because although fastboot flashing abootbackup.img locked me out of most things, it has enabled download mode to work without static screen. and while LGUP no longer recognises the handset, LG Bridge, the official LG software has recognised the hardware as H990DS, even though it does not recognise the software, it is still willing to update it to latest version, v10g-SEA

now I spend the next hour waiting for the 3gb KDZ file to download from LG bridge so it try to be flashed officially.

I hope this will bring it back to stock enough to try the rooting process again.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
LG Bridge cannot update the phone the screen on the phone in the box at the bottom just says 633A B50.
[LG V20 Guides, News, & Discussion] exadeci:
Next time wipe data (it should ask you to type YES if it doesn't you are not doing the Format Data option and you are doing it wrong) the device can't boot with data being in this encrypted state.

You just need to follow the steps to the letter and many people here had the issue you got, just search the thread.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
well things have obviously moved on.

phone is in download mode with error code 633A B50

I cannot get LGUP to recognise model no matter what. LG Bridge update recovery fails. LG Flashtool 2014 fails (the error messages there are in a difference langage so it's all ???? on my computer)

anyone with any bright ideas?
[LG V20 Guides, News, & Discussion] exadeci:
Here's one, search the goddam thread people with this issue used: https://xdaforums.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
Yeah tried that an hour ago. It just loads up LGUP which then displays the unknown model error.

Sound like you don't know much more than me to be honest
[LG V20 Guides, News, & Discussion] exadeci:
[MENTION=3990345]jeanclaudevandamme[/MENTION] Your nickname suits you so well haha.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
because i'm belgian?
[LG V20 Guides, News, & Discussion] Redline:
So, because this seems to be the main H990/DS thread, thought I'd post an update on my setup here.

I've got a stable setup with TWRP, V10F rooted, latest official Xposed, the latest Adreno GPU drivers from that thread, and Jahlex 0.2d kernel, as well as other smaller tweaks like the image retention KCAL settings, AKT CPU profiles to save battery, and some others.

Only slight issue I have is auto-focus takes up to 2 seconds sometimes, but nothing big. Otherwise, there's no problems I'm having at all with the phone. I've really been exploring manual mode with the camera a lot more now that it works, and I'm loving it. I've got a stable daily-driver setup, with my OCD-like updates obsession satisfied, and I couldn't be happier with the phone.

Looking forward to the fully updated kernel that [MENTION=6984210]emdroidle[/MENTION] will hopefully bring us sometime in the near future, but otherwise I'm happy to say I've got a new favourite phone after spending about a month with it so far. More than happy to get involved in the development of anything from kernels to apps for this device, and as long as you've got full TWRP backups on an external media, it's hard to go wrong.

o7 to all the people making setups like mine possible.
[LG V20 Guides, News, & Discussion] jahlex:
Hi,

Without big hope, I requested LGE, a while ago, to release the last sources for H990 and H990DS... and they just did. http://opensource.lge.com/osSch/list?types=ALL&search=H990

What I was thinking about camera drivers is confirmed. See attached screenshot.

[MENTION=6984210]emdroidle[/MENTION] : hope it will help in solving the remaining issues.

I will try to have a look on my side if I find some time (difficult at the moment).
[LG V20 Guides, News, & Discussion] Jaspreet.master7:
lg can release the sources but not officially unlock the bootloader
[LG V20 Guides, News, & Discussion] jl10101:
What this does help with though (I hope) is getting the kernel working correctly with regards to autofocus, video recording and USB OTG...
[LG V20 Guides, News, & Discussion] 3mL:
That is great news! Good work on asking them directly. :D

I was thinking, is it hard to implement KCAL in [MENTION=6984210]emdroidle[/MENTION] kernel? I've read some reports on that it can help to adjust the screen, in regards to image retention.

Emil