yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Alright guys brand new kernel has been uploaded! Please enjoy because I sure as hell am haha. Also added the source code to second post.

Changelog:

Fix lockdep warning when handling CPU_STARTING.

UPSTREAM: selinux: fix off-by-one in setprocattr

UPSTREAM: PM / sleep: make PM notifiers called symmetrically - This makes pm notifier PREPARE/POST symmetrical: if PREPARE fails, we will only undo what ever happened on PREPARE. It fixes the unbalanced CPU hotplug enable in CPU PM notifier.

Removed rndis_ipa loopback functionality - Rndis_ipa loopback functionality at rndis_ipa driver is a debug functionality that is not used.

UPSTREAM: mbcache2: reimplement mbcache

UPSTREAM: Drop bogus dependency of DEVPORT on !M68K

UPSTREAM: lack of bool string made CONFIG_DEVPORT always on - Without a bool string present, using "# CONFIG_DEVPORT is not set" in defconfig files would not actually unset devport. This esnured that /dev/port was always on, but there are reasons a user may wish to disable it (smaller kernel, attack surface reduction) if it's not being used. Adding a message here in order to make this user visible.

Zram: do not use copy_page with non-page aligned address

Perf/core: Fix event inheritance on fork()

Percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages - Update to pcpu_nr_empty_pop_pages in pcpu_alloc() is currently done without holding pcpu_lock. This can lead to bad updates to the variable. Add missing lock calls.

Power: msm-core: Compile out temperature polling - The temperature polling used here is expensive; according to top, it regularly eats up 10% of the CPU. Frequently spending 10% of CPU time on an *energy efficiency* feature is nonsense, so we'll just use the default temperature for power calculations so that we can still make use of power-aware scheduling.

Mdss: Don't constantly fire interrupts for DSI status check - Instead of needlessly letting the vsync interrupt fire non-stop, force it to fire at most twice every STATUS_CHECK_INTERVAL_MS (5000 ms). This results in reduced CPU usage for this feature.

PM / devfreq: Add an interface to boost devices when the screen is woken - This adds a generic interface to boost a list of devfreq devices defined at compile time. The specified devfreq devices (boost_devices) are boosted to their respective max frequencies when the screen is turned on in order to improve screen-wake performance. The default boost duration is 10 seconds.

Added new governors: Dance Dance, Darkness, Nightmare and Chill. (Please read second post about these)

Other Various Fixes.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] almony8:
I tried flashing this ROM like 10 times yesterday on my sprint v20. I was coming from resurrection remix. I wiped everything three times, then formatted. I then plugged into my PC and transferred the ROM to my internal storage and flashed. I did this like 4 times and every time just got stuck at the lg logo, no twrp bootloop, just stuck at lg logo. I waited there for over 30 mins a couple of times and never got anything. I then wiped everything and formatted and then did the fastboot commands erase cache, erase fota and erase misc and tried again and same thing. I redownloaded the ROM several times during this too. After all that I still never got this working, so I went and flashed emotion and that flashed and is working great. Never had this problem, any thoughts as I would love to run obar and dual boot emotion if I can get it working
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Wipe data cache dalvic and system. Then format data. Go to mount make sure system is unchecked. Flash rom and reboot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rayraycarter4:
Did you fix the Bluetooth issue with it not disconnecting when the speaker or headphones shuts off
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Chaz187:
Bluetooth is working fine for me.... No issues.... Even on the R1 kernel..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
I have no bluetooth issues or any in logs either. So in my end i have nothing to fix! Bluetooth works great for me, used it for 4 hours straight the other day.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] almony8:
I'll try that again tomorrow and see what happens. Does this flash with the new twrp or should I still use the old one?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xMutant:
Can't find Hotspot anywhere in settings?

Installed rom works great!

Can't find Hotspot nor the hotspot settings anywhere. I downloaded a hotspot shortcut app which got to the settings but locks up every time. Anybody else having this problem?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fiver5:
Hotspot will be under main settings -> tethering -> wifi hotspot

On Sprint I seem to have gotten a new prl/profile since I flashed so I still had to edit the APN manually.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fiver5:
sooo.... what am I missing here about the kernel modules and the OBAR kernel?

None of the bundled modules in /system/lib/modules are signed and they all fail to insmod with "Required key not available"

Got the source from github, built the kernel, signed the modules, created a boot image, signed the boot image. Flashed and still can't get any of the modules to load.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Kernel builds just fine, been testing a couple new builds ive done recently.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fiver5:
I'm not having trouble building the kernel.

I'm talking about the kernel modules. If I download OBAR_Kernel_R2.zip and flash it, only a handful of the included modules are signed that can be loaded

root@elsa /
# uname -a
Linux localhost 3.18.31.OBAR.Kernel.vR2 #2 SMP PREEMPT Mon May 15 02:41:31 EDT 2017 aarch64

root@elsa /
# find /system/lib/modules -name '*ko' -exec insmod '{}' \;
insmod: failed to load /system/lib/modules/bluetooth-power.ko: Required key not available
insmod: failed to load /system/lib/modules/brcm_bt_drv.ko: Required key not available
insmod: failed to load /system/lib/modules/brcm_hci_ldisc.ko: Required key not available
insmod: failed to load /system/lib/modules/dummy_hcd.ko: Required key not available
insmod: failed to load /system/lib/modules/evbug.ko: Required key not available
insmod: failed to load /system/lib/modules/fm_drv.ko: Required key not available
insmod: failed to load /system/lib/modules/g_laf.ko: Required key not available
insmod: failed to load /system/lib/modules/gspca_main.ko: Required key not available
insmod: failed to load /system/lib/modules/lcd.ko: Required key not available
insmod: failed to load /system/lib/modules/mausb-core.ko: Required key not available
insmod: failed to load /system/lib/modules/mausb-device.ko: Required key not available
insmod: failed to load /system/lib/modules/mmc_block_test.ko: Required key not available
insmod: failed to load /system/lib/modules/mmc_test.ko: Required key not available
insmod: failed to load /system/lib/modules/rdbg.ko: Required key not available
insmod: failed to load /system/lib/modules/spidev.ko: Required key not available
insmod: failed to load /system/lib/modules/ufs_test.ko: Required key not available

root@elsa /
# lsmod
Module Size Used by
test_iosched 17318 0
tcp_westwood 2181 0
tcp_htcp 3544 0
br_netfilter 10954 0
ansi_cprng 4788 0

I guess no one has needed any of the modules that aren't loading yet. Anyway was able to eventually answer my own question by building the kernel and modules I was trying to load myself and signing everything with the same key. Haven't had to deal with signed modules before and the fact that most of the ones include with OBAR itself weren't working threw me for a loop.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Slypnslyde:
Hopefully get static fixed
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Chaz187:
Not gonna happen.... We just have to live with it....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
Agreed. I'm perfectly fine with static tbh
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Static will never be fixed for sprint. Sorry.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Slypnslyde:
It seems to only be fixed using werewolf but I like this one better
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Chaz187:
That werewolf kernel is horrible on battery...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Im still not quite sure what you were trying to accomplish. The modules show up for me. Whats this insmod your trying to execute and what do you mean by signing the modules? If the modules didnt work the phone wouldnt boot nor would any of the features i included show up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fiver5:
What I was trying to accomplish was to compile and insert the frandom module into the OBAR kernel. Which I was able to eventually. My first attempt my module would not load, because the kernel requires signed modules. In my investigation to determine what signing key was being used on the modules bundled in the OBAR kernel zip, I discovered that most of the modules will not load. What the insmod command above is trying to do is to load every single kernel module in /system/lib/modules. Most of them fail. After that I do an lsmod to show which modules actually loaded. These are the only modules that are actually working.

In elsa_spr_us-perf_defconfig are the following directives which tell the kernel to only load signed modules. I don't know why some of to bundled OBAR modules are signed and some are not, I'm assuming that you have some kind of automaton scripts that are only handling some of them or not handling certain cases.

CONFIG_MODULE_SIG=y

CONFIG_MODULE_SIG_FORCE=y

CONFIG_MODULE_SIG_SHA512=y

You are mistaken that the phone will not boot without the modules. Since most of them aren't able to even able to be loaded this isn't surprising. I just tested this myself by rm -f /system/lib/modules and rebooting the phone. It comes up fine.

The only time I have ever had lsmod report that any modules are loaded at all is after I've inserted one one myself. I don't see anywhere in any startup scripts that any module loading occurs. I'm not sure the modules are ever leveraged by anything at this point.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] saramon:
Did that work for you, I am experiencing the same
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] almony8:
I never ended up trying again, I flashed the emotion rom and am loving it so I haven't tried anything else since
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Next build will bring a shhhhhh*ttt ton of changes, two things that will make people happy is 1. Kernel passes safteynet automatically now, 2. Netflix :). Now this build is under heavy testing so might not release til end of week! Follow up on the github to see the progress :).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] charlie95113:
can someone pls upload the lg sms apk file in this rom thanks. or pm me
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Chaz187:
Putting it through the passes as we speak.... Nice so far really snappy... Will test it and see about vattery life! [emoji12] [emoji12] [emoji12] [emoji12] [emoji12] [emoji12]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nikisux:
does quick charge work?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Chaz187:
of course it does!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Eturkmn:
Hi guys, first of all sorry for my bad english, Im new at this rom-mod things, and im new android user as well. I used iphone 6s about 1 year and buy brand new lg v20 about 2 months ago. And i want to ask you guys this; should i mod-root-room this phone? If i mod whats diffrence? Thanks :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vandal4e:
can we beta test the upcoming version
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] philiptibbs:
Anyone know how to get the advanced power menu ? Ive seen it on other roms. Is there a flashable zip ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
It's in the play store.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cerialphreak:
Just got notification for an OTA update, will the next version have this included? Thanks for the rom!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
hey, i get error 7 when trying to install this. some symlinks fail. hopefully someone throws me a bone here. i have a backup obviously, but formatting kills me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
You got a bad download. Try to re download and flash. And or go to the mount section in twrp and make sure system is unchecked and flash. Same error try it with system checked.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
just installed the rom. thanks for the help, i love it. I've also found a magisk module template to replace the youtube apk with an ad free one. All of the cpu governors are giving me choice paralysis. has anyone got recommendations for choice of cpu governor?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
How do you hide root for snapchat
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
Magisk works fine
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
Can I just flash it over the top?

Which version
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
Also do I flash the apk or the zip or both

---------- Post added at 04:02 AM ---------- Previous post was at 03:06 AM ----------

Magisk hide not hiding it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
Unroot with supersu, flash magisk zip and install apk

[MENTION=3610850]SaintZ93[/MENTION] hey, do you have any android wear devices? After flashing this, maps doesn't work right on either of my watch urbanes (first and second). I can pull a catlog if you need
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
i stand corrected. just unroot, log in, and root again. it stays logged on i didnt realize, but i hadnt tried to use anything that does a safetynet check. cts profile mismatch. there seems to be no way around it. i'm just going to keep it unrooted. the only reason i rooted was for the hotspot anyways.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
even with supersu turned off and magisk showing not rooted, i still can't get into snapchat
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
https://www.xda-developers.com/magisk-developer-assures-next-magisk-beta-will-pass-safetynet-again/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Team DevDigitel:
look for rootswitch.apk

this works for snapchat with supersu from my experience
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
rootswitch.apk in magisk hide?

if so, i don't see it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
No. Apk = standalone app
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
found it, tried it, giving up........
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SketchyStunts:
You need to read up on some of these things & get a better understanding of how magisk works, etc. before you just give up. This is going to be a constant cat & mouse game of apps blocking rooted users & finding ways around blocking methods.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] solson20:
Some people don't have all day to scower forums. Some just want to use different roms.

What's the point if a forum if I cant ask questions?

I couldn't get it working so I switched roms till new release
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] antithesis4:
Thanks for the hard work Saint! I have a question I haven't seen addressed anywhere with any of the ROMS for the V20. Does the USB-C to HDMI feature work on this Kernel/Rom? I would have thought it a silly question but It does not seem to work on the DevDigital Rom (at least V7), It does work on Classic rom and the dirty Santa Stock_997_full. I imagine with the work you have done on the Kernel it must work and I would try it myself but I am hesitant to switch off the stock kernel because:

a) The battery life is already pretty impressive

b) I have not seen a zip of the original kernel anywhere on this forum in case the HDMI out does not work. (If I missed something somewhere please direct me)

I should add that the sole reason I originally purchased this phone was to use it with the Pioneer App radio 3 (car head unit) and Unchained Reloaded (amazing software) via a hardwired connection. I now have many other reasons to love the phone but that is still the main priority!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Team DevDigitel:
As far as DevDigitel Roms, They are all based of OEM Boot.imgs

With the exception of the latest kernel ZV7 being OEM + Static fix only.

Otherwise they are identical to the matching sources provided by LG, the ZV3,ZV5 kernels are direct dumps off handsets, ZV6 build were running ZV5 kernel as we had yet built one from full sources. ZV7 kernel was a break through, Saintz93 built off ZV7 sources, Red-Dragon provided definitive info to fix static on any boot-loader aosp or not. The ZV7 Kernel is the 1st compiled from sources and not a post produced dump off a handset, but should be the most stable and consistent kernel in the build especially with static being fixed.

I dont have a awnser to HDMI - OUT options but I hope atleast this will clarify kernels and where they are at. As well its good to know that the stock kernels as-is are not working correctly with hdmi-out, as i dont have a cable to test myself i have to trust your report here.

Have you flashed OBAR and seen if it works with HDMI-OUT? would be nice to know if it works and see what differences caused it to be resolved.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] antithesis4:
Thanks for the reply! It does this is good to know the origins of these kernels. I figured the most were dumped images which is why I was surprised to find the lack of HDMI. The DevDigitel was the most stable I have tried so I was disappointed with my findings. I will give OBAR a try this evening and provide some images (or vid links) as well. While I'm at it I will flash the Latest DevDigitel as well.

---------- Post added at 09:15 AM ---------- Previous post was at 09:04 AM ----------

For reference I just looked at my SD card and I used DevDigitel_ZV6_v8B. I wonder if the addition of Magisk caused the issue. Ill test some Roms tonight.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] antithesis4:
So the good news is it was my mistake, I tried the HDMI again with DevDigitel Rom and it worked fine. The bad news for me is that I believe that I have a new paperweight. I'm eternally stuck on the LG screen as of an hour after boot. I think I must have accidentally I wiped the internal storage before I installed OBAR and with no .kdz file for sprint I am pretty my v20 is toast. PLEASE correct me if I am wrong.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
You have to hard key your way into the recovery. Basically pull battery. Put back in and hold Power + Vol Down at same time. As soon as you feel it vibrate and see LG rapidly press power while still holding down Vol Down. This should bring you to a white screen, click yes on both.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] antithesis4:
THANK YOU, i'm back in to DevDigitel rom. Funny thing is I got stuck in the boot loop before and used a similar method to get to the same white screen but could not get it to work this time. I thought I might have deleted that too. The rapid press of the power is a good trick to get there every time! One thing though, I have tried two separate DL's of your (OBAR) Rom and I keep getting an error: 7 . Not sure what I'm doing wrong there. Kinda feel like a newb with this phone (junor member I know... but lurking in the Samsung side of this forum since 09). Thanks again!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] antithesis4:
Figured out what I was doing wrong with the error 7. Just remembered to uncheck system. I was remembering the directions earlier in the thread incorrectly last night. Thanks again for all help!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cerialphreak:
Didn't get a reply to my question. Is development for this rom still active?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x_curtis:
Probably not, since the dev has discontinued his work for two other projects and said he was going to a different phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] juanfernandez77:
I installed rom but after reboot the whole screen because white and fuzzy like an old school TV when the channel is blank...static. Any ideas what I can do?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] pbedard:
Use the search button then go to werewolf kernel
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] juanfernandez77:
Thank you. This worked.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Slypnslyde:
Link says page not found
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] loopytee:
https://xdaforums.com/v20/help/want-help-rooting-security-patches-t3680397
[E 2015 Q&A, Help & Troubleshooting] EduardoDracko:
In my Moto E2015 Otus it gives me the following error "Can not install this package on top of incompatible data. Please try another package or run a factory reset" which would be the possible solution since it happens to me in all roms :crying: :crying:
[E 2015 Q&A, Help & Troubleshooting] chimanhvu:
Wipp Data, Dalvik and Cache

You must Wipp Data, Dalvik and Cache before up Rom
[Huawei Mate 9 Questions & Answers] JackieHack1:
What would be correct method to get OTA installed when current system is rooted and gave TWRP recovery? Rooted TWRP system still offers OTA updates but these can’t be installed coz update is not TWRP compatible.

Once I tried: Extracted stock recovery from update stock firmware, flashed recovery.img & recovery2.img with fastboot. Still I was not able to get update installed anymore. Ended up to install whole new firmware with FunkyHuawei.

Is there any way to update phone without losing all data and install everything again?
[General Questions and Answers] sakin jalali:
I want to custom rom cynge mode for gionee marathon m5 lite please....
[General Questions and Answers] Sachin:
just use the search button...
[General Topics] OfficerJimLahey:
A copy and paste from a news site to post under your own account seems lazy (and no, I am not drawing parallels to journalism in general).

Pro-tip: if you want to share the news, link it, and provide some personal interpretation and critique.

Thread closed.
[Fire Q&A, Help & Troubleshooting] kcajjones:
I'm thinking about using an Amazon Fire 7 inch tablet as a car radio dashboard install, but before I commit to buying one, I can't seem to find any conclusive answers on a few things.

Firstly, does the fire output USB audio so I can use a USB dac?

And if so, is it possible to use a Y split cable for USB audio and charging at the same time?

Any info would be greatly appreciated.
[Fire Q&A, Help & Troubleshooting] DB126:
I can confidently say this Fire like most other Amazon devices will not support charging while the USB port is being used for any other function. Can't speak to USB audio out (suspect not) as most go with Bluetooth.
[Fire Q&A, Help & Troubleshooting] kcajjones:
It does seem to be a difficult feature to find on Android tablets.

According to Wikipedia, it's a simple implementation of a USB otg cable that should allow charging on any usb otg device.

USB Otg Wiki

The major problem (presuming the cable does work and usb audio is possible) is that the kernel needs to be able to enable USB otg at the same time as charging.
[Fire Q&A, Help & Troubleshooting] DB126:
Yep. The stock kernel on most consumer devices don't have robust OTG support as the most commonly used gizmo is a flash drive. I was able to get a OTG GPS receiver to work but it wasn't plug-n-play by any means. Charging didn't work in that context...although I didn't fiddle with it much.