• 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

geeymb

Member
Oct 19, 2010
8
0
Use Fastboot OTA script and try to install
This is what I got, suing the script from here: https://forum.xda-developers.com/t/tool-flash-custom-roms-through-fastboot-mojito-sunny.4300957/


Code:
% ./flash_linux.sh                                                                                                                                                                         2 ↵

This is a recovery rom installation script for Redmi Note 10 (Linux)
Make sure you installed python & pip specific to your linux...

Checking fastboot version...
fastboot version 31.0.3-7562133
Installed as /home/user/fbota/tools/fastboot_linux

Now you can boot the device in fastboot mode & connect to PC
< waiting for any device >
Sending 'boot_a' (131072 KB)                       OKAY [  5.126s]
Writing 'boot_a'                                   OKAY [  0.332s]
Finished. Total time: 5.585s

Booting to fastbootD
Rebooting into fastboot                            OKAY [  0.002s]
< waiting for any device >
Finished. Total time: 13.491s

Recreating logical partitions...
Deleting 'system_a'                                OKAY [  0.008s]
Finished. Total time: 0.008s
Creating 'system_a'                                OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'system_ext_a'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'system_ext_a'                            OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'product_a'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'product_a'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Deleting 'vendor_a'                                OKAY [  0.005s]
Finished. Total time: 0.006s
Creating 'vendor_a'                                OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'system_b'                                OKAY [  0.007s]
Finished. Total time: 0.007s
Creating 'system_b'                                OKAY [  0.005s]
Finished. Total time: 0.006s
Deleting 'system_ext_b'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'system_ext_b'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Deleting 'product_b'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'product_b'                               OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'vendor_b'                                OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'vendor_b'                                OKAY [  0.005s]
Finished. Total time: 0.006s

Flashing the ROM into the active slot...
fastboot: error: cannot load 'system.img': No such file or directory
fastboot: error: cannot load 'system_ext.img': No such file or directory
fastboot: error: cannot load 'product.img': No such file or directory
fastboot: error: cannot load 'vendor.img': No such file or directory

Flashing boot partitions...
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.050s
< waiting for any device >
fastboot: error: cannot load 'boot.img': No such file or directory
fastboot: error: cannot load 'boot.img': No such file or directory
fastboot: error: cannot load 'vendor_boot.img': No such file or directory
fastboot: error: cannot load 'vendor_boot.img': No such file or directory
Rebooting into recovery                            OKAY [  0.002s]
Finished. Total time: 0.053s

Rebooting to recovery in...
..........11...........
 .........10..........
  .........9.........
   ........8........
    .......7.......
     ......6......
      .....5.....
       ....4....
        ...3...
         ..2..
          .1.
Done. Now you can format from recovery to clean start, or just simply reboot to retain your previous configuration..../flash_linux.sh: 132: read: arg count
 

MPK99

Senior Member
Jun 25, 2017
554
390
Mexico
gitlab.com
Redmi Note 10
This is what I got, suing the script from here: https://forum.xda-developers.com/t/tool-flash-custom-roms-through-fastboot-mojito-sunny.4300957/


Code:
% ./flash_linux.sh                                                                                                                                                                         2 ↵

This is a recovery rom installation script for Redmi Note 10 (Linux)
Make sure you installed python & pip specific to your linux...

Checking fastboot version...
fastboot version 31.0.3-7562133
Installed as /home/user/fbota/tools/fastboot_linux

Now you can boot the device in fastboot mode & connect to PC
< waiting for any device >
Sending 'boot_a' (131072 KB)                       OKAY [  5.126s]
Writing 'boot_a'                                   OKAY [  0.332s]
Finished. Total time: 5.585s

Booting to fastbootD
Rebooting into fastboot                            OKAY [  0.002s]
< waiting for any device >
Finished. Total time: 13.491s

