How to Root Galaxy Note 2 on Linux/Ubuntu!

Click on Play button above or Click Here to Download High-Quality HD video to your Smartphone or Computer.

This video was brought to you by Click Here to See at

For those of you who want to root your Galaxy Note 2 on Linux or Ubuntu, here’s how to do it.

This root method is for GT-N7010 Galaxy Note 2 ONLY!!!

Step 1. First, download and unzip.

Sponsored Links


Step 2. Next copy the file to the internal storage of your Galaxy Note 2.

Step 3. Turn off your Galaxy Note 2.  Then hold down Volume Down, Center Home, and the Power buttons together until you see the warning screen.

Step 4. Next connect a micro USB cable from your Galaxy Note 2 to your Linux/Ubuntu computer.

Step 5. Next, double-click on heimdall_1.3.2_i386.deb to install Heimdall for Linux.

Step 6. Next, open up a terminal and type:

sudo -i
cd /home/Username/Downloads/GalaxyNote2RootMacLinux

*Replace “Username” with your username!


If you have heimdall installed correctly, you should get a bunch of output like shown below:

Step 7. Next, type:

heimdall flash --recovery recovery.img

Heimdall should flash recovery image (CWM Recovery) to your Note 2 and reboot.

Step 8. Once your phone reboots, turn it off.  Then hold down Volume Up, Center Home, and Power buttons together until you see CWM Recovery like shown below:

Step 9. Choose “install zip from sdcard” and hit the Power button.

Step 10. Choose “choose zip from sdcard” and hit Power button.

Step 11. Choose “” and hit Power button.

Step 12. Choose “Yes”.

Step 13. This will give you root and Superuser app.

Step 14. Reboot and you should find a new app called SuperSU.  That’s the Superuser app and your Note 2 should be fuly rooted.  You can download and run a rooted app like Titanium Backup app to verify you have full root!


Credits – XDA


Q: Does this root method increase binary count?
A: Yes but you should be able to reset it using Triangle Away app (soon).

Q: During ODIN flashing, it failed and now I see “Kies Firmware Error Encountered” on the screen! HELP!!!
A: No worries, you can run ODIN again in that mode. Also, try another USB port. Usually, that will fix those ODIN flashing errors. And if you have Samsung Kies installed, make sure it’s not running at the same time as it can interfere with the ODIN flashing process.

Q: Does this method work on ALL Galaxy Note 2?
A: So long as your model number begins with GT-N7010, it will work yes.

More questions? Leave them below and either Max or others will help you out.

Need Help? Follow/add me on Google+, Facebook, or Twitter!
Want to stay updated on latest Galaxy Note 2 Root news?
Sign up for our Galaxy Note 2 Root Newsletter here so you don't miss a single tip and get personal help via e-mail!
Galaxy Note 2 Reference
You will need a rooted Galaxy Note 2 to install all ROM/kernels.
NOTE: If you are a noob, please remember the author of this site is not responsible if you mess up your phone. Make sure you know what you are doing before following any instructions on this site!
First time to rooting and custom ROMs? Please see our Galaxy Note 2 Root FAQ FIRST!
VN:F [1.9.22_1171]
Rating: 9.7/10 (3 votes cast)
How to Root Galaxy Note 2 on Linux/Ubuntu!, 9.7 out of 10 based on 3 ratings

Categories: Galaxy Note 2 Root.

68 Responses to How to Root Galaxy Note 2 on Linux/Ubuntu!

  1. Jay says:

    Hi mate how do I unroot my phone is playing up after root is it just a factory reset or odin
    What’s happening is all my apps won’t update peeing me right of
    Thanks Jay

    • Max Lee says:

      If on stock ROM, you can easily just unroot using the SuperSU app (look in settings), then re-installing stock recovery. I should have a guide up on that soon.

  2. I got up to Stage 8, but instead of CWM recovery, I got ‘Android system recovery ‘. BTW, I have the GT-N7100, which is consistent with the model in the video, but not that stated on this page. If you email me, I can send you a screenshot, if necessary.

    • Max Lee says:

      Try ticking on “auto-reboot” OFF in ODIN, then when done flashing with ODIN, reboot into recovery right away by pulling battery out, in.

      • Thanks, Max.

        Apologies, but I’m a novice at this and I have no idea how to tick auto-reboot in ODIN. Would you elaborate? TIA.

        • bla says:

          in the uk they say tick instead of checkmark, so find where it says auto reboot and check the box next to it by clicking in the box ;)

      • ashkan says:

        tnx max… but dude there is no ODIN mac version out there and i dont have Windows … help plz…

      • John says:

        I added “–no-reboot” to the heimdall recovery terminal command above, then pulled the battery out, and went directly into recovery. Was able to get into CMW that way.

        • Ben says:

          I am also getting the android system recovery by adding -no-reboot option in heimdall what command do you type exacly? does it look like this
          # heimdall flash — no-reboot recovery recovery.img

          please advice I will appreciate all suggestion

          • Max Lee says:

            Pull the battery out when heimdall is done, then put it back in and use the buttons right away to get into CWM.

  3. Kris says:

    PLEASE HELP FAST… I began this tutorial in SuSE, not Ubuntu. It’s my first “root”. I pressed the 3 buttons at the same time. My SuSE’s package manager is broken (I have Kubuntu in another partition & forgot I was in my half-broken version of SuSE).

    SO… the phone now says “Odin Mode, Product=N7100, Custom Binary Download=Samsung Official, Sys Status: official….. DOWNLOADING, DO NOT TURN OFF TARGET”.

    Can I just press all 3 buttons again (or some other way to leave this dangerous mode), WITHOUT installing Heimdall.deb …etc? BIIIIG “TIA”. :-)

  4. Jeff says:

    Is there a 64-bit version of Heimdall?
    (none on Benjamin-Dobell’s webpage on github.)
    the i386 version is throwing an error in Ubuntu 12.04′s “Muoun”: “error: wrong architecture i386″.

    Or is there any reason to think Heimdall 1.3.1 won’t work with the N7100 Note 2? (1.3.1 deffo does have a 64-bit)

    • Jeff says:

      I tried this with no luck:
      sudo linux32 dpkg -i /home/USERNAME/Downloads/heimdall-frontend_1.3.2_amd64.deb
      (“linux32″ to install in 32-bit mode)

      “dependency problems – leaving unconfigured
      Errors were encountered while processing: heimdall-frontend:i386″ was the result.

  5. Aldo says:

    Dear Max,

    I followed your linux tutorial and everything is ok up until now. However, in the 8 step my CWM Recovery screen is not like yours. I mean, I can not find the option “install zip from sdcard”.

  6. Aldo says:

    Actually, my screen showed something like “android recovery ….” instead of CWM-based Recovery.

  7. jay says:

    yeah im stuck at the same thing, its not showing cwm recovery its just taking me to stock recovery, great simple instructions, frustrating that we cant finish off the process though, HELP us Max :D

  8. Frank says:

    Hey Max thanks for another great video. Are you planning on rooting a Sprint Galaxy Note 2 or will this method work for it as well? I haven’t seen the model # yet but I am going to sell my Evo 4g LTE and pick one up tomorrow. Thanks.

  9. Ubunter says:

    I have to thank you in advance for this effor. I follow your tutorial, and all was fin to root my galaxy Note 2 GT-N7100, runing android 4.1.1.

    But, afert rooting, the all over the media applications are not working any more, when i go to video, or pictures, or music, I get stacked in a screen saying: “CouldAgent crashed”… and nothing more then an accept botom, and when i accept, the screen get closed… I have no any way more to open any video, unless browse directly the video file via files explorer,,, same with music, same with pictures…

    I went into the su, to uninstall it, i did uninstall it, trying to remove the root, but nothing change, still geting that error…

    I tried to upgrade the device, but I get desabled the update, so, I got stacked… should I unroot from sources, or what do you suggest?? Anyone got similar issue??


  10. geegee says:

    thanks for the effort BUT…
    flashing the recovery img with heimdall on fedora does not actually install the CWM recovery…

    the flash in it self seems succesful but after the reboot en get to the regular recovery… not CWM recovery!!

    trying to install the zipfile eventually will result with the install failing with signature not valid.. because the standard recovery expects the file to be signed with a samsung signature..

    how did you manage to get CWM on there because following this tutorial does not actually work..

    • HarleyPig says:

      I am having the same problem. I have a Galaxy Note 2, model SGH-T889, baseband T889UVALK8.

      gmtp and mtp-detect are unable to detect the device. I ran lsusb and got this

      Bus 002 Device 038: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]

      I think my problem might be I saw my model as claiming to work for the easiest method and ASSumed the ubuntu one would work as well …

  11. geegee says:

    too bad all other tutorials are windows/Odin only…

    anyway, i noticed on other websites about rooting they tell you to install a tar file with odin.

    in this tar file there is 2 files!
    recovery.img AND cache.img

    can anyone tell me what that cache.img is for?

    is that maybe also required but the author forgot to include this in this here tutorial?


    and one more thing,
    is odin/heimdall/superoneclick and all those programms not just anything more than a fancy GUI for ADB??

    i mean.. to root my motorola defy i just simply used linuxADB to flash roms…

    or do those programs have some sort of extra functionality that makes flashing only work with those programs?

  12. geegee says:

    a wait.. that wasnt ADB.. that was SBF flash.. nevermind..

  13. geegee says:

    i gave up…
    i tried a prebuild fc16 heimdal 3.1 rpm and even compiled the source for 1.4RC from github.

    on one fc16 install heimdall complained it could not claim the usb interface..
    on the other one heimdall claimed it flashes succesfully but still the stock recovery shows up.

    then i tried VirtualBox with XP but somehow VirtualBox does not recognize the samsung usb protocol even after installing all samsung usb drivers.

    so i reported the issue on github.. no respons as of yet so i finally got hold of an ancient laptop with a dual boot winXP and used Odin… and that worked..

    would have been nice if Heimdall had done the job but its still being heavilly developed i guess.

    going to install a custom rom next and then see if i can chroot into a backtrack install and call myself a security expert..
    yeah well.. ;)

  14. Sebastien says:


    thanks for the tutorial (so few for linux&android)

    I have a galaxy Note 2 i317M with Telus (Canada)… do you have a file like the “” for the i317M? or where can i get one?

  15. akaz says:

    stuck at the same thing, its not showing cwm recovery its just taking me to stock recovery, great simple instructions, frustrating that we cant finish off the process though, HELP.I use only Ubuntu 12.04 and do not own a windows please can someone respond

  16. Daughain says:

    By any chance will this method get tested on the carrier branded versions? I have an SGH-T889, and run linux exclusively, it would be nice to not have to deal with windows to root my device. Thanks.

    • Daughain says:

      Ok, confirming SGH-T889 works fine with Heimdall, thanks for this tutorial. CWM and SU installed with no problems, just a longer boot time like any other fresh update.

  17. Alan says:

    Hi, Hope you can help, I used the heimdall method using Ubuntu and all was going well until I hit volume up centre and power. The device did not go into CWM instead I had an image of an android on his back with a warning sign coming out of his belly. No idea what has gone wrong but would appreciate any help on this issue.

    Thanks in advance

    • Rick says:

      Was having the same issue. Are you holding volume down + center + power the second time around? After trying several times, I realized the second time (booting into CVM) you need to hold volume UP + center + power

  18. Gerardo says:

    Thanks a lot again!!!!
    I rooted my S2 with your tutorial and then I upgrade to my note 2, excellente job.
    I get stucked in the Odin mode because my computer didn’t detect mi note 2 (I was afraid), then I removed the battery and started again with the process and finally… my note 2 has SuperSU

    Thanks again!!!!!1

  19. solo says:

    I am trying to root Note2 on OSX. What am I doing wrong. Here is the screen output:

    Initialising connection…
    Detecting device…
    Claiming interface…
    Setting up interface…

    Checking if protocol is initialised…
    Protocol is not initialised.
    Initialising protocol…
    Handshaking with Loke…

    Beginning session…
    Session begun with device of type: 131072

    Downloading device’s PIT file…
    PIT file download sucessful

    Uploading RECOVERY
    ERROR: Failed to confirm end of file transfer sequence!
    RECOVERY upload failed!
    Ending session…
    ERROR: Failed to send end session packet!

  20. Ahmed says:

    are you sure those softwares and applications not a backdoors or exploition or even TCP Reader sniffers and jacker’s malwares .. if theirs any one analysis those softwares .. why you don’t know any thing about those apps max .. do you download it or did you code it programed it …? you just know how it work’s ? theirs somthiing of course …

  21. jason Metcalfe says:

    I use Mint 14 64bit and had only small problem Rooting my GT-N7100 on it , Mint kept showing two mount for phone and would lock up intermittently. Resolved the problem by unmounting/removing micro sd from phone.

    Excellent tutorial clear step by step guide even with ubuntu screen shots.

  22. sebastien says:

    Everything was doing great until step 8. I do not get the CMW recovery…Only the Android system recovery. I saw on a post that you can tick the “auto-reboot” OFF with ODIN but ODIN is for Windows not for Linux. So my how do I do to get the auto-reboot OFF? Is there a command line with Heimdal to turn off the auto-reboot? Thank you in advance for your help!

    • Max Lee says:

      You can also just pull the battery as soon as heimdall is done, then put battery back in and hold down Volume Up, Center Home, and Power to get into CWM straight try that.

      • sebastien says:

        HI Thanks for the quick reply. I just tried and it is still not working. As soons as heimdall is done i pull the battery then put it back and followed everything you said I still can’t get the CWM recovery…I have tried four times in total. Just out of curiosity, when I do Volume down Center Home and Power I see : “Custom binary Download: Yes (4 counts)” maybe that is problem?

  23. Ekho says:

    Thank you very much !

    It works very well with my GT-N7100 bought through Orange, a french operator.

  24. tracyanne says:

    My Galaxy Note is the GT-7105, is that supported by this root process?

  25. Maxim Dikun says:

    Ok, guys. I’ve got a solution for issue when phone didn’t boots to CWM.
    You should flash recovery with this command:
    heimdall flash --recovery recovery.img --no-reboot
    And after flashing end hold Volume Up – Home – Power.

  26. MBN says:

    i m getting problem while rooting my note 2 N7100… everything is working fine till Step 8… CWM screen is shown But there is no option “install zip from sdcard”… what is the problem here… Please HELP”””

  27. lawrence says:

    This does work for 4.1.2. Instead of battery hassle, use command:

    heimdall flash –recovery recovery.img –no-reboot

  28. qwach says:

    The recovery image from here seems to be corrupted or otherwise unusable. I downloaded it twice (just to be sure) and flashed it successfully both times. But when I switched from download mode to recovery mode, I only saw the boot text, which was torn with the parts moving around the screen, and afterwards a black screen.
    There were no problems booting into normal mode, and when going into recovery mode the second time, I was back at the default recovery screen. The TeamWin Recovery Project image from worked with no problems.
    (very recently purchased GT-N7100 with 4.1.2)

  29. skippa says:

    Hey Max,
    nice video/guide on rooting the Note 2 with Linux. That’s what I’m looking for.
    I do have the Note 2 4G (N7105) model running Android 4.1.2. Does your howto work for this model as well?
    Where exactly to find the needed files? Is this


  30. andriansah says:

    Hi max
    I’m using ubuntu, after i’m done with heimdall, I pull the battery off, put in back and use vol up, home and power, but what i got is flicker and blank screen, I pull it off again and put in the battery again and it don’t work

    Any suggestion?

  31. Phil says:

    After entering the recovery command I get this error? Any help?

    Failed to detect compatible download-mode device

  32. Pingback: Need Help Rooting ATT Note 2, Using Ubuntu 13.04 - Android Forums

  33. Simon says:

    Hello, I live in England and I am in possession of a GT N7105 running 4.3 unrooted on the EE network. I am looking to root my mobile phone using my Mac OS X Mavericks but all the information I have seen so far only relates to rooting a GT n7100.
    Please could you direct me to a link or site which would show me the process to root the model of phone stated above.
    Any help in this direction would be most welcome

    Thanks in advance

  34. alex bodnaru says:

    hello friend,

    and thanks a lot for the tutorial.
    therw is something that confuses me though: this is the single page mentioning an n7010. is this a typo, or a synonym of n7100, which i’m interested in?


  35. xDark Knight says:

    Any chance you could do a similar video/walkthrough for the Galaxy S2 or S series on It’d be great to see Heimdall get more credit, specifically the Frontend GUI version, but the Ubuntu terminal version works too. It just doesn’t look as good/easy as a GUI.
    Also, it’d be good for folks like me who like using alternative softwares to see simple instructions

  36. Latanya says:

    I know this if off topic but I’m looking into starting my own blog and
    was curious what all is required to get set up? I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very web smart so I’m not 100% certain. Any
    tips or advice would be greatly appreciated. Many thanks

  37. Ben says:

    Hi, tried your method and all went well until I got to the recovery screen on my GT-N7100. No option to install from sdcard, only adb or external storage. What went wrong here? Tried to put the zip file on external sd and tried to install but signature not recognised…..therefore still no root. Please help me out here mate. Cheers.

    • Ben says:

      PS: using Ubuntu 14.04 and phone is on Jelly Bean 4.3

      • Ben says:

        Initialising connection…
        Detecting device…
        Claiming interface…
        Attempt failed. Detaching driver…
        Claiming interface again…
        Setting up interface…

        Initialising protocol…
        Protocol initialisation successful.

        Beginning session…

        Some devices may take up to 2 minutes to respond.
        Please be patient!

        Session begun.

        Downloading device’s PIT file…
        PIT file download successful.

        ERROR: Partition “recovery” does not exist in the specified PIT.
        Ending session…
        Rebooting device…
        Releasing device interface…
        Re-attaching kernel driver…


        • Ben says:

          printed pit files and found that partition name was RECOVERY not recovery. Ran heimdall flash again with that correction and it uploaded:

          Initialising protocol…
          Protocol initialisation successful.

          Beginning session…

          Some devices may take up to 2 minutes to respond.
          Please be patient!

          Session begun.

          Downloading device’s PIT file…
          PIT file download successful.

          Uploading RECOVERY
          RECOVERY upload successful

          Ending session…
          Rebooting device…
          Releasing device interface…
          Re-attaching kernel driver…

          Did vol up+center+power but am still getting same android recovery screen, not cwm….
          Please help.

  38. Ben says:

    Worked like a charm, cheers mate.

  39. Alecive says:


    I’m into stage 7 but I get this error:

    heimdall flash --recovery recovery.img
    Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna

    This software is provided free of charge. Copying and redistribution is

    If you appreciate this software and you would like to support future
    development please consider donating:

    Initialising connection...
    Detecting device...
    Claiming interface...
    Attempt failed. Detaching driver...
    Claiming interface again...
    Setting up interface...

    Checking if protocol is initialised...
    Protocol is not initialised.
    Initialising protocol...
    Handshaking with Loke...

    Beginning session...
    ERROR: Unexpected device info response!
    Expected: 0
    Re-attaching kernel driver...

    How can I fix this issue? I have a GT-N7100

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Related News and Resources