yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 Android Development] AKNOTTS66:
Hey everyone how do I remove twrp from my phone? I'm selling on swappa and i restored my backup to right after I installed twrp. So its stock and not rooted. I just need to flash recovery right? what are the steps? I have the stock revovery.img in the adb folder on my cd drive. I have the cmd promt up and adb sees my device. What now? :) thanks everyone noobish here
[T-Mobile LG V10 Android Development] androidfilesharing:
1. adb reboot bootloader

2. fastboot devices (just to be sure your pc sees your device)

3. fastboot flash recovery recovery.img

4. fastboot reboot
[T-Mobile LG V10 Android Development] Sherrillface:
This phone couldve been so much more what a damn shame
[T-Mobile LG V10 Android Development] ZDeuce2:
??? Okay, thank you for this helpful and important tidbit of information...
[T-Mobile LG V10 Android Development] mxpxboi:
Can I flash TWRP, install superuser to root. And then flash Stock Recovery so that I can receive OTA updates?
[T-Mobile LG V10 Android Development] ZDeuce2:
No, you cannot receive ota's if you're rooted...
[T-Mobile LG V10 Android Development] mxpxboi:
I was almost positive you could still do the OTA, but you would lose root and have to reroot. Or is that how it used to be and things have changed?
[T-Mobile LG V10 Android Development] ZDeuce2:
To my knowledge you have to be completely stock to get ota's...
[T-Mobile LG V10 Android Development] Rydah:
Seeing as my last device was an HTC m9 and used to be the case until lollipop, I don't think it applies anymore. Wouldn't know as we've never gotten an update.

Sent From My LG V10
[T-Mobile LG V10 Android Development] KAsp3rd:
Sorry y'all. I am no longer an owner of the LG v10. While the device was great, there was a point that the screen bleeding from the "2nd" screen just got to me. I swapped the phone and it was worse so I've opted for another device. Y'all have been great support for other users as well as myself. I hope someone can pick up this project for y'all. Everything is on github as linked in the OP.
[T-Mobile LG V10 Android Development] ZDeuce2:
Thank you for everything Bro... Truly hate to see you go. With out your contributions, we wouldn't be here. If you don't mind, what is the new device?

The signature you are trying to reach is no longer available
[T-Mobile LG V10 Android Development] KAsp3rd:
Jumped ship back to samsung (got my s7Edge today) I missed the AMOLED and the notification light. Haven't touched samsung since the SIII.
[T-Mobile LG V10 Android Development] ZDeuce2:
I had the s3, and note 3, both awesome phones. I'm waiting for the note 6 I think... We'll see.

The signature you are trying to reach is no longer available
[T-Mobile LG V10 Android Development] NYLimited:
Sorry to see ya go, dude. I don't think there is anyone here who can pickup the task so..

I don't suppose we could ask you to fix the missed year before you leave us forever, could we? :(
[T-Mobile LG V10 Android Development] KAsp3rd:
I'm sure there are a couple people lurking in the depths that can pick up where I left off. As for fixing the year, I honestly have not had the time to figure it out. It really is a simple fix, just have to get the LG_FAKE_SECS correct in the kernel. I can build if someone wants to check the dates.
[T-Mobile LG V10 Android Development] GROGG88:
I can play with that. I've got twrp building, but I need to get the kernel compiled with necessary changes. My time is limited with personal items right now, but I'm sure I can squeeze it in somewhere... Out of curiosity, what year was displayed prior to your edit from '2015' to '2014'?
[T-Mobile LG V10 Android Development] KAsp3rd:
My most up to date kernel source is here

Before I made this commit the year was correct, however it was something like 124k seconds behind where it should have been
[T-Mobile LG V10 Android Development] GROGG88:
Excellent. Yes, I already forked your source. What exports are you running for your toolchain? For hammerhead I ran:

