File cannot be deleted - Galaxy Tab 8.9 General

Hi, I am using clockwork recovery. I have few files on filesystem which are somehow corrupted and are preventing tablet from booting (infinite boot loop) so, I tried to delete it using adb which failed (tablet restarted and infinite boot loop), tried format data partition (where the file is) which also failed same as previous atempt. Anyone have any idea how to delete this file?

tomtomp said:
Hi, I am using clockwork recovery. I have few files on filesystem which are somehow corrupted and are preventing tablet from booting (infinite boot loop) so, I tried to delete it using adb which failed (tablet restarted and infinite boot loop), tried format data partition (where the file is) which also failed same as previous atempt. Anyone have any idea how to delete this file?
Click to expand...
Click to collapse
What file?
Sent from my SAMSUNG-SGH-I727 using xda premium

Related

Can't restore using Nandroid could anyone help ?

i have have been using cyan. 4.2.5 for several weeks and wanted to try the new 2.0 rom by eugene. so i completed a full backup by nandroid and before i falshed i used astro file manager to review my files just to be sure. then i used the new recovery file to wipe my data/davlik cache/etc...... i was stuck in boot loop with the new rom and when i tried to restore it gives me some sort of error..... nandroid-mobile.sh restore and then im lost. i need to recovery all my files someone please help me...................................
lilwill2806 said:
i have have been using cyan. 4.2.5 for several weeks and wanted to try the new 2.0 rom by eugene. so i completed a full backup by nandroid and before i falshed i used astro file manager to review my files just to be sure. then i used the new recovery file to wipe my data/davlik cache/etc...... i was stuck in boot loop with the new rom and when i tried to restore it gives me some sort of error..... nandroid-mobile.sh restore and then im lost. i need to recovery all my files someone please help me...................................
Click to expand...
Click to collapse
They may be deleted from the system partition. you need to get your nandroids from your SD card and flash them from fastboot
these are the ones you need to flash
boot.img
data.img
system.img
i think the commands are
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata data.img

Unable to delete a file from Data partition!

There is a file on my xt1068 with path /data/data/com.google.chrome/app_webview/Cache/8f7f69bc88662934_0 .I am unable to delete this file through any method.It is not visible in es file explorer or any other file manager,i have tried deleting the folder but it fails even after providing root permissions.I have tried deleting it by wiping data partition via TWRP and CWM but both failed.I also tried deleting it using aroma file manager and TWRP's flile manager but no luck.Due to this file i can't create or restore nandroid backup.While installing any new ROM i need to go to the TWRP's file manager and i manually delete all the folder's except the one i mentioned above,to perform a clean install.I have also tried restoring to stock firmaware using fastboot but after installation of rom the file still remains there.
My TWRP always shows this message:"E:Unable to stat '/data/data/com.google.chrome/app_webview/Cache/8f7f69bc88662934_0'
Please help me with this.
I would also be interested in a solution as I have a similar / same problem.
If I try and delete it via an adb shell I get : "rm failed for org.mozilla.firefox.old, I/O error"
Some threads have said the problem might be solvable by repairing the partition using tools like fsck.
I've unmounted the /data partition and tried to use fsck.f2fs from the recovery (TWRP) but get this error:
Assertion failed!
[fsck_chk_node_blk: 187] ni.blk_addr >= SM_I(sbi)->main_blkaddr
I'd like to solve this problem so i can again make nandroid backups and play around with my phone.
Thanks for the help
Daniel
I have the same problem but I think I have all the emmc memory as Read-Only, because I can't change the Recovery (vía fastboot) or flash another ROM or restore a Backup or even format anything.
I can enter to TWRP and Fastboot mode but any change I made is saved..
Sent from my Optimus 4X HD using XDA Free mobile app
Oliverrlh said:
I have the same problem but I think I have all the emmc memory as Read-Only, because I can't change the Recovery (vía fastboot) or flash another ROM or restore a Backup or even format anything.
I can enter to TWRP and Fastboot mode but any change I made is saved..
Sent from my Optimus 4X HD using XDA Free mobile app
Click to expand...
Click to collapse
corrupted emmc memory -- this could be because a set to read only.... or true failure - no cures (yet) for this and tbh the rumoured way is by linux commands to set permissions again and no one seems to have progressed or got results in last 9 months or so.
It magically got solved after flashing radium redefined ROM.

Edited build.prop and stuck in boot loop

I made a minor adjustment to my build.prop file, and when I reboot my phone, it is stuck in a boot loop. I tried to re-flash the rom that I use, but its still in the boot loop. Is there a simple way to manually edit the build.prop file using adb? I have the backup I took of my phone on my computer, but it doesn't look like any of the files contained are accessible to pull the default build.prop file out to sideload. I tried restoring my backup, but I'm getting an error saying it cant restore. Any ideas? FYI I am rooted and unlocked.
**Update** SOLVED. Installed a new rom using TWRP instead of MOFO.

Edited build.prop and now stuck in boot loop

I made a minor adjustment to my build.prop file, and when I reboot my phone, it is stuck in a boot loop. I tried to re-flash the rom that I use, but its still in the boot loop. Is there a simple way to manually edit the build.prop file using adb? I have the backup I took of my phone on my computer, but it doesn't look like any of the files contained are accessible to pull the default build.prop file out to sideload. I tried restoring my backup, but I'm getting an error saying it cant restore. Any ideas? FYI I am rooted and unlocked.
**Update** SOLVED. Installed a new rom using TWRP instead of MOFO.

zenfone 2 (z00d) not booting

Hello, a few days ago my zenfone started acting up (again), with built in applications crashing randomly and failing to boot half of the times. I always managed to fix it downloading the firmware from Asus' website and re-upgrate it, but this time it didn't worked out quite well. It now refuses to boot (sometimes gets stucked at boot, simetimes I manage to have asus screen). Booting into recovery prints `E:mount fail, change path to mount /dev/block/mmcblk1`, then errors about cache partiton not being found.
I've tried pretty much anything that would not result in data loss:
Wiping cache doesn't report errors, but doesn't help either,
Flashing stock boot.img and droidboot.img don't report error, but doesn't help either,
Flashing TWRP to recovery reports success, but I still get stock recovery,
Sideload fails coz it doesn't find expected mounts
Adb shell doesn't work as it can't find `/system/bin/whatever`
`adb pull /proc/partitions` returns what looks like a legit partitions list for mmcblk0 to me
Does anyone know what else I can try to rescue the data on the phone?
WobLight said:
Hello, a few days ago my zenfone started acting up (again), with built in applications crashing randomly and failing to boot half of the times. I always managed to fix it downloading the firmware from Asus' website and re-upgrate it, but this time it didn't worked out quite well. It now refuses to boot (sometimes gets stucked at boot, simetimes I manage to have asus screen). Booting into recovery prints `E:mount fail, change path to mount /dev/block/mmcblk1`, then errors about cache partiton not being found.
I've tried pretty much anything that would not result in data loss:
Wiping cache doesn't report errors, but doesn't help either,
Flashing stock boot.img and droidboot.img don't report error, but doesn't help either,
Flashing TWRP to recovery reports success, but I still get stock recovery,
Sideload fails coz it doesn't find expected mounts
Adb shell doesn't work as it can't find `/system/bin/whatever`
`adb pull /proc/partitions` returns what looks like a legit partitions list for mmcblk0 to me
Does anyone know what else I can try to rescue the data on the phone?
Click to expand...
Click to collapse
When you flash TWRP and try to boot into recovery, have you tried using adb with "adb reboot" command?
Have you tried the "fastboot boot twrp.img" command"(with the TWRP file renamed to "twrp.img")? If you can get that to work, you can temporarily boot a TWRP session and then use it to make a nandroid backup.
Have you tried creating an adb backup, as described in the link below?
https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
If you have corrupted partitions, you might not retrive anything, you might have no choice but to use an option that wipes, repartitions and flashes the device.
Sent from my LGL84VL using Tapatalk
Droidriven said:
When you flash TWRP and try to boot into recovery, have you tried using adb with "adb reboot" command?
Have you tried the "fastboot boot twrp.img" command"(with the TWRP file renamed to "twrp.img")? If you can get that to work, you can temporarily boot a TWRP session and then use it to make a nandroid backup.
Have you tried creating an adb backup, as described in the link below?
https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
If you have corrupted partitions, you might not retrive anything, you might have no choice but to use an option that wipes, repartitions and flashes the device.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
thanks for suggestions,
adb backup doesn't work. It complains about /system/bin/sh not found (looks like either the partition isn't mounted or the failed update erased it).
fastboot boot doesn't work. I was messing with boot.img before, and I found out that intel's boot.img (my zenfone is x86) is not standard format. fastboot logs `creating boot image...`, I suspect it doesn't work at all for intel's. It reports 'booting OK' but the phone doesn't reboot at all.
fastboot flash recovery twrp.img returns OK but still stock recovery...
WobLight said:
thanks for suggestions,
adb backup doesn't work. It complains about /system/bin/sh not found (looks like either the partition isn't mounted or the failed update erased it).
fastboot boot doesn't work. I was messing with boot.img before, and I found out that intel's boot.img (my zenfone is x86) is not standard format. fastboot logs `creating boot image...`, I suspect it doesn't work at all for intel's. It reports 'booting OK' but the phone doesn't reboot at all.
fastboot flash recovery twrp.img returns OK but still stock recovery...
Click to expand...
Click to collapse
I have an intel atom tablet that I used this tool to boot TWRP then root and create nandroid backups with.
https://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
There may be similar tools for your intel tablet, or maybe you can modify this tool or work out something similar.
There is another similar tool that I used on an intel based RCA Viking III tablet.
Sent from my LGL84VL using Tapatalk
Droidriven said:
I have an intel atom tablet that I used this tool to boot TWRP then root and create nandroid backups with.
https://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
There may be similar tools for your intel tablet, or maybe you can modify this tool or work out something similar.
There is another similar tool that I used on an intel based RCA Viking III tablet.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
It worked!!! :victory:
Thank you so much for helping me out with this, I spent over a week trying to fix/backup data, I was going to give up.
After backing up things properly I'll play with it, see if I can have it booting again (maybe not stock system ).
WobLight said:
It worked!!! :victory:
Thank you so much for helping me out with this, I spent over a week trying to fix/backup data, I was going to give up.
After backing up things properly I'll play with it, see if I can have it booting again (maybe not stock system ).
Click to expand...
Click to collapse
Be careful, this tool is built to work on a lot of different devices with different hardware and different partitioning, the differences in partitions means that it cannot create or restore nandroid backups on all devices that the tool can boot on. Some intel devices that this tool works on can create and restore nandroid backups, some can't, it just depends on how the device is partitioned. It can also be used to flash ROMs on some devices but not on others.
This tool can boot a temporary recovery session on a lot of devices but not all of them can use all of the features in the recovery that it boots.
This difference in partitioning means that trying to restore a backup or flash a ROM can break some devices because the partitioning isn't right. So just be warned, you will be exposing your device to a certain amount of risk if you try using all of the features in the temporary recovery session.
Also, this tool was designed to boot a temporary recovery session on intel devices that have a locked bootloader, this recovery session can not flash ROMs on intel devices that have a locked bootloader, it can only be used to flash devices that have an unlocked bootloader. If your bootloader is locked, you'll brick your device if you attempt flashing a ROM on your device using this recovery session.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Be careful, this tool is built to work on a lot of different devices with different hardware and different partitioning, the differences in partitions means that it cannot create or restore nandroid backups on all devices that the tool can boot on. Some intel devices that this tool works on can create and restore nandroid backups, some can't, it just depends on how the device is partitioned. It can also be used to flash ROMs on some devices but not on others.
This tool can boot a temporary recovery session on a lot of devices but not all of them can use all of the features in the recovery that it boots.
This difference in partitioning means that trying to restore a backup or flash a ROM can break some devices because the partitioning isn't right. So just be warned, you will be exposing your device to a certain amount of risk if you try using all of the features in the temporary recovery session.
Also, this tool was designed to boot a temporary recovery session on intel devices that have a locked bootloader, this recovery session can not flash ROMs on intel devices that have a locked bootloader, it can only be used to flash devices that have an unlocked bootloader. If your bootloader is locked, you'll brick your device if you attempt flashing a ROM on your device using this recovery session.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thank for your concern, I've backed up contents of the sdcard and data partition (other partitions fails to mount) to an external SD. Ofc sdcard contents are just copy/pasted, as for data partition I've checked and looks like I can open the twrp archives from linux. I'm gonna try to clone the whole mmcblk0 before trying anything weird tho .
WobLight said:
Thank for your concern, I've backed up contents of the sdcard and data partition (other partitions fails to mount) to an external SD. Ofc sdcard contents are just copy/pasted, as for data partition I've checked and looks like I can open the twrp archives from linux. I'm gonna try to clone the whole mmcblk0 before trying anything weird tho .
Click to expand...
Click to collapse
You might can modify the tool itself or the TWRP .img that is built into the tool to modify it to work with the way that your device is partitioned, that way it mounts, reads and writes those partitions correctly.
Sent from my LGL84VL using Tapatalk
Droidriven said:
You might can modify the tool itself or the TWRP .img that is built into the tool to modify it to work with the way that your device is partitioned, that way it mounts, reads and writes those partitions correctly.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
I've tried to use the twrp for z00d I have previously downloaded, I have to do some tweaking to make it boot. Even tho it looks like a newer version, console is crashing and partitions won't work anyway. Since stock recovery fails to mount cache I guess there's corruption somewhere on the device. I might have found the stock partitions.tbl, but if I manage to clone mmcblk0 to an external sd, I can perhaps mess with the image with linux and confirm whether is there's corruption.
WobLight said:
I've tried to use the twrp for z00d I have previously downloaded, I have to do some tweaking to make it boot. Even tho it looks like a newer version, console is crashing and partitions won't work anyway. Since stock recovery fails to mount cache I guess there's corruption somewhere on the device. I might have found the stock partitions.tbl, but if I manage to clone mmcblk0 to an external sd, I can perhaps mess with the image with linux and confirm whether is there's corruption.
Click to expand...
Click to collapse
Here is another tool that I used on an intel based RCA tablet, it might can be adapted to be used on your device if you know or can find out where the tool can be modified to work on your device.
https://forum.xda-developers.com/general/general/guide-rca-voyager-rct6873w42-unlock-t3582973
Sent from my LGL84VL using Tapatalk
Droidriven said:
Here is another tool that I used on an intel based RCA tablet, it might can be adapted to be used on your device if you know or can find out where the tool can be modified to work on your device.
https://forum.xda-developers.com/general/general/guide-rca-voyager-rct6873w42-unlock-t3582973
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Hello, I've tried a few more stuff today, by the looks of it, the device silently fails to write anything.
I've tried to use adb push to flash a fixed image to /dev/block/mmcblk0, tried fastboot flash, tried dd from the recovery, even tho it reports ok, nothing is actually written on the device. I've tried to rename a file in data (which does mount), but after unmounting/remounting the partition the file still have the old name.
Maybe I can try loading a system on the external sd instead, but that's it.
Thanks again for your help, I was able to recover the data which was actually my priority.
EDIT: partition command also fails

Categories

Resources