Problem with /system/sd - G1 General

could someoe please help me out? ive been at this for about 3 hours now. i wasnt around any computer and wanted to flash JACHero 2.3, so i downloaded it on my phone, renamed it to update.zip, wiped, and flashed it. dont have a clue why, but it just started boot looping on me. so i just figured ild wait till i get home, and format my ext 3 partition, and try again. i did that, and ever since, whenever i type in "df" into terminal, i dont see /system/sd anywhere. isnt this supposed to mean my ext 3 dosent exist? tried everything i could think of, still didnt work. so i just decided to format my SD and start all over, but still the same thing. could anyone please tell me what im doing wrong? Thanks in advance.
ive always been using apps2sd since the app came out, so its nt my first time.
also tried going the ext2 way, but its all the same. and for some reason, when i format my ext3, there's like 23MB used? anyone know why that is?

It means either you don't have an ext2/3 partition(unlikely in this case) or that the ROM you're using is messed up a bit(bad flash maybe?). I'd try reflashing the ROM since that's most likely the culprit.
23MB used is likely overhead for the file system.

ive tried reflashing the Rom a couple of times, same result.
the Rom uses an auto- apps2sd script, so, it would need access to my ext3 partition. The problem is, my phone not recognising the partition.

Related

Can I remove my secondary partition???

Ok, first off, I'm new to this, I've only had my android for about 1 1/2 months. I've read a million threads and posts to absorb information so I don't have to ask stupid questions like this. However, I've searched and tried several different methods, and none have worked. I apologize in advance because I'm sure the information is already somewhere in this forum, but I can't seem to find the specific information for my phone, Mt3G.
The problem I'm having is that last week I decided to partition my my sdcard so I could see how apps2sd worked. After some trial and error, I got it to work.
1. 64 mb swap
2. 512 mb ext
3 remainder on FAT32
After a couple of days, I started notices lags and also issues such as not being able to upload images to facebook, trouble downloading apps from the market, not being able to receive MMS messages or sending them, etc. Overall, it seems like partitions are causing my phone to lag, run slow and other small glitches, so I would like to remove all the partitions, format the sdcard, and just have one single FAT32 partition, as if it were stock. I no longer want apps2sd.
I've tried 'droid explorer', I've followed the cyanogen tutorial on how to uninstall apps2sd via terminal emulator, I've tried wiping, formatting, everything, nothing works. Every time I reboot my phone, the secondary partition still remains, although it says total space unavailable now, but its still there, and according to droid explorer, the apps are still there. I just want to get rid of everything because as of right now, most of my downloaded app icons don't appear, but when I go to download the apps at the market, they say they are already installed. I dont know, I'm about to just throw my phone at the wall.
Any help would be greatly appreciated. By the way, here is my current setup.
Phone: MT3G
ROM: Cyanogen 4.2.11.1 + Cyanogen recovery 1.4
Instead of Cyanogen's recovery, install Amon_RA's 1.5.2G
It will let you format your SD back to Fat32, or you can repartition it the the three, with just the click of a trackball.
In doing so, you will more than likely have to reflash the rom due to you losing all your apps and whatnot that's also on the ext partition, since you will be deleting it.
Backup all your stuff onto your computer first, as you will lose it all when it wipes the slate clean.
@tazz, hey, thanks for your reply. So let me elaborate, when I originally partitioned my card I had amon_ra on my phone. When I started noticing problems, I went back into recovery to see if there was any way to delete or repartition back to a single FAT32, but I couldn't find anything. I stated to back track and flashed CM recovery back on my phone, wiped, reflashed ROM, etc. Nothing...in fact, it caused even more force closes and still, my apps didn't appear in the app drawer, although according to market place and android explorer, they were installed.
Anyway, I took your advice, reflashed amon_ra recovery back on my phone, but I still do not see an option to partition with a single FAT32. All I'm seeing is the option to repartion the SD card, then it gives me the option to pick swap size, ext size, then the remainder on the fat32. Do I just set the swap and ext to 0? Also, do I wipe at all in this process?
yeah just put it to zero. i was thinking about his 1.2.3.
if you put them to zero, it should work out the same either way.
Hmmm....I must be doing something wrong. Went into recovery, selected 'partition sd', set swap to '0', set ext to '0', remainder to FAT32, flashed ROM, system reboot. Secondary partition still appears when I go into the sd storage under settings. Also, android explorer still showing apps in data folder, and marketplace still shows apps such as astro file manager still installed. I'm lost.
Update: Tazz, I followed your instructions, reflashed ROM, rebooted. Secondary partion still appeared. However, I noticed that the option for 'unmounting sdcard' was available. So, I unmounted and physically removed my sdcard to see if this was causing the problem or if it was something internal. After removing sdcard, I still had my applications showing that they were installed, but not showing in app drawer. I decided to try flashing an older CM ROM, just to see what happens. It worked! After flashing older ROM verision, I reflashed newer version and all my problems were solves.
Anyway, just wanted to say thanks for helping me get rid of my partitions.

Ok...am I doing something wrong trying to root?

I tried DarchLegend (latest) and DamageControl v1.0...and it just gets stuck on each roms respective boot screen.
I didn't downgrade the phone or anything. I don't know what it had when I had it...but I'm pretty sure I did everything right. Any ideas?
logcat shows Exit zygote because system server (123) has terminated
sounds like you need to wipe your ext partition on your sd card
OH! That's what I forgot to mention...I'm using EXT4...can any of these roms support that?
I've wiped EXT, Dalvik, data...etc. I've redownloaded the files. Reflashed...
Edit: Damn it, I feel like a Putz!....it was because I was using EXT4. EXT3 is working fine. Damn it. Sorry guys.

[Q] Won't allow me to Partition ext4

I need your help - Jacob - or danne_jo - or anyone else in the know...
I've been using Wildpuzzle since day one but have always failed to get apps2sd working. Due to my sdcard never getting an ext4 partition. Why - I havent the faintest clue?
I cleared all data + cache - and also formatted sd-ext on the 3rd try. Installed Wildpuzzle 8.0.6. from formatted no ext sd - Restarted. Changed sd-card to another formatted FAT32 no ext sd. Ran Rom Manager to Partition SD - tried EXT 512 / Swap 0 - and another try EXT 512 / Swap 64...both turning up the same result: On restart - Htc splash screen comes up - followed by the bootanimation looping again and again - and only thing that helps is my removing the battery - and going into recovery - clearing all once again. And Reflashing Wildpuzzle...which then works normally. But noway to get Apps2SD and thus OC kernel working.
My Touch Screen is ATMEL, if that makes any difference...
HELP?
Posted the same error yesterday and somebody told me that
you have to flash 0001 agin after partition SD Card
Click to expand...
Click to collapse
but after a long period of flashing and trying to get it work again I lost my mood, because I couldn't get it to work as easy as you. After the boot loop I ejected the battery and wiped it again, cleaned all caches, but when trying to get wildpuzzle again on the phone he told me that there is an error in line 15 with the restriction.
and everytime I tried to restore my old backup ( 2 different versions ) he told me always that the MD5 doesn't match. So after long trying and many different versions I got it again to work with an UK Recovery Backup and from that I got it back to my old version.
maybe I will try it today again and flash it after the partition and maybe it work. Would be nice if you could try it, because as I red in your post, it is easier for you to get back to old custom room.
would save me a lot of time and nerves
I did that. No luck w that either.. same result as before...
Sent from my HTC Wildfire using XDA App

URGENT: Factory Reset wiped sdcard

I have a rather urgent issue, in which a factory reset wiped my sdcard. First of all, is that normal? This is my first device with no external microsd, and my first time using TWRP. Before, I had been using various versions of Amon-Ra or CWM, and when I factory reset they never wiped the sd card. Next, whether it was normal or not, I need a way to recover my data. I had around 8 gigs in sdcard before it got wiped.
To give you more background info on what was going on, I had a rooted 4.1.2 16GB Nexus, and I decided that I wanted to try PA. I made a nandroid backup of course, and then proceeded to flash the rom. I followed the instructions on the PA thread, first doing a factory reset followed up by the actual flashing, then a wipe of cache/davlik. After I tried the rom out for a few minutes, I noticed that there weren't any redeeming features to make it worth the time-consuming switch from stock to PA, transferring all my data and setting up my settings once more.
I rebooted back into recovery and factory reset again, and then I went to restore and saw that there were no backups. Suspicious, I went to the install menu, and found my entire sdcard folder had been wiped out. What happened?
Edit: I'm currently still on the recovery, afraid to do anything in case I lose my data forever.
Was your boot loader already unlocked or did you unlock it right before you flashed the ROM?
littleemp said:
Was your boot loader already unlocked or did you unlock it right before you flashed the ROM?
Click to expand...
Click to collapse
Thanks for the reply, especially on Christmas, but I got around the issue myself. It had been unlocked for 2 months now.
I noticed that every time I booted into recovery, it would make a "0" folder and move the contents of my sdcard into that "0" folder. Then the 0 folder would go inside another 0 folder, and so on and so forth. It was a really strange issue because I was unable to restore my backup; TWRP could not find my /sdcard/TWRP/backup folder, because it did not exist! It was in sdcard/0/0/TWRP/backup. I used the built in file manager in TWRP, and moved the contents back into the proper folder. I could then restore, and now I'm feeling relieved.
However, two issues remain; the 0 folders are still there, and storage transfer speeds seem very slow.
Edit: I got rid of the 0 folders by moving my folders out of them and then deleting the 0 folders, but the size of my files seem to have been inflated. What took up 6 gigs before is now taking up 8.8gb. Lol wut? Also, when I hook it up to a computer it tells me that 12GB has been filled. So many discrepancies.
androidwkim said:
Edit: I got rid of the 0 folders by moving my folders out of them and then deleting the 0 folders, but the size of my files seem to have been inflated. What took up 6 gigs before is now taking up 8.8gb. Lol wut? Also, when I hook it up to a computer it tells me that 12GB has been filled. So many discrepancies.
Click to expand...
Click to collapse
I am having the same problem. I think everybody has that problem, because it's caused by jelly bean 4.2 and its new emulated storage.
The only way I have found to get arround it was to copy all files on the computer from the sdcard, then formating the sdcard in recouvery and moving everything back.
Only problem I am having right now is that I can't for the love of it copy my files. Stupid MTP filesystem is really buggy and extremly slow. I constantly crashes or gives me multiple erros. The one I am having at the moment is something about a parameter error.
Very annoying the stupid filesystem under 4.2.
Btw. I can't get the adb pull command to work either. When I tell it to copy system/storage/emulated/legacy (I believe thats where the sdcard is actually loccated, right?!) it doesn't copy a single file.
If anybody could help me I would be very greatfull.
xaboren said:
I am having the same problem. I think everybody has that problem, because it's caused by jelly bean 4.2 and its new emulated storage.
The only way I have found to get arround it was to copy all files on the computer from the sdcard, then formating the sdcard in recouvery and moving everything back.
Only problem I am having right now is that I can't for the love of it copy my files. Stupid MTP filesystem is really buggy and extremly slow. I constantly crashes or gives me multiple erros. The one I am having at the moment is something about a parameter error.
Very annoying the stupid filesystem under 4.2.
Btw. I can't get the adb pull command to work either. When I tell it to copy system/storage/emulated/legacy (I believe thats where the sdcard is actually loccated, right?!) it doesn't copy a single file.
If anybody could help me I would be very greatfull.
Click to expand...
Click to collapse
I had the same fear, emotion and discovery a week ago when trying a new Rom thanks multi users feature .
You may try to switch from MTP mode to MSC in system setting to increase the speed.
Take care of the different tools because as example JROMFlasher will format the SD card for better cleaning. (I had backup!)
I think I read that the Factory Reset from the settings menu WILL erase everything.
Formatting with ClockworkMod, saves your sdcard files.
I also recommend unlocking asap just for laughs. Even if you don't plan on rooting or Modding... unlocking will ensure your files won't be deleted if you decide to or something happens that requires it
Sent from my Nexus 7 using XDA Premium HD app

[Q] Problems with Data2EXT

I've been experiencing the dreaded "Low Internal Memory" problems on my HD2 running a MIUI GB ROM.
I was told this was because the included A2SD, well, sucks. I was advised to use Data2EXT instead. Since I wanted to start with a clean slate anyway, I decided it was time to completely wipe my HD2 and install everything anew. This is what I did:
Wiped the HD2 with Task29 (using the HD2 Toolkit)
Installed ClockworkModRecovery v1.3 150MB (I wasn't sure I actually used the 150MB version when I initially installed CWM Recovery)
Cleared data/cache with CWM Recovery
Reformatted the 1GB sd-ext partition on my SD Card (using MiniTool Partition Wizard)
Installed ROM with CWM Recovery (from zip)
Installed A2SDKiller scripts (from zip)
Rebooted phone into MIUI, but did not install anything.
Rebooted into CWM Recovery and installed the Data2SD Installer.
Rebooted into MIUI again
It seemed everything was fine. If I looked at my memory usage, instead of only 210 MB of total storage I had previously, I now had almost 1GB. I setup my Google account and started to install some apps. Somewhere along the line one of the apps hung the phone so I rebooted it again.
But when it was done rebooting, much to my surprise all installed apps were gone. In fact, the phone was behaving like it was the first time it was started (asking me for my Google credentials again, etc). At first I thought this was perhaps due to the hung app, so I did all the above steps again (including wiping the phone).
Again I installed a few apps, and this time I rebooted the phone to check if all was OK now. It wasn't. Again the phone behaved like it was the first time I booted into the new ROM and all installed apps were gone. I've tried about 5 times now and every single time with the same results.
So what could be wrong here?
just a thought (i havent checked, you can do that) but what type of ext did you create? ext2? ext3? ext4? perhaps data2sd (you called it data2ext in the title, data2sd in the post, , ,which is it? they're probably different) doesnt play nice with whichever one you created?
Hi, and thank you for your answer.
samsamuel said:
just a thought (i havent checked, you can do that) but what type of ext did you create? ext2? ext3? ext4?
Click to expand...
Click to collapse
Ext3.
perhaps data2sd (you called it data2ext in the title, data2sd in the post, , ,which is it? they're probably different) doesnt play nice with whichever one you created?
Click to expand...
Click to collapse
I'm pretty sure they are the same (since took the installation procedure from this forum post and they call it both Data2Ext and Data2SD).
I will check to see if the filesystem matters. Thanks!
I just checked and ext3 should be fine.
Zippy1970 said:
I just checked and ext3 should be fine.
Click to expand...
Click to collapse
Check to see see if there's any script left from old method in system/etc/init.d
This is a complete guess but worth a try
EDIT: this is the script that the A2SD killer removes from system/etc/init.d
delete("/system/etc/init.d/40a2sd");
delete("/system/etc/init.d/03stuff2sd");
delete("/system/etc/init.d/10apps2sd");
delete("/system/etc/init.d/04apps2sd");
delete("/system/etc/init.d/01data2whatever");
delete("/system/etc/init.d/98zipalign");
delete("/system/etc/init.d/02cachedalvikcache");
So make sure that has been removed then try flash the new zip file
Sent from my GT-I9100 using xda premium
wis1152 said:
Check to see see if there's any script left from old method in system/etc/init.d
So make sure that has been removed then try flash the new zip file
Click to expand...
Click to collapse
Yes, all those files have been deleted.
It seems to be working now. I wanted to test if changing the Ext3 partition to Ext2 would make any difference so I fired up MiniTool Partition Wizard again. I wiped the partition and formatted it as Ext2.
Or so I thought.
The partition still said it was Ext3. Then it hit me. I had forgotten that you actually have to "Apply" the changes, which I hadn't done before. So I clicked Apply and it wiped the partition and actually formatted it as Ext2.
I then redid the whole thing (install ROM & A2SDKiller scripts, reboot into ROM, reboot into CWM Recovery and installed Data2SD). And now it seems to be working fine.
Not sure which of the two actions on the Ext partition caused it to start working: the wipe or the change to Ext2.
I spoke too soon. I thought it was working since a reset didn't clear all my installed apps. But if I look at the total storage space, it's back to 216MB total. So it looks like Data2Ext isn't running...
*SIGH*
I'm just about to give up on Data2Ext. First of all, I thought I had figured out what was wrong. For some odd reason, whenever I tried to write to my 16GB microSD card on my computer using an SD adapter, it would crash every now and then. Also, partitioning through MiniTool Partition Wizard often resulted in a "Bad Disk" error. I tried this with 3 different 16GB microSD cards. All experienced the same problems when using an SD card adapter (it wasn't a broken SD adapter because I've tried several).
I then dug up an old external microSD USB card reader I had laying around. Using that, I was able to write to the microSD cards just fine and I didn't experience any problems partitioning either.
Speaking about partitioning, it took me a while to figure out that:
Partitioning through ClockWorkMod Recovery doesn't work properly. The FAT32 partition becomes incredibly slow, and the Ext partition is not recognized by Data2Ext
Ext3/Ext4 partitions don't work with Data2Ext. At least, not on my phone
Ext2 partitions only work if they are set as the primary partition
You must name the partition sd-ext or it will not work
Just a FYI for anyone finding this thread in the future.
Anyway, once I figured that out, I was finally able to get Data2Ext working. Sort of. Let me try to explain.
Previously after I had installed Data2Ext and setup some apps, a reboot of my phone would bring it back to a factory reset state. So all installed apps were gone, just like any settings I had altered. Oddly enough, if I looked at the sd-ext partition I could see the data was still there. It simply wasn't used by the phone. But after I had partitioned the sd-ext partition as Ext2, all was fine. A reboot didn't reset the phone back to factory settings.
So I happily reinstalled all my apps, restored my SMS as well as my WhatsApp backup and thought all was fine now. But I did notice the phone wasn't very stable. Every now and then it would become unresponsive for 10-20 seconds. Sometimes I got an error message that a certain app had become unresponsive and I was offered a choice to either shutdown the app or to wait. And sometimes, the phone would spontaneously reset itself.
Today the phone again became unresponsive. Oddly enough, long-pressing the power button did bring up the shutdown window. So I tapped "Shutdown". Next, the phone hung on "Shutting Down". It didn't come back to live. So I removed the battery lid and pressed the reset button.
After it had rebooted, I was greeted with a factory reset phone again. I was about to throw the phone through the window! But when I did another reboot, all my apps were back again as well as my settings. Except for the settings of my individual widgets. Those had all disappeared for some reason. Also, I got quite a few error messages that some apps had stopped unexpectedly. I rebooted again and again the phone behaved as if it were factory reset. But yet another reboot brought everything back...
I now suspect it has something to do with the phone not being able to mount sd-ext every now and then. Either way, my problems aren't solved yet so any tips are much appreciated.
Zippy1970 said:
*SIGH*
I'm just about to give up on Data2Ext. First of all, I thought I had figured out what was wrong. For some odd reason, whenever I tried to write to my 16GB microSD card on my computer using an SD adapter, it would crash every now and then. Also, partitioning through MiniTool Partition Wizard often resulted in a "Bad Disk" error. I tried this with 3 different 16GB microSD cards. All experienced the same problems when using an SD card adapter (it wasn't a broken SD adapter because I've tried several).
I then dug up an old external microSD USB card reader I had laying around. Using that, I was able to write to the microSD cards just fine and I didn't experience any problems partitioning either.
Speaking about partitioning, it took me a while to figure out that:
Partitioning through ClockWorkMod Recovery doesn't work properly. The FAT32 partition becomes incredibly slow, and the Ext partition is not recognized by Data2Ext
Ext3/Ext4 partitions don't work with Data2Ext. At least, not on my phone
Ext2 partitions only work if they are set as the primary partition
You must name the partition sd-ext or it will not work
Just a FYI for anyone finding this thread in the future.
Anyway, once I figured that out, I was finally able to get Data2Ext working. Sort of. Let me try to explain.
Previously after I had installed Data2Ext and setup some apps, a reboot of my phone would bring it back to a factory reset state. So all installed apps were gone, just like any settings I had altered. Oddly enough, if I looked at the sd-ext partition I could see the data was still there. It simply wasn't used by the phone. But after I had partitioned the sd-ext partition as Ext2, all was fine. A reboot didn't reset the phone back to factory settings.
So I happily reinstalled all my apps, restored my SMS as well as my WhatsApp backup and thought all was fine now. But I did notice the phone wasn't very stable. Every now and then it would become unresponsive for 10-20 seconds. Sometimes I got an error message that a certain app had become unresponsive and I was offered a choice to either shutdown the app or to wait. And sometimes, the phone would spontaneously reset itself.
Today the phone again became unresponsive. Oddly enough, long-pressing the power button did bring up the shutdown window. So I tapped "Shutdown". Next, the phone hung on "Shutting Down". It didn't come back to live. So I removed the battery lid and pressed the reset button.
After it had rebooted, I was greeted with a factory reset phone again. I was about to throw the phone through the window! But when I did another reboot, all my apps were back again as well as my settings. Except for the settings of my individual widgets. Those had all disappeared for some reason. Also, I got quite a few error messages that some apps had stopped unexpectedly. I rebooted again and again the phone behaved as if it were factory reset. But yet another reboot brought everything back...
I now suspect it has something to do with the phone not being able to mount sd-ext every now and then. Either way, my problems aren't solved yet so any tips are much appreciated.
Click to expand...
Click to collapse
I have similiar problem before, The ext partition always failed. Now I used Extended TWRP to create the ext partition, it is stable now.
http://forum.xda-developers.com/showthread.php?t=2120297
I can't get Data2Ext to work. I'm either getting tons of force close errors, or it's not seeing the sd-ext partition at all. I tried with Ext2/Ext3/Ext4 partitions (Ext3 didn't seem to work at all). With or without a swap partition. Nothing worked.
I also tried Data2ExtV2 and even DataOnExt. The result was always a ton of force close errors and a very unstable phone.
So anyone any ideas? It sucks only having 200MB of internal storage.
Hmmmm... That's odd. I just wiped my phone again (Task29), reinstalled MAGLDR, CWM Recovery (150MB) and my ROM without Data2Ext or anything and I'm getting the same force close errors and it's telling me I don't have enough internal storage to install apps.
So apparently there's something else going on with my phone?
What ROM are you using?
Try increasing system partition size!
Sent from my NexusHD2 using xda premium
shanman-2 said:
What ROM are you using?
Try increasing system partition size!
Sent from my NexusHD2 using xda premium
Click to expand...
Click to collapse
Actually, I found out it was because I used the wrong cache size this last time. So it's not the cause of all the other problems, but most certainly the cause of the problems this last time I flashed the ROM.
Ok, I've given up on Data2Ext. I can't get it to work. No matter what I try it's incredibly unstable and slow - if it works at all.
1. Make a backup of your SDCard.
2. Download EXTRecovery here.
3. Unzip it and place the 4EXTRecovery folder in the root of your SDCard.
4. Start MAGLDR, choose option 10, then 1, then 3 and select the folder (4EXT~), then boot from SD in the MAGLDR main menu.
5. In the 4EXTRecovery go to Advanced -> Partition SD Card -> Remove all partitions and start from scratch.
6. 1st sd-ext partition: 1024MB, skip 2nd sd-ext partition, SWAP partition is OPTIONAL, I recommend 256MB.
7. Press Yes and pick: "EXT4".
8. When it's finished, choose: "Print partitiontable" to check if it's actually there.
9. If it's there, go back to the main menu and press: "Install from SDCard".
10. Locate your ROM and install it.
Goodluck.
EDIT: Oh, I just read you've given up on it.. all this work for nothing, lol.
Ohwell, maybe I'm lucky and someone else stumbles upon this and can use it.
EDIT 2: Use DataOnEXT and have a /system size of about 285MB, 300-350MB if you have Bad Blocks!
EDIT 3: Try it with: "Jellybean 4.1.2" by Tytung, definitely works!

Categories

Resources