yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] TheDudeOfLife:
If you guys already have data in /system/sd/app and app-private you don't need to cp -a.

So if hyou're coming from an exisitng SD build...you should be ok with just the lines...

$ busybox rm -r /data/app

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

That's all I do between builds.
[G1 Android Development] jawash22:
My system/sd/app folder is empty, but i"m pretty sure my apps are going to my sd card. Are they just hidden?
[G1 Android Development] userfriendlyme:
could someone please help me with this on the 5.0G build. i have installed drivers. its reading adb interface in device manager with android phone listed underneath it however when i get to the tools directory and type adb shell it tells me device not found. im not sure what im doing incorrect im trying to post in the proper thread to avoid being yelled at.
[G1 Android Development] samysam05:
Moving app-private

Hey this is a great help but i think you should add the following for people who doesn't know::)

$ busybox cp -a /data/app-private /system/sd
$ busybox rm -r /data/app-private
$ busybox ln -s /system/sd/app-private /data/app-private

If you have apps to sd but didnt do those commands, certain apps( the ones that goes in the app-private) won't work(Hello Im!, Nba Game Time and more) you will get an error message. I can't remember where but someone was having difficulties using the apps they purchased("app cannot be lanuched"). Hope this helps someone out there who doesn't know.:)
[G1 Android Development] APrinceAmongMen:
Here's an alternate method if you want to do this straight from your phone.

1- Download Terminal Emulator from the market.

2- Open terminal emulator and type in:

su

busybox cp -a /data/app/com.android.term.apk /data/app-private

busybox cp -a /data/app/com.android.term.apk /system/sd/app

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

rm -r /data/app

reboot

3- Open terminal emulator again.

rm -r /data/app

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

rm -r /data/app-private/com.android.term.apk

restart your phone

4- Open terminal emulator one last time

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

rm -r /data/app-private

ln -s /system/sd/app-private /data/app-private

reboot

And you're done. I had to do this, because my computer does not recognize the phone with 5.01h a2sd.

Feel free to add it to the OP. :)
[G1 Android Development] robpet2:
does this work on the 5.0G apps to sd card version ?

also is it the same busybox zip that was posted on xda before ?

----------

edit:

I have busybox on my sd card but its says busybox not found in terminal..
[G1 Android Development] khoaitaychienvn:
If I follow these step, would I still need these commands below?
[G1 Android Development] Gimpeh:
Curious; once I've finished with setting this up, will all future apps downloaded automatically install to the SDcard?
[G1 Android Development] jawash22:
which busybox?

I tried it coming from jf apps to sd and after first line of inout and hitting enter it says busybox: not found:confused:
[G1 Android Development] jawash22:
rm -r /data/app deletes terminal emulator also for me. Where did you get your busybox?:confused:
[G1 Android Development] robpet2:
it delets terminal, but when you reboot, terminal comes back...

terminal acts like a fiend during this process... lol ..
[G1 Android Development] robpet2:
okay just did this mod, and have 14mb free internal... this is on 5.0G with apps to the sdcard....

wow.. something didnt go right..
[G1 Android Development] samysam05:
yes it works, and u get busybox from the first page of this thread.
[G1 Android Development] samysam05:
Yes. this redirects all apps to SD dont forget to move app-private as well or some apps wont work.

For people having difficulties with busybox make sure to do this step:

$ dd if=/sdcard/busybox of=/system/xbin/busybox
$ chmod 4755 /system/xbin/busybox
[G1 Android Development] samysam05:
You shouldnt have to. But i never tried it that way i followed the first page and added the app private. That works for me i currently have 42mb free/with 73apps.
[G1 Android Development] robpet2:
i did the commands, but it left me with 14mb free...

can i re-enter the commands or will i need to do a wipe first and then redo the commands....

if a wipe is needed i might just go back to the H version..
[G1 Android Development] samysam05:
did you follow the steps properly? do a backup and try again, if you followed the steps on the 1st page it should of worked.
[G1 Android Development] robpet2:
im gonna just do a wipe, and try it when i get back to the house... bout to leave and play some poker... gotta get some money real quick.. but im gonna be mobile.. try and shoot some video, and post it to youtube..
[G1 Android Development] APrinceAmongMen:
Sorry about the confusion. Here's the fixed up process:

There you go. There will be no busybox errors this way. Yes, the terminal emulator does get deleted a couple times, but when you delete it, just restart your phone and it comes back. You won't be able to type reboot into the emulator.

