Skip to content

Commit

Permalink
Initial tracking for DerpFest
Browse files Browse the repository at this point in the history
Signed-off-by: NurKeinNeid <[email protected]>
  • Loading branch information
NurKeinNeid authored and idoybh committed Mar 6, 2020
1 parent aceaa0e commit 0f6d1ec
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 121 deletions.
89 changes: 26 additions & 63 deletions README.mkdn
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
AOSiP
===========
DerpFest
==============

Getting Started
---------------

To get started with Android, you'll need to get
familiar with [Git and Repo](http://source.android.com/source/using-repo.html).

To initialize your local repository using the AOSiP trees, use a command like this:
To initialize your local repository using the DerpFest trees, use a command like this:

```bash
repo init -u git://github.com/AOSiP/platform_manifest.git -b ten
repo init -u git://github.com/DerpLab/platform_manifest.git -b ten
```
Then to sync up:
```bash
Expand All @@ -20,73 +20,21 @@ repo sync --force-sync --no-tags --no-clone-bundle
Building the source
---------------

The source at AOSiP is well configured for building.
The source at DerpFest is well configured for building.

```bash
source build/envsetup.sh
lunch aosip_device-userdebug
time mka kronic
. build/envsetup.sh
lunch derp_device-userdebug
mka kronic
```

## Submitting Patches ##
## Help from other devices ##

You can submit your patches to AOSiP just by registering at "https://review.aosip.dev"
Look, my device doesn't have FOD, so I couldn't add and test the FOD features myself. The same happens with Notch stuff, so if you want to add tweaks, features or help me to optimize the ROM, you can make pull request and help me out, will be really appreciated.

Open up terminal to create your ssh keys required for submitting patches to gerrit and type in:

```bash
ssh-keygen
```

In our gerrit click on your "Avatar" on the top right, then on "Settings".

While in 'Settings' Click on "SSH Public Keys" on the left hand side and then on "Add Key".

Then copy and paste the contents of ~/.ssh/id_rsa.pub to "Gerrit SSH Public Keys".

You can send patches to us by using these commands in terminal:

cd PROJECT - i.e
```bash
cd packages/apps/OwlsNest
```
Make edits that you want to see .....
```bash
git add .
git commit -a
```
Type out a commit message that makes sense for the proposed change

Ctrl O, then Ctrl X to save and exit

```bash
git push ssh://[email protected]:29418/PROJECT HEAD:refs/for/BRANCH
```
BRANCH - i.e ten
PROJECT - i.e AOSIP/platform_packages_apps_OwlsNest
USERNAME - i.e Shreesha

If you're feeling extra lazy, you can submit streamline the process. First you need to tell git about your gerrit username:
```bash
git config --global review.review.aosip.dev.username <Your username registered at AOSiP gerrit>
```

Now you can run these commands to push changes to gerrit. Note: the first command only needs run once from each project.
```bash
gerrit
git push gerrit HEAD:refs/for/BRANCH
```

If you are going to make extra additions, just repeat steps (don't start a new patch), but instead of git commit -m
use git commit --amend. Gerrit will recognize it as a new patchset.

For more information on how to push to a gerrit, please read the
following: [Link](https://wiki.mahara.org/wiki/Developer_Area/Contributing_Code)

Also to make this even easier, you can use a universal gerrit script provided by PAC:
[Link](https://forum.xda-developers.com/showthread.php?t=2530388)

## Maintaining Authorship ##

Please make sure if you submit a patch/fix from another ROM that you maintain authorship.
This is very important to not only us but to the entire open source community. It's what keeps it going and encourages more developers to
contribute their work.
Expand All @@ -106,3 +54,18 @@ So it should look like this once you get all author's information:
git commit --amend --author "Shreesha <[email protected]>"
```

## Thanks section ##

Here's my thanks to people who made this possible:

* AOSiP
* PixelExperience
* CrDroid
* Pixeldust Project
* BootleggersROM
* OmniROM
* CyanogenMod/LineageOS
* Ground Zero ROMs Team
* NitrogenOS
* AICP
* DirtyUnicorns
2 changes: 1 addition & 1 deletion default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
<project path="packages/apps/TV" name="platform/packages/apps/TV" groups="pdk" />
<project path="packages/apps/UnifiedEmail" name="platform/packages/apps/UnifiedEmail" groups="pdk-fs" />
<project path="packages/apps/UniversalMediaPlayer" name="platform/packages/apps/UniversalMediaPlayer" />
<project path="packages/apps/WallpaperPicker" name="platform/packages/apps/WallpaperPicker" groups="pdk-fs" />
<project path="packages/apps/WallpaperPicker" name="platform/packages/apps/WallpaperPicker" groups="pdk-fs" />
<project path="packages/apps/WallpaperPicker2" name="platform/packages/apps/WallpaperPicker2" groups="pdk-fs" />
<project path="packages/inputmethods/LatinIME" name="platform/packages/inputmethods/LatinIME" groups="pdk-fs" />
<project path="packages/modules/CaptivePortalLogin" name="platform/packages/modules/CaptivePortalLogin" groups="pdk-cw-fs,pdk-fs" />
Expand Down
125 changes: 72 additions & 53 deletions snippets/aosip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,24 @@
revision="refs/heads/ten" />

<remote name="devices"
fetch="https://github.com/AOSiP-Devices"
fetch="https://github.com/DerpFest-Devices"
revision="refs/heads/ten" />

<remote name="derp"
fetch="https://github.com/DerpLab"
revision="refs/heads/ten" />

<!-- AOSiP -->
<!-- General -->
<project path="art" name="platform_art" remote="aosip" />
<project path="bionic" name="platform_bionic" remote="aosip" />
<project path="bootable/recovery" name="platform_bootable_recovery" remote="aosip" />
<project path="development" name="platform_development" remote="aosip" />
<project path="manifest" name="platform_manifest" remote="aosip" />
<project path="art" name="platform_art" remote="derp" />
<project path="bionic" name="platform_bionic" remote="derp" />
<project path="bootable/recovery" name="platform_bootable_recovery" remote="derp" />
<project path="development" name="platform_development" remote="derp" />
<project path="manifest" name="DerpLab/platform_manifest" remote="github" revision="ten" />

<!-- Build -->
<project path="build/blueprint" name="platform_build_blueprint" remote="aosip" />
<project path="build/make" name="platform_build" remote="aosip" >
<project path="build/blueprint" name="platform_build_blueprint" remote="derp" />
<project path="build/make" name="platform_build" remote="derp" >
<copyfile src="core/root.mk" dest="Makefile" />
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
Expand All @@ -34,97 +38,112 @@
<linkfile src="target" dest="build/target" />
<linkfile src="tools" dest="build/tools" />
</project>
<project path="build/soong" name="platform_build_soong" remote="aosip" >
<project path="build/soong" name="platform_build_soong" remote="derp" >
<linkfile src="root.bp" dest="Android.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" />
</project>

<!-- Device -->
<project path="device/aosip/sepolicy" name="device_aosip_sepolicy" remote="aosip" />
<project path="device/qcom/sepolicy" name="device_qcom_sepolicy" remote="aosip" />
<project path="device/aosip/sepolicy" name="device_aosip_sepolicy" remote="derp" />
<project path="device/qcom/sepolicy" name="device_qcom_sepolicy" remote="derp" />
<project path="device/qcom/sepolicy-legacy" name="device_qcom_sepolicy" remote="aosip" revision="ten-legacy" />
<project path="device/qcom/sepolicy-legacy-um" name="device_qcom_sepolicy" remote="aosip" revision="ten-legacy-um" />
<project path="device/qcom/sepolicy-legacy-um" name="device_qcom_sepolicy" remote="derp" revision="ten-legacy-um" />

<!-- External -->
<project path="external/e2fsprogs" name="platform_external_e2fsprogs" remote="aosip" />
<project path="external/f2fs-tools" name="platform_external_f2fs-tools" remote="aosip" />
<project path="external/google" name="platform_external_google" remote="aosip" />
<project path="external/gptfdisk" name="platform_external_gptfdisk" remote="aosip" />
<project path="external/one-true-awk" name="platform_external_one-true-awk" remote="aosip" />
<project path="external/perfetto" name="platform_external_perfetto" remote="aosip" />
<project path="external/proguard" name="platform_external_proguard" remote="aosip" />
<project path="external/selinux" name="platform_external_selinux" remote="aosip" />
<project path="external/skia" name="platform_external_skia" remote="aosip" />
<project path="external/sqlite" name="platform_external_sqlite" remote="aosip" />
<project path="external/skia" name="platform_external_skia" remote="derp" />
<project path="external/sqlite" name="platform_external_sqlite" remote="derp" />
<project path="external/tinyalsa" name="platform_external_tinyalsa" remote="aosip" />
<project path="external/tinycompress" name="platform_external_tinycompress" remote="aosip" />
<project path="external/tinycompress" name="platform_external_tinycompress" remote="derp" />
<project path="external/toybox" name="platform_external_toybox" remote="aosip" />
<project path="external/zlib" name="platform_external_zlib" remote="aosip" />

<!-- Frameworks -->
<project path="frameworks/av" name="platform_frameworks_av" remote="aosip" />
<project path="frameworks/base" name="platform_frameworks_base" remote="aosip" />
<project path="frameworks/av" name="platform_frameworks_av" remote="derp" />
<project path="frameworks/base" name="platform_frameworks_base" remote="derp" />
<project path="frameworks/compile/mclinker" name="platform_frameworks_compile_mclinker" remote="aosip" />
<project path="frameworks/native" name="platform_frameworks_native" remote="aosip" />
<project path="frameworks/native" name="platform_frameworks_native" remote="derp" />
<project path="frameworks/opt/net/ims" name="platform_frameworks_opt_net_ims" remote="aosip" />
<project path="frameworks/opt/net/wifi" name="platform_frameworks_opt_net_wifi" remote="aosip" />
<project path="frameworks/opt/telephony" name="platform_frameworks_opt_telephony" remote="aosip" />
<project path="frameworks/opt/net/wifi" name="platform_frameworks_opt_net_wifi" remote="derp" />
<project path="frameworks/opt/telephony" name="platform_frameworks_opt_telephony" remote="derp" />

<!-- Hardware -->
<project path="hardware/aosip/interfaces" name="platform_hardware_aosip_interfaces" remote="aosip" />
<project path="hardware/interfaces" name="platform_hardware_interfaces" remote="aosip" />
<project path="hardware/libhardware" name="platform_hardware_libhardware" remote="aosip" />
<project path="hardware/libhardware_legacy" name="platform_hardware_libhardware_legacy" remote="aosip" />
<project path="hardware/aosip/interfaces" name="platform_hardware_aosip_interfaces" remote="derp" />
<project path="hardware/interfaces" name="platform_hardware_interfaces" remote="derp" />
<project path="hardware/libhardware" name="platform_hardware_libhardware" remote="derp" />
<project path="hardware/libhardware_legacy" name="platform_hardware_libhardware_legacy" remote="derp" />
<project path="hardware/nxp/nfc" name="platform_hardware_nxp_nfc" remote="aosip" />
<project path="hardware/qcom/data/ipacfg-mgr" name="platform_hardware_qcom_data_ipacfg-mgr" remote="aosip" />
<project path="hardware/qcom/keymaster" name="platform_hardware_qcom_keymaster" remote="aosip" />
<project path="hardware/ril" name="platform_hardware_ril" remote="aosip" />

<!-- Packages -->
<project path="packages/apps/Bluetooth" name="platform_packages_apps_Bluetooth" remote="aosip" />
<project path="packages/apps/CarrierConfig" name="platform_packages_apps_CarrierConfig" remote="aosip" />
<project path="packages/apps/CellBroadcastReceiver" name="platform_packages_apps_CellBroadcastReceiver" remote="aosip" />
<project path="packages/apps/CertInstaller" name="platform_packages_apps_CertInstaller" remote="aosip" />
<project path="packages/apps/Bluetooth" name="platform_packages_apps_Bluetooth" remote="derp" />
<project path="packages/apps/CarrierConfig" name="platform_packages_apps_CarrierConfig" remote="derp" />
<project path="packages/apps/CellBroadcastReceiver" name="platform_packages_apps_CellBroadcastReceiver" remote="derp" />
<project path="packages/apps/CertInstaller" name="platform_packages_apps_CertInstaller" remote="derp" />
<project path="packages/apps/Contacts" name="platform_packages_apps_Contacts" remote="aosip" />
<project path="packages/apps/Dialer" name="platform_packages_apps_Dialer" remote="aosip" />
<project path="packages/apps/DocumentsUI" name="platform_packages_apps_DocumentsUI" remote="aosip" />
<project path="packages/apps/Launcher3" name="platform_packages_apps_Launcher3" remote="aosip" />
<project path="packages/apps/Messaging" name="platform_packages_apps_Messaging" remote="aosip" />
<project path="packages/apps/Nfc" name="platform_packages_apps_Nfc" remote="aosip" />
<project path="packages/apps/OwlsNest" name="platform_packages_apps_OwlsNest" remote="aosip" />
<project path="packages/apps/Nfc" name="platform_packages_apps_Nfc" remote="derp" />
<project path="packages/apps/PermissionController" name="platform_packages_apps_PackageInstaller" remote="aosip" />
<project path="packages/apps/PhoneCommon" name="platform_packages_apps_PhoneCommon" remote="aosip" />
<project path="packages/apps/Settings" name="platform_packages_apps_Settings" remote="aosip" />
<project path="packages/apps/SettingsIntelligence" name="platform_packages_apps_SettingsIntelligence" remote="aosip" />
<project path="packages/apps/Snap" name="platform_packages_apps_Snap" remote="aosip" />
<project path="packages/apps/ThemePicker" name="platform_packages_apps_ThemePicker" remote="aosip" />
<project path="packages/apps/Updater" name="platform_packages_apps_Updater" remote="aosip" />
<project path="packages/apps/WallpaperPicker2" name="platform_packages_apps_WallpaperPicker2" remote="aosip" />
<project path="packages/inputmethods/LatinIME" name="platform_packages_inputmethods_LatinIME" remote="aosip" />
<project path="packages/apps/PhoneCommon" name="platform_packages_apps_PhoneCommon" remote="derp" />
<project path="packages/apps/Settings" name="platform_packages_apps_Settings" remote="derp" />
<project path="packages/apps/SettingsIntelligence" name="platform_packages_apps_SettingsIntelligence" remote="derp" />
<project path="packages/apps/ThemePicker" name="platform_packages_apps_ThemePicker" remote="derp" />
<project path="packages/apps/WallpaperPicker2" name="platform_packages_apps_WallpaperPicker2" remote="derp" />
<project path="packages/inputmethods/LatinIME" name="platform_packages_inputmethods_LatinIME" remote="derp" />
<project path="packages/providers/ContactsProvider" name="platform_packages_providers_ContactsProvider" remote="aosip" />
<project path="packages/providers/DownloadProvider" name="platform_packages_providers_DownloadProvider" remote="aosip" />
<project path="packages/providers/MediaProvider" name="platform_packages_providers_MediaProvider" remote="aosip" />
<project path="packages/services/Telecomm" name="platform_packages_services_Telecomm" remote="aosip" />
<project path="packages/services/Telephony" name="platform_packages_services_Telephony" remote="aosip" />
<project path="packages/providers/DownloadProvider" name="platform_packages_providers_DownloadProvider" remote="derp" />
<project path="packages/providers/MediaProvider" name="platform_packages_providers_MediaProvider" remote="derp" />
<project path="packages/services/Telecomm" name="platform_packages_services_Telecomm" remote="derp" />
<project path="packages/services/Telephony" name="platform_packages_services_Telephony" remote="derp" />

<!-- Platform -->
<project path="platform_testing" name="platform_platform_testing" remote="aosip" />

<!-- System -->
<project path="system/bt" name="platform_system_bt" remote="aosip" />
<project path="system/core" name="platform_system_core" remote="aosip" />
<project path="system/extras" name="platform_system_extras" remote="aosip" />
<project path="system/bt" name="platform_system_bt" remote="derp" />
<project path="system/core" name="platform_system_core" remote="derp" />
<project path="system/extras" name="platform_system_extras" remote="derp" />
<project path="system/hardware/interfaces" name="platform_system_hardware_interfaces" remote="aosip" />
<project path="system/tools/hidl" name="platform_system_tools_hidl" remote="aosip" />
<project path="system/update_engine" name="platform_system_update_engine" remote="aosip" />
<project path="system/sepolicy" name="platform_system_sepolicy" remote="aosip" />
<project path="system/vold" name="platform_system_vold" remote="aosip" />
<project path="system/sepolicy" name="platform_system_sepolicy" remote="derp" />
<project path="system/vold" name="platform_system_vold" remote="derp" />

<!-- Vendor -->
<project path="vendor/aosip" name="platform_vendor_aosip" remote="aosip" />
<project path="vendor/codeaurora/telephony" name="platform_vendor_codeaurora_telephony" remote="aosip" />
<project path="vendor/overlay" name="platform_vendor_overlay" remote="aosip" />
<project path="vendor/prebuilts" name="platform_vendor_prebuilts" remote="aosip" />
<project path="vendor/aosip" name="platform_vendor_aosip" remote="derp" />
<project path="vendor/codeaurora/telephony" name="platform_vendor_codeaurora_telephony" remote="derp" />
<project path="vendor/overlay" name="platform_vendor_overlay" remote="derp" />
<project path="vendor/prebuilts" name="platform_vendor_prebuilts" remote="derp" />
<project path="vendor/qcom/opensource/cryptfs_hw" name="platform_vendor_qcom_opensource_cryptfs_hw" remote="aosip" />
</manifest>

<!-- DerpFest specific stuf -->
<project path="packages/apps/DerpQuest" name="platform_packages_apps_DerpQuest" remote="derp" />
<project path="packages/apps/OmniRecord" name="platform_packages_apps_OmniRecord" remote="derp" />
<project path="packages/apps/OmniStyle" name="platform_packages_apps_OmniStyle" remote="derp" />
<project path="packages/apps/OpenDelta" name="platform_packages_apps_OpenDelta" remote="derp" />
<project path="prebuilts/clang/host/linux-x86" name="platform_prebuilts_clang_host_linux-x86" remote="derp" clone-depth="1" />
<project path="prebuilts/clang/host/linux-x86/clang-6189010" name="crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-6189010" remote="github" revision="10.0" clone-depth="1" />
<project path="prebuilts/gcc/linux-x86/aarch64/aarch64-elf" name="AOSPA/android_prebuilts_gcc_linux-x86_aarch64_aarch64-elf" remote="github" revision="master" clone-depth="1" />
<project path="system/apex" name="PixelExperience/system_apex" remote="github" revision="ten" />
<project path="system/keymaster" name="platform_system_keymaster" remote="derp" />
<project path="system/netd" name="platform_system_netd" remote="derp" />
<project path="system/qcom" name="ArrowOS/android_system_qcom" remote="github" revision="arrow-10.0" />

<!-- PixelExperience GApps and Mods -->
<project path="packages/apps/PixelLiveWallpaper" name="PixelExperience/packages_apps_PixelLiveWallpaper" remote="gitlab" revision="ten" />
<project path="vendor/gapps" name="NurKeinNeid/vendor_gapps" remote="gitlab" revision="ten" clone-depth="1" />
<project path="vendor/google/customization" name="PixelExperience/vendor_google_customization" remote="github" revision="ten" />
<project path="vendor/pixelstyle" name="platform_vendor_pixelstyle" remote="derp" />

</manifest>
Loading

0 comments on commit 0f6d1ec

Please sign in to comment.