Root H830 WITH TOT file

the.mister.d

Senior Member
Dec 6, 2010
122
24
0
New York
TWRP - Factory reset

Hello folks,

I was successfully able flash rooted TOT file on my TMo-G5.

Before i get started setting it all up, i decided to do a "factory reset" in TWRP (I understand, it's a stock ROM and this wasn't really necessary). I then reflashed SU and DM-Verify ZIP sing TWRP.

After that when i rebooted the phone, i got a white screen saying "Encrypting" on the top and there was "Reset Phone" button.

Phone set there for almost 10 minutes. I then decided to hit the "Reset Phone" button, and phone rebooted, but then it brought me back to the same screen. Phone would not boot in to OS.

I then tried "re-flashing" the rooted TOT file again, using LGUP which ended up in to TWRP bootloop.

I then reflashed Stock TOT and then rooted TOT and flashed SU and dm-verify ZIP. All seem to be working fine so far.

I wasn't sure if we are NOT suppose to do factory reset or I missed something. May be @ jcadduono can shade some light on it.

Thought of sharing with you all, may be it will save some time if someone else decided to do the same.

Thank you,
 

paperWastage

Senior Member
Mar 18, 2009
1,000
496
0
NJ
yay! trying now but after i put the phone to download mode and i can not see a model number on the LGUP in my windows 10 under parallels on my mac. it sees the com port on the virtual machine but model name displays "unknown" on the LGUP software. you guys have any ideas?
Seriously, don't do stuff in a virtual machine

The usb pass-thru drivers may not work properly

Anyways, I had the same issue with mine(model unknown on lgup) , using a laptop that had other junk Android adb/usb drivers installed

Reinstalled OS , make sure usb device tree is clean, and everything worked after
 

flayzeraynx

Senior Member
Jan 22, 2005
189
28
0
Campbell, San Jose
www.ozankilic.com
Seriously, don't do stuff in a virtual machine

The usb pass-thru drivers may not work properly

Anyways, I had the same issue with mine(model unknown on lgup) , using a laptop that had other junk Android adb/usb drivers installed

Reinstalled OS , make sure usb device tree is clean, and everything worked after
i wish to have PC time to time. Being imac owner sucks
i am now able to load lgup when device is not restarted yet. model number selected, tot file loaded but when i hit start, it restarts the phone to the download mode automatically but nothing happens after.
 

paperWastage

Senior Member
Mar 18, 2009
1,000
496
0
NJ
i wish to have PC time to time. Being imac owner sucks
i am now able to load lgup when device is not restarted yet. model number selected, tot file loaded but when i hit start, it restarts the phone to the download mode automatically but nothing happens after.
Don't do stuff in virtual machine

Lgup might be resetting com ports... and your VM doesn't pass through the com ports properly, and nothing happens

Go install boot camp
 

Mike_77

Senior Member
Nov 26, 2010
196
95
28
Hi im stuck in twrp rebooting into itself, im trying to do adb shell, but excuse my ignorance, no devices/emulators found error every time i try to run it, i have unlocked the bootloader. but this adb shell is kicking my ass lol
Just use the terminal feature in TWRP and type these commands:

dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/fota
 

autoprime

Recognized Developer / Inactive Recognized Contrib
Jun 23, 2010
2,638
11,889
203
got it.. ok, i'll postpone my excitement then!
Since i have 2009 iMac, and removed superdrive to install 2nd SSD, i can not install bootcamp via usb :(
I use a mac with vmware fusion for all my Windows stuff.. no issues with LGUP or any LG tools.
Sometimes the computer just needs a reboot for the port to show up.. or maybe reinstall the H830 DLL msi.
And make sure there are no driver issues in Windows Device Manager and that you see the LG Serial port under COM section.

Fiddling around should get it. Or perhaps it IS an issue with something in your specific VM setup or windows setup.. but I just wanted to jump in and confirm I use vmware fusion for everything when I need windows for phone things.
 

kchannel9

Senior Member
Dec 24, 2011
1,034
298
0
California
Worked for me. Will be donating soon, thank you guys so much I much appreciate
Evenyone, please comment in the bounty thread once you have donated, thank you in advance for helping me keep track of the bounty results

---------- Post added at 03:49 AM ---------- Previous post was at 03:47 AM ----------

Will this wipe the SD card? I have tons of pictures and music on it, so I wanted to ask first.
No it will not. Just internal storage.
 

jhasty01

Senior Member
Sep 28, 2009
212
42
0
Worked perfect for me, thank you!

Here's something I've compiled during my root process that may make things easier for people who are having trouble.

The image didn't look too good, so I logged in via PC to paste my notes:












For root and recovery:

1. Install LGUP + DLL H830. Enabable usb debugging + check oem unlock> adb reboot bootloader> fastboot oem unlock.
Enable developer, enable developer options, enable factory oem unlock
adb reboot bootloader
fastboot oem unlock (wait for device erase)
fastboot getvar unlocked -> returns yes
fastboot reboot
2. Put phone downloadmod ( turn of phone> hold volume up connect cable)
3. Open LGUP> Choose UPGRADE > choose file tot extract h830> Start
4. Put phone twrp> flash super su + dm-verify> reboot >Done
When you get into TWRP the first thing you must do is Wipe->Format and wipe all the data. That removes the encryption
adb push blah.zip /sdcard/. Before you can do this, system must be checked under mount.




Enable Developer Options In Android 6.0 Marshmallow
1. Hold Sqare (bottom right) then select System Settings.
2. Go to General then About phone.
3. Go to Software info then on tap build number untill you see a prompt that says ‘You are now a developer!’




TWRP Recovery:
1. Power off device.
2. Hold power and vol down button.
3. Wait until lg logo appears.
4. Release power button only for one second while continuing to hold vol down. After the second elapsed press and hold the power button until it boots into recovery.

OR

adb reboot recovery




If stuck in TWRP bootloop, just use the terminal feature in TWRP and type these commands:
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/fota

OR

Use command adb shell fix:
adb shell
su
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/fota
reboot




How to disable OTAs (might be able to use other methods with root):
adb shell "su -c 'pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver'"
adb shell "su -c 'pm disable com.google.android.gms/.update.SystemUpdateService$Receiver'"
adb shell "su -c 'pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver'"




Android Pay fix (permissions for /su/bin):
run "adb shell"
from adb shell run "su"
from adb shell run "chmod 751 /su/bin"
OR
Use file explorer

To verify:
echo SYSTEMLESS=true>>/data/.supersu
echo BINDSYSTEMXBIN=false>>/data/.supersu


















Sent from my LG-H830 using XDA-Developers mobile app
 
Last edited:

wolfgart

Senior Member
Sep 14, 2007
1,867
1,198
0
Rome
Big thank @wolfu11 and @arjuna_
- LGUP FOR G5: - LGUP_Lab_Frame_Ver_1_11.msi
- DLL H830: LGH830_DLL.msi
- Suppersu: Download
- Disbable DM-verify: Download
- File TOT full add twrp H830: Download

- File TOT stock full h830: https://docs.google.com/uc?id=0Bw8q3gbmF0GnTlk0UDlaWENOTUE&export=download
- Disbable DM-verify (no-verity-opt-encrypt.zip)
MD5: 4ebba8d116bf08b3eb47c4c4f73aaf12
SHA-1: 2663bcc9228907aa2e4a9336b3fb1d8264bc1391

- File TOT full add twrp H830 (LGH830AT-01-V10a-310-260-MAR-04-2016-ARB00+0FULLROOT.tot extracted from the rar of the same name)
MD5: 819b6d8cccb82909fedc390ba88570e2
SHA-1: 58c965ea1142c633aaaf7c196c629805fda03f06
Download all:
1. Install LGUP + DLL H830. Enabable usb debugging + check oem unlock> adb reboot bootloader> fastboot oem unlock.
2. Put phone downloadmod ( turn of phone> hold volume up connect cable)
3. Open LGUP> Choose UPGRADE > choose file tot extract h830> Start
4. Put phone twrp> flash supper su + dm-verify> reboot >Done

Quote:
- IF phone bootloop twrp
Use command adb shell fix:
adb shell
su
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/fota
reboot

Done


******************************************************************************************************************
If Boot Verification Failed error > download stock full flash again>> enabable usb debugging + oem unlock> adb reboot bootloader> fastboot oem unlock> then up file tot add twrp again
https://drive.google.com/file/d/0Bw8q3gbmF0GnTlk0UDlaWENOTUE/view?pref=2&pli=1
Donated: [email protected]
@kwkw480 thank with 20$ donate
great work @tungkick !
 

TheLogicalGamer

Senior Member
Nov 14, 2015
295
122
73
Knoxville
No Bootloader drivers

So thankful! I've finally got the G5 rooted and TWRP'd up proper.

So can TWRP read the internal storage to make backups or no? Do I need to format data or something to make it be able to?



---------- Post added at 09:06 AM ---------- Previous post was at 09:04 AM ----------



You need to have adb installed first. You can read about it in this thread: http://forum.xda-developers.com/showthread.php?t=2141817

You need to download the Android SDK: https://dl.google.com/android/installer_r24.4.1-windows.exe and install it to C:\android-sdk\ Then you need to run the SDK Manager.exe and download the platform-tools. Type cmd in the Windows search bar. Copy cmd.exe from there. Go to the directory where you have installed android-sdk. Go to platform-tools folder. Paste cmd.exe there, right click on it and in the settings, select Run as Administrator. This is where you will enter the ADB commands.

adb reboot bootloader
fastboot oem unlock (wait for device erase)
fastboot getvar unlocked -> returns yes
reboot, get the terrifying triangle warning


Should be good to go!


To get to TWRP enter:
adb reboot recovery
Could you possibly help me done a fresh recovery of my computer & windows still doesn't recognize my phone once it boots to bootloader.

Edit: I'm gonna try upgrading to windows 10 as I'm on 8.1 will report back. Is anyone else having this issue?

Edit 2: Fixed it didn't have to upgrade to win 10. Had to manually point to the correct adb drivers. Sorry guys newb mistake. Apparently it's an issue with 64 bit win 8 onward.

Okay so do I need to put Su and dm verity zip in sd? Or push them through adb after installing twrp?
 
Last edited:

kchannel9

Senior Member
Dec 24, 2011
1,034
298
0
California
Android Pay fix (permissions for /su/bin):
run "adb shell"
from adb shell run "su"
from adb shell run "chmod 751 /su/bin"
OR
Use file explorer

To verify:
echo SYSTEMLESS=true>>/data/.supersu
echo BINDSYSTEMXBIN=false>>/data/.supersu



Sent from my LG-H830 using XDA-Developers mobile app
Can you or someone else elaborate on what this is doing, how and if it works, and how to undo it if desired after applying it? Does it really make Android Pay work again? Especially considering this?
http://www.xda-developers.com/android-pay-no-longer-working-with-systemless-root/


Thanks
 
Last edited:

KillerofJoy

Senior Member
Jul 27, 2013
421
350
0
Louisville
Got Lgup working.. Was getting ShellExecuteEx error because I had another LGup version installed for a V10 before.. Then got stuck in bootloop in TWRP.. Finally figured it out.. Man that's a hell of a process when you mix up to much crap on your PC.. Thanks for root finally.. LOL