yashsingh1/xdaforums huggingface dataset:
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
So....I am coming from devices that in order to have twrp....all you have to do is this....fastboot oem unlock, fastboot flash recovery twrp.IMG....reboot recovery and in twrp just flash SuperSU or magisk.....why can't we do that on this tablet? Purchased but haven't yet received yet BTW
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Because LG and tmobile arent as nice as google.
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
OK, so...can you pm me the best way to root? I just bought from T-Mobile and waiting for it....obviously want to install this rom!(RR) but the threads for rooting are confusing
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
The best way to root is to read these instructions very carefully and do exactly as it says. If ur tablet is just now being shipped it will most likely be updated. You will def need to flash the 20f kdz and then use dirtycow to root/twrp. The instructions on this thread work perfectly. Buckle down and read. Its def worth it and rr is great for this tablet.

Btw this is not the rr thread. Its root dirtycow/nougat instructions.

Also, you will def need windows for lgup.
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
OK, I ha e read everything and understand it.....last question....I'm assuming I can use magisk instead of SuperSU?
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Yeah of course. I would flash a custom rom directly after having twrp installed though. Systemui tends to crash once its rooted.
[LG G Pad X 8.0 Guides, News, & Discussion] tmkhan2050:
Hi Folks,

I have LG G PAD X 10.1 V930 of AT&T (MM) but i could not find anything to root it easily and have custom Recovery & ROMs. Can someone kindly guide me if this possible that rooting, recovery & custom ROM installation methods for G PAD X 8 can be ported for my V930 device. This would be a great help as i need to have my control on my tablet which is currently very limited.

Regards

Tariq M Khan
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
Device codename

Nexus 6 is shamu, 6p is angler, so what is this tablets(T-Mobile variants) codename? I heard its ghost but not sure
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Lol no clue. I think just v521. Pretty sure lg doesnt go by that like google or oneplus.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephoneFKLenAsh:
Codename is B3.

Model is v521.
[LG G Pad X 8.0 Guides, News, & Discussion] oohoy:
wat u meant by patched run-as ? i went step by step per original post ? and just fyi that i had rooted before. i then flashed 20f and updated to nougat and root was still there until i updated to the latest security update from tmobile and lost root for no reason. thats when i decided to root again per this thread

tks
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
I keep getting stuck in the logcat thing like everyone else....I have read the WHOLE thread and seems like no one has given an answer on how to get past this
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
You have to flash 20f not 20g, 20h, 20i etc. 20f
[LG G Pad X 8.0 Guides, News, & Discussion] jamescable:
I was on 20f....I unplugged and replugged cord and we are good!!!
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Nice
[LG G Pad X 8.0 Guides, News, & Discussion] lazyb421:
It seems that the LG Firmware site is undergoing server maintenance right now and all downloads are unavailable. Does anyone know where else to download the 1209.kdz or can share the file with me? I spent a good deal of time trying to find the file elsewhere last night but was unsuccessful.

Edit: NVM they seemed to have finished the server maintenance. File is available again. Thank you for this great guide!
[LG G Pad X 8.0 Guides, News, & Discussion] 2ndComing:
Made it all the way thru the whole process no problem to the last reboot recovery command. After reboot my tablet stays stuck at fastboot recovery or LG screen...it wont go into twrp recovery, or to system. Even if I select it to go in to recovery, restart, or bootloader, NOTHING :\ I even opened it up and disconnect the battery otherwise it will just sit at adb recov or LG screen.

Any clue how to fix this or is it borked? cant get adb on my PC to even recognize it now either.
[LG G Pad X 8.0 Guides, News, & Discussion] vlamnire:
This was successful for me. What I did was basically the directions but also had other issues.

I was on the 521i software (latest) and this did not work on that but was able to successfully downgrade to f no problem.

The adb logcat part does take a minute or two to start. When it's done it won't say "Completed" it will say "Done" and that you can type adb reboot recovery. That's when you want to do Ctrl + C

I had to go to Wipe > Format Data in TWRP because Lineage was asking for a password after installing.

The opengapps and Lineage addon su package needs to be regular arm and not arm64.

I also had a TWRP loop where it would just boot into TWRP over and over. I fixed this with these commands (in TWRP): https://xdaforums.com/showpost.php?p=70851933&postcount=39

Hope this helps!

---------- Post added at 07:46 PM ---------- Previous post was at 07:45 PM ----------

I'd recommend just using LGUP to flash back to stock. If you want to try again make sure you flash the f build and not the latest.
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Hey, I have a v521 with 20l on it.

Does anyone know if there is any way to flash the kdz downgrade to 20f on a linux box?

I tried doing it in a VM but the USB forwarding handshake didnlt work, resulting in LGUP not finding any connected devices.

Appreciate any suggestions.
[LG G Pad X 8.0 Guides, News, & Discussion] eng3:
I'm getting a new V521. My end goal is to run RR on lineage with magisk and use the tablet for a car navigation unit.

I notice the thread links to using TWRP 3.0.2 but in the rom sub-forum, there is a TWRP 3.1.1. Can I just flash 3.1.1 instead of 3.0.2?
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Well, I decided to do a quick windows install in order to do this.

Installed the LG drivers and then grabbed uppercut, lgup and the LG platform usb drivers, as well as the kdz.

I need to downgrade from 20l to 20f.

No matter what I do, neither LGUP nor uppercut discover the device. They just give me the error "there is no handset connected".

I have tried both with and without USB debugging enabled. The device is already confirmed OEM unlocked.

Any advice?
[LG G Pad X 8.0 Guides, News, & Discussion] Airtioteclint:
try these drivers http://tool.cdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Thank you, good suggestion, as I was on the older 4.1.1 drivers, but the update doesn't seem to have solved anything.

So,I started over again, this time using regular LGUP, and downloading and renaming the dll and putting it in the folder as directed.

I got much further this time. LGUP launches and detects my device, but when I try to use the upgrade option to flash the 20f kdz, it just causes the LGUP app to crash. I've tried several times. It gets to the point where it establishes a USB connection,says 4% complete and then the window pops up and tells me windows has detected a problem with the program, etc. etc.

So no dice.

Any other ideas? Maybe LGUP needs to be run in some sort of compatibility mode? I'm in 64bit Windows 10 Pro 1709.

As always, appreciate any ideas.

Starting to get frustrating. The only reason I bought this tablet was for LineageOS. It is useless to me on stock ROM. I need that TWRP installed.
[LG G Pad X 8.0 Guides, News, & Discussion] Airtioteclint:
I used uppercut. Lg-up didn't recognize my device at all. (Neither did uppercut at first actually until updated the drivers)
[LG G Pad X 8.0 Guides, News, & Discussion] eng3:
For anyone else that is wondering, I directly put in TWRP 3.1.1 and it worked fine. I directly flashed lineage, openapps, magisk.

The only issue I ran into was that I was initially having trouble getting the tablet to be detected in windows. It turns out that I didn't change from "charge only" to "transfer files" on the tablet once the USB was plugged in.

Everything else worked as outlined in the first post
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Thank you for this. After much trying going back, and trying uppercut again with the new drivers did it for me. I was successfully able to flash 20f.

Thing is, now I'm getting stuck at "beginning of main" again, despite being on 20f.

# ./adb push /home/matt/Desktop/v521/dirtycow /data/local/tmp
[100%] /data/local/tmp/dirtycow
# ./adb push /home/matt/Desktop/v521/recowvery-applypatch /data/local/tmp
[100%] /data/local/tmp/recowvery-applypatch
# ./adb push /home/matt/Desktop/v521/recowvery-app_process32 /data/local/tmp
[100%] /data/local/tmp/recowvery-app_process32
# ./adb push /home/matt/Desktop/v521/recowvery-run-as /data/local/tmp
[100%] /data/local/tmp/recowvery-run-as
# ./adb push /home/matt/Desktop/v521/TWRP-3.1.1-0_v521-recovery.img /sdcard/twrp.img
[100%] /sdcard/twrp.img
# ./adb shell
b3:/ $ cd /data/local/tmp
b3:/data/local/tmp $ chmod 0777 *
b3:/data/local/tmp $ ./dirtycow /system/bin/applypatch recowvery-applypatch
warning: new file size (22144) and file old size (152196) differ

size 152196

[*] mmap 0xb0fd0000
[*] exploit (patch)
[*] currently 0xb0fd0000=464c457f
[*] madvise = 0xb0fd0000 152196
[*] madvise = 0 1048576
[*] /proc/self/mem 675282944 1048576
[*] exploited 0xb0fd0000=464c457f
b3:/data/local/tmp $ ./dirtycow /system/bin/app_process32 recowvery-app_process32
warning: new file size (17992) and file old size (22040) differ

size 22040

