yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] MarcusMaximus04@gmail.com:
Actually from what you said everything is exactly as it should be. My app takes a little while to run the command to move everything which makes the system thing it's frozen which is why it asked to force close. By the time you pressed that, the app was just about done and then restarted the phone intentionally to refresh the apps. The internal storage shows 151MB left because it's actually reading the storage of the ext2 partition since, as you said, it tricks the phone into thinking that is the internal memory. So take a breath and relax, your phone is working perfectly.

EDIT: And I'll be going to bed in a couple minutes. If I don't answer you tonight, check tomorrow, I'll try to get around to everyone then.
[G1 Android Development] arteshiftedscreen:
Ok so I got it working by skipping the step where I updated the data.img before running your tutorial

it works this time

however, I still dont have my user settings

how can I update them without messing the phone again?

will the same fastboot flash userdata data.img end up on the sd card too?
[G1 Android Development] arteshiftedscreen:
i.e. will the regular nandroid backup restore using fastboot work?

EDIt : I guess I'll find out
[G1 Android Development] parmenti:
so... is The Dude's Cupcake v1.0 the version you were talking about? It's out now? Should I update to this? Thanks for your time again.
[G1 Android Development] MarcusMaximus04@gmail.com:
Best answer in this case: try it. I'm not really sure what's going wrong but it sounds like it has to do with something with that image. But it could be that it didn't like that image being there before applying the change. Hmm thinking about it now, that might undo the scripts since data.img covers the entire data directory which contains them. But try it and find out. You can always just roll back if you don't like the result.

For keeping the settings if you can't get it working you could try doing the nandroid restore and then do this in terminal emulator:

su

busybox rm -rf /data/data/com.android.vending

reboot

That should clear out the market data and might get it working again. Alternatively you could just copy everything in the /data/data directory to /system/sd/data and then do a nandroid restore back to JF1.5 with this method working and it'll use all your existing app data. If you need to know how to copy those it's this in terminal emulator:

su

cp -a /data/data /system/sd/

And with that I'm off to bed. I'll answer anything else in the morning.
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes, yes, and yes. :D
[G1 Android Development] JeffGale:
ugh

android keeps looping, I'm the worst. I'll try once more.
[G1 Android Development] raydekok:
ok i did everything and it is working. got still 387 mb free. but what do i do when i wnat to go to another ROM?

now i got JF1.5 but maybe i want to try thedude or someother ROM.

who can help me?
[G1 Android Development] JeffGale:
all you have to do is make ur ext2 partion bigger and you'll be able to use all of that memory. I'm guessing urs is set around 387 or 400. I made the mistake of not reformatting my ext2 so I got a bootloop. I'm gonna try again when i wake up tomorrow. Goodluck bro.
[G1 Android Development] raydekok:
i got 450 mb for my apps and that is enough. i got everything installed now but if i want to go to thedude build. i take the nowipe, apps2sd build en i flash it. what do i have to do to get all my apps back?
[G1 Android Development] DynaMight:
does anyone know how i delete directories on my ext2 partition. i think my data dir is causing probs.

thanks
[G1 Android Development] limakev123:
Can anyone help please

I trying to do this app to sd and I can not get past the first step! I know its sad but I have tryed everthing. When I mkdir /system/sd/app I get error read only! I have read that its cause my ext2 partition is not done right or mounted could that be true? If so can any1 please explain? I open the partition app that I used P.P.M. 9.0 and it shows fat32 1st then ext2 2nd. When I made the partition I got no error messages I do get a lost and found folder in the ext2 partition that I can't open or do anything with for that matter does that mean something is wrong? Does any1 have any tips on what the trick is when making a ext2 partition? I would be greatfull!

Bronze G1 w/ JF 1.5 cupcake

Aero theme NO APPS TO SD HELP

Limakev123@gmail.com
[G1 Android Development] LucidREM:
isn't it supposed to be /system/intmem??
[G1 Android Development] stellarman:
Yes, you are right. That was a clerical error.

A wipe and re-install fixed this for me.

Thanks for your help.
[G1 Android Development] stellarman:
What was the outcome of your attempt? I am about to try this myself, unless I hear from someone that I shouldn't. I would like to get my userdata back, but I don't want to screw up the install and have to do it all again. That's a waste of time...
[G1 Android Development] limakev123:
/system/sd/app

When I type the busybox command I get all those directories but the one I need system/sd is not there! I do mkdir /system/sd/app and get an error message /system/sd/app is read only does any1 have any ideas? Please I would be greatfull!

Thanks Kevin
[G1 Android Development] dasoccerbomb:
Installation Unsuccessful

Someone please help... I cant install apps anymore after following the steps in the first post. The app downloads perfectly but then i get a message that says installation unsuccessful? I have double and even triple checked all settings. I have already done a wipe and install of jf 1.5 2 times now.

I have checked the busybox -df -h command and /system/sd is there and

when i look at the /system/sd i see

# cd /system/sd
cd /system/sd
# ls
ls
app app-private dalvik-cache lost+foundtem

what do i try now?
[G1 Android Development] short/y:
What will happen if you're using the old symlink method of apps to SD and you install one of the builds that support the new method? Will you be "converted" or will you still be using the old symlink method?

Apologies if this has been asked before, here or elsewhere. I've been trying to follow this thread as well as the threads on the other builds but there's a LOT of posts out there!
[G1 Android Development] amirnew:
hi, i did the code and now i have 273 MB of "internal memory"

the problem is that it seems that the memory is not going down, ever after installing alot of applications.

what to do?

amir weissbrot
[G1 Android Development] parmenti:
Has this rom been working for people that have already done apps2sd2 (advanced) method? It's hard to follow the thread but it sounds like people are having a lot of trouble. What are the advantages to going to The Dude's from JF ?? Thanks again for everything.
[G1 Android Development] andonnguyen:
Same here with the screen locking up.
[G1 Android Development] Sheldonjace:
Ahhh..I'm so confused.:(

So, prev had JF 1.5 and had the apps2sd (symlink method) working flawlessly and the phone was running/operating like a champ with tons of apps.

Saw the Dude's new build so said what the hell I'm gonna try it.

Wiped my phone entirely, reformatted the sdcard (fat32 and ext2 parts), flashed the ROM, etc. Got the Dude's build up and running and its sweet yay.

It recognizes the ext2 partition successfully and shows me my 930MB of internal space available...great that was really simple being that I've done nothing yet but flash the new ROM and reformat the card. SO I followed this tutorial and did the steps in the Terminal Emulator and rebooted...installed all my old apps and this is what it shows.

soooo...I installed Apps2SD 2 and run it. Do the copy apps and delete from intmem. It reboots and I check the busybox df -h again and it still shows the same exact thing.

Needless to say its just not working, what code would I use if I wanted to try and manually move each app to sd?

AH
[G1 Android Development] MarcusMaximus04@gmail.com:
You probably don't have a /system/sd/app directory which is required in order for apps to go to the sd card. follow the directions on the first post for making that and other optional directories. Alternatively you can use the appstosd2 app available on the market for $0.99 or for free on the first post.
[G1 Android Development] MarcusMaximus04@gmail.com:
Actually what that df -h showed looks reasonable. You didn't move dalvik-cache or the regular cache so that's what's using up the space on the internal memory. I wouldn't worry about it unless you actually start running out of memory but if you really want to you could use appstosd2 to copy dalvik-cache(doesn't reboot since it's not necessary for dalvik-cache) to sd card and you should definitely see an effect from that. Keep in mind that without any apps installed(or very small apps) it won't have a tremendous effect on the sdcard memory.
[G1 Android Development] Sheldonjace:
Thanks for the response. I'm sure that the dalvik-cache takes up quite a bit of space but not as much as what I'm seeing now. Plus I know I've installed far more than 7mb of apps as if you look at that attachment I have nearly 30 already installed just right there and now I have more and the sd used space hasn't increased.

I just installed the dudes 1.1 and I'm going to try again with that.

