Sunday, November 11, 2018

HOW TO ROOT LG G5 T-MOBILE H830



Hi guys today i am bringing you a successful  method to root lg h830 and install TWRP recoveryI didnt have much luck with the Easy Recowvery method on my G5 (20A) first of all you need to download the needed files from here

the files neede are 
dirtycow
recowvery-app_process64
recowvery-applypatch
recowvery-run-as
twrp.img

once in cmd window from your recowvery folder follow these steps:
---
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

adb shell

cd /data/local/tmp
$ chmod 0777 *
$ ./dirtycow /system/bin/applypatch recowvery-applypatch
"<wait for completion>"
$ ./dirtycow /system/bin/app_process64 recowvery-app_process64
"<wait for completion, your phone will look like it's crashing>"
$ exit

adb logcat -s recowvery
"<wait for it to tell you it was successful>"
"[CTRL+C]"

adb shell reboot recovery
"<wait for phone to boot up again, your recovery will be reflashed to stock>"

adb shell

$ getenforce
"<it should say Permissive, adjust source and build for your device!>"

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 this time>"

$ run-as su

adb push twrp.img /sdcard/twrp.img
adb shell

run-as exec dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
"<wait for it to complete>"
$ reboot recovery
FOR INSTALLING SUPER SU YOU NEED TO USE EasyRecowvery-1.3b3 TO INSTALL SUPERSU OPEN EasyRecowvery.cmd AND USE OPTION 03 AND YOURE DONE AFTER REBOOT

AnonDz Web Developer

No comments :

Post a Comment


Get paid to share your links!