arter97's custom-built CyanogenMod 13

Search This thread

arter97

Recognized Developer
Oct 14, 2012
3,885
34,651
26
Seoul
cm.png


arter97's custom-built CyanogenMod 13

/* Changes */

- Force enabled Optimizing Compiler and Optimize Everything filter for ART, first boot(or after update) will be very slow
- Built with GCC instead of Clang to avoid regressions on stability and performance
- Built with Oracle JDK 7u121
- Merged AOSPA's bionic(libc) optimizations
- Merged AOSPA's build environments for better optimizations
- Semi-forced 0 compressions on apks and jars for better performance
- Updated memory allocator(jemalloc)
- Updated SQLite
- Forward-ported "Wake-Up" control from CyanogenMod 12.1 on Privacy Guard
- Implemented status-bar burn-in protection

/* Info */

- I'm building my own CyanogenMod because there are some stuff that I would really like to change myself, if you don't like it, leave.
- These builds are based on official CyanogenMod 13, most contributed by Grarak, dianlujitao and Steve Kondik.
- The ROMs uploaded are provided "as is" and no support will be given. You're installing those at your own risk.
- For changelog, visit https://github.com/CyanogenMod and https://www.cmxlog.com/13/oneplus3 (my builds may be few commits behind the official CM builds)
- Because those are an "unofficial" nightly, no OTA support will be given. CMUpdater app is excluded.
- Builds are built with the latest Oracle's JDK 7u121.
- Builds are always built after fully clobbering the previous build.
- Block-based-OTA is disabled for making 3rd-party easy to modify this ROM, and to support f2fs-formatted /system with supported kernels.
- The included kernel is the same as the official CyanogenMod build, which does not support f2fs-formatted /system. You are encouraged to switch to my own kernel.
- All apk and jar files are not compressed for optimal memory usage.
- Builds are "user" builds. Meaning it's more optimized than a "userdebug" build, but lacks root access. If you need root access, flash SuperSU upon installation.

/* Disclaimer */

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. Hard. A lot.

/* Downloads */

arter97 kernel for OnePlus 3 running CyanogenMod
http://arter97.com/browse/op3/ROM/CyanogenMod

/* Thanks to */

Grarak
dianlujitao
xboxfanj
TheCrazyLex
Thecrazyskull

/* Installation */

1. Install TWRP recovery
2. Put ROM and Gapps on you SD card
2.1. OpenGapps Pico is recommended - http://opengapps.org
3. Enter recovery and do a full factory reset and wipe /system
4. Flash ROM and Gapps in order
4.1. Flash latest SuperSU if you want root access
5. Reboot after first setup

XDA:DevDB Information
arter97's custom-built CyanogenMod 13, ROM for the OnePlus 3

Contributors
arter97
ROM OS Version: 6.0.x Marshmallow
Based On: CyanogenMod 13

Version Information
Status: Nightly

Created 2016-08-14
Last Updated 2016-11-07
 

arter97

Recognized Developer
Oct 14, 2012
3,885
34,651
26
Seoul
/* Changelog */

1220
CM source merge
Jemalloc updated to 4.4.0

1127
CM source merge
DisplayThread: use realtime scheduling (by xboxfanj)

1116
CM source merge
Fix speaker-mic path
Stop using voice/voip path for headphones
Xposed fix included

1113
Jemalloc merge durp fixed
Fixed my dumb mistake that made the UI patches not in the actual builds

1111
CM source merge
One more thread prioritization made to improve UI responsiveness(from AOSPA)
Jemalloc updated to 4.3.1
Latest OxygenOS blobs merged (MUST HAVE LATEST FIRMWARE)
Pocketmode added(from CM)
GPS fixed

1107
JDK updated to 7u121
CM source merge
Thread prioritization made to improve UI responsiveness(by xboxfanj, TheCrazyLex, Tim Murray)

1024
CM source merge
Audio HAL reverted back to CM ones
(Now phone is a bit more usable)

0915
CM source merge
SELinux set to permissive on the included kernel
'release-keys' tag used to workaround root detecting apps
More AOSPA's improvements from TheCrazyLex and xboxfanj
(Kryo-specific optimizations)

0827
CM source merge
Audio HAL merged from OxygenOS/AOSPA
- Should handle VoIP better

0825
CM source merge
AOSPA's improvements by @TheCrazyLex and @xboxfanj
- Massive Kryo-specific optimizations
- ART & jemalloc(memory allocator) optimizations
- RIL is now in power saving mode
WiFi re-association RSSI thresholds relaxed (by sultan)

0818
CM source merge
AOSPA's improvements by @TheCrazyLex
- GPS should be up faster
- Dalvik Heap size is modified(should be more optimized)
- Wi-Fi config file is revamped(checkout GitHub for details)
- GPU will now enter 133 MHz
- Camera HAL1 API is forced for some problematic apps(commit by Thecrazyskull)

0817
CM source merge

0814
Initial release
 
Last edited:
L

Latudinous

Guest
Interesting changes, I look forward to trying this ROM. Thanks for your effort!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 83
    cm.png


    arter97's custom-built CyanogenMod 13

    /* Changes */

    - Force enabled Optimizing Compiler and Optimize Everything filter for ART, first boot(or after update) will be very slow
    - Built with GCC instead of Clang to avoid regressions on stability and performance
    - Built with Oracle JDK 7u121
    - Merged AOSPA's bionic(libc) optimizations
    - Merged AOSPA's build environments for better optimizations
    - Semi-forced 0 compressions on apks and jars for better performance
    - Updated memory allocator(jemalloc)
    - Updated SQLite
    - Forward-ported "Wake-Up" control from CyanogenMod 12.1 on Privacy Guard
    - Implemented status-bar burn-in protection

    /* Info */

    - I'm building my own CyanogenMod because there are some stuff that I would really like to change myself, if you don't like it, leave.
    - These builds are based on official CyanogenMod 13, most contributed by Grarak, dianlujitao and Steve Kondik.
    - The ROMs uploaded are provided "as is" and no support will be given. You're installing those at your own risk.
    - For changelog, visit https://github.com/CyanogenMod and https://www.cmxlog.com/13/oneplus3 (my builds may be few commits behind the official CM builds)
    - Because those are an "unofficial" nightly, no OTA support will be given. CMUpdater app is excluded.
    - Builds are built with the latest Oracle's JDK 7u121.
    - Builds are always built after fully clobbering the previous build.
    - Block-based-OTA is disabled for making 3rd-party easy to modify this ROM, and to support f2fs-formatted /system with supported kernels.
    - The included kernel is the same as the official CyanogenMod build, which does not support f2fs-formatted /system. You are encouraged to switch to my own kernel.
    - All apk and jar files are not compressed for optimal memory usage.
    - Builds are "user" builds. Meaning it's more optimized than a "userdebug" build, but lacks root access. If you need root access, flash SuperSU upon installation.

    /* Disclaimer */

    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. Hard. A lot.

    /* Downloads */

    arter97 kernel for OnePlus 3 running CyanogenMod
    http://arter97.com/browse/op3/ROM/CyanogenMod

    /* Thanks to */

    Grarak
    dianlujitao
    xboxfanj
    TheCrazyLex
    Thecrazyskull

    /* Installation */

    1. Install TWRP recovery
    2. Put ROM and Gapps on you SD card
    2.1. OpenGapps Pico is recommended - http://opengapps.org
    3. Enter recovery and do a full factory reset and wipe /system
    4. Flash ROM and Gapps in order
    4.1. Flash latest SuperSU if you want root access
    5. Reboot after first setup

    XDA:DevDB Information
    arter97's custom-built CyanogenMod 13, ROM for the OnePlus 3

    Contributors
    arter97
    ROM OS Version: 6.0.x Marshmallow
    Based On: CyanogenMod 13

    Version Information
    Status: Nightly

    Created 2016-08-14
    Last Updated 2016-11-07
    63
    I'll be abandoning this project soon in favor of AOSPA's Nougat.

    The more I use CyanogenMod, the more I notice its lack of optimizations.
    AOSPA is miles better in terms of device specific optimizations(kernel and entire ROM base).
    Not to mention that it's way bugless than CyanogenMod. Nougat will be stabilized quite soon.

    However, AOSPA is not all that feature-packed like CyanogenMod.
    And I'll be porting some CM features over to AOSPA myself.

    I hope to see you guys moving for the future the same way :)


    (And shoutout to @Ton11512 for the generous donation. Appreciated!)
    61
    (This might not be the most appropriate thread to post this, but whatever, Twitter is too small)

    A few "enthusiast" users who might read benchmarks before purchasing phones,
    might have noticed something with OnePlus 3T's random write benchmark performance.

    Here's a TL;DR.
    - f2fs phones are not "drastically" faster than the ones with ext4, in terms of random writes
    - OEMs might be (inadvertently) cheating with f2fs random writes benchmarks



    Many testers and reviewers use AndroBench to test storage performance. It uses DIO(Direct-IO) when testing random reads and writes to avoid cache hits as Linux is smart enough to cache upcoming random r/w requests. I guess the intention of the AndroBench developers is to avoid cache hits and test pure storage performance.

    https://git.kernel.org/pub/scm/linu...y&id=39a58e05f7eb52bcc2130ed6340ebb546a7d75a8

    However, there’s a bug on earlier versions of f2fs, which caches DIO requests. This bug drastically improves DIO performance at the cost of data consistency. More importantly, this is not an expected behavior of a filesystem. More popular, extensively tested filesystems such as ext4 and xfs never had this kind of issues.
    The link above is the fix to this issue.

    Since OEMs like to play safe and tend to use older versions of f2fs, they can inadvertently have this issue as well, along side with much improved benchmark performance.

    “So why not follow OEMs and cache DIO?”
    As I said, this is not an expected behavior of a filesystem, and should be considered as a bug. Most importantly, almost nothing on your phone uses DIO for anything, except for benchmarks.

    “Then, who are (inadvertently) cheating?”
    OnePlus and Motorola are the ones I confirmed. And I guess many more as the DIO fix is only a year old.

    “My f2fs performance is so much worse after installing a custom ROM. Am I ok?”
    Absolutely yes. Your device’s daily performance will not be worse(if not better) than OEM ones.

    OEMs who decide to switch to f2fs will suddenly get praises from the benchmark lovers that they are miles better than other phones with ext4.
    This is not true at all and I hope AndroBench and other storage testing benchmarks can workaround with this.

    Tell your family and friends that DIO cache bug thinggy got their hypes over 9000.
    31
    Please dont ask every time for f2fs. Never need this!!! Its not faster!!! I hate this noob questions.

    7ae.png

    2f7.png

    double_facepalm.jpg

    iWKad22.jpg

    Paris_Tuileries_Garden_Facepalm_statue.jpg

    Alice-facepalm.jpg

    Polar%20Bear%20Facepalm.jpg
    27
    New build along with the new kernel
    http://xdaforums.com/showpost.php?p=69503000&postcount=282

    Update is highly recommended.

    1107
    JDK updated to 7u121
    CM source merge
    Thread prioritization made to improve UI responsiveness(by xboxfanj, TheCrazyLex, Tim Murray)