# Chrome device mode vs a real Android phone

> Chrome device mode vs real Android: it moves the viewport and touch, not the GPU, sensors or OS. Our first Android profile rendered wider than its screen.

Source: https://mosaicbrowser.com/blog/phone-viewport

## A phone is a whole device, not a small window

Chrome device mode vs real Android: it moves the viewport and touch, not the GPU, sensors or OS. Our first Android profile rendered wider than its screen.

![A page wider than the screen it was on](https://mosaicbrowser.com/covers/phone-viewport.webp)

Chrome device mode vs a real Android phone comes down to which values move. Device mode changes the size the page lays out in, the pixel ratio, the touch API and the pointer media queries. A real phone also has its own GPU driver, motion sensors, a finger instead of a mouse, and an operating system. Google's [device mode page](https://developer.chrome.com/docs/devtools/device-mode) calls it "a first-order approximation" and says you "don't actually run your code on a mobile device".

Our [Android profiles](https://mosaicbrowser.com/features/android-profiles) are built on device mode too. There is no emulator and no Android underneath. So the work was never "become a phone". It was making every value a page can read about the phone agree with every other one.

## What device mode actually changes

Pick a Pixel or a Galaxy in the DevTools toolbar and Chrome sends itself two protocol calls.

1. `Emulation.setDeviceMetricsOverride`, with `width` and `height` (the layout viewport the page lays out in), `screenWidth` and `screenHeight` (what `screen.width` reports), the pixel ratio and `mobile: true`. That last flag is what makes Blink read the viewport meta tag, use overlay scrollbars and autosize text. Without it you get a desktop page squeezed into 384 pixels.
2. `Emulation.setTouchEmulationEnabled`, after which `maxTouchPoints`, `ontouchstart`, `(pointer: coarse)`, `(any-pointer: coarse)` and `(hover: none)` ought to agree that there is a touch screen.

The GPU, the fonts and how they are rasterised, the sensors and the input all stay with your computer. On a Mac, that means no motion sensor a page can listen to.

## Our first Android profile had a page wider than its screen

On 12 September 2026 we launched the first Android profile through the real app, and read it back. The User-Agent was right, with its `Mobile` token. So were `navigator.platform` (`Linux armv81`), the client-hint mobile bit, five touch points, and the screen size and pixel ratio of the phone it was drawn from.

Three values were wrong, and all three were contradictions rather than missing values, which is the worse kind:

1. `(pointer: coarse)` was false while `(any-pointer: coarse)` was true. The touch screen was visible, but the primary pointer still said mouse.
2. `(hover: none)` was false. A phone cannot hover.
3. `innerWidth x innerHeight` was 500x607, wider and shorter than the phone's own screen.

The third is the one a detector finds with a subtraction. No device has a page wider than its display. A fourth, smaller fault sat beside them: the profile named an older Android release than the phone it was drawn from runs. That one is a story about drawing devices whole, told in the next post.

![The Mosaic profile editor drawing the operating system, browser and hardware together](https://mosaicbrowser.com/shots/profile-editor.png)
*The editor draws the platform and hardware together*

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Desktop and Android profiles](https://mosaicbrowser.com/features/android-profiles)

## Why the viewport is the one value with no switch

Tesseract Chrome, our own Chromium, moves fingerprint values inside the engine from launch switches, so a page, an iframe and a worker all read the same machine. Its switches reach the platform, the User-Agent, the client hints, `Sec-CH-UA-Model` and the screen. None of them reaches the layout viewport. `--fingerprint-screen-width` moves `screen.width`, and the page still lays out at the window's width.

So `setDeviceMetricsOverride` is the only route to it. We measured that it is enough: applied by hand from a probe, the inner width went from 500 pixels to a viewport exactly the size of the phone's screen. Mosaic now does two things for an Android profile. It opens the window at the phone's screen size, and it sets the device metrics with `mobile: true` and the phone's own numbers, so the screen and the viewport agree because they come from one record.

It took an hour to get that call to run at all. We put the mobile block inside `if (!engineOwnsEmulation)` first, which skips it on our own engine. We moved it out and the probe still said 500. Then we wrote a file from the first line of the attach handler, and no file showed up. `attachAndPatch` was only ever called for `engine.kind === 'local-chromium'`, one screen further up the launcher. If a block isn't running, check that its function runs before you debug the `if`.

## Motion sensors: 239 events in four seconds

Any page can call `addEventListener('devicemotion', ...)`, and Chrome shows no prompt for it. On a phone the listener fires about sixty times a second. On a Mac it never fires. You can match the screen, the touch points and the client hints to a real Galaxy and lose on that count alone.

DevTools has a Sensors panel, and under it are virtual sensors. We use the same ones, six of them, switched on with `Emulation.setSensorOverrideEnabled` and fed with `setSensorOverrideReadings`. We left a page listening on one Android profile for four seconds. It got 239 `devicemotion` events, 16 ms apart, and gravity came out at 9.79 m/s². The readings start from a resting pose drawn from the profile's seed and drift slowly, never more than eight degrees over two minutes. Hands move; a phone that sends the same three numbers for an hour gets noticed.

Then deviceandbrowserinfo broke. The first tab of an Android profile showed its "Are you a bot?" heading and nothing under it. Open a second tab a few seconds later and the page was fine. We blamed the fingerprint and tested it on a desktop profile, changing one thing per run: device metrics, touch, sensors, the Android platform, the phone's screen, the phone's GPU. Every run rendered. It was timing. The launcher attaches to the first tab while the renderer is paused at start, and the sensor setup was twelve requests sent one at a time. The bisect that found it had four rows:

| Sensors | Page | `devicemotion` |
| --- | --- | --- |
| attached one call at a time, while paused | blank | 239 |
| not attached | fine | 0 |
| attached after the page resumed | fine | 0 |
| all twelve calls at once, while paused | fine | 239 |

The third row is why we could not just do it later: sensors installed after the first document exists report as already overridden and never fire. The fix was the fourth row, one `Promise.all`.

## The warm-up taps instead of clicking

The warm-up browses a profile before you use it, so it has history. On an Android profile it used to browse with a mouse, with a cursor drifting toward a link, a hover and a wheel scroll, on a device whose User-Agent and client hints both said phone.

It taps now, through `Input.dispatchTouchEvent`. Three details matter:

- A real touch carries `radiusX`, `radiusY` and `force`. A `TouchEvent` built by page script has zeros there.
- Nothing hovers before the finger lands. After the tap a phone does send one `mousemove`, then `mousedown`, `mouseup` and `click`, all at the touch point, and so do we.
- A swipe lifts while the finger is still moving. Chromium works out the fling from the speed at lift-off, so a swipe that slows to a stop scrolls exactly as far as the finger went, which nobody's thumb does.

`npm run check:human-input` runs 31 assertions in a real browser. One says a finger never makes a `wheel` event.

## Chrome device mode vs real Android: what stays apart

We can't fix three things, because no launch switch in Tesseract Chrome touches them.

- The GPU strings say Adreno or Mali, but the driver drawing the page is your computer's.
- The font list comes from the phone. How text is rasterised comes from your computer.
- There is no Android underneath: no apps, no Play Store, no notifications.

With the viewport, the pointer and the sensors fixed, we ran one freshly drawn Android profile with no proxy, on an Apple Silicon Mac, on 12 September 2026, through eight detectors:

| Detector | What it said |
| --- | --- |
| Pixelscan | consistent, no masking, "Chrome 153.0.0.0 on Android" |
| IPHey | Trustworthy, MX 100/100 |
| BrowserScan | 90 to 100%, moving between runs |
| bot.sannysoft.com | 58 of 58 green |
| CreepJS | 0% headless, 0% stealth |
| Rebrowser | 6 green, 4 not triggered |
| Incolumitas BotOrNot | 35 of 36 |
| deviceandbrowserinfo | isBot=false |

The engine was Chrome 153 then. We haven't run IPHey against an Android profile on a newer one, so treat the table as what happened that day. To read the same values on your own profiles, see [how to check your browser fingerprint](https://mosaicbrowser.com/guides/check-your-browser-fingerprint); for why a value moved on one route and left on another is worse than one never moved, see [half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof).

The phones, the editor and what an Android profile is for are on the [Android profiles page](https://mosaicbrowser.com/features/android-profiles).

## Sources

1. [Chrome DevTools: Simulate mobile devices with device mode](https://developer.chrome.com/docs/devtools/device-mode), read November 2, 2026

## Questions

### Is Chrome device mode the same as a real Android phone?

No. Device mode tells a page it has a phone's viewport, pixel ratio and touch input, but the code still runs on your computer, with its GPU, its fonts and no motion sensors. Google's own DevTools page calls it a first-order approximation.

### Can a website tell device mode from a real phone?

It can when the values disagree. Our first Android profile reported a layout viewport 500 pixels wide on a screen much narrower than that, and a phone that never fires a devicemotion event. Both are one line of script to read.

### Does Mosaic run Android?

No. A Mosaic Android profile is its own Chromium in device mode, drawn from a captured phone, with the screen, touch, sensors and client hints agreeing. There is no Android system, no Play Store and no apps.

### Why not make the browser window the size of a phone?

The window matters less than the layout viewport. Mosaic opens an Android profile's window at the phone's screen size and also sets the viewport through Chrome's device metrics override, because the window alone left the page wider than the screen.

## Related

[Android browser profiles on desktop, built from real phones](https://mosaicbrowser.com/features/android-profiles): Mosaic makes Android browser profiles on desktop: Chrome on a phone as sites see it, drawn whole from a real phone. No apps, no Play Store.

[Half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof): Partial fingerprint spoofing detection is simple: ask one question two ways. We cut five spoofs that changed one route to a value and left the other.

[A fingerprint is a machine, not a bag of fields](https://mosaicbrowser.com/blog/a-fingerprint-is-a-machine): Random fingerprint vs real device: random values from separate lists make machines nobody sells. We draw a whole real device, a Mac, a Windows PC or a phone.

[How to check your browser fingerprint, and read the result](https://mosaicbrowser.com/guides/check-your-browser-fingerprint): How to check your browser fingerprint: a uniqueness test says how rare it is, a consistency scanner whether it could be real. Run each twice.

[Client hints fingerprinting: what Sec-CH-UA headers give away](https://mosaicbrowser.com/glossary/client-hints-fingerprinting): Client hints fingerprinting reads the Sec-CH-UA headers and navigator.userAgentData, then checks them against the User-Agent and the rest of the browser.







[screen.availTop is where your menu bar is](https://mosaicbrowser.com/blog/screen-availtop-menu-bar): screen.availTop is the height of OS chrome at the top of the screen: 25 on most Macs, 0 on Windows. It names a platform before navigator.platform does.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
