Obsidian sync fails for files larger than 1 MB PDFs on Boox devices

Hi,

Disclaimer: I’ve had long conversations with Obsidian sync’s support team who did not manage to solve this issue and asked me to post a bug report on this forum.

Problem: Obsidian sync fails to download PDFs larger than 3-4MB to my Onyx Boox Note Air 3 C device. The download starts and is reported as successful by the sync log, but the PDF materializes as an empty 1.05MB file on my device. As a comparison, it works on my iphone and ipad, so it seems to be an android-related issue, specifically on boox devices.

Minimal reproducing test:

  1. state of my linux vault (left), iOS iPad vault (center) and android Boox vault (right) before adding PDFs to the ‘cooking’ folder:

  2. Here are the sync logs after adding 3 PDFs to the ‘cuisine’ directory on the linux vault (iOS left, android right):


  3. And finally here is the state of the PDF files on the iOS iPad (left) and android boox (right) filesystems:


As you can see, the small 1.2MB PDF synced properly, but both the 8.2MB and the 57.7MB PDFs did not get downloaded properly.

Here is the device metadata:

SYSTEM INFO:

Operating system: android 12 (QUALCOMM NoteAir3C)
Obsidian version: 1.4.16 (114)
API version: v1.4.16
Login status: logged in
Catalyst license: none

SYNC INFO:

Vault ID: (XXXX)
Host server: wss://sync-10.obsidian.md
Device name:
Allowed file types: image, pdf, video, audio, unsupported
Allowed special types: app, core-plugin, core-plugin-data
Ignored directories:
Prevent sleep: true

Thank you for your assistance!

Hello.

I wonder if the transfer crashes/goes out of memory without producing an error.

What’s the android webview version installed and can you update it?

Hey, I have that exact same problem (on the boox note air 3). Do you have any update / could you give me a link to the bug request?
@WhiteNoise if I can try anything to assist I’m happy to help. My air 3 usually has about 2gb of free ram. I do not see a webvIew version anywhere, I don’t see the Android System Webview app like on my phone.

Edit: Nevermind the link to the bug request, stupid me didn’t notice we were in it already.

Hi, I run into the same issue and it is really confusing… may I ask what is the link of the bug request you mention? thanks!

I saw this but not sure whose responsibility is this
https://www.reddit.com/r/Onyx_Boox/comments/17dr81x/autosync_cant_download_larger_files_20mb_on_note/

I don’t know now which bug request you are referring to. This thread is the bug report for Obsidian.

I’m struggling with 8mb and even 2mb. This is really weird though.

As I said before, if I can provide the Obsidian team with any info I’m happy to help!

Edit: I just tried syncing from the tablet to my pc, and it works fine in that direction. The problem is only syncing from another device to my tablet.

I confirm that this issue is still occurring as of May 2025, with the latest version of obsidian and boox firmware.

Claude Sonnet 4 suggestions, just plugging it here for potential future Obsidian devs:

The issue manifests as:

  • PDFs >3-4MB fail to sync to Boox devices (Note Air 3 C specifically)
  • Downloads appear successful in logs but result in corrupted 1.05MB files
  • Upload direction (tablet → PC) works fine
  • Other platforms (iOS, Linux) unaffected

This strongly suggests a memory allocation failure during WebView-mediated downloads on the Android subsystem, likely due to Boox’s customized Android implementation having tighter memory constraints or different WebView behavior.

Proposed Solutions

1. WebView Update/Replacement

First-line approach: Update Android System WebView if possible. Boox devices often ship with older WebView versions that have known memory handling issues. If unavailable through Play Store, consider sideloading a newer version.

EDIT: I’ve tried updating the android system webview (with great difficulty to override the native baked-in version from boox), to no avail.

2. Chunked Download Implementation

Obsidian should implement streaming/chunked downloads for files >2MB on Android:

// Pseudo-implementation
async function downloadLargeFile(url, threshold = 2 * 1024 * 1024) {
    if (fileSize > threshold && platform === 'android') {
        return downloadChunked(url, chunkSize = 512 * 1024);
    }
    return downloadDirect(url);
}

This prevents large memory allocations that trigger OOM conditions.

3. Memory Management Workarounds

  • Temporary file strategy: Download to device storage incrementally rather than holding entire file in memory
  • Background processing: Use Android’s DownloadManager API instead of WebView for large files
  • Progressive validation: Verify file integrity during download rather than post-completion

4. Device-Specific Detection

Implement Boox device detection and apply conservative memory limits:

const isBooxDevice = /QUALCOMM.*Air/.test(navigator.userAgent);
const maxSafeSize = isBooxDevice ? 2 * 1024 * 1024 : 50 * 1024 * 1024;

Root Cause Opinion

My assessment is that Boox’s Android implementation has reduced WebView heap limits compared to standard Android, causing silent memory exhaustion during large file downloads. The consistent 1.05MB file size suggests a specific buffer limit being hit.

The fix likely requires Obsidian implementing platform-specific download strategies rather than relying solely on WebView’s built-in capabilities.

ms047 - is there something that individual users can do? Or does it require Obsidian making a patch to fix this?

I have the same problem, but with some plugin’s main.js (QuickAdd, ExcaliDraw), which are over 5 and 7 Mb. In this case, after an update on another device, the file is synced to the Boox device, truncated to exactly 1024 bytes and immediately pushed back up to the sync server, thus corrupting it on all my other devices!!!

I checked my PDFs and at least those files are not being distributed to the other devices, otherwise this would have corrupted a lot of notes. And as it would have been discovered much later when accessing the notes, it would be too late to restore from a backup.

This is a really severe bug and I have forwarded this post together with my experience to the support technician I was in communicating with on my update issue.

I never managed to get it to work, and abandonned the idea of using obsidian sync to synchronize my data on my boox device. My guess is that boox has some agressive battery-saving protocols that abort ongoing long downloads. The obsidian team could work around it by chopping up all downloads into packets and keeping track of packet successful downloads rather than full files; which would probably come at a performance cost, so should only be enabled on devices running clunky unmature android forks like boox. I resorted to using drive for syncing my obsidian vault, allowing me to navigate the directory to find PDFs I want to annotate, using the boox native PDF editor (which is the only thing you can use to edit a PDF on a boox device, any 3rd party app has terrible performance issues).

PDF Notes not syncing from Neo Reader on Onyx Boox / isn’t working

Bug reports

syncpdfpdfs

Dinkame

32m

Steps to reproduce

  1. Open a PDF on a device
  2. Add notes and comments via Neo Reader on Onyx Boox
  3. Sync
  4. Notes don’t appear on other Obsidian devices

Did you follow the troubleshooting guide? [Y/N]

yes

Expected result

I expect to see the notes on all devices

Actual result

I see the notes only on Boox, they are not syncing to other devices

Environment

Onyx Boox

Additional information

Which obsidian sync subscription do you have and how big is the pdf file after the modification?

The cheapest one, the file is about 2MB.

What does the sync log says?

Are you sure the pdf file after modification does not becomes bigger than 5mb?

Dear Support, has anything moved since Dec 2024? May 2026 same issue, (large) pdf’s not synching with Boox device: download stalls at 1Mb. I bought myself the upgraded version but as is confirmed by this bug report the issue is elsewhere. Any chance this get resolved? Thanks.

SYSTEM INFO:
Obsidian version: 1.12.7 (303)
API version: 1.12.7
Operating system: Android 12 (ONYX NoteAir3C)
Webview version: 148.0.7778.120
Login status: logged in

Steps to reproduce

Steps to reproduce
On a BOOX Android device, prepare an MP3 file approximately 22.6 MiB in size and 25 minutes long.
Open the Android file manager and use the system Share function to send the MP3 to Obsidian.
Complete the import into an Obsidian vault.
Open the imported MP3 in Obsidian.
Compare its playback duration, file size, and binary contents with the original MP3.
Did you read and follow the Troubleshooting Guide? [Yes/No — select before submitting]
The related audio-duration problem has also been reproduced with community plugins disabled, using Obsidian’s default player.

Did you read and follow the Troubleshooting Guide ? [Yes]

Expected result

Obsidian should import the entire MP3 without modifying its binary contents.
Original file size: 23,725,673 bytes (22.63 MiB).
Original playback duration: 25:20.
The imported file should have identical bytes and SHA-256 hash.
The entire recording should remain playable and seekable.

Actual result

Obsidian creates a corrupted MP3 containing exactly 1,048,576 bytes (1 MiB).
Imported file size: 1,048,576 bytes.
Reported playback duration: approximately 1:11.
Most of the original recording is missing.
More importantly, binary comparison reveals a precise and reproducible corruption pattern.
The imported file contains only the original MP3’s final 1 MiB, but those bytes have been cyclically reordered.
Specifically:
Imported bytes 0–657000 are identical to original bytes 23068672–23725672 (the final 657,001 bytes).
Imported bytes 657001–1048575 are identical to original bytes 22677097–23068671 (the preceding 391,575 bytes).
These two segments account for the entire 1,048,576-byte output, with exact byte-for-byte matches.
In other words, the imported file is not simply the first 1 MiB of the original MP3. It contains the last 1 MiB, rotated at a 1 MiB-aligned boundary.
This strongly suggests a possible issue involving chunked I/O, buffer management, or file-position handling. The precise responsible component remains unknown.
SHA-256 verification
Original MP3:
3df74a8c64f4b9dca4c93654b40903d4c218aae412828548d884516e12227cb3
Imported MP3:
fb87c5b792993018b292c1744e7e8f61b50eea611f1ab9d37b495bda1cf17ba2

Environment

Environment
Two BOOX devices have exhibited related Obsidian audio-playback problems.
BOOX Go 10.3
Obsidian: 1.14.4 (389)
Android: 12
Android System WebView: 146.0.7680.178
BOOX Palma 2
Obsidian: 1.13.8 (367)
Android: 13
Android System WebView: 148.0.7778.215
Device used for the Share-to-Obsidian corruption reproduction: [Specify Go 10.3 or Palma 2]
Obsidian installation method: [Confirm Google Play or another officially supported source]
For comparison, another Android device running Android 16, WebView 155.0.8059.46, and Obsidian 1.14.4 (389) plays the original MP3 correctly.


Additional information

  1. Potentially related BOOX file-corruption reportsAn earlier Obsidian Forum discussion describes large binary files being truncated on BOOX devices:https://forum.obsidian.md/t/obsidian-sync-fails-for-medium-size-pdfs-on-boox-devices/76301Several users reported incomplete PDF or plugin files, sometimes with resulting sizes around 1.05 MB.This is particularly interesting because the corrupted MP3 in my case is exactly 1 MiB (1,048,576 bytes).However, the earlier reports concern Obsidian Sync, whereas my reproduction uses the Android Share function. I cannot establish that they have the same underlying cause.2. Related audio-duration failuresOn both BOOX devices, Obsidian sometimes reports only approximately 1–1.5 minutes for MP3 recordings that are actually 17–25 minutes long.The problem also occurs with Obsidian’s default audio player when community plugins are disabled.Additional experiments found:The original MP3s play correctly in native Android audio players.An independent HTML5 WebView player can display the full duration and seek correctly.A 25-minute MP3 compressed to 24 kbps (approximately 4.x MB) plays correctly in Obsidian.The same recording encoded at 32 kbps (approximately 5.7 MB) fails.Higher-bitrate versions also fail.These observations suggest possible file-size-dependent behavior, but do not establish that the playback problem and the Share-to-Obsidian file corruption have the same root cause.A separate Obsidian Android report describes similar incorrect MP3 durations:https://forum.obsidian.md/t/obsidian-notes-show-incorrect-and-inconsistent-durations-for-mp3-attachments/1014483. Why I suspect a binary I/O issueThe exact 1 MiB output size, combined with the cyclically reordered original bytes, is difficult to explain as an audio codec, MP3 metadata, or subtitle synchronization problem.It appears that actual binary data was lost or rearranged during the import process.Potential points of failure include:Reading the shared Android content:// resource.Capacitor or Obsidian’s binary file-handling layer.BOOX-specific Android storage or content-provider behavior.Buffering or chunk-boundary handling.I am not claiming that any one of these has been confirmed.I would appreciate it if the developers could investigate the Android file-import path, especially how binary streams larger than 1 MiB are read and written on BOOX devices.I can provide both the original and corrupted MP3 files for further investigation, subject to file-sharing permissions.