[Q] ROM Wiping - Nexus 7 Q&A, Help & Troubleshooting

Excuse my ignorance, i have searched around and not found an answer to this question.
I primarily use an S3 i9300, but have bought 2 N7s for the kids.
When i install a rom on the S3, i wipe etc before doing so. BUT, the roms, kernels etc i put on my external SD car so they won't be wiped.
So, my question since the N7 does not have an external SD, where do i put roms, kernels etc so they won't be wiped?
Is it as simple as putting them in the /sdcard directory using rootexplorer?
Thanks in advance.

The "factory reset" procedure in TWRP uses file deletion rather than filesystem destruction/recreation to clean up /data - it does this in order to avoid deleting any files in /data/media (which is where the pseudo-SD card mount point lives @ /data/media/0)
I suppose CWM does the same, but I haven't used it yet, so don't quote me on that.
(Note that the STOCK recovery does in fact wipe everything though!)
Anyway, the "clean flash" procedure is to perform in the custom recovery:
- factory reset
- flash ROM of your choice
This avoids destroying stuff like ROMs and backups.
Having said that, if your tablet is at risk from random button pushing, the risks of wiping everything are quite a bit higher than when a real external SD card is used. For instance, TWRP's touch Wipe sub-menu has a button labeled "Format Data". This menu button does exactly what it says: destroys the entire filesystem in /data and initializes a new ext4 filesystem - destroying everything - including files in the "SD card".
good luck

Thanks for your reply.
I am using twrp not stick or cwm.
Great stuff learning all over again after having to do it with the s3!
Sent from my GT-I9300 using xda premium

Related

[Q] selling my hd2, need to know how to remove my personal information

I am sellingmy hd2 and I want to remove all of my info (similar to a hard reset) but not remove the cm7 android 2.3.2 that is on there. Can someone give me some pointers? I heard all you do is reboot in recovery is this true?
if running WM6.5, the usual hard reset via the hardware buttons will work.
if running WP7, read the stickies in that sub-forum for any hints.
if using android, first determine if the build relies on the sd-ext partition. usually, this will be stated by the chef in the thread of the build. i believe nearly ALL CM7 builds do NOT rely on the sd-ext partition, but CAN use the sd-ext partition if one is found.
if using non-sd-ext build:
1. go into recovery
2. find the "factory reset" option and run it
3. done
if using sd-ext build:
1. go into recovery
2. go into "advanced" (or similar)
3. go into "mounts and storage" (or similar)
4. format/wipe all partitions except "/system", "/sd-ext", "/boot", and "/sdcard". you can format the "/sdcard" option as well if you don't care about the files in the FAT32 partition of the sd card.
the above instructions for android are admittedly a bit general, because i haven't tried them personally but should work theoretically. and i didn't actually go into recovery to see if i wrote the options' captions correctly...just did it from memory.
so perhaps someone can correct my post.
ASCIIker said:
if running WM6.5, the usual hard reset via the hardware buttons will work.
if running WP7, read the stickies in that sub-forum for any hints.
if using android, first determine if the build relies on the sd-ext partition. usually, this will be stated by the chef in the thread of the build. i believe nearly ALL CM7 builds do NOT rely on the sd-ext partition, but CAN use the sd-ext partition if one is found.
if using non-sd-ext build:
1. go into recovery
2. find the "factory reset" option and run it
3. done
if using sd-ext build:
1. go into recovery
2. go into "advanced" (or similar)
3. go into "mounts and storage" (or similar)
4. format/wipe all partitions except "/system", "/sd-ext", "/boot", and "/sdcard". you can format the "/sdcard" option as well if you don't care about the files in the FAT32 partition of the sd card.
the above instructions for android are admittedly a bit general, because i haven't tried them personally but should work theoretically. and i didn't actually go into recovery to see if i wrote the options' captions correctly...just did it from memory.
so perhaps someone can correct my post.
Click to expand...
Click to collapse
I am currently running CM7 Android 2.3.2. Did the mod so long ago I truly to do not know where to find the thread for it. I will try your first option regarding recovery and go from there.
Thanks

[REF] CWM - Clockworkmode menu options & Partitions– GENERAL KNOWLEDGE

Hi mates,
When we are flashing a Custom Rom from the CWM, we are normally instructed by the Devs only to do few steps on CWM like “Wipe Data/Factory Data Reset, Wipe Cache etc.. which we simply follow, but most of the people don’t know, including me, what these options and many other options of CWM are really standing for.
When I googled, I could not find a thread which explains about these options in a single thread, so I would like to share with my friends about what I found the Common Options of the CWM here...
Obviously these are commonly applicable for all the devices which are having CWM, but I am always concern about my favorite Galaxy S II.
People who are completely new to Recovery and these options, I suggest them to read this thread first and give a thanks to it's author.
What Is Recovery & Download Mode?
The oder and segregation of the below items in the CWM menu may vary or some of them may be removed in different custom recoveries designed by respective Developer.
CLOCKWORKMODE BASED RECOVERY MENU
1) Reboot Menu :
reboot system now
This one is self-explanatory.
2) Install Menu :
choose zip from (internal/ external) sdcard /
Lets you install any zip file (with any name) from any location on your SD card. The file can be for a ROM, a kernel, an application, a theme or any mod as long as it is in recovery-flashable zip format.
apply /sdcard/update.zip
This one is essentially the same as the ‘apply update from sdcard’ option of the main menu. widely used option for installing a ROM that you have downloaded and copied to your SD card. Entering this option will bring up a screen that will allow you to browse your SD card for the zip file.
apply update from sdcard
This can be used for installation of any official or unofficial update, ROM, kernel, theme etc. that is in a zip format installable from recovery, as long as the file is named update.zip and it has been placed on the root of your SD card (i.e. not in any sub-folder). Selecting this option will bring up a rather annoying confirmation prompt but this has saved us on multiple occasions from a lot of trouble we would have been into due to accidental key presses.
toggle signature verification
Turns the signature verification on and off. When signature verification is on, you will not be able to install any custom ROMs that haven’t been signed by the developers (most custom ROMs aren’t signed). Switching it off skips the signature verification check and proceeds with the installation.
toggle script asserts
Seldom-used option for a vast majority of users. It simply turns script asserts on or off. If you don’t know about these (I don’t), it’s best not to change this option.
3) Wipe Menu
wipe data/factory reset
This option wipes all user data on the device as well as cache. Doing this will leave your phone in the state it was in when you bought it or when any custom ROM was first installed. It will also wipe any sd-ext partition that you might have setup. (see more about sd-ext below under partition)
wipe cache partition
This is a good practice to do this before flashing any ROM. The /cache partition just stores temporary files that are not critical to device operation and can be re-generated easily, this Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine. The dalvik cache wipe is quite similar to cache wipe but it stores the post ran java applications. Since Android is JAVA based, it uses the same java virtual machine for compiling. The dalvik cache just stores post-compiled applications in order to speed up the system. Wiping this just forces the system to re-cache those application. It causes no problems but a slight hint of lag on first boot. This is required before most ROM installations and at other occasions too, for fixing some problems.
Wipe Battery Stats
Wipes the saved battery usage statistics and effectively recalibrates the battery. Useful in various scenarios when Android isn’t showing correct battery levels.
4) Nandroid menu
backup and restore Undoubtedly one of the most important features provided by a custom recovery, the backup and restore feature – also known as Nandroid backup – allows you to take a snapshot of your phone’s entire internal memory including all partitions, and save it on the SD card.
Backup
Takes a Nandroid backup, as explained above.
Restore
Lets you restore a previously taken backup. Entering this option presents you with a list of existing backups from the SD card that you can choose from for restoration.
Advanced Restore (new options are available separately to restore from external or internal SDcard in the latest CWM)
This option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose what parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions.
5) Storage menu
mounts and storage
Allows you to perform maintenance tasks on all the internal and external partitions of your android device
mount/unmount /system, /data, /cache, /sdcard, /emmc.
These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.
format system, data, cache, sdcard or sd-ext
These let you directly format any of these partitions. Take extreme care with this option as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system while wiping the boot partition may brick your phone unless you restore or flash another one before rebooting your device. See below more explanation about these partitions.
mount USB storage
Lets you enable USB mass storage mode for your SD card right from recovery so that you can connect it to your computer via USB and transfer any files to/from it without having to leave recovery.
6) Advanced
This section contains a few options most users will not require, Here are the options from this section:
Report Error
In case of errors, this feature can be used to save a log of recent ClockworkMod recovery operations on the SD card that you can later report from Android using ROM Manager.
Key Test
Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.
Partition SD Card
This option gives you a no-frills way to partition your SD card properly for use with ROMs that support data2ext (a very handy hack for low internal memory devices that enables an /sd-ext partition on the SD card to be used as the internal user data storage i.e. as the /data partition). Once this option is selected, you will be given options to choose the sizes for the /sd-ext partition as well as an optional /swap partition on the SD card, and will then automatically format it for you, leaving the remaining space for normal SD card usage. This option will wipe all data from your SD card so use it with caution!
Fix Permissions
Fixes the file permissions for the internal memory partitions back to default. This is very useful as a fix for several errors and Force-Closes that start appearing after you or an application you installed and provided root access end up messing up the permissions of important files.
PARTITIONS :
The Android uses several partitions to organize files and folders on the device. Each of these partitions has a distinct role in the functionality of the device, but not many Android users know the significance of each partition and its contents. In this guide, we will take you on a tour of Android partitions, what they contain and what can be the possible consequences of modifying their content.
Let’s start with a list of standard internal memory partitions on Android phones and tablets. These are:
• /boot
• /system
• /recovery
• /data
• /cache
• /misc
In addition, there are the SD card partitions.
• /sdcard
• /sd-ext
Note that only /sdcard is found in all Android devices and the rest are present only in select devices. Let’s now take a look at the purpose and contents of each of these partitions.
/boot
This is the partition that enables the phone to boot, as the name suggests. It includes the bootloader and the kernel. Without this partition, the device will simply not be able to boot. Wiping this partition from recovery should only be done if absolutely required and once done, the device must NOT be rebooted before installing a new one, which can be done by installing a ROM that includes a /boot partition.
/system
This partition basically contains the entire operating system, other than the kernel and the bootloader. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
/recovery
The recovery partition can be considered as an alternative boot partition that lets you boot the device into a recovery console for performing advanced recovery and maintenance operations on it. We have already learnt about this partition and its contents above.
/data
Also called userdata, the data partition contains the user’s data – this is where your contacts, messages, settings and apps that you have installed go. Wiping this partition essentially performs a factory reset on your device, restoring it to the way it was when you first booted it, or the way it was after the last official or custom ROM installation. When you perform a wipe data/factory reset from recovery, it is this partition that you are wiping.
/cache
This is the partition where Android stores frequently accessed data and app components. Wiping the cache doesn’t effect your personal data but simply gets rid of the existing data there, which gets automatically rebuilt as you continue using the device.
/misc
This partition contains miscellaneous system settings in form of on/off switches. These settings may include CID (Carrier or Region ID), USB configuration and certain hardware settings etc. This is an important partition and if it is corrupt or missing, several of the device’s features will will not function normally.
/sdcard
This is not a partition on the internal memory of the device but rather the SD card. In terms of usage, this is your storage space to use as you see fit, to store your media, documents, ROMs etc. on it. Wiping it is perfectly safe as long as you backup all the data you require from it, to your computer first. Though several user-installed apps save their data and settings on the SD card and wiping this partition will make you lose all that data.
On devices with both an internal and an external SD card – devices like the Samsung Galaxy SII – the /sdcard partition is always used to refer to the internal SD card. For the external SD card – if present – an alternative partition is used, which differs from device to device. In case of Samsung Galaxy S series devices, it is /sdcard/External_sd while in many other devices, it is /sdcard2. Unlike /sdcard, no system or app data whatsoever is stored automatically on this external SD card and everything present on it has been added there by the user. You can safely wipe it after backing up any data from it that you need to save.
/sd-ext
This is not a standard Android partition, but has become popular in the custom ROM scene. It is basically an additional partition on your SD card that acts as the /data partition when used with certain ROMs that have special features called APP2SD+ or data2ext enabled. It is especially useful on devices with little internal memory allotted to the /data partition. Thus, users who want to install more programs than the internal memory allows can make this partition and use it with a custom ROM that supports this feature, to get additional storage for installing their apps. Wiping this partition is essentially the same as wiping the /data partition – you lose your contacts, SMS, market apps and settings.
Now whenever we install a ROM or mod that requires we to wipe certain partitions before the installation, we should be in a better position to know what we are losing and what not and thus, we’ll know what to backup and what not.
Best Regards
http://forum.xda-developers.com/showthread.php?t=1134290
Yep. Been done before a long time ago. Tho I do admire your initiative in putting the info together
Stifler69 said:
http://forum.xda-developers.com/showthread.php?t=1134290
Click to expand...
Click to collapse
No Doubt this one should be on the top of this thread,
What a simple and awesome explanation about the Recovery & Download mode, many thanks to pulser_g2
I know, majority of users only need the simple steps and shortcuts, they don’t care what’s happening internally and theoretically, but some are really curious to know…
Many thanks mate....
zaheedahmed said:
No Doubt this one should be on the top of this thread,
What a simple and awesome explanation about the Recovery & Download mode, many thanks to pulser_g2
I know, majority of users only need the simple steps and shortcuts, they don’t care what’s happening internally and theoretically, but some are really curious to know…
Many thanks mate....
Click to expand...
Click to collapse
Nah mate you do what you have to do. It is a good thread and provides good information. Nice work. Just wanted to show you Pulsers thread as well though because he has done something similar to yours long time ago..But anyway good work and if you need any help let me know
Thanks, will save later text in PDF and keep it on PC just to have one more tutorial about things
Awesome write up!! Brilliant!
As you are so knowledgeable about CWM, perhaps I can ask you a question?
When I do a backup, it says that no external SD card was found, so it skipped the external?
When I check under mounts, the only option for the external SD card is to UNmount.... This would suggest that the card is mounted, correct?
So how would I go about backing up the external card too?
Thanks!
Sent from my SGH-I727R using xda premium
Question, if i do nandroid backhp through CWM, i suppose it saves files that i dl such as apps/games, or i need to download later again 600mb+?
Sent by powaaaaah of GT-I9100 Taparatatatalk!
shaggyskunk said:
Awesome write up!! Brilliant!
As you are so knowledgeable about CWM, perhaps I can ask you a question?
When I do a backup, it says that no external SD card was found, so it skipped the external?
When I check under mounts, the only option for the external SD card is to UNmount.... This would suggest that the card is mounted, correct?
So how would I go about backing up the external card too?
Thanks!
Sent from my SGH-I727R using xda premium
Click to expand...
Click to collapse
Thank you for your appreciation,
I would like to express once again as I mentioned in the starting of the thread that this is only a humble effort of the undersigne that I searched for such information and combined at one place here....
As far as I know about your problem of SD card storage, this is a compatibility issiue which varries on one custom recovery to another, also one SD card to another. such issues are fixed by developers in their latest versions of recoveries.
I experienced once the same issue which was resolved when I changed my SD card.
And my current (touch) recovery of Redpill v1.3 allows me to Backup and restore from external SD card with all available options flowlessly.
Thanks
X-Plosiv said:
Question, if i do nandroid backhp through CWM, i suppose it saves files that i dl such as apps/games, or i need to download later again 600mb+?
Sent by powaaaaah of GT-I9100 Taparatatatalk!
Click to expand...
Click to collapse
Between CWM & Titanium, you should not have to download anything.
Sent From my Two Tin Cans & String Device on The Wookie Network
X-Plosiv said:
Question, if i do nandroid backhp through CWM, i suppose it saves files that i dl such as apps/games, or i need to download later again 600mb+?
Sent by powaaaaah of GT-I9100 Taparatatatalk!
Click to expand...
Click to collapse
Of course it backs up all your installed apps and system data along with the ROM, but it do not back up the additional data which is downloaded and stored in User's partition of your SD card by the applications, such data will remain on your SD card untill you format it, available to support your apps when you return to the previous ROM.
awsome eplanation
as above posts say awsome explinationculdnt b clearer now then all
zaheedahmed said:
Of course it backs up all your installed apps and system data along with the ROM, but it do not back up the additional data which is downloaded and stored in User's partition of your SD card by the applications, such data will remain on your SD card untill you format it, available to support your apps when you return to the previous ROM.
Click to expand...
Click to collapse
Yes, but when I do format/wipe all, I guess then it deletes all that is on SD card as well, such as game files and music? If so, I'd rather just copy paste it on my PC, then after doing all wipes and formats, just copy back from PC
Zaheed, you are far too humble! Your post was brilliant, informative & timely.
Sent From my Two Tin Cans & String Device on The Wookie Network
X-Plosiv said:
Yes, but when I do format/wipe all, I guess then it deletes all that is on SD card as well, such as game files and music? If so, I'd rather just copy paste it on my PC, then after doing all wipes and formats, just copy back from PC
Click to expand...
Click to collapse
When you do normal wipes (data/ factory reset, cache, dalvik) before installing/restoring ROM, it won't touch any data which is saved in your SD Card normally, but it is more safer if you back such application data to you PC which normally find in a folder "Android/ Data /xxx" in the root of SDcard
Thanks for info.
I have read a lot on this but am still nor clear whether a wipe data/factory reset includes a full cache wipe. Most rom install instructions tell you to do both, but it seems a wipe cache is redundant if you factory reset.
SimboXXX said:
Thanks for info.
I have read a lot on this but am still nor clear whether a wipe data/factory reset includes a full cache wipe. Most rom install instructions tell you to do both, but it seems a wipe cache is redundant if you factory reset.
Click to expand...
Click to collapse
Yes, you are right, I also understand the same, but the option for merely wiping cache is kept for using in some odd situations, like when we fingered to the ROM and got some error, then we got a no-wipe version of the existing ROM to reflash, such case we need only to wipe cache…. I have got an error recently on CWM when I reflashed my no-wipe Checkrom v6 without wiping anything, then I wiped only cache, problem solved…..
what ever may be the theory, do as the developers directed for their ROM…..NO RISK
shaggyskunk said:
Zaheed, you are far too humble! Your post was brilliant, informative & timely.
Sent From my Two Tin Cans & String Device on The Wookie Network
Click to expand...
Click to collapse
thanks mate...
Thanks for the thread, you can never know too much. On second thoughts, there's probably no danger of that.
What would be really good if you have the knowledge, is a detailed guide on CWM Edify scripting. I'm sure many people would find that useful, especially me. There doesn't seem to be a lot of good guides or information on the language, at least I can't find them yet. If you have any good links I'd definitely appreciate it as well.
Here's another bit of information, that answered a question I had....
In case anyone else has this question...
Here is the answer from:
http://android.stackexchange.com/qu...ter-no-sd-ext-found-skipping-backup-of-sd-ext
" This means you do not have an ext3/4 partition on your sdcard. This really ins't a big deal, this is like a legacy part of the nandroid backup process. CM doesn't "officially" support the sd-ext partition any more anyhow."
Hope it helps someone else... In the end, the answer is pretty straight forward.
Sent From my Two Tin Cans & String Device on The Wookie Network
Sent from Down The Rabbit Hole, using Tapatalk 2

[Q] Formatting system and data and then ROMing

Noob question here. I've seen several ROMs that say factory rest, wipe cache, wipe dalvik, which I've done many times on my GS3 and ROM'd over and over. I see on some of the N7 ROMs that say the same, but they add format data and format system before installing. Before I switch ROMs I just want some clarification. Would formatting data and system not wipe the ROM I've downloaded as well as all other data on the device? Am I incorrect in my assumption that formatting will completely wipe everything clean?
Thanks for any help from those that know.
Factory reset is just fine. It wipes data while leaving data/media intact. Formatting data, IIRC, will also wipe data/media, which will erase your virtual sd card. As for system, that is generally taken care of by the install script, although I personally opt to wipe it prior to flashing just to err on the side of caution.
Sent from my Nexus 7 using Tapatalk HD
+1 najaboy's response
You generally do NOT want to "wipe data", as that destroys the pseudo- SD card, which is where you've got all your device backups. Got those backups elsewhere?
"wipe dalvik" or "wipe cache" are superfluous because:
(a) the dalvik-cache area is in the portion of the /data partition that gets wiped by the "Factory Reset" selection. *1
(b) the /cache partition also gets wiped with the "Factory Reset" *1, *2
A lot of the "wipe this, wipe that" instructions persists in ROM installation instructions for cargo cult reasons, and also because devs for prior generations of Android releases may have provided customizations such as symlinking to move the dalvik cache onto ext partitions of external SD cards and so forth. (In that case if you wiped /data first before dalvik-cache, the symlink would disappear, and if the freshly-installed ROM also used the same trick... you would be restarting a new ROM with an old dalvik-cache from a different ROM).
If you want to know what a particular ROM or other flashable .zip file is going to do, unzip the contents of folder
./META-INF/com/android/metadata/
from that ROM/flashable .zip and have a look at the updat*-script file from that folder. It's a plain text file - open it in wordpad or notepad.
Even if you are a non-programmer, you will be able to immediately see what wipes are being performed.
In general, the installer script for full ROM installs will wipe the /system partition explicitly, whereas add-on or update packages will not.
Since there is no guarantee that a inexperienced ROM developer won't do something like wiping (all of) /data, it's not unreasonable for you to look at installer scripts before you use them. You will find that some devs are sloppier than others with things like missing assert() conditions and so forth.
*1 For TWRP anyway; I haven't used CWM for the N7 yet, so I won't vouch for that one.
*2 Note that if a Stock recovery is in use, iirc the "Factory Reset" procedure wipes all of /data - including your pseudo-SD card. So it's definition of "Factory Reset" is different from that of TWRP. Beware; Make backups!
bftb0 said:
+1 najaboy's response
You generally do NOT want to "wipe data", as that destroys the pseudo- SD card, which is where you've got all your device backups. Got those backups elsewhere?
"wipe dalvik" or "wipe cache" are superfluous because:
(a) the dalvik-cache area is in the portion of the /data partition that gets wiped by the "Factory Reset" selection. *1
(b) the /cache partition also gets wiped with the "Factory Reset" *1, *2
A lot of the "wipe this, wipe that" instructions persists in ROM installation instructions for cargo cult reasons, and also because devs for prior generations of Android releases may have provided customizations such as symlinking to move the dalvik cache onto ext partitions of external SD cards and so forth. (In that case if you wiped /data first before dalvik-cache, the symlink would disappear, and if the freshly-installed ROM also used the same trick... you would be restarting a new ROM with an old dalvik-cache from a different ROM).
If you want to know what a particular ROM or other flashable .zip file is going to do, unzip the contents of folder
./META-INF/com/android/metadata/
from that ROM/flashable .zip and have a look at the updat*-script file from that folder. It's a plain text file - open it in wordpad or notepad.
Even if you are a non-programmer, you will be able to immediately see what wipes are being performed.
In general, the installer script for full ROM installs will wipe the /system partition explicitly, whereas add-on or update packages will not.
Since there is no guarantee that a inexperienced ROM developer won't do something like wiping (all of) /data, it's not unreasonable for you to look at installer scripts before you use them. You will find that some devs are sloppier than others with things like missing assert() conditions and so forth.
*1 For TWRP anyway; I haven't used CWM for the N7 yet, so I won't vouch for that one.
*2 Note that if a Stock recovery is in use, iirc the "Factory Reset" procedure wipes all of /data - including your pseudo-SD card. So it's definition of "Factory Reset" is different from that of TWRP. Beware; Make backups!
Click to expand...
Click to collapse
Wow. Thanks for the very informative response. I will start looking deeper into the ROMs I'm interested in. :good:
crjjr said:
Wow. Thanks for the very informative response. I will start looking deeper into the ROMs I'm interested in. :good:
Click to expand...
Click to collapse
Here's one of the ROMs that says to format system and data. It's the MMuzzy ROM....
http://forum.xda-developers.com/showthread.php?t=2043869
najaboy said:
Factory reset is just fine. It wipes data while leaving data/media intact. Formatting data, IIRC, will also wipe data/media, which will erase your virtual sd card. As for system, that is generally taken care of by the install script, although I personally opt to wipe it prior to flashing just to err on the side of caution.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
i don't know but correct me if im wrong, coz last time on my sgs captivate days, i used to flash all kinds of rom, then there is this rom that i tried to flash that requires to format system, so i tried that rom and format system in cwm.. then when it bootup my imei messed up! i do not know if thats the reason but after that incident, i never format system anymore, just playing with wipe cache/dalvik factory reset and format sdcard in cwm works fine..
Sent from my Nexus 7 using xda premium

