编译CyanogenMod为lg g2 d802

时间:2014-03-18 10:19:49

标签: android building cyanogenmod rom

我试图为intl G2建立CyanogenMod(我做的唯一改变是添加光环)

对于repo init我已经完成了:

repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0 -g all,-notdefault,d802,lge

然后repo sync -j8

在此之后,就像我说的那样,我已经添加了光环。

现在我正在努力建立:

$ source build/envsetup.sh
$ breakfast d802

但我唯一得到的是:

root@synnyg-PC:~/CM/G2# breakfast d802
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.
Device d802 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
  File "build/tools/roomservice.py", line 76, in <module>
    result = json.loads(urllib.request.urlopen(githubreq).read().decode())
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/lge/d802/cm.mk]]: "device/lge/g2-common/g2.mk" does not exist. Arrêt.

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

我不明白,因为当我查看设备时,没有lge / d802目录。通过执行init命令,我将不得不下载特定文件...

午餐和早餐的命令也给了我同样的错误......

你知道我错在哪里,我该怎么办?我想我已经下载了特定于设备的文件但是我该怎么做(如果这是错误的话)?我不明白...... 提前谢谢!

0 个答案:

没有答案