yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note II] rampaadh:
Very stable ROM

Zen,

Thanks a lot for this awesome and stable ROM. I have been running this for couple of days. Good battery, No SODs, no wakelocks. Awesome :good:

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

I am using boot loader prior to 4.3. for this ROM. If I upgrade to 4.3 or greater boot loader, will I get any benefits?
[AT&T Samsung Galaxy Note II] Zen Arcade:
Used to be you needed to run at least the MJ4 bootloader to get WiFi to work. Any bootloader above that one is non-revertable and comes with the Knox warranty flag. Only benefit to the newer bootloaders is the ability to charge with the phone turned off afaik. I prefer having the ability to flash back to an earlier bootloader (and firmware) and (optionally) run Triangle Away. So I am running MJ4.
[AT&T Samsung Galaxy Note II] xxxSuperserieSxxx:
Thanks a lot sir as always for the awesome job.
[AT&T Samsung Galaxy Note II] selw0nk:
Delete.
[AT&T Samsung Galaxy Note II] Abraham310:
Waiting for deodexed room
[AT&T Samsung Galaxy Note II] dicksteele:
Your patience is heartwarming
[AT&T Samsung Galaxy Note II] chris.l.naish:
Question about the NJ1 bootloader - I'm on the Mk6 bootloader now, Knox is tripped. Am I OK to flash the NJ1 bootloader, or might I brick my phone?

Also, other than charging while phone is off, there's nothing else to gain, is there? Thanks in advance. [emoji4]
[AT&T Samsung Galaxy Note II] gregsarg:
NJ1 loader will give you nothing beyond the newer version number. .

You are safe to flash it via Odin if desired. ..g
[AT&T Samsung Galaxy Note II] Antonoram:
*noob alert* i want to flash the stock rooted virsion am i safe to do so or not? And if i am can some one give detailed instrustion on how to flash this rom via odin
[AT&T Samsung Galaxy Note II] gregsarg:
Detailed instructions for flashing via Odin are in the OP of this thread I believe. ..g
[AT&T Samsung Galaxy Note II] Zen Arcade:
Deodexed package has been added to the OP.

(also an updated version of the custom kernel installer).

Both include new restorative measures that will allow the phone to boot when coming back to the stock kernel after running a custom kernel. Spent some time figuring out how SELinux works on Android and how to bring things back to a stock configuration that will make an enforcing kernel happy. Tested coming back from AGNi and Shift kernels. If you have any issues with these or other custom kernels let me know.

If all looks good I will update the stock kernel and stock/rooted (odexed) cwm/twrp packages by next weekend.
[AT&T Samsung Galaxy Note II] rampaadh:
Can I install agni kernel now?
[AT&T Samsung Galaxy Note II] Zen Arcade:
I've seen reports elsewhere that there might be issues with newer AGNi kernels. I was testing with 4.2.4 and that version works fine. Later 4.2x kernels may be OK too. I believe the caution I saw was against the 4.3x versions, but [MENTION=1840999]Bajanman[/MENTION] or [MENTION=2918361]dicksteele[/MENTION] may be able to say more on the subject...
[AT&T Samsung Galaxy Note II] dicksteele:
Here's a post about 4.3.3R3

http://xdaforums.com/showpost.php?p=57779466&postcount=11956

More from Baja in [ROM][4.4.2]DN5v2(Ditto Note 3) thread

Looks like he's running good on the 4.3.1r2 though From Dec 17th

http://xdaforums.com/showpost.php?p=57548756&postcount=11887
[AT&T Samsung Galaxy Note II] sw1173:
DeOxed and rooted boot issue

Never had a issue with your roms until now. Loaded the latest version thru recovery with TWRP and it doesn't get past the boot animation. Let it run for 30 minutes and still on boot animation. Any suggestions? it is on SGH-i317 and coming from odin version but a clean install by TWRP.

Thanks keep up the your excellent work.
[AT&T Samsung Galaxy Note II] Zen Arcade:
Which version of TWRP?

Prior rom versions:

--- Firmware (system)? (i.e. NE5/NJ1, odex, odin version, etc)

--- Kernel? (NE5/NJ1, stock, custom, AGNi, etc)

--- Bootloader? (MJ4, MK6, NE5, NJ1)

Which boot animation does it get stuck on - Samsung Note 2, AT&T, or the custom one I put in the deodexed package?

Did the flash in recovery complete successfully with no errors?

This info should help further troubleshoot what is going on.
[AT&T Samsung Galaxy Note II] sw1173:
It gets stuck in the custom animation, TWRP 2.7.0.0. Flashed after complete advanced wipe. Flash completed successfully with no errors, and with NE5 bootloader.

Thanks for your getting back as quickly as you did. Happy New Year
[AT&T Samsung Galaxy Note II] Zen Arcade:
Since you are looking to get to rooted deodex and you started with a blank data partition (after the wipe) try the following:

- Flash either of the full NJ1 Odin packages (in Odin) :)

- Boot the phone normally once

- Without any wipes reattempt the flash of the deodexed-rooted package

Could be that the context "restore" process I put in the deodex package needs a fully populated data partition. If so, the steps above should be a workaround (until I can modify the script to check for that condition).
[AT&T Samsung Galaxy Note II] sw1173:
Thanks I'll try it. Let you know

---------- Post added at 02:22 PM ---------- Previous post was at 01:49 PM ----------

sorry didn't work. I'll wait until you fix the issue. You do great work and are a credit to the community.
[AT&T Samsung Galaxy Note II] Zen Arcade:
OK, that's good news/bad news.

If you don't mind swapping out recoveries, please try again with Philz recovery 6.48.4 (at bottom of this link) - if the touch mode is annoying you can change to "Select Only" under Philz options:

https://goo.im/devs/philz_touch/CWM_Advanced_Edition/t0lteatt/

TWRP 2.8.3.x (link in OP) might work better too - the packages use the latest update-binary.

Worst case, you might need to flash a custom kernel immediately after the deodex package - either AGNi or Shift kernel:

AGNi - http://xdaforums.com/showthread.php?t=2602053

Shift - http://xdaforums.com/galaxy-note-2/development-n7105/kernel-08-15-14-t2849082
[AT&T Samsung Galaxy Note II] sw1173:
Finally got it to work. Flashed a whole bunch of roms and it took. Animation is the stock one and it is smooth and beautiful. Many thanks for your hard work and success.
[AT&T Samsung Galaxy Note II] Zen Arcade:
Good news :). Which combination ended up working for you?
[AT&T Samsung Galaxy Note II] sw1173:
Fix for my Device Issues

**** Steel's DSV2 after a complete wipe of everything on the device and reformatting the Data partition using TWRP 2.7.2.2. I also loaded SELinuxMideChanger to set the kernel to permissive instead of enforcing. So no FCs or reboots.

Thanks I hope this helps for others having the same issue.
[AT&T Samsung Galaxy Note II] goofy22:
I317-ucucnj1/mj4

Thanks Zen flashed deodexed ROM using Philz recovery 6.48.4 without any issues.
[AT&T Samsung Galaxy Note II] chris.l.naish:
Thank you for the awesome work, Zen. Does anyone know how to disable the boot sound without using Wanam?
[AT&T Samsung Galaxy Note II] Zen Arcade:
The simple way to do this is to set the phone to silent or vibrate.

Otherwise replace - /system/media/audio/ui/PowerOn.ogg

- with a silent ogg file or the sound file of your choosing.

Some searching may net you the file you need. I found the following but have not tested the files in the .rar provided:

http://www.modaco.com/topic/315254-how-to-removereplace-startupshutdown-sounds/
[AT&T Samsung Galaxy Note II] djsleepwalker:
(Edit) Aw, shoot. Just realized I posted this on the wrong thread. lol my mistake.)
[AT&T Samsung Galaxy Note II] yellowdie:
Zen, thanks for your awesome work. I have tried everything I can possible think of at least twice and I still cannot get Wifi working. A few weeks ago, I had updated everything (ROM, bootloader, modem, etc) to NE5. No wifi. I just updated everything to NJ1. Still no wifi. I tried setting the stock kernel to permissive. I tried AGNi's latest 4.4 kernel. Nothing works... Any suggestions?

