[Q] Rooting my Desire HD with "LINUX" - Desire HD Q&A, Help & Troubleshooting

I'm not in the position to have a Windows machine available for (re)rooting my phone after a recovery failure. It's reset to stock now and I need to be able to root it again.
All I have available to me is a Linux machine (Xubuntu), which I can run to get on the web, etc, but I do not know the Linux commands.
I've gotten SDK installed on it, along with Java. I'm trying to follow HTC's guide to unlock the bootloader. Their instructions relate to Windows, so when they say to do this in a command prompt, I have no clue what to do:
fastboot oem get_identifier_token​
Is there a root guide out there for the Desire HD written for Linux idiots? :silly:
Thanks.
Mike

TheImpalaKid said:
I'm not in the position to have a Windows machine available for (re)rooting my phone after a recovery failure. It's reset to stock now and I need to be able to root it again.
All I have available to me is a Linux machine (Xubuntu), which I can run to get on the web, etc, but I do not know the Linux commands.
I've gotten SDK installed on it, along with Java. I'm trying to follow HTC's guide to unlock the bootloader. Their instructions relate to Windows, so when they say to do this in a command prompt, I have no clue what to do:
fastboot oem get_identifier_token​
Is there a root guide out there for the Desire HD written for Linux idiots? :silly:
Thanks.
Mike
Click to expand...
Click to collapse
Don't use HTCDEV. Use AAHK by attn1. Instructions (Linux and Windows) come with it, in the very detailed "effin manual." Links and instructions are in the PDF in post #7 of the "need help" link in my signature.

bananagranola said:
Don't use HTCDEV. Use AAHK by attn1. Instructions (Linux and Windows) come with it, in the very detailed "effin manual." Links and instructions are in the PDF in post #7 of the "need help" link in my signature.
Click to expand...
Click to collapse
Yes. In particular you may want to create a Ubuntu boot CD and run (rather than install) Ubuntu from it - that way you don't have to mess about at all with your existing setup and it's pretty much fail-safe.

Thanks
bananagranola said:
Don't use HTCDEV. Use AAHK by attn1. Instructions (Linux and Windows) come with it, in the very detailed "effin manual." Links and instructions are in the PDF in post #7 of the "need help" link in my signature.
Click to expand...
Click to collapse
Thanks, that was a very detailed "effin manual"... worked like a charm. Thankfully it's back to normal.
Mike

Related

try cooked rom in android emulator?

So i found a great kitchen for cooking htc android roms: http://forum.xda-developers.com/showthread.php?t=633246 ...i would like to cook my own rom and try it out on the android emulator which i have installed on windows 7 (from here: http://gizmodo.com/5544988/how-to-try-android-froyo-on-your-computer)
Any one know how to do this? i have run command line prompts before but I am still a bit of a noob, so any one with tips that can be as detailed as possible are greatly appreciated!!!
thanks!!!
adeyo said:
So i found a great kitchen for cooking htc android roms: http://forum.xda-developers.com/showthread.php?t=633246 ...i would like to cook my own rom and try it out on the android emulator which i have installed on windows 7 (from here: http://gizmodo.com/5544988/how-to-try-android-froyo-on-your-computer)
Any one know how to do this? i have run command line prompts before but I am still a bit of a noob, so any one with tips that can be as detailed as possible are greatly appreciated!!!
thanks!!!
Click to expand...
Click to collapse
I believe you need to extract the rom image and install
http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-market-etc/
extract rom image and install
i have actually looked at that link a few times...i guess i just needed someone to show me how to perform those steps in more detail. Ex, step #3 states: "Run a command prompt, and change to the 'tools' directory of the SDK (or add the tools directory to your path)." I actually needed someone to show me how to exactly type things in an open terminal, etc. I have run prompts before but i am still new to it all... also, do i run a prompt in the emulator itself?? or open up a windows terminal etc.
Thanks for the help, any more specifics appreciated.
Thanks

Need a bit of S-Off help

Hi everyone,
I'm trying to S-Off my HTC Desire and I'm having some issues with it. Whenever I try to use the tutorial on the download page and put in the first fastboot command then it fails and gives me an error message. I want to try using the zip file to update my HBOOT but I'm not sure of what I should do with it. Am I supposed to flash it using clockwork?
thanks
use alpharev
They are, but they don't get the process
To the OP, if you don't get it then it's not for you as the instructions are 100% self explanatory so if you don't know basic command line commands then perhaps it isn't for you. Read some more and if you have a question - Google it as everything can be found there
EddyOS said:
They are, but they don't get the process
To the OP, if you don't get it then it's not for you as the instructions are 100% self explanatory so if you don't know basic command line commands then perhaps it isn't for you. Read some more and if you have a question - Google it as everything can be found there
Click to expand...
Click to collapse
indeed but even worse
if he reads alpharev.nl he would see that the zip img and the fastboot commands are only available once you already have s-off and are for updates or changes
he needs to download the iso burn to cd and boot it.
I did this yesterday. Downloaded Oracles WM engine and just booted it with the live CD. Apart from a few USB issues a few retries i eventually got it right and that on a x64 Windows 7 main OS

[Q] Linux CWM Guide

I'm using Ubuntu x64 live cd and I'm trying to flash CWM. Is there a detailed guide on how to do this? I'm not use to using linux so the most detailed would be helpful. Thanks.
bluedegeon said:
I'm using Ubuntu x64 live cd and I'm trying to flash CWM. Is there a detailed guide on how to do this? I'm not use to using linux so the most detailed would be helpful. Thanks.
Click to expand...
Click to collapse
Why don't you just do that through Windows?
androidxen said:
Why don't you just do that through Windows?
Click to expand...
Click to collapse
I've tried it a couple times but never got past step 1. on this guide.
http://forum.xda-developers.com/showthread.php?t=1160814
I can't find the files he ask for in step 2 even though I installed the SDK tools
bluedegeon said:
I've tried it a couple times but never got past step 1. on this guide.
http://forum.xda-developers.com/showthread.php?t=1160814
I can't find the files he ask for in step 2 even though I installed the SDK tools
Click to expand...
Click to collapse
Hm, I'm looking at them right now. Did you do a clean, good SDK install? Double check in Android/Tools or whatever directory. It's right there...
androidxen said:
Hm, I'm looking at them right now. Did you do a clean, good SDK install? Double check in Android/Tools or whatever directory. It's right there...
Click to expand...
Click to collapse
Yes I did. Reinstalling again just to make sure. When the packages popped up I just checked "Accept all" and now its installing everything.
I found the first 2 files under platform tools because there was a text that said they had been moved there. I find the dds file under tools and copied em to my C:\
Moved to proper forum.

How to install TWRP + FFF + Custom ROM on Mac? No one-click/simple solutions please!

Okay, well the title should be pretty self explanatory I hope, but here's what I'm looking for:
A way to install TWRP and FireFireFire 1.4 on a Kindle Fire using a Mac (OS X 10.7.4 Lion if anyone wants to know).
I know that you should install TWRP only through fastboot then use TWRP to flash FFF and your custom ROM.
I also know there's something about modifying Android SDK drivers to make ADB and fastboot work properly with the Kindle Fire.
I am not looking for any sort of one-click solution. I once jailbroke my iPhone using a simple one-click, it didn't turn out well. Fortunately iPhones are almost always fixed by an iTunes restore. Did it using redsn0w after that, it was better. I manually installed homebrew on my Wii as well, which is more complex than redsn0w and more of an actual manual install. Wii homebrew works beautifully.
Anyways, I'm against one-clicks/simple rooters/jailbreakers because it seems like if even one thing is out of place, they mess things up.
I want to manually do this, and I know there's a way to. I just need to install Android SDK, I can do that. Modify the drivers, this is the thing I need the most assistance with, because I don't know how to do it and I know tools like KFU do it automatically. And of course, I want to manually use pokey9000's fbmode to get into fastboot, then flash TWRP, then get into TWRP, flash FFF and my custom ROM.
Anyone who could help me with this, I'd greatly appreciate it!
Well I see you don't want the easy solution but maybe part of this will help you with the drivers easily http://forum.xda-developers.com/showthread.php?t=1790139 then its just a matter of fastboot flashing twrp.img and fff.bin to your kindle. From that point you enter recovery make a backup. I suggest reboot after this. transfer a ROM zip and gapps zip of your choice to the root of your sdcard. Boot back to recovery- factory reset, -wipe cache, -wipe dalvik,-wipe system,-flash ROM,-flash gapps- select reboot then select system if prompted enjoy
---------- Post added at 03:49 AM ---------- Previous post was at 03:32 AM ----------
Take some time read these to threads since the hard way makes you happy familiarize yourself with what needs to be done and how to do it so you are always in the safe zone http://forum.xda-developers.com/showthread.php?t=1552547 and this http://forum.xda-developers.com/showthread.php?t=1638452 kinfauns took a lot of time to compile these threads to build awareness I believe he as well is on Mac just a guess. Some of this is a little gauged to windows but the concept is relatively the same so I have been told. I'm on windows myself and I understand that on Mac and Linux drivers aren't a problem as they are on windows. Good luck don't be afraid to ask more questions before you leap others out there have more experience with Mac than I
Edit: And note that I said fff.bin is the file you fastboot flash not a zip a zip file will break your bootloader severely unless you flash in recovery then a zip is the desired file type. Research is good prevents mishaps
Thepooch said:
Well I see you don't want the easy solution but maybe part of this will help you with the drivers easily http://forum.xda-developers.com/showthread.php?t=1790139 then its just a matter of fastboot flashing twrp.img and fff.bin to your kindle. From that point you enter recovery make a backup. I suggest reboot after this. transfer a ROM zip and gapps zip of your choice to the root of your sdcard. Boot back to recovery- factory reset, -wipe cache, -wipe dalvik,-wipe system,-flash ROM,-flash gapps- select reboot then select system if prompted enjoy
---------- Post added at 03:49 AM ---------- Previous post was at 03:32 AM ----------
Take some time read these to threads since the hard way makes you happy familiarize yourself with what needs to be done and how to do it so you are always in the safe zone http://forum.xda-developers.com/showthread.php?t=1552547 and this http://forum.xda-developers.com/showthread.php?t=1638452 kinfauns took a lot of time to compile these threads to build awareness I believe he as well is on Mac just a guess. Some of this is a little gauged to windows but the concept is relatively the same so I have been told. I'm on windows myself and I understand that on Mac and Linux drivers aren't a problem as they are on windows. Good luck don't be afraid to ask more questions before you leap others out there have more experience with Mac than I
Edit: And note that I said fff.bin is the file you fastboot flash not a zip a zip file will break your bootloader severely unless you flash in recovery then a zip is the desired file type. Research is good prevents mishaps
Click to expand...
Click to collapse
BreakDroid is one of those "one click" solutions I'm really trying to keep away from. I know that installing a custom bootloader + recovery is just a matter of having your computer properly recognize the Kindle Fire as an ADB interface, which I need to modify drivers for. I need to know how to modify drivers.
After that, it's just that I need to get into fastboot and I've got it from there.
Well, since you want a complex approach, may as well go with Firekit: http://forum.xda-developers.com/showthread.php?t=1430038&highlight=firekit (install_fff_twrp_from_stock)
I simply just said to use breakdroid for the driver install I didn't suggest you use it for anything else but with drivers I'm sure there are plenty of driver setup tutorials for Mac and the kindle fire so Google is your friend. Read the very first sentence of my first post seems you overlooked that
Breakdroid works great though is simple and installs exactly what you need. From there you have twrp and can flash away.
Sent from my MB860 using xda app-developers app
Thepooch said:
I simply just said to use breakdroid for the driver install I didn't suggest you use it for anything else but with drivers I'm sure there are plenty of driver setup tutorials for Mac and the kindle fire so Google is your friend. Read the very first sentence of my first post seems you overlooked that
Click to expand...
Click to collapse
Actually from what I've seen on various tutorials, ones about rooting, they always have instructions for Windows to install drivers but most of them instruct Mac / Linux to skip that step, then Mac / Linux picks back up where you're already issuing ADB and fastboot commands. I feel totally stupid if I've overlooked this, but if it's actually possible to skip this step that'd be so much easier.
Also I did read your first post. But when looking at BreakDroid I saw nothing specific about installing drivers, just that it was supposed to be a simple tool where you go through each step.
blue71 said:
Breakdroid works great though is simple and installs exactly what you need. From there you have twrp and can flash away.
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
All simple tools are meant to work great. Unfortunately, they just don't sometimes.
Is there anyone who has actually rooted a Kindle Fire on Mac or Linux here that can verify you don't need to do anything with drivers? And that just installing the Android SDK is sufficient to proceed?
superriku11 said:
All simple tools are meant to work great. Unfortunately, they just don't sometimes.
Click to expand...
Click to collapse
Very true. The unfortunate part is when users of these tools have no idea how to get themselves out of trouble, but I digress...
superriku11 said:
Is there anyone who has actually rooted a Kindle Fire on Mac or Linux here that can verify you don't need to do anything with drivers? And that just installing the Android SDK is sufficient to proceed?
Click to expand...
Click to collapse
Here's a guide for setting up a Linux environment...
http://forum.xda-developers.com/showthread.php?t=1475740
All you really need for Linux are the binaries (adb/fastboot) and /root/.android/adb_usb.ini with 0x1949 in it. Once you have those, you just need to run the binaries as root. The other things in that guide sets things up so a user without root privileges can access the USB ports and set paths to those binaries. There are no "drivers" in the Windows sense to be installed and you don't need to install the SDK if you can find those binaries elsewhere.
I'm confident the setup will be similar to Mac OS X, but udev is linux specific. I don't know what the Mac OS X equivalents are because I've always used virtual machines with Linux or Windows to interact with the KF. Regardless, you should still be able to use them as root and issue commands to the KF.
Thepooch gave you links to my guides... whichever OS you decide to use, all of the fastboot and adb commands will be the same. You just need to swap out the directory path conventions from Windows to Linux/Mac OS X.
kinfauns said:
Very true. The unfortunate part is when users of these tools have no idea how to get themselves out of trouble, but I digress...
Here's a guide for setting up a Linux environment...
http://forum.xda-developers.com/showthread.php?t=1475740
All you really need for Linux are the binaries (adb/fastboot) and /root/.android/adb_usb.ini with 0x1949 in it. Once you have those, you just need to run the binaries as root. The other things in that guide sets things up so a user without root privileges can access the USB ports and set paths to those binaries. There are no "drivers" in the Windows sense to be installed and you don't need to install the SDK if you can find those binaries elsewhere.
I'm confident the setup will be similar to Mac OS X, but udev is linux specific. I don't know what the Mac OS X equivalents are because I've always used virtual machines with Linux or Windows to interact with the KF. Regardless, you should still be able to use them as root and issue commands to the KF.
Thepooch gave you links to my guides... whichever OS you decide to use, all of the fastboot and adb commands will be the same. You just need to swap out the directory path conventions from Windows to Linux/Mac OS X.
Click to expand...
Click to collapse
Thanks for your help! Thanks for everyone's help actually! You all contributed somehow, and thanks to you I successfully installed FFF 1.4a, TWRP 2.2.0, and Jandycane 7-29 on my Kindle Fire! Awesome so far, thanks guys!
:highfive::good:

On lineage.org, I cannot understand this article for rooting my A7 (2017).

On page https://wiki.lineageos.org/adb_fastboot_guide.html whatever is written under Linux is beyond my understanding. I am using Ubuntu 14.04 and want to root my A7 (2017) with that OS. I have extracted the .zip file namely platform-tools_r30.0.1-linux.zip which doesn't match with the article's 2nd point under Linux, that is Extract it somewhere - for example, ~/adb-fastboot. I do not extracted any folder with name 'adb-fastboot' however I got a folder namely 'platform-tools'.
Now coming to the 3rd point what they mean by Add the following to ~/.profile: which is followed by some commands. Do I need to open some text file namely ".profile" or something and add those commands to it??
And 5th point says You may also need to set up udev rules: see this repository for more info.. So how do I know if I need to set up udev rules? And what are udeve rules in the first place?
I am supposing to root my phone step by step. But it seems very hard. I can't get hold of a Windows PC which seems easy compared to Linux. Also I am not following any guide on XDA Developers because my phone is supported by official Lineage OS website and I am following their instructions.
Hi,
Adb fastboot guide isn't necessary for root on LineageOS. You can find the root addon here https://download.lineageos.org/extras. You'll want to download 16.0 arm64 one.
Just enter your recovery (TWRP) and flash the root addon. Later you can enable it in developer options.
Some users flash magisk (search xda for it) so you can try that too.
livelife01 said:
On page https://wiki.lineageos.org/adb_fastboot_guide.html whatever is written under Linux is beyond my understanding. I am using Ubuntu 14.04 and want to root my A7 (2017) with that OS. I have extracted the .zip file namely platform-tools_r30.0.1-linux.zip which doesn't match with the article's 2nd point under Linux, that is Extract it somewhere - for example, ~/adb-fastboot. I do not extracted any folder with name 'adb-fastboot' however I got a folder namely 'platform-tools'.
Now coming to the 3rd point what they mean by Add the following to ~/.profile: which is followed by some commands. Do I need to open some text file namely ".profile" or something and add those commands to it??
And 5th point says You may also need to set up udev rules: see this repository for more info.. So how do I know if I need to set up udev rules? And what are udeve rules in the first place?
I am supposing to root my phone step by step. But it seems very hard. I can't get hold of a Windows PC which seems easy compared to Linux. Also I am not following any guide on XDA Developers because my phone is supported by official Lineage OS website and I am following their instructions.
Click to expand...
Click to collapse
Using ADB isnt the "normal" way to root a samsung device.
The preferred method is installing a custom recovery (like TWRP, SHRP or Orangefox) and then simply install magisk in the recovery.
I dont know if its even possible to root through ADB to be honest.
Also, even if your phone is supported by Lineage, that doesnt mean every guide on their website fits perfectly to your device.
Simon1511 said:
The preferred method is installing a custom recovery (like TWRP, SHRP or Orangefox) and then simply install magisk in the recovery.
Click to expand...
Click to collapse
Then can you please please tell me how can I root my A7 (2017) with baseband version A720FXXU9CTA2? I also prefer TWRP over any other method because I have used it before but it was near a decade ago and now I have forgotten so much things. It's best if I am given a way to root on Linux (my work computer) otherwise I have to wait or purchase a Windows PC.
(PS: Every forum made for a specific phone on XDA should have an official thread with step by step rooting instructions.)
livelife01 said:
Then can you please please tell me how can I root my A7 (2017) with baseband version A720FXXU9CTA2? I also prefer TWRP over any other method because I have used it before but it was near a decade ago and now I have forgotten so much things. It's best if I am given a way to root on Linux (my work computer) otherwise I have to wait or purchase a Windows PC.
(PS: Every forum made for a specific phone on XDA should have an official thread with step by step rooting instructions.)
Click to expand...
Click to collapse
See here:
https://forum.xda-developers.com/sa...w-to/guide-root-install-twrp-samsung-t3747535
If you want to install lineage anyway, you dont need to care about the RMM and no-verity things.
For rooting, you can simply search for a guide on how to install magisk on google, there are more than enough.

Categories

Resources