feelfreelinux / octo4a

Use your old Android device as an OctoPrint server.
GNU Affero General Public License v3.0
1.56k stars 151 forks source link

Installation ALWAYS says its corrupt #78

Open stevvie opened 3 years ago

stevvie commented 3 years ago

Tried to install on a samsung note 10.1 (2014 tablet) but the installation always goes buy real fast (about 5-10 seconds) and then disappears with an icon in the status bar saying octoprint server is starting up. After clicking the notification I get installation corrupted net to the green printer icon. I clicked the broken heart and I can try and install again but its a vicious circle. I orrigionally tried this on android 7.1 and then on android 10 after a factory reset and twrp a new rom/gapps. I can't even read the log as it goes too fast to see. So I took a video of the log file and the last few entries are 'proot warning: can't sanatize binding "/data/data/com.octo4a/files/serialpipe": no such file or directory

jcpalumbo commented 3 years ago

permissions issue

stevvie commented 3 years ago

Thanks for the reply, but what is the answer ????

jcpalumbo commented 3 years ago

When you are installing you should get a notification to allow the installer to write to your phones storage. I totally missed this on my first try and had the same issues as you stated. The install will complete as fast once you give it the right permissions.

stevvie commented 3 years ago

I've successfully installed this on a Zuk Z2 running android 7.12. But just unable to install on my samsung Note 10.1 even after clicking allow on Android 7.0 then android 7.1 and now even tried android 10 (LineageOS 17.1). Just checked the permissions for Octo4a and storage is ALLOWED. Still get this error. Just strange I get this on my Note 10.1 on 3 different fresh rom installs and even tried formatting my partitions as EXT3,EXT4,And F2FS .

wjflier commented 2 years ago

I have 8 phones, only 1 will allow installation.