yashsingh1/xdaforums huggingface dataset:
[Sprint  Galaxy Note 4 Android Development] DaggettBeaver:
Some tips for those who already took the OG5 OTA update and want root (will be obvious to most of you, and most of this has already been covered in other posts, but some might benefit):

1. Copy the BeastMode kernel zip to your phone or SD card.

2. Start Odin3 v3.10.6

3. Place the TWRP tar in the BL slot

4. Uncheck Auto Reboot in the options tab

5. Flash TWRP -- when it's finished flashing, disconnect USB and pull the battery for 10 seconds (on my phone, if I put the battery in too soon, it boots without pressing the power key)

6. Put the battery back in and boot to TWRP

7. Install the modified kernel zip you copied in step 1, and reboot.

8. Since you're in TWRP, might as well clear the cache.

At this point, there are a number of ways to get SuperSU on your phone. My TWRP asked me if I wanted it to install SuperSU, I said yes, but I already had SuperSU installed on my phone, anyway.

My phone complained about "KNOX has unfortunately stopped", so I just used Titanium to freeze all the KNOX apps, which cured that.

Be very patient the first time you run apps that request root. It will pop up the "grant" dialog eventually, but sometimes it's slow to do that after a boot.
[Sprint  Galaxy Note 4 Android Development] freeza:
That's it. You first have to make your default configuration for trltespr, then you use the make menuconfig command or edit the .config file it creates manually. If you're using the make menuconfig command, you scroll down to kernel hacking and disable Samsung Root Restriction.

EDIT: In other news, yes, I have fixed the stupid google play error thank goodness. I will be uploading a deodexed debloated version soon. Debloated as in removed all of the google play store available apps (maps, gmail, hangouts, etc). This is done so that you can download each one individually yourself, thus freeing up space from /system.
[Sprint  Galaxy Note 4 Android Development] Androidwarrior:
Was the info i reposted helpful?
[Sprint  Galaxy Note 4 Android Development] kenjesse:
Path for me was a bit conviluted. Tried Odin flashing the baseband tar but just as with trying to flash the OF5 baseband got into a boot loop and had to flash stock OB7 tar reroot and restore backup to recover. Tried 3 different methods to flash baseband all with same result.

So decided to "go for it" just the same so on next attempt to flash baseband once the boot loop started I booted back to recovery and flashed the OG5 zip, Beast kernel and SuperSu beta 2.49. To my pleasent surprise og5 booted and began the updating apps process and booted fully with root. OG5 SUCCESS

Then i attempted to restore my Alliance Rom and much to my horror my phone booted to the Galaxy Note 4 screen, vibrated and promptly turned off. Had to pull battery to get it working again but any attempt to boot resulted in same behavior. Booted back to recovery and flashed the Beast kernel (My Alliance Rom was running Emotion r17 kernel) and wouldn't you know Alliance booted.

So i currently have a fully working OG5 stock rooted backed up and a fully working Alliance Rom running OG5 baseband.

FYI I was also able to restore a backup of stock, rooted OB7 with AEL kernel. I guess OG5 doesn't play well with Emotion kernel.

This is one tuff phone... LOL. And we have some excellent Dev's, thanks for the hard work.
[Sprint  Galaxy Note 4 Android Development] freeza:
Unfortunately not. I removed every google app I could, then downloaded gapps and used those instead with no success.
[Sprint  Galaxy Note 4 Android Development] ch3ck3rs:
Anyone had trouble with Netflix? I deleted and reinstalled but the app still won't load. Otherwise everything else is running smoothly
[Sprint  Galaxy Note 4 Android Development] fatboypup:
Welp this brought me back from my lg g4 that camera is fire but everything else well ......
[Sprint  Galaxy Note 4 Android Development] freeza:
Uploading deodexed debloated version. :)

I may add a regular deodexed version but as i was testing out the theory to remove google apps for the 491 error, I just left it like that once I fixed the 491...
[Sprint  Galaxy Note 4 Android Development] Androidwarrior:
That's what it is!!!! Xposed here we come!!!!
[Sprint  Galaxy Note 4 Android Development] Plonko:
[MENTION=309990]freeza[/MENTION] , first outstanding work. Thank you. I had the S3, my wife the Note 3, and I upgraded to the Note 4. It's always a pleasure to find your contributions to the forums.

One quick question. On every boot, I get a toast, "Attention Android update successful". I've tried the standard of wiping caches, but it persists. Any thoughts? It's not a huge issue (everything seems to be running well), but if I'm missing an easy fix, I'm all ears.

