Custom ROMs like LineageOS can bring newer Android versions to hardware that manufacturers have long abandoned.