FORUMS
Remove All Ads from XDA

Cyanogenmod 13 for LG G Pro 2 D838, CM14.1

395 posts
Thanks Meter: 817
 
By xenius9, Senior Member on 13th April 2016, 02:20 PM
Post Reply Email Thread
Other stuffs:
1. Increase volume on older cm13 builds - https://drive.google.com/file/d/0B0L...ew?usp=sharing
I also try to fix lineout but not test lineout.
2. Remove black rectangle on incoming call photo in dialer( tested on CM13) - https://drive.google.com/file/d/0B0L...ew?usp=sharing

CM14.1 08.12.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://mega.nz/#!IEt2hAwT!d8muFzv47...iuGWAj4r7JIFuc
i don't test this Rom - only build.

CM13 08.12.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://mega.nz/#!MNNQWABB!tsc_dxAW8...3z6mqMro8_cojQ
Kernel, devtree, cm updates.
i don't test this Rom - only build.


CM14 19.09.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
First build, only for testing. Now i don't have device on the hands.
i don't test this Rom - only build.
Small CM14 russian screencast - https://drive.google.com/file/d/0B0L...ew?usp=sharing

Now i update device sources and add cm 14.1 tree.
Manifest for cm 14.1
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="xenius9/android_device_lge_d838" path="device/lge/d838" remote="github" />
<project name="xenius9/android_device_lge_b1w-common" path="device/lge/b1w-common" remote="github" />
<project name="xenius9/proprietary_vendor_lge_b1w" path="vendor/lge" remote="github" />
<project name="xenius9/android_kernel_lge_msm8974" path="kernel/lge/msm8974" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" />
<project name="CyanogenMod/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
</manifest>


Old Manifest:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<project name="xenius9/android_device_lge_d838" path="device/lge/d838" remote="github" revision="cm-14.0"/>
<project name="xenius9/android_device_lge_b1w-common" path="device/lge/b1w-common" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-14.0"/>
<project name="xenius9/android_kernel_lge_msm8974" path="kernel/lge/msm8974" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.0"/>
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.0"/>
<project name="xenius9/proprietary_vendor_lge_b1w" path="vendor/lge" remote="github" revision="cm-14.0"/>

</manifest>

CM13 build instruction:

1. Install ubuntu
2. We start with setting up the build environment:
First, start with installing this:

sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-
utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev
lib32readline-gplv2-dev lib32z1-dev

3. Once that is done, we go about installing JDK-7 since that's the one that works for lollipop

sudo apt-get install openjdk-7-jre
sudo apt-get install openjdk-7-jdk

4. Then we install the Android SDK for some useful stuff:

sudo apt-get install android androidsdk-uiautomatorviewer android-copyright android-src-vendor android-emulator android-tools-adb android-headers
android-tools-adbd androidsdk-ddms android-tools-fastboot androidsdk-hierarchyviewer android-tools-fsutils androidsdk-traceview

5. Once all that is dealt with, we can move on to the repo tool. That's what will get your CM repos syncing:

mkdir -p ~/bin
curl http://commondatastorage.googleapis....downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

and then, reboot to apply the changes.

Now for the interesting part
Not really, actually.

Time to yank the CM source code.

Create a working directory where you're going to sync all the sources and do the dirty stuff.
For this guide, we'll call the working directory "cm13"

Create the directory by running

mkdir cm13

enter your working directory by typing

cd cm13

6. Inititialize the repo by throwing in:

repo init -u git://github.com/CyanogenMod/android.git -b cm-13.0

Wait for all the activity in the terminal to cease. And then type in:

repo sync

if needed post user information when promted

while the stuff is downloading, grab a ginger ale, or a cup of coffee and admire your handiwork. If you're the impatient type, find a generous

dose of your favourite sedative, and knock yourself out for a few hours. When you're up again, you'll be faced with one of two things. Either

your repos have synced successfully (yay!), or you get some nasty fetch errors. If it's the latter, then, Voila! You've just faced your first

ever compiling frustration. Take some time out and break a few things, drive the neighbours crazy and then return to the PC and knock in:

repo sync -j1

This should (hopefully) work perfectly as long as you have an internet connection worth paying for. If not, then compiling probably isn't for you

anyway.

7. Once all that stuff's over, create a folder called

local_manifests

in the .repo folder, and then make a new file in that folder called

roomservice.xml

open roomservice.xml using gedit, and add the following:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="xenius9/android_device_lge_d838" path="device/lge/d838" remote="github" revision="cm-13.0"/>
<project name="xenius9/android_device_lge_b1w-common" path="device/lge/b1w-common" remote="github" revision="cm-13.0"/>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0"/>
<project name="xenius9/android_kernel_lge_msm8974" path="kernel/lge/msm8974" remote="github" revision="cm-13.0"/>
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0"/>
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-13.0"/>
<project name="xenius9/proprietary_vendor_lge_b1w" path="vendor/lge" remote="github" revision="cm-13.0"/>
</manifest>

Then cd back to your working directory

cd ~/cm13

8. YOU'RE READY TO ROLL!

Finally, to build, type in:

. build/envsetup.sh
brunch d838