Thanks again for getting us up and running on a root OG5.
[Sprint  Galaxy Note 4 Android Development] kenjesse:
Netflix and Hulu both working for me out of the box.
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
Awesome!!!! You rock
[Sprint  Galaxy Note 4 Android Development] erik077:
Neflix not loading for me either (just got spining circle)
[Sprint  Galaxy Note 4 Android Development] Doc50000:
Kudos man, running great....:good:
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
Freeza thanks where can I donate I want to give back
[Sprint  Galaxy Note 4 Android Development] freeza:
Fixed the netflix issue. Will upload a patch.

DeOdex and debloated is live :)
[Sprint  Galaxy Note 4 Android Development] freeza:
It's below my Avatar, well it should be anyway. Thanks man. Appreciated. Don't feel as though you need to though.
[Sprint  Galaxy Note 4 Android Development] Doc50000:
Oh cant what for that lol.. great, thank you sir..
[Sprint  Galaxy Note 4 Android Development] DaggettBeaver:
Netflix and Hulu are both working fine for me. I cleared the system cache when I upgraded and rooted the phone. Maybe that helped.

---------- Post added at 03:31 PM ---------- Previous post was at 03:28 PM ----------

One request: If you plant to upload a kernel with selinux set to "enforcing" would you specify that in the title of the download link, so we'll know when said kernel is available? If it's not in the plans, then just ignore this request.
[Sprint  Galaxy Note 4 Android Development] freeza:
That's weird.......I haven't got that. What baseband are you on?
[Sprint  Galaxy Note 4 Android Development] freeza:
It'll be up today... .. :D
[Sprint  Galaxy Note 4 Android Development] GuitarJesus:
Will the 6x6 TouchWiz home screen mod work with the deodexed rom?
[Sprint  Galaxy Note 4 Android Development] DaggettBeaver:
Thanks and praise! Your work is amazing and excellent. Thanks so much for it.
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
Freeza ur the first developer I have ever donated to great work
[Sprint  Galaxy Note 4 Android Development] Plonko:
OG5.

I'm thinking it may be an app on my phone not properly building its ART cache. I'll play around with it when I have more time and see if I can figure it out. Perhaps factory reset and then reload my apps one by one to see if I can identify the cause.

Thank you though for the confirmation that it's not normal. Didn't want to spend time on it if it was known side effect of the kernel or a simple fix I was overlooking.
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
My phone does the same thing when I reboot
[Sprint  Galaxy Note 4 Android Development] bigbabo:
where did you guys come up with og5 i looked on sam mobile of5 is latest for n4 or am i late for the party please someone enlighten me and if i can flash this rom on of5
[Sprint  Galaxy Note 4 Android Development] fatboypup:
As snappy is this i cant wait to see a tweaked rom ... could be placebo thou but i feel like its a new phone
[Sprint  Galaxy Note 4 Android Development] freeza:
Thank you sir! I will try not to disappoint
[Sprint  Galaxy Note 4 Android Development] buddyb0i:
Thank freeza
[Sprint  Galaxy Note 4 Android Development] dschachm:
This is awesome, thank you so much. On a side note, anyone get xposed working yet?
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
I tried flashing the deoxed rom but it says file corrupt
[Sprint  Galaxy Note 4 Android Development] freeza:
Have you verified the MD5? It's the same file i flashed with so unless the MD5 is not matching, i'd say something else is the issue.
[Sprint  Galaxy Note 4 Android Development] Doc50000:
Working on it...
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
I got deodexed up and running thanx freeza!!
[Sprint  Galaxy Note 4 Android Development] qubanaso:
We need a kernel now!!!!!! :)
[Sprint  Galaxy Note 4 Android Development] kynolin:
The deodex link goes to "SM-N910P-TRLTESPR-OF5-DeOdex-Debloat.zip" for me, but upon installing it in TWRP it shows "Stock Rooted OG5 5.1.1 Lollipop".

Edit: Looks like it's a typo in the file name of the deodex download. It installed as OG5 just fine.
[Sprint  Galaxy Note 4 Android Development] kachhh:
So freeza whatvwas the problem with goohle 491.. deodex if u dont mind me asking
[Sprint  Galaxy Note 4 Android Development] Abrego39:
Is there a value to have it as 'enforcing' vs 'permissive'? Haven't really paid much attention to it until now.
[Sprint  Galaxy Note 4 Android Development] kachhh:
Lol was a pain.... thank u so much boss
[Sprint  Galaxy Note 4 Android Development] buddyb0i:
Did you get it rooted and was everything OK even though it says that between the two
[Sprint  Galaxy Note 4 Android Development] kachhh:
U think u can show me where to see it ?? My knowledge is low haha
[Sprint  Galaxy Note 4 Android Development] kynolin:
Looks like it's working just fine. The deodex file looks like a typo. It's COG5 and rooted. I could open up Helium and SuperSU worked as normal.
[Sprint  Galaxy Note 4 Android Development] THunDA:
Rom is running great.. fast and smooth .. thanks!
[Sprint  Galaxy Note 4 Android Development] buddyb0i:
What was your exact steps to get the ROM running do I have to do anything with the baseband???? And did you flash the kernel after the rom
[Sprint  Galaxy Note 4 Android Development] dschachm:
Not a bid deal but I am getting g android is starting on every boot with deodex.
[Sprint  Galaxy Note 4 Android Development] ehusidic:
Everything is running great but randomly I'll get a reboot to complete activation message that i can ignore.. not too annoying since it doesn't force me to reboot but thats it.. deodexed debloat version.. clean install multiple wipes
[Sprint  Galaxy Note 4 Android Development] freeza:
Netflix fix is up on the OP.

I would like to thank you all for the bug/issues reports! I wouldn't have found them if not for you guys. I'm working hard to resolve all of them.

As for the activation, android is starting, and android has been upgraded messages: I can only assume something in the baseband isn't being stuck when reporting the firmware version to the server. I haven't had that message on my phone, maybe because I took the OTA and didn't flash the baseband with Odin. Maybe it is related to the rest of the firmware somehow? I'm not exactly sure.

I also don't have android is starting on boot or activation reboot message. I'll try and narrow them down but for those that have these problems: Are you guys coming from OB7 bootloader? maybe it is a common circumstance.

Maybe try updating profile/PRL or even tap the activation setting maybe it'll trigger something to finish.
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
U was right md5 was different I redownloaded now it flashed
[Sprint  Galaxy Note 4 Android Development] ianmb:
I got that on the odex version also. Wiped phone completely installed the stock tar, figured no point in going back since there is working root, then flashed tar in Odin. Let phone completely boot up and went thru set up. Updated a few apps. Rebooted phone to download mode, flashed TWRP in Odin unchecking auto reboot. When finished pulled battery and usb. Waited a few then put battery back in reboot to TWRP recovery, flashed Mod Kernel reboot. Let phone do its thing again with provisioning, haven't had the pop-up since.
[Sprint  Galaxy Note 4 Android Development] ch3ck3rs:
[MENTION=309990]freeza[/MENTION] the Netflix fix worked perfectly. Thank you for fixing so quickly. Running Odex version with zero issues. Thanks for putting your time into this, it's great work!
[Sprint  Galaxy Note 4 Android Development] freeza:
Thank you [MENTION=536674]zdragon[/MENTION] for the donation. It is greatly appreciated. :)

Again thanks to everyone for the support and keeping up on these bugs. With your help we're going to make this ROM flawless.
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
I updated to og5 with kies and i still get the message after a reboot
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
I dont have android is upgrading or activation complete. But when reboot phone it just says android is starting for a couple of seconds. On deodexed and on ob7 bootloader
[Sprint  Galaxy Note 4 Android Development] logikzzz:
anyone get xposed installed on this deox?
[Sprint  Galaxy Note 4 Android Development] sml2004:
Wouldn't work for me. Sure it will soon.
[Sprint  Galaxy Note 4 Android Development] djconundrum:
Great work freeza. Only issues i see is private mode not working, cdma only at first boot as default and mock locations enabled as default. But it is nice having the new update in deodex thank you.
[Sprint  Galaxy Note 4 Android Development] Shadeoblac:
I took OTA and don't have those messages either, so I think you're on to something there.
[Sprint  Galaxy Note 4 Android Development] mrkevbrown:
Anyone use galaxy tools to enable hotspot on deodexed?
[Sprint  Galaxy Note 4 Android Development] ianmb:
Xposed is only up to sdk21 whereas this ROM is running sdk22.

---------- Post added at 10:22 PM ---------- Previous post was at 10:20 PM ----------

