1. tgp1994's Avatar
    I have a OnePlus 6T phone with stock Oxygen OS 9.0.17, rooted with Magisk and running the Xposed framework.

    At some point, my phone stopped being able to update larger apps (Fallout Shelter, and 1+'s Gallery app for example). There will be a notification saying that the update failed, and to try again later. In ADB, I see the following output just as the error occurs:

    10-19 14:54:30.720: I/Finsky:download_service(30305): [8569] mgh.a(12): enqueue(request_id=1594, files_to_download=1, context[group_id=com.oneplus.gallery], display_data[invisible=false, title=Additional file for OnePlus Gallery], network_restrictions=4)
    10-19 14:54:30.723: E/Finsky:download_service(30305): [8569] mfj.a(72): Failed to create downloadStatus files.
    10-19 14:54:30.723: E/Finsky:download_service(30305): java.io.IOException: No such file or directory
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.io.UnixFileSystem.createFileExclusively0(Native Method)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:281)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.io.File.createNewFile(File.java:1345)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at mfj.a(PG:36)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at mgh.a(PG:19)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at srw.a(PG:6)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at bdgj.b(PG:2)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at bdbs.a(PG:5)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at bdbw.a(PG:3)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at bcug.run(PG:2)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at bdbq.run(PG:2)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    10-19 14:54:30.723: E/Finsky:download_service(30305): at java.lang.Thread.run(Thread.java:764)
    10-19 14:54:30.736: I/chatty(26189): uid=10216(com.android.vending) Binder:26189_4 identical 1 line
    10-19 14:54:30.737: I/Finsky:download_service(30305): [8557] mgh.h(20): onRemove(request_id=1593, files_to_download=1, group_id=com.oneplus.gallery, display_data[invisible=false, title=OnePlus Gallery], network_restrictions=4, status=succeeded, bytes_downloaded=89009779, retry[count=0, next_retry=n/a])
    10-19 14:54:30.737: I/chatty(26189): uid=10216(com.android.vending) Binder:26189_4 identical 1 line
    10-19 14:54:30.739: W/Finsky(26189): [2] qld.k(1): IT: Cleanup running installation of com.oneplus.gallery (..obb_main)
    10-19 14:54:30.740: I/Finsky(26189): [8442] mnz.d(1): getDownloads()
    10-19 14:54:30.740: I/chatty(26189): uid=10216(com.android.vending) LightweightExec identical 2 lines
    10-19 14:54:30.740: W/Finsky(26189): [8550] mea.run(5): Exception while deleting file:///storage/emulated/0/Android/data/com.android.vending/files/installer/-820748809/1603144449211: java.lang.IllegalArgumentException: Unknown URL file:///storage/emulated/0/Android/data/com.android.vending/files/installer/-820748809/1603144449211
    10-19 14:54:30.740: I/Finsky(26189): [8442] qiv.run(12): IT: Running resource fetching of ..obb_main canceled.
    10-19 14:54:30.740: I/chatty(30305): uid=10216(com.android.vending) Binder:30305_3 identical 1 line
    10-19 14:54:30.741: I/Finsky:download_service(30305): [8569] mgh.c(1): getDownloads().
    10-19 14:54:30.742: I/Finsky(26189): [2] qih.S(1): Installer: stopping tracking of task: com.oneplus.gallery
    10-19 14:54:30.743: I/chatty(26189): uid=10216(com.android.vending) Binder:26189_4 identical 1 line
    10-19 14:54:30.743: I/Finsky(26189): [2] qih.S(1): Installer: stopping tracking of task: com.oneplus.gallery
    10-19 14:54:30.744: I/Finsky(26189): [2] qih.I(12): Installer: Notifying status update. package=com.oneplus.gallery, status=DOWNLOAD_ERROR
    10-19 14:54:30.753: I/Finsky(26189): [2] vwq.a(25): Showing notification: [ID=com.oneplus.gallery, Tag=null, Title=Can't update OnePlus Gallery, Message=Try again, and if it still doesn't work, <a href="https://support.google.com/googleplay/?p=fix_download_install&hl=en&error=7&ctx=com.oneplus.gallery&isid=mzdWd4F0SBerR2nQib2wUA">see common ways to fix the problem </a>, channelId=security-and-errors, targetType=1, returnCode=4, uiElementType=930]
    (Full log of update session attached)
    updateerror.zip

    As far as I can tell, it's failing to create a "downloadStatus" file due to no such file or directory, but I have no idea what the details of that error are. I can verify that the data is being downloaded to a temporary directory and the directory exists, but that's as far as I can go with my troubleshooting. I'd like to be able to solve this problem without doing a full system reinstall, can anyone offer any advice for how I can further troubleshoot this?

    Thanks in advance!
    10-19-2020 05:19 PM
  2. Rukbat's Avatar
    Are you sure you have sufficient free space in the storage/emulated partition (that's where downloads go) for the file? (Use a terminal emulator and issue

    df

    to see. The emulated or sd card partition is the one you're downloading to.)

    It looks as if it's failing right at the top of the dump you pasted - download_service is failing as soon as it starts. That's usually due to no free space.
    10-20-2020 12:27 PM
  3. tgp1994's Avatar
    Hi Rukbat,

    I can confirm that /storage/emulated is at 36% capacity right now. I also verified that I was able to copy a file to the destination data folder that it was using to download to. I meant to attach a full log of my adb session during the update, I'll try to reupload it in case that's any help.

    Edit: Uploaded, please see my OP for the attachment.
    10-20-2020 04:46 PM
  4. mustang7757's Avatar
    [Moved this to 1+6 Forums ]
    10-20-2020 07:49 PM
  5. mustang7757's Avatar
    If you go to play store ,then settings at the bottom your play protect certification say "Device is Certified " ?
    10-20-2020 07:52 PM
  6. tgp1994's Avatar
    If you go to play store ,then settings at the bottom your play protect certification say "Device is Certified " ?
    My device shows as not certified. I tried looking into why Magisk wasn't hiding properly and started going down this long rabbit hole of all of these mods I needed to install and tweaks to make, so I gave up since I was only trying to get the Netflix app to run properly. Just out of curiosity, why would failing SafetyNet cause file I/O errors during larger app downloads? (FWIW I have Magisk 20.4)
    10-20-2020 09:39 PM
  7. mustang7757's Avatar
    My device shows as not certified. I tried looking into why Magisk wasn't hiding properly and started going down this long rabbit hole of all of these mods I needed to install and tweaks to make, so I gave up since I was only trying to get the Netflix app to run properly. Just out of curiosity, why would failing SafetyNet cause file I/O errors during larger app downloads? (FWIW I have Magisk 20.4)
    Not being certified will cause app compatibility issue and even being downloaded, I don't know if there a work around for this but best to ask the guys at xda forums .
    10-20-2020 09:47 PM
  8. mustang7757's Avatar
    This happens when you root, unlock bootloader,magisk,twrp breaks safety net for being trusted device ...so see if anyone has a workaround
    10-20-2020 09:56 PM
  9. tgp1994's Avatar
    Message posted, thank you for your help mustang. I have a bad feeling I may be looking at a system reflash here, but fingers crossed that it may only be a few commands I need to run.
    mustang7757 likes this.
    10-20-2020 10:11 PM
  10. mustang7757's Avatar
    Message posted, thank you for your help mustang. I have a bad feeling I may be looking at a system reflash here, but fingers crossed that it may only be a few commands I need to run.
    Your welcome !
    Yeah see if you can get more info from xda , if not I can ask around see what I can come up with .
    10-20-2020 10:14 PM
  11. mustang7757's Avatar
    See if this works
    Open Magisk enable Magisk Hide and check (put a tick) on PlayStore. Then clear app data for PlayStore.
    10-20-2020 10:30 PM

Similar Threads

  1. Why is my S20 Ultra camera not on the level ?
    By Android Central Question in forum Samsung Galaxy S20 & S20+ & S20 Ultra
    Replies: 11
    Last Post: 10-27-2020, 07:35 AM
  2. Replies: 3
    Last Post: 10-19-2020, 08:10 PM
  3. Replies: 1
    Last Post: 10-19-2020, 02:54 PM
  4. Why is my S20 Ultra camera not on the level ?
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 10-19-2020, 12:12 PM
  5. USB-C to 3.5 mm adapter/charger
    By hal1 in forum Google Pixel 2 & Pixel 2 XL
    Replies: 13
    Last Post: 11-26-2017, 01:28 PM
LINK TO POST COPIED TO CLIPBOARD