yashsingh1/xdaforums huggingface dataset:
[Sprint  Galaxy Note 4 Android Development] rapiollymega:
Hello,

I don't have a note 4 but I want to root my friends sprint note, I just want to verify if I'm doing this correctly. He's already on lolipop 5.1 I believe. I was looking at This guide to root, but I also want to fresh install a stock ROM.

1. Use odin to install TWRP

2. Create backup.

3. ??? Flash custom kernel? For the root guide says I need it, but I don't see it mentioned in your guidehttp://galaxynote4root.com/5-1-1-kernels/

4. Reset as you mentioned in "step 6" of your guide.

5. Flash ROM (deodexed rom)

6. Clear Cache

7. Flash wanam xposed

8. (Can I restore data at this point?)

9. Reboot
[Sprint  Galaxy Note 4 Android Development] NamelessFragger:
Oh, this is embarassing. I posted this in the wrong thread somehow, thinking it was the Note 5 port thread. Delete this.

I'll actually be reverting to this version shortly due to the issue outlined below.

I found a Gear VR flashable ZIP elsewhere, which seemed to get mine recognized on this ROM. Just had to go through the setup process, put it in again, and-

Oh, wait, it doesn't work. Instant hotboot in low-persistence display mode, and a lot of things not displaying properly afterward. Have to pull the battery and reboot since the power menu doesn't even show. Cripes.

I wonder if it would work better if I could get my hands on the "consumer" 2015 Gear VR variant and file off the bits that keep the Note 4 from fitting in it.
[Sprint  Galaxy Note 4 Android Development] DrKaotica:
Are we going to get anything like this for the new official 6.0 release?
[Sprint  Galaxy Note 4 Android Development] styles420:
There's no reason why we wouldn't, but there can be several reasons why it won't happen immediately - asking about it won't speed it up in the slightest, though
[Sprint  Galaxy Note 4 Android Development] Blakestr:
I cant update my prl after flashing...everything else seems fine, what should I do?
[Sprint  Galaxy Note 4 Android Development] jhill110:
Which rom did you come from?
[Sprint  Galaxy Note 4 Android Development] Blakestr:
I believe it was the first stock 5.0 rom (the one you are supposed to flash if you are coming from kitkat. )
[Sprint  Galaxy Note 4 Android Development] jhill110:
And you didn't take the ok1 update or Odin the ok1 stock tar?
[Sprint  Galaxy Note 4 Android Development] Blakestr:
I odin the first 5.0 tar then i put twrp via Odin. Then i flashed this OK zip via Twrp...this is of course wiping basically everything each time
[Sprint  Galaxy Note 4 Android Development] jhill110:
OK... You didn't read the OP carefully enough. You need to be on the ok1 bootloader and have your partitions set correctly BEFORE flashing this rom as per [MENTION=1503720]tx_dbs_tx[/MENTION] 's instructions in the OP.

Easiest way to get there is to download the ok1 stock tar from the link In the OP. Odin it and re-install the rom. Follow the instructions carefully.
[Sprint  Galaxy Note 4 Android Development] samatagana:
We did get something like this... http://xdaforums.com/showthread.php?t=3352832
[Sprint  Galaxy Note 4 Android Development] HTCZ715E:
i am on COG5 rom.

IF I will flash N910P-OK1-baseband + N910P-OK1firmware, can I skip stock OK1-tar step?
[Sprint  Galaxy Note 4 Android Development] samep:
That should work but I'd recommend factory reset before flashing ROM.

If you're interested in OK1 ROMs, I'd recommend the Ultimate Note 5 or Moar ported ROMs. They're highly functional and stable with just a few things broken that don't matter to some users. Review the OP, if interested. It details what's broken. If you're tired of looking at stock and those things don't matter, that's the way to go.

If you decide to try one of the ported ROMs, it's best to follow the OP. That would mean flashing the full OK1 stock tar.
[Sprint  Galaxy Note 4 Android Development] HTCZ715E:
Thank you for your replay. Reason was terrible DL speed yesterday.. Now seems Ok.
[Sprint  Galaxy Note 4 Android Development] HTCZ715E:
some report

1. so after installing ROM, I go directly to menu and checked possibility of system update.

result: "...... modfied in an unauthorised way" , no update for me..

2. absent icons in notification panel is quite frustrating...

3. was busy installing apps, so only after day checked camera and!!! NOoo, it crashes!

semi-Good news is, other camera apps works (googleCamera, LgCamera)

this should be fault reason:

I/am_crash( 1054): [6683,0,com.sec.android.app.camera,14171717,java.lang.UnsatisfiedLinkError,dlopen failed: library "libGLESv3.so" not found,Runtime.java,371]
09-12 19:31:06.913 E/art ( 6683): dlopen("/system/lib/libseccameraeffect.so", RTLD_LAZY) failed: dlopen failed: library "libGLESv3.so" not found
09-12 19:31:06.913 E/audit ( 2408): type=1400 msg=audit(1473694266.903:196): avc: denied { read } for pid=6712 comm=474C5468726561642031313036 name="libGLESv3.so" dev="mmcblk0p24" ino=219867 scontext=u:r:platform_app:s0 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file permissive=0

---------- Post added at 08:58 PM ---------- Previous post was at 08:22 PM ----------

just now I again fully wiped & flashed ROM to be sure, after install only started camera.. crashes..
[Sprint  Galaxy Note 4 Android Development] samep:
Sorry this didn't with so well.

Probably the reason OP insists on using the stock tar to update to set partitions right. This ROM should be expected to be as compatible and stable as stock.

However, there's only theoretical ways to be rooted and retain OTA capability. Dunno if it works for us but you'd have to at least flash the stock tar, and root with Chainfire Auto Root for Note 4 in Odin. Once you get ready to update, full un-root in SuperSU application and opt to restore stock recovery and stock kernel.

That would limit you to stock system and stock recovery because you cannot mount read only partitions without losing the OTA capability. Nonetheless, Chainfire doesn't guarantee this works because OEMs may have strict monitoring to know changes have occurred. Even stock recovery is temporarily modified to root with Chainfire Auto Root. Although stock recovery can be restored on demand, the change has been made, if so monitored.

It possibly would be less likely that installing TWRP and backup stock to restore later for OTA would work if that's true for Samsung. It's thought to be unlikely that is a possibility. I don't recall anyone has ever shared such a test result. I think it's unknown but doubtful on success.

Some users have abandoned root for ease of OTA updates. Personally, I can't upgrade to a phone known to have a locked bootloader with little to no chance or guarantee of continued root. Passed on Note 7 and still looking for a good upgrade but may keep the Note 4.

I do recall a recent post of a user claiming he used Samsung Switch to update to most recent update despite the modified status. He claims he ticked a box to download for quicker install in setup, ignored modified status, walked away and came back to find update occurred. Dunno; I only know I uninstalled Smart Switch because it didn't claim Note 4 as supported for switching.

http://xdaforums.com/showthread.php?p=68549881

(Post#24).
[Sprint  Galaxy Note 4 Android Development] HTCZ715E:
PROBLEM SOLVED!

problem was in SYM-LINKED file libGLESv3.so wich was not working for some reason.

I deleted symlink file, then copied file libGLESv2.so as libGLESv3.so.

Camera works!!!
[Sprint  Galaxy Note 4 Android Development] HTCZ715E:
in Messages settings, I not found Delivery Notification function. Is it absent??
[Sprint  Galaxy Note 4 Android Development] ianmb:
Dum dum dum...
[Sprint  Galaxy Note 4 Android Development] Cableguy123:
Why are you spamming every TX post in the development forums?
[Sprint  Galaxy Note 4 Android Development] ianmb:
Because I can...lol

Just letting ppl know that txdbstx is EXTREMELY close to a public beta release of his Sprint Note 7 port...and he said that I could post a screenshot of the About Device section of Settings in the ROM. I am one of the testers of the port...any other questions?
[Sprint  Galaxy Note 4 Android Development] aaron74:
Awaiting arrival! Beam me up, I need a new galaxy. :D
[Sprint  Galaxy Note 4 Android Development] Cableguy123:
Nice, was hoping TX would return as he has made some of the best ROMS for this device. Along with Freeza who I believe is long gone.
[Sprint  Galaxy Note 4 Android Development] origons:
HI

have flashed ...

Phone n910P is starting: and I'm getting "com.android.phone was stopped"

how to fix?
[Sprint  Galaxy Note 4 Android Development] jhill110:
Download it to internal storage.

Also... Your pc can't see your card? Are Your drivers right? Have you tried a different cable? A different port?
[Sprint  Galaxy Note 4 Android Development] kaos420:
isnt that just special. What h

Kernel are you on ok1?im on ael 7.8

Sent from my 0x1 Note 4...... I love tep
[Sprint  Galaxy Note 4 Android Development] jhill110:
Haven't changed the kernel.

Special (I am that) Agent 86 OUT... Watch it kaos...
[Sprint  Galaxy Note 4 Android Development] dbug2008:
I thought OJ6 was 5.1.1 and that I didn't have to do that.
[Sprint  Galaxy Note 4 Android Development] allcity187:
Yeah I tried it all, I'm just gonna order a new SD card. I was able to upgrade to ok1, I put the rom zip in my internal storage, thanks for your help, now I just need to fix exposed framework, I'm gonna work on that tonight.
[Sprint  Galaxy Note 4 Android Development] tx_dbs_tx:
Uninstall all of the Samsung usb drivers and reinstall the latest Samsung usb drivers again then reboot your pc. Next wipe everything including factory rest and dalvic-cache etc BEFORE you odin the OK1 rom tar. Once it boots, see if your pc detects your phone's storage as well as the sd-card installed in the phone. Make sure you use a known good usb cable. If all of this still doesn't fix the sd-card read problem on your pc then I would be suprised. Hopefully it's not hardware failure.

Edit: I just saw your last post. If buying a new sd-card get a good class-10 or better and if you can find a genuine Samsung card then get one of them. They are 100% compatible and I have never had a problem with mine.
[Sprint  Galaxy Note 4 Android Development] allcity187:
Thanks for the advice, loving this rom, I just got xposed working, you are the man!
[Sprint  Galaxy Note 4 Android Development] styles420:
Just curious, what difference would wiping make if everything will be completely overwritten by the Odin flash anyway?
[Sprint  Galaxy Note 4 Android Development] qubanaso:
As you are aware if your a typical flasher slash junkie lol its good to wipe incase anything stays behind specially in partitions
[Sprint  Galaxy Note 4 Android Development] styles420:
As a proficient computer guy in general, I'm also aware that rewriting the partition table (a standard part of the Odin flash process) effectively destroys every file that formerly existed in the region occupied by the new partition - the only way to wipe more thoroughly is to write 0's over every single bit on the storage, which, on a 16gb storage, would take exactly as long as writing 16gb of any other data - easily 10 to 30 minutes. That sort of wipe is only necessary to prevent data recovery, because any other form of wiping doesn't actually destroy the contents of the file.

So wiping in recovery doesn't do anything more thoroughly than the wipe that is inherent in the Odin process - if anything, Odin is more efficient because it destroys the entire partition in one move rather than deleting each file individually.
[Sprint  Galaxy Note 4 Android Development] dtr145r:
Is there any way to change the prl locally on the phone?

I used to be able to copy the hiddenmenu apk into the system folder but that doesn't work on the latest...
[Sprint  Galaxy Note 4 Android Development] GROOVYJOSHCLARK:
I really wanted to love this ROM and use it as my daily runner but had a catastrophic failure with SuperSU that caused a boot loop then to lose all my data.

I'll explain, I built a fresh ROM after a full wipe (/internal /system /dalvick /cache /data /format internal X3). Everything was great and working for 2 days then yesterday out of the blue I get root operation failures and then SuperSU began to complain no binary was installed and it rebooted on its own and then looped at which point I was screwed.

The only thing I could do was revert to my week old Nandroid. The SuperSU used was the built-in one installed from the ROM, nothing fancy. This issue seemed to happen in its own after installing apps from the playstore (nothing else was done to this except configure email, normal texts and Skype).

This happened on its own and really F'd me up as I lost texts and data so I'm letting everyone know my experience so others don't face the issue. I followed the install instructions to the T so I honestly don't think it was anything I did wrong but who knows.
[Sprint  Galaxy Note 4 Android Development] GROOVYJOSHCLARK:
Hate to break it to you but that's incorrect, if you don't wipe /data /system /internal in recovery PRIOR to Odin, Odin will write to the file systems while retaining your original data. Forget about partitions, this is Android and not windows where your statement would be correct. The only way Odin is re-partitioning is if you are using a .PIT file which WOULD overwrite your partitions but that is un-likely as I have not personally found a .PIT file for our devices as of yet for the latest COK1 OS.

If you don't believe us, test it, leave data and APPs on the internal, then Odin a new tar and watch the files still exist. You can trust us or fight us but you should ALWAYS wipe in recovery BEFORE using Odin. Up to you though what you do.
[Sprint  Galaxy Note 4 Android Development] richardjrdeal:
If you don't mind me asking, what version (2.46, 2.52, 2.60, 2.62 or something) of SuperSU was it? That may be the problem. I flashed a zip version of 2.52 in TWRP, then later installed 2.60 apk. From what I've read on SuperSU thread, the newest version is all jacked up.
[Sprint  Galaxy Note 4 Android Development] GROOVYJOSHCLARK:
Whatever came with the ROM that was installed by the ROM. I didnt use any external SuperSu so I dont know what the version was. I had to revert to my Nandroid which is a different build all together (Note5 PORT) until this is worked out. I cant have my texts and internal data lost every time SuperSu craps out so I went back to what works for me for now.
[Sprint  Galaxy Note 4 Android Development] jhill110:
Thanks for the heads up but there's nothing wrong with this rom or its version of SuperSU (2.52). If there were an issue it would have come up before. As far as I know it hasn't.

I've used both the Odexed and De-odexed vers with no problems what so ever. I've used SuperSU 2.52 on a couple of other roms as have many. It's not the rom or the su version.

Sometimes caca pasa.

Sorry to here of your misfortune.
[Sprint  Galaxy Note 4 Android Development] styles420:
Android is built on Linux, which is subject to essentially the same partitioning rules as Windows. Android actually formats its partitions with EXT4, which is one of several Linux formats. So that point about it being Android is misguided and incorrect - the fact that it's Android doesn't nullify the facts about partitioning.

And Odin does always use a PIT file - but after a bit of research, I've found that what has changed is that it no longer relies on a PIT file from the tar every time like it used to in the Galaxy S Epic and Galaxy S3 (etc) days - now it first looks for the PIT that is stored on the device and uses that if possible. So they have changed the protocol a bit, which is unfortunate - Heimdall is currently a bit outdated as a result, or I could provide you with a PIT file right now.

However, the upgrade from 5.0.1 to 5.1.1 involves changing the partitions, which means that version of the stock tar will have a PIT included - and if the partitions have not changed again since that time, the PIT from that stock tar should work for later 5.1.1 roms, including OK1. I'm looking for my copy of tx's hybrid OB7_OG5 tar, since that tar was able to update the partitions (if I had had no choice but to use a full stock tar to update my partitions, then I would have lost my OB7 bootloader already) - if I can find the PIT in that file, I'll let you know. UPDATE: My sd card is failing, so I'll have to wait for a fresh download to finish :-/ But it's the sd card I got with my Epic on launch day, so I guess it served me longer than expected, lol

So we've actually identified a flaw with the current custom tars' design - properly made tars would, like the stock tar, completely wipe everything to yield a factory-fresh install. Odin would be useless for brick recovery otherwise, because it wouldn't touch files that don't come with the base rom - and sometimes the problem is caused by files created or added after the initial setup. Odin is in no way intended to be used in a way that retains existing data - even if you're only flashing a modem or bootloader, it should still reformat that partition before writing to it; the fact that the other partitions are left intact would be because Odin had nothing to write to those partitions (so reformatting them would guarantee a brick).
[Sprint  Galaxy Note 4 Android Development] allcity187:
Edit: today my geenify app was giving me a error that it couldn't stop the apps that are running, so I rebooted phone, my phone got stuck on a bootloop. And the worst thing about it was I had a nadriod backup on SD card but my phone is having problems with the card. I had to Odin back to ok1 stock, flash twrp, then this rom, got to work 30 mins late. I think the xposed framework cause me a boot loop. So I have not installed framework. Has anyone experience this issue.
[Sprint  Galaxy Note 4 Android Development] GROOVYJOSHCLARK:
Please stop giving your thoughts as facts, you are so wrong on so many levels and this causes other users to make mistakes.

Believe what you want but since you're obviously a computer guy who knows more than everyone and everything else you probably won't. You are the typical guy who's going to think what you want over a senior system engineer with MCM (Microsoft Certified Master), MCIPT (Microsoft Certified IT Professional) who also carries multiple RedHat (Linux) engineer degrees who helped to write the original BIND DNS protocol. You will argue this to death even though you've already practically admitted you were wrong so I'll leave you with this, Odin does not repartition without a .PIT file, .PIT files are ONLY to change the partition layout. This is not a bug or FLAW (as you called it) in the .TAR this is by design, the .TAR does not need to change the file system so this is a dead point.

You argued that you do NOT need to format in recovery to the OP which is wrong and why I jumped in. I did this to keep other NewB's (such as yourself) from reading this bad advice you gave and making your wrong decision such would eventually cause bootloops and data loss.

XDA is here to help others but when bad or wrong advice such as the one you gave is written, we have to correct it to save others, this is the entire point of everyone helping others.

That was my only point, to save others, instead of listening you wrote a book trying to explain your mistake away. You did this most likely because of your comments on how IT smart you are. So my advice to you is to be less arrogant with your comments and listen to others when you don't know something verses being the know-it-all:

PIT files are used to change partition layouts but do not format the file systems unless instructed. .TARs do not instruct a format.

Pit files are ONLY used if a firmware update needs to change your partition layout (which is very very unlikely).
[Sprint  Galaxy Note 4 Android Development] jhill110:
Wrong forum for this discussion.
[Sprint  Galaxy Note 4 Android Development] GROOVYJOSHCLARK:
Completely agree!
[Sprint  Galaxy Note 4 Android Development] styles420:
Um... I didn't say that it repartitions without a PIT file... I actually said the exact opposite, that it does need the PIT to repartition - it needs something to define how it should create partitions on a brand new, empty device. And you can't "only" change the partition layout, because any pre-existing files that end up overlapping or lying entirely outside of the new partition boundaries will be inaccessible to the OS (the OS trusts the partition table, so files that overlap are seen as corrupted while files outside of the partition aren't seen at all).

What I was not aware of until today is that Odin now uses the PIT stored on the device in many cases - but it does read the PIT every time rather than blindly assuming anything (which would be a problem, since different devices use different layouts, and even different versions of the OS for the same device use different layouts - nothing can be safely assumed by the software, so it has to find out from somewhere... That's where the PIT comes in)

But all I did was ask why a wipe was necessary, while explaining why it seemed odd to me. Odin was originally designed to set up the internal storage of a newly assembled device and install the OS on that blank slate - in the Epic days, it didn't offer any way to adjust partitions while retaining existing data, because it wasn't necessary for its intended purpose. It was also used to restore a device to factory condition in case the factory reset in recovery was insufficient or inaccessible, which is another case where it's easier (and far more reliable) to completely replace the data than to try to identify and repair corrupted files selectively. It was the true "clean" flash, because it could guarantee with 100% certainty that the filesystem contained all of the needed files and nothing else.
[Sprint  Galaxy Note 4 Android Development] kaos420:
Same here. I do custom pcs some programing. Trust me seen first hand .i flash odin boot factory recovey i wipe several times data and cahce.reboot flash twrp in odin.boot to that and wipe several times.u have had nightmares not doing it that way.data of n ome sort always hangs.its android linux .not ntfs.

Sent from my 0x1 Note 4...... I love tep

---------- Post added at 06:23 PM ---------- Previous post was at 06:20 PM ----------

So why didnt you boot in safemode?could of checked it or even reflashed it n in recovery....su that is.

Sent from my 0x1 Note 4...... I love tep
[Sprint  Galaxy Note 4 Android Development] kaos420:
So why didnt you boot in safemode?could of checked it or even reflashed it n in recovery....su that is.

Sent from my 0x1 Note 4...... I love tep
[Sprint  Galaxy Note 4 Android Development] ianmb:
Anyways....anybody seen the new Star Wars yet? No answer needed. (Shifting topic to less hostile area) Lol!
[Sprint  Galaxy Note 4 Android Development] troy22:
Does this rom support ael 7.8 kernal? I just want a clear answer. Also anyone else have problem with netflix?
[Sprint  Galaxy Note 4 Android Development] kenjesse:
Working for me
[Sprint  Galaxy Note 4 Android Development] Chris4809:
Yes to both. Netflix will not work with the kernal this ROM comes with. And it will not work on ael kernal. I think it's ROM related. I also tried it with stock rooted kernal. Still a no go.

---------- Post added at 01:18 AM ---------- Previous post was at 01:11 AM ----------

I just found this. It's a fix for Netflix. https://www.androidfilehost.com/?fid=24052804347790253
[Sprint  Galaxy Note 4 Android Development] kenjesse:
Netflix and Hulu both working for me.

Yes after making appropreate fix in vendor file as i recall.
[Sprint  Galaxy Note 4 Android Development] jhill110:
System/vendor/lib/liboemcrypto.so

Rename it or delete it. Reboot and hello netflix
[Sprint  Galaxy Note 4 Android Development] dantichrist:
I just had the same thing happen.

Luckily my nandroid for OG6 was only a few hours old because I just flashed the OK1 rom late last night.

I had a scheduled backup with Titanium fail saying SU wasn't installed. I opened supersu and it said that SU couldn't be installed. So i bounced the phone to see if that would help, and went into a boot loop.

I had run Titanium after the flash to remove the things I do with every flash, and SU was fine. I used the phone until I went to bed with no issues at all. Then I woke up to the backup failure.