[*] mmap 0xb3560000
[*] exploit (patch)
[*] currently 0xb3560000=464c457f
[*] madvise = 0xb3560000 22040
[*] madvise = 0 1048576
[*] /proc/self/mem 1635778560 1048576
[*] exploited 0xb3560000=464c457f
b3:/data/local/tmp $ exit
Matt-Desktop platform-tools # ./adb logcat -s recowvery
--------- beginning of system
--------- beginning of main

According to everything I've read in this thread, this SHOULD now be working, but I'm still having the same problem I had when I was on 20l. Does anyone have any ideas?

Much appreciated!

---------- Post added at 03:43 AM ---------- Previous post was at 03:42 AM ----------

Actually, never mind, I stopped and started the logcat operation again, and this time it worked!

Keeping fingers crossed for the rest of the process!
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Up and running beautifully in LineageOS.

Thank you everyone for the help!

Have to admit I was a bit concerned about Uppercut being detected to contain malware, so I imaged my machine, removed all other drives and disabled all network devices before running it, and then restored it after, just in case.

Then, once I had TWRP successfully installed on my tablet, I erased the partitions, before installing LineageOS. Pretty happy now though.

Makes for a great little NAV device (though with the screen at max brightness to overcome bright sun and sunglasses, the battery does drain faster than it can charge)
[LG G Pad X 8.0 Guides, News, & Discussion] eng3:
Nice setup, I'm planning to use mine for a NAV device too. Do you leave it in your car? If so, how does the battery do with hot and cold weather?
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
I only just got it, and it is winter, so I haven't experienced hot weather yet, but it seems to do pretty OK in the cold.

I usually bring it inside, but left it outside in the car while shopping for 3 hours this weekend in freezing weather, and didn't notice any real loss of charge.

YMMV though.
[LG G Pad X 8.0 Guides, News, & Discussion] eng3:
I've been getting a "SIM Card Removed" message alot. This is annoying because I have to restart every time. It seems to be when I goto airplane mode and then turn off airplane mode. It will work a few times and then it will stop working.

I've tried going in and out of airplane mode lots of times after reboot and it doesnt trigger the issue. It seems to only be after several hours. Then I goto airplane mode and come back out and it says the sim card is removed.

Has anyone else had this issue?
[LG G Pad X 8.0 Guides, News, & Discussion] marcgo:
Can someone verify for me that LGUP is still required to take a stock device to unlock and twrp install? I'm trying to make sense of the reqs, as I'm using a mac, and don't really want to **** around with dlls. etc. I'm running nougat and the latest update from TMobile (52120L). Thanks.
[LG G Pad X 8.0 Guides, News, & Discussion] netherhigal:
Alright, so I've gotten lineage OS installed on this twice now, but every time I reboot after this point, I get stuck in a loop going to TWRP, and have to completely flash this thing back to stock to get into a custom rom again. Is there something I'm missing?
[LG G Pad X 8.0 Guides, News, & Discussion] channeledbymodem:
Absolutely crucial. These instructions won't work with any other version but 20f.

Speaking of which, has anybody got a way to turn off update notifications that really works?

---------- Post added at 06:47 AM ---------- Previous post was at 06:42 AM ----------

https://xdaforums.com/lg-g-pad-83/help/v521-bootloop-upgrading-to-twrp-3-1-1-0-t3655105

Be sure to use the *second* list of commands in the thread.
[LG G Pad X 8.0 Guides, News, & Discussion] netherhigal:
Thanks! Worked like a charm. Trying to narrow down WHICH bootloop this thing is in is what makes searching so difficult.
[LG G Pad X 8.0 Guides, News, & Discussion] cd85233:
Does some have a mirror for V52120f_00_1209. The LG-firmwares site says its going to take a day to download. Thank in advanced.
[LG G Pad X 8.0 Guides, News, & Discussion] eng3:
How has the tablet been working out with your car?

