How to Make a CM7 theme (video) - Optimus V Android Development

Hey guys I had some requests on how to make cm7 theme chooser themes so here they are. The first is how to setup your build environment the second is how to build the theme it self.
Video One:
How to initialize and download the source
Video Two:
How to build cm7 theme
Here's the txt file I used:
Code:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk
sudo apt-get remove icedtea-netx icedtea-plugin icedtea6-plugin openjdk-6-jre openjdk-6-jre-headless icedtea-6-jre-jamvm icedtea-6-jre-cacao
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
libxml2-utils xsltproc
mkdir -p ~/android
mkdir -p ~/android/system
mkdir -p ~/bin
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
echo 'export PATH="~/bin:${PATH}"' >> ~/.bashrc
repo init -u git://github.com/JerryScript/android.git -b gingerbread
#unmark the next line if your running ubuntu 11.10
#sudo apt-get install libx11-dev:i386
##experimental 32bit
##sudo apt-get install git-core gnupg flex bison gperf build-essential \
## zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
## libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
## libxml2-utils xsltproc
Support me by buying my apps
My Apps

This only works on linux?

@Asadullah, Just checked your apps and saw the Miui theme. It looks pretty sexy. Ill buy once I remember to put my card on.
Sent from my LG-VM670 using Tapatalk

Good work
Sent from my LG-P500 using xda premium

Related

[TUTORIAL] How to Compile Gummy for Crespo4G

Compiling Gummy
All work here is done from Ubuntu 10.04.. Newer releases may require slightly different packages.
Installing dependencies:
Install Ubuntu 10.04 and install all updates
Install Java SDK (type or copy the commands into the terminal exactly as you see them here )
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner”
Code:
sudo apt-get update
Code:
sudo apt-get install sun-java6-jdk
Install Git
Code:
sudo apt-get install git-core
Install the rest of the needed files
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils pngcrush
Setting up and syncing Gummy’s Repo
Enter the commands in the terminal exactly as they are displayed to setup your PATH
Code:
mkdir ~/bin
Code:
PATH=~/bin:$PATH
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Code:
chmod a+x ~/bin/repo
Create your Gummy source directory and then go to that directory
Code:
mkdir ~/Gummy
Code:
cd ~/Gummy
Initialize and sync the Gummy repo (where X is put the number of cores for your CPU such as “repo sync -j4” for a quad core)
Code:
repo init -u[url="https://github.com/teamgummy/platform_manifest.git"][color=#000000] https://github.com/teamgummy/platform_manifest.git[/color][/url] -b master
Code:
repo sync -jX
Take a break and enjoy an ice cold beer
Go to the fridge
Pull out your favorite brand of beer
Open with care
Drink with pleasure
Otherwise its going to take a while ( a long while )
Preparing to Gummy and compiling
Get prebuilts (Term)
Code:
cd ~/Gummy/vendor/Gummy
Code:
./get-prebuilts
Code:
cd ~/Gummy
Compile (dont forget the . and also make sure you again change the X to the number of cores you have)
Code:
. build/envsetup.sh && lunch Gummy_crespo4g-userdebug && make gummy -jX
Nice! Thanks for this
(First)
•°NS4G • ICS°•
2nd!
Now THIS is something... Awesome...Thanks man!
Thanks bro! Gonna try this on my PC tonight
Sent from my IceCreamSammich Nexus S 4G

[Q] Ubuntu 12.04

Hello,I'm trying to download required packages :
"sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386"
and i get this error :
"The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)"
Does somebody know how to solve it?Thnks

[How To] Build CyanogenMod For Andorid One Third Gen Gm 5 Plus Shamrock

Hello
You need packages for compiling cyanogenmod
Several "build packages" are needed to build CyanogenMod. You can install these using the package manager of your choice.
Code:
sudo apt install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev android-tools-adb android-tools-fsutils android-tools-fastboot android-tools-adbd
In addition to the above, for 64-bit systems, get these:
Code:
sudo apt install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
For Ubuntu 15.10 (wily) and newer, substitute:
lib32readline-gplv2-dev → lib32readline6-dev
For Ubuntu 16.04 (xenial) and newer, substitute (additionally see java notes below):
libwxgtk2.8-dev → libwxgtk3.0-dev
openjdk-7-jdk → openjdk-8-jdk
Ubuntu 16.04 (Xenial Xerus) or newer and OpenJDK: Since OpenJDK 1.7 was removed from the official Ubuntu repositories, you have a couple options:
Obtain OpenJDK 1.7 from the openjdk-r PPA
Enable experimental OpenJDK 1.8 support in CyanogenMod 13.0 (not available in earlier version). To enable OpenJDK 1.8 support, add this line to your $HOME/.bashrc file: export EXPERIMENTAL_USE_JAVA8=true.
Code:
$ mkdir -p ~/bin
$ mkdir -p ~/android/system
Code:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
Initialize the CyanogenMod source repository
Enter the following to initialize the repository:
Note: Make sure the cm branch entered here is the one you wish to build and is supported on your device.
Code:
$ cd ~/android/system/
$ repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
$ repo sync
Download Device And Vendor Tree
Code:
$ cd android/system/device/
$ git clone https://github.com/cyanogenmod/android_device_qcom_common.git -b cm-13.0
$ cd android/system/device/google
$ git clone https://github.com/yavuz21/android_device_google_shamrock.git -b master
$ cd android/vendor/google
$ git clone https://github.com/yavuz21/proprietary_vendor_google_shamrock -b master
$ mkdir kernel/google/
$ cd kernel/google
$ git clone https://github.com/yavuz21/android_kernel_google_lego -b cm13.0
Rename folders and replace your romservice.xml looks like https://github.com/yavuz21/google_shamrock_manifest/blob/master/local_manifest.xml
Now Start Compiling
Code:
$ cd android/system
$ source build/envsetup.sh
$ export USE_CCACHE=1
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
$ export ANDROID_CCACHE_DIR="$HOME/android/.ccache"
$ export ANDROID_CCACHE_SIZE="50G"
$ lunch cm_shamrock-userdebug
$ croot
$ brunch shamrock
if you get
/obj permisson error wait stop error log and down ctrl+c keys stopp compling and restrat command
if you get error on framework assemblies you need linux system language change to english
if you get error install-recovery.sh you need copy stock rom system/bin/install-recovery.sh to android/system/out/ota_temp/system/bin folder
Builded cm https://mega.nz/#!Qh1iWJ7A!ADtWnPqC2VS7ucvH2vlb1jozQXuGvdRJe27mSZn0shA
rez
Thank you for this great guide. I'll try it. :good:
edit: Here's the first error
Code:
$ sudo apt install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev android-tools-adb android-tools-fsutils android-tools-fastboot android-tools-adbd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libwxgtk2.8-dev
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: Couldn't find any package by regex 'libwxgtk2.8-dev'
E: Package 'openjdk-7-jdk' has no installation candidate
nhmanas said:
Thank you for this great guide. I'll try it. :good:
edit: Here's the first error
Code:
$ sudo apt install bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev android-tools-adb android-tools-fsutils android-tools-fastboot android-tools-adbd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libwxgtk2.8-dev
E: Couldn't find any package by glob 'libwxgtk2.8-dev'
E: Couldn't find any package by regex 'libwxgtk2.8-dev'
E: Package 'openjdk-7-jdk' has no installation candidate
Click to expand...
Click to collapse
Hi this error Package manager because Your ubuntu is a new version you try this packages
libwxgtk2.8-dev → libwxgtk3.0-dev
openjdk-7-jdk → openjdk-8-jdk
thank you for guide

javalib error while building for mi 8 dipper

I've been trying for a few days now and I still can't get the LOS to compile!
I am building for mi 8 dipper and I am following this guide from LOS https://wiki.lineageos.org/devices/dipper/build
The packages I installed are by instructions of LOS:
bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
Click to expand...
Click to collapse
I am running ubuntu 18.04 and repo sync runs without issues.
The pastebin of the javalib error is over here https://pastebin.com/R6aAEwqZ
I did not touch java in my system, no installing of java, nothing touched on java. I am just doing sudo apt-get update -y and then sudo apt-get install (the above quoted packages) -y
and then I repo sync and continue with the build by croot and then brunch dipper
Please help out, stuck at compiling and don't know why I'm getting a javalib error while I it should just compile without any issues.
Issue has been resolved here >> https://forum.xda-developers.com/showpost.php?p=80078449&postcount=9566

How To Install Lineage OS and Optionally, Build Lineage From Scratch

Hello Friends!
Today I wanted to re-write a guide for installing Lineage OS on the 2019 Pro.
This guide will be more to the point and have only the needed tools.
The SOURCE for the Lineage zip shared in the download section below.
Spoiler: INSTALLING LINEAGE ON THE SHIELD
Spoiler: DOWNLOAD
DOWNLOAD (636MB):
lineage.zip
drive.google.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE YOU MAY NEED TO RUN THIS CODE IF YOU GET THE MORE THAN ONE DEVICE ERROR, OR IF THE BATCH WINDOW CLOSES BEFORE ACTUALLY FLASHING LINEAGE
Code:
adb kill-server
Spoiler: BATCH FILE CODE
You do not have to download anything I share, here is the code for the batches:
BootTw.bat:
Code:
fastboot boot tw.img
SendOnlyLineage.bat:
Code:
adb push lineage.zip /sdcard
.SendGapps&Lineage.bat:
Code:
adb push gapps.zip /sdcard
adb push lineage.zip /sdcard
Therefore you can download your own TWRP, gapps, and lineage, rename them and use the provided code.
Spoiler: PREREQUISITES
Please see the Prerequisites section on this THREAD if you need help with unlocking the bootloader, adb, or the usb driver.
You can have any firmware installed for this in theory. It was tested recently on 8.2.3
Spoiler: GUIDE
HOW TO USE:
Boot your shield to the bootloader menu.
Unzip Lineage.zip
Now run .bootTW.bat to load teamwin on the shield.
Swipe to allow modifications on the shield, this will allow our device to be adb accessible.
Now run your choice of .SendGapps&Lineage.bat or .SendOnlyLineage.bat
This will push lineage and optionally gapps to the /sdcard folder on the shield.
Now in TWRP select the INSTALL button, go down to sdcard and select Lineage.
When Lineage is complete, you may install GAPPS if you want playstore access.
After rebooting, your machine will now post into Lineage!
Fully installed without GAPPS it is a Blank Slate. Beautiful XD
Spoiler: NOTES
SOME NOTES:
This is not a beginner's OS. There will be problems.
Also the AI upscaling feature doesn't come with this OS.
The version of Lineage used in this guide is 17.1, Android 10
The ORIGINAL Guide if you want to see how much harder I made things not knowing what to do
This may be useful to locking the bootloader while lineage is installed!
The next two comments are notes about porting to different OSs and downloading the original source code. They are not full guides as I have not personally succeeding in fully building anything myself yet, just initiating repos and data gathering but will update when we get there..
Spoiler: BUILDING LINEAGE FROM SCRATCH
The original guides are included below so you can learn what every step does in detail if you like.
Spoiler: BUILDING LINEAGE 17.1 UNOFFICIAL- MDARCY
Nvidia Shield TV 2019 Pro (mdarcy) - LineageOS ROMs
Latest LineageOS roms for Nvidia Shield TV 2019 Pro (mdarcy) with full tutorial how to install it.
lineageosroms.com
Code:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install adb bc bison brotli build-essential bzr \
curl fastboot flex g++-multilib gcc-multilib git gnupg gperf imagemagick \
lib32ncurses5-dev lib32readline-dev lib32z1-dev libc6-dev libelf-dev libgl1-mesa-dev \
liblz4-tool libgl1-mesa-glx:i386 libncurses5 libncurses5-dev:i386 libreadline6-dev:i386 \
libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync libx11-dev:i386 \
lzop mingw-w64-i686-dev python3-markdown rsync schedtool tofrodos squashfs-tools \
x11proto-core-dev xsltproc zip zlib1g-dev:i386 python-is-python3 -y
mkdir -p ~/bin
echo export PATH=\$PATH:\$HOME/bin >> ~/.bashrc
source ~/.bashrc
mkdir -p ~/android/lineage
cd ~/android/lineage
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+rx ~/bin/repo
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1
repo sync --force-sync
make otatools
source build/envsetup.sh
breakfast mdarcy
If you experience any error with breakfast, run this code:
Code:
repo sync
breakfast mdarcy
Download Lineage for MDARCY
Code:
mkdir ~/android/system_dump/
cd ~/android/system_dump/
unzip ~/Downloads/lineage-17.1-20220202-nightly-mdarcy-signed.zip
brotli --decompress --output=system.new.dat system.new.dat.br
brotli --decompress --output=vendor.new.dat vendor.new.dat.br
git clone https://github.com/xpirt/sdat2img
python sdat2img/sdat2img.py system.transfer.list system.new.dat system.img
python sdat2img/sdat2img.py vendor.transfer.list vendor.new.dat vendor.img
mkdir system/
sudo mount system.img system/
sudo mount vendor.img system/vendor/
cd ~/android/lineage/device/nvidia/mdarcy
./extract-files.sh ~/android/system_dump/
cd ~/android/lineage
breakfast mdarcy
croot
brunch mdarcy
cd $OUT
Spoiler: BUILDING LINEAGE 18.1 UNOFFICIAL - FOSTER
Build for foster | LineageOS Wiki
wiki.lineageos.org
Code:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install adb bc bison brotli build-essential bzr \
curl fastboot flex g++-multilib gcc-multilib git gnupg gperf imagemagick \
lib32ncurses5-dev lib32readline-dev lib32z1-dev libc6-dev libelf-dev libgl1-mesa-dev \
liblz4-tool libgl1-mesa-glx:i386 libncurses5 libncurses5-dev:i386 libreadline6-dev:i386 \
libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync libx11-dev:i386 \
lzop mingw-w64-i686-dev python3-markdown rsync schedtool tofrodos squashfs-tools \
x11proto-core-dev xsltproc zip zlib1g-dev:i386 python-is-python3 -y
mkdir -p ~/bin
echo export PATH=\$PATH:\$HOME/bin >> ~/.bashrc
source ~/.bashrc
mkdir -p ~/android/lineage
cd ~/android/lineage
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+rx ~/bin/repo
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
repo sync --force-sync
make otatools
source build/envsetup.sh
breakfast foster
If you experience any error with breakfast, run this code:
Code:
repo sync
breakfast foster
Download Lineage for FOSTER
Code:
mkdir ~/android/system_dump/
cd ~/android/system_dump/
unzip ~/Downloads/lineage-18.1-20221214-nightly-foster-signed.zip
brotli --decompress --output=system.new.dat system.new.dat.br
brotli --decompress --output=vendor.new.dat vendor.new.dat.br
git clone https://github.com/xpirt/sdat2img
python sdat2img/sdat2img.py system.transfer.list system.new.dat system.img
python sdat2img/sdat2img.py vendor.transfer.list vendor.new.dat vendor.img
mkdir system/
sudo mount system.img system/
sudo mount vendor.img system/vendor/
cd ~/android/lineage/device/nvidia/foster
./extract-files.sh ~/android/system_dump/
cd ~/android/lineage
breakfast foster
croot
brunch foster
cd $OUT
Spoiler: NVIDIA SHIELD ANDROID SOURCE CODE
HOW TO DOWNLOAD THE FIRMWARE YOURSELF:
Select a firmware you want to download from here: https://developer.nvidia.com/shield-open-source
Will provide you with the repo code, you can initialize this in a linux machine with this code:
Some of this code may be unneeded, I am no Linux expert. I just recognized the repo code was similar to how we would initiate for Lineage, and I borrowed the code from doing that.
Code:
sudo dpkg --add-architecture i386
sudo apt update
#dependencies- paste the whole paragraph below, all at once:
sudo apt install adb bc bison brotli build-essential bzr \
curl fastboot flex g++-multilib gcc-multilib git gnupg gperf imagemagick \
lib32ncurses5-dev lib32readline-dev lib32z1-dev libc6-dev libelf-dev libgl1-mesa-dev \
liblz4-tool libgl1-mesa-glx:i386 libncurses5 libncurses5-dev:i386 libreadline6-dev:i386 \
libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync libx11-dev:i386 \
lzop mingw-w64-i686-dev python3-markdown rsync schedtool tofrodos squashfs-tools \
x11proto-core-dev xsltproc zip zlib1g-dev:i386 python-is-python3 -y
#install google repo client to bin and set it to PATH:
mkdir -p ~/bin
echo export PATH=\$PATH:\$HOME/bin >> ~/.bashrc
source ~/.bashrc
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+rx ~/bin/repo
#setup git, you can either use your real info or literally paste the commands below:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
#change the 8.2.3 to the name of the firmware you are downloading:
mkdir -p ~/nvidia/8.2.3
cd nvidia/8.2.3
#change this line out with the repo you want to download, the one below is 8.2.3:
repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-32-shield-r1-opensource -m tlk/t210.xml
repo sync -c -j5
Spoiler: UBUNTU PORT KNOWLEDGE
edit--- for those rolling on a 2015-2017 shield, someone awesome already has a port for you. for the rest of us, there is knowledge there in their guide
[DEV] Ubuntu 18.04 LTS Bionic (Linux for Tegra) for SHIELD Android TV
This is a full featured port of NVIDIA L4T R32.7.2 (Ubuntu 18.04) for the SHIELD TV (2015, 2017). It has full hardware support including: GPU acceleration Wifi/Bluetooh USB 3.0 HDMI with audio microSD (supported models) Power management etc...
forum.xda-developers.com
Porting instructions - a work in progress
Introduction - UBports documentation
Spoiler: UBPORT USING HALIUM 10.0 - MDARCY
Code:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install adb bc bison build-essential bzr \
curl fastboot flex g++-multilib gcc-multilib git gnupg gperf imagemagick \
lib32ncurses5-dev lib32readline-dev lib32z1-dev libc6-dev libelf-dev libgl1-mesa-dev \
liblz4-tool libgl1-mesa-glx:i386 libncurses5 libncurses5-dev:i386 libreadline6-dev:i386 \
libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync libx11-dev:i386 \
lzop mingw-w64-i686-dev python3-markdown rsync schedtool tofrodos squashfs-tools \
x11proto-core-dev xsltproc zip zlib1g-dev:i386 python-is-python3 -y
mkdir -p ~/bin
echo export PATH=\$PATH:\$HOME/bin >> ~/.bashrc
source ~/.bashrc
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+rx ~/bin/repo
mkdir halium && cd halium
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
repo init -u https://github.com/Halium/android -b halium-10.0 --depth=1
repo sync --force-sync
Spoiler: EDITING THE MANIFEST
Go into /halium/devices/manifests and rename one of the unused manifests to match your device.
"nvidia_mdarcy" for this example.
Erase the contents and replace with:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/nvidia/mdarcy" name="LineageOS/android_device_nvidia_mdarcy" />
<project path="device/nvidia/foster" name="LineageOS/android_device_nvidia_foster" />
</manifest>
Code:
./halium/devices/setup mdarcy
hybris-patches/apply-patches.sh --mb
source build/envsetup.sh
breakfast mdarcy
#copied the mdarcy folder extracted from lineage 17.1 zip
mka mkbootimg
Spoiler: KALI LINUX NETHUNTER PORT KNOWLEDGE
Kali Nethunter Porting Source
"In order to port NetHunter to a new device, it’s important to understand how NetHunter is separated. NetHunter is divided by the rootfs (also known as the chroot but will be referred to here as rootfs) and the kernel. For the most part, the rootfs is not important to your Android device as it only contains Kali Linux. The kernel is integral to getting things like Bluetooth, wireless USB, and HID keyboard (etc) working."
Local Config Example
Spoiler: NOTES
This is a section for me to work through understanding what in the world to do with the source code i got from nvidia.
https://releases.ubuntu.com/18.04/ubuntu-18.04.6-desktop-amd64.iso
Code:
sudo apt update
mkdir aosp
cd aosp
repo init -u https://android.googlesource.com/platform/manifest -b master
sudo sysctl -w net.ipv4.tcp_window_scaling=0
repo sync -c -j8
When done, remove the repo so you can sync others without conflict:
rm -rf .repo
Downloading the Source | Android Open Source Project
source.android.com
Hi I am planning to get a Nvidia shield pro 2019. I want to install lineageos and root it but would like to have all HDR & 4k codecs still supported and use the AI upscaling feature. Since you have experience with the device, could you tell me if this is all possible in one and if not what alternatives you know?
AP12345 said:
Hi I am planning to get a Nvidia shield pro 2019. I want to install lineageos and root it but would like to have all HDR & 4k codecs still supported and use the AI upscaling feature. Since you have experience with the device, could you tell me if this is all possible in one and if not what alternatives you know?
Click to expand...
Click to collapse
Sorry.. I do not know the answer to this, I am just learning these things myself and writing notes here publicly for anyone to pickup but here is the actual main thread for lineage os on the shield and the dev is very active https://forum.xda-developers.com/t/rom-official-lineageos-for-the-shield-android-tv.3632652/

Categories

Resources