Is SRK Tool still good to use to root p9 today? - Huawei P9 Questions & Answers

Topic.

blitzball said:
Topic.
Click to expand...
Click to collapse
For rooting with SuperSU there is a good active topic with instructions
https://forum.xda-developers.com/p9/...mui-5-t3612258
For rooting with Magisk, similarly search for the existing topic

zgfg said:
For rooting with SuperSU there is a good active topic with instructions
https://forum.xda-developers.com/p9/...mui-5-t3612258
For rooting with Magisk, similarly search for the existing topic
Click to expand...
Click to collapse
I'm sorry but i'm kinda a noob at this rooting stuff but how do I actually flash twrp on my p9? I followed a guide within that thread you linked me to, and the instructions are as follows:
1. Enter fastboot mode on unlocked device
2. Flash recovery using the following command: fastboot flash recovery twrp-3.1.1-1-eva.img
3. reboot to recovery!
I'm not quite sure how to do step #2. It says to flash the .img file using the following command. Question is, what program do I use to flash the file? The thread doesn't have any links to a program that can flash the image file. It only has the img file itself.

blitzball said:
I'm sorry but i'm kinda a noob at this rooting stuff but how do I actually flash twrp on my p9? I followed a guide within that thread you linked me to, and the instructions are as follows:
1. Enter fastboot mode on unlocked device
2. Flash recovery using the following command: fastboot flash recovery twrp-3.1.1-1-eva.img
3. reboot to recovery!
I'm not quite sure how to do step #2. It says to flash the .img file using the following command. Question is, what program do I use to flash the file? The thread doesn't have any links to a program that can flash the image file. It only has the img file itself.
Click to expand...
Click to collapse
Search is your friend, you need to install ADB and drivers, you will need to enable ADB on the phone, but furst of all you will need to unlock Bootloader.
For ADB the easiest (smallest package and fastest to install on the PC): Minimal ADB and Fastboot.
Invest a day or two or more (depending on your knowledge and experience with hacking of other Android phones)) by searching and reading topics and ask further questions (in the corresponding topics) once you have an overview of the proess and when you start on and have practical questions

zgfg said:
Search is your friend, you need to install ADB and drivers, you will need to enable ADB on the phone, but furst of all you will need to unlock Bootloader.
For ADB the easiest (smallest package and fastest to install on the PC): Minimal ADB and Fastboot.
Incesr a day or two on searching and reading ans ask further questions (in the corresponding topics) once you have an overview of the proess and when you start on and hace practical questions
Click to expand...
Click to collapse
I already have the bootloader unlocked. Where can I get the ADB and Fastboot programs?

blitzball said:
I already have the bootloader unlocked. Where can I get the ADB and Fastboot programs?
Click to expand...
Click to collapse
Did you attempt to search yourself for eg Minimal ADB or you expect that all the time others will search for you?

zgfg said:
Did you attempt to search yourself for eg Minimal ADB or you expect that all the time others will search for you?
Click to expand...
Click to collapse
Sorry man I'm a noob. Don't know what version to search for.

blitzball said:
Sorry man I'm a noob. Don't know what version to search for.
Click to expand...
Click to collapse
Is it so hard to enter "Minimal ADB" to Google and it immediately gives you a link to XDA with installation and instructions for PC - it takes a second or two?!?
Or you really expect that others will search for every for every small detail to copy you links and instructions - if searching and concentrating to read is to hard than better give up and use stock, un-rooted phone, but also not a bricked phone

zgfg said:
Is it so hard to enter "Minimal ADB" to Google and it immediately gives you a link to XDA with installation and instructions for PC - it takes a second or two?!?
Or you really expect that others will search for every for every small detail to copy you links and instructions - if searching and concentrating to read is to hard than better give up and use stock, un-rooted phone, but also not a bricked phone
Click to expand...
Click to collapse
Come on bro if it only takes two seconds then why didn't you just give me a link instead of posting all that long stuff? Thanks anyways.

Related

Flashing image without unlocking bootloader:

I have just rooted my phone without unlocking my bootloader and would like to flash but without bricking my phone.
Can someone please post a how to guide to update image?
Did you use that guide?
http://forum.xda-developers.com/showthread.php?t=710842
So why didn't you continue to flash custom recovery?
And when you finish it, use the flashing guide found in each ROM's thread, or use "Install ROM" section from the second guide:
http://forum.xda-developers.com/showthread.php?t=636795
Why would you think that the guides aren't posted yet, and didn't just look at the stickies?
Jack_R1 said:
Did you use that guide?
http://forum.xda-developers.com/showthread.php?t=710842
So why didn't you continue to flash custom recovery?
And when you finish it, use the flashing guide found in each ROM's thread, or use "Install ROM" section from the second guide:
http://forum.xda-developers.com/showthread.php?t=636795
Why would you think that the guides aren't posted yet, and didn't just look at the stickies?
Click to expand...
Click to collapse
Thanks for the answer.
Yes I did use that guide and I did flash Custom recovery. But if you read what I wrote in my first post you would notice, I asked for flashing of image not custom ROM.
So what I'm looking for was a adb way to flash image, and the guides you refer to use fastboot not flash_image.
But thx. anyway.
adb can't flash image.
The only thing you can do over adb, is call the flash_image binary that you call from Terminal Emulator.
Having the bootloader locked, fastboot flash is not an option, so I guess there is nothing to use but flash_image.
The syntax is the same: where you would use "fastboot flash", write "flash_image" and keep the rest.
Jack_R1 said:
adb can't flash image.
The only thing you can do over adb, is call the flash_image binary that you call from Terminal Emulator.
Having the bootloader locked, fastboot flash is not an option, so I guess there is nothing to use but flash_image.
The syntax is the same: where you would use "fastboot flash", write "flash_image" and keep the rest.
Click to expand...
Click to collapse
you may also create an update.zip if thats easier for you

Change/Replace TWRP Recovery with CWM (ClockWorkMod) on LG P880

I have no idea, if this is device specifc, reading some threads it could be maybe.
How do I replace twrp 2.7.1.0 with cwm t 6.0.4.4 with a LG Optimus P880? Do I have to use fastboot in any case like
Code:
fastboot flash recovery CWM_T_6.0.4.4.img
as mentioned at http://forum.xda-developers.com/showthread.php?t=2523732
or can I flash cwm_t_6.0.4.4.img with TWRP 2.7.1.0?
Would it be better to use Flashify (for root users) from Christian Göllner?
First, please use the appropriate section next time.
This is development only.
Your question belongs in the Q&A section
To answer your question, there are quite a lot of ways
to achieve your goal:
- you can do it from android itself with terminal emulator (search googel for flashing recovery with t. e.)
- you can do it via fastboot (as far as I know)
- you can't flash it directly via trwp, but there may be a repacked zip with a cwm for trwp
- the flashify you noticed I don't know, nor have I ever heard of it
EDIT: as I just looked at your thread you posted the link of,
there it says that you either can flash it via fastboot or the other download via any recovery
so there should be no need for you to ask this...
Omario-242 said:
First, please use the appropriate section next time.
This is development only.
Your question belongs in the Q&A section
To answer your question, there are quite a lot of ways
to achieve your goal:
- you can do it from android itself with terminal emulator (search googel for flashing recovery with t. e.)
- you can do it via fastboot (as far as I know)
- you can't flash it directly via trwp, but there may be a repacked zip with a cwm for trwp
- the flashify you noticed I don't know, nor have I ever heard of it
EDIT: as I just looked at your thread you posted the link of,
there it says that you either can flash it via fastboot or the other download via any recovery
so there should be no need for you to ask this...
Click to expand...
Click to collapse
Oh sorry, for the wrong section.
there are quite a lot of ways
Click to expand...
Click to collapse
Yes that is the thing which confures me. There are always so many ways to do things with the same result.
And then there are ways, which I don't understand:
Code:
cat /sdcard/XXXXX.img > /dev/block/mmcblk0p1
Why don't they recommend simply cp?
there it says that you either can flash it via fastboot or the other download
Click to expand...
Click to collapse
Thanks, I didn't notice this, so there is a 2nd different download for recovery installation. Hard to guess this by the filename that cwm_t_6.0.4.4.img is for fastboot-install and cwm_touch_6.0.4.4.zip for installation by a recovery tool, if I understand http://forum.xda-developers.com/showthread.php?t=2523732 correctly.
I used https://play.google.com/store/apps/details?id=com.cgollner.flashify to flash twrp, worked without any problems.
lg-optimus said:
Why don't they recommend simply cp?
Click to expand...
Click to collapse
Because there's no 'cp' in Android shell by default (or at least there wasn't for a long time, don't remember how it's today).
Sent from my OmniROM-powered LG Optimus 4X HD

moto x 2013 update help needed urgent

So few month back i root my moto x 2013 it messed up and i put back original rom
now i receive ota update today and it downloaded but when i try to install it my phone restart and boot loader menu comes up
it show whether to install untrusted zip file i choose yes and phone restart and get back to same thing if i choose no then also same
so is there way to lock my bootloader so it dont show up when installing official update
so how do i install that new update
please tell me step by step i am noob in this
How did you root? And how did you return to stock?
I ask because its important that you also have STOCK Recovery on your phone. Stock recovery wont prompt you about "untrusted zip" for an OTA like you are describing which makes me think you still have a 3rd party recovery on there.
Please also see the link in my signature..
KidJoe said:
How did you root? And how did you return to stock?
I ask because its important that you also have STOCK Recovery on your phone. Stock recovery wont prompt you about "untrusted zip" for an OTA like you are describing which makes me think you still have a 3rd party recovery on there.
Please also see the link in my signature..
Click to expand...
Click to collapse
i root using one post on xda i forget that
and one guy give me file for retail to return to stock using mfastboot
i have asia retail rom
XT1052_RETAIL-ASIA_4.4.4_KXA21.12-L1.26_18_cid7_CFC_1FF.xml
and i am using ClockworkMod Recovery V6.0.4.8
and bootloader AP FAST BOOT FLASH MODE
30.B7 (sha-bae5e20)
abhinav54pp said:
i root using one post on xda i forget that
and one guy give me file for retail to return to stock using mfastboot
i have asia retail rom
XT1052_RETAIL-ASIA_4.4.4_KXA21.12-L1.26_18_cid7_CFC_1FF.xml
and i am using ClockworkMod Recovery V6.0.4.8
and bootloader AP FAST BOOT FLASH MODE
30.B7 (sha-bae5e20)
Click to expand...
Click to collapse
Ok,so you're not using STOCK RECOVERY. That is your big problem right now.
Please also see the link in my signature about Preparing for and taking OTA....
how to get stock recovery without putting new rom can you tell me step by step
abhinav54pp said:
how to get stock recovery without putting new rom can you tell me step by step
Click to expand...
Click to collapse
That is why I said to read the link in my signature about OTA as it tells you.
the link you provided in your tut not working can you tell me where to download
ADB and Android Platform Tools
abhinav54pp said:
the link you provided in your tut not working can you tell me where to download
ADB and Android Platform Tools
Click to expand...
Click to collapse
I have already typed exactly what you need in those posts.. Post #2 of that thread (requirement section) does explain where to get Android SDK/Platform tools, Moto Fastboot, Moto drivers, everything you need. Option 6 tells you how to flash just recovery. And those links work. (I just tried them again to make sure).
If you get stuck at a step, please quote what you are trying to do (the exact step you are executing), and what you see happen...
I've spent the time typing it out, because I don't have the time to sit and spoon feed someone.
KidJoe said:
I have already typed exactly what you need in those posts.. Post #2 of that thread (requirement section) does explain where to get Android SDK/Platform tools, Moto Fastboot, Moto drivers, everything you need. Option 6 tells you how to flash just recovery. And those links work. (I just tried them again to make sure).
If you get stuck at a step, please quote what you are trying to do (the exact step you are executing), and what you see happen...
I've spent the time typing it out, because I don't have the time to sit and spoon feed someone.
Click to expand...
Click to collapse
do i need ADB and Android Platform Tools for option 6 (how to flash just recovery)
will mfastbot and motorola driver are enough?
abhinav54pp said:
do i need ADB and Android Platform Tools for option 6 (how to flash just recovery)
will mfastbot and motorola driver are enough?
Click to expand...
Click to collapse
Is it listed as a requirement? Would I put you through that extra work if I didn't have to?
Yes, its required. components of the Android SDK's Platform tools ARE NEEDED for mfastboot to work.
And before you ask... Yes, I know there are "min adb packages" out there.. which don't contain full platform tools, the android sdk, etc... And they might work, but they are only as new/current as when they were packed, and often times you need the updated version to work properly, and these mini-adb packages are missing the SDK updater, so that is why I suggest following that process to install the entire thing (and have you only select the needed parts)... then you can update later as needed.

need link for step by step rooting - already unlocked bootloader

