Gui tool for installing firmware - Huawei Mate 9 Questions & Answers

Is there a gui tool for installing firmware, like Odin for Samsung?

okizen said:
Is there a gui tool for installing firmware, like Odin for Samsung?
Click to expand...
Click to collapse
Fastboot and adb sideload are already simple enough to use.

Related

[Q] Using Linux - is ODIN necessary, or can I still use ADB/fastboot?

Is Odin really necessary for flashing ROMs on the Sidekick, or can I keep on using adb/fastboot? Or is there a native tool for Linux for flashing ROMs for Samsung?
Other forum threads I've seen recommend running ODIN on Virtualbox, which is doable but a pain in the keister.
samandiriel said:
Is Odin really necessary for flashing ROMs on the Sidekick, or can I keep on using adb/fastboot? Or is there a native tool for Linux for flashing ROMs for Samsung?
Other forum threads I've seen recommend running ODIN on Virtualbox, which is doable but a pain in the keister.
Click to expand...
Click to collapse
odin is only used when you soft brick and flash an image to get back to stock to recover a device you flash a rom through a recovery menu
tylermaciaszek said:
odin is only used when you soft brick and flash an image to get back to stock to recover a device you flash a rom through a recovery menu
Click to expand...
Click to collapse
Thanks, but that doesn't seem to really address my question. Fr'instance, I can use fastboot on my G1 to load a new ROM easily:
Code:
fastboot update -w [Rom_Filename.zip]
Is there a reason I couldn't do this with a stock ROM on a Sidekick in case of a softbrick instead of using ODIN? I know I've done this on my G1 when it freezes on the bootlogo, which seems to be a similar state.
samandiriel said:
Thanks, but that doesn't seem to really address my question. Fr'instance, I can use fastboot on my G1 to load a new ROM easily:
Code:
fastboot update -w [Rom_Filename.zip]
Is there a reason I couldn't do this with a stock ROM on a Sidekick in case of a softbrick instead of using ODIN? I know I've done this on my G1 when it freezes on the bootlogo, which seems to be a similar state.
Click to expand...
Click to collapse
sorry i misunderstood what you were saying but to answer you question no fastboot is an htc thing only
tylermaciaszek said:
sorry i misunderstood what you were saying but to answer you question no fastboot is an htc thing only
Click to expand...
Click to collapse
Ah so! Ok. What about adb then? Shouldn't that work for any Android device?
Code:
adb shell
/sbin/recovery --wipe_data
/sbin/recovery --update_package=SDCARD:romname.zip
samandiriel said:
Ah so! Ok. What about adb then? Shouldn't that work for any Android device?
Code:
adb shell
/sbin/recovery --wipe_data
/sbin/recovery --update_package=SDCARD:romname.zip
Click to expand...
Click to collapse
i never tried it because i dont really use adb but yes i believe it should work on all android devices!
Yes that should work, test it out. the worst you can do in adb is softbrick.
Heimdall I believe its called. But the adb method looks cool. Heimdall is a comandline flashing tool
Sent from my SGH-T839 using XDA Premium App
Heimdall is the open source version of Odin, ADB is the way you want to flash roms (if you're not gonna use CWM).
sduvick said:
Heimdall is the open source version of Odin, ADB is the way you want to flash roms (if you're not gonna use CWM).
Click to expand...
Click to collapse
Yah, I saw that but my understanding is that Heimdall is for the Samsung Galaxy S only
samandiriel said:
Yah, I saw that but my understanding is that Heimdall is for the Samsung Galaxy S only
Click to expand...
Click to collapse
nope u have seen someone on the sk4g threads used it to restore their device on the SK4G!
Heimdall is for Galaxy S *Series* phones, of which we are one on the SK4g :]
sduvick said:
Heimdall is for Galaxy S *Series* phones, of which we are one on the SK4g :]
Click to expand...
Click to collapse
Aha! Yay then, all is right with the world!
If you have any more questions, especially linux questions, feel free to PM me, I love me that Tux.
sduvick said:
If you have any more questions, especially linux questions, feel free to PM me, I love me that Tux.
Click to expand...
Click to collapse
Tux the penguin? And here I thought you were strictly a platypus man - you cross-species player, you!
Meh, it's all about the beaks, everybody loves Tux!
Heimdall
Ok, so Heimdall successfully flashes my mistakes away. One more person verifying that it works.
Does anyone know how to get it to successfully make a dump so it's a bit quicker to get back to something more than stock? Seems like all of all roms are sent out for CWM, which works great till I soft-brick everything.
My only best guess on getting a good dump is adb, remount,ro, and dd it all back to the computer. Seems like a bad place to be with halting everything mid-stride.
And with all the leaked roms lately, does any seem to support fastboot? theres been a few options out now and i'm a bit leery on mucking with the boot-loader
Fastboot is only for HTC, not samsung.
Is it possible to use ADB with linux?
Yes, install the Android SDK, that includes adb.

