Hey all,
--> I'm trying to flash TWRP to my Sony Z5 Compact, but the flash fails during the writing process of the .img file
--> It gives me the following error: FAILED (remote: Command not allowed)
--> I am currently running build number 32.3.A.2.33
--> The phone is NOT rooted (but this should not matter I think... because I cant do that either if I cant write anything to my phone...)
Things that I have already done:
1. I enabled OEM unlocking in the developer options.
2. I enabled USB-Debugging in the developer options
3. The ADB and Fastboot drivers are working correctly
Does anyone know how I can fix this issue? I have already browsed the web for a fix, found a lot of people having the same issue, but nothing has worked for me.
Thanks in advance!
Horizon
i didnt see you unlocked the bootloader, i guess this is the problem
Here link:
https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
its the easy part,
besure you backup everything bootloader for me did factory rest
i did with CMD terminal
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
its always good idea to backup also DRM keys also unlock takes your warranty
A. Install the Android SDK and the device drivers
1. Download and install the Android SDK. The SDK Manager is included in Android Studio, but you don’t need to install more than the basic Android command line tools. These can be found at the bottom of the page.
Tip: Take note of the installation path, you may need to access specific files later.
a. If you are running Windows: You need to install additional drivers.
1. When completing the installation, open the Android SDK Manager and go to the Extras folder to install the Google USB driver.
2. Download and install an updated Fastboot driver. This is the standardandroid_winusb.inf-file, with a few lines of code added to enable Fastboot to support Sony devices.
3. Replace the original android_winusb.inf-file with the downloaded file in theusb_driver folder, located in the Android >sdk > extras > google folder on your computer.
b. If you’re running OSX or Linux, you are not required to install any additional drivers.
2. On your device, turn on USB debugging by going to Settings > Developer options and click to enable USB debugging.
a. If your device is Android Jelly Bean 4.2 or newer: Developer options are hidden by default. To enable, tap on Settings > About Phone > Build Version multiple times. Then, turn on USB debugging by going to Settings > Developer options.
B. Connect to Fastboot
1. Turn off your Xperia™ Z5 Compact.
2. Connect a USB-cable to your computer.
3. On your Xperia™ Z5 Compact, press the Volume up button at the same time as you connect the other end of the USB-cable.
a. Windows users: When asked for a driver, open the Devices and Printers directory, click on the fastboot driver and press Update. Browse and point towards the location of the new android_winbus.inf file.
4. When your device is connected, open a command window on your computer and go to the platform-tools folder within the Android SDK folder.
5. Enter the following command:
fastboot devices
Click to expand...
Click to collapse
6. Verify that you get an answer back without any errors.
C. Enter unlock key
WARNING! The command below contains your unlock key. If you perform this step, you will unlock the boot loader. This may void your warranty and/or any warranty from your operator.
1. If you still want to unlock the boot loader of your device, enter the following command:
fastboot -i 0x0fce oem unlock 0x(here your code you got by sony)
Click to expand...
Click to collapse
2. Verify that you get an answer back without any errors.
D. Done!
You have now unlocked the boot loader of your device
good luck, update if got it right
PS .i posted my imei by mistake hope i didnt miss to remove another :X
Hey man! Thanks for the quick response! Went right to work with it this morning... and it fixed it!
--> I completely missed the next steps from Sony. for some reason I thought that OEM unlocking option would do the magic lol..
--> After I unlocked it through cmd it was a breeze from there! Got my TWRP on there and the Lineage ROM
Thanks!
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello all,
Here a tutorial for how to install the TWRP 2.8.6.1 on a Oneplus 2 device.
Attention:
I am not liable for breaking your own phone. I do this every day for customers and often it always works. It may be that something goes wrong (errors I have not come across!
First you must unlock your bootloader, to install TWRP later.
Step 1. Unlocking your bootloader!
Download adb & fastboot: http://forum.xda-developers.com/showthread.php?t=2588979 i am using version 1.3
Enable OEM unlock and USB debugging:
Go to your phone’s settings » About phone » and tap “Build number” Seven/Ten times. This will enable Developer options on your OnePlus 2.
Now go to Settings » Developer options » and look for “Enable OEM unlock” option, tick the checkbox next to it.
On the same page, also tick the USB debugging checkbox.
Step 3.
Connect your phone to PC and open a command window on the PC.
Step 4.
Reboot your OnePlus 2 into Bootloader/Fastboot mode by issuing the following command:
Code:
adb reboot bootloader
└ Check your phone’s screen, if it asks for “Allow USB debugging”, accept it by selecting OK/Yes.
Once it is booted into Bootloader mode, issue the following command to finally unlock bootloader on your OnePlus 2:
Code:
fastboot oem unlock
└ This will unlock the bootloader on your OnePlus 2 and also completely wipe your phone while doing that. So make sure you backup everything important on your device before unlocking the bootloader.
Once bootloader is unlocked, your OnePlus 2 will automatically reboot. In case it asks for bootloader unlock permission on the device, accept it.
That’s all. Your OnePlus 2 bootloader should be unlocked now and you can install/flash a custom recovery like TWRP or CWM on it.
Installing TWRP 2.8.6.1 on Oneplus 2
Step 1.
Download the TWRP 2.8.6.1.img from here: https://xq55.app.box.com/OnePlus2Recovery/1/4224692657/34795782429/1
Note: This guide assumes that your device has an unlocked bootloader.
Step 2.
Enable USB debugging on your device:
Open Settings on your device.
Go to About phone and tap seven times on Build number, this will enable Developer options.
Now go back to Settings and you’ll see “Developer options” there, open it.
Tick the USB Debugging checkbox.
Step 3.
Open the folder where your TWRP Recovery .img file is saved.
Step 4.
Now open a command window inside that folder. To do that, “Shift + Right click” on any empty white space inside the folder and then select “Open command window here” from the context menu.
Step 5. Connect your device to the PC. And type the following into the command window we opened in step 4 above to boot your device into bootloader/fastboot mode:
Code:
adb reboot bootloader
└ If your asks for permission to “Allow USB debugging”, tap OK.
Step 6.
Once your device boots into bootloader mode, issue the following command into command window to flash the TWRP recovery .img file:
Code:
fastboot flash recovery twrp-2.8.x.x-xxx.img
└ Here modify twrp.img with the name of your TWRP recovery .img file, OR change your TWRP recovery filename to twrp.img and use the command above.
Step 7.
Once TWRP is successfully flashed on your device, issue the following command to reboot:
Code:
fastboot reboot
That’s all. We hope this guide serves you well. If there’s anything you’d like to be added/changed on this page, let us know about it in the comments section below.
Greetz,
J Hasanovic
W: http://www.gadgetshopeurope.eu
E: [email protected]
D: [email protected]
Hi, is there the same problem with TWRP 2.8.7.0 than with the ONE ? I mean it doesn't flash radio files
Thanks
Thanks for the info. Just a small check.
Is the Warrenty void? Cause oneplus is always open for developers and I remember many mentioning that..,
YOUR WARRENTY IS NOT VOID in the previous opo forums.
Is there a version of TWRP that's actually built by the TWRP team? Everyone keeps linking to this site and I don't trust it, especially because they actually branded their site's name directly into TWRP.
thebuginyou said:
Thanks for the info. Just a small check.
Is the Warrenty void? Cause oneplus is always open for developers and I remember many mentioning that..,
YOUR WARRENTY IS NOT VOID in the previous opo forums.
Click to expand...
Click to collapse
Your warranty is not void by unlocking bootloader as confirmed by Oneplus on their forum.
How is this different than Heisenberg's method in the thread stickied above?
http://forum.xda-developers.com/oneplus-2/general/guides-how-to-guides-beginners-t3146568
CafeKampuchia said:
How is this different than Heisenberg's method in the thread stickied above?
http://forum.xda-developers.com/oneplus-2/general/guides-how-to-guides-beginners-t3146568
Click to expand...
Click to collapse
It's basically the same, following either one will net the same results.
Hello can please upload the stock recovery of oxygen os.The one that is uploaded in ur link is of hydrogen os.
Thanks
Hello the recovery you uploaded,Is it same for opt using oxygen os too?
I can't find much on this online, neither in the forums or elsewhere.
It's a cheap piece of **** so I don't care too much but I'm trying to root it nonetheless because, you know, principles.
Cheers!
Hey, yes.
BOOTLOADER UNLOCK
First off, download and install the Android SDK Platform Tools on your PC. These are the official ADB and Fastboot binary provided by Google. If you have any other third party ADB tool, I would suggest you switch over to this one.
Now enable USB Debugging on your device. This is needed so that your PC recognizes your device in the ADB mode. But why do we need ADB mode? Well, this will be needed to boot your device to Fastboot Mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging. And > OEM UNLOCK
When that is done, connect your device to the PC via USB cable.
Turn ON platform-tools type adb reboot bootloader
fastboot oem unlock
MAGISK ROOT
Download STOCK ROM for your device. From this website: link
Extract .ozip file (HOW TO EXTRACT - LINK)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Copy boot.img to Phone
Download Magisk App on Your Phone and patch boot.img file (Install > Choose and patch file > Choose boot.img file)
Copy magisk_patched-xxx.img from phone to PC.
Open platform-tools and typeadb reboot bootloader
Copy magisk_patched-xxx.img file to platform-tools directory and type fastboot flash boot magisk_patched-xxx.img
YOU NOW HAVE ROOTED PHONE.
I love the tutorial, thanks for that, but I'm sorry I was tired when I posted that and forgot to mention the critical piece of info that the phone is PIN locked and doesn't have USB debugging activated.
Could a helpful fellow such as yourself say if there's a way to get around that? I'm a linux tech and used to the SDK toolkit, I know about shunts for hardware like Chromebooks, are there similar methods to brute force factory resets for these chinese Android knockoffs with Mediatek chipsets?
Sorry for not being clearer earlier on. Thanks for your help!
Peace
Right, it doesn't respond to power + volume down either, it jumps straight into what looks like some sort of bootleg firmware. It say's "Android" with the androidbot logo, but it is very clearly not original, using a serif font and looking way off.
None of the known methods to get to the boot menu work.
Trevorek said:
Hey, yes.
BOOTLOADER UNLOCK
First off, download and install the Android SDK Platform Tools on your PC. These are the official ADB and Fastboot binary provided by Google. If you have any other third party ADB tool, I would suggest you switch over to this one.
Now enable USB Debugging on your device. This is needed so that your PC recognizes your device in the ADB mode. But why do we need ADB mode? Well, this will be needed to boot your device to Fastboot Mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging. And > OEM UNLOCK
When that is done, connect your device to the PC via USB cable.
Turn ON platform-tools type adb reboot bootloader
fastboot oem unlock
MAGISK ROOT
Download STOCK ROM for your device. From this website: link
Extract .ozip file (HOW TO EXTRACT - LINK)
Copy boot.img to Phone View attachment 5612103
Download Magisk App on Your Phone and patch boot.img file (Install > Choose and patch file > Choose boot.img file)
Copy magisk_patched-xxx.img from phone to PC.
Open platform-tools and typeadb reboot bootloader
Copy magisk_patched-xxx.img file to platform-tools directory and type fastboot flash boot magisk_patched-xxx.img
YOU NOW HAVE ROOTED PHONE.
Click to expand...
Click to collapse
Many people had dm-verity issue after ubl, which led to not being able to access both recovery and fastboot, therefore I cannot continue to install root
Hello,
As I had a somehow hard time to find a comprehensive guide on how to unlock the bootloader and root the Zenfone 4, here is a quick guide on how to do so. The method below was successfully used on a Z01KDA.
As usual: this guide will be used at your own risk. I won't accept any responsibility in any way if it results in a damage of any sort on your device.
Click to expand...
Click to collapse
PREREQUISITES
Zenfone 4 (that... should be obvious, but who am I to judge)
A computer with:
Windows (at least Windows 7, I guess)
Fastboot ready to use (I recommend using the file from this link as it is the most straightforward, but if you prefer the SDK tools, well, you do you) and being able to use it (though on a basic level)
A USB-C cable capable of transferring data
Time to read all the annoying stuff below, and patience.
1. Bootloader unlock (from this thread // thanks to OP @shakalaca)
Whichever method you use to unlock your bootloader, all your personal data and settings will be erased and your phone will be restored to factory default. So, backup everything before going forward.
As this method was used on a rather old version of the Zenfone 4 firmware, I suggest that you use the official downgrade method from Android P to Android O. To do so :
Download the file here on your computer (the main page is located here, under Drivers & Tools), and put it at the root of the phone, do not change the name of the file
After unplugging your phone, it will prompt a software update, proceed with it
If it doesn't work for any reason, use this method instead:
Put the file on a SD card (...inside the phone)
Reboot the phone to recovery (via ADB, or Power button + Volume down)
Install the update from recovery
Wait for the phone to reboot.
After the downgrade, you can proceed to the bootloader unlock:
Download the method of @shakalaca located here
Unzip all the files to the same folder
Get into fastboot on the phone (reboot with Power button + Volume up)
Make sure that your phone is detected with
Code:
fastboot devices
Run the file "ze554kl_unlock.bat" as administrator
Let it do its magic
Your phone will reboot, congrats, the bootloader is unlocked.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Install the latest firmware available on your Zenfone 4
Follow the same steps as in the previous guide (1.), but with this file (the main page is located here, under BIOS & FIRMWARE ==> you have to click on EXPAND ALL to see all files)
3. Root
On your phone:
Download the Magisk Manager apk from this link on your phone
Install it
On your computer:
Download the file from step 2. above
Extract it to any location
Locate the file boot.img and put it your phone.
On your phone:
Open Magisk
Click on Install
On the next screen, select
Preserve AVB 2.0/dm-verity
Preserve force encryption
Click NEXT
Under Method, click Select and Patch a File
Select the boot.img file
Let Magisk patch the file
Locate and put the modified boot.img file on your computer (in the same folder as the one with fastboot if you did not install it system wide)
Get into fastboot mode (reboot with Power button + Volume up)
On your computer
Open a cmd window
cd to the folder where the modified boot.img is located
Check if your phone is detected with the following command:
Code:
fastboot devices
Input the following command and press Enter:
Code:
fastboot flash boot name_of_the_modified_boot.img
Reboot your phone with the following command:
Code:
fastboot reboot
Your phone will reboot, congrats, it is rooted.
Feel free to ask any question if this guide is not clear, but it should be easy to follow!
I'm not getting past step 1 because my computer doesn't recognize the cell phone when it's in csc mode, it doesn't appear even when I do the fastboot devices command, could you help me?
JãoFrango said:
I'm not getting past step 1 because my computer doesn't recognize the cell phone when it's in csc mode, it doesn't appear even when I do the fastboot devices command, could you help me?
Click to expand...
Click to collapse
install adb drivers
Hi all,
first of all: yes, I've used the search function but I couldn't find a solution.
I have a Nord 2 5G device and want to install Evolution X Custom ROM.
I followed the instructions in this forum (and other websites) and managed to downgrade to OOS 11 in order to get into fastboot. The adb command to boot into fastboot mode also worked and my device is saying
fastboot_unlock_verify ok
The device is in fastboot mode which is only for debug Android devices. If you want to exit fastboot mode, please long press volume up and power buttons simultaneously.
Click to expand...
Click to collapse
However, the fastboot command to flash TWRP does not work. On the command line I can only see
< waiting for any device >
Click to expand...
Click to collapse
and I continuously hear the Windows device attached/device detached chime. The device manager shows this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After opening the properties, I can see this:
As it's German. It says:
The drivers for this device have not been installed. (Code 28).
There are no compatible drivers for this device.
Click to expand...
Click to collapse
So obviously I need additional drivers. I have downloaded the USB drivers from this website: https://developer.android.com/studio/run/win-usb, chose install from hard drive and pointed to the directory I have unzipped the driver set but Windows can't install them. I have also downloaded the OnePlus driver set from https://oneplusdriver.com/download-oneplus-driver and installed them.
Still, it doesn't work.
I am at the end of my rope now. What did I do wrong?
Thanks in advance!
I have same problem did you find solution
mckinley87 said:
Hi all,
first of all: yes, I've used the search function but I couldn't find a solution.
I have a Nord 2 5G device and want to install Evolution X Custom ROM.
I followed the instructions in this forum (and other websites) and managed to downgrade to OOS 11 in order to get into fastboot. The adb command to boot into fastboot mode also worked and my device is saying
However, the fastboot command to flash TWRP does not work. On the command line I can only see
and I continuously hear the Windows device attached/device detached chime. The device manager shows this:
View attachment 5835135
After opening the properties, I can see this:
View attachment 5835137
As it's German. It says:
So obviously I need additional drivers. I have downloaded the USB drivers from this website: https://developer.android.com/studio/run/win-usb, chose install from hard drive and pointed to the directory I have unzipped the driver set but Windows can't install them. I have also downloaded the OnePlus driver set from https://oneplusdriver.com/download-oneplus-driver and installed them.
Still, it doesn't work.
I am at the end of my rope now. What did I do wrong?
Thanks in advance!
Click to expand...
Click to collapse
Have you try to use platform-tools? It has adb and fastboot. I have always used that and no problem
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
Look in Eigenshaften > Details > "Device instance path" (k.A. Gerätepfad?).
What's the VID/PID?
Is that in the stock INF file in android_winusb.inf?
If you want, you can just use Zadig drivers. I can give you "fastbogus.exe".
https://zadig.akeo.ie/
Select "WinUSB".
HamdiPiixel said:
I have same problem did you find solution
Click to expand...
Click to collapse
Yes, the thing is, I've installed the drivers in the wrong way. I'll try to give a step-by-step guide:
Go to Device Manager and find the Device (will have the yellow triangle. Right-click on it and choose upgrade driver (hope that's what's shown in the english version of Win 11). You'll see this:
Click the second option. You'll see this:
Here, choose the second option at the bottom. That's where I did it wrong. I selected the drivers in the dropdown menu and that doesn't work.
Click there...
and click there to select the diver *.inf file in the usb_driver folder.
That should work. It's important that you use the official Google Drivers (at least it was important here).
Hope that works.
mckinley87 said:
Yes, the thing is, I've installed the drivers in the wrong way. I'll try to give a step-by-step guide:
Go to Device Manager and find the Device (will have the yellow triangle. Right-click on it and choose upgrade driver (hope that's what's shown in the english version of Win 11). You'll see this:
View attachment 5856845Click the second option. You'll see this:
View attachment 5856867
Here, choose the second option at the bottom. That's where I did it wrong. I selected the drivers in the dropdown menu and that doesn't work.
View attachment 5856869
Click there...
View attachment 5856871
and click there to select the diver *.inf file in the usb_driver folder.
That should work. It's important that you use the official Google Drivers (at least it was important here).
Hope that works.
Click to expand...
Click to collapse
Hi,
I managed to install the ADB google drivers so I can now at least see Fastboot devices response properly but I do not know how to unlock the bootloader as the command "fastboot oem unlock" is not recognized and there is still no menu for the bootloader unlock (only the message on the black screen)
If anyone could help I would be be very grateful.
Thank you.
Best Regards
Lad
I have a Sony Xperia L3 and i have tried to root but it seems impossible. How can i do it? I have tried to root the phone with Sony Xperia C Root but it could not do it. Kingo Root is the same, fail. Also tried dr.fone but it did not support l3.
You must unlock the bootloader and then follow this steps: https://topjohnwu.github.io/Magisk/install.html
I have check and my phone can be unlocked, i have downloaded fastboot but i do not understand what to do next. I got to step 8 https://www.xda-developers.com/install-adb-windows-macos-linux/ i can see my phone in the command line, what to do next?
I cannot find the fastboot icon under devices and printers
I got to https://mobilewithdrivers.com/unlock-bootloader/sony-xperia-l3-32gb-3gb-ram i got it into fastboot mode but no commands works, fastboot flashing unlock, fastboot oem unlock. Unknown command, command not allowed.
Should i have a unlock code? I only see Xpeira L2 on the site for getting a unlock code, no L3 https://www.getdroidtips.com/unlock-bootloader-xperia-device/
It seems to be something wrong in developer mode, oem do not turn on, no green, it is just off.
Oldschool297 said:
I have a Sony Xperia L3 and i have tried to root but it seems impossible. How can i do it? I have tried to root the phone with Sony Xperia C Root but it could not do it. Kingo Root is the same, fail. Also tried dr.fone but it did not support l3
Click to expand...
Click to collapse
What's phone's Android version? Android 8.1 ? If so, look inside here:
[HOW TO] Root Android 8.1 - DevPreview 1 - OPP5
There are probably already a couple guides up, but I wanted to post about how I went about doing this and have everything working. It may not work for everyone, but for me, it worked the first time. 0: Yep, there is a step zero here. :good...
forum.xda-developers.com
Thanks. I cannot unlock the bootloader to try. I do not get the oem under development mode to work. It is only off. I can't get it on to unlock the bootloader.
Why not contact Sony ?
Sony Support Consumer Electronics
services.sony.co.uk
I tried the guide https://www.kingoapp.com/root-tutorials/how-to-unlock-bootloader-android-device.htm i get it to fastboot and the light is blue but i only get. Failed remote: Command not allowed, Finished. total times 0.045s.
What Fastboot command did you run?
BTW: Install the suitable Fastboot driver provided by Sony, if not already done yet.
I tried
Use the Command Prompt window to retrieve your unlock key as described by your manufacturer. If you own a Motorola device run the command: fastboot oem get_unlock_data, HTC run the command: fastboot oem get_identifier_token.
Select the token which is spit out by the Command Prompt window and copy and paste it into the applicable box of the form on your manufacturer's website without any spaces.
And: fastboot -i 0x0fce oem unlock 0x07B7BFEA7AC879F0 https://www.getdroidtips.com/unlock-bootloader-sony-xperia-x-f5121f5122/
I downloaded android_winusb.inf were should i add it?
Don't understand what you've downloaded. It's an ADB driver.
Contents of relevant ADB driver 's .ZIP-file is
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To install the suitable ADB driver:
Open the Device Manager. To do this, click Start and type Device Manager. Then click Device Manager.
In Device Manager, right-click the name of your computer at the top of the device list, and then click Add Legacy Hardware.
In the Welcome to the Add Legacy Hardware Wizard dialog box, click Next.
Select Select and install hardware manually from a list and click Next.
Select Show all devices and click Next.
Click Disk....
In the Disk... dialog box, click Browse... click Browse, and then select the driver file with the extension adb (written like this: xxxxxadb, where xxxxxx is the unique file name). Click Open.
In the Disk... dialog box, click... Click OK.
Highlight the Sony xxxxxx ADB Interface Driver file and then click Next twice. The installation starts.
Click Finish and restart the computer.
I get this.
I also tried https://techbeasts.com/how-to-unlock-bootloader-of-sony-xperia-devices-guide/ the problem in fastboot seems to be that i- becomes and unknown option
https://forums.androidcentral.com/t...tloader-fastboot-exe-unknown-option-i.895276/ fastboot R26 seems to work for the most i have the 34. platform-tools v 28.0.0 does not work with the provided command from the official manual.
Yes it was the version, it is the second time i try to mess with andriod phones. I learn more and more. I tried fastboot.exe i- 0x0fce getvar version and i got version 0.5, finished, total time 0.000s
I tried fastboot.exe -i 0x0fce oem unlock 0x and got FAILED, command not allowed. I did only find Sony L, L1 and L2 on sony oem https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/#unlock-code can it be that? I remeber i had a Sony Xperia X code.
I also tried fastboot flashing unlock, FAILED unknown command. with fastboot devices i got my phone visable.