yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Original Android Development] Deltadroid:
I think you need to patch the recovery.img to recovery.lok with the loki_tool before you are able to flash it with Flashify or Rasher. Although, the description of Flashify does mention that it is supposed to have automatic loki support (whatever that means).

Using a Terminal Emulator, you should be able to patch the recovery.img (to create recovery.lok) and also install it through loki_tool. Take a look at the CWM thread in this section which has step by step instructions for doing this.
[G Pad 8.3 Original Android Development] owenjm:
Update: Fixed! Followed the instructions on the CWM page for flashing recovery.img via loki_tool through ADB -- worked a charm. :)
[G Pad 8.3 Original Android Development] owenjm:
Thanks, that's exactly the way to to it, and it all worked out fine :) However, it might be useful if the OP in this thread had the same information printed, or at least a link -- it was only by accident that I checked the CWM thread.

(Given the number of different TWRP recoveries, I'm surely not the only one who'll make this mistake!)
[G Pad 8.3 Original Android Development] Zeljko1234:
Good lesson if it happens to some of us :)
[G Pad 8.3 Original Android Development] leardinet:
can you explain novice users how to do ( v50020d )
[G Pad 8.3 Original Android Development] Deltadroid:
I suggest trying the CWM tutorial for manual installation in this section.
[G Pad 8.3 Original Android Development] leardinet:
link please?
[G Pad 8.3 Original Android Development] Deltadroid:
http://xdaforums.com/showthread.php?t=2945917
[G Pad 8.3 Original Android Development] popezaphod:
I used this method with the 2.8.1.0 awifi file from the TWRP site (doing the whole loki_tool creating of the recovery.lok file and installing it) and got 2.8.1.0 running. Thanks for the info, guys!
[G Pad 8.3 Original Android Development] Deltadroid:
You might run into some trouble when performing upgrades when using 2.8.1.0 from the official TWRP site because their file is actually for the v510 Google Play Edition. If your device is a v500, then you might get an error when upgrading cyanogen stating that your device is a palman.

You can fix this by just installing a new recovery that was built for v500.
[G Pad 8.3 Original Android Development] popezaphod:
Is there a 2.8.1.0 for v500 lurking about?
[G Pad 8.3 Original Android Development] Deltadroid:
I think 2.8.0.0 is the latest version I've seen that is posted in these forums. Hopefully, the OP will post an update soon, but, 2.8.0.0 in this thread seems to work fine.
[G Pad 8.3 Original Android Development] popezaphod:
Thanks for the warning/info. I am safely at 2.8.0.0 for v500 now.
[G Pad 8.3 Original Android Development] HTC Tytn user 188:
I got this LG G Pad 8.3 4.4.2 V500 (rooted and busybox installed) this week. My device informations are KOT49I.V50020d because this is d versio there seems to be some problems with these custom recoverys. Im not yet sure which rom i will go. Pacman and Slim are looking good so possibly some of them.

Question is which i should install CWM or TWRP? And please give complete guide how to do it because both treads seems to be full of diffrent answers about that. If i go with TWRP should i install the newest version of it?
[G Pad 8.3 Original Android Development] atlharp:
Do you want some hot cocoa? Someone to rub your feet? There are many threads dealing with this. This forum has a Q&A section and XDA has a search function. I would start there.
[G Pad 8.3 Original Android Development] TenderloinShadow:
Trying to install this on my friend's new 4.2.2 Gpad v500, and having some problems. Following the OP instructions perfectly, but when we try the ADB commands it doesn't register ADB.

I'm assuming that the loki-master folder & the adb folder need to be combined somehow, but could someone please chime in and help.

Thanks.
[G Pad 8.3 Original Android Development] tmihai20:
I've seen the steps related to adb push. Just go to the adb folder and use this command:

adb push [path_to_twrp.lok] /data/local/tmp

For instance, let's say I have the twrp.lok file in d:\Mobile\LG\Recovery. I would use this command to flash the recovery:

adb push d:\Mobile\LG\Recovery\twrp.lok /data/local/tmp

This applies to the second step too, the one that copies loki_tool. The guide assumes that the lok recovery file is in the bin folder of loki and that you have went there beforehand.
[G Pad 8.3 Original Android Development] grandamle91:
Any word on a recovery for the lg gpad 7.0
[G Pad 8.3 Original Android Development] thoughtlesskyle:
I think it's only cwm right now but I'm pretty sure it exists
[G Pad 8.3 Original Android Development] grandamle91:
Cwm makes a recovery, I can't seem to find it
[G Pad 8.3 Original Android Development] thoughtlesskyle:
Its in the 10.1 forum, in fact your probably best off hanging out there since they share a closer lineage.
[G Pad 8.3 Original Android Development] grandamle91:
Ok thank you. I didnt know if any had the same specs
[G Pad 8.3 Original Android Development] Maxxd01:
Guys I have a v50020d with stock 4.4.2, which build.should i install?
[G Pad 8.3 Original Android Development] tntnt:
In the firs post, in red:
[G Pad 8.3 Original Android Development] ovu85:
Hi, I have the V50020b 4.4.2 rooted with ioroot, bootloader is locked (couldn't enter)

I tried to sideload Twrp but the install aborted.

how can i install TWRP?

Thanks!
[G Pad 8.3 Original Android Development] Zeljko1234:
Boot into fastboot, fasboot flash recovery name_of_recovery or use flashify.
[G Pad 8.3 Original Android Development] ovu85:
i can't enter fastboot.

I've installed Flashify and flashed twrp recovery and i get

Secure booting Error

Cause: boot certification verify

my bootloader is still locked because i can't enter fastboot mode
[G Pad 8.3 Original Android Development] Zeljko1234:
Quick search gave me this.
[G Pad 8.3 Original Android Development] ovu85:
managed to make it work after edited the runme.bat from step 3 http://xdaforums.com/show....php?t=2698267

and this was the post that helped me http://xdaforums.com/showpost.php?p=54027265&postcount=9

thank's for the support!
[G Pad 8.3 Original Android Development] MonaLisaOverdrive:
I've checked this thread and a few others so apologies if this is obvious...is there a TWRP or CWM for a VK81035a running 5.0.2?

Everything I've seen so far is for V500 and/or 4.4.2 and Flashify doesn't include the GPad 8.3 as a supported model
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
Do a search on this and the Development section for VK810. You have to install v2.7.0.1 first, then you can upgrade to the latest also available here.

Note this caveat. So far, we haven't found a way around the following: you have to have the bootloader from 4.2.2 to get into TWRP (you can find the bootloader and the terminal or adb commands in my section on Android File Host in my signature), but 35A and 36B ROMs won't boot without the 35A and 36B bootloaders. But you can switch them as you need to.

You can find those that you can flash in my section on Android File Host too.

It's funny, I never usually look at this thread.

[VK810.4G] [altev] [ViKtory810ROM] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

[VK810.4G] [altev] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

DEBLOAT SCRIPTS

and copies of all the files they remove

[VK810.4G] [altev] OTAs, .IMGs and KDZs, oh my
[G Pad 8.3 Original Android Development] jonup:
Thanks for being so helpful! This not relevant to me, but gratitude is due where it is due
[G Pad 8.3 Original Android Development] MonaLisaOverdrive:
At least one of the threads on recoveries...and possibly an external article as well...point to this thread.

Thanks for posting the caveat. Clarification question: Are you saying that the 35A ROMs need the earlier (4.2.2) bootloader to install TWRP, but won't boot without the current (5.0.2) bootloader?

If so, is this something that is currently being investigated?
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
You're welcome! Correct, but not just to install TWRP. To get into it again later. Not that I know of to the second question. I don't have enough know how yet apparently. Another dev helped me try something that should have worked but it didn't.

It works well enough for me. From running Android can use terminal to flash the 4.2.2 bootloader, reboot to recovery, then once done in recovery, the last thing before exiting flash the appropriate 35A or 36B bootloader and boot into the ROM.

Thanks! And you're welcome! [emoji4]

[VK810.4G] [altev] [ViKtory810ROM] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

[VK810.4G] [altev] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

DEBLOAT SCRIPTS

and copies of all the files they remove

[VK810.4G] [altev] OTAs, .IMGs and KDZs, oh my
[G Pad 8.3 Original Android Development] MonaLisaOverdrive:
Last (hopefully) clarification questions: So basically I'd be running two bootloaders side by side? One to boot the device and another to boot into TWRP? Also, do I still use the download and run the instructions in the first post in this thread, even though the download says "Please note this is for 4.2.2 only"?

I'm still a novice when it comes to Android internals but I'll poke around to see if there's an obvious reason for needing the 4.2.2 bootloader.

Does CWM have this requirement (4.2.2 bootloader to install/enter recovery, 5.0.2 bootloader to boot device)?
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
I wouldn't choose to call it side by side because I think that's confusing personally, but yes. You have to downgrade your bootloader to 4.2.2 before installing TWRP 2.7.0.1. It won't work without doing that first.

Yes, any custom recovery including CWM requires the 4.2.2 bootloader to get into custom recovery. The 4.2.2 bootloader has an exploit that allows getting TWRP to install in the first place, and to allow getting into custom recovery. Even if you chose to use CWM, you'd still absolutely HAVE to install TWRP v2.7.0.1 because it's a special one made to take advantage of the Loki exploit in the 4.2.2 bootloader. From there, you can then flash whatever custom recovery you want that's made specifically for the VK810.

That aspect is similar to the situation on the VS985 G3, where we need the 4.4.2 bootloader to get into custom recovery. I do have some more ideas to try on the VK810 but who knows when or if I'll get a chance to test them.
[G Pad 8.3 Original Android Development] Deltadroid:
I'm not sure about the vk810, but the v500 requires an aboot.img from 4.4.2 (kitkat) or 4.2.2 (jellybean) for a "bumped" recovery to work. When lollipop was released, LG changed the verification signature so that bumped images no longer work with the lollipop aboot.img. Before we had "bumped" images (which is basically an image with the official LG signature to pass the boot loader verification check), we had to use Loki. Loki only works with an aboot.img from 4.2.2.

It is not actually the bootloader that must be downgraded for Loki to work. It is aboot.
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
aboot.img is the bootloader.

[VK810.4G] [altev] [ViKtory810ROM] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

[VK810.4G] [altev] official LG G Pad 8.3 Lollipop 36B_00 5.0.2

DEBLOAT SCRIPTS

and copies of all the files they remove

[VK810.4G] [altev] OTAs, .IMGs and KDZs, oh my
[G Pad 8.3 Original Android Development] Deltadroid:
aboot is part of the firmware, but when updating the bootloader, we are usually only talking about:

rpm.img, sbl1.img, sbl2.img, sbl3.img, tz.img.

aboot.img is usually not touched because it affects loki compatibility and bump compatibility and it is not necessary to upgrade that. But, since we are all using bumped images, aboot can be updated to 4.4.2. When we used loki, we had to keep aboot on version 4.2.2. The aboot from lollipop breaks both methods (bumped and loki).
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
Apparently on the VS985 and VK810 we have different terminology. We refer to all those partitions, in addition to the aboot.img, together as a group as the "bootstack", but we call the aboot.img the bootloader. *shrug*
[G Pad 8.3 Original Android Development] MonaLisaOverdrive:
Thanks for the info.

One more question that I forgot: Are there utilities that manage the process of flashing 4.2.2 to get into TWRP, then flashing 5.0.2 to boot the device?

I'll look for instructions to flash 4.2.2 and load TWRP
[G Pad 8.3 Original Android Development] roirraW "edor" ehT:
You're welcome!

Nothing beyond the built-in capabilities of Linux/Android to flash partition images from a Terminal with SuperUser permissions for 4.2.2. I think I told you about the flashable zips of just the 5.0.2 bootloaders for 35A and 36B I have in my ROM thread in my signature.

You could conceivably set up a script to use with the GScript app in the Play Store to downgrade to 4.2.2 - I just haven't felt like going to even that small effort.

Additionally, since the thread with the 4.2.2 bootloader isn't obvious given its thread title (which I never remember), I have a 7-Zip of the 4.2.2 bootloader along with a text file inside the archive with copy/pasteable text for use either in a Terminal with SU permissions, or via adb. The former is the easiest IMHO since the second requires a PC, drivers, USB cable, adb, a reliable connection, remember to give adb permissions the first time on the phone, and then superuser permissions again on the phone. Not a huge deal but at least as easy to just do it from the device itself.

I use 7-Zip archives for things that aren't a flashable zip, so it's obvious you can't flash it. X-Plore File Manager, ZArchiver and other Play Store apps will open them. I find in X-Plore that I must long-press the text file with the command(s) and choose to edit the file in order to correctly copy and then be able to paste the text into Terminal - don't know if that's a result of the Terminal I'm using or what the deal is.

The 4.2.2 7-Zip is in my Android File Host section which I link to in my ROM thread in my sig below.

We should additionally at this very late stage stop posting this VK810 stuff in the V500 thread.

Sorry to anyone else for any confusion.
[G Pad 8.3 Original Android Development] tmihai20:
Anybody tried the 3.0.0-0 TWRP? I am running the Korean Lollipop and I would like to test it, I flashed TWRP 3 on my Nexus and it seems to be quite an improvement, visually and from the features point of view. There is a V500 version on their website. I think people running KitKat should not flash it, they have switched base to 6.0.
[G Pad 8.3 Original Android Development] jonup:
I run it with marshmallow like a charm. But I don't know about stock
[G Pad 8.3 Original Android Development] tmihai20:
[MENTION=5029685]jonup[/MENTION]: I know it works with Marshmallow, I have not backed up anything yet on my Nexus. I wanted to know if it works with Lollipop.
[G Pad 8.3 Original Android Development] ckret:
doesnt matter what rom you run because recovery is its own "rom"
[G Pad 8.3 Original Android Development] tmihai20:
[MENTION=2981524]ckret[/MENTION]: I know that too. I think we should not have any issues. I really wanted a new TWRP, the old one was giving some issues problems with the prompt at the end (at least now since systemless root started being used more often). I am also referring to backups, it should be backwards compatible. I flashed TWRP 3.0.0-0 and it went ok.
[G Pad 8.3 Original Android Development] jschramm:
Just picked up a used V500 which had an older version of CM12.1 (Aug 2015) and Phils recovery. When I tried to install the latest nightly I am getting a "installation aborted" error. I can no longer get the rom to boot. I see a couple options on the first page for recovery flashable versions of TWRP, just trying to make sure I grab the right one.
[G Pad 8.3 Original Android Development] Deltadroid:
Use the official twrp 3.0 maintained by fefifofum.
[G Pad 8.3 Original Android Development] jschramm:
I see IMG files for TWRP 3.0 in the other thread, can I flash those with Phil's recovery or do I need to find a zip? Thanks.
[G Pad 8.3 Original Android Development] Deltadroid:
The op has a link to a play store app you can use to install it if you have root.
[G Pad 8.3 Original Android Development] Drgravy:
sent you a pm with a test build

Thanks!
[G Pad 8.3 Original Android Development] SnowPluralism:
Op amazing work

Recovery works flawlessly

My only "complain" is can u make the recovery fit our screen?

Its not a big deal but if the recovery fitted screen or just was centered would be great because right now it sits on the left side.

Thank a lot

Enviado do meu LG-V500 através de Tapatalk
[G Pad 8.3 Original Android Development] Drgravy:
just posted a new build

this will work with cm/aosp builds and also fixes the button combo

it says factory reset but it wont actually do it;)

