yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
[MENTION=5377656]prototype74[/MENTION] : I'd like to suggest one change and one addition to your upcoming updated release:

Make "Settings/ Apps/ 3-dots menu (upper right corner): Default app selection: change to 'Ask before setting default'" default in the corresponding settings file somewhere in Android.

Reason: we all like choices, don't we, rather than be dictated by Android what apps open our files based on one initial click

.

Add an option "Allow root ADBd" to the installer so that 'adb root' works. Right now even when we toggle 'Shell' to 'On' and 'Superuser Access' to 'Apps and ADB' in Magisk Superuser settings, 'adb root' responds with "adbd cannot run as root in production builds". However luckily with your ROM,

turns the prompt from "jackpot2lte:/ $" (=user build) to "jackpot2lte:/ #" (=engineer build), and I can successfully run

Unfortunately there is no fulling working file manager for macOS right now which fully supports full root access to Android via

(additional switches/ parameters after 'su' just as an example for you so you can easier reproduce).

The required code behind the option you can get here from Stackoverflow. You'll even see that under "Allow root ADBd", a sub-option "Start ADBd as root by default" (vs. 'On demand') can be added.

(alternatively he even mentions a modified adbd binary which does not check for 'ro.debuggable', if anything else fails)

Test if you were able to enable it simply by running

it should say "restarting adbd as root" or "adbd is already running as root" :good:

.

Optionally: add a "Allow root ADBd" option in "Android 'Settings -> Developer Options" incl. the sub-option "'ADB only' or 'Apps and ADB'" analog to the Magisk setting. Not sure though if that option would *require* root either via Magisk, SuperSU etc., or if that adb mod even works w/o root.

[Update 2019-05-24]: for now I am using adbd Insecure by Chainfire for on-demand full access to / with the macOS version of adbLink 4.1 via its file manager module.

Would love to hear what you think :cool:, and let me know if you need any more links or explanations.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
1. I don't see any reason to do that. It's not that difficult to change defalt app selection in settings. it's just a one time procedure after a clean flash/factory reset.

2. As you said already it this option needs an "engineer build" that means I have to change the whole ROM to a development build which allows adb root methods but it's totally unsafe for normal users as you can run rooting operations without Magisk or any other root manager. This trips SafetyNet too.

3. Sorry but this is not AOSP :p
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
OK gotcha, thanks [MENTION=5377656]prototype74[/MENTION] for taking the time. Too bad Chainfire left his adbd insecure app with an old Android 5.0 adbd which is not fully compatible with this Android 7.1.1. I did not manage to update the app (simply by overwriting the old adbd.21 with a pre-rooted adbd.25), so might end up adding it from the TWRP 3.2.1 recovery.img to boot.img /sbin/

.. unless you as a dev know another app or some slicker way of activating a pre-rooted adbd on demand form the running system (?)
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
[MENTION=5377656]prototype74[/MENTION] : the adbd daemon in boot.img is pretty outdated (10.0.36), current is 10.0.41. I think it would make sense to update it for best compatibility with current Desktop adb from platform tools.

display phone's adbd version:

#!/bin/bash
clear
echo
echo "if adb runs in user (non-root) mode:"
adb shell "su -c adbd --version"
echo
echo "if adb runs in root mode:"
adb shell "adbd --version"
echo
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
There's a bug regarding roaming. Let me know if you want me to file it.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
SEPerience-ROM v5.0 is here!

Please read this post

​

Changelog v5.0:

- ROM renamed to SEPerience-ROM A8 2018 Port

- Updated Base version to J510MNUBU3BSC1

- Updated OpenCV library

- Updated system binaries metadata

- Hybrid security patch Aug 2018/March 2019

- Reworked aroma installer

- Dual Speaker Mod (for all variants)

- Unified build (A3/A5 + J5)

- Serenity Kernel has been removed (J500xx)*

- Quasar Kernel has been removed (A 2015 series)*

- Added Call recording option (selectable in aroma)

- Added Camera shutter sound (selectable in aroma)

- Added OneUI Audio (selectable in aroma)

- Added DPI settings in aroma

- Added extra quick tiles

- Corrected J500G battery properties (2100 mAh)

- Disabled rotation on lockscreen

- Disabled dm_verity check and tima service

- Enabled Caller ID and Spam Protection for all CSC

- Extra volume steps in calls (selectable in aroma)

- Fixed compatibility failed issues in certain TWRP versions

- Fixed permissions for certain system configurations

- Fixed Live Message

- Fixed Samsung Health on non-rooted phones

- Fixed Smart Stay

- Full OneUI emojis support

- Moved some CSC features to customcsc_v25.xml

- OneUI clock font (selectable in aroma)

- Patched OMC to make all of CSC dependent features working for all CSC

- Removed IMEI Tracker from certain CSC (BNG, INS, SLK)

- Removed Kernel menu from aroma installer

- Removed RMM stuff as Snapdragon 410 BL doesn't even have RMM state

- SEPerience-ROM's own custom bootanimation (selectable in aroma)

- System-wide font changed to Android Pie

- Tweaks for better performance and battery life experience

- Updated RIL (J500H)

- Updated System HALs and components

- Updated WiFi configurations

- Using default hw parameters

- Other under the hood improvements

* Default kernel images are:

- A3/A5 2015: hadesKernel v3.1.2

- J5 2015: Quasar Kernel v1.6

- J5 2016: Quasar Kernel v2.0

DOWNLOAD v5.0: AndroidFileHost

Mirror: Google Drive

How to update from previous version:

1. Flash v5.0

2. OPTIONAL: Wipe dalvik cache and cache (not recommend on A3/A5 2015)

3. Reboot

OP updated
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] mahim.khan:
Volte support
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Flegmon:
Thank you for this amazing rom [MENTION=5377656]prototype74[/MENTION]

Even though I probably won't get another device in some time I'll still be exited seeing your upcoming projects and such. :svetius:

P.S. extra thanks for custom DPI and removing screen rotation from lock screen :svetius: :svetius:
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
Thank you [MENTION=5377656]prototype74[/MENTION] , also for your post about the background. "another Galaxy"? What you don't like about the milky way - too many cows .. ;)?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Jagdishjangu:
Thanks ?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] mahim.khan:
I fece ... Sam issue
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Bogdans29:
Do you recomended using fde.ai on this rom..

PS: Dont get me wrong rom works perfect
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
I don't know, I've never tried FDE.AI optimizer
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Jagdishjangu:
Couldn't detect device in my phone. J510FN

Twrp 3.2.1 or 3.2.3 ?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Use twrp 3.1.1 with aroma support and it will install.It failed with me too with 3.2.1 on FN went through install process but at the end said rom failed to install.:D
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
Could you both send me the installation log please and if possible additional a screenshot of the aroma installation process too (vol down + power button)?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Jagdishjangu:
Twrp 3.1.1 aroma link?

---------- Post added at 04:51 PM ---------- Previous post was at 04:49 PM ----------

i will send tomorrow :o
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Have attached recovery log and screenshots.This is only for twrp 3.2.1.No problems on twrp 3.1.1.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
https://xdaforums.com/galaxy-j5/sam...covery-3-1-0-0-samsung-galaxy-j52016-t3571307 Link for 3.1.1:D
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
Thanks for the screenshots and recovery.log but I need the installation log from aroma installer too. There is a button "save log" in the lower left corner. This option will save the installation log to internal storage.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Attached log no problems on twrp 3.1.1 and rom is superb benchmarks at 38661 with quasar 1.6 and 38957 with dragon carbon v2.Aways seem to get game lag with quasar v2 no matter which rom.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
There is different editions of TWRP 3.2.1 for J510Fn. Would both of you please post the link to the TWRP 3.2.1 you were using?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Am using Dyneteve's 3.2.1 build that came with lineage 15.1 and the J32 build will PM you with .tar just extract .img if you want image file which I use.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
Thanks, also for your PM. I've been using Blue Dogerino's TWRP 3.2.1 with Aroma support, which also makes the ROM installer fail. So for installing the ROM indeed Lemlis' TWRP 3.1.1 with Aroma support is required.

I'll change my sig.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] ProXas:
I didn't get to choose kernal, do i have install in separately?

before or after installing ROM?

how do i attach the log i saved from aroma installer in twrp?

because system UI crashed at the beginning, and i want to fix it.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Best to use twrp 3.1.1.0 and make usual wipes davike data system and cache before installing the rom.The kernel choice is in the installer just take your time.At the end of the install there is a button to save log and it will save it to extsd card.Don't use twrp 3.2.1 or higher it fails use 3.1.1.0 and all is fine.Also is better if you are on nougat bootloader as this rom performs better.:D
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] ProXas:
Thanks for your reply, and yes i'm using twrp 3.1.1-0J52016, if the kernal choice is in the installer then i think i missed it somehow. also i did save the log. i just don't know how to post the file here in forums. i can not find any option to attach it here.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
photo

Best move the log from sd card to internel storage it uploads easier to xda.Just choose the attachment above the reply I have screenshot circled in red just pick file to upload.The log file will upload no problem.Close the window and preview your message with attachment then send it.Is always better to preview first especially with attachments then you know post is ok.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
You don't need a specific twrp anymore. You can flash v5.0 on any twrp with aroma support. Read more here.

There is no kernel menu in v5.0 anymore (please read changelog). Quasar Kernel v2.0 gets installed automatically on the J5 2016 while flashing the ROM.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Freak3672:
SEPerience-ROM A8 2018 Port | v5.0

