4 ms·
If you have a Pixel 2 XL, you can: Download the source code for its Linux kernel: https://android.googlesource.com/kernel/msm.git/+/android-4.4 https://androi
by aleden 9y ago
If you have a Pixel 2 XL, you can:
Download the source code for its Linux kernel:
https://android.googlesource.com/kernel/msm.git/+/android-4.4 https://android.googlesource.com/kernel/msm.git/+/android-4....
Compile it:
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
make wahoo_defconfig
make -j$(nproc)
Build the userspace by looking up the correct source code : https://source.android.com/setup/build-numbers https://source.android.com/setup/build-numbers (e.g. branch android-8.1.0_r2):
mkdir $AOSP_HOME
cd $AOSP_HOME
repo init -u https ://android.googlesource.com/platform/manifest -b android-8.1.0_r2
repo sync --jobs=$(nproc)
source build/envsetup.sh
lunch aosp_wahoo-userdebug
make -j$(nproc)
And then flash your phone by doing fastboot -w flashall, you'll have root access and everything. (omitted downloading some kernel modules for the hardware)
- throwaway2048 9y agoThis post is pure whitewash bullshit. "omitted downloading some kernel modules for the hardware" aka all the drivers, the actual things that make the hardware work, which are all closed source, and eventually will stop being updated (likely about 6 months from now) leaving you on a forever obsolete android release and kernel, full of exploitable holes.
- dmitrygr 9y agoProject Treble makes it so drivers do not get obsoleted
- pjmlp 9y agoNot at all, Project Treble makes it so, assuming that OEMs upstream their drivers, but as usually happens in the whole fragmentation story Google is only advising OEMs to do it, not enforcing it. People need to realize Project Treble will only improve Android, if Google has the guts to force OEMs to play ball, until then having a certified Treble device doesn't mean updates will be made available.
- deleted 9y ago[deleted]
- igravious 9y agoYou can't say it won't happen until it actually doesn't happen. And it appears to be happening: https://www.xda-developers.com/project-treble-aosp-android-oreo-huawei-mate-10-pro/ https://www.xda-developers.com/project-treble-aosp-android-o...
- pjmlp 9y agoIt only counts when random dude on the street is able to do it via then update OS menu option. Being possible by people with technical skills to replace firmware doesn't count on my book. I care about the regular dudes buying regular pre-pay phones that they can afford.
- aleden 9y agoI was responding to the comment by tfha. The situation could be far worse.