yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
/system image is 100% original, pure stock, it just can't cause any problems as flashing method is an equivalent of flashing via PC Odin. If we are talking about problem with root - the only difference beetween normal and test build is SuperSU version (2.56 in test build, 2.52 in normal build).

Try to install 2.52 via custom recovery:

BETA-SuperSU-v2.52.zip

BTW. Be sure you are using stock (patched) enforcing kernel contained in my ROM, NOT a custom kernel!
[Galaxy Note 4 Android Development (Snapdragon)] tomas_r:
Downgrading supersu didn't help.

Thank you for trying though!
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Try dirty flash normal version (WITHOUT ANY WIPES) and check if it really solves this issue (maybe in the meantime you have changed / added something else)

BTW. Are you using Xposed or custom kernel?
[Galaxy Note 4 Android Development (Snapdragon)] tomas_r:
Dirty flashing normal deodexed didn't work.

Rootcloak depends on xposed. So yes, I'm using xposed.

Edit: The app (C more play) can't play stuff locally on the phone. But I can send stuff to my Chromecast.

That is good enough for me. This is with the test build.
[Galaxy Note 4 Android Development (Snapdragon)] Sylluck:
Hi guys.

Where can I find Permissive Kernel for COJ3 rom ?

Good job and Thank you Alexander
[Galaxy Note 4 Android Development (Snapdragon)] xaxomis1409:
How can I see if my rom is odex or deodex?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] robocik:
if you dont know which rom you flashed (deodexed has "deodexed" in its name) then maybe this app?

https://play.google.com/store/apps/details?id=natanrosenfeld.deodexchecker&hl=pl
[Galaxy Note 4 Android Development (Snapdragon)] xaxomis1409:
I flash the rom on first page said odex. But the checker said is deodexed.

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] didier57:
Same for me...
[Galaxy Note 4 Android Development (Snapdragon)] appleline777:
Netflix won't load on COJ3, any idea?

No worries. Problem solved.
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
As I have noticed that COJ3 sources has been released already - I have updated my repository :cool:

>> KERNEL_N910FXXU1COJ3_SELinux_toggle.zip <<

It is Enforcing kernel by default but Permissive on demand (see attachments). If you want to turn it in Permissive mode at boot - you just need to add this line at the end of /system/etc/init.qcom.post_boot.sh file :cool:

setenforce 0

NOTE: If the only reason of turning kernel in permissive mode is Viper4android then it would be much better to use [MENTION=3931450]dr.ketan[/MENTION]'s solution (see #1225) instead of turning kernel at boot in permissive mode as it is big drop in security

It is enough to check if /system/framework/arm/boot.oat file exists. If yes - then ROM is odexed (in deodexed ROMs usually there is no /system/framework/arm directory at all... or sometimes it exists but is empty).

Simple check, no app required :cool:
[Galaxy Note 4 Android Development (Snapdragon)] vsa:
Thank you again for your work Alexndr. :good: Just a question to make it clear for me, the newly released kernel obove is stock coj3? I am using your ROM in deodexed with your Stock_patched_kernel (enforcing mode). When I flash the new one mentioned above (enforcing mode) - I have no "disavantages" and I am still root and Stock?

vsa
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
You will find the answer here (post #1067):

http://xdaforums.com/showthread.php?p=63260416
[Galaxy Note 4 Android Development (Snapdragon)] hjkkuty:
Antutu 57211 :good
[Galaxy Note 4 Android Development (Snapdragon)] gius0161:
delete
[Galaxy Note 4 Android Development (Snapdragon)] Gizmundo:
We don't need to flash new kernel if we don't need permisive mode do we?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Yes, "KERNEL_N910FXXU1COJ3_Stock_patched" is contained in my DevBase already and it is flashed by default
[Galaxy Note 4 Android Development (Snapdragon)] didier57:
Hello,

system/framework/arm/boot.oat file exists for me. Rom is my odedex. by - against my kernel version is not the same as your top image.

3.10.40-5932638

dpi@SWHD4019#1

Wed Oct 14 22:16:28 KST 2015

Good night !
[Galaxy Note 4 Android Development (Snapdragon)] seavers11:
Is odexed or deodexed better for battery?
[Galaxy Note 4 Android Development (Snapdragon)] melina123:
Can I install colour control apk with this kernel included in this latest rom thx .
[Galaxy Note 4 Android Development (Snapdragon)] melina123:
Wich custom kernel can I install on this rom thx I need it to run my apk colour control please answer.
[Galaxy Note 4 Android Development (Snapdragon)] vsa:
?? I get about 44000 (COJ3, deodexed, stock kernel patched, XPosed running)..

vsa
[Galaxy Note 4 Android Development (Snapdragon)] hjkkuty:
Emotion r20
[Galaxy Note 4 Android Development (Snapdragon)] xPr0metheus:
Which xposed does work with coj3?

Gesendet von meinem SM-N910F mit Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] xaxomis1409:
I am with odex version and I get 52000 . If I install emotion it will go faster?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk

---------- Post added at 06:58 PM ---------- Previous post was at 06:28 PM ----------

With emotion kernel everything works fine? Like screen mirroring or nfs and others?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] sxg75:
On Deodexed:

Heart Rate Sensor / Pulse does not show in s-health, SpO2 does not show in s-health - it used to be there before (when I was using the now abandoned SSRom, and Dr.Ketans L2). Already re-installed from GalaxyApps - alas it doesn't show up in s-health. Some Ideas, Thanks in Advance!
[Galaxy Note 4 Android Development (Snapdragon)] resudo:
***IMPORTANT - please read!***

If I install latest bootloader and modem

BL_N910FXXU1POI4.tar.md5

CP_N910FXXU1POI4.tar.md5

am I going to be able to install ROMs based on different bases? For example Dr.Ketans L8 ROM requires COI3 bootloader and modem, am I going to be able to downgrade to those or It's not possible?

Thanks a lot in advance everyone!
[Galaxy Note 4 Android Development (Snapdragon)] guachanchoya:
This happened to me on a heavy debloated 5.0.1 ROM. It work again just installing a flashable zip of S-Health from another ROM. Simplrom has a nice bloat section where you can find the package. Make a backup before just to be sure if something goes wrong.

Sent using XDA One
[Galaxy Note 4 Android Development (Snapdragon)] sxg75:
SimplRom base is COI - wouldn't that cause other problems?

Thanks anyway... will try.... but... testing in hidden menu (HRM EOL Test) shows some failures - so maybe that's why HRM / Heart Rate Monitor / Pulse / Stress / SpO2 Sensors are marked as stalled in s-health.

Is there some ways to reset or do I have to re-stock?
[Galaxy Note 4 Android Development (Snapdragon)] inwithyou:
If I use on J3 the old COI3 Messages_MOD provided, the MMS does not get delivered... Are there any solutions? or a revised mod for J3? Maybe something with delay send like on 5.0.1?
[Galaxy Note 4 Android Development (Snapdragon)] carlinho77:
At every reboot i lost battery's stats !

Someone else ?
[Galaxy Note 4 Android Development (Snapdragon)] didier57:
carlinho77 , remember to give more details on your rom model and whether or odedex deodedex , kernel ... For my part , I do not encounter this problem.
[Galaxy Note 4 Android Development (Snapdragon)] s3v3nty:
Salve ho installato questa rom tutto ok., ma qualcuno di voi ha problemi con i controlli remoti?

Hi I installed this rom okay . , But some of you have problems with remote controls ?
[Galaxy Note 4 Android Development (Snapdragon)] SleemLDJ:
Show Note5 some love please ?????
[Galaxy Note 4 Android Development (Snapdragon)] fredphoesh:
YES Camera works now! Thanks!
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
hi [MENTION=5150393]_alexndr[/MENTION] .. can i know why some has camera issue with coJ3 ??ist because of rooting method ? because i was having this with stock unrooted coj3 ! when i was opening the cam it failed opening !! so i think the issue is with coJ3 !! so can we use ur test build as a final build for the solution of camera issue !!?

thanks all
[Galaxy Note 4 Android Development (Snapdragon)] KeTuRr74:
Its probably a kernel issue. Try to flash Emotion kernel to fix this issue. Some get the same problems and flashing Emotion kernel fixed it.
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
I tried both stock and emotion kernel, no luck with camera.

