Port B2G to motog3

Hi All,

I’m trying to port b2g to motog3. However isn’t any proper guide on how to add a new device to the .config.sh file. So I added edited the .config.sh file as below. Please confirm if this is the right way to add the entry and run ./config.sh moto-g3, build and flash.

“moto-g3”)
echo DEVICE=osprey >> .tmp-config &&
repo_sync moto-g3
;;
I’d like to fetch the device tree from this repo(https://github.com/arunkumar413/android_device_motorola_osprey). Here is the relevent content of the manifest.xml file

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com" name="github" />
<project name="android_device_motorola_osprey" path="device/moto/g3" remote="github" revision="cm-14.1" />
</manifest>
1 Like