[Q] Can't partition my sdcard for data2ext - Hero CDMA Q&A, Help & Troubleshooting

I went to recovery(CWM 5.5.0.4) and flashed the data2ext4-v4 zip, I went to the partition sdcard menu, chose 1024 mb for the ext size, 0 mb for the swap size; it took like 3 seconds for it to partition. So i rebooted and went to adb shell, typed in mount|egrep mmcblk0p2, nothing came back at me so i carried on. Typed in mke2fs -m0 -b4096 /dev/block/mmcblk0p2, then i got "The device apparently does not exist; did you specify it correctly?" error. I booted back in to recovery, checked to see if anything was in sdcard, and everything was there. Nothing was formatted apparently. I tried repeating the process but i'm still in the same spot. I have a 32 gb, class 4 micro sdcard hc. It's brand new. I tried switching recoveries, switching ROMs, but nothin. Can i get some help please?

Yup, first chage your recovery to Ra1.6 or later. Then back up all your data off your SD. Then format your SD to 1024 ""ext2"" partition. No swap. You went wrong at flashing the zip before you partitioned your SD also you didn't convert the ext to an ext2 there's an option in ra for that not in cwm. Also find the data2ext thread that hockeyfamily posted it will definitely help you as well.
#Root-Hack\Mod*Always_
""Shooter on Deck""

laie1472 said:
Yup, first chage your recovery to Ra1.6 or later. Then back up all your data off your SD. Then format your SD to 1024 ""ext2"" partition. No swap. You went wrong at flashing the zip before you partitioned your SD also you didn't convert the ext to an ext2 there's an option in ra for that not in cwm. Also find the data2ext thread that hockeyfamily posted it will definitely help you as well.
#Root-Hack\Mod*Always_
""Shooter on Deck""
Click to expand...
Click to collapse
Thanks for telling me not to flash it . All I had to do was go directly to partition sdcard, and set it up from there and boot up, then do adb shell and all the commands worked.

Mobiono said:
Thanks for telling me not to flash it . All I had to do was go directly to partition sdcard, and set it up from there and boot up, then do adb shell and all the commands worked.
Click to expand...
Click to collapse
No prob man glad you got it all worked out. FYI 2048 works just as well. Also don't forget to hit up that thread its a few.steps on there you should know about nandroids and wiping cache. If you already know then never mind.
Pm me if ya need anything else or post here good luck
#Root-Hack\Mod*Always_
""Shooter on Deck""

Related

Huge Problem With Cyanogen Auto Apps2sd

So I partitioned my sd card so i would be able to automatically have apps to sd like the faqs of the cyanogen mods said, but now that i have done the process and partition my sd card 500mb ext, 34mb linux swap, not only has it not worked and the apps are still taking up memory on my phone, it is not noticing the secondary partition in the settings and when i reboot my phone, after the g1 screen and android screen, my phone just goes blank. does anyone have any input? ive wiped and reflashed the rom, now im just clueless. and if it matters, i used Paragon Partition Manager to partition my sd card.
You could re-partition it by using the console in recovery mode.
http://forum.xda-developers.com/showthread.php?t=533731
Look at the 2nd code box and follow it. This is how I did it my first time.
It is really easy.
yea the only thing is it is either saying not found, or error could not stat device dev/block/mmcblk0 no such file or directory. so im stuck i cant even format my card and get back to 8 gigs its sayin 6.06 gigs. ionno im stuck.
Can't you use your partition manager to delete the partitions you made? Then just make 1 partition: fat32, then use the code on the link.
I use paragon Partition mgr. and that is an option to use.
If you partion your card after flashing your rom, then you must reflash your rom for changes to take effect. You have to do that so the system can change the way it runs
Oops sorry, I just reread your first post and saw that I missed that you did reflash. Try going into your recovery console and type ums_enable to mount your card and than try downloading gparted and try to reformat that way, when you are done type ums_disable to unmount. Have you tried taking your sd out when you try to boot up just to see if you can get past, it is possible that your sd corrupted
its ok thank you both, i used the recovery erase all partitions and im gonna read the second box and partition threw the console instead of on the manager.
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
surfereddie said:
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
Click to expand...
Click to collapse
To get it back to just a fat32 partition.... THIS WILL WIPE ALL DATA ON YOUR SDCARD!!!! MAKE A BACKUP OF FAT32 also this will only work with 1.3.1 and up cyanogen recovery image
boot into recovery and go to the recovery console and type
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3 (if you have a linux-swap partition)
print (after the 4th or 5th line there is a number after a line that reads disk size or something and that will be the end value for the next command. Sorry on my g1 now)
mkpartfs primary fat32 0 xxxx(substitue with number above)
quit
reboot recovery
Then reflash your rom. That will clear all partitions of your sdcard and leave you with one whole partition that is fat32.

help a noob please?

f your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
im confused with this internally what do i do because i am lost
rulyskull said:
f your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
im confused with this internally what do i do because i am lost
Click to expand...
Click to collapse
In recovery, go to (i think) other.. Move all apps to fat32, (backup ups to sdcard). Then go to Usb toggle in recovery and move everything to your computer once that is done.. Go to recovery, click partition sdcard, swap 0, ext 512, the rest fat32, once it finishes, click ext2 to ext3.. After thats done, go back to usb toggle, move everything back to the sdcard.. Then in recovery go back to Other (i think its where its at) and click restore apps to ext3.. It will move all the apps you moved to sdcard back to ext partition.. After that i would just run fix uid mismatches. Then reboot phone.
EDIT: READ MY POST 2 post down for THE REAL INSTRUCTIONS.. me skipped a step
OHHHH JUST KIDDING
type this into command prompt while in recovery
adb shell
u
Just the letter u.. then do the last steps that i said
When you see what comes up im guessing you will know what to do. Its pretty simple
Jus10o said:
OHHHH JUST KIDDING
type this into command prompt while in recovery
adb shell
u
Just the letter u.. then do the last steps that i said
When you see what comes up im guessing you will know what to do. Its pretty simple
Click to expand...
Click to collapse
lol yeah i like your OHHHHH JUST KIDDING that made me laugh but like i said thanks for walking me all through this....literally

Can't get Apps2sd to work (help please)

I have been searching the forums for 2 hours trying to figure this out and I cannot find out how. I tried following the tutorials on the forums here on how to partition the SD card but none of the settings that were listed are not on my recovery. But I still tried it anyways. Here is the list of options on my recovery
Reboot system now
Nandroid v2.2 backup
Nandroid v2.2 restore
Apply sdcard:update.zip
Apply sdcard:choose zip
Wipe data/factory reset
Wipe SD:ext partition
Wipe SD:dalvik-cache
Part SD:fat32+ext2+swap
Part SDnly fat32
Repair ext filesystem
Convert ext2 to ext3
Fix apk uid mismatches
Fix rotate
USB Mass storage on
USB Mass storage off
The bottom says "Build : RA-heroc-v1.2.3".
Upon reading the tutorials, I decided to try something different. So I wiped ext partion, parted sd fat32 ext2 and swap, then converted ext2 to ext3. Applied PureHero 2.1 and I enabled Apps2SD, move apps to sd, move dalvik cache to sd, enable JIT, and changed dalvik heap to 24mb. It rebooted and none of the applications I downloaded and installed were transferred to the SD.
Before this I applied a rom before wiping and parting and changed the same settings and it wasn't working then either.
I tried using the cmd and located to my android-sdk-windows and tried finding what version of apps2sd I had but it kept aborting. I tried repairing and it kept aborting, I even tried installing and it kept aborting.
I am at a loss here and I am trying to get all of this working.
It is a 2gb card and it is only showing 1.34gb available so I have no idea how to give me the full 2gb like it was before I tried partitioning.
Before I posted this, I applied the program at http://forum.xda-developers.com/showthread.php?t=715116 and that didn't work as well.
Please help.
I'm not sure if it makes a difference, but I would try to upgrade to RA-heroc-v1.6.x, it might be your recovery not partitioning correctly or something. Once you have upgraded, go ahead and wipe everything (data, dalvik, and ext). Flash your ROM. Before you move your dalvik to the sd card you want to make sure you have at least a class 4 sd card. Once your phone is booted up check your internal memory and you should have 90+M out of 159 or so. If you have that then I am pretty sure your ap2sd is working. You can also check to make sure it is working through adb. I don't use the option in recovery to move the apps to sd. Hope this helps, and I hope my information is correct, lol. I still consider myself a noob.
Ok ill do some research on how to update and see what I find. If that don't work then ill come back and keep you updated.
Thanks
EDIT: I have tried updating my Recovery using FlashRec and it isn't backing up my recovery or finding the recovery at all. I am on ubuntu so maybe that might be the problem, idk. Is there any other way I can update my recovery? I have 1.6.2 downloaded and just need to apply it.
puppetmstr said:
Is there any other way I can update my recovery? I have 1.6.2 downloaded and just need to apply it.
Click to expand...
Click to collapse
The instructions are here http://forum.xda-developers.com/showthread.php?t=581521#1
I used the adb method last night no problem.
Note: the first thing it tells you to type is "mount -a"
After which your phone might spit out some sort of error message. Don't worry about it, it doesn't affect anything. That's what people said, and it didn't affect me.
c00ller said:
The instructions are here http://forum.xda-developers.com/showthread.php?t=581521#1
I used the adb method last night no problem.
Note: the first thing it tells you to type is "mount -a"
After which your phone might spit out some sort of error message. Don't worry about it, it doesn't affect anything. That's what people said, and it didn't affect me.
Click to expand...
Click to collapse
Well this is confusing lol. I went into recovery, went into USB mode getting ready to update my recovery option and a screen popped up in ubuntu with the folders app, app-private, dalvik-cache, and lost+found. Apparently I had apps2sd working the entire time... But I nandroid last night back to ZenEXP. Idk if it still works in Pure Hero.
But now that I have apps2sd working, I can flash a new rom and still have my applications right?
EDIT: In Windows 7, it doesn't show the partition anymore for the apps2sd. So im just gonna go ahead and update recovery then repartition everything.
Please update with whether or not your apps still work after flashing a new ROM, I want to know if it works like that.
c00ller said:
Please update with whether or not your apps still work after flashing a new ROM, I want to know if it works like that.
Click to expand...
Click to collapse
I cant update the recovery at all. I have tried both ways and it fails.
I tried adb and as soon as i try to use the command "mount -a" it says "no such device". I tried using "mount /sdcard" and it says "Device or resource is busy".
On the Fastboot + adb I can load into fastboot. But when i type "fastboot boot recovery-RA-heroc-v1.6.2-blue.img" it says "cannot load fastboot boot 'recovery-RA-heroc-v1.6.2-blue.img'".
I tried pressing the trackball on fastboot usb and the screen goes black for a second, then i hear a connect noise in the speakers then it shows fastboot for a split second then fastboot usb again.
Also in Fastbot +adb when I use the command "adb shell mount /sdcard" it says "device not found".
EDIT: im also starting to think my adb shell is broken or something lol.
Ok nevermind I got it working. I typed mount /sdcard and it said it was busy but then i used the command "flash_image recovery /sdcard/recovery-RA-heroc-v1.6.2-blue.img" then Rebooted into recovery and it says 1.6.2 and its blue. I just hope I did it the right way and didnt **** anything up...
EDIT: Ok well I partitioned it with 64mb swap, 1024mb ext2, converted to ext3, and loaded up PureHero 2.1. How do I know if it is working? I have my DConfig options set to move dalvik and apps to sd, with JIT enabled. Do I just install an app and see if the internal memory lowers or stays the same? How do I access the apps folder through USB mode?
This is how to tell if you have A2SD working
http://forum.xda-developers.com/showpost.php?p=6848245&postcount=80

[Nook Color] Cannot return to stock from Cyanogen

So I rooted my Nook with autonooter 3.0.0, I followed all the directions entirely. It worked perfectly, I liked it but wanted to try other stuff. Then I successfully installed Honeycomb v4 on my Nook, I tried it out, but didn't like it, I'll wait until later as its more developed. Then I installed CM7 on my Nook. Its nice, but for some reason a lot of my important apps force close on me. So I thought would just return to stock and then go to autonooter. I tried the method found here - http://forum.xda-developers.com/showthread.php?t=914690
So I don't know if it matters, but I remember formatting boot, system, and data in CWR during the installations of Honeycomb, and also formatting the system and data in CM7 and also in trying to return to stock. So in each of the installations I followed all of the directions perfectly.
Ok, so here is my problem. After I try to return to stock, I try to boot up my Nook, it goes to the Touch the Future of Reading screen, then to the screen with the 'n' on it and the adobe message at the bottom comes up. However, it will not go passed this. It hangs and I cannot fix it. I have tried the 8 reboots which does reinstall the original firmware, however when its complete and reboots it does not boot, it does the same thing I just described.
Please help, if I have left out any information just ask and I will fill in the details.
There is a recovery zip on the development forum. Boot into cwr and flash... that should do the trick... hopefully.
Sent from my DROID2 using XDA App
ext3 / ext4
Doesnt he need to format the partions with a ext3 cwr before flashing or will the recovery do that?
vtx67 said:
Doesnt he need to format the partions with a ext3 cwr before flashing or will the recovery do that?
Click to expand...
Click to collapse
Yeah, I'm beginning to think I do have to fix up the partitions because everything I do is just giving me more hang.
Can anyone help with that?
Get CWR 3.0.5...
Write the SD card image to your uSD...
Copy repartition-boot-with-stock.zip to the root of the SD card...
Decide if you want to restore to 1.0.0 or 1.0.1 and copy the appropriate nook-complete-restore-1.0.x.zip to root of the SD card....
Boot off the SD card in your NC
since you say you have formatted boot... shouldn't ever need to do that btw...
Format Boot... System... Data... and cache...
Install the repartition boot zip file... then the complete system restore from SD card.
yeah.. once you reformat with CWR 3.0.0.5 you should be able to do the re-partition boot flash and then restore the image.
I just got back that way as well.
DizzyDen said:
Get CWR 3.0.5...
Write the SD card image to your uSD...
Copy repartition-boot-with-stock.zip to the root of the SD card...
Decide if you want to restore to 1.0.0 or 1.0.1 and copy the appropriate nook-complete-restore-1.0.x.zip to root of the SD card....
Boot off the SD card in your NC
since you say you have formatted boot... shouldn't ever need to do that btw...
Format Boot... System... Data... and cache...
Install the repartition boot zip file... then the complete system restore from SD card.
Click to expand...
Click to collapse
Thanks for all the help! I'm going to try this now. And I'm guessing it is, but will it be ok to use CWR 3.0.0.6 and boot with that from the SD card?
It needs to be CWR 3.0.0.5 in my experience.
3.0.0.6 supports EXT4 partitions and won't format them back to EXT3.. as long as they are EXT4, the nook will not boot into the stock rom.
The stock kernel doesn't support EXT4.. so it hangs just before it loads the system files..
If you wipe the partitions using 3.0.0.5 and install the full recovery image for 1.01 you should be a-ok.
Alright I got it! You guys are the best! Thanks for the help! Now I just need to re-root and I'm good to go! Thanks again!
Oh and yeah I used 3.0.0.5, that may have been the problem all along because I kept trying to fix with 3.0.0.6. Thanks!

[Q] Problem with data2ext

hey guys, i have a smiple question, I am running Cyanogen7rc2 with data2ext applied. Now if i wiped data and it formatted everything, and i format sd card and sd-ext, i get this "(bad) installition aborted" when ever i flash that rom. Can anyone explain this to me in greater detail?
1st what version are you running??? If your able to nand back to when you had data2ext working do so. 2nd if you wipe sd-ext more than likely you'll end up in a boot loop. Also if you just wipe everything and flashed the rom without flashing the data2ext zip right after you might receive that msg. After you restore a nand always reflash the data2ext zip. If your rom is functioning fine and you want to update to a new one. Reboot into recovery make a nand+ext backup then flash the data2ext zip and reboot. Then reboot back into recovery and to keep all of your data just wipe cache & dev-cache then flash the rom then the data2ext zip and reboot. If your rom is running fine and you wanna do a fresh install do the same process of making a nand+ext backup then reboot. Then go back into recovery and wiped data,cache,dev-cache. "Don't wipe sd-ext". Then flash the rom & right after flash the data2ext zip and reboot. You will have to setup the data2ext again threw terminal or adb. This is what I do no guarantee it will work for you if your running cwm but it should. The reason I say this is because I'm running data2ext ext2 gf's mod and I'm using Ra1.7. Hope this helps. Also you might want to redownload the rom as it might be a bad dl.
Root/Hack_Mod-Always*
laie1472 said:
1st what version are you running??? If your able to nand back to when you had data2ext working do so. 2nd if you wipe sd-ext more than likely you'll end up in a boot loop. Also if you just wipe everything and flashed the rom without flashing the data2ext zip right after you might receive that msg. After you restore a nand always reflash the data2ext zip. If your rom is functioning fine and you want to update to a new one. Reboot into recovery make a nand+ext backup then flash the data2ext zip and reboot. Then reboot back into recovery and to keep all of your data just wipe cache & dev-cache then flash the rom then the data2ext zip and reboot. If your rom is running fine and you wanna do a fresh install do the same process of making a nand+ext backup then reboot. Then go back into recovery and wiped data,cache,dev-cache. "Don't wipe sd-ext". Then flash the rom & right after flash the data2ext zip and reboot. You will have to setup the data2ext again threw terminal or adb. This is what I do no guarantee it will work for you if your running cwm but it should. The reason I say this is because I'm running data2ext ext2 gf's mod and I'm using Ra1.7. Hope this helps. Also you might want to redownload the rom as it might be a bad dl.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
That was a ginormous explation! thanks!
Im running dataext4 v4.
So let me get this straight, if i wipe data data/factory reset it wipes the partion off the sd card, or no?
coffeehandle said:
That was a ginormous explation! thanks!
Im running dataext4 v4.
So let me get this straight, if i wipe data data/factory reset it wipes the partion off the sd card, or no?
Click to expand...
Click to collapse
Na not wipe it out as in making the partition disappear it just removes the link you had to it threw data2ext. Because you wiped all of the data from it. Your partition remains but the link is removed. Data2ext ext4 or ext2 wont carry over if you wipe data.
Root/Hack_Mod-Always*
You might want to consider data2ext ext2 "IMO" It performs better. I've read a lot of posts about users having problems with ext4. Its a know fact ext2 can cause data loss if you do a battery pull or improper shut down. But I've been using it for quite some time and I've done batter pulls galore and have lost no data just had to boot into recovery and wipe cache & dev-cache and reflash the data2ext zip and I was good. Also if your not s-off I recommend it when using data2ext and just in general.
Root/Hack_Mod-Always*
laie1472 said:
You might want to consider data2ext ext2 "IMO" It performs better. I've read a lot of posts about users having problems with ext4. Its a know fact ext2 can cause data loss if you do a battery pull or improper shut down. But I've been using it for quite some time and I've done batter pulls galore and have lost no data just had to boot into recovery and wipe cache & dev-cache and reflash the data2ext zip and I was good. Also if your not s-off I recommend it when using data2ext and just in general.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
L I thought it was the other way around ext2 was the one that could lose data if you pulled battery
Yea I caught that and edited my post look up lol
Root/Hack_Mod-Always*
laie1472 said:
Yea I caught that and edited my post look up lol
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
You sly one lol,you get my pm?
Nope no go. Strange. I guess I have to figure out how to contact a admit. Never did it.
Root/Hack_Mod-Always*
laie1472 said:
Nope no go. Strange. I guess I have to figure out how to contact a admit. Never did it.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
ok thanks ill do the data2ext2 and try that out.
So one last thing and im all good. the only way you can erase those partions is if you format the sd card, through a computer program?
ah man now im stuck, i nand back to a stock back up i had, then formatted my sd card through my computer
then went to recovery to flash CM7rc2 and i still get this (bad)installition aborted. do i need to re enable the data2ext in my stock rom, then flash CM7.
You can threw a computer program or threw your recovery.
Root/Hack_Mod-Always*
laie1472 said:
You can threw a computer program or threw your recovery.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
did you read my edit? i did just that in my nand stock rom, and it did the same thing
coffeehandle said:
did you read my edit? i did just that in my nand stock rom, and it did the same thing
Click to expand...
Click to collapse
Backup all of your data.
After you format threw your pc then format it threw your recovery. Then re partition your sd to 1024 ext2 or 1024 ext4 0swap and the rest fat. Then place all of your data back on your sd. Then wipe data, cache,dev-cache and sd-ext. Then flash your rom of choice followed by the data2ext zip and reboot. When you reboot you will have to resetup data2ext threw terminal or adb.
Root/Hack_Mod-Always*
laie1472 said:
Backup all of your data.
After you format threw your pc then format it threw your recovery. Then re partition your sd to 1024 ext2 or 1024 ext4 0swap and the rest fat. Then place all of your data back on your sd. Then wipe data, cache,dev-cache and sd-ext. Then flash your rom of choice followed by the data2ext zip and reboot. When you reboot you will have to resetup data2ext threw terminal or adb.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
cheers to you man, hope this works. so as long as i dont run that command in adb it wont push the data over to the ext, though it is always partioned?
Yup your right. Even if you flash the data2ext zip it wont activate until you tell it to.
Root/Hack_Mod-Always*
Pardon my noob language, but thanks friend it got me up n running
A no prob. Glad you got it. If you need anything else just shoot me a pm.
Root/Hack_Mod-Always*

Categories

Resources