FORUMS
Remove All Ads from XDA

[ROOT][TWRP][v500] Lineage OS

1 posts
Thanks Meter: 1
 
By larroy, Junior Member on 5th October 2017, 06:51 PM
Post Reply Email Thread
Hi

I was finally able to root my device, install TWRP on it and install lineageOS.

The methods that I found before don't fully work due to the latest firmware versions, but I found a way around it. You can find the necessary files in a zip file. Unfortunately I have few posts so I can't post links... is there a way to post a link to the zip file?
The file is in dropbox with path:
dropbox.com/s/s1vcd8z3c2chf4o/v500.zip?dl=0

unzip and follow the commands described in root.sh they are a bit succint but it worked for me.

Afterwards, just use TWRP to flash the lineageos image + gapps

The commands that I executed are:


adb reboot recovery
# Sideload kk_root.zip
adb push twrp-3.1.1-0-v500.img /sdcard/
adb push ./aboot.img /sdcard/flash_tmp/aboot.img
adb push ./recovery.lok /sdcard/flash_tmp/recovery.lok
dd if=/sdcard/flash_tmp/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/flash_tmp/recovery.lok of=/dev/block/platform/msm_sdcc.1/by-name/recovery

# Copy stuff to /mnt/asec chmod a+x
# update super su
/mnt/asec # cp /storage/emulated/0/flash_tmp/* .
/mnt/asec # ls -l
-rw------- root root 524288 2017-09-13 01:52 aboot.img
-rw------- root root 524288 2017-09-13 01:52 aboot2.img
-rwxr-xr-x root root 1085140 2017-09-13 01:50 busybox
-rwxr-xr-x root root 76540 2017-09-13 01:52 loki_tool
-rw------- root root 11597824 2017-09-13 01:52 recovery.img
-rw------- root root 11001856 2017-09-13 01:52 recovery.lok
/mnt/asec # ./loki_tool
Loki tool v2.1
Usage
> Patch partition file image:
./loki_tool [patch] [boot|recovery] [aboot.img] [in.img] [out.lok]

> Flash loki image to boot|recovery:
./loki_tool [flash] [boot|recovery] [in.lok]

> Find offset from aboot image:
./loki_tool [find] [aboot.img]

> Revert Loki patching:
./loki_tool [unlok] [in.lok] [out.img]

/mnt/asec # ./loki_tool patch recovery aboot.img recovery.
recovery.img recovery.lok
/mnt/asec # ./loki_tool patch recovery aboot.img recovery.img recovery.lok
Loki tool v2.1
[+] Detected target International LG G Pad 8.3 build V50010a
[+] Original kernel address: 80208000
[+] Original ramdisk address: 82200000
[+] Output file written to recovery.lok
/mnt/asec # ./loki_tool flash recovery recovery.lok
Loki tool v2.1
[+] Loki validation passed, flashing image.
[+] Loki flashing complete!
/mnt/asec # ./loki_tool patch recovery aboot.img /st
/mnt/asec # ls -l /storage/emulated/0/twrp-3.1.1-0-v500.img
-rw-rw---- root sdcard_r 14444560 2017-09-13 01:18 twrp-3.1.1-0-v500.img
/mnt/asec # ./loki_tool patch recovery aboot.img /storage/emulated/0/twrp-3.1.1-
0-v500.img recovery.lok
Loki tool v2.1
[+] Detected target International LG G Pad 8.3 build V50010a
[+] Original kernel address: 80208000
[+] Original ramdisk address: 82200000
[+] Output file written to recovery.lok
/mnt/asec # ls -l
-rw------- root root 524288 2017-09-13 01:52 aboot.img
-rw------- root root 524288 2017-09-13 01:52 aboot2.img
-rwxr-xr-x root root 1085140 2017-09-13 01:50 busybox
-rwxr-xr-x root root 76540 2017-09-13 01:52 loki_tool
-rw------- root root 11597824 2017-09-13 01:52 recovery.img
-rw------- root root 14446592 2017-09-13 01:54 recovery.lok
/mnt/asec # ./loki_tool flash recovery recovery.lok
Loki tool v2.1
[+] Loki validation passed, flashing image.
[+] Loki flashing complete!
The Following User Says Thank You to larroy For This Useful Post: [ View ] Gift larroy Ad-Free
 
 
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes