FORUMS

Analysis & Opinion

If you ever had problems with Ubuntu when using fastboot

52 posts
Thanks Meter: 12
 
By Destr0y3r, Member on 31st May 2014, 03:16 AM
Post Reply Subscribe to Thread Email Thread
Quote:
Originally Posted by Destr0y3r

Hello again! , this is just feedback of my experience the method to restore the phone to stock via ubuntu's terminal , if people are having some trouble with this , here i have a small tutorial on how to do it without a hitch.
SETTING UP FOR FASTBOOT
Open terminal and type in the following commands:
sudo apt-get install android-tools-fastboot
sudo apt-get install android-tools-adb
after this type in:

sudo apt-get update

Then here comes something a little bit complicated
you have to type : sudo apt-get install gksu (if i remember)
then after installing "gksu" type in
"gksu gedit /etc/udev/rules.d/51-android.rules"
this command will open a windows with a blank text file , in the text file type in:
# Motorola Moto G SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="2e80", MODE="0666", OWNER="plugdev" SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="2e76", MODE="0666", OWNER="plugdev"
after doing all this work if you guys didn't get confused simply reboot and just in case enable USB Debugging on the proggramer settings (to enable Developer settings go to About phone --> tap 7 times the Build number box and it will say "You are now a proggramer! that's it.
After rebooting your PC/Laptop , plug in your device and your device should have Moto G or "XT1032" as a name.

If you want to check if you succesfully did the proccess , open terminal and type
sudo adb devices
It should show some sort of model name , that means everything is ok , now to continue with all this proccess just type in "sudo adb reboot-bootloader and it should get you to Fastboot , on fastboot type in "sudo fastboot" and then type in just like the thread says
example:
"sudo fastboot flash recovery recovery.img"
OPTIONAL
If you want to open terminal from your folder where you have everything just go to terminal and type the command
sudo apt-get install nautilus-open-terminal
Once it installs, type "nautilus -q && nautilus" & to quit and reopen nautilus, and check the right click option. <------ IF THIS LAST COMMAND DOESN'T WORK TYPE IN "sudo nautilus -q && nautilus" , It should open the File

Explorer , close the terminal and now an option "Open with terminal" will appear when right
clicking.

Hope my new first thread helped you out! , i copied this from a previous comment i made on the thread "http://forum.xda-developers.com/showthread.php?t=2542219"
Last edited by Destr0y3r; 31st May 2014 at 06:36 AM. Reason: INFO
 
 
4th July 2015, 08:34 PM |#2  
Junior Member
Thanks Meter: 0
 
More
Exclamation Ubuntu 15.04 for XT1033 ?
Quote:
Originally Posted by Destr0y3r

Hope my new first thread helped you out! , i copied this from a previous comment i made on the thread "http://forum.xda-developers.com/showthread.php?t=2542219"

I want to use fastboot on a Moto G (XT1033) on an Ubuntu 15.04 64 bit. However, I am not showing USB connected on the device in fastboot mode, and fastboot devices gives blank output (i.e. no devices detected).
  1. I have already installed fastboot using sudo apt-get install android-tools-fastboot
  2. Created an anroid.rules file named ##-android.rules in /etc/udev/rules.d/. A persistent.rules file already existed with ##=70, so I used the same number for the android.rules file first. I also tried with ##=91, ##=50 and ##=51 after deleting the old files. None worked.
  3. Tried all these variants in the android.rules file
    • SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", MODE="0666", OWNER="plugdev"
    • SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="2e76", MODE="0666", OWNER="plugdev"
    • SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
  4. Restarted udev using service udev restart. Rebooting yeilded same effect.
  5. using mfastboot v2 (found on xda forums) didn't help. Device was still undetected

How do I get fastboot working with my XT1033 on Ubuntu?
4th July 2015, 08:54 PM |#3  
lost101's Avatar
Senior Member
Thanks Meter: 3,840
 
Donate to Me
More
Try: sudo fastboot devices
4th July 2015, 08:55 PM |#4  
Junior Member
Thanks Meter: 0
 
More
No use
4th July 2015, 09:02 PM |#5  
lost101's Avatar
Senior Member
Thanks Meter: 3,840
 
Donate to Me
More
All that extra stuff is not necessary. Start again, just install fastboot.
4th July 2015, 09:13 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by lost101

All that extra stuff is not necessary. Start again, just install fastboot.

I'm sorry but I don't understand what you want me to do. Real noob here.
You want me to uninstall the android-tools-fastboot package, delete the rules files and simply reinstall the package?
4th July 2015, 09:17 PM |#7  
lost101's Avatar
Senior Member
Thanks Meter: 3,840
 
Donate to Me
More
Quote:
Originally Posted by e14ng

I'm sorry but I don't understand what you want me to do. Real noob here.
You want me to uninstall the android-tools-fastboot package, delete the rules files and simply reinstall the package?

Yes.
5th July 2015, 07:23 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Thumbs up
That did the trick. Thanks !!
Post Reply Subscribe to Thread

Tags
fastboot flash troubleshoot ubuntu android
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes