[ROM][7.1.2][Clark][LOS-based]**CrDroid**v3.8

Search This thread

pathogen47

Member
Nov 13, 2014
8
0
v3.8.3 is out !
no major changes just nov. security update and updated colorengine

On 3.8.2 and the update check is not seeing 3.8.3.

Also, I saw some posts in the thread concerning Wifi to LTE switching not working randomly. I do experience this frequently. Any fix for this?
Trying to use the camera sometimes takes a while to load and will sometimes crash.
 

mddunner

Senior Member
Feb 7, 2017
108
23
I've rest it because either it died or after it being awake and losing 50% I reset it, wonder if I should have just clean flashed. I still have my backup so I might just go back to that

It hasn't been every night, but its' been like 3 nights out of a little over a week

Been consistent for me after charging. Seems like I just need to reboot post charge or I'm awake 100%.
 

ACardAttack

Senior Member
Aug 10, 2013
1,115
205
Been consistent for me after charging. Seems like I just need to reboot post charge or I'm awake 100%.

I've had that problem in the past when I used a different kernel

I also didn't have this problem until I dirtyflashed to 3.8 from 3.7...don't know if that has anything to do with it
 

rajsahae

New member
Dec 14, 2017
1
0
Hi @firebird11,

I have a reproducible issue running crDroid v3.6. I have also tested in the most recent 3.8.3 and it reproduces there as well.
My wife has the exact same phone as I, running stock and the issue does not repro on her phone so this seems to be something specific to crDroid or it's base.

I have pasted a code snippet below that causes the problem, as well as the resulting stack trace.
I also have a small app that reproduces the problem on my device that I can provide you, and if viewing logs via adb, you can see the full stack there as well.

Since I'm a new user the system will not allow me to post links (for my phone details and the app file) but I have all that available for you via PM or email.
Please let me know if you want me to post it here, or on the Google+ community page, or the Github repo, etc.

Thanks!
Raj

The code snippet:
Code:
Calendar start = Calendar.getInstance();
Calendar end = Calendar.getInstance();
end.add(Calendar.YEAR, 30);

KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getApplicationContext())
       .setAlias("testKey")
        .setSubject(new X500Principal("CN=localhost"))
        .setSerialNumber(BigInteger.ONE)
        .setStartDate(start.getTime())
        .setEndDate(end.getTime())
        .setKeySize(2048)
        .build();
KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore");
generator.initialize(spec);
generator.generateKeyPair();

The stack trace:
Code:
E/CryptoTestApp: Unrecoverable failure trying to create key pair... :
                 java.security.ProviderException: Failed to load generated key pair from keystore
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:518)
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:470)
                     at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:699)
                     at example.a509.x509demo.MainActivity.doTests(MainActivity.java:59)
                     at example.a509.x509demo.MainActivity.access$100(MainActivity.java:18)
                     at example.a509.x509demo.MainActivity$1.onClick(MainActivity.java:38)
                     at android.view.View.performClick(View.java:5637)
                     at android.view.View$PerformClick.run(View.java:22433)
                     at android.os.Handler.handleCallback(Handler.java:751)
                     at android.os.Handler.dispatchMessage(Handler.java:95)
                     at android.os.Looper.loop(Looper.java:153)
                     at android.app.ActivityThread.main(ActivityThread.java:6244)
                     at java.lang.reflect.Method.invoke(Native Method)
                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
                  Caused by: java.security.UnrecoverableKeyException: Failed to obtain X.509 form of public key
                     at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:230)
                     at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStoreKeyPairFromKeystore(AndroidKeyStoreProvider.java:259)
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:509)
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:470) 
                     at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:699) 
                     at example.a509.x509demo.MainActivity.doTests(MainActivity.java:59) 
                    at example.a509.x509demo.MainActivity.access$100(MainActivity.java:18) 
                     at example.a509.x509demo.MainActivity$1.onClick(MainActivity.java:38) 
                     at android.view.View.performClick(View.java:5637) 
                     at android.view.View$PerformClick.run(View.java:22433) 
                     at android.os.Handler.handleCallback(Handler.java:751) 
                     at android.os.Handler.dispatchMessage(Handler.java:95) 
                     at android.os.Looper.loop(Looper.java:153) 
                     at android.app.ActivityThread.main(ActivityThread.java:6244) 
                     at java.lang.reflect.Method.invoke(Native Method) 
                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891) 
                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781) 
                  Caused by: android.security.KeyStoreException: Unknown error
                     at android.security.KeyStore.getKeyStoreException(KeyStore.java:676)
                     at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:231)
                     at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStoreKeyPairFromKeystore(AndroidKeyStoreProvider.java:259) 
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:509) 
                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:470) 
                     at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:699) 
                     at example.a509.x509demo.MainActivity.doTests(MainActivity.java:59) 
                     at example.a509.x509demo.MainActivity.access$100(MainActivity.java:18) 
                     at example.a509.x509demo.MainActivity$1.onClick(MainActivity.java:38) 
                     at android.view.View.performClick(View.java:5637) 
                     at android.view.View$PerformClick.run(View.java:22433) 
                     at android.os.Handler.handleCallback(Handler.java:751) 
                     at android.os.Handler.dispatchMessage(Handler.java:95) 
                     at android.os.Looper.loop(Looper.java:153) 
                     at android.app.ActivityThread.main(ActivityThread.java:6244) 
                     at java.lang.reflect.Method.invoke(Native Method) 
                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891) 
                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
 
Last edited:

benyjr

Member
Mar 21, 2016
41
13
I'm having a recent issue with a persistent notification light. It's always on even when all the notifications have been dismissed. Does anyone else have this issue?
 

Neexol

New member
Apr 7, 2018
1
0
How to install CrDroid 3.8.3 if I have official android 7 with TWRP and unlocked bootloader? If I use the instruction I got a bootloop and twitching the vibration motor every 2-3 seconds. Can you help me?
 

ACardAttack

Senior Member
Aug 10, 2013
1,115
205
How to install CrDroid 3.8.3 if I have official android 7 with TWRP and unlocked bootloader? If I use the instruction I got a bootloop and twitching the vibration motor every 2-3 seconds. Can you help me?

The problem is you're on official 7. This Rom with most other roms were made for the 6 modem.

You might be able to downgrade, there are a couple roms for the 7 modem. I know the unofficial resurrection remix has a build for 7
 
  • Like
Reactions: Aluminium X

stevejohnson42

Senior Member
Dec 7, 2013
394
183
Aiken, South Carolina
The problem is you're on official 7. This Rom with most other roms were made for the 6 modem.

You might be able to downgrade, there are a couple roms for the 7 modem. I know the unofficial resurrection remix has a build for 7

This is thread that notes Nougat ROMs that are compatible with 7 modem:

https://forum.xda-developers.com/moto-x-style/general/custom-roms-nougat-modem-t3733105

Just be sure to read the OP for the one you may want to flash - some require a modified TWRP ;

I can recommend the NucleaROM that uses official TWRP -- solid alternative

CrDroid a good ROM - but based on MM modem ; there are threads on how to get that back --
 

Wheels564

Senior Member
Apr 13, 2019
182
116
Genoa, U.S.A.
crDroidAndroid-7.1.2-20210411-clark-v3.8.9 (Nougat Bootloader)

crDroidAndroid version 3.8.9 for Clark.
** Nougat Bootloader only**

Mar 5, 2021 security patch
*note*
This rom has most of the lineage security updates but not all. At some point I will try to add the patches to all the device trees.

I've only tested it on single sim version but should work on dual sim.
What doesn't work?
This is based on LineageOS 14.1 and Hashbang173's Nougat tree.
Also you will want to be on TWRP 3.3.1-0 and clean flash only and as always do a backup.
Since this rom is pre-rooted if you want to install Magisk you will have to try the Lineage uninstall zip. I have not tried it so make sure you've made a backup

MD5 a02d0ac1b240b41d20fd0f1cf2b75790

*** I take no responsibilty for bricked devices ***
My work is here: https://github.com/Wheels564/android/tree/7.1

Credit for this also goes to:
crDroidAndroid team
The LineageOS team
Hashbang173
 

Attachments

  • crDroidAndroid-7.1.2-20210411-clark-v3.8.9.zip
    490.9 MB · Views: 37
  • Screenshot_20210411-193559.png
    Screenshot_20210411-193559.png
    169.3 KB · Views: 14

virginwidow

Senior Member
Mar 6, 2013
162
15
Knoxvegas TN
Moto X Pure
LG V20
HOUSTON, we {FIXED IT].... (twrp, bootloader)

the (assumed, possibly omitted) KEY was to immediately boot to TWRP using the vol +/- buttons to correctly invoke TWRP (the first time)

It's been stable since.

Prefer this to the Lineage variant (7.1) starts faster keyboard more use-able, etc...

I've not tested 'Divest-OS' (they seem legit, somplace north of 'replicant' but not suspicious as Graphene) however they're updating 7.1 for Clark

THANKS for your work
VW
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 55
    new build up!

    What's new?
    * Complete revamp of crDroid Settings! (You'll fall in love again)
    * Added Pixel animation settings for smartbar (navbar).
    * New QS header images.
    * Improvements for One-hand UI mode
    * Smartbar special button for One-hand UI mode.
    * Customizable Suspend Actions.
    * Ability to turn off activity arrows from WiFi / Data signal.
    * Fix developer settings hiding without option to restore. (tap build no. to restore)
    * Fix rendering issue for few browsers like firefox and chrome.
    * Fix data network issue for few users.
    * Few more small fixes and optimizations.
    44

    this is crDroid for Moto X pure

    crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today. We're mainly based on LineageOS so use custom kernels compatible with them!



    BE3pE0l.png





    Pixel look and feel.
    OMS-rootless (theme engine) Supported. Install Substratum from Play Store.
    OTA support
    Google Assistant
    LineageOS 14.1 - all mods and features
    StatusBar: Network Traffic
    StatusBar: SU icon toggle
    StatusBar: Ticker
    StatusBar: Hide/Show icons
    StatusBar: Hide/Show data activity arrows
    StatusBar: 4G icon
    StatusBar:VoLTE icon
    StatusBar: BatteryBar customizations
    StatusBar: Date customizations
    StatusBar: Battery styles
    StatusBar: Tap to Sleep
    StatusBar: Clock styles
    StatusBar: Custom logo customizations
    QuickSettings: QS Header image customizations
    QuickSettings: Weather tile integration and customizations
    QuickSettings: Tiles customization
    QuickSettings: Brightness slider toggle
    QuickSettings: Optional brightness icon
    QuickSettings: Vibrate on Touch
    QuickSettings: WiFi easy toggle
    QuickSettings: Bluetooth easy toggle
    QuickSettings: Data easy toggle
    QuickSettings: Location easy toggle
    Navigation: Toggle navbar
    Navigation: PIE navigation and customizations
    Navigation: DUI - SmartBar / Fling Toggle, animations and customizations (+ One Hand mode)
    Navigation: Dynamic Nav Bar Color
    Navigation: Pulse - smart visualization
    Notifications: Power notification controls
    Notifications: Force expanded notifications
    Notifications: Toggle immersive mode messages
    Notifications: Breathing notifications
    Notifications: Headsup Snooze
    Notifications: Headsup Timeout customization
    Display: Ambient Display customizations
    Display: Transparency Customizations
    Display: Blur Personalizations
    Display: Expanded Desktop Customizations
    Display: Scroll Animation Customizations
    LockScreen: Screen shortcuts
    LockScreen: Weather display
    LockScreen: Toggle longpress for screen shortcuts
    LockScreen: Swipe shortcuts
    LockScreen: Toggle media cover art
    LockScreen: Toggle clock
    LockScreen: Toggle date
    LockScreen: Toggle alarm
    LockScreen: Toggle status bar
    LockScreen: Tap to sleep
    LockScreen: Toggle longpress torch
    LockScreen: Cutomize number of notifications
    LockScreen: Toggle power menu for secure lockscreen
    LockScreen: Toggle quick settings access and hide swipe shortcuts for secure lockscreen
    Powermenu: On-the-go mode - camera overlay.
    Recents: Immersive Recents
    Recents: Hidden apps
    Recents: Toggle OmniSwitch as default Recent view
    Recents: Toggle Slim Recents as default Recent view
    Sound: Charging Sounds customization
    Sound: Toggle screenshot sound
    Sound: Live customization for number of volume steps
    Sound: Less frequent notification sounds
    Sound: DND customizations
    Animations Customization for Toast, System, etc.
    Miscellaneous: Clock Widget
    Miscellaneous: Wakelock Blocker (experimental)
    Miscellaneous: Partial / Full screenshot selection option
    Miscellaneous: Toggle suggestions on Settings dashboard
    Miscellaneous: Toggle summaries in Settings
    Miscellaneous: Toggle auto-start music player on headset detection
    Miscellaneous: Show CPU info overlay
    Miscellaneous: Pocket lock
    Miscellaneous: Sensor block
    Miscellaneous: Disable Force Close notifications
    Settings/Sound: Increasing Ringtone
    15 New Quick Settings Tiles including Caffeine mode, Expanded Desktop and Sync.
    Settings/Security: Quick PIN/Password Unlock
    Default sounds from latest Nexus image.
    Stability and performance improvements.
    ART Optimizations


    where working on getting more features but only if the rom stays stable
    if you have a request please ask on our G+ site



    Always Have a full functional Backup. Just in case!


    DOWNLOAD

    do not install supersu, the rom has built-in root

    opengapps



    First time installing crDroid to your X pure, or coming from another ROM:
    - Make sure you're running a proper working Recovery (CWM or TWRP)
    - Copy GApps and crDroid zip to your external SDCard
    - Boot into Recovery
    - Wipe system,data and cache
    - Flash crDroid zip
    - Flash GApps zip
    - DO A DATA WIPE / FACTORY RESET
    - Reboot

    Upgrading from earlier version of crDroid:
    - Copy crDroid ZIP to your external SDCard
    - Boot into Recovery
    - Wipe system and cache
    - Flash crDroid zip
    - Flash Gapps
    - Reboot


    Don't expect any support if you:
    - are not running stock crDroid-kernel
    - have installed any mods such as Xposed!
    - have modified system files



    Thanks to:

    - Google
    - LineageOS
    - SlimRoms
    - OmniRom
    - NamelessROM
    - Many others... (if you're feeling upset being out of the thanks list just send a PM )



    DONATE


    crDroid G+ community


    https://github.com/crdroidandroid

    XDA:DevDB Information
    CrDroid for Moto X Style, ROM for the Moto X Style (Pure)

    Source Code: http://github.com/crdroidandroid

    ROM OS Version: 7.1.x Nougat
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Unlocked bootloader and TWRP
    Based On: LineageOS

    Version Information
    Status: Stable

    Created 2016-02-11
    Last Updated 2016-02-11
    20
    new build up!

    * r21 Android update.
    * Completely rebased projects for more stability.
    * Google assistant is back. (experimental)
    * Fixed FC with few apps like Instagram and Facebook
    * Fixed disabling power menu on secure lock screen.
    * New custom logos for status bar!
    * Ability to disable statusbar on lock screen
    * Ability to disable FC (force close) notifications.
    * One-hand mode assignments for HW keys.
    * Slim Recents
    * New customizations for Pulse mode under Smartbar settings
    * Updated pixel colors.
    * And many more optimizations.
    20
    new build up !

    New highlights:
    * Fix high drain with ambient display on.
    * Ambient display customizations are back.
    * QS Header images customization.
    * Wakelock blocker (experimental)
    * Lava lamp color customization for smart bar / pulse
    * New ambient / lift to wake tile.
    * Charging sounds customization
    * One handed mode UI with toggle
    * Smartbar double tap to sleep
    * Gestures for few supported devices
    * Blur lockscreen, if supported by LineageOS on your device.
    * And lots of fixes
    18
    v3.5 is out !
    changelog:
    * July 2017 security patched in. (Android 7.1.2_r24)
    * Add toggle to remove dismiss icon in recents view.
    * Configurable long press delay in smartbar settings.
    * Toggle to display close button for longpress notifications.
    * Auto off torch configuration after longpress power button.
    * Fixes for livedisplay tile.
    * Refreshed all tiles.
    * Lots of minor fixes and optimizations.
    * Updated libraries for performance.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone