SD Card File System Problems Flashing ROMs - T-Mobile, Samsung Galaxy SIII

I have flashed a CM11 unsuccesfully and today sucessfully flashed AOSP Kitkat. I have found the file system is screwing with my sdcard. I have emulated/o, emulated/legacy, SD0, and SD1. I always run a Nandroid before flashing and that completely disappeared from my internal storage, it was not in any of the directories.
Not only that but after I booted up only a few of my apps were restored by Google restore. I installed Titanium and it had nothing. It informed me that the phone ID had changed and asked me if I wanted to change back for compatibility. I let it do it and ended up with a Titanium backup from a couple phones ago.
What the hell is going on and what is the best way to deal with the storage file system after a flash when one has these extra directories? Can I merge? I'm afraid to delete one because I do not know that it will not have some data I might need.
Thanks

Related

[Q] Help Needed with Titanium Backup and Gingerbread

So I am having a weird issue with Angry Birds, Titanium Backup, and Gingerbread. Here is the deal: I backed up AB using TB while running one of the CM7RC0 builds. Then, when I switched back to CM6.1.1 and went to restore AB, the app would not run upon restoration and kept force closing. I figured the backup might have been corrupted. However, I restored my CM7 backup and was able to restore the AB backup. So, I created another backup of AB hoping that this iteration would restore across ROMs as it always has before. Unfortunately, no dice, and I can't get AB to restore onto any ROM other than the one from which it was backed up. Does anyone have a clue about what the issue may be or how I can go about fixing it?
In addition, I have tried backing up AB using other programs such as My Backup Root and it still will no work. This issue is not happening with any of my other backups.
Bumpity bump bump
I have had similar problems when trying to restore from TB upon flashing of a new ROM (whether it be a GB ROM, Sense ROM, whatever).
Before you try my solution, ensure that you have everything backed via TB or MyBackupPro (MBP) (I am so paranoid I have both paid versions installed).
I was only able to get apps restored by deleting android_secure folder on SD card, restoring/installing ROM, and then running TB or MPP to get apps back.
Oh yeah, standard instructions of full data wipe, cache wipe, dalvik cache wipe apply.
I'm sure there is an easier way to do this, but after an extensive search of XDA I've yet to find it.
And you can't view/edit contents of android_secure file from phone. It has to be done via ADB or simply while phone's SD card is mounted as disk drive when plugged in to your PC.
I forgot to mention: I only deleted the content of android_secure, not the folder itself, i.e., the folder remained on the root of my SD card.
Thanks for the advice. I will give this a shot when i get a chance this afternoon and I'll let you know if it works.
Tapa tapa tapa
Hey, no such luck but thats for the advice. I did clear the android_secure folder and the only thing in there, not surprisingly was an ASEC file corresponding to angry birds. I'm out of thanks for the day but I'll be sure to hit you with a few tomorrow.

Replaced Evo, nandroid missing files

Recently I had to have my evo replaced because the mic died. sure was nice to spend 35 bucks instead of 400. after a little work i got it rooted and flashed and made a fresh nandroid of the new rom. I noticed that titanium hadn't backed anythingup lately but I had made a nandroid before taking the phone in. After a little research i moved the old nandroid to the new nandroid folder (serial numbers and all that) and proceeded to wipe everything and restore nandroid. Now I have almost everything back... except most of my apps. seems they were on the sdcard and now don't want to play nice. I can go to manage applications and sdcard and they are there but greyed out and unchecked. if I tap on one, it will crash immediately. I tried fix_permissions which ran for a few mins but nothing changed, so i rebooted again. still nothing. is there another solution for this or should I just attempt to pry open the img file and extract my data there? If so, where would said app data be? not the apps, but their data for saves/bookmarks/etc. Any help would be appreciated, this has been very frustrating.
Use Root Explorer to check whether the data's there (in /data/data) and whether the APKs are missing (/data/app if they were stored on the phone, /mnt/asec if they'd been moved to the SD card). You probably just need to reinstall the app, though you should backup the data just in case.
seems that the info is there in data/data, but not in data/apps. mnt/asec is also empty, though I recall moving most of my things to sdcard at one point. how can I copy data/data to my pc? can't seem to mount it where the pc will see it, even through recovery.
I decided since I can't mount it for some reason (lack of knowledge comes to mind) that I would just unyaffs the files. how would I push the data/data files back to the phone?

