Related
Hi, this may be a stupid question but:
I only found several guides for how to flash a new radio with windows pc. I'm running Ubuntu on my laptop, have the Android SDK installed and adb ready - do I need anything else or can I just follow the steps given in the Windows guide to flash it?
(adb reboot bootloader, fastboot flash.., fastboot reboot)
Or is there anything else I need to do under linux?
Thanks.
You don't flash that way, download the PG58IMG from the radio thread that you want, copy it to the SD card and boot into HBOOT. It'll update and reboot
I never understood why Mike says "do not use clockworkmodrecovery to flash Radio"
- why not ? - anyone knows ?
AlCapone said:
I never understood why Mike says "do not use clockworkmodrecovery to flash Radio"
- why not ? - anyone knows ?
Click to expand...
Click to collapse
Yes because if you download the radio zip file he provides it has ADB files and other files in it so it won't work in clockwork or 4ext.
It isn't a flashable file. **Nor do you flash the PG58IMG in recovery you let bootloader flash it for you**
yes, but would't it be easier for all to provide it as a clockworkmod-file ?
AlCapone said:
yes, but would't it be easier for all to provide it as a clockworkmod-file ?
Click to expand...
Click to collapse
Think of it this way.
Bootloader if the radio flash goes bad it cancels itself out and reverts.
CWM/4EXT the flash goes bad it is half done and it doesn't revert. You now own a wonderful wonderful paper weight.
crunkin said:
Hi, this may be a stupid question but:
I only found several guides for how to flash a new radio with windows pc. I'm running Ubuntu on my laptop, have the Android SDK installed and adb ready - do I need anything else or can I just follow the steps given in the Windows guide to flash it?
(adb reboot bootloader, fastboot flash.., fastboot reboot)
Or is there anything else I need to do under linux?
Thanks.
Click to expand...
Click to collapse
Same here, Linux only, - for now, I fire u a virtual XP to flash radio, but this is what I want to try out - I've tried Android SDK before, but I did not add proper USB rights then.
http://androidforums.com/i7500-all-things-root/32481-howto-linux-adb-fastboot-mass-storage.html
please tell me is you succeeded.
Put phone in fastboot and in terminal type fastboot devices
You should see your device if you do then you can continuetype
Fastboot flash radio (drag radio.IMG in terminal) then hit enter and it will flash
Fastboot Linux
You don't get fastboot in the linux version of the sdk. You get it when you compile the android source or by searching for linux fastboot binary.
This thread has a link to compiled version for mac and linux
nice, thank you.
I wanted to post this as a reply to some peoples problems in this thread but the posting rules dont allow me access to development forums.......
I was trying to use fastboot but it kept hanging saying it was waiting for the device.
> ./fastboot flash recover recovery-Tiamat-R4c-100611-1150-cwm.img
< waiting for device >
Click to expand...
Click to collapse
using "fastboot devices" gave me the clue
> ./fastboot devices
no permissions fastboot
Click to expand...
Click to collapse
TO FIX IT: I ran the command as root.
> su
> ./fastboot devices
028841444160c3d7 fastboot
Click to expand...
Click to collapse
and then my device showed up and as root I could continue flashing my Xoom.
Hope this helps someone else.
And completely as a side note, does it take anyone else 20 tries to pass every damn captcha on this site?
had same problem, used same fix.
thak you for posting an update, most of the user put just solved, without thinking that other people may need the same solution
thx,
but how can use i fastboot without root ?
rabiny said:
thx,
but how can use i fastboot without root ?
Click to expand...
Click to collapse
You can use udev rules to make fastboot accessible for normal users.
dreamcwli said:
You can use udev rules to make fastboot accessible for normal users.
Click to expand...
Click to collapse
Could you please post a link of this "udev" software? My friend's Xoom updated to 4.0.3 via OTA and he can't get any USB connection recognised by the computer. We've tried everything. It's not rooted and fastboot doesn't work because his bootloader is still locked.
Could you please post a link of this "udev" software? My friend's Xoom updated to 4.0.3 via OTA and he can't get any USB connection recognised by the computer. We've tried everything. It's not rooted and fastboot doesn't work because his bootloader is still locked.
Click to expand...
Click to collapse
udev is not a software (it is but not like you think)
in this context is just bunch of lines you need to add to file (under linux OS)
see: http://developer.android.com/tools/device.html
and here: http://wiki.cyanogenmod.org/wiki/udev
I love you
I have spent 4 hours trying to fix this whole lack of rom on my device thing. You rock.
You are a legend! This solved my problem straight away!
????????
when i use root (sudo) it just sends me back a reply with like a ton of ?
I type in sudo fastboot devices and i get
????????????????? fastboot
what do i do
You're great guys ever in the milkyway. Kiss kiss
fastboot flash recovery /usr/bin/twrp.img
< waiting for any device >
fastboot waiting error arch linux manjaro
twrp installation error
How to flash TWRP Recovery with Linux
This command "028841444160c3d7 fastboot" simply doesn't work anyway. I did it as root. Of course, I did this command with my device number but catching it from adb command
Quite the rookie when it comes to this stuff. As of now, I have a Nexus 5 LRX22C (5.0.1) which is bricked. When I turn it on, it will just stick on the Google screen and not move from there. I can get into download mode by holding vol up down and power, and in there I see that my bootloader is locked. I have a Mac and I am trying to understand how to "fastboot". I have downloaded the factory image file. Where do I go from here?
Thank you in advance!
Here's a guide on setting up ADB and fastboot on OSX.
http://forum.xda-developers.com/showthread.php?t=1917237
How can I enable USB debugging when the device is bricked?
aysal said:
How can I enable USB debugging when the device is bricked?
Click to expand...
Click to collapse
USB debugging doesn't need to be on for fastboot to work. Just unlock your bootloader and then flash the system image, both with fastboot, and then you should be up and running again.
---------- Post added at 07:01 PM ---------- Previous post was at 06:58 PM ----------
And FYI, if you plan on using the flash_all.sh you need to open it up using text edit and add a "./" in front of every fastboot command, otherwise it won't work.
_MetalHead_ said:
USB debugging doesn't need to be on for fastboot to work. Just unlock your bootloader and then flash the system image, both with fastboot, and then you should be up and running again.
Click to expand...
Click to collapse
I downloaded the SDK but I cannot find the "tools" it mentions.. I open the folder and have two files, "adb" and "fastboot"
aysal said:
I downloaded the SDK but I cannot find the "tools" it mentions.. I open the folder and have two files, "adb" and "fastboot"
Click to expand...
Click to collapse
I don't know what " tools" you're talking about. All you need are ADB and fastboot. Actually for this all you need is fastboot.
Edit: just looked at the guide and I see what you're talking about. Where did you download the SDK from?
_MetalHead_ said:
USB debugging doesn't need to be on for fastboot to work. Just unlock your bootloader and then flash the system image, both with fastboot, and then you should be up and running again.
---------- Post added at 07:01 PM ---------- Previous post was at 06:58 PM ----------
And FYI, if you plan on using the flash_all.sh you need to open it up using text edit and add a "./" in front of every fastboot command, otherwise it won't work.
Click to expand...
Click to collapse
_MetalHead_ said:
I don't know what " tools" you're talking about. All you need are ADB and fastboot. Actually for this all you need is fastboot.
Click to expand...
Click to collapse
So I just click on fastboot and connect the device in download mode?
aysal said:
So I just click on fastboot and connect the device in download mode?
Click to expand...
Click to collapse
No, you dont click on fastboot, you issue fastboot commands via terminal. Here's another guide on fastboot- http://forum.xda-developers.com/showthread.php?t=2277112
_MetalHead_ said:
No, you dont click on fastboot, you issue fastboot commands via terminal. Here's another guide on fastboot- http://forum.xda-developers.com/showthread.php?t=2277112
Click to expand...
Click to collapse
Thanks for all your help and quick replies but seems that guide is only for Windows and Linux? I'm on a Mac
Linux and Mac commands would be the same
Sent from my Nexus 5 using Tapatalk
aysal said:
Thanks for all your help and quick replies but seems that guide is only for Windows and Linux? I'm on a Mac
Click to expand...
Click to collapse
The first guide was how to get set up adb/fastboot on OSX, the second guide was for using them in general. The functionality is identical.
The only difference is that with OSX, you need to add "./" before every command. For instance, to unlock your bootloader on Windows the command is-
Code:
fastboot oem unlock
But on OSX it would be-
Code:
./fastboot oem unlock
Aside from that it's the same, so any thing you read about using fastboot applies to OSX as well.
ldubs said:
Linux and Mac commands would be the same
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes, except for the difference I mentioned above.
_MetalHead_ said:
The first guide was how to get set up adb/fastboot on OSX, the second guide was for using them in general. The functionality is identical.
The only difference is that with OSX, you need to add "./" before every command. For instance, to unlock your bootloader on Windows the command is-
Code:
fastboot oem unlock
But on OSX it would be-
Code:
./fastboot oem unlock
Aside from that it's the same, so any thing you read about using fastboot applies to OSX as well.
Yes, except for the difference I mentioned above.
Click to expand...
Click to collapse
I managed to unlock the bootloader and flash the image but now I am stuck at this image
http://i.ytimg.com/vi/KnlUdjUaD3Q/maxresdefault.jpg
It has been this way for nearly an hour now. I tried formatting and wiping cache to no avail. Ahhh one problem after the next!
. /Fastboot erase bootloader
. /Fastboot flash bootloader bootloader. Img
. /Fastboot reboot-bootloader
. /Fastboot erase recovery
. /Fastboot flash recovery recovery. Img
Repeat for each image file
Sometimes using the flash all bat doesnt work. Flashing each image individually should fix ya right up.
While recently trying to update my opo running cm11 I clicked install update but then it rebooted and just went to a black screen and did nothing. I rebooted it but it hadn't installed. I found my boot loader was locked and i had no recovery at all installed does anyone know how to fix this.
tom_clegg said:
While recently trying to update my opo running cm11 I clicked install update but then it rebooted and just went to a black screen and did nothing. I rebooted it but it hadn't installed. I found my boot loader was locked and i had no recovery at all installed does anyone know how to fix this.
Click to expand...
Click to collapse
Use fastboot & ADB guide for beginners. Download all required files so your PC can Connect to OPO VIA USB from PC. What PC OS do u use? Windows or Linux. Watch how to unlock boot loader, root, & install recovery tool or Return to stock OnePlus one YouTube video. Easiest start. Your phone will be OK. U need to down load drivers so u can use your PC to talk to your phone - pass instruction & activate 1+1 options. Install CM 11 or whatever ROM u want to use, as well as, 1+1 tools u may have lost is Recovery Tool.
Fstop said:
Use fastboot & ADB guide for beginners. Download all required files so your PC can Connect to OPO VIA USB from PC. What PC OS do u use? Windows or Linux. Watch how to unlock boot loader, root, & install recovery tool or Return to stock OnePlus one YouTube video. Easiest start. Your phone will be OK. U need to down load drivers so u can use your PC to talk to your phone - pass instruction & activate 1+1 options. Install CM 11 or whatever ROM u want to use, as well as, 1+1 tools u may have lost is Recovery Tool.
Click to expand...
Click to collapse
I use a mac and i tried to use a recovery tool however it says boot loader needed to be unlocked which mine wasn't and it wouldn't unlock because i had no recovery at all.
tom_clegg said:
I use a mac and i tried to use a recovery tool however it says boot loader needed to be unlocked which mine wasn't and it wouldn't unlock because i had no recovery at all.
Click to expand...
Click to collapse
You don't need a recovery to unlock the bootloader. Just boot it into fastboot mode, connect it to your Mac, and type 'fastboot oem-unlock' on the Terminal. Be careful, though, because you WILL lose ALL of your data!
Sent from my LG-V500 using Tapatalk
GXGOW said:
You don't need a recovery to unlock the bootloader. Just boot it into fastboot mode, connect it to your Mac, and type 'fastboot oem-unlock' on the Terminal. Be careful, though, because you WILL lose ALL of your data!
Sent from my LG-V500 using Tapatalk
Click to expand...
Click to collapse
where do i find the files for mac with fast boot adb etc.
tom_clegg said:
I use a mac and i tried to use a recovery tool however it says boot loader needed to be unlocked which mine wasn't and it wouldn't unlock because i had no recovery at all.
Click to expand...
Click to collapse
Hmmm no recovery? When u hold down volume + power ?
Did u find the fastboot & adb tools for Mac?
What happens when u hold volume key up + power button at same time after turning device off?
What happens if u $fastboot devices -
Can u issue cmd "$fastboot oem unlock"
Know its frustrating but have to keep trying till u get in. Just have the rom files unzipped on your Mac ready to flash 1+1 when u get in. Its how I did it. When I wasn't able to but into recovery. Get on fastboot go thru OEM unlock, then flash 1+1. Follow the install script manually. Open script w plain text reader & just issue cmds following script. I don't trust scripts I + automation to get things unstuck.
tom_clegg said:
where do i find the files for mac with fast boot adb etc.
Click to expand...
Click to collapse
Use Google, there are plenty of guides available online. Once you have fastboot working the best thing to do is to flash the stock images with fastboot. I have detailed instructions in section 8a of my guide here:
http://forum.xda-developers.com/showthread.php?t=2839471
Please note that fastboot commands are slightly different on a Mac but you'll see that when you view a guide on how to set it up and use it.
Heisenberg said:
Use Google, there are plenty of guides available online. Once you have fastboot working the best thing to do is to flash the stock images with fastboot. I have detailed instructions in section 8a of my guide here:
http://forum.xda-developers.com/showthread.php?t=2839471
Please note that fastboot commands are slightly different on a Mac but you'll see that when you view a guide on how to set it up and use it.
Click to expand...
Click to collapse
would u be able to do a short one for mac that would help a lot with the commands
tom_clegg said:
would u be able to do a short one for mac that would help a lot with the commands
Click to expand...
Click to collapse
There's no point in duplicating my guide when all that's needed are a couple of extra characters prefixing each fastboot command.
Heisenberg said:
There's no point in duplicating my guide when all that's needed are a couple of extra characters prefixing each fastboot command.
Click to expand...
Click to collapse
is it just ./ then the command?
can i message you somehow maybe so it is quicker
tom_clegg said:
is it just ./ then the command?
can i message you somehow maybe so it is quicker
Click to expand...
Click to collapse
Dude, in the time it's taken you to ask these questions here you could have already found the answers online and completed the task. I'm here to help people but I'm not about spoon feeding, it doesn't benefit you in any way.
Heisenberg said:
Dude, in the time it's taken you to ask these questions here you could have already found the answers online and completed the task. I'm here to help people but I'm not about spoon feeding, it doesn't benefit you in any way.
Click to expand...
Click to collapse
fine then
tom_clegg said:
would u be able to do a short one for mac that would help a lot with the commands
Click to expand...
Click to collapse
at the point where i do fastboot oem unlock it reboots but stays at the boot screen.
tom_clegg said:
fine then
Click to expand...
Click to collapse
Don't get an attitude because I'm trying to help you help yourself.
tom_clegg said:
at the point where i do fastboot oem unlock it reboots but stays at the boot screen.
Click to expand...
Click to collapse
Issue the Mac equivalent of this command:
Code:
fastboot oem device-info
What does it return?
Heisenberg said:
Don't get an attitude because I'm trying to help you help yourself.
Issue the Mac equivalent of this command:
Code:
fastboot oem device-info
What does it return?
Click to expand...
Click to collapse
I type fastboot oem unlock and it is meant to reboot into android but however it stays stuck on the boot screen
tom_clegg said:
I type fastboot oem unlock and it is meant to reboot into android but however it stays stuck on the boot screen
Click to expand...
Click to collapse
That isn't what I asked you, if you want help you need to answer the questions that you're asked.
Heisenberg said:
That isn't what I asked you, if you want help you need to answer the questions that you're asked.
Click to expand...
Click to collapse
it says device tampered true
unlocked false
charge screen enabled false
tom_clegg said:
it says device tampered true
unlocked false
charge screen enabled false
Click to expand...
Click to collapse
Ok, try the unlock command again. What recovery did you previously have installed?
Heisenberg said:
Ok, try the unlock command again. What recovery did you previously have installed?
Click to expand...
Click to collapse
still the same thing sorry just stuck on boot screen.
i would have been able to do it its just this which i wasn't sure about :/
tom_clegg said:
still the same thing sorry just stuck on boot screen.
i would have been able to do it its just this which i wasn't sure about :/
Click to expand...
Click to collapse
You definitely can't boot into recovery? Most times not being able to get into recovery it's a case of user error. Hold volume down, then hold power (so you're holding them together), when you see the OnePlus boot logo let go of power but keep holding volume down until you reach recovery.
Hello,
I have MIX 3 Chinese version, unlocked bootloader, flashed latest global. Fine
For security purposes, tried to lock bootloader with fastboot - I knew it may be risky- now the device is in Mi recovery 3, refused to reboot even after erase data.
How to bring it back to life.
Thanks
Use the XiaoMiTool V2.
Google it
Can you enter fastboot mode?, If yes use mi flash and flash original chinese rom.
GVN.Gallus said:
Can you enter fastboot mode?, If yes use mi flash and flash original chinese rom.
Click to expand...
Click to collapse
Yes I can enter fastboot. Even I check bootloader status now locked.
Could you refer a link where all the process is explained? I am not conversant with mi flash.
visit https://www.xiaomitool.com/V2/ and good luck
Nakbleu said:
Yes I can enter fastboot. Even I check bootloader status now locked.
Could you refer a link where all the process is explained? I am not conversant with mi flash.
Click to expand...
Click to collapse
Follow instruction here, make sure to download lastest Miflash and correct rom, for fastboot rom use mifirm.net
grandman1701 said:
visit https://www.xiaomitool.com/V2/ and good luck
Click to expand...
Click to collapse
XiaoMiTool V2 won't be able to unbrick your device in the cases "This MIUI Version can't be installed on this device" error
Nakbleu said:
Yes I can enter fastboot. Even I check bootloader status now locked.
Could you refer a link where all the process is explained? I am not conversant with mi flash.
Click to expand...
Click to collapse
Fastboot is fairly simple. Download the latest Chinese from from miui.com, unzip it, connect your device in fastboot mode, and run the flash_all.bat file. It will take a while and the command prompt window will close when it is finished and your device will reboot.
jcsww said:
Fastboot is fairly simple. Download the latest Chinese from from miui.com, unzip it, connect your device in fastboot mode, and run the flash_all.bat file. It will take a while and the command prompt window will close when it is finished and your device will reboot.
Click to expand...
Click to collapse
I am downloading the ROM.
Please can provide step by step instructions?
My understanding is to:
1. copy the rom in minimal fastboot directory
2. unzip all files in that same directory (or should I create new one?)
3. Execute the command below:
fastboot flash_all.bat
By the way, can I use fastboot with locked bootloader?
Thanks again
Nakbleu said:
I am downloading the ROM.
Please can provide step by step instructions?
My understanding is to:
1. copy the rom in minimal fastboot directory
2. unzip all files in that same directory (or should I create new one?)
3. Execute the command below:
fastboot flash_all.bat
By the way, can I use fastboot with locked bootloader?
Thanks again
Click to expand...
Click to collapse
If you have ADB installed system wide, then it doesn't matter where you unzip the full image to. The best way to have ADB installed system wide is through this method.
You don't need to type anything. Just open the folder the ROM was decompressed in, right click the flash_all.bat, and run it as administrator with your device connected in fastboot mode. It will literally do everything else.
jcsww said:
If you have ADB installed system wide, then it doesn't matter where you unzip the full image to. The best way to have ADB installed system wide is through this method.
You don't need to type anything. Just open the folder the ROM was decompressed in, right click the flash_all.bat, and run it as administrator with your device connected in fastboot mode. It will literally do everything else.
Click to expand...
Click to collapse
I unzip the rom using 7zip, but couldn't find flash_all.bat file!
Nakbleu said:
I unzip the rom using 7zip, but couldn't find flash_all.bat file!
Click to expand...
Click to collapse
Did you install ADB 1.4.3 from the thread linked to? Do you have your device connected to a USB 3 port or USB 2 port? Are you using the cable that came with your device to flash it? Were you booted into the bootloader when trying to flash?
Edit: Read that post wrong. You need to download the fastboot version. You can't flash the TWRP image using fastboot.
jcsww said:
Did you install ADB 1.4.3 from the thread linked to? Do you have your device connected to a USB 3 port or USB 2 port? Are you using the cable that came with your device to flash it? Were you booted into the bootloader when trying to flash?
Edit: Read that post wrong. You need to download the fastboot version. You can't flash the TWRP image using fastboot.
Click to expand...
Click to collapse
Yes I did all that.
I am getting error: Erase is not allowed in lock state.
Any workaround please?
re-unlock the device. it's locked right now.
erbsenmatsch said:
re-unlock the device. it's locked right now.
Click to expand...
Click to collapse
Won't be possible with the Mi unlock software as the phones been wiped - no account, no OEM allowed ticked etc.
in that case, your only hope is: sending it back to china
where did you buy it?
erbsenmatsch said:
in that case, your only hope is: sending it back to china
where did you buy it?
Click to expand...
Click to collapse
In UK. Gray import. I really don't understand why a manufacturer should let this be possible. Why not just make it unlockable with global rom? This will avoid such unwanted situation for everybody. Pissed off by Xiaomi