yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] dixxa:
only one thing to say,

when you mount your sdcard it mount /system/sd as well :(

anyway to block the mount of that partition ??
[G1 Android Development] diaztradeinc:
Ok I followed all steps to the T, after i finished I downloaded an app to see if everything went well, and phone's internal storage went down. Also after reboot when I tried to install an app it rebooted on its own.....hmmm any suggestions?
[G1 Android Development] nockam:
I am glad i found this thead. I wasnt wanting to know how to do it, i was mistakely thinking that these Apps on SD card builds were putting the stock google apps (maps, email, IM, ETC) on the SD card. I kept installing the 4.9 and wondering why the apps were missing.
[G1 Android Development] tokyomonster:
What do you mean?
[G1 Android Development] Darkrift:
Yeah, what do you mean dixxa? I see no reason why that would happen, and if it had happened to me during testing I would have noticed (icon in taskbar shows in cupcake when sd is missing)
[G1 Android Development] mark925:
I already had apps to the SD card so this worked great. Nice job.
[G1 Android Development] amac25:
Why is everybody ignoring my question is it really that stupid
[G1 Android Development] pkmoazzam:
hello guys,

i understand about first, second, third steps,

but Fourth "'run adb remount' (on your desktop), then 'adb shell' and then the following commands (to setup busybox)"

what? where is adb remount and adb shell? u mean terminal emulator or command from windows xp or vista or from android SDK? i dont really understand this parts. if you guys tell me simply, then i may totally understand

thanks
[G1 Android Development] pkmoazzam:
nevermind. got it. thanks
[G1 Android Development] dixxa:
Well i tried apps on sd with the 4.9 build

and all worked flawlessly when i plugged my phone to add some stuffs it mount my ext2 partition as well.

and the reaaally strange part is that it's read-only and the partition is still present on the phone.....

I'm kinda lost.
[G1 Android Development] Darkrift:
Odd, I dont use the UMS feature so it might be a bug I missed. Ill try it out tomorrow.
[G1 Android Development] zwuncki:
I'll better post it here also it's not quite what my question is about.

I just want the installation files from market apps on my SD. xxx.apk ...

Then I wanna install it on my device (4.0 version without market).

How do I get the .apk files from market on the sd without having to do this apps to sd procedure? I don't want the app itself on the sd, just the installation file!

Thx!
[G1 Android Development] Darkrift:
<ass'ish content removed>

I counted to ten, and decided that in the confusion I can see why you posted here. Answered in the other thread.
[G1 Android Development] zwuncki:
Maybe it's because one says I should post it here, you say I should post it somewhere else!

And that happens all the time.

I don't wanna backup anything.
[G1 Android Development] AGx-07_162:
^ Unfortunate but true. Good job on this btw but again thats the sad truth about this forum. Hard to find anything thru the clutter of "Rah's", dumb questions (that can usually be answered in the starter post of most topic) and arrogant people who just cant answer a question and instead go on to insult a person, which gets a dumb reply, which gets a dumb reply.....

|Spike|
[G1 Android Development] Darkrift:
True but reading through my posts ive noticed ive bee more of a **** that I should be. I have 3 kids, and i cant be that impatient with them.
[G1 Android Development] cevatt:
at what point do the instructions change if you use this method? can you avoid step four and five if you use the terminal emulator? i don't want to mess with the sdk if i can just do everything on the phone. i apologize if this is a stupid question. i've been thru a variety of builds but this is my first attempt at apps to sd.
[G1 Android Development] KPeriod:
You'd still have to go through steps 4 and 5, you can type those in the terminal emulator too (just enable super user first, i.e. make your first line '$su').
[G1 Android Development] cevatt:
cool thanks for the quick answer!
[G1 Android Development] tokyomonster:
So your OS(presumably linux since it's mounting EXT2, unless you have the windows drivers for that) is also automounting your EXT2 partition when you plug your phone in?

If this isn't adversely affecting anything, it shouldn't be a problem. If it's really bugging you, turn off automounting.
[G1 Android Development] dixxa:
yeah I'm under gentoo

but maybe we can modify the mount file

with jf the ext2 wasn't mounting

## mountd configuration file

## add a mount entry for each mount point to be managed by mountd

mount {

## root block device with partition map or raw FAT file system

block_device /dev/block/mmcblk0p1

## mount point for block device

mount_point /sdcard

## true if this mount point can be shared via USB mass storage

enable_ums true

}

only the sdcard was mounting

I'm not whinning just trying to fix that :D
[G1 Android Development] pixel-painter:
I am so grateful for this, I have no problem with the whole getting apps to the SD card, but have not been able to get busybox working as the path was breaking at every reboot. This is a different version of busybox and a much easier method of install... been tearing my hair out for a day and half trying to get busybox installed..... and I don't have a whole lot of hair either :p
[G1 Android Development] MarcusMaximus04@gmail.com:
Has anyone had any touble using GParted to partition the SD card for this? I used it and made the FAT32 and EXT2 partitions but no matter what I do I can't get the phone to recognize the EXT2 one. Nothing ever shows up in /system/sd. Is there some special mounting command that has to be done to make it show up there? (btw: before I get flamed, I have checked numerous other posts on here and tried searching for this for about 6 or 7 hours before posting this.) I also tried using the sdsplit script from here but it kept saying it wasn't found and for the life of me I can't figure out why(I tried setting up the path to include the directory sdsplit was in and even tried running the absolute path to it and it still said it couldn't find it) but that's a topic for another post, I'm just trying to show that I've tried to do my best to find the answer on my own.
[G1 Android Development] dixxa:
do it old style then, with fdisk, Gparted is not really good with sdcard.

if you need help doing it pm me or gmail me :)
[G1 Android Development] MarcusMaximus04@gmail.com:
*sigh* I suppose I'll try that. Ubuntu has made me soft haha. At any rate thanks for your help, I'll let you know how it goes.
[G1 Android Development] Darkrift:
First of all dixxa, That will not work because upcake does not have mountd.conf (which is why adding apps-to-sd was a bit of a pain).

