yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] mystica555:
Depends on which OS you use day to day. I'm guessing you use Windows.

The nicest looking way would be to find the gparted LiveCD. This provides a graphical environment to delete, create, and do all sorts of other features with partitions. Download the cd, reboot your computer with it inside, then you should be able to select the proper disk (your USB memory card) and go from there. GParted page at Sourceforge

Alternatively if you want, you could run a ubuntu livecd and use command line tools such as cfdisk or fdisk. Or if you had Linux installed on a computer full-time just use that.

Just remember: fat32 partition must come first, ext2 second.
[G1 Android Development] bommel0815:
wuhuw, JF 1.43 RC9 is out, looking forward to your version, Mr. LucidREM :)

btw, donation is on its way *g*
[G1 Android Development] LucidREM:
didn't catch it last night .. i'll have to jump on that when i get off work tonight
[G1 Android Development] birkholze:
ok probably already been asked but this thread is long....

ive installed the rc33 version of this mod and i love it. if i want to install another version like 1.42 lite or just the regular jf 1.42, will that wipe out the apps to sd mod? or will i still have apps to sd as long as i dont do a wipe?

thanks so much for this badass mod lucid!
[G1 Android Development] LucidREM:
yep .. anytime you run an update.zip on the phone it writes over /system .. thus eliminating the init.rc and mountd.conf and /system/sd .. those are the three elements to having the EXT2 partition load on the phone .. so your apps would be completely intact but inaccessible .. until such time as you reinstated the modifications to access them again

anytime you do ALT+W you wipe not only /system but also /data .. which is why this works to get the phone back from the blinking android because it eliminates the link to the EXT2 partition and puts the stock apps on the phone
[G1 Android Development] birkholze:
thanks for clearing that up for me.
[G1 Android Development] LucidREM:
RC9

alas .. RC9 is delayed a little .. the Build Environs are not working right for some reason .. something screwy on my computer .. i'll have to kick the bugs out
[G1 Android Development] kingcliff00:
quick question so if im using JFv1.42_RC33 lite and i install the modified mountd & init.zip will sending the apps to sd work ???
[G1 Android Development] LucidREM:
should work .. what's cut from the "lite" version .. just media files?

1. modified mountd.conf

2. modified init.rc

3. /system/sd
[G1 Android Development] LucidREM:
whatever was bugging my computer is no more .. RC9 has been modified for APPS on SD .. hope it works well for you since the only one i have tested to the limit is RC33
[G1 Android Development] bommel0815:
wuhuw! donated already yesterday :)

thanks!
[G1 Android Development] digitalspaghetti:
Installed from RC33 -> RC9, seems to be find, took a while to boot up while it resigned stuff.

Still don't see paid apps yet though.
[G1 Android Development] bommel0815:
just flashed over the existing lucid JF 1.43 ADP firmware and it worked like a charm.

no need to re-run the scripts, all the apps where there right from the start, great.

and for german users: you can now switch language to German if you prefer.

thanks!
[G1 Android Development] shaneaus:
I've been running this mod with the partitioned SD card for over a week.

Yesterday, I started getting a low on disk space alert. It will not clear with any Clear notification. How do I find out what is causing that? I have 1.5GB on my SD card in the EXT2 partition.

Just added MemoryForLemmings and it advised that I have 2.6k for phone and 74.14k for Java available. Is the low disk space alert a bug?

I guess for the purpose of this forum I just want to know if there is some memory file/cache that I can clear that is not transferred by the LucidRem/JF mod to the EXT2 partition.

That way if it is a bug I can look for the problem's solution elsewhere.

Thanks! I donated to JF the other day. Next payday I'll donate $20.00 your way Lucid! I can't say enough for ya'll making the G1 the best device I've ever owned!

Well, I reflashed the system and it came back up. I ended up backing up all of my apps, wiping the phone, and reflashing it. I then re-installed all of the apps with not problem.

That seemed to fix what ailed it.
[G1 Android Development] Karolis:
I don't think these questions have been answered:

* What class is the card that ships with G1?

* How do I determine class if the card itself does not have an indication?

Also, as far as I remember in the original script it was stated that there's a difference which partition hoes first. Does it still matter? If so, which one should be first: FAT32 or EXT2?
[G1 Android Development] LucidREM:
FAT32 should be the first partition .. and then EXT2

