i have twrp 3.0.2-3 installed on my device, when i select repair or change file system with dalvik/art cache or internal storage, i get an error at the top of the slide bar saying "invalid partition selection' is this normal?, because i believe it is not (i am on a custom rom btw i am selecting them separately and not together)
Related
What Is ClockworkMod Recovery and How To Use It On Android.:good:
First of all this guide is not created by me.. I have edited this and posting here so no credit for me
And i hope it help for beginners
ClockworkMod recovery has been developed by Koushik Dutta (also known as Koush) – the same guy who brought us the Android ROM Manager.
Installing ClockworkMod
For most devices, ClockworkMod has a dead simple installation process. This method does require you to fully root your device in order to be installed but once rooted, you may use a tool for it By antdking & kamlesh ( ) for root and recovery.
Booting into ClockworkMod
Once you have ClockworkMod recovery installed on your Android device, booting into it is quite simple. All you have to do is launch ROM Manager and tap ‘Reboot into Recovery’.
Or
Using hardware button combination on most Android devices
using three button combo
Volume + power + call.
Feature Tour
Now that you have ClockworkMod recovery up and running on your phone or tablet, let’s take a look at all the options it offers you to manage your Android device. We are using a Nexus S running ClockworkMod Touch recovery 6.0.2.5 but the details should apply to other devices and versions of the recovery as well.
If you are using ClockworkMod Touch recovery, you can simply tap on these options to navigate between different sections and perform all the actions. On the non-touch versions of the recovery though, you can navigate between items using the Volume-Up and Volume-Down button, and use the ‘Power’ button to enter/launch the highlighted option on most Android devices. On devices equipped with a trackball or an optical track pad such as the G1, G2, Nexus One, HTC Desire etc., the trackball or track pad can be used for navigation and clicking it activates the selected option. Let’s review each of these options and their sub-menu options in detail now.
1. Reboot system now
this one is self-explanatory.
2. Install zip from sdcard
This option brings up the following sub-menu:
• Choose zip from sdcard
lets you install any zip file 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. This is the most 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 and select it for installation.
• Apply /sdcard/update.zip
This option can be used for installation of any official or unofficial update, ROM, kernel 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).
• Toggle signature verification
This 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 digitally signed to allow installation on the device (most custom ROMs aren’t signed). Switching it off skips the signature verification check and proceeds with the installation.
3. Install zip from side load
this option puts the phone into the new ADB sideload mode, allowing you to install zip files from your computer using the ADB sideload command introduced in Android 4.1 Jelly Bean.
4. 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 (more on this later). Selecting pretty much any operation in ClockworMod (including this one) will bring up a confirmation prompt that can save you from a lot of potential trouble in case you accidentally select the wrong operation.
5. Wipe cache partition
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.
6. 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. Here is how it looks:
• Backup
takes a full backup of your device, 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.
• Delete
Lets you delete a previously taken backup to free up space on your SD card.
• Advanced restore
this option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose the parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions, as shown here:
• Free unused backup data
Lets you reclaim space on your SD card by freeing up any redundant backup data that isn’t required.
• Choose default backup format
Allows you to choose between ‘tar’ and ‘dup’ for the backup format. Leave this one as it is, unless you are sure you want to change it.
7. 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 or /sd-ext
These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.
• format boot, 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.
• 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.
8. Advanced
This section contains a few options most users will not require, though these can come handy quite often, especially wiping Dalvik cache, which is required before most ROM installations. Here are the options from this section:
• Reboot recovery
Lets you directly and very conveniently reboot from recovery right back into recovery. This is useful option for certain back-to-back installations that require the device to at least boot once between them.
• Wipe dalvik cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).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. This option is not shown in the above screenshot, but is present in many versions of ClockworkMod recovery.
• 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.
• Show log
Shows you a log of your recent recovery operations.
• 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.
• Partition sdcard
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!
Thanx to giving time...
Reserved #1
I might do something stupid playing with TWRP and wiping data to f2fs even if after i flash my rom its ext4 again...but now i have a problem with storage...it shows a folder without knowing whats inside called "System Data" i wipe everything except sdcard now i reflash my rom from 20GB its now 8.25GB i can't take a screenshot its sais its corrupted...any help??do i need to wipe my internal storage too??what happent?
Hi all!,
So, I am trying to downgrade my phone from the unofficial CM12 to the stable CM11 from Sultanxda. I installed the official TWRP over top of Sultan's twrp - all seemed to work well.
Now, I went to do a factory reset to install CM11, and all madness broke out. I now have a phone that can boot into TWRP but has "no system", and my Ubuntu PC sees it as "unformatted". What do I do next?
-David
daviqh said:
Hi all!,
So, I am trying to downgrade my phone from the unofficial CM12 to the stable CM11 from Sultanxda. I installed the official TWRP over top of Sultan's twrp - all seemed to work well.
Now, I went to do a factory reset to install CM11, and all madness broke out. I now have a phone that can boot into TWRP but has "no system", and my Ubuntu PC sees it as "unformatted". What do I do next?
-David
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=59093149&postcount=611
you need to reformat your internal sd and it sounds like your system partition.
In TWRP, go to Wipe -> Advanced Wipe -> check Internal Storage -> press on "Repair or Change File System" -> press on "Change File System" -> press on "EXT4", and then swipe to start formatting the internal SD card. This can take up to a minute. IF EXT4 doesn't work when you flash a new rom (you get errors) you may need to format it as FAT.
use the same process for the System partition, it is EXT4.
Be sure you have everything you need on the EXT sd card because when you format system and the internal SD you will loose everything, and you need to be able to flash a rom etc from the ext sd...
OldeCrow said:
http://forum.xda-developers.com/showpost.php?p=59093149&postcount=611
you need to reformat your internal sd and it sounds like your system partition.
In TWRP, go to Wipe -> Advanced Wipe -> check Internal Storage -> press on "Repair or Change File System" -> press on "Change File System" -> press on "EXT4", and then swipe to start formatting the internal SD card. This can take up to a minute. IF EXT4 doesn't work when you flash a new rom (you get errors) you may need to format it as FAT.
use the same process for the System partition, it is EXT4.
Be sure you have everything you need on the EXT sd card because when you format system and the internal SD you will loose everything, and you need to be able to flash a rom etc from the ext sd...
Click to expand...
Click to collapse
OldeCrow,
Here's what I ended up finding out. I did that full wipe, and it still didn't work, even after a few reboots in disbelief. So- I downgraded my TWRP to an few versions back and suddenly, everything worked. Not sure what it means, but I got it fixed!
-David
I had cm13 on my c2004, and i was using adopted storage (internal + external). I updated the os from its update section (settings > about phone > updates). After update, after the boot, the screen shows Internal storage encrypted> I input password, it says storage corrupted, format data. I try formatting. it takes me to recovery(twrp 3.0.0), which cant format data,as \data isnt accessible (Log attached). I tried Flashtool to reflash the stock. (I am attaching Flashtool log also).
. I also tried the fota restore to remove recovery as well. but it isnt happening.
I just need to flash the stock back. Any help is greatly appreciated.
srivmanu said:
I had cm13 on my c2004, and i was using adopted storage (internal + external). I updated the os from its update section (settings > about phone > updates). After update, after the boot, the screen shows Internal storage encrypted> I input password, it says storage corrupted, format data. I try formatting. it takes me to recovery(twrp 3.0.0), which cant format data,as \data isnt accessible (Log attached). I tried Flashtool to reflash the stock. (I am attaching Flashtool log also).
. I also tried the fota restore to remove recovery as well. but it isnt happening.
I just need to flash the stock back. Any help is greatly appreciated.
Click to expand...
Click to collapse
there is actually a big button on the wipe page, [Format Data] that formats data, you were probably using the advanced wipe / factory reset which just deletes stuff from an already working data partition.
keep in mind that [Format Data] wipes all of your internal storage and settings.
I am trying to fix the phone since the last 3 days. I have tried everything.
Format data doesn't work. (the big button you mentioned)
IM EXPRIENCING the SAME Problem in Xperia M C1904 for past 3 weeks ...
http://forum.xda-developers.com/z3-compact/help/flashtool-error-flashing-aborted-error-t3214322 .. SEe #4
Guys even i m stuck with the same situation.
Did u guys got it solved yet.
I have tried various options by flashing stock rom,different recoveries,even tried erase by fastboot method even that failed
ok it's my fault I am on latest AEX build I encrypt my phone everything works fine but did some crazy stuff change partition of data/cache now every time I boot up a screen popup that data is corrupted even I wipe all partition flash custom ROM several times flash twrp again so I format every partition to ext4.
anyone help me out.
if you want to help me u can go to recovery select wipe then advance wipe then select cache and press repair or change file system do same with system and date and plz tell me which partition have which file system.
thanks in advance.
[solved] finally I download tool all in one from xda then reboot into bootloader there is an option in Tool all in one called erase all data/decrypt internal storage just press it and select ok >you are done.