1. Download our Official Android App: Forums for Android!

Root How to Root using Ubuntu

Discussion in 'Android Devices' started by SupraLance, Dec 12, 2010.

  1. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    I used this process last night to root my Samsung Infuse, no problems at all.
     

    Advertisement

  2. Spades Slick

    Spades Slick Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2
    0
    5
    Male
    I'm having issues getting SuperUser to work properly.

    All the steps from part 1 work flawlessly, even connecting to the phone and getting Superuser to grant su permissions. After that, though, I'm not getting any more prompts. For example, on another phone, when I install a new app, it will ask me to review the location where it is being installed and all that, and Supermanager will be given su access when I try to go into the file manager. On this one, I get no such prompts. I really have no idea what could have gone wrong with this :/
     
  3. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    Hey Lance,
    Can you give me a walk through on how to use Heimdall to flash a ROM? I've flashed using CWM but I am having an issue and have been told to reflash it. Any help would be appreciated!

    Thanks!
     
  4. SupraLance

    SupraLance Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    101
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    101
    30
    43
    Missouri
    The best I can do right now is point you to this thread:
    Flashing with Heimdall | DarkyROM
    I haven't been keeping up with changes in the procedure, and haven't used heimdall in 4 months or so, but I am reviewing right now and hope to update this thread soon. I understand a new release of Heimdall is right around the corner which should make all this easier.
     
  5. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    Thank you very much, that is EXACTLY what I needed!
     
  6. Foxcow

    Foxcow Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    206
    Joined:
    Mar 14, 2010

    Mar 14, 2010
    206
    31
    43
    Yesterday, I updated to ED05 and am happy to report that this method still successfully works to root. Thanks again to the OP!
     
  7. nemodot

    nemodot Lurker
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jan 29, 2012

    Jan 29, 2012
    3
    0
    5
    Everything works fine until I get to do sudo adb device

    I get,

    sudo: adb: command not found

    But then it seems to work if I use it like: sudo ./adb device

    That gives me this

    List of devices attached
    016B23BC0502802A device

    But when I go to the next step and I do sudo ./adb push su /sdcard/su

    I get,

    failed to copy 'su' to '/sdcard/su': Permission denied


    Debugging mode is enabled, I do not know what is missing.
     
  8. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    Are you in the folder where the su file is located? If you are able to see your phone when running adb devices you should be good to go....as long as you are in the correct folder in your terminal....like:
    billybobscomputer:~/Android/RootFiles$

    also, if you run the "ls" command you should see the su file along with the other files needed for rooting. Hope this helps!
     
  9. nemodot

    nemodot Lurker
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jan 29, 2012

    Jan 29, 2012
    3
    0
    5
    The su file was there along the others, I copied them by hand graphically, i coiuld see the folder entirely. There must be another explanation.
     
  10. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    OK try this:
    adb shell (you should not need to put sudo or ./ before adb, if you are in the correct folder.)

    then
    cd /sdcard/
    ls


    What do you see with the ls command?
     
  11. Foxcow

    Foxcow Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    206
    Joined:
    Mar 14, 2010

    Mar 14, 2010
    206
    31
    43
    Can anyone confirm that this works for Gingerbread? I can't get past step 9. The device won't allow a connection in debug mode once step 8 is completed....
     
  12. marty331

    marty331 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    14
    Joined:
    Jun 2, 2011

    Jun 2, 2011
    14
    0
    15
    Yes this works for Gingerbread and ICS!! I'm running AOKP which is ICS 4.04.
     
  13. Foxcow

    Foxcow Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    206
    Joined:
    Mar 14, 2010

    Mar 14, 2010
    206
    31
    43


    Very, very odd. I don't use Ubuntu anymore (Arch Linux) but aside from a slightly modified setup, it should have worked. The phone would automatically un-check debugging mode prior to me making root permanent.
     
  14. iamalanwelch

    iamalanwelch Newbie
    Rank:
    None
    Points:
    15
    Posts:
    35
    Joined:
    Sep 14, 2011

    Sep 14, 2011
    35
    0
    15
    IN-Security Officer (Yes I am a Rent-a-Cop)
    Columbus, OH
    The link to download the files no longer works. could you please re-link the files needed. i tried using a rageagainstthecage-arm5.bin from the motorola droid (original) but it keeps going back to the command line user prompt and when i try to adb device it doesn't come up. i left it alone for an hour and tried again but no luck. i'm running 2.3.5 at the moment. i tried superoneclick as well with no luck. i'm going to try the hemidal CWM method to install recovery. i wish i could get the phone to recognize download mode in windows, but it keeps poping up saying it is unrecognized and i've tried 4 different sets of usb drivers, in various combinations. i thought this would work. if there is a difference between the moto droid's rage file and the one from this download please re-link or if need be i'll shoot you a message with my email if anybody has the files.

    thanks
    Alan
     
  15. SupraLance

    SupraLance Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    101
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    101
    30
    43
    Missouri
    The files in Step 5 are no longer needed. Steps 1-4 are still useful for setting up ADB, then jump to Post 3 and install Heimdall. Use Heimdall to install "CWM4 fixed for CM7" & GB bootloaders & then flash a custom ROM. To keep up-to-date on any recent changes to requirements for the Fascinate (and download needed files), I recommend checking DroidStyle's Guide at XDA, although the instructions there are for Windows and will need modified for Heimdall.
     

Share This Page

Loading...