yashsingh1/xdaforums huggingface dataset:
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
Do you mean nandroid of rooted 7.0 rom?

I am already on rooted 6.0 with unlocked bootloader without TWRP and planning to upgrade to rooted 7.0 with TWRP using the method posted in this thread. According to jdub01984, after rooting with this method, I will be on rooted 7.0 with TWRP with my data intact. I am avoiding wipe the internal storage on this tablet.

However, I have a new V521 on stock unrooted android 6.0 10e with locked bootloader. It would anyway wipe the internal storage after unlocking bootloader, and I can make a nandroid of rooted 7.0 rom after root if you want.
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
Well, in that case, could you provide me a Nandroid of 6 and 7 using your new tablet?

So we can have 3 diferent nandroids and few flashables zip so we can use whatever we need in the future.
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
One more question about wiping internal storage: is the TWRP version 3.0.2 and does it require wipe/format data for data/internal storage to mount?

I checked the TWRP thread, and it says TWRP 2.8.7.0 requires wipe internal storage but not sure about TWRP 3.0.2.

I am on rooted android 6.0 10c with unlocked bootloader and without TWRP. Requiring wiping internal storage is the initial reason I didn't put TWRP on my tablet yet.

---------- Post added at 04:49 PM ---------- Previous post was at 04:47 PM ----------

No. Android 6.0 10e is not rootable, so no root or TWRP to do nandroid.
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
I got you. I tough you were on 10e rooted and all....

Don,t worry, may be somebody else can provide a nandroid with nougat.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
It should be whatever you file is named. I usually rename my file to TWRP.img so I don't need to retype the full name.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I did not wipe anything in TWRP. It should not be necessary to access the data partition to install SuperSU. You would probably have to wipe if you need to access or mount the data partition.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I have not tested, but the dirtycow portion of this guide should work on 6.0 10e.
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
Are you wanting a nandroid of just the system image, or which partitions? Maybe I will backup my tablet, wipe, and make the nandroid of nougat for you.
[LG G Pad X 8.0 Guides, News, & Discussion] emilyrugburn:
*Nvm tried it again and it worked.*

Awesome... Thanks so much for putting dirtycow exploit together for us.
[LG G Pad X 8.0 Guides, News, & Discussion] xtremelora:
A standard Nandroid, wiped so there are no personals files when I create the rom.

---------- Post added at 03:49 AM ---------- Previous post was at 03:46 AM ----------

Boot+Data+System
[LG G Pad X 8.0 Guides, News, & Discussion] googlephone:
I am at the last step:

ADB Sideload supersu.zip (replace supersu.zip with your actual supersu file path)

Once Supersu is completed click reboot.

After I adb side load supersu.zip, and click on reboot, it reboots into system, but I can not find supersu.
[LG G Pad X 8.0 Guides, News, & Discussion] painter_:
I can't get it to flash in LGUP. It gets to 4% and crashes. Anyone have a work around?
[LG G Pad X 8.0 Guides, News, & Discussion] jdub01984:
I am using the 2.79 SR1 release of SuperSU, but linked to the stable version 2.79. If you are still experiencing the issue, trying installing the newest version SR2 from here.

I just wiped my tablet completely, restored the nougat kdz, and followed all of the steps as posted here, and verified I had SuperSU present.
[LG G Pad X 8.0 Guides, News, & Discussion] .fenrir:
You'll need to use the kdz for v52120f. This guide uses the dirtycow exploit which is patched starting in v52120g.

Once you're rooted and have TWRP using this guide, you can flash to a v52120g or v52120h stock ROM. You can also go the custom ROM route as well.
[LG G Pad X 8.0 Guides, News, & Discussion] MStrawder:
As an update. I tired the format data button in TWRP. Completely hard bricked the device. I've brought many a device back from the dead. This one isn't one of them. On another note, the update to 3.1 for TWRP solved the issue on my new device.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
any way to get this to work on v52120h. lgup force closes after 4%
[LG G Pad X 8.0 Guides, News, & Discussion] z0sum:
I'm at the step in the process where you type in "adb logcat -s recowvery". It starts with "beginning of system" then "beginning of main" then it just stops. It stays there for a while. It's been about 30 minutes and it's still there. Is it supposed to take this long? How long is it supposed to take?
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Are you on 20f?
[LG G Pad X 8.0 Guides, News, & Discussion] guliver365:
boot loop

