• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[UNIVERSAL GUIDE] Root Any Android Device Manually !

Did This Work?


  • Total voters
    217
Search This thread

hichemkanon

Member
Jan 31, 2017
5
0
hello brother

thank you for your explanation
but for me as begguiner i did'nt understand very well
if possible help me plz to root my android phone, i already unlocked its bootloader
if you accept plz guide me in whatsapp or facebook messenger
 

Abuhuraira007

Member
Mar 20, 2020
7
2
Hello.

I am trying to use a rooted Android device, using Terminal Emulator, to manually root another Android device, which is stuck in a bootloop, so that I can get it out of the bootloop. Both devices are running Android 4.2.2 JellyBean.

Because the target device is stuck in a bootloop, I cannot root it using a root app such as KingoRoot, Kingroot, or similar apps. Thus, I can only root it manually using adb. Thus, I cannot use Method #3.

I see where you wrote that this thread is obsolete and to try method #3, but because the device i am trying to root is running Android 4.2.2, it shouldn't be obsolete for that device.

I have tried both Methods #1 and #2, but i have encountered an obstacle on each.

Method #1:

Although your thread states that Method #1 is obsolete, the device I am attempting to root is running Android 4.2.2, so it might not be obsolete for this device.

Every step works until I get to Step #8:
sudo nautilus

I get the error message:
/system/bin/sh: sudo: not found

I don't have access to a PC.
I am trying to use a rooted Android device, using Terminal Emulator. Is there another step or substitute I can use in place of "sudo nautilus"?

If so, it seems that if i can get Step #8 to work, i should then be able to get Steps #9 and #10 to work.

Method #2:

Everything works until I get to the line:
./psneuter

I get the following response:

Failed to set prot mask (Inappropriate ioctl for device)

I have read the thread, and I see where others have previously received this error message, but I don't see where anyone posted how to fix or address this problem.

Any assistance with getting either Methods #1 or #2, or both, to work would be greatly appreciated.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 142
    THIS GUIDE NO LONGER WORKS BECAUSE ANDROID ISN'T WHAT IT USED TO BE BACK IN 2013-14.
    PLEASE STOP WASTING TIME TO FOLLOW THIS OBSOLETE METHOD 1. PLEASE REFER ONLY TO METHOD 3​

    The Ultimate Guide to Rooting any Android Device Manually !!!!

    Wanting to ROOT Your Phone but can't do Because Of No rooting Guides or want to learn to root any device ? Then , This Guide Is For YOU

    OK So lets start....

    **What You Need**

    1.Your Unrooted Android Device.
    2.ADB Drivers Installed On Your PC. If you Don't Have Download From Here :
    Code:
    adbdriver.com/‎
    3. The Most Inportant Root Kit Made By Me (N'ayam Amarsh'e) - Download From The Attachment.
    4.Strength And Courage 'Coz Rooting Voids Your Warranty... If You have a samsung device then Don't Worry Your warranty is gone forever... But if you own any other, maybe you can void it or maybe......

    I've Written Android Device as ADV to make it more easy....

    **Steps**
    So you have the adb drivers installed let's go....

    1. Open The root kit by Extracting The Rootkit with WinRAR....

    2.Turn 'USB DEBUGGING' 'ON' in your ADV...

    3. Connect your ADV to Your PC...

    4.In the root kit Open Cmd.exe File ... [ IF YOU CAN'T OPEN CMD, GOTO C:/WINDOWS/SYSTEM32/ COPY CMD .EXE TO YOUR ROOTKIT FOLDER]

    5. In CMD window Type the following command...

    Code:
    ->adb devices       *Your device will get listed in the window if it doesn't check your adb drivers or if you have followed the steps properly...
    ->adb push busybox /data/local/tmp 
    
    ->adb push su /data/local/tmp 
    
    ->adb push Superuser.apk /data/local/tmp
    If you Succeed Move On ...

    6.Then You need Root Shell Type :

    Code:
    adb shell
    Note that you see a "$" sign in the command prompt. That means you are not in 'su' shell.

    7.Next run the following commands in the shell to change permissions and get some limited privileges for the Superuser files:

    Code:
    ->chmod 6755 /data/local/tmp/su 
    
    ->chmod 755 /data/local/tmp/busybox 
    
    ->chmod 644 /data/local/tmp/Superuser.apk
    {Note}The names of the files are case sensitive!

    8.Done ? Now You need to open a copy of linux which has nautilus... So enter your linux (I recommend using ubuntu 11.4) and type in the terminal (ctrl+alt+T)
    Code:
    ->sudo nautilus
    this will open nautilus with root privileges...

    You can just boot it from USB so no hassle of installing it... http://www.cyberciti.biz/tips/download-ubuntu-linux-11-04-iso-cd-dvd-images-natty-narwhal.html
    Having your ADV connected with USB to PC switch it off and put it in download/recovery mode...



    9.In The Exploring Window navigate to
    Code:
    /data/local/tmp
    and move/cut 'su' and 'busybox' to
    Code:
    /system/bin
    ...

    10.From the tmp Folder you went earlier Move/cut 'Superuser.apk' to
    Code:
    /system/app
    11.Now Reboot You ADV ... Congrats ! You're now ROOTED !

    Many Users Are Having Problem with This Method, If you can't do the method 1. Try Method 2.


    METHOD 2
    PLEASE DON'T ASK ME ABOUT THIS METHOD, THIS IS JUST FOR A TRY, MY BROTHER FOUND THIS METHOD TO BE WORKING, I HAVEN'T TRIED IT YET!

    This is linux based method, It's quite easy if you follow every step correctly...

    You need to download psneuter, https://github.com/tmzt/g2root-kmod/tree/master/scotty2/psneuter


    When you have it execute the following...


    Code:
    adb devices

    Code:
    adb push psneuter /data/local/tmp
    This will copy the file to your device and now we'll execute it..

    Code:
    adb shell
    
    cd /data/local/tmp
    
    chmod 777 psneuter
    
    ./psneuter

    Now You'll see

    Code:
    adb kill-server
    adb devices
    adb shell
    now # will appear in place of $, or after typing $su.

    Code:
    # mount -o remount,rw -t rfs /dev/block/st19/system
    # exit
    $ adb push busybox /system/bin
    $ adb push su /system/bin
    $ adb install Superuser.apk
    $ adb shell
    # chmod 4755 /system/bin/busybox
    # chmod 4755 /system/bin/su
    # mount -o remount,ro -t rfs /dev/block/st19/system
    # exit
    $ adb reboot
    Now your device will reboot and you can see SuperUser App in your app drawer...

    ----------------------------------------------------------------------
    METHOD 3

    There is no chance of the phone not getting rooted with my method but If you don't want to do the above methods, Try these, I'm pretty sure they will root your device with ease...

    1. Framroot App [Not On Google Play]-http://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276

    2.KingoRoot App - www.kingoapp.com

    3.One Click Root Free/Pro (My Favorite app, roots many devices with No-Brick Guarantee) - www.oneclickroot.com

    4.Root Master App - forum.xda-developers.com/showthread.php?t=2672150

    5.z4root App - http://forum.xda-developers.com/showthread.php?t=833953

    6.Easy rooting toolkit App-http://forum.xda-developers.com/showthread.php?t=1321582

    7.Vroot Software - http://vrootdownload.info/ or http://www.mgyun.com/en/getvroot

    8.SRSRoot Software - http://www.srsroot.com

    9.Unlock Root Software - http://www.unlockroot.com/download.html

    10.Universal Androot App - forum.xda-developers.com/attachment.php?attachmentid=391774

    ONLY FOR MTK DEVICES- MTK DROID TOOLS- http://forum.gsmhosting.com/vbb/f60...3-2014-imei-repair-rooting-tool-more-1780568/

    HOPE THESE WILL DO....


    Press Thanks To appreciate me to Work On Other Guides And Roms....

    Your Appreciation Is Needed...

    And This GUIDE IS Originally By N'ayam Amarsh'e
    6
    I am about to try this on a Telstra T-Hub 2. If it works, I'll seriously buy you a beer. I've tried 4 other root methods and they don't work. Everything so far has been successful, just about to try the Linux part. I absolutely don't mind downloading Ubuntu if I can get this thing rooted.

    EDIT: So yeah I am stuck on the Ubuntu part because I can't seem to get this device to go to Download Mode. Only one other person on the entire forum has said there is a download mode, but I am not sure if he was confused with 'Android System Recovery 3e' because it's not the same thing. Because I can't get the device in Download Mode, I can't mount the device to Ubuntu and then follow the last few steps...

    If anyone has any ideas please advise. As it stands I've tried every button combination I can think of. So far it's:

    Volume - & Power to boot to the dead Android screen.
    Then Power & Volume + to boot into recovery. But there doesn't seem to be a way to root ICS 4.04 from just that.
    I've tried every other combination of buttons to get to actual 'Download Mode' but I don't think this device even comes with one.

    EDIT AGAIN:

    I am now convinced after reading this thread again that it is impossible to get this method to work. The OP doesn't provide any sort of proof that this method works, or any pictures at all.
    I also feel like it is impossible to get Nautilus to see the device's root directory '/' simply by just booting the phone into download or recovery mode. As it doesn't mount the device's partition on recovery mode, and on download mode Linux still cannot see the device. (I just tried with 2 of my Samsung phones).

    This is a broken method that absolutely does not work.
    A bunch of people all have the same issue and the OP instead replies weeks later saying that he has dropped support for this thread' and to PM him.

    Guys don't bother wasting your time with this method. When it comes time to use Linux or something else, that can transfer the files to /system/xbin or /system/bin you can't do it because it's read-only. The '/' root partition isn't visible on Linux no matter what, and it's impossible to open up a folder browser with root privileges that can see that partition so you can move the files.

    Try other methods, and forget this stupid thread.. I am using a device that seems to have no real root method, but I have listed a lot of methods that I have tried on in this thread. You can google some:

    http://forum.xda-developers.com/general/rooting-roms/how-root-telstra-t-hub-2-ics-download-t2964883
    2
    I could never get the Nautilus part of this to work. I tried on an Ubuntu device, a jump drive, and a virtual box.
    If the author is still monitoring this thread, I think a lot of us would appreciate a video tutorial for this. (Or an alternative to using Nautilus altogether).

    Sent from my MT2L03 using XDA Free mobile app
    2
    Sorry, but this person is a bit clueless and is mainly good for asking "press help".

    The "2nd method" doesn't even need linux!

    It just has a binary run from inside android.
    Dear epigramx,

    Should I correct you? What I was Asking Was Press Thanks not Press help...

    2nd Method, I've Written A ton of times on this thread, isn't made by me but my Brother...

    So I won't be able to tell you about 2nd Method, but Many Users have really benefitted from these methods...

    Please, Leave a reply If you too, And, I'm not at all clueless but a little bit of Clueless mixed with Madness You can say...

    Regards,
    N'ayam

    THREAD SUPPORT WAS DROPPED

    Thanks everyone for Support...
    2
    The Ultimate Guide to Rooting any Android Device Manually !!!!

    ......

    8.Done ? Now You need to open a copy of linux which has nautilus... So enter your linux (I recommend using ubuntu 11.4) and type in the terminal (ctrl+alt+T)
    Code:
    ->sudo nautilus
    this will open nautilus with root privileges... To know how to do it go to http://pricklytech.wordpress.com/20...buntu-11-4-natty-with-unity-2d-in-virtualbox/
    having your ADV connected with USB to PC switch it off and put it in download/recovery mode... [linux link on the website... here's virtualbox's https://www​. virtualbox .org/]

    9.In The Exploring Window navigate to
    Code:
    /data/local/tmp
    and move/cut 'su' and 'busybox' to
    Code:
    /system/bin
    ...
    ...

    I connect my Samsung I9082 (in Download mode/Recovery mode) to my computer which is running Vitual box with Ubuntu. Open Nautilus, but I see nothing. It seems Ubuntu cannot communicate with the phone.
    The samsung device is checked in Vitual box device menu already.

    Any help???