Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,296 Members 52,463 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Flashing rom in Linux (Arch Linux)

Tip us?
 
shashpant
Old
#1  
Junior Member - OP
Thanks Meter 3
Posts: 21
Join Date: May 2012
Arrow [Q] Flashing rom in Linux (Arch Linux)

Hi

I have installed Arch Linux but cannot find suitable material on setting up drivers and utilities for flashing rom on Linux specifically arch linux.

I can setup arch even if instructions are available for other distro Linux Mint and Ubuntu so any link can come in handy.

I was using flashtool in windows but after shifting to Arch, I am not sure whats the right procedure to do it.

I have unlocked bootloader and rooted rom (FXP kernel + MIUI) installed as of now which I want to change asap.

Please help.

Regards
Follow me at Twitter- @shashpant
 
pikitsan
Old
(Last edited by pikitsan; 11th February 2014 at 05:21 PM.) Reason: typo
#2  
Member
Thanks Meter 14
Posts: 49
Join Date: Jan 2012
Hello,

You don't need any drivers,just install android-udev and android-sdk-platform-tools for adb and fastboot (both from aur).
Download latest flastool and run it from the terminal just like you do in windows (it requires jre and libusbx from official repos ).
 
shashpant
Old
#3  
Junior Member - OP
Thanks Meter 3
Posts: 21
Join Date: May 2012
Ok I have reinstalled fatsboot, android-sdk-platform-tools and openjre

Now I still cannot use fastboot devices , its list nothing.

Also since I should have adb available (from sdk-platform) when I run adb it says no command ?

Code:
Select Code
[shashwat@arch fastboot]$ fastboot devices
[shashwat@arch fastboot]$ sudo fastboot devices
[shashwat@arch fastboot]$ sudo fastboot devices
[shashwat@arch fastboot]$ sudo adb
sudo: adb: command not found
[shashwat@arch fastboot]$ adb
bash: adb: command not found
I have also installed udev-android , previous I created 51-android.rules manually but still doesnt work.

fastboot won't list the devices nor it works.

Code:
Select Code
[shashwat@arch fastboot]$ lsusb
Bus 002 Device 005: ID 413c:2107 Dell Computer Corp. 
Bus 002 Device 003: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 021: ID 0fce:5146 Sony Ericsson Mobile Communications AB 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Follow me at Twitter- @shashpant
 
pikitsan
Old
#4  
Member
Thanks Meter 14
Posts: 49
Join Date: Jan 2012
First of all make sure you have enabled usb debugging on your phone.Adb and fastboot should be under /opt/android-sdk/platform-tools/ and also 51-android.rules file in /usr/lib/udev/rules.d/ (with -rw-r--r-- permissions).

With these things i have everything in my sytem to flash roms etc,maybe you're missing something with your installation.
Also for more information check wiki from archlinux wiki.archlinux.org/index.php/android
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes