Lineage: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Installation von LineageOS auf jfltexx (Samsung Galaxy S4 (GT-I9505)))
 
(33 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
== Allgemein ==
 +
 +
=== linux:heimdall die windows:odin Alternative ===
 +
 +
Odin
 +
* Auto Reboot : unchecked
 +
* Re-Partition: checked
 +
* PIT : i9100-LOS-16.0-Emulated-Storage.pit
 +
* PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
 +
 +
heimdall
 +
<source lang=bash>
 +
heimdall flash --repartition --pit file.pit --KERNEL boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot
 +
</source>
 +
 +
== Installation von LineageOS auf enchilada (Oneplus 6) ==
 +
 +
* https://wiki.lineageos.org/devices/enchilada
 +
* https://wiki.lineageos.org/devices/enchilada/install
 +
* https://download.lineageos.org/enchilada
 +
* https://www.androidfilehost.com/?fid=2188818919693768129
 +
 +
* Einstellungen > Über das Telefon > 7 * Buildnummer
 +
* Einstellungen > System > Entwickleroptionen
 +
** OEM-Entsperrung
 +
** USB-Debugging
 +
 +
<source lang=bash>
 +
adb reboot bootloader
 +
# => DEVICE STATE - locked
 +
fastboot devices
 +
fastboot oem unlock
 +
# wird wohl jetzt alles gewiped .. und warten
 +
</source>
 +
 +
* Einstellungen > Über das Telefon > 7 * Buildnummer
 +
* Einstellungen > System > Entwickleroptionen
 +
** OEM-Entsperrung <= sollte nicht mehr auftauchen
 +
** USB-Debugging
 +
 +
<source lang=bash>
 +
adb reboot bootloader
 +
# => DEVICE STATE - unlocked
 +
fastboot devices
 +
fastboot flash boot lineage-18.1-20210720-recovery-enchilada.img
 +
</source>
 +
 +
* ausmachen
 +
* Volume Down + Power
 +
** On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
 +
adb sideload copy-partitions-20210323_1922.zip
 +
* smartphone:
 +
** yes wegen der signierung
 +
** zurück zum hauptmenu
 +
*** Now reboot to recovery by tapping “Advanced”, then “Reboot to recovery”.
 +
** Factory Reset
 +
** Format data / factory reset
 +
*** Format data
 +
** zurück zum hauptmenu
 +
** On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
 +
<source lang=bash>
 +
adb sideload lineage-18.1-20210720-nightly-enchilada-signed.zip
 +
</source>
 +
 +
 +
 +
=== Fehler ===
 +
 +
==== fastboot oem unlock FAILED (remote: 'Flashing Unlock is not allowed ====
 +
 +
* Einstellungen > System > Entwickleroptionen
 +
** OEM-Entsperrung
 +
 +
== Installation von LineageOS auf jfltexx (Samsung Galaxy S4 (GT-I9505)) ==
 +
 +
* https://wiki.lineageos.org/devices/jfltexx/install
 +
* https://wiki.lineageos.org/devices/jfltexx
 +
 +
siehe auch allgemein unten
 +
 +
<source lang=bash>
 +
sha256sum lineage-16.0-20191012-recovery-jfltexx.img | grep 86f78f25e1aad1cb24b84f493ae77a4b497403b010737a34a6cabbdd354ee5c0
 +
sha256sum lineage-16.0-20191012-nightly-jfltexx-signed.zip | grep 619bffb74c825e0776b42124eda52b4fb760b615261f1a9098d974ef759e4390
 +
</source>
 +
 +
<source lang=bash>
 +
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
 +
heimdall print-pit
 +
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
 +
heimdall flash --RECOVERY lineage-16.0-20191012-recovery-jfltexx.img --no-reboot
 +
# Batterie raus, direkt neustart mit Home + Volume Up + Power. (falls er ins original system bootet, alles noch mal von vorne)
 +
## Now tap Factory Reset, then Wipe data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
 +
## Now tap Wipe System and continue with the formatting process.
 +
## Return to the main menu.
 +
## Sideload the LineageOS .zip package:
 +
## On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
 +
adb sideload lineage-16.0-20191012-nightly-jfltexx-signed.zip
 +
</source>
 +
 
== Installation von LineageOS auf kccat6 ==  
 
== Installation von LineageOS auf kccat6 ==  
 +
 +
Gerät war nicht gerootet und twrp war nicht installiert
 +
 +
siehe auch allgemein oben
  
 
* https://wiki.lineageos.org/devices/kccat6/install
 
* https://wiki.lineageos.org/devices/kccat6/install
 
* https://download.lineageos.org/kccat6
 
* https://download.lineageos.org/kccat6
 +
* https://dl.twrp.me/kccat6
  
 
Grundsätzlich funktioniert die Anleitung, es gibt nur paar Punkte auf die mensch achten muss
 
Grundsätzlich funktioniert die Anleitung, es gibt nur paar Punkte auf die mensch achten muss
Zeile 11: Zeile 115:
  
  
Preparing for installation
+
 
# Download and install the Heimdall suite:
+
Grundsätzlich folgende Schritte (genaueres siehe oben bzw in der Anleitung
 
<source lang=bash>
 
<source lang=bash>
 
apt-get install heimdall-flash heimdall-flash-frontend
 
apt-get install heimdall-flash heimdall-flash-frontend
 
apt-get install adb  android-libadb android-tools-adb
 
apt-get install adb  android-libadb android-tools-adb
 +
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
 +
heimdall print-pit
 +
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
 +
heimdall flash --RECOVERY twrp-x.x.x-x-kccat6.img --no-reboot
 +
adb sideload lineage-x.x-yyyymmdd-nightly-kccat6-signed.zip
 
</source>
 
</source>
# Power off the device and connect the USB adapter to the computer (but not to the device, yet).
 
# Boot into download mode:
 
** With the device powered off, hold Volume Down + Home + Power. In order to exit download mode and reboot, hold  Volume Down + Power for about 7 seconds.
 
** Accept the disclaimer, then insert the USB cable into the device.
 
# On the computer, open a command prompt window, and type: heimdall print-pit
 
# If the device reboots, Heimdall is installed and working properly.
 
  
Installing a custom recovery using heimdall
+
== Installation von LineageOS auf i9100 ==
# Download a custom recovery - you can download TWRP. Simply download the latest recovery file, named something like twrp-x.x.x-x-kccat6.img.
+
 
# Power off the your device and connect the USB adapter to the computer (but not to the device, yet).
+
=== Variante lineage-16.0 ===
# Boot into download mode:
+
 
** With the device powered off, hold Volume Down + Home + Power. In order to exit download mode and reboot, hold Volume Down + Power for about 7 seconds.
+
hat einmal funktioniert, danach mußte weiteres getan werden, siehe [https://forum.xda-developers.com/galaxy-s2/development-derivatives/pie-i9100-t3850588 Upgrade from Samsung stock ROM to Build #14 and higher using ODIN 3.07]
** Accept the disclaimer, then insert the USB cable into the device.
+
 
# On the computer, open a terminal  in the directory the recovery image is located, and type:
+
* Twrp: https://www.androidfilehost.com/?fid=6006931924117912734 richtige Partitionierung sdcard0 !!!! schlußendlich das hier genommen!!!!! sonst probleme mit mtp / Kamera / Dateimanager / Browser Downloads
heimdall flash --RECOVERY <recovery_filename>.img --no-reboot
+
* Image: https://www.androidfilehost.com/?fid=6006931924117912738
# A blue transfer bar will appear on the device showing the recovery being transferred.
+
 
# Unplug the USB cable from your device.
+
 
# Manually reboot into recovery:
+
<source lang=bash>
** With the device powered off, hold Volume Up + Home + Power. When the blue text appears, release the buttons.
+
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
 +
heimdall flash --RECOVERY i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img --no-reboot
 +
# kabel, akku raus und neustarten, unbedingt mit folgendem
 +
# With the device powered off and no cable in device, hold Home + Volume Up + Power.
 +
# Wipe > Advanced Wipe > Cache, System, Data > Swipe to wipe
 +
adb push lineage-16.0-20190707-UNOFFICIAL-i9100.zip  /tmp/
 +
# und über install einmal installieren
 +
# beim neustarten nicht automatisch neustarten auswählen und nicht zusätzlich twrp installation auswählen sonst geht er in die endlosschleife!!
 +
 
 +
 
 +
# wenn es fehler gibt beim installieren, evt. siehe unten
 +
# heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL lineage-16.0-20190113-UNOFFICIAL-i9100/boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot
 +
# vorher ausführen
 +
</source>
 +
 
 +
* https://forum.xda-developers.com/galaxy-s2/development-derivatives/pie-i9100-t3850588 - sehr gute anleitung!!! und aktuell (letztes image von 2019 12)
 +
 
 +
=== Variante lineage-14 microG ===
 +
 +
zum teil Fehlermeldung: MTP Host ....
 +
 
 +
* Twrp: https://eu.dl.twrp.me/i9100/
 +
* Repartition
 +
** https://androidfilehost.com/?fid=24591000424954843
 +
** https://androidfilehost.com/?w=files&flid=144996
 +
* Image: https://download.lineage.microg.org/i9100/
 +
 
 +
* folgendes analog zu oben
 +
<source lang=bash>
 +
heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL lineage-16.0-20190113-UNOFFICIAL-i9100/boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot
 +
adb push lanchon-repit-20170115-system\=1G-data\=same-sdcard\=max-preload\=min+wipe-i9100.zip /tmp/
 +
# install
 +
adb push lineage-14.1-20190316-microG-i9100.zip  /tmp/
 +
# install
 +
</source>
 +
* https://voidyourwarranty.wordpress.com/tag/samsung-galaxy-s2/
 +
 
 +
=== Zusatz ===
 +
 
 +
* Allgemein
 +
** https://wiki.lineageos.org/devices/i9100
 +
* Anleitungen
 +
** https://wiki.lineageos.org/devices/i9100/install
 +
** https://www.cyanogenmods.org/forums/topic/download-lineage-os-16-for-galaxy-s2-i9100/
 +
 
 +
* Images
 +
** https://androidfilehost.com/?fid=6006931924117912738 - lässt sich installieren, aber auf dem (evt. kaputten) test handy gab es probleme
 +
* Zusätzliche Software
 +
** https://dl.twrp.me/i9100/

Aktuelle Version vom 21. Juli 2021, 16:23 Uhr

Allgemein

linux:heimdall die windows:odin Alternative

Odin

  • Auto Reboot : unchecked
  • Re-Partition: checked
  • PIT : i9100-LOS-16.0-Emulated-Storage.pit
  • PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5

heimdall

heimdall flash --repartition --pit file.pit --KERNEL boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot

Installation von LineageOS auf enchilada (Oneplus 6)

  • Einstellungen > Über das Telefon > 7 * Buildnummer
  • Einstellungen > System > Entwickleroptionen
    • OEM-Entsperrung
    • USB-Debugging
adb reboot bootloader
# => DEVICE STATE - locked
fastboot devices
fastboot oem unlock
# wird wohl jetzt alles gewiped .. und warten
  • Einstellungen > Über das Telefon > 7 * Buildnummer
  • Einstellungen > System > Entwickleroptionen
    • OEM-Entsperrung <= sollte nicht mehr auftauchen
    • USB-Debugging
adb reboot bootloader
# => DEVICE STATE - unlocked
fastboot devices
fastboot flash boot lineage-18.1-20210720-recovery-enchilada.img
  • ausmachen
  • Volume Down + Power
    • On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.

adb sideload copy-partitions-20210323_1922.zip

  • smartphone:
    • yes wegen der signierung
    • zurück zum hauptmenu
      • Now reboot to recovery by tapping “Advanced”, then “Reboot to recovery”.
    • Factory Reset
    • Format data / factory reset
      • Format data
    • zurück zum hauptmenu
    • On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
adb sideload lineage-18.1-20210720-nightly-enchilada-signed.zip


Fehler

fastboot oem unlock FAILED (remote: 'Flashing Unlock is not allowed

  • Einstellungen > System > Entwickleroptionen
    • OEM-Entsperrung

Installation von LineageOS auf jfltexx (Samsung Galaxy S4 (GT-I9505))

siehe auch allgemein unten

sha256sum lineage-16.0-20191012-recovery-jfltexx.img | grep 86f78f25e1aad1cb24b84f493ae77a4b497403b010737a34a6cabbdd354ee5c0
sha256sum lineage-16.0-20191012-nightly-jfltexx-signed.zip | grep 619bffb74c825e0776b42124eda52b4fb760b615261f1a9098d974ef759e4390
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
heimdall print-pit
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
heimdall flash --RECOVERY lineage-16.0-20191012-recovery-jfltexx.img --no-reboot
# Batterie raus, direkt neustart mit Home + Volume Up + Power. (falls er ins original system bootet, alles noch mal von vorne)
## Now tap Factory Reset, then Wipe data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
## Now tap Wipe System and continue with the formatting process.
## Return to the main menu.
## Sideload the LineageOS .zip package:
## On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
adb sideload lineage-16.0-20191012-nightly-jfltexx-signed.zip

Installation von LineageOS auf kccat6

Gerät war nicht gerootet und twrp war nicht installiert

siehe auch allgemein oben

Grundsätzlich funktioniert die Anleitung, es gibt nur paar Punkte auf die mensch achten muss

  • heimdall version v1.4.2 !!!! nicht v1.4.1 (im zweifel irgendwo im netz suchen)
  • beim starten im "Donwload Mode" (Volume Down + Home + Power) unbedingt das usb Kabel erst nach der Bestätigung (Volum Up) einstecken
  • apt-get install adb android-libadb android-tools-adb
  • nach dem Installieren von lineagos, nicht das angebotene twrp mit installieren!


Grundsätzlich folgende Schritte (genaueres siehe oben bzw in der Anleitung

apt-get install heimdall-flash heimdall-flash-frontend
apt-get install adb  android-libadb android-tools-adb
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
heimdall print-pit
# With the device powered off and no cable in device, hold Home + Volume Down + Power.
heimdall flash --RECOVERY twrp-x.x.x-x-kccat6.img --no-reboot
adb sideload lineage-x.x-yyyymmdd-nightly-kccat6-signed.zip

Installation von LineageOS auf i9100

Variante lineage-16.0

hat einmal funktioniert, danach mußte weiteres getan werden, siehe Upgrade from Samsung stock ROM to Build #14 and higher using ODIN 3.07


# With the device powered off and no cable in device, hold Home + Volume Down + Power.
heimdall flash --RECOVERY i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img --no-reboot
# kabel, akku raus und neustarten, unbedingt mit folgendem
# With the device powered off and no cable in device, hold Home + Volume Up + Power.
# Wipe > Advanced Wipe > Cache, System, Data > Swipe to wipe
adb push lineage-16.0-20190707-UNOFFICIAL-i9100.zip  /tmp/
# und über install einmal installieren
# beim neustarten nicht automatisch neustarten auswählen und nicht zusätzlich twrp installation auswählen sonst geht er in die endlosschleife!!


# wenn es fehler gibt beim installieren, evt. siehe unten 
# heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL lineage-16.0-20190113-UNOFFICIAL-i9100/boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot
# vorher ausführen

Variante lineage-14 microG

zum teil Fehlermeldung: MTP Host .... 
  • folgendes analog zu oben
heimdall flash --repartition --pit I9100_1.5GB-System_6GB-Data_512MB-Preload_by-the.gangster.pit --KERNEL lineage-16.0-20190113-UNOFFICIAL-i9100/boot.img --RECOVERY twrp-3.3.1-0-i9100.img --no-reboot
adb push lanchon-repit-20170115-system\=1G-data\=same-sdcard\=max-preload\=min+wipe-i9100.zip /tmp/
# install
adb push lineage-14.1-20190316-microG-i9100.zip  /tmp/
# install

Zusatz