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

[GUIDE][AKURO-DATA2SD] new method to increase internal memory

OP kurotsugi

12th July 2012, 01:31 AM   |  #1  
kurotsugi's Avatar
OP Recognized Contributor
Flag yogyakarta
Thanks Meter: 1,792
 
2,523 posts
Join Date:Joined: Feb 2012
More
there are already similar method to save our internal memory such as: link2sd, a2sd darktremor, amarullz, and my previous data2sd method. those method is quite popular and I believe you're using one of them now. some of you might also already use my data2sd method which used a script in init.d to mount sdcard ext partition to /data or use my data2sd kernel. however, both that methods have several bugs. in my data2sd kernel, script manager doesnt work. while if you use script in init.d, some 3rd party gps app like ndrive won't work. thats not a big deal if you're using gmaps, but its a lil bit frustrating for me since I hate to use gmaps app. so, I was experimenting with some other script several days ago and find a new method to overcome the bug from my previous method.

in this method, we use similar method with a2sd darktremor and amarullz but its a lot simpler. my method will mount sdcard ext partition on /system/sd then replace the partition on /data/app, /data/dalvik-cache, and /data/data with the one in /system/sd.

Quote:

the link
http://d-h.st/JV4

pre requirement:
1. good sdcard with ext3 partition
2. kernel with init.d support
3. cwm
4. luck

preparation step
1. copy cwm and my script on your sdcard
2. with your terminal emulator type
Code:
su
mount -t ext3 /dev/block/mmcblk0p2 /system/sd
3. with your explorer go to /data. copy everything inside it to /system/sd
4. unmount your ext partition "umount /system/sd"
5. go to recovery.
6. flash my script via cwm.
7. reboot.

I made this tweak as a modular stuff. it consist of 1 script used to mount the ext partition and the other three script used to mount the partition on /data. in this way, you can get four mode.
- a2sd mode (cache2sd-data2sd) --> delete 01akuro2_app (to activate cache2sd only, delete 01akuro4_data)
- amarullz-like mode --> delete 01akuro3_dalvik
- akuro mode --> delete nothing
- old data2sd mode --> delete 01akuro2_app, 01akuro3_dalvik, 01akuro4_data. make a new script "01akuro5_adata" contain
Code:
#!/system/bin/sh
mount -o bind /system/sd /data
Quote:

notes:
1. I highly recommend to install my script on fresh installed rom
2. a2sd, amarullz, data2sd script and link2sd will conflict with this method
3. this mod only works on ext3 partition. you'll need to modify the script by yourself if you're using another partition type

credits:
1. amarullz for the idea
2. irfanbagus n savie
3. all xda member here

Quote:

TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK

Last edited by kurotsugi; 12th July 2012 at 01:43 AM.
The Following 35 Users Say Thank You to kurotsugi For This Useful Post: [ View ]
12th July 2012, 01:32 AM   |  #2  
kurotsugi's Avatar
OP Recognized Contributor
Flag yogyakarta
Thanks Meter: 1,792
 
2,523 posts
Join Date:Joined: Feb 2012
More
updates and changelog:
v2.0 : http://d-h.st/HB4

installation procedure:
- flash this file via CWM
- reboot. check /data/kuro_akuro.log if the app and dalvik succesfully mounted copy /data/data to /system/sd.
- reboot your device.

Quote:

changelog:
v1
- first release project. link in 1st post
v2
- log system. check /data/kuro_akuro.log
- semi automated system. app and dalvik cache auto move. data should be manually copied to /system/sd after reboot.
- auto mount for all type partition
- aroma installer

Last edited by kurotsugi; 21st August 2012 at 09:29 AM.
The Following 15 Users Say Thank You to kurotsugi For This Useful Post: [ View ]
12th July 2012, 02:57 AM   |  #3  
savie's Avatar
Senior Member
Thanks Meter: 631
 
848 posts
Join Date:Joined: Feb 2012
Tweeekerss...
Good job...
12th July 2012, 03:20 AM   |  #4  
kurotsugi's Avatar
OP Recognized Contributor
Flag yogyakarta
Thanks Meter: 1,792
 
2,523 posts
Join Date:Joined: Feb 2012
More
haha...its just a side project. I still don't have a linux environment yet, so I was experimenting with several tweaks. here is one of the result. I think I'll need your help when I've setted up my system :3
The Following 2 Users Say Thank You to kurotsugi For This Useful Post: [ View ]
12th July 2012, 04:52 AM   |  #5  
CarlDeanCatabay's Avatar
Senior Member
Flag Imus City
Thanks Meter: 4,746
 
568 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Reserved

Sir kurotsugi, Can you make this and other tweaks of your built in in one kernel? I think it is easier for newbies to flash a kernel than to go over the steps above -just a thought.
BTW, Good work!

Added to Samsung Galaxy Young for Dummies 2nd Edition - New Users Start Here under Guide to Tweaking and Modding
Last edited by CarlDeanCatabay; 12th July 2012 at 05:02 AM.
12th July 2012, 06:41 AM   |  #6  
b16h22's Avatar
Recognized Themer
Flag Intercooler piping
Thanks Meter: 2,229
 
1,149 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by kurotsugi

haha...its just a side project. I still don't have a linux environment yet, so I was experimenting with several tweaks. here is one of the result. I think I'll need your help when I've setted up my system :3

Something for me to include in my next update
Btw, use wubi.That's a good method to install linux.I've setup the linux environment today
12th July 2012, 08:17 AM   |  #7  
manoranjan2050's Avatar
Senior Member
Flag JAGATSINGHPUR
Thanks Meter: 1,374
 
1,085 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Wow thanks for the great guide.......

Sent from my GT-S6102 using Tapatalk 2
12th July 2012, 12:50 PM   |  #8  
kurotsugi's Avatar
OP Recognized Contributor
Flag yogyakarta
Thanks Meter: 1,792
 
2,523 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by CarlDeanCatabay

Reserved

Sir kurotsugi, Can you make this and other tweaks of your built in in one kernel? I think it is easier for newbies to flash a kernel than to go over the steps above -just a thought.
BTW, Good work!

Added to Samsung Galaxy Young for Dummies 2nd Edition - New Users Start Here under Guide to Tweaking and Modding

not everyone want to have those tweak on one flash file. sorry.
Quote:
Originally Posted by b16h22

Something for me to include in my next update
Btw, use wubi.That's a good method to install linux.I've setup the linux environment today

I'll consider that option. the problem is that I don't have any distro linux on my comp at this moment. (lol)
Quote:
Originally Posted by manoranjan2050

Wow thanks for the great guide.......

Sent from my GT-S6102 using Tapatalk 2

this is the method I've discussed with you via PM several days ago. you can extract it and see inside it. amarullz works in backwards. it mount ext partition in /data then mount dev/block/bmlXX (the data partition) to /sd-ext. after that it mounts /sd-ext/dalvik-cache and /sd-ext/data to /data.
The Following 2 Users Say Thank You to kurotsugi For This Useful Post: [ View ]
12th July 2012, 09:30 PM   |  #9  
Senior Member
Thanks Meter: 165
 
441 posts
Join Date:Joined: Jul 2012
Is it okay to use this method on a class4 sd card . So far i have been using link2sd only , never tried other options under the impression that they might require class 10 or something.
12th July 2012, 10:52 PM   |  #10  
kurotsugi's Avatar
OP Recognized Contributor
Flag yogyakarta
Thanks Meter: 1,792
 
2,523 posts
Join Date:Joined: Feb 2012
More
yup...you can use it but your phone will get laggy afterwards.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes