[ROM][lavender][Android 11] crDroid v7.0 [20.11.2020]

Search This thread

lg-optimus

Senior Member
Mar 5, 2012
227
14
Unpack the rom zip file and remoove the assert lines and repack with winrar

grep -r assert havoc-os-v4.1-20210128-lavender-unofficial

Übereinstimmungen in Binärdatei havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/update-binary
havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/updater-script:assert(getprop("ro.product.device") == "lavender" || getprop("ro.build.product") == "lavender" || abort("E3004: This package is for device: lavender; this device is " + getprop("ro.product.device") + "."););
havoc-os-v4.1-20210128-lavender-unofficial/META-INF/com/google/android/updater-script:assert(lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1");
Übereinstimmungen in Binärdatei havoc-os-v4.1-20210128-lavender-unofficial/boot.img

Are you sure it helps to remove

Code:
assert(getprop("ro.product.device") == "lavender" || getprop("ro.build.product") == "lavender" || abort("E3004: This package is for device: lavender; this device is " + getprop("ro.product.device") + "."););
assert(lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1");

in updater-script? "assert" is in the binary-file too.

I don't have winrar, I use linux.
 

mehrdad68

Member
Apr 30, 2017
40
3
Are you sure it helps to remove

Code:
assert(getprop("ro.product.device") == "lavender" || getprop("ro.build.product") == "lavender" || abort("E3004: This package is for device: lavender; this device is " + getprop("ro.product.device") + "."););
assert(lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1");

in updater-script? "assert" is in the binary-file too.

I don't have winrar, I use linux.
Step 1. Copy the ROM zip file to your computer and extract it using your favorite unzipping software.
71.PNG



72.PNG



Step 2. Once unzipped, browse to the META-INF/com/google/android directory. You will find two files called “update-binary” and “updater-script”.
73.PNG



Step 3. Rename “updater-script” to “updater-script.txt” and open with your favorite text file editor.
74.PNG



Step 4. Get rid of the line starting with “assert” to next semi-colon. Usually this is the first line or one of the first lines at the top of the text file. Just delete them.
5e70c76242c3.png



Step 5. Save file.
8c44068ac2f4.png



Step 6. Rename “updater-script.txt” back to “updater-script”.
200ad781582f.png



Step 7. Rezip all the files you’ve unzipped.
1859ac5f5f29.png



bd453c44dcc8.png



Step 8. Copy the new, edited zip file to your phone.
c2fa6516847c.png



Step 9. Try re-installing ROM, now it should install fine without Status 7 error.
 

guntlet213

Member
Apr 19, 2016
21
7
Paranaque City
Code:
Installing zip file '/sdcard1/Download/rn7_lavender_customroms/android11/crdroid7_beta/crdroidandroid-11.0-20210114-lavender-v7.2.zip'
Checking for Digest file...
Unmounting System...
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
SELinux: Loaded file_contexts
script aborted: assert failed: lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1"
assert failed: lavender.verify_trustzone("TZ.BF.4.0.7-00154") == "1"error: 25
Updater process ended with ERROR: 1
I:Install took 0 second(s).
Error installing zip file '/sdcard1/Download/rn7_lavender_customroms/android11/crdroid7_beta/crdroidandroid-11.0-20210114-lavender-v7.2.zip'
Updating partition details...
I:Data backup size is 0MB, free: 109403MB.

I get a similar error installing Havoc, see https://forum.xda-developers.com/t/...al-lavender-28-01-2021.4233551/#post-84560139 LineageOS and Pixelbased ROMs work.
Letsmakecakes ROMs uses Global firmware version V11.0.1, other firmware versions will throw an error, so you should try that and be sure you are using latest OrangeFox stable build to ensure that there are no errors in flashing process
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    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 Here (To be Updated)


    Flashing Instructions:

    Pre-installation:


    First time installation:
    • Backup your data to PC, OTG flash drive
    • Reboot to recovery
    • Flash Required Firmware (First-time only)
    • Wipe System/Vendor/Data/Cache if you are coming from Android 10/9 Roms
    • Format Data Partition
    • Flash crdroid zip + Gapps
    • Reboot and profit!

    Update installation:
    • Boot to recovery
    • Flash crDroid zip
    • Flash gapps and reboot to system
    • Enjoy


    Sources:
    ROM: https://github.com/crdroidandroid
    Kernel: Click Here

    Download:
    ROM https://crdroid.net/lavender
    Changelog: https://raw.githubusercontent.com/crdroidandroid/android_vendor_crDroidOTA/11.0/changelog_lavender.txt

    Known issues:
    • LiveDisplay and Night Light [ Will be Fixed on next update]
    • Maybe more?

    Visit official website @ crDroid.net
    crDroid Community Telegram


    XDA:DevDB Information
    [ROM][lavender][Android 11] crDroid v7.0, ROM for the Xiaomi Redmi Note 7

    Contributors
    letsmakecakes
    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: MIUI 11.0.1 Android 10 Firmware

    Version Information
    Status: Beta

    Created 2020-11-19
    Last Updated 2020-11-19
    1
    Reserved

    This is initial Beta Build . There maybe bugs more than mentioned. Please report as you find one .
    1
    The required firmware is MIUI 11 not 12
    1
    I thought the support was gone, this topic is extinct. I have used other rom so far, but now have returned. Need make clean install (will ota update?):

    In orange fox recovery i make data format, than all wipes. First time there was problem, bat i changed fw 12.0.1 to 11.0.1(why this?), then everything was good. Together with settings 5 -6 minutes the whole process.

    The CrDroid is the best rom, fast, fluid, so far I haven't found any bugs. Thank You letsmakecakes!
    1
    I thought the support was gone, this topic is extinct. I have used other rom so far, but now have returned. Need make clean install (will ota update?):

    In orange fox recovery i make data format, than all wipes. First time there was problem, bat i changed fw 12.0.1 to 11.0.1(why this?), then everything was good. Together with settings 5 -6 minutes the whole process.

    The CrDroid is the best rom, fast, fluid, so far I haven't found any bugs. Thank You letsmakecakes!
    Firmware 11.0.1 is recommended by the dev that's why he is still using it for for his roms. So latest 12.0.1 wont work for now.
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