9. Wait for the build to compile. Usually takes about 2-3 hours on an okay PC. You'll find your completed build in cm13/out/target/product/d838.

The next time you want to build, run:

make clean
repo sync
. build/envsetup.sh
brunch d838

.. and so on.

Happy Building!

CM13 24.10.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel updates
i don't test this Rom - only build.

CM13 19.09.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel and devtree updates
i don't test this Rom - only build.

CM13 24.08.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel and devtree updates, possible fix offline charging
i don't test this Rom - only build.

CM13 22.08.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel and devtree updates, possible fix some errors
i don't test this Rom - only build.

CM13 18.08.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel and devtree updates.
i don't test this Rom - only build.

CM13 21.07.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
SuperSu Kernel with voltage control for 19-21.07 builds - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Kenel with voltage control for 19-21.07 builds - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, voltage control in kernel.
i test this Rom - boot - ok, calls - ok.

Older builds and info:

CM13 19.07.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
SuperSu Kernel - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, cosmetic fix for charging speed, fix wakeup when proximity covered, fix errors in voice and gps config, try to add line_out.
i test this Rom - boot - ok, calls - ok.

CM13 13.07.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, wifi and BT mac from misc partition, increased audio volume, viper4android preinstalled(enable root in dev options and use selinux mode changer for set selinux to permissive), other camera wrapper(from g3) and added 2160p profile for video recording, fixed fstab.
i test this Rom, mac`s reading from misc and set ok for me - no random mac.

CM13 04.07.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM, devtree and kernel updates
i don`t test this Rom, only build(with no errors)

CM13 6.06.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/open?id=0B0...HRJOXo2OEF2dVE
Advanced ROM (integrated SuperSu, Viper4Android) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Patched kernel for SuperSu - https://drive.google.com/file/d/0B0L...ew?usp=sharing
A-GAPPS - see here - http://forum.xda-developers.com/andr...nimal-t3276606 (need internet connection for setup, you must flash gapps immediately after flashing ROM)
news: CM and kernel updates


CM13 26.05.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM and kernel updates, added quickcircle from g4 - for testing.

CM13 25.05.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, added echo reference to mixer_patchs, fixed double tape to wake -now it`s worked)))
ROM tested - boot normal, sounds play , calls - calling, Double Tap to Wake worked Oooo )))
Patched kernel for SuperSu - https://drive.google.com/file/d/0B0L...ew?usp=sharing
For China`s users - all SDCard filesystem types supported, not only fat32

