̶N̶e̶w̶ port in the works: Xiaomi Mi Note 10 (tucana)

(don’t confuse this with Redmi Note 10, Xiaomi Mi 10 or Xiaomi Mi Note 10 Lite!)

Hi all,

Just wanted to draw your attention, if you’re looking for a new device, that I have been working on a port for Xiaomi Mi Note 10 (tucana) in the last months.

It is not final (not everything works) but I already use it as a daily driver.

Reasons for picking this up: OLED screen, 1/1.33" main camera sensor, hardware support for double-tap to wake, unlockable bootloader, LineageOS 17.1 unofficial port exist.

Mi Note 10 Hardware

You can Compare Sony Xperia XA2 Plus vs. Xiaomi Mi Note 10 vs. Sony Xperia 10 II - GSMArena.com

Here’s my take on the hardware.

  • The device is fairly large (matches the XA2 Plus) and very slippery.
  • It has a larger battery than the other two - I usually get two days (~36-40 hours) out of it and I haven’t yet use any optimization techniques
  • The OLED display is gorgeous, but ‘notched’ - I made a patch for this.
  • Main camera takes very good photos - sometimes it is slightly out of focus.
  • It sometimes stays warm (not hot). Usually it’s the browser, Internet sharing or a GPS app left running, sometimes it’s lipstick itself - for which elros34 has a patch.

The SailfishOS community port

XiaomiMiNote10-tucana-1

What works:

  • Display, touchscreen, double-tap to wake
  • GSM calls, 3G/LTE data, Wifi, internet sharing
  • Sound, recording
  • Bluetooth
  • Light sensor, compass, GPS, accelerometer. flashlight
  • Camera (photos only). Access to wide and one of the tele through Advanced Camera

Needs more work:

  • video recording
  • proximity sensor (it’s an ultrasound one, I can enable it with android audio services but I lose microphone in calls…)
  • infrared sensor - /dev/lirc0 permissions
  • USB MTP and usb ssh access
  • FM Radio
  • Qt haptics (only non-Qt: calls, alarms, menus are working through ngfd fork)
  • fingerprint sensor
  • NFC

This “prerelease” is available on https://github.com/sailfishos-on-tucana/Readme/releases/tag/4.1.0.24-prerelease

Issues logged here.

I can expand the flashing instructions based on feedback.

Thanks to all the kind folks on #sailfishos-porters, incl. deathmist, elros34, lbt, mal, piggz, rinigus

22 Likes

That would be awesome if it were officially available with Android I would buy it immediately

greetz

There are several topics opened on supporting/licensing Alien Dalvik to community ports - here’s one for example Licenses without support for unofficially ported devices (xz2c)
While waiting for a resolution for this I will continue to invest time in the “Needs more work” points above. If all is good only then I can take a look at alternative ways to run Android apps (but even then, maybe I will look into flatpak first)

1 Like

New: In the 4.2.0 release:
You can even use the five cameras on the back if you apply a patch.

( update: the relese 4.2 image seems to be broken, fixing in progress Fixed with 4.2.0-beta-2)

2 Likes

Waydroid has become available to SFOS. It is experimental, and has the limitations documented here + the the port specific limitations (no video recording). All in all - it can be used for e.g a banking app, browsing, but not a full replacement for Android (it does run very smooth though)

5 Likes

Could this patch be tweaked for some other devices (namely XA2 Ultra which has two front facing cameras) as well?

It is merely patching a camera file to enable skipping cameras if the device reports too many, as in my case. If XA2 doesnt report the front cameras separatedly, not much can be done. Maybe you can try advanced camera, the 0.9.5 version cycles through all available cameras on pressing what used to be ‘switch between front and back’ button.

2 Likes

New: in the 4.3.0 release:

  • Vibration works in Qt now (e.g keyboard)
  • Proximity sensor makes more problems :(startup race)

In the works:

  • 4.4.0 seems to be more stable w.r.t to proximity sensor/startup race
  • Fingerprint POC
    ezgif-3-27e491a91f
5 Likes

4.4.0.72 release Release 4.4.0.72-prerelease · sailfishos-on-tucana/Readme · GitHub

New:

  • Video recording fixed
  • Fingerprint POC integrated (with a patch)

But:

  • Virtual proximity sensor disabled :frowning: for now (unusable sound in calls / boot races)
1 Like