as for the class rating .. i believe someone said the class rating is only marked on SDHC cards .. but generally you're probably looking at class2 speeds with the card that came from Tmo
[G1 Android Development] Karolis:
Well, I was running apps off the card with the original script and it worked fine, so I guess this should work too.

Thanks for the info!

I'll report when I'm done flashing it :)
[G1 Android Development] LucidREM:
people have reported apps working well with the original SD .. it's when you start transferring data that things slow down really bad
[G1 Android Development] shaneaus:
I'm only using a Class 2 SD card (8GB) (it was what I had laying around from a previous phone) and it works great! I don't even notice a lag at all.

Except! When I am backing up apps with Astro. That takes awhile.

Although, when I read these posts I wonder if my phone might even run FASTER with a higher class card!
[G1 Android Development] makethetick:
From 20 up to 37mb free now, only moved the apps. Thanks!
[G1 Android Development] LucidREM:
keep an eye on cache files .. if you browse the web you can build up quite the collection .. my browser cache was up to 16M once
[G1 Android Development] vigan8:
WTF

Frozen at bootscreen cuz of the modded jf 1.42 wtf do i do now
[G1 Android Development] Karolis:
Did you try wiping and reflashing again?

If that does not work, connect to your phone via adb, push update.zip into SD card and reflash again.
[G1 Android Development] Beast84:
Is there a way to see whats on the ext2 partition from my computer? I installed the new version of dxtop & I think it jacked my phone up. I get the looping android. I wanna delete the apk & see if that fixes the problem
[G1 Android Development] kingcliff00:
yeaa LucidRem its just the media files thats removed... How exactly do i install the modified mountd & init.zip??
[G1 Android Development] Mediocrates:
Having the ability to apply this and other mods is the reason I chose the G1. Finally a device that is fun on a technical level to mess around with.

Great tutorial, Lucid!!!!

Looking forward to more from you and JF!!!!
[G1 Android Development] Giganticube:
Thanks so much, worked like a charm - this fixes one of the things I was really disappointed about on the G1 (lack of onboard memory).

From reading this thread I got the following good information:

On windows use Ubuntu live CD / Paragon Partition manager (worked for me) to create a FAT32 partition first. Then a EXT2 partition which is under 2gb (I did about 700mb).

Use terminal emulator to run script (copy.sh app). Only use 'copy.sh data' if you have a fast enough (class) sd card as somepeople have had issues with the data moved to sd too.

A reboot can refresh the home page icons.
[G1 Android Development] LucidREM:
well i would have to say it is not because of the modded JFv1.42 .. either a theme or something is causing problems or your SD is not loading right from a partition error .. i test all the RC33 stuff out on my phone and my boss' phone
[G1 Android Development] shaneaus:
Beast - I am using dxtop with a combination of things and they all work.

I installed this JF/Lucid's mod, then installed a theme, and a custom boot image, and on top of that I installed dxtop.

I don't get all of the features of the theme but many of the features work. I don't have a problem.

I would suggest that you flash the JF/Lucid update file again. You won't loose any of your apps... But, you will have to go back and enter your settings.

I can tell you that your issue is def not with the JF/Lucid Mod. You most likely have a corrupted dxtop download file or some type of theme that is conflicting with dxtop. I have been using the above setup for weeks. The only issue I've had is with a low disk space bug. I wiped and re-installed all my different mods/files in the above order without a problem. And, over 100 apps.
[G1 Android Development] Beast84:
actually i found out how to delete the dxtop.apk & now my phone boots up but a new problem has come up. now i cant install anything new. as soon as the new app finishes downloading, my phone goes right to the glowing android screen. once it reboots, it shows the app still downloading but it never moves forward & actually installs it. Also when I did the procedure to get my apps back, it didn't work. The apps I had didn't reappear once the phone rebooted??
[G1 Android Development] Yorker10:
Can we use a 1GB card and partition it? Also, how do you make sure you have root because I did the rooting procdure and everything went well but....I don't how to make sure I have root.
[G1 Android Development] alpha010203:
Yes you can use a 1 gig card and partition it. Remember though, 500 megs might be plenty for apps and such, 500 meg is nothing if you're storing youtube videos, mp3s, pictures, and what not. Also, to make sure that you have root, download a "terminal" application from the market, once fired up, type in su and if you are prompted with the number sign, then you know you have root.

I do have a question that I hope could be answered either by LucidREM himself or any knowledgable persons: Say I flashed the phone with LucidREM's fw and completed all the steps to get apps on SD, and at the time, I'm using a 2 gig memory card. On a later date however, I might decide to change the card in favor of a larger capacity, is there anything I can do to simply transfer the contents of the EXT2 partition over to the new card and retain all my installed apps? Also, if the above option doesn't work, can I simply swap in the new card with the EXT2 and run the scripts or do I have to reflash the phone in order to establish the link to SD again?
[G1 Android Development] muchasGracias:
Whussup yall, my first post, woo-hoo!

Thanksawholebunch to JesusFreke, LucidREM, dwang, Koush, lukehutch, Disconnect and all who are PUTTIN' IN WORK for us all to enjoy.

I've been waiting to ask this cuz I've read up to this post and a lot of dwang's "How to install..." thread but haven't seen nothing bout it. So:

Even with 'Terminal Emulator' I don't see any 'native' apps in either /system/sd/app or /system/sd/app-private, just ones dl'd from the market which (in my case) are in /system/sd/app.

I recently did the 'apps to sd' style right after a reflash of JFv1.42_RC33 and there was nothing in either /system/sd/ folder.

everything works great, yet I figured I'd comment on this, and ask if anyone knows where all those 'native' apps like browser and maps, etc. are located. Thanks again for this hack; I'm waiting to get class 6 card before I try data/data move. BTW Paragon on 32bit XP formatted my 1.0GB Ext2 partition fine, windows just can't see it. L8R 'Dream'ers
[G1 Android Development] VtG242:
Quick question

Hi!

I want only use possibility to have mounted ext2 partition so if I don't copy apps to /system/sd they still be working from original location ... isn´t it?
[G1 Android Development] Yorker10:
Okay, I have formatted my card. Problem is that when I format the primary as FAT32 and the secondary as EXT2, I keep getting an error and it won't partition it. I'm using GParted on Ubuntu 9.04
[G1 Android Development] smuvman:
curious

I don't post much becuz I'm usually able 2 find wat I'm lookin 4 but im having a problem. I followed all the instructions and everything is moved but, for some re reason after awhile my screen goes black but the keys still light up. I'm forced 2 take the battery out becuz its frozen. Anybody else have this prob? I have wiped re-flashed and still have this prob. I partitioned 350mb on a 4g 6class pny card. I'm running the fade2blue theme and the only other mod is the all cache to sd card script. Can anybody help? I hope that's enough info. update all of the sudden my phone started looping at the home screen then it rebooted itself and started looping at the android. now the card isnt readable on my laptop pc or my phone. please give me any input i really dont want to have to go back to having apps on the phone.
[G1 Android Development] Yorker10:
Nevermind got it partitioned. New problem is the new radio won't flash, when I try it has an error and tells me to reboot.

How necessary is it to have the new radio? JF said that it's just better...
[G1 Android Development] Yorker10:
I don't know what the heck happened but my G1's Home screen started flashing black after installing some apps from the Android Market. I had to wipe the device and reactivate it. After that I tried getting root again but after entering "cat recovery.img> /system/recovery.img" I get the following prompt in Telnet:

I'm suspecting this is because of the partitioning. I have cleared my Primary FAT32 partition but I can't acces the Secondary EXT2 partition. How can I format both? Really not liking this as it seems I can only use the Primary space for partitioning now and wasted the Secondary. :mad:
[G1 Android Development] Beast84:
Finally someone with the same problem as me!!! I have the problem of not being able to format both partitions. The ext2 partition was a waste so now my 8gb card is reduced to 5.6gb or something like that. I tried reformatting the part of the fat32 that I could but now my phone says the sd is unreadable
[G1 Android Development] Yorker10:
What caused yours to do this? If the computer reads it as "unreadable" or "corrupt", then that card won't be usable at all anymore. :(

I'm trying to fix it right now, so try to stay on. I'm going to see what I can get done, hopefully. :)
[G1 Android Development] Beast84:
It happened after I updated dxtop... I couldn't get my phone past the looping android. I switched the sd & it booted up after I reflashed the unmodded rc33. Once I tried reapplying the apps to sd, everytime I tried installing a new app, my phone would restart after it downloaded but it wouldn't install.

My computer read it but the phone said unreadable
[G1 Android Development] Yorker10:
I don't know what dxtop is but I found the solution! :)

Follow these steps:

1.)

Turn on G1 into Recovery Mode (Home+Power)

On Recovery Screen press ALT+W, after it is done reboot the G1 (Home+Back).

Re-Activate the G1 by your SIM card or using ADB shell. * Make sure you have RC29 or a modded RC33 firmware if you choose to use ADB.

Make sure you have root. To do this open the Terminal on the G1 and enter "su". If you get a number sign, then you have root. If not follow step 2.

2.)

Make sure you put the recovery.img file to the root of your SD card

After Re-activation, type in "telnetd" and press enter. Exit the phone app after pressing Enter.

Download the Telnet app from the Market

Open Telnet and connect to host. If you get an error, ignore it and type the following (Ignore the asterisks I put):

* su <enter>

* telnetd <enter>

Type the following when Telnet is connected:

* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

* cd sdcard

* flash_image recovery recovery.img

* cat recovery.img > /system/recovery.img

Now you have root!

3.)

Open Terminal again and enter the following (Ignore the asterisks I put):

* su

* copy.sh app

* copy.sh data (Optional)

Now you can enjoy having all the apps on your SD cards again. :)
[G1 Android Development] Beast84:
This is just the procedure to obtain root... I have root. I don't have a problem with that. My phone doesn't see my sd with the partitions. I need to find a way to fix my sd, not my phone.
[G1 Android Development] Yorker10:
So, none of your apps are installed into the SD card? Try installing one and see what happens. If it installs to the phone then follow step 3.

EDIT: Ah.....I see. Can you check if you computer recognizes the card?
[G1 Android Development] Beast84:
Yea when I plug in my phone, the computer reads it but as soon as I unplug it, the phone tells me it is unreadable. I have switched out with my spare sd & it reads that. All my apps were on the old card but the ext2 partition seems to have disappeared. When I did the df -h command, the system/sd doesn't show up.
[G1 Android Development] Yorker10:
Sometimes you have to wait before unplugging it that quick. When it shows up on your desktop, right-click it and select unmount. Then unplug and see what it says on the phone.

Where do you enter that command?

UGH! I'm having that same problem again! What the heck....keeps looping the Android screen at boot up.:mad:
[G1 Android Development] Beast84:
I think I'm a few steps ahead of you cuz everything you suggest I have tried... multiple times.

I entered the command through terminal
[G1 Android Development] Autarkis:
Yorker: If it's really the same problem, I just posted a (purely speculative, but fairly well founded) reply to the problem in this thread's sister thread: http://xdaforums.com/showthread.php?t=468959&page=70

I don't however see what dxtop has to do with it... hope this helps anyway.
[G1 Android Development] Yorker10:
Thanks, I'll read it.

Now it won't even go into Recovery Mode, it's stuck on the T-Mobile G1 screen when I attempt at getting into Recovery.

I'm going to have to use the bootloader and flash a new update.zip
[G1 Android Development] pychobj2001:
this is the whole RC33 package, just modified right? is it RC33 Lite, if not then I can't use this...I have themes that need lite...
[G1 Android Development] LucidREM:
such a fool

so in the process of testing i failed to backup my sdcard (i am SO dumb) .. just wiped my card and i'm wondering if in linux anyone knows how to retrieve deleted files
[G1 Android Development] justanothercrowd:
I've had good luck with photorec on linux partitions
[G1 Android Development] Rafase282:
I havent try this since I have no need. I already have RC33 and and ap form the sdcard, I do have a script that does all that and more. If you want I can send it to you, just pm me. It's a menu for deleting the ringtones and other stuff I dont use, mount the system as read-write, reboot, reboot in recovery, copy the files form the sdcard to the right place so i get the /system/sd mounted after a reboot and also it has the script to make the symlinks that is what you want I think.

Going to try jf 1.42 RC33 now.
[G1 Android Development] ghettoyungin718:
if you can pm me

thanks in advance
[G1 Android Development] LucidREM:
i'm adding in some scripts for this .. trying to make it as totally "newbie" friendly as possible .. flash phone .. run script .. DONE!

LOL - i'll have to post once it's all completed
[G1 Android Development] LucidREM:
New Release

so the JFv1.42_RC33 has now been modified .. there is a script included .. my recommendation is to only run it ONCE until i can further test it out .. i did the cpcache.sh on my phone and it worked out great

NOTE: this script is only for those who have NOT moved /data/data to /system/sd/data or for those who choose to DELETE /system/sd/data and opt for my method of data and cache moving to the EXT2 Partition

ALSO: let me know if there are large cache sections under /data/data that you think should be added to the script .. for the future i plan to offer the choice of which ones to move .. for now it is just one whole bunch at a time

CURRENT CACHE MOVES: maps, street, browser, imeem, myfaves, gmail, steel browser, tunewiki, market, contacts, amazon mp3, myspace, weather
[G1 Android Development] bigl34461:
oh boy......this is starting to get on my nerves. so i flashed to this software version. only thing i did in terminal was cpcache.sh, i didn't do anything with data/data or anything. I did wipe before i flashed. now i can't open anything I keep getting foreclose messages...what am i doing wrong?
[G1 Android Development] LucidREM:
i'd have to know more info .. you have the EXT2 partition yes?
[G1 Android Development] bigl34461:
yes it is...i've checked it
[G1 Android Development] bigl34461:
should i format the ext2 partition again...and how much space should i use? I split my 8gb card equally giving each partition the same amount of space
[G1 Android Development] LucidREM:
did you ever figure out what the errors were from trying to install apps??
[G1 Android Development] LucidREM:
did you confirm these lines:

You should see a line that looks similar to this:

#busybox df -h

/dev/mmcblk0p2	1.5G	6.3M	1.4G	0%	/system/sd

/dev/block/mmcblk0p1	5.9G	61.7M	5.9G	1%	/sdcard
[G1 Android Development] bigl34461:
yes...i have 3.4g avail for system and 3.7 avail for sd card
[G1 Android Development] LucidREM:
just seems completely unrelated to the update .. there's got to be some unknown aspect throwing a wrench in the works
[G1 Android Development] bigl34461:
do i still have to move the app and app-private directories to the sd card?
[G1 Android Development] LucidREM:
i have not made a script for that yet .. so if you want them there you do have to "busybox cp -a" them yes .. i'm formulating a way to move only the data and not the apps
[G1 Android Development] bigl34461:
ok I'll try moving those and see if that helps.......if not, then i'll just do a wipe and just stick to using the memory off the phone. Can i merge the partitions back one fat32 partition on my sd card?
[G1 Android Development] LucidREM:
yes .. they can merge .. just make sure you flash JFs Build and not my modified one .. it'll keep looking for the EXT2
[G1 Android Development] bigl34461:
ok it works now.......after i did a wipe then moved the app app-private directories...it works fine.....should i do the cpcache.sh??
[G1 Android Development] free_man:
16 gb class 6

has anyone tried to move apps on a 16gb class 6 microsd card? I am about to buy one from silicon-power.com but I woud like to know if it will work right. The card is not cheap and I need a 16 gb to sore stuff but also a class 6 to move my aplications on sdcard.
[G1 Android Development] robpet2:
how come my Browser and Steel browser cache keeps growing on the device after moving it to the sdcard.. between steel and browser its 13mb gone...

is there a script i can use to fix it, cause the ones from modmyg1phone wont do it cause it says the folder doesnt exist on the phone, cause it already moved it and removed the cache folder on the g1..

* edit just tried redoing the individual cache moves for steel and browser.. rebooting...

the steel cache moved but the browser wont change in size..
[G1 Android Development] .haNk:
where is copy.sh located? i ran a find from root for any file named copy.sh, and didn't find anything. is this something that i need to copy over? can it be downloaded from somewhere? is it supposed to be in the JF update?

Edit: nevermind...foot-in-mouth (i tend to do that). i guess i need to install the MODIFIED JF update to get the copy.sh script. :P
[G1 Android Development] LucidREM:
as far as i know .. there is no 16G class6 .. so i'm not sure from where you're getting your info
[G1 Android Development] Stryder5:
I'm a little confused as to what this actually does. I'm new to rooting so please ignore my newbiness.

Anyways, I've rooted and am running RC30 with apps and cache running on the ext2 partition of my SD card.

If I want to update to rooted RC33, I apply your update?

What do these steps do and do I need to do it as well?

Thanks.