yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 Android Development] KAsp3rd:
Here is your unofficial TWRP

Please report all issues on my github so I can track them

Download the update!

Merged in TWRP 3.0.0.0

Fixed the time issue Bug in LG's kernel (however daylight savings time does not work when set on/off in recovery)

3.0.0.0

https://www.androidfilehost.com/?fid=24407100847293244

md5: f7c84c5328fb073a1a57fb75dc70191a

2.8.7.1

https://www.androidfilehost.com/?fid=24269982086988199

md5: 736456843ecaa2b65fbbb749008e1ff3

2.8.7.0

https://www.androidfilehost.com/?fid=24052804347853160

md5: f6d38b88b51d8cc39635534b559f719f

This requires you to have an unlocked bootloader which will wipe data if you have not unlocked already.

Recovery does take some time to boot

It has taken up to 45 seconds for the TWRP curtain to show for me

To get to bootloader without adb:

Turn device off

Hold Vol Down

Insert USB plug while plugged into your PC

Hold Vol Down until fastboot pops up

Instructions:

If you have issues with adb or fastboot follow this post: HERE

If bootloader is unlocked:

reboot into bootloader

adb reboot bootloader
fastboot flash recovery twrp-2.8.7.1-h901.img
fastboot boot twrp-2.8.7.1-h901.img

If your bootloader is locked:

enabled developer options

in developer options "Enable OEM unlock"

reboot into bootloader

adb reboot bootloader
fastboot oem unlock
fastboot reboot-bootloader
fastboot flash recovery twrp-2.8.7.1-h901.img
fastboot boot twrp-2.8.7.1-h901.img

Known issues:

You get to see that it's not truly 2 displays

Time is not saved from Android to Recovery

Display does not turn off when it times out

Device tree is here https://github.com/KAsp3rd/android_device_lge_h901

Compiled using omnirom 5.1 with 6.0 bootable/recovery

Get superSU from chainfire http://download.chainfire.eu/supersu

Thanks to [MENTION=3176005]TheJesus[/MENTION] [MENTION=2614663]shabbypenguin[/MENTION] [MENTION=912474]Dees_Troy[/MENTION] [MENTION=4878287]_that[/MENTION] [MENTION=2638973]bigbiff[/MENTION] [MENTION=1924950]helicopter88[/MENTION] [MENTION=4316709]savoca[/MENTION] [MENTION=2684188]autoprime[/MENTION] and anyone I've forgotten.
[T-Mobile LG V10 Android Development] geeserver:
I'm getting the android with his guts (triangle exclamation) open when I do a

{adb reboot recovery}

Am I doing something wrong or have done something wrong?

My bootloader is UNLOCKED.
[T-Mobile LG V10 Android Development] coilbio:
I get the same thing
[T-Mobile LG V10 Android Development] KAsp3rd:
Did you reboot to bootloader and fastboot flash recovery "img"?
[T-Mobile LG V10 Android Development] Warrior1975:
re-read the op

adb reboot bootloader

then do the fastboot commands
[T-Mobile LG V10 Android Development] geeserver:
Here are the commands

-In OS, Android with ADB Debugger on with UNLOCKED bootloader checked

{adb reboot bootloader}

-Welcome to Fastboot Mode:

{fastboot flash recovery twrp-2.8.7.0-h901.img}

{fastboot reboot}

-Phone back in Android

{adb reboot recovery}

NO TWRP

Right now I'm using stock.img files to restore everything and retrying.

I'm currently using Minimal ADB and Fastboot [8-28-15] to push commands.
[T-Mobile LG V10 Android Development] KAsp3rd:
Flashing stock.img myself to make sure
[T-Mobile LG V10 Android Development] drwalker887:
same issues here also
[T-Mobile LG V10 Android Development] TheJesus:
Mine worked first try... I personally change the recovery img file's name to recovery.img, but other than that I use the same commands.
[T-Mobile LG V10 Android Development] coilbio:
yeah, mine has the android open door with "no command" under it
[T-Mobile LG V10 Android Development] geeserver:
I can't push stock.img from fastboot. Reading from mickeyinid post in that thread, "Make sure you have the newest fastboot binary or it won't flash the system.img" It has a cap at 53MB but the filesize for system.img is 4.2GB.
[T-Mobile LG V10 Android Development] shabbypenguin:
android has a file /system/etc/install-recovery.sh when you boot up it overwrites teh recovery with stock, chances are its doing that.

boot into fastboot, flash it, then use

fastboot boot twrp-2.8.7.0-h901.img

that will drop you into recovery (it takes like 30 seconds) form there you can do a syou wish, then click on reboot system and it will remove that file so youll have twrp always.
[T-Mobile LG V10 Android Development] KAsp3rd:
Didn't catch that one shabby thanks for pointing it out. I'll update op
[T-Mobile LG V10 Android Development] coilbio:
this worked. Thanks!!

and thank you so much [MENTION=3505796]KAsp3rd[/MENTION] for this recovery
[T-Mobile LG V10 Android Development] geeserver:
Once I put in the fastboot boot twrp-2.8.7.0-h901.img command, I heard the computer disconnect and it took more like a minute or a minute in a half but it worked. Then I flashed SuperSU and now I'm ROOTED!!! Thanks!!!!
[T-Mobile LG V10 Android Development] Warrior1975:
All rooted. Thank you [MENTION=3505796]KAsp3rd[/MENTION]!!

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] drwalker887:
that worked. TWRP installed and rooted. FYI it does take a little time to boot into TWRP with the fastboot command and normal also.

Thanks for the help all
[T-Mobile LG V10 Android Development] brazzle:
Xposed

Can you flash xposed in this recovery?
[T-Mobile LG V10 Android Development] TheJesus:
Yes. I have it. Use the arm64 for Lollipop version. It does however break the second screen occasionally (it FC's when I get/make a phone call, but that's it). BUT it has RootCloak which lets me use Android Pay while rooted :D
[T-Mobile LG V10 Android Development] cencom14:
Success! The whole process was very easy and worked the first time! Thanks for posting this!
[T-Mobile LG V10 Android Development] recepo1:
Thanks after hours finally got it rooted
[T-Mobile LG V10 Android Development] Chino9656:
Well, I flashed TWRP, booted into it, selected to not change the filesystem to RW, and did my backup.

I reboot into Android and tried to fastboot back into recovery - this didn't work, and in fact ADB had a difficult time detecting the phone.

Then, when I tried to get back into TWRP (via the factory reset), it actually reset my phone.

I went back through the ADB/Fastboot steps to reflash the recovery and boot back into TWRP. This time I am changing the filesystem and restoring my TWRP backup.

Now I'm getting play services errors...woe is me I guess -- probably will wipe again and restore with LG Backup. Oh, and it says it can't read my fingerprints. What's up with that?
[T-Mobile LG V10 Android Development] mikeyinid:
If you choose not to modify /system twrp will be overwritten on boot. boot_from_recovery.p has to be renamed to avoid it. Which requires /system to be modified....
[T-Mobile LG V10 Android Development] Chino9656:
Thanks, Mikey. When I chose to change system to RW, everything worked. Well, I haven't tried to get back into TWRP yet, but it makes sense why it didn't work before.

Also, I just needed to redo my fingerprints after the restore.

I uninstalled the play services updates and then re-updated, all is well there.

Thanks, OP!
[T-Mobile LG V10 Android Development] YevOmega:
Does this work for the Verizon V10 as well? Thanks!
[T-Mobile LG V10 Android Development] headcreepz:
Sorry to be off topic but your Energy rom was the bomb!! Without a doubt best sense rom.....period!!! Good to see you in here!!
[T-Mobile LG V10 Android Development] Warrior1975:
No. Sorry.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2

---------- Post added at 07:18 PM ---------- Previous post was at 07:18 PM ----------

No, sorry.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] YevOmega:
So there are different versions of the V10 on different carriers? I thought most devices come one for all now. I believe you, but do you have a source so that I can reap further information?
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
Couple questions.

I just unlocked bootloader finally.

Now, when I download the latest files in the original post, where exactly am I supposed to put them before I start the ADB commands? I am asking specifically about the twrp 2.8.7.1 and the Updated SuperSU?

Thank you,

Whiteice
[T-Mobile LG V10 Android Development] KAsp3rd:
Updated OP with directions to boot into fastboot without adb
[T-Mobile LG V10 Android Development] KAsp3rd:
It currently only work with the T-Mobile version as T-Mobile does not request that LG lock the bootloader, while most other providers do.

It would be best to store them in the same directory that you use adb from
[T-Mobile LG V10 Android Development] Zugshad:
Put them in the folder where you installed adb and fastboot. Make sure run cmd prompt from that directory

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
I used the shortcut from the Nexus Root Toolkit.
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Works on my LG-H901K from T-Mobile

Got it on November 4th.

Recovery is sticking as it should.
[T-Mobile LG V10 Android Development] UniX1rm:
Thank you,I installed twrp and rooted. Is there a way to get to twrp via hardware keys? I tried volume down and power but I can't seem to get it to go to recovery. I've installed the TWRP app to get to recovery. Any pointers would be much appreciated!
[T-Mobile LG V10 Android Development] KOLIOSIS:
Follow the same hardware key procedure for a factory reset & follow the prompts as usual.

It will appear that you will reset, but, if TWRP is installed properly, you'll boot into it without resetting.

The exact key/power button combo & procedure is covered in another post in this thread,BRB for the link......

---------- Post added at 02:19 AM ---------- Previous post was at 02:09 AM ----------

Here's the key combo & steps.

As stated,if TWRP is installed properly,this will get you into TWRP WITHOUT a reset:

http://xdaforums.com/showpost.php?p=63646683&postcount=70

With the phone powered off:

1. Hold Volume Down

2. Hold Power button until you see LG screen

3. Release Power button and then rehold Power button

4. Follow on-screen prompts to perform a Factory Reset (If you have TWRP, this should not actually factory reset,backup on your computer)

5. Enjoy TWRP without fastboot
[T-Mobile LG V10 Android Development] joachim123:
So I'm VERY GLAD that the step for making a backup is there before trying to boot into recovery from power off.

I was able to boot into recovery as mentioned, the FIRST time.

after i booted the system back up and checking some things. i decided to try going back to recovery a second time. it actually did a factory reset. So im restoring the backup now. so thats all good (I hope, when its done).
[T-Mobile LG V10 Android Development] HelloG3_MotoNoMore:
[MENTION=1069339]blackinjun[/MENTION].... HOW? The "Bootloader STATE: Bootloader UnLocked !!" on the power-up screen is driving me nuts!

Is there a way to hide that and keep TWRP? :eek:
[T-Mobile LG V10 Android Development] Warrior1975:
Nope. Nothing to do with twrp either.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] KAsp3rd:
You have to flash TWRP then fastboot flash TWRP and when it ask you to make the system RW you need to say yes or recovery will be overwritten when you boot.

If you relock the boot loader it will factory reset again. The screen only flashes for a couple seconds. However you can lock the boot loader back with fastboot oem lock
[T-Mobile LG V10 Android Development] UniX1rm:
Worked great. Thank you.
[T-Mobile LG V10 Android Development] HelloG3_MotoNoMore:
Yup. I found that out the hard way. I used logic/common sense and issued that command. It reset me back to "Unfortunately Amazon has stopped" every second. It took me a half hour to get through the setup and into app settings to disable it.

I'm gonna flash TWRP, then flash my first nandroid and start from scratch. I'll learn to love the STATE display. Well, here we go again! UGHH!

Thanks VERY much to the OP and all dev's putting time in on the H901. This is an AWESOME phone! Can't wait to get it onto AT&T. I'm really gonna miss the LED though. Leave it to LG to do one really bad thing to the best piece they've ever made!
[T-Mobile LG V10 Android Development] markerichanson:
per app DPI changes

You have to specify it app-by-app, but it works so far for everything I've tried including nova launcher. It would be nice to change the DPI for status bar and notifications. I haven't figured out how to do that with this xposed module, though. It might not be possible. I expect all the LG apps will choke based on prior experience but I haven't tried them.
[T-Mobile LG V10 Android Development] Leykis:
Can't get this to work. Followed the instructions in the OP and when I try and flash twrp in adb it just says "waiting for device" and nothing happens. Let it sit for half an hour and nothing.

I checked my device manager and it shows an "!" next to Android under USB devices even though I installed the LG USB drivers. I'm going to assume this is my issue. I'm running Windows 7 so I went to search for the driver manually and found a "LGE Android Platform Composite USB Device" and installed that and my pc blue screened. So not sure what to do at this point.
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Leykis, have you tried plugging the V10 into a USB2 port? I've experienced issues with a USB3 port on my laptop while connecting to phones via ADB.

You may also want to make sure "USB Debugging" is enabled in the Developer Options, and that your computer is a verified host.

