yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] dialdayo:
does birdmans way move the cache of all apps..or just the cache of the ones on his list (browser, steel, market, imeem, etc)?
[G1 Android Development] dialdayo:
i was thinking since i have a 16 GB class 2 sd card. it would be smart of instead just moving the cache of browser, steel, market, and google maps using this way http://modmygphone.com/wiki/index.php/Caches_To_SD_Cardsince i have a class 2..I should be fine or does class 2 suck that much for stability of data transfers
[G1 Android Development] xdavidn88:
Only the one's listed. Unless you want to email him and ask him to find scripts for other apps lol...

Or he could possibly give you the commands for apps.
[G1 Android Development] xdavidn88:
I'm sure that method also works (seems much more complicated with entering so much codes compared to Birdman's automated script)

I couldn't tell you if class 2 really is that bad, just wait and see I guess.
[G1 Android Development] LucidREM:
that wouldn't have anything to do with me .. all i put in was the script to automate the apps to SD process so no one has to type twenty lines of text
[G1 Android Development] MontAlbert:
well,i did it- too easy- used this and the move apps script, plus the script to move caches from android community and it worked great.... so much faster than the other way....
[G1 Android Development] bigd5783:
how do you know if it worked? I did this last night and after the reboot it showed the same amount free in my phone memory but the sd card was showing up as only 2.7 gigs instead of 3.7 as it did before.

Never mind Im a little retarded late at night. I ran all the commands at the recovery terminal instead of from the terminal emulator. I thought it was weird it didn't show any feedback. After running the scripts from the terminal emulator as superuser it worked.
[G1 Android Development] :
I did it again and said the same thing about UID's and needing to clear a partition or system will be unstable this only happens when I try to move the data to the sd card how would I clear a partition ext2.
[G1 Android Development] androidmonkey:
Is there an app on the market that lets you browse the EXT2 partition and see the files stored?
[G1 Android Development] xdavidn88:
lol i know right... i love lucidrem and birdman

in a no homo kind of way.
[G1 Android Development] xdavidn88:
This won't show you the files stored, but it'll show you the file sizes.

[Open Terminal Emulator]

$su

#busybox df -h
[G1 Android Development] androidmonkey:
What does the Birdman script do that LuicdREM copy.data and copy.apps dont do? I thought that copy.data moves the cache.
[G1 Android Development] xdavidn88:
I don't know what LucidREM copy.data do as I haven't tried it.

Apparently they both move data(cache) to SD.

Birdman's does not move apps to SD.

I used LucidREM's to move apps to SD.

My ext2 partition was too big (3.7GB) so I couldn't use LucidREM's data to SD.

Instead I used Birdman's cache to SD. (It doesn't matter how big your ext2 partition is).
[G1 Android Development] LucidREM:
some people have had troubles moving /data/data so moving just the cache files keeps you from force closing some apps .. if you use "copy.sh data" then the cache files move already and you don't need to separately move the cache .. if you do NOT use "copy.sh data" then you can move just the cache files
[G1 Android Development] LucidREM:
Cache Files

for anyone brave enough to try i fixed my script for moving the cache files to EXT2 instead of FAT32
[G1 Android Development] :
Everytime I wipe and reinstall Lucids rom go to terminal emulator and do the coph.sh app command it always leads to a flashing droid
[G1 Android Development] stogchris81:
help.

so. i tried to update to jf 1.42 so that i could install a theme. i flashed, rebooted and it stuck at android flashing screen. i wiped. and stil ended up with jf1.42. thats good news. then i flashed the lucidrem apps to sd jf1.42 mod. went to terminal emulator on phone, typed in su. ok. then i typed in copy.sh app it tells me that copy.sh not found...what am i missing? btw...before the update to jf1.42 and the wipe, i had manually moved apps to sd successfully. maybe that has something to do with it?
[G1 Android Development] xdavidn88:
You need to update to his JFv1.42 RC33 MOD. His mod has the files. That's why copy.sh wasn't found.
[G1 Android Development] stogchris81:
i did. its in the post. thats why i am confused.
[G1 Android Development] Mikey:
Were you brave enough???:p

i just installed adp and all (apps+data) i love it.

So far.

Had to wait for my class6
[G1 Android Development] stogchris81:
does a wipe remove your ext2 partition?

nevermind. i found the ext2. so, thats not the problem.
[G1 Android Development] darico18:
bug

how come i keep getting a force close on on favfive and then it doesnt let me use the dialer or anything that has to do with the phonebook

help please
[G1 Android Development] androidmonkey:
Did you move the data also or just the apps? If you moved data, that may be your problem. I had a constant force close on the Alarm Clock app when I moved the apps and data. I had to do a full wipe, then I just ran the move apps script. Everything has been working fine for the past 2 days.
[G1 Android Development] darico18:
Thank you, that was my problem.

so when u move ur data is bad?
[G1 Android Development] darico18:
okay thank you.

how come when u move the data it does that?
[G1 Android Development] :
Anyone have trouble upgrading to the new radio with this rom, by the way is it so bad to just stick with the old radio, will it cause major problems.
[G1 Android Development] androidmonkey:
Looks like you have been having a ton of issues. From the looks of what you have posted, you are using different methods. You never did post what was telling you the felling lucky thing, you posted awhile back "asks if im feeling lucky". Like LucidREM said, his MOD does not say anything like that.

Here is what I did

1. flashed RC29

2. flashed the recovery.img

3. flashed the HardSPL

4. flashed the JF modded RC33

5. flashed the new radio update

6. flahsed the LucidREM mod RC33

If you post exactly what you did, in the order that you did them, maybe someone can help you figure out the issue.
[G1 Android Development] djwaz:
Please help a sorta noob

Hi Everyone I read these forums all the time and I know you guys are the ones to ask, I rooted my phone the other day no problem, but I decided to follow the instructions on this thread and prepeare my sd card to re partition it with the necessary things to get this mod on my phone my lucidrem, so I can have apps on my sd card.

Looks like I screwed something up bad with my sd card, I tried using paragon partition manager 9 trial version, and reformat the sd card and make both a fat 32 partition and an ext2 partition like everyone says to do. Well paragon manager was acting all weird and kept giving me pop up errors, but it looked like it actually erased what I wanted and allocated the right amount of memory to the 2 partitions that i set, but then after applying this update zip, all the items on my sd card are still there, but the amount of memory i set aside for the ext2 partition is missing from the 8 gb size of the card so I know something has changed. Now my widows xp comp wont recognize the removable storage device when I plug the g1 in the usb cord to the comp....

So basically what im saying is im screwed and need your guys/gals talents to help me get back on track
[G1 Android Development] m00b3rt:
i have a rooted JFv1.43 already,

i entered the roots in Terminal,

how do I put apps in SDcard?
[G1 Android Development] androidmonkey:
Download a Live CD of Ubuntu. See if your G1 mounts the SD in Linux.
[G1 Android Development] androidmonkey:
Follow the instructions on the first post...
[G1 Android Development] stogchris81:
since no one wants to answer my question is it possibe to go back to jf 1.42 without lucidrem MOD so that i can just move apps to sd manually? that seemed to be a lot easier for me.
[G1 Android Development] androidmonkey:
What question? The one asking if wipe would remove EXT2 partiton? Wipe only removes what one the phone.

Why wouldn’t you try the manual approach or BirdMans script with v1.43?
[G1 Android Development] t1h5ta3:
ok, so i started having issues this afternoon after running this for a week.

i reflashed the update, and got stuck in the loop and had to wipe.

it now boots fine etc.

so, i tryed doing the

"a. $su

b. #copy.sh app

c. #copy.sh data"

comands, and it locked up again......

is there some thing im suposed to be typeing befor that?

"4. Moved /data/app, /data/app-private, and/or /data/data (optional) to the SD in Terminal:" is this the above comands? if not, how do i do it?

sorry... kinda a newb learning as i go....

edit: and just for clarification, after doing this, when downloading apps, they'll automaticly go to the sd , corect?????
[G1 Android Development] MontAlbert:
is all this easily ported to the ADP versions? hint hint ;)
[G1 Android Development] Binary100100:
not sure why but it didn't work for me. thanks anyway. maybe i did something wrong... not sure how since this is supposed to be newb proof. but then again i had a pain in the butt time doing it manually as well the first time with rc30. i think it has something to do with my ext2 partition. anyway when i tried cpcache.sh i received an error saying that it couldn't find the file or something of that sort. so then i tried cp cache.sh thinking that there should be a space and i didn't understand any of what I saw. so i just downloaded the standard RC33 1.42 and used the old fashioned way (mountd.conf and init.rc to sd root) and I was surprised that all 100 or so of my apps came back without a problem. The flashing android was on my screen for about 2 to 3 minutes (started to get worried) but it all worked out.
[G1 Android Development] mrgzg1:
hey ........ good work but can you mod jf 1.43 ...... jf seems to update every sec cant he make an app to painlessly update over wifi for convinence but newayz he does a good work and you too so that i can instal as many apps as i can and biger cache tooo

pls mod jf1.43
[G1 Android Development] LucidREM:
the cpcache.sh script i wrote is like moving /data/data/ only it's not the whole folder .. it takes the data from those large cache apps like browser and moves it to the EXT2 .. in the future i am going to make an undo script as well so there will be no question of how to put things back

here's an example of the script output:

CP /data/data/com.android.browser TO /system/sd/data/com.android.browser DONE!
[G1 Android Development] LucidREM:
JFv1.43 is ADP1.1 .. my modification right now is for RC33 which is only JFv1.42

i am looking at the ADP1.1 .. just haven't gotten to that yet
[G1 Android Development] LucidREM:
the error about couldn't find file sounds like the "ln -s" was already done .. if you run cpcache.sh a second time it doesn't work right because the linking is there so there are no files to copy .. i'm attempting to change the script to test for "ln -s" so it doesn't try to copy twice
[G1 Android Development] Razor1973:
LucidREM, thank you so much for taking the time to build this for us who have their apps installed on SD and don't want to go through the trouble of recreating the environment for every JF release.

Will you be making a 1.43 version as well?

TIA!
[G1 Android Development] LucidREM:
you're welcome .. JFv1.43 is ADP1.1 .. JFv1.42_RC33 is latest for normal stuff
[G1 Android Development] Razor1973:
Oh, I wasn't aware. Thanks!
[G1 Android Development] Razor1973:
Shoot! I think I screwed things up. I download the "JFv1.42_RC33_MOD.zip" file linked in your first post and applied it to my RC33. As soon as the phone rebooted, I ran your cpcache.sh script and it did its thing. Reboot again. Now, half of my applications don't open. :(

Maps, Email, Market, Pictures, Browser work.

Gmail doesn't, many others don't and I have no contacts!
[G1 Android Development] LucidREM:
ok .. did you already have /data/data -> /system/sd/data???

i haven't scripted the undo yet
[G1 Android Development] Razor1973:
I am guessing that's a yes. My applications were already on the SD card. I thought that's what this thread was for: upgrading to the latest JF package and keeping the apps intact on the SD card, i.e. not having to repeat the process of moving them every time I upgrade.

:( <--- freaking out
[G1 Android Development] robpet2:
since my last post in this this thread i caught the flu so im playing catch up...

heres my dumb questions of the day ( probably due to me fighting the flu ).

so this does the apps to the sdcard for us automatically ?

apps that are downloaded from the market go to the sdcard automatically ?

and is 500mb a good size for the partition for apps? i got a ton of music on my 8 gig card.
[G1 Android Development] LucidREM:
yes .. the update.zip i made keeps the apps on the SD running .. however, the cpcache.sh is not intended for use if you already have /data/data moved over to the EXT2 .. sorry if i didn't state that more clearly .. i'm writing in more IF tests to eliminate the confusion
[G1 Android Development] Razor1973:
Eeck! What do you suggest I do at this point? Please don't tell me I need to do a wipe. I have over 80 apps installed. :( Please!

Also, would you please update the original post so that other people don't go through the same trouble as me? Thanks a lot.
[G1 Android Development] LucidREM:
what this does is once you have the FAT32 / EXT2 partitions created you can flash your phone with this update.zip .. now you can skip ahead to:

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

#rm -r /data/app

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

and again for the app-private .. this update.zip does the modified files for you so if you've already created the "ln -s" links you don't need to do it again and your phone won't freeze at the android because of not mounting the EXT2
[G1 Android Development] LucidREM:
well because my script targeted very specific locations and not the entire /data/data a wipe should not be necessary

the only question would be if a link wrote over the data in those specific locations .. i really need to edit my script with more IF tests .. automation can be a B---- sometimes

can you output the screen from:

#ls -l /system/sd/data

and then:

#ls -l /system/sd/data/com.android.contacts

either the info was written over OR it's in a neverending loop
[G1 Android Development] robpet2:
dude!!!

if i shake this headache today im gonna give this a try later on today
[G1 Android Development] Razor1973:
Thanks again.
[G1 Android Development] LucidREM:
so it looks like you did not move /data/data to /system/sd/data

if you:

#ls -l /data

#ls -l /data/data

you should see how things are linked .. i'm wondering if the link was never put in place .. no errors from my script?
[G1 Android Development] muchasGracias:
after the wipe and reflash, and before you run the script:

type su, then at the root prompt type busybox df -h, look to see that you have the ext2 mounted to /system/sd, something like:

/dev/mmcblk0p2 1.0G 13.0K 984.8M 0% /system/sd

DO NOT proceed until you have verified this. It helps one feel better about the ease of the next step, which is to run the script command(s).

From your post it appears you have done everything correctly, so that is why I'm thinking the ext2 may not be mounted when you are running the script.

In fact, from my reading of this thread, I postulate that many of the issues people have with the instructions not working for them, are originating with an improperly formatted ext2 partition. I say 'improperly' simply to indicate that for whatever reason the ext2 is not 'good to go' when reinserted into the phone. (My battery died while I was using my phone and it turned my ext2 to BUTT. Paragon later reported it as an unformatted partiton. So these cards and their formatting may be quite fragile creatures.)

LucidREM's modded ROM has the files to mount the partition. I am not sure how or if it creates the directory: /system/sd, but if one types the busybox df -h command before running the script, it will be known right away if the ext2 is mounted and to where.

OK I have ranted long enough :rolleyes:

YES.

peace all :D

EDIT: to understand more about what all is happening read this post: http://xdaforums.com/showpost.php?p=3141070&postcount=1

it's how I did my APPS to SD.
[G1 Android Development] Sistum Id:
You say this:

What problems are people having with more than 2GB.

Also, is it the bigger the ext2 partition the more the O/S has search around for? Know what i mean?

How does one actually know if he actually has a class 6 card? I bought one and I just want to make sure. It does say 6 and was sold to me as a Class 6 but I just wanna make sure.

I'm lost on this... is that what we need to do or should of done...?
[G1 Android Development] androidmonkey:
LOL. If it says Class 6, it’s a Class 6.

If you want to try and have larger than 2GB EXT2 partiiton, go ahead and try. I think 1GB is more than enough for myself, mainly because I dont want to have a bunch of useless apps on my phone.

You are lost on what? What should be done?
[G1 Android Development] Sistum Id:
Well I run 1GB EXT2 myself for the last month, it seemed after 30 or 50 apps. My phone would run slower. When I pressed the home button it seemed to lag. I was thinking maybe its because I have too big of a ext2 partition.

I'm not hip on the commands for file creating and I cant remember them. So yeah, do I need to creat the folders? Idont rememebr how to :confused: I know its easy but I cant remember it. :mad:

Well I bought A Data 8GB Class 6 from some website and they came from Hong Kong... Ive been to Hong Kong... I know how everything is a knock off... knock off of knock offs lol. It could be easy to get some cheap 8GB class 2 and reprint class 6 on them.
[G1 Android Development] androidmonkey:
It could be background processes that was slowing the phone down. Did you check whats running with Task Manager?

If you wiped your phone and you are on LucidREM JF MOD, then you need to run the commands on the first post of this thread.

What site did you buy the card from? Its best to buy from a reputable source, like NewEgg, so you know you are getting the real deal.
[G1 Android Development] Sistum Id:
Yes, only a few small proccess are running. Nothing that would bog it down.

I just went ahead and wiped it and did the 3 steps, everything is fine. I was being noobish on my part.

It was some PSP related website. I'm sure my card is a class 6. Its just me :D

Now I did a fresh restart everything is running smooth. I press home and it doesnt lag. Now I'm installing my apps one by one until I see a lag in my home screen. Gonna be awhile but gotta find a way to kill time at work somehow.

Little update:

Only thing that pisses me off now is the fact that my internal memory storage still goes down. I did a fresh wipe and had 71MB. I did the all cache to sdcard mod. Downloaded Astro, installed about 20 or 30 from Astro and now I'm at 66MB. Something is still sucking down the memory. Any ideas?

I know the apps to sd card worked because I do the busybox df -h to make sure and the used size goes up with each app I install. I know the cache app works because I went and looked at a few apps on the market and the cache folder on the sdcard had some files just before I cleared them. Now its at 65MB. I know its only a few MB but its annoying and I feel its what causes the phone to bog down after it gets to around 30MB.
[G1 Android Development] m00b3rt:
this is confusing.
[G1 Android Development] Sistum Id:
I think he got confused as I did.

I know for me step 4 threw me off because it says "MOVED". Its past tense so its like... when was I suppose to do that. Than I thought okay, he means move maybe... so than its like how do I do that now... Well that was my problem anyway.

As for M00b, download modified update which would be the first link. Rename it to update.zip and flash it. Open terminal and type su and enter, say yes, type copy.sh app and press enter, and type copy.sh data and press enter and enjoy.
[G1 Android Development] m00b3rt:
Ah, I will try that now, will get back to you in about 10 mins or so.

Btw, I'm 13 and I don't much about G1 developing.
[G1 Android Development] m00b3rt:
i need help partitioning now,

:[
[G1 Android Development] Sistum Id:
You will need Paragon Partition Manager. You CANT partition it from your phone so you will need some sdcard reader thats built into a laptop or something. I myself use my PSP and USB connect it. Than PPM will detect it. Good luck on all that.
[G1 Android Development] m00b3rt:
does one need to buy ppm?

Edit : Nvm, I'm going to partition it on Fedora.
[G1 Android Development] androidmonkey:
Use Fedora or Ubuntu Live CD. Doing it in Linux is the most reliable method.
[G1 Android Development] m00b3rt:
my partition magic does not pick up the removable usb drive.
[G1 Android Development] shaneaus:
If you anyone is having problems partitioning/formatting your SDcard try what I had to do. I could NOT get PPM to format both portions of my SDcard in Windows and I couldn't get Gpart to do so in Linux.

In Windows Vista I used PPM to partition the SDcard.

I used Windows Vista to format the larger Fat32 portion of the card.

I exited Windows Vista and booted using Unbuntu Live CD

I used Gpart to format the smaller ext2 partition.

I worked myself to death trying to get this to work in other fashions described on this forum. However, I could not use PPM (in Windows) or Gpart to do all that needed to be done with just using one program. Once or twice PPM said it was successful... But, one of the partitions wouldn't be read by one of the OS's every time... Until, I did it the above manner.

Doing it in the above way you are using Windows to format the partition that uses a Windows type partition and you are using Unbuntu/Linux to format the partition that Android/Linux uses.

I know, I know, I should have been able to use PPM to do all of it. But, it simply DID NOT WORK!
[G1 Android Development] shaneaus:
@ LucidRem or whoever

How should I go about running the script you put up on the previous post to move all of the caches to the ext2 partition?

I opened up the file and was going to enter it manually through terminal emulator... But, dang that was a lot of text!

Is there a way to copy/paste into the emulator?

DISREGARD! - I love Gscript!

I opened your txt file with Text Edit, copied the text. I opened Gscript, created a new script, pasted the copied text and saved.

Then I ran the script through Gscript! Easy as PIE! Cherry Pie!! MMM... With whipped cream!
[G1 Android Development] BuntasConstellation:
So it worked great for about an hour, froze, then bricked.

Is it because I didn't do a wipe after/before re-flashing the Modified JF?
[G1 Android Development] djwaz:
little help

Ok so I believe I have properly set up my apps to sd card, but now that I have an ext2 partition on my card when I plug my phone in to my computer via usb it does not recognize any removable disk, how am I supposed to transfer files to my sd card now?
[G1 Android Development] xdavidn88:
False. I partitioned it through my G1 via USB.
[G1 Android Development] xdavidn88:
I didn't wipe at all during this process. Phone is fine.
[G1 Android Development] xdavidn88:
did you keep part of it as fat32 (stock)?
[G1 Android Development] djwaz:
Yes I did keep the majority of the card partitioned as fat 32 primary, and small portion as ext 2, then I decided to just reformat the whole sd card back to fat 32 because I was not even sure if the apps were really being saved to the sd card, I was getting really confused with all the terminal commands and such so I decided not to mess with it anymore until there is a more simplified way to do it, I know it's already laid out pretty easy but I guess I'm not that savy :(
[G1 Android Development] shaji007:
im on xp done everything

scripts etc

just wondering how can you check that EX2 partition is there a way?