[ROM] [BETA][5.1.1] Unofficial CyanogenMod 12.1

Status
Not open for further replies.
Search This thread

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
CyanogenMod for OnePlus 2

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Sources
https://github.com/Grarak/android_device_oneplus_oneplus2
https://github.com/Grarak/android_kernel_oneplus_msm8994
https://github.com/Grarak/proprietary_vendor_oneplus
https://github.com/CyanogenMod/android_device_qcom_common
https://github.com/CyanogenMod/android_external_mm-dash

What does work?
- Display
- Touchscreen
- Camera
- Audio
- RIL
- Sensors
- Wifi
- Bluetooth
- GPS
- Notification Slider

What does not work?
- Fingerprint
- Laser Autofocus

This ROM is currently quite stable. I am using it as daily driver.

Downloads
ROM

Installation
  • Boot into Recovery
  • Wipe Cache/Data
  • Install Zip
  • Select the ROM, optional GApps (64-bit)
  • Done

Credits
  • Hima-devs - for all their work on msm8994
  • lackyking - for his pretty stable CM build (http://xdaforums.com/showpost.php?p=62497811&postcount=17)
  • martincz - fixing bluetooth, helping with wifi symlinks and helping with compilation issues
  • KonstaT - fixing dtb
  • Oppo-devs - Gesture code

XDA:DevDB Information
CM OnePlus 2, ROM for the OnePlus 2

Contributors
Grarak
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked bootloader

Version Information
Status: Beta

Created 2015-08-24
Last Updated 2015-12-25
 
Last edited by a moderator:

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,498
Vienna
Changelog:

20151225
- Fixed MAC address
- Selinux enforcing

20151102
- Show USB-OTG mount options in storage settings
- audio improvements (fix OK Google)

20151017
- Fix OTG

20151003
- Fix hardware keys sometimes not responding

20150929
- Show correct phone variant

20150928
- Fix notification slider mapping after booting

20150927
- Enable double tap to wake
- Enable gestures
- Fix loudspeaker during call
- Use bfq
- Enable doze

20150913
- Use fiops scheduler after booting
- Add vibration intensity
- Add keydisabler
- Enable f2fs (untested)

20150912
- Fix notification slider

20150906
- Enable button vibration

20150831
- Some audio improvements

20150828
- Fix Wifi Hotspot
- Change codename to oneplus2

20150826
- Fix Audio
- Fix RIL
- Fix Sensors
- Fix Wifi
- Fix Bluetooth
- Fix GPS

20150824
- Initial release
 
Last edited:

TheDj408

Senior Member
Oct 24, 2013
303
265
Mumbai
Awesome!!

Will flash in 2 days as soon as I get the device!
Edit- Kernel Sources are out so hoping RIL will be fixed! All the best :)
Edit2- I've tested it for more than 2 days and its stable enough for me already!!
I wish that even the OnePlus Two had official Cyanogen OS support, what do you think?
Here is my full video about CM12.1 for OP2! If you have any doubts let me know :)
Huge thanks to @Grarak for the development!!
 
Last edited:

amritendur

Senior Member
Feb 6, 2015
66
20
Kolkata
Thumbs up to you

Kernel sources are out what is the development status???


CyanogenMod for all OnePlus 2

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

How to bug report
This is an alpha! No bug reports please

Sources
https://github.com/Grarak/android_device_oneplus_plutonium
https://github.com/Grarak/android_kernel_oneplus_msm8994
https://github.com/Grarak/proprietary_vendor_oneplus

What does work?
- Booting (whooo)
- Display
- Touchscreen
- Camera

What does not work?
- Everything else

TODO
- I can't get a working dt.img from sources! This build still uses dt.img from stock boot.img
- RIL: Needs modem symlinks!
- Ramdisk needs more cleanup

Please do not flash this ROM if you are using your OP2 as daily driver!

Downloads
ROM

Installation
  • Boot into Recovery
  • Wipe Cache/Data
  • Install Zip
  • Select the ROM
  • Done

Credits
  • Hima-devs - for all their work on msm8994

XDA:DevDB Information
CM OnePlus 2, ROM for the OnePlus 2

Contributors
Grarak
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked bootloader

Version Information
Status: Alpha

Created 2015-08-24
Last Updated 2015-08-24
 
  • Like
Reactions: Heussel

milestone2mod

Senior Member
Mar 20, 2012
302
270
As soon as I got an invite, the happy flashing can begin! Great to see you here, @Grarak ! Having good developers early in the game is crucial for us flashaholics
 

chris264

Senior Member
Apr 10, 2012
1,331
434
Thanks for the work and effort. Am looking forward to further development.

OnePlus 2
 

Gamm86

Senior Member
Sep 5, 2013
957
403
If only I had this phone...
Won't be long though hopefully.

Kudos for looking into this so quickly!
 

lackyking

Senior Member
Aug 5, 2009
68
7
Wuxi
I also ported cm12.1 for this device.
all features work well except for the camera.
camera will auto close after app open few seconds, maybe caused by tof sensors.
 
  • Like
Reactions: Zyxxeil
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 187
    CyanogenMod for OnePlus 2

    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Sources
    https://github.com/Grarak/android_device_oneplus_oneplus2
    https://github.com/Grarak/android_kernel_oneplus_msm8994
    https://github.com/Grarak/proprietary_vendor_oneplus
    https://github.com/CyanogenMod/android_device_qcom_common
    https://github.com/CyanogenMod/android_external_mm-dash

    What does work?
    - Display
    - Touchscreen
    - Camera
    - Audio
    - RIL
    - Sensors
    - Wifi
    - Bluetooth
    - GPS
    - Notification Slider

    What does not work?
    - Fingerprint
    - Laser Autofocus

    This ROM is currently quite stable. I am using it as daily driver.

    Downloads
    ROM

    Installation
    • Boot into Recovery
    • Wipe Cache/Data
    • Install Zip
    • Select the ROM, optional GApps (64-bit)
    • Done

    Credits
    • Hima-devs - for all their work on msm8994
    • lackyking - for his pretty stable CM build (http://xdaforums.com/showpost.php?p=62497811&postcount=17)
    • martincz - fixing bluetooth, helping with wifi symlinks and helping with compilation issues
    • KonstaT - fixing dtb
    • Oppo-devs - Gesture code

    XDA:DevDB Information
    CM OnePlus 2, ROM for the OnePlus 2

    Contributors
    Grarak
    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Unlocked bootloader

    Version Information
    Status: Beta

    Created 2015-08-24
    Last Updated 2015-12-25
    71
    Changelog:

    20151225
    - Fixed MAC address
    - Selinux enforcing

    20151102
    - Show USB-OTG mount options in storage settings
    - audio improvements (fix OK Google)

    20151017
    - Fix OTG

    20151003
    - Fix hardware keys sometimes not responding

    20150929
    - Show correct phone variant

    20150928
    - Fix notification slider mapping after booting

    20150927
    - Enable double tap to wake
    - Enable gestures
    - Fix loudspeaker during call
    - Use bfq
    - Enable doze

    20150913
    - Use fiops scheduler after booting
    - Add vibration intensity
    - Add keydisabler
    - Enable f2fs (untested)

    20150912
    - Fix notification slider

    20150906
    - Enable button vibration

    20150831
    - Some audio improvements

    20150828
    - Fix Wifi Hotspot
    - Change codename to oneplus2

    20150826
    - Fix Audio
    - Fix RIL
    - Fix Sensors
    - Fix Wifi
    - Fix Bluetooth
    - Fix GPS

    20150824
    - Initial release
    62
    How to fix mac address
    Reboot into recovery. Use terminal (adb shell or builtin terminal from TWRP) type in:
    mount system
    ln -sf /persist/wlan_mac.bin system/etc/firmware/wlan/qca_cld/wlan_mac.bin
    reboot

    Fix included in latest build
    55
    How do you do fellow kids? :cool:

    I'm glad somebody is trying to make CM usable on OP2, most likely I'll help and contribute something too later, as I just got a device myself.

    Cheers Grarak for what you're doing!
    39
    New build is up.