Add minimal twrp for 9.0

Co-authored-by: nkk71
Co-authored-by: CaptainThrowback <captainthrowback@hotmail.com>
Co-authored-by: Chippa-a
Co-authored-by: imasaru
Co-authored-by: bigbiff bigbiff@teamw.in
Co-authored-by: mauronofrio <poronofrio@gmail.com>
Co-authored-by: theimpulson <aayushgupta219@gmail.com>
This commit is contained in:
nkk71 2017-10-25 12:37:56 +03:00 committed by Martin Dünkelmann
parent 1746d4b67b
commit 1eda3247ae
No known key found for this signature in database
GPG key ID: 992977C753423FB8
5 changed files with 477 additions and 23 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea

View file

@ -1,29 +1,17 @@
## Submitting Patches ## ## Submitting Patches ##
------------------ ------------------
Our ROM is open source, and patches are always welcome! Our project is open source, and patches are always welcome!
You can send patches by using these commands: You can send patches by using:
cd <project> Pull request, right here on git.
<make edits>
git add -A
git commit -m "commit message"
git push ssh://<username>@gerrit.omnirom.org:29418/<project> HEAD:refs/for/android-9.0
Register at <gerrit.omnirom.org> and use the username that you registered there in the above command
Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
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.
To view the status of your and others patches, visit [OmniROM Code Review](https://gerrit.omnirom.org)
Contact @lj50036 on irc, Network: freenode, Channel: #twrp
## Maintaining Authorship ## ## Maintaining Authorship ##
---------------------- ----------------------
Maintaining authorship is a very important aspect of working with Open Source code. If you wish to submit a patch/fix Maintaining authorship is a very important aspect of working with Open Source code. If you wish to submit a patch/fix
from anywhere else (another ROM, project, etc.), it is imperative that you maintain the ownership of the person whose from anywhere else (another ROM, project, etc.), it is imperative that you maintain the ownership of the person whose
work you are seeking to include. Doing so will ensure that credit is given where it is deserved, and the [prinicples of open source](http://opensource.org/docs/osd) work you are seeking to include. Doing so will ensure that credit is given where it is deserved, and the [principles of open source](http://opensource.org/docs/osd)
are upheld. Your contribution to the project will still be recognized as you will forever be listed as the committer. are upheld. Your contribution to the project will still be recognized as you will forever be listed as the committer.
If you manually cherry pick a patch/fix then you will need to add the original author prior to pushing to our [gerrit](https://gerrit.omnirom.org). If you manually cherry pick a patch/fix then you will need to add the original author prior to pushing to our [gerrit](https://gerrit.omnirom.org).
@ -34,7 +22,7 @@ after you type in `git commit -a` , type in the commit message and save. You wou
git commit --amend --author "Author <email@address.com>" git commit --amend --author "Author <email@address.com>"
``` ```
So it should look like this once you get all of the author's information So it should look like this once you get all of the author's information:
```bash ```bash
git commit --amend --author "Spencer McGillicuddy <spencer.the.bestest@gmail.com>" git commit --amend --author "Spencer McGillicuddy <spencer.the.bestest@gmail.com>"
@ -53,17 +41,25 @@ let me fix it because I was found out!" message.
## Getting Started ## ## Getting Started ##
--------------- ---------------
To get started with OmniROM, you'll need to get To get started with OMNI sources to build TWRP, you'll need to get
familiar with [Git and Repo](https://source.android.com/source/using-repo.html). familiar with [Git and Repo](https://source.android.com/source/using-repo.html).
To initialize your local repository using the OmniROM trees, use a command like this: To initialize your local repository using the OMNIROM trees to build TWRP, use a command like this:
repo init -u git://github.com/omnirom/android.git -b android-9.0 repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
To initialize a shallow clone, which will save even more space, use a command like this:
repo init --depth=1 -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
Then to sync up: Then to sync up:
repo sync repo sync
Then to build: Then to build for a device with recovery partition:
cd <source-dir>; . build/envsetup.sh; brunch <device_name> cd <source-dir>; export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch omni_<device>-eng; mka recoveryimage
Then to build for a device without recovery partition:
cd <source-dir>; export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch omni_<device>-eng; mka bootimage

View file

@ -42,4 +42,8 @@
<project path="packages/apps/OmniSwitch" name="android_packages_apps_OmniSwitch" remote="omnirom" revision="android-9.0" /> <project path="packages/apps/OmniSwitch" name="android_packages_apps_OmniSwitch" remote="omnirom" revision="android-9.0" />
<project path="packages/apps/OpenDelta" name="android_packages_apps_OpenDelta" remote="omnirom" revision="android-9.0" /> <project path="packages/apps/OpenDelta" name="android_packages_apps_OpenDelta" remote="omnirom" revision="android-9.0" />
<project path="packages/apps/Phonograph" name="android_packages_apps_Phonograph" remote="omnirom" revision="android-9.0" /> <project path="packages/apps/Phonograph" name="android_packages_apps_Phonograph" remote="omnirom" revision="android-9.0" />
<!-- LAST: Remove unused/forked Projects for minimal TWRP -->
<include name="remove-minimal.xml" />
</manifest> </manifest>

439
remove-minimal.xml Normal file
View file

@ -0,0 +1,439 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Remove from default.xml -->
<remove-project name="platform/compatibility/cdd"/>
<remove-project name="platform/cts"/>
<remove-project name="platform/external/abi-compliance-checker"/>
<remove-project name="platform/external/abi-dumper"/>
<remove-project name="platform/external/adt-infra"/>
<remove-project name="platform/external/android-clat"/>
<remove-project name="platform/external/androidplot"/>
<remove-project name="platform/external/ant-glob"/>
<remove-project name="platform/external/antlr"/>
<remove-project name="platform/external/apache-commons-math"/>
<remove-project name="platform/external/apache-harmony"/>
<remove-project name="platform/external/apache-http"/>
<remove-project name="platform/external/apache-xml"/>
<remove-project name="platform/external/archive-patcher"/>
<remove-project name="platform/external/arm-neon-tests"/>
<remove-project name="platform/external/autotest"/>
<remove-project name="platform/external/bart"/>
<remove-project name="platform/external/blktrace"/>
<remove-project name="platform/external/caliper"/>
<remove-project name="platform/external/cblas"/>
<remove-project name="platform/external/chromium-libpac"/>
<remove-project name="platform/external/chromium-trace"/>
<remove-project name="platform/external/cmockery"/>
<remove-project name="platform/external/crcalc"/>
<remove-project name="platform/external/curl"/>
<remove-project name="platform/external/dagger2"/>
<remove-project name="platform/external/deqp"/>
<remove-project name="platform/external/desugar"/>
<remove-project name="platform/external/devlib"/>
<remove-project name="platform/external/dexmaker"/>
<remove-project name="platform/external/dhcpcd-6.8.2"/>
<remove-project name="platform/external/dng_sdk"/>
<remove-project name="platform/external/dnsmasq"/>
<remove-project name="platform/external/doclava"/>
<remove-project name="platform/external/drm_hwcomposer"/>
<remove-project name="platform/external/droiddriver"/>
<remove-project name="platform/external/drrickorang"/>
<remove-project name="platform/external/easymock"/>
<remove-project name="platform/external/emma"/>
<remove-project name="platform/external/esd"/>
<remove-project name="platform/external/eyes-free"/>
<remove-project name="platform/external/fdlibm"/>
<remove-project name="platform/external/fio"/>
<remove-project name="platform/external/flatbuffers"/>
<remove-project name="platform/external/fonttools"/>
<remove-project name="platform/external/fsck_msdos"/>
<remove-project name="platform/external/gemmlowp"/>
<remove-project name="platform/external/giflib"/>
<remove-project name="platform/external/glide"/>
<remove-project name="platform/external/google-api-services-storage"/>
<remove-project name="platform/external/google-breakpad"/>
<remove-project name="platform/external/google-fonts/carrois-gothic-sc"/>
<remove-project name="platform/external/google-fonts/coming-soon"/>
<remove-project name="platform/external/google-fonts/cutive-mono"/>
<remove-project name="platform/external/google-fonts/dancing-script"/>
<remove-project name="platform/external/google-tv-pairing-protocol"/>
<remove-project name="platform/external/guava"/>
<remove-project name="platform/external/guice"/>
<remove-project name="platform/external/hamcrest"/>
<remove-project name="platform/external/harfbuzz_ng"/>
<remove-project name="platform/external/hyphenation-patterns"/>
<remove-project name="platform/external/ImageMagick"/>
<remove-project name="platform/external/ims"/>
<remove-project name="platform/external/iproute2"/>
<remove-project name="platform/external/ipsec-tools"/>
<remove-project name="platform/external/iptables"/>
<remove-project name="platform/external/iputils"/>
<remove-project name="platform/external/iw"/>
<remove-project name="platform/external/jacoco"/>
<remove-project name="platform/external/jarjar"/>
<remove-project name="platform/external/javasqlite"/>
<remove-project name="platform/external/javassist"/>
<remove-project name="platform/external/jcommander"/>
<remove-project name="platform/external/jdiff"/>
<remove-project name="platform/external/jline"/>
<remove-project name="platform/external/jmdns"/>
<remove-project name="platform/external/jsilver"/>
<remove-project name="platform/external/jsmn"/>
<remove-project name="platform/external/jsoncpp"/>
<remove-project name="platform/external/jsr305"/>
<remove-project name="platform/external/jsr330"/>
<remove-project name="platform/external/junit"/>
<remove-project name="platform/external/junit-params"/>
<remove-project name="platform/external/kernel-headers"/>
<remove-project name="platform/external/ksoap2"/>
<remove-project name="platform/external/libavc"/>
<remove-project name="platform/external/libbackup"/>
<remove-project name="platform/external/libcap-ng"/>
<remove-project name="platform/external/libconstrainedcrypto"/>
<remove-project name="platform/external/libcups"/>
<remove-project name="platform/external/libdaemon"/>
<remove-project name="platform/external/libdivsufsort"/>
<remove-project name="platform/external/libedit"/>
<remove-project name="platform/external/libese"/>
<remove-project name="platform/external/libexif"/>
<remove-project name="platform/external/libgsm"/>
<remove-project name="platform/external/libhevc"/>
<remove-project name="platform/external/libjpeg-turbo"/>
<remove-project name="platform/external/libldac"/>
<remove-project name="platform/external/libmicrohttpd"/>
<remove-project name="platform/external/libmojo"/>
<remove-project name="platform/external/libmpeg2"/>
<remove-project name="platform/external/libmtp"/>
<remove-project name="platform/external/libogg"/>
<remove-project name="platform/external/libopus"/>
<remove-project name="platform/external/libpcap"/>
<remove-project name="platform/external/libphonenumber"/>
<remove-project name="platform/external/libtextclassifier"/>
<remove-project name="platform/external/libusb"/>
<remove-project name="platform/external/libusb-compat"/>
<remove-project name="platform/external/libvncserver"/>
<remove-project name="platform/external/libvpx"/>
<remove-project name="platform/external/libvterm"/>
<remove-project name="platform/external/libyuv"/>
<remove-project name="platform/external/linux-kselftest"/>
<remove-project name="platform/external/lisa"/>
<remove-project name="platform/external/lmfit"/>
<remove-project name="platform/external/ltp"/>
<remove-project name="platform/external/markdown"/>
<remove-project name="platform/external/mesa3d"/>
<remove-project name="platform/external/Microsoft-GSL"/>
<remove-project name="platform/external/mmc-utils"/>
<remove-project name="platform/external/mockftpserver"/>
<remove-project name="platform/external/mockito"/>
<remove-project name="platform/external/mockwebserver"/>
<remove-project name="platform/external/mp4parser"/>
<remove-project name="platform/external/mtpd"/>
<remove-project name="platform/external/nanohttpd"/>
<remove-project name="platform/external/nanopb-c"/>
<remove-project name="platform/external/naver-fonts"/>
<remove-project name="platform/external/netcat"/>
<remove-project name="platform/external/neven"/>
<remove-project name="platform/external/nfacct"/>
<remove-project name="platform/external/nist-pkits"/>
<remove-project name="platform/external/nist-sip"/>
<remove-project name="platform/external/noto-fonts"/>
<remove-project name="platform/external/oauth"/>
<remove-project name="platform/external/objenesis"/>
<remove-project name="platform/external/okhttp"/>
<remove-project name="platform/external/owasp/sanitizer"/>
<remove-project name="platform/external/parameter-framework"/>
<remove-project name="platform/external/pdfium"/>
<remove-project name="platform/external/piex"/>
<remove-project name="platform/external/ply"/>
<remove-project name="platform/external/ppp"/>
<remove-project name="platform/external/proguard"/>
<remove-project name="platform/external/python/cpython3"/>
<remove-project name="platform/external/replicaisland"/>
<remove-project name="platform/external/rmi4utils"/>
<remove-project name="platform/external/robolectric"/>
<remove-project name="platform/external/roboto-fonts"/>
<remove-project name="platform/external/rootdev"/>
<remove-project name="platform/external/seccomp-tests"/>
<remove-project name="platform/external/sfntly"/>
<remove-project name="platform/external/shflags"/>
<remove-project name="android_external_skia"/>
<remove-project name="platform/external/sl4a"/>
<remove-project name="platform/external/slf4j"/>
<remove-project name="platform/external/smali"/>
<remove-project name="platform/external/snakeyaml"/>
<remove-project name="platform/external/sonic"/>
<remove-project name="platform/external/sonivox"/>
<remove-project name="platform/external/spirv-llvm"/>
<remove-project name="platform/external/sqlite"/>
<remove-project name="platform/external/stressapptest"/>
<remove-project name="platform/external/swiftshader"/>
<remove-project name="platform/external/syslinux"/>
<remove-project name="platform/external/tagsoup"/>
<remove-project name="platform/external/tcpdump"/>
<remove-project name="platform/external/testng"/>
<remove-project name="platform/external/timezonepicker-support"/>
<remove-project name="platform/external/tinyxml"/>
<remove-project name="platform/external/toolchain-utils"/>
<remove-project name="platform/external/tpm2"/>
<remove-project name="platform/external/trappy"/>
<remove-project name="platform/external/tremolo"/>
<remove-project name="platform/external/unicode"/>
<remove-project name="platform/external/universal-tween-engine"/>
<remove-project name="platform/external/v4l2_codec2"/>
<remove-project name="platform/external/v8"/>
<remove-project name="platform/external/vboot_reference"/>
<remove-project name="platform/external/vogar"/>
<remove-project name="platform/external/volley"/>
<remove-project name="platform/external/vulkan-validation-layers"/>
<remove-project name="platform/external/walt"/>
<remove-project name="platform/external/webp"/>
<remove-project name="platform/external/webrtc"/>
<remove-project name="platform/external/wpa_supplicant_8"/>
<remove-project name="platform/external/wycheproof"/>
<remove-project name="platform/external/x264"/>
<remove-project name="platform/external/xmlrpcpp"/>
<remove-project name="platform/external/xmp_toolkit"/>
<remove-project name="platform/external/zopfli"/>
<remove-project name="platform/external/zxing"/>
<remove-project name="platform/frameworks/compile/mclinker"/>
<remove-project name="platform/frameworks/ex"/>
<remove-project name="platform/frameworks/layoutlib"/>
<remove-project name="platform/frameworks/minikin"/>
<remove-project name="platform/frameworks/ml"/>
<remove-project name="platform/frameworks/multidex"/>
<remove-project name="platform/frameworks/opt/bitmap"/>
<remove-project name="platform/frameworks/opt/calendar"/>
<remove-project name="platform/frameworks/opt/chips"/>
<remove-project name="platform/frameworks/opt/colorpicker"/>
<remove-project name="platform/frameworks/opt/datetimepicker"/>
<remove-project name="platform/frameworks/opt/inputconnectioncommon"/>
<remove-project name="platform/frameworks/opt/inputmethodcommon"/>
<remove-project name="platform/frameworks/opt/net/ethernet"/>
<remove-project name="platform/frameworks/opt/net/lowpan"/>
<remove-project name="platform/frameworks/opt/net/voip"/>
<remove-project name="platform/frameworks/opt/photoviewer"/>
<remove-project name="platform/frameworks/opt/timezonepicker"/>
<remove-project name="platform/frameworks/opt/vcard"/>
<remove-project name="platform/frameworks/support"/>
<remove-project name="platform/frameworks/data-binding"/>
<remove-project name="platform/frameworks/wilhelm"/>
<remove-project name="platform/hardware/akm"/>
<remove-project name="platform/hardware/broadcom/libbt"/>
<remove-project name="platform/hardware/broadcom/wlan"/>
<remove-project name="platform/hardware/google/av"/>
<remove-project name="platform/hardware/google/apf"/>
<remove-project name="platform/hardware/google/easel"/>
<remove-project name="platform/hardware/google/interfaces"/>
<remove-project name="android_vendor_qcom_opensource_interfaces"/>
<remove-project name="platform/hardware/qcom/keymaster"/>
<remove-project name="platform/packages/apps/BasicSmsReceiver"/>
<remove-project name="platform/packages/apps/Browser2"/>
<remove-project name="platform/packages/apps/Camera2"/>
<remove-project name="platform/packages/apps/CarrierConfig"/>
<remove-project name="platform/packages/apps/CertInstaller"/>
<remove-project name="platform/packages/apps/DevCamera"/>
<remove-project name="platform/packages/apps/Email"/>
<remove-project name="platform/packages/apps/ExactCalculator"/>
<remove-project name="platform/packages/apps/HTMLViewer"/>
<remove-project name="platform/packages/apps/KeyChain"/>
<remove-project name="platform/packages/apps/LegacyCamera"/>
<remove-project name="platform/packages/apps/ManagedProvisioning"/>
<remove-project name="platform/packages/apps/OneTimeInitializer"/>
<remove-project name="platform/packages/apps/PackageInstaller"/>
<remove-project name="platform/packages/apps/Protips"/>
<remove-project name="platform/packages/apps/Provision"/>
<remove-project name="platform/packages/apps/QuickSearchBox"/>
<remove-project name="platform/packages/apps/SafetyRegulatoryInfo"/>
<remove-project name="platform/packages/apps/SoundRecorder"/>
<remove-project name="platform/packages/apps/SpareParts"/>
<remove-project name="platform/packages/apps/StorageManager"/>
<remove-project name="android_packages_apps_Tag"/>
<remove-project name="platform/packages/apps/Terminal"/>
<remove-project name="platform/packages/apps/Test/connectivity"/>
<remove-project name="platform/packages/apps/TimeZoneData"/>
<remove-project name="platform/packages/apps/TimeZoneUpdater"/>
<remove-project name="platform/packages/apps/Traceur"/>
<remove-project name="platform/packages/apps/TvSettings"/>
<remove-project name="platform/packages/apps/TV"/>
<remove-project name="platform/packages/apps/UnifiedEmail"/>
<remove-project name="platform/packages/apps/WallpaperPicker"/>
<remove-project name="platform/packages/experimental"/>
<remove-project name="platform/packages/inputmethods/OpenWnn"/>
<remove-project name="platform/packages/providers/ApplicationsProvider"/>
<remove-project name="platform/packages/providers/BlockedNumberProvider"/>
<remove-project name="platform/packages/providers/BookmarkProvider"/>
<remove-project name="platform/packages/providers/CalendarProvider"/>
<remove-project name="platform/packages/providers/CallLogProvider"/>
<remove-project name="platform/packages/providers/ContactsProvider"/>
<remove-project name="platform/packages/providers/MediaProvider"/>
<remove-project name="platform/packages/providers/PartnerBookmarksProvider"/>
<remove-project name="platform/packages/providers/TelephonyProvider"/>
<remove-project name="platform/packages/providers/TvProvider"/>
<remove-project name="platform/packages/providers/UserDictionaryProvider"/>
<remove-project name="platform/packages/screensavers/Basic"/>
<remove-project name="platform/packages/screensavers/PhotoTable"/>
<remove-project name="platform/packages/screensavers/WebView"/>
<remove-project name="platform/packages/apps/Car/Dialer"/>
<remove-project name="platform/packages/apps/Car/Hvac"/>
<remove-project name="platform/packages/apps/Car/LatinIME"/>
<remove-project name="platform/packages/apps/Car/LensPicker"/>
<remove-project name="platform/packages/apps/Car/LocalMediaPlayer"/>
<remove-project name="platform/packages/apps/Car/Media"/>
<remove-project name="platform/packages/apps/Car/Messenger"/>
<remove-project name="platform/packages/apps/Car/Overview"/>
<remove-project name="platform/packages/apps/Car/Radio"/>
<remove-project name="platform/packages/apps/Car/Settings"/>
<remove-project name="platform/packages/apps/Car/Stream"/>
<remove-project name="platform/packages/apps/Car/SystemUpdater"/>
<remove-project name="platform/packages/apps/Car/libs"/>
<remove-project name="platform/packages/services/BuiltInPrintService"/>
<remove-project name="platform/packages/services/Car"/>
<remove-project name="platform/packages/services/Mms"/>
<remove-project name="platform/packages/services/NetworkRecommendation"/>
<remove-project name="platform/packages/wallpapers/LivePicker"/>
<remove-project name="platform/pdk"/>
<remove-project name="platform/platform_testing"/>
<remove-project name="platform/prebuilts/abi-dumps/ndk"/>
<remove-project name="platform/prebuilts/abi-dumps/vndk"/>
<remove-project name="platform/prebuilts/android-emulator"/>
<remove-project name="platform/prebuilts/checkcolor"/>
<remove-project name="platform/prebuilts/checkstyle"/>
<remove-project name="platform/prebuilts/clang/host/darwin-x86"/>
<remove-project name="platform/prebuilts/devtools"/>
<remove-project name="platform/prebuilts/deqp"/>
<remove-project name="platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9"/>
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9"/>
<remove-project name="platform/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1"/>
<remove-project name="platform/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9"/>
<remove-project name="platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9"/>
<remove-project name="platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8"/>
<remove-project name="platform/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9"/>
<remove-project name="platform/prebuilts/gdb/darwin-x86"/>
<remove-project name="platform/prebuilts/gdb/linux-x86"/>
<remove-project name="platform/prebuilts/go/darwin-x86"/>
<remove-project name="platform/prebuilts/gradle-plugin"/>
<remove-project name="platform/prebuilts/libs/libedit"/>
<remove-project name="platform/prebuilts/maven_repo/android"/>
<remove-project name="platform/prebuilts/maven_repo/bumptech"/>
<remove-project name="platform/prebuilts/python/darwin-x86/2.7.5"/>
<remove-project name="platform/prebuilts/qemu-kernel"/>
<remove-project name="platform/prebuilts/tools"/>
<remove-project name="platform/system/ca-certificates"/>
<remove-project name="platform/system/connectivity/wificond"/>
<remove-project name="platform/system/connectivity/wifilogd"/>
<remove-project name="platform/system/chre"/>
<remove-project name="platform/system/libufdt"/>
<remove-project name="platform/system/nvram"/>
<remove-project name="platform/system/tpm"/>
<!-- Remove platform/test/vts to avoid the test errors and more dependencies -->
<remove-project name="platform/test/framework"/>
<remove-project name="platform/test/suite_harness"/>
<remove-project name="platform/test/vti/alert"/>
<remove-project name="platform/test/vti/dashboard"/>
<remove-project name="platform/test/vti/fuzz_test_serving"/>
<remove-project name="platform/test/vti/test_serving"/>
<remove-project name="platform/test/vts"/>
<remove-project name="platform/test/vts-testcase/fuzz"/>
<remove-project name="platform/test/vts-testcase/hal"/>
<remove-project name="platform/test/vts-testcase/hal-trace"/>
<remove-project name="platform/test/vts-testcase/kernel"/>
<remove-project name="platform/test/vts-testcase/performance"/>
<remove-project name="platform/test/vts-testcase/nbu"/>
<remove-project name="platform/test/vts-testcase/security"/>
<remove-project name="platform/test/vts-testcase/vndk"/>
<remove-project name="platform/tools/adt/idea"/>
<remove-project name="platform/tools/apksig"/>
<remove-project name="platform/tools/base"/>
<remove-project name="platform/tools/build"/>
<remove-project name="platform/tools/external/fat32lib"/>
<remove-project name="platform/tools/external/gradle"/>
<remove-project name="platform/tools/idea"/>
<remove-project name="platform/tools/loganalysis"/>
<remove-project name="platform/tools/motodev"/>
<remove-project name="platform/tools/repohooks"/>
<remove-project name="platform/tools/studio/cloud"/>
<remove-project name="platform/tools/swt"/>
<remove-project name="platform/tools/test/connectivity"/>
<remove-project name="platform/tools/tradefederation"/>
<remove-project name="platform/tools/tradefederation/contrib"/>
<!-- Remove from omni-aosp.xml (forked AOSP) -->
<remove-project name="android_development"/>
<remove-project name="android_external_aac"/>
<remove-project name="android_frameworks_opt_net_ims"/>
<remove-project name="android_frameworks_opt_net_wifi"/>
<remove-project name="android_frameworks_opt_telephony"/>
<remove-project name="android_hardware_invensense"/>
<remove-project name="android_hardware_qcom_audio"/>
<remove-project name="android_hardware_qcom_bt"/>
<remove-project name="android_hardware_qcom_display"/>
<remove-project name="android_hardware_qcom_media"/>
<remove-project name="android_hardware_qcom_msm8998"/>
<remove-project name="android_hardware_qcom_power"/>
<remove-project name="android_hardware_qcom_wlan"/>
<remove-project name="android_packages_apps_Bluetooth"/>
<remove-project name="android_packages_apps_Calendar"/>
<remove-project name="android_packages_apps_CellBroadcastReceiver"/>
<remove-project name="android_packages_apps_Contacts"/>
<remove-project name="android_packages_apps_Dialer"/>
<remove-project name="android_packages_apps_EmergencyInfo"/>
<remove-project name="android_packages_apps_Launcher3"/>
<remove-project name="android_packages_apps_Gallery2"/>
<remove-project name="android_packages_apps_Messaging"/>
<remove-project name="android_packages_apps_MusicFX"/>
<remove-project name="android_packages_apps_Nfc"/>
<remove-project name="android_packages_apps_OmniBrain"/>
<remove-project name="android_packages_apps_OmniLib"/>
<remove-project name="android_packages_apps_PhoneCommon"/>
<remove-project name="android_packages_apps_Settings"/>
<remove-project name="android_packages_apps_Stk"/>
<remove-project name="android_packages_inputmethods_LatinIME"/>
<remove-project name="android_packages_providers_DownloadProvider"/>
<remove-project name="android_packages_services_Telecomm"/>
<remove-project name="android_packages_services_Telephony"/>
<remove-project name="android_system_bt"/>
<remove-project name="android_system_nfc"/>
<!-- Remove from omni-caf.xml (forked CAF) -->
<remove-project name="android_external_libnetfilter_conntrack"/>
<remove-project name="android_external_libnfnetlink"/>
<remove-project name="android_hardware_ril"/>
<remove-project name="android_vendor_codeaurora_telephony"/>
<!-- Remove from omni-default.xml (OmniROM Projects) -->
<remove-project name="android_packages_apps_Matlog"/>
<remove-project name="android_packages_apps_MonthCalendarWidget"/>
<remove-project name="android_packages_apps_OmniChange"/>
<remove-project name="android_packages_apps_OmniClock"/>
<remove-project name="android_packages_apps_OmniGears"/>
<remove-project name="android_packages_services_OmniJaws"/>
<remove-project name="android_packages_apps_OmniStyle"/>
<remove-project name="android_packages_apps_OmniSwitch"/>
<remove-project name="android_packages_apps_OpenDelta"/>
<remove-project name="android_packages_apps_Phonograph"/>
<remove-project name="android_vendor_interfaces"/>
<!-- LAST: Add/Replace repos and particular directories needed by TWRP -->
<include name="twrp-extras.xml"/>
</manifest>

14
twrp-extras.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="TeamWin"
fetch="https://github.com/TeamWin"
review="https://gerrit.twrp.me" />
<!-- TWRP lives in omnirom android-9.0 (not AOSP!) -->
<remove-project name="platform/bootable/recovery"/>
<project path="bootable/recovery" name="android_bootable_recovery" remote="omnirom" revision="android-9.0"/>
<!-- Include external Magisk repo for repack binaries -->
<project path="external/magisk-prebuilt" name="external_magisk-prebuilt" remote="TeamWin" revision="master" />
</manifest>