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

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

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.

Apps2SD for 2.1 Rom?

does anyone have any instructions for apps2Sd for the 2.1 rom? I have no idea what I'm doing with this, and Im tired of not having any space on my phone to dl apps! thanks for any help in advance.
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
troyboytn said:
if you are running an a2sd enabled rom,
1. backup your entire sd card to your pc
2. boot into recovery
3. select to partition sd
4. partition to ext 2 and then to ext 3
5. use the default settings of 32mb swap / 512mb data
6. reboot
7. move your previous data back to your sd from your pc
you should be good to go. if you start seeing a significant drop in system memory, go back to recovery and flash the attached zip
Click to expand...
Click to collapse
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Coldheat1906 said:
What if is the 32mb swap & the 512mb Data sizes for? What happens if I make them bigger?
Click to expand...
Click to collapse
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Coldheat1906 said:
Thanks, besides that is there anything else that I need to do or can I just start downloading apps..... Also how can I verify that they are going to my sd card?
Click to expand...
Click to collapse
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
dec3ption said:
go into your command prompt...
adb remount
adb shell
cd /data/app
pwd
if it says /system/sd/app your apps2sd is working! if it says /data/app, it's not
Click to expand...
Click to collapse
ok,....now I really feel like a noob.....
When I try to do a adb remount it says "device not found"
I also do have "USB Debug" selected.
Edit: Ok.... had to re-install the SDK..... I think it's working now.
Thanks
Im flashing my rom right now so I will see how this works out
I have a problem
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
troyboytn said:
actually, you can set swap at 0 (its not used anyway, unless you are gonna use the new Fresh Toast rom)
you can set data to be larger if you like (though not needed unless you are gonna install ALOT of mega mb apps)
Click to expand...
Click to collapse
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
amallama said:
Im using the Fresh rom with android 2.1 which should have app2sd enabled, but for some reason my apps dont go the sd card? Any help with this, I 've formatted based on the instructions, but it doesnt seem to work for me?
Click to expand...
Click to collapse
Validate by doing this:
1. At your computer (in the Android SDK Tools directory), type adb shell
2. Once you are in an adb shell, type ls -l /data
3. Look for the entries app and app-private. The two entries should look like the following:
app -> /system/sd/app
app-private -> /system/sd/app-private
If they don't, you'll need to validate you have an ext3 partition on your sd card.
If you do, download A2SD version 2.5 from http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip and put it on your SD card (in the same place you put custom roms). Go into recovery and flash this file (it won't erase anything...it's just going to install a2sd version 2.5). Reboot phone and perform the same steps above.
If it still isn't working, PM me and I'll continue to help you.
tkirton said:
I beg to differ...the A2SD version 2.5 will activate swap if it sees the partition. That's the file you posted as part of the instructions.
Click to expand...
Click to collapse
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
troyboytn said:
will it activate swap on any rom?, is it required? can it actually just be left at 0 (users choice) to not use swap?
dont mean to step on toes here, just realized this is your creation (guess you know more than I).....sorry if I spewed some misinfo
Click to expand...
Click to collapse
No problem...the previous version (2.0) didn't turn on swap...that was actually handled by another routine from my Darktremor kernel (never released...that's why you never seen it).
If you don't want to activate swap, you can go into the phone and type /system/bin/a2sd noswap. It will put a flag file on the system that, if present, will tell a2sd not to use swap file although one is present.
Swap is not required. If a2sd doesn't see the swap partition, it simply won't activate swap...all other functions will activate as normal.
It will activate swap on any rom provided that the swap partition is using /dev/block/mmcblk0p3 (third partition on the SD card). The sd partition feature on the RA Recovery does this automatically.
hi i have a the wildfire got it rooted but not sure how to install apps2sd,apk im on software 2.1
i did have a custom rom cyanogenmod 6.1 and that had apps2sd but the wildfire 2.1 dosent and would like some advice on how to do it please any help wud b nice thanks

[How-to]Darktremors apps2sd on Froyo

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...

[Q] CM7 SD Boot - Can you expand EXT4

I've had a lot of success creating a bootable CM7 using the size agnostic preparation instructions. (Here) I want to keep the Nook at stock, for a variety of reasons. Anyway, I created a very nice installation on a 16gb uSD card and did a lot of work setting up LP+ and my hundred-odd android apps. (I also have an Evo 4G). I was fortunate enough to get a 32gb uSD at a great price and want to move my installation over to that. The most successful by making an image with the Win32DriveImage and flashing that back to the 32gb uSD card, which leaves a large area of un-partitioned space. I've tried a couple downloaded tools but have been unsuccessful. Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Thanks a lot!
Rob
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
LBN1 said:
Use Minitool Partition Wizard, or another windows partition manager to expand the last storage partition.
Click to expand...
Click to collapse
Thanks for the suggestion. I tried a few partition managers and run into the same problem including with MiniTool. It will start the process of expanding or copying and expanding in one step, but it will eventually say "file system error" just before it finishes. It suggests repairing the file system, but none of the tools can do this with the ext4 partition. Still trying though. Gonna give the Acronis partition manager a whirl.
bitbearmi said:
Is there a command I can use in Terminal Emulator to to do that? I know I can use the agnostic procedure to start from scratch, but I'd really hate to do that.
Click to expand...
Click to collapse
You can edit partitions with fdisk from the terminal emulator. I suggest googling, it's a pretty old school tool and isn't very friendly. You should easily be able to resize your "sd" partition with that. Actually more accurately you should be able to delete that last partition and then create a bigger one in it's place. won't keep your data, but you can just copy it over to your computer and resize, then copy back.
Another option would be gparted which comes with basically every live linux cd ever. That one can actually do true resizes and should handle ext4 partitions easily (it is a linux file system after all)
bitbearmi said:
The only thing that would make starting over is if someone can point me to instructions that would allow me to have an installation that boots from uSD and has fully functional CWR and Rom Manager. I love how it works on my EVO to download and install updates with a couple clicks. (Everything I've tried there seems to mess with the core Nook).
Click to expand...
Click to collapse
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Thank you so much. I think that will do the trick.
..rob
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
OK. All is well and the dual-boot solution is super-convenient. But I'm a little perplexed as to how to work with CWM in this environment. Ideally I'd like this to work just as it does on my EVO, Rom Manager lets me know there is a new version, I select it, it downloads asks if an want Gapps and backup (yes please) then it does its thing. Maybe that is way too much to ask. If so, then the main things I need to know are how to instal an updated build that I download separately? Do I just copy it to the root of the boot partition.
Sorry for being such a n00b with the nook. Its funny but I'm much more confident messing with my phone, which if bricked, is pretty catastrophic. (LOL)
The instructions for updating CM7 for the agnostic build is in the OP's post for that build.
"How to update to a new build:
put the new build you want to try on the first partition. (the name must be update-cm-*.zip or cm_encore_full*.zip or just update-*.zip)
Boot from the SDcard in the recovery mode (see above) and the new snapshot would be installed.
The partition layout would be preserved, filesystems are NOT reformatted, so your data should be safe."
Also, Easeus Partition Manager is supposed to be able to resize partitions w/o destroying data. YMMV, of course. I used it to extend ext 4 but prior to putting anything there.
Didn't have any luck with easus either, but ended up using a gparted boot which worked great. Normally I would use recovery nandroid to backup the rom before installing the updated, but when I did that by booting into alternate, I ended up backing up the nook rom to the root partition, so I think the safest thing to do is to use win32diskmanager to image the entire sd card.
ylixir said:
You don't need to start over. Get a new uboot.bin for your cards boot partition from here.
Then get the clockwordmod kernel and ramdisk from the zip at the end of this post. Put the uImage and uRamdisk on the sd card as uAltImg and uAltRam.
Now when you choose sd:alternate from the boot menu it will boot you into clockwork.
Click to expand...
Click to collapse
So, just to make absolutely sure, if I already have CM7 installed on an SD card, which I've been using as a daily driver, installing apps, downloading Kindle books, PDFs, and the like, but I want to put CWMR onto the SD card, the steps you outlined should be OK?
NOTE: I know, I know, if I'm confused I probably shouldn't be screwing around with things...But the size-agnostic SD CM7 method was so bloodless that I thought the other stuff would be pretty easy to do. For whatever reason, adding stuff like the OC kernel and CWMR has been a little confusing.

Creating Ext2 and Ext3 partitions on Windows OS

Don´t know if this have been posted before, but I have not entered here ( HD2 forum) for the last 3 months, I was busy with the Galaxy Tab. Ok going directly to the point, after having problems with my Android Build in HD2 I was looking for something new in the Hd2 Nand Developtment forum. Most releases, and developers advises to create an ext3 partition before to flash any rom, or at least for those with a 512 LEO one.
I searched in Google for any software that could do the work in Windows. Although we can use a Linux Live CD to do this, we need to do some extra processes like downloading Linux LiveCD, booting your computer into that Live CD and so on, also you can use clockwork recovery menu but is a very slow process (for me).
Finallly I have found a great software tool called Minitool Partition Wizard Home Edition, that let to make any partition tipe from Windows in a couple of minutes. Its free.
The following video shows how to create Ext3 Partation
http://www.youtube.com/watch?v=D6vVLbtXJdg&feature=player_embedded
Software link
http://www.partitionwizard.com/free-partition-manager.html
Rocheau said:
Don´t know if this have been posted before, but I have not entered here ( HD2 forum) for the last 3 months, I was busy with the Galaxy Tab. Ok going directly to the point, after having problems with my Android Build in HD2 I was looking for something new in the Hd2 Nand Developtment forum. Most releases, and developers advises to create an ext3 partition before to flash any rom, or at least for those with a 512 LEO one.
I searched in Google for any software that could do the work in Windows. Although we can use a Linux Live CD to do this, we need to do some extra processes like downloading Linux LiveCD, booting your computer into that Live CD and so on, also you can use clockwork recovery menu but is a very slow process (for me).
Finallly I have found a great software tool called Minitool Partition Wizard Home Edition, that let to make any partition tipe from Windows in a couple of minutes. Its free.
The following video shows how to create Ext3 Partation
http://www.youtube.com/watch?v=D6vVLbtXJdg&feature=player_embedded
Software link
http://www.partitionwizard.com/free-partition-manager.html
Click to expand...
Click to collapse
Yes, it was posted in some other posts
Thanks, anyway
Thank you, unfortunately the search option was disabled at the time of post this message.
Thank you for your information.
Format partition instead of delete?
Is it possible with this program to just format the partition and not delete?
I'm satisfied with my partition but for a clean install i want to format the parition.
Ciao
mattijs86 said:
Is it possible with this program to just format the partition and not delete?
I'm satisfied with my partition but for a clean install i want to format the parition.
Ciao
Click to expand...
Click to collapse
It will format, but you files will be deleted.
It can also delete the partition, if you want to.
Rocheau said:
Thank you, unfortunately the search option was disabled at the time of post this message.
Thank you for your information.
Click to expand...
Click to collapse
Your're welcome Mate
Thank you for advice! I think not only this tool make the job, several partition managers can format partition as ext2/3/4. I'm usually using Paragon Partition Manager and it's been working correctly till now.
thanks.
zoltan.1612 said:
thanks.
Click to expand...
Click to collapse
I can not seem to get it done without my windows works after that!?

Categories

Resources