I once looked into building an app which piggybacked on CoMaps/OSMAnd's data (saving the user from having two copies of their maps, and me from having to duplicate the UI to manage them), but found that in modern Android it was basically impossible for even the user to access data/files that "belong" to an app, without rooting the device.
it depends on what you want to do. in my case I only want disk swap to be used for hibernation. I calibrated the system to make do with the very generous zram compression ratio of 3 and if it doesn't work out a userspace OOM killer will fix it. zswap will be polluting your SSD all the time.
Article: In October, Parias was leaving his home and driving down the street when federal agents — including from ICE and the U.S. Marshals Service — used their vehicles to box him in, according to the criminal complaint.
Body-worn camera footage captures the ICE officer approaching Parias’ passenger side door and almost immediately stating that he’s going to “break the window.” As the officer smashes the window, the car begins to rev, later sending smoke billowing into the air. The officer pulls out his gun soon afterward, holding it in one hand as he smashes the window at the same time with the other.
The complaint alleged that when the rear of the car began to “fishtail,” it “caused the agents to fear that PARIAS may lose control of the Camry and hit them.” A Homeland Security Investigations agent wrote that Parias’ acceleration of the Camry “caused debris (likely rubber being shed from the tires themselves) to fly into the air, which struck some of the agents.”
reply