yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] caleb12:
I think it's probably a noob factor - hacking the android requires some experience in the Linux world and that can be a steep learning curve. Couple that with How-Tos that are easy to understand, and you end up with people rooting their device without even knowing what root is.

It's all good though... we were all noobs once and I don't know about you but I learned the most when I broke ****. :) And if it ain't broke - tweak it!
[G1 Android Development] JesusFreke:
If it ain't broke, you aren't trying hard enough! :D
[G1 Android Development] BobbyHill:
Just a quick question re: formatting the card for card installs: Do you need to have a seperate card reader for that, or can it be done from inside the phone?

I just noticed my card that's on the way from Newegg does not have the adapter.
[G1 Android Development] LucidREM:
strange .. i didn't know they sold them that way .. which card are you getting?
[G1 Android Development] BobbyHill:
It's a cheapy AData 4gb Class 6.
[G1 Android Development] LucidREM:
guess it's too late to change your order? i went with the cheap transcend 8G class 6 .. $14 .. well .. as far as i know you can USB right from the phone but i have always preferred utilizing my SD slot on the computer
[G1 Android Development] BobbyHill:
Yeah it's too late to change the order. It's supposed to be arriving today or tomorrow.

Oh well, if worst comes to worst and I can't format it through the phone, I can always go buy a cheap 1 gig one somewhere that comes with the adapter.
[G1 Android Development] antempire4:
Any word on why the my downloads section of the market no longer shows new versions of apps as free when there is an update available after the sd card move?
[G1 Android Development] LucidREM:
indeed .. i just realized this myself .. something is not refreshing correctly .. all installed apps show the old version

ie. ChompSMS 1.5 "Installed" instead of showing ChompSMS 1.7 "Free"

i feel as tho another folder in /data (maybe /data/local?) is utilizing a relative reference instead of starting at the root

ie. "../data/" instead of "/data/data/"

anyone figured out this tidbit?
[G1 Android Development] BobbyHill:
Does atrackdog still work to check for newer versions?
[G1 Android Development] chicojd:
Apps on SD Card...

Will this also work with a rooted G1 with JF 1.41?
[G1 Android Development] LucidREM:
yep .. yep .. sure enough
[G1 Android Development] esnapz:
Hi all, I'm hoping someone can lend a hand. I'm pretty much still a noob, but I follow directions well. I partitioned my sdcard (about 3 times now) using partition manager. PM tells me that the partitions are made 1st fat32, 2nd ext2. When I get to step 11 I don't see this line

/dev/mmcblk0p2 1.2G 9.1M 1.1G 1% /system/sd

what can I be doing wrong if partition manager does the partitioning. I just choose what I want each partition to be. I'm I missing something?

Thanks

The only option I'm not sure of, should I create as a logical partition?
[G1 Android Development] Beast84:
I don't think this has anything to do with moving apps to SD cuz I haven't moved my apps over yet & I'm still experiencing this in the market
[G1 Android Development] Smokuevo:
can anyone help me with insufficient space to install??? by this thread please please pretty please

http://xdaforums.com/showthread.php?p=3234920#post3234920
[G1 Android Development] :
I decided to give this another go, but I discovered my ext2 partition was gone and it's now invalid:

Can someone help me recover the 2GB I lost?

edit: Found out how to delete and reallocate the lost space with Paragon Partition Manager, I didn't try the "Advanced partitioning and hard drive management"
[G1 Android Development] esnapz:
That happened to me at 1 point. To fix it I reformatted my card using HP USB Disk Storage Format tool. Hope that helps

After several hours, I finally got it this sdcard thing working. The answer I needed was buried in here after reading all 22 pages about 3 times, I figured it out...lol. Thanks guys. I do have 1 more question. If I do a wipe will I have to do it all over again?? (I'm pretty sure the answer is in here too..just a little tired to reread these pages.)

Thanks again.
[G1 Android Development] dwang:
Ok I finally figured out the performance issues with moving /data/data to the sdcard.

When moving /data/data you need to make sure to copy the file permissions and user/group ids as well or you will have performance issues and crashes.

Once I copied /data/data using "cp -rp", everything worked and I have no performance issues.

I have updated the original post with instructions (Step 13) for copying /data/data to the sdcard.
[G1 Android Development] andonnguyen:
Yes, if you wipe, you will have to do it all over.
[G1 Android Development] mark925:
I'm anxious to try this but am kind of wondering if I should wait for someone else to be a guinea pig....
[G1 Android Development] andonnguyen:
I've done it. And it works.
[G1 Android Development] mark925:
Ok... I just did it.. phone rebooting now.

EDIT: Sweet! Seems to work great! :)
[G1 Android Development] andonnguyen:
Your welcome.

