yashsingh1/xdaforums huggingface dataset:
[Android General] Scapoose:
ahh i wasnt meaning touch fastboot.img sorry, i was pointing towards more along the line of touch recovery.img for Moto x 1st generation, i got two but neither would install correctly n the adb reboot recovery after flashing it. just no command so its not installing. less im missing a step or the file isnt compatible. (im unable to use my volume buttons got damaged years ago)
[Android General] sha91:
UNLOCK BOOTLOADER

to unlock bootloader from htc you get your identifier token then download the unlock_code.bin they email you and flash it

Hi guys,

For a while now, I have been trying to unlock my Huawei Honor 3x Pro G750-T20 device.

Each time ran into a wall.

remote:unknown command

I had been searching and enquiring all over but somehow never got a proper answer.

Today, I used an MTK Droid tool version 2.5.3

Again, ran into a wall in fastboot mode while trying to unlock.

But this time around in this version there was a folder :adb

In it there is a list of commands for adb and fastboot and in both there was no : fastboot oem unlock.... command.

Now, I see why I was always prompted remote:

unknown command in fastboot

Now, in this thread, you have a tool. But it specifies only and HTC device, see copied text above.

Can I use this tool for my Huawei Honor 3x Pro G750-T20?

If it can, I will be very happy, finally to be able to unlock it's damn bootloader and get root access and to use this phone to its full capabilities.

EDIT: Still no luck yet again the same prompt remote:unknown command. Sucks
[Android General] Ricky Divjakovski:
ill make a tool just for your device, youll need to test though
[Android General] sha91:
Man, Thank you so very much. Can't wait to test it out. If it works,

You'll be my GOD!!!
[Android General] jimmy_135:
C:\Users\Jimmy\Downloads\HTCOne

sending 'zip' (1173999 KB)...

OKAY [ 45.045s]

writing 'zip'...

(bootloader) signature checking

FAILED (remote: 12 signature ve

finished. total time: 196.824s

I to e out of this problem my bootloader is locked and I get out from boot loader
[Android General] coolbeans2016:
I h asked for help with this on my device in multiple forums

Device: LG Tribute 2

Carrier: Boost Mobile

Android: 5.1.1

No kdz file. I got unbricked & root using 6th_hokage's great thread but did not know how and couldn't make any kind of backup before so. I bricked using a one-click-root that has many a people using 6th_Hokage's thread to get back operating. I have since found one person, same phone, carrier, Android version, that claimed to make a ROM and available for download, and another that listed hist image .zip file of the same phone. But no one will respond, if in an emergency, how would I use adb/fastboot, if possible with locked bootloader, to recover the phone???

Not like I'm asking for State Secrets, right......??!!

Any help will be greatly appreciated, after this I should know enough to help anyone, let alone myself.

Zach
[Android General] coolbeans2016:
??

There is no kdz available for LG Tribute 2 from Boost Mobile.... I found on AndroidForums.com a person who did a .zip of his system that is 1.06gb in size but the bootloader is locked as well. Why I asked in this forum on adb/fastboot about commands for flashing a backup to restore a phone with locked bootloader. No one will say how??? It has a stock recovery that has adb sideload, etc..... install .zip.

sigh.........

---------- Post added at 08:31 PM ---------- Previous post was at 08:07 PM ----------

There is no RUU for my LG Tribute 2 on Boost Mobile. Also, locked bootloader. I have a .zip of an exact phone/android os/and carrier from their pulling its system.img. All in all it is 1.06gb. Using stock recovery that has alot of options, or flashing with fastboot, how would I run this to recover the phone???

All I need to know, thanks.

zach
[Android General] Ricky Divjakovski:
unlock your bootloader then flash a stock system image
[Android General] coolbeans2016:
guess its just me

Thanks for the advice Ricky, but I mentioned, locked bootloader, no custom recovery & no RUU for this LG Tribute 2 on Boost Mobile. Why I have read this great thread, but just needed a little direction as to how I would use another persons system pull using adb/fastboot. I know the stock recovery has adb sideload, flash zip, pretty good.

Any ideas?

zach

It is rooted, and has Xposed on it thanks to 6th_Hokage's thread on how to unbrick, gain root @ same time for LG Stylo..............
[Android General] Ricky Divjakovski:
so why cant you remove boot.img from rom andd lines from updater-script and flash via sideload?
[Android General] coolbeans2016:
experience

Because I have never done this before. Have rooted, installed recoveries, even modded internal memory on HTC One sv with scripts someone put up in forum to get enough usable internal to keep phone alive, but that had it layed out what to type and such. I have never pulled anything from a device, yet!

I can do this, just need a little direction. Thanks for the download for adb/fastboot, and the insights on using them.

Thanks, ahead of time.

zach
[Android General] waheem:
won't flash system.img on micromax a210 fast boot flash system system.img stuck on erasing system......... any help please
[Android General] Ricky Divjakovski:
first step is to get stock firware for your device

you can do this by asking someone with the same device(stock ofcoarse) to get the system and kernel partition by doing the following

dd if=/PATH/TO/SYSTEM of=/sdcard/system.img
dd if=/PATH/TO/boot of=/sdcard/boot.img

then getting them to upload the 2 files(system.img and boot.img located in sdcard)

then you have to downloa them, place them in the adb directory then do the following in the adb directory with the system and boot img files in it

fastboot flash system system.img
fastboot flash boot boot.img

and that should do the trick

can you erase the partition by fastboot? try that first
[Android General] coolbeans2016:
many thanks

XDA RULES
[Android General] waheem:
I try it many time fastboot erase system fastboot erase boot fastboot -w but nothing stuck on erasing........ But flash recovery and boot successfully recovery 6 mb and system.img 1gb so its large file issue please help
[Android General] Ricky Divjakovski:
im afraid a zipped /system partition wont do the trick, when you flash a partition via fastboot, it allocates the correct bytes to each partition with the correct block size, format etc to match the board configuration loaded by the kernel

you need to do exactly what i sai otherwise there may be no chance recovering the device
[Android General] Ricky Divjakovski:
erase system, wait about 30min, then flash system
[Android General] waheem:
No luck wait about 1 hour stuck on erasing system..........

---------- Post added at 02:18 PM ---------- Previous post was at 02:16 PM ----------

Its possible to flash a custom rom with fastboot

---------- Post added at 02:18 PM ---------- Previous post was at 02:18 PM ----------

Its possible to flash a custom rom with fastboot?
[Android General] DeadXperiance:
You can flash zip file of custom rom but your phone must be unlocked.
[Android General] waheem:
I'm trying to flash custom rom rename update.zip both of method are failed see picture
[Android General] DeadXperiance:
Try with

fastboot flash xxxxxxx.zip

here xxxxxxx is the name of your zip file.
[Android General] waheem:
Not done rename xxxxxxx.zip but same result
[Android General] DeadXperiance:
You don't must rename xxxxxxx, but you type

adb fastboot flash filename.zip

the file name is your original file name. if the zip is signed and you rename it you must sign it again,
[Android General] waheem:
Sir will you explain how to signed a zip because its a custom rom normal zip content meta-inf system or boot.img
[Android General] waheem:
How to signed a zip that can be flash with fastboot
[Android General] DeadXperiance:
you can sign with this tool.
[Android General] waheem:
Sorry not working for me how sign a zip with cygwin?

---------- Post added at 08:39 AM ---------- Previous post was at 08:38 AM ----------

What is the command ? And how to use?
[Android General] waheem:
How to signed a zip with cygwin ?
[Android General] DeadXperiance:
I don't understand your question, because I don't knew about cygwin.
[Android General] ankushoo7:
hello sir can u help me

---------- Post added at 09:36 AM ---------- Previous post was at 09:34 AM ----------

i have Panasonic eluga i rooted phone nd i want to change os
[Android General] DeadXperiance:
Hi mate You can't change OS but If you have rooted phone you can install custom rom which can change your android version,
[Android General] ankushoo7:
Ok, i find any were custom rum for "Panasonic eluga i" but i can't success...
[Android General] Angeldust24k:
Thanks for such detailed posts! Good stuff!
[Android General] coolbeans2016:
)*&)(*&)(

I am trying to learn how to pull my system.img & boot.img from a Asus Memo Pad 8 (181). For the amount of reading and going in circles this is incurring, getting about $0 bang for my $buck........... :mad:

I cannot even get the mount points figured out. got it to pull:

lrwxrwxrwx root root 2016-07-27 19:24 ADF -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 2016-07-27 19:24 APD -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 2016-07-27 19:24 FWUP -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2016-07-27 19:24 cache -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 2016-07-27 19:24 config -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 2016-07-27 19:24 data -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2016-07-27 19:24 factory -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 2016-07-27 19:24 misc -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2016-07-27 19:24 panic -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2016-07-27 19:24 reserved -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2016-07-27 19:24 system -> /dev/block/mmcblk0p10

as far as I can get.........

zach
[Android General] Ricky Divjakovski:
What you wanna do is

adb shell

su

dd if=/dev/block/mmcblk0p10 of=/sdcard/system.img

exit

adb pull /sdcard/system.img

adb shell rm /sdcard/system.img
[Android General] coolbeans2016:
when I get to the part "exit", just keep getting duplicates, it retypes why I've typed above it, not getting out of it so I can type the last two commands............ ??

c:\ADB>adb shell

shell@K011:/ $ su

su

root@K011:/ # dd if=/dev/block/mmcblk0p10 of=/sdcard/system.img

dd if=/dev/block/mmcblk0p10 of=/sdcard/system.img

exit

exit

adb pull /sdcard/system.img

adb pull /sdcard/system.img

adb shell rm /sdcard/system.img

adb shell rm /sdcard/system.img - this is on the Asus Memo Pad 8 181c

When I try the same on my Samsung Galaxy J3 (2016) I get:

c:\ADB>adb shell

shell@j3ltespr:/ $ su

su

shell@j3ltespr:/ $ dd if=/dev/block/mmcblk0p10 of=/sdcard/system.img

dd if=/dev/block/mmcblk0p10 of=/sdcard/system.img

dd: /dev/block/mmcblk0p10: Permission denied

1|shell@j3ltespr:/ $

any ideas to help me over this speed bump, appreciate it!

zach
[Android General] rane1810:
Thanks you very much!
[Android General] Ricky Divjakovski:
1. You need to make sure your system partition is stored on mmcblk0p10, i highly doubt it would be on block 10

2. Make sure your device has root permissions
[Android General] NeO-TuX:
Thank you for this very practical guide!

I have some troubles with fasboot commands, since most of them result in the following message: "Failed to get partition [partition_name]: Not Found".

The device is a Onda V80 and I wanted to root it, but I am now stuck in a bootloop, unable to even flash system.img.

Do someone ever faced this?

Thank for your help!
[Android General] adzo73:
hi i have samsung galaxy note 4 rooted with dr ketans n7 port rom al so running xposed by wanam and few days ago i turned power off and this was last time i ever looked in my note 4's eyes and ever since then nothing??KA PUT!-FINISHED-NO BOOT RECOVERY-DOWNLOAD NO CHARGE NO LIGHT-GONE GONE????someone said to me forget to try everything as it never work but only fastboot and adb work

Can cab anyone tell me maybe 1,2,3 step i must do for example .recovery install etc???i not sure and beg anyone can help
[Android General] Ricky Divjakovski:
download mode?
[Android General] adzo73:
hey great thanks for replying yes can just get to download mode and recovery and sometimes booting now but still restarting any time and going to download mode at its own will.im lost with what to dp
[Android General] Ricky Divjakovski:
you need to flash stock firmware in download mode with odin
[Android General] Valkenburgh Margin:
You're misguided. Adb and fastboot commands is for all phone. It's a compilation of commands that we can use when we're trying to run it. It's very useful though. I think you might want to use it in the future ;)
[Android General] cavlinx:
Very helpful!!! thanks!!
[Android General] maybeme2:
I started reading the top of the thread. Thank you very much. I am a non expert end user and have a question.

Some of us have phones with 2 slots (A/B slots).

Are the commands appropriate for these phones too?

For example,

FLASH A RECOVERY IMAGE (.IMG)

to flash a recovery called twrp.img, put it in your fastboot folder and type

I believe dual slot devices do not have recovery partition.

https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/

So, is the fastboot command still the same or does it need to be modified because 2 slot devices do not have a separate recovery partition?

Thank you.

EDIT

Just realized this is an old thread. So I'm not likely to get an answer. ......
[Android General] xSil3nt:
This is a must read for anyone who's looking to mess around with android!
[Android General] Ricky Divjakovski:
You can pull everything off it and format data/system/cache by doing this

Adb pull /system c:/

Adb pull /data c:/

Adb reboot fastboot

Fastboot erase system

Fastboot erase data

Fastboot erase cache

Or simply just use my android everything tool in my signature?
[Android General] mikevillarroel:
Thanks, will try that tomorrow, I just need to recover what is in the internal storage, but the device won't even go to recovery, just bootloader
[Android General] Ricky Divjakovski:
Try flashing a new recovery.img?
[Android General] waweng0805:
tnx for this guide mate..
[Android General] scapaflow1887:
Thanks for sharing!
[Android General] MrCabana:
Can fastboot extract boot.img from device?

Can I use these tools to change ro.secure setting in /default.prop ?

Thanks
[Android General] Ricky Divjakovski:
It cAnnot extract boot .img as boot.img is unpacked when installed

And with this tool you can't change text. However there is a console package called fart (find and replace text) then you can pull file from phone and use fart to find the text and change it!
[Android General] pc boy:
thx for the guide mate!

so useful!
[Android General] FuKaKa:
I don't get it, when I flash boot.img in fastboot, it said error:not allowed :confused:
[Android General] Ricky Divjakovski:
That would have to be a probkem with the boot.img file, check the md5 and try again
[Android General] falkuto:
fantastic guide, work is nice :laugh:
[Android General] margityu:
Help

Can you help me to pull out recovery.img from not rooted stock 4.1.2 firmware ZTE Blade G aka ZTE V880 G aka ZTE V955?
[Android General] Ricky Divjakovski:
You can not create a recovery.img from a phone, you can only install one, if you would like the stocj recovery.img I suggest you search for it on the web, ive heard you can extract them from RUU files somehow
[Android General] Emba4:
good guide but a few quick corrections (although im not sure if your versions work too to be honest, if they do then consider these alternatives)

"fastboot flash flashme.zip" should be "fastboot flash zip flashme.zip"

"fastboot oem getcid" should be "fastboot getvar cid" (or "fastboot getvar all" for more info)
[Android General] Ricky Divjakovski:
sorry about that, yeah it should have been "fastboot getvar cid", but i wrote this guide on my old sxl so autocorrect must have done something :p

and the answer to flashing files through fastboot is, some phones bootloaders are not compatible with flashing .zip files through fastboot, so i have to teach a way that suites all phones!

thanks for trying to help out though! :) i like that sort of stuff from the community!
[Android General] FightForDestiny:
wow.. this tutorial is cool !

i'm curious.. i want to backup my ZTE N986, i have to create adb first ? is it correct ?

how to backup my zte ? using rkdump ? or something.. can u help me ?

thanks in advance.
[Android General] Ricky Divjakovski:
Depends on what you would like to backup, the system-state? Or just the apps and settings?
[Android General] FightForDestiny:
i want to backup system.. the original rom.. so anytime i want, when the system crash or something i could restore it back again..

rkdump used for tablets only or it can be used also in my zte n986?
[Android General] Ricky Divjakovski:
is it an official android phone release by samsung, google, htc etc.. or is it a look-alike?
[Android General] FightForDestiny:
Yes.. it's official.. made by ZTE.
[Android General] Ricky Divjakovski:
look in the forum for an ruu file!
[Android General] FightForDestiny:
what is ruu file ?

can u show me the link ? thanks before.
[Android General] Ricky Divjakovski:
an RUU file is a file that returns the device to the factory state, with the firmware you purchased the phone with, in saying this it doesnt matter weather you are rooted or not, if you want your device back to default firmware with nothing on it and RUU would be the way to go!

and link me to the forum for your device and i will find it!
[Android General] Vintage144:
Although I didnt use the guide , I find myself always coming back to adb , its funny as complicated as it sounds ,its actually easier than the easy apps and tools available , I tried everything to get my a500 back after the partitions were wiped clean , adb push , put me back in control , so I will be book marking this guide for sure, I will be using it (I am always trying something new (which means Ill inevitably be ****ing up some how)! Thanks again
[Android General] ButtsPoopington:
good guide, thanks
[Android General] j0mar:
thank you for this helpful tutorial ^^
[Android General] rival666:
is this work?:confused:
[Android General] !fum:
thx man :good:
[Android General] ElysonMorf:
Thanks sire

i find it usefull for some old-devices
[Android General] budeone:
Has anybody had luck with an HTC "one" and windows 8.1?
[Android General] LuigiBull23:
Very well put together. Nice job :)
[Android General] theprincemoh:
thanx man :o
[Android General] dca784:
Thank you very much for this guide, my first time rooting went without a problem.:good:
[Android General] wasi006:
Nice JOb!

Thanks! Great work!!
[Android General] rb1213:
thanks

:good:Thanks mate

helped me a lot
[Android General] erikoink:
Thanks for this post! I found this to be really helpful for getting started. I might also suggest posting the link to the full ADB documentation for "further reading". (I found the URL, but XDA won't let me post it.)

I'm not clear on what the "^" is trying to show. Leave a space here, don't put a space there. I tried pasting to text editor with a fixed width font, and it still didn't seem to match up to a place where it made sense. Confused. Can you edit/clarify? Use fixed with font for code?

Thanks again!
[Android General] Ricky Divjakovski:
That would be great :)

And the "^" is where there is a space, so basically leave a space inbetween every word unless your typing a directory
[Android General] Ricky Divjakovski:
Thread format fixed :) the "^^" are in the right places now!
[Android General] FightForDestiny:
thanks

---------- Post added at 04:45 PM ---------- Previous post was at 04:19 PM ----------

do you ever used adb shell cat /proc/mtd > firmware.info?

for create firmware.info ?

for my ZTE N986, this script isn't working.. do you have any idea ?
[Android General] Ricky Divjakovski:
i suppose you could do that, im gonna make another thread to teach intermediate users adb and fastboot!
[Android General] Ricky Divjakovski:
and possibly an advanced guide to teach you how to make a batch file that runs commands!
[Android General] FightForDestiny:
Thanks.. i really appreciate it.. ;)

i can't wait for it..
[Android General] Ricky Divjakovski:
expect the intermediate one in a few days! just need to find time to write it!

feel free to suggest stuff!
[Android General] :
thanks!... :victory: that's very:D useful!
[Android General] TigerFan24:
I've never been able to get abd to work, thank you for this guide
[Android General] trolont:
Great

It help me a little bit to make an automatic root software :)
[Android General] a.t.buro:
Thank you
[Android General] metelci:
Thank you ;)
[Android General] akhilranjan:
Nice guide!

but I have a problem..

i can't push files whose location have spaces in them. as in

"adb push E:\Documents and Settings\Nikhil\My Documents\Example.docx /mnt/sdcard" .

Am i doing something wrong?
[Android General] Ricky Divjakovski:
yes! the correct way is to put the "" symbols around only the directories with spaces in it with the space!

This is how you entered it

"adb push E:\Documents and Settings\Nikhil\My Documents\Example.docx /mnt/sdcard"

And this is how it should be entered

adb push E:\"Documents and Settings"\Nikhil\"My Documents"\Example.docx /mnt/sdcard

see the difference?
[Android General] akhilranjan:
So ones with spaces should be enclosed within quotes?

Sent using xda app-developers app
[Android General] Ricky Divjakovski:
Correct :)
[Android General] vizhigal:
Thank you very much
[Android General] eitucatsuj:
Thanks!

Awesome Thanks!

---------- Post added at 11:07 PM ---------- Previous post was at 10:58 PM ----------

Yes, this is what I was doing wrong!
[Android General] Martunis akbar halik:
Thanks for guide :D
[Android General] MagusWRM:
That will be useful, thanks!
[Android General] bafknight:
Thank you for your guide :good:
[Android General] Betedo:
:fingers-crossed::good:
[Android General] Marcus Loud:
Thanks for your share.
[Android General] murali:
useful

thank you...very useful :)
[Android General] Pojiku:
iffect previously

Thank you! This is a big help.
[Android General] akier-dp:
thank's...:good:

br;
[Android General] thienhoa:
Thank for share
[Android General] theunknowner:
How important are fastboot/adb versions? I had not updated mine in over a year, but just downloaded the new SDK to see if anything had changed. I was surprised to see that the adb binary was 5x larger and fastboot was noticeably bigger as well. Anything new with these updates?

Should we be updating these with each new SDK release?
[Android General] Ricky Divjakovski:
Definitely! Adb and fastboot are always relavent to update, like a new car when it gets released there's always something new and something from the previous one fixed!
[Android General] ertanerbek:
Thanks for this! It helped a lot
[Android General] akier-dp:
possible update android online in fastboot mode?thank's for replay

br;neubie
[Android General] Ricky Divjakovski:
Depends what you mean by update?