yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG V10 General] TheEnekaign:
I actually just used runningnak3d's 30d flashable zip, debloated it (got rid of a lot of the T-Mobile stuff, some stock LG stuff that I never use, Facebook, YouTube, etc), and added Google's framework (snagged from a Magisk module, couldn't find it anywhere else), a custom boot animation and some sounds using SuperRKitchen, rebuilt the zip and called it a day. Was looking at maybe figuring out some other mods, but haven't gotten around to it yet.

Actually, what I want to do is build a ROM for this phone, but I haven't had much luck with that so far.
[T-Mobile LG V10 General] KashPanda:
Using Linux for more than just the V10

Is there anyway i can use this method for any other than the V10 i mean i know its not really practical but can someone direct me to the Linux users area where i can root devices using Linux
[T-Mobile LG V10 General] sinkoo1979:
would this work on Korean variant F600K?
[T-Mobile LG V10 General] amagretarifaldi:
im still fail, :')

can you help me dear Brian-,

i still fail use FWUL methods to instal twrp, i used virtual box includes extensions.. but still fail :')

running on H901 v30d hope you solved my case dear Brian-, :crying:
[T-Mobile LG V10 General] runningnak3d:
You need to paste the output so I can see what is failing.

-- Brian
[T-Mobile LG V10 General] shoaibrao:
My Fone Have H90130d Firmware

Is It Possible To Downgrade?

Or

ROOT Possible ?

I Want To Root For Unlocking

Need Help Plz

Thanks Anticipation
[T-Mobile LG V10 General] Blard23xx:
I dont think it is possible to downgrade... And you need unlocking bootloader BEFORE root. Or you risk to brick your device.
[T-Mobile LG V10 General] shoaibrao:
I Failed To Root On 30D

Need More Help Please

Thanks Anticipation
[T-Mobile LG V10 General] Blard23xx:
I'm here for the same problem. I hope that someone can help. I'll wait.

Thanks you all
[T-Mobile LG V10 General] NYLimited:
There is nothing in your post that would let someone help. No idea what you saw or what happened.

Best guess is you missed a step from the instructions or typed something wrong.

Try it again, slowly, making sure every space or character is typed exactly. It works.
[T-Mobile LG V10 General] shoaibrao:
H90130d Possible To Root?

Any One Succeeded To ROOT On H90130d

May Be I M Doing Some Thing Wrong
[T-Mobile LG V10 General] Blard23xx:
Hi, I really want to try this method and seems to me that you definitely know more about it. It is possible unlock bootloader on nougat?? The ADB command are changed and doesn't work "OEM unlock etc etc". Because I want try to root this phone but with bootloader lock I fear to brick it. I've tried to return on android 6 flashing an original rom (downgrade) but it gave me always error. Thanks

(and sorry for my english)
[T-Mobile LG V10 General] rsr911:
This NEVER works with the factory white cord FYI. Use a good cord.
[T-Mobile LG V10 General] D200P13:
tried several times but when i go into recovery it just starts erasing so yet bootloader says unlocked and oem is unlocked and i dont get any errors when doing ./step1.sh
[T-Mobile LG V10 General] TheEnekaign:
I've rooted the 30D a couple of times (H901, just to be clear), after stupidly bricking my phone and having to start over from the kdz. I use an old-ish method that's on like page 8 of this thread, and it hasn't failed me yet.

Basically, it's:

- Making sure bootloader is unlocked

- putting TWRP on the laf/download partition

- - Sometimes it takes a few times before the command is actually successful, but eh, it works.

- booting to download mode (Volume Up while plugging the usb cable in)

- flashing twrp to the recovery partition that way (through the image update thing)

- rebooting to recovery twrp through laf twrp

- wiping then flashing the 30c/30d flashible zip that's around this forum, as it removes the factory overwrite thing

- flashing Magisk

- Good to go!

Again, for all I know the script does this, but I haven't had a look at it since the old way had always worked for me. I can try to help some people out though, if they need it. (:
[T-Mobile LG V10 General] it'sup:
Worked like a charm on the T-mobile V10. Even used this method on my Lg V20 and V30 no issues. Thank you very Much sir!
[T-Mobile LG V10 General] grayfoxmg1:
App install error's. So I've rooted my phone using this method, a long with installing twrp. Since then I've run into this error where I cannot install/update apps from the play store. It will either give me a 963 or a 903 error when it tries. I've cleared my caches, both in app and in twrp. I've also flashed 2 different nougat and one mm rom to and have experienced the same issue. I would really appreciate some help in getting play store to work.
[T-Mobile LG V10 General] D200P13:
I was on this of my phone and installed a bad module on magisk that made my phone boot loop. Went in to recovery and uninstalled magisk which booted fine. Reflashed the magisk file and booted fine. Was installing modules that worked and rebooted. Now it's giving me a fastboot and can't do anything. Should I re run this USB?
[T-Mobile LG V10 General] Faziii Butt:
Lg V10 T-Mobile

Guys, how are uhh doing today? :angel:

so I updated my phone from H90110c 5.0.1 to H90130b 7.0 using LG Bridge. Now its hardbricked and when connecting to Windows, Windows says the device malfunctioned. The phone is not turning on at all. I cannot return it as I don't live in a T-Mobile country. I have to try to fix it myself. i want to my personal data :crying: :crying:

Is there any solution?

Thank you!
[T-Mobile LG V10 General] applebapple:
I need help. I ran the./step2.sh script, and now I can't install apps from Google Play or sideload APKs. How do I fix this?
[T-Mobile LG V10 General] daurisfco:
Where is SuperSU? After I rooted my device I didn't see it and when I tried to flash a zip with TWRP, it got a LG logo bootloop.

I'm going to try to flash a KDZ and try to do those steps but I'd like to know if there's a way to install SuperSU after this root method, thanks in advance.
[T-Mobile LG V10 General] daurisfco:
Root done but now I can't install apps.
[T-Mobile LG V10 General] Frescard:
I'm not quite sure where to enter this "./step2.sh" command. Do I do this directly in TWRP, or from ADB, or from the Linux prompt?
[T-Mobile LG V10 General] secretsubscriber:
I know this is an old thread but did anyone figure out this issue?

I ran ./step2.sh and it flashed Magisk.

After the reboot, I was unable to install any apps. Does Magisk Manager need to be installed before Magisk is flashed?

I flashed a KDZ and then flashed SuperSU, and I have root. So i'm ok. But I'm curious what the issue is here.

Thanks
[T-Mobile LG V10 General] NYLimited:
Yes, the MD5 is identical....
[T-Mobile LG V10 General] shabbat:
[MENTION=3167089]runningnak3d[/MENTION]， [MENTION=320962]famewolf[/MENTION], it gave me the same error message too. And Sometimes it gives something like this :

./partitions.py --restoremisc ~/Downloads/twrp.img recovery

2018-04-06 08:50:09,824 partitions: INFO: Done after writing 32796672 bytes from /home/android/Downloads/twrp.img

I thoughts it succeeded then tried to boot to recovery but there is nothing there, the phone but to download mode again.

./partitions.py --restoremisc ~/Downloads/twrp.img recovery

Traceback (most recent call last):

File "./partitions.py", line 460, in <module>

main()

File "./partitions.py", line 410, in main

lglaf.try_hello(comm)

File "/home//lglaf/lglaf.py", line 401, in try_hello

data = comm.read(0x20, timeout=HELLO_READ_TIMEOUT)

File "/home//lglaf/lglaf.py", line 240, in read

buff = self._read(need, timeout=timeout)

File "/home//lglaf/lglaf.py", line 359, in _read

array = self.usbdev.read(self.ep_in, 2**14, timeout=timeout)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 988, in read

self.__get_timeout(timeout))

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 833, in bulk_read

timeout)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 936, in __read

_check(retval)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check

raise USBError(_strerror(ret), ret, _libusb_errno[ret])

usb.core.USBError: [Errno 110] Operation timed out
[T-Mobile LG V10 General] runningnak3d:
[MENTION=320962]famewolf[/MENTION] is correct, laf is larger than recovery, so when you dump there is whitespace at the end. Without trimming that that hash will never match.

OK, so we need to test a few things. I assumed (and you know what happens when someone does that) that since the V10 was so old they wouldn't have pulled the COPY opcode via an update. But it looks like they may have.

When I get into work, I will grab the latest Nougat release for the V10, and double check. If they did, you will have to flash an older laf partition that is still Nougat.

Has anyone patched the LG UP DLL to unlock store mode for you guys?

Also if someone could run ./lglaf.py --debug

Paste the output

Then at the prompt type:

ls

Paste the output

lsof

Paste the output

And finally

!OPEN

!MISC READ,0,100

And paste the output

Finally you can type exit.

The ! In the above is not a typo.

-- Brian
[T-Mobile LG V10 General] famewolf:
[MENTION=5328338]shabbat[/MENTION] [MENTION=770489]NYLimited[/MENTION]

Did you do an oem unlock first so that the program can write to the recovery partition? Otherwise it would behave as you saw..look like it worked but failed.

---------- Post added at 11:04 AM ---------- Previous post was at 11:02 AM ----------

They are not installing to laf....they are installing to recovery however it is also larger than a stripped recovery...so when they dump it, it will be size of recovery and still not match the md5sum's......linux has a command to strip off zero filled space at end..I just have to remember it.

Ok posted command below. No one has patched lg_up for v10 users although there was a replacement program (something like "upcheck" that allowed a larger amount of phones to use lg_up by generating a config for the devices)
[T-Mobile LG V10 General] shabbat:
[MENTION=320962]famewolf[/MENTION] of course oem is unlocked, in fastboot mode fasboot getvar unlocked gives yes. I'm using windows 10 and virtualbox; And in Virtualbox devices under USB it can see my LG v10 and i checked it well. . Today i tried linux mint but my knowledge about it is noob's one so i give up linux hahahahahahaha. Please help us, i'm looking forward to root it then block 2big cores by flashing modified boot.img then give it to my wife.

Thank you so much
[T-Mobile LG V10 General] famewolf:
If you do "resize2fs -M test.img" it should strip it down so an ls -l shows both test.img and the twrp.img being identical sizes...and an md5sum should match. If it does then it's being unable to actually write to the partition (locked bootloader) and is losing the changes when you reboot.

---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------

Please check the list of commands [MENTION=3167089]runningnak3d[/MENTION] gave you a couple of posts above and put the results of them here.
[T-Mobile LG V10 General] runningnak3d:
Just curious, are you guys booting back into the OS and then trying to get to recovery? If so recovery-from-boot.p is overwriting TWRP. Once you flash, you have to power off the phone and use the key combo to immediately boot to TWRP and flash Magisk.

-- Brian
[T-Mobile LG V10 General] shabbat:
Here are them:

[android@fwul lglaf]$ ./lglaf.py --debug

LGLAF.py: DEBUG: product id in CR list: >G4<

LGLAF.py: DEBUG: Device is: 633a, G4. Enabling Challenge/Response!

LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)

LGLAF.py: DEBUG: Using Protocol version: 0x1000006

LGLAF.py: DEBUG: CR detection: 1

LGLAF.py: DEBUG: Hello done, proceeding with commands

LGLAF.py by Peter Wu (https://lekensteyn.nl/lglaf)

Type a shell command to execute or "exit" to leave.

#

# ls

LGLAF.py: DEBUG: Challenge: b'face3f67'

LGLAF.py: DEBUG: Response: b'5a14a65f9b9cb9517d9a50d305d7a1d4'

LGLAF.py: DEBUG: KILO METR Response -> Header:

b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0',

Body: b''

acct

bugreports

build.prop

cache

charger

config

d

data

default.prop

dev

etc

ffu

file_contexts.bin

fstab.fota

fstab.laf

fstab.pplus

init.class_main.sh

init.environ.rc

init.factory.minios.chcon_keystore.sh

init.factory.minios.chcon_vold.sh

init.laf.etc.rc

init.laf.spr.usb.rc

init.laf.usb.configfs.rc

init.laf.usb.rc

init.laf.wifi.rc

init.laf_cpu.rc

init.laop.rc

init.lge.atd.rc

init.lge.audio.rc

init.lge.early.rc

init.lge.fingerprints.rc

init.lge.fs.rc

init.lge.log.rc

init.lge.modem_log.rc

init.lge.power.rc

init.lge.pss.rc

init.lge.rc

init.lge.sensors.rc

init.lge.svelte.rc

init.lge.usb.configfs.rc

init.lge.usb.default.sh

init.lge.usb.rc

init.lge.usb.sh

init.miniOS.H2.rc

init.miniOS.OST.rc

init.miniOS.aat.rc

init.miniOS.config.rc

init.miniOS.environ.rc

init.miniOS.mfts.rc

init.miniOS.rc

init.msm8992.crash.sh

init.msm8992.sensor.sh

init.msm8992_core.rc

init.pplus.power.rc

init.pplus.rc

init.pplus_core.rc

init.pplus_product.rc

init.qcom.class_core.sh

init.qcom.rc

init.qcom.sh

init.rc

init.recovery.pplus.rc

init.target.rc

init.time_in_state.sh

init.usb.configfs.rc

init.usb.rc

init.zygote32.rc

init.zygote64_32.rc

init_permissive

lge.fota.rc

lge.fota.update.rc

mnt

oem

persist

persist-lg

proc

property_contexts

res

root

sbin

sdcard

seapp_contexts

selinux_version

sepolicy

service_contexts

set_emmc_size.sh

storage

storage_list.xml

sys

system

ueventd.pplus.rc

ueventd.rc

vendor

verity_key

#

For lsof it was too too too long, but for others here are them:

# !OPEN

LGLAF.py: DEBUG: Challenge: b'497a1e5e'

LGLAF.py: DEBUG: Response: b'3820b425727cbb6fc53f4b918a9cfcd6'

LGLAF.py: DEBUG: KILO METR Response -> Header:

b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0',

Body: b''

LGLAF.py: DEBUG: Header: b'OPEN' b')\0\0\0' b'\0\0\0\0' b'\0\0\0\0'

b'\0\0\0\0' b'\0\0\0\0' b'O\xb2\0\0' b'\xb0\xaf\xba\xb1'

#

# !MISC READ,0,100

LGLAF.py: DEBUG: Header: b'MISC' b'READ' b'\0\0\0\0' b'd\0\0\0'

b'\0\0\0\0' b'd\0\0\0' b'\x13\x90\0\0' b'\xb2\xb6\xac\xbc'

si-v-back-porch-rev1qcom,mdss-dsi-v-front-porch-rev1qcom,mdss-dsi-on-command-rev1lge,mode-change-#

If lsof is really needed I'll copy those lines that I can copy here but I'm afraid it is too long to be posted here.
[T-Mobile LG V10 General] famewolf:
You can always paste the results of lsof to https://pastebin.com/ and then provide the url to it here.
[T-Mobile LG V10 General] NYLimited:
Not that I have seen..

The captured text is way too long for pasting here..

Please see attached text file with captured/copied info...
[T-Mobile LG V10 General] NYLimited:
Not intentionally... :D

Immediately after the flash/write completes in terminal I disconnect the USB cable, pop the battery and go to recovery via down-arr + power

I get the traditional "reset" dialog from the V10, select yes two times..

It displays the boot time error (due to unlocked bootloader) and indicates device will shut off after a while..

Sits for several seconds..

Reboots (no recovery)

Loads Android (tmobile logo).. at which point it likely overwrites recovery

Boots into Android, new device setup

I did but got an error:

"Bad magic number in super-block while trying to open test.img
Couldn't find valid filesystem superblock.
[T-Mobile LG V10 General] runningnak3d:
While I am waiting for v30c to download, what version are you on [MENTION=770489]NYLimited[/MENTION] and [MENTION=5328338]shabbat[/MENTION]

I am going to decompile the lafd in v30c to make sure that it has all the opcodes needed. If not, you may have to flash back to v30b to make this work.

NVM - download finished and everything is in order. WTF!?!?

-- Brian
[T-Mobile LG V10 General] NYLimited:
I'm reasonably sure I'm on 30C but will have to check to be absolutely certain..

I have 30B and 30C on my Google drive, along with current TWRP and MM versions, etc. If you or anyone else needs them..

Any chance that my generic fwul iso differs from yours and said difference can create issues?

I can dl yours in a while and try if you think it matters...
[T-Mobile LG V10 General] shabbat:
After flashing I already tried to get to recovery but there is no twrp.

[MENTION=3167089]runningnak3d[/MENTION]

I'm on 30c. Thank you so much for your hard work.
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] The only difference is that I have the repo already cloned and I made some scripts to flash the H918 since it is a much higher risk (they lose download mode if it fails).

I have a feeling I have a typo in the chunksize or misc_start. Can you:

1 - give me a ./partitions.py --list

2 - Try and flash recovery, and then after it flashes ./partitions.py --dump recovery.img recovery

and send them to me. I want to see if I am off my 512 bytes, or of it isn't trying to flash at all, or what the deal is.

-- Brian
[T-Mobile LG V10 General] runningnak3d:
So, thanks to [MENTION=3708085]Enismirdal[/MENTION] over in the lafploit thread, he reminded me of a very crucial piece of installing VirtualBox.

1 - Download the VirtualBox extension pack

2 - Go to File / Preferences / Extensions / click the + and browse to where you downloaded it.

3 - Once installed, with the VM off, right click on the VM, and go to settings. Click on USB, and pick USB 3.0. If your machine doesn't have a USB 3 port, pick 2.0.

This will solve all the timeout errors.

-- Brian
[T-Mobile LG V10 General] jass65:
deleted
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] -- that recovery.img that you posted IS TWRP.

abootimg -x recovery.img
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
abootimg-unpack-initrd
27359 blocks
cd ramdisk/
ls
charger default.prop etc init init.recovery.hlthchrg.rc init.recovery.usb.rc proc res seapp_contexts sepolicy sys tmp ueventd.rc
data dev file_contexts init.rc init.recovery.service.rc license property_contexts sbin selinux_version service_contexts system [B]twres[/B]
cd sbin/
ls -al twrp
-rwxr-x--- 1 swango swango 9776 Apr 6 18:14 twrp

And yet you can't get it to boot? Makes no sense.

Are you SURE this is a good build for the H901 with Nougat? Can you try and flash a build that someone that is already rooted with Nougat is running? Like [MENTION=320962]famewolf[/MENTION] :)

-- Brian
[T-Mobile LG V10 General] famewolf:
He's using the same one I have installed...downloaded directly from the androidfilehost with a verified md5sum that matches mine and the one generated by androidfilehost. If you check the twrp thread you'll find several folks have flashed that twrp without issue and [MENTION=770489]NYLimited[/MENTION] even has the same TWRP flashed on his rooted V10 (he has multiple ones) without issue so it's not the twrp.

If in doubt, you could always flash the older twrp 3.0 img that is also available in the v10 android development forum.
[T-Mobile LG V10 General] NYLimited:
I know I'm missing something but ... Are you saying the recovery image (twrp) flashed correctly?

The V10 boots just fine into Android. It is loading twrp that eludes me for some reason.. Of course, I did not try it after the very last flash... (scratching head)

I tend to agree - the very same version is indeed running on my other V10. Of course, it did not go through Google drive and another download. I can certainly try another version of twrp - I do have several on Google drive..
[T-Mobile LG V10 General] jass65:
works, very well written up and easy to follow instructions.Thank you Brian!

also had timeout errors but just kept inputting the command over and over eventually it worked.
[T-Mobile LG V10 General] famewolf:
1) Did you use virtualbox or boot via a usb/cd?

2) You've successfully booted into twrp after the flash?
[T-Mobile LG V10 General] jass65:
1)yes virtualbox

2)yes flashed su in twrp everything works fine
[T-Mobile LG V10 General] famewolf:
[MENTION=3167089]runningnak3d[/MENTION]

Well there's your success story. Still confusing why it's not working for two others though.
[T-Mobile LG V10 General] Arr123:
Am I understanding correction that the OTA 7.0 update with ARB and all that is now root-able?
[T-Mobile LG V10 General] famewolf:
All this method does is allow people to flash TWRP to recovery. Nothing to do with ARB and no you are not going to reverse the "anti rollback".

---------- Post added at 07:47 PM ---------- Previous post was at 07:46 PM ----------

The device with nougat (android 7) on it can install twrp...which then allows applying root (magisk) as the thread topic states.
[T-Mobile LG V10 General] NYLimited:
Here's what I did a little while ago.. I downloaded your version of fwul and installed it in virtualbox. Kinda started from scratch. Installed the USB addon. Now, there is *some* difference someplace because the sluggishness I mentioned to [MENTION=320962]famewolf[/MENTION] is totally gone using your vdi.

Flashed twrp img, pulled cable and battery, restarted in recovery mode, answered yes twice.. After the timeout (due to unlocked bootloader) screen flashed and booted to Android. It was as if no bootable twrp existed in the recovery partition.

Yet, you're telling me that twrp was written to recovery.

I'm surely missing something but not certain what.. I will try another version of twrp next. After that, perhaps another V10. Not really sure....
[T-Mobile LG V10 General] runningnak3d:
[MENTION=770489]NYLimited[/MENTION] I am at a loss. I would be searching the code if I hadn't gotten confirmation that this worked on the H901.

I think you are right about trying another version of TWRP.

-- Brian
[T-Mobile LG V10 General] runningnak3d:
I updated the first post to add instructions about install the VBox extensions so that you can have USB 3. That is why all the timeouts were happening, USB 1.1 is SLOW.

-- Brian
[T-Mobile LG V10 General] TheEnekaign:
Have a quick question. Will this method work on a TMobile v10 that has a VS990 board rather than the proper H901 board?

(I am actually unsure what board I have, as I haven't been able to check, but I know other people will likely ask. I will be checking what board I have as soon as I get home, however. )
[T-Mobile LG V10 General] famewolf:
If the bootloader is unlocked it's something you can TRY although you'd need to run the command to get a list of partitions first to ensure recovery is in same place/same size.....if you have a verizon or at&t phone that can't unlock the bootloader this won't work in that situation.
[T-Mobile LG V10 General] TheEnekaign:
My phone is still a TMobile v10 that can have the bootloader unlocked, and I think I have already unlocked it, not sure there. I'll run the command on my laptop that has Ubuntu installed, and see how it goes. I'll report back here if it works.
[T-Mobile LG V10 General] famewolf:
For ubuntu you might need to look in the other "root method" thread for the post about dependencies to install PyUSB and the 2nd dependency via some "pip install" commands. I had to do that on my linux mint setup.

*update* I looked it up... https://xdaforums.com/showpost.php?p=76134256&postcount=97

If worse comes to worse you can always reflash LG's nougat KDZ and be back where you started.
[T-Mobile LG V10 General] AC.E:
With it being possible to downgrade to Marshmallow with this root will it also to be possible downgrade to the 5.1.1 lollipop stock OS?
[T-Mobile LG V10 General] famewolf:
Downgrading to MM will get you nothing but a boot loop....it flat out won't let you downgrade to lollipop due to the anti rollback counter.

---------- Post added at 09:31 PM ---------- Previous post was at 09:17 PM ----------

@runningnak3d

Are you sure this shouldn't be in android development?
[T-Mobile LG V10 General] TheEnekaign:
Okay, come to find out I do have a VS990 board, I will get back to you all with how this goes.