yashsingh1/xdaforums huggingface dataset:
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Not rooted

[MENTION=9060448]nandroidint[/MENTION]

FYI. I successfully completed your steps, including the TWRP 3.1.1-0 line.

2 entries reported "we have root," but SuperSu was not installed. So I downloaded it from the Play Store, but it reports "Root undetected," as does Root Checker which I also downloaded. So, I sideloaded the Magisk 18.1 zip file and it's rooted. YEA!

But now I need to decide on a ROM. I've been using Lineage for my Nexus 7 2013 mobile deb (4G LTE) tablets, but it is no longer being supported.

Can someone advise on this issue? Should I choose this Nougat stock ROM.

https://tinyurl.com/y7kpnqza

Thanks

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] ibrudiiv:
Is it possible to LGUP from n back to f?

My bootloader has been unlocked the whole time. I recently updated to the latest due to thinking my tablet was ****ed. The screen would turn off randomly even when in use.

So I lost twrp (obviously), but I'm still bootloader unlocked.
[LG G Pad X 8.0 Guides, News, & Discussion] MicroMod777:
Yes u can.
[LG G Pad X 8.0 Guides, News, & Discussion] notpopimp:
Dirtycow push

When I push dirtycow I get adb server version (32) doesn't match this client (40) killing but it does say the file was pushed. as I continue entering code it comes up .dirtycow: not found

Disregard I figured out what I did wrong.
[LG G Pad X 8.0 Guides, News, & Discussion] qseanpatrick@gmail.com:
Help
[LG G Pad X 8.0 Guides, News, & Discussion] qseanpatrick@gmail.com:
Flash recovery on lgev410
[LG G Pad X 8.0 Guides, News, & Discussion] rajputnishant:
Active rooted
[LG G Pad X 8.0 Guides, News, & Discussion] sonnyray4200:
Install
[LG G Pad X 8.0 Guides, News, & Discussion] sonnyray4200:
Sonnyray4200
[LG G Pad X 8.0 Guides, News, & Discussion] googlephoneFKLenAsh:
Anyone got magisk to install on stock nougat 20n rom?

It went into bootloop if I flash magisk in TWRP.

It works if I flash supersu 2.8.2 in TWRP but I want to switch to magisk.

I tried to flash unsu zip to remove supersu, and flash stock boot.img, then flash magisk and it would bootloop with magisk flashed. I can get back to boot by flashing stock boot.img.

---------- Post added at 08:21 PM ---------- Previous post was at 08:03 PM ----------

Were you able to use magisk?
[LG G Pad X 8.0 Guides, News, & Discussion] googlephoneFKLenAsh:
Were you able to flash magisk on stock nougat rom like 20n? Thanks.
[LG G Pad X 8.0 Guides, News, & Discussion] jmh033089:
I am stuck at:

adb shell reboot recovery

its boots to stock android with red cation sign and under it, it says no command

any ideas?
[LG G Pad X 8.0 Guides, News, & Discussion] zoobar69:
unable to get past logcat

Trying to follow this to a T. Get stuck at logcat step. Just sits after displaying of:

---------- beginning of system

---------- beginning of main

Never returns the completion message. Is anyone still monitoring this thread and able to help?

Just needed to wait a little longer, several minutes for it to complete.
[LG G Pad X 8.0 Guides, News, & Discussion] rhythm_dx:
EDIT: Finally got it to boot by holding volume down and power. All of the stock apps are force closing, but I assume that will be worked out when I reflash. Heading to bed now but will update this tomorrow.

ORIGINAL: I'm trying to root one of these tablets for my wife and had the same logcat issue. It hung for a very long time, then finally said I could use "reboot recovery," but it didn't give me control of the command line. It just kept saying "if you don't reboot now, this will continue to run every three minutes." Now the tablet is completely unresponsive and doesn't even show the charging animation when plugged in. Anyone know if this thing is completely hosed?
[LG G Pad X 8.0 Guides, News, & Discussion] rhythm_dx:
I'm a dummy...

Figured out what my issue was. I forgot Ctrl+C sends you back to the command prompt, so I was thinking I needed to copy (Ctrl+C in most Windows software) the results of the logcat once the command prompt appeared. Once I went back and followed the tutorial more literally, I had no problem

Thanks to everyone who worked on this! XDA is the best forum ever.
[LG G Pad X 8.0 Guides, News, & Discussion] nandroidint:
FYI, I haven't been to XDA in a while and saw that some people had some issues but it seems my guide sort of helped as well as other comments, congrats guys, I still have the tablet somewhere but not sure if we can run any OS on it as I believe Lineage OS discontinued this model? if anyone knows of any OS we can load unto it let me know
[LG G Pad X 8.0 Guides, News, & Discussion] SithBoxer:
This guide still works fine, but don't bother with SuperSU. Latest Magisk v21.4 working just fine on stock 20F, just flash the zip (and 20210123 Open GApps Micro/Mini if moving to 7.1.2 RR/Lineage; make sure to properly wipe, then flash ROM, then GApps, then Magisk).

You absolutely need to roll back to 20F, or DirtyCow won't work.

The website the linked TWRP was originally hosted on appears to be down. Here's a link to a working TWRP for anybody that might need it:

TWRP-3.1.1-0_v521-recovery

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

Also if you get stuck in a TWRP bootloop, just run these two commands from the TWRP Terminal:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
I'm back. I hope someone reads this, because this device is receiving little support on XDA. I just bought a mint LG G Pad X8.0 V521 (T-Mobile). I'm trying to root it and install TWRP. But my device was running 20n out of the box and I understand that it must be downgraded to 20h in order to flash DirtyCow. So, I just tried to downgrade it, but the Flash Tool crashed with the notice "... required info cannot be found. Contact the system administrator." I don't know what to do and I hope someone can help me. Thanks, much appreciated.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
PLEASE HELP!!

I did a Factory Reset and flashed 20f, and then followed all the steps in post #292, above. But it hung on adb logcat -s recowvery, which is has done countless times for the past 3 days. It just won't complete. What can I do?
[LG G Pad X 8.0 Guides, News, & Discussion] C4DXYZ-XDA:
I got same issue. I am stuck on that exact part. Mine is running 20m.
[LG G Pad X 8.0 Guides, News, & Discussion] H4pl0:
Is it possible to root the V522 (Canadian Fido tablet)?
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I think that is why people are using the UPPERCUT version of LGUP, as most who try to use the other version get stuck somewhere in the middle of flashing it.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
Here is a nandroid of my tablet after wiping the data, reflashing the nougat kdz to put all of the preinstalled apps I had removed, and going through all of the steps to reinstall twrp and supersu. There is no personal data in the backup. It should be exactly an image of the stock nougat (except it may have developer mode and usb debugging enabled).
[LG G Pad X 8.0 Guides, News, & Discussion] skywalker-live:
Does the nougat kernel still have forced encryption? That was the reason to FORMAT the data partition on the 10c kdz after installing TWRP as the current TWRP for the v521 is unable to decrypt an encrypted data partition, which is forced by the stock 10c and 10e kernels.

I know one of the steps of dirty cow is supposed to remove forced encryption, but that still means starting fresh as far as I have encountered.

---------- Post added at 06:11 AM ---------- Previous post was at 05:56 AM ----------

Superr's kitchen can produce an actual real flashable .zip update in TWRP from the KDZ. Which is far better than a nandroid as it would update ALL partitions and keep root.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
The data partition is encrypted. If you want to have access to back it up in twrp then you will need to wipe it. I did not wipe it the first time I followed these steps, twrp was unable to mount it, but SuperSU installed just fine. I had all of my apps that I installed before flashing the kdz, twrp, and SuperSU to the tablet.
[LG G Pad X 8.0 Guides, News, & Discussion] skywalker-live:
From my experience that means in order to do a TWRP backup you would have to FORMAT data to remove encryption. TWRP is unable to decrypt at this time.
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
Remember guys to contribute: http://xdaforums.com/lg-g-pad-83/general/lg-g-pad-x-8-0-lgv521-t-mobile-stock-t3504795/page1

---------- Post added at 12:44 AM ---------- Previous post was at 12:25 AM ----------

Nice to know, but I work on Linux and I don't like to be switching to windows for the kdz, plus last time I had issues with kdz and keeping root, that's mainly why I want a Nandroid, I remove the root and re-add root (it doesn't work if I dont do that on SuperR's)...

Thanks for the info anyway. :good:
[LG G Pad X 8.0 Guides, News, & Discussion] SiNJiN76:
Got to the last step...and the tablet rebooted to a screen with Android and red triangle...instead of TWRP. What did I do wrong?

Also, about to call it a night...if I try this tomorrow...will I have to repeat all the steps?

Also guess the last step is how I get root? Cause currently... no root. Got 7.0 tho!
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
Has anyone tried this with phh's superuser? I've not recieved 7.0 yet and will wait for that until I root. I have the 7.0 kdz but that would mean booting over to windows and don't feel like doing that yet.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
The problem is not from supersu, but from TWRP.

It turns out that sideloading supers.zip doesn't work if we didn't format data and factory reset in twrp. In other words, twrp needs to access data partition when sideloading. If you already removed the data encryption in twrp on android 6.0 rom, then there is no need to remove encryption again by formatting data and factory resetting.

Please modify the instructions that formatting data and factory resetting to remove data encryption in TWRP is required before sideloading supersu.zip.

Another workaround is to flash supersu.zip from external SD card if people don't want to format and factory reset.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I had never formatted/wiped the data on my tablet and had no issue with installing supersu with the sideload method, but I went ahead and updated that section of the directions to let others know if they are having issues to format data or try an external microsd card.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
The android logo with the red triangle is the stock recovery on the device, which means the twrp recovery did not copy to the recovery partition properly.

You can run the following portions of the code again, and it should install twrp for you.

adb push twrp-3.0.2-x-xxxx.img /sdcard/twrp.img

adb shell
$ cd /data/local/tmp
$ ./dirtycow /system/bin/run-as recowvery-run-as
$ run-as exec ./recowvery-applypatch boot

<wait for it to flash your boot image>

$ run-as su
$ run-as exec dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery

<wait for it to complete>

$ reboot recovery

Once you are in twrp you may need to format your data or install supersu from an external microsd, as some users are experiencing issues with sideloading it while the data partition is still encrypted.
[LG G Pad X 8.0 Guides, News, & Discussion] SiNJiN76:
Done. Worked! Happy! Thanks. (got lucky and didn't need to wipe.)
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
Did you use the adb sideload method or use an external microsd card to flash SuperSU?
[LG G Pad X 8.0 Guides, News, & Discussion] SiNJiN76:
Sideload.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
Which TWRP are you using?

I used the one below:

http://www.t2h-gh0st-is-garbage.xyz/TWRP-V521-3.0.2.0.img

---------- Post added at 03:00 PM ---------- Previous post was at 02:59 PM ----------

Which TWRP are you using? I used the one below:

http://www.t2h-gh0st-is-garbage.xyz/TWRP-V521-3.0.2.0.img
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I'm using 3.0.2.0 posted by shabbypenguin here.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
I also downloaded from that thread. It has the same download link as yhe one I posted above with the default name TWRP-V521-3.0.2.0.img, right?

I am trying to figure out why adb sideloading was not working in the first place.

Another possible reason may be I am using minimal adb and fastboot 1.3.1 instead of 1.4.1 or full adb sdk.
[LG G Pad X 8.0 Guides, News, & Discussion] SiNJiN76:
Im using system wide adb/fastboot. Got it from xda somewhere while rooting my LG Stylo
[LG G Pad X 8.0 Guides, News, & Discussion] the_sun_born:
I could successfully bout intro TWRP, but unfortunately when I tried to install SuperSu I fail due the inability of the recovery to mount the data partition, I tried to clear data partition as mentioned in some stage of this guide or either try to mount it, but without a success all I get is Red errors, please what I did wrong?
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
Do wipe->format data, type yes,

then reboot into recovery,

do wipe->slide to factory reset

reboot into recovery again,

connect your tablet to computer, copy the supersu.zip from computer to tablet, then in TWRP recovery, install the supersu.zip and wait for it to finish. That's it.

Or you can copy the supersu.zip to a microSD card and in TWRP, click on install, change storage to external sdcard, flash the supersu.zip. This way you don't need to wipe and format internal storage.
[LG G Pad X 8.0 Guides, News, & Discussion] the_sun_born:
Thank you! you make it done!
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
If it has these options presents it means is not wiped.

The way to do it is:

1. Go to twrp

2. Wipe (standar, factory reset)

3. Backup (everything is going to be clear and virgin), this is the file I was talking about.

4. Your next move (reboot, flash something, etc) for your personal taste.
[LG G Pad X 8.0 Guides, News, & Discussion] kimple_john:
Has anyone found xposed support for this device on Nougat yet?
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
Xposed is not working on any nougat devices yet.
[LG G Pad X 8.0 Guides, News, & Discussion] highgrade:
Upgrade to 7.0

Do these steps apply to users who is already rooted on 6.0.1
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
The 1st part of this guide will upgrade your tablet to 7.0 which will remove your existing root. The 2nd and 3rd parts of the guide are to install twrp and regain root by flashing SuperSU.
[LG G Pad X 8.0 Guides, News, & Discussion] Ravoz88:
I haven't updated to Nougut yet, but I'm using phh's superuser on marshmallow. I no longer use SuperSU, and prefer phh's.

Once TWRP is installed you can full unroot in the SuperSU app (might take two try's) and then flash superuser in TWRP recovery. Or I'd imagine you could simply follow this guide and flash it instead of SuperSU, once at that step. But obviously I haven't tested that yet.

I do use it in the marshmallow release, and it works just fine though. I'm trying to decide if I want to update to rooted nougat, or wait for Xposed framework to be released for Nougut first.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I haven't really looked into PHH's superuser yet, but if it supports Nougat than you should be able to flash it in TWRP in place of SuperSU.
[LG G Pad X 8.0 Guides, News, & Discussion] entropism:
edit: Nevermind then. Apparently doing the same things a 5th time did it right. So odd.
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
I'm using it right now on 7.0!
[LG G Pad X 8.0 Guides, News, & Discussion] th30n37:
What should the output of:

look like? I have waited for over 15 minutes and it isn't saying anything.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
Just press Ctrl+C on your keyboard on computer to confirm finish of this step.
[LG G Pad X 8.0 Guides, News, & Discussion] mingkee:
Here is the latest dll for LGUP

https://www.androidfilehost.com/?fid=745425885120701290

I got it during v20 10j update
[LG G Pad X 8.0 Guides, News, & Discussion] trm96:
I was not able to flash the ROM using LGUP it froze up and LGUP crashed, now my tablet is soft bricked it only boots to TWRP (witch I had on there when I rooted it before.

I tried downloading another ROM in a flashable zip and it goes through with no errors but it still wont boot to the OS only to TWRP.

Please help!
[LG G Pad X 8.0 Guides, News, & Discussion] Ravoz88:
I've seen several people now encounter this issue. I've seen it brought up in both root threads, with no responses or updates. Unfortunately I do not have a course of action to take, but I am now worried about trying to upgrade my device.

Did you find a solution or workaround? If, if not or when, please provide an update to fixing the error.
[LG G Pad X 8.0 Guides, News, & Discussion] patt2k:
I wonder if someone is gonna make a rom out of nougat that is flashable with TWRP. For now I only use my tablet for mapping,music, some gps in car , viper4android.
[LG G Pad X 8.0 Guides, News, & Discussion] mingkee:
Did you see the link I posted above?

Download it and rename it as

LGUP_common.dll (or LGUP_common if you don't see dll extension)

And put it where devices dll is

C:\program files\LG electronics\LGUP\models
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
Nice to know, finally..:laugh:
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
I installed LineageOS this evening. I'm impressed! Very solid release on the V521. A few small odd things (trying to copy a file using the file explorer fails stating to try root access and even that does not work. Seems permission related).

It seems to mow through the battery but I have been doing quite a few reboots. I'll give it more of a test tomorrow.

I installed phh superuser and it works great... Adaway works fine (could never get it working on the stock ROM).

Overall, I'd recommend it to everyone!
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
Thanks for the update.

One question, were you on Mm or N?
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
Originally on MM but have been using N for several weeks.

This is actually a very good release. I'm traveling again on Monday so I'll load it up with Amazon and Netflix for the flight and see how it compares to stock N. With stock the battery lasted forever watching movies.
[LG G Pad X 8.0 Guides, News, & Discussion] BigM69:
Hey guys I'm thinking about buying a Verizon lg g pad 8.3. Is there root and bootloader unlock? There's a g pad on swappa and I'm thinking about buying it, only will buy if the device can be nodded. Also is there a good amount of ROMs/kernels for the Verizon g pad 8.3? Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
Isn't this the code?

https://github.com/LineageOS/android_device_lge_v521
[LG G Pad X 8.0 Guides, News, & Discussion] Ravoz88:
I followed this guide after LineageOS wouldn't boot from MM. This was a really great guide, and really easy to follow. Thanks very much, I now have LineageOS installed, after updating to the stock Nougat with TWRP.

---------- Post added 31st January 2017 at 12:07 AM ---------- Previous post was 30th January 2017 at 11:34 PM ----------

How did you get phh superuser to work? I have flashed the latest zip and the latest apk. And under developer settings I can't select root for apps. I only have ADB and none. And in Superuser app, when I try to enable ADB and App root access, it is denied.
[LG G Pad X 8.0 Guides, News, & Discussion] naguumo1:
ADB commands not working

After I upgraded to 7.0 it seems that none of ADB commands that I input work. All I get is ADB: not found. :crying:
[LG G Pad X 8.0 Guides, News, & Discussion] Munns86:
Is USB debugging on ? I know for me it always defaults to charging only and i have to change it to ptp or mtm

Have you tried reinstalling the drivers?

http://www.lg.com/us/support/software-firmware-drivers
[LG G Pad X 8.0 Guides, News, & Discussion] naguumo1:
Thank You. This worked for me. But now I can not get Viper4android or Viper4 arise to install at all. I tried flashing both and everything seems fine, but when I restart nothing is there. Is anyone else having any trouble like this?
[LG G Pad X 8.0 Guides, News, & Discussion] xxhaimbondxx:
My issue copying dirtycow was ADB tools. For some reason it didn't like my SDK tools, so I installed the Minimum ADB and Fastboot and everything worked.
[LG G Pad X 8.0 Guides, News, & Discussion] patt2k:
when I try to copy dirtycow I get couldn't create file , permission denied. When doing PUSH command. Any ideas why?
[LG G Pad X 8.0 Guides, News, & Discussion] dangergrrl:
like a charm

This worked like a charm! Thank you very much, i had to do it twice because i rebooted an extra time and lost the nonenforcing selinux on the first reboot.
[LG G Pad X 8.0 Guides, News, & Discussion] Thorwak27:
Hmmm not sure what I am doing wrong, but how long does it stay at the tmobile log in screen after "$ ./dirtycow /system/bin/app_process32 recowvery-app_process32"? It stayed there for about 10 minutes then I had to hard reset it. Then when I would try "$ getenforce" it would only say enforcing rather than permissive.
[LG G Pad X 8.0 Guides, News, & Discussion] Johnnyrocket:
Has anyone tried and successfully used this dirtycow exploit on V52110E?

I really want to get to a rooted latest 6.0 so that I can use Xposed.

I seem to be stuck at the "logcat" step - and then the "getenforce" step always says "enforcing"

Does anyone have a guide to rooting V52110E ??
[LG G Pad X 8.0 Guides, News, & Discussion] entropism:
Did you ever solve this? Because updating from the 2/1/17 to 2/8/17 nightly build caused me to get stuck booting to recovery.
[LG G Pad X 8.0 Guides, News, & Discussion] Lost Dog:
This happens every time I flash a new nightly. The fix is to run the following commands from adb while in TWRP after flashing the nightly:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
[LG G Pad X 8.0 Guides, News, & Discussion] nazs:
Link issues

Link for dirtycow arm7 is dead, rather gets to nethunter page dirtycow resides on however wont download from there even with right click "save as". Please if able, email me the file or provide mirror on OP
[LG G Pad X 8.0 Guides, News, & Discussion] pressmoon:
Folks,

I'm on 7.0 with version 20g. Does anyone know yet if it can be rooted via Recowvery?
[LG G Pad X 8.0 Guides, News, & Discussion] oohoy:
i followed other thread and rooted my gpad already. if i just wanna install twrp, which step do i follow ?

tks
[LG G Pad X 8.0 Guides, News, & Discussion] ahrion:
I cant acaccesinternal sdcard in TWRP with v521. It goers for all data. Any ideas?
[LG G Pad X 8.0 Guides, News, & Discussion] Amd4life:
If you flash superuser, using adb side load (in twrp), it will properly align your drive security, allowing TWRP to see all drives on the next reboot.

The TWRP for this device has not been updated yet. 3.0.4.0 (not yet available for this device), cleans up the drive issue.

Gotta side load super user and then flash the files using FlashFire.

Well that's what I do.

Good luck
[LG G Pad X 8.0 Guides, News, & Discussion] skywalker-live:
To fully use twrp you have to FORMAT data to remove the forced encryption
[LG G Pad X 8.0 Guides, News, & Discussion] mennotech:
package 'exec' is unknown

Im working on rooting my tablet and it was going fine until i tried this line $ run-as exec ./recowvery-applypatch boot

I get the message run-as: Package 'exec' is unknown.

What am I missing??
[LG G Pad X 8.0 Guides, News, & Discussion] MicroMod777:
Does this not work on 20g? I never get past "<wait for completion, your phone will look like it's crashing>"

adb logcat -s recowvery

It never completes. Anybody else experience this? I unlocked before I upgraded to 7.0 20g.