Follow it step by step. It's quite simple. Enjoy. :)

-edit-

It will work for the 5.0g version as well, unless busybox does not install correctly. You should not get any responses from the command lines except for this one:

This line should say it successfully transferred the file, yada yada.

Also, if it does NOT work, open up terminal emulator and type in:

busybox df -h

If you do not see /system/sd in there at all, then your ext2 partition isn't mounted correctly, and the problem could be a million different reasons.

Wish you all the best of luck.
[G1 Android Development] robpet2:
someone mentioned over in AC forums about davlik cache move - http://androidcommunity.com/forums/169153-post1916.html

to free up space... do you know the terminal commands for this ?
[G1 Android Development] jsapp:
busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache

rm -rf /data/dalvik-cache

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

reboot

http://xdaforums.com/showpost.php?p=3561752&postcount=26
[G1 Android Development] samysam05:
i never heard of this what is Dalvik cache??
[G1 Android Development] jsapp:
It's a cache that is created every app you install if I remember correctly.

On a side note, I get an error that "rm failed for -r, Read-only file system" when I type this line:

"rm -r /data/app-private"

Do I need to do a chmod command, or something else?
[G1 Android Development] samysam05:
ok, will it hurt if i move it? or do i need a class 6? and for your problem did u follow the steps and did the chmod for the busybox? it shouldnt give u a problem..
[G1 Android Development] jsapp:
I have no Idea, I found the the info in this thread:

http://xdaforums.com/showthread.php?t=497984

so not sure if you need a class 6 or not. I wouldn't think so as you are not running anything from it, as it is a cache.

And yeah, followed everything, no issues until that line.
[G1 Android Development] APrinceAmongMen:
I've done apps 2 sd on the stock sd card and it works fine.

As for jsapp:

When you get the rm failed error, or any error that says Read only, then type in terminal emulator:

su (if you're not already in it)

mount -r rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[G1 Android Development] jsapp:
Still no luck, but now when I type that, I get this:

Usage: mount [-r][-w][-o options][-t type] device directory

I haven't ever seen that and I've typed this many times before. hmmm...

Gonna try to re-flash, should work then.
[G1 Android Development] APrinceAmongMen:
Sorry... Typo

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[G1 Android Development] samysam05:
Maybe this would work... try it
[G1 Android Development] APrinceAmongMen:
Yeah... I fixed it... I had a typo in there. :X

it should be

mount -o """""

not mount -r """""
[G1 Android Development] samysam05:
that didnt work for me im trying move the dalvik cache...i do adb remount/then adb shell and when i try the line starting with rm -rf /data/dal..... i still get the error.
[G1 Android Development] APrinceAmongMen:
Should be rm -r

Not rm -rf

Have fun.
[G1 Android Development] samysam05:
That worked thanks.
[G1 Android Development] Gimpeh:
Does this also move all caches including browser cache to the SD card?
[G1 Android Development] samysam05:
I dont know but you can find out how to somewhere on this forum.
[G1 Android Development] jsapp:
No, just the dalvik cache.

Worked like charm after reflashing the mod. Thanks for the help
[G1 Android Development] jsapp:
Hmm...so all of my private apps are showing as the installer icon, and as the .apk. So all are in under com.***.apk filename. Tried uninstalling and reinstalling from the market. When uninstalled, they went away, but came back the same.
[G1 Android Development] APrinceAmongMen:
That happen after dalvik or after a2sd?

Could be because of the zip files. Try deleting them after uninstalling the app.

The zip files should be in system/sd/app with the same name as the apk in private folder except ending with a .zip instead of .apk.

So uninstall the app, delete the zip and reinstall. Lmk how it goes.
[G1 Android Development] jsapp:
Rebotted twice, then it was good. thanks again though
[G1 Android Development] TheDudeOfLife:
no not hidden. you probably linked them wrong.

ls -l /data

tell me what you see. MY commands only work if you previously had apps on your sd card.
[G1 Android Development] APrinceAmongMen:
You're commands work regardless. :P

Any new downloaded apps will go there, unless there is no ext2 partition. :)
[G1 Android Development] TheDudeOfLife:
Yeah, but I never do the cp -a since nothing is there.