I did the install everything was ok until I install Super SU I think I got cannot mount partition the second time I flashed it thru TWRP but at reboot both time I got a boot loop right away what is the solution to this?

update

well i tried to flash a wrong super su I fixed but now I get TWRP boot loop I wrote the

Code:

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

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

but no effect, before the twp It boots once in system in order to remove encryption but now I am back in TWRP!

also I got datavick and internal storage invalid partition!
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
I got it! I tried it on my friends pc and it worked. I dont know why my lg up stopped working correctly. I uninstalled, reinstalled.. I was able to root with dirty cow and sideload this on mine. Weird

So rollback to 20f definitely works on 20h
[LG G Pad X 8.0 Guides, News, & Discussion] bsingleto:
This question seems to be skipped over. I'm at this stuck point too. A reply later says that they did a factory reset and were able to get it working. I don't know how true this is so I installed the 20f. Kdz file, did a factory reset (which, is something I haven't tried before) and see if that solves it.?

Because I'm still unable to achieve root access and it has been a week of reading thru the comments and downloading 1.5 gigabyte files and copying command lines that don't work when it comes to the

{Wait, phone looks like it's restarting part} command of dirtycow
[LG G Pad X 8.0 Guides, News, & Discussion] SP1986:
Anyone ever see this before? LGUP just crashes as soon as it establishes a USB connection. [IMG="LGUP Crash"]http://i.imgur.com/wwcFP25.png[/IMG]
[LG G Pad X 8.0 Guides, News, & Discussion] bsingleto:
I was going to that a lot too. I don't remember exactly what I did to fix it, except I uninstall reinstall LG up. There are different versions of LG up, and a uppercut application that loads LG up and gets it to work.
[LG G Pad X 8.0 Guides, News, & Discussion] SP1986:
Yup, Uppercut was the trick.

Now I'm just having some funny business where I type 'adb reboot recovery' and it boots me into flippin' fastboot.

e: and if I select 'recovery' from fastbook, it hangs during boot. Hmm. Gonna try re-downloading and pushing the twrp file.

e2: seems like the file I was using was the problem. I managed to get the specific version advised and not the latest and that did the trick. Not 100% sure it was the version and not an md5 issue, though.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
This was happening to me and i was so frustrated i couldnt downgrade to 20f from 20h.. i put all the files on a hard drive and just used my friends

pc and it worked. Then i went back to mine and rooted with dirtycow

I tried uninsralling and reinstalling. Nothing worked. Im duelbooting windows on a mac but im sure thats not the issue bc itbworked fine for me i the past.
[LG G Pad X 8.0 Guides, News, & Discussion] bsingleto:
I seem to have a problem with Titanium Backup Pro. If backs up the files fine. But it does not seem to want to recognize the backups when I went to reload them on the new device. I am using a different app now call Flashfire. It seems to have work for me in the past, I have just never used it to flash backups. Just other zip files.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
I dont have a full understanding but dirtycow sets your kernal to permissive and only gives you root through adb so your then able to flash twrp and root traditionally. It didnt lie.

Congrats on gaining root. I struggled with this too
[LG G Pad X 8.0 Guides, News, & Discussion] SP1986:
Well, still struggling with this stupid thing. The only version of TWRP I can get on this foolish thing is 3.0.2 which I can't find but for on some dude's personal filehost website that, while labeled as a V521, thinks my device is a "huwei butterfly 3" from what I can tell from it saying the device is a 'b3' when i try and install AOSP.

Does anyone have a copy of the 3.0.2 TWRP image they're using? Even with root, trying to install any version other than 3.0.2 causes the device to go to fastboot when issuing a reboot recovery command. Even when installing 3.0.2 from the TWRP app, it still only boots to fastboot or system. No recovery.

I have some confusion on part of this - are there two commands here or one? it looks to me like this could be input one of two ways -

$ cd /data/local/tmp <return>

$ ./dirtycow /system/bin/run-as recowvery-run-as <return>

$ run-as exec ./recowvery-applypatch boot <return>

or

$ cd /data/local/tmp

$ ./dirtycow /system/bin/run-as recowvery-run-as run-as exec ./recowvery-applypatch boot <return>
[LG G Pad X 8.0 Guides, News, & Discussion] gabe.ulrickson:
Do we know if this method works with the LG G Pad X 10.1 running Android 5.1 probably be running Android 6 haven't picked the device up yet?

I'm OK with sticking with 6 if there is root available
[LG G Pad X 8.0 Guides, News, & Discussion] abced123:
adb logcat -s recowvery

For this step, I wait for around 1-2 minutes to complete after a lot of trials; 30 seconds from another user is too fast. If longer than 2 mins, you should Ctrl ^C and repeat the command.
[LG G Pad X 8.0 Guides, News, & Discussion] Kaizou13:
I cant get twrp to work when using this code "adb push TWRP-3.1.1-0_v521-recovery /sdcard/twrp.img"

it saying that twrp file isn't there even though it is in my adb folder... any ideas? yes .img is labled the same as the line of code.
[LG G Pad X 8.0 Guides, News, & Discussion] parmar.saab:
I got TWRP 3.0.2.0 installed but it isn't seeing my micro SD card or OTG in order for me to install LOS...
[LG G Pad X 8.0 Guides, News, & Discussion] priteshp108:
---------- Post added at 09:16 PM ---------- Previous post was at 09:15 PM ----------

[/COLOR]

THANK YOU!

It seems I've every problem people have had. Answer are there spread out in these posts but people are still confused. Here's compilation of problems and solutions:

Problem: Stuck at abd logcat -s recowvery. All you see is two lines but not a whole bunch of lines. (Or possibly any other commands not working then you're probably on the wrong version.)

Solution: You must be trying this on 20g or 20h or 20i (v52120g, etc.). It works on v52120f (or simply 20f). As far as I know, it's not working for any higher version. At first I downloaded the 20i (why the heck not, it's the newest) and after several failed attempts, I learned it only works with 20f.

The first command ./dirtycow /system/bin/applypatch recowvery-applypatch takes a while. At least 4 mins, maybe longer but it's not an infinity.

The second command ./dirtycow /system/bin/app_process32 recowvery-app_process32 takes about 2 mins. It's faster than the first command.

The third command adb logcat -s recowvery is instantaneous. If it takes long for you, you've done something wrong.

The rest of the commands are fairly quick after that.

Problem: After installing Lineage OS, it asks for password. What password? I don't know of any password. Tried supplying a bogus password and it said your data is corrupt and you need to factory reset in recovery and it booted to recovery.

Solution: As people have mentioned, if you had upgraded to Nougat, it will encrypt the data and you can't access the partitions. There's only one way from here - factory reset. So I didn't know how to factory reset (yes, I missed the swipe right to factory reset in TWRP). I tried formatting the partitions instead.

Problem: TWRP keeps bootlooping instead of booting to system.

Solution: Run the commands above. It will boot to Lineage OS and all's good.

If you just want stock and are rooting, sorry I didn't go that route.

By the way, Lineage OS is stable and good. Texts work. There is a phone app but phone calls don't work. It dials and hangs up right away. Basically, Lineage OS is just the same as the phone version but more spacious. Not really optimized for the tablet. But it's still better than the LG version.
[LG G Pad X 8.0 Guides, News, & Discussion] freshjr:
Quick question.

I followed this procedure a while back. I want perform the small security update so the tablet stops nagging me.

Pretty sure the security update patches the dirtyCOW exploit we used to flash twrp recovery. Will flashing this, or any, system update ever make me lose/overwrite twrp recovery?

Why did we even have to use dirtyCOW anyway? I was under the impression that an unlocked bootloader allow the flashing any recovery without exploit needed.

If the system patch will make me lose the ability to change twrp in the future, should I update twrp now before I perform the update. Its like a year old, not sure if any bugs have been found.
[LG G Pad X 8.0 Guides, News, & Discussion] abced123:
Does anyone try magisk instead of superSU ? fully compatible ?
[LG G Pad X 8.0 Guides, News, & Discussion] c0080900v:
LGUP keeps telling me there is no handset connected...... I installed LG Bridge
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Contacts storage keeps stopping

I followed all the instructions, and, apparently, the installation completed successfully. However, I'm getting an incessant popup error message stating the following: "contacts storage keeps stopping" and "close app"? Is there a solution? This has made the device unusable.

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] c0080900v:
After adb logcat -s recowvery it always gets stuck on the T-Mobile screen after the reboot
[LG G Pad X 8.0 Guides, News, & Discussion] c0080900v:
Actually, my previous post above.... scratch that...

No matter how times I redo/retry all of the steps, no avail and factory resets are actually just reboots rather than resets so failed resets...

No root... No reboots to TWRP... Root checkers failed....

Any ideas? HELP

btw 20f
[LG G Pad X 8.0 Guides, News, & Discussion] c0080900v:
Nevermind... I actually got it done right this time after carefully re-following all the steps
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Please answer
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Flash lineage or resurrection remix.. i also think theres an lg stock 7.0 rom for this but its never interested me.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
What a waste of time

I gave up. I couldn't get past "adb logcat -s recowvery." So, I went back to stock and am currently running 20g. I'm happy with it the way it is. I just want root. Does anyone know how to do that by itsef?

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Its not a waste of time. Ive done it 3x. It only works on 20f. Dirty cow was patched after that

System ui might fc so its good to flash stock rom after or lineage/rr. Both run really smooth
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
logcat -s recowvery

I have tried this with versions "f" and "h" but it never completes. It hangs on "--------- beginning of main" forever. Is there a solution?
[LG G Pad X 8.0 Guides, News, & Discussion] ILCyberTech:
i cannot get past adb logcat -s recowvery. the command line just sits there. any advice?
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Try a different pc if you have access to one [MENTION=8688075]ILCyberTech[/MENTION] and [MENTION=263313]jhford[/MENTION]. I had a similiar problem and that worked for me. And again, it only works on 20f. Its a waste of time and data to try it on anything else.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
I read your reply more carefully and decided to download and adb new DirtyCow files, because they could have been out-of-date, and it worked. Now, I'll install Lineage and it should be great.

Thanks
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
I spoke too soon. After I completed the DirtyCow exploit, I upgraded to 20J using LGUP, because 20F was looping error messages. However, upgrading caused me to lose root. I'd like to end up with either LOS or RR rooted.

I am rerooting using DirtyCow. What should I do after it completes to install either LOS or RR and not lose root again?

Thanks for your help.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Download the rom and gapps and wipe data and flash them once twrp is installed. For root flash either lineagesu,supersu, or magisk.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Again, I followed your suggestion, flashed supersu and LOS, but lost root in the process, and supersu and gapps zip files are no longer on my microsd.

So, I'm running LOS 14.1 Android 7.1..2 unrooted without TWRP. It seems like I'm going in circles. Any idea how I install TWRP and root and keep LOS? Am I limited to adb?
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Twrp is still there. Go into settings/developer and check off advanced reboot. To get there with hardware keys hold volume down and power. When u see lg logo lift off power real quick while still holding volume down and then hold both again. Go through white screen factory reset prompts and ur in recovery. It doesn't factory reset.

I've never heard of ur problem. Maybe u just need to install the SuperSU app manually after flashing.
[LG G Pad X 8.0 Guides, News, & Discussion] jhford:
Once again, you were right on the money. I've seen that white screen before and it always put me off, because I didn't want to factory reset. As our president says, "nobody knew." I reflashed SuperSu with TWRP.

So, now I have a rooted LG G Pad X 8.0 V521 running LOS. I don't understand why the device gets so little love. It has decent resolution, its pretty fast, etc. Although, I have noticed that the sound volume seems to have diminished after flashing LOS.

Of course, I prefer AOSP and I like LOS. I'm using it on my beloved, but ailing, Nexus 7 2013 deb (mobile) and my T-Mobile Galaxy Note 4, which I will keep until someone is able to "pry it from my cold, dead hand." But, if I recall correctly, you prefer RR. Why is that? Does it have any particular "useful" or preferable advantages over LOS?

Also, do you know if its safe to dirty flash LOS nightlies, or must one do a full wipe or merely a dalvik/cache wipe before, after or both before and after?

Thanks for your help
[LG G Pad X 8.0 Guides, News, & Discussion] ILCyberTech:
Can you tell me what 20f means please?

here is my specs:

Model: LG-V521

Hardware Version: Rev 1.0

SN: LGV521F1e****

Software Version: V52120j

is any of these mean its not 20f? lol the V52120j makes me feel like i am s.o.l haha will it work?
[LG G Pad X 8.0 Guides, News, & Discussion] ILCyberTech:
LOL, ok cool I will downgrade back to 20f, thanks!
[LG G Pad X 8.0 Guides, News, & Discussion] Carjacklavinder:
Error 8

I've obtained the nightly build from download.lineageos.org/v521, wiped Dalvik, Data, System, and Cache, and I end up with Error 8 after attempting installation. The LOS system boots, but then prompts me for a password which I do not know. Then it only gives me the option to reset, leaving me in a loop booting me only into recovery. I've repeated the process by reinstalling the stock .kdz through uppercut, rerooted, and reflashed TWRP, and tried a little dirtier of an install each time (not sure what I expected), only to get the same result. I've read this post:[ https://xdaforums.com/axon-7/help/error-code-8-twrp-trying-to-flash-rom-t3470241 ]. The thumbnail is identical to what I'm seeing. Am I missing something? Has anybody encountered this? I've never had this issue with TWRP before. I'd appreciate any help at this point.
[LG G Pad X 8.0 Guides, News, & Discussion] Carjacklavinder:
Solution was to wipe dalvik immediately after install before booting system.
[LG G Pad X 8.0 Guides, News, & Discussion] xxhaimbondxx:
I've updated to twrp 3.1.0.0 using img flash, but now it only enters fastboot mode. How do I change it back so it enters recovery? It has been working fine prior.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Im pretty sure youll have to try to restore it with lg bridge or lg up if you can. The fastboot flash command is removed.
[LG G Pad X 8.0 Guides, News, & Discussion] xxhaimbondxx:
I didn't back up anything....
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
You can use the emergency restore in lg bridge. Or try to flash the 20f firmware in lg up
[LG G Pad X 8.0 Guides, News, & Discussion] idiotwind:
Im almost through the whole process, but every time I try to run the "./dirtycow /system/bin/run-as recowvery-run-as" command, I keep getting "could not open recowvery-run-as" for a reply. Any ideas? Everything else has worked perfectly...
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
It only works on 20f, anything later and dirty cow was patched.
[LG G Pad X 8.0 Guides, News, & Discussion] xxhaimbondxx:
do you mean I have to return it back to stock rom and recovery and then start all over again? can't I just flash the stock recovery, keep lineage rom, then flash twrp?
[LG G Pad X 8.0 Guides, News, & Discussion] snickerpop:
I'm not sure

I had to unplug the USB and Plug it back in

also ctrl C the haning process to get

adb logcat -s recowvery

to stop hanging with the .....main output

that got it to work for me.
[LG G Pad X 8.0 Guides, News, & Discussion] Stonkers:
Yes you would have to start from scratch.. sorry for the late reply
[LG G Pad X 8.0 Guides, News, & Discussion] eric93se:
I need help, can't find a solution. I thought everything went well, but in TWRP /data won't mount or format. When the OS loads up it prompts for a password. When I had RR rom, it would let me reboot into TWRP, but then I tried LOS and it won't give me the advanced reboot options. I don't know how to get into fastboot? to format /data? is that what's needed, cause that's all I came up with reading? Currently stuck at that password prompt, black screen "to start android, enter your password". :(
[LG G Pad X 8.0 Guides, News, & Discussion] Carjacklavinder:
This device can be stubborn. This is just a guess. Try wiping dalvik immediately after the LOS installation when it gives you the option at the bottom. Don't go into wipe, it should just give you the option. Then try booting. It should take care of the /data not wiping issue.

UPDATE

There should be a " Format Data" option under wipe in TWRP. If that works, the best bet is to format data, then wipe data, cache, and system. Then install or restore from backup. If it does the TWRP bootloop, type this into the terminal in TWRP or through adb:

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

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

reboot

That should make your device usable again. If that doesn't do it and if you think it's a TWRP issue, try flashing stock kdz using uppercut, rerooting, reflashing TWRP, then formatting data.
[LG G Pad X 8.0 Guides, News, & Discussion] .fenrir:
Your issue looks like it's probably because you're using the wrong command. Try: adb shell reboot recovery
[LG G Pad X 8.0 Guides, News, & Discussion] dwkindig:
...I am an idiot. Thanks! :D
[LG G Pad X 8.0 Guides, News, & Discussion] oohoy:
hello

im getting the follow error message after type in $ run-as exec ./recowvery-applypatch boot

run-as: package exec is unknown

any advises ?
[LG G Pad X 8.0 Guides, News, & Discussion] fargonaz:
Are you sure you patched run-as?