Thanks again for all your hard work! :)
[AT&T Samsung Galaxy Note II] JackTheMan18:
Question: Disable Knox

Hello. Please forgive my ignorance.

In the Opening Post , step #8 says "disable knox".

How exactly are we to do that?:confused:

Thanks in advance.
[AT&T Samsung Galaxy Note II] satans spawn1972:
When the phone boots for the first time click through the on screen setups then launch SuperSU from the app drawer and the first time you open it you will be prompted to disable Knox. Once this is completed reboot the phone for the change to take effect.
[AT&T Samsung Galaxy Note II] Zen Arcade:
Not something I've seen myself. On another thread someone resolved wifi issues by toggling ServiceMode/Wifi->Power Save Mode on/off.

To get to ServiceMode enter this from the phone dialer - *#0011# - then hit the menu button and select WiFi.
[AT&T Samsung Galaxy Note II] clsA:
Quick Question, I'm an HTC Guy and a little confused on your steps for flashing (odin)

My wife's note 2 was getting notifications about the update and failing. she was on MK6 bootloader and rooted / no custom recovery

I flashed the I317-UCUCNE5-Stock.tar.md5 in Odin and let the OTA update install, The phone would not boot (stopped on a black screen where the AT&T should have been). not sure what to do I found this thread and followed your instructions for flashing the Stock NJ1 rom + the TZ.img and the phone is working fine.

Now my real question is do i still need to flash TWRP + SuperSU and disable knox ?

The bootloader is now NJ1 and I'm ok with that, she doesn't really use any rooted apps

Thanks for your excellent instructions on getting the phone to boot again
[AT&T Samsung Galaxy Note II] yellowdie:
Thanks for the tip, I had never been in that Service menu before. Unfortunately, toggling Wifi there multiple times didn't help. :( Oh well. Thanks for the help.
[AT&T Samsung Galaxy Note II] Zen Arcade:
No need for TWRP/SuperSU unless you want root or ability to flash other firmwares from recovery. Keep this config as is and the next OTA should flash clean - rumor is that we get at least one 5.x build before Sammy and ATT sunset the GN2.
[AT&T Samsung Galaxy Note II] Zen Arcade:
What is the symptom - does the radio turn on and stay on? Can you associate to an access point? Can you ping a local IP address?

Depending on how far you want to go, next steps to try:

1 - back everything up - make a TiBu backup, make a Nandroid/TWRP backup, copy sdcards to PC, repeat

2 - Do a factory reset from phone OS

3 - Wipe data and clear caches from recovery (or do a recovery factory reset which does same thing)

4 - If you are on the NJ1 bootloader, try flashing the NJ1 TZ + Param Odin package located in the OP

That should rule out any software issues.
[AT&T Samsung Galaxy Note II] clsA:
Great, I was just worried about not disabling knox. now i know :D
[AT&T Samsung Galaxy Note II] diarrik:
AT&T UCUCNJ1 i317 Stock flashed this Ron via Odin. I have no WiFi can someone help me. Do I flash nj1 to bootloader.
[AT&T Samsung Galaxy Note II] gregsarg:
Yessir...but be advised. ..

Flashing the NE5 bootloader or NJ1 locks you into the loaders for life...no revert options. ..

So if you have warranty the flash of either loader will likely trip the Knox flag...

If no warranty exists...flash away. ..g
[AT&T Samsung Galaxy Note II] Zen Arcade:
You need to be on at least the MJ4 bootloader, or otherwise using a custom kernel
[AT&T Samsung Galaxy Note II] yellowdie:
Sorry, I was not specific enough. The Wifi does not turn on at all (the Off button flashes to On for a second, then back to Off)--I assume that's a common problem.

