Welcome to TechDiscussion Forums


Your one stop community for Technical Assistance


  •  » Need latest Tech Updates?
  •  » Looking for Windows Troubleshooting?
  •  » Want some optimization Tips for Smartphone?
  •  » Or any other Technology discussion?

...You have come to the right place!


we will try to help you with your problem.


YES! I want to register an account for free right now!


p.s.: For registered members TechDiscussion.in is free of ads

Results 1 to 2 of 2

Thread: How to root any android phone from Linux

  1. #1
    Super Moderator
    Join Date
    Oct 2012
    Posts
    296

    How to root any android phone from Linux

    If you have windows then it is quiet easy to root your device through various tools. You can install Odin for Samsung, or Fastboot for other android phone. The benefit here is that we have a very simple user interface and you can find required drivers for the same. But m any of us want to go with some advance work or does not use Windows PC. So the next option is using Linux.

    Today Ubuntu is the most popular Linux operating system and I am going to show you how you can root your phone through Ubuntu. You need a few extra things for that and it is extremely easy. You can root your device fast. But you have to find the right rom before moving ahead. Because that is the only thing where you stuck. Without appropriate rom your phone will not boot. It can brick forever. And you have to carry that to the service center. Rooting also lose warranty. You have to pay for re-flashing.

    The good thing about Linux is that your rooting is more accurate here. There are less chances of having issues. In Windows the applications is not stable your phone can stop booting. If the app crash in between then your phone is dead forever. So lest move ahead with simple process of rooting android on Linux.

    Requirements:

    • A Ubuntu PC
    • Android Bootloader
    • Android ROM
    • Android ADB Setup
    • Android SDK Installation

    •   Alt Ads!

      TechDiscussion
       

  2. #2
    Super Moderator
    Join Date
    Oct 2012
    Posts
    296

    Re: How to root any android phone from Linux

    Step 1: Update your system with latest Android SDK Package.

    • Go in Android SDK site and download the latest package for Linux. The packages are different for android 32 and 64 bit.
    • Type ia32-libs in terminal and hit enter.
    • You have then install openjdk-6-jdk.
    • Extract the content of Android SDK on your desktop.
    • Go in Tools > platform-tools and run gedit ~/.pam_environment.
    • A text file will open up. Type the following PATH DEFAULT=${PATH}:/path/to/tools & PATH DEFAULT=${PATH}:/path/to/platform-tools. This is a path to SDK.


    Step 2: You have to unlock the bootloader for devices like HTC or other Phone.

    • Launch Terminal and type apt-get install android-tools-fastboot. This will work only after fastboot is configured.
    • Then type fastboot oem unlock. If you get error then you have to create a non-root user through 51-android.rules.
    • Devices like HTC, Sony will ask you a unlock key. You have to type fastboot oem unlock 0x<unlock key>. In other phone the device will be unlocked.


    Step 3: Installing custom recovery

    • Once the device is unlocked you can copy the custom recovery file in the memory card of your phone. You have to boot your phone in recovery mode. There are different set of key combination of doing that. Once you are in recovery you have to go in install from zip card section and select the custom recovery. Tap on that and done. The phone is now installed with custom recovery. And you can now install any rom.
    • To install custom recovery through pc type fastboot flash recovery recovery.img in terminal.
    • Later on install apps like SuperSU. This will help you for further rooting process if nothing works.

Similar Threads

  1. How to Root Nokia X Android Phone to run all Google services
    By !!Master!! in forum Guides and Tutorials
    Replies: 1
    Last Post: 21-03-14, 02:59 AM
  2. Root any Android phones in just one tap with APK
    By Nectar in forum Smartphone & Portable Fixes
    Replies: 4
    Last Post: 20-10-13, 10:39 PM
  3. Tips to install Linux on Micromax Funbook Tablet
    By Online in forum Guides and Tutorials
    Replies: 2
    Last Post: 05-12-12, 10:10 PM
  4. Operate Mozilla Firefox 10 in linux-32 Bit.
    By ABSOLON in forum Internet & Web Browsers
    Replies: 1
    Last Post: 19-03-12, 12:12 AM
  5. Need MSI 880GM-E41 drivers for running Linux
    By rex in forum Hardware Peripherals
    Replies: 3
    Last Post: 23-01-12, 04:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About TechDiscussion

    TechDiscussion.in is an Open Source Community to provide latest information from Technology World, provide instant help for users tech related issues, we provide free downloads for your Computers, Smartphones, and more...

Follow us on

Twitter Facebook youtube RSS Feed Flickr DavianArt Dribbble