just make sure you grab the one called: twrp-v500.lok
[G Pad 8.3 Original Android Development] Maelstr0m:
can we flash *.lok files with Loki_flash?

Inviato dal mio LG-V500 con Tapatalk 4
[G Pad 8.3 Original Android Development] Drgravy:
yes
[G Pad 8.3 Original Android Development] darkassain:
Just FYI since it seems i have been reading here and nothing comes up, format sd partition hard bricks the tablet (into QHSUSB mode) and should be disabled or at least point to the ext sd card
[G Pad 8.3 Original Android Development] Drgravy:
I will look into it

just to be clear not really sure what you did?

did you go to wipe then format data or

advanced then partition sd card or something else?
[G Pad 8.3 Original Android Development] joshuadjohnson22:
Is there a way to get the update as an img file so we can use flashify? Also is this only for cm builds or both
[G Pad 8.3 Original Android Development] darkassain:
yep advanced> partition sdcard thinking it meant the ext sdcard
[G Pad 8.3 Original Android Development] Drgravy:
it should work for both

as for a .img try renaming it from .lok to .img or wait for an official build;)

ok I will get that removed asap
[G Pad 8.3 Original Android Development] mallman:
asn an FYI, i tried renaming it and using flashify and mine jsut stays on the screen

Fastboot mode started

ubc_start()

So im assuming that does not work :)
[G Pad 8.3 Original Android Development] joshuadjohnson22:
Sweet seems to have worked. How can we tell the differences from the old on to the new one? (to confirm it worked)
[G Pad 8.3 Original Android Development] Drgravy:
the old one wont flash cmb

also I just put a new build in the op with an appended version number 2.6.3.1
[G Pad 8.3 Original Android Development] Palux:
don't kill me but...

root@android:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/openrecover
y-twrp-2.6.3.0-awifi.img
very /data/local/tmp/openrecovery-twrp-2.6.3.0-awifi.img <
sh: /data/local/tmp/loki_flash: [B]can't execute: Permission denied[/B]

what I wrong?

ok...understood, when i I type SU i don't obtain "administrator" to run the successive command, why?
[G Pad 8.3 Original Android Development] Drgravy:
if you plan on flashing cmb that version wont work

download the one called : twrp2.6.3.1.lok

and use these commands

adb push twrp2.6.3.1.lok /data/local/tmp

adb push loki_flash /data/local/tmp

adb shell

su (you might get a prompt for su on your device)

/data/local/tmp/loki_flash recovery /data/local/tmp/twrp2.6.3.1.lok

exit

exit

adb reboot recovery
[G Pad 8.3 Original Android Development] Palux:
Ok, using the latest version I get