Recreating logical partitions...
Deleting 'system_a'                                OKAY [  0.008s]
Finished. Total time: 0.008s
Creating 'system_a'                                OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'system_ext_a'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'system_ext_a'                            OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'product_a'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'product_a'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Deleting 'vendor_a'                                OKAY [  0.005s]
Finished. Total time: 0.006s
Creating 'vendor_a'                                OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'system_b'                                OKAY [  0.007s]
Finished. Total time: 0.007s
Creating 'system_b'                                OKAY [  0.005s]
Finished. Total time: 0.006s
Deleting 'system_ext_b'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'system_ext_b'                            OKAY [  0.005s]
Finished. Total time: 0.005s
Deleting 'product_b'                               OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'product_b'                               OKAY [  0.006s]
Finished. Total time: 0.006s
Deleting 'vendor_b'                                OKAY [  0.005s]
Finished. Total time: 0.005s
Creating 'vendor_b'                                OKAY [  0.005s]
Finished. Total time: 0.006s

Flashing the ROM into the active slot...
fastboot: error: cannot load 'system.img': No such file or directory
fastboot: error: cannot load 'system_ext.img': No such file or directory
fastboot: error: cannot load 'product.img': No such file or directory
fastboot: error: cannot load 'vendor.img': No such file or directory

Flashing boot partitions...
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.050s
< waiting for any device >
fastboot: error: cannot load 'boot.img': No such file or directory
fastboot: error: cannot load 'boot.img': No such file or directory
fastboot: error: cannot load 'vendor_boot.img': No such file or directory
fastboot: error: cannot load 'vendor_boot.img': No such file or directory
Rebooting into recovery                            OKAY [  0.002s]
Finished. Total time: 0.053s

Rebooting to recovery in...
..........11...........
.........10..........
  .........9.........
   ........8........
    .......7.......
     ......6......
      .....5.....
       ....4....
        ...3...
         ..2..
          .1.
Done. Now you can format from recovery to clean start, or just simply reboot to retain your previous configuration..../flash_linux.sh: 132: read: arg count
Check whether you have ROM file inside the Fastboot OTA script directory. Or atleast have a shortcut link of the rom file here.

And try sh flash_linux.sh
Sometimes direct execution gives problems.
 
Last edited:

geeymb

Member
Oct 19, 2010
8
0
Check whether you have ROM file inside the Fastboot OTA script directory. Or atleast have a shortcut link of the rom file here.

And try sh flash_linux.sh
Sometimes direct execution gives problems.
sh flash_linux.sh gives the same result.

The ROM is there:


Code:
% ls -al                                                                                                                                                                                   2 ↵
total 1988584
drwxr-xr-x 4 user user       4096 Oct 31 08:10 .
drwxr-xr-x 6 user user      12288 Oct 31 08:28 ..
-rw-r--r-- 1 user user       1056 Jan  1  2009 care_map.pb
-rwx------ 1 user user 1018110925 Oct 31 06:26 crDroidAndroid-11.0-20211026-mojito-v7.11.zip
-rw-r--r-- 1 user user          0 Oct 31 08:03 extracted
-rwxr-xr-x 1 user user       5463 Aug 30 16:18 flash_linux.sh
-rwxr-xr-x 1 user user       5635 Aug 30 16:18 flash_mac.sh
-rwxr-xr-x 1 user user       4890 Aug 30 16:19 flash_windows.bat
drwxr-xr-x 3 user user       4096 Oct 31 08:03 META-INF
-rwxr-xr-x 1 user user       1407 Aug 30 17:03 MUST READ.txt
-rw-r--r-- 1 user user 1018105747 Jan  1  2009 payload.bin
-rw-r--r-- 1 user user        156 Jan  1  2009 payload_properties.txt
-rw-r--r-- 1 user user          0 Oct 31 08:03 sparsed
drwxr-xr-x 5 user user       4096 Aug 30 16:20 tools
 

Anush02198

Recognized Developer
Feb 15, 2017
243
1,112
Panvel
sh flash_linux.sh gives the same result.

The ROM is there:


Code:
% ls -al                                                                                                                                                                                   2 ↵
total 1988584
drwxr-xr-x 4 user user       4096 Oct 31 08:10 .
drwxr-xr-x 6 user user      12288 Oct 31 08:28 ..
-rw-r--r-- 1 user user       1056 Jan  1  2009 care_map.pb
-rwx------ 1 user user 1018110925 Oct 31 06:26 crDroidAndroid-11.0-20211026-mojito-v7.11.zip
-rw-r--r-- 1 user user          0 Oct 31 08:03 extracted
-rwxr-xr-x 1 user user       5463 Aug 30 16:18 flash_linux.sh
-rwxr-xr-x 1 user user       5635 Aug 30 16:18 flash_mac.sh
-rwxr-xr-x 1 user user       4890 Aug 30 16:19 flash_windows.bat
drwxr-xr-x 3 user user       4096 Oct 31 08:03 META-INF
-rwxr-xr-x 1 user user       1407 Aug 30 17:03 MUST READ.txt
-rw-r--r-- 1 user user 1018105747 Jan  1  2009 payload.bin
-rw-r--r-- 1 user user        156 Jan  1  2009 payload_properties.txt
-rw-r--r-- 1 user user          0 Oct 31 08:03 sparsed
drwxr-xr-x 5 user user       4096 Aug 30 16:20 tools
u havent installed modules probably this tool needs platform tools v31.0.3
Also i think brotli is also not installed
 

MPK99

Senior Member
Jun 25, 2017
554
390
Mexico
gitlab.com
Redmi Note 10
sh flash_linux.sh gives the same result.

The ROM is there:


Code:
% ls -al                                                                                                                                                                                   2 ↵
total 1988584
drwxr-xr-x 4 user user       4096 Oct 31 08:10 .
drwxr-xr-x 6 user user      12288 Oct 31 08:28 ..
-rw-r--r-- 1 user user       1056 Jan  1  2009 care_map.pb
-rwx------ 1 user user 1018110925 Oct 31 06:26 crDroidAndroid-11.0-20211026-mojito-v7.11.zip
-rw-r--r-- 1 user user          0 Oct 31 08:03 extracted
-rwxr-xr-x 1 user user       5463 Aug 30 16:18 flash_linux.sh
-rwxr-xr-x 1 user user       5635 Aug 30 16:18 flash_mac.sh
-rwxr-xr-x 1 user user       4890 Aug 30 16:19 flash_windows.bat
drwxr-xr-x 3 user user       4096 Oct 31 08:03 META-INF
-rwxr-xr-x 1 user user       1407 Aug 30 17:03 MUST READ.txt
-rw-r--r-- 1 user user 1018105747 Jan  1  2009 payload.bin
-rw-r--r-- 1 user user        156 Jan  1  2009 payload_properties.txt
-rw-r--r-- 1 user user          0 Oct 31 08:03 sparsed
drwxr-xr-x 5 user user       4096 Aug 30 16:20 tools
Problem is the extraction. Check if your distro has an application called "unzip". Go through your app repository & lemme know.
 

geeymb

Member
Oct 19, 2010
8
0
Remove 'sparsed' & 'extracted' files from the folder & try again.
I'll patch this issue in the next update.
Currently stuck here:


Code:
 % tools/fastboot_linux $* flash vendor vendor.img               
Resizing 'vendor_a'                                FAILED (remote: 'Not enough space to resize partition')
fastboot: error: Command failed
 

0won2

Member
Nov 2, 2021
7
0
If you can, can you plz make additional rom files with stock Vendor? Incoming call has some problems with my country
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Yeah, I would hope that too. I saw that crDroid 8.0 was out for some devices, but I thought it was based on LOS, is LOS 19.1 out already?
    is based on LOS , yes... but on 19.0 ... 19.1 isn't out yet
    1
    @Anush02198
    I updated to your newest Kernel Version "1515.01.2022".

    This seems to solve the Video Recording Issiues I reported earlier. Thanks for the good work!
  • 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)