├── EULA └── README.md /EULA: -------------------------------------------------------------------------------- 1 | End User License Agreement for Preload software 2 | 3 | Last updated: Sept 24, 2021. 4 | 5 | Please read this End User License Agreement ("EULA") before you download/use the software. 6 | Russian And English languages are the reference languages. 7 | 8 | *** Warning! *** 9 | This app may use ROOT access if granted by user in order to access data files restricted by OS. By using this app you agree with any possible risks of using this app. 10 | 11 | By downloading/using the software, you agree, without reservation, to be bound by the terms of this EULA. If you do not agree with the terms of this EULA, please do not download/use the software. 12 | If you are entering into this EULA agreement on behalf of a company or other legal entity, you represent that you have the authority to bind such entity and its affiliates to these terms and conditions. If you do not have such authority, do not use the software, and you must not accept this EULA agreement. 13 | 14 | This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. The terms also apply to any app updates, supplements, internet-based services, and support services for the software, unless other terms go with those items on delivery. If so, those terms apply. Author of the app shall always retain ownership of the software as originally downloaded by you and all subsequent downloads of the software by you. The software (and the copyright, and other intellectual property rights of whatever nature in the software, including any modifications made thereto) are and shall remain the property of app author. 15 | 16 | You are permitted to load this software on a device under your control. You are responsible for ensuring your device meets the minimum requirements of the this software. 17 | 18 | You are not permitted to: 19 | - Edit, alter, modify, adapt, translate or otherwise change the whole or any part of the software nor permit the whole or any part of the software to be combined with or become incorporated in any other software, nor decompile, disassemble or reverse engineer the software or attempt to do any such things. 20 | - Reproduce, copy, distribute, resell or otherwise use the software for any commercial purpose. 21 | - Allow any third party to use the software on behalf of or for the benefit of any third party. 22 | - Use the software in any way which breaches any applicable local, national or international law. 23 | - Use the software for any purpose that author of software considers is a breach of this EULA agreement 24 | - Claim that you wrote the original software. The origin of this software must not be misrepresented. 25 | - This notice may not be removed or altered from any distribution. 26 | 27 | DISCLAIMER: 28 | 29 | YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS, AND THAT YOUR USE OF OR RELIANCE UPON THE SOFTWARE AND ANY THIRD PARTY CONTENT AND SERVICES ACCESSED THEREBY IS AT YOUR SOLE RISK AND DISCRETION. THE LICENSOR AND ITS AFFILIATES, PARTNERS, SUPPLIERS AND LICENSORS HEREBY DISCLAIM ANY AND ALL REPRESENTATIONS, WARRANTIES AND GUARANTIES REGARDING THE SOFTWARE AND THIRD PARTY CONTENT AND SERVICES, WHETHER EXPRESS, IMPLIED OR STATUTORY, AND INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. FURTHERMORE, THE LICENSOR AND ITS AFFILIATES, PARTNERS, SUPPLIERS AND LICENSORS MAKE NO WARRANTY THAT (I) THE SOFTWARE OR THIRD PARTY CONTENT AND SERVICES WILL MEET YOUR REQUIREMENTS; (II) THE SOFTWARE OR THIRD PARTY CONTENT AND SERVICES WILL BE UNINTERRUPTED, ACCURATE, RELIABLE, TIMELY, SECURE OR ERROR-FREE; (III) THE QUALITY OF ANY PRODUCTS, SERVICES, INFORMATION OR OTHER MATERIAL ACCESSED OR OBTAINED BY YOU THROUGH THE SOFTWARE WILL BE AS REPRESENTED OR MEET YOUR EXPECTATIONS; OR (IV) ANY ERRORS IN THE SOFTWARE OR THIRD PARTY CONTENT AND SERVICES WILL BE CORRECTED. NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM THE LICENSOR OR FROM THE SOFTWARE SHALL CREATE ANY WARRANTY OR CONDITION NOT EXPRESSLY STATED IN THESE TERMS. 30 | 31 | Termination of this EULA agreement is possible and effective from the date you first use the software and shall continue until terminated. You may terminate it at any time upon written notice to software author. It will also terminate immediately if you fail to comply with any term of this EULA agreement. Upon such termination, the licenses granted by this EULA agreement will immediately terminate, and you agree to stop all access and use of the Software. 32 | 33 | The Licensor reserves the right, at its sole discretion, to modify or replace this agreement at any time. If a revision is material, we will provide at least 7 days notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion. 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Preload 2 | Please read this text before using the app. 3 | Preload application preloads data to RAM to increase read speeds. It works both with and without ROOT access. Recommended to use only on devices with 6+ GB RAM. App doesn't lock processes in RAM, files only. 4 | 5 | 6 | >> Without ROOT access the app will preload file data in RAM as cache ('readahead' method). The cache is kept while there is enough free RAM. Once the system needs more free RAM, it will free this cache. 7 | >> Without ROOT access: 8 | — You can preload user apps (for OS 10 and below), files and folders - read speeds will be boosted 9 | — You can't preload apps if you are on OS 11+ due to the system limitations 10 | — Preloaded data (cache) may be released by OS in a while (depends on amount of available RAM) 11 | — You don't need to care about unpreloading data - OS will handle it automatically 12 | — App's RAM indicator may show incorrect values due to the system quickly releasing cache 13 | — Possible restrictions due to OS permissions 14 | 15 | 16 | >> With ROOT access the app will preload files in RAM and lock them there ('mlock' method). All data will be kept in RAM and won't be freed, unless you press the 'Unpreload' button, uninstall the app or reboot the device. 17 | >> With ROOT access: 18 | — You can preload any user apps, files and folders on any supported OS version 19 | — Preloaded data will be kept in RAM as much long as you wish with boosted read speeds 20 | — You have to manually unpreload data if you want to free used RAM 21 | — Accurate app's RAM indicator 22 | — No possible OS permission restrictions 23 | — On supported kernels OOM score adjustment will be applied for preloaded app process 24 | — Possible risk of running out of memory. Don't overload RAM with preload data 25 | 26 | 27 | >> The indicator shows how much RAM is used/available for preload - measuring method depends on the ROOT access availability. 28 | >> While preloading apps, their cache is ignored. If obb or files folders of the app wouldn't fit in RAM, they will be skipped. Also avoid preloading files with special characters in names. 29 | >> You can't preload data that is bigger than available RAM. Also 10% of available RAM is reserved to avoid low RAM causes and stutters. 30 | >> Swipe left on an app to enable or disable its preloading on boot. 31 | 32 | # Use cases 33 | Preload is a tool. And the usage scenario of this app is totally up to you. It readaheads(warmups)/locks data files in RAM of read-only files to reduce I/O jitters and highly increases read speed AND also reduces power consumption of MMC/UFS memory (yes, it's minimal but still, the slower is the memory - the better is the result). Few examples of usage: 34 | - You're listening to music saved in internal memory. You can preload whole music folder (if enough RAM) and: 1) save battery due to no I/O with internal memory; 2) 0-delay playback/rewind due to read speed from RAM is ~10 times faster than from internal memory. Same applies to films/series to watch locally from internal memory. 35 | - You play game which has _.obb_ (or similar read only file) cache in internal memory. You can preload the file itself from file picker or select the game from the app's list. If you have enough RAM to keep the game process and store it's preloaded files, this will give you the same - a bit of powersaving due to no I/O with internal memory and high increase in read speeds (faster textures, cache, media loading). With use of _[FDE.AI](https://github.com/feravolt/FDE.AI-docs)_ app this process can be automized. 36 | - You use [Linux on Android](https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy) and install it internal memory as ~2GB _linux.img_ file. You preload it from file picker in app and you get your Linux on Android running as beast. 37 | - You use your Android as [NAS](https://en.wikipedia.org/wiki/Network-attached_storage) or [DLNA](https://en.wikipedia.org/wiki/Digital_Living_Network_Alliance). You can preload the most frequently accessed data files/media to increase the access speed for other users. 38 | 39 | # FAQ 40 | _— Why preloaded app is not locked in RAM and I can still close it from recents?_
41 | — Because Preload is not "lock process in RAM", it's "lock files in RAM". 42 | 43 | _— Why read speed after preload is lower then before?_
44 | — Because you're low on awailable RAM. System starts to unload cache due to RAM pressure at the same time when you're preloading stuff. This is why the app is recommended on devices with at least 6GB RAM onboard. 45 | 46 | _— Why I can't see any files in 'obb', 'data' and 'media' folders?_
47 | — Because of [Scoped Storage](https://developer.android.com/about/versions/11/privacy/storage) introduced by Google since Android 11. It blocks the access to this folders. You can still preload the contents of theese folders for each separate package if you have root access by preloading app from the apps list. 48 | 49 | _— What if I uninstall Preload app while there is some preloaded data_
50 | — It will be automatically unpreloaded within 10 seconds - there is a fuse for that. In worst case just reboot your device. 51 | 52 | to be continued. 53 |

![Jokes Card](https://readme-jokes.vercel.app/api)
54 | --------------------------------------------------------------------------------