yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nelomen:
I just got home and tied to follow along the instructions in the post you referenced, but I'm not sure I understand. I only have basic knowledge of ADB so do I type these commands in to my PC or start a terminal emulator on my phone? I'm sorry for bugging about this, I just want to root my phone. I've tried both but I'm not sure what I'm doing wrong and I'm getting really frustrated. in the first step it says to reboot in to TWRP. If I could do that i could just flash your newest version.

Thanks for your help

Alternatively is there a way for me to get back to stock and start from the beginning?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hmm... I'm confused. Your phone boots? I thought you couldnt get to TWRP?

Have you unlocked bootloader and flashed TWRP yet? I am genuinely confused as to what your situation is. Does your phone boot at all?

Please answer all questions, so I can better help you :)

In the meantime, I'll be flashing the first v3 test :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dfogelstrom:
Excellent, then more than likely a kernel issue. I will report there
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
All we need now is a CM build and/or xposed! Does anyone know if ANY dev is working on a CM build? I'm going to start posting in my regular forums and asking my sources, please do the same. For Cm, don't go asking for xposed, it's ready when it's ready. But CM, all we need is someone to build it for us.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I'll be learning on how to build CM from source. But that won't be until I get this ROM fully sorted. Then I'll just update this ROM with mods and tweaks and apps as I find them, and focus on compiling a working CM build. The kernel is going to be the hard part, but fortunately, jcadduono has released a working source made from v10 sources. That guy is awesome!

So, hopefully someone can compile CM kernel using that... Bc if not, I will have to learn how to.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
You def sound like you have the knack for this type of thing, I have been on XDA for some YEARS, and I have seen a lot of newcomers on the scene that end up being absolutely brilliant! So just keep up the great work cause you gotta start somewhere! :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nelomen:
Thanks again for your response.

The phone is fully operational. I have unlocked bootloader and installed the twrp beta. I was on full stock ROM and decided to flash your ROM in twrp but when I did I noticed I was no longer rooted. So i wanted to get in to twrp to flash SuperSU.

I've been trying since this morning to get in to twrp but every time I answer yes to the questions about factory resetting the phone it boots in to Twrp for a second wipes all data then reboots and I'm back to square one.

In short I'm trying to get root on my phone. What is the easiest way to do this? :eek:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Lol I've been a sort of lurker since the HTC Diamond days. Just never actually done anything like this. I'm decent in Linux, but not for compiling OS/kernel like some of the amazing people here on XDA.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Ok, it all adds up now, sorry for the bother.

Ok. So the thing is... It seems like you are on one of the early builds of TWRP. In order to flash TWRP or SuperSU, you need to be able to boot to recovery. The button combo doesn't work for you (I'm assuming to the early build of TWRP).

So the next thing to do, would be to use ADB to run a command to reboot into recovery. You can't use adb because I broke it in v2 of the ROM, and broke root in some cases (such as yours). In order to fix what I broke (for ADB), you would need root access... So back to square one.

The fact that you have a functioning phone is good though! And on top of the fact that the ROM you are on is mostly stock, you should be able to run the recowvery exploit again.

Once you get the root shell, you can flash the RC8 twrp image. Once you flast TWRP, you can flash the new ROM. Bingo bango rooted.

Go here for the recow exploit. Only do Steps 2 and 3. Don't forget to change "twrp-3.0.2-0-xxxx.img" to the actual name of your file (please be sure to download the one that says RC8. I don't know what has changed in the latest release, or if it is stable. RC8 is proven good.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nelomen:
Ok. Thank you.

Tried it but every time I try to push dirtycow update it gives me device unauthorized. I know that this is because I'm not getting the pop up that allows me to authorize my computer to mess with my phone. I figure this is what is broken in V2 of your rom. How do I get around this. I know when I did it the first time I had to get that first in order to proceed.

Thank you for your help and your patience I'm really trying to get this done without interupting you but it's been killing me all day.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
As [MENTION=320479]NotATreoFan[/MENTION] said, it's google play services. But this can be any number of google apps. Do you have google play (the music app) installed and have you used it? I had to get rid of it and force close play services. I use the native music app now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
You typically only have to force stop it one time and reboot to fix it. Although it's possible clearing data will also be required. I had this issue in a recent build of my ROM, and manually baking in the newest version stopped it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hey all. As you noticed I went AWOL for a few days.

I am seeing a lot of people with CPU @ 100% usage. Have you guys tried a clean flash?

I'll get to work on v6.0 sometime this week, and hopefully have a build up by Sunday.

I think the C-State awareness might have caused issues for some people. I too have noticed slightly less battery life, nothing huge, but noticeable. No 100% CPU for me though. For 6.0, I am going to be forcing a clean wipe. I will include a huge warning next to the download link to backup your apps, texts, calls. Read below for more info on calls/texts/app backup.

For backing up texts and calls, I use SMS Backup and Restore. You can make an account if you want cloud storage, but I just do local storage. It backs up all texts, calls, emoji texts, group texts, MMS, etc.

For apps, I recommend Titanium Backup (Pro, since it lets you do batch operations. I bought the pro version like, hell idk 8 years ago? when did Android come out again?). DO NOT BACKUP SYSTEM APPS!!!. If the app is not WHITE in Titanium Backup, do not back it up. If you restore System Apps, or System App Data, you can either break things (like hotspot for example), or you can get memory/cpu leaks (100% usage for example). To make it easy for you, Titanium Backup has always had a button labelled "Backup All User Apps". The apps listed there, are the ONLY apps you should be backing up / restoring safely.

http://imgur.com/a/rb0GP

If you have already backed up System Apps and/or System App Data, delete the backup. This is so you do not restore those things in the future. I've been on XDA for years and years, and I've never seen so many people that are backing up/restoring system apps. Not saying that the people who have issues have them due to them restoring system apps, just that I have seen a very large amount of people backing up things they should not be.

The problem is that there is no Restore All User apps, so if system apps are there, they will be processed unless you uncheck them each.

So if you have System Apps backed up, I would do this. Restore all your backups. Once all your apps are restored, within TiBu, delete all backed up data/apps/everything. Once that is done, you can then do Backup All User Apps. This will ensure that you ONLY have user apps backed up.

If you don't use batch operations, the apps you can backup are WHITE. Not green, not red. ONLY WHITE.

Not trying to sound aggressive in any way, but this needs to become a standard!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I clean flashed 5.5 and it still gave me the CPU, stuttering and overheating on Google Play Music. I switched to OvrDriVE's ROM and I haven't had those problems, so something's up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yea, I'm suspecting the C-state awareness. I'll revise the kernel in the v6.0 ROM
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
Viper is not working for me...Idk y
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Koont:
Can we dirty flash backwards to 5.1?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Yes, but it probably won't solve all the issues.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Koont:
You're right. It didn't. Lol.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Does this mean sources dropped for the kernel? Color control making a comeback?! Sorry in posted in your other thread by mistake.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] D.Va:
AT&T?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Well that sure looks promising.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] twistedvip:
Edit: whoops I'm in the wrong thread.

I do find it nice that LG is posting the source code pretty fast after release. Hope they keep it up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
So, um... I woke up to this. I'm on your 5.1 ROM still. I thought the OTA software update path was removed? Which app do I have to freeze in Titanium to make this go away?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joachim123:
These were up since around launch I believe, I know I saw this when i first got my V20 a couple months ago.

I was trying to compile for the first time but kept getting errors even though i was following step by step on

jccaduono's guide with and without the fork, so i ended up giving up cause I don't know anything about it, and dont really have the time to research around it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
I just did this:

Rename /system/etc/security/otacerts.zip to otacerts.bak (or whatever you want really). You could just delete that file but that's a one-way street.

Without that file the updates can't be verified and you'll get no notifications and no background downloads.

I turned Play Services notifications back on without any notification.

Thanks to [MENTION=2084946]djmcnz[/MENTION] for the fix.

I did also delete the update.zip file in the /cache folder after copying it to the sd card.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Seems to have worked. I had to toggle notifications for Play Services, since rebooting didn't work, but no more update.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
Your right. I had to toggle notifications one time after the steps. I did that yesterday morning and haven't had a note since.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
I renamed the file, removed the update from cache and after reboot I still see notification in my bar. Do you actually run this update after removing update file and rename otacerts file?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
You should probably read my post right below the one you quoted.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
Zacharee, I did read it. Notification disappeared after turning off google services off, then on. Before I removed update file from cache and renamed

otacerts file. Rebooted and still get this notification.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
Anyone else having the issue where your device doesn't show up on the Google Play website to install an app?

