yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Valdetnamani:
Hello guys, I want to downgrade to android 6.0.1, but i can’t find the right(correct) firmware. I have tried a lot of firmwares, but in the end, something won’t work, vibration won’t work, or phone is working too slowly... my csc is: G935FAUT2DRB1. My pda is: G935FXXU2DRB6. In the sammobile webpage I have found android 7 with csc and pda, but android 6 I can’t find, could someone tell me how can i find the firmware? Thank u.
[Android Q&A, Help & Troubleshooting] Valdetnamani:
Thank u, i will try.
[Samsung Galaxy J7 Questions & Answers] wolfen1086:
ok yall I'm back into ell phone usage again after dumping them for a long time, and I have a midrange US Cell Galaxy J7 model number SM-J727R4 Android Version 7.0, all was good till 7.0 updated now it locks up, freezes and is about to fly into a block wall. has anybody developed a way to use odin to root this phone yet?

and install TWRP and superuser? if somebody did PLEASE link me to it before I totally destroy this phone with a brick
[Samsung Galaxy J7 Questions & Answers] TechNash:
I keep finding certain threads on how to do it, but it never works.

:(
[Samsung Galaxy J7 Questions & Answers] wolfen1086:
Yea, me too, this damn J7 is so bad I'm seriously thinking of ceiling US Cell and having my J3 turned back on it was faster, better and the battery lasted longer at idle, the J7 almost got thrown against a block wall yesterday at work
[Samsung Galaxy J7 Questions & Answers] TechNash:
After extensive search I've found a soloution.

T-Mobile put some heavy security on this phone, so it's a bit different then potrayed.

You'll need to flash it through Odin using AP of course, but in the Odin settings turn off auto reboot.

Once the flashing is finished pull your battery, and leave it off for 3 seconds before putting it back in. Hold power up and home for 3 seconds before additionally holding the power button. You should be in TWRP mode. From here go to settings and reboot back into system mode, not bootloader.

TWRP will now be on your device, despite OTA.

Now, this device doesn't have much support from the Android community in general, so always make nandroid backups, and I would really recommend a systemless root like Magisk.

Everything works just fine for me, things like Xposed work just fine too.

https://xdaforums.com/galaxy-j7/j700t-development/recovery-galaxy-j7-sm-j700t-t1-t3560342

Download ^^
[OnePlus 5T  Questions & Answers] stoehner:
Currently on ob4 rooted. What would the best way to get on ob5 with root?

Thanks...
[OnePlus 5T  Questions & Answers] stoehner:
NVM got it
[LG V20 Guides, News, & Discussion] Gabe2014:
Congratulations for this amazing work I been follow your work on your original tread it's amazing !!! I current have the note 8 but I still have a v20 (from what i posting right now lol ) the first was. TMobile and right now I have a Verizon unlock v20 Wich I really enjoying Whit Xposed mode well anyway what I trying to said is you work make me pick up my v20 again and give me some inspiration to learn ... Keep going

UPDATE: I GET A TMOBILE V20 now I have root again, thanks again ?
[LG V20 Guides, News, & Discussion] dudeawsome:
Congrats been following your work since day 1 man the effort paid off. Thanks one man that took on the whole lg dev team.
[LG V20 Guides, News, & Discussion] KanBorges:
Will there ever be a chance for the US998 (US Cellular) ?
[LG V20 Guides, News, & Discussion] TheLogicalGamer:
Awesome can't wait to build lineage for the v20! Now that I have a spare device it'll make learning a lot easier. So now I can test on my current daily driver before adding the mods to my v20 builds. I can't even begin to describe how much this means to so many of us in the community! Especially myself.

That said I'll give it a try tomorrow after work assuming I have friday off & l'll report back asap.

If installing python 3 on windows 10 will the default install settings work? Just wanted to double check. & thanks again man. Amazingly awesome work!

---------- Post added at 01:35 AM ---------- Previous post was at 01:32 AM ----------

He is also working on the locked bootloader devices. I'll let him explain most of the details if he has the time. However if you want to read up on the progress check this thread:

https://xdaforums.com/v20/how-to/laf-download-mode-how-root-t3676011/page92
[LG V20 Guides, News, & Discussion] utka:
omg, you sir are a God! [emoji122] [emoji122]
[LG V20 Guides, News, & Discussion] Zacharee1:
Even though the US998 isn't officially unlockable yet, you can follow this: https://xdaforums.com/lg-v30/how-to/us998-bootloader-unlock-achieved-t3743359
[LG V20 Guides, News, & Discussion] dudeawsome:
https://gist.github.com/zacharee/6aa5fcb56d0a42937869494b12d77da2

working link
[LG V20 Guides, News, & Discussion] runningnak3d:
Thanks [MENTION=5580523]dudeawsome[/MENTION] and [MENTION=7055541]Zacharee1[/MENTION] I fixed the link.
[LG V20 Guides, News, & Discussion] pyrorob:
using the instructions provided, I'm consistently getting a usb device not found runtime error, any advice?
[LG V20 Guides, News, & Discussion] runningnak3d:
If you are on Windows, did you install the LG drivers?

-- Brian
[LG V20 Guides, News, & Discussion] pyrorob:
on windows 10, latest insider build, all drivers installed, v20 detected in normal boot, download and fastboot modes. I'm reinstalling ubuntu just in case something weird happened with it..
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=3505796]KAsp3rd[/MENTION] Join #lglaf on irc.freenode.net

What I need is the GPT -- start LBA / end LBA of misc.

You can get that by running ./partitions.py --list

-- Brian
[LG V20 Guides, News, & Discussion] SMTB1963:
So after entering Download/LAF Mode and plugging in to computer, I get the following error when running the first command in step 6 of [MENTION=7055541]Zacharee1[/MENTION]'s guide:

C:\lglaf>partitions.py --dump laf.img laf
LAF Crypto failed to import!
Traceback (most recent call last):
File "C:\lglaf\partitions.py", line 459, in <module>
main()
File "C:\lglaf\partitions.py", line 406, in main
comm = lglaf.autodetect_device()
File "C:\lglaf\lglaf.py", line 441, in autodetect_device
return USBCommunication()
File "C:\lglaf\lglaf.py", line 297, in __init__
custom_match = self._match_device)
File "C:\Users\SMTB\AppData\Local\Programs\Python\Python36-32\lib\site-packages\usb\core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

As I am a total n00b, I have no idea what this means. :p Any help appreciated!

(using Windows Python install)
[LG V20 Guides, News, & Discussion] runningnak3d:
You didn't pip install cryptography or PyUSB

-- Brian
[LG V20 Guides, News, & Discussion] nickland:
Getting the same backend error. Trying to reinstall just throws up an already installed reply. Windows 8.1

That is, trying to run the ./ cmds and the already installed elements are pyusb and crypt
[LG V20 Guides, News, & Discussion] SMTB1963:
Well I did install those. When I try running pip install cryptography/PyUSB again, I get:

C:\lglaf>pip install cryptography
Requirement already satisfied: cryptography in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages
Requirement already satisfied: idna>=2.1 in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages (from cryptography)
Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages (from cryptography)
Requirement already satisfied: pycparser in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography)

C:\lglaf>pip install PyUSB
Requirement already satisfied: PyUSB in c:\users\smtb\appdata\local\programs\python\python36-32\lib\site-packages
[LG V20 Guides, News, & Discussion] runningnak3d:
I take it you aren't on Windows 10 so you can't install Ubuntu from the app store?

I can see now why [MENTION=5545101]steadfasterX[/MENTION] pushes FWUL (a Linux VM) for things like this. WIndows is such a freaking PITA :)

Hopefully someone that has Windows can help you, otherwise I am going to grab FWUL tomorrow and maybe change the procedure for people that aren't on WIndows 10.

-- Brian
[LG V20 Guides, News, & Discussion] pyrorob:
ok, just tried the whole procedure from start to finish exactly for the second time and am getting the same "usb device not found"

I also tried the non windows 10 method and ended up having the same issue that smtb1963 has, including the laf crypto failed to import message at the top and I do believe that when it says no backend available under usb lib, that these ar basically the same error, no usb communication. I think i am going to try this on a unbuntu virtual box install and see if I get the same error
[LG V20 Guides, News, & Discussion] TheDannemand:
Oh, I see. That was the part I overlooked. Thank you for clearing that up!
[LG V20 Guides, News, & Discussion] runningnak3d:
Make a directory called (case matters) SWupdate

and try again...

-- Brian
[LG V20 Guides, News, & Discussion] SMTB1963:
If you look poll at the top of the page, you'll see that these methods are guaranteed to be 100% safe and effective!

That's 77.78% safe, and 22.22% effective (bad effects) :laugh:

Personally, I tried all the methods and couldn't get any to work. But I've got a lot of confidence in the OP (really smart guy) and I bet he will have a new vdi available soon.

Also, I'm pretty sure the FWUL vdi method will be the only supported method going forward. OP has removed references to the other methods from his initial post. Watch for when he activates a link to the vdi. At that point, any safety issues will likely be resolved.

Cheers!
[LG V20 Guides, News, & Discussion] Zacharee1:
I used adb push because I was being lazy and wanted to see if it would work. Guess it doesn't completely. I'll dd misc when I can and see if my serial comes back.
[LG V20 Guides, News, & Discussion] shrimants:
Alright. I'm just hanging tight in the mean time, im not in any huge rush. I'd be down to try the first method listed on the github site but I want to make sure i have checksums to verify that the kdz file and whatever else I downloaded are correct before attempting it. Too many bad experiences for me not to verify checksums before attempting stuff.

also, Just want to throw in my 2 cents: This particular phone gives me a crazy amount of problems regarding USB cables. never had that happen on microUSB, no idea why its so finnicky about it.
[LG V20 Guides, News, & Discussion] SJMarty:
I used the shell script in the FWUL VM so whatever method that used is how I did it.
[LG V20 Guides, News, & Discussion] runningnak3d:
Whew -- I am glad to hear that. I was going nuts here trying to replicate the problem.

I still would like to hear back from you before I post the updated instructions.

Again, I was on crack (or sleep deprived -- again) updating the VDI everytime I made a change -- wtf, this is source control....

So slight change to the instructions will be:

cd lglaf

git pull

root-h918.sh

I am not done making all the updates yet, so no rush, but if you (or someone else that had the misc problem) can get back to me after using dd to flash it, it would be appreciated.

-- Brian
[LG V20 Guides, News, & Discussion] TheDannemand:
Thank you for that awesome explanation of the process. That cleared up my misunderstanding. I thought you meant to use carrier instead of misc as the temporary destination for the write -- which I now understand is not possible. Piecing together the full TWRP internally (and hash checking it) before copying it to laf sounds like a great solution.

Thanks again!
[LG V20 Guides, News, & Discussion] runningnak3d:
Do you mind sending me your misc dump? Do NOT post a public link, it could still have your IMEI in it. If you aren't comfortable sending that to me, I understand.

-- Brian
[LG V20 Guides, News, & Discussion] SJMarty:
Unfortunately, same message.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=4193208]SJMarty[/MENTION] OK, try SoftwareUpdate

Better yet, what filesystem is on the card?

-- Brian
[LG V20 Guides, News, & Discussion] SJMarty:
SoftwareUpdate gave the same message.

The filesystem is exFAT.
[LG V20 Guides, News, & Discussion] runningnak3d:
Finally we get to the problem. The kernels in recovery and laf don't have exFAT support. :P

Format it FAT16 not even FAT32...

-- Brian
[LG V20 Guides, News, & Discussion] SJMarty:
Just found the same thing in another thread. I formatted it FAT32 with 4096K cluster size and I can browse the card now. Thank you (again and again).
[LG V20 Guides, News, & Discussion] runningnak3d:
Dude, I got you in the mess -- even if indirectly, I will get you out :)

-- Brian
[LG V20 Guides, News, & Discussion] thjubeck:
So just for Info I am currently stuck in fastboot mode on my G5 using a method similar. You can use the regular lg flash tool to flash partitions that are not signed as well. May be easier to load the files there and upload for all people with unlocked bootloaders.

EDIT: LGUP that is
[LG V20 Guides, News, & Discussion] Enismirdal:
Been following this for a while, so I too tried out the VM solution last night. Gave it a few shots with the hash check failing before I saw the post about it failing regardless, so no harm done.

I've the same issue as several others regarding a blank SN, but everything else works fine.

Might be worth a note that, at least in my case (Win10, newer hardware), the VM instance required its USB settings changed from the default 1.1 to 3.0, which also required the virtualbox extension pack. Without that, the script would effectively fail, with plenty of instant USB errors.
[LG V20 Guides, News, & Discussion] TheLogicalGamer:
I keep getting a timeout error when running

pip3 install pycryptodome

Any ideas?

Edit:nevermind finally got it.

Wouldn't install without sudo though.

---------- Post added at 08:51 PM ---------- Previous post was at 07:55 PM ----------

