[MOD][APPS2SD][CWM] GingerMod Apps2SD 1.2b for All Custom ROMs - Update 12-JUNE-2012

ahmadsafar

Senior Member
Dec 15, 2011
106
422
0
24
GingerMod Apps2SD for All Custom ROMs!

NOTE:

I DON'T TAKE ANY RESPONSIBILITY IF YOU GET BOOTLOOPS YOUR SYSTEM/ROM/PHONE
• Make a Backup first!
• before install this script, please remove all another a2sd script (like DT, S2E). if not, this script does not run properly!
• & Move Apps, /data, & /dalvik-cache back to /data
Prerequisite:
- Kernel support ext2/3/4
- Sd-ext type ext2/3/4
- Superuser
- BusyBox
- /etc/init.d run-parts

Features
- BusyBox 1.20.0-cm7 bionic
- move /data/app | /data/app-private | /data/dalvik-cache | /data/data | /cache to /sd-ext (without reboot :D)
- set SD Card Read Buffer value
- set Swappiness value

how it work??
move /data/app | /data/app-private | /data/dalvik-cache | /data/data | /cache to /sd-ext
create symlinks of /data/app | /data/app-private | /data/dalvik-cache | /data/data | /cache to (/sd-ext)
for first boot (after installation)
move all apk's from /data/app to /sd-ext/app
remove /data/app folder
create symlink from /data/app to /sd-ext/app
mount /cache to /sd-ext/download
set SD Card Read Buffer value to: 2048
set Swappiness value to: 40

how to install??
Flash zip file via CWM
open terminal emulator
  • su
  • gmod install

All Commands
gmod
- View status of app, dalvik-cache, data, SD Read buffer, etc

gmod install
- Install GingerMod Apps2SD if not Installed

gmod uninstall
- remove all GingerMod Apps2SD files & move back all data on /sd-ext to /data

gmod all2sd
- move /data/(app + app-private + dalvik-cache + data + cache) to /sd-ext

gmod app2sd
- move /data/app & /data/app-private to /sd-ext

gmod cache2sd
- move /data/dalvik-cache to /sd-ext/dalvik-cache

gmod data2sd
- move /data/data to /sd-ext/data

gmod dl2sd
- move /cache to /sd-ext/download

gmod noall
- move /sd-ext/(app + app-private + dalvik-cache + data + cache) to /data

gmod noapp
- move /sd-ext/app & /sd-ext/app-private to /data

gmod nocache
- move /sd-ext/dalvik-cache to /data/dalvik-cache

gmod nodata
- move /sd-ext/data to /data/data

gmod nodl
- move /sd-ext/download to /cache

gmod swap
- Set Swappiness value

gmod sdbuff
- Set SD Card buffer value
Screenshot:


Download Link:
http://forum.xda-developers.com/showpost.php?p=24863010&postcount=2
 

Attachments

Last edited:

ahmadsafar

Senior Member
Dec 15, 2011
106
422
0
24
Changelog & Download Link

Download Link:

Changelog:

1.2b
• Move data/apps/dalvik-cache without reboot :D
• mount /system as R/W
• auto mount Linux Swap partition (if exist)
• options to set Swappiness value
• options to set SD Card Read Buffer value
Sorry for my bad English :D
 
Last edited:
D

DQiB

Guest
lolz gr8 work ;-)
Need Perm´s for my ports of this App2SD script :D
Wonderful bro :rolleyes:
 
Last edited:

D-dy

Senior Member
Sep 28, 2011
718
127
0
Kutaraja
great... another a2sd script + sdcard speedup :D

installed n gmod all2sd he he :D

---------- Post added at 01:57 PM ---------- Previous post was at 01:25 PM ----------

*Update
Gmod installed correctly then typing "gmod all2sd" but app + app-private + dalvik-cache + data + cache still in /data :(
I has try to "gmod uninstall" then "install" again, but nothing hapen :(
Btw, Rom MoRe v1 update 3, sd ext3

Now im back to s2e

Thx in advance
Regards
 

ahmadsafar

Senior Member
Dec 15, 2011
106
422
0
24
great... another a2sd script + sdcard speedup :D

installed n gmod all2sd he he :D

---------- Post added at 01:57 PM ---------- Previous post was at 01:25 PM ----------

*Update
Gmod installed correctly then typing "gmod all2sd" but app + app-private + dalvik-cache + data + cache still in /data :(
I has try to "gmod uninstall" then "install" again, but nothing hapen :(
Btw, Rom MoRe v1 update 3, sd ext3

Now im back to s2e

Thx in advance
Regards
before install this script, please remove all another a2sd script (like DT, S2E). if not, this script does not run properly
 

D-dy

Senior Member
Sep 28, 2011
718
127
0
Kutaraja
before install this script, please remove all another a2sd script (like DT, S2E). if not, this script does not run properly
I do... I do...:confused:
I restored all data from /sd ext to /data before uninstall s2e, reboot the phone, then installing your script. So, There no more script s2e in folder init.d. I has checked it b4 :p
 

D-dy

Senior Member
Sep 28, 2011
718
127
0
Kutaraja
before install this script, please remove all another a2sd script (like DT, S2E). if not, this script does not run properly
I do... I do...:confused:
I restored all data from /sd ext to /data before uninstall s2e, reboot the phone, then installing your script. So, There no more script s2e in folder init.d. I has checked it b4 :p
Well, i decompile s2e n found s2e script in /data/local/userinit.d not in /etc/init.d. after deleted folder "userinit.d n temp", restart the phone then install ur script again N everything work:cool:. but i feel lag while playing angry bird season:confused:. will test ur script on other n hope there no lag:)

Does it work properly on CM9????? :confused:
Looks good ;)
i think it will work, coz if the script work on custom-rom (stock based not cm7) then will work too on cm7/9/miui:rolleyes:. if u wanna try it do Backup first
 

ZyberXDA

Senior Member
Nov 18, 2010
189
17
0
Amsterdam
I installed it on cm9 through cwm but when I go into the terminal emulator I get the message:

sh: gmod: not found

I hope it will work because since ICS I can't see the SD ext partition.
It is formatted in ext3

Phone: HTC hero
ROM: ICS 4.0.3 v2.1.1
Kernel: LV 1.2
 

AlexandreT

Senior Member
Aug 5, 2010
262
27
0
Hi, I Installed your script on mebitek CM7 and I'm getting Play Store FC. I can't install new apps or update old ones. Any suggestions on how to solve these FCs?

I only moved the apps, not anything else. I have no other app2sd script installed.

Thank you so much for your efforts.

Sent from my GT-I9000 using Tapatalk 2
 

ahmadsafar

Senior Member
Dec 15, 2011
106
422
0
24
Hi, I Installed your script on mebitek CM7 and I'm getting Play Store FC. I can't install new apps or update old ones. Any suggestions on how to solve these FCs?

I only moved the apps, not anything else. I have no other app2sd script installed.

Thank you so much for your efforts.

Sent from my GT-I9000 using Tapatalk 2
try to use v1.2a :D
 

AlexandreT

Senior Member
Aug 5, 2010
262
27
0
I had to do a factory reset and only then install the new version but now everything is working well. Thank you.

Sent from my GT-I9000 using Tapatalk 2
 

AlexandreT

Senior Member
Aug 5, 2010
262
27
0
Hi ahmadsafar,

I would like to report some bugs I found:

When I installed this script I lost root privileges. I got it back by using SuperOneClick Root and the script (1.2a) is working fine. I installed the script twice and this happened also twice.

Also when I used the gmod install command I had to manually make the system RW so the script would install. Otherwise it always failed.

Today I noticed that FM radio is not working while it was working fine before. Could it be that your script broke something in the radio FM implementation of Mebitek/CyanogenMod 7.2, just like it broke root?

Please understand that I'm just reporting some bugs I found, in so trying to help you fine tune this script. I'm grateful for your work.