Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP][1.6+] Link2SD

OP bakpinar

18th January 2011, 10:11 PM   |  #1  
OP Recognized Developer
Istanbul
Thanks Meter: 855
 
340 posts
Join Date:Joined: Dec 2010
Link2SD is an application manager that makes it easy for Android 2.0+ users on their phone to move applications to the SD card. It enables you to manage your apps and storage easily.

The idea behind is same, linking to SD card's second partition but differs in two ways.

One, instead of linking /data/app folder (that means moving all applications), you can select the applications that you want to move.

Two, it's an application which means has a user interface. You can manage your applications, create or remove links with just few clicks.

It also provides native apps2sd features on Android 2.2 and higher. Plus, it can move any non-protected user apps to SD card (force move), with batch moving capability.
That feature uses Android's standard SD-card installation feature and does not require a second partition. It can break some apps if they are not meant to be moved to the SD card (Such as Widgets).

Cache cleaner function clears all your cache and free up space with a single tap. Also cache cleaner widget displays total cache size and enables "one tap cache cleaning" without opening the app.

Features:
- Enhanced app manager
- Create and remove link for apk, dex and lib files of the app
- Plus version also links private data files of the apps
- Automatically link newly installed apps (optional)
- Move any user apps to SD even though the app does not support moving to SD (a.k.a. "force move", for Android 2.2 and higher)
- Shows the apps that support moving to SD with native apps2sd
- Set the default install location of the apps; auto, internal, or external
- Batch link, unlink, reinstall, uninstall, "move to SD", "move to phone" functions
- Notify when movable apps installed
- Uninstall system applications (bloatware removal)
- Freeze and un-freeze system and users applications
- Convert system apps into user apps
- Convert user apps into system apps
- Integrate \"Updated\" system apps into system (ROM)
- Clear data and cache of the application
- Clear all apps cache at once (1-tap cache cleaner without being root)
- Clear cache widget (1-tap cache cleaner without being root)
- Notify if total cache size exceeds specified size
- List applications, show detailed size information and link status
- Wide variety of options to sort and filter apps
- Search applications by name
- Display available space information of internal storage, SD card and SD card 2nd partition
- Share the link of an app
- Support 35+ languages

Plus features:
- Links internal data directories of the apps to SD card
- Links dex files of the system apps to SD card
- Auto clear cache service
- Exclusion list for "clear all app cache" function
- Removes ads from Link2SD

What you need for linking applications:
- root permission
- a second partition on your SD card.

You should have two partitions on SD card and both should be primary

The first FAT partition is your standard SD card storage. The second partition is used for application files and can be ext2, ext3, ext4, f2fs or FAT.

You need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition in order to link app's private data files. Because the FAT file system (FAT16, FAT32 or exFAT) does not support UNIX file ownership or permissions and will cause a security breakdown of app's private files.
Link2SD Plus can move app's private data files if you have a non-FAT partition.

Link2SD does not create the second partition, you need to create it yourself. You can use any partition manager such as Minitool, Paragon, Easeus etc.

How it works:
Link2SD mounts the second partition of your SD card as /data/sdext2 and makes OS mounts it at boot time.

When you select an application and press "Create Link" button you can select which files of the application will be linked and moved to SD card. Apk, dex and lib files can be moved and you can select all three or any two of three or even only one of them.
Depending on what you select, Link2SD moves apk file, dalvik-cache (.dex) file and lib files (.so) to SD card's second partition and creates symbolic links in original directories.

Note: On Android 1.6 and 2.1, shortcut and the widget of the app should be re-added to homescreen if you move the apk file.

Can I remove the links and put application files back to phone?
Yes, just click on application that is linked and press "Remove Link" button. You can select which files of the application will be unlinked and moved back to internal storage.
Then, Link2SD removes the symbolic links and moves the files you selected to original directories.

What happens if I uninstall or update a linked application?
If you uninstall a linked application apk, dex and lib files will be automatically deleted from the SD card by Link2SD.
If you update a linked application new apk, dex and lib files will be placed in the internal memory at first and then they will be automatically relinked by Link2SD in the background.
You don't have to manually relink after updating applications.
Note: Since the app is linked again, On Android 1.6 and 2.1, shortcut and the widget of the app should be re-added to homescreen if the apk file is linked

Some points
- System applications should not be linked to SD card. Link2SD does not allow these applications to be linked.
- When you connect your phone to PC as mass storage, Android unmounts FAT partition but the second partition remains mounted. Therefore linked applications are not affected and can be run without problems.

Link2SD is avaliable in the following languages
English, Turkish, German, Hungarian, Italian, Polish, Portuguese, Portuguese Brazilian, Russian, Slovak, Spanish, Thai, Ukrainian, Japanese, Chinese Traditional, Chinese Simplified, French, Arabic, Bulgarian, Czech, Serbian, Indonesian, Dutch, Vietnamese, Greek, Slovenian, Basque, Macedonian, Catalan, Persian, Croatian, Danish, Albanian, Georgian, Afrikaans, Hindi, Swedish, Armenian, Tagalog, Romanian, Lithuanian.

If you want to help in translating Link2SD into other languages please send me an email.

DISCLAIMER: It is made available for use at your own risk with no warranty of any kind.

It's avaliable on Google Play, search for "Link2SD".

For more info and FAQ see the following site.

http://www.link2sd.info

UPDATE:
3.4.2
- fix the bug in "Clean up the 2nd partition" and "Storage Info"
3.4.1
- (Plus) added ability to link internal data directory of the apps to SD card
** You need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition for this feature.
Because the FAT file system does not support Unix file ownership or permissions and will cause a security breakdown of app\'s private files.
- (Plus) added exclusion list for "clean all app caches" function
- added "internal data size" and "external data size" sort options
- some fixes and optimizations
- added Lithuanian language
- updated translations
3.3.1
- minor fixes and optimizations
- added Romanian language
3.3
- (Plus) added ability to link dex files of the system apps
- added f2fs file system support
- added shortcut for searching with long-press of the menu button
- fixed "error 491" seen after clearing all app cache on some devices
- fixed the bug in detecting external SD cards that have exFAT file system
- some fixes and optimizations
- updated translations
3.2.1
- fixed licensing issue seen on some devices
- fixed the bug in obtaining root access for clear cache function
3.2
- added cache cleaner widget that displays total cache size and enables "one tap cache cleaning" without opening the app
- (Plus) added auto cache clean service, you can select the interval in settings
- added an option to include or exclude external cache files during "Clear all app caches"
- fixed the bug in auto linking on some devices
- fixed apk name bug seen on some new ROMs
- some fixes and optimizations
- updated translations
3.1.5
- fixed dalvik-cache (dex) issues on KitKat
3.1.4
- fixed the bug in "Convert to system app" on apps that have lib files
- fixed the bug in "Integrate update into system" on some apps
- added "Encrypted" filter option
- "Clear all app caches" and "Clear cache" functions now clean external cache as well
- some fixes and optimizations
- updated translations
3.1.3
- added support for devices with SELinux set to \"Enforcing\" mode (e.g new Samsung devices, KitKat ROMs etc.)
** if you have FC on linked apps, reboot your device after installing the new version
- added native app2sd support for new Samsung/ASUS devices (Android 4.2+)
- added Armenian and Tagalog languages
- minor fixes and optimizations
3.1.2
- improved KitKat support, fixed dex file issue on KitKat
- minor optimizations in UI
- updated translations
3.1.1
- minor fixes and optimizations
- added Swedish translation and updated some translations
3.1
- added Android KitKat (4.4) support
** if you have FC on linked apps on Kitkat, run \"Recreate mount scripts\" from the sliding menu and reboot
- fixed the bug that causes the search view to not open when pressing hardware search button
- some bug fixes and optimizations
3.0.1
- minor fixes and optimizations
3.0
- revamped user interface
** new sliding menu, new action bar, new multi-select interface, new menu and more
- added dark and light theme option
** default is dark, you can switch to light theme from the settings
- added "Share" function to send "Play Store" link of an app
- improved tablet support
- stability improvements and bug fixes
- updated translations
2.4.10
- fixed hang on app startup on some devices
- small fixes and optimizations
- updated translations
2.4.9
- fixed clean up the dalvik-cache and 2nd partition bug
2.4.8
- fixed "Invalid package" issue seen on some devices with previous update
2.4.7
- fixed bug in obtaining root access on some devices
- fixed bug that prevents relinking dex and lib files at boot on some devices
- fixed bug which caused the mount script can not be created on new Samsung devices (Note II, S4 etc.)
- improved Android 4.3 support
- some bug fixes and optimizations
- added Georgian, Afrikaans and Hindi translations
- updated translations
2.4.6
- added an option to notify when movable apps installed
- added an option to notify if total cache larger than specified size on app startup
- some bug fixes and optimizations
- updated translations
2.4.5
- added Android 4.3 support
- fixed a bug which caused the second partition can not be detected on some devices
- added "Obb size" sort option
- stability improvements and bug fixes
- updated translations
2.4.4
- fixed a bug which caused the second partition can not be detected on some devices
- added obb size info of the apps
- some bugfixes and optimizations
- added Albanian translation and updated some translations
2.4.2
- some bugfixes
- updated translations
2.4.1
- added warning if the device does not support native app2sd due to emulated external storage (such as Galaxy S3, Note 2 etc.)
- fixed a bug which caused the second partition can not be detected on some devices **
- fixed "mkdir failed , File exists" error for FAT partitions on some devices **
** if you have these problems run "Recreate mount scripts" from the menu after installing the new version and reboot
- added external data and cache size info used by the apps
- added encrypted label for Jell Bean style encrypted apps
- added ability to convert encrypted apps into normal apps (move to phone)
- added ACCESS_SUPERUSER permission declaration (proposed by Koush)
- updated translations
2.3
- added x86 and mips support
- added ability to link encrypted apps
- fixed crash if too many apps (600+) are installed on some devices
- minor fixes and optimizations
- added Danish language and updated translations
2.2.2
- fixed not working "clear all app caches" function for some devices
- minor fixes and optimizations
2.2.1
- fixed bug in obtaining root access on some devices
2.2
- fixed file permission bug that causes linked apps to FC on Jelly Bean
- added external SD information in "Storage Info" page (if presents)
- updated translations
2.1.2
- fixed crash if too many apps (400+) are installed on some devices
- improved app search (use "contains" instead of "start with" and higlight the matching characters)
- updated translations
2.1.1
- some fixes and tweaks
- added Croatian language
- updated translations
2.1
- added "relink all application files" feature to scan 2nd partition and relink all the files (can be used when changing or updating the ROM)
- added "relink dex files at boot" option
- changed multi-select UI
- added batch freeze/unfreeze
- added size info of /system and /cache partitions to "Storage info"
- fixed bug in converting system apps into user apps and vice versa
- added Persian language
- updated translations
- some fixes and UI tweaks
2.0.4
- fixed relink lib bug introduced in 2.0.3
- added Catalan and Macedonian translations
- updated some translations
2.0.3
- fixed force close at startup on some devices
- updated translations
2.0.2
- fixed bug in obtaining root access on some devices
- updated translations
2.0.1
- added the ability to convert system apps into user apps
- added the ability to convert user apps into system apps
- added "Updated" mark to show if the app has been install as an update to a system (built-in) app
- added "Updated" filter option
- added the ability to integrate "Updated" system apps into system
- fixed freeze/unfreeze bug on some ICS devices
- improved ICS compatibility
- optimized link/unlink/move operations and speed improvements
- some fixes and UI tweaks
1.9.13
- added an option to change language in application settings
- fixed bug in "Storage info" that displays incorrect values if the partition is >1GB on some devices
1.9.12
- changed a2sd checking
1.9.11
- fixed "Mount warning" issue on some devices that do not have operational init scripts to mount 2nd partition at boot, e.g. new Samsung Gingerbread roms
** if you have this problem run "Recreate mount scripts" from the menu after installing the new version of Link2SD
- added Basque translation
- some fixes and tweaks
1.9.10
- fixed some issues on Android 4.0 (Ice Cream Sandwich)
- added Greek and Slovenian translations
- updated some translations
- some minor fixes and tweaks
1.9.9
- fixed bug in recognizing the second partition on some devices
- updated some translations
1.9.8
- fixed bug in setting install location option
- updated some translations
1.9.7
- moved filter and sort functions from menu to title bar
- added an indicator icon which shows the apps that can be moved to SD with native apps2sd (a small icon in upper right corner, for Android 2.2 and higher)
- added "Movable" filter option which lists the apps that support moving to SD with native apps2sd (for Android 2.2 and higher)
- added "Clear data" to clear user data from the app
- added "Clear cache" to clear the app cache
- added "Cache size" sort option
- added ability to clear cache on all apps at once
- added "View in Market" for applications
- added an option to turn "auto link notification" off
- added Dutch, Serbian, Indonesian, Vietnamese translation
- fixed bug in recognizing the 2nd partition on some devices
- updated some translations
- some minor fixes and tweaks
1.9.6
- added Japanese, Chinese Simplified, French, Arabic, Bulgarian, Czech translation
- updated some translations
- added "Translation Credits" to the About page
1.9.5
- fixed freeze/unfreeze bug on some devices
- added Chinese Traditional, German, Hungarian, Italian, Polish, Portuguese, Portuguese Brazilian, Russian, Slovak, Spanish, Thai, Ukrainian translation
- added an option to use English language instead of system language
1.9.4
- added ability to freeze and unfreeze the user and system applications
- added "Frozen" filter option
- added ability to search applications by name, activated from the menu or search button
- some minor fixes and tweaks
1.9.3
- added "Recreate mount scripts" menu to recreate mount scripts manually when you change fs type or rom
- fixed bugs in "Quick reboot" and setting "Install location" on some devices
- some minor fixes and tweaks
1.9.2:
- added "Dex size" and "Total size" sort options
- some bugfixes
1.9.1:
- fixed FC on some devices
1.9.0:
- added native apps2sd function with batch capability (for Android 2.2 and higher)
** moves any user apps to SD even though the app does not support moving to SD
- added option to set the default install location of the apps; auto, internal, or external (for Android 2.2 and higher)
- added workaround for Roms that do not have install-recovery.sh and init.d scripts to mount 2nd partition at boot, e.g. new Samsung GB roms
** mounts after system finishes booting and you need to perform 'Quick reboot'
- new and safer 'Quick reboot' method
- added context menu to app list (activated on a long press)
- added option for automatic relinking of library files at boot
- added "on SD card" and "on internal" filter options
- added applications count to the title
- some UI changes
1.8.0
- changed the method for determining external storage to support devices that have more than one external storage (MMC and SD)
- added ability to uninstall system applications
- added batch (multi-select) reinstalling
- added batch (multi-select) uninstalling
- added "Relink library files" menu which relinks all the lib files that get unlinked after reboot
- removed "Market Fix" menu
- added "fast scroll thumb" option to quickly scroll through the app list
- added "Data size" to sort options
- some bugfixes
1.7.0
- added batch linking and unlinking (multi-select mode)
- some bugfixes
1.6.2
- fixed force close on application startup on some devices
1.6.1
- added horizontal screen orientation support
- added "Link dalvik-cache files" menu back
- improved loading and scrolling performance of the app list
- added cache size to app list
- fixed "Storage Info" bug on Android 2.3
- better CM7 support
Known issue:
* library files get unlinked after reboot on Android 2.3 and sometimes on 2.1 and 2.2. (PackageManager unpacks all native libraries from the apk files at boot)
1.6.0
- added option to link library (.so) files along with apk and dex files
- added automatic linking option for the new installed apps
- added ability to link/unlink apk, dex and lib files separately
- added '->' linked indicator to Apk, Dex and Lib labels
- added lib file size and link status information
- added lib size to sort options
- some bugfixes
1.5.5
- changed link creation, reboot is not required on Android 1.6 and 2.1 anymore
1.5.4
- added notification to status bar for automatic re-linking after app update
- added "reboot required" notification to status bar after linking app on Android 1.6 and 2.1
- some bugfixes
1.5.3
- changed menu name from "Quick Restart" to "Quick Reboot"
1.5.2
- added "Quick Restart" menu, cuts boot time
- added "Clean up the dalvik-cache" menu
- added "Clean up the 2nd partition" menu
- added ability to link updated system apps (that are located in /data/app)
- optimized refreshing of the app list after linking
- changed App2sd checking
- added support in detecting and mounting the second partition for some roms
- some bugfixes
1.5.1
- fixed background message
1.5.0
- added ext3, ext4 and FAT32 support for the second partition of SD card
- added refresh menu
- added "Not Linked" filter option
- changed App2sd checking
- added support in linking protected (/data/app-private) apps
- added support in detecting and mounting the second partition for some roms
- some bugfixes
1.4.2
- disabled automatic Market status fix after linking
1.4.1
- added option to link dalvik-cache (.dex) files along with apk files
- added automatic re-linking after app upgrade
- added automatic deleting from SD card after app uninstall
- added "Reinstall" button
- added "Link dalvik-cache files" menu which links dex files of all existing linked applications all at once
- added automatic Market status fix after linking
- better froyo support
- added dex file size and link status information
1.3.1
- added support in detecting and mounting ext2 partition for some roms
- some minor bugfixes
1.3.0
- added uninstall feature which deletes apk file also from ext2 for linked apps
- added launch and manage buttons
- added detailed size information of applications
- added support in detecting and mounting ext2 partition for some roms
- some minor bugfixes
1.2.1
- added info message to show which applications have been repaired after "Market Fix"
1.2.0
- added "Market Fix" feature to repair missing Market applications
- added support in detecting and mounting ext2 partition for some roms
- removed "ext2 found" info message at startup
- some minor bugfixes
1.0.5
- added support for some roms which install-recovery.sh is not operational
- added ext2.ko module installation on boot (if exists) for Motorola phones
1.0.4
- changed mount method at startup to be much safer
- some minor bugfixes
1.0.3
- initial release
Attached Thumbnails
Click image for larger version

Name:	Link2Sd_screen1y4.png
Views:	23676
Size:	25.9 KB
ID:	796477   Click image for larger version

Name:	Link2Sd_screen2y4.png
Views:	21059
Size:	19.5 KB
ID:	796478   Click image for larger version

Name:	Link2Sd_screen3y3.png
Views:	19496
Size:	14.7 KB
ID:	796480   Click image for larger version

Name:	Link2Sd_screen4y3.png
Views:	21435
Size:	13.8 KB
ID:	796481   Click image for larger version

Name:	Link2Sd_screen5y4.png
Views:	18044
Size:	19.9 KB
ID:	796482   Click image for larger version

Name:	Link2Sd_screen6y4.png
Views:	17451
Size:	14.5 KB
ID:	796483  
Last edited by bakpinar; 16th April 2014 at 09:59 PM. Reason: new release
The Following 548 Users Say Thank You to bakpinar For This Useful Post: [ View ]
18th January 2011, 10:47 PM   |  #2  
spy1983's Avatar
Senior Member
Flag Izmir
Thanks Meter: 3
 
145 posts
Join Date:Joined: Aug 2009
More
Well done! Great...

Thanks
The Following User Says Thank You to spy1983 For This Useful Post: [ View ]
19th January 2011, 08:53 AM   |  #3  
Junior Member
Thanks Meter: 1
 
2 posts
Join Date:Joined: Jan 2011
Hello Guys,

I am a newbie for android OS. You stated that you can do this SD partition stuff with MiniTool Partition Wizard Home Edition" (free). Sahll I have to use a lunix based pc? or Win Xp is enough?

Besides, ext2 partition will be used for the apps. And SD card also has another partition with FAT 16 format. So, what will be ratio for these partitions? Let's say I owned a 8 gb SD card. What will be proper partition sizes?

As a last question, We will first install the apps to phone memory. And then link it to SD card. Am i right?

thank you for your support.

Regards,
The Following User Says Thank You to gcorda79 For This Useful Post: [ View ]
19th January 2011, 09:39 AM   |  #4  
OP Recognized Developer
Istanbul
Thanks Meter: 855
 
340 posts
Join Date:Joined: Dec 2010
Quote:

Hello Guys,

I am a newbie for android OS. You stated that you can do this SD partition stuff with MiniTool Partition Wizard Home Edition" (free). Sahll I have to use a lunix based pc? or Win Xp is enough?

Besides, ext2 partition will be used for the apps. And SD card also has another partition with FAT 16 format. So, what will be ratio for these partitions? Let's say I owned a 8 gb SD card. What will be proper partition sizes?

As a last question, We will first install the apps to phone memory. And then link it to SD card. Am i right?

thank you for your support.

Regards,

Hello,
  • You can use windows machine for partition stuff with "MiniTool Partition Wizard Home Edition". It is a windows application, supports Windows 2000/XP/Vista/windows 7 (32 bit & 64 bit) operating system.
  • There is no such a restricted ratio but 10% is recommended. So if you have a 8GB card ~7.2GB for FAT32 and ~800MB for ext2 would be ok.
  • Yes, first install the application and then link it to SD card with Link2SD.
The Following 13 Users Say Thank You to bakpinar For This Useful Post: [ View ]
19th January 2011, 10:40 PM   |  #5  
Junior Member
Thanks Meter: 5
 
11 posts
Join Date:Joined: Aug 2007
Thanks, this works great and is more reliable than that apps2sd for Eclair.
20th January 2011, 08:24 AM   |  #6  
Junior Member
Thanks Meter: 1
 
2 posts
Join Date:Joined: Jan 2011
thanks for your explanations. I have another concern. ext2 is the partition used for applcation storage. (This is what i understand, may be I'm wrong.) So for a 8GB SD card, I may opnly use 800 MB storage for the applcations. Is this correct? I mean the remaining 7GB is for only data storage? will it be sufficient for all of the applciations installed in the device? I am a bit confused. Why dont we use more storage for ext2 partition?

Thanks,
20th January 2011, 01:59 PM   |  #7  
OP Recognized Developer
Istanbul
Thanks Meter: 855
 
340 posts
Join Date:Joined: Dec 2010
Yes, ext2 partition is used for application apk files, 800MB will be sufficient.
You can go larger like 1024 MB if you want but 800MB gives you plenty of room .
The Following 7 Users Say Thank You to bakpinar For This Useful Post: [ View ]
21st January 2011, 03:43 AM   |  #8  
Junior Member
Thanks Meter: 6
 
26 posts
Join Date:Joined: Oct 2010
I have a rooted Samsung Moment with 2.1 on it, but thankfully the devs at SDX have gotten apps2sd working and I've gotten it installed.
1. Could this app still work even though I have 2.1?
2. I have an ext3 partition instead of ext2. Will it still work on that?
The Following 2 Users Say Thank You to squiddy20 For This Useful Post: [ View ]
21st January 2011, 03:43 AM   |  #9  
Member
Thanks Meter: 5
 
41 posts
Join Date:Joined: Jan 2010
problem im not sure what to do
Hey so i used link2sd and im not sure what happened, maybe some1 can help. I have an ext2 partition and fat partition on my sd card. So i linked a few games like angry birds to the sdcard usnig links2sd. However after a reboot, the game no longer shows up in my app drawer. and also doesnt show up in link2sd anymore, hjowever link2sd shows that my ext2 partition now has 30% filled up. Any1 have any ideas as to the problem?> I am on a droid 1, using cmod7 nightlies

When i try to mount the partition like in the /etc/ sd file, i get a response from terminal statin, "mount: cant read /etc/fstab: no such file or directory". I hope this helps more...
Last edited by aamzalag; 21st January 2011 at 03:51 AM.
The Following 2 Users Say Thank You to aamzalag For This Useful Post: [ View ]
21st January 2011, 05:48 AM   |  #10  
Senior Member
Flag Norristown
Thanks Meter: 6
 
205 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by squiddy20

I have a rooted Samsung Moment with 2.1 on it, but thankfully the devs at SDX have gotten apps2sd working and I've gotten it installed.
1. Could this app still work even though I have 2.1?
2. I have an ext3 partition instead of ext2. Will it still work on that?

Same question, but sub ext4 instead of ext3..

and what about gingerbread?
Last edited by Lint6; 21st January 2011 at 06:22 AM.

Post Reply Subscribe to Thread

Tags
link2sd, link2sd issues
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes