Reply
Thread Tools
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#1
Hello!

I was hoping for a little help.

I have a command to mount the SDCard to the android partition, which I currently have to run every time I boot up so that android apps can read the SDcard:

devel-su
mount -o bind /media/sdcard/16FA-111F /home/nemo/android_storage/SDCARD

Just wondering how I can automate this process on startup of the phone?
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#2
Would a symlink not achieve the same thing?
__________________
Русский военный корабль, иди нахуй!
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#3
Originally Posted by pichlo View Post
Would a symlink not achieve the same thing?
How would I go about that?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#4
Originally Posted by wormdrummer View Post
How would I go about that?
ln -s /media/sdcard/16FA-111F /home/nemo/android_storage/SDCARD

But first remove the empty mount-point SDCARD.
__________________
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#5
hmmm tried that and I get a "function not implemented" error?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#6
Originally Posted by wormdrummer View Post
hmmm tried that and I get a "function not implemented" error?
??? what?
It does not even need to be root to create a softlink inside your own home directory tree...

How did you do it exactly?
__________________
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?
 
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#7
I tried both root and none root methods typing directly in to the shell window
 

The Following User Says Thank You to wormdrummer For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#8
have a look here:
http://talk.maemo.org/showthread.php?t=92449

step 6 is what you're searching for

Last edited by Leinad; 2014-12-30 at 08:53.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#9
@wormdrummer, @juiceme - symlink to android directory stopped to work since jolla changed android directory to /home/nemo/android_storage I wrote it on TJC (https://together.jolla.com/question/...torage-folder/).

@wormdrummer, for your question it possible to create .service file that will run your command automaticaly after reboot.

P.S. Can you share you script please ? Because I can't create symlink I also want this possibility to see jolla folders from android app...
 

The Following User Says Thank You to Schturman For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#10
Hang on, are you saying that symlinks created by Sailfish are not honoured by Alien Dalvik? That would be most unusual. (Luckily I do not use Android so I cannot check.)
__________________
Русский военный корабль, иди нахуй!
 

The Following User Says Thank You to pichlo For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:59.