Since I flashed this rom a while ago it doesn't detect my device. I did a clean install btw.

I have tried force stop and clear data on Play Store, then restarted.

Signed out of Google account then did the above and restarted.

Signed out, restarted, cleared data, restarted, signed in.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Have you modified build.prop for Pixel ID?

Because I'm sad to say, that no, that is not something that happens. I use the feature almost daily (I install, test, and uninstall a lot of apps, so installing from Chrome is just easier).

Sign in with a different account on the phone and PC, and see if that works?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Ok gang... Just another me update.

So much going on, what with getting $3000+ somehow wired out of my bank (bank returned it to me), work, more work, working at work, planning for my month long japan trip in april, car stuff, renovating/renewing/customizing my year 2000 Yamaha R1, i mean the list literally goes on for like another 4 lines.

Because of this, I just wanted to let everyone know that development has NOT stopped, but is certainly paused at least for a few more days. I just wish there were about 16 more hours in a day, and that we could sleep like just 3 hours. But meh.

That said, v6 will take longer than expected. But it isn't due to only to the time constraints. v6 will (hopefully) bring in full voltage control, overclocking, underclocking, GPU control, and even more hopefully, the elementalx governor. I will be removing some previous patches from the kernel, to resolve many people getting high CPU usage. SafetyNet will be bypassable simply by using the included RootSwitcher app, and clicking on/off. Basically, v6 is going to be a huge upgrade, and at the time I haven't got much of personal time.

I will need to learn many things for the changes in CPU, so don't expect an overnight update.

I will not be checking in on XDA forums for a while, but I might still be working on ROM/kernel stuff at some points. So, if you are trying to resolve or report an issue, and it is important be sure to mention me (@Tilde88), so that when I do log in , I will know to check in with you (lol i logged in today with 18 notifications). Feel free to use the thread among yourselves just don't derail.

Big things!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SlakWReX:
Alright guys. I recently rooted and the first ROM I tried was a stock android rom. I can't seem to be able to run any lg based ROM. I keep getting data encrypted. What am I doing wrong
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
Thx Tilde for an update. So far running strong with 5.1 with annoying tmobile update notification :).

Hopefully your update will take care of it.

---------- Post added at 04:55 AM ---------- Previous post was at 04:53 AM ----------

I think you didn't wipe the data in twrp, after that you should have flashed SU.

Go back to the beginning of the thread. That issue was resolved right there.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
If you ran the Format Data option in TWRP, then you would have successfully removed encryption (and everything not stored on your external SD card. You then need to make sure that if you were staying with the stock ROM, that you flashed SuperSU. You need to be decrypted for SuperSU to load properly, but it will prevent the phone from encrypting again.

That being said, if you flashed a custom ROM based on LG, after formatting data, do not flash SuperSU as it is already included in the install scripts and flashing it a second time will actually indoor your device, allowing it to encrypt again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Looks like this actually causes severe battery drain from Google Play Services. I had to reverse the changes.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lordodin912:
Does removing/renaming com.lge.fota.xml from system/etc/permissions help? Also restricting background data on play services and Google play store may help with battery drain.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I'm on OvrDriVE's ROM, so I'm just going to flash 10j later today.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] KittySparkles:
Anyway to get the stock LG Themeing options on NotSoStock? Or is that part of the debloat?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
I had no excessive batt drain. It turns out these steps don't work if you reboot. Here is what does work:

OK, so I tried The old Sammy trick. First you must delete or move the update.zip file from /cache directory.

I selected the update notification from notifications and then selected to install it. See the attached. It said rebooting. It won't reboot because the necessary file is gone. Wait 10 seconds and touch the recents home key and close the window. Done!

I rebooted the phone and no nag.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mrtruckincowboy:
you can the link is not there. i created a shortcut from my home to get to it.

---------- Post added at 08:20 PM ---------- Previous post was at 08:19 PM ----------

also you can use the sub theme engine with this.

im running both together to give me a blackedout experience
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Substratum without OMS right?

---------- Post added at 08:29 PM ---------- Previous post was at 08:28 PM ----------

I might try this, but I don't really care enough to change it, honestly. I can live with another icon for now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] :
Not that I'd probably ever want to, but is there a way to go back to completely stock?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
Thanks for the reply and I'm really looking forward to this next update.

No I haven't modified the build prop. I signed in with another Google account and it was recognized right away, then I was able to use the site. I switched back to my main account and it doesn't work still. Very strange... :confused:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
So you will need to do a clean flash, and delete the Android and .android_secure folders from internal storage, and SD Card.

You have some sort of cache corruption
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hey!!!

Lookit here!

http://opensource.lge.com/osSch/list?types=ALL&search=h918

Notice anything different? ;)

Anyone have the ROM counterpart for 10j?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
ANOTHER update? wow
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Coming from a Note 4, it's weird for me having updates more frequently than once a year.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Well, see this is the source for the kernel for version 10j. The reason I never made a 10i update, is because a 10i kernel source did not accompany it. So this update did come with the source for kernel, now I just need someone to send me the /system (and preferably also boot.img) from 10j
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
I believe those images were in the update.zip

But I deleted mine. Anyone still have a copy.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Meh... Just as [MENTION=5672995]jcadduono[/MENTION] said, their source does not compile... Spent hours yesterday trying to get 10j to compile... But nope.gif.

More hours to come today.... Thanks LGE...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Do you still need a clean dump of 10j system? I've got a deodexed but otherwise untouched one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjc112:
5.5 still going strong for me!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] RiceRocket954:
Is anyone else getting the prompt to update on the taskbar, like the attached screen shot?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Swipe on the notification to reveal the Gear, tap it, tap More Settings, toggle the Block switch on and off again. It'll be gone until the next reboot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
So the latest on this rom is not 10j... I looked and read but didn't see anything .....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
It's 10d.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
Grrrrrr ok thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Oh, feel free to build your own custom ROM, and build your own custom kernel from source, and basically pioneer the entire development for the lg v20.

Then get your sources straight from LG and try to compile and see how crappy it goes?

Then do the same for 3 other devices so that TMobile people aren't the only ones with some love.

No?

Then don't complain. Or just use a stock kernel and miss out on a bunch of exclusive features. It was 10d up until now, because 10d was the latest source for the kernel we had. 10j dropped a few weeks ago, but it does not compile. I have a **** ton of things to do in my life, and I spend whatever time I can building and SUPPORTING this ROM.

5.5 is completely stable, and works better than 10j stock, not to mention the features, performance, and battery.

That said, everyone. As usual, I finally have a little time today since it is Sunday, and I will spend a few more hours on the kernel. To bring everyone up to speed, LGs 10j kernel source will not compile with no edits. They apparently always give out botched sources... So yay me. The moment I get the kernel to compile, I will be able to make a flashable 6.0 zip. Which means the faster I get a working 10j stock source, the faster I can push this update.

So if there are any kernel devs out there, give 10j a whirl from http://opensource.lge.com/osSch/list?types=ALL&search=h918 . Defconfig is not premade, so you will have to make it using

ARCH=arm64 scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig android/configs/android-base.cfg android/configs/android-recommended.cfg

Once you have the full 120+kb defconfig, or you make your own defconfig, you will see that it fails to compile mostly due to drivers. I am trying to cherry pick away non-working drivers and replace, but in the end, more failures ensue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Thank you for the PM. This saves me time, and I'll be able to re-use the existing boot.img's RAMdisk. :D

Now if I could just get the damn kernel to compile! Curse you, LG! Even though they aren't strictly required to release their sources, they don't release in a GNU-approved way. Are supposed to release the source exactly as you built it, with the exact steps you built it with. But they do have some proprietary rights... Just not very nice :( lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
[MENTION=1325580]Tilde88[/MENTION] have you thought about using the WerewolfAlbatross kernel, once it gets a bit more stable? It works on 10j, it's fast, and it isn't stock-based, so there's no source issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
It is my fail-safe plan, yes. I believe his gives H918 user static boot though... Probably something to do with the dts driver, idk. Hoping to get LGs source working though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
It does have static, but it's pretty easy to see once the phone is done booting, so you can cover the proximity sensor. Good luck with the LG stuff. Maybe we could try some sort of petition?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Nah, they dont have to release anything. I just wanted to complain :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] drbveb88:
Hey [MENTION=1325580]Tilde88[/MENTION]

Is this the latest kernel zip? Will it flash the whole kernel or do you need to have the rom uploaded and then flash the update?

I thought i read there was an update with 5.5, maybe im wrong!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] stanleyopar2000:
I concur. It would be great to have a seperate kernel zip which defeats Safteynet