CM13 24.05.2016 build
Stock ROM (as is, no loaders, modem, etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, kernel updates, mixer_patchs levels up, try to add dt2wake(not tested by me - for devs)
i build this ROM only, not test - no time.


CM13 10.05.2016 build
Advanced ROM (integrated SuperSu, Viper4Android, A-Gapps(you need flash modem and loader if you on kitkat rom now)) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Full ROM (for flashing over any ROM)(modem, rpm, kk loader included) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Stock ROM (as is, no loaders, modem,etc..) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Modem and loader only (only modem, rpm and kitkat loader) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Supersu kernel - https://drive.google.com/file/d/0B0L...ew?usp=sharing (flash after you flash Supersu installer)
news: CM updates, some kernel updates, revert mixerpath config


CM13 04.05.2016 build - https://drive.google.com/file/d/0B0L...ew?usp=sharing
Full ROM (for flashing over any ROM)(modem, rpm, kk loader included) - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, some devtree and kernel updates, audio policy updates


CM13 29.04.2016 build - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, some devtree updates
TWRP 3.0.2-0 Recovery (port) for LG G Pro 2:
https://drive.google.com/file/d/0B0L...ew?usp=sharing



CM13 21.04.2016 build - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: CM updates, 32 dip navbar
if you want selinux permissive - install supersu and kernel for SuperSU
if you want to use SuperSu, download it from https://download.chainfire.eu/927/Su...0314191951.zip and AFTER you flash SuperSu flash this:
Kernel for SuperSU https://drive.google.com/open?id=0B0...DYwV2JsOWFGTWM (bumped kernel patched for supersu)


CM13 18.04.2016 build - https://drive.google.com/file/d/0B0L...ew?usp=sharing
news: NFC fixed, kernel and devtree updates, possible ir blaster working too.
if you want to use SuperSu, download it from https://download.chainfire.eu/927/Su...0314191951.zip and AFTER you flash SuperSu flash this: https://drive.google.com/file/d/0B0L...ew?usp=sharing (bumped kernel patched for supersu)


ROM link - https://drive.google.com/file/d/0B0L...ew?usp=sharing
FOR KK BOOTLOADER!!!
What's not working: NFC, you tell me)))
What's working: microsd(fat32), charging, camera, bluetooth, GPS, sound, phones, calls, sensors.


How to flash(you need recovery - TWRP is better(marshmallow support)):
1. MAKE BACKUP!!!
2. Push baseband and ROM to sdcard (copy cm13 zip and LP Baseband to sd card)
3. Make WIPE dalvik, data,cache(from recovery)(advanced wipe in twrp)
4. Install lollipop baseband
5. Install ROM
Additional links:
KK Baseband and kernel - https://yadi.sk/d/nVx3rb7MpheN9
LP Baseband and kernel(bumped)+KK bootloader - https://yadi.sk/d/_hz4jdQhpheNn

How to Restore previous ROM:
1. if you have KK based Rom - flash KK Baseband and restore ROM from Recovery
2. if you have LP based Rom - flash LP Baseband and restore ROM from Recovery
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160412-102319.jpg
Views:	26276
Size:	115.8 KB
ID:	3717149   Click image for larger version

Name:	Screenshot_20160412-102326.png
Views:	25214
Size:	89.2 KB
ID:	3717150   Click image for larger version

Name:	Screenshot_20160412-102413.png
Views:	24408
Size:	88.1 KB
ID:	3717151   Click image for larger version

Name:	Screenshot_20160412-102428.png
Views:	24374
Size:	140.6 KB
ID:	3717152   Click image for larger version

Name:	Screenshot_20160412-103953.jpg
Views:	24804
Size:	231.3 KB
ID:	3717153  
The Following 61 Users Say Thank You to xenius9 For This Useful Post: [ View ] Gift xenius9 Ad-Free
 
 
13th April 2016, 02:34 PM |#2  
Senior Member
Thanks Meter: 42
 
More
hell yeah, it amazing fast ever, testing now on f350s, seems everything good but nfc, will report later.

update: i think this rom can daily use for me live without double tap and nfc/IR, no fc and very fast on f350s.

update 2: few days gone, everthing good battery good no any fc. @xenius9, can you add IR remote in ROM further?
http://forum.xda-developers.com/lg-g...-aosp-t2929146
13th April 2016, 02:56 PM |#3  
Senior Member
Thanks Meter: 13
 
More
BUG: double tap screen and nfc.
Testing on d838.
13th April 2016, 03:09 PM |#4  
Senior Member
Flag Valjevo
Thanks Meter: 222
 
Donate to Me
More
Also testing on D838, for now, only NFC and DT2W doesn't works.
13th April 2016, 03:22 PM |#5  
Senior Member
Thanks Meter: 28
 
More
if I'm on KK
i just flash the KK Baseband and kernel then flash your rom???
13th April 2016, 03:23 PM |#6  
OP Senior Member
Flag NiNo
Thanks Meter: 817
 
Donate to Me
More
Quote:
Originally Posted by ares.

if I'm on KK
i just flash the KK Baseband and kernel then flash your rom???

Flash lollipop baseband and rom.
The Following User Says Thank You to xenius9 For This Useful Post: [ View ] Gift xenius9 Ad-Free
13th April 2016, 03:45 PM |#7  
Senior Member
Flag philippines for now
Thanks Meter: 277
 
More
i just installed it..noob question where can i download gapps for cm13? i tried open gapps its not working when i flash it tnx..what gapps did you use guys? tnx
.i would never imagine we will have a cm13 marshmalow for lg g pro 2! awesome xenius9
The Following User Says Thank You to pato2015 For This Useful Post: [ View ] Gift pato2015 Ad-Free
13th April 2016, 03:57 PM |#8  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by pato2015

i just installed it..noob question where can i download gapps for cm13? i tried open gapps its not working when i flash it tnx..what gapps did you use guys? tnx
.i would never imagine we will have a cm13 marshmalow for lg g pro 2! awesome xenius9

You can download gapps below


http://opengapps.org/

Sent from my LG-D838 using XDA-Developers mobile app
The Following User Says Thank You to stevenhehe For This Useful Post: [ View ] Gift stevenhehe Ad-Free
13th April 2016, 04:41 PM |#9  
Senior Member
Flag philippines for now
Thanks Meter: 277
 
More
Quote:
Originally Posted by stevenhehe

You can download gapps below


http://opengapps.org/

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

tnx..no wonder it cant install my gapps for 5.0 not 6.01 heheh..downloading gapps for 6.01 now

---------- Post added at 03:41 PM ---------- Previous post was at 03:12 PM ----------

how to turn on root for this cm13 rom... i installed super su..binary cant be updated..im i doing wrong here? sorry as this is my first cm rom
The Following User Says Thank You to pato2015 For This Useful Post: [ View ] Gift pato2015 Ad-Free
13th April 2016, 04:52 PM |#10  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by pato2015

tnx..no wonder it cant install my gapps for 5.0 not 6.01 heheh..downloading gapps for 6.01 now

---------- Post added at 03:41 PM ---------- Previous post was at 03:12 PM ----------

how to turn on root for this cm13 rom... i installed super su..binary cant be updated..im i doing wrong here? sorry as this is my first cm rom

You can enable root in development option

Sent from my LG-D838 using XDA-Developers mobile app
The Following 2 Users Say Thank You to stevenhehe For This Useful Post: [ View ] Gift stevenhehe Ad-Free
13th April 2016, 06:05 PM |#11  
Senior Member
Flag philippines for now
Thanks Meter: 277
 
More
and lastly anyone tried installing xposed on this?
The Following User Says Thank You to pato2015 For This Useful Post: [ View ] Gift pato2015 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes