docs:tips_n_tricks:android:index.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:android:index.html [22.09.2018 01:43 CEST] – [Use QR Code to gain Wifi Access] peter | docs:tips_n_tricks:android:index.html [13.08.2022 17:07 CEST] (current) – [Conversations / adb] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Android ====== | ====== Android ====== | ||
{{tag> | {{tag> | ||
- | Android{{entry> | + | {{entry> |
+ | {{entry> | ||
===== HTC Desire Z ===== | ===== HTC Desire Z ===== | ||
{{tag>" | {{tag>" | ||
Line 76: | Line 77: | ||
* http:// | * http:// | ||
| | ||
- | ===== Use QR Code to gain Wifi Access ===== | + | ===== Use QR Code to configure |
{{tag>" | {{tag>" | ||
To get Wifi{{entry> | To get Wifi{{entry> | ||
Line 176: | Line 177: | ||
- Have fun! | - Have fun! | ||
<note warning> | <note warning> | ||
+ | ==== Upgrad from CyanogenOS to Android ==== | ||
+ | <note important> | ||
+ | ==== Change disk encryption PIN on Android 7.2.1 Nougat ==== | ||
+ | |||
+ | adb shell | ||
+ | su | ||
+ | vdc cryptfs changepw pin <old> <new> | ||
+ | |||
+ | ==== Install F-Droid Privilege Extension systemless ==== | ||
+ | //(e.g. needed for system on //sqashfs// which can not be modified by TWRP)// | ||
+ | |||
+ | - Install Magisk | ||
+ | - Install Magisk Systemizer extension | ||
+ | - Download F-Droid Privilege Exteion APK. (downloading, | ||
+ | - connect via USB from PC and run< | ||
+ | su | ||
+ | cd / | ||
+ | systemizer</ | ||
+ | - Select " | ||
+ | - Enter filename of apk | ||
+ | - Choose destination ''/ | ||
+ | - Reboot Phone | ||
+ | |||
+ | ==== Install LineageOS 14.1 ==== | ||
+ | // | ||
+ | |||
+ | Install everything (but System) from Cyanogen 13.1.2 via fastboot first: | ||
+ | |||
+ | unzip cm-13.1.2-ZNH2KAS3LG-crackling-signed-fastboot-84f0d5200b.zip \ | ||
+ | NON-HLOS.bin hyp.mbn emmc_appsboot.mbn rpm.mbn tz.mbn sbl1.mbn \ | ||
+ | splash.img flash-radio.sh cache.img userdata.img boot.img recovery.img \ | ||
+ | android-info.txt filesmap | ||
+ | su - | ||
+ | for file in boot.img cache.img recovery.img userdata.img ; do fastboot flash " | ||
+ | | ||
+ | Depending where you came from (i.e. what has been the previous OS Revision on the phone) you might want to flash further firmware: | ||
+ | |||
+ | ./ | ||
+ | |||
+ | Then reboot the //Swift// into the new fastboot: | ||
+ | |||
+ | fastboot reboot-bootloader | ||
+ | |||
+ | In fastboot, boot TWRP: | ||
+ | |||
+ | fastboot boot twrp-3.2.3-0-crackling.img | ||
+ | exit # finish su | ||
+ | |||
+ | In TWRP select " | ||
+ | |||
+ | You might want to tick "Wipe Dalvik Cache" and "Wipe Cache" to avoid problems due to cache inconsistency. Then start the sideload mode by doing the "Swipe to Start Sideload" | ||
+ | |||
+ | Then install Lineage from PC((Might finish with " | ||
+ | adb sideload lineage-14.1-20180905-nightly-crackling-signed.zip | ||
+ | |||
+ | In TWRP select " | ||
+ | |||
+ | After reboot, wait for the installation process to finish. (If you think, its stuck - keep waiting provided the animated LineageOS Logo is still running) | ||
+ | |||
+ | If you want to have //root// for apps, you need to install [[https:// | ||
+ | |||
+ | If you want to use //f-droid// with privilege extension, you need to install [[https:// | ||
+ | |||
+ | ==== Install LineageOS 16.0 over Android 7.1.2 ==== | ||
+ | // | ||
+ | - Unlock phone | ||
+ | - Install TWRP 3.2.3-0 | ||
+ | - Flash emmc_appsboot.mbn from cm-13.1.2-ZNH2KAS3LG-crackling-signed-fastboot-84f0d5200b.zip to aboot\\ '' | ||
+ | - Boot into recovery (i.e. TWRP) | ||
+ | - Wipe all data partitions (Well ... archive all needed data before ...) | ||
+ | - Reformat /system with ext4 | ||
+ | - Format data | ||
+ | - Reboot | ||
+ | |||
===== ===== | ===== ===== | ||
// | // | ||
Line 186: | Line 261: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | ===== Conversations / adb ===== | ||
+ | How to remove lines from // | ||
+ | |||
+ | <code bash> | ||
+ | cd / | ||
+ | mkdir adb-backup | ||
+ | cd adb-backup | ||
+ | adb devices -l | ||
+ | adb backup -f eu.siacs.conversations.ab -apk -obb eu.siacs.conversations | ||
+ | cp -vip eu.siacs.conversations.ab eu.siacs.conversations.ab.save | ||
+ | java -jar ~/ | ||
+ | cd /tmp | ||
+ | mkdir unpack | ||
+ | cd unpack/ | ||
+ | tar -xvkpf / | ||
+ | sqlitebrowser apps/ | ||
+ | tar -tf / | ||
+ | tar -cvf eu.siacs.conversations-modified.tar -T files.list | ||
+ | java -jar ~/ | ||
+ | adb restore eu.siacs.conversations.ab | ||
+ | |||
+ | </ | ||
+ | |||
+ | // | ||
+ | * https:// | ||
+ | * https:// | ||
+ | {{tag> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{entry> |
docs/tips_n_tricks/android/index.html.1537573385.txt.gz · Last modified: 22.09.2018 01:43 CEST by peter