export PLATFORM_DIR=~/AOSP/device/lge/hammerhead-kernel
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
export PATH=~/AOSP/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:$PATH
cd $PLATFORM_DIR/kernel
make mrproper
make hammerhead_defconfig
make -j4

I know this will change for V10 on arm64 though... Just looking to save what time I can here.
[T-Mobile LG V10 Android Development] KAsp3rd:
I generally just run it all together rather then exporting. Of course this is from the kernel directory and assuming make mrproper was already ran

make ARCH=arm64 pplus_tmo_us-perf_defconfig
make ARCH=arm64 CROSS_COMPILE=/home/kasp3rd/android/omni/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android- -j4
[T-Mobile LG V10 Android Development] GROGG88:
Thank you! Compiling on my laptop while I work...
[T-Mobile LG V10 Android Development] ZDeuce2:
Sweet, this is great news...

Thank you [MENTION=3667193]GROGG88[/MENTION] for picking up where [MENTION=3505796]KAsp3rd[/MENTION] left off.

The signature you are trying to reach is no longer available
[T-Mobile LG V10 Android Development] GROGG88:
3.0.0 Update

Here is an update of 3.0.0 with a date/time fix. Still no DST change. Try it out and report back...

DOWNLOAD

[MENTION=3505796]KAsp3rd[/MENTION]

rtc_fake_secs = mktime(2016, 3, -1, 4, 5, 0);
[T-Mobile LG V10 Android Development] NYLimited:
Downloaded, thanks!

Will install later when things quiet down, give it a try and let you know.
[T-Mobile LG V10 Android Development] NYLimited:
No joy. The only thing that was right was the year. The date assigned to the backup was 2012-05-25 and the time was 05-06-32. I know it isn't May yet and it certainly isn't 5 in the morning in NY.. :)
[T-Mobile LG V10 Android Development] GROGG88:
If you typed that correctly then even the year was off. Certainly odd... It was perfect for me in CST.
[T-Mobile LG V10 Android Development] NYLimited:
Funny! I careful to get the numbers right in case they tell you something but didn't pay attention when going the year since it s right - it *did* show 2016. :angel:
[T-Mobile LG V10 Android Development] GROGG88:
Well, it appears rtc_fake_secs may not be a one size fits all answer. I can disable it in the kernel config, which I did yesterday, and it will show the correct date/time with the exception of the year (1971). This joins the many devices plagued by the TWRP date bug...

---------- Post added at 07:11 PM ---------- Previous post was at 07:09 PM ----------

Do me a favor and delete /sdcard/TWRP/.twrps and reboot recovery for another check if you don't mind...
[T-Mobile LG V10 Android Development] NYLimited:
Interesting idea.. I'll do it on few minutes. Now, keep in mind that this device has an emulated SD card and an actual SD card. Both have the twrp folder so I suppose I'll clear both .twrp ones since I dunno which it may look at..
[T-Mobile LG V10 Android Development] NYLimited:
No go. Tried two different times, same result. See the screen capture of the folder. I can't attach the log file as I'm getting an error. I'll have to upload it someplace if you want it. You can see the fix date results there as well..

[ EDIT 1 ] Okay, you can grab the log from

here

. I'll delete it in a few days.

[ EDIT 2 ] Are my tests the only ones generating the funky dates? Hmm..

[ EDIT 3 ] Last edit, really! :) I flashed the previous version which did not seem to have any issues with the .twrp file created by your version, suggesting they may be the same. Did a quick backup and the date/time was correct except for the year, of course.
[T-Mobile LG V10 Android Development] GROGG88:
I would know if anyone else replied...
[T-Mobile LG V10 Android Development] NYLimited:
I s'pose you would. The others must be slow readers. :)
[T-Mobile LG V10 Android Development] GROGG88:
One more request...

Can you copy/paste the contents of '/sys/class/rtc/rtc0/since_epoch' and '/sys/class/rtc/rtc0/date' ?

I have two of these phones, but the other is not rooted so I can't use it for testing without ticking off the wife...
[T-Mobile LG V10 Android Development] NYLimited:
Well, the file claims to be 4k but it contains only this:

1427619760
[T-Mobile LG V10 Android Development] GROGG88:
Yes, well currently my since epoch count is 1420588464. Obviously far off from yours. Well, we can't really create a fake real time clock adjustment with a static value if epoch counters are varied...

I don't plan on creating customized recoveries per individual to adjust for epoch. Hmm...
[T-Mobile LG V10 Android Development] NYLimited:
Sorry, I have no clue why the difference (sigh) There are 8 files in the rtc0 directory but I have no idea how they relate to each other.

Individual versions? That would be silly, at best.
[T-Mobile LG V10 Android Development] GROGG88:
It's quite simple. The reason the date seemed even remotely close to accurate was because of an adjusted epoch (seconds since 01/01/1970) set in the kernel by LGE_RTC_FAKE_SECS. As per Kconfig:

config LGE_RTC_FAKE_SECS
bool "LGE RTC FAKE Feature."
depends on RTC_DRV_QPNP
default n
help
If you say yes here, kernel will show fake rtc epoch time.

This is adding a static value to your device's power on time. You can determine your device's specific power on time with:

expr $(date +%s) - $(cat /sys/class/rtc/rtc0/since_epoch)

The date/time output with this enabled will vary for each device. I can tailor the static adjustment value per device, but that's just not going to happen.

Really, this is the way it should be... LGE_RTC_FAKE_SECS disabled in the kernel. This will show your device power on time (36561874 is mine). The time will be correct, but the yyyy/mm/dd will not.

DOWNLOAD
[T-Mobile LG V10 Android Development] than8:
thanks ... I'll try and comment

I am sorry for my bad english

Enviado desde mi LG-H901 mediante Tapatalk
[T-Mobile LG V10 Android Development] nobreak1970:
thank you for this recovery! :)
[T-Mobile LG V10 Android Development] siraltus:
Any chance of fixing the screen size so that the top left corner is not cut off (blocked by the selfie cameras)?
[T-Mobile LG V10 Android Development] KAsp3rd:
Negative, I had no luck in the little time I had put forth in fixing it.
[T-Mobile LG V10 Android Development] tungkick:
PLS READ gpt help me:(
[T-Mobile LG V10 Android Development] stereotripical:
Easily the most frightening post I have ever seen on xda.
[T-Mobile LG V10 Android Development] ZDeuce2:
Look like he's phishing for tot files to sell as root, at least that's what the Vietnamese Facebook he running is saying in translation... Lol.

Generic condescending signature line
[T-Mobile LG V10 Android Development] tungkick:
you can not read if you want. I no need but if all user can read gpt send for me, i will help free,:) remember it't me not free, because only me can fix:). not right? if you bootlop or frp lg v10, you sure need contact me. because only me fix, See you later.

Not important issues read or not read.:).

---------- Post added at 12:52 PM ---------- Previous post was at 12:51 PM ----------

i have free many solutiont

very and very

and you,do you like me?
[T-Mobile LG V10 Android Development] planetbeen:
^^^^

Wow

Sent from my pretty nifty brand new LG V10
[T-Mobile LG V10 Android Development] nobreak1970:
Hahaha....rooty rooty 5 dolla.
[T-Mobile LG V10 Android Development] ZDeuce2:
Honestly, he is typing in English, and I still have no idea what he said?

Generic condescending signature line
[T-Mobile LG V10 Android Development] nobreak1970:
It's comical.
[T-Mobile LG V10 Android Development] NYLimited:
He (she?) said:

Does that help? :laugh: :D :p :D :laugh:
[T-Mobile LG V10 Android Development] tungkick:
ok sr english of my very bad, no need good english. I use google help member xda:). i get money for me.^^.Usually. Why need good

language english.LOL.

---------- Post added at 01:38 AM ---------- Previous post was at 01:34 AM ----------

[IMG="TOTH901"]https://scontent-hkg3-1.xx.fbcdn.net/hphotos-xlf1/v/t1.0-9/12814712_1322175797799242_3034799681998534075_n.jpg?oh=14235ec7d2303b412c1e1c49f6aa1e4f&oe=575D4B05[/IMG]

You can not help me>> many people can hepl me and done build tot h901. You have money but you want buy i not sell for you. Remember do not contact me:)

---------- Post added at 01:57 AM ---------- Previous post was at 01:38 AM ----------

Nick facebook of you. i lock you now:).
[T-Mobile LG V10 Android Development] truckerdewd:
WTF did he/she say?
[T-Mobile LG V10 Android Development] ZDeuce2:
Yeah, that...

Generic condescending signature line
[T-Mobile LG V10 Android Development] stereotripical:
http://xdaforums.com/verizon-lg-v10/general/public-add-rootsystem-tot-vs990-tungkick-t3336345

Wasn't expecting to see this done by the same particular individual.
[T-Mobile LG V10 Android Development] ZDeuce2:
Holy poop!!! That is flipping awesome... [MENTION=4965298]tungkick[/MENTION], I apologize, I don't really understand anything you say, but I do understand you gained root for Verizon... Congratulations! Hopefully you be receiving a healthy payday for your efforts. I'm not sure what the other models situations are, but you may be able to clean up in other versions threads... Good luck sir, and again, I'm sorry.

Generic condescending signature line
[T-Mobile LG V10 Android Development] GROGG88:
Alright then. Well, seeing as the last page has been taken over by illegible postings that have no bearing on TMO devices... How about we get things back on course??

Is anyone working on an update to v3.0.1-0?

***EDIT***

I didn't think so... I have created a new post for continuing work on this project:

http://xdaforums.com/tmobile-lg-v10/development/recovery-updated-twrp-v3-0-1-0-t3350825#post66168851
[T-Mobile LG V10 Android Development] mak213:
I updated to latest marshmellow tmobile update, it made the whole phone stock and locked it, unlocked bootloader, flashed the recovery then i went to type fastboot boot twrp.img, then i got returned with.

booting...

FAILED (remote: unknown command)

i rebooted the phone and prompted with error on screen saying can not check phone for corruption then continued to boot normally? anyone figure out how to get twrp on latest marshmellow + root?
[T-Mobile LG V10 Android Development] NYLimited:
Update twrp? :cool:
[T-Mobile LG V10 Android Development] dhatch93:
I think this thread is basically dead - look at post #648 for the link to the TWRP thread being updated/developed...
[T-Mobile LG V10 Android Development] kkuhle:
Want to get my phone rooted after the marshmallow update

Did you find out if this is possible? I just ran the update and my phone so obviously it's unrooted and on stock marshmallow now. Too nervous to try getting it set up before confirming someone else got it rooted without issues.

---------- Post added at 06:48 PM ---------- Previous post was at 06:41 PM ----------

Thanks for this comment, just saw post 648 that it has been moved here!

http://xdaforums.com/tmobile-lg-v10/development/recovery-updated-twrp-v3-0-1-0-t3350825
[T-Mobile LG V10 Android Development] clockcycle:
Haven't read through newer posts so sorry if it's been asked.

Any work on getting a MM update?
[T-Mobile LG V10 Android Development] Sippi4x4man:
yes
[T-Mobile LG V10 Android Development] -Atlas__:
I dont mean to be a bother but can you tell me where the android system file is. I checked my phone and the sdk but still cant find this file.

will this version work on marshmallow
[T-Mobile LG V10 Android Development] thanhxinh1982:
1 pro do much to root for 6.0 rec
[T-Mobile LG V10 Android Development] AnonVendetta:
Got unlock/TWRP to work once, but it wont work again!

had previously used this method successfully a few weeks ago to unlock and flash TWRP. However, after trying CM12.1/CM13 and having GPS-related crashes, I decided to go back to a custom ROM based on stock. And in every ROM I tried, the Fingerprint/Security menu wouldn't work (so I couldn't install apps from outside Play Store). So I tried going back to CM.....................and the Security menu was broke there too! In all cases the Settings app crashed.

I decided to flash back to 100% stock might fix the issue. So I downloaded the latest MM firmware image and flashed it in Refurbish (full wipe) mode in LGUP. Afterwards everything works fine and all is fixed.

But now I want to unlock the bootloader again and install TWRP so I can root and install custom ROMs. The unlocking commands work fine. I have enabled USB debugging and OEM unlock just like the instructions say. I'm also using the same TWRP v3.0.0.0 that is listed in the OP. adb and fastboot see the device (finally) after installing the right drivers. I have issues when I get to:

fastboot flash recovery twrp-2.8.7.1-h901.img

fastboot boot twrp-2.8.7.1-h901.img

I replaced twrp-2.8.7.1-h901.img with twrp-3.0.0-0-h901.img, but otherwise typed everything exactly the same. I keep getting this (see attached picture, I can't post outside links or images yet).

The 2 things that stand out are the "FAILED (remote: unknown command)" and the attempt to download a boot.img after I instructed fastboot to boot into TWRP (which obviously failed because TWRP didn't flash, but I had to try anyway). I don't think the device is bricked because the stock ROM works 100%, but I won't settle for that. Coming from Samsungs, I'm just too used to being rooted/custom ROMmed/custom recovery/etc. This phone is less than a month old and has never been dropped or gotten wet. I haven't had any obvious issues aside from GPS not always working in CM, so I don't think the phone is defective. The only mods I've made are to buy a 200GB MicroSD, and a ZeroLemon high capacity battery/case.

Thanks for any help!
[T-Mobile LG V10 Android Development] Double0EK:
The MM update blocks fastboot commands. So for now you cant root until one of the Devs figures out how.
[T-Mobile LG V10 Android Development] sabresfan:
MM update removed fastboot capabilities on V10. LG has become hostile towards 3rd party development.
[T-Mobile LG V10 Android Development] AnonVendetta:
Confused.......

But I was already on MM when I followed this guide, and it worked. I can swear I had MM when I bought the phone.

If I can find a stock Lollipop image, can I then flash it and follow the instructions in this thread again?

Does anyone know where I can find an LP firmware file for the H901 (Tmobile)?

Thanks!
[T-Mobile LG V10 Android Development] Double0EK:
There's no going back. It will brick your device.
[T-Mobile LG V10 Android Development] Sippi4x4man:
If you are on official MM you cannot go back to LP
[T-Mobile LG V10 Android Development] AnonVendetta:
Disaster averted!

OK, so I wasn't willing to wait on TWRP/root for MM. So I retired my phone to the T-Mobile store and traded it in for another H901 v10, via the JUMP plan. I lied and said the phone auto-upgraded to MM and was freezing up. My replacement has 5.1.1 LL. I'm about to install TWRP and Supersu again.

I just figured I would put this out there as an option for v10 T-Mo customers. I can't guarantee they'll let you do an in-store trade-in though. And there was a down payment of around $280.

I've learned my lesson, avoid MM at all costs if you value customization and hackability.
[T-Mobile LG V10 Android Development] shadowcreeper_1:
Will this work with the at&t variant? I have root and all
[T-Mobile LG V10 Android Development] AnonVendetta:
@ shadowcreeper_1: It depends. Did you buy the device *from* ATT, or TMO. If ATT, then no, because the boot loader is supposedly perma-locked, which means no custom recoveries, ever. You may have been able to root, but that's about as much you can hope to accomplish within a reasonable time frame.

If you bought from T-Mo, it should work as long as you never took the MM OTA update (or manually flashed it). My method of returning the phone to the store for exchange might work (to get a same device running Lollipop) if you had the same predicament as me. But you have to hurry because soon the devices T-Mo sells in store will have MM update already factory-installed.

Another approach is to buy a phone you want from T-Mo, unlock the SIM card, cancel the contract, then go buy service from ATT. This will enable you to have service from ATT while still having having the T-Mo version of the device that is fully hackable with custom recoveries/ROMs. Downside is you'll take a credit hit if you cancel the contract while the device still isn't paid off, and you risk the device's ESN being blacklisted after switching to ATT, which means no cell company in the US can sell you service for the phone, essentially leaving you with a wifi-only device. So it's better to just buy the phone outright off-contract/prepaid, paying the full price upfront, then get the SIM unlocked and switch.
[T-Mobile LG V10 Android Development] Double0EK:
If you're willing to come back to the V10 there is now root for MM .. I couldnt pm you for some odd reason.
[T-Mobile LG V10 Android Development] GROGG88:
That's because my pm's are turned off. No plans on returning to V10, but sources were submitted to twrp for official device release.
[T-Mobile LG V10 Android Development] sabresfan:
We appreciate everything you have done for us. I love my V10 but the battery life for me has never been great. Doesn't matter what mods I try.
[T-Mobile LG V10 Android Development] CardinalDeath:
It actually up now for the v10 now it now has root from stock

LG H901 T-MOBILE 6.0 V20E,rooted, exposed..(Those that risk everything pave the way for everyone else.)

---------- Post added at 06:34 AM ---------- Previous post was at 06:34 AM ----------

MM that is

LG H901 T-MOBILE 6.0 V20E,rooted, exposed..(Those that risk everything pave the way for everyone else.)
[T-Mobile LG V10 Android Development] AlphaX:
I have an OTA MM, are you saying I can have root now?

(Where LG removed fastboot commands)

or were you referring LP to MM custom flash to get root?

Thanks,
[T-Mobile LG V10 Android Development] Double0EK:
Yes there is now root for MM. Maybe for about a month now.

You can use the following

http://xdaforums.com/showthread.php?t=3382819

Or

http://xdaforums.com/showthread.php?t=3382631
[T-Mobile LG V10 Android Development] AlphaX:
OH GOOD! Thanks

THought I'd have to sell this phone for a second!
[T-Mobile LG V10 Android Development] muddysmind:
I've searched through the thread and can't find my issue so I'll ask, if it's been answered my apologies for duplication.

I have many backups on my SD card and when I go into twrp the restores section is empty, I have booted into the phone and can clearly see them in

the TWRP folder on my sd card and can also remove the sdcard and mount it in my reader on my pc and see the files all there.

Quick backstory, my V10 died and so I bought a new one, flashed TWRP fine and loaded my rom fine, no issues.

Launched back into TWRP to load my last backup and the Restore option has no entries to restore.

***Resolved***

I discovered the TWRP backups are in a folder with the device ID on it which changed on the new phone.

I made a new backup and it put it in a different folder so I have moved my old backups to the new folder.
[T-Mobile LG V10 Android Development] pantasio:
i have error

fastboot flash recovery twrp.img

target reported max download size of 536870912 bytes

error: cannot load 'twrp.img': No such file or directory
[T-Mobile LG V10 Android Development] Double0EK:
Of course you'll get an error. Fastboot commands were removed after MM. You need to root a different way.

So depending on what Firmware you're on will determine which way you'll need to root.
[T-Mobile LG V10 Android Development] have0:
i have a lg v10 model h901 t-mobile carrier

i am trying to unlock its bootloader by going into devolperoption and selecting Enable OEM Unlock option

when i click on that option it says warning : protection will be removed and warranty will be void

then i select enable

but the its not getting selected

so i am unable to unlock my phone

please help
[T-Mobile LG V10 Android Development] MarkAtHome:
OEM Unlock unlocks your SIM card, not the bootloader. I have no idea how to unlock the latter. :(