1) I have done a full wipe from the phone, I have done numerous full wipes (and even full Formats->yes) from TWRP (using the latest 2.8.5.0).

4) I am on the NJ1 everything. I flashed the NJ1 TZ (161 kb) and the NJ1 TZ + Param (1,001 kb). I have also tried a custom kernel.

It's not hardware because the Wifi worked before upgrading to KK. But I have no idea how it could be software unless something got screwed up in the EFS or something... :|
[AT&T Samsung Galaxy Note II] Zen Arcade:
Have you tried a revert to Jellybean to see if wifi comes back?
[AT&T Samsung Galaxy Note II] yellowdie:
I didn't think I could once I was on NE5/NJ1. I will get an older Odin and try it later. Thanks.
[AT&T Samsung Galaxy Note II] Zen Arcade:
Check my Sig for the mh3 thread. The Sammy ma4 stock Odin won't work as it contains an older bootloader.
[AT&T Samsung Galaxy Note II] g0dxilla:
Thanks a lot for the work you've done here. I've gotten further along with this than anything else. I'm running your NJ1 Odin with Philz. I'm trying to get super stocked out so I want to load stock recovery and unroot after i've fully debloated this thing.

First issue i'm running into. Even after I wipe everything manually through recovery I still have all my old files and settings. I really want to aggressively wipe the math out of this thing. How can I just wipe the slate clean and start fresh?

Second issue, when I load the stock recovery it just pops up with a little dead android and very limited options.

The Knox flag is already tripped so that ship has sailed. Any advice would be helpful.
[AT&T Samsung Galaxy Note II] Optimuscle:
Edit. Answered
[AT&T Samsung Galaxy Note II] g0dxilla:
Was this directed at my question? I've seen several posts indicating that i should tick the re-partition option in ODIN to get the desired result but all are immediately followed by comments indicating that as a bad idea. So there is a fair bit of conflict surrounding that option. Any advice/clarification is appreciated. Even just a link of where to look would be great. I've researched this at length with limited results.
[AT&T Samsung Galaxy Note II] Zen Arcade:
You do not need to repartition.

- Install custom recovery

- Encrypt your phone from settings (optional - just to be safe and protect the privacy of your identity and data - next step should cover most of that, but...)

- Factory reset from phone, choose option to format SD cards

- Boot recovery, factory reset/wipe data/wipe caches

- While still in recovery, format system (method will vary based on which recovery you are in).

- Power off phone

- Flash new stock rom - easiest method is via Odin (otherwise you would have had to copy a stock rom package to your sd card after the first step and then erase it when done).

- Flash stock recovery matching stock firmware

- Boot phone and do another factory reset, factory reset from phone OS again (overkill perhaps)

The only things that will not match a pure stock config are /system/etc/install-recovery.sh and /system/etc/install-recovery-2.sh. The former will get replaced at the next OTA and the latter will be left behind as a non-functioning artifact.

That should get you the cleanest config possible, unless you want to go in while still rooted and remove the second file I mentioned above (note that it will kill root access the next time you reboot so I don't recommend it unless you have things well orchestrated).
[AT&T Samsung Galaxy Note II] g0dxilla:
OK You are awesome and that worked great. The only issue i'm having is that now I can't get the device to encrypt. When I click Encrypt Device and enter my password it goes to the screen with the Andy the android graphic (the one with the gears for his body) and then just sits there. It never quick boots and starts the encryption process. After about 5 minutes it reboots. I've tried a million things, different chargers, removing the sim, uninstalling a bunch of bloatware, etc.

Any thoughts?
[AT&T Samsung Galaxy Note II] g0dxilla:
I think maybe this is the relevant part of the logcat.

E/CryptfsUT( 1990): Orig filesystem overlaps crypto footer region. Cannot encrypt in place(32).

E/CryptfsEE( 1990): Encryption type is enable inplace, remove footer

I/CryptfsFK( 1990): Footer zeroization success.

E/CryptfsEE( 1990): Error inplace after framework is shutdown, no data changed, restarting system
[AT&T Samsung Galaxy Note II] Zen Arcade:
It's not clear from your post which file system is producing the error. The first error is the one that needs to be addressed. See post #6 here for a possible solution:

http://forum.cyanogenmod.org/topic/82292-cm102-encryption-does-not-start-stuck-at-splash-screen/

It appears it is usually /data that is the source, and is due to the file system consuming the entire partition, which may result from previous resets/clears performed from custom recoveries.
[AT&T Samsung Galaxy Note II] bad.bid:
Flashed odin stock rooted package and wifi doesnt work.

I did a getprop ro.bootloader and it outputs I317UCAMC3 (so i dont have the NE5, NJ1 or MK6 ones i suppose)

I have two odin 1.8.5, and 3.09. first one has slots for bootloader, pda, phone, csc. i flashed rom in pda slot of this version. odin 3.09 has completely different slots (bl, ap, cp, csc). to flash the I317-ODIN-UCUBMJ4-BLTZ.tar.md5, where do i place it? tried searching and everyone seems to say "flash in odin". i go for pda again? or bootloader one?

a lost noob
[AT&T Samsung Galaxy Note II] Zen Arcade:
Flash the mj4 bootloader using Odin 3.07 (linked in OP) using the PDA slot. (If you want to use Odin 3.09, use the AP slot)

No need to go with any higher version bootloader - mj4 is revertable should the need arise (i.e. return phone to complete stock config for sale, etc)
[AT&T Samsung Galaxy Note II] bad.bid:
Thanks a lot. its working now. I tend to be very paranoid, especially after having to jtag my HD2. its not an experience worth revisiting at all!!

:)
[AT&T Samsung Galaxy Note II] spagman72:
Great Work Zen !

I was on LK3 Rooted Stock since I purchased my I317 over 2 yrs ago, I never thought about upgrading because it was running rock solid and I didn't want to update to knox bootloaders.

After many little obstacles..like emoji's not displaying correctly, Apps to SD and other things I decided to take the plunge.

Your Installation tutorial made it so easy that " Even a caveman can do it" .

I made all the necessary backups first, installed an updated TWRP recovery and flashed the rooted odexed version.

I followed the ROM installation with a factory reset in recovery and flashed the MJ4 bootloaders with ODIN.

After giving the phone a few minutes to settle in I started the restore process, I must say I'm very impressed..... the installation was flawless.

Everything is Rock solid and fast right now.... battery life is a lot better and it feels like a brand new phone !

Thanks for your great work!
[AT&T Samsung Galaxy Note II] 1shotsniper:
Sorry for the noob question. Your post are very in depth for those that are familar to the terminology used. I am currently running Android Version: 4.1.2 Baseband Version: I317UCAMH3 rooted with cf-root a long time ago. I do not have CWM or TWRP and have never used them in the past, I've only used Odin. I want to upgrade to 4.4.2 and have root access as per your instructions but I'm a little confused on a few of the steps (again this is super noobish):

1 - Download the package(s) you plan to install:

I'm guessing I will need the AT&T UCUCNJ1 i317 Rooted CWM/TWRP Note 2 option

2 - Copy any CWM/TWRP packages and SuperSU (if needed) to your phone (external SD card recommended if you need to do a factory reset)

I should not need to copy SuperSU since the the package I mention in step 1 (above) is rooted already? Just copy over the "AT&T UCUCNJ1 i317 Rooted CWM/TWRP Note 2" to external sdcard.

3 - Install a current custom recovery - I've been using Philz CWM v6.48.4, but current TWRP or standard CWM should also be fine

I'm not really sure what "current custom recovery" mean. Does this just mean I can install "Philz CWM v6.48.4" via Odin from the link you posted in OP?

If I install "Philz CWM v6.48.4" is there a step I need to do after that to "install current custom recovery"?

4 - Boot recovery, perform needed wipes (see first section under install)

does Boot recovery = Boot in download mode holding down Power+Home+VolumeUp?

Since I'm coming from a stock based firmware I should not have to do any wipes correct?

5 - Flash package (Odin or CWM/TWRP)

Flash the package T&T UCUCNJ1 i317 Rooted CWM/TWRP Note 2 that you listed?

Since in the CWM recovery mode I should just choose "install zip from sd card" and locate the package I copied over?

6 - (Stock packages) Boot phone once, click past any setup screens, let settle for a few minutes

I should not need to do this step since it says "Stock packages"?

7 - (Stock packages) Boot recovery, flash SuperSU

I should not need to do this step since it says "Stock packages"?

8 - Boot phone, (click past setup screens), run SuperSU, disable Knox - SuperSU will hang - wait a minute, restart phone

9 - After restart, run SuperSU again, disable Knox again, this time it will take

Step 8 and 9 is pretty dummy proof (even for me :silly:)

Then I turn phone off and boot into download/recovery mode by holding down Power+Home+VolumeUp

Make sure phone plugged in and use Odin 3.07 to flash the bootlooder "AT&T i317 ODIN 4.3 UCUBMJ4 (Leak) Bootloader & TZ (AT&T Note 2 ONLY)" in OP? Should I check Reset Time and Auto Reboot when I do so?

Sorry for being so detailed but I figured if I asked in a very thorough way then I won't have to ask additional questions later and take up more of your time. I've read all posts in this thread and in others to gain a better understanding of what I need to do before asking this question. I love the work you've done here and all the effort you've put in to making this stable release.
[AT&T Samsung Galaxy Note II] Rawr0w0:
What I did with my i317 (if you want root) :

1) turn phone off and put in download mode

2) download odin on pc and download the AT&T UCUCNJ1 i317 Rooted ODIN Note 2 file

**NOTE** Odin ZIP packages should be unzipped ONCE. The extracted MD5 file should be placed in the PDA slot in the Odin app. Do not change any other options. If the phone shows up on top as COMn and the MD5 checks out OK in the status window, you are good to click Start. **

3) download TWRP http://xdaforums.com/showthread.php?t=1981198

4) follow these instructions:

8 - Boot phone, (click past setup screens), run SuperSU, disable Knox - SuperSU will hang - wait a minute, restart phone

9 - After restart, run SuperSU again, disable Knox again, this time it will take

5) Reboot into recovery, make "base" backup, profit
[AT&T Samsung Galaxy Note II] 1shotsniper:
Thanks Rawr0w0. I think that's basically I the steps I had in blue above. Nice mention of making a backup of the starting point before AND after flashing. I will make a new backup after I have flashed the bootloader as well since I'm coming from 4.1.2 (super old).
[AT&T Samsung Galaxy Note II] 1shotsniper:
An interesting thing to note is that coming from 4.1.2 to 4.4.2 using the explicit steps I posted above had a few issues.

1) The android test (I think it's called this) that happens when the phone boots for the first time after update failed

2) I got a UUID error when the phone booted and had to boot back to recovery mode and use philz cwm to whipe cache (a popup explaining the UUID error told me to do so).

3) After wiping cache and restarting phone the android test went through and upgraded all of the apps I had on the device when I had 4.1.2. This caused a lot of weird issues with many different apps. The Gallary app and instagram were most noticible

4) I figured out some of the apps were having issues because it had data cached on the emulated sdcard (don't remember the full path at the moment since I was in slight panic mode lol). I tried removing the directories using the stock file manager and astro file manager and got a message stating that since KitKat release writing to the external sd card is prohibited. After struggling for a few minutes I decided to go to setting and do a factory reset so it can reformat everything and give me a clean 4.4.2 and wallah. Everything is up and running now and works like a charm.

NOTE: This is probably my goof or misunderstanding of the directions but just wanted to post just in case someone ends up driving down the same dead end that I was.

Thanks for all the great work OP and all others that contribute. It really helps noobs like me "seem" cooler than I am :)