That's all I was sayin...wine...it makes me confusing.
[G1 Android Development] andonnguyen:
Whenever cp -a is used in this context, you are moving apps from the internal memory to the ext2 partition on the sd card. You would need to do this regardless to migrate the folder (if it doesnt already exist) to the ext2 partition. Dont forget to rm -r directories and ln -s properly, to make sure all future data and files get moved to /system/sd
[G1 Android Development] mrfrenchfry:
Alright so I have successfully moved my apps to my sd card, but now i seem to be a little problem with my protected apps. Uh they always force close ><;.

Oh and for some reason I cant download pac-man..."download declined" something about I never purchased it :P. But I already have pac-man backed up so no biggie.

EDIT: doing some more investigation and my private apps dont seem to be listed in /data/app-private, any ideas?
[G1 Android Development] samysam05:
Did you read about this:

$ busybox cp -a /data/app-private /system/sd
$ busybox rm -r /data/app-private
$ busybox ln -s /system/sd/app-private /data/app-private

it's on page 12.
[G1 Android Development] robpet2:
I did this script a second time on 5.0G apps to sdcard, and it shows my apps that I already had in the ext2 part of the sdcard, but now i only have 17mb of internal storage...
[G1 Android Development] samysam05:
Did you try to move the Dalvik cache? after i moved that i had 64 mb free.
[G1 Android Development] robpet2:
and the dalvik move didnt work... said it didnt exist on the first line
[G1 Android Development] Gimpeh:
Yeah doing the dalvik command work like a charm.
[G1 Android Development] robpet2:
I messed up... was typing davlik not dalvik... lol...

63mb free now .

got a phone call and had me distracted..
[G1 Android Development] mrfrenchfry:
Yea thanks this fixed it, weird though because I thought i did this part, but i must've typed something wrong or something, cause after redoing it, it works now thanks again.
[G1 Android Development] samysam05:
Glad i could help!
[G1 Android Development] crazifyngers:
thank you everyone for the hard work. i have apps on my sd card and they read fine. then i plug my phone into my computer and mount the sd card both volumes come up, the fat and the ext2 partition. when i had the previous r33 build it only mounted the fat partition. i have looked through this thread, searched the forum and read about 300 pages of the haykuro thread. i may have missed it but it has been driving me crazy. thanks in advance

if it matters i am using 5.0G build. i love it i just wish i could have google sync and exchange. but i'm sure it will come eventually
[G1 Android Development] nolageek:
I got Paragon Partition Manager and partitioned my SD card. 7.2GB (Fat32)/250MB(ext2)

I can see /sdcard as normal on the device, can play MP3s, etc... but when I go to open the drive in Windows I get the following error:

H:\ is not accessable.

The maximum number of secrets that may be stored in a single system has been exceeded.

In Paragon everything looks OK in the partition viewer. How do I check to see if the g1 can see the new ext2 partition before I proceed?
[G1 Android Development] kenny9438:
dude not to be rude but ur making this sooo hard...im trying to do the ext2 partition. sad for me im only a 14 years old kid and i cant figure how to do that.....im sooooo sad..soooo sad....
[G1 Android Development] samysam05:
after you install busybox do this step

busybox df -h

if you see a line looking kinda like this:

/dev/block/mmcblk0p2 (size) (used) (available) (use %) /system/sd

You're good to go!
[G1 Android Development] nolageek:
But... I can't get to the sdcard to install busybox.

I can see it when on the phone though. But I cant get to /sdcard via adb:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>e:

E:\>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.

E:\android\android-sdk-windows-1.1_r1\tools>adb remount
remount succeeded

E:\android\android-sdk-windows-1.1_r1\tools>adb shell
# ls
ls
sqlite_stmt_journals
cache
sdcard
etc
system
sys
sbin
readme.txt
proc
logo.rle
init.trout.rc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
# cd sdcard
cd sdcard
# ls
ls
# df
df
/dev: 49628K total, 0K used, 49628K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 8K used, 4088K available (block size 4096)
/system: 69120K total, 59972K used, 9148K available (block size 4096)
/data: 76544K total, 50780K used, 25764K available (block size 4096)
/cache: 69120K total, 1868K used, 67252K available (block size 4096)
[G1 Android Development] nolageek:
Trying to follow the directions here to install busybox via adb and no go:

E:\android\android-sdk-windows-1.1_r1\tools>adb push busybox /data/busybox/busyb
ox
38 KB/s (0 bytes in 657372.016s)

E:\android\android-sdk-windows-1.1_r1\tools>adb remount
remount succeeded

E:\android\android-sdk-windows-1.1_r1\tools>adb shell
# cd /data/busybox
cd /data/busybox
# ls
ls
busybox
# ./busybox --install
./busybox --install
./busybox: permission denied
# su
su
ls -l
ls -l
su: permission denied
# -rw-rw-rw- root root 657372 2009-04-13 00:35 busybox

EDIT:

I did the rest of the instructions via Terminal on the phone and was able to install..

busybox df -h yeilds this result:

Filesystem Size Used Available Use% Mounted on
tmpfs 48.5M 0 48.5M 0% /dev
tmpfs 4.0M 8.0K 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 58.6M 8.9M 87% /system
/dev/block/mtdblock5 74.8M 50.6M 24.2M 68% /data
/dev/block/mtdblock4 67.5M 1.8M 65.7M 3% /cache
/dev/block//vold/179:1
7.2G 3.3G 4.0G 45% /sdcard

I should probably mention that I'm not running the 5.0G apps to sd build yet.. would that be the reason the /system/sd mount point isn't made yet? :)
[G1 Android Development] samysam05:
go here:

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

and follow the instructions. to make it simple:

1 download busybox.zip

2 open and move it to root of sdcard

3

dd if=/sdcard/busybox of=/system/xbin/busybox
chmod 4755 /system/xbin/busybox

4)

busybox df -h

and when u see the line i meantioned above then you will be set.
[G1 Android Development] samysam05:
If you dont see the line then it's two things:

You didn't partition properly or You are using a non apps2sd build of haykuro.:)
[G1 Android Development] nolageek:
That's the point of me coming here.. after I partitioned my sdcard, I can't get to the phone via windows anymore.. so I couldn't do step one of the instructions:

1. download busybox and place this file in your /sdcard. (DO NOT TRY TO FLASH BUSYBOX--IT IS NOT A ROM)

Well... I guess I'm trying to figure out if it's #1 before I do #2 (that kind of came out sounding disgusting.)

I *think* I partitioned my card fine. I can see it in paragon, but I can't access the phone via windows anymore... I still get "The maximum number of secrets that may be stored in a single system has been exceeded."

WTF does that mean? Is it an issue with windows or with my card?
[G1 Android Development] APrinceAmongMen:
You're overcomplicating it...

You can't use shell commands in command prompt...

adb shell works, but you cant use ls when you're not in shell...

Make sure you have the apps2sd build on.

Go to drive E:/ in windows explorer, not command prompt and copy the busybox file onto drive E:/ after you mount the drive using the notification on the phone.

After the busybox file is there...

Go to command prompt...

Type:

adb remount

adb shell

dd if=/sdcard/busybox of=/system/xbin/busybox

chmod 4755 /system/xbin/busybox

That installs busybox...

Now...

busybox df -h

in command prompt.

You should be able to see a line somewhere there that says /system/sd in it...
[G1 Android Development] nolageek:
While that may entirely be possible.. let me repeat.. I cannot get to my phone via windows other than via adb and even then.... I can't get to the sdcard.

I can'y put anything on drive E (the phone) via windows explorer, command prompt or by downloading directly to the drive. I get the error that I've posted twice.

I got busybox installed only my pushing it to /data/busybox and then finishing installation from the terminal on the phone. again, windows *does not* see my sdcard.

But, the phone does as it always has.

I'd like to assume this is an error with the sdcard but it works just dandy in the phone --- I just cant tell if the second partion has been created and I dont want to re-flash with the 5.0gsd until I know its not going to fcuk up everything even worst than it may be already. :)

I've tried partitioning via Paragon twice before and it always wants to reboot in order to finish the process and from there, it errors out when it restarts because it no longer finds the drive. (Yes, I quickly hit "Mount" on the phone.)

Butm what I want to know is has anyone seen this error before: "[Drive]:\ is not accessable. The maximum number of secrets that may be stored in a single system has been exceeded."
[G1 Android Development] APrinceAmongMen:
It's a virus and/or malware.

End of story.

Try downloading Avira Antivirus. Gl.
[G1 Android Development] nolageek:
That did appear to be it. *sigh*

OK, so I managed to get through everything.. installed Apps2SD build of 5.0G and followed all the instructions.. symlink is created apps are being added to /system/sd/apps all looks peachy.. except, some of their icons are the 'broken app' icon and almost everything I install force closes the moment I start them. They show up as "Installed" in the market and I have the broken icons. Some are paid apps.. could protected apps be giving me a problem? (The instructions don't say anything about moving /data/app-protected)

Here's a few things I installed and whether or not they're working:

MyBackupPro : broken icon, force closes, not in /system/sd/app, not in /data/app-private

SlidePhotoPro: broken icon, force closes, not in /system/sd/app, not in /data/app-private

SnapPhotoPro: broken icon, force closes, not in /system/sd/app, not in /data/app-private

ContactBlast: broken icon, force closes, not in /system/sd/app, not in /data/app-private

dxTop: Works fine, in /system/sd/app

Klaxon: Works fine, in /system/sd/app

Download Crutch: Broken icon, Works fine, in /system/sd/app

StarContact: Works fine , in /system/sd/app

EDIT:

I repeated the directions with app-private and it's all working now. Might want to add that to the instruction page:

cp -a /data/app-private /system/sd/app-private
rm -r /data/app-private
ln -s /system/sd/app-private /data/app-private
[G1 Android Development] shotad:
can you tell me how to do it with a mac? i use mac, not Windows or Linux. thanks!;);)
[G1 Android Development] atlmatt:
I have Haykuros latest build, and when I follow the steps to move my apps that are listed on his page, And I reboot my phone it hangs on the HTC screen and loops. I have done this 3 times now and the same problems... can I use busybox on the latest build?
[G1 Android Development] jroid:
i too am having the bootloop issue. im trying the new adp1.5hr1 nd ive been having this issue since yesterday.
[G1 Android Development] prep.krypton:
5.0.2G build problem

i'm using the 5.0.2G-A2SD ROM. everytime i do this, it doesn't work (i have NO idea what is wrong). Do I need to download and install 4.5 first and then do it and update to 5.0.2? or am i doing something wrong? i've made the two partitions and everything. what am i doing wrong?

if you would like to help me out, zblader98@gmail.com is my email address. i think it would be quicker to email me rather than to reply to this forum

P.S. - the only reason why i'm still using this version is because it still supports myfaves - and i talk on the phone, a lot.
[Touch Pro, Fuze ROM Development] At0mAng:
[ROM][WWE][04-05-2009]At0mAng V5.3 Final|Fusion Power|21042 XIP|HTC-AT&T|Rhodium Apps

This ROM was built to be stable, fast and have minimal software built in and remain close to OEM. All ringtones, media files, and other miscellaneous files have been removed to recover storage space and useable memory. Tweaks have been applied to power usage, TF3D, storage card transfers, video drivers, registry settings to boost speed, ease of use, payload reduced, sectors moved, and many more parts tweaked to get the most out of the device.

PLEASE READ FAQ, INSTALL INSTRUCTIONS & ALL POSTS BEFORE DOWNLOAD LINKS TO GET TO KNOW THE ROM!!!

Will make both of our lives easier...

Please read first page of thread for important info​

ROM Notes

This ROM is built on OS Build 20764 w/ CE 21042 with many modifications. There are two editions, HTC & ATT. The difference between the two are AT&T Edtions have the AT&T Dialer, PTT and Video Share while the HTC Editions have the HTC Dialer and Video Call.

No Radio comes with the ROM and I suggest you use AT&T 1.12.25.19 radio for best performance which can be found here.

ROM is fully UC compatible. I suggest you read about UC here. I have also created a Pre-Install Cab for users that will install SDConfig.txt and a few programs on your storage that will be loaded during customization process. Check below for more info

ROM Revision History

Version 5.3 Final

Hybrid 21042 CE w/ OS 20764

Updated TF3D2 with latest 1D Version

New Rhodium Apps

Windows Live no longer cooked in. Check Add-Ons Post for latest version

Navigation Package updated with Latest Live Search VGA

-------------------------------------------------------

Credits & Props

Contributors

bkeaver | Wordsmith9091 | matthewgann | nnkumar73 | slawcop | ragpaoa | kcnaylor | yaronr

------------------------------------------------------------------------------------

Thanks to all that helped and the entire XDA Community.

Special thanks to sakajati, NATF, Da_G, aruppenthal, pfcsabre, ark666,TheAgent1982, NRGZ28, slawcop, xboxmod and everyone else I may have forgot to mention.

Also thanks to all those that have tested ROMs for me and gave me input.

Updating list as I recall names :)
[Touch Pro, Fuze ROM Development] At0mAng:
My Device

So here is what I am working with :)

​

A little donation can go a long way :D