Only thing that fixed it was flashing the devbase_test version. But i am looking for a deodexed rom to flash, because i use xposed a lot.
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
but i heard that xposed working with odexed rom better :confused:
[Galaxy Note 4 Android Development (Snapdragon)] catolh:
installing xposed framework on a odexed samsung phone will put it in a bootloop unfortunately.
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
may be ur right ,, but what i want to know is why the camera open failed from time to time on coJ3?
[Galaxy Note 4 Android Development (Snapdragon)] sefrcoko:
It's been discussed here before. Not everyone had that camera fc but some did. It has something to do with increased selinux security in 5.1.1 and so that test version flashes system as a block .img instead of individual files (which seems to have resolved the camera fc). Blame samsung lol. Their latest security update also seems to break root and cause bootloops with supersu 2.50+ and modded selinux enforcing kernels.
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
so means that flashing the lower super su version will prevent happening this issue ?or may be should wait for alexndre to find a proper solution :D
[Galaxy Note 4 Android Development (Snapdragon)] sefrcoko:
No, enforcing kernels didn't work with earlier supersu versions on 5.1.1 sammy roms. As far as I can tell we can only wait for someone to find another method, although chainfire predicted this in his beta thread several weeks ago and stated he wouldn't be fighting to find new exploits every time samsung or Google plugged them up...so we'll see what happens I guess.
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
but my issue is different from this ,,which is opening camera failed issue sometimes happening even after wiping camera cache ,,also this happened on stock rom i mean coj3 ..,
[Galaxy Note 4 Android Development (Snapdragon)] sefrcoko:
I covered this before... Camera fc seems to be based on new 5.1.1 selinux security combined with modded stock kernel... So try flashing the test version of the rom posted a while back or try a custom kernel instead.
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
yea i will do that probably but first want to know if alexndre will release the test as an official one and ok for daily use :)
[Galaxy Note 4 Android Development (Snapdragon)] Gizmundo:
When shot&more mode selected in camera, after capture there's 5 options and only first (best photo) can be selected.

In gallery cannot view the pic then.

Have you got the same guys or I messed up something?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
YES. After performing several tests I would recommend test version published in #1213 as the main, stable version :good:

Future releases will extend this concept :)

BTW - DevBase 2.0 is coming with many major improvements i have done in the instaler, sh scripts, etc... :cool: some of these improvements I still need to test very thoroughly before I will release DevBase 2.0 containing it

Stay tuned :cool:
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
am forcing myself not to say when :angel::p

thanks your genius :)
[Galaxy Note 4 Android Development (Snapdragon)] DeeJay-DEFFI:
Can someone ported fix for VoLTE from COJ5 Tmobile Czech to this ROM? ?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
You just need to stay on Czech T-Mobile CSC while installing COJ3 DevBase instead of forcing it to unbranded CSC. Please read carefully about "Keep current CSC" feature (post #1)
[Galaxy Note 4 Android Development (Snapdragon)] DeeJay-DEFFI:
Ok, I'm stupid... Sorry... :D
[Galaxy Note 4 Android Development (Snapdragon)] Gizmundo:
can somebody try that? Don't **** on me everybody, even developer
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
I just tried as you wrote - no problem here with gallery in above scenario...
[Galaxy Note 4 Android Development (Snapdragon)] iLLuSi0ne:
I've the same error with camera FC. Is it possible to replace in system/app the camera apk with another one? Or to have the correct apk to install? Thank you in advance

Inviato dal mio SM-N910F utilizzando Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] utak3r:
Same for me - no problem.

Hmm, could be worth trying, as it's a problem only with the app itself, camera works ok, if you use 3rd party app. BTW, I was getting FCs with the normal release, too. No problems on block-written version.

BTW, alexndr, logs were full of not found libs. Maybe symlinks were broken? Didn't has time to analyze it more, as I had to get it working. Maybe I'll try it again later. If you need something, just note me. The biggest problem is this 5.1.1 version is *VERY* verbose, logs are almost unreadable ;)
[Galaxy Note 4 Android Development (Snapdragon)] Dolphin87:
what is the difference between these 3 kernels please ?
[Galaxy Note 4 Android Development (Snapdragon)] DeeJay-DEFFI:
http://live.samsung-updates.com/det..._4_Snapdragon/SM-N910F/DBT/N910FXXS1COK2.html COK2 released... ?
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
its same chanelist so no changes :)
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Same changelist means => no changes in

kernel's zImage

. It is possible that there are some changes in the framework, system apps, libs, security, etc... Note that there is a new COK1 modem also!

Anyway - it is a good opportunity to test DevBase v2.0 (mentioned in #1276) :cowboy:

BTW. Work is almost done (testing) :cool:
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
600MB more from COJ3 ->COK2 ?? :eek:

What did you put in this file, my friend?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Do not bother about the size as:

- it contains 100% stock system.img (~1.7GB in zip's compressed content)

- pre-processed deodexed contents (~200MB in zip's compressed content)

- large multi CSC package (~100MB in zip's compressed content)

Does everything fit now? :)

Note that "Safe De-Bloat" is an option starting from COK2! ;)

For more information see (just created) "Changelog" in post #2 :cool:
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
Just wondered about it :D

Thx for this :good::good:

Just another short question:

what is XXS1 Modem like?

Never heard of this.
[Galaxy Note 4 Android Development (Snapdragon)] hjkkuty:
Deodexed ?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
I'm as surprised as you :)

It depends on "deodexed.rom" entry in options.prop. Please read carefully "Changelog" in post #2 (and how to use options.prop file in post #1)

DONE! I present you DevBase v2.0 !!! :cool:

ROM (ALL IN ONE - for more details see "Changelog" in post #2):

>> N910FXXS1COK2_DevBase_v2.0.zip <<

Bootloader & modem (update is highly recommended!):

>> BL_N910FXXS1COK2.tar.md5 <<

>> CP_N910FXXS1COK1.tar.md5 <<

No wipe data required if you are coming from stock ROM or a previous version of my DevBase :)

To avoid another unnecessary questions:

EDIT: Due to some people (who need deodexed version) still have problem to edit options.prop in the proper way - I attach modified, ready to use options.prop file (containing "deodexed.rom=1" entry already). Just unzip attachment and put options.prop file in the root directory of internal emulated memory or (better) in /extSdCard, then install DevBase v2.0 and that's all -

you will get deodexed ROM

. You do not need to repeat this step every next update I will release. As long as your customized options.prop file is present in (ext)SdCard - future DevBase v2.0 installers will "read in your mind" that you want deodexed version :D

NOTE: It is not necessary to do anything if you want

odexed ROM

- in such case do not bother about options.prop file, just install DevBase v2.0 as it is and enjoy :cool:
[Galaxy Note 4 Android Development (Snapdragon)] seavers11:
When i flash your rom like it is i got stock rom rootet odexed?
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
If you flash it with default settings then YES :)

Default settings are as follow:

#
# DevBase by ALEXNDR (_alexndr @ XDA)
#
# Configuration file to allow customize the installation
#
# I agree to use any part of my work to create more advanced custom ROM,
# but it would be great if you add me to the credits

# Enable root access and install the SuperSU app (thanks to @Chainfire)
# Allowed values: 1 - enable root access, 0 - do not enable root access

root.supersu=1

# Remove usually useless system apps (all are available in Play / GALAXY store)
# Allowed values: 1 - remove apps (safe debloat), 0 - do not remove apps

safe.debloat=1

# Deodex ROM during install (change this value only if you really need it!)
# Allowed values: 1 - deodex ROM, 0 - leave original (odexed) framework & apps

deodexed.rom=0

# Enable init.d support while running stock kernel. Allowed values:
# 1 - enable init.d support, 0 - do not enable init.d support

init.d.support=1

# Enable some hidden features (e.g. call recording) by adding <CscFeature> entries.
# Allowed values: 1 - enable hidden features, 0 - do not enable hidden features

csc.feature.mod=1

# Take care of security-related system files if there are any (SuperSU PIN, Avast Anti-Thelf in root mode).
# Allowed values: 1 - make a backup and then restore at the end of installation, 0 - skip backup

security.files=1

# CSC Selection. Allowed values:
# KCSC - Keep current CSC, recommended in most cases (automatic selection or copy your current CSC contents).
# You can force the use of natively supported CSC by typing (use UPPERCASE!): ATO, AUT, BAL, BTU, CYO, DBT,
# ETL, EUR, ILO, ITV, LUX, MEO, MET, NEE, ORX, PHE, PHN, ROM, SEE, SIO, TPD, TPH, XEF, XEH, XEO

CSC=KCSC
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
I have your deodexed version COJ3 installed.

May I flash v2 (odexed) over it, without a full wipe?

Or I need sonething to wipe also?
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
cz both are different and both have different bootloader and cp so flash with full wipe
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
So I put deodexed.rom=1 in the options.prop. Is this right?

Where's the build.prop? :(

It was so easy to flash new new deodexed version over the old. with v2 everything changed.

sometimes old things shouldbe left. imho.
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
No, wipe data is not necessary. No matter if you install odexed over deodexed, deodexed over odexed, deodexed over deodexed, v2 over v1, etc... :cool:

Yes, it is right. BTW: You do not need to modify options.prop inside the ZIP. Just put modified copy in the root directory of extSdCard or internal emulated phone's memory. You can leave this file there for future installations without need to remember about options.prop :) then next time installer "will remember your choices", simple? :cool:

New build.prop is inside the system.img and it will be available for you after installation in /system. I do not understand your problem that it is not visible in the installer. Why do you need it BEFORE installation will end?
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
hi [MENTION=5150393]_alexndr[/MENTION] just downloaded v2 and flashed without doing anything ..is that mean my rom is odexed or deodexed ?

thanks
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
Because I'd like to add some points before flashing your new.

I'm going to flash now the v2 COK2 in odexed mode over deodexed COJ3. without wiping

Hopefully it works, as told ;)