EDIT: Did the copy to sd card with your app again with 1.1 and then it showed a little less space used...then did the copy dalvik-cache and its back down to about 15% now. So the dalvik-cache took about 10% used space off the intmem from just what I had which is sweet. Personally though I feel as if the symlink method with JF's build was still smoother than the unionf's on the Dude's. could just be builds though.
[G1 Android Development] MarcusMaximus04@gmail.com:
Ok well there are steps in the first post to do it manually but it literally just does the same steps as my app. I guess try that and see if you get any errors...
[G1 Android Development] Strapt:
Thanks for the reply on how to undo everything with the previous codes ...but before I do that I need to ask you something just to be sure and I need to tell you what I have done to make sure it is the right route to go. I FINALLY did get my phone to stay at 73MB free but it was with using multiple methods here in the forums. I tried your way with ALLL the code from your manual way off your original appstosd post and it never said a permanent 73 free in fact it down to like 53 once. Then I tried Lucids way and all I did was did a wipe and install his MOD of JF1.42 RC33 and booted up .. I then ran his codes on his page too, with no success, none of my apps were there and the memory went down still .. BUT then I used YOUR appstosd with Lucids MOD ROM and after that, I now my apps back and I have a permanent 73MB free and everything seems to be working great!

Soo question is when I did the wipe and install his ROM did that undo the codes I ran from your page ...or is there some sorta combo deal thing goin on now with my phone? Also is the method you posted on the first page the best route for me to go back to orig settings so I can try this method out?

first, I used the partition deal using the code only on the G1 terminal and no comp which worked great!

then, I tried running all the code under marcusmaximus appstosd manual way thread and even bought the appstosd app .. neither worked.

so then, I download the updated JF1.42 RC33 MOD From LucidREM page did a wipe and installed. I ran the codes also found on page 1 there and still no luck ... memory kept draining when I did internet or added apps.

so then I ran that appstosd that I bought and NOW I have 73mb free and all my previous apps have came back on the phone after reboot and the memory has not gone down at all.
[G1 Android Development] raydekok:
i got 450 mb for my apps and that is enough. i got everything installed now but if i want to go to thedude build. i take the nowipe, apps2sd build en i flash it. what do i have to do to get all my apps back?

can anybody give me a anwser??
[G1 Android Development] dasoccerbomb:
So is there an official fix for the wallpaper issue? It is pretty ignoring to have to reboot every time i want to change my wallpaper :-(
[G1 Android Development] Sirielia:
I've reformatted my sd with the correct partitions about 4-5 times now. I figured I did something wrong. I checked the thread on partitioning with Paragon and noticed that I was doing exactly what the thread stated. I attempted one more time, but my G1 just does not seem to want to recognize that I have the ext2 partition. This way does nothing, the old way gave me a cp write error saying no space left on device, and my phone still displays the regular storage. I'm really not sure exactly what I am doing wrong, so any help is really appreciated. :)
[G1 Android Development] MarcusMaximus04@gmail.com:
Your apps should automatically be there already.
[G1 Android Development] MarcusMaximus04@gmail.com:
All that looks ok, just run through the tutorial including the bit about removing the old symlinks(both his and my old method are the same, my guess is that it was the cache that was using up space and my apps don't move that since it's pretty unstable to do so).

@dasoccerbomb: No, I've been looking into it but can't figure out exactly what's going wrong. Thus far it seems to be the only non-solvable problem and it's been pissing me off but for some reason the home application wallpaper change doesn't like unionfs. I'm working with JF to see if we can get aufs in his build which could solve the problem... maybe.
[G1 Android Development] arteshiftedscreen:
Im having an interesting problem today

I fresh do a fresh wipe and fresh install of JF1.5 and boot up the phone. Then I sign in to google. Then I go to terminal and run these lines of code

[qoute]su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/init.rc /data/

cp /runme.sh /data/

cp/sdcard/a2sd/sh /data/

reboot
[G1 Android Development] MarcusMaximus04@gmail.com:
HAHA!!!! I fixed the wallpaper issue, will update as soon as I get the script ready for primetime.
[G1 Android Development] BSDADON:
great news! can't wait for this, hopefully it doesn't cause any issues in dudes build
[G1 Android Development] MarcusMaximus04@gmail.com:
Not sure about HardSPL, but as I've said, you really shouldn't run the original appstosd app when using this method, it can majorly mess things up. At this point, you're going to have to find a way into your ext2 partition(adb will work), do an "ls -l" and then for each listing that says "xxxx -> /system/sd/xxxx" do this: "rm xxxx" and then "mkdir xxxx". It may have cleared out your apps unfortunately but it sounds like you had them backed up. If you don't want to mess with all that you can reformat the ext2 partition or go to the ext2 partition in adb and do "rm -rf *".
[G1 Android Development] MarcusMaximus04@gmail.com:
I put it up, it's in the a2sd.zip attached to this thread. :cool: Note: It will go back to showing the amount of internal memory in phone storage menu.
[G1 Android Development] BSDADON:
so should i just run the app again or should i wipe it then run it?
[G1 Android Development] arteshiftedscreen:
when I type in rm app is just comes back and says rm: app: is a directory