Trying to update to 4.4.2 via TWRP Flash getting error

I'm new to rooting and android in general. I'm currently running 4.4 rooted with stock I believe. Says ponury kernal in my settings.
I'm trying to flash the update for 4.4.2 via the TWRP install. I get a failed error: error executing updater binary in zip.
I've made sure my zip is the 4.4 to 4.4.2 but still no luck. Any ideas what I can do? Do I need to wipe something before I can put it on there?
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
tom1807 said:
On a first thought, you need to get back to the original kernel.
Update from 4.4.1 to .4.4.2. has no problems with different kernels installed, however this won't work from 4.4. to 4.4.2.
The exact error message would be also helpful
Click to expand...
Click to collapse
The error was : error executing updater binary in zip. I will look into getting back to stock.
matthewordie said:
The error was : error executing updater binary in zip. I will look into getting back to stock.
Click to expand...
Click to collapse
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
jd1639 said:
You need to fastboot flash the system and boot image from 4.4 if you have a custom kernel. Then flash the update
Click to expand...
Click to collapse
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
matthewordie said:
How do I fastboot flash the system and boot image? Can I do that from TWRP or do I need to use the command line with the fastboot? I have fastboot installed on my mac already. I was playing with that as well.
Click to expand...
Click to collapse
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
jd1639 said:
You'll need to get the factory image and extract the files. Inside there is another zip file which you'll need to extract. That's where you'll find the images. Use fastboot flash system system.img The Mac command is slightly different, I don't remember exactly what it is. To fastboot boot its the similar format
Click to expand...
Click to collapse
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
matthewordie said:
Is there a method of rooting or a specific kernal that will make it easier to update next time? I'd really hate to have to wipe everything every time there's an OTA update.
Click to expand...
Click to collapse
Flashing the system image won't wipe anything
http://forum.xda-developers.com/showthread.php?p=14
Sent from my Nexus 5 using Tapatalk
Zepius said:
then stop modding your phone if you want OTAs.
its really that simple.
just flash the 4.4.2 factory images.
Click to expand...
Click to collapse
Well I really don't know the exact steps involved in "flashing the image". That's what I'm asking.
jd1639 said:
Flashing the system image won't wipe anything
Click to expand...
Click to collapse
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
matthewordie said:
Then I guess I had the wrong impression of what flashing the image is. Is there a guide available?
Click to expand...
Click to collapse
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
jd1639 said:
Follow method#2. But only flash the system.img and boot.img. http://forum.xda-developers.com/showthread.php?p=47156064
Edit, your bootloader is unlocked, right? If not then you will lose all you data unlocking it
Click to expand...
Click to collapse
Ah, I was close I actually did method 1. Yeah I did leave it unlocked since i'm going to root again right away. Thanks

Wiped N5 now NO OS! Have TWRP

Hello,
I meant to factory restore my rooted N5 and on the advanced TWRP option I chose wipe data. Now I have no OS. I'm not finding a guide on how to install the stock 4.4.2 onto my N5 using a Mac. Is there a process that shows how to do that exactly for a Mac?
thx,
Mark
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
+1 i think thts your best bet.. :good:
lesp4ul said:
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
eodchn said:
+1 i think thts your best bet.. :good:
Click to expand...
Click to collapse
Yes, I have VMWare and Windows 7 installed. But, what is the process to get the stock rom back onto my phone? I've got TWRP and able to get into Bootloader mode.
s1w999 said:
Yes, I have VMWare and Windows 7 installed. But, what is the process to get the stock rom back onto my phone? I've got TWRP and able to get into Bootloader mode.
Click to expand...
Click to collapse
Look in the general section and at the top is the guide you need to get sorted, good luck and dont panic you haven't killed it.
You don't have to do all that just sideload a stock rom onto the phone
lesp4ul said:
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Lol
Mac is fully supported by Android tools
Sent from my Nexus 5
Jables2915 said:
You don't have to do all that just sideload a stock rom onto the phone
Click to expand...
Click to collapse
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock or as @Pirateghost said just use the sdk to flash the image straight away.
gee2012 said:
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock.
Click to expand...
Click to collapse
100% Correct, OP can choose to do it that way or flash stock image in fastboot there's no need to use Windows at all.
Not working
Jables2915 said:
You don't have to do all that just sideload a stock rom onto the phone
Click to expand...
Click to collapse
Well, I have the Nexus Android Toolkit for oneclick root etc. I don't believe I have USB debugging "on" and I have no OS on the phone to set it to "on". The toolkit will not install the Stock rom is downloaded because is says there's a name mismatch. I choose the option to change name etc and install anyway and it just loops with the same mismatch issue.
Really frustrating. How do I download a .zip file of the rom so I can flash it. All I get are .tgz files when I download the stock rom.
Any ideas?
s1w999 said:
Well, I have the Nexus Android Toolkit for oneclick root etc. I don't believe I have USB debugging "on" and I have no OS on the phone to set it to "on". The toolkit will not install the Stock rom is downloaded because is says there's a name mismatch. I choose the option to change name etc and install anyway and it just loops with the same mismatch issue.
Really frustrating. How do I download a .zip file of the rom so I can flash it. All I get are .tgz files when I download the stock rom.
Any ideas?
Click to expand...
Click to collapse
Just put your faith in toolkits, why don`t you post your question in the toolkits thread. Let them clean up the mess Sorry if i sound a wee harsh but i HATE toolkits, they cause more problems for uneducated users than they do good.
gee2012 said:
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock or as @Pirateghost said just use the sdk to flash the image straight away.
Click to expand...
Click to collapse
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
simms22 said:
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
Click to expand...
Click to collapse
Yes i know, but OP wanted to flash back to stock and the android-sdk supports Mac computers.
gee2012 said:
Yes i know, but OP wanted to flash back to stock and the android-sdk supports Mac computers.
Click to expand...
Click to collapse
ah, i missed that :angel:
simms22 said:
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
Click to expand...
Click to collapse
I'm downloading a zip now to push/flash. It's a stock rom. Just hoping it works. Next option is I'm glad to hire someone to remote in and fix it. Let me know if you're interested.
thx
s1w999 said:
I'm downloading a zip now to push/flash. It's a stock rom. Just hoping it works. Next option is I'm glad to hire someone to remote in and fix it. Let me know if you're interested.
thx
Click to expand...
Click to collapse
Here is a tutorial for how to setup adb on Mac http://www.youtube.com/watch?v=V0MyTvgfO7s, and here is a how to use it http://forum.xda-developers.com/showthread.php?t=1917237 and restore to stock .
gee2012 said:
Here is a tutorial for how to setup adb on Mac http://www.youtube.com/watch?v=V0MyTvgfO7s, and here is a how to use it http://forum.xda-developers.com/showthread.php?t=1917237 and restore to stock .
Click to expand...
Click to collapse
Excellent, I'm headed there right now.
Thank you!
s1w999 said:
Excellent, I'm headed there right now.
Thank you!
Click to expand...
Click to collapse
OK, got that set up and ./fastboot devices shows my device serial #.
Now, as long as my USB debugging is "on" (I have no way to toggle that since I have no OS, only recovery. Does the fastboot devices command working verify that USB debugging is "on"?
Now to find instructions on how what the flash commands are.
ty
s1w999 said:
OK, got that set up and ./fastboot devices shows my device serial #.
Now, as long as my USB debugging is "on" (I have no way to toggle that since I have no OS, only recovery. Does the fastboot devices command working verify that USB debugging is "on"?
Now to find instructions on how what the flash commands are.
ty
Click to expand...
Click to collapse
Download the factory image and extract with 7-zip and find a Mac flash.all command in the fastboot folder which you can select i guess. Haven`t had a Mac ever so no xperience. Make sure you have the following img files :radio, boot, bootloader, system.img zip, cache and userdata placed in the fastboot folder.
Look here for a tutorial http://au.ibtimes.com/articles/526920/20131203/flash-factory-image-nexus-complete-stock-return.htm.
gee2012 said:
Download the factory image and extract with 7-zip and find a Mac flash.all command in the fastboot folder which you can select i guess. Haven`t had a Mac ever so no xperience. Make sure you have the following img files :radio, boot, bootloader, system.img zip, cache and userdata placed in the fastboot folder.
Look here for a tutorial http://au.ibtimes.com/articles/526920/20131203/flash-factory-image-nexus-complete-stock-return.htm.
Click to expand...
Click to collapse
Well, I've got everything in place, ./fastboot devices sees my N5 but the flash command doesn't do anything when executed.
Any ideas?
Here's what terminal shows:
Marks-Air:android tools Mark$ ./fastboot devices
0591a238002ead35 fastboot
Marks-Air:android tools Mark$ ./flash-all.sh
./flash-all.sh: line 17: fastboot: command not found
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 23: fastboot: command not found
Marks-Air:android tools Mark$

Official CWM

Hi there,
since there is an official cwm on their website I wanted to ask how to flash it.
1. There's only a N8013 package, can I flash that on my N8010, since these two are basically the same?
2. It's an img file. Do I need to flash this with fastboot or can I just rename it to recovery.img and flash it with Odin? I've looked at some Odin tar files from twrp and there's nothing in there except an recovery.img. Or has the img file to be specific for Odin?
Kamairo said:
2. It's an img file. Do I need to flash this with fastboot or can I just rename it to recovery.img and flash it with Odin? I've looked at some Odin tar files from twrp and there's nothing in there except an recovery.img. Or has the img file to be specific for Odin?
Click to expand...
Click to collapse
IIRC fastboot does not work for the Note 10.1. Anything for this device should be ODIN specific.
mendacium said:
IIRC fastboot does not work for the Note 10.1. Anything for this device should be ODIN specific.
Click to expand...
Click to collapse
I definitely read a guide where the img file was pushed manually. But you might be right about fastboot, I think it was an adb command.
I still think *repacking* for Odin is just naming the file recovery.img and zipping it into a tar. Can any of the devs confirm that? I mean, I must be able to flash CWM img somehow...
Hmm...
You might be right about adb push....
I can't help you with Odin, but I have flashed img files onto my N8010 using heimdall. That is sort of the Linux and Mac alternative to Odin. It runs on Windows as well so maybe it's worth a shot.
Just stumbled across this: http://forum.xda-developers.com/showthread.php?t=2102677
All there in the manual!
mendacium said:
Hmm...
You might be right about adb push....
I can't help you with Odin, but I have flashed img files onto my N8010 using heimdall. That is sort of the Linux and Mac alternative to Odin. It runs on Windows as well so maybe it's worth a shot.
Just stumbled across this: http://forum.xda-developers.com/showthread.php?t=2102677
All there in the manual!
Click to expand...
Click to collapse
Yeah, I know that thread, but that's not the latest version. Anyways, I found a guide on how to make flashable tars. So either I try that or heimdall. Thx so far!
Sent from my Galaxy Note 10.1

[help] phone gone nuts!]

Please help me solve my issue i cant root my phone.
So i downloaded everything i needed:
Odin
TWRP 2.8.4.0
Google USB drivers
ROM (lollipop)
SuperSu
Gapps
img to tar tool
So my issue is:
When i want to go to recovery mode it says No command.
So i guess i have to install TWRP with odin.
But when i go to download mode, after a few seconds it goes to Firmware Update (B31) and its always at 0% (The phone is plugged in to the PC).
What should i do?
Why are you using Odin?
This is a Nexus 5. Odin is only for Samsung devices, you're just asking for a brick.
Flash the recovery image with fastboot.
Everything you need is in the first link of my signature.
Lethargy said:
Why are you using Odin?
This is a Nexus 5. Odin is only for Samsung devices, you're just asking for a brick.
Flash the recovery image with fastboot.
Everything you need is in the first link of my signature.
Click to expand...
Click to collapse
Thanks, i thought odin can be used for other devices too.
xxkellerman said:
Thanks, i thought odin can be used for other devices too.
Click to expand...
Click to collapse
Even if it did work I strongly suggest against it. On a Nexus 5, you have an easily unlockable bootloader and fastboot is your friend.
Lethargy said:
Even if it did work I strongly suggest against it. On a Nexus 5, you have an easily unlockable bootloader and fastboot is your friend.
Click to expand...
Click to collapse
Already unlocked, thanks for fast advice!
Used: 15 sec adb
xxkellerman said:
Already unlocked, thanks for fast advice!
Used: 15 sec adb
Click to expand...
Click to collapse
Glad I could help.
Enjoy your device!

Categories

Resources