Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

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

New and improved Apps to SD(more stable, more powerful, etc) Tutorial

OP MarcusMaximus04@gmail.com

7th May 2009, 03:16 AM   |  #11  
OP Senior Member
Thanks Meter: 9
 
1,075 posts
Join Date:Joined: Jun 2007
More
New news: If you haven't seen it, I updated this tutorial(and the scripts with it) quite a bit and would now consider it to be completely fully functional.

Also The Dude will be sending me an advance copy of his next ROM tomorrow to verify it works. In his build the apps to sd will be automatic, with no user setup(although if you want apps on the sd card you'll have to make an app directory under /system/sd(mkdir /system/sd/app), ditto for dalvik-cache and data).

Finally, I will attempt to add this into my apps to sd app tonight, thus rounding out everything I can do.

After all this, the only thing left is for Haykuro to build it into his ROM and me to make an app to move specific apps to/from the sd card automatically.
7th May 2009, 03:31 AM   |  #12  
jimmytango's Avatar
Member
Flag Washington
Thanks Meter: 0
 
33 posts
Join Date:Joined: Feb 2009
More
This will no doubt be the method of choice in no time. Great work. Sticky?
7th May 2009, 03:37 AM   |  #13  
OP Senior Member
Thanks Meter: 9
 
1,075 posts
Join Date:Joined: Jun 2007
More
If anyone dl'd the latest version(that fixed the race condition, etc), please download the one I just put up. I made that one in windows and I believe the funky carraige return(that indicates a new line) that windows uses screwed it up
7th May 2009, 03:38 AM   |  #14  
Senior Member
Thanks Meter: 3
 
127 posts
Join Date:Joined: Jul 2006
So I got some kind of error, and I don't know what is going on.

I put in all the lines in the terminal emulator app..
but after line cp /runme.sh /data/ it gives me an error

it says "cp: cannot stat '/runme.sh': No such file or directory

Any help? I rooted my phone just so I could run my apps off of my SD card.. and now I can't figure out how to get it to work. Somebody help me please.
7th May 2009, 03:48 AM   |  #15  
OP Senior Member
Thanks Meter: 9
 
1,075 posts
Join Date:Joined: Jun 2007
More
Quote:
Originally Posted by GTASouthPark

So I got some kind of error, and I don't know what is going on.

I put in all the lines in the terminal emulator app..
but after line cp /runme.sh /data/ it gives me an error

it says "cp: cannot stat '/runme.sh': No such file or directory

Any help? I rooted my phone just so I could run my apps off of my SD card.. and now I can't figure out how to get it to work. Somebody help me please.

Which ROM is this? JF1.5 should have runme.sh there...
7th May 2009, 03:56 AM   |  #16  
Senior Member
Thanks Meter: 3
 
127 posts
Join Date:Joined: Jul 2006
Quote:
Originally Posted by MarcusMaximus04@gmail.com

Which ROM is this? JF1.5 should have runme.sh there...

Ok, I am going to re-partition my memory card.. and then re flash to JF1.5 and try it again.
7th May 2009, 04:26 AM   |  #17  
Senior Member
Thanks Meter: 204
 
2,207 posts
Join Date:Joined: Nov 2008
Just tried it, one issue I'm seeing is android seems to install system@framework@core.jar@classes.dex into /system/intmem/dalvik-cache at boot. Is there anyway to have that only in my dalvik-cache on the sdcard?

Its a fairly large file at 3megs so I want it to reside solely on the sdcard and even if I delete it from intmem, whenever I reboot it gets added again.

Now when I display the internal phone storage from the settings menu, it shows up at 835 megs. :)

I wonder if this is possible to use unionfs and make an ext2 fs object as a file on the FAT fs. That way no 2nd partition is necessary. Plus, if you remove the sdcard, everything will still work.

Maybe we could combine unionfs and this method that uses an ext2 image on the fat32 for apps to sd.

http://forum.xda-developers.com/show...&postcount=687

mkefs can be downloaded here:

http://sites.google.com/site/juanjosec/android
Last edited by dwang; 7th May 2009 at 05:01 AM.
7th May 2009, 05:25 AM   |  #18  
OP Senior Member
Thanks Meter: 9
 
1,075 posts
Join Date:Joined: Jun 2007
More
Quote:
Originally Posted by dwang

I wonder if this is possible to use unionfs and make an ext2 fs object as a file on the FAT fs. That way no 2nd partition is necessary. Plus, if you remove the sdcard, everything will still work.

Maybe we could combine unionfs and this method that uses an ext2 image on the fat32 for apps to sd.

http://forum.xda-developers.com/show...&postcount=687

mkefs can be downloaded here:

http://sites.google.com/site/juanjosec/android

I've been looking at that possibility with JF and MartinFick as well, seems like it could be a good plan but I wanted to get this bit done first. It's a good point about the dalvik-cache, but in order to fix it JF(in this case) would have to change /init.rc to make sure to do this bit before building the dalvik-cache.
7th May 2009, 05:52 AM   |  #19  
Junior Member
Thanks Meter: 3
 
14 posts
Join Date:Joined: May 2009
Can't download apps from market
hmm so I didn't hit any errors when doing this, but afterwards I am unable to download any apps from the market. It just continually says "Starting Download..." Everything else seems to work well.

I had this same issue when I tried to manually setup apps to sd using the symbolic links. I narrowed the issue down and figured out this only occurred after I moved the dalvik-cache over to the sd card. I'm assuming I'm doing something wrong, but can't seem to figure it out. Any pointers in a general direction would be most helpful

I'm using JFv1.50 ADP1.5, not the modded version by LucidREM. For some reason the bootloader couldn't pickup his version on my phone and --edit-- I'm pretty sure I have the SD card partitioned correctly... everything else seemed to work ok. The ext2 partition shows up as the correct size

*EDIT* So apparently my issue was the SD card as well. Just did a format of the sd card and it fixed it. I also formatted data and cache (alt+w in recovery mode). Thanks MarcusMaximus!
Last edited by aloa64; 7th May 2009 at 08:24 AM.
7th May 2009, 06:19 AM   |  #20  
BSDADON's Avatar
Senior Member
Thanks Meter: 9
 
575 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by MarcusMaximus04@gmail.com

New news: If you haven't seen it, I updated this tutorial(and the scripts with it) quite a bit and would now consider it to be completely fully functional.

Also The Dude will be sending me an advance copy of his next ROM tomorrow to verify it works. In his build the apps to sd will be automatic, with no user setup(although if you want apps on the sd card you'll have to make an app directory under /system/sd(mkdir /system/sd/app), ditto for dalvik-cache and data).

Finally, I will attempt to add this into my apps to sd app tonight, thus rounding out everything I can do.

After all this, the only thing left is for Haykuro to build it into his ROM and me to make an app to move specific apps to/from the sd card automatically.

If I have apps2SD and the dalvik-cache both moved on the dudes builds already, do I still have to create those directories or will my existing setup still work fine? I would like to know what kind of issues I may run into when the dude releases .95 with this (hopefully, not getting my hopes up just in case).

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

Advanced Search
Display Modes