Thanks to developer jcadduono over at xda who released a workaround to install TWRP recovery on LG V20 using the Dirty Cow root exploit in kernel. The developer likes to call his workaround as recowvery.
Add to Flipboard Magazine. November 3, 2016 by Android Custom ROM Fix™
Using recowvery exploit you can install TWRP recovery on your LG V20 and then flash SuperSU zip to disable force encrypt and get root access.
•Download LG V20 TWRP recovery (.img).
👉See Also: Step by Step to Safely Root LG V20.
This Tutorial is only for LG V20.
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong you’ll have backup of all your important files.
÷ Step by Step Guide to Safely Install TWRP Recovery on LG V20:
1- Setup ADB and Fastboot on your PC.
2- Unlock bootloader on your LG V20.
3- Download and save the following four recowvery files from the download links above to a separate folder on your PC.
4- Download and transfer the LG V20 TWRP recovery .img file from the downloads section above to your phone’s base directory (not inside any folder).
5- Make sure USB debugging is enabled on your V20.
6- Connect your LG V20 to the PC.
7- Now open a command window on your PC inside the folder where you saved recowvery files in Step 3 above. To do that, “Shift + Right click” on any empty white space inside the folder and select Open command window here from the context menu.
7- Once command window is opened, issue the following commands one-by-one to get a root shell on your device using the Dirty Cow exploit:
>> adb push dirtycow /data/local/tmp
>>adb push recowvery-applypatch /data/local/tmp
>>adb push recowvery-app_process64 /data/local/tmp
>>adb push recowvery-run-as /data/local/tmp
└ This will push the recowvery files to your device’s tmp folder.
chmod 0777 *
./dirtycow /system/bin/applypatch recowvery-applypatch
└ Wait for the script to finish.
./dirtycow /system/bin/app_process64 recowvery-app_process64
└ Wait for completion, you phone might look like it’s crashing.
adb logcat -s recowvery
└ Wait for the command to tell you it was successful. Once done, press CTRL+C on your keyboard.
adb shell reboot recovery
└ Your phone will reboot and recovery will be reflashed to stock.
└ It should say permissive.
./dirtycow /system/bin/run-as recowvery-run-as
run-as exec ./recowvery-applypatch boot
└ recowvery patched boot image will be flashed, wait for it to complete.
└ This will give you a shell with root access.
dd if=/sdcard/twrp-3.0.2-0-beta4-h918.img of=/dev/block/bootdevice/by-name/recovery
└ This will install/flash TWRP recovery to your LG V20.
TWRP recovery is now installed on your LG V20. Now follow the instructions below to disable Force encrypt and root LG V20 using SuperSU zip.
For More LG V20 latest Updates Keep Checking Android Custom ROM Fix™
Let us know What You Guys Think of this New Post in the comments section and stay tuned for more latest Updates.
That’s all. We hope this guide serves you well. If there’s anything you’d like to be added/changed on this page, PLZ Use the comment box below to contribute more ideas & Suggestions .
Like this post? PLZ Hit the share buttons below to share this article with your friends on Facebook, Google + and Twitter.
PLZ Follow Us On Flipboard 4 More Latest Updates.