TWRP Backup Failed XT1053; Can't delete folder - Moto X Q&A

Just recently I had to do a full wipe of my phone and reflash the custom rom i was running because of some problems I was having. As soon as i flashed the rom again i got this error:
E:Unable to stat '/data/data/Swiftkey/Files/language_models/user/learned.json
but the flash was succesful so I didn't think too much of it
After I booted up my phone i noticed that i couldn't install Super Swiftkey or the regualr Swiftkey app. I then tried going to ES File Explorer, I searched for the folder and i tried to delete it, but it wouldn't let me i got the message: File not deleted error code 39 so I tried changing the name and path of the folder , I changed the folder's name to "Cristian" and pasted it on the downloads folder where i was able to delete the folder and then I was able to install Super Swiftkey again.
The problem is I just tried doing a nandroid backup with two different TWRP versions and i get the same error:
Updating partition details...
E:Unable to stat '/data/data/Cristian/Files/language_models/user/learned.json
right after that the backup fails. I get the same message for wiping cache or whenever i try to do anything on TWRP. Any ideas on how i can fix this? Turns out the original path from the folder is still there and there's no way to delete it with any app

Delete it using the built in explorer in TWRP recovery.
Sent from my Moto X

Related

[Q] Trying to restore stock firmware, aborted each time

Hey All, have google and googled for the past week but nothing specific to this issue I'm having.
I want to restore my stock firmware so I can get OTA updates! I didn't make any sort of backup when I began playing with different roms. I have htc_039 unbranded aus htc one. Bootloader has been unlocked with S-on and TWRP installed.
Downloaded Deevans/bugsys nandroid backup that matched my phone details (http://forum.xda-developers.com/showpost.php?p=41368105&postcount=375&nocache=1&z=2030115523399023) but there isn't any sort of instructions on installing these.
When i have tried to flash the rom I get "installation aborted" and when playing with fastboot it has given me messages that it cannot find certain .txt files (something like android.txt and a few other ones.
Could someone please tell me what im doing wrong or list the instructions to install this? I don't know if I have to lock the phone again, restore the recovery file first, no idea!!! Or is there anyway to turn the Android Revolution 12 image to get OTA (i dont think so)?
If you need any further phone info I will post.
Can anyone help with this?
When I try to flash the file in TWRP it starts and stops at "Updating partition Details".
What have i not setup right? Have been using these resources:
http://www.androidpolice.com/2010/0...nandroid-backup-and-clockworkmod-rom-manager/
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
http://www.redmondpie.com/how-to-ba...android-using-clockworkmod-recovery-tutorial/
http://www.redmondpie.com/how-to-in...recovery-on-your-android-smartphone-tutorial/
http://androidteen.com/how-to-restore-htc-one-to-stock-firmware/#Nandroid
???
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash "restore" nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
pjc21 said:
Hi,
I'm new to the htc one so not sure here but from what I understand and anyone please correct me if wrong - but if it's Deevans nandroid 1.29.980.2 (Australia unbranded) it's a CWM backup and I don't think they work in TWRP.
So think you would have to flash CWM, then flash nandroid from CWM or find a TWRP nandroid.
Also think you need s-off before you do ota as no way to gain s-off with revone on updated hboot 1.54 yet.
Hope this helps.
Click to expand...
Click to collapse
Thank for the reply
I have tried to install this with CWM which gave me those first missing ".txt" files. I will give it another go with CMW and post the results.
I will also S-OFF before doing the above.
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
jgt777 said:
Phone is now S-off and put CWM as the loader. Tried the zip file again and says:
Finding update package
Opening update package
Installing update...
Installation aborted.
I have also downloaded the file twice to confirm its not corrupted and it opens through winrar with no problems.
Any other suggestions?
Click to expand...
Click to collapse
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
pjc21 said:
I would try restore it like a backup, so unzip and put files in your CWM backup folder.
Not sure how CWM backup folder looks but in TWRP it's like /sdcard/TWRP/BACKUPS/... or /data/media/0/TWRP/BACKUPS/...
So I would try unzipping and copy files (boot, data, recovery, system) to /sdcard/CWM/BACKUPS/folder/put files in here - then boot to recovery and try "restore" option and browse to backup folder. You could probably copy the files to any folder on the sdcard and restore from recovery not sure.
Click to expand...
Click to collapse
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
jgt777 said:
Thanks for your suggestion and that was going to be my next question. The file I mentioned in the first post is x.xxx.xxx.zip (x as the numbers) and inside that zip is a folder with the same name x.xxx.xxx and inside that folder are all the files.
I tried putting the folder only in CMW but wont detect it, tried it with the .zip file and fails. Have now just put all the files into the folder and tried again with same failure.
There is a very long error in the recovery.txt file it made, don't know if its any use but the first line that pops out is:
Starting TWRP 2.6.0.1 on Fri Aug 2 06:23:49 2013
BOARD_HAS_NO_REAL_SDCARD
I put the file into this link if you know of anything, makes little sense to me. http://pastebin.com/Tvp2Qp2X
Click to expand...
Click to collapse
Are you using TWRP recovery? or CWM recovery?
pjc21 said:
Are you using TWRP recovery? or CWM recovery?
Click to expand...
Click to collapse
I have now tried both TWRP and CWM and fails, also have installed ROM manager and another one I cant recall from play store. Also booted into recovery and went to the 'restore' option from the menu but cant find any directories..
I dont know if this has anything to do with it but noticed in the contents of the file:
ARCHIVE: cache.ext4.tar
ARCHIVE: data.ext4.tar
ARCHIVE: system.ext4.tar
boot.img
cache.ext4.tar.a
data.ext4.tar.a
nandroid.md5
recovery.img
recovery.log
system.ext4.tar.a
system..ext4.tar.b
Not to get ahead of myself but HTC ONE is ext2or 3 by default, its not something simple as having to change it to ext4? Its just something that stood out.
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
pjc21 said:
Just done google search on CWM backup location and seems to be /sdcard/clockworkmod/backup - so you could try copy the zip and/or files there and try restore from CWM recovery and see if that works.
Click to expand...
Click to collapse
Interesting that there was no 'backup' folder inside that folder. Have created it and putting the files and zip in there now.
Was also googl'n and found this article:
http://miuiandroid.com/community/th...d-restore-error-while-restoring-sd-ext.15611/
Someone mentioned to now open the zip file when it downloads. I'll try your suggestions and this and let you know what happens tomorrow.
Thanks again
Morning,
Have downloaded the .zip file again twice and put it onto the SD and clockwork Mod backup folder and it has aborted again.
Any ideas on what to try from here?

Database errors and unable to to sync sdcard folder: [SOLVED]

Hi,
Well I am running a build of 4.2 attempted to go back to 4.1.2 and having not read the articles on the sdcard symlinks, had issues. So I went back to my 4.2 build.
I then proceeded to move files to the correct folder and now In some apps (Astro File Manager, Dropsync) I am getting errors. Astro says Error Code 14 database error and Dropsync says folder not writeable.
I am thinking it has to do with symlinks but not sure how to fix.
Thanks
Kevin
[Edit]
it was a permissions issue. Just had to run some commands to fix data/media. for reference
http://forum.xda-developers.com/showthread.php?t=2222297 sdcard Fix Permissions script

[Q] root information

hi;
i was trin to change my boot animation and sound.then i was realize i cant rename delete or overwrite files under system\customize\resource\
but strange thing is if i install boot animations from zip files over TWRP it can be installed.
i was tried also on twrp recovery mode with file manager but more strange thing is i cant see any file under system folder. there is only bin folder nothing more. also tried on est file manager file preferences but there no any permission option. ah also i was tried fix permissions option on twrp options. nothings changed..,
any suggests?
thnx
You need to mount system as r/w. Use ES File explorer
thnx .
when i was tried first it wasnt ask to me what to do..i was uncheck and recheck so i got the mount option.
regards

[Q] TWRP Nandroid/Lollipop SDcard Storage issue...

I have a T-Mobile HTC M7 converted to GPE, recently flashed to Lollipop from KK 4.4.4. I use Tasker and OpenRecoveryScript to automate Nandroid backups through TWRP, then use FolderSync to upload said backup to my server over WiFi. My method worked perfectly until I flashed to Lollipop.
Since flashing to Lollipop, whether through Tasker or manually, I get an error in FolderSync saying the Nandroid files can't be read or copied. If I use TWRP's file manager, I can view the Nandroid folders/files, but those same files are not viewable using ES File Explorer in Lollipop. When I navigate to TWRP\BACKUPS\{Serial Number} folder in ES File Explorer, the {Serial Number} folder (where the TWRP backups are) is listed as a 0k(zero) file that can't be read or copied. When I try to create a new folder (in the BACKUPS folder) using ES File Explorer I get an error saying the operation failed.
Just this morning I restored a Nandroid backup using TWRP, and now in ES File Explorer my entire SDcard folder is blank (not true, as all my apps still function), but in TWRP file manager the SDcard folder is fine. At first I thought the problem was with ES File Explorer, but I tried a few different file explorers with the same result (FX File Explorer tells me 'Access was Denied' when trying to view the sdcard folder. ) All file managers I've tried have root access.
I thought Lollipop fixed the sdcard problems from KK, but this is a whole new one for me. Is there an issue with Lollipop not being able to read files that are written through recovery/TWRP? Any help would be greatly appreciated.
In a terminal app type
Su
restorecon -FR /data/media/0
Ajxx16 said:
In a terminal app type
Su
restorecon -FR /data/media/0
Click to expand...
Click to collapse
Thanks for the help Ajxx16. Tried your suggestion and get: tmp-mksh: restorecon: not found
You have root correct?
Ajxx16 said:
You have root correct?
Click to expand...
Click to collapse
Yes. Rooted running SuperSu 2.37 and TWRP 2.8.1.0. I also tried applying the restorecon patch through TWRP's terminal. It seems like it did something, but again when I boot back into the system, sdcard folder listed as empty. I just flashed a Nandroid backup I had of 4.4.4 and no sdcard issue. I'm going to update back to 5.01 (slowly, monitoring each step) to see if I can troubleshoot when the issue starts again, if at all (which wouldn't bother me if it didn't, really).
So I updated from 4.4.4 and ran into the same issue. It turns out the ROM I was updating from somehow did not have restorecon in the system/bin folder. I was able to find a 5.01 GPE RUU, flashed that, applied restorecon fix, and issue is resolved. Thanks for the help Ajxx16!

[Q] root "doesn't" work

Some days ago I installed a signed-flashable-prerooted zip to upgrade to Lollipop (14.5.A.0.242). I completely followed the steps, I wiped the cache, the Dalvik/ART cache and data. All went fine during the installation and so on.
Afterwards I installed Titanium Backup to remove the bloatware, but instead of completely removing the selected apps they seem to be unaffected, but when clicked on them they started and closed in a matter of seconds. The ES File Explorer doesn't seem to properly as well. For example, I can't delete the bootanimation.zip to replace it with my own.
Might there be any fix to it?
What error u get when u try to dellete file with es file explorer ?
Dadovvv said:
What error u get when u try to dellete file with es file explorer ?
Click to expand...
Click to collapse
just a simple "file cannot be deleted"

Categories

Resources