Android Apps

From Blue-IT.org Wiki

Revision as of 14:32, 11 March 2017 by Apos (talk | contribs) (Link2SD)

Running apps on Ubuntu

Prerequesite for all: you have to have the APK.

AChrone

"Installing Android Apps on Linux with ARChon [ July 2015 ]" ... with Chrome ...

Creating a addon package (zip) from an installed app with Archonpackager for android:

Shashlik

"How to install and run Android Apps (APKs) on Linux with Shashlik [ HowToforge 2016 ]"

Creating / getting an APK from an installed application with "App Share and Backup":

Error: Failed to load libGL.so

When starting an app with shashlik-run you get the error: ... Failed to load libGL.so ...

On Ubuntu 16.04 (64 bit) this helped:

sudo ln -sv /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so

Apps and storage management

Link2SD

[UPDATE 02/2017] Link2SD will not be developped any more. You can use App2SD (free) or Apps2SD (pay) instead. You will not have the problems described here.

When using SD-Cards bigger than 32GB be aware of the following problems (nnot for App2SD):

Summary according to the above post (thanks to user "regli"):

  • all partitions need to start in the first 32GB
  • link2sd insists that the ext2/ext4 partition is the second partition
  • create a small Linux swap partition first (32MB)
  • then add a ext2 Apps partition (as /system often is only 2GB use e.g. 2, 4 or 6 GB)
  • there should directly follow a fat32 Data partition of your desired size
  • leave spare, unallocated room for overprovisioning
  • finally mark the fat32 partition "active" by setting the boot flag
e.g. SD-CARD 64GB

|           32GB-border -->  |        32GB           |

Partionioning sheme:
  
|swp |     ext2      |       fat32            | prov |
 
|====|===============|======/ /===============|      |

| MB |  max. 30GB    |                        | 10%  |

Cal / Card-Dav based calendars

I am using these with Zentyal.

Backup and restore

Backup with Titanium Backup. Restore

  1. CardDav
  2. CalDav
  3. JB Workarounds
  4. OpenTasks

Reboot the phone. Change to settings->accounts and activate the synchronisation for your saved accounts.

Voilà (completely without google :-) )

Terminal Emulator

Manually boot into recovery mode

You need the following free app called androidterm:

e.g. for booting into TWRP:

su
hit enter
reboot recovery
hit enter

Apps Launcher

Nova lauchner

My absolute favorite. Easy, fast, simple. Almost free.

KISS Lauchner

File Manager

Best file manager for me: ES File Explorer

Problems with accessing the SD Card: