Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Flashing rom in Linux (Arch Linux)

OP shashpant

11th February 2014, 05:18 AM   |  #1  
OP Junior Member
Thanks Meter: 3
 
26 posts
Join Date:Joined: May 2012
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
11th February 2014, 10:23 AM   |  #2  
Member
Thanks Meter: 14
 
51 posts
Join Date:Joined: Jan 2012
More
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 ).
Last edited by pikitsan; 11th February 2014 at 06:21 PM. Reason: typo
12th February 2014, 08:21 AM   |  #3  
OP Junior Member
Thanks Meter: 3
 
26 posts
Join Date:Joined: 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:
[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:
[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
12th February 2014, 03:20 PM   |  #4  
Member
Thanks Meter: 14
 
51 posts
Join Date:Joined: Jan 2012
More
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes