[Q] Need help - missing "Currents" apk kills 4.2.2 update - Nexus 7 Q&A, Help & Troubleshooting

The 4.2.2 update appears to fail on my rooted, (mostly) stock Nexus 7 because I uninstalled the stock Google "Currents" app. CWM 6.0.2.3 log sez:
Code:
-- Installing: /sdcard/0/6ece895ecb23.signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip
Finding update package...
I:Update location: /sdcard/0/6ece895ecb23.signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip
I:using /data/media for /sdcard/0/6ece895ecb23.signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip.
Opening update package...
Installing update...
Verifying current system...
[COLOR="Red"]failed to stat "/system/app/Currents.apk": No such file or directory
file "/system/app/Currents.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/Currents.apk", "e6b6f619c7c388550701e8a7a52e7ef0d18be472", "9bf1cee916cf9a3d5dc1ab33031acc70bf51016a")
assert failed: apply_patch_check("/system/app/Currents.apk", "e6b6f619c7c388550701e8a7a52e7ef0d18be472", "9bf1cee916cf9a3d5dc1ab33031acc70bf51016a")[/COLOR]
E:Error in /sdcard/0/6ece895ecb23.signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip
(Status 7)
Installation aborted.
I:Can't partition non-vfat: datamedia
I:Can't format unknown volume: /external_sd
I:Can't format unknown volume: /emmc
I:using /data/media for /sdcard.
So, I reinstalled "Currents" from the Play store, didn't help. Used Ti Backup to turn it into a system app, didn't help. Based on poking about in system/app it looks like I need to return 4.1.1 "Currents.apk" and "Currents.odex" to system/app. Is there an easy way to get those two files? Unfortunately (mea culpa, mea maxima culpa) I don't have any sort of backup I can pull them from.
Edited to add: When I said (mostly) stock, it IS stock except for deleting Currents; other than root & CWM, I've made no other mods (to the best of my recollection, anyway ...)

Hi,
I had the same problem when I tried to update my rooted Nexus 7 3G OTA it always said "assert failed: apply_patch_check("/system/app/Currents.apk, .." and aborted the process.
The problem was obviously because I deinstalled Currents with RootAppDelete but I found a workaround which may help you too.
- Install Currents again form the PlayStore.
- Pick a File Manager and go to /data/app/ and find the apk-file of Currents (com.google.android.apps.currents)
- put this file in /system/app/ and rename it to "Currents.apk". I also set the permissions to rw-r--r-- like the other apks but I don't know if this is necessary (it's easy to change them with e.g. ES File Explorer)
- protect your root (rootkeeper) and start the update again :fingers-crossed:
This does the trick for me, I kept all my data and my root permissions.

Related

Update Problem (different than the others)

Before anyone freaks on me asking for help i have tried all the other fixes and they dont work for my problem.
i havent deleted any apps, im rooted, i havent manually changed any files other than build.prop and i have already converted it back to original.
i HAVE had to resort to the chinese update to fix a problem from borked ubuntu install.
and here is a copy of the last part of my last_log
Code:
...
E: /dev/block/mmcblk1 does exist
Finding update package...
I:Update location: /cache/acer_ug/update.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is q690 bytes; signature 1672 bytes from end
I:whole-file signature verified
::verify_file returned 0
Installing update...
Verifying current system...
contents of partition "/dev/block/mmcblk0p2" didn't match EMMC:/dev/block/mmcblk0p2:3094528:############################################################# file "EMMC:/dev/block/mmcblk0p2:3094528:#############################################################" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("EMMC:/dev/block/mmcblk0p2:3094528:#############################################################")
assert failed: apply_patch_check("EMMC:/dev/block/mmcblk0p2:3094528:#############################################################")
E:Error in /cache/acer_ug/update.zip
(status 7)
Installation aborted.
just for ease of retyping i replaced the long list of numbers/alpha with ### each instance is the same identical numbers on my log though.
after it tries to install the update i get the triangle and then reboots to the way it was prior.
Your boot partition / kernel (/dev/block/mmcblk0p2) doesn't match what the update expects. Have you by any chance flashed the chinese update before?
adancau said:
Your boot partition / kernel (/dev/block/mmcblk0p2) doesn't match what the update expects. Have you by any chance flashed the chinese update before?
Click to expand...
Click to collapse
Before anyone freaks on me asking for help i have tried all the other fixes and they dont work for my problem.
i havent deleted any apps, im rooted, i havent manually changed any files other than build.prop and i have already converted it back to original.
i HAVE had to resort to the chinese update to fix a problem from borked ubuntu install.
and here is a copy of the last part of my last_log
[log]
after it tries to install the update i get the triangle and then reboots to the way it was prior.
Click to expand...
Click to collapse
10char..........
n1nj4dude said:
i HAVE had to resort to the chinese update to fix a problem from borked ubuntu install.
Click to expand...
Click to collapse
Then use the fix given in the Chinese update.zip thread!
working on it... its not exactly plain english for those of us new to the whole android thing.
thanks....

Problem update 4.2.2

Hi,
I'm noob and english isn't my native language so sorry for the mistakes or others.
I've a problem with the update 4.2.2.
I have to erase the data of "Google services framework" and close it.
Then I download the update and I have to reboot the n4 for installing the update.
I do this and after the reboot I have this message in TWRP custom recovery:
Updating partition details...
E: Invalid command argument
Installing zip file /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D
Installing /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D.de8b8d10.
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Verifying current system...
assert failed: apply_patch_check ("/system/app/EmailGoogle.apk", "78e52c8
E:Error in /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D.de8b8d10.z
(status 7)
E:Error installing zip file '/cache/de8b8d101614.signed-occam-JDQ39-from
Can you say me how fix this problem.
I would like to have all stock but just rooted.
Thanks a lot & sorry for my bad english.
Replace the EmailGoogle.apk that's missing
The message is telling you that it can't find the Gmail app, likely because you deleted it. Put it back (reinstall) and try again.
Gakino said:
Hi,
I'm noob and english isn't my native language so sorry for the mistakes or others.
I've a problem with the update 4.2.2.
I have to erase the data of "Google services framework" and close it.
Then I download the update and I have to reboot the n4 for installing the update.
I do this and after the reboot I have this message in TWRP custom recovery:
Updating partition details...
E: Invalid command argument
Installing zip file /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D
Installing /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D.de8b8d10.
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Verifying current system...
assert failed: apply_patch_check ("/system/app/EmailGoogle.apk", "78e52c8
E:Error in /cache/de8b8d101614.signed-occam-JDQ39-from-JOP40D.de8b8d10.z
(status 7)
E:Error installing zip file '/cache/de8b8d101614.signed-occam-JDQ39-from
Can you say me how fix this problem.
I would like to have all stock but just rooted.
Thanks a lot & sorry for my bad english.
Click to expand...
Click to collapse
Look here http://forum.xda-developers.com/showthread.php?p=38027589
[INFO] Nexus OTA Helpdesk.
Verstuurd van mijn Nexus 4 met Tapatalk
I didn't uninstall Gmail (i use it) but another app named Email.
I can't find it on the playstore.
Thans for answers
I think they're referring to the GAPPS package that includes all the Google apps
Sent from my Nexus 4 using Tapatalk 2
Your phone has to be stock for the OTA update to work.
Stock recovery, kernel, etc. Your phone can be rooted, but you can't have any modified (including removed) system files.
You could just download the factory image yourself and flash the parts separately.
or you can just flash any of the stock/rooted roms available here on xda

Sideload MJ9 OTA

I have the following error when I'm sideloading the latest update:
assert failed: apply_patch_check("/system/app/ChatONV_J.apk". "d519fd05ad1b027f5908dff49bd9550e53ba176c". "ad82abd184e9ca1f020f839a15ab80f7fcf836d")
E:Error in /tmp/update.zip
(Status 7)
I was missing the ChatONV_J.apk file in the /system/app folder. So I extracted it from the MF3 ODIN file and added it back in and made sure it had the same permissions as the rest of the apps. I'm still getting the above error.
Any help would be appreciated!

[Q]OTA Failed 4.4 to 4.4.2 system/fonts/Roboto-Bold.ttf" has unexpected contents

Hello all developers and Nexus Fans,
I am current uesing stock 4.4 nexus, and yesterday I received the 4.4.2 ota. However, after downloading it, the OTA installation just failed.
I am not sure which patch or app made it fail, would any kindly fans can give me a hint so that I can update to 4.4.2?
Here are the mod and app I've installed on my 4.4 stock:
0. Franco's Kernel R198
1. rooted
2. TWRP recovery
3. center clock | battery | mod
4. multi-rom
5. xopsed frame
6. custom font via recovery zip
7. gravity box
8. busy box
I have stoped and uninstalled xposed framework also re-flashed the stock font(http://forum.xda-developers.com/showthread.php?t=2513985).
Still cannot install the ota...
log from TWRP is here
Installing '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Verifying current system...
file "/system/fonts/Roboto-Bold.ttf" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/fonts/Roboto-Bold.ttf" has unexpected contents.
"/system/fonts/Roboto-Bold.ttf" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Error flashing zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Injecting boot.img with MultiROM...
Extracting boot image...
rm: can't remove '/tmp/boot': No such file or directory
Decompressing ramdisk...
Ramdisk uses GZIP compression
1924 blocks
No need to inject bootimg, it has the newest trampoline (v9)
Any suggestions?
noidtrue said:
Hello all developers and Nexus Fans,
I am current uesing stock 4.4 nexus, and yesterday I received the 4.4.2 ota. However, after downloading it, the OTA installation just failed.
I am not sure which patch or app made it fail, would any kindly fans can give me a hint so that I can update to 4.4.2?
Here are the mod and app I've installed on my 4.4 stock:
0. Franco's Kernel R198
1. rooted
2. TWRP recovery
3. center clock | battery | mod
4. multi-rom
5. xopsed frame
6. custom font via recovery zip
7. gravity box
8. busy box
I have stoped and uninstalled xposed framework also re-flashed the stock font(http://forum.xda-developers.com/showthread.php?t=2513985).
Still cannot install the ota...
log from TWRP is here
Installing '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Verifying current system...
file "/system/fonts/Roboto-Bold.ttf" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/fonts/Roboto-Bold.ttf" has unexpected contents.
"/system/fonts/Roboto-Bold.ttf" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Error flashing zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Injecting boot.img with MultiROM...
Extracting boot image...
rm: can't remove '/tmp/boot': No such file or directory
Decompressing ramdisk...
Ramdisk uses GZIP compression
1924 blocks
No need to inject bootimg, it has the newest trampoline (v9)
Any suggestions?
Click to expand...
Click to collapse
Actually, pretty much everything made it fail. Your best bet would be to reflash KRT16S (or KOT49H) factory image.
Lt.Win said:
Actually, pretty much everything made it fail. Your best bet would be to reflash KRT16S (or KOT49H) factory image.
Click to expand...
Click to collapse
That is what I don't want to do...:crying:
noidtrue said:
Hello all developers and Nexus Fans,
I am current uesing stock 4.4 nexus, and yesterday I received the 4.4.2 ota. However, after downloading it, the OTA installation just failed.
I am not sure which patch or app made it fail, would any kindly fans can give me a hint so that I can update to 4.4.2?
Here are the mod and app I've installed on my 4.4 stock:
0. Franco's Kernel R198
1. rooted
2. TWRP recovery
3. center clock | battery | mod
4. multi-rom
5. xopsed frame
6. custom font via recovery zip
7. gravity box
8. busy box
I have stoped and uninstalled xposed framework also re-flashed the stock font(http://forum.xda-developers.com/showthread.php?t=2513985).
Still cannot install the ota...
log from TWRP is here
Installing '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Verifying current system...
file "/system/fonts/Roboto-Bold.ttf" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/fonts/Roboto-Bold.ttf" has unexpected contents.
"/system/fonts/Roboto-Bold.ttf" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Error flashing zip '/sdcard/Download/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'
Injecting boot.img with MultiROM...
Extracting boot image...
rm: can't remove '/tmp/boot': No such file or directory
Decompressing ramdisk...
Ramdisk uses GZIP compression
1924 blocks
No need to inject bootimg, it has the newest trampoline (v9)
Any suggestions?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2145848
Sent from my Nexus 4 using xda app-developers app
I'm having the same issue. Do we have any solution for this.?? Please help me in this case.
Sent from my Nexus 4 using xda app-developers app[/QUOTE]

Lineage Install fails with Error E1001: Failed to update system image, ERROR 7

Hi,
I am trying to install the latest Lineage version on my Samsung Nexus 10 via twrp, but so far it always immediately fails with
Error E1001: Failed to update system image.
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/lineage-17.1-20220318-UNOFFICIAL-manta.zip'
I tried wiping the entire system, cache and all and I tried both the adb push method and sideloading adb and they all produce the exact same error.
This is my first time doing this type of thing, so any help would be greatly appreciated.
P.S. I am currently running Windows 10, but could boot into a Linux Live Medium if that would be useful.
Edit: I was following this tutorial for the setup.
I'm facing exactly the same issue here with the installation of `lineage-17.1-20220919-UNOFFICIAL-manta.zip` file.
I'm currently on the latest original Google Android ROM flashed with `image-mantaray-lmy49j.zip` and want to update the system to the lineage OS as above.
I'm using TWRP v3.6.2_9.
What I did:
- uploaded `lineage-17.1-20220919-UNOFFICIAL-manta.zip` to `/sdcard` location;
- wiped out `dalvik-cache` and `cache` partitions;
- tried to install `lineage-17.1-20220919-UNOFFICIAL-manta.zip` as a single installation file;
Got this error. Here is an output from recovery.log:
Code:
Installing zip file '/sdcard/lineage-17.1-20220919-UNOFFICIAL-manta.zip'
Unmounting System...
I:Update binary zip
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
No path given to file labeling backend
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsTarget: google/mantaray/manta:5.1.1/LMY49J/2640980:user/release-keysTarget: google/mantaray/manta:5.1.1/LMY49J/2640980:user/release-keys
Extracted file "/tmp/install/bin/backuptool.functions"
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted 2 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 4 args
Backup/restore is not possible. Partition is probably empty
Patching system image unconditionally...
performing update
blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/4dd6bf24fbba9cc76c352f5c4cfaed0074be0244
535756800 bytes free on /cache (0 needed)
/cache/recovery/last_command doesn't exist.
erasing 3367 blocks
BLKDISCARD ioctl failed: Invalid argument
failed to execute command [erase 4,225950,228864,229947,230400]
new data receiver is still available after executing all commands.
Patching system image unconditionally...script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 7
I:Install took 0 second(s).
Error installing zip file '/sdcard/lineage-17.1-20220919-UNOFFICIAL-manta.zip'
Does anyone have any clue on what could be wrong here and why it fails?
unpack zip remove lines, then pack zip and try again. voilla
or utube eroor 7
I'd the same problem with twrp but does did successfully for version 16 installation. I tried the above listed way but failed again. Same thing happened even I unchecked the system in twrp before flashing again. Need expert to help fix the issue. Appreciate in advanced!
Cpluo said:
I'd the same problem with twrp but does did successfully for version 16 installation. I tried the above listed way but failed again. Same thing happened even I unchecked the system in twrp before flashing again. Need expert to help fix the issue. Appreciate in advanced!
Click to expand...
Click to collapse
Not enough space on /system. Resize the partition. After 17.1 is running for me. https://www.hovatek.com/forum/thread-32750.html
Thanks a lot Daniel! I will try your way.

Categories

Resources