All you need is an android buildsystem (I would recommend you to use lineageos)
- Export your infos (replace examples with your infos)
subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
C: Country shortform
ST: Country longform
L: Location (I used federal state)