Hello everybody..
I just did the app to SD procedure on JF 1.5, and it seems to work quite well. Thanks to JF and Haykuro for the great work by the way !
I had troubles formatting my SD card though, which led to many freezes.
Because of that, I don't feel the symlink very secure.. Wouldn't it be safer to use mount to bind /system/sd/app on /data/app if the ext2 partition is mounted ?
This way, even if there is no SD or if the SD has no ext2 partition the folder stays valid and can still be read/written to.
Or would the system crash anyway because the expected apps aren't present ?
I don't have enough free time to write a proper script that does the checking and mounting right now, but I'd like to hear your opinion.
Working on something similar, but infinitely more powerful.
EDIT: getting help from JF and MartinFick as well.
[email protected] said:
Working on something similar, but infinitely more powerful.
EDIT: getting help from JF and MartinFick as well.
Click to expand...
Click to collapse
great news!!!! i ordered an 8gb class 6 micro sd card a little while ago. hopefully whatever it is you're working on will be out by then!!! im on a mac and i had to search the webz for a way to format a device to ext2. luckily i found something simple, installed it and the rest is simple as well. i imagine what you'll be pushing out will we way easier!
[email protected] said:
Working on something similar, but infinitely more powerful.
EDIT: getting help from JF and MartinFick as well.
Click to expand...
Click to collapse
This sounds promising, any more details you can give us? Is this an app? or a script?
Trying to use unionfs to literally meld the ext2 partition with the /data directory rather than replacing it with a symlink. However, this requires rooting around in init.rc which might be a problem for Haykuro's ROM so will take some work.
Related
I start using a second partition for my apps and some of the caches...
But is there more? Yes there is (i hope). But what else? Any ideas, more is better...
What do you need:
A FAT32 / EXT2 partition combo on your CLASS 6 MicroSD (the EXT2 from 100mb to 1,5gb as max recommend (real max = 2gb)!
Only at "others" there is one way to move cache without EXT2 partition.
Do it yourself:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=462882 (Apply on your own Rooted System)
Complete ROM:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=480582 (modded JF1.42 RC33)
Other:
- Apps Caches (no ext2 needed): http://forum.xda-developers.com/showthread.php?t=471653 and http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
- Apps Caches (with ext2): Change the paths from: "/sdcard/cache" to "/system/sd/cache" from http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
I will add everything that's relevant to putting stuff from your ROM to your FLASH!
i hope we can move everything to the sd lol ;P
Theoretically it is but i think it will be to damn slow But if we put the core and much used stuff on system (something like vista does it with mem, preload stuff i use alot to my system and stuff i don't use a lot to my sd or somthing... But i don't have skills to do something like that (i suck with linux :S).
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Phromik said:
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Click to expand...
Click to collapse
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
LucidREM said:
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
Click to expand...
Click to collapse
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Smokuevo said:
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Click to expand...
Click to collapse
in my script i put in my modified JFv1.42 you can do:
#copy.sh all
this moves everything to the SD (the ultimate in G1 lag) and then from Terminal again:
#mount /dev/mmcblk0p2 /data
this should work (unless i forgot a step) .. then when you look at the available space you should see the entire EXT2 partition listed for the phone .. to get my script you can either flash my modified update.zip that has the modified init.rc and mountd.conf or else just copy my script to your phone
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Well the first stap is backing up ofcourse! So the only step if you screw up is putting the backup back...
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Smokuevo said:
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Click to expand...
Click to collapse
i did put in "copy.sh undoall" to reverse the steps .. but this will also move apps and if you have too many apps if could crash the phone .. i may need to remove apps from the undoall process
after i did the command to make the room on my SD show up as my memory how do i revert that back to normal to see the space on my phones internal mem?
Smokuevo said:
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Click to expand...
Click to collapse
on a linux distribution type :
fsck.ext2 -p [your partition] mine is /dev/sdd2 for example
Like i said, how can I create partitions on my sdcard? I've already tried the forum search and downloaded partition manager trial, but it doesnt allow me to create new partitions. So I was wondering, are there any other programs or ways to create partitions? Thanks a lot.
I'd recommend just getting an Ubuntu LiveCD and using gparted
This thread on how to partition, this thread on the JFv1.42 version to use when moving the apps to SD.
I strictly use Paragon Partition Manger..om my Windows 7 64bit machine... works great. Quick and easy to add Ext2 partitions.
webgrafix said:
I strictly use Paragon Partition Manger..om my Windows 7 64bit machine... works great. Quick and easy to add Ext2 partitions.
Click to expand...
Click to collapse
Yeah this is what I use too. It is very easy and straightforward to create, resize, and remove a partition.
webgrafix said:
I strictly use Paragon Partition Manger..om my Windows 7 64bit machine... works great. Quick and easy to add Ext2 partitions.
Click to expand...
Click to collapse
i tried using this program and it worked for about 2 hours, then the partition that i created just disappeared!!! Paragon Partition Manger cant see it, and im running windows so in the off chance it is still there, windows wont show it to me. has anyone else run into this problem? any known fixes?
has anyone tried making a ext loopback filesystem on a fat drive ?
ido said:
has anyone tried making a ext loopback filesystem on a fat drive ?
Click to expand...
Click to collapse
Yes, it can be done, as long as your firmware includes ext2 as a module (all current JF firmwares do)
I am interested in just creating an Ext2 so that I can run G1 apps off SD. Paragon Partition Manager cost 39.95 and the trial version does not allow creation of partitions. Are there other alternatives?
Seventynin9 said:
I am interested in just creating an Ext2 so that I can run G1 apps off SD. Paragon Partition Manager cost 39.95 and the trial version does not allow creation of partitions. Are there other alternatives?
Click to expand...
Click to collapse
Yes it does. It's fully functional for 30 days in fact.
Okay, to clarify things. The new trial for Paragon does NOT allow you to create the partition. On their website they currently have V10, it NO LONGER allows a lot of the functions before. You need to go download Paragon Partition Manager 9.0, it works great and gets the job done. I had this problem before too.
Thanks Solemn and Mark for your assistance. I did search for Paragon Partition Manger v9. I found the "express" version on CNET. Unfortunately, it did not have an option for partitioning SD card. Any ideas as to where I might find the full v9 on a trial basis?
http://forum.xda-developers.com/showthread.php?t=500387
Read through everything entirely.
Go through the dummy version, just in case.
It just might work for you.
Gl.
Seventynin9 said:
Thanks Solemn and Mark for your assistance. I did search for Paragon Partition Manger v9. I found the "express" version on CNET. Unfortunately, it did not have an option for partitioning SD card. Any ideas as to where I might find the full v9 on a trial basis?
Click to expand...
Click to collapse
So you're just trying to partition your SD into 2 partitions? Why not create a win98 boot disk with fdisk on it and use fdisk to partition it? I can guide you through using fdisk if need be. You could also dl hiren's boot cd and it has partition magic on it. Both of these are freeware
While what I am attempting to accomplish maybe beyond my novice ability. What I am seeking to learn how to partition my SD card into FAT32 and EXT2. I've read through the link provided by Aprince. While it was bit overwhelming, I followed the "how-to-for-dummies" instructions without success. I must be omitting something in that instruction.
Shafty, I haven't the foggiest idea as to what you are talking about. lol. I might be willing to try that if it will in noway possibly harm my beloved G1 or PC.
I finally got it to work with the method in link provided by Aprince. My previous failed partition attempts screwed the SD Card. I reformatted. All is good. Thanks for your help.
So I decided to make this small guide, on how to partitioning your sd card with paragon partition manager… There is many different ways, including a script an xda forum member created, and ubuntu as well.. But I assume paragon partition manager might be the best for all people who don’t know how to use Linux very much..
i wrote it on my blog, if is considered spam than illtry to put the images content directly in the post
http://nitropr.us/web/2009/05/08/format-sd-card-with-paragon-partition-manager/
hope it helps some one.. i know i know there is MANY ways for this.. but well sicne paragon question keep popping up and did not see a small how to with images for new users so hope it helps least 1 person
Thanks! That will be useful for many... this should be sticky along with the sapphire/magic port (after someone starts a new thread for the newer builds. 600 pages!) Or at least a wrap stick (a thread that contains many highly used threads like in the developement and hacking section under the main thread) would be useful.
i think this is the easiest way. I did this to my card and took only a few min. def the way to go.
its a good guide, but i have a question everytime i try to format this way in paragon it says cannot create partition because all primary slots are taken, it says this when i try to resize or create new. any ideas?
Ok I resized my card using paragon my fat32 is 5gb and my EXT2 is 1.5gb. I went and tried to follow these instructions http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD and for some reason I am not seeing the system/xbin/busybox folder.
Screenshot of my sdcard
jak33 said:
its a good guide, but i have a question everytime i try to format this way in paragon it says cannot create partition because all primary slots are taken, it says this when i try to resize or create new. any ideas?
Click to expand...
Click to collapse
how many partitiosn it list for the sdcard? sometimes when you use the usb cable then tend to mess up.. try creatign the FAT32 formatign it and than rezise and make teh ext2
chief2842 said:
Ok I resized my card using paragon my fat32 is 5gb and my EXT2 is 1.5gb. I went and tried to follow these instructions http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD and for some reason I am not seeing the system/xbin/busybox folder.
Click to expand...
Click to collapse
i am still using JF build haven't tried Haykuro builds... sicne my phone is smooth im kinda of lazy to be recofniguring not sure how that works mayeb some oen else can help you.
Nitro212 said:
how many partitiosn it list for the sdcard? sometimes when you use the usb cable then tend to mess up.. try creatign the FAT32 formatign it and than rezise and make teh ext2
Click to expand...
Click to collapse
funny ting, my pc never reads my sd card unless its through the phone. Ive tried the card on multiple systems, and i get the same results. so im forced to modify the card while its in the phone.
chief2842 said:
Ok I resized my card using paragon my fat32 is 5gb and my EXT2 is 1.5gb. I went and tried to follow these instructions http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD and for some reason I am not seeing the system/xbin/busybox folder.
Click to expand...
Click to collapse
A few things here:
1. Unless you're planning on downloading every app ever made, you're never going to need a ext2 partition larger than 500mb, and even that is a LOT. I tried to fill my partition and managed to squeeze over 300 apps on there before I ran out of room...then I had to painfully uninstall them all cause I didnt feel like reformatting/reflashing/restoring.
2. Make sure you're using the right version of apps-to-sd. Haykuro's latest builds can be found here. The apps-to-sd versions are linked at the very top of the page.
3. The directories you're looking for are NOT on the sd card. They are only visible on the phone through adb. If you're not familiar with adb, do a quick forum search on how to set it up.
question.com said:
funny ting, my pc never reads my sd card unless its through the phone. Ive tried the card on multiple systems, and i get the same results. so im forced to modify the card while its in the phone.
Click to expand...
Click to collapse
when uiu partition via usb cable the partition tend to mess up.. and not moutn o n the phone..
what you can do is, insert the sdcard check min my computer under management and assign a letter to th sdcard so the pc will read it mount it
Thanks will look into the adb issues but I am using the 5.0.2Hr apps to sd build.
Help
I been trying to format the ext2 in my SDcard with Paragon Partition Manager but it saids I can use a demo version but it will not allow me to do the ext2 it saids I have to buy the full version. could someone tell me where to get the software that will work? thanks
vicmanf said:
I been trying to format the ext2 in my SDcard with Paragon Partition Manager but it saids I can use a demo version but it will not allow me to do the ext2 it saids I have to buy the full version. could someone tell me where to get the software that will work? thanks
Click to expand...
Click to collapse
Merry Christmas, get your software here.
My first post here, but I have been visiting these forums for a long time.
I will try this approach and let's see how I do.
Thanks for posting!
I'm stuck on the "T.Mobile G1" splash screen after trying to run apps from my sd card
i used This Thread to do my mod and now im scared!!!
can someone help me???
i was rooted on rc 33 jf 1.42
i prepared my Class 6 8G card on my MAC using disk utility then 2 partitions half (3.43G or whatever)on FAT 1st then second half (3.whatever) as ext2
i was trying to do the apps to sd card thing and after doin all of the terminal commands (i got to the point right after seeing how much space i have on my sd card and internal) this was my next step:
busybox cp -a /data/app /system/sd
rm -r /data/app
ln -s /system/sd/app /data/app
but after doin it it kept saying "no space on memory" or somethin so i went to internet cleared cache, forms, cookies, and history then restarted to make sure the terminal knew (noobish)
and it just froze at the G1 splash screen...HELP!!!!!
something like this happened to me when i downloaded a theme and i just reinstalled my original modded rc33 firm and it was fixed, but this time it did the same thing. i can still pull up the system recovery utility screen so im wondering if theres anything i can type in the log (alt+L) or console (alt+x)
CharonTheGreat said:
i used This Thread to do my mod and now im scared!!!
can someone help me???
i was rooted on rc 33 jf 1.42
i prepared my Class 6 8G card on my MAC using disk utility then 2 partitions half (3.43G or whatever)on FAT 1st then second half (3.whatever) as ext2
i was trying to do the apps to sd card thing and after doin all of the terminal commands (i got to the point right after seeing how much space i have on my sd card and internal) this was my next step:
busybox cp -a /data/app /system/sd
rm -r /data/app
ln -s /system/sd/app /data/app
but after doin it it kept saying "no space on memory" or somethin so i went to internet cleared cache, forms, cookies, and history then restarted to make sure the terminal knew (noobish)
and it just froze at the G1 splash screen...HELP!!!!!
something like this happened to me when i downloaded a theme and i just reinstalled my original modded rc33 firm and it was fixed, but this time it did the same thing. i can still pull up the system recovery utility screen so im wondering if theres anything i can type in the log (alt+L) or console (alt+x)
Click to expand...
Click to collapse
Are you using one of the apps to sd ROM's? Without that all hell will break loose when you try apps to sd.
As for the poll, there's a reason why Google couldn't make apps run off the sd card. In order to do it they'd have to have the sd card be ext2 since you can't symlink to a FAT32 partition. Since windows computers won't recognize ext2 partitions that was a no-go, since, you know, 90% of people use windows. Also, look at what happens with the apps to sd hack when you take out the sd card. Suddenly apps that may or may not be running don't exist and, again, all hell breaks loose. Better to force people to hack their phones to get this working than to actually have the phone work that way when it can cause such severe problems.
EDIT: after looking briefly at the link, I see that the instructions you followed were for non-apps to sd ROMs. I see no reason why it didn't work but if you really don't feel that comfortable with it, you could always just flash one of the apps to sd ROMs and follow one of those(much easier) tutorials or even use my app to do it with the push of a button. Just remember, after moving them you MUST restart your phone for anything to work.
Whats the point of this poll?
[email protected] said:
Are you using one of the apps to sd ROM's? Without that all hell will break loose when you try apps to sd.
As for the poll, there's a reason why Google couldn't make apps run off the sd card. In order to do it they'd have to have the sd card be ext2 since you can't symlink to a FAT32 partition. Since windows computers won't recognize ext2 partitions that was a no-go, since, you know, 90% of people use windows. Also, look at what happens with the apps to sd hack when you take out the sd card. Suddenly apps that may or may not be running don't exist and, again, all hell breaks loose. Better to force people to hack their phones to get this working than to actually have the phone work that way when it can cause such severe problems.
EDIT: after looking briefly at the link, I see that the instructions you followed were for non-apps to sd ROMs. I see no reason why it didn't work but if you really don't feel that comfortable with it, you could always just flash one of the apps to sd ROMs and follow one of those(much easier) tutorials or even use my app to do it with the push of a button. Just remember, after moving them you MUST restart your phone for anything to work.
Click to expand...
Click to collapse
that would be great to use your app. if i get my phoe fixed il try ur way (looks a LOT less likely to be screwed up by me). as you saw from the other thread it didn't call for a ROM and i followed the steps EXACTLY do you know of a way for me to fix this problem using the bootloader or power+home button screen? because those are the only two things i can use at the moment? I'm basically a virgin/rookie/n00b at this whole thing (horiible since was one of the earlist jailbreakers on the iphone.ipod touch) id LOOOOOVE your assistance with this and will completely listen to your steps/commands
speoples20 said:
Whats the point of this poll?
Click to expand...
Click to collapse
there is no real point to this (or any for that matter) poll, except for the fact that i'm frustrated with what i did, and annoyed at t-mobile's **** in general (i've been with them since 97
CharonTheGreat said:
that would be great to use your app. if i get my phoe fixed il try ur way (looks a LOT less likely to be screwed up by me). as you saw from the other thread it didn't call for a ROM and i followed the steps EXACTLY do you know of a way for me to fix this problem using the bootloader or power+home button screen? because those are the only two things i can use at the moment? I'm basically a virgin/rookie/n00b at this whole thing (horiible since was one of the earlist jailbreakers on the iphone.ipod touch) id LOOOOOVE your assistance with this and will completely listen to your steps/commands
Click to expand...
Click to collapse
'fraid I'm not sure how to do this without an apps to sd ROM(I tried to do this myself originally and ended up giving up). But flashing one of them(LucidREM's, Haykuro's apps to sd or The Dude's apps to sd) should fix whatever's going on I'd think. From your commands it looks like anything that would be fixed from the recovery terminal was already correct. You probably won't have your apps anymore but since it looks like setting jf's up for apps to sd is what failed, they're probably already gone. From there running my app should work. Also, it wont let you move the apps to sd if anything isn't set up right so this shouldn't happen again.
[email protected] said:
'fraid I'm not sure how to do this without an apps to sd ROM(I tried to do this myself originally and ended up giving up). But flashing one of them(LucidREM's, Haykuro's apps to sd or The Dude's apps to sd) should fix whatever's going on I'd think. From your commands it looks like anything that would be fixed from the recovery terminal was already correct. You probably won't have your apps anymore but since it looks like setting jf's up for apps to sd is what failed, they're probably already gone. From there running my app should work. Also, it wont let you move the apps to sd if anything isn't set up right so this shouldn't happen again.
Click to expand...
Click to collapse
how would i go about flashing your (or any1 else's) rom to my phone?
those commands i inputted were in the terminal emulator app. if there's anything in the recovery utility's console (alt+x) or log (Alt+L) id love to know (or is that what your saying your not sure about)?
CharonTheGreat said:
how would i go about flashing your (or any1 else's) rom to my phone?
those commands i inputted were in the terminal emulator app. if there's anything in the recovery utility's console (alt+x) or log (Alt+L) id love to know (or is that what your saying your not sure about)?
Click to expand...
Click to collapse
For the ROMs, go to the Dream android development forum(what this thread is in) and go to LucidREM's sticky, or Haykuro's or The Dude of Life's thread. Haykuro's and The Dude's ROMs are for cupcake, Lucid's is a mod of the normal JF builds. Flashing the ROM is just a matter of putting the downloaded file from one of those posts, renaming it update.zip, placing it in the topmost directory on your sdcard, and pressing alt-w and then alt-s at the recovery screen. My app is called "apps to sd" and is available on this forum or as a donation version for $1 on the market.
by the way, anyone else think it's odd that the percentages in the poll add up to 125%?
EDIT: now 120%
I'm going to start looking into running apps on the SD card.
What I'd like to know is, can I run the a2sd version (I plan on using Haykuro's ADP1.5Hr3) w/o any issues? Any differences to the regular version if I haven't moved my apps over?
I've been using A2SD for the past 3-4 version of Hakyuro's H series, I then went to the ADP A2SD, I have had no problem what so ever. It works great and is quick, I don't think I could ever go back to using the built in disk for application storage.
I'm currently running ADP1.5Hr3 with 192 applications.
If you dont have a SD card with the partitions necessary, and you load an a2sd version of firmware, when your phone boots up it will start looking for the partition to mount and will continue to do so in the background. This may have an adverse affect on the performance and or battery life.
If this has been fixed in any versions feel free to post it.
Dharkaron said:
If you dont have a SD card with the partitions necessary, and you load an a2sd version of firmware, when your phone boots up it will start looking for the partition to mount and will continue to do so in the background. This may have an adverse affect on the performance and or battery life.
If this has been fixed in any versions feel free to post it.
Click to expand...
Click to collapse
actually when u load an a2sd rom it doesnt look for anything to mount
because when u load an a2sd rom it only looks for a partition once you command it to
without your command it will work like an regular rom that doesnt have the a2sd mod...it will store applications and caches on your internal flash
once you start doing commands such a ln and rm that is when you are actually connecting folders to the ones on your sd card
the performance is the same if u have a2sd or not....the performance either increases or decreases when u tell the phone to do the symlinks to ur ext 2 partition
bigballa said:
actually when u load an a2sd rom it doesnt look for anything to mount
because when u load an a2sd rom it only looks for a partition once you command it to
without your command it will work like an regular rom that doesnt have the a2sd mod...it will store applications and caches on your internal flash
once you start doing commands such a ln and rm that is when you are actually connecting folders to the ones on your sd card
the performance is the same if u have a2sd or not....the performance either increases or decreases when u tell the phone to do the symlinks to ur ext 2 partition
Click to expand...
Click to collapse
????WHAT???
Looks for partition after you command to it???
The haykuro apps-to-sd roms load the ext2 module and a .sh script runs during boot that looks for the partition over and over in a loop. If found it is mounted, if not it keeps trying. This *can* cause battery issues, although I doubt it would be bad. I have no idea what you are saying about commanding to it, but that is wrong.
Re installed the app. Ran and have 54mb available happy.
on a mac
what is the equivalent of ex2 on a mac...it's not listed in the partition options
jaaronmoody said:
what is the equivalent of ex2 on a mac...it's not listed in the partition options
Click to expand...
Click to collapse
It's only possible with ext2 as far as I know. You are probably going to have to download a partition manager program
Darkrift said:
The haykuro apps-to-sd roms load the ext2 module and a .sh script runs during boot that looks for the partition over and over in a loop. If found it is mounted, if not it keeps trying. This *can* cause battery issues, although I doubt it would be bad. I have no idea what you are saying about commanding to it, but that is wrong.
Click to expand...
Click to collapse
Any more news about this and battery usage posted anywhere that i can read further?