• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Tool] [Windows] [Kitchen] 「CRB」 [V2.2.1]

Search This thread

physwizz

Senior Member
Sep 16, 2013
2,870
605
Sydney
hello, i really appreciate your work, i can build roms based on stock android 10 calmly, but i'm having problems building roms for android 9 and android 11, my phone is a Samsung Galaxy A20, I make roms for A10 and recently tried for A30 , but I can't create a RAMdisk and the rom doesn't start without it, today tomorrow I tried to set up an Android 9 rom for my cell phone and got the same error, RAMdisk, could you help me?
yes.
I have the same problem with android 11
 
  • Like
Reactions: galinha farofada

akirax

Senior Member
Jan 20, 2006
331
21
I've this problem when I make the rom in the log file:

[17/06/2021 9:07:01] [customimage] [create-image] [system/app/WearBluetooth/lib/arm64/libmtkbluetooth_jni.so] not found in canned fs_config, using defaults
[17/06/2021 9:07:01] [customimage] [create-image] [system/app/WearBluetooth/oat/arm64] not found in canned fs_config, using defaults
[17/06/2021 9:07:01] [customimage] [create-image] [system/app/WearBluetooth/oat/arm64/WearBluetooth.odex] not found in canned fs_config, using defaults

And a lot more like this for files that I added to the rom.

Also I've this error:

[17/06/2021 10:06:13] [customimage] [create-image] error: ext4_allocate_best_fit_partial: failed to allocate 81 blocks, out of space?

I've a lot of free space in hard disk.

How can I fix it?

Cheers.
 
Last edited:

chuyennho184

Senior Member
Jul 18, 2010
445
169
Ho Chi Minh
Samsung Galaxy Note 9
Finally got magisk to work using this code.
I had to put
magisk.zip into util/root
and
busybox into crb/bin

###############
# Flash Magisk
ui_print("-> Flash Magisk For Root");
package_extract_dir("util/root", "/tmp/root");
run_program("/tmp/crb/bin/busybox", "unzip", "/tmp/root/magisk.zip", "META-INF/com/google/android/*", "-d", "/tmp/root");
run_program("/tmp/crb/bin/busybox", "sh", "/tmp/root/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/root/magisk.zip");
delete_recursive("/tmp/root");
Where is located for util/root folder? Thanks
 

chuyennho184

Senior Member
Jul 18, 2010
445
169
Ho Chi Minh
Samsung Galaxy Note 9
CRB (Windows only)


Some versions of Windows do not support case sensitive. You can test it in CRB -> Settings -> Test WSL.
If it failed then go to <i> and follow the instructions.
Run CRB as Administrator.

1. Extract system.img
2. Extract vendor.img
3. Copy boot.img to ROM folder
(Or just extract ap....md5 to get all 3)

4. Make any changes
- edit build.prop to change ROM name
- use fast debloat text file method
- use debloat option with tick box
- add apps to system/priv-app
- tools- remove Knox & disable DM-verity
- deodex if you want

5. Build ramdisk
6. Build zip (wait a few minutes)
7. Transfer to the phone and flash with TWRP.
8. Further changes can be made to the zip file using zarchiver app.
So, I need to edit build.prop in system or build.prop in vendor? Or both of them? Please give me advise. Thanks mate.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Eager to see CRB V3
    1
    Hello
    Already thank you for this great tool.

    But impossible to request the Test on Telegram.
    possible to have the link in MP by XDA?
    1
    Hi @MrWaehere and hats off for your cooking, I have to work on the French translation if that tells you I could send you the file as soon as it is operational.
    Good continuation..View attachment 5370369
    Thank you very much, but version 2 of CRB is end of life. Version 3 is completely new and the translation is not compatible.
  • 72

    Welcome to「CRB
    5dUgQAC.png


    bJU7OZD.png


    d0Z0ONE.png


    gMVmH9V.png


    gHYluHG.png


    OLDice0.png


    ZR54eYB.png


    YoxukOp.png


    riKIEqr.png


    Hi everyone!
    I made this application to make it easier for people to build a custom ROM. Still being in beta release, any feedbacks are welcome!

    The new version was created from scratch, to be better performing, more flexible and easier to be updated. It supports Android 10 and has many more features than the previous one.


    This software is provided "as is". Use at your own risk.
    I'm not responsible for any damage to your device.

    WSL - Case sensitive
    Some versions of Windows do not support case sensitive. You can test it in CRB -> Settings -> Test WSL.
    Run CRB as Administrator.
    Note: some devices also require this step

    lpmake and lpunpack
    super.img

    lpmake and lpunpack (linux version) Download


    Features:
    • Supports files format zip, 7z, jar, tar, ozip, md5, img, dat.br, dat, payload.bin, super.img.
    • Custom Image for build image with all the options available.
    • APKTool a tool for reverse engineering Android apk files.
    • Debloater for remove and restore apps with only one click.
    • Deodex for deodexing Android's stock ROM.
    • Zipalign for optimize RAM usage.
    • APK Drag & drop Updater.
    • Easy edit build.prop and updater-script.
    • Remove Knox automatically.
    • Auto-generating updater-script.
    • Converting file_contexts.bin to standard text.
    • RAMDisk for build only ramdisk image.
    • Case Sensitive files supports.
    • Build custom Android data image.
    • Output formats img, new.dat, new.dat.br, lz4.tar.
    • Remove DM-Verity.
    • Supporting Android 10.
    • log for all task.

    Thanks Note:
    JamFlux for knowledge exchange.
    Hyper.Alvi for tips and test.
    hanspampel for tips and test.
    el0xren for tips and test.
    Duy Minh for Vietnamese language.
    Fazri Arrashyi Putra for Indonesian language.
    Hakan GÜVEN for Turkish language.
    David for Chinese language.
    hanspampel for German language.
    Spyros Kaparos for Greek language.
    JamFlux for Spanish language revised by elxufas.
    fivanbe for update Spanish language in latest update.

    Credits:

    APKTool - Connor Tumbleson and Ryszard Wisniewski
    FLinux - Xiangyan Sun
    sDat2Img - Andrei Conache
    sefcontext_parser - Jake Valletta
    Brotli - Jyrki Alakuijala and Zoltán Szabadka
    BusyBox - Denys Vlasenko
    Magiskboot - John Wu (topjohnwu)
    vdexExtractor - Anestis Bechtsoudis
    compact_dex_converter - fOmey
    7-Zip - Igor Pavlov
    LZ4 - Yann Collet
    UberApkSigner - Patrick Favre-Bulle
    make_ext4fs - SuperR. for initial repository and anpaza for update it.
    RMVerity - SuperR.
    Img2sDat - Andrei Conache
    Smali/Baksmali - Ben Gruver
    Payload_Dumper - ius
    ImgExtractor - unix3dgforce and blackeange
    tune2fs and resize2fs - Google
    OmcTextDecoder - fei-ke
    AAPT - Google
    Notepad++ - Don Ho
    Decrypt Oppo - Bjoern Kerler

    Join the community:
    Telegram Channel
    YouTube Channel

    Requirements:
    Windows 64-bit Platform
    .NET Framework 4.7.2
    Java (JDK) for APK-Tool

    Languages available:
    English, Italian, German, Spanish, Greek, Turkish, Chinese, Indonesian, Vietnamese, Russian.


    Downloads


    XDA:DevDB Information
    CRB Kitchen, Tool/Utility for the Chef Central

    Contributors
    MrWaehere

    Version Information
    Status:
    Beta
    Current Stable Version: 1.6.1
    Stable Release Date: 2020-01-14
    Current Beta Version: 2.2.1
    Beta Release Date: 2020-07-25

    Created 2020-04-23
    Last Updated 2021-05-15
    15
    I started development to update CRB to full support for android 11 and for all new devices. After all the requests that came to me, I decided to dedicate my free time to the update. It will take some time, but it will come! I hope you all enjoy it.
    14
    Hello everyone! I apologize for my long absence. I'm working on a new project and I've been very busy and have no free time to develop CRB as I would like. As soon as I have free time I will resume development. Otherwise alternatively I will make all of the source codes available to the community in order to carry the project forward with development.
    7
    ## [2.2.1] - 2021-05-15
    ### Fixed
    - Fixed android 11 vendor image extraction issue.
    -- How to install: extract ext4_utils.exe inside crb_v221b_fix_ext4_utils.zip and replace the existing one in Bin folder.

    Download
    7
    Hey! Tool seems great but when flashing ROMs built via this(.br) , flashing gets stuck midway at "Patching system image unconditionally". Also, build rom zip file doesn't work for me (gets over in 3 seconds with no results), building dat file still builds in .br format and .br roms don't flash like I said earlier. Thanks.
    Device is Redmi note 5 pro, android pie ROMs.

    I'm working in new update version, that fix some bugs. I will release it in a few days! Can you try it later? Thank you very much for your feedback!