[Solution] Unmountable /data/ partition.

If you are using CWM 6.xx and you attempted to 'format' your sd card entirely, you may have experienced some troubles.
I formatted the /system, /data, /cache manually in CWM and found alot of problems which had arisen afterwards.
After you format these, you may notice that you can no longer mount /data/ ! This is a big problem. You cannot install new roms, or do anything because the /data/ partition cannot mount.
Solution:
1. Using Odin, flash select PDA and your stock TouchWiz based ROM. Also use the partitioning file for the i9505 device. (Make sure you tick repartition in Odin), this process may or may not work with or without the paritioning file, if your filesystem is corrupt its probably a good idea.
2. Once this is complete, reboot, you will see that the Samsung logo appears, and it may appear that things have worked, but it wont work yet.
3. You will need to install CF-AUTO-ROOT. This roots the phone, but it also seems to fix the partitioning issue.
4. Once installed you should be able to boot into TouchWiz.
5. Install Philz Advanced CWM recovery!
6. Use the feature of 'format phone for ROM'. This will format the SDCards /system/, /data/ etc PROPERLY and wont cause you any problems.
7. Install your flavor of ROM
8. Enjoyjoy
I searched the internet everywhere attempting to fix this unmountable /data/ partition, only via a french-english translated forum was I able to learn how to do this.
Further reading:
http://www.phonandroid.com/forum/recuperer-error-mounting-data-t56933.html
If it helped, please thank me
Cheers, ostenn.
ostenning said:
If you are using CWM 6.xx and you attempted to 'format' your sd card entirely, you may have experienced some troubles.
I formatted the /system, /data, /cache manually in CWM and found alot of problems which had arisen afterwards.
After you format these, you may notice that you can no longer mount /data/ ! This is a big problem. You cannot install new roms, or do anything because the /data/ partition cannot mount.
Solution:
1. Using Odin, flash select PDA and your stock TouchWiz based ROM. Also use the partitioning file for the i9505 device. (Make sure you tick repartition in Odin), this process may or may not work with or without the paritioning file, if your filesystem is corrupt its probably a good idea.
2. Once this is complete, reboot, you will see that the Samsung logo appears, and it may appear that things have worked, but it wont work yet.
3. You will need to install CF-AUTO-ROOT. This roots the phone, but it also seems to fix the partitioning issue.
4. Once installed you should be able to boot into TouchWiz.
5. Install Philz Advanced CWM recovery!
6. Use the feature of 'format phone for ROM'. This will format the SDCards /system/, /data/ etc PROPERLY and wont cause you any problems.
7. Install your flavor of ROM
8. Enjoyjoy
I searched the internet everywhere attempting to fix this unmountable /data/ partition, only via a french-english translated forum was I able to learn how to do this.
Further reading:
http://www.phonandroid.com/forum/recuperer-error-mounting-data-t56933.html
If it helped, please thank me
Cheers, ostenn.
Click to expand...
Click to collapse
I had the same issue. I think its a bug present in most recoveries at the minute. I've just taken to manually deleting the folders on the internal SD card. To stop this happening.
I remember, in one day, I had to flash the pit file and stock rom 4 times. I think this is actually quite intermittent. Sometimes it doesn't corrupt the /data partition and sometimes it does.
It's really quite damn annoying. At least there's an easy enough fix - if not time consuming.
Sent from my GT-I9505 using Tapatalk 2

[Q] How the backup works?

Hi, I'm new to the android world. I read some tutorials about rooting switching custom roms and stuff, but one thing is not clear enogh.
If I'm using teamwin recovery and backing up the phone, where the backup is actually saved? How is that when I'm wiping the device the backup is not deleted with the other files on the device?
If I'm checking the data box and cache box what it saves?
Sorry for bad english..
Thanks!!
In recovery mode you will see " backup " and restore " , backup will create a save of your phone , in case you brick it or had a bad flash you can restore everything ( data , system... )
Sent from my GT-I9505 using XDA Free mobile app
/system is where the ROM is installed. You want to wipe that when installing ROMs.
/data if where apps you install from the Play Store are kept, and where your apps keep their data and settings and whatnot. If you don't wipe this when installing a newer version of the same ROM, then all your apps and data are kept. This is called a "dirty flash".
/cache is where apps and the Dalvik VM keep things temporarily to speed things up later. You can wipe this at any time without causing issues.
/sdcard is the "internal storage" for the user. This is where your camera stores it's pictures, where your media player stores music, where your downloads are kept. This is your storage. When installing ROMs, do *NOT* wipe this! If you do wipe it, you won't be able to install anything as there will be no files to read from!
/ext-sd is s folder that represents an external Micro SD card, if your phone supports that feature. Works similar to /sdcard.
So, to do a "clean install" or a "full wipe", you format /system, /data, and /cache.
To do a "dirty flash" you format just /system and /cache.
Typos courtesy of my Liquified LG G2 (D803).

Categories

Resources