[How-to]Darktremors apps2sd on Froyo - Droid Eris Android Development

Edit: I made some scripts that you can run from gscript lite found in market for free. This script will mount the last partition so your windows pc will see it. There is one for mount and one for unmount. Plug your phone in pc and run the mountsd script and your window should pop up on the pc with the folder showing the partition that your froyo rom is using. If you have your card partitioned differently then these instructions then you can just edit the mountsd script where it says /dev/block/mmcblk0p4. Change the 4 to the number of the fat32 partition that you want it to mount. http://www.multiupload.com/HNIKCP720C
If you want to copy from froyo partition to recovery partition try this
Conap said:
No need to stop being lazy but you gotta give me a minute lol...download script and run it in gscripts. In File Manager if you press the home button you will see sdcard and sdcard2. sdcard is the froyo partition and sdcard2 is the recovery partition of the card. I am sure you can get to it in astro too but don't have it downloaded to test. Just navigate to the root folder of the phone and it should have the sdcard2 directory. This will stick untill you reboot then you will have to run the script again.
Click to expand...
Click to collapse
We all have seen that froyo doesn't like partitioned sd cards. After many attempts at partitioning my sd card for another project i'm working on I figured out a way to install the "old" apps2sd on Froyo. I know alot of people preferred the way it was done in 2.1. Froyo seems to use the last partition on the sd card at least untill the 7th partition which it stops looking after that. Amon's recovery works with the first partition on the sd card. So the solution is to put a Fat32 partition as the first partition then put your ext3 and swap partitions and then a 4th partition as fat32 for the phone to use when booted. The important thing to remember is to put any rom's you want to flash on the first partition. Your nand backups will also be stored on the first partition. Pictures, music, video's, stuff you download to the phone and any other normal stuff that uses sd card will end up on 4th partition. I will give instructions using a program called gparted. I think it is available for windows also. This should work with any type of partitioning software.
I will leave the original instructions at bottom of post but after a lot of partitioning my sd card for this project and the ubuntu/debian project and the DualRom project I've found that this method is a little better. I believe someone else linked to this method somewhere in this thread
Conap said:
THIS WILL DELETE EVERYTHING OFF OF YOUR SD CARD
ok try this...boot phone into recovery...hopefully you have amon's recovery cause I don't think clockwork uses parted(not sure). Then type or copy/paste these commands:
adb shell
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
rm 4
mkpartfs primary fat32 0 2000
mkpartfs primary ext2 2001 2500
mkpartfs primary linux-swap 2501 2550
mkpartfs primary fat32 2551 7948
quit
Depending on the number of partitions on your sdcard currently it may say error after the rm 1,rm 2, rm 3, rm 4 commands. You can ignore them.
Then reboot your phone or copy the file you want to flash back on to card and flash it.
Click to expand...
Click to collapse
PLEASE BE CAREFUL WHEN USING A FORMATTING PROGRAM THAT YOU ONLY REFORMAT YOUR SD CARD AND NOT YOUR HARD DRIVE
1. BACK UP YOUR SD CARD!!!!!!!!(this will erase all data on sd card)
2. Plug your phone into your pc and mount the sd card(like you would if transferring files from pc to your card)
3. Open GParted and on the bar at the top click Gparted then devices and choose the phone( should be the second in the list if you only have one hard drive and no other external storage devices connected)
4. On the gparted screen you will see the partitions of your sd card. There should only be one at the moment if you are already using froyo. Right click on all of the partitions and click unmount and then delete. This will delete everything on your sd. Please be sure you have backed up your card.
5. You should now have one line that says unallocated.
6. Right click on unallocated and click click new. It will bring up a screen that has size and type of partition sizes. The only things you need to change are the size and type. For the first partitions I used 2000mib in the new size box but I keep around 5 Nand backups and 10 to 15 rom's stored on my card at a time. If you do not do alot of nands and store alot of roms you could probably make this partition smaller. Then under file system choose fat32 from the dropdown menu and choose add.
7. Right click on unallocated again and click new. This will bring up the screen to chose size and file system again. Normally people use 500mb for the ext3 partition for apps2sd. You can adjust the number to fit your needs. Choose your size and then make the file system ext3 and click add.
8. Right click unallocated again and click new. This partition should be around 50mb and choose file system as linux-swap.
9. Right click unallocated and new again. This will be the partition you use for your media on your phone such as pic's or music. You will want to use the rest of the space left on your card for this partition. Choose fat32 for the file system and click add.
10. You should now see 4 sections listed. First and last should be fat32, second ext3 and 3rd linux-swap. If it looks correct you hit the checkmark button at the top of the gparted screen. It will make all changes to your sd card. You can then unmount your card and make sure your phone reads it. I reccomend taking 1 picture before copying the stuff you backed up back onto your card.
Remember to put your Nand folder and any roms onto partition 1 and all other stuff you backed up on partition 4. When your card is setup you can go to http://forum.xda-developers.com/showthread.php?t=715933 to get the zip to flash to install the apps2sd. Install apps2sd as per instructions on that thread.
I have apps2sd currently running on my phone with CELB3.2 and it is working fine. I set my card up on a linux machine with gparted.