C:\Windows\system32>cd C:\Users\Palux\Downloads\loki-master\loki-master\bin

C:\Users\Palux\Downloads\loki-master\loki-master\bin>adb push twrp2.6.3.1.lok /d
ata/local/tmp
3506 KB/s (11061248 bytes in 3.080s)

C:\Users\Palux\Downloads\loki-master\loki-master\bin>adb push loki_flash /data/l
ocal/tmp
1245 KB/s (6376 bytes in 0.004s)

C:\Users\Palux\Downloads\loki-master\loki-master\bin>adb shell
root@android:/ # su
su
root@android:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp-2.6.3.
1.lok
very /data/local/tmp/twrp-2.6.3.1.lok <
sh: /data/local/tmp/loki_flash: can't execute: Permission denied
126|root@android:/ #

mmh...something is wrong.

even if I try from the terminal in tablet

I see the files in the temporary folder on the tablet ... the problem I think is just "administrator" with command su after adb shell

in SuperUser i enabled "app and ADB"

have you any idea?
[G Pad 8.3 Original Android Development] Drgravy:
ok try this:

adb push loki_flash /data/local/tmp/loki_flash

adb push twrp2.6.3.1.lok /data/local/tmp/twrp2.6.3.1.lok

adb shell

su

cd /data/local/tmp

chmod 777 loki_flash

./loki_flash recovery /data/local/tmp/twrp2.6.3.1.lok

exit

exit

adb reboot recovery
[G Pad 8.3 Original Android Development] joshuadjohnson22:
As an update it did work. Just change the extension to .img and use flashify :)
[G Pad 8.3 Original Android Development] Palux:
Great! Now is all righ with the last command you gave me [MENTION=4557482]Drgravy[/MENTION]...no error, no problem of permission etc...Good!!!

for other users, look the correct name of file/command

no twrp-2.6.3.1.lok but twrp2.6.3.1.lok

:good::good::good::fingers-crossed::fingers-crossed::fingers-crossed:

adb push loki_flash /data/local/tmp/loki_flash

adb push twrp-2.6.3.1.lok /data/local/tmp/twrp-2.6.3.1.lok

adb shell

su

cd /data/local/tmp

chmod 777 loki_flash

./loki_flash recovery /data/local/tmp/twrp-2.6.3.1.lok

exit

exit

adb reboot recovery

Optimal command if you have denied permission problems
[G Pad 8.3 Original Android Development] Drgravy:
all right I edited my posts
[G Pad 8.3 Original Android Development] naruto.ninjakid:
Procedure on Using Flashify ?

Yeah I was looking into using this seems a little easier. Do we just download the loki twrp file and then change the extension to .img and then flash using flashify ?
[G Pad 8.3 Original Android Development] joshuadjohnson22:
yes
[G Pad 8.3 Original Android Development] dalingrin:
This build worked perfectly for CM
[G Pad 8.3 Original Android Development] Duffman14:
Can't seem to download the latest version. All I get is a scrambled web page.
[G Pad 8.3 Original Android Development] Drgravy:
just tested it and it works fine

anybody else?
[G Pad 8.3 Original Android Development] Duffman14:
This is what I get...
[G Pad 8.3 Original Android Development] Drgravy:
try and download it from a pc or some computer other than a mobile device
[G Pad 8.3 Original Android Development] Duffman14:
Tried some other browsers and got it to download with Opera.
[G Pad 8.3 Original Android Development] Mauijpm:
If we change twrp2.6.3.1.lok to twrp2.6.3.1.img and flash with Flashify, does that mean that we still have to perform all of the other loki operations? Thanks! :)
[G Pad 8.3 Original Android Development] dvdmeup:
Backup: Time and date incorrect ...

First thanks for helping to install 2.6.3.1. I had the permission error but fixed it.

Now after my first und second backup I noticed that the folder syntax is on 1970-02-05. In TWRP the time is incorrect too.

Any ideas from you what went wrong? :confused:
[G Pad 8.3 Original Android Development] testadeferro:
Can someone help me please.

When I boot in recovery I click the power buttons to do a factory reset the recovery opens runs a script and reboots. Doesn´t stay in recovery mode.
[G Pad 8.3 Original Android Development] Drgravy:
it has something to do with the time code in the recovery it does this on a few different devices Dees_Troy is working on it im sure

your on 2.6.3.0 upgrade to 2.6.3.1 and it will work just fine
[G Pad 8.3 Original Android Development] testadeferro:
But my tab dont boot, done a factory reset and everytime I enter recovery the tab runs a script a factory resets by it self and ends in a no boot.

Is there a way to fla**** through a command line? or bootloader mode like samsung devices?
[G Pad 8.3 Original Android Development] Drgravy:
well at this point you will probably have to do something like this: http://xdaforums.com/showthread.php?t=2471370

to go back to stock ( i have used this method before )

or if you can get adb access you could flash the updated recovery