For custom ROMs like LineageOS, the more specific device names are used. So e.g. the Xiaomi Redmi Note 5 is called whyred or Samsung Galaxy S7 Edge goes hero2lte. Having some experience in Android and custom ROMs, I don't know how to find out device names based on the colloquially used device names (Redmi Note 5 ~> whyred).

Neither in specs on e.g. shop sites, nor in the device info. Lets look at the device info of a Xiamo Redmi Note 5 Pro:

enter image description here

I only see M1803E7SG as model name here, but no match to the device name used for custom ROMs. Especially on Xiamo it's a big mess to get rich of different model or editions. Sometimes a single model is not equal across different regions.


For M1803E7SG I found this article which says:

For reference, our review unit is the M1803E7SG. This is also known as the Redmi Note 5 AI Dual Camera. It is neither the Redmi 5 Plus, which is listed as the Redmi Note 5 on Xiaomi's Mi website, nor is it the Redmi Note 5 Pro either. All three devices are powered by a Qualcomm Snapdragon 636 SoC, but they feature different camera hardware and memory options among other differences.

So is this a flashable device for TWRP/LineageOS? I'm relly confused now and would like to see the device name for this smartphone.

  • As long as it's on SDM636 you should be fine. The main confusion here is Redmi 5 Plus (vince) which has an SD625 inside, but often confused due to its Indian naming. – Andy Yan Oct 20 '18 at 13:01

For simplicity, you can either find the device codename from the official Xiaomi forum (which I believe is constantly updated). You can also use a third-party tool Device ID to get your device codename:



Xiaomi specific

Dial *#*#64663#*#* and use 1 Check version info. Near Camera information you can see the codename.

Vendor unspecific

You could use Device ID as xavier_fakerat already suggested. But I also found aida64 which seems more verbose as you can see much more details about the device instead of only seeing the Device ID. But if you're really just want the codename, the Device Id app works well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.