yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] MarcusMaximus04@gmail.com:
You're welcome! :)
[G1 Android Development] JeffGale:
waitt

Ok well seems I jumped the gun, Market says not enough space and i can't install apps and it says my phone internal storage is low :( howcome.
[G1 Android Development] MarcusMaximus04@gmail.com:
Oh.. darn... Umm try running apps to sd 2 if you haven't already. Let me know if that fixes it or not.
[G1 Android Development] JeffGale:
yeah i did, the one you gave me, it was kinda weird though because i tried to move apps to sd and it restarted almost immediately.

Also I'm having the background issue as well, but it's only a problem with open home.
[G1 Android Development] raydekok:
i hope i understand it

ok

1. i made my sd of 8gb into 2 (450mb= ext2 and the rest is fat32)

2. i wiped

3. i installed the JF1.5 build

4. i followd the steps of this post.

5. everything is working

6. now i want the dude build on my G1

what do i have to do? what are the steps?
[G1 Android Development] Zeltaz:
Hey, I cannot get this to work, I have an SD card with 1.2GB FAT32 and a 600MB EXT2 partition. The G1 has got the new cupcake. I've tried every method and it wont work, i can copy the files and create the folder tho it still doesnt say that i have any more internal space.
[G1 Android Development] rockertflip:
HELP! when I type in the command : /runme.sh /data/ I get a "permission denied. how do i fix this? Im running on jf1.5
[G1 Android Development] short/y:
'busybox mv' doesn't have this problem. Don't know why it didn't occur to me to try it before but I finally did last night and it worked just fine.
[G1 Android Development] ckessler235:
hey guys.. i partitioned my 8Gb sd at fats32 5.8GB and the ext2 is 1.5Gb. i did this with paragon partitioner. i put in all the commands and everything goes in with out any errors. still in the E terminal i reboot. i go to menu settings n 2 sdcard, but it still says i only have 51Gb................................... i typed in busybox df -h and under mount on..i

see sum stuff plus this..

/dev/

/data

/cache

/system/sd can sum1 please help ???
[G1 Android Development] mikey98277:
This worked great

I did exactly as stated in instructions, and worked perfect, my only issue was i had to reset my phone a second time, after the first time, every program was force closing, but i restarted my phone and issue resolved ......thanks for the help!!!!:)
[G1 Android Development] bootleg16:
ok so i followed this tutorial

from a clean wipe.

did this

su

mkdir /system/sd/app

then this

su

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

cp /sdcard/init.rc /data/

cp /runme.sh /data/

cp /sdcard/a2sd.sh /data/

when i go back to see how much memory i have i still have 52 mb!!

then i installed the new apps2sd and i click to move my apps to sd and the phone reboots!

wtf?!
[G1 Android Development] MarcusMaximus04@gmail.com:
Lol calm down, man, that's exactly what's supposed to happen.
[G1 Android Development] MarcusMaximus04@gmail.com:
That's what's supposed to happen
[G1 Android Development] bootleg16:
lol!

ok but my space still stayed the same. like 72mb.

so now i reflashed and i used your old script and now my spae says 798mb.

=]
[G1 Android Development] cloverdale:
I have been following this from the beginning, and I thank you for your hard work. I have one question though that I cannot resolve. I did this with my phone, and when finished my internal memory shows 373 MB (what remains of my ext2 partition). Last night I did this to my friends phone (also running JF1.5) with a 500 MB ext2 partition, and it shows remaining memory of 60MB. Why does it not also show the ext2 partition?

Thank you.
[G1 Android Development] raydekok:
that was a few treaths back solved. first script shows al the memory left in the ext2 of the sd but when you want a new wallpaper the phone has to reboot. now with the new script you see the remaining memory only that of your internal. and that is 73 normaly but that is when all your system folders where moved.
[G1 Android Development] MarcusMaximus04@gmail.com:
I updated last night to fix the wallpaper issue. The same thing that caused internal memory to show up as the free ext2 space also caused the wallpaper not changing until reboot issue. There's no actual difference in the amount of free space you have, just which part of that free space it displays. (Since internal memory is much more limited it's probably better to show that anyway.
[G1 Android Development] MarcusMaximus04@gmail.com:
There's no difference in the actual amount of space available, it's just used to show the ext2 partition and the new one goes back to showing the actual internal space. Really, showing that massive amount of free space should be seen as a bug, not a feature(it's not really how much space is left on internal memory)
[G1 Android Development] Zeltaz:
ive gone through the tutorial about 15 times but still doesnt work and i think that it is my partitioning that is wrong, im using Gpart or whateva its called, the one on ubuntu, and my primary partition is FAT32 (1.4GB) and then i have to make an extended partition with ext2 Logical (450MB) whats wrong?

Help would be greatly apretiated.
[G1 Android Development] cloverdale:
Thank you.
[G1 Android Development] MarcusMaximus04@gmail.com:
They should both be primary, extended doesn't mean what you're thinking it does in this context.
[G1 Android Development] andonnguyen:
Both the fat32 and ext2 partition HAVE to be PRIMARY partitions or else it won't work.
[G1 Android Development] Zeltaz:
Thank you MarcusMaximus04@gmail.com and andonnguyen for your quick replies, ill try this now agen :)

Any chance you know why the application appstoSD2 doesn't work for me, it boots up but all i can see is a tickbox and a button saying quit.
[G1 Android Development] c_low29:
ok so basically im helping a buddy with this we did everything the same exact way i did it on my phone everything went the same no errors but when he looks at his internal memory on the phone it still shows up as 51mb as appose to mine which shows 860 any suggestions
[G1 Android Development] MarcusMaximus04@gmail.com:
*sigh* I'm gonna have to answer this 2000000 times aren't I? I put up a fix for last night that solves the issue with the wallpaper not refreshing until reboot that makes the internal memory thing show the actual internal memory again instead of the ext2 partition free space.
[G1 Android Development] MarcusMaximus04@gmail.com:
That's because your ext2 partition wasn't set up correctly. That app won't let you do anything unless it is.
[G1 Android Development] c_low29:
ok so where would i find this fix
[G1 Android Development] andonnguyen:
Oh on my device, the wallpaper fix wasn't working. I'm reverting back to the old method with symlinking for now, I've been getting too many crashes, especially with widgets, and apps that rely to start up as a service. I also lost my high score on WordUp so I'm kind of mad. lol. Hopefully we'll get to test out the aufs soon :D
[G1 Android Development] c_low29:
nevermind i see that you just added it to the original post in the beggining hence why chessler's phone was coming up with the internal memory
[G1 Android Development] jj71787:
i have the dudes build and trying to get apps to sd but im a beginner i know you have to format in 2 partitions fat 32 and ext2. i did fat32 when i pugged in the phone

i know some people use paragon partition manager to get ext2 but is there a free version i can use to format my sd card
[G1 Android Development] c_low29:
yep you can get a trial free version of partition manager here

http://www.download3000.com/download-paragon-partition-manager-count-reg-10697.html
[G1 Android Development] Zeltaz:
Wicked, i just re-partitioned my memory card and i could use the app and it all works now, it doesnt say how much memory i have left but i can install apps and my internal memory doesnt get any lower :)
[G1 Android Development] jj71787:
i tried this demo and when i click create partition it says it cant in the demo
[G1 Android Development] c_low29:
I am going to put up a how to on Partition Manger so that everyone will know how to do it and whoever said that it doesnt work in vista is wrong(no offense) I have been using it for some time now.
[G1 Android Development] bootleg16:
so hey marcus everything finally worked.

i moved a couple of apks back to the internal memory such as dxtop and chomp sms and sms popup because i think they were making my phone slow.

lol.

i have a question.

is there a way to move any dalvik-cache back to the internal memory?

not the whole folder.
[G1 Android Development] MarcusMaximus04@gmail.com:
Yes, do this:

cd /system/dalvik-cache

ls -l

then look for the dalvik-cache you want to move and then do this:

cp (dalvik-cache you want to move) /system/intmem/dalvik-cache/

rm (dalvik-cache you want to move)
[G1 Android Development] bootleg16:
and this is to move dalvik-caches back to internal memory right?
[G1 Android Development] c_low29:
im trying to move ahome back to the internal memory but i am not sure what to what the name of the file is in order to move it where can i find the file name in terminal emulator
[G1 Android Development] ubergeekster:
Thank you

I read through quite a few threads before i did this and setup my system in about 20 minutes. Been using linux for many many years now so reading all the threads was a great primer to understand exactly not only what was going on but what kind of problems people were having.

Long story short, now system shows 1.4Gigs free internal memory, over 100 installed apps and still 6 gigs of music on the phone.

Just wanted to say thanks to everyone who is helping hack these issues everyone is facing as that is what makes this phone so much sicker than anything else out there.

Tnt
[G1 Android Development] c_low29:
does anyone know how to find the name of a certain app you want to move from the sdcard to the internal memory
[G1 Android Development] MarcusMaximus04@gmail.com:
cd /system/sd/app

ls

and dig through all the entries to find it.

NOTE: instead of "ls",

ls | grep "ahome"

might work.
[G1 Android Development] bootleg16:
acces your ext2 partition through linux and grab the name from the apps folder
[G1 Android Development] MarcusMaximus04@gmail.com:
Wow no more problems guys? Guess the whole more stable bit was pretty accurate. :D
[G1 Android Development] mygti02:
this is an amazing setup. I did the old apps 2 SD process, but had to redo because something went wrong after about 2 weeks of having it done. so far, one week into this, its running faster and more reliable. Weird thing is, and not sure if this was supposed to happen, now instead of showing i have 74MB free, it shows the amount that i made my partition. I did 1GB (ya i know total over kill but you never know) EXT2 and 7GB FAT and my system memory shows up as 956MB free. Was this intentional? Oh and im using JF 1.5 :)

Can this be made as a sticky?
[G1 Android Development] Howie6267:
Ok I have searched this thread and have not found what I'm looking for. So I hope I'm not repeating a question here. Everything has worked fine for me with one exception. I have two apps that will just not install to the sd. It goes through the process and says everything installed but the icons just show up as a generic dead icon and when clicked on says it can not open the app.

My questions would be is there a way to turn off the installing to sd temporarily? Then turn it back on once I've installed those apps on the phone?
[G1 Android Development] leomak:
I have same problem on NBA to GO app and one other apps.:(
[G1 Android Development] juangil:
from first page:

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] Howie6267:
Thanks but that is assuming the app is on the sd card. In this case it's not getting installed anywhere.
[G1 Android Development] LucidREM:
i believe this was already answered .. anyone can correct me if i'm wrong but isn't it a matter of changing the unionfs order? ie:

/data:/system/sd

instead of:

/system/sd:/data

i may not be remembering correctly
[G1 Android Development] parmenti:
would anyone mind terribly telling me what dalvik-cache is? sorry for the stupid question.. also.. has the background changing problem been fixed? if so what do I need to do now?
[G1 Android Development] DreamcastDC:
My is not working at all, keep installing apps in the internal memory.
[G1 Android Development] DroidDev:
ok so im using jf1.5 i have setup the partition using ubuntu and have gone thru all the setps that you listed in the initial post and got # after every script i power reboot my g1 and run apps2sd app on the fone and it reboots everytime????? please help

contact me via googletalk if possible

droid.dev1@gmail.com
[G1 Android Development] bountyhunter:
I have found out what makes the wallpaper issue. After wiping out almost 10 times, I recognize that the OverClocker App causes the issue.

When I uninstall the app, the wallpaper issue disappear with the latest code from Marcus.

Another cause is installing new app. But this occasionally happens.

@Marcus: Please check it out my idea, maybe it's not right for other's people phone
[G1 Android Development] MarcusMaximus04@gmail.com:
LOL interesting idea but was a coincidence. I fixed the wallpaper issue in the latest release.
[G1 Android Development] MarcusMaximus04@gmail.com:
Ya... don't use the original apps to sd app. You have to use apps to sd 2 with this. To get your phone working again, reformat the ext2 partition.

Oh and you don't need to follow the tutorial again, just install/run appstosd2 when you're done reformatting
[G1 Android Development] DroidDev:
format ext2 from phone

is there a script i can enter into the terminal emulator on the phone to format the ext2 partition
[G1 Android Development] Ooglez:
Search for sdsplit, it's a script that will do it for you, yes.
[G1 Android Development] DroidDev:
ok so used partition manager and formated then tried to do apps2sd2 app and rebooted the phone... help please
[G1 Android Development] birkholze:
paid app problem

after switching from the old method to this one, i am having problems installing some of the paid apps i bought on the market. the apps are snap photo pro and hello im. when i try to install them, it says it was successful but then immediately force closes when i try to run them. they worked fine with the other method. any way to fix this??
[G1 Android Development] parmenti:
I did everything the same several times also until reading your post. THIS time I did everything the same except did NOT reinstall setCPU and guess what? Wallpaper works!! Could this really be the problem? and if so, how?
[G1 Android Development] misaelrod:
Hi guys,

I need some help. I followed the directions to the letter... three or four times now and have read through most of the posts on this thread... I resized and reformatted my 15GB MicroSD card to give me 3GB of ext2... however when I get done with the proces, it says that there are only 43MB of internal phone storage (seems like it only freed up about 25MB...

Secondly, when I go to install and app from the market, it doesn't even download it, it just tells me "sorry, there's not enough space to install this item".

I used AppstoSD and when I look in /system/sd/app, app-private, and dalvik-cache, my stuff is there, but there is nothing in data.

oh yeah, I am running JF1.5...any thoughts?

Thanks in advance.
[G1 Android Development] parmenti:
3 gb of ext2? WOW.. you'll never even come close to filling 1gb most likely.. anyway.. sounds like it's probably faulty formatting on the ext2. I had poor results on some intitial formatting also. I had a hard time with gparted but paragon worked perfectly for me.
[G1 Android Development] MarcusMaximus04@gmail.com:
The internal storage includes the data cache for apps which my app does not do(and will not ever do, it's too unstable). For "not enough space" it's probably a faulty partition. What could help some is doing this in the terminal emulator:

su

busybox df -h

EDIT: I mean may help me see what's going on, post the results here
[G1 Android Development] MarcusMaximus04@gmail.com:
No, as you can see in my reply to his post, the problem was solved 2 days ago in my script. Both him and you will probably also notice that your internal memory is back down to showing <74MB because it's showing the actual internal memory rather than the ext2 space.
[G1 Android Development] parmenti:
yeah, sorry.. I had to reformat ext2 and do a full wipe and then it started operating properly.. when I didn't wipe or reformat, it showed the new correct internal memory, but backgrounds still weren't working. All is good now though. Thanks for all your help
[G1 Android Development] parmenti:
Marcus.. any input on this app?

http://www.cyrket.com/package/it.tautility

Also, could you breifly tell me what the dalvik-cache is?? and should I put that on sd also? Is it stable? or just leave things how they are?
[G1 Android Development] bountyhunter:
I applied your latest fix (yesterday one), but wallpaper issues are still there. It was fixed partially. Today I found out a new issue with the latest patch: when restarting your G1, wallpaper works again, but just for half an hour or an hour then it's back to the very beginning.

Marcus, do you have any ideas?
[G1 Android Development] MarcusMaximus04@gmail.com:
??? I just tried it and it worked fine for me and my phone's been on for over 24 hours without rebooting. Is this with JF1.5 I'm guessing?

EDIT also you might try a wipe if it's happening consistently. Remember though, after a wipe you'll have to repeat this tutorial(not that it's really that hard)
[G1 Android Development] MarcusMaximus04@gmail.com:
Dalvik-cache is what the operating system uses to keep track of app data(as opposed to data cache which the apps themselves use). As of yet I have found no problems with moving dalvik-cache to the sd card.

For that other app, it worries me a lot 'cause there's a reason I took out moving the normal cache to the sd card from my app. It's incredibly unstable and causes "Stale NFS file handles" which render files totally unusable by the system(causing boot loops) and makes them unremovable as well.
[G1 Android Development] parmenti:
how much room can the dalvik-cache save you? is it significant? or not really?
[G1 Android Development] bountyhunter:
I'll make another wipe and will report to you soon. Actually I'm using JF rom cause I like its speediness
[G1 Android Development] MarcusMaximus04@gmail.com:
~30MB, so ya, pretty significant.
[G1 Android Development] MarcusMaximus04@gmail.com:
Wait which JF ROM? 1.5?
[G1 Android Development] bountyhunter:
Yeah, it's the JF 1.5 ADP - the fastest rom ever
[G1 Android Development] LucidREM:
and this is because you stopped unionfs on /data and are doing the individual folders now .. yes?
[G1 Android Development] MarcusMaximus04@gmail.com:
Alright, let me know if a wipe fixes it.
[G1 Android Development] MarcusMaximus04@gmail.com:
Indeed, I originally did the whole /data just cause that was what JF suggested and since he knew a lot more about unionfs and such than I did, I assumed that would be best. Of course, even JF isn't infallible.(Note: not at all blaming JF for this, he helped me figure this stuff out and there's no way I could have done this without him)
[G1 Android Development] borodin1:
Marcus, could you go into detail on that? By "other" cache do you mean browser, market, street view and map cache? If so, then why is it unstable?

The reason I ask is that I ran symlink method since November and had no problem whatsoever, not once. And, so far, I can't get a grip on this new method. Not anyone's fault, no pointing fingers... just me being retarted.

At this point I am reformating my SD, loading clean JF1.5 or Dude's 1.2 if it comes out and starting fresh. We'll see if I can get it then.

Still, I want to have my browser, market, map and streetview caches on SD. Should I go the old way (ln -s) or do you have a better way to do it?

Thank you.
[G1 Android Development] jikei:
I used the first Apps2SD a 2-3 weeks ago. To use this new method, go to recovery terminal, do

mount data

rm /data/app

mkdir /data/app

then run the new Apps2SD2? or do I need to follow the entire tutorial then run Apps2SD2? Does it require re-installation of apps?

Since I've had no problems, should I even bother with this new method, or if it's not broken, leave it alone...
[G1 Android Development] ctecamp:
aps2sd.apk

As soon as I select copy apps my phone reboots, On reboot I find that only a empty app folder is on my ext2 partition. So I did apps to sd manually with some success, my apps are on the sd card, I have 73mb of space on the internal memory however some apps work some don't, I can't change wallpaper, and if I try and change ringtone system settings force closes.

I am willing to start all over but I wonder where I went wrong.

ctecamp

rooted G1 with JF1.5

openhome

aps2sd

8gb sdcard with 1 gb ext2 7gb fat32
[G1 Android Development] MarcusMaximus04@gmail.com:
Whether or not you update is up to you, but this new method is a lot more forgiving for most sd card problems(such as removing it or a hardware failure)

For how to update, you need to run through the whole tutorial as there's some script files you'll also need. Make sure you remove those symlinks and don't use the first appstosd app with this method 'cause it'll break everything.
[G1 Android Development] bountyhunter:
Mission fail. Problems are still there. I'm trying not to move dalvik-cache and data. Report to you later!
[G1 Android Development] rushless:
Question please:

What difference does having 40 megs or 70 megs free if all apps will install to card anyways? I have 12 megs free and have zero problems that I am aware of at least.

It would seem better to leave both cache types on the device since you will still have 30 to 40 megs free for apps to play in and maintain better stability with system cache on the device itself.

I play Metal Slug fine with just 12 megs free and that rom is a memory hog compared to apps in the market.

I appreciate the insight!
[G1 Android Development] MarcusMaximus04@gmail.com:
Correct, notice I never suggest one way or another on whether or not to move dalvik(I've never seen any problems with it, but as you said it's not super necessary, but I'm not gonna tell people what to do with their own phones). With normal cache I outright say I'm not going to support moving it, because I've seen personally that it's just way too unstable.
[G1 Android Development] borodin1:
So question remains... what is "normal" cache?
[G1 Android Development] MarcusMaximus04@gmail.com:
Sorry it took so long to get back to this one, wanted to think through my response. By other cache I do mean the actual cache for each app(stored under /data/data). Moving that works great for some people, and if it's worked for you then more power to you. But just too many people(including myself and The Dude) have experienced problems with moving that cache causing stale NFS handles for me to ignore that as a problem. Using symlinks won't help(though just moving certain app's caches might, but I'm still not willing to support it) because it seems to be a problem caused by having the caches on the sdcard, regardless of what method is used to put them there.
[G1 Android Development] rushless:
Great points! I think it may be good though to point out to people that they are creating potential stability issues without any real benefit in doing it. I see a lot of good guides, but nobody appears to point the functional reasons it makes no real difference in performance, but does risk stability problems. People do point it out, but not in the guides. Unless I missed it, which is quite possible.

I am full of it anyways, since I just bought a 16gb class 6 card and still too jittery to take the apps2sd plunge. I did root and have JF 1.5.

Question- if I do either apps2sd method, will I be able to update (in theory) to a new JF build with no further process in regards to apps2sd?