yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] monicaONxda:
I can't say anything about older Android versions, but at least for the one I am using (Android 10 with a build made by Samsung for a Note 10+), according to https://docs.samsungknox.com/admin/knox-platform-for-enterprise/kbas/kba-360039577713.htm:

"When the user boots up the device for the first time (for example, following a factory reset), the 256-bit Primary Key is randomly generated and encrypted in storage by the TEE-based Keymaster component. This component uses keys derived from a default password and a device-unique hardware based key to protect against offline attacks. If the user sets a PIN, password, or pattern on the device, and configures Secure Startup via Settings > Biometrics and Security, the Primary Key is re-encrypted by the Keymaster using the user's credentials and stored. If Secure Startup is not enabled after being configured, the Primary Key is re-encrypted using the default password instead of the user's credentials. During subsequent device reboots, the Primary Key is recovered using either the default password or the user's credentials, depending on whether Secure Startup was configured, allowing the system to mount the user data partition and decrypt its data while it is read from Flash memory.

Hence, both keys may be unrelated, but one (re-)encrypts the other and you can decrypt only when the system has both keys...

The problems with ADB and the Android encryption I have are those: after setting a user password and rebooting the phone (only) the folder data/data is encrypted, i.e. shows (via ADB access from an ADB file viewer) only cypher text (of file names and inside files), which transforms into clear text (unencrypted data), after unlocking with the password and this decrypted state remains even after re-locking the screen. That means only after a fresh reboot of the phone its encrypted again and typing in a 16 character password on each screenlock makes not much sense from a security perspective and

1. you can't use an additional easy / faster pattern or a short password / PIN ( a second user password) in Android 10 (first problem).

2. The second problem is, Andorid 10 doesn't encrypt the /data/data folder again after the screen locks - which would be possible technically, and welcomed from a security perspective, even when it means some apps can't send notifications to the lockscreen or were forced to stop. B.t.w. at startup, before the first unlock with the user password (in encryption state) I can still receive and answer phone calls (because this area of the user data file system is protected by its own Primary Key). That should be possible and enough in my view also after the re-lock.

3. Lastly the probably biggest security hole is that only data/data can be encrypted and all other partitions (even /data.. which I thought is also part of the userdata partition(?) is unencrypted and fully readable (e.g. all the programs installed, access times and other meta data incl. logcats etc.)
[OnePlus 3T Guides, News, & Discussion] :
These keys doesn't relate to lockscreen passphrase. This is the misconcept. See my last posting! I don't know if the cli is working on samsung roms (samsung is extremely proprietary) and if samsumg roms are proprietary at this point, too. but on aosp these are umrelated.
[Verizon LG G3] farhanshaikh671:
What's up people? Official LineageOS 14.1 nightly build has finally been released for the Verizon LG G3!

Downloads needed:

1) Download the ROM from download.lineageos.org/vs985

2) SU addon (optional) download.lineageos.org/extras. Download the ARM variant.

3) Gapps (optional): opengapps.org choose ARM, 7.1.1 and Stock or Super or Nano or whichever you want.

4) xdabbeb's 35B bootstack

Instructions for flashing:

1) Make backup of your current ROM(just in case).

2) Wipe System, Data, Dalvik and Cache.

3) Flash xdabbeb's 35B bootstack (if you haven't done it already)

4) Flash LineageOS, SU add-on (if you want root access) and Gapps (if you want Google apps)

5) Reboot.

Have a great day! :)

I am not the original creator nor contributor of this ROM. This is an all original work of LineageOS. Thanks to Google and LineageOS :D
[Verizon LG G3] ngato35:
required 35b bootstack
[Verizon LG G3] farhanshaikh671:
Thanks
[Verizon LG G3] eightrac:
Anyone installed this yet and tried audiofx?
[Verizon LG G3] ngato35:
yes i'm using this rom.. nice rom audiofx working
[Verizon LG G3] equitube:
Which one of the firmwares did you use? Theres a 3.11 snd a 2.something where the bootstack files are. I tried just flashing the bootstack in TWRP but the ROM wouldn't flash then.

I have a nandroid so reverted am waiting to try again
[Verizon LG G3] ngato35:
35b bootstack.. flash 35b flash rom flash add on su flash gapps and flash agein 35b that all
[Verizon LG G3] equitube:
Okk, I didn't know that I had to flash the bootstack twice. I was a bit confused, I've done bootstraps, FXZs, now tots and bootstack. All in the name of learning
[Verizon LG G3] equitube:
Thanks, this worked like a charm. It all flashed beautifully except for the Gapps. I tried the one you choose your apps during install, I've never used that so I probably missed something. It flashed in seconds, well didn't flash. I''ll try again and if that doesn't work, I'll just download micro or another small one.

The rom runs great. I havent' noticed any issues yet. I'll play w' it for a bit longer, then probably shelve it. The challenge is over. I was half hoping/dreading I'd at least softbrick it. I learn more about devices that way than any other method.

as an off topic, I have a new Sammy Galaxy Sky SM-S320VL (Net 10 edition), no one's been able to root one yet to my knowledge. Anyone care to take up the challenge with me?
[Verizon LG G3] equitube:
It's a nice rom, smooth and all that. Unfortunately, it only gives root through ADB. I've flashed the SuperSu twice, then went over to the rom site to learn that.

Gapps are a hassle too to install

I really like this rom but dont' want to have to mess around with sideloading, etc. I',,ll come back to it when, and if, it gets updated
[Verizon LG G3] farhanshaikh671:
I'm also using the same rom on my Verizon lg g3 but I don't have any root issues. Use the su add-on which I provided in the link. Then go to developer options→root access→apps and adb.

Also, I installed Gapps without any issues (build- 08032017, variant - super). Wipe everything (excluding internal storage and sd card) and again wipe cache and dalvik after installing rom and gapps.
[Verizon LG G3] farhanshaikh671:
I'm using the 35b bootstack and audiofx is working good, but the animation when you try to change between speakers​ in the app is kinda laggy. It seems to be an issue in every nougat rom. Also, a message pops up in the behind showing "com.qualcomm.shutdownlistener has stopped", but it doesn't affect the shutting down. This also seems a problem in nougat roms. Other than that, everything is working. Network, 4g, Bluetooth, etc is working.
[Verizon LG G3] equitube:
I got the ROM installed fine. But it doesn't have root (except through ADB) so I am now running Dirty Unicorns 10.6. Android 6.01, I'll try the Linage again when they get a few more bugs worked out. Or I may write my own for this, not sure yet
[Verizon LG G3] farhanshaikh671:
use the su add-on which I provided in the link. Then enable it in developer options in settings. That's what I did.
[Verizon LG G3] equitube:
that's what I Flashed unfortunately, developer options weren't able to be turned on. There's a workaround published either here or on the RR site.

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] farhanshaikh671:
Try factory resetting and flashing the add-on *with* the rom :)
[Verizon LG G3] equitube:
Do you mean flashing both in the same zip queue? I had flashed the rom successfully, then immediately flashed the superSU add on. It also indicated success, but didn't seem to install superSu. I'll go back and try your suggestion.
[Verizon LG G3] farhanshaikh671:
Sure ;)
[Verizon LG G3] equitube:
That worked great, thanks. Rolling with this ROM now with development options enabled. (I do have to say though that I was using a dirty Unicorns ROM (10.2) and I may go back to it. This ROM doesn't have near the customizations. It's good though
[Verizon LG G3] farhanshaikh671:
Glad it worked :) And yeah, since it is an initial build, many features are missing. I hope that they will add them in future updates.
[Verizon LG G3] devihuntt:
I had flashed the rom successfully, but baseband version lost

can't dial anymore
[Verizon LG G3] equitube:
what model # do you have

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] devihuntt:
my model is lg-vs985
[Verizon LG G3] equitube:
I thought it probably was, I didn't actually check the dialer on this ROM. I flashed back to a Dirty Unicorns 10.6 until they get more bugs worked out

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] arslanazizsoomro:
Sim not access

