Visualizzazione post con etichetta fixing installation. Mostra tutti i post
Visualizzazione post con etichetta fixing installation. Mostra tutti i post

lunedì 15 gennaio 2018

How to install TWRP (and LineageOS) with Samsung S5 (G900F)



I tried following the official LineageOS installation guide here, for klte (G900F) model, but the described procedure doesn't work (always).

If you broke your phone following my tips, it's your fault, not mine.. I'm not responsible in any way. Read all the linked resources first.

I'm not going to copy&paste here the official LineageOS installation guide, please refer to the LineageOS site for the complete procedure, I'll only fix the wrong parts. I have verified these steps with my Samsung S5 (G900F) phone, with a fully updated Android Marshmallow from Samsung.
Let's fix the wrong part, the TWRP installation:


The TWRP installation - the right way


The official guide tells you to use the heimdall opensource tool in order to flash the new recovery, TWRP. Forgot it and let's use the Odin software for Windows instead of heimdall. Odin is the official Samsung tool for flashing/managing the firmwares.
You can find it here on the xda forums.



If you have already installed Windows Samsung software.. like Smart-Switch you should have all the needed drivers for the Samsung phone. You can also use the Smart-Switch software to do a full backup... that is not a bad idea...

DO BACKUPS, DO BACKUPS.. Cloud or Local
Google for it 

Then:
  1. Download the TWRP tar image for S5 klte into your Windows PC
  2. Activate the Android phone USB debugging mode (please Google about it)
  3. Connect the phone with a USB cable to your Windows PC
  4. Press the Volume Down+Home+Power buttons altogether, then confirm in order to enter the Download Mode.
  5. Open the ODIN application
  6. The phone may be detected and a confirmation brief message appears in the log tab (OK+something)
  7. In the AP field select the downloaded TWRP .tar file
  8. Select only the 'Reset Time' checkbox in the Odin Options tab (Re-partition is DANGEROUS and should be unchecked! And also the other checkboxes should be unchecked)
  9. Press the START button and the recovery will be flashed
  10. Reboot into TWRP recovery by pressing at the same time the phone buttons Volume UP+Home+Power
Full instructions: http://www.droidviews.com/install-twrp-recovery-samsung-galaxy-s5/

After TWRP installation you can follow the official instructions in order to install LineageOS.
Have fun

P.S:
With S5 you need to uncheck Odin "Automatic Reboot" checkbox.
This is needed because the automatic reboot replaces the TWRP with the original Samsung recovery.. you need to manually boot in TWRP at least once in order preserve it right.

martedì 17 aprile 2012

SafeNet Authentication Client , how to solve installation issues



Recently I have had problems with a SafeNet Authentication Client v.8.0.0 installation  on Windows7 SP1, the SafeNet installation was simply broken and I wasn't able to repair or uninstall ( failed with a generic error ) and  the installer don't permit to do a fresh install over an existing one.
 I tried CCleaner in order to remove the application entry but the CCleaner failed with an error : "Impossible to delete MSI.."
I was sticked.

The solution is
  1. Use  http://en.wikipedia.org/wiki/Windows_Installer_CleanUp_Utility in order to delete the installation information from your system. Please, pay attention, let's select and delete ONLY the SafeNet Authentication Client entry!! No rollback exists for this operation. Alternate download link.
  2. You are able to do do a fresh SafeNet install, but the installation still fails with an "error: 1402". The error contains details about registry keys which the installer is not able to read/write.. yes it is a permission issue. The solution is here: http://www.okino.com/conv/changing_windows_registry_permissions.htm , abstract: you have to edit execute regedit as adminsitrator, find out the root of the problematic keys and change the permissions as pointed in the linked article.
  3. You have to iterate the installation procedure 2) as far as you have fixed permissions an all the keys.

Hope useful,
Good luck