1. Condor12's Avatar
    This question was also posted here: [Q] Unable to wipe encrypted HTC ONE - xda-developers
    I'm unable to wipe my encrypted device using TWRP. I'm running Android Revolution HD 22.0 on an HTC One. I had encrypted my device. Now whenever I try to use TWRP to wipe (so that I can upgrade Android Revolution), it fails. I am concerned of briking my device if I do something weird...

    =====TWRP=====
    TWRP v2.6.0.1
    Wipe > Factory Reset, Wipes Data, Cache, and Dalvik (not including internal storage)

    Code:
    Failed
    E: Unable to mount '/data'
    E: Unable to mount internal storage
    E: Unable to mount /data/media during GUI startup
    E: Unable to mount /data/media/TWRP/.twrps when 
    E: Unable to mount '/data'
    Formatting cache using mke2fs...
    ================

    11-17-2013 03:17 PM
  2. benny3's Avatar
    Are they mounted when you are in recovery?
    11-17-2013 05:42 PM
  3. Condor12's Avatar
    No. If I try I can only manually mount System and cache (it does not let me select Data). But then suppose I do mount System and manage to wipe, I think I may end up bricking it.
    11-17-2013 09:13 PM
  4. benny3's Avatar
    No. If I try I can only manually mount System and cache (it does not let me select Data). But then suppose I do mount System and manage to wipe, I think I may end up bricking it.
    Wiping only cleans out the system files so when you flash another rom you wont have any issues.
    11-18-2013 12:39 PM
  5. FrankieA's Avatar
    I realize this is an old thread - but I thought I'd bump it up with an answer for everyone else that's struggling with this problem.

    Situation: You have a rooted HTC One, with a custom recovery like TWRP and your phone storage is Encrypted.
    Problem: You can't do a factory wipe of the device, or flash a new ROM on because your recovery/TWRP can't mount the data partition.

    Solution: Install CWM recovery instead. Go to the Mount and Storage page, and choose "format /data and format /data/media" option at the bottom of the list of options. This option doesn't require CWM to try and mount the partition first (which would fail due to encryption), but just does a straight format. After this, you can install TWRP and flash a new ROM again!
    RaghuChary and benny3 like this.
    02-05-2014 01:46 AM
  6. benny3's Avatar
    I realize this is an old thread - but I thought I'd bump it up with an answer for everyone else that's struggling with this problem.

    Situation: You have a rooted HTC One, with a custom recovery like TWRP and your phone storage is Encrypted.
    Problem: You can't do a factory wipe of the device, or flash a new ROM on because your recovery/TWRP can't mount the data partition.

    Solution: Install CWM recovery instead. Go to the Mount and Storage page, and choose "format /data and format /data/media" option at the bottom of the list of options. This option doesn't require CWM to try and mount the partition first (which would fail due to encryption), but just does a straight format. After this, you can install TWRP and flash a new ROM again!
    Im not a fan CWM but it does have more options i have used it at times and always go back to twrp. Thanks for the info.
    02-05-2014 09:12 AM
  7. dwestall's Avatar
    Solution: Install CWM recovery instead. Go to the Mount and Storage page, and choose "format /data and format /data/media" option at the bottom of the list of options. This option doesn't require CWM to try and mount the partition first (which would fail due to encryption), but just does a straight format. After this, you can install TWRP and flash a new ROM again!
    Will this work on the at&t HTC One M8? Also, does this allow me to return to stock recovery?

    Thanks.
    03-19-2015 02:06 PM
  8. RaghuChary's Avatar
    Hi, thanks for this input. I am stuck in this situation -
    HTC one M8 2014 international GSM unlocked S-off
    TWRP as recovery and ARHD 41 stock with ROM installed
    encrypted phone
    unable to install CWM... can't get device to be recognised by laptop when in bootloader (though recognised in recovery)

    tried a restore and clean install - both made the ROM unusable

    now all i can do is gt into TWRP and install nothing!
    Any help appreciated.
    06-28-2015 05:44 AM
  9. RaghuChary's Avatar
    I realize this is an old thread - but I thought I'd bump it up with an answer for everyone else that's struggling with this problem.

    Situation: You have a rooted HTC One, with a custom recovery like TWRP and your phone storage is Encrypted.
    Problem: You can't do a factory wipe of the device, or flash a new ROM on because your recovery/TWRP can't mount the data partition.

    Solution: Install CWM recovery instead. Go to the Mount and Storage page, and choose "format /data and format /data/media" option at the bottom of the list of options. This option doesn't require CWM to try and mount the partition first (which would fail due to encryption), but just does a straight format. After this, you can install TWRP and flash a new ROM again!
    specifically - how do i install CWM recovery?
    06-28-2015 05:55 AM
  10. Ariyarathne's Avatar
    Thanks , it works
    02-20-2016 06:07 PM

Similar Threads

  1. [HOW-TO] Enable Band 4 AWS on SM-N900V *REQUIRES ROOT*
    By William T Riker in forum Verizon Samsung Galaxy Note 3
    Replies: 30
    Last Post: 04-10-2015, 07:29 PM
  2. Apps to edit PDFs on a Galaxy Note
    By jobu55 in forum Samsung Galaxy Note 10.1 (2014)
    Replies: 9
    Last Post: 01-08-2014, 02:06 PM
  3. Htc one stuck plz help!!!
    By danskins in forum HTC One M7
    Replies: 1
    Last Post: 11-20-2013, 11:46 PM
  4. So, the wife is about to get a Nexus 5......
    By dazed_android in forum Google Nexus 5
    Replies: 34
    Last Post: 11-19-2013, 10:04 AM
  5. i updated my htc one to 4.3 but everything got deleted and im still on 4.2.2
    By Humam Tarakji in forum Android 4.1 / 4.2 / 4.3 Jelly Bean
    Replies: 0
    Last Post: 11-17-2013, 01:36 PM
LINK TO POST COPIED TO CLIPBOARD