Thx alot for your work.
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
Going to give the latest a try ;) Thanks [MENTION=5150393]_alexndr[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
So add your favorite lines to updater-script and these entries will be added on the fly while installing :D have you seen new updater-script?

Below is an example (in red) in case you want to change "ro.securestorage.support=true" to "ro.securestorage.support=false"

Same syntax if you want to add a new one :cool:

[...]

package_extract_file("alexndr/set_prop.sh", "/tmp/set_prop.sh");
set_perm(0, 0, 0755, "/tmp/set_prop.sh");
run_program("/tmp/set_prop.sh", "ro.build.display.id", "ALEXNDR");
run_program("/tmp/set_prop.sh", "wlan.wfd.hdcp", "disable");
[COLOR="Red"]run_program("/tmp/set_prop.sh", "ro.securestorage.support", "false");[/COLOR]

[...]

Is it simple? :D
[Galaxy Note 4 Android Development (Snapdragon)] loekis:
Maybe I'm missing something.... but I get a bootloop installing v2. BL and Modem working fine, installation starting but after a while rebooting (into recovery). Installing previous version works fine after wiping system, all back to normal again.

Tested with Philz and TWRP.

Not a big problem, but being a flashaholic I'd like to know what I missed in the procedure.

Thanks for any hint...
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
i just checked with an apk that my rom is deodexed ,, cz i flashed the v2 rightaway without doing anything just full wipe ,,,ist normal or bad ?

---------- Post added at 08:20 PM ---------- Previous post was at 07:45 PM ----------

whenever i ask hhh the thread become silent :D
[Galaxy Note 4 Android Development (Snapdragon)] SavanTorian:
Great :D

---------- Post added at 08:27 PM ---------- Previous post was at 08:23 PM ----------

You cannot flash COK2 BL and COK1 Modem to a previous version only.

These files are only to be flashed with v2 COK2 base
[Galaxy Note 4 Android Development (Snapdragon)] loekis:
wrong, booting well with old version and bootlooping with new one. First tried with old bl/modem and v2 - bootloop.
[Galaxy Note 4 Android Development (Snapdragon)] xaxomis1409:
I have to unistall x posed if I flash cok1 over ?

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Do not use apps from play store to check if the rom is odexed or deodexed - most of these app are outdated and are WRONG reporting deodexed ROM in case of 5.x.x odexed ROMs

See post #1238 (at the end) and check it manually.

DevBase v2.0 is ODEXED by default !!!

Stange, no problem here! I've tested it many, many times in different installation scenarios (while I was tunning new scripts over the last few days) using TWRP 2.8.7.0, PhilZ 6.59.0 and FlashFire v0.24. In all cases installer worked without issues.

Just tried AGAIN dirty re-flash (2 times) COK2 DevBase v2.0 - one time with PhilZ and another with TWRP - still no problem here!

I don't know what is the exact problem with your phone... Maybe try to flash pure stock COK2 (from Sammobile) using PC Odin, then flash again TWRP and then try again with DevBase v2.0
[Galaxy Note 4 Android Development (Snapdragon)] alandd86:
ok ,,but what i want to know is that flashing without doing anything is ok ? just bt and cp and fullwiped flashed rom without changing any option :$ cz ddnt know what to change :D
[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
Yes, it is OK :) default settings mentioned in post #1295 are quite OK :good: (personally, for daily use, I'm using DevBase installed with these settings)