yashsingh1/xdaforums huggingface dataset:
[Android General] Ryzaar:
Just a quick solution for anyone stuck on unlocking the bootloader for their phone (had me stumped for hours on my Sony Xperia Acro S):

1. Make sure you installed the Google USB drivers with the Android SDK tools. If you have a Sony phone, check their site as they also provide custom drivers. Just replace the Google USB .inf file with the one Sony gives you.

2. Open up Device Manager and keep an eye on the 'Other Devices' section (this was the case for me at least)

3. Get your phone into fastboot mode. For me, the easiest was was to turn it off, hold down the volume up key and plug in the USB. The key that you press may vary from phone to phone.

4. As soon as the fastboot driver pops up, right click it and select properties. By now, my phone had dropped out of fastboot mode, and this may be the case for many others.

5. Nevertheless, in the properties window, go to Driver > Update Driver. Choose 'Browse my computer for driver software', and then 'Let me pick from a list of device drivers on my computer'.

6. A new pop-up will appear. Just click next, and find the 'Have Disk...' button. Select this and locate the Google USB drivers.

7. After selecting the .inf file, you should have 3 choices for Android ADB, Bootloader or Composite drivers. This may not be the case as the .inf file I used was a custom one provided by the Sony website.

8. If your phone is no longer in fastboot mode, unplug it, and reboot it into fastboot. As soon as your notification light turns blue (may be different for other phones), apply the driver change.

9. For me, this made the fastboot mode 'stick', rather than my phone leaving it after approx 5 seconds. If this doesn't work, keep working on timing, so the driver is applied to your 'fastboot device' before it exits fastboot mode.

10. Test this by using the 'fastboot devices' command in an admin elevated command prompt.

If you aren't sure about what I mean in reference to any of this (Google drivers, device manager, admin elevated command prompt, fastboot commands, etc), I'd rethink rooting your phone.
[Android General] developermahdi:
thank you

---------- Post added at 01:45 AM ---------- Previous post was at 01:33 AM ----------

hi guys

few weeks ago i bricked my huawei u8180

because i tried to costmize cm 9 with another cm 6 trying to fix the camera and wifi errors

but i forgot to change the permissions and my phone run to bootloop and i tried the adb and fastboot option

but when i write the adb commands it said to me ( devise not found ) ; althought i installed the drivers and adb drivers

please help me to fix my phone
[Android General] Ricky Divjakovski:
Boot your phone into recovery?
[Android General] teekex:
helpful guide, thanks :good:
[Android General] apatal:
Subscribed for reference. Thanks for this guide! :)
[Android General] akier-dp:
for beduci

full update or update fimware.....

br;
[Android General] t-mobile_mda:
hi guys..

thanx for guide..

is there "a" line\command for rebooting device in both mode..? adb and fastboot mode..?
[Android General] t-mobile_mda:
hi again..

how can i get detailed information with adb command..?

software information..? hardware information..? bootloader information..?
[Android General] BrandonBolton:
I believe that is the fastboot getvar all command. I know it is something along those lines.
[Android General] Ricky Divjakovski:
adb reboot (to reboot in adb)

fastboot reboot (to reboot in fastboot)

and for information on your device you could use my tool (in my signature)

or adb pull /system/build.prop and open it with a text editor
[Android General] t-mobile_mda:
thanx alot..

i am chceking ur tool now.. but there is another Tool which was made Gaz, there is button which for reboot when i have press that button device rebooting in both mode.. normal and fastboot..

Uploaded with ImageShack.us
[Android General] Ricky Divjakovski:
I strongly suggeat that You dont use any tool, not even mine, Its always good to do it yourself and know whats getting pumped into your device and know how to do it!
[Android General] Kumar Anil:
google logo hang

Hi

I have google nexus GT-I9020t. it hangs on google logo (white). fastboot oem unlock is not working. lock state : locked.

when i go into recovery mode and try to wipe data/factory reset, it says:

e:format_volume: make_extf4fs failed on /dev/block/platform/s3c-sdhc1.0/byname/userdata

please help.

thanks in advance
[Android General] Ricky Divjakovski:
Hmm, wierd error, looks like You have corrupted a few partitions, try flashing a New rom, only other thing i can think of is manually unpack a system image with aroma file manager and reboot then go from there, pm me for support
[Android General] developermahdi:
I can't because it say 'driver not found '
[Android General] Ricky Divjakovski:
hmm, re install the drivers on your pc
[Android General] Kumar Anil:
Bricked

I am not able to detect it in Odin :(

And I don't know how to access it using any other command/way if possible.

Please tell me if you need any other info regarding my phone.

Thank You.
[Android General] markus18:
thanks!!
[Android General] outpost31:
thanks

thanks!
[Android General] jazzyoneman:
flash system

I have some problem when fast boot flash system system.img, file too large , what can I do' thank you
[Android General] Ricky Divjakovski:
I have had this error before! Last i Checked it could be an md5 mismatch or your bootloader does not support flashing .IMG files other then recovery or boot.img, try flashing data.IMG and report back
[Android General] galmoham:
if it is not useful to you it is to others.. and i am sure u dont have any idea about android.. the above tutorial is to all kind of android phones no matter its manufacturer..

in a flatform like this criticizing or being ungrateful is never an opiton here if you are not pleased with it you should leave it to those who are..
[Android General] Ricky Divjakovski:
I appreciate how grateful you are :)
[Android General] galmoham:
thanks Man and keep the good work
[Android General] mondena:
Need help after making mistake

Hello, i think i'm in trouble...

I've been using ViperXL for about a year, and it has been great, but recently ran into problems, so i upgraded to 4.10, Android 4.2.2, and sense 5.

I was having some problems that were exactly described in this thread:

http://xdaforums.com/showthread.php?t=2430922 (i've posted in there looking for help as well)

So i started to follow that guide.

So, i attemped step 1, updating my hboot to 2.14 using this info:

http://xdaforums.com/show....php?t=2156686

The first 2 steps went as they should:

fastboot erase cache //optional

fastboot oem rebootRUU //to enter in HTC black screen

My phone went to a black HTC screen. However, now is when i ran into a problem...

When i executed the 3rd command, i got an error. I didn't read it too carefully (i know not very smart) because the thread said there was a good chance at a very similar error, and to just run the command again. So i did. Now it is stuck at "<bootloader> zip info parsing...

My phone is still on the all black HTC screen.

I haven't done anything in 24 hours now, except running a new cmd promt window and seeing if the phone responds to fastboot devices, which it did.

My question is this, is it safe to reboot the phone, or do i need to run some other commands, or try to revert back to hboot 1.09 first. Any ideas or advice would be greatly appreciated. Hopefully some others can also learn from my mistake of not verifying i was S-Off before updating my hboot!
[Android General] Ricky Divjakovski:
Hmm if I remwmber correctly most htc devices dont allow flashing.zip files in their bootloader, do you have teamviewer? I wojld like to know more about the phone at the moment?
[Android General] mondena:
Yes, i have teamviewer, are you still around?

THANKS!!
[Android General] sacredcow:
hi ricky310711... any chance you can upload the files again? can't seem to access h t t p ://d-h.st/5Xy

thanks!
[Android General] kubomeduse:
Good work!
[Android General] Ricky Divjakovski:
Hey, I can mirror to mega.co.nz if you like?
[Android General] annur:
thanks you ,

clean and straight tutorrial for a noob like me
[Android General] Ricky Divjakovski:
UPDATED.
[Android General] elekonsult:
Nice
[Android General] Alexander.Sashnov:
I think this guide also neet to answer the following questions:

* what is update.zip - is it 'standard' for all android device? (where can I read about this .zip content should be?)

* fastboot can only erase and write NAND, no read (you can not backup your current firmware with it)
[Android General] Ricky Divjakovski:
i could include it, however, its really pointless because if your a noob, its not really relavent to know that :p
[Android General] elekonsult:
Keep it up.
[Android General] HvdW:
zipped

At fastboot zip it should say fastboot flash zip name-of-file.zip

The zip in the midle was omitted
[Android General] saifulh2304:
thanks for your hardwork :)
[Android General] FcknRckstar:
Hi Ricky, first of all thanks for this guide. But I think my case is a little more complicated than this, maybe you can fix this.

I tried to change the ROM of my phone (HTC Sensation XL), i proceeded to the various steps, onlock, root, s-off, and everything gone fine. But i tried to install King Cobra 9 Rom: seems everything going ok, until, after installation, the phone remains stuck on the white splashscreen with the green htc logo. Unfortunately, i forgot to backup. In addiction, I cant use sd card; when I try to access trough Clockwork, this is the message: "E: unable to open ums lunfile (no such file o directory).

So, can you help me with this? Thanks for a your answer
[Android General] Ricky Divjakovski:
hmm, download teamviewer and PM me or look up how to flash an RUU! talk to lexmazters, anders3408 or zasuk, they are the main developers for the SXL and they will assist you further
[Android General] FcknRckstar:
Thank you, i tried to fix problem with RUU, and problem is fixed, at least I have stock rom.

But a new question appears: now phone fully works, except for it can see sd card. It could be possible that is because i formatted and partitioned it?
[Android General] Ricky Divjakovski:
I dont think so! But just to be sure take it out and reflash the ruu!
[Android General] FcknRckstar:
Ok, tried a couple of times to reflash, RUU, at third attempt, sd appeared again. Thank you for your time :D
[Android General] tannyque:
I was using this guide when I noticed a mistake for one of the commands you listed. I was trying to reboot into the bootloader/fastboot using the command, "adb reboot fastboot", it only rebooted my phone. The proper command is "adb reboot bootloader". Thanks for the guide, it has been loads of help, keep it up.
[Android General] Ricky Divjakovski:
i have noticed on some devices adb reboot fastboot works, and some adb reboot bootloader works?
[Android General] chrisleekhui:
very useful guide, bookmarked for future use tq dudesss
[Android General] zamzameir:
exactly what I'm looking for..thanks a lot ;)

Sent from my Google Galaxy Nexus
[Android General] zoomer474:
please help me!

I modified this file in root: system\etc\permitions.xml

now my phone always stuck at logo screen.factory reset,wipe cache did not worked and i don t even have a backup.please help me!
[Android General] zamzameir:
of course factory reset doesn't bring anything as the file now is a part of the system..Im afraid the only thing now you need to reinstall the rom or flash another one or just copy back the original file that uve modified to the right place
[Android General] eriekr:
Thanks, great tutorial
[Android General] zoomer474:
yes u right....but using fastboot i can pull that xml file and correct my mistake and push it back.you know fastboot can pull and push files.now another problem arise here that fastboot is not connecting to android i am following correct procijre.hw can i install or falsh new rom.

---------- Post added at 04:14 PM ---------- Previous post was at 04:02 PM ----------

yes u right....but using fastboot i can pull that xml file and correct my mistake and push it back.you know fastboot can pull and push files.now another problem arise here that fastboot is not connecting to android i am following correct procijre.hw can i install or falsh new rom.
[Android General] zamzameir:
do you mean adb??..do u already installd the corrct driver for your phone??sounds like u have a nexus.
[Android General] Ricky Divjakovski:
you mean adb...

All android devices have adb...
[Android General] llmercll:
Awesome post, very helpful.

thanks!
[Android General] reeson.nz:
reboot into oblivion...

Sooo.,.. hej. i have an htc one m7ul.. have spent the last 10 hours getting a crash course on modding ROMS, adb commands, fastboot, sdk, .apk etc etc trying to fix my $#!^!!... so im trying but not making any headway but feel lost.. anyhelp would be super rad.. getting square eyes and dont wanna buy another phone..

flashed had CM11 with Cyanogenmod recovery, decided to flash TWRP then install ARHD 52,0.. then i get stuck in a reboot loop.. when i boot to recovery i comes up for 1 second then boots again. used adb to push and try both recoveries but same result after 1 second it stacks..

so maybe i forgot to clear the dalvik before flashing the new rom, i previously had ARHD40,3 so assumed it should work... i found my CID and its different perhaps... im on CIDNUM#H3G_G04 so maybe the firmware package i have doesnt match... but i assumed that would be okay since i could run ARHD40,3...

1,Can i clear the dalvik with Adb, and what are the commands, cant find that in the guides here? i tried >adb shell rm -rf /system/sd/dalvik-cache and got the result > * daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

2, could i just try flashing the rom again with adb? do i have to remove the current rom or will it flash over it?

3 sideloading?

thanks in advance!! fun doing this and i guess the hard way to learn but challenging and fun non the less...

reese
[Android General] Ricky Divjakovski:
Hey mate this really shouldnt be on the thread, PM me and ill help you!

theres plenty ways pf fixing this aslong as fastboot is in tact you can wipe the system, data and cache and flash a whole new system in .img format that you can extract from an RUU file!

Like I said PM me and ill help you out!
[Android General] MEHRDAD595:
@	Ricky Divjakovski

here u go!

http://d-h.st/hgz
[Android General] dandmad:
Link not working...

The link to software package (adb.exe, fastboot.exe, etc.) does not work.:(

Can you help??

---------- Post added at 12:37 PM ---------- Previous post was at 12:32 PM ----------

Just saw the new link. Sorry...:D
[Android General] Raeshabu:
Thanks for the info. :highfive:
[Android General] deathsquad737:
adb

ok when i try and do adb sideload from twrp it comes up device not found when i type adb reboot fastboot it boots me into system is it cause i have download mode on my lg g2 vs98010b and you cant push tot files like you can in download mode using lg flashtool with fastboot right? i know flashing bootstack zips will put you in fastboot mode and kill your download mode im just trying to learn all this stuff thank you for your excellent work
[Android General] :
Is there any way to copy data from pattern locked screen nexus 5 (screen damaged, digitizer not working, display not showing anything) (rooted, stock rom, stock kernel, TWRP recovery installed)?
[Android General] Ricky Divjakovski:
sure is, try

adb shell

su

tar -xzf data /sdcard/data.tar

exit

adb pull /sdcard/data.tar
[Android General] :
After adb shell

it shows error: device not found
[Android General] Ricky Divjakovski:
is usb debugging enabled on the device?

if it is, are your device drivers installed on your pc?
[Android General] :
usb debugging is enabled,

device drivers are installed.

fastboot oem device-info

shows "true" in bootloader mode

and adb fastboot devices

shows connected devices

May be because of pattern lock I can not do anything. I need to change Screen asap.

Thank you for help.
[Android General] Ricky Divjakovski:
thats not the case, adb and fastboot drivers are different

i suggest you uninstall all other phone drivers and re-install the newest and most updated device drivers

let me know how it goes if no luck PM me and ill further assist you
[Android General] :
I will follow you, but can you guide me which and what driver should I remove?
[Android General] Ricky Divjakovski:
just install this http://xdaforums.com/showthread.php?t=2588979
[Android General] :
I uninstalled everything (LG united driver, google usb, etc etc) and installed this adb 1.4.2..

after that?
[Android General] Ricky Divjakovski:
then try adb devices
[Android General] :
Hey thanks, I did screen replacement yesterday... Now I can run all the commands properly.

Thank You...

---------- Post added at 14:03 ---------- Previous post was at 13:58 ----------

How can I record screen using ADB?

Using nexus 5...

Thanks in advance..
[Android General] Ricky Divjakovski:
I read a thread about a utility to record the screen via adb, its a binary package
[Android General] :
thanks.. but provide me link for more detail...
[Android General] Ricky Divjakovski:
If I had the link I would.. Abit of research never hurt anyone
[Android General] Jas Grover:
Thanks a lot.May GOD bless you..

You helped me in my worse condition.Thank You and keep it up

GOD will keep fulfilling your needs..........
[Android General] caanda45:
G_D has nothing to do with it, it is Science in this case, Computer Science...shesh...
[Android General] Jas Grover:
If you can't even guess the condition of others then please don't open your mouth ; just shut up..
[Android General] johnvuong1999:
great, thank you
[Android General] :
Is there any other way to install custom rom like ressurection without using volume button.because for installing rom we need voume buttons to navigate in recovery mode but my volume buttons are not working so please help me and give me an alternative way to install the rom in samsung galaxy ace s5830i. Can it be done by adb ?? Please reply soon please
[Android General] dawgdoc:
Yes you can flash using adb.

There are touch versionss of custom recoveries. I use the touch version of TWRP on my SGS3. I have seen references to touch versions of CWM. I would assume there is a touch version of Philz recovery. If you can flash one of them you will not need to navigate with the volume buttons.
[Android General] :
How to install it in samsung galaxy ace s5830i without using volume button please rply rply in detail :):):)
[Android General] dawgdoc:
The first post of this thread tells you how to enter recovery from your computer using adb.

That same post tells you how to flash the parts of a rom in the fastboot section. I have done this to flash a recovery on a device, but not a full ROM. If you want to attempt this in adb try a couple of simple tasks to insure you are set up correctly. Maybe pull files, push files, flash an app.zip in fastboot, etc.

If you have a custom touch recovery currently installed, check on the Resurrection ROM thread for your device to see if you are ready to flash that rom. (proper bootloader, modem, etc.) Follow the instructions on that thread.

If you have questions they will need to know what ROM, bootloader, and modem are currently installed on your phone.

They will need to know if you are on the stock recovery or which custom recovery you are on.
[Android General] :
While installing CWM by terminal emulator it shows

"E:invalid command argument

E:Cant Open /tmp/recovery.log"

Code i used was

Su

Recovery -update_package=/sdcard/recovery.img

I hav done by teminal coz my volume buttons are not working so.for up-down navigation volume buttons are needed bt its not working so i tried with code bt its showing me error. And while flashing in rom install it shows "Error:cant locate recovery partion"

Please help for install zip of cwm without volume button.

Please giv me solution

Please help me.
[Android General] dawgdoc:
I expect you should be doing this from a terminal on your computer, not from terminal emulator.

Anyhow, it doesn't like your command.

There are three methods in the first post of this thread to do what you want. they are under the Fastboot Introduction section. The command you used is not any of them. (Well two methods if you have an image file, instead of a zip file.)

Make sure you understand what you are doing before you proceed. I have attempted this once and was successful, I did it by the commands in the first post while connected to a computer, this avoids issues regarding which partitions are mounted and unmounted.
[Android General] :
I tried from computer command prompt its showing same .And i tried to flash img file . Its showing me "error scanning partition:no such file or directory found".

This error is showing while flashing recovery.img file.please help to install zip of cwm.

Please help
[Android General] dawgdoc:
Post within code tags exactly what you are entering in your command prompt, and include the return after those commands. show changing from the default directory up through all errors. You get code tags with the # icon in the choices of the text entry box.

dawgdoc@jrw-lts17c ~ $ adb devices -l
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
190b8850 device usb:2-1 product:d2uc model:SAMSUNG_SGH_I747 device:d2att

dawgdoc@jrw-lts17c ~ $ adb reboot bootloader

After this enter the command to flash the recovery image.

I am not getting enough info to give you the exact commands. The file names must match exactly.

Use the correct command and name for the file.

You would be best off starting a separate help thread rather than continuing here.
[Android General] ShanxRoux:
hello ricky,

can i use fastboot to flash custom kernel (code blue) which is in zip file, not available in img file. how can i do that?

i dont want to flash custom recovery. Nexus 5, Stock Lollipop 5.1, Franco Kernel.
[Android General] dawgdoc:
See if the answer I posted to your question in this thread helps.
[Android General] nubikom:
I try to pull system/app and it's work and I can see it in systemapps folder

but when I try to pull /data/app it's said :

pull: building file list...

0 file pulled. 0 file skipped

Why ?

For information : My device THL T200 rooted and usb debugging is enabled

Thanks anyway for this useful guide
[Hardware Hacking General] brando56894:
My Odroid won't boot to CWM recovery with CM10.1 installed on the emmc.

I extracted the three files from here: http://cyanogenmod.org/rc/odroidu2-recovery.zip and placed them on the root of the emmc but every time I boot up I get this

U-Boot 2010.12-svn (Jan 28 2013 - 14:10:19) for Exynox4412

CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
APLL = 1000MHz, MPLL = 880MHz
DRAM: 2047 MiB

PMIC VERSION : 0x00, CHIP REV : 2
TrustZone Enabled BSP
BL1 version: 20121128

Checking Boot Mode ... EMMC4.41
REVISION: 2.0
Manufacturer TOSHIBA [ 15028MB ]
NAME: S5P_MSHC4
MMC Device 0: 15028 MB
MMC Device 1: 0 MB
MMC Device 2 not found
*** Warning - using default environment

ModeKey Check... run normal_boot
Net: No ethernet found.
Hit any key to stop autoboot: 0
NAME: S5P_MSHC4
NAME: S5P_MSHC4
>>> Load Boot Script from mmc 0:1 <<<
NAME: S5P_MSHC4
Partition1: Start Address(0x520000), Size(0x181a000)
reading boot.scr
Warning : Reads a file that is smaller than the cluster size.

623 bytes read
## Executing script at 40008000
Wrong image format for "source" command
Exynos4412 #

how can i get past this?
[Hardware Hacking General] brando56894:
deleted
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Newpunk:
I'm trying to flash the stock Fido i747M rooted rom on a AT&T i747 device, but I continuously get a "FAIL!" message in Odin, and a "SECURE CHECK FAIL : sbl2" message on the phone.

I was able to successfully flash an AT&T rooted stock rom from the same thread, but the Fido file keeps failing.

Thread: http://xdaforums.com/showthread.php?t=1739426

Any ideas?

Currently rooted, running the AT&T stock rom.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] hednik:
Why not just flash at&t rooted stock in Odin then download what ever ROM you want on it ?