root, flash, backup file moving help

Hey quick question,
so I make a backup of my system for flashing. Then I move the backup onto a folder to my computer same with my titanium backup folder. So when I wipe and flash a new rom, I have all of my files for my system backup and my titanium backup on my phone. After I restore all of my apps after flashing the new rom, can I move the backup files and leave them on the computer as well as the system backup to save space? Is there anyway that I can still restore the system if it gets stuck in a bootloop - (besides flashing a new stock one)?
basically I want to store the system backup and the titanium backup on my computer so they are safe and because they take up about 4 gb of space on my phone.
I tried to be clear but let me know if I should further explain
Thanks
I wouldn't backup system apps with titanium, because they can vary from rom to rom. As long as you properly wipe your phone before flashing, you shouldn't get bootloops(can still happen). If you get a bootloop, try pulling the battery 1st. If your phone still bootloops, you have to use download mode and ODIN to flash stock ROM.
sent from somewhere
right which I have done before. I just want to know that if my phone does get stuck somewhere (has happened before, and I had to flash a stock rom and lost everything - lost backup) Would I be able to move my system restore and titanium backup files from my computer to my phone to be able to recover?
Basically store backups on computer, then if something happens, be able to transfer them back to phone
Thanks for the help
Generally it's good to leave backups someplace where they won't get easily corrupted or lost. Since the S3 has a microsd slot, sure, keep them on your computer and move them over if necessary.
My SOP is to keep the current backup on the microsd, and store the backups on my computer. Then if I need to reflash/nandroid back, they're there, and if my microsd is corrupted I have a known good backup.
b11aze said:
right which I have done before. I just want to know that if my phone does get stuck somewhere (has happened before, and I had to flash a stock rom and lost everything - lost backup) Would I be able to move my system restore and titanium backup files from my computer to my phone to be able to recover?
Basically store backups on computer, then if something happens, be able to transfer them back to phone
Thanks for the help
Click to expand...
Click to collapse
As long as you can get into your custom recovery after anything happens, backups will work. Make sure to backup system, data, and boot. If not and you have to flash using ODIN, like starting from scratch, you may have issues such as md5 mismatches.
sent from somewhere
ok I was just looking to see if it was possible or not to transfer backups from computer to phone if the phone cant turn on ie. stuck in download mode or recovery mode.

[Q] help recovering with TWRP after failed ROM flash

I've found myself stuck trying to flash a ROM. I'm a newbie, this was my first attempt at something like this, I though I read enough about the process but I guess I screwed up something. I will try to be to the point.
Phone: Samsung Galaxy S3 AT&T i747
Rooted phone with Casual, installed ROM Toolbox and purchased the pro upgrade.
installed TWRP 2.5 and made a nandroid backup, the only place this backup existed was in internal storage.
used ROM toolbox to backup user apps and user data
selected cyanogenmod 10.1 RC5 from within ROM Toolbox and there was a requester for gapps and a checked the box for that also. When the DL was complete I installed the ROM queue with those two items and I checked the boxes Wipe Data & Cache and Wipe dalvic-cache.
Phone went to recovery mode (i guess) and appeared to clear the memory and load the new rom, the phone rebooted and I got the cyanogenmod boot screen but then it went to a requester saying:
Unfortunately , the process com.google.process.gapps has stopped.
When you hit ok you get:
Unfortunately, setup wizard has stopped.
this requester never goes away, just keeps popping up when you hit ok.
So I removed the battery and booted the phone in recovery mode and try to restore but the restore nandroid file in not shown. If I hit the center button in the restore window it says "updating partition details" but never returns.
Whenever you power it up normally now you end up in this gapps loop.
My searching suggested I may have tried to install the wrong version of google apps somehow. What are my options for trying to recover from this? Does my backup still exist somewhere?
If process.gapps is your only warning you can try to reflash the gapps zip from here. http://goo.im/gapps/gapps-jb-20130301-signed.zip If this does not fix your problem, you will have to head deeper into the rabbit hold
You can look for your back with a file explorer. Should be in sdcard/TWRP/BACKUPS/******** (random number). If you dont see them here, check your ext-sd in the same location. If you don't see them, they are gone. Do a Nandroid backup now just to be sure you have one. You should chose to back it up to external in TWRP. As for your FC problem, it would appear that you have not wiped fully. You will likely need to factory reset. the problem is this will remove everything. Titanium back up is a great product for situations like this. If you have used it, you can transfer your backup from the internal storage while connected to your pc. Also copy your DCIM folder as it will contain your photos. This is why you will need to do another Nandroid, because worst case scenario, you can just restore this one.
Thanks for the reply. I will try to reflash the gapps file from the external as soon I can download it, the site is having some trouble right now. I made another Nandroid of the phones current state and stored it to external. I did also have Titanium backup and had backups of the whole system with it. Unfortunately they are also only on the internal storage.
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
theaxis695 said:
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
Click to expand...
Click to collapse
I just bought a 64GB card as well. You may be having troubles mounting it due to a partition that comes factory in the SD. If this is the case, you can look at post #57 on the following page http://forum.xda-developers.com/showthread.php?t=1915385&page=6
It helped me tremendously.

TWRP Restore Error 255

Team,
I just recently bought a Google Pixel and was attempting to transfer my contacts and messages and stuff from my HTC One M8 to my Google Pixel. However, my HTC One M8 was still on KitKat (4.4.2) and would not work with the transfer tool. So then I said let me take a TWRP backup of my phone before i start attempting to update it.
I attempted to download a rom to flash via TWRP but it did not work so I naturally tried to restore back to the TWRP backup I took.
Except now everytime I try to restore the backup I took all I get is extractTarFork() process ended with ERROR: 255
I have attempted to google all day with no luck.
Anyone dealt with this and have resolved it?
Thanks!
bef349 said:
Team,
I just recently bought a Google Pixel and was attempting to transfer my contacts and messages and stuff from my HTC One M8 to my Google Pixel. However, my HTC One M8 was still on KitKat (4.4.2) and would not work with the transfer tool. So then I said let me take a TWRP backup of my phone before i start attempting to update it.
I attempted to download a rom to flash via TWRP but it did not work so I naturally tried to restore back to the TWRP backup I took.
Except now everytime I try to restore the backup I took all I get is extractTarFork() process ended with ERROR: 255
I have attempted to google all day with no luck.
Anyone dealt with this and have resolved it?
Thanks!
Click to expand...
Click to collapse
Did you try updating TWRP? I had something like this happen a few years ago with my S3 and updating my recovery fixed it.
xunholyx said:
Did you try updating TWRP? I had something like this happen a few years ago with my S3 and updating my recovery fixed it.
Click to expand...
Click to collapse
yep, I had updated to twrp 3.0.2.0...still no luck
there has to be a way to fix this
so now even more weird. I downloaded Titanium Backup to try and extract from my TWRP backup, and nothing is there!
how the f is that possible!? does this mean my data is forever gone?
NoCall log, you should backup your calls with CALL LOG BACKUP & RESTORE apk from play store.Messages,you should backup with SMS BACKUP AND RESTORE apk from market(witch also can make a backup of all your sms/mms & call log!!!),so it's an one app for all.Both app make folders on your internal/sd memory that contain files selected by name and date,and you can just transfer this folders from M8 to Pixel and download those apps from playstore on your new Pixel phone,and restore calls/sms..About Titanium restore,isn't M8 ARM phone and Pixel is ARM64(or x86,I'm not sure)?so you can't restore those apps in TB cuz they're different versions with diferent screen DPI,and I suppose they won't work or TB gives you error cuz of that.You can only restore data from TB ,and it's very probable that some of those "restore' s" will give you problem due thing I sad in upper text and also cuz of big difference in Android versions(4.4>7.0+).
I hope you understand what I try to say,English is not my language,and I'm just trying to help you.I didn't by Pixel yet,I plan to,and this is what I would use in mind doing those transfers and restore procedure.
I had LGG4(ARM64),I transfered all my TB folder from M8(ARM),and when restoring ARM>ARM64 ,many of them force closed or mail function.But ONLY data restore allways worked on already installed app.
And about your error and problems on m8 with TWRP,yes try with some other and maybe older versions of TWRP(if m8 is on 4.4.4 ,then maybe latest recoveryes have problem to do backup and restore.In the end,try to flash stock RUU for your version on it,then TWRP+superuser,to try to fix all.BUT BEFORE Ruu Move all your TB and other data from internal memory/sd to computer or some other external drive-in case you lost or overwrite your data on phone.
Maybe someone will point you in right direction,maybe someone already had that problem.
Sent from my HTC One M8 [6.0 Gpe]
shawek said:
NoCall log, you should backup your calls with CALL LOG BACKUP & RESTORE apk from play store.Messages,you should backup with SMS BACKUP AND RESTORE apk from market(witch also can make a backup of all your sms/mms & call log!!!),so it's an one app for all.Both app make folders on your internal/sd memory that contain files selected by name and date,and you can just transfer this folders from M8 to Pixel and download those apps from playstore on your new Pixel phone,and restore calls/sms..About Titanium restore,isn't M8 ARM phone and Pixel is ARM64(or x86,I'm not sure)?so you can't restore those apps in TB cuz they're different versions with diferent screen DPI,and I suppose they won't work or TB gives you error cuz of that.You can only restore data from TB ,and it's very probable that some of those "restore' s" will give you problem due thing I sad in upper text and also cuz of big difference in Android versions(4.4>7.0+).
I hope you understand what I try to say,English is not my language,and I'm just trying to help you.I didn't by Pixel yet,I plan to,and this is what I would use in mind doing those transfers and restore procedure.
I had LGG4(ARM64),I transfered all my TB folder from M8(ARM),and when restoring ARM>ARM64 ,many of them force closed or mail function.But ONLY data restore allways worked on already installed app.
And about your error and problems on m8 with TWRP,yes try with some other and maybe older versions of TWRP(if m8 is on 4.4.4 ,then maybe latest recoveryes have problem to do backup and restore.In the end,try to flash stock RUU for your version on it,then TWRP+superuser,to try to fix all.BUT BEFORE Ruu Move all your TB and other data from internal memory/sd to computer or some other external drive-in case you lost or overwrite your data on phone.
Maybe someone will point you in right direction,maybe someone already had that problem.
Sent from my HTC One M8 [6.0 Gpe]
Click to expand...
Click to collapse
Thank you for your reply; I wish I had asked before attempting.
Here is what I see from the bootloader screen in case it helps --
*** UNLOCKED ***
M8_WLV PVT SHIP S-OFF
CID-VZW__001
HBOOT-3.18.0.0000
RADIO-1.09.20.0702
OpenDSP-v38.2.2-00542-M8974.0311
OS-2.21.605.2
eMMC-boot 2048MB
Aug 7 2014,20:26:27.26992
--
I took the full backup of my M8 using some version like TWRP v2.8.0.? I tried to restore the backup and it kept throwing me that error. So I said, lets try to flash the latest version of TWRP and that is what I did. I attempted restoring through the latest TWRP but still I get the same error. I have also tried to extract the backup using Cygwin with no luck. Titanium Backup also does not see it as a valid backup.
I am still on Android 4.4.2 (I had a backup from 2014 I was able to restore to in the meantime and is rooted).
The only place the data from my M8 is, is in the TWRP backup file which refuses to restore. All data on the phone was formatted and overwritten as I tried to flash a newer rom on it with no success. I have not tried to restore the data to my pixel and will not do so. All I need to do is restore the M8 backup to the M8 and try the methods you listed but I cannot get past this TWRP error. Or, get the backup to extract properly without throwing errors so that I can get the appropriate .db files from within
I am sure there is a fix involved with TWRP or is my wishful thinking sore out of luck?
I had this problem and it took me two days to resolve it. I had a good backup and I know it was good because I had used it several times and it worked. But then after doing some system installs I got the error 255. I tried several things to fix it and nothing worked and I really did not want to lose my backup. What did work for me was to use TWRP wipe function to FORMAT the phone. Wiping or factory reset did not work. I lost the contents of my internal SD card but I was able to transfer most to my external SD card. You could also connect the phone with a cable to a computer and use the pull command in ADB to backup the contents f the internal SD card. Given the choice between losing the SD card and the data files I come to lose some of the SD card. Anyway, a FORMAT worked when nothing else did. I read that this error is caused by a lack of space. When I checked the log it seemed that the restore was failing with a particular file which misled me to thinking I had to remove the corrupt file, but since after the format I was able to restore without any problem, it would seem that there was no corrupt data. Hope this helps someone.

Categories

Resources