Error don’t have a product spec for: ‘cm_dogo’ when building Cyanogen Mod 12.1 for Sony Xperia ZR

Building cyanogen 12.1 for Sony Xperia ZR throws the following error (in red) when you do:
$ breakfast dogo <enter>

** Don't have a product spec for: 'cm_dogo'
** Do you have the right repo manifest?

This error can be overcome by:
$ cd ~/android/system/.repo/manifests <enter>
$ cp default.xml default.backup <enter>
$ leafpad default.xml <enter>

Look for all entries that have the word ‘generic’ in them and delete those lines.

Save the file and then try to use the breakfast command again by:
$ cd ~/android/system <enter>
$ breakfast dogo <enter>

When successful, continue to follow the commands at
http://wiki.cyanogenmod.org/w/Build_for_dogo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s