Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nikctsh
Old
#941  
Senior Member
Thanks Meter 12
Posts: 187
Join Date: Jan 2011
Quote:
Originally Posted by psirage View Post
Thank you for offering the excellent app for free. I am running link2sd on rooted Motorola XT720 2.1.

I have the 2nd partition as 1GB ext3, mounted as /data/sdext2
mount -t ext3 /dev/block/mmcblk0p2 /data/sdext2

All the linked apps work, but sometimes after a reboot, I start having problems.
Some would force close: Eg. Amazon App, AndroXplorer, FBReader etc
Some would work but lose internet. Eg. PFinance, XScope etc
Some are always okay. Eg Facebook, FruitNinja

I see earlier post and I think I am seeing the same thing.
"Broken Android permissions may cause force closes.
Can you try to re-install one of the applications which has force close problem, and then if it works create link again with Link2SD."

Reinstalling applications definitely makes the problems go away. But having to reinstall all these apps are time consuming, and I have to put back all the shortcuts.

Is anybody seeing this issue? Is there a way to prevent the apps from losing permission, such as extra argument to the mount command or use ext2 instead of ext3?

Thanks.
We are having the same phone . However , my linked application will only experience force close when the sdcard was unable to be detected for some reasons during boot time . I've discuss with bakpinar and tried a lot of solution as well including fix permission , run a command , using root tools , rom manager and a more , but none of them seem to be work , so you don't have to waste time testing with the methods i've mentioned . However , recently i found an application named "root and me" . Well , i don't know what is that thing but in the description , it was written "*NEW UPDATE FIXES APP CRASH AND FIXES UNNECESSARY PERMISSIONS! DISREGARD COMMENTS!" . I haven't try with it yet . Perhaps you can try using that to FIX UNNECESSARY PERMISSIONS ? And if you have tried and it works , please let me know . If it doesn't work as well , you don't have to worry much because bakpinar is about to release a new version with multi-select function , maybe there is an option to reinstall (hope so) ?
 
durdur
Old
#942  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jan 2008
Hi,

Thank you for very useful app.
I installed Google Earth and Link2sd worked fine. But I found that the lib directory in data/data takes 16 mb. Is there a way to link this one too automatically by Link2sd?

I have tried symlink and it seems to work but it's a manual process.

Thanks

Sent from my HTC Desire using XDA App
 
sanmit
Old
#943  
sanmit's Avatar
Senior Member
Thanks Meter 31
Posts: 277
Join Date: Feb 2011
Quote:
Originally Posted by Bling_Diggity View Post
Getting this error message:

"Create Link Failure

: cannot create /data/sdext2/AnyApp.apk: read-only file system"

For some reason sdext2 is read-only. Any idea how to fix this?
Try fix permissions in recovery mode.

Sent from my GT540 using XDA App
 
manolone
Old
#944  
Junior Member
Thanks Meter 1
Posts: 26
Join Date: Mar 2011
is it possible to have a link2sd version that along with apk and dalvik moves data for the linked app?

thanks
 
bakpinar
Old
(Last edited by bakpinar; 16th April 2011 at 03:09 PM.)
#945  
Recognized Developer - OP
Thanks Meter 702
Posts: 333
Join Date: Dec 2010
Location: Istanbul
Quote:
Originally Posted by durdur View Post
Hi,

Thank you for very useful app.
I installed Google Earth and Link2sd worked fine. But I found that the lib directory in data/data takes 16 mb. Is there a way to link this one too automatically by Link2sd?

I have tried symlink and it seems to work but it's a manual process.

Thanks

Sent from my HTC Desire using XDA App
Yes, next release will exactly do that.

Hereby i'd like to give some information about the new version.
Iniatially I was intending to link whole data directory to SD card but I decided not to link data directory to SD card for security reasons. Let me try to explain;

Android uses the concept of a sandbox to make interapplication separation.
For this, Android uses process-level security, user and group IDs of the Linux OS.
Applications run on their own Linux process and are assigned a unique user ID.
Private data directory of the application is assigned to that app user ID and therefore another application can not access there.

If you move the private directory to SD card 2nd partition you have to keep the ownership of the files for the security.
The problem is that keeping ownership is not possible on some filesystems, for example the FAT file system has no provision for ownership or permissions.

So, instead of linking data directory I added ability to link library files to SD card.
These files can be big, even bigger than the apk files especailly for the games and linking them will free up some space on the internal storage.
I added lib size info both to main list page and app detail page so you can see how much space you'll free up if you link it.

Another improvement is that, you can link/unlink apk, dex and lib files separately, that is, you can link or unlink all three or any two of three or even only one of them.

Another new feature is to link new installed applications to SD card automatically (It will be optional, you can enable/disable this feature from the settings menu).

And release date, I hope I can release it in next week.
The Following 4 Users Say Thank You to bakpinar For This Useful Post: [ Click to Expand ]
 
mallaccra
Old
#946  
mallaccra's Avatar
Junior Member
Thanks Meter 1
Posts: 20
Join Date: Dec 2010
thanks bakpinar for this awesome app, your precious time and dedication.....
mallaccra®
| Xperia TX [LT29i] | Xperia Ion [LT28h] | Xperia P [LT22i] | V9 [Rooted] | X6D [Rooted] |
| AINO [R7AA071][Stock] | W995i [R1HA036][Modded] | W705i [R1GA030][Modded] | K850i [R1FA035][Modded] | DIAM [2.03.707.2] |
 
sanmit
Old
#947  
sanmit's Avatar
Senior Member
Thanks Meter 31
Posts: 277
Join Date: Feb 2011
Quote:
Originally Posted by bakpinar View Post
Yes, next release will exactly do that.

Hereby i'd like to give some information about the new version.
Iniatially I was intending to link whole data directory to SD card but I decided not to link data directory to SD card for security reasons. Let me try to explain;

Android uses the concept of a sandbox to make interapplication separation.
For this, Android uses process-level security, user and group IDs of the Linux OS.
Applications run on their own Linux process and are assigned a unique user ID.
Private data directory of the application is assigned to that app user ID and therefore another application can not access there.

If you move the private directory to SD card 2nd partition you have to keep the ownership of the files for the security.
The problem is that keeping ownership is not possible on some filesystems, for example the FAT file system has no provision for ownership or permissions.

So, instead of linking data directory I added ability to link library files to SD card.
These files can be big, even bigger than the apk files especailly for the games and linking them will free up some space on the internal storage.
I added lib size info both to main list page and app detail page so you can see how much space you'll free up if you link it.

Another improvement is that, you can link/unlink apk, dex and lib files separately, that is, you can link or unlink all three or any two of three or even only one of them.

Another new feature is to link new installed applications to SD card automatically (It will be optional, you can enable/disable this feature from the settings menu).

And release date, I hope I can release it in next week.
Cheers to that mate!

Sent from my GT540 using XDA App
 
javaman70
Old
#948  
Junior Member
Thanks Meter 0
Posts: 6
Join Date: Apr 2011
I am using OG D1 running LGB. I partitioned sd card 2nd partition is ext2 when i go to run Link2Sd i get this message... " Mount script error Mount script cannot be created. mount:No such device " any help would be appreciated.
 
sanmit
Old
#949  
sanmit's Avatar
Senior Member
Thanks Meter 31
Posts: 277
Join Date: Feb 2011
Quote:
Originally Posted by javaman70 View Post
I am using OG D1 running LGB. I partitioned sd card 2nd partition is ext2 when i go to run Link2Sd i get this message... " Mount script error Mount script cannot be created. mount:No such device " any help would be appreciated.
Try selectin ext3 option.

Sent from my GT540 using XDA App
 
Almighty1
Old
#950  
Almighty1's Avatar
Senior Member
Thanks Meter 114
Posts: 418
Join Date: Jun 2010
Location: San Francisco, California USA
Quote:
Originally Posted by psirage View Post
I see earlier post and I think I am seeing the same thing.
"Broken Android permissions may cause force closes.
Can you try to re-install one of the applications which has force close problem, and then if it works create link again with Link2SD."

Reinstalling applications definitely makes the problems go away. But having to reinstall all these apps are time consuming, and I have to put back all the shortcuts.

Is anybody seeing this issue? Is there a way to prevent the apps from losing permission, such as extra argument to the mount command or use ext2 instead of ext3?

Thanks.
It's easy to fix and you don't have to reinstall all the apps either.

Download ROM Manager from Android Market and then run ROM Manager, click on Fix Permissions under Utilities which will fix file system permissions including Force Close problems.

 
Post Reply+
Tags
link2sd, link2sd issues
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...