View Single Post
Old 05-28-2024, 05:13 PM   #8
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,938
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by Anghirrim View Post
What do you mean by reverting shared blocks on system partition?
The logical partitions inside the physical super partition are just snapshots of ext4 physical partitions. You can see inside them with 7zip or mount them as a loop device. A file consists of some number of chained 4 kilobyte blocks. As some of these blocks from different files are all the same they use just one copy. Of course this makes changing anything difficult. So we use the command "e2fsck -E unshare_blocks my.img" to make individual copies of all the shared blocks. This sharing doesn't save you all that much space, but unsharing makes it too big to fit where it was. We could do stuff like resizing the logical partition inside super, but it's easier to find some stuff that we don't need and just delete that. That will give us enough room.

Edit: Also, I just learned why killing apex for adbd bootloops.
Dependencies. You need these in both lib and lib64.
Code:
libadbconnection_client.so
libadb_pairing_auth.so
libadb_pairing_connection.so
libadb_pairing_server.so
I have root without Magisk, but I have to recompile sepolicy because I'm running permissive.

Last edited by Renate; 05-28-2024 at 06:37 PM.
Renate is offline   Reply With Quote