yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] t1h5ta3:
i have jf1.5adp a2sd installed, ran thru the steps, it booted up, started to run, then i get constant force closes, for most apps it goes away after a time or two, but i get a constant android.process.acore force close constantly. if i leave it be, it reboots after about a min, then does it all over.
[G1 Android Development] m3@twad:
got it

well i am finally back on jf's adp 1.5 with root of course. its time for bed, marcus if you have time i am willing to try agin, i dont know what i did wrong the first time but i am not doing it agin unless someone wants to help walk me through the process while i am online. just give me a time, i would really like to use your app, i have paid for your first version and your second but never been able to use either one, guess i am just supporting the cause in any case, maybe someday i will figure it out.
[G1 Android Development] lazaro17:
same thing happened to me.

all was working fine for about 15 minutes then lots of force closes then the g1 screen infinite hang.

what i did was move a fresh build to my sd card. rename it update.zip. shut down phone (in this case battery pull). then hold down home + power to go into recovery mode. alt+w (wipe) and alt+s (install new build).

it was frustrating in my case moving something to my sd card without my phone but i managed to find an old blackberry of mine and used that as a card reader to move my update.zip onto the sd.

from here you can either try again or in my case wait a few days and read on more results using this new method.

*edit* woops just saw you got it figured out. anyway i'll leave this up for anyone else who might be having this issue.
[G1 Android Development] SpyderMS:
I just installed Haykuro's new SPL, and afterwards, reflashed TheDude's 1.1a as we're supposed to, without a wipe, and I'm having the exact same problems. I see you're running Haykuro's SPL as well. I'm going to guess this is the cause of our Force Close problems... now how do we get around them is the question :confused:

Edit: This might just be a protected apps issue. Once I re-copied a2sd.sh to the phone, and then uninstalled/reinstalled my protected apps, the Force Closing problems seem to have stopped.
[G1 Android Development] t1h5ta3:
i dont know... ive tryed reflashing everything i can find, and they all have issues. it has to have some thing to do with my sd card. i can run anything aslong as i dont try to do the scripts...

i even went to redo my sd card, but i had the free version of paragon...

grrr... the dude's stuff wont even load.. im guessing because it trys to basicly do the work for us...
[G1 Android Development] Automization:
All is fine - but how to start the applications installed on SD ?

Hello Guys,

did my very best not to bother you, but I have searched hours now to find an answer --- I have failed.

My question:

I have installed JF 1.5 and also the A2SD modifications - works absolutely fine.

After a wipe when I am reinstalling the applications from the market, the applications are definitely on the SD Card, but their icons are NOT! to be seen in the Start Up Menue ... (only the standard icons from the fresh Android)!

The only way to start them is trying to reinstall them from market - being said "(already) installed" and then open it

OR

to "Add (the icon) to Home Screen" and then start the icon from the Wallpaper.

How can I manage to get the icon into the start up menue ?

What did I miss ? Feature or Failure (of mine) ? Do I need an additional application to make them visible/known ?

Thanks in advance - any hints are appreciated.

Android G1 Newbie
[G1 Android Development] iRobC:
Is there a significant performance increase using Apps to SD?

Has anyone measured any tangible benefit to putting apps on the SD other than the extra internal space? eg. speed? I'm running 46 apps currently @ 23MB of 74MB on a JF 1.5 rooted phone and don't have any lag or performance issues.
[G1 Android Development] t1h5ta3:
ok, i think im back up and running.

i went to http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD

and re did all the steps manualy thru adb

all is now good.

now im going thru the 140 apps on adog and reinstalling them so market updates and i have icons. i learned my lesson, will now be useing backup for root and nandroid more often.
[G1 Android Development] dixxa:
bump here,

Nobody has answred me yet :(

http://xdaforums.com/showpost.php?p=3788647&postcount=624
[G1 Android Development] xJCHAVx:
a lil help please

OK so obviously something went wrong with my partitioning the first time . After rebooting my g1 just hung on t-mo g1 screen.So I wiped and updated back to ADP 1.5 bak to the beginning I ran the init.rc and a2sd.sh and redownloaded Appstosd2 (big thanx again Marcus!!!) no problems partitiong this time but I did get a force close but after selecting wait I was prompted to reboot n everything is running great now. However I did run the update commands in terminal emulator ... or tried to... I was able to enter:

su

rm /system/intmem/a2sd.sh

rm /system/intmem/init.rc

But when I ran:

cp /sdcard/a2sd.sh /system/intmem/

I received a file doesn't exist error (sorry I didn't save it). So then I reset emulator and tried again but when I entered:

su

rm /system/intmem/a2sd.sh

I received the following error:

rm: cannot remove '/system/intmem/a2sd.sh' : no such file or directory.

I would assume that i need to run these commands as i'm using JF ADP 1.5 is that right? Did the 'rm /system/intmem/a2sd.sh' command fail the second time becasue it worked the first time? Did I do something wrong? Sorry so many questions.
[G1 Android Development] dixxa:
/system partition is a read-only file system you need to adb remount or use

the

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
[G1 Android Development] Christian S.:
The same is happening on my phone right now.

But: Wiping doesn't help! What can I do? The G1 is my only way to access the SD card and get an update.zip onto it. :confused:
[G1 Android Development] Automization:
Jepp ... every Boot helps ... or in German: Jeder Boot tut guuuut!

After a Reboot all icons are found in the Start up Menu as well ... (and any new application icon following without a reboot inbetween...) :confused:

Seems that Bill Gates has helped to develop G1 Android .... :eek: :D :p :D :rolleyes:
[G1 Android Development] lazaro17:
you may need to use a card reader or find another phone to just plug in and move over an update.zip over to the sd card.
[G1 Android Development] andonnguyen:
you're doing the wrong commands. it should be:

you're getting:

rm: cannot remove '/system/intmem/a2sd.sh' : no such file or directory.

because a2sd.sh is not there to begin with. which would explain why you got the previous cp error. it will only exist if it was there before, and that command is only if you're upgrading from an old script. it seems like you wiped so all you would use is this:
[G1 Android Development] slippylane:
Help needed

Loving the new apps to SD method :-)

I got a T-Mobile G1 phone purely to hack at it. With some fear, I began...

Make backups - success!

Rooted phone - success!

Make backups - success!

JF 1.5 firmware - success!

Make backups - success!

Apps to SD - success!

Right, I thought, this is going far too well, time to make double-redundant backups. So I did, even going so far as to create a second SD card which had an exact duplicate of my working SD card. Just in case. I'm glad I did - my regular SD card failed. It decided to completely wipe itself when I powered up my phone an hour ago. No problem, I thought, I'll just stick my (tested working) backup SD card in, and all will be well.

No such luck.

My phone has been stuck at the glowing android loading screen for 20 minutes now. I'm assuming this has happened because the phone was powered up with an effectively blank SD card onboard. Will this have just caused files to appear in folders that should be empty for mounting? Is there a quick and easy way I can fix it so the phone will boot with the SD card in again? If necessary, wiping phone is no problem - double redundant backups :-) - it just takes longer than I want to spend doing
[G1 Android Development] Longsh0t:
A couple of issues...

I copied all the data on my 8gb card to my desktop and then ran Apps2SD to format the card. I selected 500mb for the ext2 partition but it only listed 2.8gb available for my fat32 partition. Where's my other 5gb?

I'm also getting a force close error when running the apps2sd application after following the tutorial.

Any help would be greatly appreciated.
[G1 Android Development] wimbet:
Had similar issues with my 8GB card. I read the sdsplit script was supposed to support cards over 2GB, but maybe there are still some issues. I think the slider might also be causing problems. I repaired my 8GB card and I will attempt this again soon.
[G1 Android Development] davidbauer:
apptosd2 reboot.

When I run "appstosd2" command "copy apps to sd" my phone reboots. I do not see any memory change on my internal memory usage. Also checked delete from internal memory. Is that suppose to auto reboot or is it not working? Please advise.
[G1 Android Development] malaeus:
i am having a similar issue, the internal memory indicator on the new Apps2SD2 says i have 28MB free of 72. yet i moved all my apps to the SD.

they are still lagging horribly, i have moved a few apps back to internal mem again. yet no change with internal mem display. should i move the dalvik-cache, with my apps to make them faster?

it has gotten to the point where it takes so long to perform ANY action on my phone that it is likened to trying to download a 3GB torrent on 56K phone modem. including the lack of being able to make PHONE CALLS!

just from android home, it takes ~18 seconds to open the dialer menu.
[G1 Android Development] denward:
im interested in doing this. i am running the JF 1.5 build and purchased the appstoSD2 app off of the market. when i tried to run the app, it said i needed to come to this site and follow the instructions.

as far can tell, i need to first partition the SD card. then i have to put the ap2sd.zip and the init.rc.zip file into the root file. where do i get the init.rc.zip file?

also, my root file is completely blank when i access it from my comp. no folders or anyting... is that right?
[G1 Android Development] ckessler235:
Dude, on the first page of this thread is the files you need to download.. just download them and put them on your sd card after it is partitioned...
[G1 Android Development] xJCHAVx:
I ended up using the 1GB SD that came with my G1. I have ADP1.5 and the radio file on my pc so I just loaded the radio first and booted (hold home and power key for about 20 seconds) wiped and then Alt+S to run the radio update.zip after that I rebooted (home and back) after that I was still hung on the G1 screen. Pulled the battery and ejected SD and loaded the ADP1.5 update.zip and deleted radio file. Booted again Alt+S to apply the update.zip file and rebooted (Home and Back) I was back up and running in like 10 min. I used my friends G1 actually connect to PC and load the files on the SD. Once the files was loaded just ejected the SD and inserted into my G1 and booted. After that I was able to reinsert my original SD card which was reading as damaged. I then connected to my PC deleted the EXt Partition using Disk Managment (Control panel>Administrative Tools>Computer managment> Disk Mangment) then reinserted SD card into my new restored G1. It sill showed damaged SD card so I unmounted the SD in the G1 menu then reformatted. After that I was good to go. I just downloaded Appsto sd2 and followed the instructions. This time I only put about 1500mb for my EXT2 portion and I was Cherry. Once again Thanx to all u guys out there for putting ur apps out for little to no $. U guys are awesome and help people like me get the most out of my device. Thanx again and hope this helps
[G1 Android Development] denward:
i see the first a2sd. and i appstosd2. i dont see the init.rc.zip file. am i just blind?
[G1 Android Development] xJCHAVx:
The A2sd.zip file have the a2sd.sh and the init.rc files u just have to download them and extract all files. Then ur good
[G1 Android Development] denward:
wow.. thank you
[G1 Android Development] tcemle:
apps to sd

thanks for the info i will try and complete this and see if i can get my apps on the SD
[G1 Android Development] shaka5:
What about us noobs??

Seems like every1 has their own way on doing this, but this is way to complicated, someone should make a video on the steps on doing this, would really appreciate it...or atleast explain it more clearly, some of us need you all to dumb it down for us...i used appstosd and it crashed my 8gig sd..had to reflash the phone too, don't wanna do anything else until instructions are better
[G1 Android Development] overground:
I just checked out the new apps to sd 2 app, and really nice additions, Marcus. I haven't tried the moving apps/dalvik back and forth yet (mostly because I don't need to), but it looks really cool. Good work! Thanks.

Only suggestion I have is in the move apps/dalvik section, maybe making the text color white or lighter (maybe grey?) It can be read, but takes a little closer attention than maybe having a lighter colored text against the blue/black background. Just my $.02
[G1 Android Development] cal3thousand:
Well... since my last post, my phone has been an absolute POS.

It would not stay unglitched for more than 5 minutes. After some snooping, I found that the EXT2 Partition was absolute riddled with errors. I'm not sure where these inode errors are or where they came from. I think my phone may have been writing files when it was powered off. I could NOT for the life of me, partition over the area where the errors occurred.

2 things to note about this:

1) This unionfs method allowed me to have my phone working at a basic level without the card. I even had some of my favorite apps as they were located in intmem. Definitely a powerful reason to use this. (I just rooted my wifes phone and have the old symlink method and I am about to switch her over to unionfs.)

2) I tried to repartition the card using GParted and although it seemed like it worked, the phone didn't recognize the partition. I was stumped, until I realized that The APPS2SD app would do it for me. So, with some aprehension, I tried it. To my surprise (not a shot at Marcus, just unsure about apps that do hacks for you), it worked beautifully. My FAT32 partition, didn’t notice a difference except being smaller. Will need to check out the actual partition and where it sits later though. Hopefully it was partitioned over the "bad" areas and fixed them.