It has been working well in my car except for the charging. Eventhough I have a 2.4A charger, the tablet does not want to charge faster and it cannot keep up charging when I'm driving during the day. (Full brightness, GPS, Maps). Its not like my phone, I can always charge much faster than I can drain.
[LG G Pad X 8.0 Guides, News, & Discussion] cbeatz:
Method works great. had to download from m to f. did't know that until it froze on the log part lol. live and learn. Pogo Here i go lol
[LG G Pad X 8.0 Guides, News, & Discussion] reynierpm:
What about if after repeat the above process 10 times I am still not getting any output? That means I can't crack the table? Any other advice here? :rolleyes: :confused:
[LG G Pad X 8.0 Guides, News, & Discussion] xda0991:
You probably missed Step 2. You need to upgrade to a specific version mentioned in the instruction "V52120f_00_1209.kdz" . Install LGUP. Run Uppercat. LGUP will open and upgrade the file. Screen is flickering every few milliseconds after upgrade and you can continue the instructions . I also missed this step because I thought I already have Nougat. In the end, I ended up scratching my head for a few hours.
[LG G Pad X 8.0 Guides, News, & Discussion] mattlach:
Does anyone know which version of TWRP should be used with LineageOS on this device? I must have installed the wrong version, because I can't use the automatic updater, because it fails and bricks the device until I use ADB to restart it into TWRP and manually flash the update image.

I'd like to flash a working TWRP for this.
[LG G Pad X 8.0 Guides, News, & Discussion] nandroidint:
read through most of the replies here but for whatever reason its not helping my issue

I'm on 20f and I cannot to save my life get past "adb shell reboot recovery", I don't even see any lines :( I'm not sure what I'm doing wrong someone please help me lol
[LG G Pad X 8.0 Guides, News, & Discussion] nandroidint:
I created the following using the commands in this thread to fix my own issue, follow this if you are having issues like my getting stuck in logcat, make sure you use Minimal ADB and fastboot as well as UPPERCUT mentioned in this guide, flash back to stock then make sure you flash the 20f build before following this steps, its important to know that I did a FACTORY RESET after I flashed 20f as that is the only way it actually made logcat work for me

follow this steps right after flashing 20f software ***AND RESETTING TO FACTORY DEFAULTS*** on your LG G Pad V521

adb push dirtycow /data/local/tmp
adb push recowvery-applypatch /data/local/tmp
adb push recowvery-app_process32 /data/local/tmp
adb push recowvery-run-as /data/local/tmp
adb push TWRP-3.1.1-0_v521-recovery.img /sdcard/twrp.img

adb shell

cd /data/local/tmp
chmod 0777 *
./dirtycow /system/bin/applypatch recowvery-applypatch

###WAIT FOR COMPLETION###

./dirtycow /system/bin/app_process32 recowvery-app_process32

###WAIT FOR COMPLETION###

exit

adb logcat -s recowvery

###WAIT FOR IT TO TELL YOU IT WAS SUCCESSFUL, LIKE THE FOLLWING MESSAGE:

01-01 07:15:07.448 8013 8013 I recowvery: Done!
01-01 07:15:07.449 8013 8013 I recowvery: ------------
01-01 07:15:07.449 8013 8013 I recowvery: Permissive boot has been has been flashed to /dev/block/bootdevice/by-name/recovery successfully!
01-01 07:15:07.449 8013 8013 I recowvery: You may use 'reboot recovery' now to enter a permissive system.
01-01 07:15:07.449 8013 8013 I recowvery: ------------
01-01 07:15:07.449 8013 8013 I recowvery: Warning: If you don't reboot now, this will continue to run every 3 minutes!
01-01 07:15:07.449 8013 8013 I recowvery: ***********************************************
01-01 07:15:07.449 8013 8013 I recowvery: * give jcadduono a hug, will ya? *

#####

###REBOOT ###
adb shell reboot recovery

###WAIT FOR PHONE TO BOOT UP AGAIN###

adb shell

getenforce

### It should say Permissive###

cd /data/local/tmp
./dirtycow /system/bin/run-as recowvery-run-as

###LET IT RUN THEN RUN THE NEXT COMMAND###

run-as exec ./recowvery-applypatch boot

###WAIT FOR IT TO FLASH###

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

###ONCE IT COMPLETES, REBOOT###

reboot recovery

###AFTER YOU ARE IN TWRP, GO TO WIPE, FORMAT DATA, TYPE "yes" THEN GO BACK TO THE MAIN MENU AND CLICK ON ADVANCE###
###AFTER CLICKING ON ADVANCE GO TO TERMINAL AND TYPE THE FOLLOWING COMMANDS###

dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

###IT SHOULD COMPLETE NOW YOU ARE ABLE TO FLASH ANY ROM###
[LG G Pad X 8.0 Guides, News, & Discussion] [Word]:
Does this work also for the V-522 Canadian model?
[LG G Pad X 8.0 Guides, News, & Discussion] pinones:
I finally got past logcat and into TWRP and executed the terminal commands....

dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

I am unable to wipe, install, mount in windows to start over in LGUP. Cannot mount /data, /cache, /system

to do anything. Please help.

I'm no expert but can follow instructions and have rooted many devices. How can I reverse these commands in TWRP terminal to see if this is the problem. None of the other instructions had these commands so I am not sure why they were included in this last post.

Thank you

---------- Post added at 05:18 AM ---------- Previous post was at 04:52 AM ----------

SO now I formatted data and it mounts and can be wiped. It completes install of lineageOS, it just reboots to TWRP. If shut down, it boots to TWRP only. Any help with terminal commands to return this to flashable will be much appreciated

---------- Post added at 05:44 AM ---------- Previous post was at 05:18 AM ----------

Its all working now. reran those terminal commands and now booted into lineage. It just takes so much trial and error to get this right. Thanks to all the posters for their experiences.
[LG G Pad X 8.0 Guides, News, & Discussion] anichin:
go back to stock

I completed the guide and got TWRP and SuperSU installed. Unfortunately the screen "blinks" from time to time and shows a pop-up message for a fraction of a second. Very annoying. What could it be?
[LG G Pad X 8.0 Guides, News, & Discussion] MicroMod777:
I did this over a year ago, but now I can't get it to work.

After pushing the files and doing this part, it just sits there forever!

$ cd /data/local/tmp

$ chmod 0777 *

$ ./dirtycow /system/bin/applypatch recowvery-applypatch

Any advice on how to get past this first step.

Edit..

Did control C and got it to work.

I'm on 20f, unlocked.
[LG G Pad X 8.0 Guides, News, & Discussion] kajex:
What do I do if unlocking the bootloader results in this:

FAILED (remote: oem unlock is not allowed)

For the record, this tablet is SIM unlocked and paid in full.
[LG G Pad X 8.0 Guides, News, & Discussion] MicroMod777:
Whats your model?
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Bricked, I think

Call me stupid, because I just bought another V521 which I wanted to root and install either Lineage or RR on it, which I did to by last V521 that I broke, physically.

I used LGUP to upgrade/downgrade to 20f, which worked perfectly.

Then I followed the instructions and completed the following in Step 3 successfully.

$ reboot recovery

But then I got too big for my britches and ADB sideloaded TWRP-3.1.1-0_v521-recovery.img, and the Lineage, Magisk, and Gapps zip files to the device which TWRP seemed to install perfectly. But I guess not, because I'm stuck in a TWRP loop. I ran the following from ADB Shell, but it didn''t help.

dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc

I thought I should go back to the beginning and LGUP 20f, but LGUP doesn't even see my device.

Windows Explorer now only sees the Micro SD Card on which I have a restorable Nandroid backup from my old, broken V521, but TWRP doesn't see any files/folder on the Card.

I can ADB reboot bootloader and run Fastboot mode. But LGUP still doesn't see the device. And Fastboot Reboot just takes me back to TWRP.

The Nandroid backup is still downloading to the Micro SD Card as I type this. It's at 1.1 GB. I'm going to post this, eat dinner, wait for the Nandroid to finish, and try to restore it but I don't think the device will see it.

Sorry to bother, but I'm out ideas.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Do you think this will solve my problem

See post 299 below.

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
I tried your fix but it failed here.

/data/local # [6ncd /data/local/tmp

/sbin/sh: cd: can't cd to /data/local/tmp

So, I tried to create the directory, but it already exists.

/data/local # [6nmkdir tmp

mkdir: can't create directory 'tmp': File exists

What do I do?
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Please disregard my recent posts here about fixing my bricked device.. I fixed it, but don't ask me how -- it's all a blur. Now I have to root it and install TWRP. But I worry about the latter, though, because I bricked the device when I sideloaded TWRP 3.1.1-0. Should I try a different TWRP version?

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Bricked again

I completed section 3, and was running TWRP 3.1.1-0 successfully, and everything was fine until I stupidly followed some instructions here to use TWRP to reformat the data partition. I may have also changed the format of system and cache. The result was that LG threw an "Encryption unsuccessful" error page with a "Reset tablet" button at the lower right of the display, which is the only option. Apparently, it fixed the partition issue.

I'm going to re-enter all the Section 3 commands. Then I want to flash a simple custom ROM that will continue to receive updates, UPDATE-unSU-signed.zip to uninstall supersu, Magisk to replace supersu, and GAPPS arm micro or nano. I'm leery of Lineage, though because it's no longer being updated nightly. Can anyone suggest another clean, simple ROM that will continue to be updated? Any suggestions so I do the above successfully?

Thanks