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

Write Error: No space left on device #4

Open
advenser25 opened this issue Aug 29, 2022 · 5 comments
Open

Write Error: No space left on device #4

advenser25 opened this issue Aug 29, 2022 · 5 comments
Labels
question Further information is requested

Comments

@advenser25
Copy link

Hello.

When I'm generating splash and flashing it, dd tool says that there is not enough space in splash block. I think it's happening because my bmps file size (7,22 MB each) more than original splash bmps size (6,67 MB each) How do I save my bmps, so their file size will be exactly 6.67 MB each?

@karthik558
Copy link
Owner

Let me know one thing ! , which device are you using ? Is it Redmi Note 7 Pro ??

@karthik558
Copy link
Owner

Open photoshop -> open the $.bmp file and edit it -> save as .bmp -> save as 24 Bit $.bmp file

@karthik558 karthik558 added the question Further information is requested label Aug 29, 2022
@advenser25
Copy link
Author

Sorry for not replying. I'm using Redmi Note 7 (this phone have same screen resolution as Redmi Note 7 Pro) and Photoshop 2020. I'm searching for solution for one month. I'm saving splashes as 24 bit .bmp with 1080x2340 (72ppi) resolution, but output file is still more than 6.67 MB. What photoshop you're using and what parameters you're using when saving splashes?

@karthik558
Copy link
Owner

Photoshop version doesn't matter. If u add some HD pics or something like that on your splash.bmp file, then the file size will increase and because of that splash will get corrupted.

[LET ME KNOW YOUR]

Your file size after saving file as bmp.
You got what output after flashing the recovery.img or flashing as zip.

@advenser25
Copy link
Author

Ok, so file size after saving is 7.22 MB (each + header.img + end.img = recovery.img size around 67MB/64MB max)
When flashing it says "No space left on device", no matter after flashing as zip or flashing .img using dd tool. After restarting, boot splash just have bunch of glitches.
I'm not adding many hd pics to bmp. Do you have some kind of video tutorial?

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

No branches or pull requests

2 participants