Add a new official device to the wiki

Please, do not create new pages for devices which are not officially supported by CyanogenMod. Instead, add the device to the Unofficial Ports page.

Note:

When following these steps, replace codename with the codename of the device, matching the upper/lower-case of the blue text exactly.

1. Upload an image for the device

If you are creating pages for a new variant of an existing device, search the File list for the filename of your device's image. Then, you can move on to the next step. If you are creating pages for a device that is not on the wiki, then use the Upload file page to upload an image of your device. For the "Destination filename", use:

Codename.png

Be sure the background of your image is transparent (use the png image type). See M4.png for an example.

2. Set up the device template

The device template is the "universal settings" template, one per device. Copy the generic device template, then paste it into a new page with following template name:

Template:Device_codename

You can copy this URL, replacing the codename, to initiate the page creation:

Fill in as many fields as you are able. Input the image filename of the device as Codename.png. Then, save the new template. Example: Template:Device_grouper for the Nexus 7 (2012) tablet.

3. Create the device Info page

Now we can begin to create the actual pages users will view. The gateway to all device subpages is the Info page:

Codename_Info

You can copy this URL, replacing the Codename, to initiate the page creation:

http://wiki.cyanogenmod.org/index.php?title=Codename_Info&action=edit

In this page, simply insert the following single line of content:

{{device_codename|function=device_info}}

4. Create the device How To Install page

From the device Info page created in the previous step, click on the auto-generated link How to install CyanogenMod on the (device name). It should take you to the following empty page:

Install_CM_for_codename

In this page, simply insert the following single line of content:

{{device_codename|function=device_install}}

Save the page. You now should see an auto-generated installation walkthrough page for the device.

5. Create the device Known Issues page

From the device Info page created in step 3, click on the auto-generated link Known Issues page for the (device name). It should take you to the following empty page:

Known_Issues_page_for_codename

In this page, insert the following content:

{{device_codename|function=device_notes}}==CyanogenMod 11==*

Save the page. You now should see a mostly empty page with a header informing users how to post known issues.

6. Create the device Build Walkthrough page

From the device Info page created in step 3, click on the auto-generated link How to Build CyanogenMod for the (device name). It should take you to the following empty page:

Build_for_codename

In this page, simple insert the following single line of content:

{{device_codename|function=device_build}}

7. Add it to the list

Now that all of the device pages been created, we can add it to the master list. View the source of this template and find the appropriate place for your device to appear in the list. The list is organized alphabetically by the device name, not the codename. Here's what to add to the list:

{{device_codename|function={{{function}}}}}

Finally, verify your device was added to the Devices page successfully (i.e. reload this page, with the instructions). That's it!