[Huawei Ascend P7] kriticar:
Is this maybe a problem with immutable file attributs?

For example, even when the set_immutable.list is deleted I get:

root@hwp7:/system # lsattr

--------A---- ./TBM_Latour.bin

--------A---- ./app

--------A---- ./bin

-----i--A---- ./build.prop

--------A---- ./etc

--------A---- ./fonts

--------A---- ./framework

-----i--A---- ./isp.bin

--------A---- ./lib

--------A---- ./media

--------A---- ./miniBoot.bin

--------A---- ./net_example.txt

-----i--A---- ./ons.bin

--------A---- ./priv-app

--------A---- ./themes

--------A---- ./tts

--------A---- ./usr

--------A---- ./vendor

--------A---- ./xbin

---------- Post added at 08:58 PM ---------- Previous post was at 08:38 PM ----------

I believe that on the firs post before "flash custom twrp recovery :$ (sudo*) fastboot flash recovery openrecovery-twrp-2.8.0.0.img" you should put: "adb reboot-bootloader".

Without it I cannot "see" devices with 'fastboot devices'.

Anyway I have done as you stated on the first post, but I still cannot restore backup.

---------- Post added at 09:21 PM ---------- Previous post was at 08:58 PM ----------

I also tried to do the restore of the system partition by using adb shell. This is what I got:

twrp restore emmc/TWRP/BACKUPS/0000000000000000/2014-10-16--13-55-44\ P7-L10

V100R001C00B133SP01/ S

Restoring 'emmc/TWRP/BACKUPS/0000000000000000/2014-10-16--13-55-44 P7-L10V100R001C00B133SP01/'

Setting restore options: 'S':

System

Restore folder: 'emmc/TWRP/BACKUPS/0000000000000000/2014-10-16--13-55-44 P7-L10V100R001C00B133SP01/'

Skipping MD5 check based on user setting.

Calculating restore details...

Restoring 1 partitions...

Total restore size is 1298MB

Wiping system...

Removing all files under '/system'

Restoring System...

E:Unable to extract tar archive 'emmc/TWRP/BACKUPS/0000000000000000/2014-10-16--13-55-44 P7-L10V100R001C00B133SP01//system.ext4.win'

Done processing script file

---------- Post added at 09:44 PM ---------- Previous post was at 09:21 PM ----------

These are last few lines of the recovery.log:

==> tar_extract_regfile(t=0x40310c18, realname="/system//app/HwFloatTasks.odex")

==> extracting: /system//app/HwFloatTasks.odex (file size 68640 bytes)

### done extracting /system//app/HwFloatTasks.odex

==> setting perms: /system//app/HwFloatTasks.odex (mode 100644, uid 0, gid 0)

Restoring SELinux context u:object_r:unlabeled:s0 to file /system//app/HwFloatTasks.odex

tar_extract_all(): calling th_get_pathname()

tar_extract_all(): calling tar_extract_file(t, "/system//app/HwLauncher6.apk")

item name: '/app/HwLauncher6.apk'

reg

==> tar_extract_regfile(t=0x40310c18, realname="/system//app/HwLauncher6.apk")

==> extracting: /system//app/HwLauncher6.apk (file size 1917475 bytes)

open(): Permission denied

FAILED RESTORE OF FILE i: /system//app/HwLauncher6.apk

E:Unable to extract tar archive 'emmc/TWRP/BACKUPS/0000000000000000/2014-10-16--13-55-44 P7-L10V100R001C00B133SP01//system.ext4.win'

I:extractTarFork() process ended with ERROR=255

I:Failed to reset capabilities of /system/bin/run-as binary.

Done processing script file

I:Console stopping

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:TWFunc::Set_Brightness: Setting brightness control to 5

I:TWFunc::Set_Brightness: Setting brightness control to 0

(END)

Looks like the problem is with permissions.

Can someone help?