summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-11 23:44:11 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-11 23:44:11 +0100
commitfc36bee5289c57a5e79befefb8b1608cd67e467a (patch)
tree69843888d4c58bf076d01f5094d4156cad37e0cf
parent4ba7beb7b9f0f001b752eff2a2be3a7f32035255 (diff)
downloadblog-fc36bee5289c57a5e79befefb8b1608cd67e467a.zip
blog-fc36bee5289c57a5e79befefb8b1608cd67e467a.tar.gz
blog-fc36bee5289c57a5e79befefb8b1608cd67e467a.tar.bz2
firmwares: i9100 now supported, chroot: one more dependency
-rw-r--r--content/debian-stretch-debootstrap-replicant.rst2
-rw-r--r--content/nonfree-firmware-android.rst5
2 files changed, 4 insertions, 3 deletions
diff --git a/content/debian-stretch-debootstrap-replicant.rst b/content/debian-stretch-debootstrap-replicant.rst
index b167953..3f07afc 100644
--- a/content/debian-stretch-debootstrap-replicant.rst
+++ b/content/debian-stretch-debootstrap-replicant.rst
@@ -78,7 +78,7 @@ Then install all dependencies:
.. code-block:: console
# apt-get build-dep gcc binutils llvm-defaults
- # apt-get install gcc-arm-none-eabi cmake python-dev swig ant bc proguard maven-debian-helper libemma-java libasm4-java libguava-java libnb-platform18-java libnb-org-openide-util-java libandroidsdk-ddmlib-java libmaven-source-plugin-java libfreemarker-java libmaven-javadoc-plugin-java repo ca-cacert curl gawk libgmp3-dev libmpfr-dev libmpc-dev git-core gperf libncurses-dev squashfs-tools pngcrush zip zlib1g-dev lzma libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-dev lib32ncurses5-dev zlib1g-dev:i386 xsltproc python-mako schedtool gradle dirmngr libandroidsdk-sdklib-java eclipse-jdt libgradle-android-plugin-java android-sdk-build-tools android-sdk-platform-23 aapt
+ # apt-get install gcc-arm-none-eabi cmake python-dev swig ant bc proguard maven-debian-helper libemma-java libasm4-java libguava-java libnb-platform18-java libnb-org-openide-util-java libandroidsdk-ddmlib-java libmaven-source-plugin-java libfreemarker-java libmaven-javadoc-plugin-java repo ca-cacert curl gawk libgmp3-dev libmpfr-dev libmpc-dev git-core gperf libncurses-dev squashfs-tools pngcrush zip zlib1g-dev lzma libc6-dev-i386 g++-multilib lib32z1-dev lib32readline-dev lib32ncurses5-dev zlib1g-dev:i386 xsltproc python-mako schedtool gradle dirmngr libandroidsdk-sdklib-java eclipse-jdt libgradle-android-plugin-java android-sdk-build-tools android-sdk-platform-23 aapt lzop
..
dpkg-reconfigure ca-certificates and enable cacert certs
diff --git a/content/nonfree-firmware-android.rst b/content/nonfree-firmware-android.rst
index 36d8506..57dfe2f 100644
--- a/content/nonfree-firmware-android.rst
+++ b/content/nonfree-firmware-android.rst
@@ -1,12 +1,13 @@
:title: Nonfree firmwares for Android devices
:date: 2017-01-07 22:27
+:modified: 2017-01-11 23:30
:tags: scripting, nonfree software
:category: General
:author: Wolfgang Wiedmeyer
:status: published
-:summary: The following instructions make it possible to install nonfree firmware on Android devices. For now, only the Galaxy S3 (GT-I9300) is supported, but support for other devices can be added easily.
+:summary: The following instructions make it possible to install nonfree firmware on Android devices. For now, only the Galaxy S3 (GT-I9300) and Galaxy S2 (GT-I9100) are supported, but support for other devices can be added easily.
-The following instructions make it possible to install nonfree firmware on Android devices for the purpose of enabling certain functionalities. For now, only the Galaxy S3 (GT-I9300) is supported, but support for other devices can be added easily. Please see `Paul's blog post <http://code.paulk.fr/article16/missing-proprietary-firmwares-in-android-systems>`_ for the reasons why these instructions shouldn't be published on official documentation pages of free systems, but why it still makes sense to publish them elsewhere.
+The following instructions make it possible to install nonfree firmware on Android devices for the purpose of enabling certain functionalities. For now, only the Galaxy S3 (GT-I9300) and Galaxy S2 (GT-I9100) are supported, but support for other devices can be added easily. Please see `Paul's blog post <http://code.paulk.fr/article16/missing-proprietary-firmwares-in-android-systems>`_ for the reasons why these instructions shouldn't be published on official documentation pages of free systems, but why it still makes sense to publish them elsewhere.
Paul's script is compatible with CyanogenMod version 10.1.3 and 9.1.0. It extracts the firmwares from a CyanogenMod installation zip and either installs them with ADB or creates an installation zip with them. My implementation is intended to be compatible with CyanogenMod 13.0. It's possible to only select a certain functionality for which the firmwares should be installed. The firmwares are downloaded from a `repository <https://github.com/TheMuppets>`_, that hosts the firmware files for CyanogenMod builds, and they are installed with ADB. It's impractical to extract them from a CyanogenMod 13.0 installation zip because recent Android versions use complicated compression techniques that require tools which are usually not readily available as packages for GNU/Linux systems. Creating installation zips is also not easy anymore because the zip needs to be signed with a key that is trusted by the recovery. If your recovery still just accepts any installation zip, then you are using an insecure recovery.