SyntaxError: invalid syntax to repo init in the AOSP code
try these commands curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo chmod a+x ~/bin/repo python3 ~/bin/repo init -u git@….
try these commands curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo chmod a+x ~/bin/repo python3 ~/bin/repo init -u git@….
Repo attempts to download a prepackaged bundle file to bootstrap each git prior to downloading the most recent data via Git’s HTTP protocol. The latter is more expensive on the server side and results in worse performance so the bundle file allows the download to cut some corners. If a bundle file isn’t available (like … Read more
There are two main places I usually check for defaults: /frameworks/base/packages/SettingsProvider/res/values/defaults.xml and: /frameworks/base/core/res/res/values/config.xml Its also worth checking the device directory for overlays which just override the original files: /device/<company-name>/<product-name>/overlay/frameworks/base/core/res/res/values/config.xml Default wallpaper usually hardcoded to: /frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.jpg Default volume levels for various streams(int[] DEFAULT_STREAM_VOLUME): /frameworks/base/media/java/android/media/AudioSystem.java
On Linux Mint I had to type $ sudo apt-get install libswitch-perl
boot.img contains the kernel and ramdisk, critical files necessary to load the device before the filesystem can be mounted. You have to generate the boot.img yourself using mkbootimg, a tool provided by AOSP. All the details you need are available at this xda-developers thread. This google discussion thread may also be useful
sp means StrongPointer in Android, the memory that occupied by the pointed object will be freed if the reference count equals to 0. wp means WeakPointer, so if I have a weak pointer, I don’t care whether the referenced object is alive or not. It might be used in some cache and comparison scenarios. First, … Read more