Product
Honor X30i
Honor X30i
Samsung Galaxy M40
Samsung Galaxy M40
Battery
Charging 22.5W wired 15W wired
Type Li-Po 4000 mAh Li-Po 3500 mAh, non-removable
Body
Build Glass front, plastic frame, plastic back Glass front (Gorilla Glass 3), plastic back, plastic frame
Dimensions 163.4 x 74.7 x 7.5 mm (6.43 x 2.94 x 0.30 in) 155.3 x 73.9 x 7.9 mm (6.11 x 2.91 x 0.31 in)
SIM Nano-SIM + Nano-SIM Nano-SIM + Nano-SIM
Weight 175 g (6.17 oz) 168 g (5.93 oz)
Comms
Bluetooth 5.1, A2DP, LE 5.0, A2DP, LE
NFC No Yes
Positioning GPS, GLONASS, BDS GPS, GLONASS, GALILEO, BDS
Radio No FM radio
USB USB Type-C 2.0, OTG USB Type-C 2.0
WLAN Wi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct Wi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
Display
Protection - Corning Gorilla Glass 3
Resolution 1080 x 2388 pixels (~391 ppi density) 1080 x 2340 pixels, 19.5:9 ratio (~409 ppi density)
Size 6.7 inches, 108.7 cm2 (~89.1% screen-to-body ratio) 6.3 inches, 97.4 cm2 (~84.9% screen-to-body ratio)
Type IPS LCD, 90Hz PLS LCD
Features
Sensors Fingerprint (side-mounted), accelerometer, compass Fingerprint (rear-mounted), accelerometer, gyro, proximity, compass
Launch
Announced 2021, October 28 2019, June
Status Available. Released 2021, November 02 Available. Released 2019, June
Main Camera
Features LED flash, panorama, HDR LED flash, panorama, HDR
Triple 48 MP, f/1.8, 26mm (wide), PDAF 2 MP, f/2.4, (macro) 2 MP, f/2.4, (depth) 32 MP, f/1.7, 26mm (wide), 1/2.8", 0.8µm, PDAF 8 MP, f/2.2, 12mm (ultrawide), 1/4.0", 1.12µm, PDAF 5 MP, f/2.2, (depth)
Video 1080p@30fps 4K@30fps, 1080p@30fps
Memory
Card slot No microSDXC (uses shared SIM slot)
Internal 128GB 6GB RAM, 128GB 8GB RAM, 256GB 8GB RAM 64GB 4GB RAM, 128GB 6GB RAM
  - eMMC 5.1
Misc
Colors Black, Blue, Silver, Rose Gold Seawater Blue, Midnight Blue, Cocktail Orange
Models TFY-AN00 SM-M405F, SM-M405FN, SM-M405G
SAR - 0.20 W/kg (head)    
SAR EU - 0.27 W/kg (head)     1.17 W/kg (body)    
Network
2G bands GSM 850 / 900 / 1800 / 1900 GSM 850 / 900 / 1800 / 1900
3G bands HSDPA 850 / 900 / 1700(AWS) / 1900 / 2100 HSDPA 850 / 900 / 2100
4G bands LTE 1, 3, 5, 8, 40, 41
5G bands SA/NSA -
Speed HSPA, LTE, 5G HSPA 42.2/5.76 Mbps, LTE (2CA) Cat6 400/50 Mbps
Technology GSM / CDMA / HSPA / CDMA2000 / LTE / 5G GSM / HSPA / LTE
  CDMA2000 1x -
Platform
Chipset Mediatek Dimensity 810 (6 nm) Qualcomm SDM675 Snapdragon 675 (11 nm)
CPU Octa-core (2x2.4 GHz Cortex-A76 & 6x2.0 GHz Cortex-A55) Octa-core (2x2.0 GHz Kryo 460 Gold & 6x1.7 GHz Kryo 460 Silver)
GPU Mali-G57 MC2 Adreno 612
OS Android 11, Magic UI 5.0 Android 9.0 (Pie), upgradable to Android 11, One UI 3.1
Selfie camera
Features - HDR
Single 8 MP, f/2.0 16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm
Video 1080p@30fps 1080p@30fps
Sound
3.5mm jack Yes No
Loudspeaker Yes, with dual speakers Yes