[T-Mobile LG G4] AlaskaLinuxUser:
To God be the glory, my Slim7 Nougat project finally works on the LG G4!

This is a very slimmed down version of Android Nougat, almost a "vanilla" experience with a few tasteful perks! By design, this ROM comes without root for those who wish to have a "pure" version without the entanglements that come with root, but it can also be easily rooted by using chainfire's SuperSU (see below for instructions and downloads). In it's default form, it is perfect for those banking apps, workplaces, and games that require you to have a phone without root. No need for tricks or hacks, all while having the latest and greatest Android on your phone.

Also, this unrooted ROM is great if you use a special SU, like a custom SuperSU, Magisk, etc. I don't support those directly, but in this ROM, you don't have to remove root so you can add those. DO SO AT YOUR OWN RISK!

**** This is an UNOFFICIAL ROM. Install at your own risk! ****

Downloads:

Rom Download link:

https://www.mediafire.com/folder/e0vhn6vwgsvyz/nougat

SuperSU download: (There may be other versions, 2.79 is the only version I personally tested.)

http://www.supersu.com/download

Gapps link:

http://opengapps.org/

-Which I personally only tested Pico. Be sure to choose "Arm64" and "7.1".

The AKLU kernel:

DOWNLOADING THE AKLU KERNEL IS NO LONGER REQUIRED, IT IS BUILT INTO THE ROM.

https://xdaforums.com/tmobile-g4/development/kernel-nougat-kernels-t3622811

Be sure to only choose the SLIM 7 version.

Be sure to follow these installation steps very carefully, as they may be different then what you are used to.

!!!FIRST BOOT TAKES LONGER THAN 5 EARTH MINUTES TO COMPLETE!!!

!!!IF YOU FLASH SUPERSU, IT WILL REBOOT SEVERAL TIMES DURING INSTALL, THAT IS OKAY!!!

!!!PLEASE FOLLOW THESE INSTRUCTIONS CAREFULLY, AS THEY MAY BE DIFFERENT THEN WHAT YOU ARE USED TO!!!

Installation instructions ( TO BE NON-ROOTED ) :

-Download ROM, and if desired, gapps, and put them on your phone's external storage.

-Reboot into recovery mode - TWRP (I peronally installed this using 2.8.7.0)

-Backup what you had. (Just to be safe.)

-Wipe. (I recommend an advanced wipe, but at least do the basic wipe.)

-Install Rom.

-Install Gapps. - Optional

-Reboot and enjoy, reminder, it will take over 5 minutes to boot the first time!

Installation instructions ( TO BE ROOTED ) :

-Download ROM, SuperSU, and if desired, gapps, and put them on your phone's external storage.

-Reboot into recovery mode - TWRP (I peronally installed this using 2.8.7.0)

-Backup what you had. (Just to be safe.)

-Wipe. (I recommend an advanced wipe, but at least do the basic wipe.)

-Install Rom.

-Install Gapps. - Optional

-Reboot to system, reminder, it will take over 5 minutes to boot the first time!

-Go back to TWRP.

-Install SuperSU.

-Let the system boot up. Note that it may reboot a couple times during the boot animation, that is okay.

-Enjoy!

What works:
So far everything that I have tried works, such as
- Camera for video and pictures
- Phone calls/receiving
- Data 2g/3g/LTE
- Bluetooth
- WiFi
- PTP/MTP
- GPS
- Multi-Window
- Substratum (if Rooted)
- Developer Settings is fixed!
etc....

What doesn't:
- Let me know in the forums if you find other issues.

Main Features:

- Slim 7.1.2

- SlimDim, now with 100% more dimming

- SlimAction, Splits screen action (long press app in slim recent)

- SlimRecents, an alternative recents

- Notification log (long press statusbar header)

- Kill app from notification (long pres app notification)

- OmniSwitcher built in so the kill function works with or without root.

- Advanced reboot (found under security settings).

SlimRoms XDA Forum: http://xdaforums.com/slimroms

Source Code: http://github.com/SlimRoms/

Official websites: http://www.slimroms.net/ or http://slimroms.org/

ROM OS Version: 7.1.2 Nougat

ROM Kernel: Linux 3.10.84

Based On: AOSP and LineageOS.

My device and kernel trees: https://github.com/alaskalinuxuser/

Created 2017-06-14

Last Updated 2017-09-07

Change log:

20170906
- Substratum now working if rooted.
fw/base: Audioservice set BT_SCO status. Camera: Ignore torch status update for aux or composite camera. Camera2: Fix error callback if buffer is lost
hw/qcom/bt-caf: Revert Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
apps/Bluetooth: Directly inform Audio HAL regarding SCO state change
apps/Dialer: IMS-VT: Transmit static image when multitasking
apps/Snap: Automatic translation import
codeaurora/telephony: IMS-VT: Add config that controls visibility of static Image UI
vendor/slim: Updates to Tmo US APN, other misc build environment changes
frameworks/av: Camera: Add null checks on mdevice to avoid crash
frameworks/base: SEEMP: Add auth framework for outgoing sms messages. Audioservice: Set BT_SCO status. Camera: ignore torch status updates for aux or composite camra. Camera2: Fix error callback if buffer lost.
frameworks/native: SF: Improve hwrotation handling. Native: Increase art heap limit to 192MB for 1024MB ram devices
hardware/broadcom/wlan: Merge tag android-7.1.2_r28
hardware/qcom/bt-caf: libbt-qcom: Allow reading BT address from property. Revert 'Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD'
hardware/samsung: wifiloader: load kernel module if present
apps/Settings: Revert 'Settings[Wifi]: fix the input invalid length for WEP encryption.'
apps/Snap: Add missing null check on isCamera2Supported
Updates to Correios Celular (BR) APN
Updates to build environment
Merge android-7.1.2_r29
hw/qcom/fm: Upstream LineageOS
hw/samsung: Upstreamfrom LineageOS
apps/Bluetooth: Translation updates
resources/devicesettings: Translation updates
Add WOM internet/mms APN
hw/samsung: Updates to power, secril and macloaders
apps/Dialer: Fix compilation warnings
apps/Snap: Fix low resolution front camera icon
Updates to sensitive phone numbers
fw/base: PowerProfile: allow overriding default power profile
hw/qcom/fm: Update colors and translations (LineageOS)
apps/Bluetooth: Translation updates (LineageOS)
apps/Settings: MSIM: Fix user set DDS sub in hotswap cases.
apps/Snap: Translation updates (LineageOS)
resources/devicesettings: Translations update (LineageOS)
vendor/qcom/opensource/dataservice : datatop: Fix out_dir array empty content verification. datatop: Remove unused variables from datatop_ip_table_poll.c
vendor/slim: Updates to APNs, sensitive phone numbers, offline charging graphics and build configs
Translation updates
bootable/recovery: Updater: Allow devices to supress BLKDISCARD
fw/base: ScreenCap: Add support for jpeg. Bootreceiver: check console-ramoops-0
fw/native: Updates to surface flinger (Upstream from LineageOS
hw/qcom/fm: Upstream from LineageOS
hw/samsung: Updates to power and secril (upstream from LineageOS)
apps/Snap: Upstream from LineageOS
Merge android-7.1.2_r23
Fix default notification, alarm and ringtones Bug: #318
fw/base: Reduce the setTransactions. SystemUI: Fix Notification Background Color Issue
hw/qcom/audio: hal: add missing incall recording usecases and check
hw/samsung: Upstream from LineageOS
apps/Snap: Add overlay for restarting camera preview for additional cameras
system/core: fs_mgr healthd: check console-ramoops-0. init.rc: setup console-ramoops-0. logcat: Add missing newline to read failure
MusicFX: Updates and changes from CAF, Omni, DU and AospExtended
Add Ambient Display QS tile
Sensitive numbers: Update MCC codes
stagefright-plugins: Fix 'supported' typo in log
fw/av: CameraService: fix cameraId type of onDeviceStatusChanged
hw/qcom/audio-caf/msm8916: Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
hw/qcom/bt-caf: Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
hw/qcom/fm: Update translations
hw/qcom/keymaster: Add msm8996 and msm8998 into support list
apps/Snap: Update translations
services/Telecomm: SensitivePhoneNumbers: Handle lists of MCC codes
Update APN's for China Telecom Macau
misc build changes
Update translations
Fix brightness bar not always registering touches
ffmpeg: Rebase to latest LineageOS
stagefright-plugins: Revert 'FFmpegExtractor: Don't use our extractor when we agree with StageFright'. Add support for opus files
frameworks/base: Binder: be forceful about a forceful exit. Add support for Opus format.
contactsprovider: Fix merge error, Should fix Visual Voice Mail
mediaprovider: Revert 'MediaProvider: Fix where condition of delete queries and Fix check for existence of parent'. Fix SQLiteDiskIOException. Fix force closed when plug out the SD card while music is playing. Fix thumbnails of new edit photos display wrongly in Documents. Fix failure in android.provider.cts.MediaStore_FilesTest
Add sensitive numbers for Ukrain, Greece, Taiwanese.
Fix sensitive number for Czech Republic
Add apn for Japan Umobile APNs
device/qcom/common: Use correct opcode for STOE_CLK_SCALE_DIS
fw/base: Upstream fixes from master, Add null check for action bar
hw/qcom/display-caf/msm8916 msm8974: hwcomposer: Fix regression in hwc_sync
hw/qcom/display-caf/msm8994: hwcomposer: Fix regression in hwc_sync, libmemtrack: Fix integer overflow in kgsl function, Fix duplicate copy file rules
hw/qcom/media-caf/msm8994: vdec:Do not call stream_off on input port if all EBD's are not flushed.
hw/ril ril-caf: fix a memory leak.
hw/samsung: Add BLN support, Fix fast blinking notification LEDs, exynos: multimedia: add support for OMX_IndexParamVideoIntraRefresh parameter
apps/Nfc: make T3T/Nfc-F HCE options
apps/Snap: Upstream from LineageOS
providers/MediaProvider: New material icon, Fix where condition of delete queries
system/core: fix healthd include paths, Init: Run restorecon_recursive asynchronously
Update sensitive phone # for BR, PT, GB and FR. Add Virgin Media Ireland to APN's
Fix SlimDoze triggers not following Ambient Display
Expose more resources for OMS
fw/base: Minor fixes and optimizations
Snap: Simulate back button when menu button is pressed, Add orientation correction for landscape devices, Sign with platform keys
system/bt: Disable AVRCP 1.6
Add sensitive phone # for Israel
Merge June security update (android-7.1.2_r17)
Translation updates
Updates to battery stats counter reset
hw/qcom/audio-caf (msm8916 & msm8996): Upstream from LineageOS
hw/qcom/media-caf (msm8916 & msm8996): Upstream from LineageOS
hw/samsung: Upstream from LineageOS
system/core: Updates to sched_policy
Updates to sensitive phone numbers

20170620
- Added in the new Slim Theme Manager
(However, as of this writing, there are no compatible themes....)

20170619
- Fixed the developer settings.

20170614
-Added several base apps.
-Cosmetic fixes/updates.
-Added OmniSwitcher as optional switcher/tasker.
-Initial release!