Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,290 Members 53,090 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
kurotsugi
Old
(Last edited by kurotsugi; 12th July 2012 at 12:43 AM.)
#1  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1,783
Posts: 2,520
Join Date: Feb 2012
Location: yogyakarta
Default [GUIDE][AKURO-DATA2SD] new method to increase internal memory

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
The Following 35 Users Say Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
kurotsugi
Old
(Last edited by kurotsugi; 21st August 2012 at 08:29 AM.)
#2  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1,783
Posts: 2,520
Join Date: Feb 2012
Location: yogyakarta
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
The Following 15 Users Say Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
savie
Old
#3  
savie's Avatar
Senior Member
Thanks Meter 603
Posts: 844
Join Date: Feb 2012
Tweeekerss...
Good job...
 
kurotsugi
Old
#4  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1,783
Posts: 2,520
Join Date: Feb 2012
Location: yogyakarta
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: [ Click to Expand ]
 
CarlDeanCatabay
Old
(Last edited by CarlDeanCatabay; 12th July 2012 at 04:02 AM.)
#5  
CarlDeanCatabay's Avatar
Senior Member
Thanks Meter 4,657
Posts: 568
Join Date: Apr 2012
Location: Imus City

 
DONATE TO ME
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

Hyperion - Titan of the East | the fastest and smoothest ROM for Samsung Galaxy Young GT-S5360 yet
Current Projects:
Hyperion DXLL1 | Hyperion CM 7.2
Phones:
Samsung Galaxy Y - Hyperion DXLL1 | Samsung Galaxy SII Int'l - ParanoidAndroid 3.15 | Samsung Galaxy S4 Int'l I9505 - CM 10.1 NIGHTLY
 
b16h22
Old
#6  
b16h22's Avatar
Recognized Themer
Thanks Meter 2,010
Posts: 1,111
Join Date: Apr 2012
Location: Intercooler piping
Quote:
Originally Posted by kurotsugi View Post
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
 
kurotsugi
Old
#8  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1,783
Posts: 2,520
Join Date: Feb 2012
Location: yogyakarta
Quote:
Originally Posted by CarlDeanCatabay View Post
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 View Post
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 View Post
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: [ Click to Expand ]
 
rkmiks
Old
#9  
Senior Member
Thanks Meter 163
Posts: 436
Join Date: 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.
 
kurotsugi
Old
#10  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1,783
Posts: 2,520
Join Date: Feb 2012
Location: yogyakarta
yup...you can use it but your phone will get laggy afterwards.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes