yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] KrispyG:
Hello to all, I could use some help and i've been trying this for the past 4 hrs. I had a issue and needed to re-install jf 1.51. I did a wipe then install of it. That went off fine without a hitch, now im at the doing apps2sd process and having problems.

I did the: su

mkdir /system/sd/app. It informed me that that already existed. Ok understood since I had it before my wipe and install.

When I did mount data to try the next step, it said failed, are you sure your rooted?

I decided to skip past that and went to the step of:

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

no error there, when I rebooted, it gets stuck at the android screen so then I have to do a wipe and install of JF again. Please any help with this would be appreciated, its 4am and I didnt want to read through the 130+ pages to see if anyone else had this issue.

Update, It finally went past the android screen after umteenth time*dont even know if thats a word* and mem shows avail 1037mb avail, so Im guessing it worked but now, if I install a app, it downloads but while installing, the phone ends up restarting and app isn't installed.
[G1 Android Development] phxgoose:
Ok i can't seem to get this to work. I think its because i ran Apps to SD before following tutorial and it partioned everything.

but when i type in

cp /sdcard/init.rc /data/

it gives me

cp: cannot stat '/sdcard/init.rc': No such file or directory

And i have the appriopate files on my sdcard. But it just doesn't seem to be seeing them. Any suggestions?
[G1 Android Development] timelyne:
How exactly does the A2SD AUTOMATICALLY works?

I have the JACxROM v1.5r4 ROM installed, created ext3 partition,created /system/sd/app directory but my apps still go to the internal memory.
[G1 Android Development] xaisomboun:
ahh! i think something went wrong.

i followed all directions on the tut, every app and stuff seems to work properly.

BUT when i try to open my settings, it gives me the force close pop up!

is there anything i did wrong or a fix for this?
[G1 Android Development] funkdroid:
Getting a Blank SD card error - not partitioning.

I have followed the instructions and I am getting stuck on part of it. I move the files through terminal emulator and then reboot. I Install and run appstosd2 and it asks to partition the drive. Once done partitioning, I get a warning that I have blank sd card. I have no ability to format it or see the data on the supposed Fat32 partition. I have been working on this for hours and I could really use a little help.

Running cyanogen 4.1.11.1 fresh install and recovery 1.4 +JF. This has jf1.5 right??

I know I am missing something easy, if anyone could steer me in the right direction I would really appreciate it. Thanks!!
[G1 Android Development] technician-2s:
I encountered some problems here. i used apps2sd and found that my apps icons become something else. duh... obviously because they were all moved into the sd card. so what do i have to do in order to get them working again?
[G1 Android Development] Thats BS:
This happens with protected apps.

Uninstall>reinstall.
[G1 Android Development] RicFusion:
Ok, so, I'm not new to modding my electronics, but for some reason I'm having an issue with this specific instance. Here are the settings on my phone as far as firmware, and the ROM I'm using.

Model Number: Android Dev Phone 1

Firmware Version: 1.5

Baseband version: 62.33.20.08h_1.22.12.29

Kernel Version: 2.6.27-00392-g8312bafjesusfreke@spork #1

Build number: dream_devphone-userdebug 1.5 CRB43148830 test-keys

So, I'm not even sure that when I did the initial downgrade that I did it right, but when I run the Terminal and type this in “getprop ro.modversion” it gives me JFv1.51

So I started this process here, and created the ext2 partition using apptosd, and set the size at about 1900mb. So I put the init.rc, and a2sd.sh on my formatted sd card, and try to run through the process and I always get "init.rc" file not found. I tried it again, and finally got it to go through both files, and finished the rest of the process, but when I start appstosd back up again, it says: "Ooops. Looks like you need to go through the tutorial to set up apps to sd. Visit this website." I've tried to do this a couple times now and it doesn't seem to be working. Could someone please give me a hand?
[G1 Android Development] mahasmb:
Okay... I have my phone rooted, and have the apps saved to the SD card with a 4 GB memory card. But I just got a new 8 GB memory card. I tried partitioning the 8 GB memory card on my Ubuntu machine and then copying everything from my 4GB card to my 8 GB card. My HTC Dream won't take the 8GB card. It just won't boot with it in.

So I guess my question is, is there anyway to move to the 8 GB memory card without having to do a factory reset?
[G1 Android Development] jdmcivic:
i am also not sure how the automatic appstosd works for cynogen's roms..

i have already made the partitions..

i nvr did anything thats posted on the 1st page.. am i supposed to do anything else apart from the partitions?
[G1 Android Development] Shawn411:
Alright so I did a partition and everything now my computer won't recognized my memory card at all. What did I do wrong?
[G1 Android Development] yannderry:
Hi

Thanks a lot for all your Tips , it works great for me (not sp easily , i had to try different ways but your tutorial helped me a lot ). my installed apps go straight to my ext2 partition in /system/sd/app now and i can see that it goes on my secondary ext2 partition with the increase/decrease of the size or by the ls /system/sd/app command in the shell. I'm on cyanogen mod 4.04 + JF 1.5 (if i'm right...) , i had already all needed files and applications (busybox..) , i used Paragon partition manager 9 (winXP) to create my to partition (i tried with Apps2SD2 but crashbug , impossible to reboot my phone ,stuck on G1 starter screen..) , i did that with my phone connected to my computer throught USB . Finally it seems that apps2sd1 worked for me better than the second version after having formated my SDcard . though Apps2sd is little bit weird as it does not seem to tell you when it has done his job (you have to wait or reboot i'm not too sure as there is no warning when you push the "move apps to sd" button) ...but it worked (even if it would be hard to explain how i did it in details ..) so Cheers ! I think a tip would be good for Dummies (like me) : it is important to reboot your phone sometimes ...otherwise it does not take some changes . Good too to learn to use the shell et its main cmd ...and a last little one , i did not understand quickly that you have to mount ur sdcard quite often in order to see the sdcard under windows ...but when you make all the command to move ur apps etc , it seems that it is better to turn off the "USB Storage usage" in the task bar ..but i'm not entirely sure about that ...anyway good to try several things because you can be stuck with a little detail...

I have some questions otherwise :

-Why files in /system/app are read-only and even as a root , you can't delete them ? maybe dummy question :o

cause i would like to put even more apps on my sdcard but some like all the google stuff , alarm clock etc are impossible to delete ...i tried by the command shell or by Estrong explorer...

-Why i can't see what is inside my /system/sd folder in my Estrong Explorer ? it says folder empty ..is it a format problem ? Estrong would be unable to read a my sd partition ?

-and sorry if i'm off subject for this third question , i would like to know what is the right command to know information about the G1 network domain and name ...is there any command to change the network domain to workgroup to share network folders with windows XP ? Estrong seems to do that but it asks me only for a samba server ...It must not be so easy to share folders between linux and windows but i ask anyway ;)

Thanks again for your time and your help !
[G1 Android Development] drpuckettg1:
it is ok

it is like that if you want to get the sd back on how it was you need to format it

but it is not going to work if you use your computer you need to format it by using a phone

for me it works better when you use my samsung phone (samsung memoir)

other then that you are ok

if you need more help email me

puckettonline@gmail.com
[G1 Android Development] osokthedevil:
so i type "su" in the terminal and i get "su: permission denied" im i missing something or because my phone is rogers they have locked the file system?
[G1 Android Development] gtrplr71:
you need to assign a drive letter to the sd in order for the computer to see it.
[G1 Android Development] evil23666:
originally had a couple days worth of reading, trying, re-reading (between work & home life...) should've started @ the updated comment... would've saved a lot of time & starting all over because i kept hosing my phone.

You ROCK!!! took me long enough to get it all squared away, but HELLS YEA!!! Thanks!
[G1 Android Development] gtstar:
Can u please help me recover my apps on my sd!!

i recently upgraded to the new 1.6 rom with the google mod.. wat i did is used two seperate sd card one black and one was my origination partitioned sd card which i used to use my apps2sd on but now when i upgraded my rom its not reading the sd do i have to start all over again?
[G1 Android Development] andriy108:
Video tutorial please!!

Hi! I just moved from Palm, I have been addicted ar. 10 years, and it was very simple there to run aps from sd card. I'm few days newer in android system, and also have no experience with code stuff, but I see need to increase the memory in my G1 for necessary aps. I will be very thankful if you could make simple video tutorial how exactly to do it. Thank you very much for your work and attention.

Andriy,

Kiev,

Ukraine.
[G1 Android Development] jorge89:
I've been using apps2sd with cyanogen's Rom for a while, but I don't have that many apps and my sd card is only a class 2, would taking apps2sd off make my phone run faster?
[G1 Android Development] prettyboy85712:
Yes, in your case.
[G1 Android Development] jorge89:
what if I get a class 6? is there a difference between running apps from the internal memory or a class 6 sd?
[G1 Android Development] prettyboy85712:
Internal will still be faster, but it's not night and day faster.
[G1 Android Development] STANC1:
Im having an big issue

how do u get a keyboard to come up on recovery mode. i have been trying to figure it out and no one has said anything i can find to type in recovery mode as thats the only thing thats holding me back to partioning my sd card
[G1 Android Development] Ace42:
You have MT3G/Magic right?
[G1 Android Development] STANC1:
hi

yes i do sorry forgot to put that
[G1 Android Development] hassler:
Hi all

I followed this: http://wiki.cyanogenmod.com/index.php/Apps2SD

and did via Recovery Console (no wipe) method

now I've got ext3 but when I run App2SD it said I need to get here to set up apps to sd

in SD information it showed the partition ext3 I've created as a secondary SD card, not the internal memory :(

I don't know how to proceed :(

please help me out!
[G1 Android Development] philosophics:
pretty sure you can only adb shell it.

any disagreements?
[G1 Android Development] STANC1:
mytouch3g

ok how do i do the adb thing on my my touch3g i have read about it but im not sure i have looked at like 5 or more but they are not complete any help i can get will be appreciated
[G1 Android Development] gooberguy:
it seems like i have followed all the steps correctly, partioned my sd card and everything, yet the apps2sd app still tells me to go on this forum, any idea why?

i am using the very latest cyanogen mod on my g1
[G1 Android Development] will22:
i can see all my apps in both

/data/app/

/system/sd/app

i'm confused, please advise
[G1 Android Development] arjun2003:
hi all ,please help me , i have sucessfully created fat2 and ext2 partions sucessfully, but when i try to create mkdir /system/sd error message is displayes " read only\file syatem " please help me to solve this

do i need to mount the ext partion..?
[G1 Android Development] ELENI4:
getting apps2sd to work on my rooted Sprint HTC Hero - HELP NEEDED

I partitioned my SD card correctly. I installed the apps2sd.spk. The init.rc and a2sd.sh are on my sd card. I followed these instructions:

su

mkdir /system/sd/app - it says the directory is already there...followup: I removed this directory and now terminal emulator was removed from my phone and now when I attempt to download it, it says insufficient memory. Now what do I do????

mount data - won't let me mount data because it says /etc/fstab: No such file or directory

rm /data/app

mkdir /data/app

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

Then I reboot.

However when I go to the apps2sd app, it says Oops, looks like you need to go through the tutorial, etc. However I did that...repeatedly. Please help. I rooted my phone so that I could download apps to my SD card. That was the whole point of me doing it. I've been trying for days to get this to work. Please if someone can provide me with detailed instructions, that would be fantastic.
[G1 Android Development] ELENI4:
Help to get apps2sd to work on my rooted Sprint HTC Hero

I partitioned my SD card correctly. I installed the apps2sd.spk. The init.rc and a2sd.sh are on my sd card. I followed these instructions:

su

mkdir /system/sd/app - it says the directory is already there

mount data - won't let me mount data because it says /etc/fstab: No such file or directory

rm /data/app

mkdir /data/app

su

cp /sdcard/init.rc /data/

cp /sdcard/a2sd.sh /data/

Then I reboot.

However when I go to the apps2sd app, it says Oops, looks like you need to go through the tutorial, etc. However I did that...repeatedly. Please help. I rooted my phone so that I could download apps to my SD card. That was the whole point of me doing it. I've been trying for days to get this to work. Please if someone can provide me with detailed instructions, that would be fantastic.
[G1 Android Development] garok89:
erm, which ROM are you running?

most modern, common ROMs have apps2sd enabled already

eg. cyanogenmod

so if you partitioned your card it would automatically moce the apps on to the sd card and the app would not be required
[G1 Android Development] ELENI4:
ROM used - Gumbo 1.5

I'm using Gumbo 1.5

and I partitioned the SD card from an option I selected in Recovery mode. How do I check that apps are already being saved to the sd card? It looks like they're being saved to internal memory, but I'm really not certain. How can I check and be sure? I downloaded a few apps to check and they're being downloaded to internal memory. Please help. This is so completely frustrating.
[G1 Android Development] ELENI4:
Help to get apps2sd to work on my rooted Sprint HTC Hero

I followed all the instructions listed above but when I open the apps2sd that is included here, I still receive the "Oops...go to tutorial" message. This is maddening. I followed the tutorial! Please help!
[G1 Android Development] ELENI4:
help with apps2sd for rooted Sprint HTC Hero

I followed all the instructions yet when I open Apps2sd, it STILL says Oops, you have to run through the tutorial to set up. I've DONE THIS. I'm extermely frustrated. I have no idea what more to do. My sd card is partitioned. I've run all the commands listed above. PLS HELP! Also all my apps are showing in /system/sd/app AND data/app. Is this correct? Why won't Apps2sd work for me?
[G1 Android Development] ccooluke:
question... (could have already been answered on here, however through search it's impossible to find and this thread is 130+ pages long... lol so I'll ask anyways)

While using apps2sd (whatever method) (which I currently am not). Is it possible to have X amount of apps on your phone (shake awake, terminal, spare parts, etc..) then have X amount of apps on one SD card (robo defense, guitar hero, abduction, pacman) and then have another SD card with other apps (twidroid, bloo, fring, etc...) and be able to switch out the SD cards like you're able to now (whenever you want) and only the apps that are on the phone and whatever SD card is in will show up (or be available to use) [you could organize via advanced launcher].

Just curious if this is possible, thanks all! :D
[G1 Android Development] brooklynite:
Hard work, thanks.

Its sad but it makes me appreciate what those engineers do at microsoft everyday. You could install apps on an sd card back in 1999 on a windows CE device with CF card. Now my sd card is formatted and I lost all my data on it and still have a few apparent hours to get this to work.
[G1 Android Development] marksyzm:
Very good. I'm new to all this (although with Linux knowledge) and it installed perfectly - thank you!
[G1 Android Development] brooklynite:
I have spent 3 hours before I completely crash the phone, re-root everything etc, and now tried again and no matter what I do it says: Go check the tutorial. What a waste.
[G1 Android Development] nsa666:
is it actually possible to install(move?) only SOME of the apps to (slow) SD-Card while other apps remain on phone memory?
[G1 Android Development] Firerat:
yes,

you need to ( in recovery )

mount -a
rm /system/app

if that worked it confirms it was a symlink,

if it fails it was already a directory, so you are already not running system apps from SD

assuming you were able to delete the app sysmlink

install -d -o 0 -g 0 -m 755 /system/app

check how space you have with

df -h
du -hs /system/sd/app_s

if the size of app_s is less than the free( available ) space on /system

cp -a /system/sd/app_s/* /system/app/

and

recovery

wipe Dalvik-cache and reboot

*do not wipe anything else, just cache*

if not, you have to pick and choose

move the ones you are happy to keep on the sd to /system/sd/app/

mv /system/sd/app_s/AnExample.apk /system/sd/app/

once you are happy you have space then copy from /system/sd/app_s to /system/app

cp /system/sd/app_s/* /system/app/

tip, if you don't want to keep typing the commands to find free space do this first

alias sp="df -h;du -hs /system/sd/app_s"

and just type sp ;)
[G1 Android Development] wliu88:
when i run

cp /system/sd/app/[the app you want to move] /system/intmem/app/

it shows:

can't create '/system/intmem/app/': Path does not exist
[G1 Android Development] Firerat:
where did 'intmem' come from?
[G1 Android Development] wliu88:
this according to Marcus post in 1#

Then reboot and you're set. By default all future apps are installed to the sd card. In order to move an app to the internal memory do the following in terminal emulator:

Code:

su

cp /system/sd/app/[the app you want to move] /system/intmem/app/

rm /system/sd/app/[the app you want to move]
[G1 Android Development] wliu88:
actually I try to move the home screen app from sd to rom

is it this file mobil.bbase.ahome.apk?

BTW. why I can 't use quick post?
[G1 Android Development] Firerat:
lol, ok I should go read #1
[G1 Android Development] Firerat:
yeah, I forgot quickpost dosn't work ( , just hit post replay to the left

ok, I understand now

and I like it

chances are your kernels ramdisk is not loading the script on startup

if you let me know what ROM you are using I can have a look for you.

unfortunately I won't be able to look at it right away

I'm actually on a LiveCD installing Linux, when thats done I have to mess about to get myself a nice new chroot toolchain :)

hmm, typing of done, its just done :)
[G1 Android Development] dwang:
I think this new method causes more problems for people.

The unionfs concept is harder to understand than the symlink method.
[G1 Android Development] MarcusMaximus04@gmail.com:
Harder to understand: yes. But it's also much harder to screw it up in a way that makes the phone boot loop. With the symlink all you'd have to do to mess everything up is remove the sd card. With this it handles a massive amount of errors quite gracefully.

Also, this method can be(and is being) built into the ROMs without the threat of boot looping for anyone who doesn't have the setup just right, meaning that it gives an automatic form of apps to sd, where all you have to do is have an ext2 partition and make an app folder on it.

Notice there's been like 2 or 3 people at most who've had their phones boot loop from this method(I haven't received any additional reports from emails or pms either) whereas with the symlink method I was getting 10-20 per day at times. Also of note is that I just hacked this together yesterday and had some bugs/problems in it originally.

In short, while it's harder to understand what's actually going on here, it's much easier to set up and harder to screw up and just generally better.
[G1 Android Development] rasturn:
it works

i was one who had a problem, i just took my time and found that the problem was improper partition! after redoing everything it works well fast and only one problem with wallpaper. Which i dont care about that after all the other trouble i've had. So all u other noobs (like me) take your time read carefully and it will work thank u Max,

this was the ONLY reason i modded my phone
[G1 Android Development] thugplayer:
i cant wait to give this a try with the Dude's build. I think the symlink method works fine but i've had my phone get stuck in the bootloop a couple of times. With this method it seems that even if for some reason my SDcard ever decides to take a **** on me I will at least still be able to boot my phone and not have to worry about removing the symlink. Thanks Marcus.
[G1 Android Development] Moadeeb:
So far the only problems i have run into is:

1. problem setting wallpaper, .. set wallpaper doesn't show till reboot.

2. Autorote doesn't work :(

other then that, everything seems fine and working as it should.

Thx Max, JF and MartinFick for making this so easy even I can use it. ;)
[G1 Android Development] Beast84:
Anyone know?

EDIT: Just looked at the first post again, I'm guessing you need to push the files first? It says it will only work if you have followed this tutorial
[G1 Android Development] dead2hill:
you have to extract them from the a2sd.zip first then put the a2sd.sh and init files on root of your sd....performing now! lol!

EDIT: Awesome! just did it! works like you say it should (so far) havnt experienced the wally bug but i will report if i do find anything! thanx for your work, i put a donation in for ya marcus!

and the people downloading it off the market dnt understand maybe make it more clear for them, cause alot of people dnt know about XDA, well just call them Novice users for sake of being nice! Again Excellent stuff from you and the rest of the DEV's
[G1 Android Development] xelapr:
thanks man the best and easiest method... :) thanks again MarcusMaximus04...
[G1 Android Development] malaeus:
for some reason auto rotate doenst work on mine either , well, it doenst work only on the normal android home screen. i use aHome 90% of the time so i didnt notice.

lul, dune...
[G1 Android Development] dead2hill:
im getting same problem with autorotate in openhome and even the spareparts animation. (which could be me not setting something right.) but the big deal to me is...

weatherbug app is going crazy force closing, i tried moving it back to internal and the problem persist....

please reply with a fix, i use app quite often for travel!

EDIT: Verified that Auto-rotate in openhome does not work nor the animations for home.

Also the weatherbug will not work, it's not a bad apk either not sure what the deal is!

i did

su

cp /system/sd/app/com.aws.android.apk /system/intmem/app

rm (**)

?????
[G1 Android Development] ebadevil:
I have the partition set, I follow your instructions and it works up until I try to actually install the apps... its starts the installation but tells me that this app cannot be installed on my phone... happens to all the apps I have... they used to install before...how do I remove this?
[G1 Android Development] malaeus:
seems the wallpaper issue, as well as the auto-rotate., are persistent glitches, i have reflashed a few times to make sure it wasnt just my phone being funky.

i can manage to get the partitions to mount and everything without issue now, but in the end i still get the wallpaper and auto-rotate issue.