yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note II] Pr0pane:
Can't get root on my Bell sgh-i317m

So i gave up on the twp file as it crashes all versions of odin I have tried (1.85,3.04,3.07).

I have followed the steps in OP to the letter.

cwm6-recovery-i317.tar.md5 is successful in all versions of odin i have tried it in.

The problem is, when i try to get into recovery, it just loads stock recovery everytime. No sure what i am doing wrong.

I found this in the mskip toolkit Q&A:

----------------------------------------------------------------------------

Q. I flashed CWM but each time I reboot the Stock Recovery is back

There is an auto recovery restore system on Android that will reflash the Stock Recovery if you flash CWM on a Stock Rom.

Use Root Explorer to Mount the system folder as R/W (or use a free app from the Market). Delete the file recovery-from-boot.p from /system. Now when you flash CWM Recovery it will NOT be overwritten after a reboot. You can also use the Toolkit to rename the files if you wish.

----------------------------------------------------------------------------

If this is indeed the problem I am having. How do I get around it.

I can't use root explorer because I dont have root yet.

This phone is stock.

TIA

Model # SGH-I317M

Android Version - 4.1.1

Baseband - I317MVLALJ2

Kernal - 3.0.31-262790

Build - JRO03C.I317MVLALJ2
[AT&T Samsung Galaxy Note II] PeterGuru:
Very strange ...

Very strange. I also have the Rogers unit, SGH-I317M, and no problems here. I did have the problem you described with my Samsung Galaxy S3, but it was solved once I flashed an unsecure kernel through ODIN.

Your situation, though, is unusual. In all honesty, I have no idea how to help you. Sorry.

Peter
[AT&T Samsung Galaxy Note II] bwells88:
Awesome thanks guys... I'll get on it as soon as I get home from work... :)

Cheers!

---------- Post added at 09:14 PM ---------- Previous post was at 08:43 PM ----------

Thanks for the link... I did read your post just wanted confirmation it would be ok on the Telus version... Thanks... :)
[AT&T Samsung Galaxy Note II] turilo:
Yep telus/bell all work:thumbup:
[AT&T Samsung Galaxy Note II] bigbiff:
Hmm, looks like TWRP is renaming /system/recovery-from-boot.p already. Does the file exist under /system/recovery-from-boot.p? Looks like AOSP introduced this file for jellybean.

Also the best way to get TWRP installed is through Goo Manager. Let me know if it works or not.
[AT&T Samsung Galaxy Note II] PeterGuru:
Goo didn't work for me ...

I originally tried the Goo Manager method, but it didn't work.

Peter
[AT&T Samsung Galaxy Note II] Chainfire:
Ok, so attached there are 4 files, one set of 2 files for the i317, the other set for the i317m. There's a stock (original) kernel tar, and a root kernel tar. All of these are ODIN flashable as PDA.

The "root" variants should give you root access in "adb shell". I hope I didn't mess it up, as I have no way to test.

I need a previously completely unrooted and unflashed device (no custom kernel, no custom recovery like CWM/TWRP, etc) user, on both the i317 and the i317m, to flash the correct "root" variant, boot into Android, start an adb shell, and execute this command:

dd if=/dev/block/mmcblk0p9 of=/storage/extSdCard/recovery.img bs=4096

You should end up with a recovery.img file on the external sd card of about 8 MB. Please post this file!

You can flash back the stock variant afterwards. Your flash counter will be one, but thanks to your help, we will soon have Triangle Away for your device :)

PS: I also still need a Mobile ODIN dump file for the i317 (non-m). Install Mobile ODIN Lite from the Mobile ODIN thread and it should ask you to make a dump.
[AT&T Samsung Galaxy Note II] bigbiff:
Which note variant? You can run getprop ro.product.name in a terminal.
[AT&T Samsung Galaxy Note II] PeterGuru:
Rogers SGH-I317M

Rogers SGH-I317M
[AT&T Samsung Galaxy Note II] bigbiff:
Is that the output from the command?
[AT&T Samsung Galaxy Note II] :
Hi,

I flashed the kernel via odin and ran adb shell. I ran the command and I got back: cannot open for read: permission denied.

