Skip to content

Commit

Permalink
ksud: revert sparse image size to 1T
Browse files Browse the repository at this point in the history
WE REVERTING BACK TO 1TB SPARSE, PLEASE BACKUP YOUR MODULE IMMIDIETLY!
IF YOU FACING ISSUE WITH MODULE STUFF, REMOVE /data/adb FOLDER

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
  • Loading branch information
rsuntk committed Nov 12, 2024
1 parent 4a19e02 commit d99f9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/ksud/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ fn _install_module(zip: &str) -> Result<()> {
humansize::format_size(zip_uncompressed_size, humansize::DECIMAL)
);

let sparse_image_size = 512 * (1 << 30); // 512G
let sparse_image_size = 1 << 40; // 1T
let journal_size = 8; // 8M
if !modules_img_exist && !modules_update_img_exist {
// if no modules and modules_update, it is brand new installation, we should create a new img
Expand Down

0 comments on commit d99f9c9

Please sign in to comment.