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

Development [ROM][11.0][OFFICIAL] crDroid Android v7.x (mojito/sunny)

Search This thread

WahZooKey

Member
Oct 22, 2016
23
7
let me note some things on installing CrDroid / LineageOS with TWRP alpha (06/2021).
This might guide some newcomers.

TWRP alpha seems to be unable to decrypt or mount the internal storage as writeable if NO rom has been installed before or partitions have been wiped and formated. (with MTP enabled in TWRP your computer will find the phone and internal storage, but it will fail to copy files)
IF a rom has been installed before, it tries to decrypt FBE (file based encryption) with the PIN you chose and then it is possible to load files with MTP to internal storage.

So, if you start from scratch, you have no ROM installed before, or wiped and formatted everything:
you fastboot-load TWRP and end up not being able to upload files (like ROM.zip or TWRP.img) with MTP to the internal storage... how do you select the files for flashing if they aren't available?
1) use external sd card (copy files on ext. sd card, select files from there in twrp)
2) use usb-otg if you have one.

or, and that's my way to go if you don't have a phone with ext.sdcard or usb-otg:

3) use ADB sideload.
in TWRP use ADB sideload to Flash the ROM.zip first (CrDroid/LineageOS). Start the ROM, create a PIN. That way the encryption password is set.
Now start TWRP again with fastboot boot twrp.img (because currently the rom-recovery is default).
this time it asks for user[0] password, enter your pin/pattern and TWRP is finally able to decrypt partitions and use the internal storage. from that point on forward you can copy images with MTP to your phones internal storage.
now in TWRP with MTP enabled, copy twrp.img to internal storage and install the twrp.img as ramdisk. don't hit the reboot (to system) button right there, go back and choose reboot-> reboot to recovery first.
After that it's all done, boot to system. The ROM and TWRP recovery is installed, and TWRP is finally able to decrypt storage and partitions.

on a sidenote:
- TWRP a/b switching indeed isn't working, use fastboot.exe --set-active=a (or b)
- if you flash magisk in twrp, *don't* install TWRP to ramdisk again right after that, just reboot to system, or it gets overwritten again.

Have something similar here, but in the system.
Did a fresh install (directly after unlocking) of CrDroid via TWRP / ADB sideload and installed Open Gapps.
When the system has booted, computer will find the phone and internal storage, but it will fail to copy files. Internal storage seems to be mounted read-only or something.
 

micaelmello

Member
Feb 18, 2020
7
1
Whenever I type, there is a space below the keyboard and I don't know how to remove it.
 

Attachments

  • IMG_20211210_002025_618.jpg
    IMG_20211210_002025_618.jpg
    62.2 KB · Views: 33
Last edited:

micaelmello

Member
Feb 18, 2020
7
1
I managed to reduce it, thank you very much! That's not all, the buttons to switch keyboards still appear, but it helped a little, thanks a lot!
 

xXclaymoreXx

Member
Dec 30, 2015
20
1
Is 7.13 version only available as vanilla? I installed the gapps version but it is 7.10.
When trying to flash vanilla on top of it caused bootloop, so I clean flashed 7.10 gapps again.
 

WahZooKey

Member
Oct 22, 2016
23
7
When using the Updater to install 7.13, is it necessary to re-flash Gapps or should they survive the update?
Initially installed open_gapps-arm64-11.0-pico-20211207.
 

machotom

Senior Member
Jun 10, 2013
98
15
Redmi Note 10
When using the Updater to install 7.13, is it necessary to re-flash Gapps or should they survive the update?
Initially installed open_gapps-arm64-11.0-pico-20211207.
I used the built in updater to update to the latest from the previous release and it was stuck in a boltloop, I had to wipe everything and do a clean flash. Always have a backup of your data!
 
  • Like
Reactions: abhinavkumar842

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Is 7.13 version only available as vanilla? I installed the gapps version but it is 7.10.
    When trying to flash vanilla on top of it caused bootloop, so I clean flashed 7.10 gapps again.
    If your are coming from 7.10 then only clean flash is possible
    1
    When using the Updater to install 7.13, is it necessary to re-flash Gapps or should they survive the update?
    Initially installed open_gapps-arm64-11.0-pico-20211207.
    I used the built in updater to update to the latest from the previous release and it was stuck in a boltloop, I had to wipe everything and do a clean flash. Always have a backup of your data!
    1
    Thanks for the reply. One more question: what gapps version is used for the gapps variant? So I can flash vanilla and use the same gapps
    there is nothing like opengapps , flamegapps ,etc on the GApps variant... just Prebuilt GApps
    1
    Yeah, but I mean, is it close to full open gapps?
    nop... full gapps have too many google bloatware.

    i think that is more close to nano open gapps
    1
    nop... full gapps have too many google bloatware.

    i think that is more close to nano open gapps
    Thank you, I will try it
  • 52
    BE3pE0l.png



    Code:
    *** Disclaimer
    I am not responsible for any damage you made to your device
    You have been warned


    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

    Features

    Click for feature list


    Always Have a full functional Backup. Just in case!
    GAPPS | MICROG | Vanilla

    Useful Links:

    Magisk
    Orange Fox
    Logcat Reader

    Installation Order:
    > Flash / Sideload
    > Reboot to Recovery
    > Format (optional)

    [OR]

    Install it directly from fastboot if you have issues with sideloading

    Don't expect any support if you:
    - are not running the included kernel
    - have installed any crazy mods !
    - have modified system files

    Thanks to:

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


    Contributors:
    @ZIDAN44
    @TheMalachite
    @gwolfu
    @mukesh22584
    @adi153


    XDA:DevDB Information
    Source Code: https://github.com/crdroidandroid
    Kernel Source Tree: xiaomi-sdm678 / android_kernel_xiaomi_mojito
    ROM OS Version: Android 11
    Based On: LineageOS


    👍SMASH THE LIKE & SHOW YOUR APPRECIATION👍
    14
    Highlights & Device Specific Changes:
    Maintainer: Prince Cooper (Discontinued)
    Build type: Monthly

    ==== 01 October, 2021 ====


    - Fixed Slow charging
    - Fixed camera color shift
    - Moved to TWRP (due to ofox kernel issues)
    - Allow all filesystems for USB-OTG
    - Don't check prox before pulsing

    ==== 27 September, 2021 ====

    - Moved to armv8-2a
    - OrangeFox Recovery preincluded
    - Added Battery Health Stats
    - Added camera cutout notch
    - Added XiaomiParts (Dirac, Clear Speaker & Thermal Profiles)
    - Added color modes
    - Updated blobs from V12.5.3.0.RKGMIXM
    - Drop ANX/MiuiCam support for now
    - Improved Haptic Feedback
    - Fixed Google Backup/Restore
    - Fixed FMRadio
    - Fixed WFD/Cast
    - Fixed LDAC & AptxHD
    - Replaced PlayStore with Aurora Store in microg variant
    - Smarter decisions on whether to use 2/5Ghz AP
    - Updated device cutout corners
    - Disabled wifi firmware logging
    - Fixed whatsapp mic delay or crashes
    - More Smooth AF

    ==== 21 August, 2021 ====

    - Fixed OKGoogle Detection
    - Fixed CPU Thermal Info
    - Fixed Document Mode
    - Added Clone Shots (miuicam)
    - Added Smart Charging
    - Added Burn-in Protection
    - Added Smart Pixels
    - Brought back TWRP

    ==== 09 August, 2021 ====

    - crDroid 7.9 upstream
    - August patch merged
    - mojito: TWRP drop due to instability
    - mojito: Bluetooth AAC codec Fixed
    - mojito: Wired headset volume buttons fixed
    - mojito: ANXCam replaced with MiuiCam port
    - mojito: Fastbootd added to Power Menu
    - mojito: DavikHeap fixed for 4gb variants
    - Revamped Dialer dark theming
    - Updated native services for better FPS (to be tested)
    - Fixed new message compose with stock Messaging app
    - Removed blur additional changes to fix blur glitches
    - Added option to disable pill (crdroid > UI)
    - Added customization for rounded corners (crdroid > UI)
    - Enabled cached app freezer
    - Various under the hood updates and misc fixes

    ==== 16 July, 2021 ====

    - crDroid 7.8 upstream
    - July security patch
    - Increased system size
    - Pre-included TWRP
    - Included ANXCam 185R
    - Fixed Cam AV sync bugs
    - Quickstep Blur fixes
    - Fix media playback issues
    - Fixed VolumeDialog animation when ringer and notification are unlinked
    - Power menu UI customizations

    ==== 08 June, 2021 ====

    - Recovery ROMs from now
    - Vanilla Variant discontinued
    - Latest Firmware Mandatory
    - Added Gboard Lite
    - Removed MiXplorer Apps
    - Less frequent camcorder audio bug

    ==== 03 June, 2021 ====

    - Home crash fixed
    - Added stock terminal, AudioFX
    - LOS Recovery resolution to native
    - VANILLA / GAPPS variants included
    - SafetyNet Pass (No fix needed)

    ==== 24 May, 2021 ====

    - Fastboot ROM.
    - Weather Provider fixed
    - Added Custom Headers
    - Video Recording Stutter fixed (can be random)
    - Samsung UI audio implemented
    - Added Gboard, Via & FMRadio (won't work until we get OSS Vendor)
    - Removed substitute apps, improved response time, much more

    ==== 20 May, 2021 ====

    - Initial Build
    - May security patch
    - Removed some stock apps
    - Added QuickPic Gallery
    9
    Highlights & Device Specific Changes:
    Maintainer: Anush Madathumkara
    Build type: Monthly


    ==== 17 December, 2021 ====

    - Based on Latest WCSF Kernel
    - Fixed Widevine L1
    - Fixed random systemui crashes on Widevine L1
    - mojito: overlay: set CPU temperature paths
    - mojito: overlay: reduce rounded statusbar corner padding
    - sm6150-common:Build libgui and its vendor version
    - sm6150-common:sepolicy: fix Widevine DRM
    - sm6150-common:Add a missing media blob from stock
    - sm6150-common:Add missing DRM blobs from stock

    ==== 17 November, 2021 ====

    - Based on Rebased WCSF Kernel
    - Fixed some partition related issues (Now flashable via OFRP)
    - sm6150-common: Build atrace 1.0 service hals
    - sm6150-common: rootdir: Remove enable-low-power trigger from recovery
    - sm6150-common: rootdir: Allow all filesystems for USB-OTG
    - sm6150-common: prop: Disable sf EGL image tracking
    - sm6150-common: Kill kernel cmdline console parameters
    - sm6150-common: wifi: Disable wifi packet logging
    - sm6150-common: configs: power: Remove pixel audio hints
    - sm6150-common: overlay: Disable global mode and CDMA choices
    - sm6150-common: overlay: Allow seamless Doze state transitions
    - sm6150-common: rootdir: Chown drv8846_dev & akm09970 camera nodes
    - sm6150-common: prop: Switch to Codec2 by default
    - sm6150-common: prop: Disable Codec2 input surface
    - sm6150-common: parts: Add drawable icon for AOD
    - sm6150-common: sepolicy: Address virtual AB OTA denies
    - sm6150-common: Set NUM_FRAMEBUFFER_SURFACE_BUFFERS to 3
    - sm6150-common:Kang HWUI props from stock mojito qssi-user 11 RKQ1.201022.002 V12.5.3.0.RKGMIXM release-keys
    - sm6150-common:Add 300Mhz scaling_min_freq for CPUBigClusterMinFreq and CPULittleClusterMinFreq
    - sm6150-common: BoardConfig: Drop graphics layer memory buffer
    - sm6150-common:Add HDR & WCG Flags
    - sm6150-common: Do not use phase offsets as duration.
    - sm6150-common: prop: Fix screenrecord lag
    - sm6150-common: Define [email protected] into FCM
    - mojito: Update to Redfin November FP
    - Improved Stability && performance
    - 1080p Youtube playback issue addressed (FWIP)

    ==== 27 October, 2021 ====

    - Upated WCS kernel
    - Raised reserved partitions to support for improving gapps support
    - sm6150-common: Disable partial FB excl rect
    8
    New update is out changelogs and link is updated in thread :)
    Also u can flash crdroid normally using twrp or ofrp from now onwards
    Happy Flashing :)
    7
    New Build is available :-

    ==== 05 October, 2021 ====

    - Initial Build based on changed partitions
    - WCSF is default kernel
    - Note: This build doesnt has prebuild TWRP . Backup your full data before flashing.


    Notes:
    • Recommended Gapps Are MindThegapps & Nikgapps Basic
    • Flash Only Via Fastboot OTA Installer (https://forum.xda-developers.com/t/tool-flash-custom-roms-through-fastboot-mojito-sunny.4300957/)
    • You Can't Flash This Rom Via Recovery
    • You Can Flash Gapps Via Twrp Or Orfp
    • Make Sure To Backup All Data Before Flashing (It Might Loose Because Of Different Partition)