• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Unofficial CyanogenMod 12.1 for LG L40 D170

vm03

Android Expert
Dec 16, 2014
750
1,354
CyanogenMod 12.1 for LG L40 D170
My port of CyanogenMod 12.1 for LG l40 D170. It is unofficial and unsupported by the CyanogenMod team.
Screenshot_2015-04-03-11-09-34.png Screenshot_2015-04-03-11-09-14.png Screenshot_2015-04-03-11-09-02.png
Screenshot_2015-04-03-11-08-14.png Screenshot_2015-04-03-11-07-53.png Screenshot_2015-04-03-11-07-31.png
Screenshot_2015-04-03-11-07-04.png Screenshot_2015-04-03-11-06-47.png Screenshot_2015-04-03-11-06-14.png
Absolutely NO WARRANTY! You can brick and destroy you device!
For advanced users only. Please, no stupid questions.
For install need unlocked bootloader and TWRP (20140403 or later) recovery.

Working:
  • Display
  • touchscreen and multituch
  • Hardware 3D rendring
  • RIL, DualSIM, SMS, MMS, calls, mobile data 2g 3g, etc
  • WiFi
  • GPS
  • Bluetooth
  • WiFi, Bluetooth, USB tethering
  • Audio - speaker, headphone, mic, routing, voip calls, etc
  • Camera - photo and video
  • SD card
  • FM radio
  • Hardware video decoding and encoding
  • Sensors
  • Double tap to wake
Not working:
  • FM radio without headphones
Download
See new builds on http://vasy.ru/CyanogenModOTA/builds/full/
(w5 for L70, w3ds for L40) or use OTA.

Gapps http://forum.xda-developers.com/android/software/reborn-gapps-5-t3074660
http://fitsnugly.euroskank.com/?rom=banks&device=gapps
Bootloader https://yadi.sk/d/Eob7iYsWdRR5m
Team Win Recovery twrp-2.8.7.0-20150821-w3ds.img

Source
Kernel https://github.com/vm03/android_kernel_lge_msm8610
Device https://github.com/vm03/android_device_lge_w3ds
https://github.com/vm03/android_device_lge_msm8610-common
Proprietary https://github.com/vm03/proprietary_vendor_lge_msm8610

  1. adb shell
  2. su
  3. dd if=/dev/block/mmcblk0p6 of=/sdcard/abootstock.bin
  4. exit
  5. exit
  6. adb pull /sdcard/abootstock.bin
  7. adb push aboot.bin /sdcard/
  8. adb shell
  9. su
  10. dd if=/sdcard/aboot.bin of=/dev/block/mmcblk0p6
  11. exit
  12. exit
  • adb push twrp_w3ds_20150328.img /sdcard/
  • adb shell
  • su
  • dd if=/sdcard/twrp_w3ds_20150328.img of=/dev/block/mmcblk0p17
  • exit
  • adb reboot recovery
  1. Copy zip's to SD
  2. Enter to recovery
  3. wipe data
  4. install zip from external_sd cm-12.1<...>.zip
  5. install zip from external_sd gapps
  6. reboot

Thanks:
Donate
 
Last edited:
  • Like
Reactions: sinapcs and lmntrix
Changelog

2015-11-28
2015-08-22
  • Add F2FS support for /data and /cache
  • Fixed offline mode charger
2015-05-30
  • Fix video recording resolution by @zlaja84
2015-05-06
  • LZ4 for ZRAM, up to 50% faster ZRAM
  • Fix CVE-2014-9529, CVE-2014-7825, CVE-2014-3153, CVE-2014-2523, CVE-2015-3636 in kernel
2015-04-22
  • Android 5.1.1
  • Fix CVE-2014-9715 and CVE-2015-2922 in kernel
2015-04-19
  • Enabled OTA updates. Starting with this version, here I will only write about major device specific changes.
2015-04-16
  • Enable call recording
2015-04-11
  • Fix manual network search and select
  • HW composer props for 8610
2015-04-02
  • First build
 
Last edited:
Upvote 0
I recently flashed your CM11 unofficial build for the L40 D170 and it worked fine for a couple of days. Today it died out due to no battery but it wont charge and i cant boot it up, any solutions ? cant get into recovery as well as well as factory reset(phone reboots as process begins)

Edit* I can access recovery but still cant get the phone to boot after performing wipe data and reflashed CM11 + Gapps. The charging indicator shows 0% charged even though ive left it on AC for 40 mins, the phone isnt charging
 
Last edited:
Upvote 0
I recently flashed your CM11 unofficial build for the L40 D170 and it worked fine for a couple of days. Today it died out due to no battery but it wont charge and i cant boot it up, any solutions ? cant get into recovery as well as well as factory reset(phone reboots as process begins)
Try reflash stok in LG Tool Emergy mode.
 
Upvote 0
Changelog

2015-05-06
  • LZ4 for ZRAM, up to 50% faster ZRAM
  • Fix CVE-2014-9529, CVE-2014-7825, CVE-2014-3153, CVE-2014-2523, CVE-2015-3636 in kernel
2015-04-22
  • Android 5.1.1
  • Fix CVE-2014-9715 and CVE-2015-2922 in kernel
2015-04-19
  • Enabled OTA updates. Starting with this version, here I will only write about major device specific changes.
2015-04-16
  • Enable call recording
2015-04-11
  • Fix manual network search and select
  • HW composer props for 8610
2015-04-02
  • First build
Working for D160G???
 
Upvote 0
Changelog

2015-05-06
  • LZ4 for ZRAM, up to 50% faster ZRAM
  • Fix CVE-2014-9529, CVE-2014-7825, CVE-2014-3153, CVE-2014-2523, CVE-2015-3636 in kernel
2015-04-22
  • Android 5.1.1
  • Fix CVE-2014-9715 and CVE-2015-2922 in kernel
2015-04-19
  • Enabled OTA updates. Starting with this version, here I will only write about major device specific changes.
2015-04-16
  • Enable call recording
2015-04-11
  • Fix manual network search and select
  • HW composer props for 8610
2015-04-02
  • First build
Working on D160g????
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones