[Q] TWRP cannot read my sdcard (encrypted?) - Verizon Samsung Galaxy S III

So, my previous post was a bit too optimistic. I've managed to get TWRP onto my phone, but when I went to actually load a custom ROM into it, I found that it couldn't read anything from my sdcard.
I'm having what appears to be a common problem: when I boot into Recovery, TWRP asks for a password. When I cannot provide it (because I have no idea what it is), TWRP is unable to access the data partition. Apparently, the partition is encrypted and I have no way to de-crypt it.
I've found dozens of other posts by users having this problem and the solution everyone is giving is to fully wipe the data partition and start over. But I *can't* wipe the data partition, because TWRP can't access it and fails almost immediately. I have tried a multitude of options, including:
* Installing old versions of TWRP - same behavior; asks for a password, fails to wipe/format the data partition.
* Installing ClockWork's recovery - same thing; fails to format/wipe the data partition
* Flashing back to stock recovery, using that to format my data partition; this worked fine but as soon as I put TWRP back, the problem came back.
On my last attempt, I used the stock recovery to completely wipe the data partition, and made absolutely sure that it never booted into anything but Download or Recovery modes after that. I was hoping that would prevent the stock software from ever re-encrypting the data, but somehow, when I booted TWRP, it still can't read my partitions. Note that my phone itself is not "encrypted" as far as the Settings application is concerned, but apparently Android is doing something behind the scenes anyway. There doesn't seem to be any option in the stock settings to turn off this encryption.
Is there any hope for getting a custom ROM onto this phone?
Thanks for the help!

Any solution? I'm running into the same issue where TWRP is asking for a password.

Related

[Q] Help needed - stuck on CM10 boot-up animation

Hi All,
I have the Telstra HTC One XL, and have just recently attempted to install CM10 ROM - however have run into some problems that I would appreciate some advice to rectify. I had recently updated to Jelly Bean OTA.
I followed the guide on these forums - http://forum.xda-developers.com/showthread.php?t=1859478
I Successfully unlocked bootloader by following the steps at HTCdev.com
I Successfully installed TWRP Custom Recovery
I Downloaded CM10 as per - http://forum.xda-developers.com/showthread.php?t=1790032. I transferred this as well as Google Apps onto my phones storage.
When attempting to install CM10, I created the Nandroid backup as recommended, and proceeded to wipe the mentioned items using TWRP (a guide I saw said to wipe everything). This is when my Nandroid back-up got wiped. TWRP gives you the option to wipe cache, delvik cache, factory reset, system, external storage, internal storage and format data. I did alll of these, and this was my mistake I believe? I proceeded to try and install CM10 and gapps from internal storage (I had to re load these back on after I wiped everything), and the install of CM10 displayed as successful.
Upon rebooting to system, the HTC screen comes up first and then goes to the CM10 animation. The phone then stays on this animation (rotating circle) for up to 10-15 minutes.
I have read thread after thread with people experiencing similar issues, and have tried rectifying my problem with various versions of roms and different guides out there. I can still boot into recovery (TWRP) mode via bootloader, and this means I can still mount my phone's storage onto my PC and have access to the storage directory. As I have deleted the Nandroid backup though, and because the ROM's won't install, I am stuck in no man's land.
There must surely be a way to have a ROM installed (even if its back to stock Telstra) from the position I am in, it would be greatly appreciated if someone may be able to point me in the right direction.
Thanks,
Robbie
maybe yall need to "fastboot flash boot boot.img" now
robbie.d said:
TWRP gives you the option to wipe cache, delvik cache, factory reset, system, external storage, internal storage and format data. I did alll of these, and this was my mistake I believe?
Click to expand...
Click to collapse
Why do people keep doing this??? Just because TWRP gives you all those options, doesn't mean you should use them.
Sometimes, people will say to do a "full wipe" when flashing a ROM. But that term is a bit misleading. Factory reset (from TWRP, never from hboot), wipe Dalvik and wipe cache is all that is technically required when flashing a new ROM. Some people like to wipe more "just in case". But if you aren't completely confidant in what you are doing, keep in simple and don't make it more complicated than it needs to be.
I don't know if wiping everything is the cause of your woes, but it certainly didn't help, and caused you to do some extra steps.
Flash boot.img via fastboot as previously suggested. Otherwise, just try to re-download and flash the files agin. Its seems that some people are having troubles booting after flashing CM10 (even after doing the correct wipes and flashing boot.img). Doesn't seem to be much rhyme or reason, but just flashing again has fixed the problem for at least one person.
Thanks so much, such a simple fix! That has me booted up into CM10.
I have installed cm-10-20130107-NIGHTLY-evita and cm-10.0.0-evita , however with both of these versions, my touch screen is not working once it boots up. I can function with the volume up/down, and with the power buttons, but cannot get past my SIM card lock screen.
I noticed this thread http://forum.xda-developers.com/showthread.php?t=2083314 (no solution yet)...
Does anyone have a solution to this issue that seems a common one?
Alternatively, more than happy to get an alternative ROM on my phone in the interim...Can someone recommend me a ROM?
Again, I really appreciate the quick response to my problem, very happy my phone is in operation!

Recovery of J700T from "Device storage corrupt you must factory reset" error

Recovery of J700T from "Device storage corrupt you must factory reset" error
Time to talk to the XDA brain trust before I make matters worse. I had rooted my J700T and all was well, also using link2sd. Unfortunately, I made a fatal error by attempting to use FolderMount (rather than creating the links myself), ending up in the Samsung "/data corrupt you must factory reset" error. Also unfortunately, when I earlier flashed TWRP (and then flashed SuperSU via TWRP) I did not choose to wipe the phone at that point to give /data & /system access, so I can't access them through TWRP's adb access. The "reset phone" option on the "you must factory reset" page fails of course, since it tries to boot into recovery which is TWRP not stock. I tried to do a typical TWRP wipe (I can still boot into TWRP of course, and into the download screen), but the result is that when the phone is started normally it continuously loops with the Galaxy J7 splash screen on and off at about seven second intervals (only stopped by pulling the battery).
So the question is, what's the best way to proceed? I saw another page here with the four ODIN files to flash back to stock, but the dropbox account is suspended due to overuse. Ideally, something I could do through TWRP would be even better, and this time I'd like to do the full reset and turn off the crypto so that in the future TWRP has full access to the internal phone data, not just the SD card.
Any guidance would be much appreciated. Thanks!
Can I Restore the Samsung 700t1 withowithout pc
Jersto said:
Can I Restore the Samsung 700t1 withowithout pc
Click to expand...
Click to collapse
If you mean completely back to stock (day one out of box), no.
sent from this device on this app....
So you had twrp as your recovery, you decided to mess with your system partition, you don't have free access to a PC yet it seems you neglected to do the one thing that would have got you out of this mess in a pinch?
That is spending literally 2 minutes to make a nandroid backup?
The main reason really for having a custom recovery. ?
Your only option now is to flash the stock firmware and FORMAT DATA.
Okay guys. Now we got that out of our systems, let's work on some solutions.
All good?
sent from this device using this app....
Thread cleaned up. Please stay on topic.
Regards
Vatsal,
Forum Moderator.

Missing most of my system. No /system, /data, /cache, etc.

Hi. I ran into a situation. One day a few weeks back I was having issues with my phone. I decided to reflash the phone with a different ROM. I went into the developers menu, enabled debug (and maybe something else in that folder). Then rebooted the phone. Instead of the normal download mode or CWM/TWRP or recovery, I entered into a different menu. One I haven't seen before, and one I haven't seen since. I rebooted the phone but it was stuck in a reboot cycle. So again I tried to enter into a recovery mode or download mode. Again, the phone brought me to that strange menu (not the built in recovery). Since I was trying desperately to reflash my phone, I decided to try the menu options. One was to delete /system, another to delete /data, /cache etc. \\thinking that would do the same as formatting those partitions, I choose those options. I am still a novice, and I realize I made a mistake. When I rebooted, I was finally able to get into download mode. I successfully installed a boot manager (TWRP) and subsequently a ROM. However, when I tried formatting /dalvik, /cache, /system etc., there was only the /dalvik remaining. Everything else did not exist within the partitions to format. I searched for them throughout TWRP (and CWM) with no success. Anytime I install a new ROM, it says those items can't be found or don't exist.
How do I fix this problem? I've searched all over the net for weeks. Nothing pops up explaining how to rebuild the phone to have those partitions again. Please help.
PS. I tried adb, including creating a shell, and though it connects, there is nothing there. Odin also sees the phone, and I can flash it using Odin successfully.

Unsuccessful decryption

Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Factory reset but your data will be gone.
Random Pinenut Joy said:
Okay, I'm not sure if this entirely the right place. Have updated to Viper 2.1.0. Rebooted my phone, as I do each morning. It came up with needing to to enter a decryption key, ie; my password. Did said & it failed saying that data is corrupt. TWRP can no longer read the data portion either. Therefore can't wipe it in TWRP.
Is there a way to format or wipe the data partition through either fastboot or adb?
Click to expand...
Click to collapse
Try this, Venom helped with it a while ago and it worked, you will just have to re activate smart lock in google setting.
TWRP-Advanced-File Browser.
Navigate to /data/system and delete the locksettings.db.
I got my phone back from HTC after repair my phone screen and they wiped my custom rom and recovery but still have unlocked bootloader and restore oreo 8.0.
I managed to re-install twrp and tried to install a customed rom and experienced the same "decryption unsuccessful". But there is no lockingsettiings.db in the folder.
I will later try this method and report.... been a frustrating day....
=https://forum.xda-developers.com/showpost.php?p=59685278&postcount=3

"Phone is Starting" Loop after Restore from TWRP 3.6.0_11-0

Installed Lineage 18.1 OS, TWRP 3.6.0_11-0 and Magisk, booted system, added PIN and fingerprints, all was good. Booted back into TWRP and made a full backup of all partitions. Tried a test restore of Super and Data partitions. Upon reboot, I get the lineage splash/boot screen, then "phone is starting" forever. From reading around, this is due to the system trying to access encrypted data. Questions: 1) I'd like to be able to use TWRP for two things: a) restoring to a new device should this one break, and b) reverting back to previously backed up state of operation on the same device. What partitions should I be restoring for each of these? 2) Is there a fix or proper method to make restorable backups using TWRP?
Exactly the same situation. And have exactly the same questions.
Had the same problem, wiped data, repaired data file system, rebooted into system to disable the pin. Then restored my TWRP data backup again, now it boots into system, just had to reboot twice because the gestures and staturbar didn't work first. Now I just have to tweak some little details again to get it how it was.
Didn't solve my main problem though, SMS not working. Wiped and repaired data again, now it works. Welp, guess I have to set it all up again from here.

Categories

Resources