Android: Unterschied zwischen den Versionen

Aus d0b
Zur Navigation springenZur Suche springen
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
 
adb devices
 
adb devices
 
adb reboot bootloader
 
adb reboot bootloader
 +
adb reboot recovery
 
adb push /pfad/zur/datei /sdcard/
 
adb push /pfad/zur/datei /sdcard/
 
adb shell
 
adb shell
 +
adb shell grep Hardware /proc/cpuinfo
 
</pre>
 
</pre>
  
 
Fastboot
 
Fastboot
 
<pre>
 
<pre>
 +
fastboot reboot
 
fastboot devices
 
fastboot devices
 
fastboot oem unlock
 
fastboot oem unlock
 
fastboot flash recovery recoveryXY.zip
 
fastboot flash recovery recoveryXY.zip
 
fastboot boot recoveryXY.zip
 
fastboot boot recoveryXY.zip
 +
fastboot oem enable_dm_verity
 +
fastboot oem disable_dm_verity
 
</pre>
 
</pre>
  
Zeile 19: Zeile 24:
 
=== One Plus 3t ===
 
=== One Plus 3t ===
 
Tastenkombinationen:
 
Tastenkombinationen:
Recovery: With the device powered off, hold Volume Down + Power.
+
* Recovery: With the device powered off, hold Volume Down + Power.
Download: With the device powered off, hold Volume Up + Power.
+
* Download: With the device powered off, hold Volume Up + Power.
  
 +
TWRP for oneplus3
 +
* https://eu.dl.twrp.me/oneplus3/
  
 +
Linea OS Install:
 +
* [https://wiki.lineageos.org/devices/oneplus3/install https://wiki.lineageos.org/devices/oneplus3/install]
 +
 +
Firmware Modem
 +
* https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535
 +
 +
==== Kamera unscharf ====
 +
* https://www.youtube.com/watch?v=tT1Y1LvVZbc
 +
 +
 +
==== Error7 while lineage install ====
 +
Install a newer firmware with the latest twrp  first ;-)
 +
* https://mega.nz/#F!GvwRRAQb!TI94QsrN6nwDuWH6fKQAAw!LuYDVSKL
 +
 +
==== Disable Force Encryption on the OnePlus 3 ====
 +
 +
#Boot OnePlus 3 into Fastboot Mode
 +
#Connect the OnePlus 3 to the PC with a USB cable
 +
#fastboot format userdata (hit enter & wait)
 +
#Then press the Volume Down button twice on the OnePlus 3
 +
#Press the Power button once the Recovery Mode option is highlighted
 +
#Wait for the OnePlus 3 to boot into TWRP
 +
#Copy/move the SuperSU .ZIP file to the OnePlus 3
 +
#Tap on the Install button within TWRP
 +
#Browse to and tap on the SuperSU .ZIP file you just put on there
 +
#Swipe the white arrows to the right to confirm the installation
 +
#Wait for SuperSU to be installed
 +
#Then press the Reboot System button to reboot the OnePlus 3
 +
 +
Quelle:
 +
* https://www.androidexplained.com/oneplus-3-disable-forced-encryption/
 +
 +
==== Disable verfified boot ====
 +
* https://forum.xda-developers.com/oneplus-3t/how-to/disable-dm-verity-force-encryption-op3t-t3688748
 +
* https://source.android.com/security/verifiedboot/verified-boot
  
 
== Rooten ==
 
== Rooten ==
Zeile 47: Zeile 89:
 
</pre>
 
</pre>
 
* TWRP Recovery: Wipe -> Advanced Wipe: Dalvik + System + Data + Cache
 
* TWRP Recovery: Wipe -> Advanced Wipe: Dalvik + System + Data + Cache
* TWRP Recovery: Install:
+
* TWRP Recovery: Install: LineagOS
* TWRP Recovery: Install:  
+
* TWRP Recovery: Install: Open Gapps
* https://source.android.com/security/verifiedboot/verified-boot
+
* Neustarten & glücklich sein
 
 
  
 
'''Troubleshooting'''
 
