1. Download our Official Android App: Forums for Android!

Root Unofficial CyanogenMod 11 for LG L40 D170

Discussion in 'Android Devices' started by vm03, Dec 16, 2014.

  1. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    CyanogenMod 11 for LG L40 D170
    Screenshot_2014-09-06-11-18-51.png Screenshot_2014-09-06-11-19-27.png Screenshot_2014-09-06-11-20-11.png Screenshot_2014-09-06-11-21-01.png Screenshot_2014-09-06-11-21-25.png Screenshot_2014-09-06-11-21-56.png
    My port of CyanogenMod 11.0 for LG l400 D170. It is unofficial and unsupported by the CyanogenMod team.
    Absolutely NO WARRANTY! You can brick and destroy you device!
    For advanced users only. Please, no stupid questions.
    For install need unlocked bootloader and CWM 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
    Bootloader https://yadi.sk/d/Eob7iYsWdRR5m
    CWM Recovery https://yadi.sk/d/XhPf01TNdRRJx
    cm-11-20160113-UNOFFICIAL-w3ds.zip https://vasy.ru/CyanogenModOTA/builds/full/cm-11-20160113-UNOFFICIAL-w3ds.zip
    with internal SD card:
    cm-11-20150907-UNOFFICIAL-w3ds.zip https://yadi.sk/d/RZTQy3DniwjVV
    only external SD card:
    cm-11-20150906-UNOFFICIAL-w3ds.zip https://yadi.sk/d/poPWcM0miwjWa
    with internal SD card:
    cm-11-20150729-UNOFFICIAL-w3ds.zip https://yadi.sk/d/MJ7N6FnNiBQEz
    only external SD card:
    cm-11-20150730-UNOFFICIAL-w3ds.zip https://yadi.sk/d/1FMegliqiBQFZ
    cm-11-20150325-UNOFFICIAL-w3ds.zip https://yadi.sk/d/i9eHiv9ZfXd8n
    cm-11-20150215-UNOFFICIAL-w3ds.zip https://yadi.sk/d/C0DZhEqsehf94
    cm-11-20150110-UNOFFICIAL-w3ds.zip https://yadi.sk/d/7Dw-uTgadvX4f
    cm-11-20150104-UNOFFICIAL-w3ds.zip https://yadi.sk/d/mztw-aVsdnE22
    cm-11-20141213-UNOFFICIAL-w3ds https://yadi.sk/d/XntF1I61dMzFk
    Gapps http://forum.xda-developers.com/showthread.php?t=2397942

    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 recovery_lg_d170_cwm03 /sdcard/
    • adb shell
    • su
    • dd if=/sdcard/recovery_lg_d170_cwm03.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-11<...>.zip
    5. install zip from external_sd gapps
    6. reboot

    Thanks:
    • CyanogenMod Team
    • Quarx
    • Andrew-New
    Donate

     

    Advertisement

    #1 vm03, Dec 16, 2014
    Last edited: Jan 21, 2016
    Miltiades, sinapcs, lmntrix and 2 others like this.
  2. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    Changelog:

    2016-01-13
    • Upstream security fixes.
    2015-09-07
    • LG Battery code
    • Upstream security updates
    2015-07-29
    • Fixed CVE-2015-1538 CVE-2015-1539 CVE-2015-3824 CVE-2015-3826 CVE-2015-3827 CVE-2015-3828 CVE-2015-3829
    2015-03-25
    • New GPS HAL lib's
    2015-02-15
    • Better implementation tap2wake. No problem with drop calls if enabled end call by power button option.
    2015-01-10
    • More fix camera freeze
    2015-01-04
    • Removed internal SD card
    • double tap to wake now working
     
    #2 vm03, Dec 16, 2014
    Last edited: Jan 21, 2016
    lmntrix likes this.
  3. Edward Tahanian

    Rank:
    None
    Points:
    16
    Posts:
    1
    Joined:
    Dec 17, 2014

    Dec 17, 2014
    1
    1
    16
    Male
    does anyone installed it ????
     
    lmntrix likes this.
  4. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    Will this work on d160 (the single sim version).
     
    lmntrix likes this.
  5. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    Can work, need some changes:
    1. delete persist.radio.multisim.config=dsds from build.prop
    2. replace /system/usr/keylayout/gpio-keys.kl from d160
     
    lmntrix and SomethingWeird like this.
  6. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    Thanks a lot.Just finished flashing cm11 without a problem.There are issues with the wifi,but its too late for me to look into that.Calling and such basic stuff work.You have no idea how much i missed cyanigen mod.You have no idea how grateful i am.
     
    lmntrix likes this.
  7. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    Here is the logcat for the wifi from boot.Im new to this so im not sure what im looking at but this lone keeps repeating
    E/WifiHW ( 690): Supplicant not running, cannot connect
     

    Attached Files:

    dariel and lmntrix like this.
  8. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    Also the camera is broken too and in cwm i cant mount as usb drive.
    Sry if im being annoying.
     

    Attached Files:

    lmntrix likes this.
  9. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    Sorry, as i see d160 more different. Very hard do something without device...
     
    lmntrix likes this.
  10. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    After a full day of testing its really stable and beside those 2 everything else works(3g works so im not left without net).

    Anyway i think im going to stay on the stock rom unless there is nothing i could do to help you with this.Id try to make a rom on my own but with the crappy pc,slow net(literary took me 50 min to download just the rom) and no experience i dont think i have the nerves.
     
    lmntrix likes this.
  11. lmntrix

    lmntrix Well-Known Member
    Rank:
    None
    Points:
    73
    Posts:
    242
    Joined:
    Jan 2, 2015

    Jan 2, 2015
    242
    51
    73
    Male
    Iran
    After all day of using this rom on my lg l40 dual it works better than the LG Stock 4.4.2 ROM.
    its good for daily use and its stable
    everything is working exept the FM Radio without the handsfree !!!!

    thank you all .......
     
  12. Zero3009

    Zero3009 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    3
    Joined:
    Jan 18, 2015

    Jan 18, 2015
    3
    3
    6
    Male
    Will this work on D165AR (the single sim version).
     
    lmntrix likes this.
  13. Zero3009

    Zero3009 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    3
    Joined:
    Jan 18, 2015

    Jan 18, 2015
    3
    3
    6
    Male
    Will this work on D165AR (the single sim version).
     
    lmntrix likes this.
  14. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    May be. Test and tell.
     
    lmntrix likes this.
  15. guvixx

    guvixx Lurker
    Rank:
    None
    Points:
    6
    Posts:
    1
    Joined:
    Jan 27, 2015

    Jan 27, 2015
    1
    1
    6
    Adorei a iniciativa parabéns :thumbsupdroid:!!! Adoraria testar mais eu tenho o l40 D175:saddroid: , você tem planos para o D175 ?? Vlww
     
    lmntrix likes this.
  16. hankwang

    hankwang Lurker
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Feb 1, 2015

    Feb 1, 2015
    4
    4
    6
    Is there any way to get the LG L40 into recovery mode without adb/root from a working system? I tried all combinations of VolUp, VolDown, Home, and Power, but all of them boot the device normally.

    I'm hesistant to experiment with a custom ROM if I don't have a means to recover from a bootloop or otherwise failed ROM update. Surely vm03 must have had a few boot problems to resolve while porting CM11?
     
    lmntrix likes this.
  17. lmntrix

    lmntrix Well-Known Member
    Rank:
    None
    Points:
    73
    Posts:
    242
    Joined:
    Jan 2, 2015

    Jan 2, 2015
    242
    51
    73
    Male
    Iran
    Hi to put your lg l40 into recovery you should power off you phone-take out the battery-put it again-hold volume down with power till you see the lg logo leave the keys and hold the power key again till your phone get your permission to boot into recovery...
     
  18. hankwang

    hankwang Lurker
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Feb 1, 2015

    Feb 1, 2015
    4
    4
    6
    Thanks for the response. It seems that the timing is quite critical (release VolDown+Power, immediately press Power again).

    However, I am then greeted with a screen "Perform factory reset? Yes/No". No recovery boot loader. A factory reset will not help me to unbrick a device if something went wrong with the ROM upgrade.

    Note: I have an encrypted /data partition and this is a D160 L40 (the single-SIM version). Maybe that makes a difference?
     
    lmntrix likes this.
  19. SomethingWeird

    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Jan 4, 2015

    Jan 4, 2015
    23
    15
    18
    Just go yes,it wont do a factory reset,but get you in cwm instead(that is if you have flashed cwm before).
     
    lmntrix likes this.
  20. hankwang

    hankwang Lurker
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Feb 1, 2015

    Feb 1, 2015
    4
    4
    6
    Uhm, no CWM yet, since I won't flash anything before I'm sure that I can recover the original bootloader (with fastboot) and OS image. :)
     
    lmntrix likes this.
  21. ddv1976

    ddv1976 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Feb 4, 2015

    Feb 4, 2015
    2
    2
    6
    how I unlock the bootloader???
     
    lmntrix likes this.
  22. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    Read first post!!!
     
    lmntrix likes this.
  23. hankwang

    hankwang Lurker
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Feb 1, 2015

    Feb 1, 2015
    4
    4
    6
    P.S. I didn't try it myself, but a Youtube clip confirms that pressing YES on the "Factory reset?" prompt wil indeed do a factory reset (after one more confirmation) of the L40-D175 (dual SIM). It seems to work without battery removal. I found the manual for the L40-D160, which doesn't mention the battery either. (Nor does it mention a way to enter recovery mode). Oh well. I'm not going to risk hard-bricking this phone.
     
    lmntrix likes this.
  24. ddv1976

    ddv1976 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Feb 4, 2015

    Feb 4, 2015
    2
    2
    6
    Hello, I can help unbrick my lg L40 d160j , I take the SAT but they did not have technicians available , lg l40 d160j Presenting symptoms :
    1. No power , no vibration , no Respond to Button .
    2. not charge the battery
    3. The PC recognizes it as removable device and has two folders : image and VERINFO .
    4. If I remove the battery and connect the charger shows exclamation symbol "!" A yellow triangle with battery, The Same happens when connected to pc sin Battery .
    I hope you can help me. Any ideas?
     

    Attached Files:

    lmntrix likes this.
  25. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
  26. vm03

    vm03 Android Expert
    Thread Starter
    Rank:
     #75
    Points:
    293
    Posts:
    773
    Joined:
    Dec 16, 2014

    Dec 16, 2014
    773
    1,397
    293
    New build. New GPS.
     
Tags:

Share This Page

Loading...