I had installed 35 Bootstack but sim not accessing in this rom :(:(:(:(
[Verizon LG G3] equitube:
That may be my issue as well. I have no mobile data, spent hours on the phone with these poor, low level help desk techs at Net10 who couldn't help if they wanted to . I was only trying to get escalated to a level 2 tech. No dice. looks like i'll have to flash back to stock, then sell the device. I've learned enough about them now and I dont' keep non-rooted devices. The G3 is still a nice phone, maybe I'll try to resolve the data issue. It's time for a tech break though.
[Verizon LG G3] williamschromebook:
are these nightly's only?
[Verizon LG G3] kennymasters:
hi I can't use the internet when I'm not on wifi! everything else is working fine, its just the internet. I can call/text,but no internet! anyway to fix this?
[Verizon LG G3] equitube:
I have this issue as well. preliminary research indicates that I may have to flash it back to stock. Did you downgrade the fiemware on yours before rooting?

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] RedWingsFanEd:
My internet data turns off randomly but all I have to do is go to cellular data and turn it back on. Sometimes it needs a reboot also.
[Verizon LG G3] kennymasters:
sadly i don't have the old kitkat rom to go back to! i just have the marshmallow 5.0 and the baseband 35b

but i do have two phones i just put the simcard in the other one! lol
[Verizon LG G3] equitube:
all the stock roms and firmware are on xda, go to the LG G3 section, they're all there. I hate to run a non rooted phone though. But the G3 is an awesome phone, ill keep it just for the camera

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
thanks so much! you can root the kitkat 4.4.2 with kingroot! I've done it before!

but which one is the kk firmware?
[Verizon LG G3] kennymasters:
I tried everything! nothing helped!
[Verizon LG G3] equitube:
Using Kingroot may have caused it, I'm not sure. What custom recovery do you have?

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
well there was no other way to rrot it for me! and I did try the marshmallow 6.0/6.0.1 but samething! I even got the stock rom from verizon. Now i reverted back to kk 4.4.2 and everything is good now!
[Verizon LG G3] equitube:
Do you have TWRP or CWM on it?

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
i have rooted the kk 4.4.2 and successfully got twrp
[Verizon LG G3] equitube:
superSU?

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
superuser dont know why super su couldnt update
[Verizon LG G3] equitube:
did you replace Kinguser with Superuser?

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
I just did and its working great! I have full root and twrp now
[Verizon LG G3] equitube:
awesome! I may cave in and hook mine up with Verizon when my Net10 runs out. I'm getting tired of carrying 2 phones around, 1 just for the cam

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
Haha I did that too for one day then I couldn't do it no more! I'm using Verizon on straight talk, very cheap
[Verizon LG G3] equitube:
I also looked at boost metro pcs for the free music streaming. ndnd

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
Whatever you think it's best
[Verizon LG G3] equitube:
right now working on another Equimods ROM for the LG G series but I really need to iron out this mobile data issue

Steven Peterson (Equitube)

"Aspiring Android Developer

"Recovering Windows Expert"
[Verizon LG G3] kennymasters:
don't try the rom has issues
[Verizon LG G3] te_ehm:
Hey guys, I have lg g3 vs985, I downloaded this lineage os7.1.2 with the gapps, flashed it successfully, but after rebooting my device, the network whent off. Can some one please help me.

Thanks in anticipation. From Nigeria.
[Verizon LG G3] meredsm:
Try flashing the 35B bootstack and modem in TWRP. I'd give you direct links, but since I'm "new", I can't post links yet. Try searching the file names:

Bootstack:

xdabbeb_vs98535b_bootstack.zip

Modem:

VS985_35B_Modem.zip
[Verizon LG G3] annoyingduck:
[GUIDE] Disable Cellular Radio

I brought my old LG-G3 back to life to use strictly as a media player with a prop edit to disable the cellular radio (I was using my old Samsung GS3, but it finally died after all these years!). Running LOS 09/01 nightly w/xdabbeb's 35b bootstack and everything is buttery smooth. Performance is really top notch for this device running LOS 14.1 - no complaints here. If anyone wants to use their device as a mini tablet (wifi only/disable radio) this is what you do via a root adb shell on a pc:

adb shell

su

setprop persist.radio.noril 1

That command removes the cellular radio portion from the OS. There will no longer be a signal bar in the status bar. Wifi will still work so the device is basically now a mini tablet. You will gain a major increase in battery life. A couple of things to note:

-Root required. Flash Lineage's SU addon (I couldn't get Magisk to work, and I no longer use SuperSU so I can't comment on that). Enable root for apps & adb in Developer Options.

-The radio is disabled, but the OS is still built as a phone. In the Battery section it'll still show "phone idle" as draining battery. Ignore it, it's a false reading.

-On this device there is an odd side effect where the GPS becomes disabled too. Apparently LG ties some GPS hardware to the device's RIL. This doesn't happen on other phones for future reference. It doesn't bother me, I would have turned location off anyways - after all, I'm just listening to music from my 128gb microSD. The GPS will still be available in the system, but it simply will not find any satellites. Just turn off the GPS so it's not searching and draining your battery.

-You can also do it from a terminal app or Lineage's built in terminal (you have to enable the terminal in Developer Options).

-To revert and restore the radio, do the same thing, but replace the "1" with a "0" in the command.

-The radio disable will remain when dirty flashing an update (no need to run the command again).

-If you play any Kanye West, your phone will make a vomit sound and immediately self destruct....you've been warned!

-Revert Command:

setprop persist.radio.noril 0
[Verizon LG G3] planthony:
I'm getting a reboot loop after about 5 seconds of the OS running, meaning I get to the setup wizard, am able to get through about 3 pages and then the phone reboots. I have tried deleting the setup wizard as some have suggested and that gets me to the home screen, and the OS seems to be working fine, but something is triggering a reboot after a few seconds still.

I'm starting with a rooted VS985 10b

I wipe cache/data/system from TWRP

I then flash in this order:

xdabbeb_vs98535b_bootstack.zip

VS985_35B_Modem.zip

lineage-14.1-20170922-nightly-vs985-signed.zip

open_gapps-arm-7.1-micro-20170924.zip

addonsu-14.1-arm-signed.zip

then reboot

I have tried a few older lineage builds, but they all have the same problem.

I can recover to the stock 10b and it works fine. Any help is appriciated.
[Verizon LG G3] gumnaam.sur:
FWIW Here's my procedure

Go back to 10b and root it with Stump Root

Install TWRP using either TWRP Manager or the official TWRP app (or via adb)

Wipe each partition except Internal Storage

Flash xdabbeb_vs98535b_bootstack.zip (No need to flash VS985_35B_Modem.zip as xdabbeb contains Modem).

Flash Lineage Rom ( I'm using Lineage 15.0 unofficial via https://xdaforums.com/lg-g3/development/rom-lineageos-15-0-alpha-t3689278, but 14.1 Official will do just fine)

Flash Open GApps

Flash Root Zip (I'm using Magsic but addonsu or SuperSU will do just fine)

Once again flash xdabbeb_vs98535b_bootstack.zip ( This is important)

Reboot

All the best!
[Verizon LG G3] b1llf0x:
The last maintainer for this device left due to time constraints

lineageoslog [dot] com/14.1/vs985
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
Master_T has modified the standard YouTube with the modification from the Xposed module and packaged it into a working APK. He then integrated Arter97's ad-free modification to the app. Better yet, another user has created a Magisk module for the modified app so you won't have to mess with your system partition.

The YouTube adaway and background-playback Xposed modules were the only reason I even considered rolling back to Marshmallow. Now, there's nothing compelling me to return. I have installed the app on OOS 4.0.3 Nougat and background playback is working flawlessly without ads.

You do need to be rooted to install the app. You will also have to uninstall the stock YouTube app to use it, even with the use of the Magisk module. I tried flashing the Magisk module without deleting the stock app, and reverting the stock app back to factory condition, but it kept overriding the Magisk-mounted modified app.

Check out the original thread for more details.

Also, if you want to disable the modded YouTube app's market link to prevent accidental auto-updates, check out hinxnz's script, which also happens to be Magisk compatible. It's a simple script that runs 60 seconds after boot and removes market links from certain apps every time you boot. While it was developed to mask substratum theme-ready apps, they work for original and modded versions of the apps as well.

Note, 360 degree videos will cause the app to crash unless you extract the lib folder from the app and place it into /system/app/YouTube/lib and granting the folders 755 and files 644 (permissions). I've remade the Magisk version such that it includes the lib folders in the correct location with the correct permissions, link is posted below. This Magisk module contains only the ad-blocked and background playback-enabled version of the modified YouTube app for ARM64 devices (such as the OP3/T) and will not work for ARM(32) or Intel devices. You can flash this in Magisk or TWRP. Don't forget to delete your stock YouTube app first. I have tested this Magisk module on my OP3T running OOS 4.0.3. This should work on any other ROM that Magisk works on. Magisk is required for this module, you can download the original (non-Magisk) modified APKs from Master_T's thread. Please also visit his thread to thank him~

Edit: You do not have to completely delete your YouTube folder using a root-enabled app or through TWRP. The Magisk module now works if you remove the updates to YouTube from /data/app.

Simply go into Settings > App > YouTube and delete updates (restore to factory settings).

You can achieve this by disabling the app in settings, then re-enabling it.

The link has been updated.

Ad-Blocked/BG-Playback/360-Enabled Magisk Module v12.27.57 (by [MENTION=3279788]ZaneZam[/MENTION]):

https://drive.google.com/open?id=0B8lY7pYQ4GSzUkpWTFppR1huWE0

Original Developer: Master_T

Main Thread: https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900

View attachment 4070087
[OnePlus 3T Themes, Apps, and Mods] Vaibhunk786:
Magisk module did not work. I also didn't uninstalled the stock youtube.
[OnePlus 3T Themes, Apps, and Mods] Znil:
Background playing is working on Magisk Module: OOS OB3. Adblock doesn't seem to work. Adblock wasn't integrated in the magisk module. Pushing Apk manually to system works as a charm.
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
If you want to use the ad-blocked version with magisk, you can simply open the zip for the magisk module and replace the modded YouTube app inside with the version you want. The original magisk module on the post contains the non-ad-blocked, bg-enabled app by default.
[OnePlus 3T Themes, Apps, and Mods] Sloth:
Correct Lucky Patcher is considered warez and is not to be discussed on XDA.

Thread cleaned.

Thanks,

Sloth
[OnePlus 3T Themes, Apps, and Mods] timeToy:
Confirmed working on Oneplus 3T
[OnePlus 3T Themes, Apps, and Mods] yung40oz84:
Magisk or apk? When I try to install any of the APK they say corrupt.
[OnePlus 3T Themes, Apps, and Mods] k.s.deviate:
Any way to successfully remove system apps on stock rooted OB3? Titanium backup and similar apps do not remove successfully.
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
Magisk version is working on my OP3T with OOS 4.0.3. You still have to delete the stock YouTube app from system if you use Magisk though.
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
I had used ES File Explorer's system app removal tool to remove the old YouTube app, though you could probably use any root explorer to manually delete the YouTube folder from /system/apps
[OnePlus 3T Themes, Apps, and Mods] timeToy:
I used the apk, no ads and background playback.

- Restore Youtube to the stock system app (Uninstall updates)

- Delete the stock Youtube app from systems/app/Youtube

- Copy the modded Youtube apk in the same folder and set the permissions

---------- Post added at 10:12 ---------- Previous post was at 10:11 ----------

I used Root explorer
[OnePlus 3T Themes, Apps, and Mods] k.s.deviate:
Nothing I use will remove system apps. Its strange..
[OnePlus 3T Themes, Apps, and Mods] ast00:
Let me guess: read-only file system, remount failed. OOS based custom ROM or stock ROM.
[OnePlus 3T Themes, Apps, and Mods] k.s.deviate:
Yes.. stock OB3 or 4.0.3 rooted. I've never encountered this before.
[OnePlus 3T Themes, Apps, and Mods] ast00:
Just use the TWRP file manager. Works wonders.
[OnePlus 3T Themes, Apps, and Mods] k.s.deviate:
It didn't allow me to replace, but I'll try and use it to delete.
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
It was pointed out that 360 degree video causes the app to crash due to a missing lib folder. I've made a Magisk module for the ad-blocked version of the app with the correct lib placement and uploaded it, link's in the first post as well as Master_T's original thread. It is now fully functional, as far as I can tell anyways.
[OnePlus 3T Themes, Apps, and Mods] Znil:
Any way to disable the app from updating in the playstore? When youtube updates itself the mods are gone.
[OnePlus 3T Themes, Apps, and Mods] Anova's Origin:
Follow this guide. It works for the modded YouTube as well.
[OnePlus 3T Themes, Apps, and Mods] masri1987:
i didn't have a youtube preinstalled so i created the folder "Youtube" in system\app gave it proper permissions placed apk in the proper folder with the proper permissions, rebooted, tried to open it, got oneplus logo, back to launcher. No youtube opens, no force close.

oos 4.1.0
[OnePlus 3T Themes, Apps, and Mods] Pranbellam:
This mod is perfect ...thanks a lot to the dev ..Was searching for this mod since I updated to nougat .
[OnePlus 3T Themes, Apps, and Mods] Erik1805:
Thanks for this great mod. Runs really nice on DU rom