Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,803 Members 36,827 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Trimming Android libraries (.so) by hex-editing?

Tip us?
Senior Member - OP
Thanks Meter 940
Posts: 836
Join Date: Jun 2012
Default [Q] Trimming Android libraries (.so) by hex-editing?

I've recently become interested in hex-editing prebuilt proprietary libraries. Many of the Android libraries have a lot of "00"s in hex code, so I was wondering if all those zeroes could be edited out (removed) to essentially "trim" the libraries, save space, and not cause any issues. Or are the many zeroes more than just fillers? Thank you.

Samsung Galaxy Ace II X
(GT-S7560M) - Android 4.3.1 JB - CM10.2 with some bugs

Released Works:Status: Add ".patch" to the end of the link to a Github commit, then download the commit as a patch using wget. *mindblown*

Press THANKS if I helped you in any way!
The Following User Says Thank You to Codename13 For This Useful Post: [ Click to Expand ]
Antagonist42's Avatar
Senior Member
Thanks Meter 192
Posts: 464
Join Date: Feb 2012
Location: Bolton
I'd be wary of removing them, if they're pointed to by PBL/config_dat/etc it's the address it's located at and NOT the files name

*found this type of thing out by reading up on ELF files*

Bashing away at my HTC Desire C
Wanna get inside what ya got, gotta get out and find it..I found some!
The Latest ACER E320/C6 Rom From Xakep - Very Slick
ACER E320 1.005.00 ROM EUU
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes