[Q] Data loss after bootloop and damaged SD Card - Android Q&A, Help & Troubleshooting

I had a bootloop issue on my GT-N9300 speadtrum and finally solved it by flashing the ROM using the UpgradeDownload tool
Phone Specifications and Phone information
After the process, I lost all data on the phone (call logs, etc) and on the SD card and I had to root again the phone.
When using testdisk to restore the SD card, I get this:
The first two FAT32 partitions give "no file found, filesystem may be damaged" while the third one contains files.
The first swap partition option gives: Can't open filesystem; files system seems damaged, while the second one gives this result:
First [rom] partition also gives that "it seems damaged"while the next two [rom] partitions contain entries.
The last Linux swap gives: Support for this filesystem hasn't been enabled during compilation
What shall I do to make the SD card work again and restore all my data?
I hope I clearly described it and that someone can help me restore the data.

Related

[Q] How to restore dump to new Streak?

Last week something burnt out in my Streak, it wouldn't turn on, so I needed to send it to get repaired/replaced, as a little data insurance I took a dump of the internal SD card (just using dd in Ubuntu).
Now O2 are replacing my Streak, so I'll have a new one with a different IMEI, etc, and I don't want to open this one (I only opened the other one as it was an emergency). So I'm looking for help on restoring the backup I've taken without opening the phone, and once done, leaving it in a warranty-friendly state.
Obviously the first step is going to be rooting it, but what then? Is it simply a matter of copying all the files? Just thinking that might cause conflicts due to the new IMEI.
so i've got a similar (but reciprocal) problem... i had a malformed update.zip that pooched my internal microsd's system partition and the streak won't boot at all... I have a nandroid backup and i've pulled the internal microsd to find an empty ext filesystem that mounts just fine when I plug it into a linux laptop, but there's not a clear mapping from the system.img that I have and the contents of the accidentally wiped system partition...
SO, two things would fix this....
1. someone could send me a link to their raw 'dd' image of the system partition (~200mb)
2. or, I can keep figuring out how to use 'dd' with the system.img that I have to get the same results as the 'flash_image' tool...
would someone be so kind as to speed me along on this by giving me their system partition dump (1) or quickening my learning curve on (2) so that I can restore with the flash_image formatted nandroid dump of a working system partition???
Please, please....

[Q] [CM9-NFE6.0] [P-500] [Link2sd] 2nd partition lose format at reboot

Hello everyone, this is my very (noob) first thread, and is a question.
I've started reading xda forums like 3 days ago, for like 12 hours each day... and its an amazing comunity of knowledge. Osom.
Well... ive been trying to set a 2nd partition on my 32gb C10 SD for extend internal memory with link2sd on my OptimusOne... on the way i learned how to mod, terminal mount and modify, recover, and all the stuffs that could make this work... but i surrender.
I can make it work formating SD with mini-tool partition wizz, conecting device to PC, and seting into USB massive storage mode (yeap! Worked indeed!!) but if i reboot 2nd Part. lose format and link2sd report error on mounting 2nd partition (says its invalid, mini-tool says it's unformated)... for re-mount i have to re-format with mini-tool and wipe the data... so i've avoided linking any app.
Readed about NAND lock (my device is by default unlocked), /system permisions, and others... and i simply cant make 2nd partition stays at FAT32. (yes, i tried with the other formats too, formated with CWM on recovery mode too and nothing).
Tried this too http://forum.xda-developers.com/showthread.php?t=1971689, and didn't work for me.
Last discover was that via Root Browser app, /system file has no "Sticky" permision, if i modify it then busybox and other apps fail and run into recovery mode... (had to reinstal everything several times)
I know there is some kind of permision that i missed... but could be kernel config?
The most simply thing and i cant make it work... ideas?

[Guide][Z7 MINI][ROOT]How to repartition your SD and give oxygen to your Nubia!

Hello
The following guide will explain how to free your File System root partition by moving most of your apps/games to a new partition on your external SD Card.
I recommend to use at least a Class-10 SD-HC SD Card.
I've checked the following on my ZTE Nubia Z7 Mini, but AFAIK it should be working with all Z7's versions.
(please report if you can... )
IMPORTANT!
NEVER use custom TWRP recovery ver 2.8.1 (maybe 2.8.0.... latest 2.8.3) for re-partition microSD card in this phone!
When you try to perform this operation will be erase INTERNAL phone memory instead mircoSD, GPT partition table will be damaged and your's device turn into a Hard brick.
If you have not made a backup EFS+NV of your device, it may happen that it is impossible to recover and it will turn into iPods
Thank you @Harwest
1. Backup your 64gb SD card to PC.
2. Via PC - use MiniTool Partition Wizard to create 2 partitions on your SD card.
one partition should be formatted as exFat and will be your data partition (and so will be the largest!)
second directory should be EXT4 and will be your new system partition (all apps will be installed to this partition-will see that later)
my settings are - 54gb for exFAT partition 1, and the rest for the EXT4 partition.
3. after you've done all partitioning etc, insert the SD card to your phone.
4. go to Settings --> About Phone --> Storage --> Choose Primary Storage --> SD CARD
5. restart your phone.
6. Install "Link2SD" from Google Play.
7. when you first open the App, it will ask you which type of 2nd partition you have, choose EXT4, afterwards restart phone (it will ask you to do so).
8. open Link2SD and filter the list by "ON INTERNAL" and start moving applications by choosing the app you want to move and choose "Create Link". now make sure you check all 3 checkboxes (or 4 if you have the paid version on L2SD).
you'll see that your original system partition is getting bigger! that's all
Enjoy!
Thank for this info
tnx for the info.
i used a slightly different approach:
1. repartion the internal sdcard. (enlarged the 'userdata' partition to 11.7GB, shrunk the 'grow' (internal storage) partition to 1GB).
2. go to Settings --> About Phone --> Storage --> Choose Primary Storage --> SD CARD (== external sdcard)
so apps have 11.7GB, external storage is the full size of de sdcard (here 64GB).
done.
---
Per request a tutorial:
WARNING: DANGEROUS.
you can brick your device!
I do not know if this tutorial works with a rom other than stock (or stock based; i.e.: cuoco92). Because of the built in option to set external sd as primary storage. The partition tool should work on all z7 mini and z7 max.
What will this tutorial do?
Repartition tool:
it will :
backup your partitions (in a backup folder).
change the 'userdata' partition size to the given value
change the 'storage' (called: 'grow') partition (internal sd / sdcard0) to the size left on the internal sd.
i.e.: default 'userdata' = 2GB, 'storage' = 10GB, total 12GB. When giving 11GB to the repartition tool the new layout will be: 'userdata' 11GB, 'storage' 1GB, total 12GB.​
Change primary storage in ROM:
The setting 'change primary storage to SD card will change symlinks in the rom from /storage/sdcard0 to /storage/sdcard1. Result is that every app in the rom thinks sdcard1 is sdcard0.
I do not know if other roms (i.e.: Mokee / CM11) have this built in option.
The tutorial:
Preparations:
MAKE A BACKUP OF EVERYTHING AND COPY TO A COMPUTER (or external SD).
Internal storage will be backuped by the tool (and restored). But for performance empty it.
external storage will not be emptied (make a backup to be safe).
clean install is highly recommended, but not necessary.
installed rom will NOT be wiped. You can boot normally after the procedure.
CWM recovery mandatory.
adb access to the phone (so install drivers etc).
Step1: Using the resize tool (resizeZ7_1024.Rayures.v01.zip):
Repartition Internal SD (z7 Mini and z7 Max):
reboot phone to recovery
i.e.: "adb reboot recovery"​
unzip the zip
run RUN.bat
or: open 'command window' in the folder and run RUN.bat​
select 1 (backup - delete - rebuild)
give size for 'userdata' partition
(Z7 mini: max = 11GB). 12GB gives no usable partition. 1GB internal data partition left, which i think is needed​
done
notes:
just always use the 1 option and MAKE SURE the backup has been created! When the backup is missing or broken you WILL brick.
this thread also has a lot about the partition tool, use the search.
Step2: Set external SD as primary
Boot phone.
Go to: Settings --> About Phone --> Storage --> Choose Primary Storage --> SD CARD
reboot phone
done
The tool: resizeZ7_1024.Rayures.v01.zip (5.48 MB):
original from official nubia forum:
http://bbs.nubia.cn/
my changes:
-translated to English
-enhanced recognition of phone model
-added a 'partition info' option (to see the current partition layout)
tnx to:
-all the xda people who already used the tool in: <thread>
-original dev of the tool
Have an addition to this tutorial ? please do so via PM.
rayures said:
tnx for the info.
i used a slightly different approach:
1. repartion the internal sdcard. (enlarged the 'userdata' partition to 11.7GB, shrunk the 'grow' (internal storage) partition to 1GB).
2. go to Settings --> About Phone --> Storage --> Choose Primary Storage --> SD CARD (== external sdcard)
so apps have 11.7GB, external storage is the full size of de sdcard (here 64GB).
done.
Click to expand...
Click to collapse
Yea, I know that way , but I think it's more risky than my method...
repartitioning your internal memory can cause some trouble later on upgrades etc...
but thanks anyway, If you can, post a detailed guide so people can use your method also. :good:
Hi guys!
NEVER use custom TWRP recovery ver 2.8.1 (maybe 2.8.0.... latest 2.8.3) for re-partition microSD card in this phone!
When you try to perform this operation will be erase INTERNAL phone memory instead mircoSD, GPT partition table will be damaged and your's device turn into a Hard brick.
If you have not made a backup EFS+NV of your device, it may happen that it is impossible to recover and it will turn into iPods
Best way for repartitioning Nubia Z7 mini?
OK, but which is the best and most save way for repartitioning Nubia Z7 mini? Which custom ROMs are compatible with this mod and advisable? Thanks for your help!
tie-fighter said:
OK, but which is the best and most save way for repartitioning Nubia Z7 mini? Which custom ROMs are compatible with this mod and advisable? Thanks for your help!
Click to expand...
Click to collapse
Best & safe method for repartition microSD card:
Use a laptop/computer with a card reader and software like as "MiniTool Partition Wizard Home Edition" (freeware) http://www.partitionwizard.com/free-partition-manager.html
Insert to cardreader with your's sdcard, run "Partition Wizard", select existing partition on sdcard and press "Resize/Move".
Resize partition so that the end is left free space volume approx 1....2....3Gb (as you wish).
After that select free space and press "Create", create new primary partition, format EXT2 or EXT3.
Press "Apply" for start all process.
Resize procedure of existing partition is safe, nothing is lost. But just in case you can pray, drink or smoke:laugh:
Im struggling with this, although seems easier, i think I am doing something wrong.
fbloise said:
Im struggling with this, although seems easier, i think I am doing something wrong.
Click to expand...
Click to collapse
you don't need to struggle..
Just do the safe method on post #1, follow exactly the steps I wrote and you'll be OK.
if you have any specific question please post it here. :good:
I've used the ripartition method wit an EXT4 and a exFat on my 32 gb memory.
Link2SD goes very well also with the CM12 rom.
Just few questions ...
1 - Should I format the entire system for a clean reinstall of the ROM, what would happened to the programs in ext4 partition? Should I've to re-install them or they remain stored or should I do some other action?
2 - If I'll change memory ... I've to copy the program with linux, right?
lelepanz said:
I've used the ripartition method wit an EXT4 and a exFat on my 32 gb memory.
Link2SD goes very well also with the CM12 rom.
Just few questions ...
1 - Should I format the entire system for a clean reinstall of the ROM, what would happened to the programs in ext4 partition? Should I've to re-install them or they remain stored or should I do some other action?
2 - If I'll change memory ... I've to copy the program with linux, right?
Click to expand...
Click to collapse
1. I think the best way is to use MODACO titanium backup and after rom is replaced, to restore the apps.
other method is to use Link2SD to move the apps back to phone memory (not all of them..) and then use TB same as above...
2. you can just use any partition manager software in order to copy the partitions as it. try to use Gparted live, I think it's the most clean way..
please report back what was working best for you
thanks!

[MOD][GUIDE][NOOB-FRIENDLY]Increase system partition size

Increasing system partition size
Since there is no official thread for increasing the system partition size (not data partition size as there is one already), I've decided to make a thread.
Disclaimer:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this tool
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
This process will wipe all of your data off your phone. This includes all of your apps, system storage and internal sd card. It doesn't wipe your external sd card. Make sure to backup all of your apps and data to the cloud, micro sd card or onto a computer
Make a backup!! Why am I saying this again? Because there is always a few careless people who do this process and complain how they lost all of their data.
If you try to use the modified system partition with stock rom, your rom will not boot! You must revert to stock system partition sizes first then install stock rom!
What you need:
- A Samsung Galaxy S2 i9100 16GB International variant. You must have this model otherwise you will brick your device! Other models can use the lanchon repit tool.
- A kernel in .tar format. I highly recommend gustavo kernel as it doesn't suffer the formatting problem that dorimanx (using default recovery) or apolo kernel (TWRP) does. Pre-made files Update: DorimanX kernel supports isorec recoveries in the newest builds. Flashing a isorec recovery will remove this formatting limit and will be usable in all partition sizes.
- System pit files (Provided in the attachments)
- A PC (preferably Windows, if using OS X or linux, use JOdin instead!)
- A archiving/compression utility such as 7-zip or winrar. I recommend 7-zip because it is for free and it is open source.
- ODIN (to flash the kernel of course, again use JOdin for linux and OS X). Also, I have made ODIN installation easier with fewer options!
Benefits
Why do people increase the partition sizes? Here are some reasons why:
- Can allocate more storage space for more apps (removes the need for moving apps to sd card)
- Allows people to upgrade to android lollipop or marshmallow easier (if you don't want to go through any messages saying that there isn't enough space)
- Since it will delete everything, this will restore all lost space taken up by apps and other programs
- Gapps (Google Apps) will be much easier to install (you can choose larger gapps file if you want, only if you increase system partition). For CM12.1 and CM13, re-partitioning has become a necessity before flashing current gapps packages.
- Can fix soft bricks. However hard bricks can not be solved this way!
- Can fix problems with partition errors
Please note that this guide requires a PC and a working USB jack. If you don't meet these requirements, use lanchon's tool instead!
CM13 Nightlies have been released. Please note that the link to the premade .tar kernels are compatible up to Android Lollipop. You will still be able to repartition your device using Lollipop kernel! Since you will be reflashing or restoring CM13 during the process, marshmallow kernels are not required!
Instructions
Make a recovery backup (CWM or TWRP) onto your external sd card or PC (VERY IMPORTANT!!! All backups in internal sd card will be deleted so move them!)
Download the system pit files (attached in OP)
Extract the pit zip file
Open ODIN (Attached in the OP, JOdin for linux and OS X)
Connect your phone to your PC via USB while in download mode (make sure your phone is detected on ODIN, it should say COM:{number})
Click on the PIT button and locate and select your desired pit file
Click on PDA or AP and select your kernel .tar file (look at this post if you don't have one: Pre-made kernel tar Link)
Make sure that re-partition has been ticked then click start. If your phone successfully flashes, move onto the next step. If not, try changing usb ports, changing ODIN version, changing pit files or seeing if your device has a corrupt nand (or broken). If your memory chip is corrupt or broken, you won't be able to flash with ODIN (and you will need to buy a new motherboard). If you are still unsure what to do, look at the screenshot in the attachments.
Disconnect the USB cable. Take out your phone battery, then re-insert it.
Press and hold button combinations (home button + power button + volume up) to boot into recovery. You only need to hold for about 5 seconds.
If you have CWM recovery, go to mounts and storage then select format /sd card0 or /internal sd card. Select default and your internal sd card should successfully format. If not, try ext4 format. If you have TWRP recovery, you will need to go to wipe>advanced and select format emmc or /sd card0, then swipe to confirm . If you can successfully format your phone here, skip steps 11, 12, 13, 14. Note: DorimanX kernel doesn't support ext4 formatted sd cards. You will need to format your sd cards to vfat or fat32 for DorimanX kernel to detect.
----IF FORMATTING FAILS IN RECOVERY----
Connect your phone back to your PC.
If formatting sd card in recovery fails, connect your phone to your PC. While still in recovery (CWM), go to mounts and storage and select mount mass storage. If you have TWRP recovery, go to mount and select mount sd card. It should prompt you that the storage isn't ready yet and you need to format. If your PC still doesn't detect your phone, check if the proper drivers are installed (in attachments). Also, if your phone doesn't get detected and you've done everything in this step, try changing usb ports, computers and even usb cables.
Click format
You can leave all of the settings to default, I personally like to change the allocation size to 4KB (4KB is good if you want to make the most out of your phone's storage while having enough speed)
Click format.
----AFTER SUCCESSFULLY FORMATTING----
Go back to your phone. You can choose to restore from your backup or install a new rom. If you choose to restore from a backup, skip all of the remaining steps. (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first when restoring a backup then flash back if needed)
In mounts and storage, choose format /data, /cache and /system (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first then flash back if needed)
Now you can flash a ROM as you normally would
Huge thanks to ElGamal for providing the modified pit files and metalgearhathaway for providing the stock pit file and the.gangster for providing the 1.5GB system pit files.
I have included pit files that will resize your system partition to 1GB or 1.5GB (depending on your choice).
Data partition sizes range from 3GB up to 6GB. The rest is for your internal data storage.
Everything has been nicely labeled so please pay attention to which pit file you select!
I don't recommend using the 32MB Preload pits because they can cause problems with some ROMs.
If you get bootloops, flash a pit with a smaller data partition size!
Click to expand...
Click to collapse
I've also included ODIN and Samsung drivers in the attachments
Too difficult for you? Try Lanchon's flashable repartition zip
Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
UPDATE: I flashed Gustavo's kernel as well and have the same problem: Windows does not recognize the device. It does make the beep-beep indicating a connection is being established and it does suggest that it's installing drivers (though they're already installed), and then tells me that it can't find the drivers for a GT-I9100 . I tried the same process on a completely separate machine with no joy. All help very, very welcome.
buddy1234567 said:
Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
Click to expand...
Click to collapse
Have you tried formatting via recovery? Can you mount the sd cards manually? Try cwm recovery instead of twrp.
buddy1234567 said:
Followed this guide to step 10 (formatting with Apolo's kernel) but I was not prompted to format the SD... Windows does not recognize the phone anymore even though the phone boots to TeamWin's recovery just fine. Any ideas?
UPDATE: I flashed Gustavo's kernel as well and have the same problem: Windows does not recognize the device. It does make the beep-beep indicating a connection is being established and it does suggest that it's installing drivers (though they're already installed), and then tells me that it can't find the drivers for a GT-I9100 . I tried the same process on a completely separate machine with no joy. All help very, very welcome.
Click to expand...
Click to collapse
You know you can format sd card in recovery. Try that first. If your PC doesn't detect drivers for your phone, you will have to install them manually with the samsung USB drivers (in attachments). I've also updated the guide.
Thanks for the help! A couple of quick things:
- I installed the samsung drivers above before I started the process, I tried uninstalling them and re-installing and still no joy. At the moment, when I plug in the phone via USB cable I get three quick successive beeps (previously, running Lysergic's LP 5.0.2 this process was working fine and windows recognized the storage folder)
- what type should /sdcard0 be formatted to (ext2/ext4/ntfs...?)
- how does one mount the sdcard manually? I have looked around and there dosen't seem to be a 'guide' per se...
UPDATE: I formatted /data, /cache, /system, /sd card (using 'default' for formatting type) and couldn't find /datadata or /emmc... Windows still gives me three quicks successive beeps and does not recognize the device...
UPDATE2: After mounting both /sdcard and /usb connection in CWM recovery using Gustavo's kernel, Windows recognized the device and I was able to copy rom and gapps and then flash. I didn't realize there was an option to mount /usb connection (!).
i become the message: "E:Unable to mount '/emmc'
ok, I wanted to change my partition so that I can test lollipop.
But now I would rather do have the kitkat.
Now I have the problem that I can not access my internal memory. I can not load the EMMC. I urge you to help.
I have the pit file taken 1GB 3GB. What can I tuen to reload KitKat can. Also, I have since re these yellow triangle.
How can I register these unregistering.
Working <flawless>
Hi
This worked for my i9100P
Now i got 4Go for my apps
Running CM12 Beta13 from Lysergic Acid
All good for now
Many thanks
I followed all the steps and it worked. Now I have 1GB system, 4GB Data. There were a couple of bumps on the road:
- At first, Odin would show Fail!, but after I connected the phone in a different USB port, it worked.
- The first kernel I used was Apollo 8.3 TWRP but I couldn't either format or mount the internal storage in that recovery.
- So I repeated the procedure but this time using this Gustavo's CWM kernel for ODIN created by the OP, and in recovery I was able to format internal storage without issues (by the way, I selected default from the formatting options).
Thanks for the guide.
---Quote
I don't include pit files with modified preload partition as it can cause some phones to bootloop.
eoq---
Since only stock ROM is using preload partition, i quess it's safe... could you direct me to PIT file of (1GB system, 3 GB DATA, 45MB or less preload)?
thanks
nevermind...
when should I flash this mod? at stock ROM or at Lollipop
hey guys
because of the problems that my phone has at the moment I have to install the stock ROM and work my way up to Lollipop. When is it better to use this mod. Right after I go to stock or can I wait untill after I Have installed Lollipop?
gigley said:
hey guys
because of the problems that my phone has at the moment I have to install the stock ROM and work my way up to Lollipop. When is it better to use this mod. Right after I go to stock or can I wait untill after I Have installed Lollipop?
Click to expand...
Click to collapse
Best before installing LP as it will wipe data and SD 0
Please help, can't enter recovery
Edit: All seems to be ok. Maybe I was to stupid to press the buttons the right way... :silly: Maybe the Odin screenshot helps somebody, so I only hide my post instead of erasin it.
Hi folks,
I have read the tutorial more then once and I was sure that i can do all steps the right way. But now, after I clicked "Go" in Odin, I can't get my S2 to work. My phone booted up and I wanted to enter the recovery with Vol up, Home and Power, but it doesn't work.
I entered the download mode again an started the procedere for another time, but again, I can't enter the recovery.
Here is a Screenshot from my Odin
Thx in advance!
I've updated the guide a bit so it is easier to understand and so the formatting isn't as confusing as it was before.
Thnx
it was as easy as pie
any chance that the OP can provide or will do
a 1 or 2GB /system partition in addition to a 8GB /data partition?
vakkah said:
any chance that the OP can provide or will do
a 1 or 2GB /system partition in addition to a 8GB /data partition?
Click to expand...
Click to collapse
I honestly think there is no rom or gapps that will completely use the 1gb system partition. If you want 8gb data, you will need to flash the 8gb pit. I could make a pit like that but the chances are it may screw up people's phones.
no problem at all, much appreciated..
I have just over 300 apps installed and not enough space left on the 6GB /data partition..
if you can make me a 1 or 2GB /system partition with a 8GB /data partition, i will test/use it on my phone..
i am not worried about not having much internal /sdcard0 storage as i have a 32GB external /sdcard1 for pics, movies etc.
the more, the merrier for me..
just let me know when..
A little help please
I just followed the steps to increase my partition size and I flashed the 1gb_6gb pit file. All went good, I even managed to format all in CWM, I flashed my rom (which was stored in my external SD) and now, when I try to see my internal storage (with any file manager) I cannot see it. I checked under settings->storage and I have only 6 GB total storage..but I can't see it with any file explorer and even in Windows. And now, my camera doesn't work (on lollipop) saying that no SD has been found. It may be other things that do not work, but I didn't test more. Is it normal to be like this? Thank you for your great work
cardynal said:
I just followed the steps to increase my partition size and I flashed the 1gb_6gb pit file. All went good, I even managed to format all in CWM, I flashed my rom (which was stored in my external SD) and now, when I try to see my internal storage (with any file manager) I cannot see it. I checked under settings->storage and I have only 6 GB total storage..but I can't see it with any file explorer and even in Windows. And now, my camera doesn't work (on lollipop) saying that no SD has been found. It may be other things that do not work, but I didn't test more. Is it normal to be like this? Thank you for your great work
Click to expand...
Click to collapse
Not normal at all. What did you format sdcard0 as in CWM?
Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
Acid0057 said:
Not normal at all. What did you format sdcard0 as in CWM?
Sent from my GT-I9100 flowing on SwiftKey in Tapatalk
Click to expand...
Click to collapse
Yes, I did formatted sdcard0 in cwm as default. And I flashed again a new pit file 1gb_4gb and I followed again the steps, I also mounted usb and I formatted sdcard0 in windows and now it works. My internal storage is visible. Thanks!

[Resolved] TWRP issue: SD card write access denied.

Hi there.
I got a problem with TWRP since I partitioned my SD card. Now I lost sd card write authorization and I don't know what I can do to recover it.
Any way to fix that please? (unless the only solution is to flash it again?)
Thank you in advance.
-Device (unrelated but this can help):
SM-G361F, AOG1 build. (Pre-rooted firmware)
-TWRP version: 3.0.2-0
-SD Card main partition format: exFAT
Reflashing it does not work. Posting exact log...
Updating partition details...
...done
Full SELinux support is present.
Updating partition details...
...done
* Total number of partitions to back up: 7
* Available space: 18278MB
[BACKUP STARTED]
* Backup Folder: /external_sd/TWRP/BACKUPS/(myandroiddeviceserialnumber)/2017-07-19--17-12-14_LMY48B.G361FXXU1AOG1/
Can not create '/external_sd/TWRP/BACKUPS/(myandroiddeviceserialnumber)/2017-07-19--17-12-14_LMY48B.G361FXXU1AOG1/' folder (Permission denied).
Failed to make backup folder.
Chmod-ing the external SD or the backup directory is also ineffective. TWRP lost his write permission because of the state of the SD Card.
If it's partitioned, TWRP can't write on because it's not a full block. The real and only way to restore the recovery is restoring the SD Card back to its original state.
Thank you @godkingofcanada for the awnser.
Atronid said:
Chmod-ing the external SD or the backup directory is also ineffective. TWRP lost his write permission because of the state of the SD Card.
If it's partitioned, TWRP can't write on because it's not a full block. The real and only way to restore the recovery is restoring the SD Card back to its original state.
Thank you @godkingofcanada for the awnser.
Click to expand...
Click to collapse
I shouldn't have to declare victory before testing.
I was wrong, it didn't fix anything.
And retry to chmod, boot TWRP without then with the SD also does not fix anything.
There is absolutely no way out of this problem??
Thread closed.
The only way to fix TWRP is flashing a different version of TWRP. I tested 2.8.7.1 and backup is now reworking.
Hope I will successfully go back to 3.0.2.0...
So, thing to remember:
Partitioning SD Card will make TWRP to lose its SD Card write access. If you do that once, you just have to flash another version of TWRP to reset state then go back to the actual version .

Categories

Resources