'''Troubleshooting'''
 
* [https://wiki.lineageos.org Lineage OS Wiki]
 
* [https://wiki.lineageos.org Lineage OS Wiki]
* [http://www.lineageosdownloads.com/fix-error-7-lineage-os/ Fix Error 7] (Lineage OS 15.1)
+
* Fix Error 7 (Lineage OS 15.1)
 +
** [http://www.lineageosdownloads.com/fix-error-7-lineage-os/]  
 +
** [https://forums.oneplus.com/threads/lineageos-nightly-updates-installation-problem.591886/]
 +
** [https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535]
 +
 
 +
== Update ==
 +
Wenn das Update über die Lineage OS Update Funktion nicht funktioniert bzw. man im Recovery landet ohne das geupdatet wird, kann man das Update auch von Hand starten. Hier die Pfade zum Image:
 +
* /data/lineageos_updates
 +
* /data/data/org.lineageos.updater/app_updates
 +
 
 +
== Factory Reset ==
 +
* Volume down + Power -> boot into twrp
 +
* Wipe
 +
* Advanced Wipe
 +
** Dalvik / ART Cache
 +
** Data
 +
** Internal Storage (Daten gesichert?)
 +
** Cache
 +
 
 +
=== Entsperrpasswort/PIN/Muster Reset ===
 +
ADB notwendig z.B. via Recovery Mode
 +
<pre>
 +
adb shell
 +
rm /data/system/locksettings.db
 +
rm /data/system/locksettings.db-shm
 +
rm /data/system/locksettings.db-wal
 +
rm /data/system/gatekeeper.password.key
 +
rm /data/system/gatekeeper.pattern.key
 +
</pre>
 +
 
 +
=== Fingerabdrucksensor Reset ===
 +
ADB notwendig z.B. via Recovery Mode
 +
<pre>
 +
adb shell
 +
rm /data/system/users/0/fpdata/user.db
 +
rm /data/system/users/0/settings_fingerprint.xml
 +
</pre>
 +
 
  
 
== Back 2 Stock ==
 
== Back 2 Stock ==

Aktuelle Version vom 16. Dezember 2019, 20:35 Uhr

Allgemein

ADB

adb devices
adb reboot bootloader
adb reboot recovery
adb push /pfad/zur/datei /sdcard/
adb shell
adb shell grep Hardware /proc/cpuinfo

Fastboot

fastboot reboot
fastboot devices
fastboot oem unlock
fastboot flash recovery recoveryXY.zip
fastboot boot recoveryXY.zip
fastboot oem enable_dm_verity
fastboot oem disable_dm_verity

Devices

One Plus 3t

Tastenkombinationen:

  • Recovery: With the device powered off, hold Volume Down + Power.
  • Download: With the device powered off, hold Volume Up + Power.

TWRP for oneplus3

Linea OS Install:

Firmware Modem

Kamera unscharf


Error7 while lineage install

Install a newer firmware with the latest twrp first ;-)

Disable Force Encryption on the OnePlus 3

  1. Boot OnePlus 3 into Fastboot Mode
  2. Connect the OnePlus 3 to the PC with a USB cable
  3. fastboot format userdata (hit enter & wait)
  4. Then press the Volume Down button twice on the OnePlus 3
  5. Press the Power button once the Recovery Mode option is highlighted
  6. Wait for the OnePlus 3 to boot into TWRP
  7. Copy/move the SuperSU .ZIP file to the OnePlus 3
  8. Tap on the Install button within TWRP
  9. Browse to and tap on the SuperSU .ZIP file you just put on there
  10. Swipe the white arrows to the right to confirm the installation
  11. Wait for SuperSU to be installed
  12. Then press the Reboot System button to reboot the OnePlus 3

Quelle:

Disable verfified boot

Rooten

  • Telefon: Entwicklermodus aktivieren
    • "Einstellungen" -> "Über das Telefon" -> 10x auf "Build-Nummer" tippen
  • Telefon: "Einstellungen" -> "Entwickleroptionen" -> "OEM Unlock" + "USB-Debugging"
  • PC: Plattform Tools downloaden & installieren
  • PC: LineageOS + TWRP + OpenGapps herunterladen + MD5 Checksumme
  • PC: Mit Telefon verbinden & zuvor genannte Downloads auf das Telefon übertragen
  • ADB: Terminal öffnen und "./adb devices" ausführen (Es soll ein Device & Seriennummer gefunden und angezeigt werden.
  • ADB: "./adb reboot bootloader" (Telefon startet in Fastboot/Recovery Modus)
  • Fastboot: "./fastboot devices"
  • Fastboot: "sudo ./fastboot oem unlock"
  • Fastboot: "./fastboot flash recovery twrp-3.x.y-z-oneplusXY.img"
  • Reboot 2 Recovery!
  • TWRP Recovery: System PIN (Bei vorher eingestellten Muster in Zahlen umwandeln = PW)
    • Beispiel: EIn Swipe von oben links nach unten rechts würde 159 ergeben!
        1    2    3

        4    5    6

        7    8    9
  • TWRP Recovery: Wipe -> Advanced Wipe: Dalvik + System + Data + Cache
  • TWRP Recovery: Install: LineagOS
  • TWRP Recovery: Install: Open Gapps
  • Neustarten & glücklich sein

Troubleshooting

Update

Wenn das Update über die Lineage OS Update Funktion nicht funktioniert bzw. man im Recovery landet ohne das geupdatet wird, kann man das Update auch von Hand starten. Hier die Pfade zum Image:

  • /data/lineageos_updates
  • /data/data/org.lineageos.updater/app_updates

Factory Reset

  • Volume down + Power -> boot into twrp
  • Wipe
  • Advanced Wipe
    • Dalvik / ART Cache
    • Data
    • Internal Storage (Daten gesichert?)
    • Cache

Entsperrpasswort/PIN/Muster Reset

ADB notwendig z.B. via Recovery Mode

adb shell
rm /data/system/locksettings.db
rm /data/system/locksettings.db-shm
rm /data/system/locksettings.db-wal
rm /data/system/gatekeeper.password.key
rm /data/system/gatekeeper.pattern.key

Fingerabdrucksensor Reset

ADB notwendig z.B. via Recovery Mode

adb shell
rm /data/system/users/0/fpdata/user.db
rm /data/system/users/0/settings_fingerprint.xml


Back 2 Stock

  • Telefon: Entwicklermodus aktivieren
    • "Einstellungen" -> "Über das Telefon" -> 10x auf "Build-Nummer" tippen
  • Telefon: "Einstellungen" -> "Entwickleroptionen" -> "OEM Unlock" + "USB-Debugging"
  • ADB: Terminal öffnen und "./adb devices" ausführen (Es soll ein Device & Seriennummer gefunden und angezeigt werden.
  • ADB: Terminal: "./adb reboot bootloader" (Telefon startet in Fastboot/Recovery Modus)
  • Fastboot: "./fastboot devices"
  • Fastboot: "./fastboot flash recovery recovery_opXY.img "
  • Reboot 2 Recovery!
  • Recovery: Go to ADB Sideload enter: ""

Apps

Backup

Links


ETC

IMSI Know how

#Zell ID Beispiel

262/7/40305/54573
 |  |   |     |
 |  |   |     +--- [https://de.wikipedia.org/wiki/Cell-ID Cell-ID] = Cell Identification         // 54573 = BTS Schöneberg 
 |  |   +--------- [https://de.wikipedia.org/wiki/Location_Area LAC] = Location Area Code        // 40305 =  
 |  +------------- [https://de.wikipedia.org/wiki/Mobile_Network_Code MNC] = Mobile Network Code // 07    = O₂ 
 +---------------- [https://de.wikipedia.org/wiki/Mobile_Country_Code MCC] = Mobile Country Code // 262   = Deutschland 

Dialer Codes

*#*#4636#*#*     Diagnose Einstellungen