mkdir fails because the file already exists yada yada ayda

so whats the real line of code I'm supposed to run there? is it rm -r XXXX or rm -rf XXXX or do the XXX have / in front maybe?

EDIT!

Ok so I've done the exact ls -l command thru adb and the only listing that has the xxx -> /system/sd/xxx is etc -> /system/sd/etc

however when I attempt to rm etc I get this

rm etc

rm: cannot remove 'etc': Read-only file system
[G1 Android Development] raydekok:
yeah what do i have to do to fix this?
[G1 Android Development] BSDADON:
Screw it, i'm running it without wiping, will let you know if I have any issues
[G1 Android Development] andonnguyen:
ran the new scripts, and my apps aren't showing up anymore. the directories are there but its not reading them. at least the wallpaper issue was fixed, lol.
[G1 Android Development] BSDADON:
Damn that sucks, I just ran it, worked fine, phone booted up regularly, no force closes, all my apps are showing up and working. Well the 6 I have tried so far, but I still can't change the wallpaper:confused:
[G1 Android Development] raydekok:
i assume to do this:

su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
[G1 Android Development] andonnguyen:
I can change the wallpaper, but my apps arent showing up. lol. fml. and my internal memory is at 45MB now. fml 2x.
[G1 Android Development] BSDADON:
And I just realized i'm an idiot. He uploaded the new one as appstosd.zip, i clicked on appstosd2.zip (which is why nothing happened). To answer your question raydekok i was running the app that runs the scripts automatically
[G1 Android Development] andonnguyen:
hey run his new scripts and let me know if youre having the same problems as me.
[G1 Android Development] raydekok:
what app? the app named appstosd2.apk?

so when i install that it will work again?
[G1 Android Development] andonnguyen:
ok my internal memory is low again, im assuming thats suppose to happen, but then my apps arent showing up with your new a2sd.zip
[G1 Android Development] Zeltaz:
Hello, I have tried this atleast 10 times now in terminal emulator. everything seems to be fine, but when i finish i still only have 73mb free memory, and that appstosd2 doesnt work for me. please help me.
[G1 Android Development] BSDADON:
@andon

Unfortunately I can't try that out right now, just left my house and I need my phone to be fully functional, sorry. However the problem you are describing happened to me last night when i went to the dudes new build that does all the apps2sd automatically. Apparently dalvik-cache didn't want to play nicely for me so now I just have the apps moved. My solution was to re-format and run it all over again not moving the cache and it works fine ever since, well except the wallpaper

@raydekok

Appstosd2 has not been updated, it is still the same one I ran last night / this morning. He uploaded the two files you need on the sd card to do it manually, that is what that other .zip file is for.

typing all this on the phone sucked. haha
[G1 Android Development] andonnguyen:
I reverted back to the old script for now, until the "apps not showing up" bug gets fixed in the new script.

It looks like you mounted each directory individually, instead of /data as a whole.

Reverting back to /system/sd:/data seemed to fix the "apps not showing up" bug for me.
[G1 Android Development] andrews240:
I just decided to take the plunge. I had apps2sd through the previous method, so all of my apps are already on my sd card. There were no errors while typing the commands into the terminal emulator, but, much like andonnguyen, after rebooting my apps were not in the app drawer. Do I need to run the apps2sd2 app for my pre-installed apps to be recognized by the OS? Any help is appreciated, as is your efforts in creating these apps.
[G1 Android Development] andonnguyen:
if you want to go back for now until this is fixed, here are the old scripts.
[G1 Android Development] andrews240:
Maybe this is what I am missing. is there something that I am suppose to be doing with the scripts other than:

su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
[G1 Android Development] andonnguyen:
Not that I'm aware of. All of the above seem to be correct.
[G1 Android Development] andrews240:
It's the weekend, so I'll be patient and see if anyone can help me figure this out. Thanks for the scripts though. I will set them aside just in case.

BTW, what is the difference between the scripts in the OP and the ones that you posted?
[G1 Android Development] Zeltaz:
I've just run AppsToSD_signed and I cannot install any apps now, they are all unsuccessful. Help Please.
[G1 Android Development] malaeus:
many of my apps are lagging badly after transferring to sd. is there a program i can use to move individual apps back and forth, i.e. aHome, widgets, etc.
[G1 Android Development] andrews240:
The original apps2sd was actually extremely snappy for me on every build that I ran it on. There is an initial lag, and slow boot, while everything is getting transfered, but after that everything was smooth.

I hope that I can get this version of a2sd working. The ability to mount, and unmount the sd card, without stability issues, sound great. My memory capacity didn't even increase, in fact, it decreased after doing the new a2sd procedure. So, I know that there has to be something that I missed.
[G1 Android Development] andonnguyen:
The ones that i posted we're the first set that marcusmaximus posted. The most recent a2sd.zip that he posted wasn't showing any of my apps.
[G1 Android Development] andrews240:
OK. So I should just copy the script, and the rc file that you posted with the same process as is in the original post. Do I need to run the original apps2sd app afterwards, or should I run the apps2sd2 app instead?
[G1 Android Development] andonnguyen:
You dont need to run the apps2sd2 program if you already have your folders setup in your ext2 partition.
[G1 Android Development] andrews240:
Thanks andonnguyen. Should I be worried about having to click the "I'm feeling lucky" button after the initial boot. It said something about needing to wipe the data partition, and my home screen icons and wallpaper are completely changed. I didn't have a symlink to a data folder, even though one did exist there from way back around RC33. It appears to be working anyway.
[G1 Android Development] MarcusMaximus04@gmail.com:
Oops! Sorry guys, I was playing around with some stuff for The Dude and forgot I left init.rc trying to call /system/bin/a2sd.sh instead of /data/a2sd.sh. Fixing it in 5..4..3..

EDIT: 2, 1, 0: they're up :)
[G1 Android Development] esnapz:
Hi all, this is 1 of the best mods to date. I had no problems applying this to my phone. I have 109 appz with 1150mb free. The only problem I'm having is that certain appz are force closing on me now. Twidroid, craigsphone, weatherbug..so far, I've reinstalled them, I switched them back to internal mem and still get the force close. Any ideas on getting them working again?
[G1 Android Development] malaeus:
is there a visual way to move individual apps to internal? for speed?
[G1 Android Development] LucidREM:
Very Nice

so i noticed after using the unionfs method here that a few apps had to be uninstalled and installed again:

ChompSMS

Phonebook

Touchdown

Useful Switchers

i think this was it for me .. doesn't seem to be any major problems tho

EDIT:

Blue Brush
[G1 Android Development] beagz:
Screenshot

Digital Clock

there was a couple others but I don't remember which.

Great job. Love this new feature.
[G1 Android Development] MarcusMaximus04@gmail.com:
Not yet, working on it ;)
[G1 Android Development] jonbron:
OK now I'm just having a lot of trouble with paragon...
[G1 Android Development] MarcusMaximus04@gmail.com:
Ubuntu live cd and then use gparted? Seems to be the most stable for most people(or MartinFick's script if you don't mind digging through command line)
[G1 Android Development] parmenti:
does the fix for backgrounds work yet? if so, what are the steps to be done?
[G1 Android Development] amirnew:
i installed your and the dude version' from the start(1.0V), and it still isn't going down, now with 281 MB

PLEASE HELP!
[G1 Android Development] iflyabeech:
Can anyone explain to me how to find out what class of sd card I have? I bought a 4gb Sandisk sdhc card and I did not see any thing regarding class on the packaging.

Thanks! :)
[G1 Android Development] jashsu:
Turn your phone off and eject the card. Look for a number written inside of a letter C on the card. That's the class.
[G1 Android Development] iflyabeech:
Thanks Man! Been trying to figure it out all day! no help from google either!
[G1 Android Development] JeffGale:
Hey Maximus Thanks!
[G1 Android Development] MarcusMaximus04@gmail.com:
....... As I said, make sure you made the /system/sd/app directory. It's not made automatically. You can make this manually by using the instructions on the first post for doing so or use appstosd2, which will automatically make it.