Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Sunday, April 09, 2023

Copy lineage OS to phone to install from there

 I was having problems installing lineage OS using the sideload method, so I decided to use the copy and install method.

The steps where:

  1.  Set the phone in recovery mode with TRW
  2. Copy the lineageOs zip to tmp with the command  adb push "lineage-14.1-20170921-nightly-oneplus2-signed.zip" /tmp
  3. Copy the  google apps adb push "open_gapps-arm64-7.1-nano-20170922.zip" /tmp
  4. In  TRW 
    1. Select Install
    2. Navigate to /tmp and select the file lineage-14.1-20170921-nightly-oneplus2-signed.zip
    3. Select additional zip and select  open_gapps-arm64-7.1-nano-20170922.zip
    4. Press install
  5. Reboot

On reboot I got the phone stuck because no SIM was present, the wizard kept crashing, I needed to install a SIM to pass this point.

Then I got the message "Sign in with a google account that was previously synced on this device", I logged in with the original google account, to validate the phone had not been stolen, but after that I could select a new google account to use in the phone

 


Saturday, June 06, 2020

Update Lineage Os in a oneplus 2

The instructions posted here in the Lineage OS web site regarding the update of oneplus do not work for me, I can't get the command adb reboot sideload to work, it simply reboots my phone.
So these are the steps I took to update my phone to the latest version.
    1. Restart phone in recovery mode:
        power + volume down (will also take screenshot, just wait)
     or
        adb reboot recovery
    2. In TRW select Advanced > ADB sideload > slide to start sideloading
    3. Run command
    adb sideload .\lineage-17.1-20200601-nightly-oneplus2-signed.zip
wait...takes some time, you should see progress indicator
    4. In TRW select ADB sideload and run command
adb sideload .\open_gapps-arm64-10.0-nano-20200530.zip
    5.Reboot.. Wait a long time