Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<12> <N/A> "ext4_allocate_best_fit_partial: failed to allocate X blocks, out of space?" #201

Open
starfoxdot64 opened this issue Jul 22, 2023 · 0 comments

Comments

@starfoxdot64
Copy link

starfoxdot64 commented Jul 22, 2023

Describe the bug

During the recompilation(?) process, make.sh only gets as far as creating the new image before failing with a size error. It doesn't finish, and leaves an empty IMG/log.

To Reproduce

Steps to reproduce the behavior:

cd ~/ErfanGSIs/testrom
sudo mount system.img root
sudo mount vendor.img root/vendor
cd ..
sudo bash make.sh testrom/root Generic AB output

Expected behavior

I was expecting the command to finish without issues, resulting in a working, mountable GSI image.

Logs

Because the script fails to complete properly, there are no running logs available, except for the following:

[jay@vmHost ErfanGSIs]
$ sudo bash make.sh testrom/root/ Generic AB output
Create Temp dir
Making copy of source rom to temp
Resigning to AOSP keys
Patching started...
Using device specific overlays is not supported in this rom. Skipping...
Creating Image: Generic-AB-12-20230722-ErfanGSI.img
error: ext4_allocate_best_fit_partial: failed to allocate 556 blocks, out of space?
Remove Temp dir

The output folder contained this fingerprinting data:

Android Version: 12
Brand: Raspberry
Model: Raspberry Pi 4
Codename: rpi4
Build Type: lineage_rpi4-userdebug
Build Number: SQ3A.220705.004
Incremental: eng.tuomas.20230313.094444
Tags: dev-keys
Security Patch: 2023-02-05
Fingerprint: Raspberry/lineage_rpi4/rpi4:12/SQ3A.220705.004/tuomas03130931:userdebug/dev-keys
Description: lineage_rpi4-userdebug 12 SQ3A.220705.004 eng.tuomas.20230313.094444 dev-keys
Raw Image Size: 1.61 GiB

Smartphone (please complete the following information):

  • Script fails, so this is not relevant.

Additional context

I was using an ATV image, but this still happens on normal Android images - I tested with OneUI 2.5 for star2qlte (Galaxy S9+ G965U1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant