• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][6.0.1][UNOFFICIAL][DEPRECATED] CyanogenMod 13 for OnePlus 2

Status
Not open for further replies.
Search This thread

regalstreak

Senior Member
Jun 26, 2013
1,262
4,498
Mumbai
To anybody who builds this ROM himself (as I do), it currently fails, due to this change: http://review.cyanogenmod.org/#/c/131503/
KeyHandler.handleKeyEvent got an additional parameter.
Also, CM has started working on the OP2 again: http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_device_oneplus_oneplus2
I've tried their stuff, it compiles, but I get a boot loop...
@ciwrl startef his work. He will soon start giving official ota too

Sent from my ONE A2003 using Tapatalk
 

djdana

Senior Member
Jan 17, 2007
424
114
ciwrl is a CM official. Grarak and ciwrl are working together to bring up a stable official CM build for OP2.
No the news are old so please don't ask when CM will be released. Just wait!
What are you talking about I never ever asked about a release. Man why do people always make popular answers. BUT ANYWAY THANKS FOR CLEARYFING ABOUT GRARAK.

Verstuurd vanaf mijn ONE A2003 met Tapatalk

---------- Post added at 10:11 AM ---------- Previous post was at 09:53 AM ----------

BTW it has been a while since grarak himself added his commits in the cm official github.

Edit: or not??

Verstuurd vanaf mijn ONE A2003 met Tapatalk
 
Last edited:

adukale

Senior Member
Nov 27, 2012
70
22
Solapur-Pune-Mumbai
Just tried installing this ROM today. Firstly, the Google Recovery step didn't work for me but that's not a big issue.

However, I am getting Apps crashing on launch (Facebook, Messenger), but I can't figure out why.

Hopefully someone might be able to help?

Hey
For Google Recovery step:
Remove CyanogenSetupWizard.apk from system/priv-app/CyanogenSetupWizard after flashing ROM from file manager TWRP>> Advanced >> File Manager. or delete CyanogenSetupWizard.apk and then wipe data/factory reset.
This will do the job.
 

JoeF2

Senior Member
Jan 4, 2011
204
105
Austin, TX
since youre new here and before everyone else tells you to search for yourself

you need to delete libslx.so from /data/data/com.facebook.katana/lib-xzs and /data/data/com.facebook.orca/lib-xzs. This requires root access and will need to be reapplied everytime either facebook or messenger is updated (some report it has to be redone every reboot, but that's not been the case for me).
Just installed a new FB version.
Apparently, they have fixed the issue, but they removed the widget :(
I am reinstalling it from a backup. Thank you, TitaniumBackup ;)
 

JoeF2

Senior Member
Jan 4, 2011
204
105
Austin, TX
Not sure which build you are on, but in Grarak's build (I don't know how it is with regalstreak's builds) you have an app called OnePlusControl where you can swap the recent and back buttons.
That app was in the CM sources, but has been removed a week ago: https://review.cyanogenmod.org/#/c/132284/
In Grarak's latest build the button swap is now under settings/buttons, in regalstreak's build it is under settings/gestures (which is where grarak originally had it as well; I complained about that way back with his first build, because it has nothing to do with gestures...)
 
  • Like
Reactions: tremendouz

the_rooter

Senior Member
Aug 3, 2014
2,075
525
Olean
Can't seem to be able to flash gapps with the latest build. I picked arm64 6.0 and says it's not compatible, but then I tried 5.0 and it installs play store but won't open. I seen in a few other threads that it happens there too. This is coming from a clean flash.
 

ahepas

Senior Member
Feb 11, 2011
1,267
674
Rodolivos-Amfipoli
Guys, are these working now ?
GPS
Fingerprint
Laser Autofocus
Alert Slider
Too drunk to f#$&%, too lazy to read... Just read... So easy..

Sent from my ONE A2003 using Tapatalk

---------- Post added at 08:07 AM ---------- Previous post was at 08:05 AM ----------

Too Drunk to **** https://g.co/kgs/KBTsw

Sent from my ONE A2003 using Tapatalk
 
  • Like
Reactions: partridge79
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 211
    CyanogenMod 13 for OnePlus 2
    96ENX9g.jpg


    Note: This was the first MM Bootable Rom for the OP2 which was made by me, you can compare the dates of the threads if you would like to. Due to exams and stuff, I had to discontinue building some ROMs, hence I am closing this thread for now so that people do not get confused about which cm to flash! Thanks for supporting OP2 Development!

    EDIT: Proof that I got it booting first (For Guys Like Him)
    My post | Grarak's words | Old device tree commits


    My recommendation: Seraph08's builds or Grarak's builds (on twitter)



    Code:
    * Your warranty is now void.
    * I am not responsible for bricked devices, dead fingerprint scanners,  thermonuclear war, or you getting fired because the alarm app failed.
    * Please do some research if you have any concerns about 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.


    What? Marshmallow? Now?
    Yeah! Finally made it boot. Loads of hard work done!
    Ok. So please read the thread fully before flashing. Enjoy the taste of Marshmallow!
    But please do not tell me its sweetness! Press the Thanks Button instead of saying Thanks!
    If you really want to personally thank me, send me a pm on Telegram. I'm "regalstreak" on Telegram!
    Or if you truly happy and mad about me, donate me some Bitcoin!
    Here is my Bitcoin address: 1CKcSs8RCnRG1bwERGrRUVZ5Ckrgbe6uVR
    If you got any problems, bugs, etc. please mention me here! We will be happy to assist your problem.
    One last request. Please do not quote the whole of OP as it makes the thread untidy :)


    If you need nightly builds, go here (They are updated frequently)
    Need coolest new features, you go there. Need little stability, you are at the right place..
    FAQ is below.
    Always read FAQ before asking.



    What Works?
    • Booting!
    • Display
    • Touchscreen
    • WiFi
    • Bluetooth
    • Audio
    • RIL
    • Camera (Partially)


    What Doesn't Work? (WIP)

    • GPS
    • Fingerprint
    • Laser Autofocus
    • Alert Slider
    Downloads
    Full ROMs

    Go Here For 2015 Builds


    Installation

    • Boot into Recovery
    • Wipe System/Cache/Data
    • Select Install Zip
    • Select the ROM and optional GApps (64-bit)
    • Pro Tip: Flash gapps immediately after flashing ROM or you will face force closes
    • Done
    • First Boot Takes Time To Optimise The Apps (Will stick around 10-12 minutes)

    Sources

    Screenshots

    Credits

    Social
    This channel is just for developer announcements. Why? Because before flashing a new build, we cannot come to XDA and update you'll if we wanna check it out real quick. Or if we wanna tell what we working on quick, we can update you'll there fast! No spam will be here as this is not a group but a channel. Just click on the link and open with Telegram and you'll know! Also, all developer announcements groups are deprecated.
    47
    Changelog

    Code:
    #6 - 20160204
    Camera fixed
    Snapdragon Camera App
    Back to building
    Merged Upstream
    ----------
    #5 - 20151226
    Enabled dexpreopt for faster boot times
    Merged Upstream
    Camera (partial fix added not present in weeklies)
    Some Cleanup in code
    #4 - 20151218
    Fixed RIL
    Added Double tap to wake
    Updated Build fingerprint
    Added fingerprint scanner code
    Fixed Red Borders
    Switched to userdebug builds instead of eng
    Merged Upstream
    ----------------
    #3 - Merge Upstream
    ----------------
    #2 - 20151211
    Fixed Audio (Thanks to @grarak and @david_vaz)
    Merged Upstream
    Marshmallow 6.0.1
    ----------------
    #1 - 20151208
    Initial Release
    41
    FAQ

    Gapps is causing the error "Unfortunately Setup Wizard Has Stopped".
    Have you read the Install Instructions? Flash gapps immediately after the ROM. That means do not reboot to system after flashing the rom and then go to recovery again and flash gapps.


    How do I install this ROM with Dualboot Patcher?

    Follow these instructions carefully.
    1. Install DualBoot patcher apk, open the app and go to ROMs section.
    2. Set the current running kernel as kernel for Primary ROM (The app will ask you to do so)
    3. Download CM13 and go to "Patch zip file" section.
    4. Patch the ROM (for OnePlus 2 choose "Data Slot"). (ID: insert anything like cm13. It doesn't matter though)
    a) Primary ROM upgrade (You can patch zip for Primary ROM if you want to flash primary and don't destroy second system.
    b) Secondary (Not usable due to small System partition)
    c) Multislot1, 2 , 3 - (Not usable because /cache partition is too small).
    d) Data slot - Use this!
    e) Extsd slot - (Not usable)
    5. Flash patched ROM with TWRP.
    6. Reboot
    You second system should start.

    How to switch between ROMs:
    1. Both ROMs need DualBoot patcher installed, in "ROMs" section you should see ROMs list.
    2. To switch the ROM simply go to TWRP.
    3. Click Install.
    4. Click Image option (Bottom Right Corner)
    5. Go to /sdcard/Multiboot/<your rom name>
    6. Select boot.img
    7. Click boot partition.
    8. Flash and reboot.
    9. Other ROM will start!


    Gapps cause cm13 to bootloop.
    Yes for now this problem has not been solved. We will look into this later.

    Login with Google does not work in some apps.
    Sometimes, on a fresh wipe, the phone language will be set to an invalid language. Changing it to a valid one from Settings should fix the issue.

    Battery Statistics shows that Wi-Fi is always on even though I've turned it off.
    If you are using "scanning always available" in Advanced Wi-Fi Settings, then Wi-Fi will always be on to scan for available network to aid location discovery.

    How do I enable root?
    Root is now disabled by default in CM. To enable root, first enable developer options. Then enable it in Settings -> Developer Options -> Root access.

    Can you include Feature X into your ROM?

    No. This ROM will have CyanogenMod's feature set.

    Can you include Cyanogen OS's apps?
    No. Cyanogen OS's proprietary apps are not a part of the open-source CyanogenMod. You can, however, download C-Apps directly from Cyngyn and install it.

    Can you include call recording?
    No. The open-source version of CyanogenMod does not include call recording to avoid potential legal issues.

    What kernel does this ROM use?
    A slightly modified version of the stock kernel, the source code is linked above.

    Can I use your ROM as a base?
    http://source.android.com/source/licenses.html

    Most of Android/CyanogenMod is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given and it is not misappropriated as being the official CyanogenMod. (In other words, you must say that it is based on regalstreak's unofficial CyanogenMod, but is not related to CyanogenMod in any other way. Also, please mention the credits that have been mentioned in OP as they have worked too hard to get this ROM too.)

    Can contacts be saved to phone/SIM?
    No. It is not supported in AOSP-based ROMs.

    Can I send files over Wi-Fi Direct?
    Yes, but you must use third-party applications. The implementation provided on Samsung ROMs is not an open standard. AOSP/CM does not provide a native way to send files over Wi-Fi Direct.

    Can I mirror your ROM?
    You're free to. But if you ask me to mention your mirror here, I don't know if i will do so.

    Will feature X from a previous version of CM be implemented?
    I don't know, probably will be, eventually. I don't really involve myself in the feature-set side of CM.

    How do you type so much?
    Actually I didn't type this as a whole. I took inspiration from @pawitp's threads that I used to refer earlier :)
    41
    New build uploading. Audio fixed + Merged upstream + 6.0.1
    38
    Ril depends on other devs now. I dont have time too. Said ill get my laptop 1ce a week only . have to concentrate on studies to get into an awesome college. [emoji14] If i didnt have studies and had the time, i wouldve got ril fixed by now with help of other devs. Dont worry. It will be fixed soon. Were making progress. Nightlies will be for youll but will be untested. So youll have to report.
    I have implemented this nightly things because im not gonna get my laptop to build everyday.
    Devs also have other work like studies, classes, eating food, socializing and stuff too! Just like you. They also have to cope up with diff probs in life. Dont keep asking. If we make some progress, youll will automatically be updated here. If you got telegram and dying for updates, join the dev announcement group. Remember that only announcements will be made here. No discussion or offtopic or else ban. Here is the link:
    This is deprecated. Link removed. Check OP for Telegram channel.

    If you want to get help from OnePlus 2 users, have any queries, want to discuss anything then join below group,
    https://telegram.me/joinchat/ADdqXgLcfhEQdcCsRV3Onw

    And please dont fight on no eta and styff :3 that bloats the thread and is really annoying.

    Thanks for reading it.

    Sent from my ONE A2003 using Tapatalk