vendor: we are now LineageOS
* Change necessary bits to support our project move Change-Id: I085470d448a243cc9d60b4ce920dee52086f64cd
This commit is contained in:
parent
0fdc085c2e
commit
0344771b53
13 changed files with 48 additions and 41 deletions
|
@ -1,9 +1,9 @@
|
||||||
CyanogenMod
|
LineageOS
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Visit http://github.com/CyanogenMod for full source and git access.
|
Visit http://github.com/LineageOS for full source and git access.
|
||||||
|
|
||||||
Visit http://review.cyanogenmod.org for our Gerrit instance.
|
Visit http://review.lineageos.org for our Gerrit instance.
|
||||||
|
|
||||||
CHANGELOG (notable new features)
|
CHANGELOG (notable new features)
|
||||||
---------
|
---------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
CyanogenMod
|
LineageOS
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Maintainers (CyanogenMod 14.1):
|
Maintainers (LineageOS 14.1):
|
||||||
-----------------------------
|
-----------------------------
|
||||||
* __Acer A700:__ pawitp
|
* __Acer A700:__ pawitp
|
||||||
* __Alcatel Idol 3:__ c457
|
* __Alcatel Idol 3:__ c457
|
||||||
|
|
1
LICENSE
1
LICENSE
|
@ -1,4 +1,5 @@
|
||||||
Copyright 2011-15 The CyanogenMod Project
|
Copyright 2011-15 The CyanogenMod Project
|
||||||
|
2017 The LineageOS Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
18
README.mkdn
18
README.mkdn
|
@ -1,9 +1,9 @@
|
||||||
CyanogenMod
|
LineageOS
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Submitting Patches
|
Submitting Patches
|
||||||
------------------
|
------------------
|
||||||
Patches are always welcome! Please submit your patches via CyanogenMod Gerrit!
|
Patches are always welcome! Please submit your patches via LineageOS Gerrit!
|
||||||
You can do this by using these commands:
|
You can do this by using these commands:
|
||||||
|
|
||||||
(From root android directory)
|
(From root android directory)
|
||||||
|
@ -20,31 +20,31 @@ For more help on using this tool, use this command: repo help upload
|
||||||
Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
|
Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
|
||||||
Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
|
Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
|
||||||
|
|
||||||
To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/)
|
To view the status of your and others' patches, visit [LineageOS Code Review](http://review.lineageos.org/)
|
||||||
|
|
||||||
|
|
||||||
Getting Started
|
Getting Started
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
To get started with Android/CyanogenMod, you'll need to get
|
To get started with Android/LineageOS, you'll need to get
|
||||||
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).
|
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).
|
||||||
|
|
||||||
To initialize your local repository using the CyanogenMod trees, use a command like this:
|
To initialize your local repository using the LineageOS trees, use a command like this:
|
||||||
|
|
||||||
repo init -u git://github.com/CyanogenMod/android.git -b cm-14.1
|
repo init -u git://github.com/LineageOS/android.git -b cm-14.1
|
||||||
|
|
||||||
Then to sync up:
|
Then to sync up:
|
||||||
|
|
||||||
repo sync
|
repo sync
|
||||||
|
|
||||||
Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions, by device.
|
Please see the [LineageOS Wiki](http://wiki.lineageos.org/) for building instructions, by device.
|
||||||
|
|
||||||
For more information on this Github Organization and how it is structured,
|
For more information on this Github Organization and how it is structured,
|
||||||
please [read the wiki article](http://wiki.cyanogenmod.org/w/Github_Organization)
|
please [read the wiki article](http://wiki.lineageos.org/w/Github_Organization)
|
||||||
|
|
||||||
Buildbot
|
Buildbot
|
||||||
--------
|
--------
|
||||||
|
|
||||||
All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.
|
All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.
|
||||||
|
|
||||||
You can view the current build statuses in the [Jenkins](http://jenkins.cyanogenmod.org) tool.
|
You can view the current build statuses in the [Jenkins](http://jenkins.lineageos.org) tool.
|
||||||
|
|
|
@ -4,7 +4,7 @@ You have tried to change the API from what has been previously approved.
|
||||||
|
|
||||||
STOP.
|
STOP.
|
||||||
Read this:
|
Read this:
|
||||||
https://github.com/CyanogenMod/cm_platform_sdk/wiki/Creating-an-API-for-the-SDK#updating--verifying-the-api
|
https://github.com/LineageOS/cm_platform_sdk/wiki/Creating-an-API-for-the-SDK#updating--verifying-the-api
|
||||||
|
|
||||||
To make these errors go away, you have two choices:
|
To make these errors go away, you have two choices:
|
||||||
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
|
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
|
||||||
|
@ -142,6 +142,6 @@ To make these errors go away, you have two choices:
|
||||||
,;+++++++++++++++++++++++++++++++++++++++++++++++++++++++:.
|
,;+++++++++++++++++++++++++++++++++++++++++++++++++++++++:.
|
||||||
..,;;+++++++++++++++++++++++++++++;:,.
|
..,;;+++++++++++++++++++++++++++++;:,.
|
||||||
|
|
||||||
To submit the revised current.txt to the main CyanogenMod repository,
|
To submit the revised current.txt to the main LineageOS repository,
|
||||||
you will need approval.
|
you will need approval.
|
||||||
******************************
|
******************************
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
function __print_cm_functions_help() {
|
function __print_cm_functions_help() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Additional CyanogenMod functions:
|
Additional LineageOS functions:
|
||||||
- cout: Changes directory to out.
|
- cout: Changes directory to out.
|
||||||
- mmp: Builds all of the modules in the current directory and pushes them to the device.
|
- mmp: Builds all of the modules in the current directory and pushes them to the device.
|
||||||
- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
|
- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
|
||||||
- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
|
- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
|
||||||
- mms: Short circuit builder. Quickly re-build the kernel, rootfs, boot and system images
|
- mms: Short circuit builder. Quickly re-build the kernel, rootfs, boot and system images
|
||||||
without deep dependencies. Requires the full build to have run before.
|
without deep dependencies. Requires the full build to have run before.
|
||||||
- cmgerrit: A Git wrapper that fetches/pushes patch from/to CM Gerrit Review.
|
- cmgerrit: A Git wrapper that fetches/pushes patch from/to LineageOS Gerrit Review.
|
||||||
- cmrebase: Rebase a Gerrit change and push it again.
|
- cmrebase: Rebase a Gerrit change and push it again.
|
||||||
- cmremote: Add git remote for CM Gerrit Review.
|
- cmremote: Add git remote for LineageOS Gerrit Review.
|
||||||
- aospremote: Add git remote for matching AOSP repository.
|
- aospremote: Add git remote for matching AOSP repository.
|
||||||
- cafremote: Add git remote for matching CodeAurora repository.
|
- cafremote: Add git remote for matching CodeAurora repository.
|
||||||
- mka: Builds using SCHED_BATCH on all processors.
|
- mka: Builds using SCHED_BATCH on all processors.
|
||||||
|
@ -75,7 +75,7 @@ function eat()
|
||||||
{
|
{
|
||||||
if [ "$OUT" ] ; then
|
if [ "$OUT" ] ; then
|
||||||
MODVERSION=$(get_build_var CM_VERSION)
|
MODVERSION=$(get_build_var CM_VERSION)
|
||||||
ZIPFILE=cm-$MODVERSION.zip
|
ZIPFILE=lineage-$MODVERSION.zip
|
||||||
ZIPPATH=$OUT/$ZIPFILE
|
ZIPPATH=$OUT/$ZIPFILE
|
||||||
if [ ! -f $ZIPPATH ] ; then
|
if [ ! -f $ZIPPATH ] ; then
|
||||||
echo "Nothing to eat"
|
echo "Nothing to eat"
|
||||||
|
@ -240,12 +240,12 @@ function cmremote()
|
||||||
fi
|
fi
|
||||||
git remote rm cmremote 2> /dev/null
|
git remote rm cmremote 2> /dev/null
|
||||||
GERRIT_REMOTE=$(git config --get remote.github.projectname)
|
GERRIT_REMOTE=$(git config --get remote.github.projectname)
|
||||||
CMUSER=$(git config --get review.review.cyanogenmod.org.username)
|
CMUSER=$(git config --get review.review.lineageos.org.username)
|
||||||
if [ -z "$CMUSER" ]
|
if [ -z "$CMUSER" ]
|
||||||
then
|
then
|
||||||
git remote add cmremote ssh://review.cyanogenmod.org:29418/$GERRIT_REMOTE
|
git remote add cmremote ssh://review.lineageos.org:29418/$GERRIT_REMOTE
|
||||||
else
|
else
|
||||||
git remote add cmremote ssh://$CMUSER@review.cyanogenmod.org:29418/$GERRIT_REMOTE
|
git remote add cmremote ssh://$CMUSER@review.lineageos.org:29418/$GERRIT_REMOTE
|
||||||
fi
|
fi
|
||||||
echo "Remote 'cmremote' created"
|
echo "Remote 'cmremote' created"
|
||||||
}
|
}
|
||||||
|
@ -401,7 +401,7 @@ function cmgerrit() {
|
||||||
$FUNCNAME help
|
$FUNCNAME help
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local user=`git config --get review.review.cyanogenmod.org.username`
|
local user=`git config --get review.review.lineageos.org.username`
|
||||||
local review=`git config --get remote.github.review`
|
local review=`git config --get remote.github.review`
|
||||||
local project=`git config --get remote.github.projectname`
|
local project=`git config --get remote.github.projectname`
|
||||||
local command=$1
|
local command=$1
|
||||||
|
@ -636,7 +636,7 @@ function cmrebase() {
|
||||||
local dir="$(gettop)/$repo"
|
local dir="$(gettop)/$repo"
|
||||||
|
|
||||||
if [ -z $repo ] || [ -z $refs ]; then
|
if [ -z $repo ] || [ -z $refs ]; then
|
||||||
echo "CyanogenMod Gerrit Rebase Usage: "
|
echo "LineageOS Gerrit Rebase Usage: "
|
||||||
echo " cmrebase <path to project> <patch IDs on Gerrit>"
|
echo " cmrebase <path to project> <patch IDs on Gerrit>"
|
||||||
echo " The patch IDs appear on the Gerrit commands that are offered."
|
echo " The patch IDs appear on the Gerrit commands that are offered."
|
||||||
echo " They consist on a series of numbers and slashes, after the text"
|
echo " They consist on a series of numbers and slashes, after the text"
|
||||||
|
@ -658,7 +658,7 @@ function cmrebase() {
|
||||||
echo "Bringing it up to date..."
|
echo "Bringing it up to date..."
|
||||||
repo sync .
|
repo sync .
|
||||||
echo "Fetching change..."
|
echo "Fetching change..."
|
||||||
git fetch "http://review.cyanogenmod.org/p/$repo" "refs/changes/$refs" && git cherry-pick FETCH_HEAD
|
git fetch "http://review.lineageos.org/p/$repo" "refs/changes/$refs" && git cherry-pick FETCH_HEAD
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "Error cherry-picking. Not uploading!"
|
echo "Error cherry-picking. Not uploading!"
|
||||||
return
|
return
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
# Copyright (C) 2012 The CyanogenMod Project
|
# Copyright (C) 2012 The CyanogenMod Project
|
||||||
|
# (C) 2017 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -162,7 +163,7 @@ ifeq "$(wildcard $(KERNEL_SRC) )" ""
|
||||||
$(warning * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *)
|
$(warning * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *)
|
||||||
$(warning * Please configure your device to download the kernel *)
|
$(warning * Please configure your device to download the kernel *)
|
||||||
$(warning * source repository to $(KERNEL_SRC))
|
$(warning * source repository to $(KERNEL_SRC))
|
||||||
$(warning * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building)
|
$(warning * See http://wiki.lineageos.org/w/Doc:_integrated_kernel_building)
|
||||||
$(warning * for more information *)
|
$(warning * for more information *)
|
||||||
$(warning ***************************************************************)
|
$(warning ***************************************************************)
|
||||||
FULL_KERNEL_BUILD := false
|
FULL_KERNEL_BUILD := false
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Copyright (C) 2012-2013, The CyanogenMod Project
|
# Copyright (C) 2012-2013, The CyanogenMod Project
|
||||||
|
# (C) 2017, The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -51,7 +52,7 @@ except:
|
||||||
device = product
|
device = product
|
||||||
|
|
||||||
if not depsonly:
|
if not depsonly:
|
||||||
print("Device %s not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod)." % device)
|
print("Device %s not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS)." % device)
|
||||||
|
|
||||||
repositories = []
|
repositories = []
|
||||||
|
|
||||||
|
@ -71,7 +72,7 @@ def add_auth(githubreq):
|
||||||
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
||||||
|
|
||||||
if not depsonly:
|
if not depsonly:
|
||||||
githubreq = urllib.request.Request("https://api.github.com/search/repositories?q=%s+user:CyanogenMod+in:name+fork:true" % device)
|
githubreq = urllib.request.Request("https://api.github.com/search/repositories?q=%s+user:LineageOS+in:name+fork:true" % device)
|
||||||
add_auth(githubreq)
|
add_auth(githubreq)
|
||||||
try:
|
try:
|
||||||
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
|
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
|
||||||
|
@ -175,12 +176,12 @@ def add_to_manifest(repositories, fallback_branch = None):
|
||||||
repo_target = repository['target_path']
|
repo_target = repository['target_path']
|
||||||
print('Checking if %s is fetched from %s' % (repo_target, repo_name))
|
print('Checking if %s is fetched from %s' % (repo_target, repo_name))
|
||||||
if is_in_manifest(repo_target):
|
if is_in_manifest(repo_target):
|
||||||
print('CyanogenMod/%s already fetched to %s' % (repo_name, repo_target))
|
print('LineageOS/%s already fetched to %s' % (repo_name, repo_target))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print('Adding dependency: CyanogenMod/%s -> %s' % (repo_name, repo_target))
|
print('Adding dependency: LineageOS/%s -> %s' % (repo_name, repo_target))
|
||||||
project = ElementTree.Element("project", attrib = { "path": repo_target,
|
project = ElementTree.Element("project", attrib = { "path": repo_target,
|
||||||
"remote": "github", "name": "CyanogenMod/%s" % repo_name })
|
"remote": "github", "name": "LineageOS/%s" % repo_name })
|
||||||
|
|
||||||
if 'branch' in repository:
|
if 'branch' in repository:
|
||||||
project.set('revision',repository['branch'])
|
project.set('revision',repository['branch'])
|
||||||
|
@ -298,4 +299,4 @@ else:
|
||||||
print("Done")
|
print("Done")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
print("Repository for %s not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml." % device)
|
print("Repository for %s not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml." % device)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
PRODUCT_BRAND ?= cyanogenmod
|
PRODUCT_BRAND ?= LineageOS
|
||||||
|
|
||||||
ifneq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
ifneq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||||
# determine the smaller dimension
|
# determine the smaller dimension
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (C) 2013 The CyanogenMod Project
|
Copyright (C) 2013 The CyanogenMod Project
|
||||||
|
(C) 2017 The LineageOS Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService</item>
|
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string name="config_mms_user_agent">CyanogenMod</string>
|
<string name="config_mms_user_agent">LineageOS</string>
|
||||||
<string name="config_mms_user_agent_profile_url">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
|
<string name="config_mms_user_agent_profile_url">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
|
||||||
|
|
||||||
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
|
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/sbin/sh
|
#!/sbin/sh
|
||||||
#
|
#
|
||||||
# /system/addon.d/50-cm.sh
|
# /system/addon.d/50-cm.sh
|
||||||
# During a CM14.1 upgrade, this script backs up /system/etc/hosts,
|
# During a LineageOS 14.1 upgrade, this script backs up /system/etc/hosts,
|
||||||
# /system is formatted and reinstalled, then the file is restored.
|
# /system is formatted and reinstalled, then the file is restored.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,10 @@
|
||||||
#
|
#
|
||||||
L="log -p i -t cm"
|
L="log -p i -t cm"
|
||||||
|
|
||||||
$L "____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___";
|
$L "_ _ "
|
||||||
$L "| \\_/ |__| |\\ | | | | __ |___ |\\ | |\\/| | | | \\";
|
$L "| (_)_ __ ___ __ _ __ _ ___ ___ ___ "
|
||||||
$L "|___ | | | | \\| |__| |__] |___ | \\| | | |__| |__/";
|
$L "| | | '_ \\ / _ \\/ _\` |/ _\` |/ _ \\/ _ \\/ __|"
|
||||||
$L "Welcome to Android `getprop ro.build.version.release` / CyanogenMod-`getprop ro.cm.version`";
|
$L "| | | | | | __/ (_| | (_| | __/ (_) \\__ \\"
|
||||||
|
$L "|_|_|_| |_|\\___|\\__,_|\\__, |\\___|\\___/|___/"
|
||||||
|
$L " |___/"
|
||||||
|
$L "Welcome to Android `getprop ro.build.version.release` / LineageOS-`getprop ro.cm.version`";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
for combo in $(curl -s https://raw.githubusercontent.com/CyanogenMod/hudson/master/cm-build-targets | sed -e 's/#.*$//' | grep cm-14.1 | awk '{printf "cm_%s-%s\n", $1, $2}')
|
for combo in $(curl -s https://raw.githubusercontent.com/LineageOS/hudson/master/cm-build-targets | sed -e 's/#.*$//' | grep cm-14.1 | awk '{printf "cm_%s-%s\n", $1, $2}')
|
||||||
do
|
do
|
||||||
add_lunch_combo $combo
|
add_lunch_combo $combo
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue