Abstract:
Google has begun pushing the first beta version of Android 18 to Pixel devices, marking the early arrival of the public testing phase of the company's next-generation mobile operating system. Compared with the first Beta of Android 17 released in February last year, Android 18 Beta 1 was launched significantly earlier. This version is internally codenamed "Daifuku" and can currently be flashed through the Android Flash Tool. The complete OTA update and system image are not yet fully open.

Google said that the Android 18 Beta project plans to release updates every two weeks and advance in parallel with the Android 17 QPR3 Beta project. Subsequent updates will be pushed out as soon as possible after passing internal verification, and will include new features, APIs, and stability fixes without having to wait for larger monthly milestones. Google expects to reach the "platform stability" milestone in February next year, when the SDK and NDK API will be finalized and application-oriented behavior will be basically finalized. Developers still have several months to complete testing and adaptation before the official release.
Android 18 corresponds to API level 38, which focuses on expanding the platform's memory management foundation, improving the concurrency and verification capabilities of ART during Android runtime, adding customization and format conversion functions to the photo picker, and introducing AppSearch and system I/O related APIs, while strengthening privacy protection and adaptive interface support.
In terms of memory and performance, Android 18 will introduce per-process soft memory limits for background services in phases. When an app runs a background service without a visible interface, the system sets limits based on the service type and device memory size. Exceeding the soft limit does not directly terminate the application. Instead, the kernel clears the cold file cache pages from memory and compresses the idle private heap memory to the zRAM swap space. This mechanism covers most front-end service types, including data synchronization, media playback, location, connected device and special-purpose services, as well as persistent system-bound services such as notification listening. When a process has multiple active roles at the same time, the system applies the loosest limit.
However, processes with visible interfaces, including split-screen and picture-in-picture modes, as well as real-time capture and communication services such as cameras, microphones, and phone calls, are still exempt from this restriction. Google recommends that developers decode bitmaps according to the display size when background services encounter memory pressure, release the hidden UI cache when the activity stops, and call Service.stopSelf after the background task is completed. Large downloads should be migrated to WorkManager or user-initiated data transfer tasks. Long-running and interfaceless services can also be considered to be placed in lightweight worker processes.
The ART runtime will also enable time-based garbage collection triggering by default in Android 18. This mechanism dynamically adjusts the concurrent garbage collection rhythm based on the memory allocation rate and the time since the last collection, and reclaims unused heap memory after the application is idle. Developers do not need to modify the code, but they should avoid manually calling System.gc, and should not use Runtime.totalMemory to predict garbage collection timing.
In terms of application compatibility, the old monitor lock-based implementation of MessageQueue has been removed. All applications, regardless of the target API level, will use a lock-free implementation and obtain faster consumption and wake-up paths. Applications or SDKs that rely on reflection to access private fields of MessageQueue will get null values in Android 18. ART will also enforce OpenJDK 17’s sealed class and interface restrictions and prohibit the use of synchronized blocks on value type instances. The API related to the dynamic permission tree is deprecated and will no longer take effect in future versions. Developers should instead declare permissions statically in AndroidManifest.xml.
The photo picker has also received several improvements. A new API has been added to the embedded photo picker, allowing the host application to have more granular control over the navigation tabs, the display of the navigation bar and search bar in expanded mode, and the embedded camera button in the media grid. When users preview HEIF or HEIC photos, the preview menu will provide the "Use supported formats" option, which can instantly convert the selected picture to JPEG and save it in the temporary system cache. The original gallery file will not be modified. Converted copies retain key EXIF metadata and retain location information when shared.
In terms of device-side search and file access, AppSearch adds pre-quantized embedding vector support, which can reduce the memory and inter-process communication overhead of device-side semantic search. The system also opens the posix_fadvise file access prompt API to managed code to facilitate application declaration access modes for processing large media files, databases, or device-side machine learning model weights. In terms of privacy, Android 18 will limit implicit URI authorization. For sending and shooting related Intents, applications with a target API level of 38 and above need to explicitly set the authorization flag. Beta 1 doesn't enforce that limit yet, though. The Skia graphics stack has also switched to using the PNG codec implemented in Rust to provide enhanced protection against memory corruption vulnerabilities in untrusted image data.
In terms of adaptive interface and system integration, device manufacturers can customize default system fonts through a standardized mechanism, so that common font families such as sans-serif can be dynamically mapped in system interfaces and applications. Rotation continuity in desktop window mode has also been improved, with free windows repositioned proportionally within the visible range and retaining the left-right split-screen layout. The system also adds hardware input keycode mapping, Health Connect in-app permission management entrance, and enables the device-side web application installer by default, allowing browsers to package and install progressive web applications as independent trusted web activities.
Beta 1 also has known issues. When using the 38.0.0 rc1 build tool, the app cannot complete building against the Beta 38 SDK. A workaround is to use an earlier version of the build tool, such as 37.0.2. In addition, the onboarding process of Microsoft Teams is currently unavailable, and the welcome interface will get stuck after clicking "Start". Users can submit feedback through the Android Beta Feedback app on Pixel devices, and can also join the Android Beta community discussion.
The Android 18 Beta 1 system image covers Pixel 7, Pixel 7 Pro, Pixel 7a, Pixel Tablet, Pixel Fold, as well as Pixel 8, Pixel 9, Pixel 10 and Pixel 11 series devices, and also supports Android emulators. Users can join the test through the Android Beta Program and receive device OTA updates. Google specifically reminds that if the device is running Android 17 QPR3 Beta and wants to receive the stable Android 17 QPR3 official version without clearing the data, it should not install Android 18 Beta 1, but should exit the test on the Android Beta program website, ignore the downgrade OTA update, and wait for the stable version to be pushed.
Comments