TV IR remote codes discovery for Android
Try this app (Smart IR Remote - AnyMote).
When I tried using other apps I often found that they couldn't support old devices in my house, but this app has a plethora of devices and it supports many old products.