Disable apps2sd and delete ext partition - Hero, G2 Touch Q&A, Help & Troubleshooting

How can I disable apps2sd and delete the ext2 partition
to go back to original sdcard format?

I don't really know..try to format it again?

Don`t know if it`s the right way,but
via Recovery menu I set swap partition size to 0
and ext2 partition size to 0,too!

Yeah i was thinking of that figure

After this sdcard storage,is back to original 1.84 GB!
I hope so all partitions deleted and it`s the right way
and not to do more.
Perhaps other possibilities there.

Related

App2SD with ext2,3,4 support xRecovery installation

Download here - app2sd.ext4(modified 3.1.11)
Or if you want both, apps and dalvik-cache on SD - download here - app2sd.dc2sd.ext4
First of all make backup in xRecovery
Install app2sd through xRecovery - install custom zip
ext2 or ext3 or ext4 partition on SDcard needed
After app2sd installed, don´t turn the phone on without SD card with installed apps inserted, until it is really necessary
First boot after installation takes longer, depending on the amount of installed apps
If you make backup with xRecovery after installation -
- your personal data and setting of your apps will be backed up
- installed apps will no longer be backed up, but still remaining in the ext partition on SD card
If some app won´t work correctly, please reinstall the app from Market or from the file browser (rootexplorer) - you can find your apps in /system/sd/app directory
Compatible with JIT?
Yes, it is.
peetr_ said:
Download here - app2sd.ext4
Install through xRecovery - install custom zip
Click to expand...
Click to collapse
Could u upload the file on megaupload.com
Thanks,...
Ok... now it´s on megaupload.
Installed it, how can i check it? This is my first app2sd try
Sent from my E10i
In rootexplorer, /data/app - shows used and remaining space, added together it should be size of your ext partition.
Ok at first i didnt have a ext2 partition.
Now i have formated my sd card and app2sd seems to waork, my problem is after installing the uptade.zip my phone reboots and at first it shows all the apps in menu then they dissapear, i think theyre transfered to sd card. and then i can do nothing just have the standart apps, appbrain doeasnt works, cant start root explorer etc... but all m apps appera in the menu for deinstallation. Hope you can help me
EDIT//
after another restart everything seems to work fine
I am glad to hear that
Works well with my previous ext2 partition.
I already had app2sd working, and it still works this way.
I'm now trying a new sdcard. I formatted an ext4 partition in ubuntu, but the phone enters into an eternal loop. Don't know why, but it seams that it is not recognizing the partition.
Any Ideas?
Regards
Use ext3,for mini is better - stable
I made ext4 partition making first ext3 and then ext4 manually in xrecovery through adb with this tutorial http://forum.xda-developers.com/showthread.php?t=534714 and its stable.
But maybe ext3 is faster with our kernel. Dont know, didnt compared.
peetr_ said:
Ok... now it´s on megaupload.
Click to expand...
Click to collapse
Thanks brader.....
This sounds awesome but does this mean that I can have apps on ext2 + ext 3 which means double the amount of apps?
NO.On ext3 is better performance.
No, but you can double the amount of partition size
Nice so say I've doubled it, will it increase the amount of apps I can put on my mini? just want to know a bit more about this
peetr_ said:
Download here - app2sd.ext4
Install through xRecovery - install custom zip
ext 2,3 or 4 partition on SDcard needed
Click to expand...
Click to collapse
THANK YOU VERY MUCH !!!
now i have a question, i got a 1gb ext2 partition, would it be better when i format it in ext3 or ext4 ? i dont know wich class the microsd card is, its a 8gb....
I have ext4 but few people said ext3 has better performance.
I had no time yet, to try ext3.
I think 1 GB is too much, because there are still some data, that are stored in internal memory and when you run out of internal memory, remaining place in ext partition is unused.
500 MB is enough, this is not high-end phone and too many apps means more slowness and less stability, i think.
M
peetr_ said:
I have ext4 but few people said ext3 has better performance.
I had no time yet, to try ext3.
I think 1 GB is too much, because there are still some data, that are stored in internal memory and when you run out of internal memory, remaining place in ext partition is unused.
500 MB is enough, this is not high-end phone and too many apps means more slowness and less stability, i think.
Click to expand...
Click to collapse
Can I skip doing ext2 just make ext3 n 4..then intall the zip file using recovery?to make partition ext3 or 4 using same method of make partition ext2?
sent from my E10i

[Q] Clockworkmod and sd-ext

Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.

[Q] SD card change+Rom change from xpart to a2sd+ and taking over ext4?

Hey guys.
I've read some threads about moving ext4 from one SD to another, but this isn't exactly what I need.
I am currently on MIUI XJ 1.8.12 XPart rom and I want to change to 1.8.12 A2SD+ and a bigger SD card.
Changing the rom isn't the problem, but backing up my ext4 partition from the old SD is!
I used the newest ubuntu live CD(11.04 I believe) to partition the new SD card to FAT32/ext4. Everything is fine.
The SD gets recognized as it should. FAT32 and EXT4 partition mount and I can access them.
But with my old SD it doesn't work.
If I plug it in, FAT32 and EXT4 partition get recognized. FAT32 partition is named "195" and EXT4 is "userdata".
When I try to click the EXT4 it just dissappears. In the media tab it is listed, but I can't access it because I am not the owner of it/I am missing permissions/rights to access it.
I partitioned it with CWM recovery, but meanwhile I changed my recovery to RMD 1.03 (I don't think that this matters though...).
Now my questions:
1. How can I access my EXT4 partition to backup its content?
2. If I can't access it because I can't change permissions... do I really need to copy it or will it be enough to restore my apps that I backed up under xpart with MIUI Backup?
3. Is it a problem to restore a app backup done under xpart-script with a a2sd+ rom?
Thank you for reading!
you can backup your ext partition in recovery. i think you can also just open a file explorer and copy the folder /sd-ext (i havent tried this, so im not sure if this will work)
Ok, I haven't tried to backup it with recovery.
Will it then be possible to flash a new rom (a2sd+ instead of xpart) and restore only the ext partition?
I want a clean install with a2sd+ but I don't want to loose settings and savegames.
Just a small "up" for my thread.
I backed up my sd-ext partition and I could wipe right now.
Will there be any problems with restoring the ext partition on a new rom?
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Bananebieger said:
Will there be any problems with restoring the ext partition on a new rom?
Click to expand...
Click to collapse
there will only be problems if your rom does not support either your a2sd or your current ext filesystem (which is to say, does it support ext4 or does it only support ext2 or ext3?)
Bananebieger said:
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Click to expand...
Click to collapse
i believe so (please dont take my word for it as i have not done this before. however, im pretty sure it will be "rebuilt" as you have it included in your backup)
Thank you again.
Its the MIUI rom from XJ for Desire Classic with XPART script. Your ext Partition gets converted to ext4 if you install this rom.
Will there be problems with using sd-ext content from XPART after update to A2SD+?
Maybe I'll bother the dev from this rom

Need help about swap partition

Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
StardustGeass said:
Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
this happens because when doing a full-wipe or restore, CWM format the swap partition to ext2 (some ppl say that if you have an ext partition this doesn't happen) so you need to reformat the partition to swap (sometimes I have to do it 2 times before the system acknowledge the swap partition) so, mount the sd in your pc, and reformat the partition. that should fix it.
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Ok, thank you for your answers
Sent from my U20i using xda app-developers app
penthaler said:
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Click to expand...
Click to collapse
In my case sometimes works with the first try, sometimes I need to re-format the swap partition 2 times. but I haven't format the whole sd in more than a year, and I go testing roms almost every week.

[Guide] CWM ReParted

CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache (ext4 or f2fs) and /sdcard (vfat)
4) restore your data
5) swap storages via Novathor settings app
Thanks to @AntaresOne for a good starting point for this guide.
UPD. repartition scripts for ext4
620.000 SYSTEM
10.000 CACHEFS
3.112.931 DATAFS
100.000 UMS
100 HIDDEN
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=57177356&postcount=44
and F2FS
620.000 SYSTEM
130.000 CACHEFS
3.002.931 DATAFS
100.000 UMS
100 HIDDEN
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=57126553&postcount=41
Thanks @fluffi444
Thank you for your guide. I looked into it and have some questions. I also study repartition script to know what it is doing.
It would be nice if someone can answer these questions:
We are able to deal with all partitions but no with UMS and HIDDEN. What is the purpose of these and why are they needed?
Is it possible to modify ROM and remove them? If so.. How to do that? It would be nice if we can have one big internal memory and one sdcard.
Now, there is one big data and one little 51kb UMS if I understood it correctly.
Fota can be removed totaly I think.
Thank you.
BoogeyCZ said:
We are able to deal with all partitions but no with UMS and HIDDEN. What is the purpose of these and why are they needed?
Click to expand...
Click to collapse
Why not UMS and HIDDEN? UMS is /sdcard and HIDDEN is /preload
Is it possible to modify ROM and remove them? If so.. How to do that? It would be nice if we can have one big internal memory and one sdcard.
Click to expand...
Click to collapse
Probably yes... But I don't know how to do that and I really don't think it is necessary for anyone. I use both of sdcards (yes, 32Gb is not enough for me )
Now, there is one big data and one little 51kb UMS if I understood it correctly.
Fota can be removed totaly I think.
Click to expand...
Click to collapse
Yes, fota will be removed after installation this zip.
I tried to find out where are /preload and /sdcard mounted and maybe it will be ok to edit:
/fstab.samsungcodina to remove mounting preload and sdcard (this file is probably in ramdisk)
and edit build.prop:
persist.sys.vold.switchablepair=sdcard0,sdcard1
but I'm not sure about that.
I did repartition your way but I have problem with Google Photo app. It requires sdcard0 which has no space Is it possible to switch them or use /data as sdcard like in Nexus devices?
BoogeyCZ said:
I did repartition your way but I have problem with Google Photo app. It requires sdcard0 which has no space Is it possible to switch them or use /data as sdcard like in Nexus devices?
Click to expand...
Click to collapse
I forgot to mention, you need to swap memory via Novathor App after repartition. You also can increase size for UMS if you don't want to swap storages.
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
I did all of this but I can't reach the sd card and I have 2,64 in internal storage Please how to cancel this changes ?1
---------- Post added at 02:07 AM ---------- Previous post was at 01:32 AM ----------
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
when I did all the steps before swapping the sd card . the sd card was good but in the apps section in settings sd card was blank and installed apps won't work after doing the swap the sd card is 0octects in storage !! what's the solution to this problem if not what's the way to get back to old storage ?!
Thank you. Switch storages works ok.
faroukovic3 said:
Please how to cancel this changes ?1
Click to expand...
Click to collapse
Flash *.pit file via Odin.
after doing the swap the sd card is 0octects in storage !!
Click to expand...
Click to collapse
English, please I don't understand you.
ChronoMonochrome said:
Flash *.pit file via Odin.
English, please I don't understand you.
Click to expand...
Click to collapse
I already downgreade to gingerbread and back to jelly bean and now I'm on CM11 Thnx Anyway
Hello i have repartition my internal memory with busote method,can i use your flashable method or i must go back to original partition before i use your flashable file?
nikolas1274 said:
Hello i have repartition my internal memory with busote method,can i use your flashable method or i must go back to original partition before i use your flashable file?
Click to expand...
Click to collapse
I think you should go back to original partitions, or you'll get some errors
Or you can do it by hand if you really know what you are doing and if you are familiar with parted.
I studied script and partition layout and did it manually my way with little help which you can find in the first page of this thread. Essential is to know what partition you have to remove and what you have to leave untouched. Next step is to recreate it in propper layout and sizes. Then you format it and install ROM. Finnally switch Storages by Novathor settings.
any1 can tell me how to set the partiton back to original?
Flash 3 part fw
teddytsen said:
Flash 3 part fw
Click to expand...
Click to collapse
can i flash the pit file only and tick the repartition?
10BIT said:
can i flash the pit file only and tick the repartition?
Click to expand...
Click to collapse
Were do you think your Data is if you did an re-partition... correct: Its away or corrupted..... flash complete 3 parted fw as already said (it's the easiest way now)
fluffi444 said:
Were do you think your Data is if you did an re-partition... correct: Its away or corrupted..... flash complete 3 parted fw as already said (it's the easiest way now)
Click to expand...
Click to collapse
Okay....,thx for the explanation
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
I'm using KK CM11. And installed this partitioning + kernel f2fs 1.6.3.
But i cant move apps to sdcard after partitioning. Any suggestion??
Maybe because on CM11 its move the apps to ext sdcard. Since ext sdcard doesnt have anyspace, so it wont move.
Without moving apps, i doubt i can install every apps i need.
riyosakura said:
I'm using KK CM11. And installed this partitioning + kernel f2fs 1.6.3.
But i cant move apps to sdcard after partitioning. Any suggestion??
Since ext sdcard doesnt have anyspace, so it wont move.
Click to expand...
Click to collapse
Try to increase /sdcard partition. I realize now that this is not a good idea to reduce this partitiion to a few kilobytes.

Categories

Resources