Stericson / busybox-free

Busybox - free
36 stars 19 forks source link

Unable to install to /data/bin #5

Open lbdroid opened 8 years ago

lbdroid commented 8 years ago

I choose a custom path for installation, and set the value "/data/bin" or "/data/bin/".

Toast message appears with the following; "That path does not exist or is not valid!"

I have confirmed that the path does exist, and certainly is valid.

It would also be nice if it would create the path if it does not exist.

Purpose: with dm-verity now appearing on recent Nexus devices, it can be helpful to be able to maintain an unmodified system image.

ikelos commented 8 years ago

Hiya,

This looks to be a slight problem with using RootTools.exists(file) rather than RootTools.exists(file, true) which will allow directories as well. Otherwise the custompath dialog will only allow filenames and then installing busybox into a single file will likely fail...

Patch available at https://gist.github.com/ikelos/a91f0453e030f5932ac6

Mike 5:)

ghost commented 7 years ago

Unmodified system partion