[Q] Can I use fastboot commands in ODIN mode? - Galaxy S 4 Q&A, Help & Troubleshooting

Hi,
When my GT-I9505 is in Download mode, Can I use android fastboot commands to flash images, format partitions... etc?
Anyway to put the S4 into fastboot mode.
Thanks.

Tayone said:
Hi,
When my GT-I9505 is in Download mode, Can I use android fastboot commands to flash images, format partitions... etc?
Anyway to put the S4 into fastboot mode.
Thanks.
Click to expand...
Click to collapse
I've made this inquiry before the the answer was no, unless you have official Google edition i9505ge.
Sent from my GT-I9505 using xda app-developers app

Related

Post wugs toolkit, freezes when boot into recovery

Anyone have any suggestions? Booting into recovery froze my device on the Google screen.
Sent from my Galaxy Nexus using xda app-developers app
Bump. Anyone have any suggestions?
joshtb86 said:
Bump. Anyone have any suggestions?
Click to expand...
Click to collapse
I suggest to install the Android ask and use the following fastboot commands.
fastboot oem unlock
fastboot flash recovery recovery.img
*change recovery.img to whatever filename the recovery is and put it in the same directory as your fastboot.
This way you'll learn what a "rootkit" does and be on your way to learning more .
Sent from my Nexus 7 using xda premium
mwalt2 said:
I suggest to install the Android ask and use the following fastboot commands.
fastboot oem unlock
fastboot flash recovery recovery.img
*change recovery.img to whatever filename the recovery is and put it in the same directory as your fastboot.
This way you'll learn what a "rootkit" does and be on your way to learning more .
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
do you know where i can get a version of CWM that works for the n7?
thanks!
joshtb86 said:
do you know where i can get a version of CWM that works for the n7?
thanks!
Click to expand...
Click to collapse
Here ya go.
before i do this, do i need to be booted or in bootloader. bootloader, because its using fastboot, right?
joshtb86 said:
before i do this, do i need to be booted or in bootloader. bootloader, because its using fastboot, right?
Click to expand...
Click to collapse
Fastboot mode within bootloader i believe.

[Q] Difference between Download and Fastboot Modes

Question in the subject. I'm just confused as to what download mode really is, and how one would use it. I know you can flash things via fastboot in fastboot mode, but what exactly is download mode and what can you do with it?
Sent from my Nexus 4 using xda app-developers app
cpkelley94 said:
Question in the subject. I'm just confused as to what download mode really is, and how one would use it. I know you can flash things via fastboot in fastboot mode, but what exactly is download mode and what can you do with it?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Download mode is for you to collect RAM dump with memory debug apps.
I believe download mode would use whatever tool LG uses to flash firmware. As long as you have a working bootloader there shouldn't be any need for it on a Nexus device.
Oh alright. On my old phone, download mode was used to upgrade or restore stock firmware (i.e. ODIN or Heimdall) since we didn't have any fastboot mode.
Sent from my Nexus 4 using xda app-developers app
cpkelley94 said:
Oh alright. On my old phone, download mode was used to upgrade or restore stock firmware (i.e. ODIN or Heimdall) since we didn't have any fastboot mode.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I was confused as well. Used to have it on S II. Bootloader/Fastboot is the term here.
Fastboot is the main method of flashing, you send the files to the phone with fastboot, then the bootloader will write them to the relevantly specified partition.
Download mode allows you to connect via lgtool (the equivalent of Odin) as in you dump the files into an app. Then the app writes them to offsets in the nand.
Fastboot is much easier and safer to use.
The only reason you should ever need to know anything about download mode is if you have broken the bootloader (which I'm not going to say how to do because there will be some idiot who will try it)
Sent from my Nexus 4 using xda app-developers app

My Nexus 4 is permanently bricked

Stuck on google logo screen and then after 3 resets goes to CWM
I have only 1 rom on it the cataclysm rom and it gives an error when I try to flash it
I have no backup and no other rom besides this
noway either to put a rom on the Nexus 4.
LOL I am so screwed
I am currently in CWM and the PC won't recognize the device and there is nothing to do.
Please help.
Use fastboot commands to flash stock image....
Boot into fastboot and then connect n4 to your PC...run adb and type fastboot devices....
It will give you n4 serial no. And then flash stock image(Google how to flash stock image using fastboot commands)
Sent from my Nexus 4 using xda app-developers app
Ankurcul said:
Use fastboot commands to flash stock image....
Boot into fastboot and then connect n4 to your PC...run adb and type fastboot devices....
It will give you n4 serial no. And then flash stock image(Google how to flash stock image using fastboot commands)
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
YESSS it worked
OMFG thank you so much

[Q] Nexus 10 stuck on Google logo

Hi I've done stupid thing for myself:
i tried flashing 4.4.2 stock rom. coming from 4.2 (i think) did the usual format data/cache. then rebooted then it loops on google logo. I can go to recovery mode.
So are you rooted? Custom recovery? Looking to flash stock? What bootloader do you have? Ota flash? Fastboot flash?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Hoygl3n said:
Hi I've done stupid thing for myself:
i tried flashing 4.4.2 stock rom. coming from 4.2 (i think) did the usual format data/cache. then rebooted then it loops on google logo. I can go to recovery mode.
Click to expand...
Click to collapse
Read this fourm I just help this user recover from the same thing!!
http://forum.xda-developers.com/showthread.php?t=2663286
lj50036 said:
Read this fourm I just help this user recover from the same thing!!
http://forum.xda-developers.com/showthread.php?t=2663286
Click to expand...
Click to collapse
demkantor said:
So are you rooted? Custom recovery? Looking to flash stock? What bootloader do you have? Ota flash? Fastboot flash?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hi i followed all the instruction till CMD and tried typing fastboot
and nothing came up.
This will help
http://forum.xda-developers.com/showthread.php?t=2277112
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
This will help
http://forum.xda-developers.com/showthread.php?t=2277112
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I still cant get fastboot up. ive used minimal fastboot and/or SDK Package. also changed the path for environmental variables.
So more info will help, usually the more info you give the faster your issues can be fixed
Are you in bootloader mode? I take it your using windows, what version? Has adb or fastboot ever worked before? When you type
fastboot devices
You get nothing? Can you post a screen shot of terminal, of environmental variables? Are all proper drivers installed? Does anything pop up in device manager when tablet is plugged into USB while in fastboot, recovery or os? Are you using factory USB cable?
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So more info will help, usually the more info you give the faster your issues can be fixed
Are you in bootloader mode? I take it your using windows, what version? Has adb or fastboot ever worked before? When you type
fastboot devices
You get nothing? Can you post a screen shot of terminal, of environmental variables? Are all proper drivers installed? Does anything pop up in device manager when tablet is plugged into USB while in fastboot, recovery or os? Are you using factory USB cable?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry about that.
im in fastboot mode with power and both volumes pressed. i can also go into recovery mode TWRP v2.5.0.0
also rooted and yes windows 7 64 bit. recovery mode or fastboot mode . it doesnt recognized my nexus.
not sure if i have the right drivers. i cant find any drivers to download for nexus 10
Does anything pop up in device manager when tablet is plugged into USB while in fastboot, recovery or os? - No
and yes im using nexus 10 OEM cable.
i really appreciate the time to help me out with this issue.
Its no problem,
The SDK should have the drivers you need, or you can install the universal drivers made by koush or a number of others as well. Just Google search or a search xda for terms like
Nexus 10 drivers
Universal android drivers
Android naked drivers
You will find many that will work just fine for you
If in cmd you type
fastboot
And you see a list of commands than you know you have it installed
When you type
fastboot devices
And you see your serial number your good, if just a blank line then you need to get tab to communicate, this is most often a driver issue. If you can't find ones that work let me know and I'll link some to you, also you may need to uninstall old drivers and than manually install new ones, windows doesn't always do the best job of picking the correct drivers
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
Its no problem,
The SDK should have the drivers you need, or you can install the universal drivers made by koush or a number of others as well. Just Google search or a search xda for terms like
Nexus 10 drivers
Universal android drivers
Android naked drivers
You will find many that will work just fine for you
If in cmd you type
fastboot
And you see a list of commands than you know you have it installed
When you type
fastboot devices
And you see your serial number your good, if just a blank line then you need to get tab to communicate, this is most often a driver issue. If you can't find ones that work let me know and I'll link some to you, also you may need to uninstall old drivers and than manually install new ones, windows doesn't always do the best job of picking the correct drivers
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
finally found the driver that works and now
i get R32D2009DAT
Im assuming thats serial number whats the next step
Google search
Android factory images
Here you will download the correct one, latest manta for the nexus 10
Then extract the contents of the zip
Now if you want to keep custom recovery that's a good idea but if you want KitKat you will need stock or at least update to the newest twrp (as you current one won't flash kk)
So if you want twrp then google search
Twrp recovery manta
And then find the latest image, 2.6.x?
Oh and its a good idea to check md5sum for both the zip from android source and for the recovery image, both will tell you what it should be in download screen and there are many ways to check, just google search
Windows md5
There is both official and none official, I personally use Linux command line and can't recall the name of the program I use for windows off hand
Also note that the following commands will wipe all from tablet, it is good to do this but if there is anything real important back it up first
Now from fastboot, enter these commands
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
Now find the bootloader image you extracted from the android .zip
fastboot flash bootloader nameofbootloader.img
Now if you want stock find the system image
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash cache cache.img
fastboot flash boot boot.img
Now find the twrp recovery image
fastboot flash recovery nameofrecovery.img
Here you can boot to new recovery and install superuser or just boot to pure stock, or if you want one of the many great custom ROMs you can boot to recovery and use adb sideload to flash one
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
google search
android factory images
here you will download the correct one, latest manta for the nexus 10
then extract the contents of the zip
now if you want to keep custom recovery that's a good idea but if you want kitkat you will need stock or at least update to the newest twrp (as you current one won't flash kk)
so if you want twrp then google search
twrp recovery manta
and then find the latest image, 2.6.x?
Oh and its a good idea to check md5sum for both the zip from android source and for the recovery image, both will tell you what it should be in download screen and there are many ways to check, just google search
windows md5
there is both official and none official, i personally use linux command line and can't recall the name of the program i use for windows off hand
also note that the following commands will wipe all from tablet, it is good to do this but if there is anything real important back it up first
now from fastboot, enter these commands
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
now find the bootloader image you extracted from the android .zip
fastboot flash bootloader nameofbootloader.img
now if you want stock find the system image
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash cache cache.img
fastboot flash boot boot.img
now find the twrp recovery image
fastboot flash recovery nameofrecovery.img
here you can boot to new recovery and install superuser or just boot to pure stock, or if you want one of the many great custom roms you can boot to recovery and use adb sideload to flash one
sent from my nexus 4 using xda premium 4 mobile app
Click to expand...
Click to collapse
never mind its fixed
you are the man!
Thank you so much!

Recover data from a N4 without battery

Guys I have a big problem...one piece linked to battery is broken on the motherboard (I don't know how to explain it)..the problem is: how to recover data? The phone works only in fastboot mode with only usb cable connected, if I try recovery mode it shuts down, and abd commands are not working in fastboot mode..I had custom 5.0 rom with twrp and unlocked bootloader. Please help me!
marcof93 said:
Guys I have a big problem...one piece linked to battery is broken on the motherboard (I don't know how to explain it)..the problem is: how to recover data? The phone works only in fastboot mode with only usb cable connected, if I try recovery mode it shuts down, and abd commands are not working in fastboot mode..I had custom 5.0 rom with twrp and unlocked bootloader. Please help me!
Click to expand...
Click to collapse
Flash recovery from fastboot using "fastboot flash recovery". Then you can use adb from the custom recovery.
athibanvasanth said:
Flash recovery from fastboot using "fastboot flash recovery". Then you can use adb from the custom recovery.
Click to expand...
Click to collapse
I can't boot in recovery, I don't have battery.. I wrote, I already have a custom recovery, butI'm without battery
marcof93 said:
I can't boot in recovery, I don't have battery.. I wrote, I already have a custom recovery, butI'm without battery
Click to expand...
Click to collapse
What part is broken? Can you post a picture?
(I replied to your FB post)
nitin.chobhe said:
What part is broken? Can you post a picture?
(I replied to your FB post)
Click to expand...
Click to collapse
Oh yes understood, unfortunely I can't..it's the part where you hook the battery. But now I have a new phone, I only need to know if there is a way to recover data without a battery plugged in, so a command in fastboot mode.
marcof93 said:
Oh yes understood, unfortunely I can't..it's the part where you hook the battery. But now I have a new phone, I only need to know if there is a way to recover data without a battery plugged in, so a command in fastboot mode.
Click to expand...
Click to collapse
There are no commands in fastboot to recover data. Only adb, which if you can't boot into recovery or the os you're sol.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
There are no commands in fastboot to recover data. Only adb, which if you can't boot into recovery or the os you're sol.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I immagined it...and are there commands to erase everything? apps and personal data?
marcof93 said:
I immagined it...and are there commands to erase everything? apps and personal data?
Click to expand...
Click to collapse
fastboot format userdata
fastboot format cache
fastboot -w
I'd then flash the factory image with fastboot. That way the partitions will be written to twice.
Edit, if you're able to use fastboot have you tried booting into a custom recovery?
fastboot boot twrp.img
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
fastboot format userdata
fastboot format cache
fastboot -w
I'd then flash the factory image with fastboot. That way the partitions will be written to twice.
Edit, if you're able to use fastboot have you tried booting into a custom recovery?
fastboot boot twrp.img
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes of course, it shuts down during boot..anyway, thanks bro.
EDIT: IT WORKED THAT WAY!! MANY THAAAAANKS!

Categories

Resources