yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Gilliland12:
From recovery

mke2fs -j /dev/block/mmcblk0p2

mkswap /dev/block/mmcblk0p3

Worked for me. I had to do that on one phone, the other phone worked right out of the gate.
[G1 Android Development] BrooklynAvi:
Does this actually work for the G1

The tutorial is very straightforward and I am now running Ubuntu without any issues. I also managed to partition a spare SD card (not a micro as I am just playing around). While the tutorial seems solid, and the process pretty simple, it seems that no one here is actually able to get it to work on their phone. So is it that everyone is doing it incorrectly or is there a step missing? I'd just like to know before I do it for real.
[G1 Android Development] Gilliland12:
Works fine for me.

I had one card where I had to do the extra step that I previously posted and the other card did fine without any extra steps.

It's really rather simple. I've since redone it several times to clear out some extra stuff. Loving it.
[G1 Android Development] supremeteam256:
Guide is perfect and not missing any steps. You can't always go by what other people say. Alot of people think they know what there doing and decide not to read all the way. Why do you think there are so many bricks when there are so many warnings out there.
[G1 Android Development] Vlad83:
GParted doesn't see my card

I have a brand new 4gig class 6 card. I formatted it in windows and saw this write up so decided to repartition it. When I insert the card it appears on the desktop but when I open GParted it only recognizes my hard disk... What should I do?

Thanks for the help, I am a linux noob...
[G1 Android Development] opasha:
your sd card reader probably needs driver updates---same thing happend to me.

so instead of updating the drivers or trying to figure that out. leave the sd card in your g1 and then plug your g1 into your usb once ubuntu is already up and running. then mount. it should show up :).

ALSO FOR THOSE WHO GET THE ERROR NOTIFICATION ABOUT BEING ASKED TO REFORMAT YOUR CARD. IGNORE THAT AND REBOOT YOUR G1. IT SHOULD GO AWAY AND WORK FINE.
[G1 Android Development] supremeteam256:
Whats up opasha, no school today. You getting Ubuntu down now, glad you can help out here.
[G1 Android Development] Vlad83:
Thanks! Will give it a try when near a pc.
[G1 Android Development] BrooklynAvi:
I assumed it was the usual...people not reading the whole tut first. It seemed to go rather smoothly in my tests. I was wondering, however, if this method would work to repartition an SD card. I'd like to add a linux-swap partition without losing data. I know of another method that I read on this board (have to find it again) but was wondering if I can do it this way as it appears to be simpler.
[G1 Android Development] Vlad83:
Yeah, doing it through my phone as opposed to the memory card reader solved the problem. Any idea how to update the memory card reader's drivers?

Aarronratner, you can make any partition you want with GParted.
[G1 Android Development] opasha:
first, let me give my props to supremeteam256...he helped me from scratch to get to where i am now about learning stuff on android root etc.

now to ur question: yes you can use ubuntu for that. in fact, that is one of the easiest ways to partition ur sd card. i used it with supremeteam's instructions on splitting mine up into fat32, ext3, linux-swap for my 8gb class 6 sd.
[G1 Android Development] opasha:
yo this is my 100th post bro! (senior member finally) just wanted to say thanks and what's up :D.

anyone got any questions about ubuntu...feel free to ask.
[G1 Android Development] tq745:
Okay thanks, I'll try it again...
[G1 Android Development] opasha:
no problem- hope it works for you :)
[G1 Android Development] bruce_wayne:
Is there any reason why you boot ubuntu without installing? Or can it just be installed and used regardless?
[G1 Android Development] opasha:
yeah ubuntu gives you many options:

1) you can install it and only run ubuntu.

2) you can install ubuntu and partition it with your windows so you have both to go to which you can load either or i believe in the boot menu when you start your computer.

3) the cd is there so you can load up ubuntu without installing whenever you wanna just run the cd using f12 (basically saves you space and an easy method when travelling around helping others with your ubuntu cd ;) )

any further questions- ask the master ---> supremeteam256
[G1 Android Development] bruce_wayne:
Thank you for clarifying that
[G1 Android Development] opasha:
any time dude :)
[G1 Android Development] benge:
Repartitioning 2 Gig SD card after a2sd

Hey, first of all thanks to supreme for a great guide for noobs, I did this about a month ago and now I have cyan's latest rom (that'll probably be out of date by the time you read this) running on my G1.

I've had a look through the thread and aaronratner asked this back in post #53 but I couldn't see a reply...

After following the guide I repartitioned my 2 gig SD card in to 1gb FAT32 & 1gb ext3, got apps2sd working and very glad for it too. Only thing is now I've done a bit of research I'd like to repartition it to about 1.4gb FAT32, 0.5gb EXT3 (I think 1gb may be a bit overkill) and I'm thinking 64mb swap... most people seem to say 32mb but I've read Loccy (betterbrowser) saying that he has 64mb and his browser doesn't have to reload the page every time you open another program & then go back to the browser.

Seeing as I already have A2SD set up & everything working lovely, I'd really like to repartition without losing anything. I don't mind if this involves backing up the FAT32 & EXT3 partition (although I may need a little help with the EXT3 backup) and then wiping the card, although if there's a way of doing without that'd be great.

Also would I need to re-flash the cyan rom for it to take advantage of the new swap partition?

So many questions in one post!

I'd be really grateful of any help anyone could offer here, I've just got in to all this modding lark & the people on XDA are really helpful, once I've got some knowledge under my belt, I fully intend help out others here too.

Thank you! :)
[G1 Android Development] mt3g:
haven't seen my question

can I use this (ubuntu) or is adb my only option for the mytouch 3g thanks people? also i know about amon ras recovery image but would like to learn the stuff also dont want to take the super easy way out thanks again sorry if i over looked if it was answered....
[G1 Android Development] opasha:
just transfer your entire sd card's files to your comp and once your repartition your sd card with ubuntu like before, just transfer them back. also, use adb to pull your public and private apps so you have those. yeah you will have to re-install them most likely, but you won't lose anything. and you can just download a batch installer like app manager pro from the market. i did that because i had to go from my 2 gb card to my new 8gb card and just transferred all my files and apps over. and yes, you must wipe and reflash so that your card reads properly. you will probably get an sd card wants to reformat on your screen, just ignore that and reboot your phone and it will go away.
[G1 Android Development] opasha:
what are you trying to use it for? ubuntu can be used for a lot of things, but the program designed for pushing and pulling apps specifically is adb. ubuntu cannot do that. ubuntu just makes your life easier for recovering and reformatting alot of things like your sd card, your hard drive that may have crashed, etc etc. so yeah adb is your only option at the moment. learn it and learn it well :)
[G1 Android Development] BrooklynAvi:
So it appears that repartitioning without losing data is difficult at best, if not impossible. An earlier answer to my question said it was but according to this, I would lose data on my card and have to wipe my phone before being able to use the newly partitioned card. I have a 16GB card with something like 550MB on an ext2 partition and the rest being fat32. I'd like to add a linux-swap to the card which is rather simple in Ubuntu. But I don't need to partition but rather REpartition. I'd like to be able to keep everything as is but just add a partition. Remember, I can always do it and get back my data (I'm a backup freak) but I'd rather have a simple way of doing it so I can do it as often as I need. I wouldn't really "lose" anything since I have copies of everything but wiping and reinstalling 250+ apps (even with a bulk install via abd or App Manager Pro) is just such a *****.
[G1 Android Development] BrooklynAvi:
Resizing Partitions and Adding a linux-swap

OK, so I was able to use the Partition Editor in Ubuntu to resize my ext2 partition to 64MB less and then add a 64MB linux-swap as the third partition on my SD card with NO data loss to either my fat32 or ext2 partitions. I did, however, backup my fat32 partition prior to trying this out. I cannot say with any certainty that you will not lose your data when doing this. All I am saying is that I was able to successfully add the partition without any loss of data on MY card. I also did NOT have to wipe my phone. I just resized the ext2 partition, added a linux-swap and was good to go. One thing I did have to do was UNcheck the box labeled "Round to Cylinders." This is because the partitions must be in order, i.e. fat32, ext2/3/4 and linux-swap. If the box is left checked, it adds a small partition between the ext and linux-swap partitions. Perhaps someone with actual knowledge of Linux (i.e. not me) can explain why this is the case. Either way, it worked.
[G1 Android Development] opasha:
oh awesome. i didnt know you could do that. i haven't tried anything like that out because i was afraid to mess with my stuff and lose everything. so u just uncheck round to cylinders box and change the linux swap? i already have fat32, ext3, and linux-swap (32mb) on mine right now. thanks.
[G1 Android Development] tommeke4:
hey guys, quick question. im currently using cyan 4.0.4 on fat32 and im going to partition my sd card and add swap.

when partitioned do i have to wipe and reflash cyan4.0.4? and will swap and apps2sd automatically run with cyanogen's rom or do i have to manually start this procedure?
[G1 Android Development] benge:
Big thanks to opasha & aaronratner, going to attempt the repartition using GParted after backing up FAT32, (I have ubuntu dual booting on one of my PCs, going to try backing up the EXT3 partition as well) to add a linux swap and size down my EXT3 partition. Fingers crossed & I'll let you know if it works, worst comes to the worst I'll wipe & reflash, should have most stuff backed up anyway. :)
[G1 Android Development] benge:
the blind leading the blind

hey, pretty new to this myself but I think that adding a swap partition may be ok without re-flashing (see posts above), but I'm pretty sure that apps2sd is something the rom does when you flash it, not sure if it'll do it by itself without actually flashing the rom, not sure so correct me if i'm wrong... pretty sure that'd be at least a re-flash job, may have to wipe first too before flashing, again, not sure, ideas guys?
[G1 Android Development] Hellek:
I know that quite some time passed, but I did not see any reply which corresponds to what I'm posting now. I hope you fixed it by now, but probably it is helpful for other users.

I had the same problem (card appears on desktop but gparted does not find it). I fixed it by opening a terminal/console and typing the following:

gksu gparted /dev/mmc...

The ... has to be replaced with the full name of the device. I had two with similar names, simply try the second if the first does not work.

Since I am already back in windows, I am not 100% sure if I am correctly remembering the command I used. If I made an error, please see it as a hint in the right direction and proceed with your own common sense. The idea is that gparted only checks a very limited selection of devices, your MMC-reader is not among them. With that command line (preceded by gksu since gparted needs to run as root), you explicitly tell gparted which device to look at.

Thanks to supremeteam256 for this guide. Very easy to follow through and saved me quite a lot of time!
[G1 Android Development] BrooklynAvi:
Repatition HOWTO

I have written a HOWTO on repartitioning using GParted in Ubuntu. It can be found at http://xdaforums.com/showthread.php?p=4490365.
[G1 Android Development] n1ghtl1fe:
ok, so my sd wont show in gparted unless mounted through my G1.

If i delete all my partitions and then repartition with gparted is it as good as clearing EXT3 through terminal? (will all data be deleted? fresh start as if a new sd?)
[G1 Android Development] schtuka:
Few questions for MT3G.

I am sorry guys for asking elementary questions. I have stock 4 gb card that came with my MyTouch. I have installed Cyanogen Rom 4.4, but now I read alot about partitioning the sd card. Great guide by the way.

What benefit do I get by doing partitioning of the sd card aside of trying Hero ROMs?

Before I use this method I assume I have to format my card after backing up all folders that on my card right now.

My questions are:

What do I do next? Put Recovery image and CM 4.04 back on the card to wipe and flash it again?

Where do I put back all folders created by applications, images and other files? Back to FAT32 section?

I guess I need an actual step by step guide after Ubuntu process.

Thanks and if you have a link to a thread about this I will take that instead of answer.
[G1 Android Development] kingklick:
partitioning will allow you to use swap and backing swap if you use comp cache. also, if you have an ext 1/2/3/4 partition, you can use "apps to sd"
[G1 Android Development] M3TR1C:
So say for example that I already have the Hero ROM on my phone. When i partitioned the card I used recovery modes format to fat32+ext2+swap. Is this outdated and is it better just to do that partition manually instead of doing it this way? I'm using recovery-RAv1.2.1g. Hero is running a bit sluggish on my phone and i'm wondering if it has anything to do with the swap being to small.
[G1 Android Development] pliundemix:
Recovery Image

If I do what u say in this guide everything will be wiped out of the sd card right? If I have just rooted my G1 what files should I keep..I mean do I have to backup something to my computer before I do this partition? What files? What files do I need to put back into the SD card after the partition has been done? In which of the partitions the Fat32 or the ext2? I'm a total noob as u can tell that's why I need ur help and I would really appreciate it..Thanks!!!

P.S. What is linux_swap? what's its point?

Thanks!!
[G1 Android Development] kinghenry821:
hey does anyone else have this problem where the phone wont read the stuff on the sd card like my pictures n music? i have a tmobile my touch with a hero rom.
[G1 Android Development] opasha:
it's probably because of the hero rom you're running. switch to a cyan rom and see or to a diff hero rom.
[G1 Android Development] moyoknow:
For people that install Ubuntu and loose gparted

If you install ubuntu on to your computer gparted automatically gets missing. This is what to do if you want it back. Make sure you have internet access. Goto the command line and type in sudo apt-get install gparted and thats all.
[G1 Android Development] Pikkuhannu:
Great instructions!!!

I make it fat32/ext4, why stay ext3?

Think to use Ubuntu more, looks great again...:)
[G1 Android Development] supremeteam256:
People stay on ext3 because ext4 is still so new and not all roms accept it.
[G1 Android Development] blackknightavalon:
I originally had Jaunty Jackalope on my laptop. I had to buy a new desktop because my old machine crashed and the first thing I did with it was install Unetbootin and try to burn the 9.04 image to a USB stick (I hate Vista). I couldn't get the full install image on the stick to work so I had to use the net install. Here we go:
[G1 Android Development] Pikkuhannu:
Ok. I hope i not wrong, Cyanogen roms will accept it?

By the way just set up Ubuntu to my Acer Aspire One... Look great! Let see if Windows usage decrease...

Sorry bad english again...:o
[G1 Android Development] HazzBazz:
sapphire help!

Gone through entire thread, but I can't type anything in command line because im on sapphire. Can't remember if I unchecked round cilinders, would that make the difference? I just get blank and corrupt, but when I reset it doesn't boot, help!
[G1 Android Development] HazzBazz:
Bump bump bump!
[G1 Android Development] HazzBazz:
bump again please help!
[G1 Android Development] :
Really it's only some ROMs that *don't* support ext4. Cyanogen himself uses ext4 on his ROMs so you'll be fine :-)

I really don't understand your problem...why do you need the command line?
[G1 Android Development] HazzBazz:
apparently the issue can be solved with a command line input...but I cant do that. Not sure if there's any solutions to my problem.
[G1 Android Development] Deadbolt:
I'm having a HUGE problem and it is really starting to get to me. I've partitioned my 8 gig sdcard through gparted on ubuntu before using my G1 instead of an sdcard reader and it was under "devices" when i brought up gparted. But, later my sdcard went on a fritz after trying to update to cyan 4.2.3.1. So I got my sdcard reader, used the ubuntu livecd and it wasnt in "devices" in gparted. I then ran cd /dev/ and sudo gparted mmcblk0 and my sdcard came up on gparted. I made a fat32, ext2 and linux-swap partitions and after it finished and reloaded my sdcard in gparted, the ext2 and linux-swap partitions came up "unknown". I kept trying and trying, sometimes got errors, sometimes didnt but when i didnt, the "unknown" partitions were there. I tried paragon and all i got was errors. Please someone help, its got me stumped and i need a working partitioned sdcard on my G1 asap....

Edit: None of the 4 ways I tried to partition worked with my SD Card. My final conclusion would have to be that it is now a damaged SD card =(
[G1 Android Development] geokiss:
Use http://wubi-installer.org/ install Ubuntu. Very simple
[G1 Android Development] ahhl:
i cannot create 3 partition, only 2. if i create 3 partition, one of it going to give "unknown". i am using gparted on puppy-linux. sdcard 16GB. created 10GB/fat32, 4GB/ext2, 1GB/unallocated. anyone knows why. is it because of overlapping the space. that give unknown error? if it is what is the minimum size/how to calculate.
[G1 Android Development] zerodi:
confusion again

hi guys , sorry if this has been posted before,

im using a 32B Google ION , do i have to partition my sd-card only for Froyo Roms?

ive checked on cyanogen Rom and he says nothing about partitioning the card, so does this only apply if you want to run a Froyo rom which store all the apps onto the sd-card ?
[G1 Android Development] Firerat:
no partitions required for FroYo

unless you really-really want swap, or want a chroot linux
[G1 Android Development] resarf69:
Great tutorial, thankyou :)
[G1 Android Development] ykhehra1:
I am not getting what is the purpose of ext3 and linux-swap partitions and how can I access them on Android? how can I install apps etc. on these partitions? I am using Froyo on HTC HD2 through SD card card main partition.
[G1 Android Development] klaydze:
Hi,

I have trouble using the Gparted on Ubuntu 10.10. Everytime i create a ext, an error message will appear.

"It is not possible to create more than 1 primary partitions. If you want more partition you should first create an exteded partition such a partition can contain other partitions. Because an extended partition is also a primary partition it might be necessary to remove a primary partition first."

Any idea on this? I also follow the suggestion on error message to create exteded but it's disabled. I can only select Primary Partition. Or should i reformat my sdcard again in Windows and select Fat32?

BTW, when i'm inside the GParted i only see 1 partition, Fat32 only and instead of a "key icon" i see an "exclamation icon". Seems like i will buy another sdcard. LOL.

Thanks and Regards

klaydze
[G1 Android Development] Adiost:
Excuse me, but I'd like to post some useful note that perhaps was already posted :)

Can't find GParted in apps list in ubuntu? Terminal -> sudo apt-get install gparted
[G1 Android Development] kawaiiDango:
why r u leaving an unallocated at the end?
[G1 Android Development] sccubasteve:
awesoem guide. i use ubuntu so it was even easier. thanks man.
[G1 Apps and Games] pwnedgamer:
Can someone make a type of Cydia/Installous for the g1 :D
[G1 Apps and Games] Draxter:
Would be nice... but why do G1 owners always forget there's more than the G1 :P G1 is a relatively small part of something huge, Android.

One of the apps I'd want as well, cyadia seconded :)
[G1 Apps and Games] pwnedgamer:
i know but it would still be nice to have free paid apps
[G1 Apps and Games] jashsu:
You miss the whole point of Cydia. Cydia was created as an alternative repository of apps which didn't have to obey Apple's restrictive rules or nonsensical approval process.

As for installous, there is really no need to "crack" G1 apps, as anyone can pull non-protected apps out of their flash and post them online. Protected apps are similiarly vulnerable for root users. This is as far as I am going to discuss the matter, so ill just conclude with:

1) Think about the programmers that are writing these apps. A lot of them really are struggling to put food on their dinner tables.

2) Your initial post betrays a complete lack of knowledge of both the Cydia system as well as the Android app philosophy.

3) Discussing the piracy of apps is explicitly forbidden by xda rules. Please respect them if you wish to participate in the community.
[HTC Excalibur] 88five-oh:
I just had a quick question about this.

When you install STK on a wm6.1 device, is it possible to still have the right soft key function change depending on what slide you're on (just like stock), or is it always the "tasks" option, like you see in screenshots?

Thanks

-88five-oh
[HTC Excalibur] stylez:
No it has options lol, u can choose to have start menu with standard task bar etc...
[Touch Diamond, MDA Compact IV ROM Development] Zaslav:
Hey guys,

My Diamond erase's all data on the phone everytime I soft reset. I know this has been posted before and I've tried searching the forums for the answer to no avail. So if someone could kindly make a smartass remark about my ignorance and then point me in the right direction I would greatly appreciate it.

Thanks!!!
[Touch Diamond, MDA Compact IV ROM Development] hudytheone:
there is a thread on that problem search for ( HUGE DIAMOND PROBLEMS ) i'm sure thats what is was called that will fix you up mate, hope this helps
[G1 Q&A, Help & Troubleshooting] imbonez9:
Is there a reason why I'm not able to use GScirpt on any of the Hero roms but other Roms I am?
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Maybe you're trying to do the reboot option? Hero doesn't allow reboot from terminal. That's all I can think of
[G1 Q&A, Help & Troubleshooting] imbonez9:
Ya there's a couple of one's i wanna do that have the reboot option? Is that the reason why I'm unable to?
[Touch HD General] A|ex:
This question has been bothering me for a while now as there is nothing wrong with my current build rom with 6.1. I have been wondering if it is worth upgrading to 6.5 (apart from testing/ hassle of reinstalling all my applications).

Apart from the UI change are there any other noticable differences worth the upgrade? Would you say the 6.5 brings new life to the device (because of the UI) or are there other changes such as the way it manages the battery, gps etc.

I hear there is a small performance hit but that is understandable to power all the new ui but apart from that the new cooked up roms are pretty much there in terms of a near perfect rom.
[Touch HD General] ZaxXx:
The only things I noticed and found useful are better finger-scrolling (however, I can't select or drag&drop icons in Total commander when scrollbar is visible) and larger menus. No big changes, still "just Windows mobile".