I will try everything over again. Any help would be appreciated.
[AT&T Samsung Galaxy Note II] turilo:
Hey Tremer, was it the rooted version of the sgh-I317M you flashed?
[AT&T Samsung Galaxy Note II] :
Yes sir.
[AT&T Samsung Galaxy Note II] turilo:
Lol ok did you see if you have root at all? Trying like titanium backup?
[AT&T Samsung Galaxy Note II] :
I tried the commands in Android terminal and got the same issue. Though Root Explorer doesn't allow R/W mounting.
[AT&T Samsung Galaxy Note II] turilo:
hmmm your right i tried the command on mine and got that error

and you were never flashed in away before hand?
[AT&T Samsung Galaxy Note II] :
I flashed the CF root kernel straight from virgin stock.
[AT&T Samsung Galaxy Note II] turilo:
Wonder what might be causing the error, have to wait on Chainfire on this one :eek: and you do have root access?
[AT&T Samsung Galaxy Note II] :
No. Root Explorer won't allow me to mount /system as R/W.
[AT&T Samsung Galaxy Note II] turilo:
ya looks like we will have to wait on Chainfire m8
[AT&T Samsung Galaxy Note II] turilo:
this the error your getting Tremer?
[AT&T Samsung Galaxy Note II] alcuin:
pm'ing mobile odin dump for i317 non-m. I bought mobile odin pro when I got my note1, thanks chainfire.
[AT&T Samsung Galaxy Note II] :
That's the exact error that I am getting!
[AT&T Samsung Galaxy Note II] bigbiff:
I assume you guys are using su to change to root first?
[AT&T Samsung Galaxy Note II] turilo:
yep that did it lol your right bigbiff! TREMER change to su then do the command!!
[AT&T Samsung Galaxy Note II] :
Adb shell

Su

/system/bin/sh: su: not found

I get a binary issue when I installed Super Su and ran it for the first time.
[AT&T Samsung Galaxy Note II] Pr0pane:
Yes, the file does exist in /system/recovery-from-boot.p

I ended up getting it to work, looks like it was a usb issue with my laptop.

I changed usb ports to get a different com port in odin, and that did the trick!

Thanks for your suggestions, much appreciated!

Now rooted. :good:
[AT&T Samsung Galaxy Note II] Chainfire:
DOH.

Ok, first, those root kernels do not give you superuser, they only can give you root access in adb shell.

Before typing "adb shell", type "adb root", see if that helps, so:

adb root
adb shell
dd if=/dev/block/mmcblk0p9 of=/storage/extSdCard/recovery.img bs=4096
exit
adb pull /storage/extSdCard/recovery.img recovery.img

(you need an sd card in your device, btw)

I've attached new versions of the kernels, these may fix some problem. Let me know. If not, I've literally done this stuff hundreds of times, it must be something dumb I've overlooked.
[AT&T Samsung Galaxy Note II] :
Hi CF,

I figured it didn't give SU based on your original post.

I actually tried adb root as the first command and then trying to enter adb shell gives me a disconnected device error. I will try the latest kernel again as I was having issues flashing it with Odin.

We appreciate your patience and we will get this data to you!
[AT&T Samsung Galaxy Note II] PeterGuru:
Can you elaborate?

Command? Can you elaborate?

Peter
[AT&T Samsung Galaxy Note II] Kiwinadians:
I just tried this as well, and it is not rooted. I've tried it denies permission to anything that requires root access. It does allow you to browse the root, and cat files, but gives you permission denied notices if you try to do anything with with the /dev/block. TiB also states no root.

I don't have an extsd, so I was passing it to the internal, but the problem was still with permissions. Also the dd command you gave calls for /storage/extsdcard, from root our path I believe should just be /extsdcard or for internal, /sdcard.

I'll flash back to stock recovery. Sorry this didn't work Chainfire.

EDIT: Sorry, this was just before you posted the new files, I'll try it again with your new stuff.
[AT&T Samsung Galaxy Note II] Chainfire:
Again... this only grants you root rights in an adb shell. It doesn't work in a terminal. It doesn't work in Titanium Backup. It doesn't work with Superuser. It doesn't work with anything that isn't called "adb shell".
[AT&T Samsung Galaxy Note II] jkpdon:
Root Questions

I have couple question about root before i do on samsung note 2. I used to have samsung captivate and i bricked it after loading cyangenmod custom rom.

Getting Galaxy note 2 and don't want to lose that phone anymore. i just want to jailbreak/root only and not to load custom roms

Can somebody explain me that what exactly root process will do ?

1. will it load custom rom when i root or its same original samsung rom/flash with inserted code for root.? I belive it still flashing it since using ODIN? Are we going to have Oneclick Root support?

2. will it increase flash counter to 1 and would need triangleaway ?

Thanks in advance.
[AT&T Samsung Galaxy Note II] Kiwinadians:
Would you be able to post these in .tar form, so it is flashable with odin? Or is there a quick and dirty way to convert these?
[AT&T Samsung Galaxy Note II] :
1. You can get root and keep stock Samsung rom.

2. It will increase counter. This thread is in the works of getting Chainfire what he needs to make a CF-Root (which you might want as it is an easy, clean root method), as well as Triangle Away. We don't have support for either currently...so you might want to consider that before doing any of this.

---------- Post added at 11:17 AM ---------- Previous post was at 11:13 AM ----------

Look on page 10....Chainfire posted Odin flashable .tar. Download it and delete the boot.img from inside that .tar. Download the .img from above and drop it in that .tar. Rename it to boot.img. Done.

Are you running the i317m?
[AT&T Samsung Galaxy Note II] jkpdon:
chainfire has cf-root

Then i will just wait for it. i though chainfire already have CF-root method out

download dot chainfire dot eu/264/CF-Root/CF-Auto-Root/CF-Auto-Root-t03g-gtn7100.zip

download dot chainfire dot eu/255/CF-Root/CF-Auto-Root/CF-Auto-Root-t0lte-gtn7105.zip

Or may be its not the clean method ?

Thanks
[AT&T Samsung Galaxy Note II] turilo:
Read the device models m8 those are different Note 2's :eek:
[AT&T Samsung Galaxy Note II] bigbiff:
In a terminal in android, type

getprop ro.product.device
[AT&T Samsung Galaxy Note II] Chainfire:
Doh, I thought I attached those ... I attached them now ;) Not sure why I attached the .img instead of the .tar. Not having a good day. We should have had all this solved yesterday, lol.

http://xdaforums.com/showpost.php?p=33798447&postcount=107
[AT&T Samsung Galaxy Note II] jkpdon:
I see ATT is i317 hmm what are they GT7100/7105. i just bought accessories i hope its same for i317. :confused:

---------- Post added at 05:35 PM ---------- Previous post was at 05:30 PM ----------

I am really scared now. Is ATT i317 is 4G LTE? i see mention of i317m what is that one... omg..
[AT&T Samsung Galaxy Note II] turilo:
Don't be scared your fine with your accessories lol yes i317 is att note 2 lte :)
[AT&T Samsung Galaxy Note II] gloomyx:
*NOOB ALERT*

So last night I attempted to root my Rogers Note 2, but it didn't seem like it did anything. So here's what I did

1) I downloaded the following files on to my desktop:

- Odin3_v3.04.zip

- cwm6-recovery-i317.tar.md5

2) Copied the following files into my SD card:

- openrecovery-twrp-2.3.1.1-t0ltecan .zip/.tar/.img *all three files*

- CWM-SuperSU-v0.97.zip

- i317m-kernel-root.tar

- i317m.kernel-stock.tar

3) Launched Odin

4) Enable USB Debugging

5) Enter Download Mode (Vol. Down + Home + Power), VOl. Up when prompt

6) Plug in the phone, Odin recognize phone (green logo)

5) Loaded 'cwm6-recovery-i317.tar.md5'under the PDA

6) Odin did it's thing, phone rebooted, but nothing changed (aside from the count)

7) No SU, no nothing.

What did I miss?

All reply and help are much appreciated!!
[AT&T Samsung Galaxy Note II] :
Once you've flashed CWM recovery via Odin, you need to flash the - CWM-SuperSU-v0.97.zip in CWM to get SU access.
[AT&T Samsung Galaxy Note II] turilo:
Ok well you flashed cwm6-recovery-i317.tar.md5 via Odin so thats good, now just flash CWM-SuperSU-v0.97.zip in cwm! but no need for all them files to your sd card if you want TWRP Recovery you copy the openrecovery-twrp-2.3.1.1-t0ltecan .zip to sd and flash that also in cwm. done
[AT&T Samsung Galaxy Note II] gloomyx:
So at this stage is my phone rooted? Titanium backup says my phone isn't rooted...That's why I'm confused.

Once again thank you everyone
[AT&T Samsung Galaxy Note II] Chainfire:
Is anybody getting anywhere with dumping the stock recovery, or did everybody give up ?
[AT&T Samsung Galaxy Note II] :
Hello CF,

I am at work currently. I will try the second I get in the door. I just wanted to give you concrete data, not more run around. Now that I have the full details and the new kernel I will give it a try once again.

Thanks!

If anyone wants to try, but needs help, just pm me.
[AT&T Samsung Galaxy Note II] turilo:
Did you boot into cwm vol up/home/power? than flash the supersu0.97.zip in cwm and reboot
[AT&T Samsung Galaxy Note II] antiochasylum:
The 317m is nothing more than the Canadian version with Canadian APNs.

N7100 - euro HSPA+

N7105 - euro LTE

SGH i317 - AT&T LTE

SGH i317m - Canadian, bell, rogers

I bought accessories for the 7100! They are all identical in physical size.
[AT&T Samsung Galaxy Note II] gloomyx:
The only thing I did was loaded 'cwm6-recovery-i317.tar.md5' in Odin and pressed START. So I will have to reboot the phone and boot into 'cwm6-recovery-i317.tar.md5'?

Where in the process does the rooting happen?

Because I am just following steps and guidelines, but they don't really specify what each step does to the phone.

Thank you all!!
[AT&T Samsung Galaxy Note II] PeterGuru:
I get t0ltecan

Using your command, I get:

t0ltecan

Peter
[AT&T Samsung Galaxy Note II] :
You need to turn the phone off. Boot into cwm using vol up/home/power. Flash the supersu0.97.zip in cwm and reboot.
[AT&T Samsung Galaxy Note II] PeterGuru:
Wow, you are new ...

WOW, you really are new. That's okay, we were all there at one time.

First, install cwm6-recovery-i317.tar.md5 via ODIN (you did that already). This simply allows you to flash standard flashable files. You are not yet rooted. CWM also allows to do many other things, but flashing files is the most important for you right now.

Second, reboot into recovery (power off device, then press and hold volumeUP and the HOME button, then press the power button while continuing to hold VolumeUP and HOME. When you get the Samsung screen, you can release the power button, but continue to hold VolumeUP and HOME simultaneously.)

Third, now that you're in CWM-recovery (it should say CWM-based Recovery v6.0.1.5 at the top of the screen), flash the CWM-SuperSU-v0.97.zip file. If you don't know yet how to flash a file in recovery, there's lots of information on xda to show you, step-by-step (below is a helpful link). This step will install SuperSU, which will then provide you with root.

Reboot

ROOTED!

Peter

Link to explain how to flash files in CWM: http://www.jayceooi.com/2012/11/06/...-zip-with-cwm-on-samsung-galaxy-note-2-video/
[AT&T Samsung Galaxy Note II] bwells88:
I did end up rooting my device last night as it seemed Tremer had the Canadian variant covered... I did do a stock, non-rooted nand I could restore and try and do the adb deal in terminal emulator... but... I'm also at work... lol
[AT&T Samsung Galaxy Note II] gloomyx:
Yes I am very green! I am assuming these instructions applies to AT&T/Rogers variants?

About backups...

1) I also hear about EFS backup. Is this done after rooted? Or prior to root?

2) Once I am in CWM-recovery, I can use 'openrecovery-twrp-2.3.1.1-t0ltecan' to do a Nand backup?

2) Correct me if I am wrong, but I believe the Titanimum Backup serves a different purpose than CWM?

Sorry for all these noob questions, I would like to cover all my bases and clarify everything prior to diving into this.

Thank you for all the patience!!
[AT&T Samsung Galaxy Note II] PeterGuru:
More ...

Yes, the instructions apply to all AT&T/Rogers/Bell/Telus variants.

Backing up your EFS can be done in several ways, although, in your case, it would be easiest AFTER you're rooted.

Once you're in CWM-Recovery, you can then flash the TWRP-Recovery zip file. However, if you're only interested in doing a Nandroid backup, that can be done from CWM-Recovery or TWRP-Recovery. CWM and TWRP are both Recoveries, and you can have ONLY one recovery on your device at a time.. Some people prefer to use CWM, while others prefer TWRP.

Titanium Backup is an entirely different beast. It has nothing to do with any kind of recovery.

Peter

By the way, if a member helps you, it's always nice to click on the "Thanks" button at the bottom left of each post. :)
[AT&T Samsung Galaxy Note II] bigbiff:
I have put that device in goo. Goo Manager should be flashing recovery if you are rooted (have the su binary installed by SuperSu or Superuser).

Let me know if this is not the case.
[AT&T Samsung Galaxy Note II] turilo:
Awesome TREMER let us know how it goes! thanks again :D
[AT&T Samsung Galaxy Note II] gloomyx:
DONE!!

I can't thank you enough for all the help that I received. Will be trying it tonight!!
[AT&T Samsung Galaxy Note II] jkpdon:
HotSpot of Tethering on Galaxy Note2 ,Is it possible tethering without root or without custom rom? Ofcourse, you have to override ATT block

I believe chainfire is waiting on dump so is anybody provided him yet? i dont see phone has been ship yet. just so eager to hold that giant baby in my hand.... cant wait

How can you get a dump for him. can you pointout process so if i get phone i can provide i am pretty sure lotz of ppl probably going to be faster thatn me and provide ASAP they get their hands on phone
[AT&T Samsung Galaxy Note II] :
Recovery.img

@Chainfire,

Success! All of the methods worked flawless on the latest kernel. Took no time at all. Thanks for patience. If you require anything further...just holler.

Thanks for your help, and the learning experience!

ps. This is for i317m :)

http://d-h.st/G3M
[AT&T Samsung Galaxy Note II] turilo:
Saweeeettt! awesome news TREMER good stuff m8! :D:cowboy::good::good::good::good:
[AT&T Samsung Galaxy Note II] :
@turilo

No problems. Glad I could get it sorted for Chainfire, so he can work his magic.

All I317m users, please request source codes at link provided in the op. The more requests the better!
[AT&T Samsung Galaxy Note II] Chainfire:
Thanks!

Actually, we have i317 source, I think i317m kernel source will be identical.

I still DO need the i317 (non-m) recovery though!

EDIT: Magic performed. I have a test version of Triangle Away but nobody on IRC has the device yet (and is also non-idle), nap time now for me in Europe. I also have autoroot for i317m ( http://autoroot.chainfire.eu ) - I'll create a thread once I also have an i317 (non-m) version.
[AT&T Samsung Galaxy Note II] :
I'll root tonight. I'm willing to try Triangle Away when it's available.
[AT&T Samsung Galaxy Note II] bwells88:
Good job Tremer... I wish I had your patience. .. lol... and thanks to Chainfire for all your hard work! I think some donations are in order.. :)
[AT&T Samsung Galaxy Note II] turilo:
Yep any testing needed to be done for triangle away or mobile Odin Chainfire I'm in also :)
[AT&T Samsung Galaxy Note II] bwells88:
Chainfire... I'm trying to donate to you but your Paypal link is not only not in English, but it won't accept my password... lol... is there another way to ship you off some beer money? Thanks again for your work!
[AT&T Samsung Galaxy Note II] turilo:
Ah damn I knew being idle on irc I was going to miss something lol home now tho :banghead:
[AT&T Samsung Galaxy Note II] lazarat:
Is there any devs working for this device?
[AT&T Samsung Galaxy Note II] turilo:
oh their coming no worries m8 :D
[AT&T Samsung Galaxy Note II] ShadowVlican:
sent my source code request to samsung.. hope it helps

can't wait til more roms and kernels are out for this beast... i wanna overclock it!!
[AT&T Samsung Galaxy Note II] lazarat:
Somebody offered to trade my gs3 for the note but not sure ... Deving seems slow
[AT&T Samsung Galaxy Note II] turilo:
your s3 for a note 2? i would have gave an s3 instantly for a note 2 not a note 1 tho
[AT&T Samsung Galaxy Note II] lazarat:
Note 2 yes. I had note 1 and i felt it was big and got bored of it in two weeks. Heard good words about the note 2 but yeah will see what goes o with deving around here. Worst case scenario will sell it for $600 and buy a gs3 again for $400 lol and make a $200 profit and buy a nexus 7 as well
[AT&T Samsung Galaxy Note II] antiochasylum:
Slow!? Its not even out yet. Till tomorrow. Not everyone has connections to get it early.
[AT&T Samsung Galaxy Note II] ElAguila:
Going to pick up my note 2 hopefully today. The store nearby said they would have it today. I want to make sure I have the proper prodedure. If I want twrp, I flash this file via odin

openrecovery-twrp-2.3.1.1-t0ltecan.img.tar. Then boot into recovery and make a nandroid backup. Then flash the CWM-SuperSU-v0.97.zip to get superuser. Then boot up and enjoy. Then come back to this thread and click the Thanks button, Is this correct?
[AT&T Samsung Galaxy Note II] johnnywhojr:
*bump
[AT&T Samsung Galaxy Note II] ElAguila:
Thanks for the confirmation. Do I need to flash that rooted kernel that is linked there as well?
[AT&T Samsung Galaxy Note II] antiochasylum:
No

If you read the previous posts. Guys say they cannot go straight to TWRP, you need to flash CWM first with odin, then flash the zip for TWRP, then your backup and super su zip.
[AT&T Samsung Galaxy Note II] turilo:
Triangle away has been Updated 2.35 and worked perfectly of course! binary back to 0 counts and Samsung official on a Rogers rooted note 2 SGH-i317m saweeet! Support Chainfire work!! purchase his app's pro size them up! :victory:
[AT&T Samsung Galaxy Note II] Chainfire:
Still waiting for stock I317 (non-m) recovery to finish CF-Auto-Root and Mobile ODIN support. (Note that I317M CF-Auto-Root is already available at http://autoroot.chainfire.eu/)

(shameless bump disguised as semi useful post)
[AT&T Samsung Galaxy Note II] garyd9:
People should start having their AT&T 317's delivered today, so I'm sure you'll have an image in the next 6 hours.
[AT&T Samsung Galaxy Note II] Chainfire:
I know, just repeating it here so the folks getting their Notes today will maybe see it :P

If you're willing to dump the AT&T I317 recovery for me, please read these two posts (both!)

instructions:

http://xdaforums.com/showpost.php?p=33778890&postcount=82

corrections on instructions:

http://xdaforums.com/showpost.php?p=33798447&postcount=107

I'll stop nagging all of you when I have it ;)
[AT&T Samsung Galaxy Note II] garyd9:
Chainfire, I see that you have a specific kernel for the 317(non-M.) However, that kernel originated from a pre-release i317 device so might not actually match what customers are getting delivered today.

While I don't think that will really matter much, it might be nice to get someone to pull a shipped device kernel just to make sure.
[AT&T Samsung Galaxy Note II] PeterGuru:
Triangle Away Worked!

TriangleAway v2.35 also worked perfectly for me (model SGH-I317M Rogers). :)

Now my device says:

ODIN MODE

PRODUCT NAME: SGH-I317M_NA_BMC

CUSTOM BINARY DOWNLOAD: No

CURRENT BINARY: Samsung Official

SYSTEM STATUS: Official

Woohoo!

Peter

P.S. I will now buy the app on Google Play. It's the least I can do. :) DONE!
[AT&T Samsung Galaxy Note II] johnnywhojr:
Whoops. My apologies. I mis read the twrp part. I only use cwm. Sorry about that folks. :o

---------- Post added at 09:24 AM ---------- Previous post was at 09:16 AM ----------

This also worked for my Bell gNote II.
[AT&T Samsung Galaxy Note II] bwells88:
That's what happened to me... Odin didn't like the twrp recovery for some reason... push CWM thru Odin then flash twrp... nand the stock recovery/rom then I flashed SuperSU... all goodness there after... 8)

---------- Post added at 04:37 PM ---------- Previous post was at 04:32 PM ----------

So Triangle Away is just an app you purchase from the Play Store?... that would be cool... 8)