Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By PapaGary
  1. Thread Author  Thread Author    #1  
    errsta's Avatar

    Posts
    5 Posts
    Global Posts
    55 Global Posts

    Default 4.4.3 OTA was screwing the pooch...

    Phone (XT1053; GSM, Developer Edition; Rooted) kept insisting that I install the update, install kept crapping out. "Status 7", "ro.build.product", etc. etc. Tried updating recovery, tried switching from philz to cwm to twrp to stock. No go.

    Any who...unzipped the OTA zip file (Blur_Version.161.44.25.ghost_row.Retail.en.US.zip) and grepped for "ro.build.product".

    Found the updater-script file META-INF/com/google/android/updater-script and deleted some lines in vi:

    Code:
    mount("ext4", "EMMC", "system", "/system");
    file_getprop("/system/build.prop", "ro.build.fingerprint") == "motorola/ghost_retail/ghost:4.4.2/KXA20.16-1.25/31:user/release-keys" ||
        file_getprop("/system/build.prop", "ro.build.fingerprint") == "motorola/ghost_retail/ghost:4.4.3/KXA21.12-L1.21/23:user/release-keys" ||
        abort("Package expects build fingerprint of motorola/ghost_retail/ghost:4.4.2/KXA20.16-1.25/31:user/release-keys or motorola/ghost_retail/ghost:4.4.3/KXA21.12-L1.21/23:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
    assert(getprop("ro.product.device") == "ghost" ||
           getprop("ro.build.product") == "ghost" ||
           getprop("ro.product.device") == "ghost" ||
           getprop("ro.build.product") == "ghost");
    ui_print("Verifying current system...");
    show_progress(0.100000,0);
    apply_patch_check("/system/app/3c_main.apk", "3f90ee31a5052364f49ce15bdceab7c1ec4c27c1", "bcc237a61ea4e7557cb17461370abe381150d780") || abort("\"/system/app/3c_main.apk\" has unexpected contents.");
    set_progress(0.000612);
    apply_patch_check("/system/app/3c_main.odex", "02b5d474395d369f2b1382169623c1b5f1d081ec", "0b1df2625c85b73cc7bf3ac77a9115ec037e5343") || abort("\"/system/app/3c_main.odex\" has unexpected contents.");
    set_progress(0.002483);
    apply_patch_check("/system/app/AonInt.apk", "a39f248a4aaceb9e6f03f45117aec6952d435cd2", "cc681d3ed8d5566cdce85675890d35b663c7d4f8") || abort("\"/system/app/AonInt.apk\" has unexpected contents.");
    set_progress(0.002540);
    apply_patch_check("/system/app/AonInt.odex", "39a61d60f5515643e60483818575c8dacf628ef7", "c620493db414add5e86c45ea56e3b71cacacfd15") || abort("\"/system/app/AonInt.odex\" has unexpected contents.");
    set_progress(0.002591);
    deleted lines in bold, re-zipped, adb sideloaded, voila.

    Don't post here often..forgive if it's a well known, easy workaround. Hopefully it's helpful to someone.
    Last edited by errsta; 06-10-2014 at 12:50 AM.
  2. #2  
    UJ95x's Avatar

    Posts
    8,653 Posts
    Global Posts
    8,904 Global Posts
    ROM
    Slim Kat 4.4.4

    Default Re: 4.4.3 OTA was screwing the pooch...

    Quote Originally Posted by errsta View Post
    Phone kept insisting that I install the update, install kept crapping out. "Status 7", "ro.build.product", etc. etc. Tried updating recovery, tried switching from philz to cwm to twrp to stock. No go.

    Any who...unzipped the OTA zip file (Blur_Version.161.44.25.ghost_row.Retail.en.US.zip) and grepped for "ro.build.product".

    Found the updater-script file META-INF/com/google/android/updater-script and deleted some lines in vi:

    Code:
    mount("ext4", "EMMC", "system", "/system");
    file_getprop("/system/build.prop", "ro.build.fingerprint") == "motorola/ghost_retail/ghost:4.4.2/KXA20.16-1.25/31:user/release-keys" ||
        file_getprop("/system/build.prop", "ro.build.fingerprint") == "motorola/ghost_retail/ghost:4.4.3/KXA21.12-L1.21/23:user/release-keys" ||
        abort("Package expects build fingerprint of motorola/ghost_retail/ghost:4.4.2/KXA20.16-1.25/31:user/release-keys or motorola/ghost_retail/ghost:4.4.3/KXA21.12-L1.21/23:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
    assert(getprop("ro.product.device") == "ghost" ||
           getprop("ro.build.product") == "ghost" ||
           getprop("ro.product.device") == "ghost" ||
           getprop("ro.build.product") == "ghost");
    ui_print("Verifying current system...");
    show_progress(0.100000,0);
    apply_patch_check("/system/app/3c_main.apk", "3f90ee31a5052364f49ce15bdceab7c1ec4c27c1", "bcc237a61ea4e7557cb17461370abe381150d780") || abort("\"/system/app/3c_main.apk\" has unexpected contents.");
    set_progress(0.000612);
    apply_patch_check("/system/app/3c_main.odex", "02b5d474395d369f2b1382169623c1b5f1d081ec", "0b1df2625c85b73cc7bf3ac77a9115ec037e5343") || abort("\"/system/app/3c_main.odex\" has unexpected contents.");
    set_progress(0.002483);
    apply_patch_check("/system/app/AonInt.apk", "a39f248a4aaceb9e6f03f45117aec6952d435cd2", "cc681d3ed8d5566cdce85675890d35b663c7d4f8") || abort("\"/system/app/AonInt.apk\" has unexpected contents.");
    set_progress(0.002540);
    apply_patch_check("/system/app/AonInt.odex", "39a61d60f5515643e60483818575c8dacf628ef7", "c620493db414add5e86c45ea56e3b71cacacfd15") || abort("\"/system/app/AonInt.odex\" has unexpected contents.");
    set_progress(0.002591);
    deleted lines in bold, re-zipped, adb sideloaded, voila.

    Don't post here often..forgive if it's a well known, easy workaround. Hopefully it's helpful to someone.
    Thanks for posting the solution
    Don't think I've seen this issue here yet, but I'll link your thread if I see another.
    "We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology." - Carl Sagan
  3. Thread Author  Thread Author    #3  
    errsta's Avatar

    Posts
    5 Posts
    Global Posts
    55 Global Posts

    Default Re: 4.4.3 OTA was screwing the pooch...

    Quote Originally Posted by UJ95x View Post
    Thanks for posting the solution
    Don't think I've seen this issue here yet, but I'll link your thread if I see another.
    Found a bunch of related issues with nexus devices (e.g.,androidhackz.blogspot.com/2013/11/android-44-ota-update-gives-status-7.html) and the one I found for Moto X suggested Odin flash...thought I'd poke around, find, and tinker with the update script instead. Thank goodness it worked.
  4. #4  

    Default Re: 4.4.3 OTA was screwing the pooch...

    Were you fully stock before the update?

    Posted via Android Central App
  5. Thread Author  Thread Author    #5  
    errsta's Avatar

    Posts
    5 Posts
    Global Posts
    55 Global Posts

    Default Re: 4.4.3 OTA was screwing the pooch...

    Quote Originally Posted by ShoelerDroid View Post
    Were you fully stock before the update?

    Posted via Android Central App
    Mostly stock. I was using the stock 4.4.2 - only changes: unlocked, custom recovery, rooted...aside from that, I had converted Cerberus to a system app via (Titanium Backup). While trying to get the update to take, I undid everything except re-locked the phone.
  6. #6  
    cliberti's Avatar

    Posts
    85 Posts
    Global Posts
    94 Global Posts

    Default Re: 4.4.3 OTA was screwing the pooch...

    Odd. Mine updated fine, but I was 100% stock except for the bootloader unlock.
  7. #7  

    Default Re: 4.4.3 OTA was screwing the pooch...

    Quote Originally Posted by cliberti View Post
    Odd. Mine updated fine, but I was 100% stock except for the bootloader unlock.
    Same here. It took ART longer to optimize my aps than it did to download 4.4.3. My pooch remains unscrewed.
    It's my immaturity that keeps me young.
    errsta likes this.
  8. Thread Author  Thread Author    #8  
    errsta's Avatar

    Posts
    5 Posts
    Global Posts
    55 Global Posts

    Default Re: 4.4.3 OTA was screwing the pooch...

    Quote Originally Posted by PapaGary View Post
    My pooch remains unscrewed.

Similar Threads

  1. contact pictures in the sms application
    By MNR in forum AT&T HTC One
    Replies: 2
    Last Post: 07-23-2014, 04:10 PM

Posting Permissions