yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 General] pedrazamarcos:
I encountered 3 steps that did not mach on my pc: I have windows 10 64bit

1-Open VirtualBox and click New. For Name type FWUL, pick Linux for the Type, and Arch Linux (64bit) for the Version.------>on my pc there is only " Arch Linux 32bit" no big deal I choosed 32 bit and continued.

2-Login. The password is: linux------>Log in where???After U choose "USB and choose LG phone " I don't see anywhere to log in. (I ignored this step and tried to move to next step to see how far i could go but got stock for 3rd time in next step...

3- "In the VM Open Firefox (It is the little icon 4 to the right of the arrow ) and download TWRP "------>I looked for a way to open a browser and wow,this is when i quit.(I actually opened a new window on the browser and downloaded TWRP but i decided to quit at this point.

May be a short Youtube video???
[T-Mobile LG V10 General] runningnak3d:
The board that is in your phone doesn't matter as long as your bootloader is unlocked. You will know it unlocked if you get a warning when you boot.

There is no going back to MM or LP. It won't just bootloop, it will brick your phone.

[MENTION=1892918]lamewolf[/MENTION] Yes, I will report the thread and ask for it to be moved. Thanks!

-- Brian
[T-Mobile LG V10 General] jass65:
there is no proper h901 board.I think its just how lg set up their manufacturing logistics .most people have with h901 will internally have f600 or vs990 boards.
[T-Mobile LG V10 General] NYLimited:
As I understand you need to use 64 bit. The reason you are not seeing that option is because you have Hyper-V installed.

Open Windows Features.

Expand the Hyper-V sub-section

Uncheck Hyper-V, click on OK

Restart the computer when prompted.

Recreate the FWUL module in Virtualbox (remove it if already there and create a new instance)
[T-Mobile LG V10 General] TheEnekaign:
Okay, so I've been following this and I've tried both USB 2.0 and USB 3.0, but I am still getting a USB timeout.

EDIT: I am using VituralBox here.

Terminal output-
[T-Mobile LG V10 General] famewolf:
Did you install the virtualbox extensions? As others have indicated, run it multiple times until it succeeds. A user with nickname starting with jazz pasted their session showing they got the timeout and had to run it multiple times.
[T-Mobile LG V10 General] NYLimited:
Okay, this is getting really silly if you asked me! Perhaps [MENTION=3167089]runningnak3d[/MENTION] can make sense of this one but I sure cannot..

I've been battling this twrp related problem for a while now. Basically, I write twrp to recovery without a problem but cannot boot into recovery.

I have changed the fwul.vdi, re-updated git, flashed several versions of twrp, changed cables and usb ports.. All to no avail. The flash seemed to be successful but could never load twrp.

I finally reflashed the 30C kdz in entirety. Total stock rom. Reflashed twrp. Only boots into Android.

I am totally stock and stuck and ticked off.

I grab another V10, totally stock, running Nougat 30C.

I put it in dl mode and flash it.

I changed nothing in Virtualbox - even used up arrow to reflash with same command line.

Pop battery. Boot into recovey and..

[IMG="v10"]http://ngbutok.com/images/v10pic.jpg[/IMG]

You tell me.. The first V10 works just fine in all ways. It has no issues getting into stock recovery. But it will not run twrp.. How is that possible?

The only thing different about this V10 is that it was repaired by LG. Could they have altered something? You got me....
[T-Mobile LG V10 General] chin'ah.girl:
[MENTION=3167089]runningnak3d[/MENTION] It says it successfully flashed (after trying the command a few times) but when I pull the battery and restart the phone with vol. down it just brings up the default factory recovery screen.

EDIT: Just read the post by [MENTION=770489]NYLimited[/MENTION] and I've also done some of the same things to try to figure this out. As far as I know this phone has never been sent for factory repair.
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] You got me man. I have not a clue what could be different about the phone that won't boot TWRP.

[MENTION=8542717]chin'ah.girl[/MENTION] Are you letting it boot to the OS before trying recovery?

-- Brian
[T-Mobile LG V10 General] chin'ah.girl:
I try not to let it get past the splash screen after the unlocked bootloader screen. Am I supposed to let it fully boot up or does this "erase" the TWRP if you don't get it on the first try?
[T-Mobile LG V10 General] famewolf:
When you say "the factory screen" do you mean the two screens where you have to say yes to continue because you will STILL get those.

