mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 23:19:31 -05:00
Repository cleanup
This commit is contained in:
parent
cc3d88ae23
commit
5ca8519d55
@ -1,18 +1,17 @@
|
||||
Last Updated: 01/24/2017
|
||||
Last Updated: 01/27/2017
|
||||
Credits: LineageOS, CyanogenMod, CopperheadOS, OmniROM, TeamWin, F-Droid, MicroG, EmojiOne, anarkia1976, bhb27, Daniel Micay, dirtyhank, Evisceration, faux123, flar2, franciscofranco, hellsgod, mar-v-in, mimi89999, nikhil18, nvllsvm, savoca, stefano.villa1976, WedyDQ10, XileForce
|
||||
|
||||
Warnings
|
||||
- Do *not* flash any root frameworks, root is already included.
|
||||
- Do *not* flash Xposed, it will *severly* decrease the security of your device
|
||||
- Do *not* use AdAway or any other Adblocker
|
||||
- Flashing of any Gapps is not recommended and most likely won't work.
|
||||
- No browser is installed by default, please install getChromium or IceCat from F-Droid. Chromium will be included in future releases.
|
||||
- Root is *not* included, please flash the accompaning addonsu.zip for your device. Only use open source SU solutions such as LAOS/Phh/Magisk, proprietary ones such as SuperSU should be treated as rootkits and avoided at all cost.
|
||||
|
||||
Recommended Apps
|
||||
- Visit https://spotco.us/faa after flashing to find a very comprehensive list of apps that can replace what you're used to
|
||||
|
||||
General Changes
|
||||
- Added support for Chromium monochrome
|
||||
- Builds are dex-preopted on capable devices
|
||||
- Builds are signed with private release-keys
|
||||
- Bundled in our custom DNS blocklist
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
#clears various junk
|
||||
|
||||
rm -rf /cache/*
|
||||
rm -rf /data/anr/*
|
||||
#rm -rf /data/log/*
|
||||
rm -rf /data/system/cache/*
|
||||
rm -rf /data/system/dropbox/*
|
||||
rm -rf /data/system/procstats/*
|
||||
rm -rf /data/system/recent_images/*
|
||||
rm -rf /data/system/usagestats/*
|
||||
rm -rf /data/tombstones/*
|
@ -1,182 +0,0 @@
|
||||
au.com.shiftyjelly.pocketcasts.*,0
|
||||
be.uhasselt.privacypolice.*,0
|
||||
com.accuweather.android.*,0
|
||||
com.adobe.reader.*,0
|
||||
com.alensw.PicFolder.*,0
|
||||
com.amaze.filemanager.*,0
|
||||
com.amazon.kindle.*,0
|
||||
com.amazon.mShop.android.shopping.*,0
|
||||
com.amazon.windowshop.*,0
|
||||
com.andrewshu.android.reddit.*,0
|
||||
com.andrewshu.android.redditdonation.*,0
|
||||
com.android.browser.*,1
|
||||
com.android.calculator2.*,0
|
||||
com.android.calendar.*,0
|
||||
com.android.camera2.*,1
|
||||
com.android.chrome.*,1
|
||||
com.android.contacts.*,0
|
||||
com.android.deskclock.*,0
|
||||
com.android.dialer.*,0
|
||||
com.android.email.*,0
|
||||
com.android.gallery3d.*,0
|
||||
com.android.incallui.*,0
|
||||
com.android.keepass.*,1
|
||||
com.android.mms.*,0
|
||||
com.android.providers.downloads.ui.*,0
|
||||
com.android.settings.*,0
|
||||
com.android.soundrecorder.*,0
|
||||
com.antutu.ABenchMark.*,2
|
||||
.*com.antutu.benchmark.*,2
|
||||
com.asksven.betterbatterystats.*,0
|
||||
com.aurorasoftworks.quadrant.*BenchmarkExecutionActivity,2
|
||||
com.authy.authy.*,0
|
||||
com.bethsoft.falloutshelter.*,1
|
||||
com.coffeestainstudios.goatsimulator.*,1
|
||||
com.cyanogenmod.trebuchet.*,0
|
||||
com.danvelazco.fbwrapper.*,0
|
||||
com.distractionware.superhexagon.*,1
|
||||
com.dropbox.android.*,0
|
||||
com.eamobile.monopoly_na_wf.*,1
|
||||
com.ebay.mobile.*,0
|
||||
com.facebook.katana.*,1
|
||||
com.facebook.orca.*,1
|
||||
com.farproc.wifi.analyzer.*,0
|
||||
com.fifthelement.trimmer.*,1
|
||||
com.flightradar24pro.*,1
|
||||
com.flyersoft.moonreader.*,0
|
||||
com.flyersoft.moonreaderp.*,0
|
||||
com.gh4a.*,0
|
||||
com.google.android.apps.chromecast.app.*,0
|
||||
com.google.android.apps.docs.editors.docs.*,1
|
||||
com.google.android.apps.docs.editors.sheets.*,1
|
||||
com.google.android.apps.docs.editors.slides.*,1
|
||||
com.google.android.apps.gmoney.*,0
|
||||
com.google.android.apps.hangoutsdialer.*,1
|
||||
com.google.android.apps.inbox.*,0
|
||||
com.google.android.apps.messaging.*,0
|
||||
com.google.android.apps.pdfviewer.*,0
|
||||
com.google.android.apps.photos.*,0
|
||||
com.google.android.apps.translate.*,1
|
||||
com.google.android.calendar.*,0
|
||||
com.google.android.gms.*,0
|
||||
com.google.android.googlequicksearchbox.*,1
|
||||
com.google.android.keep.*,0
|
||||
com.google.android.play.games.*,0
|
||||
com.google.android.youtube.*,1
|
||||
com.google.earth.*,1
|
||||
com.google.xzing.client.android.*,0
|
||||
com.grarak.kerneladiutor.*,0
|
||||
com.hulu.plus.*,1
|
||||
com.instagram.android.*,1
|
||||
com.ironhidegames.android.kingdomrushfrontiers.*,1
|
||||
com.ironhidegames.android.kingdomrushorigins.*,1
|
||||
com.jeremysteckling.facerrel.*,0
|
||||
com.koushikdutta.backup.*,1
|
||||
com.koushikdutta.backup.license.*,1
|
||||
com.laurencedawson.reddit_sync.*,0
|
||||
com.laurencedawson.reddit_sync.pro.*,0
|
||||
com.leosfortune.*,0
|
||||
com.lightricks.facetune.*,1
|
||||
com.mb.android.*,1
|
||||
com.melodis.midomiMusicIdentifier.freemium.*,0
|
||||
com.mgaetan89.showsrage.*,0
|
||||
com.microblink.photomath.*,1
|
||||
com.microsoft.office.excel.*,1
|
||||
com.microsoft.office.outlook.*,0
|
||||
com.microsoft.office.powerpoint.*,1
|
||||
com.microsoft.office.word.*,1
|
||||
com.microsoft.skydrive.*,0
|
||||
com.miniclip.plagueinc.*,0
|
||||
com.mitzuli.*,0
|
||||
com.mojang.minecraftpe.*,1
|
||||
com.morlunk.mumbleclient.*,0
|
||||
com.mxtech.videoplayer.ad.*,1
|
||||
com.mxtech.videoplayer.pro.*,1
|
||||
com.netflix.mediaclient.*,1
|
||||
com.ngmoco.pocketgod.*,0
|
||||
com.ninjakiwi.bloonstd5.*,1
|
||||
com.nutomic.syncthingandroid.*,1
|
||||
com.oasisfeng.greenify.*,0
|
||||
com.oasisfeng.greenify.pro.*,0
|
||||
com.pandora.android.*,0
|
||||
com.paypal.android.p2pmobile.*,0
|
||||
com.pinterest.*,0
|
||||
com.plexapp.android.*,1
|
||||
com.primatelabs.geekbench.*,2
|
||||
com.quizup.core.*,0
|
||||
com.redbox.android.activity.*,0
|
||||
com.roku.remote.*,0
|
||||
com.rovio.angrybirds.*,0
|
||||
com.samruston.weather.*,0
|
||||
com.SecUpwN.AIMSICD.*,0
|
||||
com.shazam.android.*,0
|
||||
com.shazam.encore.android.*,0
|
||||
com.skype.radar.*,1
|
||||
com.snapchat.android.*,1
|
||||
com.soundcloud.android.*,0
|
||||
com.spotify.music.*,0
|
||||
com.target.ui.*,0
|
||||
com.tassadar.multirommgr.*,1
|
||||
com.teamspeak.ts3client.*,0
|
||||
com.tinder.*,0
|
||||
com.tobykurien.google_news.*,0
|
||||
com.tumblr.*,0
|
||||
com.twitter.android.*,0
|
||||
com.ubercab.*,1
|
||||
com.ubercab.driver.*,1
|
||||
com.urbandroid.sleep.*,0
|
||||
com.ustwo.monumentvalley.*,0
|
||||
com.uzumapps.wakelockdetector.*,0
|
||||
com.valvesoftware.android.steam.community.*,0
|
||||
com.walmart.android.*,0
|
||||
com.waze.*,1
|
||||
com.weather.Weather.*,0
|
||||
com.whatsapp.*,0
|
||||
com.xzbber.androiddev.*,0
|
||||
com.yelp.android.*,0
|
||||
com.yodo1.crossroad.*,0
|
||||
com.yubico.yubiclip.*,0
|
||||
com.yubico.yubioath.*,0
|
||||
com.zillow.android.zillowmap.*,1
|
||||
co.vine.android.*,1
|
||||
de.srlabs.snoopsnitch.*,0
|
||||
de.tap.easy_xkcd.*,0
|
||||
dev.ukanth.ufirewall.*, 1
|
||||
dk.jens.backup.*,1
|
||||
eu.chainfire.supersu.*,0
|
||||
eu.chainfire.supersu.pro.*,0
|
||||
eu.thedarken.sdm.*,1
|
||||
fr.kwiatkowski.ApkTrack.*,1
|
||||
io.github.droidapps.pdfreader.*,0
|
||||
it.mvilla.android.fenix.*,0
|
||||
kik.android.*,1
|
||||
me.ccrama.redditslide.*,0
|
||||
me.ccrama.slideforreddit.*,0
|
||||
me.ccrama.slideforreddittabletuiunlock.*,0
|
||||
net.dinglisch.android.taskerm.*,0
|
||||
net.etuldan.sparss.floss.*,0
|
||||
net.i2p.android.router.*,0
|
||||
net.minetest.minetest.*,1
|
||||
net.nightwhistler.pageturner.*,0
|
||||
net.osmand.plus.*,1
|
||||
org.adaway.*,1
|
||||
org.chromium.chrome.*,1
|
||||
org.connectbot.*,0
|
||||
org.csploit.android.*,1
|
||||
org.cyanogenmod.audiofx.*,0
|
||||
org.documentfoundation.libreoffice.*,0
|
||||
org.fdroid.fdroid.*,1
|
||||
org.ligi.blexplorer.*,0
|
||||
org.mozilla.firefox.*,1
|
||||
org.ppsspp.ppsspp.*,1
|
||||
org.ppsspp.ppssppgold.*,1
|
||||
org.quantumbadger.redreader.*,0
|
||||
org.schabi.newpipe.*,1
|
||||
org.torproject.android.*,0
|
||||
org.videolan.vlc.*,1
|
||||
org.wikipedia.*,0
|
||||
org.yaaic.*,0
|
||||
org.zwanoo.android.speedtest.*,2
|
||||
reddit.news.*,0
|
||||
rs.pedajaapps.alogcatroot.app.*,0
|
||||
tw.twitch.android.app.*,1
|
@ -1,68 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
user_error() {
|
||||
echo user error, please replace user and try again >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
[[ $# -eq 1 ]] || user_error
|
||||
[[ -n $BUILD_NUMBER ]] || user_error
|
||||
|
||||
KEY_DIR=keys
|
||||
OUT=out/release-$1
|
||||
|
||||
source device/common/clear-factory-images-variables.sh
|
||||
|
||||
if [[ $1 == bullhead ]]; then
|
||||
BOOTLOADER=bhz10r
|
||||
RADIO=m8994f-2.6.32.1.13
|
||||
VERITY=true
|
||||
elif [[ $1 == flounder ]]; then
|
||||
BOOTLOADER=3.48.0.0135
|
||||
VERITY=true
|
||||
elif [[ $1 == hammerhead ]]; then
|
||||
BOOTLOADER=hhz20h
|
||||
RADIO=m8974a-2.0.50.2.29
|
||||
VERITY=false
|
||||
elif [[ $1 == angler ]]; then
|
||||
BOOTLOADER=angler-03.54
|
||||
RADIO=angler-03.61
|
||||
VERITY=true
|
||||
else
|
||||
user_error
|
||||
fi
|
||||
|
||||
BUILD=$BUILD_NUMBER
|
||||
if [[ $1 == bullhead ]] || [[ $1 == angler ]]; then
|
||||
VERSION=mtc20f
|
||||
else
|
||||
VERSION=mob30y
|
||||
fi
|
||||
DEVICE=$1
|
||||
PRODUCT=$1
|
||||
|
||||
mkdir -p $OUT || exit 1
|
||||
|
||||
TARGET_FILES=$DEVICE-target_files-$BUILD.zip
|
||||
|
||||
if [[ $VERITY == true ]]; then
|
||||
EXTRA=(--replace_verity_public_key "$KEY_DIR/verity_key.pub"
|
||||
--replace_verity_private_key "$KEY_DIR/verity")
|
||||
fi
|
||||
|
||||
if [[ $DEVICE == bullhead ]]; then
|
||||
EXTRA_OTA=(-b device/lge/bullhead/update-binary)
|
||||
fi
|
||||
|
||||
build/tools/releasetools/sign_target_files_apks -o -d "$KEY_DIR" "${EXTRA[@]}" \
|
||||
out/dist/aosp_$DEVICE-target_files-$BUILD_NUMBER.zip $OUT/$TARGET_FILES || exit 1
|
||||
|
||||
build/tools/releasetools/img_from_target_files -n $OUT/$TARGET_FILES \
|
||||
$OUT/$DEVICE-img-$BUILD.zip || exit 1
|
||||
|
||||
build/tools/releasetools/ota_from_target_files --block -k "$KEY_DIR/releasekey" "${EXTRA_OTA[@]}" $OUT/$TARGET_FILES \
|
||||
$OUT/$DEVICE-ota_update-$BUILD.zip || exit 1
|
||||
|
||||
cd $OUT || exit 1
|
||||
|
||||
source ../../device/common/generate-factory-images-common.sh
|
@ -28,7 +28,7 @@ deblob() {
|
||||
#Diagnostics
|
||||
blobs=$blobs"|/diag/|diag_callback_client|diag_dci_sample|diag_klog|diag_mdlog|diag_mdlog-getlogs|diag_mdlog-wrap|diag/mdm|diag_qshrink4_daemon|diag_socket_log|diag_uart_log|drmdiagapp|ibdrmdiag.so|ssr_diag|test_diag";
|
||||
|
||||
#Discretix (DRM)
|
||||
#Discretix (DRM/HDCP)
|
||||
blobs=$blobs"|discretix|DxHDCP.cfg|dxhdcp2.b00|dxhdcp2.b01|dxhdcp2.b02|dxhdcp2.b03|dxhdcp2.mdt|libDxHdcp.so";
|
||||
|
||||
#DivX (DRM)
|
||||
@ -50,7 +50,7 @@ deblob() {
|
||||
#grep -v "WV_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(WV_IMAGES)))" Android.mk >> Android.mk.new; #FIXME: Figure out a way to do this
|
||||
#mv Android.mk.new Android.mk;
|
||||
|
||||
#GPS
|
||||
#GPS XXX: Breaks GPS
|
||||
#blobs=$blobs"|flp.conf|flp.default.so|flp.msm8084.so|flp.msm8960.so|gpsd|gps.msm8084.so|gps.msm8960.so|libflp.so|libgps.utils.so|libloc_api_v02.so|libloc_core.so|libloc_ds_api.so|libloc_eng.so|libloc_ext.so";
|
||||
|
||||
#HDCP (DRM)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#TODO: Aggressive Doze (Verify Extended Doze First), App-based battery profiles, Change connectivity check URL, Optimized build flags, Optimized toolchain, OTA Updates, Ship Chromium, Wallpaper
|
||||
#TODO: Aggressive Doze (Verify Extended Doze First), Optimized build flags, Optimized toolchain, OTA Updates, Ship Chromium, Wallpaper
|
||||
|
||||
#Hard reset repos
|
||||
#repo forall -c 'git add -A && git reset --hard'
|
||||
|
Loading…
Reference in New Issue
Block a user