I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Edit: I know that this will not restore to 6.3.1 I'm just looking to run AOKP in a clean fresh environment including the SD card thanks for any input
Reserved
Thepooch said:
I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Click to expand...
Click to collapse
You cannot wipe recovery from inside recovery, only the TWRP backups on your sdcard will be lost. The sdcard is on its own partition apart from recovery and system files.
Backups are backed up on my pc also the only time I have used factory restore is when I was going to flash something new. The idea of this seems simple I just don't want it to be problematic since I won't be doing a new flash.
Thepooch said:
I am curious what the results will be if I use the factory restore within a custom rom . I'm currently running AOKP M5.1 . I am wondering if there are any unsightly ramifications to booting into TWRP and doing a factory restore and erasing the SD card contents? I would like to do this to free up as much space as possible and remove the left over remnants of over 20 flashes and a plethora of app installs. One question I have is will TWRP wipe its own directories?
Would this be better from a stock perspective? The only time I wiped my SD card I was on stock and I really don't care to experience any directory malfunctions or card mounting issues. Doing this within a custom rom will my device still know its a kindle lol?
Click to expand...
Click to collapse
Factory data reset from a ROM will wipe the /data partition. It's effectively the same as "Wipe -> Factory Reset" from TWRP.
On the other hand, if you do the equivalent from the stock software, it too will wipe the /data partition, but it will also take the SD Card contents along with it. I learned this the hard way.
kinfauns said:
Factory data reset from a ROM will wipe the /data partition. It's effectively the same as "Wipe -> Factory Reset" from TWRP.
On the other hand, if you do the equivalent from the stock software, it too will wipe the /data partition, but it will also take the SD Card contents along with it. I learned this the hard way.
Click to expand...
Click to collapse
I would like to flush the SD for a clean start music video and apps can all be restored before I stick both feet in I want to make sure that it just gives me the spring cleaning that I'm looking for
Well here's what I decided to do I figured since I had a working rom on I would do it all from the factory restore in the rom. So I clicked factory restore and erase SD card after rebooting it prompted me to set up my Google account. After it restored my account and all my apps downloaded and installed, I moved some files to my SD that I wanted back on and did a backup through twrp. All said and done I was very excited to see that I had 4 gigs of remaining space on my SD card so I managed to clear out 2 gigs of excess clutter from what I have done on my kindle. The only downside I have noticed so far is when hooking my kindle to my computer it shows G: removable disk . ADB drivers are good but its no longer listed as kindle under my computer which isn't the first time I've seen this.The way I figure no big deal adb works and I can access my SD card contents on my computer how its listed is irrelevant.
Drivers driver drivers windows sucks lol at this point they are functioning so I will not be trying to reinstall them. Later I will try another restore and wipe my SD through twrp to see if that changes probably won't make a difference I'm just gonna do it for kicks and giggles
On a device that only has 5 gigs of storage regaining 2 more gigs of play room is substantial. There was more clutter than what I anticipated I was only hoping for a half a gig and I'm certainly thrilled by 2
OK, so backing up my current ROM, takes up alot of memory. I believe you don't have to backup
System
Data
Boot
Recovery
Cache
flexrom (another option to back up even tho i'm not using flexrom at the moment...kinda weird)
Isn't there only 3 of the above you only need to back up technically??
And is there anyway to automatically back up to my external sd card?
and restore from my external sd card?
Cause my internal memory is completely full, mostly from twrp backups it seems like
P.S. in the back up option why does it give me an option for flexrom? and i remember one time it was like over 1000 mb or something, now its only 4mb (currently on aokp)
trevor7428 said:
OK, so backing up my current ROM, takes up alot of memory. I believe you don't have to backup
System
Data
Boot
Recovery
Cache
flexrom (another option to back up even tho i'm not using flexrom at the moment...kinda weird)
Isn't there only 3 of the above you only need to back up technically??
And is there anyway to automatically back up to my external sd card?
and restore from my external sd card?
Cause my internal memory is completely full, mostly from twrp backups it seems like
P.S. in the back up option why does it give me an option for flexrom? and i remember one time it was like over 1000 mb or something, now its only 4mb (currently on aokp)
Click to expand...
Click to collapse
For a minimal backup to restore you need system and data. Those are the big ones but also the two you need to restore at minimum. If you don't care about settings and apps backup only system.
I suggest at least one backup with recovery and boot just in case something goes wrong with either one.
Cache isn't needed as you should wipe it before booting a restore anyways.
In twrp go to mounts and check use external SD, it will stay that way unless you change recoveries or wipe cache.
I never backup flex unless its an Acer based rom.
You can also move the twrp folder to external SD and your current backups will be available when you switch twrp to external, and you can delete any unneeded backups.
Tapatalked from my Galaxy S II.
thanks button hit and wanted to say thank you in person or text or in forums, what ever you call it lol
Hi everybody!
I've a Desire with stock rom 2.3 (and no root yet) and it worked fine until last week.
If I try to install a new app I receive an error about free memory space. I've already try to move all apps to sd but nothing, I can't install anything.
I've try also to do an hard reset and fully wipe/factory reset (from recovery) and for a while it seems to works, but if I install some apps the problem come back.
Why? What can I do?
A friend suggest that maybe there are some directory in filesystem from older app (now unistalled) and, since I haven't root permession, I can't remove them. With root permission can I fix it?
Thanks!
I flashed a custom rom on my desire which used the sd card as internal storage. Problem solved.
Verstuurd van mijn GT-I9505 met Tapatalk
Read this guide to s-off, and install a custom recovery
Use this guide to create a 1gb ext4 partition on your sd card. No swap.
Download a custom rom from the htc desire dev section and flash it. I would recommend milwilds redux rom. It will automatically install apps to the parittion and you will have space.
thanks for reply!
I'd like to fix this problem without flash new rom, eventually with root only. It's possible?
When I bought this there was space enough, why now I haven't? Factory reset does not erase all partition and sistems directories?
Thanks!
Also, before you flash the Rom, best to flash recommended hboot if necessary, read the first post or search each thread.
This way you use your internal memory more efficiently.
deshex said:
thanks for reply!
I'd like to fix this problem without flash new rom, eventually with root only. It's possible?
When I bought this there was space enough, why now I haven't? Factory reset does not erase all partition and sistems directories?
Thanks!
Click to expand...
Click to collapse
Factory reset only deletes user data.
When you bought it, you didn't have apps installed, and probably apps were smaller back then.
What are you trying to say? That you want to flash a stock rooted ROM?
abaaaabbbb63 said:
Factory reset only deletes user data.
When you bought it, you didn't have apps installed, and probably apps were smaller back then.
What are you trying to say? That you want to flash a stock rooted ROM?
Click to expand...
Click to collapse
Nope.
All my apps were installed somewhere in filesystem (maybe in /system?). My question is: when I do a factory reset, what I'm going to erase? Only user data in user directories, or all content of every system directory? (of course, not system files).
I'm only trying to understand why when I bought the phone I've a "lot" of space for my app and now, after a factory reset, I've not enough free space to install more then 2/3.
Example: I wipe/fr, reboot and config the phone; then I try to install Ruzzle (16Mb),Whatsapp (9Mb) and FB(18Mb). Now if I try to install any other apps I get the alert message of free space. Same error if I try to record a video or take a photo.
I think there is something wrong..
I hope that you can read and understand what I'm writing, my english is a little rusty
deshex said:
Nope.
All my apps were installed somewhere in filesystem (maybe in /system?). My question is: when I do a factory reset, what I'm going to erase? Only user data in user directories, or all content of every system directory? (of course, not system files).
I'm only trying to understand why when I bought the phone I've a "lot" of space for my app and now, after a factory reset, I've not enough free space to install more then 2/3.
Example: I wipe/fr, reboot and config the phone; then I try to install Ruzzle (16Mb),Whatsapp (9Mb) and FB(18Mb). Now if I try to install any other apps I get the alert message of free space. Same error if I try to record a video or take a photo.
I think there is something wrong..
I hope that you can read and understand what I'm writing, my english is a little rusty
Click to expand...
Click to collapse
A factory reset will wipe /data, dalvik cache and /cache.
When did you buy your phone? I remember that, when I first bought my Desire, facebook was only 8mbin size, and moved to sd, it only took 2 mb of internal memory. Plus, large apps require large dalvik cache. That's why your memory gets filled so easily.
You can resolve easily and keeping your stock ROM (but you'll need a FAST microSD card, my 32GB is class 10):
1) Root and s-off your device
2) Format your microSD with an EXT2, EXT3 or EXT4 partition of 1GB, then the rest as FAT32 (you can do it directly from phone using the 4ext recovery, or you can format the card from PC using a tool for partitioning which supports linux formats... I don't know if I can mention names in this thread).
3) Install INT2EXT or INT2EXT+ from recovery.
4) You'll have 1GB internal memory with no out-of-space problems.
That's all
Stock kernel doesn't support ext4 nor ext3, use only ext2 if u want to keep it.
Anyway, I believe that supernova ROM would be a much better option, it's basically stock GB made by HTC with some tweaks and script for more space.
Thanks for replies!
I still do not understand why I've no memory for apps after a factory reset; if I wipe all data, I restore all space, like when I bought the phone. Ok, apps are bigger than 2 years ago, but not so bigger that with 3 apps I occupy all space!
Anyway I'm considering to upgrade to a newer version; if I must give root permission, install tools, repartition sdcard and so on, I might as well to flash a newer version.
Curiosity: are there filesystem directories that are not intrested from a wipe? Differently, which directories will not wiped during a factory reset?
Thank you very much!
deshex said:
Thanks for replies!
I still do not understand why I've no memory for apps after a factory reset; if I wipe all data, I restore all space, like when I bought the phone. Ok, apps are bigger than 2 years ago, but not so bigger that with 3 apps I occupy all space!
Anyway I'm considering to upgrade to a newer version; if I must give root permission, install tools, repartition sdcard and so on, I might as well to flash a newer version.
Curiosity: are there filesystem directories that are not intrested from a wipe? Differently, which directories will not wiped during a factory reset?
Thank you very much!
Click to expand...
Click to collapse
yes what your seeing is caused by the apps being a lot bigger now. Facebook is a lot bigger.
And its impossible for your apps to be going to system. You'll have to root and use a2sd
Sent from my HTC Desire using xda app-developers app
dethrat said:
yes what your seeing is caused by the apps being a lot bigger now. Facebook is a lot bigger.
And its impossible for your apps to be going to system. You'll have to root and use a2sd
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
I've install over 40 apps until this problem, including big app like FB.. strange things...
So, how much memory I have?
Rom 4.x for desire has a different partitions? If I just flash a new rom (like 4.0/4.1), will I fix this problem?
Thanks!
deshex said:
I've install over 40 apps until this problem, including big app like FB.. strange things...
So, how much memory I have?
Rom 4.x for desire has a different partitions? If I just flash a new rom (like 4.0/4.1), will I fix this problem?
Thanks!
Click to expand...
Click to collapse
You need a rom with an a2sd script, regardless of it being GB, ICS or JB.
Good, I will search in subforum for a new rom.
Maybe it's a bit OT, but JB rom are stable enough for daily use? Can you suggest me a JB rom with a2sd script? (or even ICS, if JB is not stable enough).
Thank you!
I use jb as a daily driver. The ROM in my sig is the most stable jb ROM I've tried. It has very few soft reboots and has decent speed. It also has a2sd. (Activated through terminal after flashing rom)
However if you really need stability, speed and reliability I would highly recommend using gingerbread. Mildwilds ROMs are great and most of them have an a2sd script as well, which is automatically activated. Try the one based on redux.
Sent from my HTC Desire using xda app-developers app
I have a similar problem to this. I own a HTC Desire that is rooted, with Clockworkmod recovery environment, and I got it running Cyanogen mod 7.2.0.1.
So I was reading around this problem, and there are several solutions. It seems the most foolproof way is to format your SD card and partition it so that you have an EXT3 partition, and a FAT32 partition as has already been suggested here.. This way you can use an app to fool your phone into thinking that it has the EXT3 partition of the SD card to use for internal storage as well as the 150MB of internal storage it comes with. I had an 8GB SD card so I did a split of 2GB for the EXT3 partition, and 6GB for storage of music, photos, etc. etc. I followed this handy guide to do it, and it worked a treat: (sorry, have been unable to post an external link as I'm a new user.. maybe I can post this later).
When I rebooted my phone, sure enough, it showed 2GB+ of internal storage, and I can install all the apps I want. However, I'm experiencing apps hanging and crashing all the time, and I know it was caused by this most recent change. Prior to this, Cyanogenmod was running just fine! I've read a bit more into since doing this, and a lot of people reckon you shouldn't use more than a 512MB SD card partition, as anything over this causes performance issues. Others disagree, and think that anything 2GB or below should be fine. Presumably the apps hanging/crashing is because there is fragmentation of data between the SD card EXT3 partition and the actual 150MB internal storage.
It's frustrating, as other than this the phone is still a very decent handset despite it's age... it's really the storage letting it down. Before I try factory resetting (again!) and going back and trying a 512MB partition, (or just going back to having only 2 apps installed!), has any one else had experience of this?
Any help very much appreciated.
kmanpilkers said:
I have a similar problem to this. I own a HTC Desire that is rooted, with Clockworkmod recovery environment, and I got it running Cyanogen mod 7.2.0.1.
So I was reading around this problem, and there are several solutions. It seems the most foolproof way is to format your SD card and partition it so that you have an EXT3 partition, and a FAT32 partition as has already been suggested here.. This way you can use an app to fool your phone into thinking that it has the EXT3 partition of the SD card to use for internal storage as well as the 150MB of internal storage it comes with. I had an 8GB SD card so I did a split of 2GB for the EXT3 partition, and 6GB for storage of music, photos, etc. etc. I followed this handy guide to do it, and it worked a treat: (sorry, have been unable to post an external link as I'm a new user.. maybe I can post this later).
When I rebooted my phone, sure enough, it showed 2GB+ of internal storage, and I can install all the apps I want. However, I'm experiencing apps hanging and crashing all the time, and I know it was caused by this most recent change. Prior to this, Cyanogenmod was running just fine! I've read a bit more into since doing this, and a lot of people reckon you shouldn't use more than a 512MB SD card partition, as anything over this causes performance issues. Others disagree, and think that anything 2GB or below should be fine. Presumably the apps hanging/crashing is because there is fragmentation of data between the SD card EXT3 partition and the actual 150MB internal storage.
It's frustrating, as other than this the phone is still a very decent handset despite it's age... it's really the storage letting it down. Before I try factory resetting (again!) and going back and trying a 512MB partition, (or just going back to having only 2 apps installed!), has any one else had experience of this?
Any help very much appreciated.
Click to expand...
Click to collapse
well,I don't use gingerbread anymore.but I can say that you can't experience a good performance to use both internal and external (sd-ext) partitions to use and install your apps. better choice is to use one of them.use default a2sd of rom,or use another script to install apps only in sd-ext partition. I have used and tested a lot of roms (GB-ICS-JB) and I can say in my experiences, that you don't have problem to use an sd-ext partition with about 1.5 - 2 gb size.you can see the recommendation of devs in first post of topics, and they tell us what is the minimum-maximum size for the best performance. sorry,i can't search and give you the links,but I just had a really good smoothness and speed with some scripts that you can try them: like mounts2sd, ad2sdx,... you can find link of them with search. and you can use cm7 int2sd version...but it has a bigger size than normal cm7. here is this topic : http://forum.xda-developers.com/showthread.php?t=1357257
@kmanpilkers
Which guide did you use to partition, should be done with gparted or 4ext recovery.
-Ext4 should also be slightly faster than ext3.
-Anything up to 2gb is sufficient. Don't know where you read about limiting it to 512mb. The whole idea is to be able to install more apps on the partition, 512mb will fill up a lot quicker than 2gb...
-you can use space more efficiently by s-off and changing hboot, so you have more than 150 MB of internal. You are currently on stock hboot and have a lot of free wasted space on your /system partition
-depending on your Rom, stick with a single a2sd script, it may be built in or need to be activated, read the Rom thread. Then let it do it's job to move apps to the partition
chromium96 said:
Read this guide to s-off, and install a custom recovery
Use this guide to create a 1gb ext4 partition on your sd card. No swap.
Download a custom rom from the htc desire dev section and flash it. I would recommend milwilds redux rom. It will automatically install apps to the parittion and you will have space.
Click to expand...
Click to collapse
Thank you. I've been searching for some time
I flash a lot of roms on my phone. Recently I noticed that there was a lot of left over programs and apps on my internal memory. I have nothing on the phone I want to keep that is not already backed up via TitaniumBackup.
What I would like to do, is wipe everything that I can without messing up partitions or Mount points or the needed stuff in ./data/media so I can flash a new room on a totally clean phone (except for the nessasary files needed like the data/media stuff and recovery stuff ect..)
Normally when I flash I do this: (in TWRP)
1. Nandroid backup
2. Wipe/factory restore
3. Wipe data and system again
4. Flash new ROM
5. Wipe devlik/cache
6. Reboot
When I finally get to the desktop I start up root explorer and look around my internal memory. This is were I still see a lot of old apps still sitting there. I want them gone. I'm afraid to wipe/format internal memory while in TWRP because I will lose everything right ? Even the stuff that is needed to boot the phone to recovery.
Any suggestions ?
Thanks
T-Mobile Samsung G S4
SGH-M919
TWRP v6.x.x.x
16 gig micro sd-card
Go in twrp and click wipe, advanced, and click everything. after wiping Mount the phone to PC via twrp and move the rom and kernel to sd card. Unmount then do the steps you usually do to install a ROM, including wipe.
~~~~~~~~~~~~~~~~~~~~~
I am always on the mobile app and am always 'trying' to help others and moderators on the forum and learning something new everyday. I make stupid posts sometimes, but I never repeat a mistake more than once. I may not be a developer, but I know alot of stuff, so feel free to messsge me any questions and I'll be happy to answer them to the best of my ability.
~~~~~~~~~~~~~~~~~~~~~
I'm starting a video game company with my friend where we will be making Android games. message me for more info or go here: http://forum.xda-developers.com/showthread.php?t=2290843
Thibor69 said:
I flash a lot of roms on my phone. Recently I noticed that there was a lot of left over programs and apps on my internal memory. I have nothing on the phone I want to keep that is not already backed up via TitaniumBackup.
What I would like to do, is wipe everything that I can without messing up partitions or Mount points or the needed stuff in ./data/media so I can flash a new room on a totally clean phone (except for the nessasary files needed like the data/media stuff and recovery stuff ect..)
Normally when I flash I do this: (in TWRP)
1. Nandroid backup
2. Wipe/factory restore
3. Wipe data and system again
4. Flash new ROM
5. Wipe devlik/cache
6. Reboot
When I finally get to the desktop I start up root explorer and look around my internal memory. This is were I still see a lot of old apps still sitting there. I want them gone. I'm afraid to wipe/format internal memory while in TWRP because I will lose everything right ? Even the stuff that is needed to boot the phone to recovery.
Any suggestions ?
Thanks
T-Mobile Samsung G S4
SGH-M919
TWRP v6.x.x.x
16 gig micro sd-card
Click to expand...
Click to collapse
If you have your TiBu backups, nandroids, and ROM zips, pictures, videos, etc already on your SD card; there is no harm in formatting your internal memory. You won't lose recovery, you won't have a problem with booting, nothing of that sort.
When I was running SynergyRom on my S3, wiping Internal memory was usually Always suggested because of the reasons you mentioned.
Move your Nandroid and files you want to flash to your extSdCard card for obvious reasons.
I have TWRP 2.5.0.2 as my Recovery, which has been running without issues for months.
Enter Recovery:
Press -
Wipe
Format Data
As a safety valve, you'll be asked to Type in Yes to continue this Internal wipe.
You'll retain the partitions you mentioned.
I think the above will get you to where you want to be.
You can always double check afterward as you've already done before.
Biker1 said:
When I was running SynergyRom on my S3, wiping Internal memory was usually Always suggested because of the reasons you mentioned.
Move your Nandroid and files you want to flash to your extSdCard card for obvious reasons.
I have TWRP 2.5.0.2 as my Recovery, which has been running without issues for months.
Enter Recovery:
Press -
Wipe
Format Data
As a safety valve, you'll be asked to Type in Yes to continue this Internal wipe.
You'll retain the partitions you mentioned.
I think the above will get you to where you want to be.
You can always double check afterward as you've already done before.
Click to expand...
Click to collapse
Just wanted to say good question and responses. Helpful.
Hey Everyone ive been installing new Roms and testing new ones left and right, and for Some reaosn my Internal Memory Is pretty Much Full, so my question" Is it Ok to Format my Internal Memory thru Recovery and just flash a new rom after? or is it going to cause problems? I just want to ask before i attempt doing it, Because i cant really afford to brick my friends Phone lol. Thanks Everyone in Advance for your Answers/Opinions, XDA is the Best website/Forum For Anything phone related and great People who always help.
Not sure if you are posting from your phone, but the random capitalization and lack of punctuation make it a bit difficult to read your post.
To answer your questions . . . . it depends.
If you store your nandroid (TWRP) backups on internal storage (which is the default location), those will be gone if you wipe internal storage. Sounds a bit obvious, but you may be surprised at how many folks don't realize this.
Also, if the ROM you want to flash is on internal storage and you wipe it . . . its gone. Again, this may seem obvious but you'd be surprised.
Now of course if you store your nandroids and ROM zips (that you intend to flash) on your removable SD cards, none of the above matters much. Or alternately, wipe internal storage, then put the desire nandroid and ROM.zip back on internal storage after the wipe.
A lot of residual "junk" does get left behind from old ROMS, so its not a bad idea to wipe internal storage once in a while, as long as you realize the items I've mentioned above.
But on the other hand, this stuff usually won't fill up the whole storage. Sometimes, folks fill up there storage unknowingly with nandroids and ROM zips. They take up a lot of space (especially Sense ROMs), as in 2 GB or more each. Again, this may be obvious to you, but you'd be surprised at how many folks make this mistake. Clearing some storage space in those cases is as easy as getting rid of extraneous nandroids and ROM zip, or moving them to your computer.
Obviously any personal files stored on internal storage will be lost, if you wipe this partition. Seeing as you mention its your friends phone, you may want to verify that your friend doesn't have anything they want to keep, before you wipe it.
As far as a brick, its not going to happen. Wiping in TWRP is safe. Its tough to actually brick this phone if its s-on. And you won't do so by flashing ROMs or wiping internal storage. Render the phone unable to boot into OS, yes. But that is not a brick, and usually easy to recovery from.