Can I remove my secondary partition??? - myTouch 3G, Magic General

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.

Related

SD Card changed format, lost all my apps, can't reinstall. Help!

So I just traded my iPhone for a rooted MyTouch. It has the Cyanogen mod I believe. Well all of a sudden I could not access my SD card and when I tried to open it on my computer it said 'Wrong Format'. Wouldn't work on the phone either. So I formated Fat32 and thought I could start over.
It still shows my apps installed in the Marketplace, although they were on the SD and deleted. I can't uninstall them, but it thinks they are there, somewhere. Has anyone had this problem? I am relatively new to Android and rooting. I had a jailbroken iPhone before. Thanks!
kinda depends really. I would suggest first going thru recovery console if you are using amon recovery and partition sd card there. With most modified roms you have apps 2 sd so there are actually 3 partions. The biggest is fat32 for data like music, then ext2,3,4 for applications then a linux swap partition to help expand the ram on the phone and if you formated on PC or from settings on phone those partitions are gone. So I would do that first and then try to uninstall from market and reinstall again if not you may need to wipe and restart the device.
How do I get into recovery mode? I tried going to the terminal and using the flash_image recovery /sdcard/imgfile but it says I do not have permission?
Any ideas??
If your phone has been rooted right by the previous owner, you can access the recovery mode by first powering down, then pressing home and power at the same time.
Ahh! That worked! thanks!
I have a variation on this problem and lost my apps and Market, hope someone can help. Started with the SD card coming unmounted randomly, known issue with EVO I guess. Followed the recommendation of reformatting the SD by plugging it into a Windows PC and doing a FAT32 format. I backed up everything I could "see" from SD to C: drive. I am running a custom ROM with APPS2SD feature and Clockworkmod recovery. I'm very new to Linix and Android but, it looks like there is a Linix Ext3 partition that is made by APPS2SD on the SD card and that is where all my apps where, including android Market app. So, upon copying all the folders back to the re-formatted SD I had no apps and no android Market to able to re-download all my apps. I guess Market is like a licensed deal that you can't just get a .apk of and reload it. I do HAVE a current recovery backup that was on the FAT32 directory of the SD card but it appears the the Ext3 partition is not in that recovery file. I tried booting into recovery with Clockworkmod and reformatting the SD again, I tried a "Restore ext3.img" but Clockworkmod comes back with 'sd-ext.img not found" so I am guessing that the Linix Ext3 partition backup was stored IN the Ext3 partition of the SD(?) and the system and data stuff is stored in the FAT32 recovery file. Brilliant idea (not)! I tried a re-flash of the ROM, flashes OK but no apps. Anyway, the SD is properly partitioned now, the FAT32 stuff is back on, I don't know how to look in to the Est3 partition but, I know there is one program there cause I installed a file explorer by downloading and executing an .apk and there was an option to install it to SD. Going to factory reset and starting over again is not an option. Any ideas please?
SOLVED this issue:
apperantly the android market application is called "vendor.apk" and can be downloaded from various sites BUT WAIT, it's not that simple. Apperantly the vendor app has to be specific to your phone (hardware)? On a whim, I downoaded the previous version of my custom ROM (happedned to be Fresh ROM) .zip, I extracted the vendor.apk from the .zip and installed that. Then, I had an apk called MarketUpdater.apk, or something like that, that had installed in the phones system/app from the last Fresh ROM update. I ran this to update the vendor (android market) to the latest version, then I ran that. Did it work? NO, it crashed hen I tied to run market. I then did a re-boot. Did it it work? NO Upon attempting to reboot it got stuck in a loop and froze. Very scary. So, remove the battery and try again. I think I had to remove and re-install the SDcard somewhere in there to get it to a first time boot and, after a re-boot, whalla, come back with a working market. Market remembered all the apps that I purchased and I re-downloaded everything. Of course, I don't know for sure where they are stored right now (SD card or phone??)
And, my original problem of SD card constantly coming unmounted has been fixed.

Random crashes ALL the time with ALL ROMs

This is really really frustrating. I've rooted my phone, but no matter what ROM I use (except for the official ones), I get random crashes constantly. Sometimes it will be swype, other times Android, other times many many others.
I've tried about every ROM out there. Bittersweet, Aloysius, Darchdroid, etc. etc. What could the problem be? My phone runs fine on stock software! My SD partition is currently 512MB ext2 with the remainder (1.5GB) as FAT32. Could that be the problem? I'm running recovery image 1.6.2.
I'm just wondering if the custom ROMS install some of the software in places (SD card, etc.) that the officials ROMs do not and maybe since I'm not partitioned properly, I get crashing? I don't have a swap partition either.
Any ideas?!?
have you wiped everything befor flashing the roms?
You're probably doing something wrong when you flash. Make sure to wipe your data.
Could also be apps you have installed, remember, Android multi-tasks, so an app can cause a crash when it isn't in the forefront
Here's my process when I flash.
1. Copy the zip file to the SD card.
2. Turn off phone.
3. Press and hold HOME while turning phone on.
4. Wait for recovery menu and wipe Davlik and phone.
5. Go back and flash phone to the zip file on SD.
6. Reboot phone.
You don't have to format the SD every time do you? I just formatted it completely and created an EXT2 and FAT32 partition. Do I need a swap partition?
I'm just really at a loss. I'm so tired of trying ROMs...but they all crash. Am I missing something in the process? How does everyone else do it?

