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

[Tool] [Windows] [Kitchen] 「CRB」 [V3.0.0-beta8b]

Search This thread


Senior Member
Sep 16, 2013
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?
I have the same problem with android 11
  • Like
Reactions: galinha farofada


Senior Member
Jan 20, 2006
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?

Last edited:


Senior Member
Jul 18, 2010
Ho Chi Minh
Samsung Galaxy Note 9
Finally got magisk to work using this code.
I had to put
magisk.zip into util/root
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");
Where is located for util/root folder? Thanks


Senior Member
Jul 18, 2010
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.
  • 2
    Did you build them from source or using this tool? I'm a little confused about you building enforcing kernels for those phones because they all would have been enforcing kernels on stock firmware. Unless you are saying those phones weren't on one UI and someone ported one UI?
    Making my first kernel for the A20
    physwizz collection
    Think about this no one can crack a bootloader and unlock unless the OEM does it. Even with the kernel source code available people still have a hard time with building a kernel. I don't think people have the skills required to hack a phone or whatever it is they could do.
    I have built enforcing kernels for A10, a20, a30, a40, a20e. These are used for OneUI and for most GSIs.
    I have built one permissive kernel for A10 as a special request because someone wanted to install a particular GSI.
    All of these kernels are installed from TWRP after unlocking bootloader and flashing recovery.tar from Odin.
    Error: Invalid magic value in superblock: 0x0000 (expected 0xEF53)

    Next update CRB will be support EROFS.
  • 77

    Welcome to「CRB






    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.

    This is a beta version and many features are still missing

    • Supports files format zip, 7z, jar, tar, ozip, md5, img, raw, ext4, lz4, bin, dat.br, dat, xz, ofp, tgz.
    • Multiple project support.
    • Delete single project.
    • Delete single partition.
    • ROM extraction automatically.
    • ROM extraction selectively.
    • Support for multiple customizable bash scripts.
    • Debloater for remove apps with only one click.
    • Unpack/Repack boot.img.
    • Unpack/Repack dtbo.img.
    • Dtb extraction.
    • Case Sensitive files supports.
    • SAMSUNG ROM DISARM by ZonalRipper.
    • Custom Image for build image with all the options available.
    • Build image bulk with all the options available.
    • Build super image with all the options available.
    • Converting file_contexts.bin to standard text.
    • Output formats img, new.dat, new.dat.br, lz4.tar.
    • Unpack super.img.
    • Supporting Android 11 and erofs.
    • log for all task.

    Thanks Note:
    ZonalRipper for tips and test.
    Hyper.Alvi for tips and test.
    fivanbe for tips and test.
    and many, many others.


    sDat2Img - Andrei Conache
    sefcontext_parser - Jake Valletta
    Brotli - Jyrki Alakuijala and Zoltán Szabadka
    7-Zip - Igor Pavlov
    LZ4 - Yann Collet
    Img2sDat - Andrei Conache
    Payload_Dumper - ius
    ImgExtractor - unix3dgforce and blackeange
    Notepad++ - Don Ho
    Decrypt Oppo - Bjoern Kerler
    LocalAPK - _breez_
    AIK - osm0sis

    Join the community:
    Telegram Channel
    YouTube Channel

    Windows 10/11 64-bit Platform

    Languages available:


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


    Version Information
    Current Beta Version: 3.0.0
    Beta Release Date: 2021-09-01

    Created 2020-04-23
    Last Updated 2021-09-01
    Current Beta Version: 3.0.0 [public beta 8b]

    Download [ 7zip format ]-[ 219 MB ]-[ Mega ]
    MD5: a696a0d82cd8787ecdbd712e3d8acddf

    Brief illustrative description of how the new crb version 3 works:
    Youtube Video


    ## [3.0.0] - 2021-09-01
    ### Note
    - Beta version.

    ### Added
    -Support erofs

    ### Fixed
    -Fixed a small issue
    -Fixed extraction beta 8

    ### Changed
    -Payload Dumper
    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.
    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.
    ## [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.