Saturday, September 24, 2016

Nexus 5 - Enable Usb debugging mode from Fastboot ?

Hi guys,

Sorry to bother you with that but i have an issue with my Nexus 5 and i wanted to have more information about a " solution " i found on the web.

So First, my phone got a problem with the power button (on the motherboard). I managed to find a repair shop doing that kind of repair.

Now's the real problem !

The phone won't go further than the " Google " logo.

I can access Fastboot mode but not recovery mode.

The phone is not root, official stock rom, bootloader locked, usb debugging mode : OFF.

I find something on the web but it seems the guy who write it down skipped some steps. And i'm a total noob at that so i don't understand how he managed to do what he described.

Here's the link :

(Ok so i can't post link since it's my first post.... so i will C/P his method here)

METHOD :

Things you will need

Download the Stock ROM for your device- Just Google it, I am dam sure you can find it.
Download SuperSU from UPDATE-SuperSU-v1.65.zip
UPDATE-SuperSU-V1.65.zip contains :
Superuser boot permission manager.
Update script (important) etc.
Basic Knowledge of C++ or Java
Notepad++
WinRAR

Steps to Enable USB Debugging Using Recovery Mode

Unzip the stock rom.
Within the extracted folder you will find system.img well extract it too using Ext4 Unpacker
Also extract the Update-SuperSU.v1.65.zip file.
Now open the folder where you have extracted the system.img files
Grab any .apk file from this folder and change the extension from .apk to .zip
And Copy the RSA Certificated to the Update-SuperSU.v1.65 folder (delete previous files if exist)
Also copy the build.prop to the system folder located within Update-SuperSU.v1.65 folder
Located the update-script file within this folder and edit it using Notepad++
You need to update the build.prop file after adding the following line at the bottom

persist.service.adb.enable=1

Next step is updating SQLite Database
Which can be done by adding following code to update-script file

sqlite3 /data/data/com.android.providers.settings/databases/settings.db "UPDATE global SET value=1 WHERE name='adb_enabled'"

Cheers! You have Enabled USB Debugging
Now you can install your custom or stock rom using ADB – USB Debugging.


So basically, i wanted to know if the " solution " was possible to achieve or if the guy is plain dope, so i can backup my personal data before doing a factory reset.

Or if there's another way to backup my data.

Ah ! When i plug my phone on my PC, it isn't recognised as a Nexus 5 but as a Android Interface Bootloader (or something like that).

Sorry for the long post !


from xda-developers http://ift.tt/2ddvrqD
via IFTTT

No comments:

Post a Comment