-Guinea Pig
[G1 Android Development] vr24:
For anyone having problems with Partition Manager or just having problems partitioning in Windows.

Linux comes on LIVE CD's.... just download and burn Ubuntu - boot into Ubuntu Linux and use the built in partitioner.

I kept getting errors with Partition Manager, I used Ubuntu and in just a couple minutes I had everything going 100%.
[G1 Android Development] andonnguyen:
Paragon Partition Manager Server Edition works better than its regular edition counterpart. Ubuntu works too.
[G1 Android Development] Beast84:
And where would I get this from?
[G1 Android Development] LucidREM:
seriously? click here: http://tinyurl.com/cx53t
[G1 Android Development] Autarkis:
This HowTo is as good as it gets. I've had absolutely no problem following the instructions at all, and (as a Linux user) even understood what I was doing.

I've just made a conventional Backup by rerware, a NAND backup from HardSPL, JF ADP1 --> JF ADP1.1 and Apps on SD card in less than 60 Minutes. :cool: I rock. And YOU guys rock! And of course, Android rocks! :D
[G1 Android Development] vr24:
If you have to ask this question, you "probably" shouldn't be doing any tweaks of this caliber on your phone.

But yes, this guide is extremely well written, my phone has 58mb free space, and running perfectly.
[G1 Android Development] LucidREM:
so with the "cp -rp" no loss in performance .. nice touch .. what makes the difference between that and "busybox cp -a"?
[G1 Android Development] letsrootit:
Can anybody post a screenshot of paragon or directions to correctly partition the SD card with ubuntu? I've tried to no avail to get this working, and I have _never_ been able to see the /system/sd partition in the df -h. Any help would be greatly appreciated. Even just a way to check if the card is partitioned correctly ahead of time would be a huge improvement. Thanks in advance.
[G1 Android Development] dwang:
cp -a should be good as well. cp -a is the same as cp -rpd.

I think what I did originally was cp -R or something like that.

BusyBox v1.13.2 (2009-01-20 22:33:28 CST) multi-call binary

Usage: cp [OPTION]... SOURCE DEST

Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY

Options:

-a Same as -dpR

-d,-P Preserve links

-H,-L Dereference all symlinks (default)

-p Preserve file attributes if possible

-f Force overwrite

-i Prompt before overwrite

-R,-r Recurse directories

-l,-s Create (sym)links
[G1 Android Development] ArronL:
After moving the data over to the sdcard, I can no longer install a new app. It keeps saying that memory is full.

Maybe it's me but it seems like the battery drains faster and it's a little laggier.
[G1 Android Development] andonnguyen:
Maybe you didn't make your partition large enough, it happened to me when I tried it with a 50MB partition. But now I made it a 500MB partition without any problems.
[G1 Android Development] vr24:
Boot from an Ubuntu Live CD - then go to the Partition manager under the system admin (I can't remember what it's called, but it has "partition" in the name, so you'll know it's the right one) - it's under the menu on the bar on the top.

Delete all partitions on your SD card, just whack the whole thing.

Then create a new FAT32 partition, then create a new EXT2 partition. I made my EXT2 partition 500mb (applications are NOT that big, use WAY more space on your FAT32 for pictures/movies/music, etc.)

That's really it, it's super easy to do.

If you have info on your SD card (music, etc.) just copy it over to your desktop before deleting the partitions.
[G1 Android Development] letsrootit:
That's what I don't understand - I'm no linux noob, I use ubuntu day to day. I've formatted with gparted and paragon, FAT32 first, EXT2 2nd, I've tried both logical and extended partitions on both, in every combination, and whenever I get to the point of 'busybox df -h' it doesn't see the ext2 partition - ever. :( argggg
[G1 Android Development] vr24:
GParted, that's it!

I didn't change any settings in GParted - I just created the 2 partitions, no more, no less. Part of me thinks they were both set as primary - if that's even possible.

When I created it in Paragon, I couldn't find the partition on the G1 either. But with Ubuntu, it showed up after my first try.
[G1 Android Development] letsrootit:
I'll give it another whirl later, thanks for the advice. If anyone else can weigh in on checking the sd card first for the correct partitioning, please do! vr24, can you hook up/mount and see what df -h gives you in ubuntu?
[G1 Android Development] andonnguyen:
Make sure its a primary partition, not a logical or extended partition. And for me, both show up in paragon when I'm using windows.
[G1 Android Development] andonnguyen:
Yes, they are both suppose to be primary partitions (it's possible).
[G1 Android Development] letsrootit:
I've made both primary as well, and when I open paragon I can see them both as well, FAT32 and EXT2... just no dice, never on the phone. That's why I'm trying to see if there's a way to check the sd card beforehand, so I can confirm before I even go through the unplug switch turn on remount dance.
[G1 Android Development] ArronL:
Nope I have a 2 gb partition. So I could have done something wrong but I am fine with having the rest of my data cached onto my phone.

For me it seems faster.
[G1 Android Development] andonnguyen:
Paragon will show you the partitions currently residing on your SD card. Make sure you also have the modified init.rc and mountd.conf files pushed to your phone after you have created the ext2 partition.

The only way to check on your phone is through terminal emulator.

With these commands:

su

busybox df -h

there should be a line that says,

/dev/mmcblk0p2

meaning that you have sucessfully created the partition and that the phone can read/write it.
[G1 Android Development] letsrootit:
I'll give it another shot later, it's just discouraging when I know I'm setting it up correctly, and it doesn't work.

Like I said, hopefully someone can come up with a way to verify (df -h on ubuntu anyone?) that the sd card is partitioned correctly before attempting to go further.
[G1 Android Development] andonnguyen:
@letsrootit

do it on your phone using terminal emulator!

use these commands.

su

busybox df -h

read my previous post lol
[G1 Android Development] letsrootit:
I said before attempting, I want to make sure it's partitioned right before I go through the process all over again. Having done it 3 times already...
[G1 Android Development] andonnguyen:
Then the only way is by looking at the sdcard through paragon or another partition manager, or by loading it on ubuntu/linux (since it can read both fat32/ext2 filesystems), like i said 2 posts ago.

If the partitions show up, then its partitioned correctly. Good luck.
[G1 Android Development] vr24:
If you have another MicroSD card, try partitioning that and see if that will show up.
[G1 Android Development] h4ng0ver:
Have anyone attempted to install JF 1.4 after this procedure done with RC30? I want to install JF 1.4 but don't want to redo everything, all my apps and data is in the SDcard

THanks
[G1 Android Development] andonnguyen:
I have. It wont delete the apps and data on your sd card. Although you have to go through the same procedures to re-link your apps to your sd card (i.e. push mountd.conf and init.rc, and mkdir /system/sd, and busybox, etc) since the update replaces everything found in /system . You're apps will re-appear since theyre already on your sd card.
[G1 Android Development] h4ng0ver:
Sound easy enuff. Thanks
[G1 Android Development] rich0:
Just tried this out with a class 4 SD card. Performance wasn't exactly spectacular.

I moved /data/data back to the internal flash and that seems to have alleviated most of the problems (which makes sense).

The nice thing about having the ext2 partition is that you can potentially move anything back-and-forth to external storage without messing up permissions. If I ever have to do another wipe I'll probably back up /data/data to my sd card just so that I don't need to reconfigure every app on my phone...

I saw some people struggling with tracking down space utilization. From a shell just type "busybox du -s *" in a directory and it will total up the space used by everything in each file/directory under the current directory. You can probably drop the "busybox" - not sure offhand.

For those having partitioning issues - make sure your partitions are actually formatted. If you only partition the space and don't put a filesystem on the new partitions it obviously won't work. I just made sure everything was working by mounting both partitions on my linux system. If you don't use linux it might be easiest to just download knoppix or something like that (bootable linux CD) - it will have all the stuff you need on it. You do potentially need to have some understanding of linux to use it. However, you really should have at least a passing understanding of linux before rooting your phone let alone symlinking all your data to another device.
[G1 Android Development] Mikey:
I hope you one you "Brains" out there can help me with this one issue.

I performed all the steps, with NO errors.

i have over 71GB memory on my cell. SWEET!!!

I reboot my phone and i get a window stating:

button allows me to continue to my home screen.

The phone seems faster and stable.

Any ideas to get rid of this or fix it. :)
[G1 Android Development] andonnguyen:
Can I have your phone? I'll trade you for your 71GB of free space :D
[G1 Android Development] Mikey:
Give ADP1 a try :) I hate branding on my phone ;)
[G1 Android Development] usmc2k:
All I got was 62mb free : (.... LMAO !!!! Think ur g1 caugh a Bug somewhere in the process lol
[G1 Android Development] Mikey:
I think something went wrong but what.

As for the free space. That's how much space free i had prior to installing any program. i had checked the size right after installing the new rom.
[G1 Android Development] Mikey:
UPDATE:

I try to install a program from the market and i get a

"Sorry, there's not enough space to install this item"

:(:mad:
[G1 Android Development] dwang:
Hmm never seen that before. Its probably related to the user and group ids being incorrect or something and causing write/read permission issues.

Probably best to keep data in internal storage and manually move the caches' over.

My phone (jc adp 1.1 v1.41) however is working great with app, app-private, and data all on the sdcard and its running as fast as ever.
[G1 Android Development] andonnguyen:
Same here, fast and working fine.
[G1 Android Development] karlb619:
Ok so I have a few problems. I am new to using the cmd shell on the computer. I do have root and my card is also partitioned correctly. I checked to make sure it recognizes my device, and it did. Then where do I go from there? To pull the mountd.conf of the phone do I have to hit adb shell, then do the adb pull? Here is what I did and for some reason I cant get it right:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Karl>cd desktop

C:\Users\Karl\Desktop>cd sdk

C:\Users\Karl\Desktop\sdk>cd tools

C:\Users\Karl\Desktop\sdk\tools>adb devices
List of devices attached
HT848GZ64923 device

C:\Users\Karl\Desktop\sdk\tools>adb pull /system/etc/mountd.conf <C:\Users\Karl\Desktop\backup>
The syntax of the command is incorrect.

C:\Users\Karl\Desktop\sdk\tools>

I am pulling it to the folder on my desktop called backup. Am I putting the name of the directory in right or is there a different form of putting it in?
[G1 Android Development] LucidREM:
this is a DOS command line .. you can't have the < > in there .. syntax just means the way the command takes info .. no need for anything around the directory unless one of them extends beyond 8 characters

"C:\Program Files\"

C:\PROGRA~1\

these two entries are the exact same thing in DOS commands .. gets really interesting when you put a '.' into a directory name
[G1 Android Development] karlb619:
So I pulled them successfully. Thanks! Now to push the files to the phone, what am i doing wrong here:

C:\Users\Karl\Desktop\sdk\tools>adb push /C:Users\Karl\Desktop\mod\mountd.conf /system/etc/mountd.conf
cannot stat '/C:Users\Karl\Desktop\mod\mountd.conf': No such file or directory

C:\Users\Karl\Desktop\sdk\tools>

I did remount before hand and it succeeded. How should I be entering it?
[G1 Android Development] usmc2k:
Use "c:blah blah blah" Put in the quotations n u should be ok
[G1 Android Development] usmc2k:
put the files into the tools folder then use these comands.....

adb push mountd.conf /system/etc/mountd.conf

adb push init.rc /system/init.rc

Makes it easier n alot less to type in
[G1 Android Development] karlb619:
Sweet, that worked. Now hopefully I can finish the rest of it. Thanks for the help!
[G1 Android Development] usmc2k:
Im guessing that maybe u didnt partion enuff space !?!?!? If worse case scenario i would do a wipe... n re partion ur sd card
[G1 Android Development] karlb619:
So I finished without any flaws. I had like 49mb of free space before hand, and now I have 61mb of free space, and thats without moving the /data/data yet. Everything is working good.
[G1 Android Development] Beast84:
Sorry I'm not as advanced as you. Its people like you that make people not wanna ask a question on this forum. I asked for help, not a "sorry your too stupid to do this" But I did manage to find what I was looking for.

Next question, ubuntu doesn't see my SD card in gparted. Anyone else having this issue?
[G1 Android Development] andonnguyen:
I had that problem at first with ubuntu, then decided to do it in windows with paragon partition manager server edition. From my past experience similar to yours, my best guess is to tell you to repartition and reformat your SD card.
[G1 Android Development] Beast84:
I have reformatted my card, at least 4 times now. Is the server edition better than the regular paragon?
[G1 Android Development] LucidREM:
i didn't have a single problem with Ubuntu 8.10 .. i think i was not using gparted .. i have Partition Editor .. but it should run the same way .. wiped my card (or you could just resize the FAT32) .. added a new primary FAT32 and a new primary EXT2 .. now i did each step by itself .. the Partition i was using set the steps on a que and then performed them .. so i just que'd one thing at a time and ran each step individually
[G1 Android Development] Beast84:
My problem is it doesn't even see my SD tho. It shows my c drive & my external drive but not my SD
[G1 Android Development] LucidREM:
strange .. doing this thru the phone? SD slot? USB card reader? mine was done by SD slot .. and i installed Ubuntu along side Windows .. not sure what kind of difference that makes
[G1 Android Development] BobbyHill:
I managed to create the partitions on my sd card (2.75gb primary FAT32 and the rest as a primary EXT2)

Followed the directions for pushing the modified init.rc and mountd.conf, but it's not mounting. After a reboot, I'm getting this:

# busybox df -h

busybox df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 48.4M 0 48.4M 0% /dev

tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 67.5M 63.1M 4.4M 94% /system

/dev/block/loop0 1.5M 1.5M 0 100% /system/modules

/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin

/dev/block/mtdblock5 74.8M 2.0M 72.7M 3% /data

/dev/block/mtdblock4 67.5M 1.1M 66.4M 2% /cache

/dev/block/mmcblk0p1 2.7G 4.0K 2.7G 0% /sdcard

#

AFAIK I made the partitions alright. I've tried both fat and fat32 for the 2.75gb partition.
[G1 Android Development] LucidREM:
funny thing .. /sdcard doesn't show on mine .. there was a step in the walkthrough that said if you don't see:

/dev/mmcblk0p2 1.5G 76.2M 1.3G 5% /system/sd

or something like it (number-wise) then stop and go back to the beginning
[G1 Android Development] Beast84:
I tried it through the slot & ubuntu wouldn't even see it. When I did it with a reader, it sees it but it says unallocated. It won't let me partition it
[G1 Android Development] BobbyHill:
Unfortunately I've followed it to that point and gone back to the beginning about 12 times.

I'm normally fairly linux savvy, but I'm thinking I should probably just give up. It's gotten to the point now where I'm just getting frustrated and I'll pitch the thing out the window before too long.
[G1 Android Development] letsrootit:
I'm in the same boat as you man. Follow the directions to the T and it just does not work.
[G1 Android Development] LucidREM:
have you tried doing it from the phone? or only by means of adb? the commands are slightly modified by i believe someone posted them .. once you have root on the phone you can do everything from TERMINAL
[G1 Android Development] LucidREM:
not sure .. the Partition Editor i used in Ubuntu was graphic .. not text .. i just right-clicked the SD and deleted everything .. right-click again to create FAT32 .. right-click again to create EXT2 .. done .. once the partition was created my computer automatically mounted the drive to the desktop
[G1 Android Development] letsrootit:
Seems like the problem most of us who have been unsuccessful keep hitting is the partitioning; it would be great to have a way to check the sd card formatting before we start messing with filesystem stuff that assumes it works :confused:
[G1 Android Development] BobbyHill:
I've put my original sd card back in, and I'm going to go back to a stock jf 1.41, then reinstall the 4gig card and try my repartitioning again through Paragaon, then follow the directions again.

Does it matter if the first partition is fat32 or fat16?
[G1 Android Development] LucidREM:
i'm not sure .. but if you have (for instance) an 8G card you must use FAT32 to create a partition greater than 4G .. FAT (aka FAT16) is an old form that will not work beyond 4G .. ah the days of DOS622 and WIN31 .. enough said .. i'm using FAT32 and FAT32 is what SD cards come stocked with from store
[G1 Android Development] BobbyHill:
Ok, I just made a 2800mb FAT32 partition, then another with the remaining space formatted in EXT2. Step one complete.

(Also, I took a picture with the phone's camera, saved it, and it is appearing on the card. So we know it's reading the fat32 partition anyway.)

Everything seems to be working now. Sometimes when you take a step back, enjoy a glass of wine and a bag of cheetos, everything works out. Now, didn't I see a "Step 13" for moving the cache data or something this morning? As many of these threads as I've read, I can't remember where the heck it was.
[G1 Android Development] bulletproof77:
Paragon Partition Manager 9

Paragon Partition Manager 9 is this freeware? or can someone do me a favor....
[G1 Android Development] antempire4:
http://thepiratebay.org/torrent/402...anager_Professional_9.0___Recovery_CD_Image_P
[G1 Android Development] BobbyHill:
Doh! I thought everything was working alright. Then I started getting errors about not enough space. I set a 1+ gig partition, so it should be enough for the few apps I've installed.

I'm tired of futzing around with it tonight, though. This will give me something to do at work tomorrow :P