[INFO] Autoprime's All-in-One G5 Thread (Updated April 11 2017)

Search This thread

autoprime

Recognized Dev / Inactive Recognized Contributor
Jun 23, 2010
2,642
11,912
G9IoUgU.png

LG G5 ALL-IN-ONE THREAD

Making a thread where I can throw random info about the G5 in one place. Will add to this as we go.
See the changelog in post #2 to keep up with what's been added.

Woo! As of April 20th this thread is now a Sticky. Not sure what the process was of making this happen but thanks to any mods involved and to all the users who 5-star'd this thread.

Drivers:
1. LG PC Driver Installer
2. LG Mac Driver Installer
3. LG Hi-Fi Plus PC Driver
4. Download from Codefire

LG Bridge:
Official LG tool for PC/MAC to update or restore your phones stock software (not available for all devices.. ex: AT&T, Sprint).
Also move pictures, music, and other files between your phone, tablet, and computer. More info here.


1. Download PC LG Bridge Setup EXE
2. Download Mac LG Bridge Setup DMG
3. Download from Codefire

Miscellaneous LG Downloads:
LG VPInput - LG VPInput is a great way to remotely control your Android Smartphone with the mouse and input text with the keyboard on your PC. You also have the ability to send an immediately captured screen image of your Android Smartphone and share the clipboard text between your Android Smartphone and your PC. More info here
1. LG VPInput Android APK
2. LG VPInput PC MSI
3. LG VPInput Mac PKG
4. Download from Codefire

LG 360 CAM - The LG 360 CAM lets you capture full 13 MP 360° photos and record 360° video in 2K. You can even use your smartphone as a remote control to see what you’re recording, in real time. More info here
1. LG 360 CAM Viewer PC EXE/MAC DMG
2. Download from Codefire

LGUP and LG Flash:
LGUP and LG Flash are official *internal* tools by LG used in service centers, testing labs, Carrier repair shops etc. These are for Windows only but allow for manually flashing KDZ and TOT files unlike the fully automated LG Bridge which is the only tool officially available for average consumers. LGUP flashes both KDZ and TOT files and has an easy to use interface. LG Flash Tool was patched by ieatacid but so far there have been no success stories with a TOT flashing. The suggested tool to use is LGUP. As of 2017, the suggested LGUP version to use is LGUP 1.14 along with the UPPERCUT app which allows every G5 model to work with LGUP.

LGUP Directions:
1. Download and install the following three(3) files on Windows PC:
  • LGUP 1.14 installer
  • LGUP_Lab_Frame_Ver_1_11.msi(OLD)
  • UPPERCUT EXE (read more about UPPERCUT here)
  • LG*InsertModelHere*_DLL.msi for correct G5 model [Ex: LGH850_DLL.msi](OLD)
  • Latest LG Windows PC drivers from the drivers section above (if not already installed)
2. Download KDZ or TOT. Need help finding KDZ? Try here.
3. Turn OFF device then place in Download Mode: Hold Volume Up while plugging in USB cable.
4. Run LGUP and flash software
  • Select device
  • Check BIN File box under File Type then select KDZ/TOT file
  • Check UPGRADE box. (UPPERCUT doesn't support REFURBISH*)
  • Check Refurbish box in center of program. (OLD)
  • Click START button to flash file to G5.
*Since REFURBISH can't be selected you can do a factory reset after the flash completes by booting into the stock recovery. Use only if needed.
LG Flash Directions:
LG Flash Tool has not been confirmed to work with the LG G5. LGUP is recommended for manual KDZ/TOT flashing.
To read old directions click the button below:
1. Download the repacked LG Flash installer, extract it and run the EXE installer inside to setup LG Flash.
  • Setup_LGFlashTool_2.0.1.6-ieatacid.zip
2. Open LG Flash (if first time installing/running LG Flash you may get a "DBMS" popup, select Korea Factory)
3. When LG Flash finally opens it should open a 2nd window, Model Config. Check the "Select Manual Mode" box.
4. Select your DLL and TOT file then hit OK.
5. To start the phone detection/flash, press the yellow arrow in the top left corner of the main LG Flash window.
6. Boot phone into Download Mode, if phone is set to COM port #41 then LG Flash will begin the flash...
if COM port is NOT set to #41 already:
  • open Windows Device Manager
  • Set the LG Serial port under "COM" section to use port #41
  • Unplug phone from USB cable then plug it back in
  • LG Flash should now see the phone and start flashing the TOT
7. LG Flash will reboot phone when finished.
As the phone starts to boot back into Android.. pull USB cable.. close LG Flash when back in Android.

DOWNLOAD LG FLASH TOOLS

KDZ/TOT/Partitions/Random Files:
As always Codefire will have stock partitions, TOTs and KDZs when they become available. My usual collection of files will be found in the Codefire link below. I also hope the community will help build up the current KDZ spreadsheet found @ http://bit.ly/lgkdzlist

Download LG G5 Files From Codefire Here

Models/Bands:
List of all known models. If anyone has a model not listed below or can provide proof about incorrect band info below please post in the thread. To see how these models stack up against the G4 bands see my G4 thread here.

F700K/L/S [S. Korea]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/B3/B5/B7/B8/B17/B26
H820 [AT&T]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5 LTE: B1/B2/B3/B4/B5/B7/B12/B20/B29/B30
H830 [T-Mobile USA]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5 LTE: B1/B2/B3/B4/B5/B7/B12/B20
H831 [Canada]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5 LTE: B2/B4/B5/B7/B12/B17/B29
*H840 [Latin America]: GSM: 850/900/1800/1900 WCDMA: B2/4/5 LTE: B2/B4/B5/B7/B12/B17
*H845 [Russia/Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2 LTE: B1/B3/B5/B7/B8/B20/B28/B38/B40
*H848 [China/Dual Sim]: CDMA: BC0 TD-SCDMA: 1900/2000 GSM: 850/900/1800/1900 WCDMA: B1/2/5/8 LTE: B1/3/38/39/40/41
H850 [Europe]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/20/28/38/40
H860 [SE Asia/Middle East]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/28/38/39/40/41
H860N [Hong Kong/Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/20/28/38/39/40/41
H868 [Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/3/7/38/39/40/41
AS992 [Brightpoint]: CDMA: BC0, BC1, BC10 GSM: 850/900/1800/1900 WCDMA: B2/B4/B5 LTE: B2/4/5/7/12/25/26/41
LS992 [Sprint]: CDMA: BC0, BC1, BC10 GSM: 850/900/1800/1900 WCDMA: B2/B4/B5 LTE: B2/4/5/7/12/25/26/41
RS988 [Unbranded USA]: CDMA: BC0, BC1 GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B2/3/4/5/7/12/13/17/20/25
US992 [US Cellular]: CDMA: BC0, BC1 GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B2/3/4/5/7/12/13/17/20/25
VS987 [Verizon]: CDMA: BC0 GSM: 850/900/1800/1900 LTE: B2/B3/B4/B5/B7/B13
*Qualcomm MSM8976 Snapdragon 652 Quad-core Cortex-A72 & quad-core Cortex-A53, Adreno 510 and 3GB RAM.
All other G5's have the Qualcomm MSM8996 Snapdragon 820 Dual-core 2.15 GHz Kryo & Dual-core 1.6 GHz Kryo, Adreno 530 and 4GB RAM.


Unlocked SIM
Be sure to check the Models/Bands list above to confirm the G5 model will work with your carrier!

-Most international devices should come unlocked (H850, H860, etc..). There are some carriers that will lock the sim slot but are easily unlocked with an unlock code. You can find unlock codes online for under $10.

-Verizon's G5 comes sim unlocked out of the box.

-You can try and get AT&T to unlock your G5 for free. If they decline you can buy an unlock code online for under $10.

-T-Mobile USA unlocks OTA instead of with a code. You can try and get TMO to unlock your G5 for free. If they decline you can buy an unlock code online for around $30. This may not work in all situations. Be careful buying TMO G5 if you are expecting to use it on another carrier.

-You can try and get Sprint to unlock your G5 for free. If they decline you may have trouble unlocking. Sprint uses OTA unlocks like T-Mobile. I am not aware of any paid methods to unlock the Sprint variant.

-The "USA Unlocked" RS988 has both GSM and CDMA and is not branded to any carrier (except Sprint, unless hax...). Should work on every GSM carrier and any CDMA carrier that does not care about MEID or just works with a SIM, like Verizon. CDMA hackers should have no problem having their way with the RS988.

-Anyone have info on the US Cellular variant? Am I missing others?



Unlocked Bootloader
The European LG G5 H850 is officially bootloader unlockable as of April 20, 2016. You can read all about it here. This official unlock is only for the European H850 variant.. not the H860 or any H850 variant from outside of Europe. As of March 2017, both the EU H850 and USA RS988 are on the official bootloader unlock list.

The T-Mobile USA H830 is unlockable with "fastboot oem unlock" out of the box but LG has disabled all other fastboot commands so there was no way to flash TWRP... until May 23rd when tungkick made a custom TOT which flashed TWRP using LGUP. The original TOT was for 10A and had a qfuse version of "00" so it only works for devices on 10A. A custom 10D TOT w/TWRP was later made and worked on qfuse version "01" H830s on Marshmallow. Shortly after the release of Nougat and the LG V20 came a bug called dirtycow.. and then @jcadduono came along and made recowvery for the V20 which gives your phone a root shell to flash TWRP to the recovery partition. And since the T-Mobile G5 bootloader can also be unlocked recowvery also works on the TMO G5 and the TWRP flash actually works and you can boot into TWRP and flash SuperSu for root or flash a custom rom or any mod etc. Full proper unlock. Recowvery is now the recommended method for installing TWRP and rooting your H830. It works on software versions 10A - 20A. It has been patched in versions released after 20A. Currently it is still possible to downgrade from H830 20F to 20A.

Root
Full root with working root apps, xposed, root shell etc is currently only available for bootloader-unlocked devices (EU H850, RS988 and H830). To root the H850/RS988 follow the bootloader unlock steps shown in the section above this... then flash the SuperSU zip once in TWRP. H830 users will have to run the recowvery method mentioned in the bootloader unlock section above then flash SuperSu while in TWRP.

As of the time of this writing (June 4 2016) there is no way to root the G5s without bootloader unlock... Not kingroot.. not oneclickroot... or any of those silly youtube videos that claim otherwise. Root for these bootloader locked devices is not impossible.. just nothing released yet.

As of Dec 21, 2016... Honestly Annoying has released a guide to make use of the debug boot image from tungkick and the dirtysanta exploit for the V20 to flash the debug img to some G5 variants which gives the phone a limited ADB root shell (no apps running as root, no xposed, etc). This allows you to make some modifications to the system... edit hosts to block ads, tether mods, build.prop edits etc Also good for.. debugging of course ;) See thread for which models and software versions are supported.

Custom Recovery
Once bootloader is unlocked you can install a custom recovery like TWRP or CM Recovery. Currently TWRP is available for the H830, H850 and RS988 variants.

H830 TWRP | H850 TWRP | RS988 TWRP

Xposed
As of Xposed version 84, "Added support for LG's encrypted apps, fixing crashes of their weather app/service."
No more having to fiddle with things to make things not crash.. this is great news. See the Xposed thread here for downloads. Thanks to @rovo89 for his continued support on Xposed. Thanks to @ryukisai for pointing out the version 84 news to me.

On May 29th an unofficial "sysemless" xposed was released... systemless xposed works like systemless root and does not touch the system partition. I'm not going to get into why someone might want to do that but you can find out why as well as read all about it here.

Adoptable SD Card Storage
Turn your external SD card into 'one big internal storage' with this mod from MoDaCo here. This is a new option supported in Android 6.0 but not featured by LG. More info on adoptable storage here. A second option requires root: simply edit build.prop value "ro.lge.adoptable_storage" and set it to "true" then reboot the phone and select Settings > Storage and USB > SD and format as internal storage.

New LG Home UX 4.0 Launcher/Enable App Drawer
By default LG has removed the app drawer normally found in Android and instead places everything on the home screens in folders. It was initially reported that the only way around this was to use a 3rd party launcher. That has since been proven untrue...

Option 1: LG has just released a new launcher APK called LGHome (UX 4.0) that has the app drawer and has a more standard feel. Definitely a better option over the "EasyHome" option. You can click right here on your phone and install the LG SmartWorld app and then search for "LG Home 4" or download the APK from Codefire here.
Option 2: To enable the app drawer open Settings > Display > Home Screen > Select Home and select "EasyHome"

How-to Boot into Recovery/Factory Reset
1. Power off the phone. Unplugging the USB cable can also help.
2. Using 2 hands.. use one hand/finger to press/hold volume down.. and use the other hand for the power button. Press n hold both buttons.
3. As soon as you see the LG logo on the screen.. let go of the power button then quickly press it again (never letting go of volume down).
4. Keep holding until you see the Factory Reset screen.
*Notes*:
A. Verizon/Sprint have been known to not require letting go of the power button.
B. On Sprint devices you may actually get the full stock recovery menu and not just the factory reset option.
C. This is the same method for getting into TWRP once bootloaders are unlocked.
If TWRP is flashed you must go through the default Factory Reset menu to load TWRP.
(unless you have a model that goes right into full recovery menu)


Dialer Codes
May not work on all models and all software versions.

Phone Information: *#*#4636#*#*
Main Hidden Menu: *#546368#*XXX# [XXX = model number.. for ex: H830 - *#546368#*830#]
Hidden Menu: 277634#*#

Disable OTAs
You may be able to just uncheck the update box under Settings > About Phone > Update Center
If you do not have this option then try the command below which should work on most devices outside USA:
Code:
adb shell "pm hide com.lge.lgdmsclient"

Owners of USA variants please let me know if you have this APK, LGDMSClient.apk, in /system/priv-app/LGDMSClient/

T-Mobile USA owners do NOT have the same APK but can use the following commands instead but... ROOT REQUIRED:
Code:
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'"

To ENABLE updates just change hide to unhide or disable to enable.

Disable APKs
Some of you may have used the "Debloater" tool previously to freeze APKs with or without root. The commands below replicate Debloater with just ADB commands. No root needed for any of the commands below.

List Package Names
Code:
adb shell "pm list packages -f"
Freeze APK
Code:
adb shell "pm hide [I]PackageNameHere[/I]"

example:
adb shell "pm hide [I]com.lge.lgdmsclient[/I]"
UnFreeze APK
Code:
adb shell "pm unhide [I]PackageNameHere[/I]"

IRC Chat
We have an IRC chat dedicated to all things LG over on Freenode, #LG-IRC. We've been building since the #lg-optimus-g days... and have merged all LG devices into one channels... #lg-g2, #lg-g-flex, #lg-g3, #lg-g4 etc are all merged into #LG-IRC. Come hang and chat about anything and everything.. including LG things of course. IRC chat is not live customer support chat for the lazy. We do like to help but please try to help yourself first.. and always search XDA and Google first. If not familiar with IRC and you do not have a client.. you can join the webchat here.

If there is a G5 WhatsApp group that rises let me know and I can link it here.

y u quote OP?

Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime

Find this thread helpful? Hit the Thanks button!
Feeling extra generous? Feel free to contribute to my LG G5 fund...
click my name at the top of any post and hit donate or click here.


#TEAMCODEFIRE
 
Last edited:

autoprime

Recognized Dev / Inactive Recognized Contributor
Jun 23, 2010
2,642
11,912
Changelog:
04-11-2017:
-updated Hi-Fi Plus, LG Bridge and 360 cam links.
-added USA RS988 to bootloader unlock/root/custom recovery sections.
01-08-2017:
-LGUP method w/UPPERCUT details. Updated sim unlock, bootloader unlock and root sections. Minor upkeep.
07-02-2016:
-updated Windows driver.
06-29-2016:
-added links for LG VPInput and 360 CAM files and added H845 band info.
06-12-2016:
-added AS992 band info. FCC ID is ZNFLS992 confirmed by @systemctl
06-04-2016:
-added unofficial systemless Xposed info and H830 unlock/root info
05-13-2016:
-added Xposed info
05-03-2016:
-added LGUP/LG Flash directions + downloads
04-25-2016:
-added custom recovery section for TWRP/CM Recovery/Etc
04-21-2016:
-added info about official H850 bootloader unlock
-added H860N band info

04-17-2016:
-added commands to disable OTA updates and APKs
04-09-2016:
-added Verizon VS987 11A KDZ + partitions to Codefire G5 directory
-added how-to boot into recovery/factory reset section

04-07-2016:
-added H860 LG Flash dll to Codefire G5 directory
04-03-2016:
-added LG Home UX 4 APK
 
Last edited:

Smithfolk4

Senior Member
Jul 21, 2014
405
97
Rockville, MD
Thanks

Thank you for putting this info together. I just ordered a G5 to replace my G3. I vote for getting the thread stickied. This type of info is a lot of what I see as a big strength for XDA.

Hoping for root on the G5. One big reason I got this phone is I think it is more likely to get root than the S7 edge.

Thanks again!!!
 

panamaniac

Senior Member
Jun 8, 2011
264
56
Thank you for putting this info together. I just ordered a G5 to replace my G3. I vote for getting the thread stickied. This type of info is a lot of what I see as a big strength for XDA.

Hoping for root on the G5. One big reason I got this phone is I think it is more likely to get root than the S7 edge.

Thanks again!!!

Same on all accounts. I voted this thread 5 stars and also want to see it get stickied. Autoprime was clutch back when I had the G3 (or perhaps the Optimus G) and so I'm hoping for the same magic this time around.
 
  • Like
Reactions: Shaggy Kobain
Jul 7, 2007
5
2
Washington, DC
H830 [T-Mobile USA]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5 LTE: B1/B2/B3/B4/B5/B7/B12/B20

Where did you get this list of bands, Autoprime?

Frequencycheck.com says LTE 1/2/3/4/5/7/12/17/30
and LG.com says "LTE 2/4/5/12/29/30, Roaming 1/3/7/20, and CA"

I'm asking because I just bought an H830 on Ebay but I really need band 17 to get LTE where I live. So I'm trying to figure out which of these lists of bands is correct.

PS

Thank you for your awesome work on this phone! I can't wait to root it.
 

autoprime

Recognized Dev / Inactive Recognized Contributor
Jun 23, 2010
2,642
11,912
Where did you get this list of bands, Autoprime?

Frequencycheck.com says LTE 1/2/3/4/5/7/12/17/30
and LG.com says "LTE 2/4/5/12/29/30, Roaming 1/3/7/20, and CA"

I'm asking because I just bought an H830 on Ebay but I really need band 17 to get LTE where I live. So I'm trying to figure out which of these lists of bands is correct.

PS

Thank you for your awesome work on this phone! I can't wait to root it.

from the phone's internal configuration.. the info on LG's page is wrong.. that's AT&T's info. can't speak for freqcheck.. I assume they just copied it from somewhere and want clicks.

If you need B17 for AT&T... you might not actually need it because AT&T is opening up B17 to work with B12.. which is why even the AT&T G5 doesn't have B17 as B12 covers B17 + more.
 
  • Like
Reactions: suhridkhan

karendar

Senior Member
Aug 9, 2010
2,214
883
Montreal
Here's a question for this nicely built thread (Posted on Cyanogenmod thread before I found this):

I am in Canada. I have a preorder waiting on Expansys for the international version. I also have a possibility of buying a Canadian version off-contract. Do I:

•Wait for the international version
•Buy the Canadian version
•Get a T-Mobile version

Of course, my goal is to have a TWRP-enabled phone and have the best overall solution.

Thanks!
 

bbender716

Senior Member
Sep 11, 2014
793
230
Chicago
I'd just wait it out until the HTC10 comes out and see if there's a g5 solution before it can be determined whether HTC 10 is truly unlocked and rootable on your carrier.

Sent from my LG-H830 using Tapatalk
 
  • Like
Reactions: M-FayeHTC

autoprime

Recognized Dev / Inactive Recognized Contributor
Jun 23, 2010
2,642
11,912
Here's a question for this nicely built thread (Posted on Cyanogenmod thread before I found this):

I am in Canada. I have a preorder waiting on Expansys for the international version. I also have a possibility of buying a Canadian version off-contract. Do I:

•Wait for the international version
•Buy the Canadian version
•Get a T-Mobile version

Of course, my goal is to have a TWRP-enabled phone and have the best overall solution.

Thanks!

I'd suggest only getting the Canadian version if price is an issue and the only way you can get it is through a local carriers discount.
T-Mobile USA and International EU variants have pretty much confirmed an unlock is near. So one of those should be the choice if you're looking for an unlockable phone, price isn't an issue and you don't want to wonder if a bootloader exploit will ever come.

As for Intl EU vs TMO US... in the end I think both will have near the same "dev"... it really comes down to the bands supported by each device and what you need. As you can see in the bands list above in the OP the WCDMA bands differ slightly... with TMO having WCDMA B4 (AWS) and the the Intl version having WCDMA B8... is B4 or B8 more important to you? Also the LTE bands... the Intl version has all the same LTE bands that TMO has plus some... the extra bands are B8/B17/B28/B38/B40... are any of those extra bands important to you? (AT&T users that think they need B17.... AT&T is switching to open up B12 so B12 in the TMO version should work just fine replacing B17)

Whichever phone has the bands you need could make your decision. Intl has more LTE bands but if you don't use any of the extra ones plus could make use of the WCDMA AWS band in TMO then maybe TMO is the better choice if you care about full WCDMA compatibility. If you don't want B4 WCDMA... maybe it's best to just get the Intl version... more LTE bands.. FM radio.

Only you can make the final decision.. but hopefully it's an easier decision now. :good:
 
Last edited:

cridus

Senior Member
Apr 3, 2013
55
10
Is the minimum volume too loud for everyone else, too? I really can't leave it like that. I tried some apps to lower the volume that worked for other people on older phones but none of them worked.

P.s. also, is there any way (without third party apps) to automatically disable the always-on display during certain hours of the day? (like at night)
 

slacker503

Member
Apr 1, 2016
19
3
[INFO] Autoprime's All-in-One G5 Thread (Updated Apr 9)

Is the minimum volume too loud for everyone else, too? I really can't leave it like that. I tried some apps to lower the volume that worked for other people on older phones but none of them worked.

P.s. also, is there any way (without third party apps) to automatically disable the always-on display during certain hours of the day? (like at night)
The media volume or the ringtone/notification volume? Even on the lowest settings, the notifications seem to be a bit loud, but I don't mind. I would however like to be able to get more volume steps for music and videos.

On the G3 I used Xposed Framework and G3 Tweaksbox to adjust the number of steps on the volume bars.
 
Last edited:

cridus

Senior Member
Apr 3, 2013
55
10
The media volume or the ringtone/notification volume?

Both of them.

Btw I found how to deactivate the always-on display without going through the settings: put the device face-down. I noticed that when I took it out of my pocket the time wasn't displayed and it appeared shortly after. If the light sensor is completely blocked, the always-on display is turned off, it seems.
 

I-IoLLoW

Senior Member
Oct 1, 2013
1,243
1,547
Pittsburgh
Both of them.

Btw I found how to deactivate the always-on display without going through the settings: put the device face-down. I noticed that when I took it out of my pocket the time wasn't displayed and it appeared shortly after. If the light sensor is completely blocked, the always-on display is turned off, it seems.
Yeah it's just like knock-on/dt2w on previous phones however, the only time the phone has locked up on me(requiring a battery pull) was when the always on display tried to come back on after being in my pocket. It happened a few times so I turned aod off and it hasn't happened since. Using H830(Tmo).

Sent from my LG-H830 using XDA-Developers mobile app
 

k4m4kz1

Member
Sep 8, 2010
36
12
Was looking to disable ota updates, sprint model LS992. LGDMSClient.apk in /system/priv-app/LGDMSClient/ does exist....

also tried pm hide and got this:
[email protected]:/system/priv-app/LGDMSClient $ pm hide com.lge.lgdmsclient
Package com.lge.lgdmsclient new hidden state: true

so should updates be disabled?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 150
    G9IoUgU.png

    LG G5 ALL-IN-ONE THREAD

    Making a thread where I can throw random info about the G5 in one place. Will add to this as we go.
    See the changelog in post #2 to keep up with what's been added.

    Woo! As of April 20th this thread is now a Sticky. Not sure what the process was of making this happen but thanks to any mods involved and to all the users who 5-star'd this thread.

    Drivers:
    1. LG PC Driver Installer
    2. LG Mac Driver Installer
    3. LG Hi-Fi Plus PC Driver
    4. Download from Codefire

    LG Bridge:
    Official LG tool for PC/MAC to update or restore your phones stock software (not available for all devices.. ex: AT&T, Sprint).
    Also move pictures, music, and other files between your phone, tablet, and computer. More info here.


    1. Download PC LG Bridge Setup EXE
    2. Download Mac LG Bridge Setup DMG
    3. Download from Codefire

    Miscellaneous LG Downloads:
    LG VPInput - LG VPInput is a great way to remotely control your Android Smartphone with the mouse and input text with the keyboard on your PC. You also have the ability to send an immediately captured screen image of your Android Smartphone and share the clipboard text between your Android Smartphone and your PC. More info here
    1. LG VPInput Android APK
    2. LG VPInput PC MSI
    3. LG VPInput Mac PKG
    4. Download from Codefire

    LG 360 CAM - The LG 360 CAM lets you capture full 13 MP 360° photos and record 360° video in 2K. You can even use your smartphone as a remote control to see what you’re recording, in real time. More info here
    1. LG 360 CAM Viewer PC EXE/MAC DMG
    2. Download from Codefire

    LGUP and LG Flash:
    LGUP and LG Flash are official *internal* tools by LG used in service centers, testing labs, Carrier repair shops etc. These are for Windows only but allow for manually flashing KDZ and TOT files unlike the fully automated LG Bridge which is the only tool officially available for average consumers. LGUP flashes both KDZ and TOT files and has an easy to use interface. LG Flash Tool was patched by ieatacid but so far there have been no success stories with a TOT flashing. The suggested tool to use is LGUP. As of 2017, the suggested LGUP version to use is LGUP 1.14 along with the UPPERCUT app which allows every G5 model to work with LGUP.

    LGUP Directions:
    1. Download and install the following three(3) files on Windows PC:
    • LGUP 1.14 installer
    • LGUP_Lab_Frame_Ver_1_11.msi(OLD)
    • UPPERCUT EXE (read more about UPPERCUT here)
    • LG*InsertModelHere*_DLL.msi for correct G5 model [Ex: LGH850_DLL.msi](OLD)
    • Latest LG Windows PC drivers from the drivers section above (if not already installed)
    2. Download KDZ or TOT. Need help finding KDZ? Try here.
    3. Turn OFF device then place in Download Mode: Hold Volume Up while plugging in USB cable.
    4. Run LGUP and flash software
    • Select device
    • Check BIN File box under File Type then select KDZ/TOT file
    • Check UPGRADE box. (UPPERCUT doesn't support REFURBISH*)
    • Check Refurbish box in center of program. (OLD)
    • Click START button to flash file to G5.
    *Since REFURBISH can't be selected you can do a factory reset after the flash completes by booting into the stock recovery. Use only if needed.
    LG Flash Directions:
    LG Flash Tool has not been confirmed to work with the LG G5. LGUP is recommended for manual KDZ/TOT flashing.
    To read old directions click the button below:
    1. Download the repacked LG Flash installer, extract it and run the EXE installer inside to setup LG Flash.
    • Setup_LGFlashTool_2.0.1.6-ieatacid.zip
    2. Open LG Flash (if first time installing/running LG Flash you may get a "DBMS" popup, select Korea Factory)
    3. When LG Flash finally opens it should open a 2nd window, Model Config. Check the "Select Manual Mode" box.
    4. Select your DLL and TOT file then hit OK.
    5. To start the phone detection/flash, press the yellow arrow in the top left corner of the main LG Flash window.
    6. Boot phone into Download Mode, if phone is set to COM port #41 then LG Flash will begin the flash...
    if COM port is NOT set to #41 already:
    • open Windows Device Manager
    • Set the LG Serial port under "COM" section to use port #41
    • Unplug phone from USB cable then plug it back in
    • LG Flash should now see the phone and start flashing the TOT
    7. LG Flash will reboot phone when finished.
    As the phone starts to boot back into Android.. pull USB cable.. close LG Flash when back in Android.

    DOWNLOAD LG FLASH TOOLS

    KDZ/TOT/Partitions/Random Files:
    As always Codefire will have stock partitions, TOTs and KDZs when they become available. My usual collection of files will be found in the Codefire link below. I also hope the community will help build up the current KDZ spreadsheet found @ http://bit.ly/lgkdzlist

    Download LG G5 Files From Codefire Here

    Models/Bands:
    List of all known models. If anyone has a model not listed below or can provide proof about incorrect band info below please post in the thread. To see how these models stack up against the G4 bands see my G4 thread here.

    F700K/L/S [S. Korea]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/B3/B5/B7/B8/B17/B26
    H820 [AT&T]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5 LTE: B1/B2/B3/B4/B5/B7/B12/B20/B29/B30
    H830 [T-Mobile USA]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5 LTE: B1/B2/B3/B4/B5/B7/B12/B20
    H831 [Canada]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5 LTE: B2/B4/B5/B7/B12/B17/B29
    *H840 [Latin America]: GSM: 850/900/1800/1900 WCDMA: B2/4/5 LTE: B2/B4/B5/B7/B12/B17
    *H845 [Russia/Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2 LTE: B1/B3/B5/B7/B8/B20/B28/B38/B40
    *H848 [China/Dual Sim]: CDMA: BC0 TD-SCDMA: 1900/2000 GSM: 850/900/1800/1900 WCDMA: B1/2/5/8 LTE: B1/3/38/39/40/41
    H850 [Europe]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/20/28/38/40
    H860 [SE Asia/Middle East]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/28/38/39/40/41
    H860N [Hong Kong/Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B1/2/3/4/5/7/8/12/17/20/28/38/39/40/41
    H868 [Dual Sim]: GSM: 850/900/1800/1900 WCDMA: B1/B2/B5/B8 LTE: B1/3/7/38/39/40/41
    AS992 [Brightpoint]: CDMA: BC0, BC1, BC10 GSM: 850/900/1800/1900 WCDMA: B2/B4/B5 LTE: B2/4/5/7/12/25/26/41
    LS992 [Sprint]: CDMA: BC0, BC1, BC10 GSM: 850/900/1800/1900 WCDMA: B2/B4/B5 LTE: B2/4/5/7/12/25/26/41
    RS988 [Unbranded USA]: CDMA: BC0, BC1 GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B2/3/4/5/7/12/13/17/20/25
    US992 [US Cellular]: CDMA: BC0, BC1 GSM: 850/900/1800/1900 WCDMA: B1/B2/B4/B5/B8 LTE: B2/3/4/5/7/12/13/17/20/25
    VS987 [Verizon]: CDMA: BC0 GSM: 850/900/1800/1900 LTE: B2/B3/B4/B5/B7/B13
    *Qualcomm MSM8976 Snapdragon 652 Quad-core Cortex-A72 & quad-core Cortex-A53, Adreno 510 and 3GB RAM.
    All other G5's have the Qualcomm MSM8996 Snapdragon 820 Dual-core 2.15 GHz Kryo & Dual-core 1.6 GHz Kryo, Adreno 530 and 4GB RAM.


    Unlocked SIM
    Be sure to check the Models/Bands list above to confirm the G5 model will work with your carrier!

    -Most international devices should come unlocked (H850, H860, etc..). There are some carriers that will lock the sim slot but are easily unlocked with an unlock code. You can find unlock codes online for under $10.

    -Verizon's G5 comes sim unlocked out of the box.

    -You can try and get AT&T to unlock your G5 for free. If they decline you can buy an unlock code online for under $10.

    -T-Mobile USA unlocks OTA instead of with a code. You can try and get TMO to unlock your G5 for free. If they decline you can buy an unlock code online for around $30. This may not work in all situations. Be careful buying TMO G5 if you are expecting to use it on another carrier.

    -You can try and get Sprint to unlock your G5 for free. If they decline you may have trouble unlocking. Sprint uses OTA unlocks like T-Mobile. I am not aware of any paid methods to unlock the Sprint variant.

    -The "USA Unlocked" RS988 has both GSM and CDMA and is not branded to any carrier (except Sprint, unless hax...). Should work on every GSM carrier and any CDMA carrier that does not care about MEID or just works with a SIM, like Verizon. CDMA hackers should have no problem having their way with the RS988.

    -Anyone have info on the US Cellular variant? Am I missing others?



    Unlocked Bootloader
    The European LG G5 H850 is officially bootloader unlockable as of April 20, 2016. You can read all about it here. This official unlock is only for the European H850 variant.. not the H860 or any H850 variant from outside of Europe. As of March 2017, both the EU H850 and USA RS988 are on the official bootloader unlock list.

    The T-Mobile USA H830 is unlockable with "fastboot oem unlock" out of the box but LG has disabled all other fastboot commands so there was no way to flash TWRP... until May 23rd when tungkick made a custom TOT which flashed TWRP using LGUP. The original TOT was for 10A and had a qfuse version of "00" so it only works for devices on 10A. A custom 10D TOT w/TWRP was later made and worked on qfuse version "01" H830s on Marshmallow. Shortly after the release of Nougat and the LG V20 came a bug called dirtycow.. and then @jcadduono came along and made recowvery for the V20 which gives your phone a root shell to flash TWRP to the recovery partition. And since the T-Mobile G5 bootloader can also be unlocked recowvery also works on the TMO G5 and the TWRP flash actually works and you can boot into TWRP and flash SuperSu for root or flash a custom rom or any mod etc. Full proper unlock. Recowvery is now the recommended method for installing TWRP and rooting your H830. It works on software versions 10A - 20A. It has been patched in versions released after 20A. Currently it is still possible to downgrade from H830 20F to 20A.

    Root
    Full root with working root apps, xposed, root shell etc is currently only available for bootloader-unlocked devices (EU H850, RS988 and H830). To root the H850/RS988 follow the bootloader unlock steps shown in the section above this... then flash the SuperSU zip once in TWRP. H830 users will have to run the recowvery method mentioned in the bootloader unlock section above then flash SuperSu while in TWRP.

    As of the time of this writing (June 4 2016) there is no way to root the G5s without bootloader unlock... Not kingroot.. not oneclickroot... or any of those silly youtube videos that claim otherwise. Root for these bootloader locked devices is not impossible.. just nothing released yet.

    As of Dec 21, 2016... Honestly Annoying has released a guide to make use of the debug boot image from tungkick and the dirtysanta exploit for the V20 to flash the debug img to some G5 variants which gives the phone a limited ADB root shell (no apps running as root, no xposed, etc). This allows you to make some modifications to the system... edit hosts to block ads, tether mods, build.prop edits etc Also good for.. debugging of course ;) See thread for which models and software versions are supported.

    Custom Recovery
    Once bootloader is unlocked you can install a custom recovery like TWRP or CM Recovery. Currently TWRP is available for the H830, H850 and RS988 variants.

    H830 TWRP | H850 TWRP | RS988 TWRP

    Xposed
    As of Xposed version 84, "Added support for LG's encrypted apps, fixing crashes of their weather app/service."
    No more having to fiddle with things to make things not crash.. this is great news. See the Xposed thread here for downloads. Thanks to @rovo89 for his continued support on Xposed. Thanks to @ryukisai for pointing out the version 84 news to me.

    On May 29th an unofficial "sysemless" xposed was released... systemless xposed works like systemless root and does not touch the system partition. I'm not going to get into why someone might want to do that but you can find out why as well as read all about it here.

    Adoptable SD Card Storage
    Turn your external SD card into 'one big internal storage' with this mod from MoDaCo here. This is a new option supported in Android 6.0 but not featured by LG. More info on adoptable storage here. A second option requires root: simply edit build.prop value "ro.lge.adoptable_storage" and set it to "true" then reboot the phone and select Settings > Storage and USB > SD and format as internal storage.

    New LG Home UX 4.0 Launcher/Enable App Drawer
    By default LG has removed the app drawer normally found in Android and instead places everything on the home screens in folders. It was initially reported that the only way around this was to use a 3rd party launcher. That has since been proven untrue...

    Option 1: LG has just released a new launcher APK called LGHome (UX 4.0) that has the app drawer and has a more standard feel. Definitely a better option over the "EasyHome" option. You can click right here on your phone and install the LG SmartWorld app and then search for "LG Home 4" or download the APK from Codefire here.
    Option 2: To enable the app drawer open Settings > Display > Home Screen > Select Home and select "EasyHome"

    How-to Boot into Recovery/Factory Reset
    1. Power off the phone. Unplugging the USB cable can also help.
    2. Using 2 hands.. use one hand/finger to press/hold volume down.. and use the other hand for the power button. Press n hold both buttons.
    3. As soon as you see the LG logo on the screen.. let go of the power button then quickly press it again (never letting go of volume down).
    4. Keep holding until you see the Factory Reset screen.
    *Notes*:
    A. Verizon/Sprint have been known to not require letting go of the power button.
    B. On Sprint devices you may actually get the full stock recovery menu and not just the factory reset option.
    C. This is the same method for getting into TWRP once bootloaders are unlocked.
    If TWRP is flashed you must go through the default Factory Reset menu to load TWRP.
    (unless you have a model that goes right into full recovery menu)


    Dialer Codes
    May not work on all models and all software versions.

    Phone Information: *#*#4636#*#*
    Main Hidden Menu: *#546368#*XXX# [XXX = model number.. for ex: H830 - *#546368#*830#]
    Hidden Menu: 277634#*#

    Disable OTAs
    You may be able to just uncheck the update box under Settings > About Phone > Update Center
    If you do not have this option then try the command below which should work on most devices outside USA:
    Code:
    adb shell "pm hide com.lge.lgdmsclient"

    Owners of USA variants please let me know if you have this APK, LGDMSClient.apk, in /system/priv-app/LGDMSClient/

    T-Mobile USA owners do NOT have the same APK but can use the following commands instead but... ROOT REQUIRED:
    Code:
    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'"

    To ENABLE updates just change hide to unhide or disable to enable.

    Disable APKs
    Some of you may have used the "Debloater" tool previously to freeze APKs with or without root. The commands below replicate Debloater with just ADB commands. No root needed for any of the commands below.

    List Package Names
    Code:
    adb shell "pm list packages -f"
    Freeze APK
    Code:
    adb shell "pm hide [I]PackageNameHere[/I]"
    
    example:
    adb shell "pm hide [I]com.lge.lgdmsclient[/I]"
    UnFreeze APK
    Code:
    adb shell "pm unhide [I]PackageNameHere[/I]"

    IRC Chat
    We have an IRC chat dedicated to all things LG over on Freenode, #LG-IRC. We've been building since the #lg-optimus-g days... and have merged all LG devices into one channels... #lg-g2, #lg-g-flex, #lg-g3, #lg-g4 etc are all merged into #LG-IRC. Come hang and chat about anything and everything.. including LG things of course. IRC chat is not live customer support chat for the lazy. We do like to help but please try to help yourself first.. and always search XDA and Google first. If not familiar with IRC and you do not have a client.. you can join the webchat here.

    If there is a G5 WhatsApp group that rises let me know and I can link it here.

    y u quote OP?

    Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime

    Find this thread helpful? Hit the Thanks button!
    Feeling extra generous? Feel free to contribute to my LG G5 fund...
    click my name at the top of any post and hit donate or click here.


    #TEAMCODEFIRE
    22
    Changelog:
    04-11-2017:
    -updated Hi-Fi Plus, LG Bridge and 360 cam links.
    -added USA RS988 to bootloader unlock/root/custom recovery sections.
    01-08-2017:
    -LGUP method w/UPPERCUT details. Updated sim unlock, bootloader unlock and root sections. Minor upkeep.
    07-02-2016:
    -updated Windows driver.
    06-29-2016:
    -added links for LG VPInput and 360 CAM files and added H845 band info.
    06-12-2016:
    -added AS992 band info. FCC ID is ZNFLS992 confirmed by @systemctl
    06-04-2016:
    -added unofficial systemless Xposed info and H830 unlock/root info
    05-13-2016:
    -added Xposed info
    05-03-2016:
    -added LGUP/LG Flash directions + downloads
    04-25-2016:
    -added custom recovery section for TWRP/CM Recovery/Etc
    04-21-2016:
    -added info about official H850 bootloader unlock
    -added H860N band info

    04-17-2016:
    -added commands to disable OTA updates and APKs
    04-09-2016:
    -added Verizon VS987 11A KDZ + partitions to Codefire G5 directory
    -added how-to boot into recovery/factory reset section

    04-07-2016:
    -added H860 LG Flash dll to Codefire G5 directory
    04-03-2016:
    -added LG Home UX 4 APK
    10
    Here's a question for this nicely built thread (Posted on Cyanogenmod thread before I found this):

    I am in Canada. I have a preorder waiting on Expansys for the international version. I also have a possibility of buying a Canadian version off-contract. Do I:

    •Wait for the international version
    •Buy the Canadian version
    •Get a T-Mobile version

    Of course, my goal is to have a TWRP-enabled phone and have the best overall solution.

    Thanks!

    I'd suggest only getting the Canadian version if price is an issue and the only way you can get it is through a local carriers discount.
    T-Mobile USA and International EU variants have pretty much confirmed an unlock is near. So one of those should be the choice if you're looking for an unlockable phone, price isn't an issue and you don't want to wonder if a bootloader exploit will ever come.

    As for Intl EU vs TMO US... in the end I think both will have near the same "dev"... it really comes down to the bands supported by each device and what you need. As you can see in the bands list above in the OP the WCDMA bands differ slightly... with TMO having WCDMA B4 (AWS) and the the Intl version having WCDMA B8... is B4 or B8 more important to you? Also the LTE bands... the Intl version has all the same LTE bands that TMO has plus some... the extra bands are B8/B17/B28/B38/B40... are any of those extra bands important to you? (AT&T users that think they need B17.... AT&T is switching to open up B12 so B12 in the TMO version should work just fine replacing B17)

    Whichever phone has the bands you need could make your decision. Intl has more LTE bands but if you don't use any of the extra ones plus could make use of the WCDMA AWS band in TMO then maybe TMO is the better choice if you care about full WCDMA compatibility. If you don't want B4 WCDMA... maybe it's best to just get the Intl version... more LTE bands.. FM radio.

    Only you can make the final decision.. but hopefully it's an easier decision now. :good:
    4
    I do want to bring up the G5 on CM but will have to wait for me to get either a Tmo or Intl one.

    Sent from my LGLS992 using XDA-Developers mobile app
    3
    Hi @autoprime,

    since today your rom/zip download page raises a warning for a page known for phishing. Do you have a new one or noticed it already?!

    By the way will you provide a flashable zip for the G5-H850/20i version?!

    Kind regards
    Dirk

    Yes the phishing/deceptive warning started yesterday. Google has decided to flag some of my files as dangerous and then flagged my entire directory. Some of the files they decided are dangerous are stock lg USB drivers, stock lg recovery.img, LGUP and some of my root files like ioroot. Obviously none of these files are dangerous and google is in error here.

    Until google sorts this I will not be adding any new files or updates to my directory.

    *update*
    as of a few minutes ago google has fixed the phishing/deceptive error for my directory.
    as long as this sticks I will look into 20i.. as long as no one else has made a 20i rom.