Related
So, Ubuntu 11.10 "Oneiric Ocelot" is finally out. I've been using it for about a week now and i like it. I used Ubuntu a couple of years ago (9.04) so i got shocked when i saw the Unity thingy. I hated it so much that i installed Gnome-Shell, and it's the best thing i've done.
Are you planing on installing or testing "Oneiric Ocelot"?
Really? No Ubuntu/Linux users here? At XDA? I'm shocked!
It is?! Awesome!
I plan on using it.
-Hercules grabbed my post, and threw it at your face to be read-
Hell yeah it is! But you WILL hate Unity (if you've already tried it and love it, then good for you), but overall it's pretty sweet! It's missing some stuff though like Synaptic and other system tools, but it's not really a problem.
But i guess Canonical is trying to make Ubuntu extra "n00b friendly"
Btw, here's an article from Lifehacker about 11.10
http://lifehacker.com/5836779/ubuntu-linux-1110-oneiric-ocelot-released-heres-whats-new?
Video of 11.10 with Gnome Shell:
BazookaAce said:
Hell yeah it is! But you WILL hate Unity (if you've already tried it and love it, then good for you), but overall it's pretty sweet! It's missing some stuff though like Synaptic and other system tools, but it's not really a problem.
But i guess Canonical is trying to make Ubuntu extra "n00b friendly"
Click to expand...
Click to collapse
They took out synaptic? Wtf?! It's in 11.04...? I have unity, I like it, and don't yet I don't. It's a love hate relationship.
-Hercules grabbed my post, and threw it at your face to be read-
Yeah it's in 11.04 but not in 11.10 But i guess you can install it yourself, haven't tried it myself yet. Added video to my previous post btw.
I have no idea how to spell that
Sent from my HTC Sensation Z710e
BazookaAce said:
Yeah it's in 11.04 but not in 11.10 But i guess you can install it yourself, haven't tried it myself yet. Added video to my previous post btw.
Click to expand...
Click to collapse
You think if I do a apt get dist-upgrade it would remove my synaptic?
-Hercules grabbed my post, and threw it at your face to be read-
Well it didn't happen when i did it, but my computer crashed last night so i did a fresh install, and then it was gone. But it shouldn't get removed by upgrading through the update manager. Check the "will be removed" part before you hit the upgrade button.
BazookaAce said:
Hell yeah it is! But you WILL hate Unity (i guess Canonical is trying to make Ubuntu extra "n00b friendly"
Click to expand...
Click to collapse
Ubuntu.... "n00b friendy"? Sweet!
I'm planning on getting a new internal HD next payday and partitioning it with Windows 7 on one partition and Ubuntu on another. If it wasn't for Visual Studio and all the music software I use (Sony Acid & Sound Forge and Fruity Loops) then I'd probably go all out Linux.
Glad to hear I've selected a good n00b version
Hahah Oh, it's noob friendly! It takes some time getting used to it though, so keep that in mind
I did have a play with a live CD I burnt and found it to play just like Windows, on the surface. I know when it comes to doing anything "under the bonnet" then I've got some learning to do. I've been using PCs long enough to remember when they were just DOS boxes though, so it's probably not going to be anything new - just need to translate current knowledge into new knowledge I guess.
Good to know there's some linuxy types in off-topic for when I shout for help
Yup, but it's actually not that hard. I'm miles away from the super nerds, but as long as you can remember these commands, you'll be just fine:
- sudo apt-get install [package name]
- Example: sudo apt-get install firefox
Done. Firefox is installed.
Want to remove firefox?
- Sudo apt-get remove firefox
Don't know the package name for, lets say, a music player:
- sudo apt-cache search music player
The terminal will list all the packages with "music player" in it with the package name. So if you end up wanting "Banshee", you'll see that the package name is only "banshee". So then you type "sudo apt-get install banshee".
You'll end up saving a lot of time installing and uninstalling apps this way instead of opening the Software Center everytime you want something.
These are my most used commands:
- sudo apt-get install
- sudo apt-get remove
- sudo apt-get install --reinstall [package name] (reinstall an app)
- sudo apt-cache search (search for package)
- sudo apt-get autoremove (removes obsolete packages)
- sudo reboot (reboot)
- sudo poweroff (turn the computer off)
Very nice, thanks
If it's that simple to do things like that from the terminal app then I can see why people use it so much. Imagine trying to do that from a DOS prompt in windows!
rundll32.exe some.dll,FunctionNameIKnowCosIDisassembledSomethingEx "don't know what this parameter is for", filename, -LETTERSTHATMEANNOTHINGTOME
Thanks for that post mate - this thread is most certainly bookmarked.
Thank you very much I'm a super noob with Linux and I didn't know how to install Firefox lol. But this install command is used for .tar.gz files, right?
Sent from my HTC Sensation Z710e
Haha, true true! If you feel extra nerdy you can try Arch. I tried it, and the room got hotter by the minute. It was hell.
And btw, i forgot two commands:
- sudo apt-get update (update/reload the repositories)
- sudo apt-get upgrade (will install new updates)
But again, you don't need terminal anymore. You can easily do everything (99%) through the menus.
BazookaAce said:
Haha, true true! If you feel extra nerdy you can try Arch. I tried it, and the room got hotter by the minute. It was hell.
And btw, i forgot two commands:
- sudo apt-get update (update/reload the repositories)
- sudo apt-get upgrade (will install new updates)
But again, you don't need terminal anymore. You can easily do everything (99%) through the menus.
Click to expand...
Click to collapse
I like the idea of doing stuff from terminal. Makes me feel more like Neo
idavid_ said:
Thank you very much I'm a super noob with Linux and I didn't know how to install Firefox lol. But this install command is used for .tar.gz files, right?
Sent from my HTC Sensation Z710e
Click to expand...
Click to collapse
Oh, the tar.gz. If you're a noob (i'm still a noob), then stay away from the tar.gz You'll need to compile the package yourself using the terminal, and that's not that easy, so just try to download .deb files (same as .exe - in other words "double click and install")
But when you want to install Firefox or whatever you're downloading them from a repository, so the only thing the terminal needs to know is what you want to do (apt-get install/remove/reinstall) and the package name (firefox/opera/banshee/wine etc.).
BazookaAce said:
Oh, the tar.gz. If you're a noob (i'm still a noob), then stay away from the tar.gz You'll need to compile the package yourself using the terminal, and that's not that easy, so just try to download .deb files (same as .exe - in other words "double click and install")
But when you want to install Firefox or whatever you're downloading them from a repository, so the only thing the terminal needs to know is what you want to do (apt-get install/remove/reinstall) and the package name (firefox/opera/banshee/wine etc.).
Click to expand...
Click to collapse
i only used one line command and that's it
---------- Post added at 06:35 AM ---------- Previous post was at 06:34 AM ----------
johncmolyneux said:
I like the idea of doing stuff from terminal. Makes me feel more like Neo
Click to expand...
Click to collapse
agreed, and it's easier to use the terminal than checking the menus one by one
hiu115 said:
i only used one line command and that's
Click to expand...
Click to collapse
Hey hey hey! Share your secret! It better be shorter than this: |________|
Hello Everyone.
Let me just start by saying I AM NOT a developer and do not take credit for this information. Just did some Googling and came across it and I haven't really seen this in the forum here and I really found it useful. It is a link to an article with instructions on how to set up ADB without the massive developer download that comes packaged with the standard Android SDK. Written by Lalit Indoria on the "Hack My Android" site.
Basically it allows you to easily run ADB commands without ANY complicated set up. Remember you will still need the proper drivers for your device and always follow instructions so you don't bork anything up. I followed this to both flash the new 4.4 image and also root my Nexus 4. With it being the weekend I don't suspect we will get any OTA until Monday at the earliest so for those of us that are growing ever impatient.. here you go. Enjoy. :good:
http://www.hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479
Also on recent debian distributions (currently debian jessie - testing - and debian sid - unstable), or ubuntu quantal and newer, you can simply install adb and fastboot by installing a few packages:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
jcnbama said:
Hello Everyone.
Let me just start by saying I AM NOT a developer and do not take credit for this information. Just did some Googling and came across it and I haven't really seen this in the forum here and I really found it useful. It is a link to an article with instructions on how to set up ADB without the massive developer download that comes packaged with the standard Android SDK. Written by Lalit Indoria on the "Hack My Android" site.
Basically it allows you to easily run ADB commands without ANY complicated set up. Remember you will still need the proper drivers for your device and always follow instructions so you don't bork anything up. I followed this to both flash the new 4.4 image and also root my Nexus 4. With it being the weekend I don't suspect we will get any OTA until Monday at the earliest so for those of us that are growing ever impatient.. here you go. Enjoy. :good:
http://www.hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479
Click to expand...
Click to collapse
Mini-adb comes with adb.exe, fastboot.exe and two adb .dlls needed to run adb in windows. So basically to run adb all that is required is 3 files. Also fastboot doesn't require anything except the executable. Mini-adb has been out there for about 2 years that I know of on androidforums.
fredericve said:
Also on recent debian distributions (currently debian jessie - testing - and debian sid - unstable), or ubuntu quantal and newer, you can simply install adb and fastboot by installing a few packages:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Click to expand...
Click to collapse
If you do that, you also need to do step 1 from here: http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
You can install the Wugs nexus toolkit. It has all the features you need.
eksasol said:
If you do that, you also need to do step 1 from here: http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
Click to expand...
Click to collapse
That was not necessary on my debian Sid install. Yesterday I simply installed the packages, Co nected my nexus 7 and used adb sideload to flash the kitkat ota.
The steps seem to apply to Ubuntu precise. Maybe it is not necessary in newer versions.
Yes, I have an unlocked bootloader, and I'm rooted and was running the GPE ROM. However, I wasn't doing anything special. I was using adb to push a movie to my device. After a really long time (about 50 minutes, the file was almost 7 GB) I get an error in the command prompt saying the the push failed or permission denied or something. I try turning on the phone and nothing happens. I unplug and plug back in and this QHSUSB_DLOAD thing is in the device manager instead. I did a little Googling and it seems that this means the phone could be hardbricked?! I've tried holding the power button for at least a minute, power and volume down, power and volume up. The buttons aren't flashing as they usually do if it's being hard resetted. I also tried the light trick for those who know about it but no dice. Currently I have it plugged into an outlet, but the charging LED isn't on. I'm freaking out. Am I screwed or is there a way to fix this? I've read the USB QDLoader 9008 cited specifically for hardbricking but mine doesn't have any numbers attached to the end of it.
lostradiant said:
Yes, I have an unlocked bootloader, and I'm rooted and was running the GPE ROM. However, I wasn't doing anything special. I was using adb to push a movie to my device. After a really long time (about 50 minutes, the file was almost 7 GB) I get an error in the command prompt saying the the push failed or permission denied or something. I try turning on the phone and nothing happens. I unplug and plug back in and this QHSUSB_DLOAD thing is in the device manager instead. I did a little Googling and it seems that this means the phone could be hardbricked?! I've tried holding the power button for at least a minute, power and volume down, power and volume up. The buttons aren't flashing as they usually do if it's being hard resetted. I also tried the light trick for those who know about it but no dice. Currently I have it plugged into an outlet, but the charging LED isn't on. I'm freaking out. Am I screwed or is there a way to fix this? I've read the USB QDLoader 9008 cited specifically for hardbricking but mine doesn't have any numbers attached to the end of it.
Click to expand...
Click to collapse
here's a potential fix: http://forum.xda-developers.com/showthread.php?t=2770684
if this doesn't work and its under warranty then return it to your provider.
I bought the unlocked version straight from HTC a little more than a year ago with no extra warranty. Do you think they will still repair it for free? And if they ask if the bootloader is unlocked or not, if it's S-Off or not(it is), and rooted, what should I say? Also, I'm kinda curious why it bricked in the first place when I wasn't even writing to system or anything, just copying an MKV file.
lostradiant said:
I bought the unlocked version straight from HTC a little more than a year ago with no extra warranty. Do you think they will still repair it for free? And if they ask if the bootloader is unlocked or not, if it's S-Off or not(it is), and rooted, what should I say? Also, I'm kinda curious why it bricked in the first place when I wasn't even writing to system or anything, just copying an MKV file.
Click to expand...
Click to collapse
first of all never tell them it was rooted or s-off etc, they will tell you that you have to pay, they will shift all failure blame on to you.
secondly, if it was over a year ago they will probably make you pay anyway, telling you that your warranty has expired.
did you try the unbrick project ?
Seanie280672 said:
here's a potential fix: http://forum.xda-developers.com/showthread.php?t=2770684
if this doesn't work and its under warranty then return it to your provider.
Click to expand...
Click to collapse
lostradiant said:
I bought the unlocked version straight from HTC a little more than a year ago with no extra warranty. Do you think they will still repair it for free? And if they ask if the bootloader is unlocked or not, if it's S-Off or not(it is), and rooted, what should I say? Also, I'm kinda curious why it bricked in the first place when I wasn't even writing to system or anything, just copying an MKV file.
Click to expand...
Click to collapse
I posted the same unbrick project link in the other thread you asked about this in. It's definitely worth a try. Don't be put off by the fact it requires Linux. It's not that difficult to setup a bootable usb stick you won't need to touch your Windows install at all. I can certainly help you with that. And it could fix your phone for free, where as HTC probably won't
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Danny201281 said:
I posted the same unbrick project link in the other thread you asked about this in. It's definitely worth a try. Don't be put off by the fact it requires Linux. It's not that difficult to setup a bootable usb stick you won't need to touch your Windows install at all. I can certainly help you with that. And it could fix your phone for free, where as HTC probably won't
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Click to expand...
Click to collapse
Hi, I'm going to try it soon. I do have experience with Linux(my major is CS) . The only thing is, where do I get fastboot on Ubuntu? I've already booted into Ubuntu from USB and I'm downloading the package from that unbrick link.
lostradiant said:
Hi, I'm going to try it soon. I do have experience with Linux(my major is CS) . The only thing is, where do I get fastboot on Ubuntu? I've already booted into Ubuntu from USB and I'm downloading the package from that unbrick link.
Click to expand...
Click to collapse
here: http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
lostradiant said:
Hi, I'm going to try it soon. I do have experience with Linux(my major is CS) . The only thing is, where do I get fastboot on Ubuntu? I've already booted into Ubuntu from USB and I'm downloading the package from that unbrick link.
Click to expand...
Click to collapse
to install adb fastboot this is easy just 3 commands in the terminal. Thanks to Webupd8 team.
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Make sure your connected to the internet and press Ctrl+Alt+T to open the terminal then type or copy and paste the above commands one at a time waiting for each to complete there out put. It may seem to have stopped at times but be patient when the prompt returns to normal enter the next command and when there all done your ready to use adb and fastboot.
Edit:- @Seanie280672 beat me to it
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Danny201281 said:
to install adb fastboot this is easy just 3 commands in the terminal. Thanks to Webupd8 team.
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Make sure your connected to the internet and press Ctrl+Alt+T to open the terminal then type or copy and paste the above commands one at a time waiting for each to complete there out put. It may seem to have stopped at times but be patient when the prompt returns to normal enter the next command and when there all done your ready to use adb and fastboot.
Edit:- @Seanie280672 beat me to it
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Click to expand...
Click to collapse
Hi the first two commands work but the last one doesn't seem to:
Code:
[email protected]:~$ sudo apt-get install android-tools-adb android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package android-tools-adb
E: Unable to locate package android-tools-fastboot
if you get any errors whilst downloading adb and fastboot, you may need to go into control panel and settings and enable Eclipse, or something like that its just a tick box, took me ages to work this part out.
EDIT: yup you have the same problem I was having, you need to enable that setting, cant remember exactly where it is, but its in control panel somewhere, its just a tick box.
lostradiant said:
Hi the first two commands work but the last one doesn't seem to:
Code:
[email protected]:~$ sudo apt-get install android-tools-adb android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package android-tools-adb
E: Unable to locate package android-tools-fastboot
Click to expand...
Click to collapse
Mmm that's a problem from the repository side. Maybe the packages were updated and renamed or removed for some reason
I know they were removed once before but then came back due to regular requests. I'll take a look at the git page brb
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
---------- Post added at 08:22 PM ---------- Previous post was at 08:18 PM ----------
lostradiant said:
Hi the first two commands work but the last one doesn't seem to:
Code:
[email protected]:~$ sudo apt-get install android-tools-adb android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package android-tools-adb
E: Unable to locate package android-tools-fastboot
Click to expand...
Click to collapse
What version of ubuntu are you using?
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Danny201281 said:
Mmm that's a problem from the repository side. Maybe the packages were updated and renamed or removed for some reason
I know they were removed once before but then came back due to regular requests. I'll take a look at the git page brb
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
---------- Post added at 08:22 PM ---------- Previous post was at 08:18 PM ----------
What version of ubuntu are you using?
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Click to expand...
Click to collapse
I believe it's Ubuntu 14.04.1 LTS (64 Bit). It's the one on here: http://www.ubuntu.com/download/desktop
Seanie280672 said:
if you get any errors whilst downloading adb and fastboot, you may need to go into control panel and settings and enable Eclipse, or something like that its just a tick box, took me ages to work this part out.
EDIT: yup you have the same problem I was having, you need to enable that setting, cant remember exactly where it is, but its in control panel somewhere, its just a tick box.
Click to expand...
Click to collapse
I did a search in the system settings for eclipse and nothing showed up. Do I need to install eclipse then?
lostradiant said:
I believe it's Ubuntu 14.04.1 LTS (64 Bit). It's the one on here: http://www.ubuntu.com/download/desktop
I did a search in the system settings for eclipse and nothing showed up. Do I need to install eclipse then?
Click to expand...
Click to collapse
you need to use 32bit firsat of all.
lostradiant said:
I believe it's Ubuntu 14.04.1 LTS (64 Bit). It's the one on here: http://www.ubuntu.com/download/desktop
I did a search in the system settings for eclipse and nothing showed up. Do I need to install eclipse then?
Click to expand...
Click to collapse
Seanie280672 said:
you need to use 32bit firsat of all.
Click to expand...
Click to collapse
Edited :- 64bit is supported by the repository but ubuntu 14.10 is not supported by the repository
go here http://releases.ubuntu.com/12.04/ and download Ubuntu from the first link at the top that says PC (Intel x86) desktop CD
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Seanie280672 said:
you need to use 32bit firsat of all.
Click to expand...
Click to collapse
Poop. Okay, I'll go and install that.
lostradiant said:
Poop. Okay, I'll go and install that.
Click to expand...
Click to collapse
if you get the download issue again, see my post here, finally found it, its how to fix the download problem, might be worth doing it before downloading anything, as you'll see from my post and the user I quoted, took us both ages to figure the problem out: http://forum.xda-developers.com/showpost.php?p=52920846&postcount=49
once universe, not eclipse, was enabled, everything downloaded and installed fine.
lostradiant said:
Poop. Okay, I'll go and install that.
Click to expand...
Click to collapse
One other heads up when using Fastboot in linux all commands must start with sudo preffix or they will fail. So
Code:
fastboot devices
becomes
Code:
sudo fastboot devices
And so on the same for all Fastboot commands. Adb however works just the same as in Windows. But if when you first try adb devices you get
Code:
no permissions ????????????
Then type
Code:
sudo killall adb
Disconnect your usb cable and reconnect then
Code:
sudo adb devices
After that adb should work and without the sudo preffix.
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Danny201281 said:
One other heads up when using Fastboot in linux all commands must start with sudo preffix or they will fail. So
Code:
fastboot devices
becomes
Code:
sudo fastboot devices
And so on the same for all Fastboot commands. Adb however works just the same as in Windows. But if when you first try adb devices you get
Code:
no permissions ????????????
Then type
Code:
sudo killall adb
Disconnect your usb cable and reconnect then
Code:
sudo adb devices
After that adb should work and without the sudo preffix.
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
Click to expand...
Click to collapse
Okay I will keep that in mind. But it seems that all you need to do is call the sudo ./revive.sh. I'm assuming that does all the work for you? I'm currently redownloading the Unbrick tar file. Assuming this process doesn't work, do you have any guesses on how much HTC will charge to fix this? If it's $300 or close I may as well just get a Nexus 5 instead.
lostradiant said:
Okay I will keep that in mind. But it seems that all you need to do is call the sudo ./revive.sh. I'm assuming that does all the work for you? I'm currently redownloading the Unbrick tar file. Assuming this process doesn't work, do you have any guesses on how much HTC will charge to fix this? If it's $300 or close I may as well just get a Nexus 5 instead.
Click to expand...
Click to collapse
Yes but after the unbrick there is some more flashing to be done and I'd bet money that adb and Fastboot won't work in Windows because Windows is great like that but Linux will always work because it doesn't need drivers for Android phones because it's boss!!! Lol. just trying to keep you going through any potential pit falls :good:
And sorry no I have no idea how much HTC would charge I suppose it depends what they find. Also I'm from the UK so GBP for me
Sent from my HTC One M7 ARHD 71.1 (Minus Purple tint) using TapaTalk
When I run the sudo ./revive.sh I get:
Code:
[email protected]:~/Downloads$ sudo ./revive.sh
HTC Unbricking Project M7_UL 0.6beta
Detecting bricked device..
Device can't be found, check connections. Aborting
I've tried 2 different ports(a 2.0 and a 3.0) and it couldn't find it in either.
However if I run this command:
Code:
[email protected]:~/Downloads$ sudo dmesg -C
[email protected]:~/Downloads$ dmesg
[ 1319.253743] usb 2-1.2: new high-speed USB device number 12 using ehci-pci
[ 1319.346976] usb 2-1.2: New USB device found, idVendor=05c6, idProduct=9008
[ 1319.346989] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1319.346995] usb 2-1.2: Product: QHSUSB_DLOAD
[ 1319.347000] usb 2-1.2: Manufacturer: Qualcomm CDMA Technologies MSM
[ 1319.347697] qcserial 2-1.2:1.0: Qualcomm USB modem converter detected
[ 1319.347928] usb 2-1.2: Qualcomm USB modem converter now attached to ttyUSB0
It is clearly being found.
Hi mates, please help.
I have just update my girlfriends HTC One M7.
It was a 4.2 Android version from ARHD. I didn't notice that I needed to update Recovery in order to run new ROMs and now is looping in HTC logos.
The problem is that Fastboot isn't working with Windows 8.1 (I've been hours trying different drivers).
ADB is working right, but I can not install RECOVERY.IMG throught recovery or sideload.
I was thinking in installing through sideload an old ROM that works with my Recovery but I can not find any.
¿Any other solution?
¿A factory reset will work?
Thanks,
I'm in a hurry, i'm leaving soon and i do not like to let her with a brick mobile.
SergiNS said:
Hi mates, please help.
I have just update my girlfriends HTC One M7.
It was a 4.2 Android version from ARHD. I didn't notice that I needed to update Recovery in order to run new ROMs and now is looping in HTC logos.
The problem is that Fastboot isn't working with Windows 8.1 (I've been hours trying different drivers).
ADB is working right, but I can not install RECOVERY.IMG throught recovery or sideload.
I was thinking in installing through sideload an old ROM that works with my Recovery but I can not find any.
¿Any other solution?
¿A factory reset will work?
Thanks,
I'm in a hurry, i'm leaving soon and i do not like to let her with a brick mobile.
Click to expand...
Click to collapse
Win 8.1 does not work with lower hboots. You should try a Win 7 computer or Linux on USB.
HOW TO USE LINUX FOR FASTBOOT & ADB VIA USB
This guide originally posted by @Danny201281
http://forum.xda-developers.com/showpost.php?p=54272479&postcount=219Linux is your friend; if your drivers are not working the chances of getting them working again without the phone booting are slim. But Linux doesn't need drivers to talk to your device.
Go here: http://www.pendrivelinux.com/ and download Universal USB Installer – Easy as 1 2 3
Then go here: http://releases.ubuntu.com/12.04/ and download Ubuntu from the first link at the top that says PC (Intel x86) desktop CD
Then use these files to create a bootable Linux USB drive with at least a 2 GB persistent file for storing files. You'll also probably need to change your boot settings in the computers bios to boot from USB.
MOVING YOUR FILES TO UBUNTU
Once booted you should be at a screen with options to "Try Ubuntu” or "Install Ubuntu". We don’t need to Install anything so just choose "Try Ubuntu" and the computer will boot to the Ubuntu Desktop (If you get a popup saying "system has encountered an error" or something similar just cancel and ignore it, it should have no effect on what we need to do as it is due to missing Linux OS updates we don’t need). On the left of the screen you'll see the Dock. Open the orange folder icon near the top this is the Home folder. It’s where we need to put any files we need to work with such as a rom.zip you want to push to the device or recovery.img files for flashing.
To get your files here is a simple drag and drop process. In the top left of the Home folder you'll see the drive structure of you pc under devices. Choose your PCs hard drive and Right-Click then" Open in a new window". Locate your .zip or .img files and drag them into the home folder. Now wait for the copy process to complete and rename them for easier typing later, e.g., rom.zip, firmware.zip or recovery.img etc.
USING ADB AND FASTBOOT
First you need to install adb fastboot; this is easy just 3 commands in the terminal. Thanks to Webupd8 team.
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
Code:
sudo apt-get update
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Make sure your connected to the internet and press Ctrl+Alt+T to open the terminal then type or copy and paste the above commands one at a time waiting for each to complete their output. It may seem to have stopped at times but be patient when the prompt returns to normal enter the next command and when there all done you’re ready to use adb and fastboot.
Once you've moved all the files you need to the home folder that’s it you’re ready to go. Close everything down on the desktop (optional) and press Ctrl+Alt+T this will open the terminal now connect your phone with the USB cable. All fastboot commands need to have the "sudo" prefix added at the start, e.g.
fastboot flash recovery recovery.img becomes sudo fastboot flash recovery recovery.img
fastboot devices becomes sudo fastboot devices
However, adb should work basically the same as on windows. If you do have problems with normal adb commands adding “sudo” can help here as well.
If you get "no permissions ?????????" when trying to use adb, type:
Code:
killall adb
Disconnect the phone for a few seconds, then reconnect and type:
Code:
sudo adb devices
adb should now work as normal without the sudo prefix.
Click to expand...
Click to collapse
majmoz said:
Win 8.1 does not work with lower hboots. You should try a Win 7 computer or Linux on USB.
Click to expand...
Click to collapse
¿Isn't just easier to flash an old ROM that doesn't need TWRP 2.6 or higher?
I'm not used into Linux
Thanks a lot, please give any alternative you know.
SergiNS said:
¿Isn't just easier to flash an old ROM that doesn't need TWRP 2.6 or higher?
I'm not used into Linux
Thanks a lot, please give any alternative you know.
Click to expand...
Click to collapse
Yes, if you can find an older ROM that doesn't require an updated custom recovery. However, you wanted to update your girlfriends ROM and in order to do that you will need the newer custom recovery!
The other option, if you can find a newer RUU you could flash that and possibly Win 8.1 will work with the higher hboot.
Personally, Linux is not that difficult and if you follow the instructions posted you will not have an issue.
majmoz said:
Yes, if you can find an older ROM that doesn't require an updated custom recovery. However, you wanted to update your girlfriends ROM and in order to do that you will need the newer custom recovery!
The other option, if you can find a newer RUU you could flash that and possibly Win 8.1 will work with the higher hboot.
Personally, Linux is not that difficult and if you follow the instructions posted you will not have an issue.
Click to expand...
Click to collapse
I'm installing it on a pendrive right now.
Hope is easy.
Is taking time "Creating a persistent File"
As it seems, I can get files from HDD from Ubuntu isn't it?
Thanks
SergiNS said:
I'm installing it on a pendrive right now.
Hope is easy.
Is taking time "Creating a persistent File"
As it seems, I can get files from HDD from Ubuntu isn't it?
Thanks
Click to expand...
Click to collapse
Yes you will be able to access files on your pc's harddrive from the Linux pendrive. But it's better to copy them to the Linux home folder as in my guide before flashing. This is why you need the persistent file. It's like a Virtual Hard drive on your usb stick
Otherwise it will complicate flashing with long file paths needed for the adb and fastboot commands.
Just follow my mini guide and you'll be fine
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
Yes you will be able to access files on your pc's harddrive from the Linux pendrive. But it's better to copy them to the Linux home folder as in my guide before flashing. This is why you need the persistent file. It's like a Virtual Hard drive on your usb stick
Otherwise it will complicate flashing with long file paths needed for the adb and fastboot commands.
Just follow my mini guide and you'll be fine
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
Thanks a lot mate.
Right now is all done.
I will keep Ubuntu in my pendrive, it can help me in many ways.
Thanks for the guide and for the quick answers.
Always a pleasure to be in this forum.
SergiNS said:
Thanks a lot mate.
Right now is all done.
I will keep Ubuntu in my pendrive, it can help me in many ways.
Thanks for the guide and for the quick answers.
Always a pleasure to be in this forum.
Click to expand...
Click to collapse
Your welcome. Glad it got you out of trouble, Linux ain't so scary eh! [emoji12]
P.s no need to say thanks, there's a button for that sure majmoz would appreciate one or two :good:
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
I've got 2 linux boxes sitting on my desk, one is running Arch the other Ubuntu 14.04. Both machines are able to detect fastboot mode if I boot it using the stock recovery but neither is able to connect using ADB when booted to system or recovery unless sideload is enabled.
I've seen plenty of posts of people using adb in linux so I'm just trying to figure out what I'm missing. Thanks
For adb when you're fully booting into stock or a rom, do you have adb enabled in developer options?
Sblood86 said:
or recovery unless sideload is enabled.
Click to expand...
Click to collapse
That is how it is suppose to behave. Adb is not active until you select the adb sideload option.
I'm on linux.
Sblood86 said:
I've got 2 linux boxes sitting on my desk, one is running Arch the other Ubuntu 14.04. Both machines are able to detect fastboot mode if I boot it using the stock recovery but neither is able to connect using ADB when booted to system or recovery unless sideload is enabled.
I've seen plenty of posts of people using adb in linux so I'm just trying to figure out what I'm missing. Thanks
Click to expand...
Click to collapse
You can dissect the Linux VM I'm using for adb.
i386 VM http://tinyurl.com/zok3o93
amd64 VM http://tinyurl.com/j75g5ju
It's a bare bones install. Installed only 2 packages, android-tools-adb and android-tools-fastboot, and grabbed the skia tar for adb 1.0.32.
I am running as root when I use adb.
If you happen to be using an x64 kernel, I saw mentioned for adb 1.0.32. One would need to grab the following packages for it to work.
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386
thekrakah said:
You can dissect the Linux VM I'm using for adb.
i386 VM http://tinyurl.com/zok3o93
amd64 VM http://tinyurl.com/j75g5ju
It's a bare bones install. Installed only 2 packages, android-tools-adb and android-tools-fastboot, and grabbed the skia tar for adb 1.0.32.
I am running as root when I use adb.
If you happen to be using an x64 kernel, I saw mentioned for adb 1.0.32. One would need to grab the following packages for it to work.
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386
Click to expand...
Click to collapse
Long story short I wound up bypassing the need for ADB in the first place. Sorry to have bothered people
I expect it was the fact that I hadn't actually found the option to enable ADB in the settings however.