Rooting guide for OSX? - T-Mobile HTC One (M7)

Hey is there a guide to root and everything on a mac osx? I dont have a windows computer sadly.

vibrant808 said:
Hey is there a guide to root and everything on a mac osx? I dont have a windows computer sadly.
Click to expand...
Click to collapse
If you follow parts 1 and 2 on here: http://forum.xda-developers.com/showthread.php?t=2268963 then you can just flash a rooted rom through a recovery, i.e., cwm, twrp...
Part 2 has steps done through fastboot. But do a search for mac fastboot. It's typed as " ./fastboot ...." in Terminal.
Good luck..

xjedi said:
If you follow parts 1 and 2 on here: http://forum.xda-developers.com/showthread.php?t=2268963 then you can just flash a rooted rom through a recovery, i.e., cwm, twrp...
Part 2 has steps done through fastboot. But do a search for mac fastboot. It's typed as " ./fastboot ...." in Terminal.
Good luck..
Click to expand...
Click to collapse
The fastboot terminal command line command is slightly different on a Mac. One example would be:
Code:
./fastboot-mac erase cache
Note "fastboot-mac" instad of just plain "fastboot."

Related

Please Help!!!!!!!!!! :(

I tried to upgrade my recovery image to RA-hero-v1.6.2.
However I got a problem
I use adb shell method to flash the new recovery image.
when I type mount -a it show four lines of fails. and then I type flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img. After that I press reboot. My phone is now keep stay in HERO BOOT SCREEN. nothing happen. please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
For adb + fastboot method
I type adb shell reboot bootloader, it success.
but when I type fastboot boot recovery-RA-hero-v1.6.2.img it said recovery-RA-hero-v1.6.2.img cannot be load. Please help.
Can you boot your phone normal now at all or not?
If you can, use BTDAG's guide in my signature and install the custom recovery using the flashrec method.
I cannot it stuck at the "HERO" boot screen :'(
what I can do is that I can use the adb shell the browser the files inside the phone.
try flashing it via android commander mate i had that problem my self once and that fixed it
skedone said:
try flashing it via android commander mate i had that problem my self once and that fixed it
Click to expand...
Click to collapse
He can flash the recovery through Android Commander? .... Interesting.
skedone said:
try flashing it via android commander mate i had that problem my self once and that fixed it
Click to expand...
Click to collapse
Can you provide me steps?
animation said:
Can you provide me steps?
Click to expand...
Click to collapse
http://tinyurl.com/232pnzr
Have a go,.... then report back.
ddotpatel said:
http://tinyurl.com/232pnzr
Have a go,.... then report back.
Click to expand...
Click to collapse
the link is just link to google?
Its for Android Commander. Either try that,... Or see if you can get into the recovery you currently have,.... wipe what you can, then flash another rom.
ddotpatel said:
Its for Android Commander. Either try that,... Or see if you can get into the recovery you currently have,.... wipe what you can, then flash another rom.
Click to expand...
Click to collapse
I can't go into the recovery mode.
I can only go into the fastboot mode.
Try this,... Go into fastboot.
Hit BACK to enter the fastboot bit.
I should now say FASTBOOT USB or something similar.
Then you need to cd into the right directory using CMD.
example,... I have to type...
cd c:\sdk\tools ................But it might be different on yours.
then type
fastboot devices
It should bring up your device serial number.
Then type
fastboot oem rebootRUU
fastboot erase cache
Then reboot.
ddotpatel said:
Try this,... Go into fastboot.
Hit BACK to enter the fastboot bit.
I should now say FASTBOOT USB or something similar.
Then you need to cd into the right directory using CMD.
example,... I have to type...
cd c:\sdk\tools ................But it might be different on yours.
then type
fastboot devices
It should bring up your device serial number.
Then type
fastboot oem rebootRUU
fastboot erase cache
Then reboot.
Click to expand...
Click to collapse
What are these two lines did? fastboot oem rebootRUU
fastboot erase cache
I think it erases old data?
animation said:
ddotpatel said:
animation said:
After reboot? what should I do?
when I type fastboot boot recovery-RA-hero-v1.6.2.img it always said
downloading 'boot.img' ... FAILED <remote: not allow>
Click to expand...
Click to collapse
I didn't say that?.... Try what I said to erase cache,... then see if it boots.
Click to expand...
Click to collapse
I tried, but it also stuck at the boot screen.
Click to expand...
Click to collapse
The only other thing I can suggest is go into fastboot,...
then run,...
fastboot oem rebootRUU
fastboot erase cache
Keep it plugged in, then run an RUU .exe.
,... Then start from scratch again,...
sorry its droid explorer and here is link to info about program and its pritty easy to use
http://de.codeplex.com/wikipage?title=Features&referringTitle=Home
try the HEROIMG.zip method
Hello,
just another idea:
- download an original RUU.exe (preferably of an older version, rootable) and extract rom.zip (a lot of guides in the forums)
- rename to HEROIMG.ZIP and put in sdcard root
- restart hero with volume down pressed
- normally it should find the heroimg.zip and flash it and you are back to normal

[Q] Flashing Boot.img Ubuntu

Im wondering if anyone has a guide or the command for flashing a Boot.img from terminal to my HOX+ preferably by Fastboot I've tried looking but most ofthe guide are just on setting up ADB, Fastboot or Android SDK.
Im running Xubuntu 13.10 and have no access to Windows as thats how I originally gained root and flashed boot.img using a toolkit.
mackay508 said:
Im wondering if anyone has a guide or the command for flashing a Boot.img from terminal to my HOX+ preferably by Fastboot I've tried looking but most ofthe guide are just on setting up ADB, Fastboot or Android SDK.
Im running Xubuntu 13.10 and have no access to Windows as thats how I originally gained root and flashed boot.img using a toolkit.
Click to expand...
Click to collapse
Oh! An ubuntu fan like myself!
Well I hope you already followed those guides to setup the environment. If so then you should directly write "fastboot devices" and detect your device. If not then re-read those guide and setup the ADB and fastboot first then continue to read my reply.
I am running ubuntu which has the feature that if you drag and drop the file into the terminal it writes the location of the file for you.
So, write the following in terminal "sudo fastboot flash boot "and drag and drop the file into the terminal and press on enter.
IF you do not have such feature then "sudo fastboot flash boot 'LOCATION OF THE FILE' " Then press enter.
IF you get "waiting for devices" error , then re-read the guide and follow what he says about "you need to add an android.rule file in tmp"
Hope it helps, GL!
Ghand0ur said:
Oh! An ubuntu fan like myself!
Well I hope you already followed those guides to setup the environment. If so then you should directly write "fastboot devices" and detect your device. If not then re-read those guide and setup the ADB and fastboot first then continue to read my reply.
I am running ubuntu which has the feature that if you drag and drop the file into the terminal it writes the location of the file for you.
So, write the following in terminal "sudo fastboot flash boot "and drag and drop the file into the terminal and press on enter.
IF you do not have such feature then "sudo fastboot flash boot 'LOCATION OF THE FILE' " Then press enter.
IF you get "waiting for devices" error , then re-read the guide and follow what he says about "you need to add an android.rule file in tmp"
Hope it helps, GL!
Click to expand...
Click to collapse
Worked great thank you

Flashing cwm and rooting on unlocked BL P760?

Hi everyone,
So after deciding whether to do it or not, i finally unlocked my BL yesterday. At least when i dial the secret number and look at BL info, it says "UNLOCK".
But I've been trying to flash cwm and rooting but it seems my device is not being recognised in cmd.
And i am having difficulties to install fastboot drivers again because my device is not showing up at all in device manager.
If you could kindly list some simple instructions on how to flash cwm and rooting on unlocked BL (Before you ask, yes i went through all the guides with no avail) or help me to install flashboot drivers properly, it would be appreciated.
Thank you and good day.
EDIT 1: I can boot in fastboot mode, But when i do adb devices, driver installation fails and thus the command for flashing cwm says "waiting for device" and never flashes.
EDIT 2: From what i have searched from previous posts , i need to wait 30mins, I will do that and report.... Hopefully it will work
If you can boot into fastboot then do fastboot devices, adb devices are commands in adb mode, not fastboot mode, instead of flashing through adb use fastboot flash , hope I help!
Sent from my LG-P769 using xda app-developers app
EpicLordPhone said:
If you can boot into fastboot then do fastboot devices, adb devices are commands in adb mode, not fastboot mode, instead of flashing through adb use fastboot flash , hope I help!
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
Sorry,
I actually did what u said.
But when i type the command (in cmd) : C:\Android>fastboot devices ---> The command is accepted and there is a driver installation which fails.
Even then i continued and typed : C:\Android>fastboot flash recovery recovery-clockwork-touch-6.0.3.1-p760.img
But with the second command, it simply says "waiting for device" in the command window, but nothing happens.
kirakun said:
But with the second command, it simply says "waiting for device" in the command window, but nothing happens.
Click to expand...
Click to collapse
Put recovery.img on sdcard
Using Android Terminal Emulator:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
P.S Sorry my ENG
Lgeob said:
Put recovery.img on sdcard
Using Android Terminal Emulator:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
P.S Sorry my ENG
Click to expand...
Click to collapse
But I only have an unlocked BL and I do NOT have root either :/
kirakun said:
But I only have an unlocked BL and I do NOT have root either :/
Click to expand...
Click to collapse
What prevents get root?
Lgeob said:
What prevents get root?
Click to expand...
Click to collapse
When i enter fastboot mode, pc installs drivers but driver installation fails. Cannot use fastboot commands. I try to re-install fastboot drivers (omap4boot drivers) but i cannot find device in device manager
kirakun said:
When i enter fastboot mode, pc installs drivers but driver installation fails. Cannot use fastboot commands. I try to re-install fastboot drivers (omap4boot drivers) but i cannot find device in device manager
Click to expand...
Click to collapse
BL unlocked?
Get root with LGPwn.apk.
Thru Terminal put recovery.img
Lgeob said:
BL unlocked?
Get root with LGPwn.apk.
Thru Terminal put recovery.img
Click to expand...
Click to collapse
okay ill try this
Lgeob said:
BL unlocked?
Get root with LGPwn.apk.
Thru Terminal put recovery.img
Click to expand...
Click to collapse
I don't have spritebud, so LGPwn.apk does not work
kirakun said:
I don't have spritebud, so LGPwn.apk does not work
Click to expand...
Click to collapse
Try this method.
Casserole said:
Try this method.
Click to expand...
Click to collapse
Thanks for the reply ^^ I was planning to use this as last resort XD Do u think its reliable o-o?
And also after installing this i can flash cwm ?
kirakun said:
And also after installing this i can flash cwm ?
Click to expand...
Click to collapse
Do it.Не ссы :good:

Possible to root without using adb command thing ?

Hello all- I am trying to root my unlocked Redmi Note 4 but find the entire adb, command thing extremely confusing and frustrating.
Also my computer has this thing called Windows Power Shell (or something like that) so dont even have the option to open a command window.
Is there a way to root this phone that does not involve this whole adb fastboot command scenario ?
Thanks for any help, LL
lamplighter13 said:
...my computer has this thing called Windows Power Shell (or something like that) so dont even have the option to open a command window.
Click to expand...
Click to collapse
Right click on the Windows start menu icon at the extreme left, select "Run", type "cmd", and press ENTER. There you have your command window.
lamplighter13 said:
Is there a way to root this phone that does not involve this whole adb fastboot command scenario ?
Click to expand...
Click to collapse
Only if you can install Supersu or Magisk from stock Xiaomi recovery - which I very much doubt. You need a custom recovery (TWRP or whatever), and you most likely need adb to install them.
lamplighter13 said:
Hello all- I am trying to root my unlocked Redmi Note 4 but find the entire adb, command thing extremely confusing and frustrating.
Also my computer has this thing called Windows Power Shell (or something like that) so dont even have the option to open a command window.
Is there a way to root this phone that does not involve this whole adb fastboot command scenario ?
Thanks for any help, LL
Click to expand...
Click to collapse
Just follow steps carefully and you are done in seconds. Take all precautions (that your device is correctly detected through adb and fastboot, drivers installed etc) and you can't miss it. Procedure is like this since you unlocked bootloader: flash latest twrp recovery.img, boot into recovery, flash su or magisk for root, flash lazyflasher if you are staying on stock kernel and you are done. If you flash a custom rom or kernel, no need to flash lazyflasher.
Also, powershell in windows is the same as command prompt, just a more advanced version [emoji14] All commands are the same
Very very old thing: if you're not familiar how to root, don't do it!
lamplighter13 said:
Hello all- I am trying to root my unlocked Redmi Note 4 but find the entire adb, command thing extremely confusing and frustrating.
Also my computer has this thing called Windows Power Shell (or something like that) so dont even have the option to open a command window.
Is there a way to root this phone that does not involve this whole adb fastboot command scenario ?
Thanks for any help, LL
Click to expand...
Click to collapse
I know why you are frustrated, this is because that evertime you type a command in powershell it gives an error,
To actually use the commands you need to write -
"./fastboot flash recovery recovery.img"
Note that addition of two characters in the beginning? That's what you needa do.
Just install twrp and after that, life's easy:silly:
krisztian b said:
Very very old thing: if you're not familiar how to root, don't do it!
Click to expand...
Click to collapse
Read the question before you reply, don't be that guy that everyone else thinks is an idiot because your reply shows you're dangerously close.
Cheers to everyone for your help, I'm gonna try again when I get home.

Stock Rom Backup before rooting

Hi there everyone, i want to know, how can i take a backup of stock rom of my device.
Do i need to root my device before taking a backup? If not then is there any other way to take backup of Stock Rom (i.e boot.img etc) with the help of PC (here Ubuntu Linux in my case) via using ADB, Fastboot and not using custom recoveries like TWRP, Orange Fox, SHRP.
Also do i have to root my device before installing any custom recovery in it?
I am very sorry for any inconveniences, as i am a newbie please accept my apologies.
as already mentioned in other thread one can't do anything on locked bootloader, therefore backup is impossible
https://forum.xda-developers.com/t/a-question-from-a-newbie.4407343
akram0010 said:
Hi there everyone, i want to know, how can i take a backup of stock rom of my device.
Do i need to root my device before taking a backup? If not then is there any other way to take backup of Stock Rom (i.e boot.img etc) with the help of PC (here Ubuntu Linux in my case) via using ADB, Fastboot and not using custom recoveries like TWRP, Orange Fox, SHRP.
Also do i have to root my device before installing any custom recovery in it?
I am very sorry for any inconveniences, as i am a newbie please accept my apologies.
Click to expand...
Click to collapse
Assuming that the bootloader is unlocked.
aIecxs said:
as already mentioned in other thread one can't do anything on locked bootloader, therefore backup is impossible
https://forum.xda-developers.com/t/a-question-from-a-newbie.4407343
Click to expand...
Click to collapse
Sorry i forgot to mention, but still unlocking bootloader doesn't root device.
I think the question is still valid
if your bootloader is unlocked just boot into TWRP and create backup, no root required
Code:
fastboot boot recovery.img
edit: or just download MIUI according to your current properties
Code:
adb shell getprop ro.build.fingerprint
the only other method would be MTK secure boot authentification exploit
https://github.com/francescotescari/XiaoMiToolV2
https://github.com/bkerler/mtkclient
https://forum.xda-developers.com/t/mod-dev-mediatek-mtk-auth-bypass-sla-daa-utility.4232377
aIecxs said:
if your bootloader is unlocked just boot into TWRP and create backup, no root required
Code:
fastboot boot recovery.img
edit: or just download MIUI according to your current properties
Code:
adb shell getprop ro.build.fingerprint
the only other method would be MTK secure boot authentification exploit
https://github.com/francescotescari/XiaoMiToolV2
https://github.com/bkerler/mtkclient
https://forum.xda-developers.com/t/mod-dev-mediatek-mtk-auth-bypass-sla-daa-utility.4232377
Click to expand...
Click to collapse
Is root needed
aIecxs said:
if your bootloader is unlocked just boot into TWRP and create backup, no root required
Code:
fastboot boot recovery.img
edit: or just download MIUI according to your current properties
Code:
adb shell getprop ro.build.fingerprint
the only other method would be MTK secure boot authentification exploit
https://github.com/francescotescari/XiaoMiToolV2
https://github.com/bkerler/mtkclient
https://forum.xda-developers.com/t/mod-dev-mediatek-mtk-auth-bypass-sla-daa-utility.4232377
Click to expand...
Click to collapse
Can you please tell me what is this recovery.img, and where would i get it (in Fastboot rom or recovery rom).
As i said earlier i am a newbie in this field and very much confused with these terms.
no root required click on the first link above and download TWRP for your device (TWRP-3.4.2.b_lancelot.zip)
I assume you are running windows?
extract zip file and place recovery.img on your PC in platform-tools directory. connect phone in fastboot mode, install android_winusb.inf "Android Bootloader Interface" drivers and from cmd.exe check fastboot devices
if you can see device serialno you are ready to boot TWRP from fastboot with above first command.
for linux just install android-tools-fastboot
As i am using Ubuntu i installed ADB, FASTBOOT using the APT :
Code:
sudo apt install android-tools-adb android-tools-fastboot
.
Therefore i don't have the platform-tools directory.
Also I am unable to quote reply, its showing error (Oops, we broke the Matrix, someone call Neo)
yes that's right. it doesn't matter which directory files are placed. that way you installed fastboot binary is already in PATH. linux is far more easier and doesn't require additional drivers. it might require additional udev rules to make fastboot work, but you can simply by-pass with sudo fastboot for now...

Categories

Resources