[Q] HELP! Internal Storage Write Protected, Unable to modify and change - T-Mobile Samsung Galaxy Note 3

Hey guys. I'm very familiar with android and it's processes but I have stumbled onto something that I cannot solve... My Internal SD Card has somehow made it self write-protected.... even to my PC! I can't save anything to my internal SD card at all. All camera apps, with the exception of the stock samsung camera set to ext-sd store mode works. If the other camera apps don't have that option, I can't use it. I can't download anything from the web (it will automatically say download unsuccessful and even ODIN can't touch it (I tried to ODIN back to stock NK3... and it partially worked... except that I still have all my downloaded apps installed)
Here's what happened.
The problem started when I was on DomPop v0.1.3 (5.0.2) It started with me not being able to take a screenshot, which I fixed.
Then I flashed PAC-Man RLS 3 (12312014) and that's when I noticed that I can't save any downloads to my internal SD card.
So I recovered to my saved rooted stock NB1... Still no avail and this is where I found out that my 3rd party cameras don't save anymore.
I've done everything from flashng a new ROM, flashing a new recovery, ODINing back to stock... nothing seems to work! And I'm slowly starting to lose space on my ext-sd soo any help would be appreciated by this chic. Thanks in Advance
PS
As of the time I wrote this, I have ODINed 3x now... still, every time I reboot, I still have my downloaded apps... it's as if my /data partition is write protected from ODIN too!

This happened to my SM-N900T when I installed a custom Recovery which contained the wrong '/sepolicy_version' for my device. The Recovery developer fixed the file but I had to format '/data' after installing it to get files with the correct policy.
Frank
---------- Post added at 01:16 PM ---------- Previous post was at 12:59 PM ----------
In your root directory, '/se_policy' should look like this, but notice that this is Android 4.3:
VE=SEPF_SM-N900T_4.3_0002
HS=7708d6f9dfc68813c4dddb915812c67b
HA=7136aebc8fc8205ec9adde19ca84e501
HP=0ef457e4c9cbf00b9100f4872e3f7d50
HF=852e176fdcb7a45fc1617bd4e93c2bf9
HM=7bd39dbe5813e94be374bee74d87bf0c
If it shows the wrong device then you can probably fix it by flashing the correct TWRP. And you will probably have to format '/data'.
Frank

Frank Westlake said:
This happened to my SM-N900T when I installed a custom Recovery which contained the wrong '/sepolicy_version' for my device. The Recovery developer fixed the file but I had to format '/data' after installing it to get files with the correct policy.
Frank
---------- Post added at 01:16 PM ---------- Previous post was at 12:59 PM ----------
In your root directory, '/se_policy' should look like this, but notice that this is Android 4.3:
VE=SEPF_SM-N900T_4.3_0002
HS=7708d6f9dfc68813c4dddb915812c67b
HA=7136aebc8fc8205ec9adde19ca84e501
HP=0ef457e4c9cbf00b9100f4872e3f7d50
HF=852e176fdcb7a45fc1617bd4e93c2bf9
HM=7bd39dbe5813e94be374bee74d87bf0c
If it shows the wrong device then you can probably fix it by flashing the correct TWRP. And you will probably have to format '/data'.
Frank
Click to expand...
Click to collapse
Huh... I now I remember... I was on TWRP when the problems started... I'm on Philz now and I still have it. Would this fix the write protected internal SD card issue too?

Try this ---> http://forum.xda-developers.com/showthread.php?t=2684384

meoshe said:
Try this ---> http://forum.xda-developers.com/showthread.php?t=2684384
Click to expand...
Click to collapse
That looks like the same problem and a much simpler solution, but make sure you have a good policy file first.
Frank
---------- Post added at 01:37 AM ---------- Previous post was at 01:26 AM ----------
Up above I use two filenames, '/sepolicy_version' is the correct name of the file. In my case TWRP had the wrong '/sepolicy_version' until the developer fixed it. I still recommend installing the most recent TWRP to get all the right files -- make sure it's the right version (4.3 or 4.4) -- then run restorecon. Then after the fix, return to Philz if you want.
Frank

Did your phone die @deBricker or did this solve the problem? Other people might be waiting with the same problem.
Frank

No. Had to go in recovery and wipe my internal memory (lost everything since I was stupid enough not to make an updated backup... my last one was a month ago) after that, it's been smooth sailing.

I didn't even see that post until today.

Related

System Restore / Fix booting loop

Sprint Logo repeating and repeating on you? Mine was too, here is a set of instructions that even a n00b like myself can follow to fix that. We'll simply be restoring the system software/ROM on your phone. There are other instructions listed, but don't include step-by-step instructions.
Keep in mind that this requires bubby's recovery, which is the ACS version. You can not mount USB on other recoveries (yet).
Boot into CWM
(Hold down Power and Up arrow until it appears)
Connect your phone to your computer with the data cable
Go to mounts and storage
Then mount sd card
Then do mount usb storage (second to last option)
and download the files linked inside this post:
http://forum.xda-developers.com/showthread.php?t=1272186
unzip it into a folder in the following location on the root of the phone's sd card:
/clockworkmod/backup/(any folder name)
so it would look like clockworkmod/backup/folder/ (files)
This is IMPORTANT, it must be in clockwordmod, then backup, then ANY folder name. If you leave the files in just "backup" it will give an error no files found.
Then do a wipe your data/factory reset
Then do a wipe cache
Then go to the backup and restore menu
and then the restore, will be whatever you named the folder that you unzipped the files to.
Let it finish, choose reboot and you should be good to go!
If you want to avoid losing your data in the future, follow these steps to make a full system backup as often as you'd like:
go back into cwm, goto the backup and restore menu again
then press backup
You can keep multiple backups
Again, I take no credit for this, just passing along the information. Hope this saves someone else's day!
All the credit goes to kse91holydiver, he helped me, now I'm trying to pass along the instructions to others who may be in the same spot.
Double post ? maybe
Also, you have to be on bubby's recovery, which is the ACS version. You can not mount USB on other recoveries yet.
http://forum.xda-developers.com/showthread.php?t=1272186
that link is in OP brochacho. This is just a more noob friendly version of doing everything.
kse91holydiver said:
that link is in OP brochacho. This is just a more noob friendly version of doing everything.
Click to expand...
Click to collapse
You should put "For Noobs", or "Noob Friendly", or "Idiot Proof" in the thread title so people don't think you're double posting.....Bromigo.
12MaNy said:
You should put "For Noobs", or "Noob Friendly", or "Idiot Proof" in the thread title so people don't think you're double posting.....Bromigo.
Click to expand...
Click to collapse
+1.. This is turning into quite the "Bromance" Haha
thanks a lot...this worked perfectly for me!
zayin101 said:
+1.. This is turning into quite the "Bromance" Haha
Click to expand...
Click to collapse
Lol
10char
noob
first of all i am a noob. i followed the steps perfectly but i am not sure how to access the internal memory from my PC although i have CWM in usb mount mode. please help so i can put the file on my phone
I am also having an issue getting my pc to show the phone as a mass storage device so I could put the recovery file on the phone, I have tried both bubbys kernel which does not have clockwork mod and zedomaxV3 and when I mount usb storage though clockwork mod I get nothing on my pc so I am unable to put the recovery file on my phone. please help
---------- Post added at 04:00 PM ---------- Previous post was at 03:30 PM ----------
kansaskid said:
I am also having an issue getting my pc to show the phone as a mass storage device so I could put the recovery file on the phone, I have tried both bubbys kernel which does not have clockwork mod and zedomaxV3 and when I mount usb storage though clockwork mod I get nothing on my pc so I am unable to put the recovery file on my phone. please help
Click to expand...
Click to collapse
Going to repost I resolve my own issue, there are two things I did to finally get my pc to see my phone so I'm not sure which resolved, First which is what I think solved it was be sure you don't have a drive like and dvd-rom drive or flash drive with a assigned letter of E: or F: if you do Google how to change it. And the second thing I did was reflash with zedomaxV3 and let it restart to the boot animation automatically then I unplugged and pulled battery and put battery back in and plugged usb back in and boot to animation again, then restart and mount in clockwork mod.
I hope this helps anyone else.
I made a nandroid backup in cmw v5, installed AE mod rom, didnt like it, booted, and I got cwm v4? ...and my restore/backup file no longer exists.
I cannot unzip the files to the phones folder: /clockworkmod/backup/folder/ (files) because I dont have a folder understand name at all.
This is my first time rooting, Iam still stuck with a looping SPrint loop boot screen.
Any suggestions?
---------- Post added at 03:48 AM ---------- Previous post was at 03:14 AM ----------
Never mind, got it. : )
This saved my phone! I love you all!
OMG! Thank you so much! I had bricked my phone and this worked when other methods did not! It only took me 16 hours to research and try different methods. You are awesome! Back to factory so now I can hopefully find a good root and rom.

How do you format the internal sd card?

I just ran the Darkside script and reinstalled Jug 4.1 from scratch, but I want all the files from my internal sd card gone... I want to make it like it was when I first got the phone and turned it on. Do I just manually delete all the files or how do I format it? Thanks!
wotcha stop your house
if you do that so of the pre install app's will or might stop working. i would see what it connects to or ask if that would be OK to uninstall , what files are you wanting to delete
don728871 said:
if you do that so of the pre install app's will or might stop working. i would see what it connects to or ask if that would be OK to uninstall , what files are you wanting to delete
Click to expand...
Click to collapse
Basically I want only the files that are installed and needed by the OS by default
Here
To format the internal sd card, go into CWM recovery and go to mounts/storage. go to format emmc. I don't recommend it but you can do it
---------- Post added at 10:01 AM ---------- Previous post was at 10:00 AM ----------
it will automaticly make files needed for OS in internal sd after you format this. Hoped this helped
---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------
don728871 said:
if you do that so of the pre install app's will or might stop working. i would see what it connects to or ask if that would be OK to uninstall , what files are you wanting to delete
Click to expand...
Click to collapse
This information is incorrect, the pre-installed apps will remake those files if you open them and operate them.
CyanModICS said:
To format the internal sd card, go into CWM recovery and go to mounts/storage. go to format emmc. I don't recommend it but you can do it
---------- Post added at 10:01 AM ---------- Previous post was at 10:00 AM ----------
it will automaticly make files needed for OS in internal sd after you format this. Hoped this helped
Click to expand...
Click to collapse
Perfect that's exactly what I needed

16gb Maguro: After multiple flashes; OS not seeing full storage?

All; not sure if this is the right place and I didn't see a similar thread on search.
I've swapped roms a few times on my GSM 16GB nexus; and after my latest (~month old AOKP nightly to recent CM10 nightly); my available internal storage appears to have shrunk; and I can't install apps.
Via 'Storage Settings'; I see 13.33GB Total space, but when it sohws individual usage; it shows ~3gb total between 'Apps, Media, Downloads, Available'; as in it's not seeing the other 10GB of space? In the graph at the top visualizing the space usage; it has a mysterious Grey color representing the missing 10GB of space.
Any ideas how to recover that space; and how I can avoid losing it in the future? (I don't mind losing data currently on phone; but ~3gb is not enough for daily use). I have the full version of Rom manager; I have yet to play with the Partition SD Card utility there (or a similar partition tools in app store..) as I wanted to find out what I had done wrong as I fix it.
Thanks,
Chris
Edit: I need to learn to read.
A screenshot would help, but if you're including Available in the 3GB then you probably have some CWM backups hiding somewhere. They eat space, but aren't picked up by Android when it calculates storage space.
In my experience the biggest culprit in "missing" space is nandroid backups.
:Edit: I need to learn to read too :cyclops: IOW I agree wif Cilraaz. :silly:
ty
Thanks for idea; and yea; including 'Free'; i have ~3gb of space.
I'd post a screenshot but I don't seem able to email them off the device currently... (It let me take them; but gmail's giving me a 'nospace' error); and you guys seem to understand what I meant.
I don't have a 'Nandroid' folder anywhere that I can find to delete/pair down backups; and I removed all my clockwork mod backups; and it didn't make a difference on device reboot...
worminater said:
Thanks for idea; and yea; including 'Free'; i have ~3gb of space.
I'd post a screenshot but I don't seem able to email them off the device currently... (It let me take them; but gmail's giving me a 'nospace' error); and you guys seem to understand what I meant.
I don't have a 'Nandroid' folder anywhere that I can find to delete/pair down backups...
Click to expand...
Click to collapse
Ah, screenshots finally got through.
http://imgur.com/iQ38O
worminater said:
Ah, screenshots finally got through.
http://imgur.com/iQ38O
Click to expand...
Click to collapse
Playing around in CWM Recovery; i attempted, 'Free unused backup memory"; and I jumped from ~1gb 'Available' to 3.42gb 'Available'. Crisis has been averted for now; but I'm still missing ~6gb... (No current CWM backups)
Mine also says 13.333 available...
EDIT: Nevermind, misunderstood you.
---------- Post added at 01:42 PM ---------- Previous post was at 01:35 PM ----------
I ran into this problem. Perhaps this will help you.
Starting with 4.2, Google changed the way your sdcard is mounted. It used to be mounted at /data/media. Now its mounted at /data/media/0. They changed this because of the new Profiles. My problem was that I was using an older recovery. One that would save my nandroids at /data/media/TWRP. After updating it now uses /data/media/0/TWRP. So I would check the /data/media folder and see if there is any old backups there. You will have to use adb or something similar.
Maybe u should lock and then unlock the bootloader on your phone this helps solve most problems.u can then flash cm10 if that's what your using. And as said in an earlier post make sure you have the latest version of cwm recovery.
Please press the thanks button of this works.
Source: had a similar problem and this helped.
Sent from my Galaxy Nexus using xda premium
[email protected] said:
Maybe u should lock and then unlock the bootloader on your phone this helps solve most problems.u can then flash cm10 if that's what your using. And as said in an earlier post make sure you have the latest version of cwm recovery.
Please press the thanks button of this works.
Source: had a similar problem and this helped.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
So, you're suggesting the OP wipes their storage? Why would you suggest this without stating that: 1. data loss will happen and 2. you should backup your phone before doing this?
OP, runderekrun had a good suggestion. Check /data/meda for rogue CWM backups (and make sure you're up to the most current version) or multiple /0/0/0 folders (if you've flashed multiple 4.2+ ROMs).
I experienced this one already. That's when i flash a AOKP nightly 4.2.1 based. When i'm in 4.2 i can't see all the files from my 4.1.2 ROM. I switched back to 4.1.2 then copied all files from root folder to the 0 folder. Try to use Root explorer. It will show you emulated and legacy storage.

[Q] Recover Internal Storage (wiped)

Hey everyone.
I'm one of the lucky few that had internal sd wiped during the process of upgrading from NB4 to NE6.
Yes, totally my fault, as I should have backed up my internal. But I didn't.
To compound it, my nandroid backed up to internal rather than external sd (DOHHH).
Needless to say, I haven't written over the wiped internal, and I know there's a way to recover the deleted files (and nandroid)-- I just haven't done it on the Note 3 yet.
There are multiple guides out there on recovering internal storage by using cygwin, creating a raw image of the internal, mounting it as a drive, and using software like recuva. This is the guide I'm loosely following, however, our data block is in a different location. I believe 25, from what I can tell. This is the guide I'm using right now.
My Desperate Questions
Has anyone been able to recover their wiped internal storage on the Note 3, specifically?
Is our data partition at dev/block/mmcblk0p25 ?
Does anyone recommend any other methods of doing this?
Any help totally appreciated.
Where I am now:
I've been running Recuva for the past 4 hours which apparently doesn't recognize a drive connected through MTP. I tried something tricky and it appears to be running. But, given the status it reports (pretty much nothing), it could just be scanning my computer.
Concurrently, I'm trying the guide I linked up there. I have root, and busybox installed (to system/bin), but adb keeps disconnecting when I get to the "adb forward tcp:5555 tcp:5555" step, and device keeps going offline.
You can't access the media through MTP. MTP is sort of like FTP -- files are transferred from one system to another and presented by the receiver as if they were local. You could work with the media if you install a modified kernel and used UMS.
The first thing you should do is copy the media image to a removable SD card so you can use a desktop computer, and also to make a backup. With the image on a micro-SD card you could then continue to use your phone while you recover the data. I'm new to Linux but I think 'dd' from a device will copy everything, not just listed files. Put a 32GB micro SD in the slot and try this and see what it looks like:
dd if=/dev/block/mmcblk... of=/dev/block/mmcblk1
Note that I did not include the full path to the internal SD -- I don't happen to have that handy while I'm in this reply editor on my device.
Frank
ADDED:
Partition 25:
dd if=/dev/block/mmcblk0p25 of=/dev/block/mmcblk1
Frank
---------- Post added at 02:04 AM ---------- Previous post was at 01:29 AM ----------
Don't forward anything in ADB, just go straight to the file system:
adb shell
Frank
Frank Westlake said:
ADDED:
Partition 25:
dd if=/dev/block/mmcblk0p25 of=/dev/block/mmcblk1
Frank
---------- Post added at 02:04 AM ---------- Previous post was at 01:29 AM ----------
Don't forward anything in ADB, just go straight to the file system:
adb shell
Click to expand...
Click to collapse
Thanks so much for your response. With a little digging (a lot of digging) I confirmed it was partition 25, but found no reference to it in my device.
I grabbed an app called DiskDigger where the data partition is identified under:
/dev/block/platform/msm_sdcc.1/by-name/userdata
I'm using cygwin right now to copy that partition to a userdata.raw file (on my computer) which I can hopefully mount using VHD, and then use Recuva to salvage the data. I'll find out in a couple hours if that worked. And if not, I'll definitely go grab a bigger SD card and follow your recommendation.
Question. Once copying the full partition to the SD card, what would you use to extract the data and restore it to the internal SD?
I have not lost anything important enough to go to the trouble of disk-digging, so I have no experience with it.
Frank
---------- Post added at 03:53 AM ---------- Previous post was at 03:29 AM ----------
I just took a quick look at the guide you referred to and using that procedure you will need to forward a port to ADB. I don't know why that procedure, maybe it's necessary for cgwyn.
Also in that thread is a comment that the procedure won't work on devices which can't use UMS. The Note 3 can't use UMS unless you've installed one of the kernels which enable it.
Frank

TWRP "unable to mount /data"

I was going to flash a new rom, but every time I try to wipe, I get a failed message. I doesn't wipe dalvik cache and also gives me the message above (TWRP "unable to mount /data"). Anybody know how to fix this.
Did you try to factory reset in bootloader (corrupts internal memory on modded phones, so don't do it).
Try connecting to a Window PC, find the device on Device Manager and format the internal memory.
redpoint73 said:
Did you try to factory reset in bootloader (corrupts internal memory on modded phones, so don't do it).
Try connecting to a Window PC, find the device on Device Manager and format the internal memory.
Click to expand...
Click to collapse
No, I didn't try factory reset in bootloader, looks like I'll have to format. Formatting in TWRP is fine right? I don't have to do it on the computer?
09eric09 said:
No, I didn't try factory reset in bootloader, looks like I'll have to format. Formatting in TWRP is fine right? I don't have to do it on the computer?
Click to expand...
Click to collapse
If TWRP can't mount it, I don't think it will be able to format it. I'm not sure formatting by PC will work either, but its worth a try.
A more complicated solution was posted here: http://forum.xda-developers.com/showpost.php?p=54885875&postcount=23
But I can't personally vouch for it, so use your discretion. I've seen this issue crop up a few times now, you would think there was a more uniform solution by now . . .
---------- Post added at 01:36 PM ---------- Previous post was at 01:33 PM ----------
My suggestion to just connect to PC and format via Device Manager worked for this guy: http://forum.xda-developers.com/htc-one-m8/help/im-to-die-fix-t2852003/page2
So hopefully, you will have the same luck.
redpoint73 said:
If TWRP can't mount it, I don't think it will be able to format it. I'm not sure formatting by PC will work either, but its worth a try.
A more complicated solution was posted here: http://forum.xda-developers.com/showpost.php?p=54885875&postcount=23
But I can't personally vouch for it, so use your discretion. I've seen this issue crop up a few times now, you would think there was a more uniform solution by now . . .
---------- Post added at 01:36 PM ---------- Previous post was at 01:33 PM ----------
My suggestion to just connect to PC and format via Device Manager worked for this guy: http://forum.xda-developers.com/htc-one-m8/help/im-to-die-fix-t2852003/page2
So hopefully, you will have the same luck.
Click to expand...
Click to collapse
Weird, I booted into recovery one more time, and the problem is gone. Hopefully I won't have to deal with it again. Thanks for the thread anyway, I'll keep that bookmarked.
Problem esta have someone help my of the solution would be very grateful
fabrizio_botto said:
Problem esta have someone help my of the solution would be very grateful
Click to expand...
Click to collapse
IN TWRP, select Wipe, and pick the option to Format Data. See if that helps.
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!
redpoint73 said:
Did you try to factory reset in bootloader (corrupts internal memory on modded phones, so don't do it).
Try connecting to a Window PC, find the device on Device Manager and format the internal memory.
Click to expand...
Click to collapse
please, how do i format the internal memory? I have found my device on the device manager.
Denclen said:
please, how do i format the internal memory? I have found my device on the device manager.
Click to expand...
Click to collapse
You haven't stated what your specific issue is, or any details about your phone (CID, Android version, etc.).
If you have TWRP installed (which corresponds to the original topic of this thread), you can format the internal storage by going to the TWRP "Wipe" section and tapping the button "Format data". This fixes many cases of corrupted internal storage. But you haven't stated what your problem is.
If that doesn't work, on your PC, you should be able to format the internal storage like any other drive. At least that worked for the person I quoted over 2 years ago (Post #4 above). Hard to remember such details from so long ago.
i have ****ed up everything on my phone
redpoint73 said:
Did you try to factory reset in bootloader (corrupts internal memory on modded phones, so don't do it).
Try connecting to a Window PC, find the device on Device Manager and format the internal memory.
Click to expand...
Click to collapse
now my issue is i cant install any custom rom or cant wipedalvik or cahe from my twrp plus i have no os installed on my ht one m8 pls help and i think so i have factory reset on my bootloader as well
jeetuda said:
now my issue is i cant install any custom rom or cant wipedalvik or cahe from my twrp plus i have no os installed on my ht one m8 pls help and i think so i have factory reset on my bootloader as well
Click to expand...
Click to collapse
Whoa! Just slow down, take a breathe, spend a few more minutes describing your issue. Otherwise, it makes it difficult (impossible?) to help you. One jumbled run-on sentence isn't going to help matters. It doesn't really take much more energy or time to type proper sentences (get to a real keyboard, if you need to). But the way you've posted, certainly makes it hard to understand what you are trying to tell us. Also need a lot more details:
How exactly did the problem start? Did you just recently install TWRP, or has it been on the device for a while?
What version number TWRP?
What happens when you try to install a ROM, or wipe cache/Dalvik in TWRP (outcomes, specific error messages, etc.).
How exactly did you come to have no OS?
Also, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).

Categories

Resources