To make sure we are on the same page...to get into recovery you have to hold down vol down and power then briefly release and then repress the power button when the black LG screen shows...then answer yes to both the question screens....twrp should then load.
[T-Mobile LG V10 General] runningnak3d:
lamewolf I mean [MENTION=320962]famewolf[/MENTION] (sorry man, I had to that time ;) ), I think you are on to something.

-- Brian
[T-Mobile LG V10 General] chin'ah.girl:
I feel really stupid but yeah that was the problem. I thought it would just go straight to TWRP so I thought something was wrong. My apologies and thank you [MENTION=320962]famewolf[/MENTION] !
[T-Mobile LG V10 General] skywalker-live:
I have a vs990 board also, but when I fully removed the plastic over the board I found that the at the a,t,v,s,c links the t link was soldered. That means a h901.

This post shows the links, one is by the battery connection the other is by the camera could.

https://xdaforums.com/tmobile-lg-v10/general/unbrick-h901-f600l-board-2017-t3635697/post75788253
[T-Mobile LG V10 General] famewolf:
You have to be careful running naked.......

So does anyone have any decent boot screens for the v10? I put a link to one in the v30c thread that installs via magisk and can be used as a model to convert any "old style" ones to the magisk layout but would like more choices.
[T-Mobile LG V10 General] shabbat:
[MENTION=3167089]runningnak3d[/MENTION] [MENTION=7055541]Zacharee1[/MENTION] [MENTION=320962]famewolf[/MENTION] [MENTION=3167089]runningnak3d[/MENTION] After installing virtual box extension that you provided and followed your instructions and SOME of the instructions in this "LafSploit HowTo Thingy.md · GitHub"

https://gist.github.com/zacharee/6aa5fcb56d0a42937869494b12d77da2

It was finally successful man! Really really wonderful, thank you so much, you really saved my phone. Really appreciated man.

(In the first time after installing virtualbox extension and activated usb3, there is still timeout error but i insisted and it succeeded finally)

First i renamed the img of twrp by twrp.img then i putted it to /home/android/Downloads/twrp.img then followed your instructions.

1-Here are what i insisted for each line and used even if sometimes it gave me the timeout error :

cd lglaf

git pull

git checkout v10-miscwrte

./partitions.py --dump laf.img laf

./partitions.py --dump misc.img misc

./partitions.py --restoremisc /home/android/Downloads/twrp.img laf

2-Then Unplugged my device and powered it off by removing the battery

3-Tried to enter to Download Mode again to get to TWRP(by PRESSING VOLUME UP then plugging the usb cable to the laptop)

4-When in twrp, reflashed twrp.img that already in my sdcard

5-Flash magisk

6-Reboot in recovery, i reflashed magisk

7-Then voilà my phone is rooted with 30c. [MENTION=3167089]runningnak3d[/MENTION] [MENTION=7055541]Zacharee1[/MENTION] [MENTION=320962]famewolf[/MENTION]

THANK YOU SO MUCH, you really saved us.
[T-Mobile LG V10 General] runningnak3d:
Thanks man. Glad it worked out for you.

While having TWRP on laf is much better than having laf there, you didn't need to flash to laf first. The V10 has an eMMC NAND, so it is seen as one block device, so you can flash directly to recovery.

-- Brian
[T-Mobile LG V10 General] TheEnekaign:
Got it to flash, however to the life of me it will not boot into recovery. It'll bring up the screen about the unlocked bootloader, then go straight to android.
[T-Mobile LG V10 General] famewolf:
People rooting stock nougat should make sure while in TWRP they delete the recovery-from-boot.p file on /system. This is a copy of factory recovery and can overwrite your twrp with the factory stuff. If you want something "quick and easy" just download the 30c update from it's thread and flash it as it will redo /system and not include that file.
[T-Mobile LG V10 General] shabbat:
Try to enter to Download Mode again to get to TWRP(by PRESSING VOLUME UP while plugging the usb cable to the laptop)

That was i did and it worked.
[T-Mobile LG V10 General] famewolf:
twrp will only be in download mode if you overwrote laf with twrp...the instructions say to overwrite recovery which requires the scenario I previously posted to get to twrp. https://xdaforums.com/showpost.php?p=76150463&postcount=69
[T-Mobile LG V10 General] NYLimited:
When you say default factory recovery.. Do you mean the 2 YES/NO questions about resetting? Or do you mean the little android on its back?

The YES/NO questions are *before* the recovery code is actually ran. Once answering YES to both questions either TWRP or factory recovery will be (should be) loaded...

I'm glad that I'm reading backward.. I just answered the same one the same way.. :D

I'll play more another time and see if it'll cooperate.. eventually.. Thanks for all the hand-holding and such!
[T-Mobile LG V10 General] TheEnekaign:
Massive thank you to [MENTION=5328338]shabbat[/MENTION], as I finally have twrp behaving after following their method using laf. Also another massive thank you to [MENTION=3167089]runningnak3d[/MENTION], [MENTION=320962]famewolf[/MENTION], and everyone else I'm missing for bringing twrp and root back to our V10's. I almost lost hope on it, but now I am excited to see what might come. <3 <3

Yeah, no. I did the download mode way and it did not open recovery. Trying the power + volume down is giving me issues as the moment I release the power button (even just briefly), it brings up the insecure bootloader screen and then goes to Android. Am I missing something? I haven't been apart of the custom android world in a good two years so I am a bit rusty.

I do apologize if it seems like I am being needy or wanting hand holding, I am just a bit lost.

EDIT: I'm going to try it Shabbat's way via flashing to laf and see if that works.
[T-Mobile LG V10 General] runningnak3d:
I will always back port my work to phones I have owned if it is technically possible.

I will say here, what I have said in other model forums ... stop supporting vendors that are not developer friendly. Tell your friends and family, when they ask what kind of phone to buy: "Not LG. Not Samsung. Get an [insert developer friendly OEM here] instead."

-- Brian
[T-Mobile LG V10 General] shabbat:
I'm glad it worked for you too:)

You are absolutely right man.
[T-Mobile LG V10 General] famewolf:
For those who just got root...in the 30c flashable nougat thread I attached a file that contains a list of the bloatware I disabled from both LG and T-mobile from my device using the magisk "debloat" module. It doesn't permanently delete anything (systemless means it's not actually changing the system partition so safetynet will pass....it's making things look like you want on bootup...temp deleting files, pointing to it's img so files can be added etc) so you can always bring an app back if you find you need it. You should review my list as I know I remove some things others will want to keep like the facebook app...twitter...etc.

Take a look at some of the things you can do with magisk: https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758

Now as to supersu....it was sold by chainfire to a chinese company that hasn't done anything to it YET that we know of but personally I'll trust magisk over that any day. It also directly modifies the /system partition so safetynet fails....no android pay...or pokemon go.

I made my first android pay transaction just the other day..used my phone to pay for a $1.50 drink from the soda machine while sitting at the toyota dealership getting some work done...paying with my phone was quite interesting. Google play also has a deal where if you make 5 transactions on 5 different days in april you get $10 in google play credit....they also give $10 to both you and your friend if you should refer them.

If you're feeling generous drop me a pm for a referral link or sign up directly but it's pretty neat overall.
[T-Mobile LG V10 General] runningnak3d:
I have updated the first post with instruction on removing recovery-from-boot.p that will wipe out TWRP if you boot to the OS. -- Thanks [MENTION=320962]famewolf[/MENTION]

Hard to get everything perfect when you don't own the phone anymore (well not a working one) :)

-- Brian
[T-Mobile LG V10 General] pedrazamarcos:
I did this procedure at least 15 times in 2 different computers.

Some computers that do not see the Oracle Virtual Machine in 64bit need to go to control panel/programs/turn on/of windows features/and disable Hiper V.If you still don't see virtual box in 64bit after disabling Hyper V

you need to go into the Bios and ENABLE "Virtualization" feature.Anyways.......

I can see that it writes TWRP_3.2.1_H901 to the phone,but when it finish,

1-I removed the cable and battery,re-install the battery,hold volume down and power,when LG logo appears release and hold power button.It boots to stock factory restore menu.

I do ALL the process again.

it shows it wrote TWRP to recovery,

I remove the cable and battery,

reinstall the battery,hold volume up and connect cable,it goes into download mode.

I have changed the TWRP_3.2.1_H901 to recovery,to twrp to TWRP it doesn't make any difference.

It shows that TWRP was written to phone,but when you try to boot to recovery TWRP is not there.

I am happy for those that were able to root the phone but honestly,there is something missing in this process. But I am still happy because is a lot of progress to see some V10 running nougat rooted
[T-Mobile LG V10 General] famewolf:
I'll ask again....do you mean it boots to the 2 screens that ask you a question which requires you to say YES to continue because those do NOT go away. You have to say Yes to both of them before twrp loads.

If you did not mean those screens then you may be part of the unhappy minority. [MENTION=770489]NYLimited[/MENTION] has multiple V10's...using the identical setup he was able to root 1 of his phones but not the other. It was one he sent off to LG to be repaired so perhaps they had changed something.
[T-Mobile LG V10 General] pedrazamarcos:
the only screens i see are:

1-If i hold vol down and power i see: Delete all user data and reset all settings?

2- Volume up and connect cable i see "Download mode" Firmware update

I will try to copy and post the log on the terminal window
[T-Mobile LG V10 General] famewolf:
From my previous post: "I'll ask again....do you mean it boots to the 2 screens that ask you a question which requires you to say YES to continue because those do NOT go away. You have to say Yes to both of them before twrp loads. "

Entering recovery [ READ THIS ]

To enter recovery power off the phone then hold both the down volume and power at the same time. When you see the black LG screen briefly release the power button and then press it again while not letting the volume down up.

You will see a screen asking if you want to delete all user settings. Say YES

You will see a screen asking if you want to delete all user data. Say YES

You will briefly see the black LG bootup screen.

TWRP will load.
[T-Mobile LG V10 General] pedrazamarcos:
H901 running Nougat Rooted!

YES!! YES! YES!!

I followed your instructions posted above and they worked perfectly!

TWRP loaded after i answered yes to the 2 questions!

As soon i saw TWRP I conected the phone to pc and ran CMD and ran the command in the first post. ( adb shell rm /system/recovery-from-boot.p )

Then i backup everything with TWRP

Then I ran Magisk 16

Finally it's rooted!

I think was rooted the first time i did the process but when i saw the stock Factory reset i stopped.

Thank You all that have worked on this....Especially to runningnak3d thank You
[T-Mobile LG V10 General] pedrazamarcos:
I like to know if there is anyway to network unlock this phone without TMobile's help
[T-Mobile LG V10 General] famewolf:
There are plenty of websites offering unlocking services or find a friend who DOES have t-mobile and have them request an unlock (which as I recall they can do every 6 months)...you should start a new thread in Q&A if you want to discuss this in more detail.
[T-Mobile LG V10 General] famewolf:
Donations

Folks, runningnak3d is wanting to get a v10 again so he can directly support us instead of having to go through intermediaries. Depending on the deal he can find he can replace his V10 for anywhere from $60-$115. If you found his root method useful on your device would it be worth a $5 contribution? I'll even start things off by donating $5 myself and anyone who knows me would tell you pennies scream before I let go of them. ;)

It's the cost of a starbucks coffee, one beer or a couple of fast food burgers but if enough folks do it we can get him the phone. He's expressed some interest in seeing if a V20's oreo rom could be ported over to us and that's something I'd really like to see.

So...$5 paypal donation coming up. You can donate to him here: https://xdaforums.com/donatetome.php?u=3167089 or on the "donate to me" button he has in his profile which is where I got the url from. I removed my personal info and runningnak3d's.

You donated $5.00 USD to runningnak3d@xxx

Thank you for using PayPal

Donation Details

Date:	April 7, 2018 at 11:36:14 PM PDT

Transaction ID:	0BV96687ND385072Y

