Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,983 Members 45,646 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE]GT-S6102 Link Data & Dalvik-Cache Manually to SDExt2 via Root Explorer

Tip us?
 
kaorukail
Old
(Last edited by kaorukail; 6th August 2012 at 11:33 AM.) Reason: Link Dalvik Cache Files
#1  
kaorukail's Avatar
Senior Member - OP
Thanks Meter 113
Posts: 109
Join Date: May 2012
Location: Jakarta
Talking [GUIDE]GT-S6102 Link Data & Dalvik-Cache Manually to SDExt2 via Root Explorer

In my recent post, I posted SNS Integration that I deodexed it myself, but recently I got some trouble,
because it drain my internal storage (About 15MB space) and I've been thinking how to solve it.
This guide is for those who use Link2SD, because Link2SD cannot move data into sdcard second partition.
When you see SNS in system apps via Link2SD, the data files consume up to 15MB,
because I sync my twitter and facebook to my contact, and this cause a problem for me,
because It consumes internal storage.



This is how I do it :

Warning!
Quote:
If you want to link data files manually, the EASIEST way is NOT to link any lib files with Link2SD. Leave it unlinked, so you can easily link the ENTIRE data folder.
Quote:
First, you must have link2sd, so that you have sdext2 folder in your /data/ , like this :


Then open your Root Explorer.
You will see your root directory like this :


Then tap the data folder :


After that, scroll down until you see data folder in your data folder (Dataception)
Then tap it.


Now it should shows all your app data in folder like this :


Now choose the App Data Folder that we want to link,
in this case I use com.sec.android.app.sns (SNSProvider that I deodexed in my previous post)


Then long press the folder, and it should show dialog box like this, select Copy.


After that, go back to data folder, and locate your sdext2 folder


Tap sdext2 folder, and locate data folder in it.


Then tap it, and tap Paste.


Then scroll down and see your com.sec.android.app.sns in it, then long press it.


The dialog box should show up, scroll down and select Link to this folder.


After that, back to /data folder


Then tap data folder in data folder again to enter it. After that, scroll down to see com.sec.android.app.sns folder, we are going to delete it.


Long press the folder, the dialog box should show up, tap delete, tap yes.


Then tap create link, and voila! your com.sec.android.app.sns folder is linked to your SDCard second partition!
It should look like this :
Thanks to MNgez question, I was able to try this way on dalvik cache files, That Link2SD don't link if we don't link our application with it, like dalvik cache files for system app.
So yesterday I experimented it again, and it works! Just do the same way for data files, what differs is we link the dalvik cache file, not data folder. If it succeed, Link2SD also recognize our manual dalvik cache link like this :


Quote:

Open your Root Explorer. Then navigate to /data/dalvik-cache like this, and you will see dalvik cache files :


Then scroll down to see the dalvik cache file that we want to link,
In this case I'll link PhoneSky (Google Play Store) so we search for the file that has phonesky in it.


Then long press the system@app@PhoneSky.apk@classes.dex, the dialog box should shows up, select Move.


Navigate back to /data, then tap sdext2


Scroll down, until you see dalvik-cache folder, tap it.


You should see dalvik-cache files in it, then just tap paste.


Then scroll down until you see your newly dalvik cache file, Long press in it


The Dialog box should shows up, scroll down and tap Link to this file.


Go back to /data folder, navigate into dalvik-cache folder and tap it.


After you're in /data/dalvik-cache folder, tap Create Link


If it succeed, it should look like this :


Voila! Your dalvik cache file has been linked to your SDCard second partition, and Link2SD recognize your manual link! Enjoy!


This should works with .apk too, you should try it yourself!

Update: This works with GT-S5360 too, thanks to hitme987 for informing


Hope this helps!

Disclaimer :
I do not take responsibility if this thread do something to your phone, I'm just trying to contribute.

Lastly, Click Thanks if I helped you!



Click thanks if I helped you

Android user, Samsung Galaxy Y Duos GT-S6102
Current ROM : GingerIceJelly v2.0.RC2
Current Kernel : Compact Kernel /special build - Compact@nitubhaskar #4
Current Baseband : S6102DXLF1

follow my twitter : @AntaresTerry

See My Post :

The Following 29 Users Say Thank You to kaorukail For This Useful Post: [ Click to Expand ]
 
MNgez
Old
(Last edited by MNgez; 1st August 2012 at 07:50 AM.) Reason: Add Ask
#2  
MNgez's Avatar
Senior Member
Thanks Meter 218
Posts: 231
Join Date: May 2012
Location: Banten

 
DONATE TO ME
Great Work Bro...
Help Us Much
[Ask]
1. What about Dalvic Cache? Could do Like This Or in Others way?

Thank You Very Much
May God Bless U
 
kaorukail
Old
#3  
kaorukail's Avatar
Senior Member - OP
Thanks Meter 113
Posts: 109
Join Date: May 2012
Location: Jakarta
Quote:
Originally Posted by MNgez View Post
Great Work Bro...
Help Us Much
[Ask]
1. What about Dalvic Cache? Could do Like This Or in Others way?

Thank You Very Much
May God Bless U
Hmm I didn't try it yet, I'll try soon, If it works I'll inform here
Click thanks if I helped you

Android user, Samsung Galaxy Y Duos GT-S6102
Current ROM : GingerIceJelly v2.0.RC2
Current Kernel : Compact Kernel /special build - Compact@nitubhaskar #4
Current Baseband : S6102DXLF1

follow my twitter : @AntaresTerry

See My Post :

The Following User Says Thank You to kaorukail For This Useful Post: [ Click to Expand ]
 
MNgez
Old
#4  
MNgez's Avatar
Senior Member
Thanks Meter 218
Posts: 231
Join Date: May 2012
Location: Banten

 
DONATE TO ME
Question [Ask][Again]

Thank for Fast Respons

These is Curently The Newest way
But Manually and Without Auto Link or Move by Apps
But I still not need Moving any Data to SD, Only need Dalvic to SD...

[Ask] Is it will Work with Stock ROM?
I've Know that U R in TD not Stock Like Mine...
Too bad I'm to Scarry to do these...

Ditunggu Khabar Selanjutnya Gan...
Ups Sorry I Mean: I'll Wait for Further Information...

May God Bless U
 
kaorukail
Old
#5  
kaorukail's Avatar
Senior Member - OP
Thanks Meter 113
Posts: 109
Join Date: May 2012
Location: Jakarta
Quote:
Originally Posted by MNgez View Post
Thank for Fast Respons

These is Curently The Newest way
But Manually and Without Auto Link or Move by Apps
But I still not need Moving any Data to SD, Only need Dalvic to SD...

[Ask] Is it will Work with Stock ROM?
I've Know that U R in TD not Stock Like Mine...
Too bad I'm to Scarry to do these...

Ditunggu Khabar Selanjutnya Gan...
Ups Sorry I Mean: I'll Wait for Further Information...

May God Bless U
Yes, because as far as I know there's only a2sd from darktremor that can move app data to SDCard second partition,
so I've been searching for a way to link app data myself with Root Explorer.
If you use link2SD, you can just link application files, it will link dalvik cache too by default in your sdext2.
This will work, because Link2SD support Stock ROM and you will need root permission for Root Explorer.

With Link2SD -> you can link apk, dalvik cache, lib files but NOT data files, so I post these.
Click thanks if I helped you

Android user, Samsung Galaxy Y Duos GT-S6102
Current ROM : GingerIceJelly v2.0.RC2
Current Kernel : Compact Kernel /special build - Compact@nitubhaskar #4
Current Baseband : S6102DXLF1

follow my twitter : @AntaresTerry

See My Post :

The Following 2 Users Say Thank You to kaorukail For This Useful Post: [ Click to Expand ]
 
MNgez
Old
(Last edited by MNgez; 1st August 2012 at 03:39 PM.)
#6  
MNgez's Avatar
Senior Member
Thanks Meter 218
Posts: 231
Join Date: May 2012
Location: Banten

 
DONATE TO ME
Quote:
Originally Posted by kaorukail View Post
Yes, because as far as I know there's only a2sd from darktremor that can move app data to SDCard second partition,
so I've been searching for a way to link app data myself with Root Explorer.
If you use link2SD, you can just link application files, it will link dalvik cache too by default in your sdext2.
This will work, because Link2SD support Stock ROM and you will need root permission for Root Explorer.

With Link2SD -> you can link apk, dalvik cache, lib files but NOT data files, so I post these.
Yup i know it... but link2sd only move linked apk dalvic only not all of dalvic...
Anyway love this post
Keep on Rock the world bro...
Dikirim Ti GT-S6102 Kuring Nganggo Tapatalk 2
 
kecrekchord
Old
#7  
kecrekchord's Avatar
Member
Thanks Meter 34
Posts: 68
Join Date: May 2012
Location: Bogor
◦˚♡♥3τниκч3♥♡˚◦
4 this thread brother... ill try soon.

............
Sent from GT-S6102 using
StockRom with iduos 1.3.1 kernel
 
kaorukail
Old
#8  
kaorukail's Avatar
Senior Member - OP
Thanks Meter 113
Posts: 109
Join Date: May 2012
Location: Jakarta
Quote:
Originally Posted by MNgez View Post
Great Work Bro...
Help Us Much
[Ask]
1. What about Dalvic Cache? Could do Like This Or in Others way?

Thank You Very Much
May God Bless U
Good news, it works. Just move the real dalvik cache file in /data/dalvik-cache to /data/sdext2/dalvik-cache, create link to its original folder and it will work, just like data files.
I will add to first post soon.

Sent from my GT-S6102 using xda premium
Click thanks if I helped you

Android user, Samsung Galaxy Y Duos GT-S6102
Current ROM : GingerIceJelly v2.0.RC2
Current Kernel : Compact Kernel /special build - Compact@nitubhaskar #4
Current Baseband : S6102DXLF1

follow my twitter : @AntaresTerry

See My Post :

The Following 2 Users Say Thank You to kaorukail For This Useful Post: [ Click to Expand ]
 
Deadly
Old
#9  
Deadly's Avatar
Recognized Contributor
Thanks Meter 3860
Posts: 10,106
Join Date: Jul 2012
Location: Bangalore

 
DONATE TO ME
Thumbs up good one! thanks..

Quote:
Originally Posted by kaorukail View Post
Good news, it works. Just move the real dalvik cache file in /data/dalvik-cache to /data/sdext2/dalvik-cache, create link to its original folder and it will work, just like data files.
I will add to first post soon.

Sent from my GT-S6102 using xda premium
nice find kaorukail.. u stopped many link2sd users tears...
"Thanks button is just to avoid "thanks" posts in threads. Nothing more than that. Don't ask in signature or post for it and defeat the purpose why it was introduced"
 
nemodark
Old
#10  
Member
Thanks Meter 1
Posts: 49
Join Date: Jun 2012
Quote:
Originally Posted by kaorukail View Post
In my recent post, I posted SNS Integration that I deodexed it myself, but recently I got some trouble,
because it drain my internal storage (About 15MB space) and I've been thinking how to solve it.
This guide is for those who use Link2SD, because Link2SD cannot move data into sdcard second partition.
When you see SNS in system apps via Link2SD, the data files consume up to 15MB,
because I sync my twitter and facebook to my contact, and this cause a problem for me,
because It consumes internal storage.



This is how I do it :



Hope this helps!

Disclaimer :
I do not take responsibility if this thread do something to your phone, I'm just trying to contribute.

Lastly, Click Thanks if I helped you!



i have already partition my sd card before ...but i installed link2sd again ...and i cant find sdext2 in data folder in root explorer

Tags
gt-s6102, link data to sdext2, link2sd, root explorer, sns account
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes