projects:shamu_lineageos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| projects:shamu_lineageos [2017/11/02 08:48] – external edit 127.0.0.1 | projects:shamu_lineageos [2024/08/13 22:30] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Information ====== | ||
| - | * Custom builds of LineageOS for the Nexus 6 | ||
| - | * cm-14.1 branch | ||
| - | |||
| - | ===== Prerequisites ===== | ||
| - | |||
| - | * [[distros: | ||
| - | |||
| - | ====== xda-developers ====== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ====== Dependencies ====== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo dnf install java-1.8.0-openjdk-devel ImageMagick-devel patch ncurses-compat-libs schedtool libstdc++.i686 glibc.i686 m4 gcc && sync | ||
| - | |||
| - | ====== Prepare Build Environment ====== | ||
| - | |||
| - | ===== Cleanup ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | cd ~ && sudo rm -Rf ~/' | ||
| - | |||
| - | ===== Install git-repo ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | mkdir -p ~/' | ||
| - | |||
| - | ===== Configure Git ===== | ||
| - | |||
| - | nano ~/' | ||
| - | |||
| - | [user] | ||
| - | email = espionage724@x | ||
| - | name = Sean Lynn Rhone | ||
| - | | ||
| - | [color] | ||
| - | ui = auto | ||
| - | |||
| - | ===== Initialize Repo ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | mkdir -p ~/' | ||
| - | |||
| - | ===== Motorola Manifest ===== | ||
| - | |||
| - | * If pulling in fresh sources, do not add this until the sources are backed-up ((that way the backup can be a clean-slate and be used for other non-Moto devices)) | ||
| - | |||
| - | mkdir -p ~/' | ||
| - | |||
| - | < | ||
| - | <?xml version=" | ||
| - | < | ||
| - | |||
| - | <!-- Motorola --> | ||
| - | <project path=" | ||
| - | |||
| - | </ | ||
| - | |||
| - | ===== Sources Management ===== | ||
| - | |||
| - | ==== Pull-in and Update Sources ==== | ||
| - | |||
| - | === Network Sync === | ||
| - | |||
| - | * As of 2017/07/07, this downloads around 10GB for '' | ||
| - | * If pulling fresh sources, this command is good to leave running overnight, and then followed up with a [[# | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | === Complete Sync === | ||
| - | |||
| - | * Performs both Network and Local file sync | ||
| - | * Add the [[# | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ==== Backup Sources ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ==== Restore Sources ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | mkdir -p ~/' | ||
| - | |||
| - | ====== Modifications ====== | ||
| - | |||
| - | ===== Allow Signature Spoofing ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | * This allows **microG Services Core** and **FakeStore** to fake Google Play Services and Play Store respectively | ||
| - | |||
| - | wget -O ~/' | ||
| - | |||
| - | ===== Allow Location Providers Outside /system ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | * This allows ** microG Services Core** to provide **UnifiedNlp** without having to be installed to ''/ | ||
| - | |||
| - | wget -O ~/' | ||
| - | |||
| - | ===== Remove Deprecated HWUI GCC Flag ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | * Removes the deprecated '' | ||
| - | * Only has effect and needed if '' | ||
| - | |||
| - | sed -i ' | ||
| - | |||
| - | ===== Tweaks ===== | ||
| - | |||
| - | * If this file doesn' | ||
| - | * Place this at the **top** of the file underneath the copyright ((this ensures the custom '' | ||
| - | |||
| - | nano ~/' | ||
| - | |||
| - | < | ||
| - | # Begin Custom Stuff | ||
| - | |||
| - | # Dalvik/ART Tweaks | ||
| - | PRODUCT_PROPERTY_OVERRIDES += \ | ||
| - | dalvik.vm.image-dex2oat-filter=everything \ | ||
| - | dalvik.vm.dex2oat-filter=everything \ | ||
| - | dalvik.vm.check-dex-sum=false \ | ||
| - | dalvik.vm.checkjni=false \ | ||
| - | dalvik.vm.usejit=true \ | ||
| - | dalvik.vm.dexopt-flags=v=a, | ||
| - | dalvik.vm.dex2oat-swap=false \ | ||
| - | dalvik.vm.dex2oat-threads=4 \ | ||
| - | dalvik.vm.boot-dex2oat-threads=4 \ | ||
| - | dalvik.vm.image-dex2oat-threads=4 \ | ||
| - | dalvik.vm.heaptargetutilization=0.9 \ | ||
| - | dalvik.vm.heapgrowthlimit=288m | ||
| - | |||
| - | # Single-user | ||
| - | PRODUCT_PROPERTY_OVERRIDES += \ | ||
| - | fw.max_users=1 | ||
| - | |||
| - | # HWUI Performance Compiler Options | ||
| - | HWUI_COMPILE_FOR_PERF := true | ||
| - | |||
| - | # Graphics Tweaks | ||
| - | PRODUCT_PROPERTY_OVERRIDES += \ | ||
| - | persist.sys.ui.hw=true | ||
| - | |||
| - | # Native Density | ||
| - | PRODUCT_PROPERTY_OVERRIDES += \ | ||
| - | ro.sf.lcd_density=493 | ||
| - | |||
| - | # Freedom | ||
| - | PRODUCT_PROPERTY_OVERRIDES += \ | ||
| - | persist.sys.hdcp_checking=never | ||
| - | |||
| - | # End Custom Stuff</ | ||
| - | |||
| - | ===== Steven Black' | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | * Includes '' | ||
| - | |||
| - | rm -Rf '/ | ||
| - | |||
| - | ====== Build Prep ====== | ||
| - | |||
| - | ===== Quick Command ===== | ||
| - | |||
| - | * This expects [[# | ||
| - | * This does the next 9 commands in-order and produces a flashable zip | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Cleanup ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Set-up Environment ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Breakfast! ===== | ||
| - | |||
| - | * Be sure to run [[#tweaks | Tweaks]] after serving '' | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Environment Variables ===== | ||
| - | |||
| - | ==== Disable ccache ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | unset ' | ||
| - | |||
| - | ==== Jack ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | unset ' | ||
| - | |||
| - | ====== Signed Build ====== | ||
| - | |||
| - | ===== Key Management ===== | ||
| - | |||
| - | ==== Generate ==== | ||
| - | |||
| - | * Change the '' | ||
| - | * If a backup exists and is being restored, don't run this | ||
| - | |||
| - | subject='/ | ||
| - | |||
| - | ==== Backup ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | cd ~ && tar -cvzf ~/' | ||
| - | |||
| - | ==== Restore ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | cd ~ && tar -xvzf ~/' | ||
| - | |||
| - | ===== Build ===== | ||
| - | |||
| - | * This takes approximately 1 hour to complete | ||
| - | * If '' | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Sign Build ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | croot && ~/' | ||
| - | |||
| - | ===== Generate Zip ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | ~/' | ||
| - | |||
| - | ===== Kill Jack Server ===== | ||
| - | |||
| - | * It remains running in the background after the build is complete | ||
| - | |||
| - | jack-admin kill-server | ||
| - | |||
| - | ===== Install Zip ===== | ||
| - | |||
| - | * Flash '' | ||
| - | |||
| - | ====== Unsigned Build ====== | ||
| - | |||
| - | ===== Build and Generate Zip ===== | ||
| - | |||
| - | * This takes approximately 1 hour to complete | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | ===== Install Zip ===== | ||
| - | |||
| - | * Flash the 400MB+ zip found in '' | ||
| - | |||
| - | ====== Nexus 6 Configuration ====== | ||
| - | |||
| - | * [[devices: | ||
| - | |||
| - | ====== Changelog ====== | ||
| - | |||
| - | ===== Notes ===== | ||
| - | |||
| - | * Unless otherwise specified, all uploaded builds are updated from the source (resync) prior to building | ||
| - | |||
| - | ===== Changelog ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | * 2017/10/31: More Dalvik/ART tweaks, HWUI compiled in performance mode, disable HDCP checking, force 2D GPU acceleration | ||
| - | * 2017/10/29: Dalvik/ART tweaks, disabled multi-user | ||
| - | * 2017/10/18: Resync | ||
| - | * 2017/09/29: Resync | ||
| - | * 2017/09/26: Resync | ||
| - | * 2017/09/23: Add fakenews and gambling extensions back for Steven Black' | ||
| - | * 2017/09/21: Resync | ||
| - | * 2017/07/22: Resync | ||
| - | * 2017/07/19: Remove Dalvik/ART Tweaks, re-enable multi-user | ||
| - | * 2017/07/17: Dalvik/ART Tweaks, disabled multi-user | ||
| - | * 2017/07/16: Back to userdebug build | ||
| - | * 2017/07/13: Resync | ||
| - | * 2017/07/11: Resync | ||
| - | * 2017/07/09: Removed gambling, fakenews, and porn filters for Steven Black' | ||
| - | * 2017/07/07: Now includes all default apps, [[https:// | ||
| - | * 2017/07/06: DPI to 493, user build (changed from userdebug) | ||
| - | * 2017/07/05: Initial build, removal of some default apps | ||
/srv/www/wiki/data/attic/projects/shamu_lineageos.1509626904.txt.gz · Last modified: by 127.0.0.1