Purpose:	Donation from famewolf [320962] on XDA Developers (https://xdaforums.com/showpost.php?p=76161733&postcount=93)

Donation to:	runningnak3d

Donation from:	FameWolf

Donation amount:	$5.00 USD
[T-Mobile LG V10 General] NYLimited:
I'm in.. I am trying to get 2 devices rooted - does that mean $10?

Okay, done!

You donated $10.00 USD to runningnak3d@gmail.com

Thank you for using PayPal

Donation Details
Date:	April 8, 2018 at 12:09:21 AM PDT
Transaction ID:	59Y81554PX9344631

:good:
[T-Mobile LG V10 General] NYLimited:
OK, so here's the truth... When the elephant saw [MENTION=3167089]runningnak3d[/MENTION] in the jungle he couldn't resist and had to ask: "How can you breathe through that little thing?"

I only sent Brian $5 to appreciate his work.

The other $5 was for the loincloth...
[T-Mobile LG V10 General] famewolf:
You wanted his loincloth? *raised eyebrow* How pervy of you.
[T-Mobile LG V10 General] NYLimited:
Dude, Brian is [MENTION=3167089]runningnak3d[/MENTION] - he doesn't wear a loincloth! Yikes!

(I should quit while I'm still ahead, huh?)
[T-Mobile LG V10 General] runningnak3d:
I decided to go ahead, since I had the time over the weekend, to turn this into a full blown replacement for LG UP -- yep, Linux users will never have to load up a VM to flash their device ever again. For KDZ flashing, this will work on ANY LG phone -- even the V30, since the SIGN payload is being sent. Writing to partitions without the SIGN payload (like TWRP) will still only work on devices that have a lafd with the COPY opcode, and have unlocked bootloaders.

My next project will be unlocking bootloaders without using fastboot oem unlock -- but I am not going to start that until this is done.

-- Brian
[T-Mobile LG V10 General] famewolf:
Being a linux user this of course sounds great but one question to ask is do we WANT to continue using LG's locked down KDZ format as opposed to the more open flashable zip used by TWRP across many devices outside of just LG? I also ask because if we eliminate download mode then a second copy of TWRP can be stored there.

An alternative to the fastboot BOOT command would be fantastic...people could then keep a copy of laf and twrp and execute whichever one they needed at the time.
[T-Mobile LG V10 General] NYLimited:
Just to follow-up on the V10 that does not seem to take TWRP .. Thus far I am totally puzzled as to how I can write TWRP to the recovery partition yet it fails to load and goes to the /boot partition to load the OS.. So, I tried to be "smart" about it and

Saved laf via "./partitions.py --dump laf.img laf" command

Wrote TWRP to laf via "./partitions.py --restoremisc ~/Downloads/TWRP321.img laf"

Attempted to put the device into download mode via vol-up + usb

The download mode small box flashed on the screen and the device rebooted from the /boot partition (Android)

This is surely unique to this device somehow. No idea why or how. As noted before this device came back from LG repair. No idea what they could have done to it..

Interestingly enough the twrp flash to laf must have been written correctly. Trying to enter download mode now forces a reboot into the os.. The device boots just fine and runs 30C without a hitch but somehow it checks the loading of either /recovery or /laf for what it considers a valid module and forces a reboot when it does not find it..

[ EDIT ] Is it possible to write/flash some of these img files to the device via ADB? Since I cannot place the device into download mode (but I can boot Android with USB debugging on) this becomes an interesting question...
[T-Mobile LG V10 General] famewolf:
You always have the option of buying one of those for parts V10's and having the motherboard swapped out....occasionally you can find those for really cheap if you bide your time. I'm currently trying to find a deal on an old ipod that still uses the 30 pin connectors. I'm installing a device in one of my cars that provides an aux in I can use to add bluetooth...it ALSO provides the ipod interface and the intriguing part is you can control the ipod via the car's radio so would be a cheap method to add 30GB or so of tunes to the car for when the phone isn't linked via bluetooth.
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] The only thing I can guess at this point is that something LG did made it so that even though it looks like your bootloader is unlocked, it isn't actually unlocked, so dm-verity is failing, and forcing a boot into the OS.

Since you overwrote laf, there is no chance of trying that again, but since this phone won't get anymore updates, you haven't really lost anything that you didn't already have.

[MENTION=320962]famewolf[/MENTION] Of course flashing a zip file is the way to go, but if someone wants to go back to stock, or if root isn't even possible on their phone, then flashing a KDZ without LG UP is still very useful.

-- Brian
[T-Mobile LG V10 General] runningnak3d:
DAMN forum double post.

Might as well use this to say thanks to anyone that has sent me a donation. If you read the original development thread in the V20 forums, I was hesitant about including a donation link because IMHO this is something that should have been possible all along. However, after several member hounded me, and reminded me about how many phones I have bricked in the development of this, I decided -- what the heck.

Again, thanks to those that have, but there is absolutely no obligation to do so. I do like me some beer though ;)

-- Brian
[T-Mobile LG V10 General] NYLimited:
Agreed.. I still have an old Nexus 4 someplace also.. :D

Interesting thought.. I can try locking and unlocking the bootloader if fastboot mode still works (it should).. Anyway, the device boots into Android just fine (without root, of course) so no worries. It is more the challenge of things.. :)
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] If I am wrong, and you lock your boot loader, you could end up with a bootloop that you can't fix. Just an FYI ;)

-- Brian