Couldn't get the 3.1.8 update to install. I just used the ##3282# with my msl and changed it in APN settings. Could get same results using sqlite editor.
[Sprint  Galaxy Note 4 Android Development] kynolin:
I was coming from BOB7. I flashed the stock COG7 tar via Odin, then TWRP via Odin. I then did a factory reset in TWRP and installed the deodex ROM from the OP. It was probably overkill, but I was in the mood for a nice, clean wipe/upgrade after three weeks away from home with almost no internet. :cowboy:
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
3.1.8 it updated fine for me
[Sprint  Galaxy Note 4 Android Development] lilmeanz:
Should i update if im on initial build if my phone occasionally ask me to reboot?
[Sprint  Galaxy Note 4 Android Development] dschachm:
I was on odex and switched to deodex and got the android is starting.
[Sprint  Galaxy Note 4 Android Development] ianmb:
Install as normal apk or push to system/app?
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
Normal i installed 3.1.5 first then 3.1.8

---------- Post added at 07:46 AM ---------- Previous post was at 07:41 AM ----------

When i go to hangout it says no connection unknowingly issue with google play services and another thing i noticed was samsung keyboard doesnt have mic

I think the hangout issue is with google because i cant login to gmail
[Sprint  Galaxy Note 4 Android Development] flyhighx:
Instead of a having few people who are on the OB7 bootloader letting us know they have the reboot and/or activation messages maybe we can try the reverse to eliminate the OB7 from the equation.

Is there anyone on OB7 bootloader who does NOT get the reboot/activation message? And if so, let us know odex or deodex? This could save a lot of trouble shooting.
[Sprint  Galaxy Note 4 Android Development] fatboypup:
Me
[Sprint  Galaxy Note 4 Android Development] thearch1tect:
Deodex or odex?
[Sprint  Galaxy Note 4 Android Development] fatboypup:
Odex ... sorry just waking up
[Sprint  Galaxy Note 4 Android Development] tommy_2q:
I went from OF5 rooted to this ROM and kept on getting the restart message.. Flashed the OG5 original tar and got asked to reboot once. Although flashing the OG5 original tar resetted my device..

Thanks for the root freeza.. Really awesome work!
[Sprint  Galaxy Note 4 Android Development] jfenton57:
Is anyone else having issues with TWRP not flashing programs / zips not that they have loaded this rom (I loaded Kernel, TWRP and CF autoroot. Root is confirmed). Was stock before this.
[Sprint  Galaxy Note 4 Android Development] sml2004:
You can't go back it says that everywhere. But you can flash some roms that will work for OG5.
[Sprint  Galaxy Note 4 Android Development] Androidwarrior:
I'm on OB7 bootloader. Using deodex Rom full OG5. Everything is working fine.
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
I had to wipe everything 3x and reboot recovery it will ask u dont have a os just go ahead and reboot it wil say do u want to flash su say yes and then it flashed this rom
[Sprint  Galaxy Note 4 Android Development] samep:
I only Odin'd the modem and flashed your OG5 kernel over OB7 and booted.

Once it booted and I unlocked the screen, there was a Android is updating pop-up that was so quick I hardly noticed it long enough to write the message down; not sure what exactly it said, wasn't familiar. Other than that and having to re-enter my Wi-Fi password nothing odd; I think this is the first permissive kernel that allowed Google Play movies to stream from the web to my phone. Netflix works too, right out of the box. I've rebooted a few times to test: no requests to "reboot to finish" and no "Android is updating" or "Android is starting" no update during boot and no further pop-ups after reboot. I did the PRL and profile updates OK but didn't reactivate the handset. The existing OB7 ROM is deodexed with Xposed still running. Bootloader is the only field in about phone that says it's OB7 but the ROM is in fact OB7 because Xposed still works.

I said all that to say maybe the added step of rebooting OB7 after OG5 modem and kernel updates will complete that nonsense before flashing the OG5 ROM? Also adb opportunity to make a nandroid before leaving OB7. As far as those that use the OG5 tar, maybe let it boot a time it two and do the update before rooting or flashing custom ROM.

And nice kernel. Thanks. I decided to stay with this a bit longer to test compatibility. Hopefully the wait for Xposed for API 22 won't be long.
[Sprint  Galaxy Note 4 Android Development] jfenton57:
And now troubles.

Since TWRP failed whenever it tried to flash anything (I was on stock OG% and rooted per the instructions...Root checker confirmed root), I wiped everything 3X, installed SU as TWRP suggested, tried to flash the deodexed rom and it failed. Now when I try to reboot into recovery, it goes to the Samsung screen and simply keeps bootlooping to that screen. Now what?
[Sprint  Galaxy Note 4 Android Development] flyhighx:
Where exactly does it tell you the bootloader in any field under "about device"? I am unable to find it.
[Sprint  Galaxy Note 4 Android Development] tommy_2q:
Download the original OG5 tar from general section and odin
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
Try to Odin twrp again make sure auto reboot is unchecked in Odin after it passes pull battery. Then boot into recovery with the button method don't boot to system.
[Sprint  Galaxy Note 4 Android Development] Androidwarrior:
It doesn't. Lol
[Sprint  Galaxy Note 4 Android Development] samep:
Build number.

I forgot to say Android version is 5.0.1 I missed that earlier but the first field says the software version is OG5. build.prop is stock OB7 but slightly modified.

Not bad for Xposed with stock-ish kernel.
[Sprint  Galaxy Note 4 Android Development] flyhighx:
I Didn't think so. I assume I'm still on the OB7 bootloader (never updated to OE1 or OF5) since all I did was flash the OG5 baseband in Odin and then flash this ROM from TWRP but I would like to see it somewhere. Where can I find it?

Edit: I found it using Galaxy Tools (3.1.5):

Software-OG5

Baseband-OG5

Bootloader-OB7

Freaking outstanding!!! [MENTION=309990]freeza[/MENTION]

Donation Sent!

BTW, OB7 to OG5 via baseband and Rom (not full OG5 .tar) no reboot/authorize messages.
[Sprint  Galaxy Note 4 Android Development] samep:
Mine is true because I use the stock build.prop, slightly modified.
[Sprint  Galaxy Note 4 Android Development] jfenton57:
Where are you folks getting Galaxy Tools? Every time I search for it in the playstore it is not to be found??
[Sprint  Galaxy Note 4 Android Development] aburns7487:
Galaxy tools isnt in playstore. The app developer removed free support on xda as well and now $20 donation will get you the donated & supported current versions. Any other version is most likely an older personal backup of someone or someone pm'd them it.
[Sprint  Galaxy Note 4 Android Development] kenjesse:
I'm on OB7 bootloader with no messages at boot. Did have an initial problem with TB unable to write to ext-sd but fixed with minor edit of platlfrom.xml file.

Running original odex zip.
[Sprint  Galaxy Note 4 Android Development] Erod730:
Can't wait for the goodies to come especially hotspot
[Sprint  Galaxy Note 4 Android Development] flyhighx:
So that is still necessary to edit the .xml file in order to write to ext-sd huh? I thought it had been "corrected" in 5.1.1. Oh well, another reason why I root i guess.
[Sprint  Galaxy Note 4 Android Development] DaggettBeaver:
Once I rooted OG5, I was able to write to the microSD without editing platform.xml or using an app to do it for me (sdFix, I think). I couldn't write to the microSD before rooting, though. Maybe it has to do with the permissive selinux kernel.
[Sprint  Galaxy Note 4 Android Development] kenjesse:
Not sure what happened with that, was not a problem in 5.0.1.
[Sprint  Galaxy Note 4 Android Development] ianmb:
Closer to getting it setup the way I like it.

With the S6 Weather and keyboard. And custom fonts. Next is the lockscreen with S6 Weather icons.

Looks like Samsung went back to the qmg format for its icons...more crap to get thru....again!
[Sprint  Galaxy Note 4 Android Development] Jandrsn36:
May I ask how did you get the S6 keyboard?
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
Google it. It will show u how to do it
[Sprint  Galaxy Note 4 Android Development] Jandrsn36:
LOL.....thanks
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
Not the best answer lol. But it's very easy a couple of steps watch the YouTube video that comes in search.
[Sprint  Galaxy Note 4 Android Development] fatboypup:
Goggle helping users since 2007
[Sprint  Galaxy Note 4 Android Development] logikzzz:
What toolchain did you make this with? Having trouble getting mhi.ko to build.
[Sprint  Galaxy Note 4 Android Development] ianmb:
Lockscreen icons switched over.
[Sprint  Galaxy Note 4 Android Development] ianmb:
Is that the Xwidget or actual S6 Weather widget? Because mines the S6 widget and doesn't have the zero before the single hour digit.

If it is the actual S6 try flashing the S6 fonts zip. Might straighten it out.
[Sprint  Galaxy Note 4 Android Development] xyojimbox:
It is a modified one from XDA I found while googiling

Edit and yes it's xwidget

Where did you get real deal?
[Sprint  Galaxy Note 4 Android Development] bonebeatz1234:
I don't see any tar files there, where you get it from. Lol wrong section my bad
[Sprint  Galaxy Note 4 Android Development] dvtmg704:
Is the s6 launcher working on this rom
[Sprint  Galaxy Note 4 Android Development] carole6m:
What's the name of the font? Thanks.
[Sprint  Galaxy Note 4 Android Development] ianmb:
Comicblack