Second MarcusMaximus, I had used gparted to shrink my 8g partition and create a 500mb ext2 partition on the card and it worked great.
[G1 Android Development] dwang:
So how does 4.5 mount the ext2 partition. I looked at vold.conf and I don't that anything was changed. What file did haykuro change?
[G1 Android Development] pixel-painter:
I also used gparted to partition mine.... :) Mind you.. I have Ubuntu and Dreamlinux both installed and I was having problems with gparted on Ubuntu but worked fine for me on Dreamlinux.
[G1 Android Development] footboydog:
I did a diff between the cam fix 4.5 build and the apps to sd 4.5 build and couldn't find any differences related to it either. I think the fix might be in the boot.img.
[G1 Android Development] AndroidSamurai:
Very Good Work Darkrift....

To all of you who have trouble runnin adb:

You will need the "Android SDK" or "Standalone ADB Package".

Unzip the SDK or the ADB Package and copy the unzipped folder to the root of your "C:/" drive.

Vista users must run adb from a command prompt with admin privileges... (this means right clicking on CMD and select "run as administrator")

Connect your G1 to your PC with the USB cable provided with your G1 or one with a ferite core.

DO NOT MOUNT YOUR G1 WHEN THE NOTIFICATION MSG APPEARS!

Now that you already have your Command Prompt window open you must navigate to the adb executable. (This is where we copied the folder earlier)

To navigate type the following command: (my folder is in C:\android)

cd C:\folder you copied earlier

Then we will run our needed commands:

C:\android > adb remount

C:\android > adb shell
# type next list of commands here

And you are all set to run the commands Darkrift has for ya.
[G1 Android Development] smuvman:
4.5 apps to sd

i formatted my card using partition manager and im using 4.5 apps to sd. i install busybox perfectly but when i enter busybox df -h i get

Filesystem Size Used Available Use% Mounted on

tmpfs 48.2M 0 48.2M 0% /dev

tmpfs 4.0M 8.0k 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 67.5M 63.6M 3.9M 94% /system

/dev/block/mtdblock5 74.8M 25.5M 49.2M 34% /data

/dev/block/mtdblock4 67.5M 1.3M 66.2M 2% /cache

/dev/block//vold/179:1

1.6G 1.7M 1.6G 0% /sdcard

i wiped twice deleted EVERYTHING of the card except busy box any help? oh btw im using a 2gb as practce so i dont screw up my 4gb i have 250mb for ext2. could that be the reason? also the ext is AFTER the fat16

edit: got it! i was using 1500mb as fat16 instead of fat32 and i repartioned the remainder as primary ext2 and now i have apps to sd :)
[G1 Android Development] ArronL:
i used to have apps on my sd card in JF's build so I know it's partitioned correctly. On Hakuro 4.5 build, it won't recognize my sd card at all. The only requirement I might be failing is the ordering? the ext2 partition must be second??
[G1 Android Development] TheDudeOfLife:
i use ext3 and it shows up just fine for me. Mine is fat32 and then the second partition is ext3. Make sure they are PRIMARY not SECONDARY (or virtual) partitions.
[G1 Android Development] pixel-painter:
A quick additional tip is that you can change the "Command Prompt " shortcut settings to always run as Administrator by right clicking on shortcut and clicking on properties and clicking on Advanced and check marking Run As Administrator. Now the shortcut will always run Dos Command prompt as Admin :)
[G1 Android Development] MarcusMaximus04@gmail.com:
Hey so I feel bad about my previous post, was stupidity on my part. I figured I'd let everyone know tho, since I could see other people making the same mistake(I'm not sure if you want to but darkrift: could you post something about this on the first post? I think I know my way around android fairly well but I still managed to screw this up, so it might be helpful for some.) I installed the wrong ROM. At least in haykuro's old first post, it made it sound(to me at least) like apps to sd card were working on all of the builds but they were actually only working on the ones with "Apps to SD" next to their name. I totally didn't catch that(it never said anywhere that that was actually the case) and went ahead and installed the 4.9 with the camera/audio fix. So everyone: make sure you install one of the ROMs with "Apps to SD" next to their names, I spent about a full day trying to fix this before I figured this out. :S
[G1 Android Development] a1t:
Dalvik

Has anyone had success sym linking dalvik to the sd on 4.5?

busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache

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

rm -rf /data/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

reboot

It is fine with the mount as read/write command but it still shows as a read only file system after I attempt "rm -rf"...

Any ideas?
[G1 Android Development] King_tee:
I have read this thread 10 times so im asking this question to make sure that i understand this correctly. If i am running LucidREM JF MOD and everything is set up correctly. All i should have to do is install Haykuro 4.5 APPS on SD and it should read my ext3 partition with no extra steps needed correct?
[G1 Android Development] pixel-painter:
I am pretty sure that you will at least have to re-do the sym links, and possibly re-upload the edited init.rc and mountd.conf and re-create sytem/sd directory.
[G1 Android Development] MarcusMaximus04@gmail.com:
Hmm strange that you're getting a read only file system error.. that said I don't think /data is mounted under /system so remounting system at rw won't effect it(not 100% sure but that's what how it looks to me). That said I did try moving the dalvik-cache over to the sd card and afterwards every single google app immediately crashed on opening.

and... tried it to make sure and it busted everything... *sigh* trying to recover now
[G1 Android Development] King_tee:
So when you say create sym links does that mean run the commands on the first page of this thread or the commands from the LucidREM thread?

And were would i find the init.rc and mountd.conf

Thanks
[G1 Android Development] a1t:
Dalvik

Were you successful with the move? What build were you on?
[G1 Android Development] TheDudeOfLife:
First off if you can see files in /system/sd/app then you don't need init.rc and mountd.conf...those files are officially old school ;)

When I loaded the apps to sd all I had to do was copy busy box then do the lines with

rm -r

and

ln -s

so remove the folder in /data/app and /data/app-private

then relink them to your sd card.

reboot and pray.

NOW. make sure you can go into the /system/sd folders as well as cd into the new linked folders /data/app and /data/app-private before rebooting or you'll be stuck with a looped phone till you can repair it.
[G1 Android Development] King_tee:
Okay I'm going to do this now wish me luck.

Thanks
[G1 Android Development] MarcusMaximus04@gmail.com:
Ya, got it to move. I'm on build 4.5 apps to SD version. Unfortunately afterwards every single app crashed and now I can't boot... any worse I can't figure out how to mount the ext2 partition of the sd card so I can get the dalvik-cache back :eek:
[G1 Android Development] TheDudeOfLife:
Good luck. If you phone loops don't freak out. I had a typo when i typed in my 'ln -s' statement yesterday. I was able to fix it with the phone in recovery mode, but boy did I have a headache in the meantime.

As long as your phone was wiped > apps2sd 4.5 loaded > do your rm/ln statements you should come up a happy user.

Edit: That magician is at it again.. He just updated 4.5apps2sd to have a working build.prop that lets us get protected paid apps off the market again. Gonna load it up and see if anything needs relinking.
[G1 Android Development] a1t:
Yikes

nogo on the wipe huh? For learning purposes, can you post the script that you used for this?
[G1 Android Development] MarcusMaximus04@gmail.com:
heh, sure, though it doesn't look too much different from what you did.

su

cd /data

busybox mv dalvik-cache /system/sd/cache/

busybox ln -s /system/sd/cache/dalvik-cache dalvik-cache

after that I made the mistake of closing the terminal emulator and every app I tried to launch crashed. I couldn't do anything so restarted, hoping I could move the dalvik back in the recovery terminal... unfortunately that hasn't worked out well so far... speaking of which if some1 knows how to mount the ext2 partition of the sd card in the recovery terminal could you post it here?
[G1 Android Development] TheDudeOfLife:
you didn't do a nandroid backup first?
[G1 Android Development] MarcusMaximus04@gmail.com:
*sigh* no, not that it would matter, I can fix this completely when I get back home(haven't downloaded that many apps since getting 4.5 anyway) and wouldn't be able to use a nandroid backup till then.

EDIT: HAHAHAHAHA!!!! Reflashing the ROM without doing a wipe fixed it!!!!
[G1 Android Development] samysam05:
I got Apps to SD to work with JF 's rom but when i try with this it never works!!! i can never see the system/sd part after doing busybox df -h, i know it properly spilt. Nothing works!!
[G1 Android Development] pixel-painter:
I think that has to do with "adb remount" command which makes the system writable after remounting ;) If it is not that (though I am fairly sure it is) and you are using DOS, make sure that you are opening a command prompt using Administrator Privileges.

Ohhh :) I forgot to mention that if you initially start the adb deamon without the proper privileges, then everything you do on the G1 will be without proper proper root permisiions. If you forget then you have to kill the server deamon "adb kill-server" and then restart it after you have the correct permissions "adb start-server" This of course means that if you forget then even using "adb remount" probably still won't mount the drive with correct permissions either ;)
[G1 Android Development] sdlong92:
Having problems with this portion, I had apps on SD before with a jfbuild and i can see both my partitions under ubuntu and the apps are still there on the partition. But after I run that line it is still not recognizing the partition on my phone. Does anyone have an idea of why this might be? I don't get /system/sd anywhere
[G1 Android Development] ArronL:
I am having the exact same problem and I see other users struggling as well. the partition worked under JF's rom but not here. What's the difference??

I see this line "make sure that the fat partition is FIRST******". So the 4.5 rom assumes that the fat32 partition is first and then the ext2/3 partition is next? Is that why it's working for some and not for others?
[G1 Android Development] sdlong92:
Well my fat32 partition is definitely first. I just switched back to a JF rom last night and it works just fine so I am at a lost. I might try ext3 instead of ext2 when I get home from class today and I'll definitely let you know how it goes. I used that VK for SMS last night though in 4.5 and now I think I will be ruined forever if I don't get it to work again :( (but i need more space! haha)
[G1 Android Development] pagubg:
I have the same problem now. First time, 2 days ago, when i tried to install the 4.5 build (apps to SD) version, everything was fine. I have made 2 partiotions, like in the manuals in WIKI, installed the new ROM and it was fine. My apps were on my SD card. Today, i decide to update the new version of 4.5 build and everything goes wrong. No ext2 partiotion mounted on /system/sd folder. I have put the SD card into my netbook and the both partiotions with data were there. There is something wrong in the new builds (apps to SD). I will attach a screenshot to show you my SD card partiotions.
[G1 Android Development] pixel-painter:
Having problems with apps to sd card too, the sd card ext2 partition is listed as being mounted... but its weird as it doesn't show the partition info properly. Have tried 3 times to mount apps using the newest 4.5 and 4.9 and it's not working for me.

edit

aaahhh image shack giving probs will repost image in a moment... gotta go pay the bills (go to work) will finish post later ;)
[G1 Android Development] pagubg:
I think i found the problem, but can not found the solution for now. The script which is located at the root directory "/" which is named runme.sh doesn't seems to work. I am trying to mount /system/sd manually but this does not work at the moment :). Just bricked my two partiotions on the SD card and need to rebuild them again.
[G1 Android Development] stogchris81:
I'm a little confused. I. want to do this from terminal emulator but there is another post that says do step 4 and five from 1st post first. But step 4 and 5 are already here. Please help.
[G1 Android Development] MarcusMaximus04@gmail.com:
to all having the problem with /system/sd not mounting. Make sure you have the apps to sd ROM. I dl'd it last night and it turned out to be the wrong file. I think there's a problem with the links on his site right now. Here's how to check: open the camera. If it shows things rightside up then you have the wrong ROM.

EDIT: also for

just run that from the terminal emulator. It should work. No need to run steps 4 and 5 first, it is a direct replacement for those steps.
[G1 Android Development] stogchris81:
well dont that beat on.

I would have never thought about that. But that is it. I just downloaded the rom about an hour ago. Where do I get it?
[G1 Android Development] MarcusMaximus04@gmail.com:
No clue, probably just wait till he fixes the links. I have the same problem so ya... I put a post about it in haykuro's main thread.

EDIT: I PM'd him about it too. Just letting everyone know so we don't spam him with PMs.
[G1 Android Development] stogchris81:
I thought I might have been flames for asking that question. You are the man general maximus. Ill just go to the rom thread and wait for it. Thanks.

Late.
[G1 Android Development] sdlong92:
Is it possible for someone with the correct ROM to please host it somewhere for download until Haykuro has time to fix his links please? Thanks in advance.
[G1 Android Development] Darkrift:
I am not sure many ppl keep them after flashing :(

I would, but I am a few roms back (I have made special edits to his roms before flashing them so I do not stay on the bleeding edge like some of you do).

Also, check out my wiki for steps on how to edit the boot.img. I was told to read it (yeah, i dont always read my own wiki) about a week ago and learned to edit the images. I have been able to make changes that me and haykuro talk about without having to wait for his next build. Given I am not nearly as good at it as he is, but I can do some basic changes.
[G1 Android Development] smuvman:
4.5 apps to sd
[G1 Android Development] sdlong92:
Just wanted to say thanks to Smuvman for reposting that ROM for me. Got it working just fine now :). I'm surprised how low the internal memory is, is that because of a lager ROM flash? Either way, thanks again for helping me get this to work.
[G1 Android Development] stogchris81:
Ok. I dl'd the apps to sd rom again(good one this time) and followed the directions for moving apps to sd from phone(terminal emulator) and I get a lil confused after those commands. I have wiped and tried it 5 different ways. Even ended up losing my terminal emulator all togather. I have rread this thread 5 times and still can't figure it out. Can someone do a step by step for terminal emulator apps to sd? Would be greatly appreciated.
[G1 Android Development] sdlong92:
I actually had to break down and finally do it through adb. Every time I typed " busybox rm -r /data/app" of course that would delete the terminal emulator which was just downloaded, which means the you can't continue typing in it as it doesn't exist. Is there a reason that you do not want to use adb? After i gave up on terminal emulator (and received the correct rom) it took literally 5min.
[G1 Android Development] vietkiller:
$ dd if=/sdcard/busybox of=/system/xbin/busybox

$ chmod 4755 /system/xbin/busybox

say not found and i install it on there already
[G1 Android Development] MarcusMaximus04@gmail.com:
He PM'd me and I'm trying to help him out, so no need for anyone to post things on here. If I get stuck too I'll try to forward this on to a real guru.
[G1 Android Development] stogchris81:
i pm'd you back but apparently i sent it to myself. im a tard. i finally got home and got it working through adb. sorry for the trouble. and thanks for everything, general maximus.
[G1 Android Development] rsweepe:
i have apps to SD right now on JF RC33 do i still need to do something to get it working on 4.5?
[G1 Android Development] MontAlbert:
apps to sd worked for me- had to flash an older version- the newer version does not find the apps ext2 partition. had to dl the one in this thread: http://xdaforums.com/showpost.php?p=3599400&postcount=94

so far so good...
[G1 Android Development] rsweepe:
Ok I'm here
[G1 Android Development] stogchris81:
check your pm
[G1 Android Development] jawash22:
apps to sd help

I get permission denied message after typing in $ busybox cp -a /data/app /system/sd:confused:
[G1 Android Development] jawash22:
When I get to this step:

$ busybox cp -a /data/app /system/sd

$ busybox rm -r /data/app

$ busybox ln -s /system/sd/app /data/app

it says permission denied. I do see /system/sd when i run previous step.