Generate OTP keys in linux - Extracting FreeOTP keys
1apt install oathtool
2oathtool --totp -b -d 6 KY3OUPMUYWCKS53F
[https://stackpointer.io/unix/linux-totp-password-generator/629/][https://stackpointer.io/unix/linux-totp-password-generator/629/] https://github.com/philipsharp/FreeOTPDecoder
Enable USB debugging - https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm
Backup the FreeOTP app -
adb backup -f ~/freeotp.ab -noapk org.fedorahosted.freeotp
Decompress the backup -
1dd if=freeotp.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf -
Decode the keys - https://github.com/philipsharp/FreeOTPDecoder