• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROOT] HOWTO: AT&T H910 up to v20g (FULLY TESTED)

Search This thread

parag0n1986

Senior Member
May 3, 2015
174
34
35
LG V20
OnePlus 7 Pro
Okay. Yes, I get that it will go from Android 8 back to 7. But when I follow the instructions in Post #1, I still get an error from LG UP that says "DLL for H91020h is invalid".
Have you downloaded the LG up version from lg? I believe I had to do that for my phone to work for some reason. I remember right after I downloaded the actual version and still ran the other version it worked. That or make sure you have all of your drivers the LG ones downloaded and installed
 

DerkWehler

Member
Dec 24, 2010
6
1
Have you downloaded the LG up version from lg? I believe I had to do that for my phone to work for some reason. I remember right after I downloaded the actual version and still ran the other version it worked. That or make sure you have all of your drivers the LG ones downloaded and installed
I read somewhere that the dirtysanta works "up to 20g". But I have 20h (And 20i on another V20). So I am wondering if I have to revert somehow to an earlier one; and wondering if I do a hardware reset on the phone if it might go back pre-20g.
Edit: Nope. Reset to factory and still has andorid 8.0.0 and software H91020H



EDIT: Nope.
 
Last edited:
  • Like
Reactions: parag0n1986

JangTsu

Member
Jan 4, 2018
6
2
I'm following every step and im having a problem between STEP2.BAT and STEP3.BAT, the problem is that when my LG V20 Reboots into fastboot mode it disconnects momentarily from the PC and it stops being recognized by my PC even tho it has been connected in every step. This basidcally means that i can't execute STEP3.BAT because my LG V20 isn't recognized as a fastboot device and its weird because i've installed the LG USB Drivers and i have also installed adb and fastboot through the platform-tools package. What can i do?. P.S My end goal with the phone isn't rooting but flashing official TWRP as a custom recovery ot then flash LineageOS 18.1 for the h910 and Magisk for root
 
  • Like
Reactions: parag0n1986

parag0n1986

Senior Member
May 3, 2015
174
34
35
LG V20
OnePlus 7 Pro
I'm following every step and im having a problem between STEP2.BAT and STEP3.BAT, the problem is that when my LG V20 Reboots into fastboot mode it disconnects momentarily from the PC and it stops being recognized by my PC even tho it has been connected in every step. This basidcally means that i can't execute STEP3.BAT because my LG V20 isn't recognized as a fastboot device and its weird because i've installed the LG USB Drivers and i have also installed adb and fastboot through the platform-tools package. What can i do?. P.S My end goal with the phone isn't rooting but flashing official TWRP as a custom recovery ot then flash LineageOS 18.1 for the h910 and Magisk for root
 

JangTsu

Member
Jan 4, 2018
6
2
Have you tried a different USB cable? That has happened to me before when flashing phones. If that doesn't work try a different port and make sure it's 2.0 USB sometimes it messes up with 3.0
I've tried with several different cables (if the problem was the cable then every other part of the process wouldn't have worked) also my PC doesn't have USB 2.0 ports but i tried from a laptop that does have USB 2.0 ports and i had the same problem as before. I'm using Windows 10 AME so Windows updates are a no go but the laptop i tried to do the process on the second time has Windows 10 Pro and even on that laptop my LGV20 wasn't being recognized when it switched to fastboot mode. What can i do? i'm getting desperate. You know what it's like to try the same process on two different computers and it still doesn't work once the LG V20 goes into fastboot mode
 
Last edited:

JangTsu

Member
Jan 4, 2018
6
2
So i was able to fix the issue i was having with my LG V20 not being recognized as a fastboot device but now i'm having another problem. The problem i'm currently having is that i have tried flashing the official LineageOS 18.1 for the H910 variant with both with official TWRP for H910 and the LineageOS Custom Recovery for the H910 and both ways work for flashing the OS but the LIneageOS 18.1 boot animation freezes and then a kernel crash appears on the screen. This has to be of course a Kernel issue, that's why i flashed the latest Gamma kernel for the H910 but i still have the same kernel crash. What could be causing this and how do i fix it?
 
  • Like
