Showing posts with label XT1068. Show all posts
Showing posts with label XT1068. Show all posts

Thursday, 22 October 2015

How to install Stagefright fix on rooted XT1068



Hi,

so I'm having a little bit of a problem with my Moto G 2nd Gen. Dual SIM 2014 (XT1068). I got the notification for the Stagefright fix update a few days ago, but every time I try to install it the installer throws an error after the progress bar is at about 40%.

Now I've found the cause. In /cache/recovery/last_log it says that /system/bin/app_process32 has an unexpected SHA1 sum. The log:


Code:


Finding update package...
I:Update location: /cache/Blur_Version.22.26.1.titan_retde.retdeall.en.DE.zip
Opening update package...
I:read key e=3 hash=20
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1462 bytes; signature 1439 bytes from end
I:whole-file signature verified against RSA key 0
I:verify_file returned 0
Installing update...
installing gptupgrade updater extensions
file_contexts path is present in /tmp/file_contexts
mount point :/system location: /dev/block/platform/msm_sdcc.1/by-name/system , file system type :ext4Verifying current system...
file "/system/bin/app_process32" doesn't have any of expected sha1 sums; checking cache
file size of "/system/bin/app_process32" is 75364
sha1 of "/system/bin/app_process32" is f29d36738da21a7cef064326462d9d9e527ba121
 expected sha1 is: fb3a1cfd2e27dd648cb7ae44b9283147ce44c5f1
c0dd7831406b1e243282a46983d4440578600417
402935808 bytes free on /cache (75364 needed)
dumping bad file /system/bin/app_process32 to /cache/recovery/last_badfile
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/bin/app_process32" has unexpected contents.
"/system/bin/app_process32" has unexpected contents.
E:Error in /cache/Blur_Version.22.26.1.titan_retde.retdeall.en.DE.zip
(Status 7)

Installation aborted.
Installation aborted.
I:Saving locale "en_GB"
Rebooting...


The phone has an unlocked bootloader and was rooted with SuperSU but otherwise unmodified (I needed the root for the Sixaxis Controller). Some forum posts I found mentioned that the "Xposed Framework" is probably the cause, but I did not install that.

... I've found the original file in /system/bin/app_process32_original but system-recovery.sh also has a backup and was definitely modified by SuperSU

So I guess the question is: how can I install the Stagefright update without losing root?

System Version: 22.26.1.titan_retde.retdeall.en.DE retde
Update Version: 22.56.3.en.DE