If that still does not work, try running ADB (or command prompt/shell) as an administrator.
[T-Mobile LG V10 Android Development] Leykis:
USB debugging is enabled & my PC is a verified host. I've also tried running the command prompt as an administrator....still not working. I'll try switching ports but the one I'm using is a USB2 port.
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Ah, I read your original post wrong.

Try the steps in the following page:

https://developer.android.com/tools/extras/oem-usb.html#Win7
[T-Mobile LG V10 Android Development] justice26:
Install it
[T-Mobile LG V10 Android Development] KOLIOSIS:
The OP has been updated for clarity & additional information/method/steps for booting into bootloader/installing TWRP.

If you haven't gleaned the OP in a day or two,it's worth taken another look.

http://xdaforums.com/lg-v10/development/recovery-unofficial-twrp-t3239740

What is happening,(or not happening) at this point?
[T-Mobile LG V10 Android Development] Leykis:
Thanks that worked!

When twrp came up it had some read only message and I accidentally hit the option to keep system read only. Should it be read only or should I change it....and if I need to change it how do I do that?

Also after I flashed SU and booted it was like the device had completely reset. Was this suppose to happen?
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
Ok, so I copied the 2.8.7.1 image to my C:ADB folder. I did the command prompt to reboot phone to bootloader and typed "fastboot flash recovery twrp-2.8.7.1-h901.img" and received the follow error "cannot open 'twrp-2.8.7.1-h901.img'
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Glad to hear it worked! A "Thanks" is much appreciated.

You can change RO mode by going to the Mount page in TWRP, and at the bottom unchecking "Only mount system read-only"

EDIT:

When you do a Fastboot Unlock, it will format the phone.

---------- Post added at 05:20 PM ---------- Previous post was at 05:13 PM ----------

Make sure you do cd the ADB directory in Command Prompt:

cd C:\ADB
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
THANK YOU SO MUCH. Thanks button hit :)

Now I just guess I put the supersu.zip on the phone and flash the supersu.zip?
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Yep!

If you're not using this phone as a daily driver yet, you should give Xposed a try, and try out some awesome customization you can do with the stock Android.
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
This is my only phone so yeah, it's my daily. But, how would I go about installing xposed?

And, any specific xposed mods you recommend for this phone?

TIA
[T-Mobile LG V10 Android Development] Zugshad:
Did you get it working?

if not, looks like your not in the right directory in the cmd prompt. same issue i had. was told easiest way is right click on folder that files in and run cmd prompt that way, then you will be in that directory. otherwise you have to do the "cd" commands to navigate to the right directory.. once you are in the right directory in cmd prompt, this will work
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
I did get it working after the instructions to do the command for the adb directory. So freaking happy.

---------- Post added at 05:04 PM ---------- Previous post was at 05:03 PM ----------

I noticed that after I unlocked the bootloader and rooted, it no longer displays my name in the second screen area. Is there a fix for this?
[T-Mobile LG V10 Android Development] MyNameIsCosmo:
Look at:

http://xdaforums.com/lg-v10/help/tutorial-how-to-install-xposed-t-mobile-t3240845

For xposed mods, I have not used any on this phone, but this looks interesting:

http://xdaforums.com/g4/development/xposed-1-0-beta1g4-tweaksboxtheme-call-t3205820

We should continue any conversations in another thread, or private message, so we don't stray too off-topic.
[T-Mobile LG V10 Android Development] Zugshad:
When you unlocked boot loader you had to reset phone. Just click on signature spot and edit it to your liking. Mine is there perfectly fine with no issues.

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
I cannot seem to find the signature spot. Can you please direct me? Thank you.
[T-Mobile LG V10 Android Development] Zugshad:
When you scroll through there might be a blank one. You just hold and press and it will bring up the signature page to set it

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
I am not seeing this option anywhere
[T-Mobile LG V10 Android Development] Zugshad:
Ok another way. To into settings and hit search icon or go to display Tab. Search for "second screen" is click on it in display tab.

Once in it make sure that it is set to on for when screen off. Then click on that option and takes you to next page. O.j. there you can select to show signature. Check that and then you can select the settings icon for that and edit signature. See screeners

Sent from my non-Mega loved (yet) v10

---------- Post added at 03:40 AM ---------- Previous post was at 03:39 AM ----------

If more issues pm me as this isn't the thread for this and don't wanna spam it

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] WhiteiceDMSTech:
I thank you so much. This works when the screen is off. I thank your for your help.
[T-Mobile LG V10 Android Development] Zugshad:
Welcome

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] Zugshad:
Btw just noticed that only does the screen off. If you click the screen on one. There is the option for signature and that is the main one. Lets you set up each window for stuff while on which is the main one. So you can have one Sig while screen on and one while screen off

Just noticed myself [emoji6]

Sent from my non-Mega loved (yet) v10
[T-Mobile LG V10 Android Development] ventureon:
HOW DO YOU TYPE "CD" BEFORE C:/ADB IN COMMAND PROMPT?

Hi. Thanks in advance for everyones help and input here. I have been able to get it to unlock boot loader but cannot load recovery.img

i downloaded twrp 2871.img

same can not load error message as previous user.

Is that the first and only recovery i need?

-when you download adb 1.4.3 setup and go through setup. does it install into c:/adb automatically?
[T-Mobile LG V10 Android Development] ventureon:
nvm i found out why.

the instructions state to rename file with .img and so i did that and it was messing up...

if anyone else has mistake, just don't rename it...if you rename, simply type "twrp" and not "twrp.img"
[T-Mobile LG V10 Android Development] psycho1:
Please help. Imma not new to rooting etc. Been doing it since htc hd2. I cannot get my phone to connect to my computer as a file. It keeps showing up as a camera. I've tried pushing the drivers to the right spot and everything is good. Obviously not.. I also cannot get the command prompt window to open in the folder were I have stk tools.. What am I don't wrong?
[T-Mobile LG V10 Android Development] Warrior1975:
Change your USB connection to mtp or ptp. Also, make sure usb debugging is enabled. For adb and fastboot follow the directions here:

http://xdaforums.com/showthread.php?p=63659090

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] psycho1:
I've done the switching between the 2 download modes. No difference. Everything is enabled and I did try the info in that link. Several times. It says everything installed. I know the problem is my phone it's not connecting to the computer as a drive. Only as a media device. I cannot get it to connect correctly.
[T-Mobile LG V10 Android Development] Warrior1975:
When you connect your phone, drop down menu on the phone, your notifications, what does it say phone is connected as on your phone?

Also, did you install the LG drivers? (stupid question but just verifying)

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2

---------- Post added at 06:10 PM ---------- Previous post was at 06:01 PM ----------

One more question, I'm assuming you are using Windows? Check your device manager, see if your lg v10 is showing up in your devices. If not, it's a driver issue. Download the LG g4 drivers.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] psycho1:
This is what I get. I have installed the drivers from the op . in device manager it only shows up a camera. Even when I direct it to the drivers. I'm using Windows xp. I'm at work right now and when I plug my phone into this computer it shows my storage and everything like I'm looking for. But no I can't use this computer. It's a corporate computer on their network.. So I'm thinking I'm missing something on my computer to talk to my phone correctly.
[T-Mobile LG V10 Android Development] Warrior1975:
Sounds like a driver issue. Try from your home computer. You need to install the drivers as an administrator (I'm almost certain).

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] psycho1:
I only have one account on my computer. It is the administrator. Do I have to do anything different to install. I have service pack 3. It's that all that I would need. I'm just a little confused now that the computer at work found the drivers ave installed then in 30 seconds and I don't do nothing..
[T-Mobile LG V10 Android Development] KAsp3rd:
adb should see you phone no matter if it's in MTP or PTP. What shows in the command prompt when you run adb devices?
[T-Mobile LG V10 Android Development] Warrior1975:
[MENTION=3505796]KAsp3rd[/MENTION] is here so you will be fine. :D. But, using Vista to install the drivers from lg didn't work for me. I had to manually download them from lg for the g4 and install them. I'll let [MENTION=3505796]KAsp3rd[/MENTION] take over, he is much smarter than I.

Sent from my LG-H901 using Xparent Skyblue Tapatalk 2
[T-Mobile LG V10 Android Development] psycho1:
I have not tried today because I was still getting the same connection. Yesterday it was saying adb was not an appropriate action. Since then I have downloaded the stk tools and updated java etc. When I try to open a command prompt from in the folder that I have the tools in I should be able to shift right click and get an option to open a command prompt? Am I correct? I don't have that option on the menu. The only way I'm able to open command prompt is from start run.. Please help. I'm feeling really lost now..

---------- Post added at 05:24 PM ---------- Previous post was at 05:24 PM ----------

Thank you for your help warrior..