Hi,
I managed to unlock the Bootloader on my Moto G 2nd dual sim. Now I'm looking for a step to step how to to root my phone.
There are so many (confusing) how to's out there
I'm using Marshmallow.
Took me a while to find instructions for non Windows user to unlock bootloader ...so a step by step Linux how to would be appreciated.
thanks in advance,
Best, Martin
da.cappo said:
Hi,
I managed to unlock the Bootloader on my Moto G 2nd dual sim. Now I'm looking for a step to step how to to root my phone.
There are so many (confusing) how to's out there
I'm using Marshmallow.
Took me a while to find instructions for non Windows user to unlock bootloader ...so a step by step Linux how to would be appreciated.
thanks in advance,
Best, Martin
Click to expand...
Click to collapse
As long as you have your adb and fastboot tools installed on your computer, as well as the drivers you need for the moto g2, the steps are the same for both windows and Linux. To root:
1. Flash twrp version 3.0.0.0
Download the file, place in your fastboot folder, and then open a command window in that folder. Type : fastboot flash recovery twrp.img
2. Using TWRP, install SuperSU v2.62 only.
3. (Optional)Boot your rom up and update SuperSU to version 2.65 using the play store.
That's all you need to get root access.
Viren said:
As long as you have your adb and fastboot tools installed on your computer, as well as the drivers you need for the moto g2, the steps are the same for both windows and Linux. To root:
1. Flash twrp version 3.0.0.0
Download the file, place in your fastboot folder, and then open a command window in that folder. Type : fastboot flash recovery twrp.img
2. Using TWRP, install SuperSU v2.62 only.
3. (Optional)Boot your rom up and update SuperSU to version 2.65 using the play store.
That's all you need to get root access.
Click to expand...
Click to collapse
that doesnt work, you ned a modified boot.img or it gets stuck in a bootloop. why attempt to answer a question you clearly dont know the answer to?
dcroz said:
that doesnt work, you ned a modified boot.img or it gets stuck in a bootloop. why attempt to answer a question you clearly dont know the answer to?
Click to expand...
Click to collapse
1. You do not need a modified boot image, SuperSU will modify the boot image for you.
2. I answered your question because I've done the above hundreds of times before.
3. I do realise that I'm replying many months later than when you posted, but XDA only informed me of your reply just now.

Looking for All in One Toolkit to Root HTC One M7

I am a complete newbie when it comes to rooting phones and stuff. I have been going through the tutorials and the toolkits that have been posted here years ago. However, when I click on "install HTC drivers" the program doesn't do anything...
Are there current and working All in One Toolkits to root my HTC One M7? Would be highly highly appreciated.
MrAlexM said:
I am a complete newbie when it comes to rooting phones and stuff. I have been going through the tutorials and the toolkits that have been posted here years ago. However, when I click on "install HTC drivers" the program doesn't do anything...
Are there current and working All in One Toolkits to root my HTC One M7? Would be highly highly appreciated.
Click to expand...
Click to collapse
I would recommend you to do it without using any toolkit. There are all outdated anyway and doing it the right way is only 3 steps:
Unlock your bootloader
Flash twrp recovery
Install the latest supersu.zip using twrp recovery
alray said:
I would recommend you to do it without using any toolkit. There are all outdated anyway and doing it the right way is only 3 steps:
Unlock your bootloader
Flash twrp recovery
Install the latest supersu.zip using twrp recovery
Click to expand...
Click to collapse
Sounds good but how do I do it exactly? is there a step by step tutorial that I can "blindly" follow?
MrAlexM said:
Sounds good but how do I do it exactly? is there a step by step tutorial that I can "blindly" follow?
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=xuIq0gmYpFA
https://www.youtube.com/watch?v=EE6F-4KjR9I
Just make sure to use the latest twrp recovery and supersu.zip, not the versions instructed in the videos.
I am stuck at the bootloader unlocking stage where I download the fastboot.exe on the desktop and run it within cmd.exe
But it does virtually nothing. The bootloader zip from htcdev contained just the bootloader.exe whereas in the video tutorial it comes with a DLL and another file.
I specified the HTC One M7 as this is the phone that I am currently working with and want to root.
What am I missing, what am I doing wrong?
MrAlexM said:
I am stuck at the bootloader unlocking stage where I download the fastboot.exe on the desktop and run it within cmd.exe
But it does virtually nothing. The bootloader zip from htcdev contained just the bootloader.exe whereas in the video tutorial it comes with a DLL and another file.
I specified the HTC One M7 as this is the phone that I am currently working with and want to root.
What am I missing, what am I doing wrong?
Click to expand...
Click to collapse
You can use minimal adb and fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
This will install the correct files (adb.exe fastboot.exe and their dll) and create a shortcut to launch a termimal window from the correct folder (start menu --> program ---> minimal adb and fastboot --> minimal adb and fastboot.exe
Then continue with step 5 from htcdev.com/bootloader
When you'll get your Unlock_code.bin file, don't forget to save it in the same folder where minimal adb and fastboot is installed on your computer (by default C:\minimal adb and fastboot\)
Fantastic, thank you, I was able to unlock the bootloader. Now I am off to the second video to actually root my phone now. Will let you guys know how it goes!
The problem now is that in the thread that the said root video's thread is now different. There is not the root "SuperSU" file in it anymore, what to do? I either need to find the supersu root files or I need a different tutorial. Sorry for the noobish questions I am just scared to break my phone so I need to make sure to follow the steps closely and not improvise stuff
Edit: I did it and I finally got the hang of it.
1. I unlocked the bootloader
2. I installed the twrp ROM for my HTC One M7
3. I downloaded the newest supersu zip from the original supersu site and put that into my internal storage
4. I entered into the recovery mode and picked "install" and chose the supersu zip
Thanks for your help guys

Categories

Resources