[Solved] Market Error "Invalid Package File"

I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
My phone has been doing the same thing with the whole package file is invalid bs. I tried to follow your instructions on going to the /cache folder. When I went to the folder, it was empty, so I wasn't able to remove any .apk files. So now what? How do I fix this?
If you use a File Managemet app like ASTRO, it will show the folder as empty because you need root access to see the dir. However, if you use Terminal Emulator or adb shell (as root) you will see that there are indeed other directories, and probably these orphaned .apk files.
Hi,
I'm also having the same issue with invalid package. I cleared the /cahch direcotry and still have the issue -- Is there something else i can try before wiping and starting over?
thanks
Rudey
It could also be caused by the .android_secure folder on your SD card. Clearing this folder and letting the market restore them solves issues a lot ofthe time.
As always use TiBackup or something to backup all your apps first too to be safe.
As the OP, I can tell you that I have, in fact, been unable to fix this problem.
Initially the suggestion I posted above worked, however a couple of days later is was no longer working again.
I have tried every trick on the web, including:
1. Removing SD card.
2. Deleting the above mentioned folder
3. clearing market cache
4. Clearing all caches in recovery
5. logging out and back in to google talk.
The only thing that fixes it is a complete factory reset.
I currently have a combination of 3 errors:
1. No download at all.
2. Download unsuccessful
3. Invalid Package
some apps will still update, but what is really weird is that I am even getting invalid package on new apps (so its not a corrupt app already installed on the phone).
One last thought. Once I am unable to update an app, even if I remove it, I can no longer restore the backup using Titanium.
oughta try reformating your SD card and let the phone reformat it too.
sgt. slaughter said:
oughta try reformating your SD card and let the phone reformat it too.
Click to expand...
Click to collapse
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
sw99 said:
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
Click to expand...
Click to collapse
na actually reformating it will fully wipe everything on the SD and having the phone do it is best always as its always better to format with the device your using the disk on the most in general.
Found the problem, updated in OP.
sw99 said:
I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
Click to expand...
Click to collapse
Didnt solve my issue.. I had reformatted my phone and SD card and reinstalled my apps. It was working fine again but now its back to some apps update fine.. some get DOWNLOAD UNSUCCESSFUL and some get PACKAGE FILE INVALID.. any ideas.. Im on sprint lovers rom (latest)
It appears th LINK 2 SD needs a second partition that I dont have nor use with SPRINT LOVERS ROM and 2.2 .... am I missing something??
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Follow the instructions on that thread and create the second partition. You won't need more than 500mb. apps2sd or link2sd is the only way you can fix this problem unless you want to remove some of your apps.
Sent from my PC36100 using XDA App
gpz1100 said:
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Click to expand...
Click to collapse
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
sw99 said:
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm not sure which app2sd method you're referring to, but keep the following in mind. I discovered this after my backup images failed to restore properly.
In the past, i'd be backing up boot, system, and data partitions. Obviously with dt's a2sd, I need to include the ext partition now. No problem. BUT, when restoring, i'd run into issues where my apps were present, but all settings were lost. After much confusion and head scratching, I tried wiping cache and dc AFTER the restore, but before the initial boot. The restore was a success now!
Apparently, with a2sd on the ext3, some remnants of cache or dc remain when backing up, even if cache is not selected. As part of any good restore, first thing is to always wipe, so now we end up with a hodge podge of files in the cache which I think causes the OS to revert all the settings back to default.
Just something to keep in mind.
i wanted to go back how my dhd was.. lots of problem.. i havent fix my radio problem yet and now this invaled package thing *face palm*
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
supericexu said:
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
Click to expand...
Click to collapse
The problem is not the apps, its the /cache running out of space. I suspect that the app you are using cannot move the dalvik-cache files (and is really just a shortcut to android's app2sd - which is not the same as darktremor or link2sd).
in terminal us df -k to see how much space you have on each mount to confirm that there is little space in cache.
If you really have that much space in your apps mount, then I would suggest moving the dalvik-cache back to its original location (search for instructions, as the only way I know how to do it is by installing darktremor's app2sd). If you are still having problems, you really are limited to either partitioning your SD card and using apps2sd or link2sd or removing apps.
hope this helps.
I have been having this issue for a couple of months now - with a bit of a twist. After wiping my dalvik-cache, my apps began to sucsessfully update - except for Google apps.
I have no idea why just those apps, but going into settings/Applications/Manage applications, and selecting each app, then clearing that apps cache, allowed those apps to sucessfully update also.
I am thankful I did not have to resort to the above fix.
Any solution if not rooted?
I've just started to get this error when trying to update the Google+ app. The error is only happening with Google+, every other app I update/install works fine.
I haven't rooted my device, and I'm hoping there's a way to fix the issue without rooting?
Device: Nexus One
Rom: Stock Android
Version: 2.3.4
Although I couldn't see anything in the cache directories, I checked in /system/app and couldn't find any package that looked like it would be Google+.

[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!

[Q] reboot problem / full wipe

Hi there,
i'm having some trouble with my S4, i9505.
I installed Resurrection Remix last weekend, and it hasn't been stable ever since. (cm-Resurrection_Remix_LP_v5.3.2-20150127)
In the beginning it would hold out for a few hours, but it started to reboot more and more frequently.
Finally, it would start to reboot, even whil rebooting into the recovery. Very annoying, and very hard to do anything.
I managed to restore to a nandroid backup from October 2014, but there's another problem.
I had installed that rom early in October It's Cyanogenmod 11.x.... Not sure exactly which version. I used the installer provided by cyanogenmod.org. That one has served me well for a long time, but lately I was having memory issues. I couldn't install new apps and even updating no longer works. I have >4GB free on my external SD, but installing apps to SD didn;t work. Moving apps to SD to make space was no go either. I kept getting "insufficient space" The operating system showed less than half the space on the internal memory was used. Lots of space left, but no space for apps apparently. ES file explorer doesn't think there's much space left on the internal SD. a few 100 MB max.
That's what tirgered moving to RR, but clearly that did'nt work well. I did a factory wipe from the recovery and cleared the cache.
What struck me is that the factory wipe isn't very thorough. Lots of data from apps was still accessible when Resurrection Remix was still behaving.
I tried to install cm-12-20150420-OPTIMIZED-FINAL-jflte.zip, but the installation quickly aborted saying it couldn't mount /system.
I managed to put my nandroid on the SD card and restored to the old situation, but the memory problems are still there.
In short, any idea what could be causing this behaviour?
and is there a way to do a complete and absolute wipe, so that any errors that may have accumulated over time will be erased?
I get the feeling that some link or redirection is wrong and the installs that I do get botched just a little bit.
Cheers,
Everything you are using is old and highly outdated.
1. Flash the latest TWRP from here:
http://teamw.in/devices/samsunggalaxys4internationalqualcomm.html
2.
Download the rom from my signature.
3.
Flash away and it will work fine.
Cool. Thanks. Will try that!
M
Hmmm. Didn't fix it.
OK. So I did that. ... As my phone thinks it's full, I had to do the install using terminal emulator.
Once that was done, it was smooth sailing.
Just started up again. But I only can get a few of the apps I used to have. I'm getting "device memory full" again.
I did the wipe function from twrp. Including wipe of Dalvik cache.
The "storage" item in settings says I have 397 mb available of 9.13gb, but visually the free space looks about 4 times larger than the .75 or so gb of data used by apps, etc.
Any ideas?
Menno
Mainow said:
OK. So I did that. ... As my phone thinks it's full, I had to do the install using terminal emulator.
Once that was done, it was smooth sailing.
Just started up again. But I only can get a few of the apps I used to have. I'm getting "device memory full" again.
I did the wipe function from twrp. Including wipe of Dalvik cache.
The "storage" item in settings says I have 397 mb available of 9.13gb, but visually the free space looks about 4 times larger than the .75 or so gb of data used by apps, etc.
Any ideas?
Menno
Click to expand...
Click to collapse
The memory full mesages is displayed when your internal storage is full. TWRP never wipes your internal storage. Delete the files manually or in TWRP select advanced wipe and select /data partiton.
Lennyz1988 said:
The memory full mesages is displayed when your internal storage is full. TWRP never wipes your internal storage. Delete the files manually or in TWRP select advanced wipe and select /data partiton.
Click to expand...
Click to collapse
Wow! thanks.
I went into TWRP and used the file manager.
Browsed around a bit and found a folder in /Data which belongs to Clockworkmod. The Cyanogenmod filemanager doesn't get there.
It basically had copies of all the nandroid backups I had made. with Clockworkmod. Not cool. I had made the backups to SD card, so apparently CWM forgot to delete these, or so.
Anyway, I deleted those folders and I'm back in business.
Cheers!
Issues after OtA
So..... just posting on my original thread. Hope someone is seeing this.
Last clean update went well... Apart from a few minor issues the wifi and bluetooth stability.
But since mid August my phone was nagging me about a new update being available. So I went for it finaly. Did OTA update 2 days ago.
Did not go well.
Gmail broken, Google Play crashing and bad wif stability.
Read around a bit on this forum.. Decided to do a clean install. MUCh better! :victory:
But... 2 issues remain...
1. my wifi doesn't seem to want to connect when I want it to. I always had issues with the wifi not connecting when the wifi strenght was not perfect, but since the August update, I can be standing right next to the AP and it's not connecting. My AP shows up right on top, and it just says saved. When I tap it and press connect, nothing happens. It does randomly connect every once in a while, for a couple of minutes... It works perfectly, great bandwitdh... and then nothing. It's not my AP. I'm posting from my laptop which has great connectivity. I put in the neighbour's wifi. Same thing.
2. How do I get rid of the Google search bar on top of the screen. Can't find it in the settings.
Oh. and when I switched over to cM12, I seem to have lost root access. How to get it bacK?
Cheers,
Menno

Categories

Resources