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

Status
Not open for further replies.
Search This thread

PippoX3

Senior Member
Aug 12, 2010
1,472
3,198
TN - Italy
aokp.co
With Grarak's not yet committed changes to CM cherry-picked, I am able to build CM for the OP2.
I had an issue with the SIMs not being detected, which turned out to be due to a typo, which resulted in wrong include files to be used. That was fixed with this commit: http://review.cyanogenmod.org/#/c/133312/ which was merged today.
So, I think an official CM build is getting pretty close.

It builds successfully with merged commits too. But...

Guys, are these working now ?
GPS
Fingerprint
Laser Autofocus
Alert Slider

... LF still hangs. Slider & Swap buttons not yet implemented in oppo_common device. FP not working as usual.
 
  • Like
Reactions: chris264

JoeF2

Senior Member
Jan 4, 2011
213
109
Austin, TX
Guys, are these working now ?
GPS
Fingerprint
Laser Autofocus
Alert Slider

With Grarak's build, and the CM sources as well, GPS works. Fingerprint sensor is not going to be in there until the library is available. Probably the same for the laser autofocus stuff.
The slider works, with the not-yet-merged changes to oppo-common. As I said, I cherry-pick these for my own CM build. That's what the cherry-pick functionality of git is for...
I never like just downloading a build. I always want to be able to build things myself (and add my own stuff if I wish...) It also is a learning experience if something doesn't work, and you are trying to figure out why.
Granted, I have a professional interest, I am working with and modifying AOSP at $dayjob. In particular, at $dayjob I learned more than I ever wanted to know about SELinux (I'm still far from being an expert in it...) With this ROM, that's the current thing I'm trying out, setting SELinux to enforced. CM has it that way, but Grarak doesn't, and I also had changed it to permissive until now.
 
Last edited:

thedropdead

Senior Member
Nov 15, 2013
65
36
Does Anyone know what happened to regalstreaks Test FPS Builds from 31st of January 2016?
There was no update after searching for testers and now he is occupied, just interested in was the result of the test was, maybe a Tester here?
 

regalstreak

Senior Member
Jun 26, 2013
1,263
4,503
Mumbai
With Grarak's build, and the CM sources as well, GPS works. Fingerprint sensor is not going to be in there until the library is available. Probably the same for the laser autofocus stuff.
The slider works, with the not-yet-merged changes to oppo-common. As I said, I cherry-pick these for my own CM build. That's what the cherry-pick functionality of git is for...
I never like just downloading a build. I always want to be able to build things myself (and add my own stuff if I wish...) It also is a learning experience if something doesn't work, and you are trying to figure out why.
Granted, I have a professional interest, I am working with and modifying AOSP at $dayjob. In particular, at $dayjob I learned more than I ever wanted to know about SELinux (I'm still far from being an expert in it...) With this ROM, that's the current thing I'm trying out, setting SELinux to enforced. CM has it that way, but Grarak doesn't, and I also had changed it to permissive until now.
Yes you right. We learn more by compiling and not downloading. I do the same stuff though!
Does Anyone know what happened to regalstreaks Test FPS Builds from 31st of January 2016?
There was no update after searching for testers and now he is occupied, just interested in was the result of the test was, maybe a Tester here?
Naah, fps didnt work on that. I had said via the telegram channel i guess

Sent from my ONE A2003 using Tapatalk
 

thedropdead

Senior Member
Nov 15, 2013
65
36
Hey regalstreak, nice to see you still replying while studying. ;)

No there was no Result posted in Telegram, i have not received one, but it is sad to hear, i tried asking for someone to help in the discussion thread here.

Thanks for the quick reply :)

Yes you right. We learn more by compiling and not downloading. I do the same stuff though!

Naah, fps didnt work on that. I had said via the telegram channel i guess

Sent from my ONE A2003 using Tapatalk
 
  • Like
Reactions: regalstreak

regalstreak

Senior Member
Jun 26, 2013
1,263
4,503
Mumbai
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!
My recommendation: Seraph08's builds or Grarak's builds (on twitter)

@Grarak @Seraph08 @benschhold
I will transfer my Temasek thread to @benschhold too. I will continue posting RR builds as im the official maintainer!
 
Last edited:
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