[Script for IC_CM7] App move from NAND to ext Partiton - Desire Themes and Apps

Hi,
i make a script to move Apps from /data/data to /system/sd/.moreapps
i use it with the Script Manager in CM7 InsertCoin
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
option a: for move data to ext Partition
option b: for move data back to NAND
option c: for rebuild previous moves"
( use this after wipe data )
the script search the 10 biggest apps on /data/data
this 10 apps you can move interactive
download move.sh

Can GScript Lite be used as app?

i dont know that, but script manager its free in the market.

umber said:
Hi,
i make a script to move Apps from /data/data to /system/sd/.moreapps
Click to expand...
Click to collapse
Thanks for good work.
But there is a general problem with this method introduced by baadnewz.
If you flash a rom update moved apps are not functional anymore.
Yes, you can move apps back to the nand before flash, but only if you have free space on nand to do that.
So I think a possible solution is a intelligent init.d script which recreates symbolic links on boot.

thx for your answer, you have this prob with a update from v23 to 24 ?

umber said:
thx for your answer, you have this prob with a update from v23 to 24 ?
Click to expand...
Click to collapse
I've done moving and linking of seven apps manually on v22. After that I flashed v22 again to test if it works, it don't.
One of the apps is still visible in the app drawer but won't start (asphalt), firefox working good , others are not visible in the app drawer.
Folders are there, I've recreate the symlinks, but they wont start.

hmm thats stange
i have mobed 3 apps and its work after:
-reflash v22
-flash v23 without wipe
-update to v24
after recreate symlinks your apps wont not work ?

Yes, they don't work. Don't know if this matters but I'm on standard hboot, not CM7.
I'll try your script.

hmm then you use the a2sd version, sorry but I can not test this, I will not change the hboot again

hi, i tried to run your script using script manager but it returns one line of code which is 'free space after change' and only .moreapps folder gets created in system/sd nothing is moved. I'm on ICv25 and i have s-off so i don't see where the problem is

you must call the script with the argument move
call for move:
Code:
sh move.sh move
Edit:
i have make a update, now when you start without argument, you become follow infos:
Code:
syntax wrong
call the script with Argument, move or moveback
sh move.sh move
sh move.sh moveback

sergmeister said:
hi, i tried to run your script using script manager but it returns one line of code which is 'free space after change' and only .moreapps folder gets created in system/sd nothing is moved. I'm on ICv25 and i have s-off so i don't see where the problem is
Click to expand...
Click to collapse
Same for me.
When I ran it through Script Manager with argument it shows:
"sh Can't open move.sh move"
Thanks for your support!
Update:
Through Terminal emulator script complete successfully.

look on the first post, this screenshot
thats the config for script manager.
-open script manager
-press menu -> browser
-search the script and select this
-then "open as" script
-configure, use the screenshot as example

umber said:
look on the first post, this screenshot
thats the config for script manager.
-open script manager
-press menu -> browser
-search the script and select this
-then "open as" script
-configure, use the screenshot as example
Click to expand...
Click to collapse
Yes, that's my setup but it doesn't work this way.

Finally got to my pc. Lets do a few tests. Time to sort the problems out.
A quick check of non working app after rom flash.
ln -s /system/sd/.moreapps/com.magicandroidapps.bettertermpro /data/data/com.magicandroidapps.bettertermpro
ln: /data/data/com.magicandroidapps.bettertermpro/com.magicandroidapps.bettertermpro: File exists
#
ls -al --color=none /data/data/com.magicandroidapps.bettertermpro
lrwxrwxrwx 1 0 0 55 May 11 20:12 /data/data/com.magicandroidapps.bettertermpro -> /system/sd/.moreapps/com.magicandroidapps.bettertermpro
#
So everything looking good, I've checked the files are there, but the app is "force close".
Lets install it again. App is installed in .moreapps dir.
First run is good. Second "force close".
What's going on I've no idea.
Moved back to nand another non working app.
Still doesn't work.
So there is data corruption on ext4. But why?
On same partition is app2sd and apps are running.
So let think for other reason.
Checked last installed apps. Link2SD.
Oh, sh*t. This app moves libs or apps on sd.
I've tested it for possible sollution for free space problem.
So this is the problem. This app installs a init.d script to mount ext partition.
After rom flash this script has to be installed again. Ok, remove links made by Link2SD and my goodness all moved apps are working again.
So let face the next problem.
I've preinstalled Script manager from starburst rom.
Uninstall. Install from market.
Strange! move.sh works with scrip manager as umber said.
Thanks umber and baadnews!

ah good news, the script it's very simple and it's based from baadnewz howto.
for me it's difficult to give support here, my english it's to bad
I am a bloody android noob, i can a little bit shell that's all.

thats the config for script manager.
-open script manager
-press menu -> browser
-search the script and select this
-then "open as" script
-configure, use the screenshot as example[/QUOTE]

update in first post, now you dont need arguments.

Modified just destination dir and used it with Oxygen 2.1.2.
Gained 80MB in first run by moving 9 apps.
Thanks!!

vr5411 said:
Modified just destination dir and used it with Oxygen 2.1.2.
Gained 80MB in first run by moving 9 apps.
Thanks!!
Click to expand...
Click to collapse
Hey,
I have recently switched from InsertCoin to CyanogenMod and miss this script very much. I just tried to modify the script and it doesn't quite work. My System partition is not on Ext so it just created a folder within System on my Nand.
What I tried was "Find and Replace" on:
Find - /system/sd/.moreapps
Replace - /sd-ext/.moreapps
The script doesn't work and I am running as root and the updated version. I've attached it to this post.
Can you help?

Related

An easier way to theme you build

Hey guys, Stericson finally publicly release his meta morph app, for those who don't know it's a way new way to theme you build.
More info here http://forum.xda-developers.com/showthread.php?t=591329
Someone needs to try this out and report back if it works.
mssmison said:
Hey guys, Stericson finally publicly release his meta morph app, for those who don't know it's a way new way to theme you build.
More info here http://forum.xda-developers.com/showthread.php?t=591329
Someone needs to try this out and report back if it works.
Click to expand...
Click to collapse
it requires andexplorer which isnt supported in the market for QVGA
it's a free download from their website here: http://www.lysesoft.com/products/andexplorer/AndExplorer.apk
mssmison said:
it's a free download from their website here: http://www.lysesoft.com/products/andexplorer/AndExplorer.apk
Click to expand...
Click to collapse
worked like a charm thanks
checking out metamorph now... will post back
EDIT: well it works i used the hero icon pack from here which you have to put on your sdcard, then use the app to apply it
well i just tried this out, and i did every everything i was suppose to, i'm trying to install a full stock android 2.0 theme (found on this tread), and once it finshes installing the theme, it asks to reboot. I choice dont and nothing happens. then i did it again and choice reboot, and it doesnt work.
i'm running tmo-ota-drc92 1.6
It mentions that we need root to use Metamorph. Do these vogue-android roms by default have root?
Has anyone been able to use MetaMorph? I keep getting "Zip was not found on your phone. MetaMorph needs this to run...." Even after I hit "Yes" it continues to prompt.
The author states:
You must have root to use this. That is a must.
Here is what is going on with the check:
MetaMorph is downloading the zip binary to your sdcard.
Metamorph should have already made the /system partition of your phone read/writeable at the intial startup.
After downloading the file, it copies it over to /system/bin and chods it to 0755 so it is ready to use.
Metamorph then restarts the process that checks for all required files, so it can verify that all files are in place.
For the zip binary, we check a few places:
/system/bin/
/system/xbin/
/data/local/xbin/
/data/local/bin/
/system/sd/xbin/
If MetaMorph doesn't find the file in one of these places, it prompts you to download Zip again thinking that it failed.
It checks for it in the directories because these are usually in the phones PATH. (refering to an operating systems PATH, in this case Androids path variable.
Hope that helps
Also, at any time, you may watch the ddms output to see every "root" command that is being passed through.
Stephen
Click to expand...
Click to collapse
Every rom I've tried the /System is read only. How are you guys able to use this app?
you need to download zip and install it to your phone
adb shell mount -o remount,rw /system
adb push zip /system/bin
adb shell mount -o remount,rw /system
Try that.
If you check the last couple pages of stericons thread you'll find a link for zip.
Thanks. I tried it but no workie
For reference I am using this via traditional SD Card (not using EXT2 method or NAND)
Running "Droid-Ion Donut 1.6"
Code:
C:\Download>dir zi*
Volume in drive C has no label.
Volume Serial Number is C8E7-AA81
Directory of C:\Download
12/05/2009 04:19 PM 822,807 zip
1 File(s) 822,807 bytes
0 Dir(s) 8,560,734,208 bytes free
C:\Download>adb shell mount -o remount,rw /system
C:\Download>adb push zip /system/bin
failed to copy 'zip' to '/system/bin/zip': Read-only file system
C:\Download>
Seems to work via EXT2 method but not by traditional sd card.
Works
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Works
Works on Zens droid build...
myn said:
Seems to work via EXT2 method but not by traditional sd card.
Click to expand...
Click to collapse
No it wouldn't. If you're using a squashfs file system that it will not work. You must be using either a system.ext2 image for the sdcard partition method or the nand method.
Help
I am running Donut 1.6 on my vouge and when i try to use Metamorph it says setting up zip but does nothing. I have the AndroidThemes folder with themes on it I am running metamorph 1.5 with the zip file on my SD card. I am using the EXT2 setup and it is doing nothing Any advice
crackeyes said:
I am running Donut 1.6 on my vouge and when i try to use Metamorph it says setting up zip but does nothing. I have the AndroidThemes folder with themes on it I am running metamorph 1.5 with the zip file on my SD card. I am using the EXT2 setup and it is doing nothing Any advice
Click to expand...
Click to collapse
Hi
Once it finishes the setup you should go back to the screen from where you pick themes. Has the downloading completed?
I have the zip file on the root of the SD card but it just sits there saying setting up the zip file
Have you tried making /system read/writeable?
adb shell mount -o remount,rw /system
adb push zip /system/bin
myn said:
Have you tried making /system read/writeable?
adb shell mount -o remount,rw /system
adb push zip /system/bin
Click to expand...
Click to collapse
Sorry for noobness but how. I am slowly working on learning all th ins and outs
mssmison said:
No it wouldn't. If you're using a squashfs file system that it will not work. You must be using either a system.ext2 image for the sdcard partition method or the nand method.
Click to expand...
Click to collapse
Is there an easy way to change a squashfs system image into an ext2 image so that we can use this with the partition method?
TheKartus said:
Is there an easy way to change a squashfs system image into an ext2 image so that we can use this with the partition method?
Click to expand...
Click to collapse
you'd have to dl to a windows box, unsquash it and use genext2fs to recreate the android ext2 image file.

anyone who boot android frm sdcard pls read this

Sry but i have a question to ask
Does anyone successfully move ur installed apps to sdcard? I love dl ing games but the internal memory for my android built was only 0.99gb n i scared low memory will cause it laggy. I tried to move my apps to sdcard but it showed "failed to move " everytime!
Is this bcuz i nvr format my sdcard b4 booting? Or everyone has same prob?
Anyone who move to sd sucessfully? Wat version u using n how u do it? I m using phiremod skinnyevo, it is great
Pls help
Move2sd Enabler
omnia1994 said:
Sry but i have a question to ask
Does anyone successfully move ur installed apps to sdcard? I love dl ing games but the internal memory for my android built was only 0.99gb n i scared low memory will cause it laggy. I tried to move my apps to sdcard but it showed "failed to move " everytime!
Is this bcuz i nvr format my sdcard b4 booting? Or everyone has same prob?
Anyone who move to sd sucessfully? Wat version u using n how u do it? I m using phiremod skinnyevo, it is great
Pls help
Click to expand...
Click to collapse
Try "move2sd enabler" found that it moves the harder to move apps, also sets sd as default install.
Tried but no luck x(
How do i set that?
Move2sd Enabler
omnia1994 said:
Tried but no luck x(
How do i set that?
Click to expand...
Click to collapse
If installed correctly? ie "Superuser" rights, then go to settings>Applications>manage applications: select an application, you should now have the option to "move to sd card" Note that this does not work with all apps but certainly 80/90%. Future apps will be installed to your sd card automatically.
Good Luck
yup, still the same.
i using sdcard to boot android.. is this the prob i cant do this?
Move2sd Enabler
omnia1994 said:
yup, still the same.
i using sdcard to boot android.. is this the prob i cant do this?
Click to expand...
Click to collapse
Is Move2sd enabler visible in your superuser allow list?
Can you see the option to "move to sd card" in Applications manager?
my superuser allow list is blank
yes i can but it keep showing "failed to move apps" when i tried to move.. i ve tried almost all apps
omnia1994 said:
my superuser allow list is blank
yes i can but it keep showing "failed to move apps" when i tried to move.. i ve tried almost all apps
Click to expand...
Click to collapse
Move2sd should be in your allow list in superuser.
Uninstall move2sd and reinstall, it should prompt you for superuser rights, once granted you should be good to go.
a3r0n1 said:
Move2sd should be in your allow list in superuser.
Uninstall move2sd and reinstall, it should prompt you for superuser rights, once granted you should be good to go.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
man, now it even worst.
i uninstalled it, n when i trying to reinstall, it pops up "app cannot be install in the default location"
omnia1994 said:
man, now it even worst.
i uninstalled it, n when i trying to reinstall, it pops up "app cannot be install in the default location"
Click to expand...
Click to collapse
Check this install thread http://forum.xda-developers.com/showthread.php?t=720739
ta, i knew that's the thing, but i just failed to install after i uninstalled it.
btw, i m booting android from sdcard, so how do i root it? how can i do this?
it showed "app cant be installed in the default location"
[GUIDE]The ULTIMATE n00bs guide to the HD2-HardSPL, Android, ROMs, Radios and more!
omnia1994 said:
ta, i knew that's the thing, but i just failed to install after i uninstalled it.
btw, i m booting android from sdcard, so how do i root it? how can i do this?
Click to expand...
Click to collapse
omnia1994 said:
it showed "app cant be installed in the default location"
Click to expand...
Click to collapse
You need to "Hardspl" you'll find some answers here
http://forum.xda-developers.com/showthread.php?t=808015
http://forum.xda-developers.com/showthread.php?t=915628
i already have hspl since i using energy rom in winmo
Is your build rooted?
I m using phiremod evo
how do i check if it is rooted or not?
Hold on, hold on. You boot from the SD card yes? Then your apps are already on the SD card, in the form of data.img ON the SD card. If a 1GB data image isn't big enough, you can actually extend it and make more room, without losing anything.
You don't need app2sd.
thx.. how to i extend it?
Is it full? That's a lot of space to fill. I wouldn't extend it until you need to.
That said, I will explain. Please ensure you backup before hand, just in case. If anything goes wrong, I don't want blame, and I don't want you to lose data.
Boot Linux on your PC.
Boot Windows Mobile on your phone.
Copy data.img from your phone to your PC. MAKE A COPY OF DATA.IMG in case something goes wrong.
Mount data.img with a command such as:
sudo mount -o loop /home/[username]/Desktop/system.ext2 /mnt
Make data.img bigger by typing:
dd if=/dev/zero bs=1M count=X >> system.ext2
(Replace X with the size in MB you want to add. 100 would be 100MB.)
Then type resize2fs data.ext2
That's it. Copy the modified data.img back to your phone, and reboot into android.
If any of that is not clear, don't do it, or at least make sure you have backed up first.
I take no credit for this, this is all available on this forum, so credit where it's due.
I hope that helps.

[HOWTO] Install Honeycomb Music Application On Froyo

First of all this is my first HowTo so please bear with me and my language
Disclaimer:
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about installing this app! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
I was trying to install Honeycomb music application on my lg p500 but simply installing the apk was not doing the job for p500 user
so i just searched a lot for installing this application on my rooted optimus one i found the procedure and i have just shortened it.
I was running this app on void echo but i should also run on other roms
but first have a look that how does this app look alike
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instruction of installing
Edit: before you continue, please backup the orignal Music.apk from /system/app in case the methods fails for you
edit : before you try steps below just give a try installing music.apk like any other apk. If installer gives u a error "application not installed" then follow these steps given below
a.) adb method (recommended)
1) First of all copy these 2 file in root of your sd card (click to download)
Music.apk
libjumper.so
2) turn on usb debugging in phone
3) now open adb shell and use these commands
Code:
adb shell
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# cd sdcard
# cp Music.apk /system/app
# cp libjumper.so /system/lib
# reboot
(alternatively you can also write the above core in terminal emulator )
4 now the phone will reboot and you should have your music player replaced
if you did'nt find any changes or found music app missing repeat the above steps and reboot phone one more time
b.) directly through file manager(does'nt worked for me but you can try)
1) First of all copy these 2 file in root of your sd card (click to download)
Music.apk
libjumper.so
2) now open any rooted file explorer such as su file manager or root explorer
3) now copy libjumper.so and paste it in your system/lib folder (if you are not able to copy then pz check to mount the folder as r/w
4) now copy Music.apk to system/app folder ( it will replace the original app )
5) restart your phone
hope you liked the tutorial and i cannot guarantee it working on your phone though it work on every phone if steps followed correctly.
when i do it with adb. I get always a error message no such file/ or directory, but the two files are in the root folder of my sd card. Can you help me out?
mikescho said:
when i do it with adb. I get always a error message no such file/ or directory, but the two files are in the root folder of my sd card. Can you help me out?
Click to expand...
Click to collapse
Yes, he forgot to say that you have to write:
cp /sdcard/Music.apk etc...
Same for libjumper.so
EDIT: I'm on CM7 and i manage to replace the music app(via the adb method), but it crashes everytime i try to open it. Let me know if you know how to do it properly.
i cannot gaurantee u to run it on cm7 because it is in alpha stage and it has so many bugs try it any froyo rom
Sent from my LG-P500 using XDA App
doesnchot work on me. im on void echo too.. hmmm
sahilisburman said:
i cannot gaurantee u to run it on cm7 because it is in alpha stage and it has so many bugs try it any froyo rom
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
No problem, thank you anyway. I'll keep posted to see if you manage to get it work even on 2.3 roms.
peacekeeper05 said:
doesnchot work on me. im on void echo too.. hmmm
Click to expand...
Click to collapse
It works definatly on void echo coz i am using it currently on echo do it one more time and reboot ur phone.
Sent from my LG-P500 using XDA App
how to install on LG GT540 gyngerbread 2.3.2?
it didn't work on CM7 alpha 3.
ame85 said:
Yes, he forgot to say that you have to write:
cp /sdcard/Music.apk etc...
Same for libjumper.so
EDIT: I'm on CM7 and i manage to replace the music app(via the adb method), but it crashes everytime i try to open it. Let me know if you know how to do it properly.
Click to expand...
Click to collapse
for cm7 i just removed the old one
rebooted and instaled this musik.apk
and works nice.
ciolnadu said:
for cm7 i just removed the old one
rebooted and instaled this musik.apk
and works nice.
Click to expand...
Click to collapse
So I first have to remove the old one, and then follow the procedure?
no
just remove the old one
reboot your phone
and then install the new apk just like installing any apk
this worked for me
ciolnadu said:
no
just remove the old one
reboot your phone
and then install the new apk just like installing any apk
this worked for me
Click to expand...
Click to collapse
On certain roms application does more installs so this tutorial is for those rom which gives an error while installing
Sent from my LG-P500 using XDA App
i have rebooted for almost 10x now. still no music app showed. this may sound silly but do i need to install the orginal music app first for this to work cause i dont have any music app.
ciolnadu said:
no
just remove the old one
reboot your phone
and then install the new apk just like installing any apk
this worked for me
Click to expand...
Click to collapse
Mmmh not working..Must have done something wrong. What about the libjumper.so file? Do you put it into the system/lib folder? Or you just install the apk and ignore the .so?
ok just to be sure.. what if some error comes how do i restore it to previous music player
firs i follwed that proccedure
but the apk gave me many FC
so i think it's ok if u copy that lib
try that too
bharathbala2003 said:
ok just to be sure.. what if some error comes how do i restore it to previous music player
Click to expand...
Click to collapse
u can always do a backup using titanium backup
ame85 said:
Mmmh not working..Must have done something wrong. What about the libjumper.so file? Do you put it into the system/lib folder? Or you just install the apk and ignore the .so?
Click to expand...
Click to collapse
copy that libjumper
i just soo that i have 2 music icons
1 from music apk
and 1 from libjumper
bharathbala2003 said:
ok just to be sure.. what if some error comes how do i restore it to previous music player
Click to expand...
Click to collapse
1)do a backup copy of the original .apk
2)Remove, by a root file manager, the libjumper.so and music.apk from the folders where you copied them
3)Copy the default music.apk to your sdcard
4)Debug mode
5)refollow the procedure above, ignoring the libjumper.so line
6)Done
I've done this three or four times, so I know it works

A2sd question..

Dudes i have got another question regarding dta2sd,as i have installed beta3 in cm7 nightly#177, and every thing runs fine, i have dalvic cache in sd too. But still my phones memory goes down while app installation. And it is due to data storage(app data).although apps are in sd, app data are still on phone memory. So is there any terminal command/ method through which i can move the data storage to sd? I dnt want to use the primary partition( fat32) i like to use ext3( where my apps are stored now), can i try app2sd or link2sd? Or do i need to use the inbuilt app moving option?
Sent from my HTC Wildfire using XDA App
showlyshah said:
Dudes i have got another question regarding dta2sd,as i have installed beta3 in cm7 nightly#177, and every thing runs fine, i have dalvic cache in sd too. But still my phones memory goes down while app installation. And it is due to data storage(app data).although apps are in sd, app data are still on phone memory. So is there any terminal command/ method through which i can move the data storage to sd? I dnt want to use the primary partition( fat32) i like to use ext3( where my apps are stored now), can i try app2sd or link2sd? Or do i need to use the inbuilt app moving option?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
id say use app2sd.
using terminal emulater type in su
press enter
should now be in superuser mode
now type in a2sd
and space followed by desired choice of below.
eg. a2sd cachesd
cachesd
Moves Dalvik cache files to the ext2/ext3/ext4
partition on your secure digital card. Creates
Dalvik Cache to SD flag.
File created: /data/.dalvikcacahe
File removed: /data/.dcpartition
cachesdreset
Performs the same function as cachesd, plus
erases the contents of Dalvik-Cache, forcing
a rebuild on reboot.
File created: /data/.dalvikcache
File removed: /data/.dcpartition
cachepart
Moves Dalvik cache files to the /cache partition
in your phone. Creates Dalvik Cache to Cache
Partition flag.
File created: /data/.dcpartition
File removed: /data/.dalvikcache
cachepartreset
Performs the same function as cachepart, plus
erases the contents of Dalvik-Cache, forcing
a rebuild on reboot.
File created: /data/.dcpartition
File removed: /data/.dalvikcache
nocache
Moves Dalvik cache files to the internal phone
storage. Removes all Dalvik Cache flags.
File removed: /data/.dcpartition
/data/.dalvikcache
nocachereset
Performs the same function as nocache, plus
erases the contents of Dalvik-Cache, forcing
a rebuild on reboot.
File removed: /data/.dcpartition
/data/.dalvikcache
resetcache
Clears the dalvik cache and restarts phone.
reinstall
Moves free and paid apps to the ext2/ext3/ext4
partition on your secure digital card. Removes
the No A2SD flag file.
This is used if you have already executed an
a2sd remove command. Otherwise, this part is
automatically performed when Apps2SD is
started.
File removed: /data/.noa2sd
remove
Moves free and paid apps to the internal phone
storage. Creates the No A2SD flag file.
File created: /data/.noa2sd
Little confused dude!!!!
Sent from my HTC Wildfire using XDA App
showlyshah said:
Little confused dude!!!!
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
you asked for terminal commands ? terminal commands i give,with explanations on each command. !!!!
if you want dalvik on sd go to terminal emulator and type
su (then enter)
a2sd cachesdreset (then enter)
phone should reboot.
apps to sd go to terminal emulator and type
su (enter)
a2sd reinstall (then enter)
think thats all really.
Dude u have given me all info; first of all I thank you for your support. But it's of no use, coz I am in search of a way to move the data to ext3 of my SD. And I found it straight from terminal using a2sd help command. And it is "a2sd datasd "( experimental) . I have done it. Once again thank you.
And could you help me in knowing the uses of these..
1) zipalign
2) swappness/ use of swap
3)low, aggressive, extreem,etc. Memory management.
I found the description of these in a2sd support pages also in a2sd help command, but don't understand what it do with the phone. So please help me.
Sent from my HTC Wildfire using XDA App
showlyshah said:
Dude u have given me all info; first of all I thank you for your support. But it's of no use, coz I am in search of a way to move the data to ext3 of my SD. And I found it straight from terminal using a2sd help command. And it is "a2sd datasd "( experimental) . I have done it. Once again thank you.
And could you help me in knowing the uses of these..
1) zipalign
2) swappness/ use of swap
3)low, aggressive, extreem,etc. Memory management.
I found the description of these in a2sd support pages also in a2sd help command, but don't understand what it do with the phone. So please help me.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
i could give my opinions on what each of these are but cos i dont fully understand them myself i wont try.personally i use zip align no swap and custom memory manager. google and senior members are you friend dont be affraid to ask others. p.s sorry i missed the datasd command didnt know about that one !!! regards slymobi.
K dude. But where should else I ask. Google can give answers, but it will not be as understandable as xda'n answer. Can u help me to make others attention on this doubts.
Sent from my HTC Wildfire using XDA App
best way imo Custom MTD Partitions im using it whit no problems
I agree with darkstep, custom mtd is the future.
Although I've just reinstalled a2sd beta 3, just because I'm curious to see how they go together.
No problems so far with apps and data on SD. This is how my memory stats play out according to a2sdgui.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC Wildfire using xda premium

[Tutorial][SP][JB 4.3]External2Internal for xperia sp[UPDATED WITH WORKING LINK]

Hi friends,
At last i have found a way to mount external storage as internal and vice versa for xperia sp jb 4.3(.205). For this, you just need to have init.d support in kernel so your system can run a script on each boot which will do the mount in background.
Requirements:
1. Root
2. ((1. Busybox ))
((2. Universal init.d ))
((3. Es File Explorer ))
3. The attached script named "swap"
4. Patience and cool brain
How to do:
1. Install busybox
2. Install universal init.d
3. Make a folder in your external storage named "0" and put all the files of your external storage into it
4. Make another folder in "0" and name it "xInternal". Cut your files from your internal storage into it( So now, you have all ur files of external storage in "0", and all your files of internal storage in the folder "xInternal" inside "0"
5. Download the zip and extract the script(swap) and place it in /system/etc/init.d (Go to your root of the device with any explorer, i used es file explorer, then go to system/ etc/ init.d and paste the script there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6. Set the permission of the all checked (-rwxrwxrwx)
7. Change the owner of the file to "system"
8. Change the group of the file to "sdcard_rw"
9. Reboot and Die!!! Becaue you need to cut all files from the folder "Android" inside "xInternal" and paste it in the "Android" folder inside "0"
(So you have the files of your previous inter storage/"Android" in the folder "Android" of your present internal storage{which is actually your external sd})
10. Enjoy!!!!!!!!!!!
Download script
Issues:
1. You will see in settings that your external storage is changed as the same size of internal storage but internal is same as it is. Dont worry. Just dont look at this bcz its showing wrong info. you can install file commander and see by yourself that the script works
2. Es file explorer will show you that your internal storage is replaced with your external storage, but at the place of external storage, you will just see obb. But its wrong also, dont worry
For your help:
Before using this script--
Internal storage: /storage/emulated/0 (size ex. 5 gb)
External storage: /storage/removable/sdcard1 (size ex. 16 gb)
After using this script--
Internal storage /storage/emulated/0 (size ex. 16 gb) [
External storage: /storage/removable/sdcard1 (size ex. 5 gb)
Proof:
Explanation:
The script mount and bind /mnt/shell/emulated with /storage/sdcard1, so u have a folder in sdcard 1 which names "0", if u go in /mnt/shell/emulated/, u will see 3 folder named "0", "legacy", "obb". You already created "0", and "obb" & "legacy" will be created automatically, so your /dev/block/vold/179.33(/storage/removable/sdcard1) will be mounted as /mnt/shell/emulated/ and you will get your sdcard1 space in your internal, means /storage/emulated/0/. And you will see all your files of sdcard1 in "0" bcz u have put those in in a folder names "0" in your sdcard1. tricky, huh???
And if you are using this and avoid annoying low internal space, just send me thanks by pressing thanks button and encourage me to make more useful things and tuts in future
Long time waiting for something like this but i must ask, is this working on xperia TX on 4.3? has anybody tried it on T also V?
script link not work . please give another link to download . tanx
script link is not working...
Can someone please reupload the script link?
Is the author here? Please,upload the script
Sent from my C5303 using XDA Premium 4 mobile app
work app2sd?
daniel090588 said:
Long time waiting for something like this but i must ask, is this working on xperia TX on 4.3? has anybody tried it on T also V?
Click to expand...
Click to collapse
Actually i dont have that device, you need to try following the steps and inform me if u face any problem, waiting for your reply
amir-kia said:
script link not work . please give another link to download . tanx
Click to expand...
Click to collapse
I have updated the link, please try to download now. and thanks for trying to download
vandiaz_sairavinz said:
work app2sd?
Click to expand...
Click to collapse
You have no need of apps2sd now, u can just follow my steps and use my script and it will exchange ur external and internal
amir-kia said:
script link not work . please give another link to download . tanx
Click to expand...
Click to collapse
Link updated, please try
notarious said:
Is the author here? Please,upload the script
Sent from my C5303 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Link updated, please try
meshramjatin said:
script link is not working...
Click to expand...
Click to collapse
Link updated, please try
omidz said:
Can someone please reupload the script link?
Click to expand...
Click to collapse
Link updated, please try
Can't be understand your Tutorial, please give me another tutorial with pictures
Sent from my C5302 using XDA Free mobile app
s0ur0v said:
Link updated, please try
Click to expand...
Click to collapse
Hi
I test this tetorial but after reboot and few second screen black and reboot
Read before you reply
Sanjay rao said:
Can't be understand your Tutorial, please give me another tutorial with pictures
Click to expand...
Click to collapse
can you please follow the whole explanation step by step:cyclops:
cause I think OP has written this after his success of that process, also there're good enough helpful snaps which will guide you as shadow:angel:
hope you'll success at your work.
Let people know how it's going on. :victory:
What to do if i wont success??!!
hi..
I wanna try this today but i want to know that if anything happen wrong then what to do?
i don't want to brick my phone..
so plz give a tutorial to Rollback also..
Ankit Gajera said:
hi..
I wanna try this today but i want to know that if anything happen wrong then what to do?
i don't want to brick my phone..
so plz give a tutorial to Rollback also..
Click to expand...
Click to collapse
I test this but not work for me and phone not stay on screen and reboot .
after this problem flash swap file by clean text in recovery and phone boot and without problem and remove swap file from init.d .
amir-kia said:
I test this but not work for me and phone not stay on screen and reboot .
after this problem flash swap file by clean text in recovery and phone boot and without problem and remove swap file from init.d .
Click to expand...
Click to collapse
Thanks..:good:

Categories

Resources