you are the man Conap ...currently running your 3.2froyo, which BTW is smooth as heck....what I hate the most about froyo is there A2sd setup ....and you have just solved that problem

rvpartsguy said:
you are the man Conap ...currently running your 3.2froyo, which BTW is smooth as heck....what I hate the most about froyo is there A2sd setup ....and you have just solved that problem
Click to expand...
Click to collapse
Well if you or anyone else that has windows test's this can someone report if you can access both fat32 partitions when you mount the phone in windows....

I'll be trying this ish later. Superb work conap. I'm on windows, I'll let you know how it goes as well
Sent from my Droid Eris using XDA App

I'm undecided if I'll try this, but if I do it'll probably more to see how it works under Windows than to use it myself.
I wish the best of both worlds, being able to have Widget apps installed to SD card, but not have separate partitions, and still be able to specify applications I want to remain in the phone memory, for speed.
No matter what, though, beautiful! Thanks for writing up the instructions!

roirraW "edor" ehT said:
I'm undecided if I'll try this, but if I do it'll probably more to see how it works under Windows than to use it myself.
I wish the best of both worlds, being able to have Widget apps installed to SD card, but not have separate partitions, and still be able to specify applications I want to remain in the phone memory, for speed.
No matter what, though, beautiful! Thanks for writing up the instructions!
Click to expand...
Click to collapse
I agree it would be nice to have the option to move specific apps back to the phone. But I have seen alot of people that prefer this way so I thought i'd write this up. I actually needed partitions for other things which is why I was looking into it anyway. I now have 8 partitions on my sd card and everything still functions correctly. I did find that Froyo would read the last partition on the sd card up untill 7 partitions. When I added an 8th partition it still looked at partition 7. In case any one was interested in more partitions just make sure the fat32 is last partition untill you have more then 7 leave 7 as fat32.

Conap said:
I agree it would be nice to have the option to move specific apps back to the phone. But I have seen alot of people that prefer this way so I thought i'd write this up. I actually needed partitions for other things which is why I was looking into it anyway. I now have 8 partitions on my sd card and everything still functions correctly. I did find that Froyo would read the last partition on the sd card up untill 7 partitions. When I added an 8th partition it still looked at partition 7. In case any one was interested in more partitions just make sure the fat32 is last partition untill you have more then 7 leave 7 as fat32.
Click to expand...
Click to collapse
Do you have a 16GB or larger card? Wow!
Very interesting information, thank you!

roirraW "edor" ehT said:
Do you have a 16GB or larger card? Wow!
Very interesting information, thank you!
Click to expand...
Click to collapse
nope just stock 8gb...mostly small partitions for testing some ideas lol...i did find that the phone does not mount any more then 7 partitions(kernel limitation maybe) You can have more then 7 if you are useing your card for things other then the phone but for phone purposes 7 is the limit.

How do I plug my phone into my computer?

need help!!
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.

Conap said:
nope just stock 8gb...mostly small partitions for testing some ideas lol...i did find that the phone does not mount any more then 7 partitions(kernel limitation maybe) You can have more then 7 if you are useing your card for things other then the phone but for phone purposes 7 is the limit.
Click to expand...
Click to collapse
Oh, okay! Nosey people (me) want to know. Hehehe.
workshed said:
How do I plug my phone into my computer?
Click to expand...
Click to collapse
You're messing with me, right? The USB cable that came with your phone, that you can also charge your phone with???

ykhehra1 said:
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.
Click to expand...
Click to collapse
You'll probably have to boot your Vista 32-bit installation DVD and run a Startup Repair. Or if the computer came with a recovery DVD that you hopefully burned after booting up the computer the first time, use that.
If you don't have any easier option, you can download Startup Repair-only burnable disc images from the EasyBCD website. Just google for it. Make sure and download the correct one (Vista 32-bit), and then you'll have to burn it to a CD and boot from it. Hopefully you're computer doesn't have any SATA or RAID setup that Vista doesn't include the drivers for, otherwise you'll have to download those and put them on a flash drive, and then you can load them from the Vista repair CD.
Good luck.

ykhehra1 said:
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.
Click to expand...
Click to collapse
There is no makeboot option on gparted in linux that i can see...if you think you have messed up the boot partition of your pc don't restart it till you fix it. Google should be your best friend on that one. I don't use windows so can't be of any help to you there....

roirraW "edor" ehT said:
Oh, okay! Nosey people (me) want to know. Hehehe.
You're messing with me, right? The USB cable that came with your phone, that you can also charge your phone with???
Click to expand...
Click to collapse
LMAO
What's a usb cable... is it that black thing with a square end??

Its g8 solution, good job! little tricky on windows, but worked at the end.

workshed said:
LMAO
What's a usb cable... is it that black thing with a square end??
Click to expand...
Click to collapse
Ooooh, you got me. LOL!

ykhehra1 said:
Its g8 solution, good job! little tricky on windows, but worked at the end.
Click to expand...
Click to collapse
Are you able to get both FAT32 partitions (partition 1 for ROMs and other flashes, partition 4 for everything else) mounted with drive letters under Windows?

is there an advantage to doing this? i'm just curious

asilentcivilian said:
is there an advantage to doing this? i'm just curious
Click to expand...
Click to collapse
nevermind, i found the 2.1 dark tremor thread. i assume the same results apply to froyo with this.

asilentcivilian said:
is there an advantage to doing this? i'm just curious
Click to expand...
Click to collapse
some people just prefer this way. this way actually stores the whole apk on the phone and save's more room then froyo. plus you can mount your sd card while still using your apps. I did this mainly cause I wan't partitions for other things on my phone personally. It just happens that it helps the apps2sd issue too...

Related

Paragon Partition 9.0 problem

after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
caleoss said:
after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
Click to expand...
Click to collapse
Windows cannot see ext2 partition. your best but is to open partition manager or use a linux distro to see it.
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
tubaking182 said:
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
Click to expand...
Click to collapse
i cant use that on windows vista can i?
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
tubaking182 said:
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
Click to expand...
Click to collapse
i have no idea how to use that, where do i get it from, i have eclipse on my comp but dont think that has anything to do with this
nope go here i have a step by step. i will be adding screenshots, but i didn't have a chance today as i was trying to meet up with some guy to buy my phone(tilt)
Your best bet is to start clean. Delete all the partitions so your entire sd card is "unallocated space".
Create a new partition for Fat32. Don't use all free space (Duh)
Create another partition for ext3 (use ext2 if your rom doesn't support ext3 yet). Just use all the remaining space
Windows cannot see the ext partition but if you want to see the amount of space used just open up paragon partition manager and it will tell you.
I dont know if you fixed the problem yet, but I think I have a solution for you.
If you're trying to do this using the phone to mount the sd card, it won't work when it boots up to that safe mode looking window, because the g1 won't stay mounted. You need to use a card reader, there's no other way around it that I've been able to find.
Also if you're using 64bit edition of windows vista, paragon has tons of problems. If that's the case, you need to create the recovery cd within paragon, then boot to it, and you'll be able to make all the changes there, using a card reader of course.
To check if it made the partition, just have the sd card connected to the computer (g1 will work for this) then open up paragon and open the partition manager, and where you're sd card is there would be another partition, right next to your fat32 partition. If its ext2 format it would be highlighted yellow.
PPM9 works just fine, you just have to keep remounting the SDCard when Windows reboots. I've had it dismount during the boot too, you just have to watch your phone screen and remount it if it unmounts.

Help me. I'm an amnesiac. [Figure out partition layout w/o removing SDCard]

Here's the deal. I can't remember how I partitioned the SD Card in my Nexus One
at the time of setup. I have an 8GB card which I pulled from my G1, formatted it
via Amon-Ra and got my N1 all set.
This was in January.
Now that I'm looking to try out the Sense ROMs, I need a swap partition.
And I don't know now if I'd added a swap partition or not
I know that I can use a memory card reader, fire up Paragon
Partition Manager (or boot into Ubuntu) and figure it out.
But is there any way to figure out my current partition layout
without swapping out the card?
_
Boot into recovery. AmonRA's recovery allows you to partition/restore the SD card--think it's the third option down the list or so.
grainysand said:
Boot into recovery. AmonRA's recovery allows you to partition/restore the SD card--think it's the third option down the list or so.
Click to expand...
Click to collapse
Yes, I'm aware of that. As I've noted in my rather long and rambling post,
I used Amon-RA to partition the card, back in January.
The question now is, how do I figure out the partition layout
withOUT repartitioning the card?
EDIT: Thanks, grainysand. I took a look at the wording of the first post
and have changed it, so that it's more specific about what I'm looking for.
I suggest getting a microSD to usb adapter and plugging it into your computer then getting partition magic. This shows you any partition on any device. It also lets you modify them. Otherwise if you use linux, get gparted.
Hope this helps.
Vonapets
vonapets said:
I suggest getting a microSD to usb adapter and plugging it into your computer then getting partition magic. This shows you any partition on any device. It also lets you modify them. Otherwise if you use linux, get gparted.
Hope this helps.
Vonapets
Click to expand...
Click to collapse
This wouldn't work, because the USB mount (via regular prompt or Recovery)
option mounts the FAT partition only. And this is what the Partition Manager
would see.
Or am I barking up the wrong tree?
bump
10chars.

[Q] Failed to get ext2 partition in any way i tried!

I have tried all kinds of ways to partition my sd card to get data2ext to work on b 0.5.
- Partitioning through rom manager
- Partitioning through paragon partition manager (didn't even work)
- Manually partitioning by running commands through terminal emulator
I manage to get the linux swap and fat32 partition but no matter which method i tried, i just can't get the ext2 partition. On the emulator, it asked if my file system was an ext2 system.
By the way, i am using an 8gb sd card that came with Nokia 5800. Is this the cause of not being able to create the ext2 partition?
Easiest way I can think of is to use the live distro of Gparted.
http://gparted.sourceforge.net/livecd.php
Awesome partitioning tool and has a gui anyone can follow.
E.E.
i just partioned my 8gb yesterday with paragon, no problems. what kind of problem did you have?
@eepunk I will try that later... i'll see if there is any solution in the current software(s) i have...
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Eh...
Why not just boot into Clockwork and use the Partition menu
spicyjoe said:
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Click to expand...
Click to collapse
I followed this step by step guide:
http://forum.xda-developers.com/showthread.php?t=512873
I had the card formatted to fat32 (using windows) before partitioning, maybe you can try that?
pjgodd said:
Eh...
Why not just boot into Clockwork and use the Partition menu
Click to expand...
Click to collapse
Hmmm, i was looking around in that menu but there isn't any saying create partition... just format and stuff... :S
@haha123 Hmmm, give that a try.... i've just downloaded the gparted software so will try that first...
EDIT: Given up all hope, i can't even get gparted to boot with USB...
Check the GUIDE...
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
spicyjoe said:
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
Click to expand...
Click to collapse
Well, this is the formatting guide... what the hell did you expect? There are certain files on SD fat32 partition that some of apps use. If you unmount SD card and reformat it, those files are not available any more. Right?
Yeah true but even when i restore it doesn't work. Alright man, thanks for the guide anyways.

Clone SD card (with a2sd on)?

Question:
I've noticed I'm pretty much at my limit for space on my current SD card (like 80MB remaining on a 4GB!)...
I've ordered an 8GB card to replace this one... but how can I "clone" my current 4GB card (with a2sd partitions) and then copy it over to my 8GB card, without losing data, settings, apps, etc? Is there a way?
Thanks in advance.
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
gfinockio said:
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
Click to expand...
Click to collapse
Haha yeah, I think it's the easiest way to do it with Windows, since you can't read the ext partition from the computer. You could probably just copy the contents of both partitions through Linux if you're comfortable doing that.
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
jdwhite87 said:
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
Click to expand...
Click to collapse
Clockwork does not back up my ext partition. It can't mount it or anything. Not sure why. Might be because its ext4, but when I do nandroids the sd-ext backup always fails.
I have to use Ubuntu and mount as storage. Then both of my partitions mount on my computer and I can do as I please. For me this seems easiest anyway. Simple copy and paste and it can be done from a live cd for those that dont already have Ubuntu.
Sent from my cm7 Aria.
drumist said:
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Click to expand...
Click to collapse
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
gfinockio said:
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
Click to expand...
Click to collapse
Partitions menu
CallMeAria said:
Partitions menu
Click to expand...
Click to collapse
What version has that menu option? I don't see it.
Interesting. I was sure you could format a card with ext partition through Clockwork but apparently you can't. You can do it through ROM Manager though, so I guess you may have to boot into the phone to get to it.
The programs on the ext partition won't show up yet of course. Don't be alarmed. Just partition the card through ROM Manager, then once you're done doing that, do the nadroid advanced restore. If there are any problems after a reboot (i.e., it didn't work correctly), go back and try doing the regular full nandroid restore.
gfinockio said:
What version has that menu option? I don't see it.
Click to expand...
Click to collapse
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
CallMeAria said:
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
Click to expand...
Click to collapse
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
someone recommended in another thread that when that happens you just pull out the battery and then use volume down+power to boot back into recovery and it should then work.
But the method I use is to do it from Ubuntu (a linux version). If you dont want to install Ubuntu on your computer you can make a bootable CD or USB drive with Ubuntu on it (directions for this are on the Ubuntu download page) and actually run Ubuntu from the CD/USB without ever installing it on your computer. From there you can use gParted to create paritions. And while I recommend making backups, gparted even allows you to resize and move partitions without deleting anything.
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
drumist said:
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
Click to expand...
Click to collapse
I'm reverting back now, going to sleep on it, and then investigate formatting it via LiveCD tomorrow morning. It's been several years since I've had to go near anything Unix.
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
drumist said:
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
Click to expand...
Click to collapse
That got me thinking...Ive never had a problem adding an ext partition using Rom Manager. Ive done it to 3 SD cards now without a single issue. BUT, Ive also always done it while on cm6/7 which both came with Rom Manager pre-installed with the rom and quite a bit of integration with the rom manager app...just a thought...
EDIT: Scratch that, I used it for 2 SD cards, the 3rd was done with Ubuntu.
Here's my post from the other thread
jdwhite87 said:
Rom manager - partition SD card - choose your partitions. It will reboot into recovery and try but fail to partition your card. Pull battery. Replace battery - hold volume down and power. Wait for it to try and find the libde. Img then press volume down and it will highlight recovery then press power. It will boot into recovery and finish partitioning your card.
I think that's how I got it to work.
Click to expand...
Click to collapse
I did this with two different SD cards on fr008. Both were sandisks. One was a 16 gb class 4 and the other was an 8 gb class 6. I couldn't get gparted to partition the 8 gb for whatever reason. I didn't know what Ubuntu was when I partitioned the 16 gb
It seems like an oversight that maybe of the masses of people with Android devices that one day the general (non-xda) population would want a simple way to transfer their sd card data to a larger card...
I Imagine there are a bunch of people out there clueless.
Hell, I read XDA and there was still no clear simple way in this thread.
(I got here from a Google search for SD CARD CLONE)
Got it to work, finally. Required some back-and-forth with the Nandroid backups, but I have everything running off of my 8GB SD card now, without reinstalling!
Now, to sell off my 4GB card... anyone?

Setting up EXT4 with EXT4 Recovery Nand to use ParanoidAndroid JellyB SD with WP7

hi, i have been trying to get a dual boot with wp7 (hd20 8779) with android jellybean (paranoidandroid) using ext4 on the sd.
i have right now:
magldr v1.13
ext4 recovery nand
partitions:
1st FAT 14gb
2nd EXT4 1gb (made via ext4 recovery)
there is no 'nativesd' folder that i can see on the sd card (to put the jellyb.zip rom in?) and it (ext4 recovery) will not let me install zip from sd (either jellyb.zip rom or dual installer zip. it just says:
Finding update package...
Opening update package...
Installing update...
Installation aborted.
I am also confused about which rom I should go about installing first at this point. wp7 or droid?
---- edit:
ok, i was using the wrong android rom. aokp nativesd worked. booted, tested it, all ok. but then i went to install wp7 and it erased it. wp7 booted, worked. took out sd, hooked sd up to computer, repartitioned to have wp7 ||| fat32 ||| ext4, but then when i put it back into phone and booted to wp7 (to make sure it was still there), it said available storage was entire sd card. so i powered down and tried to boot into android. now android was gone. tried to boot into ext4 recovery and that was gone too.
i am very close now. i just need help partitioning this correctly. i know now that the latest version of minitool will let me partition to ext 4 so that's no problem now. can someone please help me set up my partitions so that i don't lose one installation with another? also, i don't know how to check if something is mmcblk0p2 or how to set it to that. i haven't been able to find any instructions in doing so, just mentions of it across the forums.
please help
Okay.
You probably have WP7 now, right? You've already partitioned the card with xboxmod's CABs, haven't you? If not, please do those two steps before continuing.
Windows Phone 7 wipes entire SD card and creates its own partition every time it's installed or hard reset, and because of that you can't install Android ROM first and then WP7.
After that, just take MiniTool, delete the FAT partition and create two new:
First FAT partition, then on the rest create EXT partition. It should be mmcblk0p2 then, but you want to check it anyway. How to was in that thread:
6. (WP7 users) make sure the EXT4 partition is located @ /dev/block/mmcblk0p2
To check this mount your sd-ext partition in 4EXT recovery and use adb shell or QtADB shell and type df
Click to expand...
Click to collapse
If you don't have ADB yet, please download Android SDK where that tool is included. Or try QtADB, but I haven't used that one.
That instruction translates to:
1. Run 4EXT Recovery
2. Choose Mount... option
3. Mount /sd-ext
4. Run adb shell (type that in CMD when in folder with adb.exe, I hope you can navigate with CMD)
5. Type df and press enter.
Then install the ROM using 4EXT SD Recovery. Nothing complicated, I hope. That's how I've done that at least.
thank you
Spaqin said:
Okay.
You probably have WP7 now, right? You've already partitioned the card with xboxmod's CABs, haven't you? If not, please do those two steps before continuing.
Windows Phone 7 wipes entire SD card and creates its own partition every time it's installed or hard reset, and because of that you can't install Android ROM first and then WP7.
After that, just take MiniTool, delete the FAT partition and create two new:
First FAT partition, then on the rest create EXT partition. It should be mmcblk0p2 then, but you want to check it anyway. How to was in that thread:
If you don't have ADB yet, please download Android SDK where that tool is included. Or try QtADB, but I haven't used that one.
That instruction translates to:
1. Run 4EXT Recovery
2. Choose Mount... option
3. Mount /sd-ext
4. Run adb shell (type that in CMD when in folder with adb.exe, I hope you can navigate with CMD)
5. Type df and press enter.
Then install the ROM using 4EXT SD Recovery. Nothing complicated, I hope. That's how I've done that at least.
Click to expand...
Click to collapse
wp7 is installed. after several searches, i'm not seeing the cab files you're talking about. the current partition structure is 200mb fat ||| 14.67gb 'other' ||| I saw that part in the thread with mmcblk0p2, but I had no idea how to specify that when I made the partition or how to check it. Thank you. Yes, I have the Android SDK (had no idea that's where to find ADB) Thanks for elaborating that for me. I am going to do all this right now!
--- edit
how do i check to make sure its mmcblk0p2?
if i just repartition in minitool everything, do i still need the xboxmod cab files i can't find?
--- edit
i repartitioned with minitool and this is what i have now:
1st) 7.88mb (free) 0 (used) unallocated logical
2nd) 5.81gb (free) 11.65mb (used?) fat32 logical
3rd) 1.46gb (free) 101.80mb (used?) ext4 primary
4th) 7.67gb (free) 7.67gb (used) unformatted primary
now, i'm going to install ext4recovery nand and try to install android, is this correct?
--- edit
i'm not seeing adb anywhere. In android sdk tools i have two shortcuts: AVD Manager and SDK Manager. I don't see adb in either. I'm loaded into EXT4 Recovery Nand now.
--- edit
After looking in the android sdk program directory in windows i found adb-has-moved.txt It says:
Code:
The adb tool has moved to platform-tools/
If you don't see this directory in your SDK,
launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"
Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location.
--- edit
when i get this completely finished, I'm going to do it again to another phone, and I'm going to make a COMPLETE step by step guide from start to finish for noobies like me and post it.
---- edit
after going to a cmd prompt and navigating to the 'platform-tools' directory and typing adb, press enter, then typing 'df', press enter, i get this error:
Code:
'df' is not recognized as an internal or external command, operable program or batch file.
--- edit
i'm attaching a screenshot, i used the command 'adb shell' then enter then the command 'df'. although i have no idea if this is doing this to my sd card on my phone which has the sd-ext mounted.
Oh, you resized WP7 like that (with partitioning tool), okay, it's fine too. You will have to hardreset though. No need to use CABs then.
ADB is in C:\android-sdk-windows\platform-tools if you've downloaded it (platform tools) from that installer/updater of course.
Browse there with CMD and use adb shell.
Please remember to set both FAT and EXT4 partitions primary, else it won't work.
After you check if the partition is in that mmc02 thing, you can install the ROM with the recovery.
thank you
Spaqin said:
Oh, you resized WP7 like that (with partitioning tool), okay, it's fine too. You will have to hardreset though. No need to use CABs then.
ADB is in C:\android-sdk-windows\platform-tools if you've downloaded it (platform tools) from that installer/updater of course.
Browse there with CMD and use adb shell.
Please remember to set both FAT and EXT4 partitions primary, else it won't work.
After you check if the partition is in that mmc02 thing, you can install the ROM with the recovery.
Click to expand...
Click to collapse
ok i'm attaching a screenshot of my partitions in minitool. i made the fat primary as well. now i'm going to copy over the aokp jellybean rom and try to install it. fingers crossed! also, i hard reset wp7 when i first installed it. i'm afraid if i do it now, it will undo all the partitioning steps i've taken after that. is this correct?
---- edit
ok, something went wrong, because after i installed android from ext4 recovery nand, i powered down, booted into magldr 1.13 and selected '1. Boot WPH' and it said: 'WPH not installed.' aaaaaaahhhhhh!!!! lol
any ideas where i might have gone wrong?
---- edit
btw, when i booted into android (1st boot) i checked the space, and it said the 5.81gb or whatever it was, so i think the partitions are intact. could this be a 'uselast24NAND' issue? i don't think i did that when i installed wp7, i couldn't remember when i was supposed to do that. ah geeeeeeeez
noobinius said:
ok i'm attaching a screenshot of my partitions in minitool. i made the fat primary as well. now i'm going to copy over the aokp jellybean rom and try to install it. fingers crossed! also, i hard reset wp7 when i first installed it. i'm afraid if i do it now, it will undo all the partitioning steps i've taken after that. is this correct?
Click to expand...
Click to collapse
First check that WP7 still boots (if you've followed most of the tutorial for the old dual boot 1 sd card method you should be fine, otherwise you'll have to start over), and don't use 4ext nand recovery (doubt it'll run anyway), you need the 4ext SD version.
Just follow this , with the difference being having 3 partitions at the end ( FAT32|||EXT4|||WP7) then install via a SD ported recovery
thank you
HypoTurtle said:
First check that WP7 still boots (if you've followed most of the tutorial for the old dual boot 1 sd card method you should be fine, otherwise you'll have to start over), and don't use 4ext nand recovery (doubt it'll run anyway), you need the 4ext SD version.
Click to expand...
Click to collapse
ok, thanks hypoturtle. ok, i am going to take a little break, then find the sd version of 4ext, then i'm going to task29 this monster with hd2 toolkit and completely start over. i will update this thread with what happens and what i did. when i'm done i plan to make a complete step by step guide with links and all so there will be something with ALL the information and links in one place, placing all credit where it is due to the original developers. i am not a developer.
Yeah, that was the problem. You can't use NAND recoveries when on WP7 because they will format NAND and prepare partitions for Android, deleting WP7. For that you need SD Recovery ported by Xylo (available in NativeSD thread). After WP7 is installed, you don't even touch anything that's NAND related because it will break everything.
Check this video tut http://forum.xda-developers.com/showthread.php?t=944288
1. install wp7
2 make android partition as in vid.
You should have after the above.
<50% of sd card volume as FAT32 on first partition (primary)
>50% of volume unformatted (WP7) on second (primary)
Then you can create ext4 partition as second partition (also set as primary), I would use minitool again to shrink your FAT partition (but use 4ext recovery sd to format it see http://forum.xda-developers.com/showpost.php?p=31247925&postcount=3464 and the post before it)
So you have 3 partitions 1. fat android 2. ext4 3. wp7
I have not tried a smaller wp7 partition than 50%, don't know if it would work but 96edwy has suggested not to do this in vid.
thank you
thank you guys for your help. i have got it working and have made a step by step guide as i did it. just one problem, and i reaaaaallly hope its not a big problem. but in android it says no sd card. i need to know how to show whatever explorer program i use in android to look at the fat32 partition. anyone know?
i also need to know how to make wp7 see the fat32 partition that will have all the media files on it. anyone?
as soon as i get this information, i will post the guide. but i don't want to post it if there is something wrong (android and windows not reading the fat32 parition).
other than that both operating systems are still there and android is running from ext4 from folder nativesd!!!
noobinius said:
thank you guys for your help. i have got it working and have made a step by step guide as i did it. just one problem, and i reaaaaallly hope its not a big problem. but in android it says no sd card. i need to know how to show whatever explorer program i use in android to look at the fat32 partition. anyone know?
i also need to know how to make wp7 see the fat32 partition that will have all the media files on it. anyone?
as soon as i get this information, i will post the guide. but i don't want to post it if there is something wrong (android and windows not reading the fat32 parition).
other than that both operating systems are still there and android is running from ext4 from folder nativesd!!!
Click to expand...
Click to collapse
Check that all the partitions are set as primary, that's the only thing I can think of.
HypoTurtle said:
Check that all the partitions are set as primary, that's the only thing I can think of.
Click to expand...
Click to collapse
well, i just checked it. i'm attaching the screenshot that shows the partitions. i'm a little scared to change the last one (the wp7 one) to primary for fear of messing it all up again. also, that shouldn't effect androids view of the fat32 which is set to primary right?
noobinius said:
well, i just checked it. i'm attaching the screenshot that shows the partitions. i'm a little scared to change the last one (the wp7 one) to primary for fear of messing it all up again. also, that shouldn't effect androids view of the fat32 which is set to primary right?
Click to expand...
Click to collapse
Can't imagine that would cause the issue, you have them layed out as Fat32 | EXT4 | Unallocated right? Have a look at df again see if vold/179:1 appears, have attached mine from PA
thank you!
HypoTurtle said:
Can't imagine that would cause the issue, you have them layed out as Fat32 | EXT4 | Unallocated right? Have a look at df again see if vold/179:1 appears, have attached mine from PA
Click to expand...
Click to collapse
so thats how you see if it's called mmcblk0p2 or not.... finally. i never used it to set these up. is it too late? i don't even know how to get adb on my phone like you did, and i tried running adb shell from my computer but it keeps saying error: device not found.
how do i get it running on my phone as you did to check?
noobinius said:
so thats how you see if it's called mmcblk0p2 or not.... finally. i never used it to set these up. is it too late? i don't even know how to get adb on my phone like you did, and i tried running adb shell from my computer but it keeps saying error: device not found.
how do i get it running on my phone as you did to check?
Click to expand...
Click to collapse
Use terminal emulator, type su to get to shell then df (or anyother busybox/adb shell command)
thank you!
HypoTurtle said:
Use terminal emulator, type su to get to shell then df (or anyother busybox/adb shell command)
Click to expand...
Click to collapse
ahh, great. well, i got there did it, no 179 error or any other error. i tried taking a screenshot with volume down + power key, but it doesn't seem to want to do it, maybe cuz it doesn't no where to save it idk.
anywayas, it shows:
/dev/block/mmcblk0p2 /nativesd
/dev/block/mmcblk0p2 /system
/dev/block/mmcblk0p2 /data
tmpfs /dev
tmpfs /mnt/asec
tmpfs /mnt/obb
other than sizes, that is all it shows...
noobinius said:
ahh, great. well, i got there did it, no 179 error or any other error. i tried taking a screenshot with volume down + power key, but it doesn't seem to want to do it, maybe cuz it doesn't no where to save it idk.
anywayas, it shows:
/dev/block/mmcblk0p2 /nativesd
/dev/block/mmcblk0p2 /system
/dev/block/mmcblk0p2 /data
tmpfs /dev
tmpfs /mnt/asec
tmpfs /mnt/obb
other than sizes, that is all it shows...
Click to expand...
Click to collapse
Screenshot is turned on in settings, system, power menu but yea it wouldn't work anyway, other than reformating the fat partition, i can think of much else you can try, i think you may have to tempt fate here and change the wp7 part to primary, can't recall if it messes anything up at this stage, i don't think so, as long as it doesn't require a format.
THANK YOU!!!
HypoTurtle said:
Screenshot is turned on in settings, system, power menu but yea it wouldn't work anyway, other than reformating the fat partition, i can think of much else you can try, i think you may have to tempt fate here and change the wp7 part to primary, can't recall if it messes anything up at this stage, i don't think so, as long as it doesn't require a format.
Click to expand...
Click to collapse
WOW, rock on man.. you did it. reset wp7 partition to primary, both operating systems still working. and android is reading the fat32 partition now. Thank you sooo much for your help. I am thrilled we did it!!
Okay, I posted a guide on EXACTLY what I did with screenshots in an ACTUAL step by step process so it will be easier for the next person that doesn't know what they're doing just like I didn't. It is here: http://forum.xda-developers.com/showthread.php?p=31406820#post31406820
Guide
noobinius said:
thank you guys for your help. i have got it working and have made a step by step guide as i did it. just one problem, and i reaaaaallly hope its not a big problem. but in android it says no sd card. i need to know how to show whatever explorer program i use in android to look at the fat32 partition. anyone know?
i also need to know how to make wp7 see the fat32 partition that will have all the media files on it. anyone?
as soon as i get this information, i will post the guide. but i don't want to post it if there is something wrong (android and windows not reading the fat32 parition).
other than that both operating systems are still there and android is running from ext4 from folder nativesd!!!
Click to expand...
Click to collapse
PLEASE.. let us know where and how to get a hold of your NOOB Guide.. I would be very interested in it even if it all doesn't work!
TERRAREX0784 said:
PLEASE.. let us know where and how to get a hold of your NOOB Guide.. I would be very interested in it even if it all doesn't work!
Click to expand...
Click to collapse
Okay, I posted a guide on EXACTLY what I did with screenshots in an ACTUAL step by step process so it will be easier for the next person that doesn't know what they're doing just like I didn't. It is here: http://forum.xda-developers.com/show...0#post31406820

Categories

Resources