top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Installing Apps on external sdcard in Lollipop

+3 votes
358 views

I am trying to install 3p apps on external sdcard. I see considerable change in Volume.cpp between JB and Lollipop like removal of bind mounting concept. I tried reverting back the changes but I get the following issues

E/Vold ( 144): Error creating imagefile (Read-only file system)
E/Vold ( 144): ASEC image file creation failed (Read-only file system)

What changes do I need to do in current Vold code to enable 3p Apps installation on external sdcard.

posted Mar 10, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I designed a new file system and mounted it to a self created folder at /sdcard/mytest/. Now I want to check the Android Apps performance on this new file system.So I need to install some apk file to this folder, /sdcard/mytest/, not /sdcard/

Is there any way to install the apk using some command lines and designate the installation location?

+1 vote

I'm trying to get my sdcard to automount on my nexus 10 through USB OTG cable. I can manually mount it and it works. Here is what I have setup so far. Is there anything else I need to do? I manually mount it like

"mount -t vfat /dev/block/sda1 /mnt/usbdisk"

init.manta.rc
 # usb usb sd card
 export SECONDARY_STORAGE /storage/usbdisk0
 mkdir /storage/usbdisk0 0666 system system

 symlink /storage/usbdisk0 /usbdisk
 symlink /storage/usbdisk0 /mnt/usbdisk

vold.fstab
dev_mount usbdisk /storage/usbdisk0 auto /dev/block/sda1
0 votes

I need to show a dialog (more like a horizontal bar) on press of a custom Key (on my custom device powered by Android). This dialog should appear on top of any other application(say "A") that might be running when the Key is pressed.
The app "A" should keep on running and its UI should be visible (i.e the app "A: should not go to "_onPause_()"). It should work something similar to_ SystemUI_'s volume change dialog when Volume Hard Keys are pressed. I want to make minimum changes in framework.
My understanding is that I need to make changes in _PhoneWindowManager.java_ to handle the press of custom Key, which will then call my app residing in application layer, which will just inflate the dialog.
Would this work? If so, is there a better way to implement it? If not, how can I implement this?

...