top of page
rieterikinmeto

Parted Binary For Android Download: A Review of GNU Parted for Android Features and Performance



I've traveled to GNU website of "parted". But what I can download is only source code. Do I need to compile that? If so, how do I compile that? Can I compile the source code with MinGW on a PC with Windows system?


There is no official way, so parted isn't part of AOSP. Android doesn't want you play with its partition table. Using a static binary is the best option to avoid complications of dynamic linker/loader, libc etc.




Parted Binary For Android Download




You may get parted static binary for aarch64 (ARM-v8) and armel (ARM-v5) architecture from this link. I have compiled these on ArchLinuxARM (running on my Redmi Note 4) and on Ubuntu (PC) using gcc (cross-)compiler with glibc and they work great. Building with Bionic libc on NDK (to make it fully Android-ish) needs a lot of changes in source code because function calls (libc) and also some syscalls (kernel) differ on Android and Linux. devmapper and NLS are disabled since former isn't directly used, latter isn't supported on Android.


If you're using a pre-3.2 version of libparted and don't want to or can't upgrade it, you may be able to patch the source code or install a patched binary version of libparted. This will enable you to create partitions with the new type code from the start, rather than fix them after the fact. I'm releasing my patch on this page for individual users or for distributions that want to ship a pre-3.2 version of libparted with support for the new type code. You can download the patch in several ways:


Because of the huge number of distributions, I can't make binaries available for all of them. You might be able to get a binary RPM working on a Debian-based system with the help of alien, but I make no promises. If you can't get one of the binary RPMs to install on your system, you may need to compile the source code locally. Also, if your distribution uses a version of parted other than 3.0, switching to my patched parted 3.0 may cause problems or be disallowed by your package manager.


The bootloader is now unlocked, which means we can manually change the partition layout of the device and make room for the Windows instance. The developer has compiled a semi-working TWRP image for the Duo, so that we can run the parted binary from TWRP's internal shell to modify the partitions. Click on the link below to go through the most up-to-date partitioning guide.


On Ubuntu, adb can be installed with the android-tools-adb package.[18] For Debian, it has been recommended to also install the android-sdk-platform-tools-common package next to the adb package, which installs the udev rules which makes it possible to run the tool without root permissions.[19] For macOS and other Linux distributions, the platform tools can be downloaded and the PATH variable can be modified in bashrc.[20] 2ff7e9595c


1 view0 comments

Recent Posts

See All

Comments


bottom of page