Any case, thanks again Marcus.
[G1 Android Development] cal3thousand:
Question about Symlinks

Marcus:

I have been noticing that during browsing, the cache fills up quite fast and since the system doesn't notice that its low on memory, this will overfill and screw up the system. I don't want to have to go into the browser and dump the cache every other day.

Is there anything special I have do other than symlink the webviewCache folder again? Will this get deleted by anything in your scripts?

TIA
[G1 Android Development] Henchman:
I woudl eb interetsed as well o know why the browser doesn't empty it's cache on-time.

Brwosing wiht the G1 becomes incredibly frustrating
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm haven't noticed a problem with the cache filling up... At any rate, you should be able to make a symlink to the browser cache fairly safely(although if you take out the sd card, the browser will crash). My script will only delete symlinks named "app", "app-private" or "dalvik-cache" under the /data directory, so you should be fine by way of that as well.
[G1 Android Development] cal3thousand:
Cool. thanks for answering my question.

IIRC, When I had the symlink method, if I had my card out (caches to FAT32), the browser would just revert to using internal memory.

Now the question I have is: Is there any benefit to having the webviewCache on the EXT2 partition? Any cons?
[G1 Android Development] MarcusMaximus04@gmail.com:
No clue, I just keep dalvik, app, and app-private on the ext2. I'd imagine benefit would be more free space on internal and con would be slight possibility of eventual Stale NFS file handles.
[G1 Android Development] cal3thousand:
Is there any reason to worry about concurrent attemps to read/write to the same partition? Or would those not matter as much as the fact that they are writing to through the same bus?
[G1 Android Development] MarcusMaximus04@gmail.com:
I'm not really sure, but so far I don't think I've encountered any problems with it. For concurrent reads/writes to the same partition, from my understanding this isn't any different from a normal drive in a linux machine, so the same rules should apply, I don't foresee any problems.
[G1 Android Development] overground:
Hey, Marcus. I'm trying to install Haykuro's new IME, however I cannot get it to take using these commands either through ADB or Term emu. They copy and push fine, but I'm thinking with apps to sd, I have to change where they are being copied to.

$ adb remount
$ adb push libt9.so /system/lib/libt9.so
$ adb push HTC_IME.apk /system/app/HTC_IME.apk
$ adb shell reboot

or use the terminal code which is

# su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp /sdcard/libt9.so /system/lib/libt9.so
# cp /sdcard/HTC_IME.apk /system/app/HTC_IME.apk
# reboot

Can you please tell me where I should be putting these (i.e. /system/intmem/app or /system/sd/app etc.) or if it should be working where they are currently going? I don't need this keyboard, I just wanted to check it out. So no rush on the reply. Thanks. ;)
[G1 Android Development] MarcusMaximus04@gmail.com:
No, those go in the /system directory, so appstosd wont have any effect. What error are you getting? If it's saying not enough space, it's probably cause the system device(/dev/block/mtdblock3) doesn't have enough space left.
[G1 Android Development] ragingthai1234:
how can i check if all the appstosd is working rite? because i been installing apps and cant find the apps ne where in linda file manager. can sum one help? because i really dont know if it's really goin to the sd memory or not
[G1 Android Development] ctecamp:
Hidden files won't show up in linda. Open terminal emulator and

cd /system/sd/apps

ls enter

you should see a list of apps on your phone including those you just downloaded.

These are on the sd card.

cheers
[G1 Android Development] ragingthai1234:
so i open terminal emulator then type "cd /system/sd/apps" hit enter then "Ls"? and enter?
[G1 Android Development] ctecamp:
correct as root so

open terminal emulator

su <enter>

cd /system/sd/app <enter>

ls <enter>

will list all apps on sd card.

Cheers
[G1 Android Development] ragingthai1234:
so if all the apps is listed in here then everything is worrking rite? aight ty u much ctecamp i see all the apps i downloaded in here
[G1 Android Development] overground:
No error whatsoever. Plenty of space here, especially with the new SPL. Everything seems to copy over fine. Just no go (get Dude's keyboard) when I initiate a text field. Don't worry about it, I probably won't like it anyways. Taking your reply into consideration, I'm thinking maybe this is the wrong thread for this post. Thanks for the info :cool:
[G1 Android Development] tcemle:
apps on sd card

i am still having trouble finding out if the apps are going to the card instaed of the internal memory. i tried using the terminal but not all the apps are showing up and i show 37m out of 78 used of internal but a total of 1077m total storage when i go to settings to check sd and internal storage. i need to know my apps are going to the sd, would i have more memory if the cache was moved to the sd?
[G1 Android Development] jacsonmoore3:
dont WORK 4 the RC29..what do i need 2 do im new at this..thzn advance
[G1 Android Development] malaeus:
?

you need to be running one of the ROOTED "cupcake" 1.5 mods, ( JF , Haykuro, TheDude etc.)

please try to elaborate on your issue. simply stating that something doesnt work, is hard to understand.
[G1 Android Development] BolecDST:
Just a theoretical question. Is there a way to copy the files .apk from /system/sd/app somewhere to the SD card and then share them with my polish buddies who have problems with accessing market/internet? If yes, which commands should I type in terminal emulator to do this? And am I correct, that by copying these .apk files they can install the apps? Thanks in advance for any answer.
[G1 Android Development] MarcusMaximus04@gmail.com:
No, copying to the FAT32 partition screws up the permissions(since FAT32 doesn't have any). If at all possible, I'd try just using a linux computer to read the ext2 partition and grab the .apk files directly. Of course, if your friends don't have this method of appstosd set up then there's not much of a way to get the apps on their phones anyway.
[G1 Android Development] Longsh0t:
So after letting my G1 format my SD card I ran apps2sd again and got it to partition the ext2 and fat32 partitions. I am running JF's 1.5.

Next I ran the Terminal Emulator and entered the following:

su
mkdir /system/sd/app

Message I get is "mkdir failed for /system/sd/app. File exists" so the folder obviously exists.

Next I type the following:

su
cp /sdcard/init.rc /data/
cp /sdcard/a2sd.sh /data

I do not get any type of error so again, I'm assuming this worked.

I restart and then download a couple of apps. Prior to downloading them I have 17mb free of system space and after downloading I have 12mb. Doesn't look like apps are being installed to the sd card.

I run apps2sd again and I get the message tellilng me to come to the forums and follow the directions.

What step am I missing? Anyone in the seattle/tacoma area willing to help me get this setup. I'm willing to pay. LOL.
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm did you have the a2sd.sh and init.rc files on your sd card? It sounds like something went wrong with the copy. Make sure you have those files and try those cp... commands again.
[G1 Android Development] Longsh0t:
Yes. I confirmed the files were there and even redownloaded them from the 1st post. Followed all the commands again and everything seemed to go fine. I restarted my phone, went to apps2sd, and it still prompted me to go to the forums. I'm assuming there would be some alternate screen if everything went fine?

I'm debating on re-imaging my phone again to try to get this to work.

I'm actually wondering now if apps2sd created the ext2 partition or not. I downloaded an app called "IFS Drives" which should allow me to view ext2 partitions but when I run it I do not see an ext2 partition. Any other suggestions on how I can confirm that the ext2 partition was created properly?
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm you could try "busybox df -h" and make sure /system/sd shows up there at (roughly) the size you set it to.

EDIT: Speaking of which... that could be a hole in my app, if there's a /system/sd directory but nothing mounted there it might still think it exists... I'll have to look into that...
[G1 Android Development] Longsh0t:
Ran the command and I'm guessing this is the info I should be looking for:

/dev/block/mmcblk0p2 448.3M 2.3M 422.9M 1% /system/sd

I had the slider for the ext2 partiiton to 480mb, iirc so this looks about right.
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm that is just strange, I'd try just reflashing the ROM with a wipe and starting over(the ext2 partition seems fine as far as I can tell)
[G1 Android Development] Thats BS:
Phone freezing.

First off, a big thanks to Marcus who has been helping me through email. Thanks man, you are too kind. Now, my problem. I have JF 1.5 and did the apps2sd instructions on this thread. I ran Marcus's app and everthing is working except two little problems that have stumped me. First and foremost my phone is freezing up alot. Second and totally minor, is the low space alert won't leave the notification bar. I have done a factory reset and reformatted the sd with the same results occuring. Any help would be much appreciated. Thanks.