Post Reply

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

OP kaorukail

1st August 2012, 06:09 AM   |  #1  
kaorukail's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 113
 
109 posts
Join Date:Joined: May 2012
More
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!



Last edited by kaorukail; 6th August 2012 at 11:33 AM. Reason: Link Dalvik Cache Files
The Following 29 Users Say Thank You to kaorukail For This Useful Post: [ View ]
1st August 2012, 07:42 AM   |  #2  
MNgez's Avatar
Senior Member
Flag Banten
Thanks Meter: 218
 
231 posts
Join Date:Joined: May 2012
Donate to Me
More
Thumbs up
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
Last edited by MNgez; 1st August 2012 at 07:50 AM. Reason: Add Ask
1st August 2012, 07:53 AM   |  #3  
kaorukail's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 113
 
109 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by MNgez

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
The Following User Says Thank You to kaorukail For This Useful Post: [ View ]
1st August 2012, 08:21 AM   |  #4  
MNgez's Avatar
Senior Member
Flag Banten
Thanks Meter: 218
 
231 posts
Join Date:Joined: May 2012
Donate to Me
More
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
1st August 2012, 08:58 AM   |  #5  
kaorukail's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 113
 
109 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by MNgez

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.
The Following 2 Users Say Thank You to kaorukail For This Useful Post: [ View ]
1st August 2012, 12:45 PM   |  #6  
MNgez's Avatar
Senior Member
Flag Banten
Thanks Meter: 218
 
231 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by kaorukail

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
Last edited by MNgez; 1st August 2012 at 03:39 PM.
1st August 2012, 01:59 PM   |  #7  
kecrekchord's Avatar
Member
Flag Bogor
Thanks Meter: 34
 
68 posts
Join Date:Joined: May 2012
More
◦˚♡♥3τниκч3♥♡˚◦
4 this thread brother... ill try soon.

............
Sent from GT-S6102 using
StockRom with iduos 1.3.1 kernel
1st August 2012, 04:42 PM   |  #8  
kaorukail's Avatar
OP Senior Member
Flag Jakarta
Thanks Meter: 113
 
109 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by MNgez

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
The Following 2 Users Say Thank You to kaorukail For This Useful Post: [ View ]
1st August 2012, 05:12 PM   |  #9  
Deadly's Avatar
Recognized Contributor
Flag Bangalore
Thanks Meter: 3,952
 
10,186 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Thumbs up good one! thanks..
Quote:
Originally Posted by kaorukail

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...
2nd August 2012, 12:21 AM   |  #10  
Member
Thanks Meter: 1
 
49 posts
Join Date:Joined: Jun 2012
Quote:
Originally Posted by kaorukail

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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in Galaxy Y Duos S6102 Android Development by ThreadRank