View Single Post
Old 10-27-2021, 09:47 AM   #77
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by frostschutz View Post
Yes, it's possible and should work fine as long as the partition numbering remains the same and the reserved bootloader+kernel area is untouched. That's where the hard coded offsets are, everything else depends on the partition table. Even so it's a risky modifcation that should not be done without sdcard access and a good backup of the original state.

I don't have a Sage so no idea if it's partitioned any differently.

Updating firmware works even if the filesystem is near full, provided the files unpacked replace existing files (so a file is deleted, its space freed, then overwritten with its new version - effectively the required storage space is not increased throughout the updating process).

It's adding new files (installing mods) where issues can appear if the mod author did not optimize for low storage space. You can write a program in Go but if it has a 5MB binary it should be put on the user partition, not in the rootfs as it could be already full. You can add a symlink in the rootfs or a small wrapper script if required, then make sure it's not blocking the partition so USB connection still work (all user partition data vanishes while USB is connected, "eject safely" has to be observed on both ends).
Are patches adding mod files or just replacing configurations? I have to say sorry again as i am not a ptogrammer and all these techy talk is Chinese to me 😁 but i want to understand as much as my brain would allow me
Deobulakenyo is offline   Reply With Quote