[GUIDE] [INDEX] ★ Complete guide to G4 + WIP/ROM Index ★ [4 OCT]

Did this thread help you?


  • Total voters
    43

XDeathy

Senior Member
Oct 12, 2012
90
144
0
Singapore
This thread will always be a Work In Progress. Please be patient, as we receive new development it will be posted here. Thank you very much! :p
Do subscribe to this thread to get notified on any new updates.

If you own a G3, please proceed to this thread instead: http://forum.xda-developers.com/lg-g3/general/guide-complete-tutorial-to-root-flash-t3098959
Own a V10? Proceed to this thread: http://forum.xda-developers.com/lg-v10/general/wip-complete-guide-to-v10-t3217373


First things first, this guide is made mainly for our great LG G4 D815. Some steps may or may not work for other phones...
Please note that the results of the following methods may vary. I would advice you don't do this on a daily driver or corporate phone.
Also note that these steps WILL VOID YOUR WARRANTY. PROCEED AT YOUR OWN RISK.
For increased chances of these working, update your KDZ to Lollipop first using OTA or Flash Tool.
If you don’t know what rooting, flashing and blah blah blah means, this probably isn’t the thread for you.
I do not own much of this stuff, credit really does go to the folks stated below. Do give them a shoutout!
Enjoy! :)


Complete guide to all things G4:



NOTE: The chapters are in chronological order, meaning everything after Chapter 2 assumes you already have root and unlock.

---------------------------------------------------------------------------------------------------------------------------------

CHAPTER 0: TERMINOLOGY (in my own words)
- Terms
- Tidbit


(To be honest, if you need to even look at this, this thread isn't for you.) :confused:
- Root: Gaining full administrative control of your device. "Jailbreaking" in terms of Android.
- ROM: The customized operating system that your Android runs on.
- Kernel: The thingy that links software and hardware
- Radio: The thingy that sends and receives messages, calls and data.
- Flash: Installing a zipped file in Recovery Mode
- Recovery: The software that allows tweaking and flashing, and other weird stuff that will destroy your phone.
- Fastboot: The thingy that allows recovery mode to happen.
- Brick: The term says it all.
- Bootloader: Quite literal; loads the phone for bootup.
- Nandroid backup: A backup-ed image of your current system
- ADB: Android Debug Bridge; some command line tool that sends information from and to the phone to, and from the computer
- CWM: ClockWorkMod; a recovery system
- XDA: The holy website that is full of weird stuff that makes your phone wayyyy better.

Now let's paint a picture:
Imagine you are your Android phone.
Before "rooting", you are trapped in jail.
Upon "rooting and unlocking", you are released from jail.
You go to a shopping mall named "XDA".
You find a credit card lying on the floor from the company "Recovery". On the back, it says there is no passcode required, and there is a infinite amount of money inside.
You enter a store and get a sweatshirt with the word "ROM" on it.
You didn't buy the shirt, the shirt just happens to be free, but still requires you to swipe your credit card anyways.
You keep the receipt as a "backup", just in case the shirt spoils.
Just then, you get greedy and get all the badges in the store.
Stupidly, you pin all the badges on your shirt, turning it as heavy as a "brick".
Then, the shirt rips, unable to put (it rhymes with boot) it back together again.
Luckily you still have the receipt to return the shirt, and return back to your good old disgusting shirt.


---------------------------------------------------------

CHAPTER 1: PREREQUISITES


- The newest LG drivers are installed on your computer
- A proper and working Wi-Fi network
- Enable Developer Options
- Enable USB Debugging
- Ensure G4 is charged to at least 50%
- Original and genuine LG G4 in-box USB cable
- Backup all files!


---------------------------------------------------------

CHAPTER 2: ESSENTIALS
- Backup
- Unlock
- TWRP
- Flashing
- Restoring Backup


BACKUP:

Titanium Backup Method:
Use “Titanium Backup” batch backup
1. Menu -> Batch
2. Run -> Backup user apps + system data


OR:
Manual Non-Root Method:
- Messages: “SMS Backup & Restore”
- Contacts: should be synced with the cloud, if not: Export to SIM card or SD card
- Calendar: should be synced with the cloud
- Notes: use “Google Keep”, it will be synced with the cloud
- User Dictionary: “User Dictionary Backup”
- Call Logs: “Call Logs Backup & Restore”
- Launcher (assuming you use Nova Launcher): Settings -> Backup & import settings -> Restore or manage backups
- Apps: “Helium” or any other app
- Nandroid Backup

store all backups in external SD card or transfer to your computer


UNLOCK BOOTLOADER (official!):
http://developer.lge.com/resource/mobile/RetrieveBootloader.dev?categoryTypeCode=ANRS
(direct link from LG Developer Resource Center!)

NOTE: THIS CANNOT BE UNDONE!

TWRP Touch Recovery:
http://forum.xda-developers.com/g4/orig-development/recovery-twrp-2-8-6-0-touch-recovery-t3125859
(kudos to @Dees_Troy & TeamWin)
1. Download "TWRP Manager" app from the Google Play Store
2. Advanced -> Install Recovery
3. DONE!


FLASHING:
Clean Flash:

1. Backup your data!
2. Reboot into TWRP Recovery
3. Go into settings and enable “Use Aroma File Manager”
4. Wipe Dalvik, Cache, System & Data
5. Flash your chosen ROM, basebands, firmware updates and other crap
6. Flash any GApps package. (the one I use: http://forum.xda-developers.com/android/general/gapps-lp-gapps-pa-gapps-aroma-installer-t3010798; kudos to @raulx222 & @slim Team)
7. Flash anything else (e.g. frameworks, boot animations, splash screens, themes etc.)
8. Reboot
9. DONE!


OR:
Dirty Flash: (flashing without wiping anything, used for updating to newer ROMs or reflashing)

1. Reboot into TWRP Recovery
2. ONLY wipe Dalvik Cache
3. Flash your chosen ROM, basebands, firmware updates and other crap
4. Flash any NEWER GApps package. If you manually installed/updated through Play Store, skip this step.
5. Flash anything else (e.g. frameworks, boot animations, splash screens, themes etc.)
6. Reboot
7. DONE!


It is perfectly fine if the first bootup takes a while, that is perfectly normal. Upon boot, Android will optimize itself so just let it do it’s work. Do put the phone under a fan as it does tend to get hot when optimizing since it is at max brightness or some dumb reason.

If it takes ages (like over 5-10mins) to boot up, it means you have luckily bricked your phone! Do source the XDA indices for any unbricking tutorial, or keep a lookout for an update on this page for instructions. (I don’t have any/don’t need to find any as I have never bricked any Android, so ya.)
DO NOT dirty flash if your newer ROM:
- Doesn't allow/support it
- Has a major update
- Has a Android version jump (e.g. from Lollipop to M)
- Is a totally different ROM from the previous one (e.g. from Stock to Cyanogenmod)

If after dirty flashing you experience any ROM issues (e.g. battery drain, lag etc.), I would advice you to do a clean flash instead.
RESTORING BACKUP:

Titanium Backup Method:

1. Use “Titanium Backup” batch restore
2. Menu -> Batch
3. Run -> Restore missing apps with data (*NOTE*: DO NOT RESTORE SYSTEM DATA)
4. Once done, go to Backup/Restore on the main app interface
5. Restore manually: Calendar Storage, Internet Bookmarks, Messaging SMS/MMS Prefs, Phone SMS/MMS/APN, User Dictionary, Wi-Fi Access Points**
6. Launcher Settings: (assuming you use Nova Launcher) Settings -> Backup & import settings -> Restore or manage backups

**What can I manually restore?**
Red: DO NOT RESTORE, YOU’LL END UP BRICKING/BOOTLOOPING YOUR PHONE!!!
White: 99% safe, go ahead
Green: 70% safe, beware of potential brick
Grey Stirkethrough: DO NOT RESTORE


OR:
Manual Restoration Method:
- Messages: “SMS Backup & Restore”
- Contacts: should be synced with the cloud, if not: Export to SIM card or SD card
- Calendar: should be synced with the cloud
- Notes: use “Google Keep”, it will be synced with the cloud
- User Dictionary: “User Dictionary Backup”
- Call Logs: “Call Logs Backup & Restore”
- Launcher (assuming you use Nova Launcher): Settings -> Backup & import settings -> Restore or manage backups
- Apps: “Helium” or any other app


store all backups in external SD card or transfer to your computer


---------------------------------------------------------

CHAPTER 3: ADDITIONS
- Temporary fix for Stagefright exploit
- Weather Widget
- XPosed
- Boot Animation
- TWRP Recovery Theme
- ExoPlayer for YouTube
- Ad-free
- Control
- Enhanced LG Touch Assistant
- Task Management


Temporary fix for 'Stagefright' exploit
Now, as we wait anxiously for our beloved OEMs to slowly update their softwares to patch for Stagefright, we are still vulnerable... UNTIL NOW! Here's a temporary protection for us, living in the slow ring of OTAs:

1. Open your messaging app.
2. Open your messenger's settings.
3. Disable "Auto receive MMS".
4. Repeat for all your other messaging apps.
5. DONE!

- If you're plainly lazy, download "Textra" messaging app which comes with in-built Stagefright protection!


Get G4's Weather Widget on ANY Launcher! (unofficial - Zooper theme)
My Official Thread: http://forum.xda-developers.com/android/apps-games/lg-g4-s-weather-widget-launcher-phone-t3135381

Here's how to get the UNOFFICIAL G4's weather widget on ANY launcher, including Smart Notice.
These steps do require paid apps, so as to prevent piracy, I will not provide download links for these apps.

1. Download "Zooper Widget Pro" from the Play Store. *note: it must be PRO to make it work*
2. Download "UX 4.0 G4 for Zooper" from the Play Store.
3. Add a 4x2 Zooper Widget to any home screen.
4. Tap the widget to start.
5. Choose "UX 4.0 by N.A Dev".
6. Scroll down and choose "5x2 UX 4.0 Smart Notice."
7. Widget OnTap Action -> App List -> Weather App
8. Location -> Choose accordingly
9. Global Preferences -> Weather Provider -> Yahoo!
10. Calendar to display -> Deselect all events
11. Check the 1st Rich Text (it should be "Rect, W:388 H:192 R:0")
- Tap the pencil edit icon (most top right)
- Module OnTap -> App List -> Weather
12. Check the 2nd Rich Text ("Rect, W:400...")
- Edit
- Module -> Shortcuts -> Activities -> Smart Notice
13. Rich Text: (date, e.g. Monday, 15 June)
- Edit
- X Offset 181, Y Offset -5
- Module -> App -> Calendar
- Edit Text Manually -> Remove what's there and type this in: #DEEEE#, (enter next line) #DMMMM d#
- Lines -> 2
14. Rich Text: (location)
- X Offset -186, Y Offset -30
- Module -> App -> Maps
- Edit text manually -> Remove what's there and type this in: @ #LLOC#, (enter next line) #LCN#
- Lines -> 2
15. Rich Text: (updated on (time))
- Edit text manually -> Remove what's there and type this in: #BSTAT#: #BLEV#, #BTEMP#, #BLEFT#
16. Rich Text: "]"
- Blur 0
17. Add a Rich Text
- X Offset 0, Y Offset 4
- Edit text manually -> Remove what's there and type this in: #WCCOND#
- Size 14
18. Go back
19. Turn on Wi-Fi/Data & Location Services (if needed) & Force Update
20. Save
21. Quit Zooper App
22. Go to your home screen and tap "Refresh button".
23. Finally done!!

- Do remember to put Zooper on the Ignore List for any battery or task killer app!

---------------------------------------------------------
FAQ:
- Any battery impacts?
Shouldn't be, so long as you follow the steps correctly.

- What if my weather shows "??" or "Unknown"
Go into the Widget Settings and Force Update

- My location isn't accurate!
Manually tell the widget your location, don't use auto.

- The weather isn't accurate!
For now, there's no choice as it isn't powered by the all mighty Google or AccuWeather.​
---------------------------------------------------------


XPOSED FRAMEWORK:
http://forum.xda-developers.com/showthread.php?t=3034811
(kudos to @rovo89)

1. Download “xposed-sdk21-arm-2015xxxx.zip” and flash in recovery
2. Download “XposedInstaller_3.0-xxxx.apk” and install normally
3. Download your favourite modules from the XDA indices
4. Open Titanium Backup app and freeze “LG QuickCover”
5. DONE!


BOOT ANIMATION:
6.x Marshmallow:
https://www.copy.com/s/t%3A83YzqkU0VlAHdSsY%3Bp%3A%252Fbootanimation-flashable.zip%3Boid%3A400
(kudos to @Upstreammiami)
(flashable)
1. Download “Root Explorer” app
2. Go to root/system/media
3. Mount R/W
4. Change “bootanimation.zip” to “bootanimation.old”
5. Download “bootanimation-flashable..zip” and flash in recovery
6. DONE!



5.x Lollipop:
(if not flashable)
1. Download “Root Explorer” app
2. Go to root/system/media
3. Mount R/W
4. Change “bootanimation.zip” and “shutdownanimation.zip” to “bootanimation.old” and “shutdownanimation.old” respectively
5. Copy your boot animation and shutdown animation of choice and rename to “bootanimation.zip” and “shutdownanimation.zip” respectively
6. Change permissions to rw-r-r-T (Read Owner, Read Group, Read Others, Write Owner, Sticky)
7. Mount R/O
8. Reboot
9. DONE!


TWRP Recovery Theme
http://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
(kudos to @z31s1g)
1. Choose 1440x2560 Themes Folder
2. Download your chosen zip file to your device
3. Change "28xX_vx_1440_xxxx.zip" to "ui.zip"
4. Open your favourite file manager app
5. Go to the TWRP folder
6. Create a folder named "theme" **no capital letters!**
7. Copy "ui.zip" into this folder
8. Reboot to recovery
9. DONE!


Faster YouTube: ExoPlayer

http://r3pwn.github.io/yt-exoplayer.html
1. Download “Root Explorer” app
2. Go to data/data/com.google.android.youtube/shared_prefs
3. Add the following lines below "<map>":

<string name="exo_player_activation_type">ADAPTIVE</string>
<boolean name="enable_exo_cache" value="true"/>
<boolean name="show_exo_player_debug_messages" value="true"/>
4. Once done, close and mount R/O
5. Force Close YouTube app in Application Settings
6. Reboot
7. Done!


Ad-Free
- Download "AdAway" app from F-Droid
https://f-droid.org/repository/browse/?fdid=org.adaway

Control
- Download "SELinux Mode Changer" from F-Droid
https://f-droid.org/repository/browse/?fdfilter=selinuxmodechanger&fdid=com.mrbimc.selinux

Enhanced LG Touch Assistant
http://forum.xda-developers.com/lg-g3/themes-apps/app-touch-assisstant-themed-t3199658
(kudos to @no14me)
1. Download “Root Explorer” app
2. Go to root/system/priv-app/LGSettingsAccessibility
3. Mount R/W
4. Change “LGSettingsAccessibility.apk” to “LGSettingsAccessibility.old”
5. Copy your accessibility of choice and rename to “LGSettingsAccessibility.apk”
6. Change permissions to rw-r-r (Read Owner, Read Group, Read Others, Write Owner)
7. Mount R/O
8. Reboot
9. DONE!


Task Management
- Download "Greenify" or "Servicely"
http://www.apkmirror.com/apk/oasis-feng/greenify/
http://www.apkmirror.com/apk/francisco-franco/servicely/
Honestly, I don't encourage battery managers such as "Battery Doctor" or "Clean Master (Speed Booster)" as realistically, it takes up more battery or RAM in trying to keep the app open to "properly manage the battery". Yes there are benefits such a having a zippier G3, but there are better methods out there.
---------------------------------------------------------

CHAPTER 4: FONTS
- Font
- Emoji

Changing ROM Font
http://forum.xda-developers.com/android/themes/fonts-flashable-zips-t2964304
(kudos to @gianton)
Simply flash the zip in recovery and done!

Changing Emoji
New iOS 8.3 Diverse Jaundice Emoji:
http://forum.xda-developers.com/android/software-hacking/mod-apple-8-3-diverse-color-emoji-t3136169
(kudos to @caiosilva96)

1. Download “Root Explorer” app
2. Go to root/system/fonts
3. Mount R/W
4. Change “NotoColorEmoji.ttf” to “NotoColorEmoji.old”
5. Copy your emoji of choice and rename to “NotoColorEmoji.ttf”
6. Change permissions to rw-r-r (Read Owner, Read Group, Read Others, Write Owner)
7. Mount R/O
8. Reboot
9. Now, on your phone (with new emojis installed), go to http://emojipedia.org/skin-tone-modifiers/
10. Copy the "(skin colour)" that comes before "Emoji Modifier Fitzpatrick Type-1-2"
11. Go to your settings app, then keyboard settings, then personal dictionary
12. Create a new word "(skin colour)", shortcut of "skin2"
13. Repeat for skins 3-6
14. Reboot if you want to
15. DONE!
- To change the skin colour, type the emoji, followed by the shortcut word (e.g. "skin2")


OR:
Traditional iOS Emoji:
http://forum.xda-developers.com/lg-g3/themes-apps/howto-change-lg-smiley-to-google-smiley-t2809012
(kudos to @Soulfly999)

1. Download “Root Explorer” app
2. Go to root/system/fonts
3. Mount R/W
4. Change “NotoColorEmoji.ttf” to “NotoColorEmoji.old”
5. Copy your emoji of choice and rename to “NotoColorEmoji.ttf”
6. Change permissions to rw-r-r (Read Owner, Read Group, Read Others, Write Owner)
7. Mount R/O
8. Reboot
9. DONE!


---------------------------------------------------------

CHAPTER 5: BATTERY
- The cliche...
- Extreme
- Resolution changing

the cliche stuff...

Turn on power saving, turn off bluetooth, Wi-Fi, data, NFC etc., turn off automatic brightness and blah blah blah...


The Extreme Battery Life
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
(kudos to @vaisakh7)

Change resolution down to 1080p
- Download "NOMone Resolution Changer" from the Play Store:
https://play.google.com/store/apps/details?id=com.nomone.resolution_changer&hl=en

(more coming soon)


---------------------------------------------------------

CHAPTER 6: GOODBYE

GO BACK TO STOCK + UNROOT + LOCK BOOTLOADER:

1. Backup your data!
2. Download “LG Flash Tool 2014”
3. Download your stock KDZ file of choice and of device model
4. Run “LGFlashTool2014”
5. Enter Download Mode:
a. Turn off the phone
b. Press and hold the ‘Volume Up’ key and connect your USB cable to the computer at the same time once the phone is fully turned off​
6. Set PhoneMode to “DIAG”
7. Select your downloaded KDZ file
8. Click “CSE Flash”
9. Click “Start” (DO NOT CLICK ANYTHING ELSE)
10. Click “OK” (DO NOT CLICK ANYTHING ELSE)
11. DONE!

(doesn't work any more :( )

---------------------------------------------------------

CHAPTER 7: MISCELLANEOUS
- Developer Settings
- Nova Launcher Secret Labs
- Free Google Drive
- Official wallpapers


ENABLING DEVELOPER SETTINGS:

1. Settings app
2. About phone
3. Software info
4. Tap build number repeatedly until it prompts you


**secret** ENABLING NOVA LAUNCHER LABS SETTINGS:

1. Nova Settings
2. Hold down ‘volume down’ key until it prompts you


FREE 100GB GOOGLE DRIVE STORAGE!!!
1. Open Drive Settings
2. Finish the Product Tour to redeem!

OFFICIAL G4 WALLPAPERS:
http://www.phonearena.com/news/Download-the-official-LG-G4-wallpapers-here-leather-background-included_id69079
(kudos to PhoneArena)



---------------------------------------------------------------------------------------------------------------------------------





Thanks for reading. If this helped, do give me a thumbs up.
Frankly, I do not want any donations.
"Let's get this pinned on the General Thread shall we? Pretty please with cherry on top..." :victory:

“Hi, I am Lousyguyy, a guy lousy enough to do this.”
 
Last edited:

XDeathy

Senior Member
Oct 12, 2012
90
144
0
Singapore
ROM Index:

NOTE: I'll try my best to update this thread every weekend. Please PM or leave a comment below if I happened to miss out your ROM. Thanks guys!


---------------------------------------------------------------------------------------------------------------------------------
STOCK-based ROMs:


---------------------------------------------------------
AOSP ROMs:


---------------------------------------------------------------------------------------------------------------------------------

 
Last edited:
  • Like
Reactions: posenato

XDeathy

Senior Member
Oct 12, 2012
90
144
0
Singapore
Changelog

20th Sep:
- Complete thread overhaul
- Integrated ROM Index thread into this mega thread

OLDER:

14th Sep:
- Finally had time to credit all the great devs!!
- Marshmallow Boot Animation (flashable)
- Added LG Accessibility Themes

9th August: (yay for SG50!) :good:
- Temporary fix for "Stagefright" exploit

5th July:
- New iOS 8.3 diverse jaundice emojis!

15th June:
- Housekeeping!!
- G4 Weather Widget with Smart Notice
- Blueprint Wallpapers thread

7th June:
- My New ROM Index thread!!!: http://forum.xda-developers.com/g4/general/index-complete-g4-rom-index-t3129338/post61210790#post61210790
- Dirty & clean flashing
- Extreme battery life
- Terminology
- Tidbit
- New lock screen wallpaper

3rd June:
- Added Official LG Unlock
- Added TWRP
- Added Secret Nova Launcher Lab Settings
- Added LG Wallpapers
- Added Free Drive Storage Redemption (may not work for some)
- added more stuff I forgot.
- Removed Relocking :(

5th May:
THIS THREAD WAS BORN!!! :D
 
Last edited:

ChitownWingMan

Senior Member
Aug 10, 2007
307
54
0
Chicagoland
Several of the steps you list in here require root.

Many of the steps you list in message #1 require root priviledges:

Titanium Backup, any process using Root Explorer, Xposed, Greenify, AdAway all require root access. Maybe that requirement should be mentioned in each chapter.
 
  • Like
Reactions: Dennisg34

ahoythere

Member
May 27, 2015
5
0
0
I would like to add a request for "enable wifi hotspot" to be added to the first post, when possible.

This is my first LG phone and I hope I can get the wifi hotspot working on Sprint once I get the G4 rooted.

Thanks a lot.
 

kingzain900

Senior Member
Feb 5, 2012
248
76
0
Has anyone found a reliable place to get the LG G4 USB drivers? I've connected my G4 to the Mac, installed the drivers through the popup that appears, and doesn't work. The Mac can't detect the G4, and neither can adb.

EDIT: Never mind. Using LG PC suite seems to work. Adb connected.
 
Last edited:

larsdennert

Senior Member
Dec 5, 2007
967
307
93
I'm an LG newbie. It would be nice if you could link drivers and flashing software in your post.

I've owned just about every Motorola, some HTCs and Samsung phones and rooted and rom'd for years. This will be my first LG. Motorola has just become too much a pain in this area though rumor is the BL is locked on the LG too. Even root and xposed would be enough to protect my privacy.
 

tichyb

Senior Member
Mar 18, 2009
185
19
0
london
Hi guys

Got my G4 earlier today. Just love it! One problem, my music on sd card doas not show up in the music app. And also when using MX player videos on sd card do not show up.

Sent from my LG-H815 using XDA Free mobile app
 

AliceBToklas

Senior Member
Dec 24, 2009
544
173
0
Hi guys

Got my G4 earlier today. Just love it! One problem, my music on sd card doas not show up in the music app. And also when using MX player videos on sd card do not show up.

Sent from my LG-H815 using XDA Free mobile app
Have you tried PowerAmp or other non-stock music player? This would kill the deal for me. I suspect there are options and would love to know PowerAmp, in particular, works with the external card. I have way too much music I need to have with me which is why I require sdcard support.
 

jeky82

Senior Member
May 8, 2012
141
43
0
Have you tried PowerAmp or other non-stock music player? This would kill the deal for me. I suspect there are options and would love to know PowerAmp, in particular, works with the external card. I have way too much music I need to have with me which is why I require sdcard support.
I did not try the stock, because I have the full version of poweramp and it is working very well. My music is on the exsternal sd card
 
  • Like
Reactions: AliceBToklas