Features
What DiamaneOS adds to its GrapheneOS base and what it changes.
- Built on GrapheneOS. DiamaneOS starts from a GrapheneOS release. GrapheneOS’s features page describes that base, and the known limitations list what is confirmed to be missing or to work differently. There may be other differences that are not confirmed yet.
- Plus the changes below. All are tested on a supported device.
DiamaneOS additions
-
Moments switch
On phones with a side switch, sliding it runs one action you pick, so you can change how the phone behaves in a second without opening Settings. The actions are Moments (only chosen apps on Home, in Recents and in Home’s search, Do Not Disturb on), Camera and microphone off, Silent, Airplane mode and Lockdown (every unlock needs your PIN, pattern or password while the switch is down).
-
Camera and microphone off
With this switch action, the kernel blocks the built-in cameras and microphones while the switch is down. No Android setting or app can lift the block, so nothing can watch or listen, not even an app that got past Android’s own controls. It starts as soon as you choose the action. If the kernel can’t take it yet, Settings asks for a restart, and until then Android’s own block applies, also on a locked phone. After another choice, the kernel keeps its block until the next restart. It is not a hardware kill switch.
-
Home search
Finds apps, shortcuts, settings and quick answers on the phone itself. It sends nothing and keeps no history, so what you search for stays private. Optional suggestions, off by default, count what you open most from Home. Turning them off deletes the counts.
-
Hotspot devices
The Wi-Fi hotspot page lists the connected devices with the name each one gives, its IP and its MAC address, so you can see who is using your hotspot. An optional notification tells you when a device joins, with sound for a new one and silently when a known one returns, so a stranger does not go unnoticed.
-
Keyboard privacy
Your dictionary and learned words stay in storage your passphrase unlocks, and old copies are deleted, so nobody can read them from a phone that is locked after a restart. The keyboard never learns from incognito or password fields and has no network access, so what you type cannot leave the phone through it.
-
eSIM manager
DiamaneOS’s own eSIM manager downloads eSIMs with a carrier’s QR or activation code and turns them on or off, renames or deletes them, so you need no Google app for eSIMs. It is off until you turn on eSIM support and connects only to the eSIM server you confirm. A code can be checked first without using it, so you know it points to a genuine eSIM server this phone accepts. It has no camera access: the camera app reads QR codes.
-
Encrypted microSD storage
GrapheneOS removes the option to format a microSD card as internal storage, as Pixels have no card slot. DiamaneOS brings it back, hardened, so you get more space without a weak point: the card is encrypted, checked before every use, and nothing on it can run. Someone who takes the card cannot read it, and a tampered card cannot run code on the phone. Apps stay on the phone’s own storage. See the FAQ.
-
Call volume in 15 steps
Call volume has 15 steps, like media volume, instead of 5, so you can set it to a level that suits you.
-
Firmware release in Settings
About phone shows which device firmware release the phone runs, so you can check whether the firmware is current.
-
Double tap to turn off the screen
A double tap on an empty part of Home turns the screen off and locks the phone as the power button does, so you can lock it without reaching for the button. Off by default, in Home settings.
-
NFC turns off by itself
An optional timer on the NFC page turns NFC off after the chosen time once the screen is off and nothing uses it, so NFC does not stay on for nearby readers when you forget it. Off by default.
-
Tap to wake
On phones whose touch screen supports it, a single tap can wake the screen as well as a double tap, so you can check the phone without pressing a button. Taps are ignored while the proximity sensor is covered, so it does not wake in a pocket. The Pocket check switch turns that off, which uses less battery with the screen off.
-
Brightness measured on the panel
The brightness slider follows measurements of the phone’s own panel, so every step looks like an even change and colours stay correct from the dimmest level to the top. The brightest band is kept for sunlight with adaptive brightness on, so the screen stays readable outdoors.
-
Clock app
Other apps cannot silence a ringing alarm, so an alarm you set still goes off. An expired timer cannot unlock the lock screen, and Clock data stays out of device-to-device transfers, so your alarms are not copied to another device.
-
The phone maker’s camera app
Where it can run safely, the App Store offers the phone maker’s own camera app, so you can use its camera modes. It has no network access, and its image processing runs in a separate sandboxed service, so its closed code cannot send anything out and stays confined. See the supported devices.
-
Photo formats
Take photos as JPEG, JPEG and RAW, or RAW alone. RAW photos are saved as DNG files, which keep the sensor’s full data for editing later.
-
Night and Portrait
On phones whose camera offers no Night or Portrait mode of its own, the camera app provides them, so you get brighter photos in the dark and a blurred background. They are processed on the phone without network access, so no photo leaves it. Each photo appears in the gallery shortly after the shot. A Portrait photo’s blur can be changed or turned off later, also from the gallery.
-
60 fps video
On phones whose main cameras can do it, the camera app records 1080p and 720p video at 60 fps, even where the camera does not advertise it, so motion looks smoother.
Privacy
-
Sensors permission covers vendor sensors
Sensors added by the device maker need the Sensors permission too, so an app you deny that permission cannot read them. Before, an app could read the phone’s colour sensor with the permission off.
-
Clearer privacy indicators
Location gets its own indicator, the camera lens lights up while the front camera is in use, and the lock screen shows which sensor is in use. You can tell at a glance when an app is using them, also on a locked phone.
-
Less location data in logs
The radio log leaves out your serving cell, and the GPS engine logs only warnings, so logs and bug reports reveal less about where you are.
-
No wake-on-LAN
The Wi-Fi chip ignores wake-on-LAN packets, so another device on the network cannot use them to wake the phone.
-
Gallery without network access
The gallery app has no network access and opens only images and videos on the phone, so it cannot send your photos anywhere.
-
No vendor connections
Network captures overnight, during normal use and during a GPS fix showed no connections from the phone’s own software to the chip maker, the device maker or Google. The phone itself tells them nothing about when or where you use it.
Screen lock
If the phone’s secure area were broken and the storage copied, only the lock would protect the data. How the lock holds up: Screen lock explained. See also the known limitations.
-
Passphrase first
Setup recommends a generated passphrase, because a strong lock still protects your data if the phone’s secure area is ever broken. It offers six words by default from EFF’s large list, or six from its short list typed as their first three letters. A PIN stays possible after you explicitly accept a risk screen in plain language. A long generated PIN counts as strong.
-
Help to learn the passphrase
For the first two weeks the phone asks for the new passphrase once a day, so you learn it before you could forget it. The lock screen says that it is practice and how many days remain.
-
Costly lock guesses
Each guess of a PIN or password costs 256 MiB of memory and about a second on the phone, where Android, relying on a secure element, uses about half a megabyte. Someone who copied the storage and broke the secure area can therefore try far fewer guesses. Fingerprint unlocks stay fast. Applies once a lock is set or changed.
-
No lock data on unencrypted storage
Android keeps a copy of the lock’s check data on an unencrypted partition, for factory-reset protection. DiamaneOS does without that protection and writes no such copy, so everything that could be used to test guesses of your lock stays inside the encrypted storage.
Security
-
SELinux locked enforcing
SELinux, which keeps every app and service inside its own limits, starts enforcing early in start-up, and the kernel then locks it. Nothing can switch it back to permissive until the next restart, so an attacker who gets in cannot turn those limits off.
-
No kernel debug filesystem
The kernel’s debug filesystem cannot be mounted, so the driver internals it exposes are out of an attacker’s reach.
-
Extra memory hardening
Memory bugs are harder to exploit. The kernel stops if memory is mapped into a process in a way that must never happen, and it clears leftover values when a function returns. Freed memory is held back longer before it is used again.
-
No flash or dump mode from the system
The running system cannot reboot into Qualcomm’s emergency flash mode or dump mode, and panic dumps are off, so an attacker in the system cannot use them to copy the phone’s memory or rewrite its storage. The hardware keys still reach the flash mode.
-
USB debugger off
Qualcomm’s embedded USB debugger is turned off and its driver is not shipped, so the chip cannot be debugged through the USB port.
-
Sandboxed Bluetooth
DiamaneOS’s own small service runs Qualcomm’s closed Bluetooth code in a sandbox that stops the service on any system call outside an allowed list, and unused libraries are gone. A bug in that code, which nearby devices can reach, gives an attacker much less to work with.
-
Sandboxed camera service
The closed camera code runs in a sandbox: no child processes, only local sockets, no memory that is both writable and executable. A call outside its list stops the service, so a bug in that code is much harder to turn into control of the phone.
-
Hardware video decoding off for ordinary video
Ordinary video plays on Android’s sandboxed software decoders by default, so a malicious video cannot reach the closed hardware decoders, their driver and their firmware. Where the phone has hardware-protected video, only protected (DRM) video may use them by default. You can allow hardware decoding for all video under Security & privacy > Exploit protection, from the next restart, which saves battery and plays high-resolution video more smoothly. If the codec setup is not what start-up allowed, apps get none.
-
Guarded modem messaging
Only the phone’s own IMS service can use the modem’s IMS data channel, lookups are capped per app, and the kernel has no tunnel into the modem’s message bus. An app cannot reach the modem through these paths or swamp it with requests.
-
Protected in-call audio settings
Only the phone and Bluetooth system services can change TTY, hearing-aid, HD voice and Bluetooth call settings. Other apps with the audio settings permission cannot, so an app cannot interfere with the audio of your calls.
-
Fewer services with root
The boot control service runs as its own user with one capability, and the thermal service as the system user with none, instead of as root. A bug in either gives an attacker far less control over the phone.
-
Less access to the secure area
Only the services that need the phone’s secure area (TEE) can open it, and its device node accepts only the two requests they use. Unused access is removed, including the HDCP module. The secure area guards your keys and your lock, so fewer ways in mean fewer ways to attack it.
-
No head-tracker input
The parser for head trackers on paired Bluetooth and USB devices is not shipped, so a malicious device cannot attack the phone through it. Head trackers do not work.
-
No Dynamic System Updates
The installer that downloads and starts a second system image is not shipped. That removes a privileged part of the system that could be abused and frees the memory of its idle processes. A locked phone could not start such an image anyway.
Closed code replaced or removed
Closed parts of the stock software that DiamaneOS replaces with open code or drops. The modem firmware, the radio daemon and the IMS app stay closed.
-
Data for VoLTE and Wi-Fi calling
DiamaneOS’s own service, written in the memory-safe language Rust, sets up these connections with narrow permissions. It replaces Qualcomm’s closed services, so anyone can check what it does and a bug in it can do less.
-
Mobile data
A Rust daemon written for DiamaneOS and two small libraries replace Qualcomm’s closed interface manager and the libraries that connect the radio daemon to it. The daemon runs with narrow permissions behind a system call filter, so a bug in it can do little. A second small daemon, with its own user, holds the keys of the Wi-Fi calling tunnel, so the data daemon never handles them.
-
Call audio
A small open bridge passes a short, checked list of call audio settings from the radio to the audio system, so little that the modem influences reaches the audio code. It cannot route or record audio, or go online, so it cannot listen to your calls.
-
Clock keeping
A DiamaneOS service keeps the time across reboots, in place of Qualcomm’s closed one. The clock is right after a restart even without a network, and the service runs with minimal rights.
-
Audio system
Built from the device maker’s source code, so it can be checked and hardened. Music is decoded in Android’s sandboxed decoders, not on the closed audio chip, and app effects such as the equalizer use Android’s own code, so a malicious audio file is handled in a sandbox instead of by closed code. A factory test that apps could reach is removed. A few parts stay closed.
-
Power management
An open power service replaces Qualcomm’s closed one, which ran with full access. The new one can only set CPU and GPU limits, so a bug in it cannot reach your data. Touch, app launch, rendering and camera get short performance boosts, which keeps the phone responsive, and the camera’s end early when no longer needed, which saves battery.
-
Modem helpers
Open replacements for two closed modem helpers, one of which ran as root. They now run without special rights or network access, and the file server is hardened, so the modem has less to attack on the Android side. Files the modem writes through it now live in normal storage, so a factory reset deletes them.
-
IMEIs and hardware addresses
A small DiamaneOS tool gives the modem its IMEIs and Bluetooth and Wi-Fi their factory addresses. It replaces a closed root service and logs no identifiers, so less closed code runs as root and these numbers stay out of the logs.
-
Unused services and interfaces
Two closed services nothing needs are off: the display colour service is not installed, and the offline camera service cannot register. The camera service runs without closed GPU compute code. Only the image processing of the phone maker’s camera app uses it. Leftover permissions and service names for hardware the phone does not have or features DiamaneOS does not ship are gone. Less closed code runs, which leaves less to attack.
-
GPS and location
The GNSS service and Qualcomm’s location libraries are built from open source instead of closed builds, so anyone can check them. Satellite data comes through DiamaneOS’s server, so Qualcomm never sees a request from your phone. They use no other Qualcomm cloud service, Wi-Fi injection or diagnostics.
Mobile network
-
Safer Wi-Fi calling sign-up
A carrier’s sign-up page can only talk to the phone from the carrier’s own address, so another page cannot pose as the carrier. Retries and refreshes are limited, so a failed sign-up stops instead of repeating forever.
-
Fewer modem polls
The phone saves battery while idle by batching its network state polls to the modem.
Performance and battery
-
Faster app switching
Apps you return to reopen faster, because memory compression uses lz4. The cost is a slightly lower compression ratio.
-
Lighter camera preview
The 16:9 video preview stays smooth, because the display hardware draws it instead of the GPU. The screen runs at 60 Hz while it shows.