Official Moto X Stagefright Patched Libs!

mastarifla

Senior Member
Oct 3, 2010
485
293
0
Dallas, TX
I'm glad you guys have been able to flash the update :)

I'll try to compile all the necessary steps and post in a new thread to help more people out, as this thread was mainly for the Stagefright libraries etc.
 

aysiu

Senior Member
Feb 26, 2011
58
9
0
TBH, I'm leery of downloading a ROM from any source that isn't Motorola. Especially since the entire point of this patch is to fix a major security hole.
I get where you're coming from, except that the build straight from Motorola doesn't accept Motorola's own OTA (which, presumably comes with some kind of security or hash verification process), but the one mastarifla linked to does accept Motorola's OTA.
 

ohmimpotence

Senior Member
Feb 27, 2013
88
5
0
I just tried, the process only works with the "external" firmware and with these commands (for me):

Code:
./mfastboot erase cache
./mfastboot erase userdata
./mfastboot flash partition gpt.bin
./mfastboot flash motoboot motoboot.img
./mfastboot flash logo logo.bin
./mfastboot flash boot boot.img
./mfastboot flash recovery recovery.img
./mfastboot flash system system.img
./mfastboot flash modem NON-HLOS.bin
./mfastboot erase modemst1
./mfastboot erase modemst2
./mfastboot flash fsg fsg.mbn
./mfastboot erase customize
./mfastboot erase clogo
./mfastboot oem fb_mode_clear
Thank you! This is the route I had to take since RSDLite wasn't detecting on either Windows 7 or 8.1. I've had it detect in the past so not sure what was the issue, I was installing drivers and trying all sorts of different versions, running in admin mode, etc but nothing. I've performed the commands, booting up now then the rest of the process should just be installing the OTA, restoring twrp and userdata. We'll see.
 

snoopygum

Senior Member
Apr 9, 2011
53
14
0
I keep getting an unknown issue Google Play services error after attempting the patch.

I made sure I set the permission properly, cleared cache using TWRP, and cold rebooted.

Even after reverting back to the original files, set permission, clear cache & cold reboot reboot, the error remains.

Phone is Rogers Canada XT1058.

Any suggestion?
 

djibril13

Senior Member
Sep 27, 2011
307
27
48
I have a XT1052 02 DE version with unlocked bootloader and TWRP installed. If moto make the OTA available for my device I have to reflash stock recovery only or have to relock the bootloader as well ? Stage fright libraries from this thread are compatible with my device ?

Sent from my Nexus 7 using Tapatalk
 

mastarifla

Senior Member
Oct 3, 2010
485
293
0
Dallas, TX
I have a XT1052 02 DE version with unlocked bootloader and TWRP installed. If moto make the OTA available for my device I have to reflash stock recovery only or have to relock the bootloader as well ? Stage fright libraries from this thread are compatible with my device ?

Sent from my Nexus 7 using Tapatalk
You shouldn't have to re-lock the bootloader, but if you install these patched libraries you will have to go back to the full stock image if you want to take the OTA
 

djibril13

Senior Member
Sep 27, 2011
307
27
48
You shouldn't have to re-lock the bootloader, but if you install these patched libraries you will have to go back to the full stock image if you want to take the OTA
Stock recovery is the same for all moto 5.1 ROMs or it depends from the version eg retail - carrier version ?

Sent from my Nexus 7 using Tapatalk
 

mastarifla

Senior Member
Oct 3, 2010
485
293
0
Dallas, TX
Stock recovery is the same for all moto 5.1 ROMs or it depends from the version eg retail - carrier version ?

Sent from my Nexus 7 using Tapatalk
It depends on the version, because there could be a recovery image that is different for the XT1058 Brazil/Retail version rather than the XT1053 US/Retail version
 

hiratafabio

Senior Member
Feb 10, 2012
119
23
0
São Paulo
I have received the OTA file for my XT1058, but I don't want to go over the process of unrooting, applying the patch, rooting again, restoring and etc.

Will it work if I simply extract the files from it and replace the ones in system/lib?
 

hbenz2008

Senior Member
Jan 11, 2008
1,105
345
113
there is more to just fixing stagefright. I suggest just flash a fresh 5.1, take OTA, twrp,root,restore twrp backup

---------- Post added at 09:20 AM ---------- Previous post was at 09:14 AM ----------

had that same error, but after couple reboots,it cleared....some remnants of xposed or some root isht
 

hiratafabio

Senior Member
Feb 10, 2012
119
23
0
São Paulo
there is more to just fixing stagefright. I suggest just flash a fresh 5.1, take OTA, twrp,root,restore twrp backup

---------- Post added at 09:20 AM ---------- Previous post was at 09:14 AM ----------

had that same error, but after couple reboots,it cleared....some remnants of xposed or some root isht
That's what I imagined from the size of it, almost 70MB.

Thanks!