Clean installed the ROM with debloated maximum apps (Thanks to adding more choices to debloat in aroma). I have been running this ROM for a good while now and I can say that this Rom works flawlessly without a single glitch. Also, Battery life is much improved in this version, although I have configured Greenify too. So far so good really smooth and most importantly STABLE.

Great ROM to be a daily driver for a normal user, Not for gamers. This device is not designed to work with heavy applications that drained the most battery life, mobile data, storage at the same time, Also, makes the phone unresponsive and then you complained Dev for poor battery life or ROM performance which makes no sense.

[MENTION=5377656]prototype74[/MENTION] Thanks again for your fabulous work!! :victory:

P.S: Kangers, if you're reading this _I_ 5uck it!!
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Thankyou for updating rom and flashed on twrp 3.2.1.This rom is more than capable of running games and is one of the fastest and smoothest I have used of course on quasar 1.6 fix kernel.I don't play on line games as phone hardware is too limited.Ran the usual set of tests on riptide renegade.RR3 and epsxe emulator where I can monitor frame rates and resolution which is set at 2x.No game lag whatsoever and so responsive.On epsxe I use bluetooth controller and most framerates were 60/60 and of course will drop sometimes 50/60.I use the same tests on all roms and know where the frame rates will drop but this rom gave me probably higher rates than I tested on other roms.Am not a gamer by any means only spend 1 or 2 hours a day.But this rom is perfect for gaming on quasar 1.6 fix which imo is the best TW nougat kernel.Great rom not just for everyday use is perfect for gaming.:D
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
Thanks to you both, I really appreciate your feedbacks :highfive:
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] hknzkl:
can you PM me too ?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Finsnevis:
Yes no problem
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] MMD01:
NFC is k.O

Great job anyways.

Thanks for this.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] mahim.khan:
How to fix .. i am installing any ...app... ... Just finished installing .. and automatically open permission window ... Plss .. help mee
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] NecromancerViper:
This ROM is just beautiful, 8 hrs of heavy usage and still 55% battery? HUH!
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] NecromancerViper:
If this ROM would get AOD back it would be perfect!
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Akash23q2:
Can anyone help me in disabling that automatically run configuration or apps permissi

Can anyone help me in disabling that apps permission granter window that appears after installing new apps.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] mahim.khan:
I am agree with you .. sam problem facing
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Hellrock86:
Hi. Secure Folder works on this ROM?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] NecromancerViper:
Yes
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Hellrock86:
Thanks ;)
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
it's not a problem it's a feature which Google introduced in android 6.0+ allow the user to have control about the apps permissions. If you don't like it, feel free to downgrade to android 5.1.1 or ealier.

knox features (including secure folder) will not work once you tripped knox to 0x1.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Hellrock86:
But I have S9+ with knox 0x1, and there are Secure Folder works, with patched services.jar. Here is not possible this method? Thx.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] akira_yuki:
It's not working for SM-J510MN (TWRP 3.3.1), it gets stuck looping: the phone shows Samsung logo, this picture of initializing screen shows up, restarts, and this process goes on, and on and on...
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
[MENTION=10858225]akira_yuki[/MENTION] do you really need to quote the entire lengthy post for just a simple question/ statement?

From what I know this ROM has not been tested with TWRP 3.3.1 to begin with.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
Again, you can't...

perform a factory reset
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Akash23q2:
Sir do you have any plans for any future updates of this rom, just asking ?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Flegmon:
It has often been mentioned in this tread that this ROM won't be updated anymore which makes sense since I've ran this ROM 5.0 version for a long time and I've found zero problems (other than typical TW Nougat Problems). The J5 2016 is also EOL for Samsung so there wouldn't really be a new base for it.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
hey folks, did anybody succeed in activating Live View in Google Maps on our old J5 2016s?

[IMG="arwn_paris_004_3_phone"]https://img.xda-cdn.com/UoSAME-sIsYyi00aLHf3FDNA8G0=/https%3A%2F%2Fi.imgur.com%2FZUjUHkR.gif[/IMG]

If so, how?

Officially, Samsung Galaxy A8 and A8+ (2018) are supported (J5 2016 isn't), see https://developers.google.com/ar/discover/supported-devices

Apart from latest Google Maps, I have Google Play Services for AR successfully installed, but no Live View enable setting visible in G-Maps.. :(

Also, Google's ARCore Elements which I installed for testing AR crashes on launch, and the AR Ruler App does not work, either, which needless to say means that AR isn't fully working.

Installing MarcAnt01's ARCore/Playground Patcher Magisk module as per gadgethacks.com's manual did not help, either.

Is it because the camera app isn't AR capable, or the camera itself? According to How to Get the Pixel's Feature-Packed Google Camera App on Other Android Devices, what seems to be needed is a current AR-capable version of Google's Camera app modified to work with one's phone, but on XDA's Google Camera Port Hub neither any Samsung J5 nor the A8 are listed.

There is a bunch of Google search results for both, Google Camera app for Samsung Galaxy A8 and Google Camera app for Samsung Galaxy J5 2016, but I hesitate to install any before I hear some feedback from any of you. Thanks.

[EDIT]: the latest version of the Google Camera App which runs in a 32bit arm-v7a environment is v.4.1.006.126161292 from July 18, 2016. It does not offer AR support, at least not for Google Maps Live View. Only later versions of the Google Camera App which all are 64bit do. Case closed.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Bogdans29:
Just here to menton still the best rom for this device..

Thank yku ?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
hey [MENTION=8302995]Freak3672[/MENTION] , did you get notified about my post?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Bogdans29:
The only problem with this rom it lags whab you scrolls through twitter.. if you want some logs let me know..
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
@prototype74 @Freak3672 : it appears garylawwd's reply is a realistic update on my Google Camera app question re. AR (Augmented Reality) camera support for (above all) Google Maps' neat Live View feature, even though he uses a J5 (pre 2016):

Only thing: our J5 2016 have a 64bit ARMv8 Snapdragon 410 (MSM8916) Cortex-A53 CPU, accdg. to both, Samsung's specs and CPU-Z. But this ROM here is 32bit ARMeabi-v7a (v7l), or at least the kernel is.

Question: would it be enough to swap the kernel with a 64bit kernel to make this ROM capable of running 64bit apps like a suitable Google Camera app mod?

Also: nowhere in the J5 2016 forum section did I discover any ROM which is declared to be 64bit, not even in any description..
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
First of all, Camera API 2 doesn't need 64bit support from ROM, it also works with 32bit.

It's true, that MSM8916 is capable of arm64, however, Samsung shipped the J5 2015 and 2016 series with a 32bit kernel and ROM. "Swapping" the kernel with a 64bit kernel isn't that easy as it sounds like. All lot of stuff inside kernel needs to be rewritten, starting with architecture from arm -> arm64, device tree, configs then the drivers, building it with aarch64 toolchain etc.

That's plenty much of work which needs to be done which may ends up in a too big kernel size for the J5's boot partition. imo it's not worth it to put much time in it as making the 64bit kernel itself doesn't enable 64bit support in ROM which answers your question.

Kernel and ROM have 2 different working environments. While a 64bit supported kernel works on 64bit, does the ROM still work on 32bit. 64bit blobs, binaries, vendor, ramdisk etc. are required in order to make the ROM 64bit compatible.

Here comes the bad news: there is no Samsung MSM8916 device which ever got a 64bit enabled Kernel and ROM

If you want read more about Android's Camera APIs feel free to follow this link: https://source.android.com/devices/camera/versioning#camera_apis
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
wow thanks a ton [MENTION=5377656]prototype74[/MENTION] for your all-encompassing and thorough answer - pretty much all is clear now. Just one thing:

Yes - if you again look at my initial posting about this you'll see that I did manage to run the latest version of the Google Camera App which runs in a 32bit arm-v7a environment - v.4.1.006.126161292 from July 2016 - but it's too old and does not offer AR support. Unfortunately only later versions of the Google Camera App which all are 64bit do. Or in other words, in regards to Live View/ AR: J5 2016 case closed..
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] CLENN99:
Which the best kernel for performance? Anyone knows?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Akash23q2:
Almost all the kernels are one and the same for this device, you can choose levathan kernel or quasar 1.6 fix.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] CLENN99:
Why 1.6 not 2.0?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Akash23q2:
Because 1.6 is overclocked.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Suryapanji:
Deleted.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] Suryapanji:
Why the ringtones are duplicated? Can someone tell me how to fix it?

Edit: fixed
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] anomino:
¿Hay alguna forma de eliminar, ocultar o desactivar la barra de búsqueda del panel QS?

Translated by GT: Is there a way to remove, hide or disable the QS panel seek bar?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] denmasgie:
Where i can found this recovery?
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] denmasgie:
I mean twrp recovery with aroma installer
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] RootedLee:
click onto the appropriate link in my signature (TWRP j5xnlte port) :)
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] denmasgie:
Thanks to the creators of this custom ROM, after several months of searching for a custom ROM suitable for j5xnlteunzt (SM-J510UNZT) I finally found it in this thread. I've been using the custom ROM for 2 days and so far I haven't found any major bugs.
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] denmasgie:
for twrp recovery that I use turns out to be able to use twrp recovery SM-J510FN (j510xnlte)
[Samsung Galaxy J5 (2016) ROMs, Kernels, Recoveries] prototype74:
The only way is to decompile SystemUI.apk and remove a line there, however I can't remember which line it was, it's been a long time.