Reactions: parag0n1986

parag0n1986

Senior Member
May 3, 2015
174
34
35
LG V20
OnePlus 7 Pro
So i was able to fix the issue i was having with my LG V20 not being recognized as a fastboot device but now i'm having another problem. The problem i'm currently having is that i have tried flashing the official LineageOS 18.1 for the H910 variant with both with official TWRP for H910 and the LineageOS Custom Recovery for the H910 and both ways work for flashing the OS but the LIneageOS 18.1 boot animation freezes and then a kernel crash appears on the screen. This has to be of course a Kernel issue, that's why i flashed the latest Gamma kernel for the H910 but i still have the same kernel crash. What could be causing this and how do i fix it?
How did you fix the fastboot issue? I used lineage 18.1 on my v20, but I never flashed a different kernel. Maybe try starting the entire rooting process over again. I've had to do it a few times on mine. If you know how, you could extract the boot image from the lineage ROM and flash it. That might fix it if it's just the kernel messing up
 

Darnrain1

Senior Member
Jan 2, 2018
54
14
So i was able to fix the issue i was having with my LG V20 not being recognized as a fastboot device but now i'm having another problem. The problem i'm currently having is that i have tried flashing the official LineageOS 18.1 for the H910 variant with both with official TWRP for H910 and the LineageOS Custom Recovery for the H910 and both ways work for flashing the OS but the LIneageOS 18.1 boot animation freezes and then a kernel crash appears on the screen. This has to be of course a Kernel issue, that's why i flashed the latest Gamma kernel for the H910 but i still have the same kernel crash. What could be causing this and how do i fix it?

Your data partition is still encrypted. You have to install an older version of twrp and do a format then a standard wipe.

recovery-twrp-h910-2018-10-18.img

After you format and do a wipe if you have trouble installing LineageOS upgrade version of twrp.
 

Tosty

New member
Sep 9, 2006
1
0
Hi, I have followed the procedure and everything is working fine, all the steps completed.
But at the end when rebooting I'm on the "secure startup" asking for a password with 25 out of 30 attempts.
Of course before and after I have wiped data several time with TWRP but still asking for a password.
Any clue on how to solve this ?
Edit : I have found the issue : too recent version of TWRP, downgraded to an older one and everything is fine now
 
Last edited:

fire_qc

Senior Member
Mar 2, 2019
74
7
When I m try to dump factory or system partition, it freezes.. Any help.. I m afradi to flash partition if it freezes on dump procedure.. But I successfully PARTITION DL everything
 
Last edited:

Darnrain1

Senior Member
Jan 2, 2018
54
14
When I m try to dump factory or system partition, it freezes.. Any help.. I m afradi to flash partition if it freezes on dump procedure.. But I successfully PARTITION DL everything

So you were able to flash H91510e_00_VTR_CA_OP_1205.kdz?

As far as I know you cant restore your phone from the dump files. You just may want to have a backup of the modem files.

modem_COM5
modemst1_COM5
modemst2_COM5
fsg_COM5
 

fire_qc

Senior Member
Mar 2, 2019
74
7
So you were able to flash H91510e_00_VTR_CA_OP_1205.kdz?

As far as I know you cant restore your phone from the dump files. You just may want to have a backup of the modem files.

modem_COM5
modemst1_COM5
modemst2_COM5
fsg_COM5
Yes was able to put H915 and after dirtysanta, got TWRP. But LineageOS says it for a h910 and it tells that mine is h915.. So I try to falsh the H910 firmware, but LineageOS don't want to install because the devices is . !! Now what can I do to have LineAgeOS on this ****ty phone???
 

Darnrain1

Senior Member
Jan 2, 2018
54
14
Yes was able to put H915 and after dirtysanta, got TWRP. But LineageOS says it for a h910 and it tells that mine is h915.. So I try to falsh the H910 firmware, but LineageOS don't want to install because the devices is . !! Now what can I do to have LineAgeOS on this ****ty phone???

First install this version of twrp.

recovery-twrp-h910-2018-10-18.img

recovery-twrp-h910-2018-10-18.img (The img file can be flashed with twrp you just need to select Install Image, select the file and choose recovery).

reboot into the twrp you just flashed then do a format and wipe.

Then flash the H910-10r.zip
that will convert your phone from H915 to a H910 phone.

Boot the H910 10r version make sure you get into the sigh in screen.

After that you may have to install a newer version of twrp to install Lineageos. The problem your having is your have an older version of twrp and Lineageos is giving you issues when installing it.

twrp-3.5.2_9-0-h910.img

Let me know if you need help or get stuck.
 
Last edited:

fire_qc

Senior Member
Mar 2, 2019
74
7

Darnrain1

Senior Member
Jan 2, 2018
54
14
I flash this with this command : sudo flasboot flash recovery recovery-twrp-h910-2018-10-18.img

This step not working, it says, Zip file is corrupt!


So yes, I'm stuck, thanks for more help
Huh some times if you download a file with Firefox it can corrupt the file. You could try downloading it again with chrome. Also you may want to see how big the file is should be around 2.47 gb

Sound like your running Linux if your copying the file to the sdcard from Linux make sure your always run sync command after the copying is done before ejecting card.
 

fire_qc

Senior Member
Mar 2, 2019
74
7
Yeah I'm runing Linux, since 25 years now! I'm not patient and not waiting after the sync.. Now it works... So for now, I'm with the warning at boot and with the h910.. So now, I'll try to flash recent TWRP and LineAgeOS
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    @parag0n1986
    @Darnrain1

    Thanks a lot for your responses and support. I was finally able to get the H910r zip to boot, and here is what I think worked: I flashed Magisk FIRST after the factory reset (and other wipes stated in the OP) and BEFORE the H910r zip. Additionally, the phone was on the charger while in TWRP and when booting into Android, and I selected (in TWRP) Reboot, then Power Off, waited for phone to go off before pressing power button to boot into Android. Thanks @parag0n1986 for your counterintuitive (to me, coming from the LG G3) suggestion. For all the previous failed attempts I'd flashed Magisk AFTER the H910r zip.

    I'll make the jump to LOS 18.1 at a later date (keeping the updated TWRP suggestion from @Darnrain1 in mind).

    I truly appreciate your support!
    2
    Hello anyone here?
    Please I need the working link for h910-10r.zip

    Its saying its in owner's trash

    View attachment 5404179


    I found it on android file host

    h910-10r.zip

    your also going to need this

    h910_root_pkg.zip
    1
    I found it on android file host

    h910-10r.zip

    your also going to need this

    h910_root_pkg.zip

    Awesome much appreciated.

    I used the OREO approach from this post:

  • 83
    ***WARNING***
    This is ONLY for the H910. If you flash H915 firmware on an H918 -- you WILL brick it.​

    If you are currently on Oreo, you can root your phone, but you CAN NOT keep Oreo - for now. This will downgrade you back to Nougat, which is rootable.

    I know this is a long post, but this is also a complicated root procedure. Please read the ENTIRE post before starting.
    Also, if you run into a problem, please use the search thread box to see if your problem has already been addressed. It will save having to ask the same questions over and over.

    If you want to restore to stock v10q after rooting, you can use this: link.

    Standard disclaimer: There are no guarantees in life. No part of this should brick your phone, but if it does somehow, that is on you.

    This should work on any H910 version, up to v20g, that is no longer rootable by DirtySanta (IE: dirtycow has been patched). It has been tested on 10m to 20g

    • Make sure that you have an SD card that has at least 8 gigs of free space. It CAN NOT be formatted FAT, or FAT32. It needs to be exFat or ext4, otherwise the zip won't fit (2 gig file limit on FAT and FAT32).
    • Make sure you have a working adb environment. I use Linux so hopefully this is a good resource. If not, you will have to Google this yourself: link.
    • Make sure that you have a working WiFi connection. Part of this process involves installing a terminal emulator. Since the phone will have no signal at that time, you use WiFi, or you can side load.
    • Download the H915 v10e KDZ: H91510e_00_VTR_CA_OP_1205.kdz.
      - WARNING: Do not use any newer H915 firmware, as they all have dirtycow patched (v10p, v10q), and I do not know if they increment ARB.
      - If they do increment ARB, then you will be stuck with a phone that can't be rooted, and you can't fix the modem! You have been warned.
    • Download the patched LG UP from this thread: link.
    • Make sure you install it in C:\Program Files (x86)\LG Electronics\LGUP or it will either read the wrong model file (if you had a previous installation of LG UP), or it will not be able to find the model file at all.
    • Put your phone into download mode (power off / hold vol. up / plug in USB cable)
    • Use LG UP to dump your phone. When you run it, there will be additional radio buttons.
      - Pick the one that says DUMP and click Start. You will be asked what partitions to dump, click the "select all" checkbox, and then you can uncheck userdata.
      - This is an OPTIONAL but HIGHLY recommended step. It is a good idea to have a full backup of your phone, but with this new procedure, this is no longer needed.
    • When it is finished, click the PARTITION DL radio button, pick the H915 v10e KDZ that you downloaded above, and click start. Make sure all partitions are checked.
    • Once it is complete, your phone should reboot into a nice new (old) Freedom Mobile ROM (complete the setup), and you may not have signal.
      - If you are on AT&T I understand that you will, but T-Mobile does not. Either way, this is normal.
    • Before continuing, make sure that you enable developer mode, and enable USB debugging. Also, make sure that your PC is authorized (plug the phone in and touch always allow, and then OK).
    • Also go ahead and download a terminal emulator -- NOT Termux. I recommend good old "Terminal Emulator for Andorid" -- the first thing that pops up if you search for "terminal"
    • Download this modified (by modified, I mean it contains all the extras needed to make this work) DirtySanta root package: link.
      - Extract this somewhere that you can run adb and fastboot from.
      - Check the SHA hash: 88a3a0f90c66a486807da3e69e9fb0a08c779efe
    • Download the v10r firmware + boot + system here: link (sorry - no time to dump and package 10v)
      - Check the SHA hash: 5451146030393e490dcfba3558b620badefe75cd
      - This includes v1.0 of the mk2000 kernel
    • Copy the zip, to your SD card, and insert it in the phone.
      - Alternatively, you can use adb to push the zip to your phone while in TWRP. This is NOT supported.
      - I switched to having people flash from SD card because too many people were having problems with adb.
      - If you want, try it, if it doesn't work, don't ask for help -- use the SD card method!
    Open two command windows. In each one change to the directory that you extracted the root package.

    In the first one execute:
    Code:
    adb logcat -s dirtysanta

    Then in the second one execute:
    Code:
    STEP1.BAT

    Wait till you get a prompt back then type (or copy / paste):
    Code:
    run-as con
    chmod 0777 /storage/emulated/0/*

    Now open up your terminal emulator on your phone and type:
    Code:
    applypatch /system/bin/atd /storage/emulated/0/dirtysanta

    Watch the window that has logcat running. When it says to run step 2, execute:
    Code:
    STEP2.BAT

    Once fastboot comes up -- it will be a really small red font that says, FASTBOOT MODE. Once that is up, execute:
    Code:
    STEP3.BAT
    This is flashing TWRP and the WW 2.0 kernel onto your phone. The phone will reboot once they are flashed.
    When it reboots, you will get a very nasty looking warning about the fact that your phone has been compromised and will not boot.
    This is due to running the engineering aboot and is normal -- don't panic your phone will boot. You will see this every time the phone reboots.

    At this point, you have H915v10e and TWRP. You can now boot into TWRP so that we can flash the H910 firmware back onto the phone:
    If you have re-enabled developer mode, and enabled USB debugging, and have your phone connected, you can execute the following in a command window:
    Code:
    adb reboot recovery

    Otherwise just pull the battery, put the battery back in, hold vol down + power till the LG logo appears. Release power, and then immediately press and hold it again until you get to a screen that asks if you want to factory reset your phone. Say yes twice and it will take you into TWRP. If the phone had the stock recovery, it would do a factory reset -- however, since you now have TWRP, that is what you are taken to instead. This is a key combination that is embedded into the bootloader that tells it to execute recovery - in this case TWRP. Hope that clears up some confusion as to why you get a screen asking you to factory reset your phone...

    Now that you are in TWRP you need to do a couple of things:

    • Format data. Wipe -> Format data. It will ask you to type "yes". If you don't do this, you will be prompted to enter a passcode, and will have 30 tries. If that happens, just boot back to TWRP and do this step again.
    • Wipe cache / dalvik cache
    • Flash the zip. Choose "Install" and browse to your SD card, and select the h910-10r.zip file. When complete hit the home button.
    • Now, format data again for good measure....

    Once the second format completes you can reboot your phone, and it will be just like you got it fresh off the factory floor, except it will have TWRP.
    No part of the H915 firmware is left on the phone. The only things that are not 100% stock v10r firmware are ABOOT (it is the US996 engineering aboot that is unlocked. It also gives the nasty warning on boot), BOOT (it is the 10q kernel with a few patches added by @askermk2000 - KCAL, Adreno idler, etc), and of course RECOVERY (TWRP).

    It takes a little while for the first boot -- be patient. It should NOT take longer than 10 minutes. If it does, something went wrong. Boot back to TWRP and try flashing the 10r zip again.

    Now that you have a phone with TWRP, feel free to download whatever root method you would like (SuperSU or Magisk).



    Old, unsupported ROMs will NOT work with the 10p, 10q or 10r firmware.
    If you want to run NATF or WETA (or any old, unsupported ROM that you find floating around these forums) you will need to flash the older 10m firmware: here.
    SHA: 1007dedb6e935b0bea1e25f28e39ccb8e69f9694
    This is JUST the firmware! It has no kernel, or system. You MUST flash a 10m or earlier ROM or your phone will not boot. If you forget, you can always boot back to TWRP and try again.
    The newer kernel should work, but I have not tested it with the older firmware. If it doesn't grab the WW2.0 kernel, it works fine with 10m.


    For the latest kernel, please visit @askermk2000's thread: here

    Do NOT flash firmware for the H918 -- it will brick your phone. Firmware for the other models won't work, but they won't brick your phone.

    Feel free to ask away if any of this doesn't make sense. I really hope that isn't the case now :)

    Most of all -- have fun. That is what this is supposed to be about!


    Again, If you want to restore to stock v10q, you can use this: link.

    Serious credits go out to:
    @me2151 for DirtySanta. Please visit his original thread and hit the thanks button.
    @smitel for Reversing LG UP and figuring out how unlock lab mode. No partition dl, no root on the new firmware. Again, hit the thanks button.
    @Prowler_gr for patching LG UP for the V20 not to mention finding that thread. I never go into the G5 forums, so I would have never seen it. AGAIN -- hit that thanks button.
    @USA-RedDragon for his Werewolf kernel. I know I sure like not having static on boot. Most people get the ability to hit thanks 6 or 7 times a day -- be sure to use up one more.
    @askermk2000 For the new 10q kernel. Dude doesn't even have a V20 and jumped in to help out.

    Seriously, these guys are the real devs, and the ones that have left the V20 scene are missed...

    -- Brian
    8
    FAQ:

    Q1: If I revert to stock will AT&T know that I rooted my phone?
    A1: Nope. Unlike Samsung phones (at least older ones, I don't know about current ones), there is no KNOX style indicator that shows how many times a phone has been flashed.

    Q2: Do we have to flash ALL of the H915 firmware, that seems like a waste?
    A2: You would be correct -- it is a waste, but I am going to need more time to test and make sure that only the XBL and ABOOT need to be flashed AND that doesn't break trusted boot. As I have stated, the H910 and H915 have the same PBL. I ran my phone with the H915 XBL, with the rest of the firmware being H910 and I don't have a brick -- but I did it manually and not though LG UP. When I feel like wiping my phone again, I will test this.

    Q3: Can any other variants be rooted with this method?
    A3: Maybe. I was able to get the patched LG UP to recognize a KDZ that I modified, and it let me flash. My next step is to completely roll my own KDZ. If that works, then ANY LG phone will be rootable simply by flashing a KDZ.
    A3: YES! It turns out that the LS997 is able to use the VS995 KDZ. I have written up a post on the procedure.

    Q4: If that works, and you can roll your own KDZ, can you get around ARB?
    A4: I believe so. Now that we have the ability to take a dump of an unmodified / stock / out of the box phone, we could dump the XBL (this is what updates ARB), and package that up with an older ABOOT. I am mainly talking about H918s here, since all other V20s work with the engineering ABOOT. But it will also apply if AT&T ever increments ARB on the H910.
    Nope, there is no getting around ARB. Once a particular ARB version is blown into your QFPROM, you *MUST* use a boot stack that has that ARB version, and that is basically the entire firmware except for boot, recovery, laf and system.

    Q5: Will the AM&FM Radio still work
    A5: Yes.

    Q6: Why are my boot times longer after rooting?
    A6: In order to unlock the bootloader, an engineering aboot had to be used, and a lot of additional data is generated on boot.

    Q7: Can I return my phone to stock?
    A7: This was addressed in the post above, but I will address it again. Yes. For the link, see the post above.
    5
    @runningnak3d could you update the link from DirtySanta root package?

    all the root files for this thread are in my AFH (in my signature) the root package is here >> https://androidfilehost.com/?fid=1322778262903990218
    4
    Jerry SQ to the rescure, follow these steps to fix signal and data (h910 only):
    1 Dowload US99610f.kdz and F800K10e.kdz firmware, LGUP with patch in the first post
    2 KDZ F800K10e.kdz, partition dl, tick select all, wait for it to boot into rom, install TWRP with dirtysanta steps, boot into TWRP, then select reboot, select bootloader (or using adb, your choice, but the bootloader need to be unlocked)
    3 type these codes in booloader
    fastboot erase modemst1
    fastboot erase modemst2
    4 wait till it done, don't rebooted the phone yet, instead, pull the batterry out, get back to TWRP by hardware button
    5 format your rom, reboot back to TWRP, wipe Cache, System, internall storage, then poweroff the phone
    6 get in dowload mode, KDZ US996 firmware, partition dl, tick select all, boot into rom, if it stuck somewhere, factory reset might do the trick
    7 when it boot up, it will get bootloop after you get in the setup screen (i don't know it'll happen to you, but for me it'll bootloop)
    8 pull battery out, get in dowload mode, KDZ F800K firmware, partition dl, TICK MANUALLY EVERY THING EXEPT BOOT, MODEM, ABOOT, ABOOTBAK
    9 when it done, you will have signal, data mobile again, if you like, you can use F800K firmware or you can follow dirtysanta steps and install any rom you like
    4
    Kernel with some features

    Ok :)

    This one is a bit more experimental. I've looked at some patches from Werewolf and D.O.T.S Kernel, and picked a few compatible ones that looked rather straight forward without risk of complications.

    So we have:
    KCAL - the one that started it all.
    Adreno Idler - Battery savings.
    Disable software CRC checking of SD Card - More performance.
    Remove temperature polling - Battery savings.
    Reduce DSI status check - Battery savings.
    Fixed USB erratic behavior with some chargers.
    Static Screen fixed.
    RCTD removed.

    ^^Let's hope it works :) Would welcome feedback.
    If it works nicely I'll make one for H918 as well.

    --removed-- Look here!