Moto G5 Plus – Install Stock ROM 8.1.0 & Lock Bootloader

Custom ROMs are good for playing God with your phone. But, it will give you a hard time when you break something beyond the recovery point, trust me, I am telling this for a lot of experience. You might also want to sell your phone at some point for which you might need it to be in its default form.

So, let’s bring back your phone to its original avatar.

Continue reading…

Using Custom Icons Font Type with ‘react-native-elements’ Icon Component

React Native Elements uses react-native-vector-icons for making icon usage in components without having to re-implement Icon component.

Here’s how we’ve been using Icon component from react-native-elements:

import { Icon } from 'react-native-elements'

  type='font-awesome' />

Pretty neat right?

Icons take the name of a material icon as a prop. However, react-native-elements allows us to override Material icons with one of the following: material-communityfont-awesomeocticonioniconfoundationeviliconsimple-line-iconzocial, or entypo by providing a type prop.

But, there might be cases when we’d want to use our own custom icons. Let’s see how we can achieve that.

Continue reading…

Setup Virtual Serial Ports Using tty0tty in Linux

Before starting off with this tutorial, let’s get on with a little bit of background on serial communication, null modems, and virtual ports.

A serial port (COM port) is an asynchronous port on the computer used to connect a serial device and capable of transmitting data one bit at a time or serially. Most serial ports on computers conform to the RS-232C or RS-422 standards. A serial port is a physical interface for communicating digital data between a DTE (Data Terminal Equipment) -usually your computer and a DCE (Data Communication Equipment) – your modem or another serial device. A standard RS-232 cable is used to connect a DCE device to a DTC device via their serial ports.
Continue reading…