So after installing twrp if I have a missing s/n I need to dd the misc.img back correct? Or would one advise waiting? [MENTION=3167089]runningnak3d[/MENTION]
[LG V20 Guides, News, & Discussion] BadToThePhone:
Once someone successfully roots the phone with the newest Windows method can you please make a video? Thanks so much.
[LG V20 Guides, News, & Discussion] runningnak3d:
Not anymore. As of Nougat, lafd requires the SIGN opcode to write. No more TOT flashing, or single image flashing.

You can not flash images without a signature anymore unless you abuse MISC WRTE -- which is what this does.

-- Brian
[LG V20 Guides, News, & Discussion] runningnak3d:
OMG dude, I forgot ALL about that. Thank you!

-- Brian
[LG V20 Guides, News, & Discussion] runningnak3d:
You can flash it back. If it is corrupt, will have to be fixed either way. It isn't going to hurt anything.

Once you flash it back, please let me know if you get your S/N back.

-- Brian
[LG V20 Guides, News, & Discussion] TheLogicalGamer:
For some reason I'm not getting adb permissions in laf twrp. Booted to move twrp over manually after formatting data, and upon reboot it's not there. Would possibly flashing su via sideload & then using flashify to flash twrp to recovery work?

Also when rebooting into twrp it asks for the password again. When selecting storages it for some reason shows 0mb on internal storage. I check the md5 of the version of twrp I used. Maybe the build itself is bad?

Edit: I could also throw it on my g3's sd & try it that way.

---------- Post added at 09:52 PM ---------- Previous post was at 09:39 PM ----------

Never mind figured it out. Sorry been a while since I've been through the setup process lol. I'll report back after I attempt to flash misc.
[LG V20 Guides, News, & Discussion] rivethead23:
I'm off for the weekend and have my V20 laying around... Did you guys still need the update files? I'll gladly flash back to P and provide all updates
[LG V20 Guides, News, & Discussion] Enismirdal:
No problem! I almost had forgotten - that didn't automagically fix all the usb errors. I was still reliably getting what appeared to be a timeout on the first partition dump step, even though the rest of the steps appeared to complete successfully.

I would've tried this on Ubuntu-on-WSL, but I'm pretty sure WSL still doesn't support communication to devices beyond drives and serial ports. At least, the only way I figured out how to manage was to leave the adb-server running in windows, then connect to it with the same version of adb in Ubuntu-on-Windows, which just feels awfully hacky.
[LG V20 Guides, News, & Discussion] jass65:
Wow, great work OP.Do you think this could somehow work for the H901(v10)?.I know that device is basically dead but i'd still be nice to root it on nougat.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=6262782]jass65[/MENTION] I guess you haven't been to the V10 T-Mobile forums recently -- I posted the instructions there the same day I did here :P

Since the V10 is an eMMC device and you can write directly to recovery, I left the VM and instructions up with a note to just keep trying if it fails.

I will be updating that code base as well just because it is nice to have hash verification.

-- Brian
[LG V20 Guides, News, & Discussion] TheLogicalGamer:
I guess laf won't flash back using adb push either. Probably should have known that as I used to dd a lot. Regardless trying it that way didn't flash laf. Tried dl mode & still got twrp. I'm having issues with adb push in twrp. So I'm gonna boot up & copy it to the sdcard via linux gui. Also would laf be of=/dev/block/bootdevice/by-name/laf ?
[LG V20 Guides, News, & Discussion] jass65:
Wow thats crazy. i was just browsing the main V10 forum not the tmo one.thanks for much.
[LG V20 Guides, News, & Discussion] runningnak3d:
What version of TWRP are you using? I had ver 3.0.2 in the VM because it works flawlessly except for the date. I haven't tested the 3.2 build that is around here, but I know the 3.1 build has issues.

Yes that is the path to laf.

-- Brian
[LG V20 Guides, News, & Discussion] dtv5018:
I have TWRP 3.2.1 and it's been working fine for me.

On other notes, if people are having problem getting into recovery mode like I did with "shut down > VOLUP + Power", I got around it with 3Minit rebooter. If you have a WETA rom or WETA mods, there should be WETA reboot app too.

SuperV20 rewrote LAF and so as mentioned I lost TWRP in Download mode. As pointed out by the OP, install TWRP on recovery.
[LG V20 Guides, News, & Discussion] TheLogicalGamer:
Can confirm my s/n is back after flashing via dd.

Edit: Now have root, twrp on recovery, dl mode on laf. And s/n is back as previously stated. I didn't think wright it down before hand however I don't see any reason why it wouldn't be correct.
[LG V20 Guides, News, & Discussion] runningnak3d:
WHEW! Thanks for the verification. So, all I am going to add for misc then is dump it twice and compare the hash. If it dumps twice in a row with the same hash, then it is a good copy. Again, I have no way to get the hash of something that is already on the phone, so dumping it twice is the only way to be sure .. inefficient, but hey.

Also, I would highly recommend flashing TWRP back onto laf (of course leaving it on recovery as well). It is much more useful than laf. You will never be in a situation where you go: "Man, I wish I had download mode, but I only have TWRP" :)

I am real curious what happened to [MENTION=7055541]Zacharee1[/MENTION]'s misc though. Noise on the bus wouldn't blank out the entire start of the misc dump. Corrupt it, yes, but not zero it out, no.

I don't think I am going to get this finished tonight -- still working and I need a beer. But, my ex has my son this weekend, so I will have all weekend to work on getting this polished up and finished.

Thanks so much to everyone that braved their phones and gave me good feedback on what I needed to improve to make this bullet proof.

To those of you with busted download mode -- looking at you [MENTION=4193208]SJMarty[/MENTION] (BTW - thank you VERY much) but anyone else as well, if someone hasn't gotten an update.zip for you by Sunday, I will do it.

-- Brian
[LG V20 Guides, News, & Discussion] SMTB1963:
I can hardly think of anyone who deserves a beer more than you...great work! :good:
[LG V20 Guides, News, & Discussion] SJMarty:
Yes! That would be f-ing awesome if you could do that.
[LG V20 Guides, News, & Discussion] runningnak3d:
I am doing a dry run with [MENTION=8887759]Masterfireheart[/MENTION]. If everything looks good, I will be posting this ASAP. It should be failure proof now.

Also, this was done quick, so a lot of hard coding.

You can have it quick, or pretty, but not both (at least from me ;) )

I figure people want to root, so I will get this single purpose process out there, and then I will go back and clean it up. For example, you will get twrp-3.0.2. That is what the hash is computed for.

Once you are rooted, you can upgrade if you like.

-- Brian
[LG V20 Guides, News, & Discussion] SJMarty:
Just saw this...sending PM now.
[LG V20 Guides, News, & Discussion] Josh McGrath:
I gotta hand it to you, [MENTION=3167089]runningnak3d[/MENTION]. You're technical support dedication with everyone is impressive and admirable.
[LG V20 Guides, News, & Discussion] Sachiru:
So what are the chances of getting this working on the Korean models? We do have root with DirtyCOW but were forced to stay on very old (October 2016). It would be nice to get root on the latest firmware...
[LG V20 Guides, News, & Discussion] runningnak3d:
Why are you forced to stay on very old firmware?

-- Brian
[LG V20 Guides, News, & Discussion] darkknight1812:
I flashed to the misc partition using the dump from the python script (earliest version) with dd, and my s/n is still blank. I have the actual serial number (listed on the box and behind the battery), I just need to know what offset to input it.
[LG V20 Guides, News, & Discussion] social.catastrophe:
So far things are smooth for me, happy with magisk. Had the serial number issue too, but dropped into an elevated adb shell and used dd to fix it, so all is wonderful. Brian, you dont know me from adam, but still, amazing and impressive work, and now I see that you are getting the process even more refined. I think I'm gonna reflash to stock, full update to 10s or t or whatever, flash 10p laf, and do it again. Things seemed somewhat smoother and snappier with 10s, but it may just be in my head.

Still and all, amazing work. Sorry for rambling, I get toasted and **** around with my technology and it doesnt always help in communication lol.
[LG V20 Guides, News, & Discussion] runningnak3d:
You don't need to flash back to stock to go to 10s. Install the SuperV20 ROM and you will have 10t. If you really want 10s, there are flashable zips for that as well.

-- Brian
[LG V20 Guides, News, & Discussion] social.catastrophe:
Its not a matter of doing it easy! :D This is my first LG phone in a couple years, and I got used to samsung, so I gotta retrain my brain lol

But I'll probably end up going with SuperV20 in the end.
[LG V20 Guides, News, & Discussion] nickland:
So, I dont know what to do. Still geting timeout errors and hash check fails. Afraid to reboot because op says not to and lgup doesnt see phone in download mode. What should i do?
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=1389880]nickland[/MENTION] what version are you on? If you are on 10p, q or r. Reboot your phone. You will either have TWRP, or you will have lost download mode which you will get back when you take the OTA to 10s or 10t.

Otherwise, if you can wait another 12 hours or so, I will be able to post the fixed procedure.

-- Brian