Related
(May or may not be the right place to put this)
A place to discuss and attempt to implement Android app compatibility for Sailfish OS.
Now I'm not too knowledgeable about this kind of stuff, I'll need to do more research before I'll be able to help in any meaningful way.
vgrade said:
From a community standpoint I'd much prefer an open solution.
The way the Sailfish stack is designed it leads itself more to an open solution than previous attempts. It uses the android driver libs from original /system , runs an init just as in real android. For example surface flinger would run if you enabled it from init.rc. We can run the original dalvik. So all (and I know its a significant task) that is required is some plumbing to allow switching of surface flinger output to hwcomposer instead of lipstick (the sailfish compositor) and switching touch.
I'd invite anyone interested to join us at sailfishos-porters to discuss further
BR
vgrade
Click to expand...
Click to collapse
UPDATE 1:
I have been working on this lately, and can "boot" into CM11 and get to the setup screen, but the touchscreen, power button and potentially everything else doesn't work as it's still using the sailfish drivers. The only command needed to boot into CM11 is just starting surfaceflinger via "./surfaceflinger" after navigating to /system/bin/ . I did however modify the init.rc file to turn on the android specific services. which I've linked below.
UPDATE 2: using ssh via USB connection breaks when "booting" into CM but using ssh over WiFi does not.
Modified init.rc file
UPDATE 3: Quicksilver is a chromium client for sailfish, and if you build it with NaCl enabled (its currently disabled) then ARChon MAY work. The link to the git repo is below.
quicksilver repo link
UPDATE 4: It's getting close now. Chroot-ing into the android emulator image while also using it's renderer is almost seeing the light of day and we need your help. All info found in this thread.
Some extra posts for context...
The following post is what inspired the vgrade's post (see post 1 of this thread):
kageurufu said:
and Alien is ported over (I know it wont be official, someones gonna do it anyway) this could easily be a daily driver.
Click to expand...
Click to collapse
What makes you so sure of that, AlienDalvik's a proprietary solution, it's not an easy undertaking, IcedRobot really struggled to get anywhere.
I followed it & related/similar for years, but none of them got anywhere really...*
Jolla should be offering AD as a paid add-on via the store, not expecting the community to whisk a decent alternative into reality from thin air.
---------- Post added at 02:27 PM ---------- Previous post was at 02:24 PM ----------
vgrade said:
An open dalvik would be a huge step forwards and any help people can give please drop into #sailfishos-porters IRC
Click to expand...
Click to collapse
Surely a much better "step forward" would be to offer AD as a paid for add-on via the store...
Maybe longer-term you/we can aim for an open dalvik, but there's already too much you're/we're juggling over the next ~12mth.
*google IcedRobot & IcedRobot Dalvik, but here's 3 quick/dirty links:
https://wiki.debian.org/Java/DevJam...do=get&target=icedrobot-fosdem-2011-02-05.pdf
https://github.com/icedrobot
https://twitter.com/hashtag/icedrobot
The old project site doesn't even exist any more, just some junk fitness product:
http://www.icedrobot.org/
Click to expand...
Click to collapse
The next 2 posts below came after vrgrade's response (see post 1 of this thread):
jalyst said:
@vgrade
Interesting, I thought what would be required, is something akin to icedrobot i.e. a complete (openJDK compliant) replacement of dalvik.
Are you saying that something much simpler would be possible (& hence much less work), & would still work just as well?
Sorry for the OT post, last one, perhaps a sep. thread needs to be created here...
Click to expand...
Click to collapse
vgrade said:
Yes , something much simpler.
Please feel free to start a new thread , its there a general area on xda as this would be common to all Sailfish ports, N4, N5 , N7 , Galaxy Nexus etc
vgrade
Click to expand...
Click to collapse
Nice thread. I have not much knowledge about such things here but just to say it BlackBerry OS 10 has also support for Android apps and maybe someone could get done kind of inspiration off their implementation of Android. Just a thought of mine maybe it's completely nonsense what I said but maybe not so.
http://wiki.maemo.org/Apkenv
http://talk.maemo.org/showthread.php?t=87496
Have a look in here., trying to make sense of it myself.
You'd prolly want to get folks like: Mario Torre (IcedRobot), Carstun Munk (libhybris), Thomas Perl (apkenv) involved in one way or another.
Plus some Android guys who are well respected in this community, & who know dalvik/art inside out...
aironeous said:
http://wiki.maemo.org/Apkenv
http://talk.maemo.org/showthread.php?t=87496
Click to expand...
Click to collapse
https://openrepos.net/content/lightdot/apkenv
Yeah but, apkenv is far from being a solution, we need some of the relevant parties engaging here, not end-users.
ARC - App Runtime for Chrome OS, is promising, if anyone knows how to port it over . I can't find any source files, other than ARChon. Could it be this.
nh1402 said:
ARC - App Runtime for Chrome OS, is promising, if anyone knows how to port it over . I can't find any source files, other than ARChon. Could it be this.
Click to expand...
Click to collapse
https://chromium.googlesource.com/a...410.206.0/docs/getting-started-open-source.md
A small set of shared objects can be built which are part of ARC currently.
A fully running system cannot currently be built.
Click to expand...
Click to collapse
EnErGy[CSDX] said:
https://chromium.googlesource.com/a...410.206.0/docs/getting-started-open-source.md
Click to expand...
Click to collapse
I take it Archon works as it works through Chrome, which has similar stuff to Chrome OS.
EDIT: I mean theoretically you could install all the relevant repos to install chromium and then get archon working that way.
nh1402 said:
I take it Archon works as it works through Chrome, which has similar stuff to Chrome OS.
Click to expand...
Click to collapse
Archon is just repack of ARC extensition to make it work under desktop Chrome.
nh1402 said:
EDIT: I mean theoretically you could install all the relevant repos to install chromium and then get archon working that way.
Click to expand...
Click to collapse
installing chromuim to Sailfish os is no trivial task.
I was just stating theoretically speaking. I wasn't suggesting someone should do that, I understand that its not a trivial task. I guess we should wait till they release all the necessary files then, unless they don't plan to then we're back to square one.
I thought I would try and see what happens if I pause lipstick (kill -STOP 950) , and start surfaceflinger (./system/bin/surfaceflinger), and see what happens, turns out it shows that "static-y" image like when you're booting into sailfish.but since sailfish doesn't use surfaceflinger then nothing happens it just stays with that same screen. stop surfaceflinger, and then run (kill -CONT 950), and then start interacting with the screen again, everything goes back to normal.
If I can find out the bare minimum needed to install and run an apk, it could work, but probably won't.
If someone knows what services are needed in order to either boot into android, or to get an app to run, please say so.
EDIT: I can now get to the setup screen of cyanogenmod, but that is it, touchscreen doesn't work and ssh connection breaks. But its recognised as an unauthorised device in adb.
And how about https://github.com/vladikoff/chromeos-apk/ ?
sledges said:
And how about https://github.com/vladikoff/chromeos-apk/ ?
Click to expand...
Click to collapse
That works through Chrome/Chromium.
nh1402 said:
That works through Chrome/Chromium.
Click to expand...
Click to collapse
Chrome OS is a GNU/Linux distro, so would need crosscompiling to ARM and integration effort
sledges said:
Chrome OS is a GNU/Linux distro, so would need crosscompiling to ARM and integration effort
Click to expand...
Click to collapse
Checking the source code documentation still reads "A small set of shared objects can be built which are part of ARC currently. A fully running system cannot currently be built." They could provide an update and release the shared objects at Google I/O later this year but I wouldn't hold my breath.
Is Gentroid worth looking into? https://code.google.com/p/gentroid/
aironeous said:
Is Gentroid worth looking into? https://code.google.com/p/gentroid/
Click to expand...
Click to collapse
Nice find, I would say that it is.
Now there are 3 promising Android solutions
CM (if we can get touch working)
gentroid
quicksilver (if ARChon works on Chromium)
Im thinking of rooting my note 3 (sm-n900) and installing CM 12.1. The main reason to do this is to eliminate the bloatware, increase the speed, get the latest updated (improvements, updates, security fixes, etc). By doing this, I will loose some cool features I love (like the smart stay, s view cover, S pen features, etc). So, what do you think? To root or not to root?
I can't possibly think of a day without an unrooted phone!
At the same time I can't possibly think about putting CM or anything like that anywhere near my phone.
Hope you get what I am trying to say.
THpubs said:
Im thinking of rooting my note 3 (sm-n900) and installing CM 12.1. The main reason to do this is to eliminate the bloatware, increase the speed, get the latest updated (improvements, updates, security fixes, etc). By doing this, I will loose some cool features I love (like the smart stay, s view cover, S pen features, etc). So, what do you think? To root or not to root?
Click to expand...
Click to collapse
Tell me how it goes if you go through with it because I'm unsure about doing myself.
Sent from my SAMSUNG-SM-N900A using Tapatalk
devilsdouble said:
I can't possibly think of a day without an unrooted phone!
At the same time I can't possibly think about putting CM or anything like that anywhere near my phone.
Hope you get what I am trying to say.
Click to expand...
Click to collapse
Sorry... why don't you like CM?
THpubs said:
Sorry... why don't you like CM?
Click to expand...
Click to collapse
Multiple reasons, really don't want to type a long list, don't have time.
If you are into that sort of stuffs then why don't you try and let us know. I hate it, doesn't mean you would too.
But a FACT won't change, we are not using some crappy old device where the official support is ended and we are stuck with Jelly Bean or something. I prefer stability and a fully featured ROM more than any buggy nonsense. However there are people who don't listen to songs, take pictures or videos or talk on a mobile phone, for them display, sound those don't matter, only if Facebook opens with some decreased animation times they are happy, but I am so fortunate to be not one of them, if you get what I am saying.
devilsdouble said:
Multiple reasons, really don't want to type a long list, don't have time.
If you are into that sort of stuffs then why don't you try and let us know. I hate it, doesn't mean you would too.
But a FACT won't change, we are not using some crappy old device where the official support is ended and we are stuck with Jelly Bean or something. I prefer stability and a fully featured ROM more than any buggy nonsense. However there are people who don't listen to songs, take pictures or videos or talk on a mobile phone, for them display, sound those don't matter, only if Facebook opens with some decreased animation times they are happy, but I am so fortunate to be not one of them, if you get what I am saying.
Click to expand...
Click to collapse
Great... Now I got what you are saying! And I agree! But I use the phone a lot specially for work and use less for facebook, photos, etc. Since I use it a lot I need more speed and don't like samsung apps getting in my way like the s planner (Can't uninstall it and install google calendar). I also need the latest updated on my phone because I think they have the latest security fixes and bug fixes. Usually when I face a bug, I need to wait for months to or nearly an year to receive a fix with the stock rom. And I like to see how vanilla Android feels like. So If I make up my mind (hard ) I'll try and let you know.
By the way. Can we trust the roms in `sammobile`? They say those are the original stock roms? If I fail, I can use that to revert back right?
dracinn said:
Tell me how it goes if you go through with it because I'm unsure about doing myself.
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
Sure I will let you know if I manage to make up my mind to do it. Still it's 50 - 50
THpubs said:
By the way. Can we trust the roms in `sammobile`? They say those are the original stock roms? If I fail, I can use that to revert back right?
Click to expand...
Click to collapse
Oh yes, sure, you can trust sammobile.com absolutely.
One more thing, you can uninstall any app you want, just install Root Uninstaller. I have uninstalled ****e apps like S Voice, Trip Advisor, Google Books etc. and all those apps I don't need.
devilsdouble said:
Oh yes, sure, you can trust sammobile.com absolutely.
One more thing, you can uninstall any app you want, just install Root Uninstaller. I have uninstalled ****e apps like S Voice, Trip Advisor, Google Books etc. and all those apps I don't need.
Click to expand...
Click to collapse
Cool! But one more thing... how does they get the original firmware if samsung doesn't offer it on their site?
Hehe great thanks!
<Mod Edit> I like to have different view points!
THpubs said:
Cool! But one more thing... how does they get the original firmware if samsung doesn't offer it on their site?
Click to expand...
Click to collapse
Umm, probably sammobile.com is Samsung's site? Can't say really
<Mod Edit>
devilsdouble said:
Umm, probably sammobile.com is Samsung's site? Can't say really
I am not fighting with anyone dude, fighting only happens between two matured people :laugh: I simply am stating a FACT.
Click to expand...
Click to collapse
Hehe cool! Thanks!
Thread Cleaned. Stay on topic. Like OP said, everyone has their own view points AS WELL AS ways to use their phone. Rule 2.3 requires you to show respects to fellow members
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
Click to expand...
Click to collapse
Just because someone likes the convenience and familiarity of Stock Touchwiz does not mean they are wrong. Also Just because phone is rooted does not mean custom recovery and Custom roms HAVE to be installed. Its all about individual preferences.
On the other hand, please do understand, this site is about Development and FOR DEVELOPERS. If you think certain rom has issues, then either fix it yourself since the code is already published. Or raise it to the Developers attention with clearly identified Logcats or bug reports. Blanket statements do not help.
If the argument continues, I will close the thread.
We know there are work in progress to port CM 12 on T810 and T710 but none for T815 and T715
So those like me with T815 or T715 or ... that are looking for CM for their device can post their request in CyanogenMod Forum request page
http://forum.cyanogenmod.org/topic/116361-samsung-galaxy-tab-s2/
Yes; even without phone fuctions is ok for start. I see note 4 exynos got decent cm13 now; I hope no impossible to give it for tab s2 lte. Would be great
Hey, I'm new to this, but I want to give it a shot to try a port for the T715.
I think it should be no problem to make a build without modem support.
So my plan would be to use the source of the T710, if @CTXz allows me to use his sources.
Next I want to try to integrate the modem/ RIL sources, but don't expect too much! I'm completely new to android development and this will be my first project doing myself.
Just did some compilings and ports, but never to new unsupported devices. Maybe with some help it will be possible for me.
Greets, Phil!
Philippovitsch said:
Hey, I'm new to this, but I want to give it a shot to try a port for the T715.
I think it should be no problem to make a build without modem support.
So my plan would be to use the source of the T710, if @CTXz allows me to use his sources.
Next I want to try to integrate the modem/ RIL sources, but don't expect too much! I'm completely new to android development and this will be my first project doing myself.
Just did some compilings and ports, but never to new unsupported devices. Maybe with some help it will be possible for me.
Greets, Phil!
Click to expand...
Click to collapse
Hey, you really don't need to ask to use my sources A mention at the finished ROM would be all I need . However, if you plan to support it, I recommend joining my git group
CTXz said:
Hey, you really don't need to ask to use my sources A mention at the finished ROM would be all I need . However, if you plan to support it, I recommend joining my git group
Click to expand...
Click to collapse
Hey, ok great, thank you!
So let's try it!
A question:
What does one gain and lose by going from stock Samsung to CM12/13?
Thanks!
optionalmgrr.la said:
A question:
What does one gain and lose by going from stock Samsung to CM12/13?
Thanks!
Click to expand...
Click to collapse
That is a very tuff question to answer in just one post and depends on particular preferences. My advise is to Google: Cyanogenmod and TouchWiz.
Sent from my SM-T810 using Tapatalk
danyvw said:
That is a very tuff question to answer in just one post and depends on particular preferences. My advise is to Google: Cyanogenmod and TouchWiz.
Sent from my SM-T810 using Tapatalk
Click to expand...
Click to collapse
It seems the main issue is battery and camera (quality).
i think i messed my t817v. i rooted using odin, and cannot figure out what to do next. it tries to install but gives error message, also my tab wont charge, and when hooked into odin it keeps "adding then removed" over and over again... now i have a tablet that does not work.
any help on this would be awesome.
@CTXz
Philippovitsch said:
Hey, I'm new to this, but I want to give it a shot to try a port for the T715.
I think it should be no problem to make a build without modem support.
So my plan would be to use the source of the T710, if @CTXz allows me to use his sources.
Next I want to try to integrate the modem/ RIL sources, but don't expect too much! I'm completely new to android development and this will be my first project doing myself.
Just did some compilings and ports, but never to new unsupported devices. Maybe with some help it will be possible for me.
Greets, Phil!
Click to expand...
Click to collapse
I would love that!
I also posted a device request at the CyanogenMod Forum.
What you always lose with CM is Bluetooth aptX support for higher quality Bluetooth audio, since they have no licence. And since now there is official MM for the S2 and it - with enough free storage and 3 GM of RAM and root available - really doesn't profit any more from a "slim" ROM than earlier devices did, can anybody point me to a real advantage of CM?
For me CM was never about storage, but about control. As far as possible (for I am no programmer) I want to decide about the rights apps have and don't. It starts with being able to delete them and goes on with being able to restrict their access rights. As far as I remember such privacy guard things are much more easier to accomplish with CM.
Pegaside said:
For me CM was never about storage, but about control. As far as possible (for I am no programmer) I want to decide about the rights apps have and don't. It starts with being able to delete them and goes on with being able to restrict their access rights. As far as I remember such privacy guard things are much more easier to accomplish with CM.
Click to expand...
Click to collapse
But stock MM offers these permission settings now, so what else?
saintsimon said:
But stock MM offers these permission settings now, so what else?
Click to expand...
Click to collapse
My TAB s2 is my first Samsung device.... ( other android devices being nexus 7, xperia z2 / z3, moto g 4G ) ...... I love the tablet but I must say the draw of a supported CM ROM would be the look / feel of stock android and the way the system behaves. Whilst with a rooted device you can remove bloatware, the system itself does not change. All of my other devices have been stock or only lightly skinned....and basically stock once you swap out the launcher.... so I have come to like that. I do find touchwiz to be a little in my face and I do notice the system intrusions a little...... a personal thing of course and I am not complaining as I made the decision to buy it knowing full well what Touchwiz was... but the hardware in the tablet and the price was the draw-card (got the WiFi version here in Aus the first month on sale for $540 ... in comparison, the Nexus 9 was circa $700 and the Ipad Air 2 64gb was $730). My nexus 7 2013 runs MM with less and smoother than the TAB s2 runs LP. I could only imagine what it could do with an ASOP ROM once the bugs were fixed.
Could it be due to a defect usb-port?
optionalmgrr.la said:
A question:
What does one gain and lose by going from stock Samsung to CM12/13?
Thanks!
Click to expand...
Click to collapse
Do u know the difference between WIndows Phone/iPhone and Android, that's the kind of comparison u can use between Stock and CM.
Stock is the cute "little" thing with mostly everything that u may need ready to go.
CM is the smaller in size, much faster and with options to do almost anything u could think in a device.
aaronadams74 said:
i think i messed my t817v. i rooted using odin, and cannot figure out what to do next. it tries to install but gives error message, also my tab wont charge, and when hooked into odin it keeps "adding then removed" over and over again... now i have a tablet that does not work.
any help on this would be awesome.
Click to expand...
Click to collapse
Was this ever fixed?
Why does the SM-T815 run in 32bit mode, even under CM13?
Hi,
I think it's time to start a bounty for daydream on LOS based roms. It's the only feature that is still missing so far.
There is also a bug report on Jira
I would drop 20$.
Are there any other contributors?
20$ _phk_
10$ p4ch1nk0
15$ 0Kajuna0
---------
45$ Total
I would contribute up to $10 USD if someone starts this. Virtual Virtual Reality was on sale and I bought it, but it's not split for each eye in LOS.
$15
Not sure if this forum is the most appropriate for the bounty though, as this affects all LOS devices, not just the Axon7. More people than just us can contribute
Hm ... but daydream is already working?!?! Do i miss something?
MultiCulti said:
Hm ... but daydream is already working?!?! Do i miss something?
Click to expand...
Click to collapse
do those apps mentioned in the bug tracker really work for you?
_phk_ said:
do those apps mentioned in the bug tracker really work for you?
Click to expand...
Click to collapse
sry, my mistake, was thinking it generaly do not work!
So, just few (or more) apps dont work ...
0Kajuna0 said:
Not sure if this forum is the most appropriate for the bounty though, as this affects all LOS devices, not just the Axon7. More people than just us can contribute
Click to expand...
Click to collapse
you are absoluetely right, we should link from other mobiles devices forums to this BOUNTY
MultiCulti said:
Hm ... but daydream is already working?!?! Do i miss something?
Click to expand...
Click to collapse
a few work pretty well. youtube and fulldive let me watch videos, so I'm happy about that. many others either don't show in split screen or show just a black screen.
which other devices That are already supported by Los could get a full daydream support?
Actually i would say that Daydream is only kinda "working" on custom roms right now, but not to the extent Google originally had it in their mind. You can easily see it, if you compare the Daydream-Performance of the rendering as well as the head movement tracking on stock vs custom. When you extensively used it on stock roms, custom roms are still miles away from the daydream feeling you supposed to get, as i described it on my other thread
The jittery head tracking and the performance loss on so far ANY daydream app is not, what our devices really are capable of.
I'm sure there are some kernel "features" or libraries missing, who are necessary for full app support and hardware recognition. From my experiences (and i used Daydream quite a lot in the recent times), it just feels like it.
*BUMP*
$20 from me as well
10$ from me
A solution is found for the non-working apps:
There's a magisk module available here changig the following settings in you build.prop
ro.build.product=marlin
ro.product.name=marlin
ro.product.device=marlin
ro.product.board=marlin
#ro.product.manufacturer=Google
ro.product.model=Pixel XL
ro.build.fingerprint=google/marlin/marlin:7.1.1/NMF26Q/3537182:user/release-keys
After these changes the missing apps also work in daydream mode.
_phk_ said:
A solution is found for the non-working apps:
There's a magisk module available here changig the following settings in you build.prop
ro.build.product=marlin
ro.product.name=marlin
ro.product.device=marlin
ro.product.board=marlin
#ro.product.manufacturer=Google
ro.product.model=Pixel XL
ro.build.fingerprint=google/marlin/marlin:7.1.1/NMF26Q/3537182:user/release-keys
After these changes the missing apps also work in daydream mode.
Click to expand...
Click to collapse
Couldn't you change the properties to the stock ones? I see that custom ROMs use the name 'axon7' instead of the original 'ailsa_ii' which is odd for sure. If Daydream works on stock, and just by emulating another device you can get Daydream apps to work, why can't you change the properties to, well, ailsa_ii?
The app looks better.
Anyone?
I believe it's pretty much the same except for that wide angle option.
I don't think we can use it on our N9's. I'd love to use it for that color pop selfie focus thing
someone needs to port it
bober10113 said:
someone needs to port it
Click to expand...
Click to collapse
Speaking of ports I always found it funny that folks would go through hell to Port another phone's camera like gcam but won't try to poet and upgraded version of their own such as this
Seriously thats true... it's much easy too. Should we start a request to dev thread or something.
the Instagram mode would be the main reason to port for me. would the port be possible?
Do we know any dev to whom we could ask for
I mean the mods skim and monitor these threads supposedly but they probably won't tag the people they know probably know how to Port stuff
Still wondering about this one.... Like... Gcams cool but can we get a port of our own updated software? Please?
I couldn't agree with you more.. Please any mod reply to our concern here.
here it is:
https://1drv.ms/u/s!AhXVLDDj8g3AgfFsz0U2Z6mJaCyA-Q
now just need someone to port it...lol
bober10113 said:
here it is:
https://1drv.ms/u/s!AhXVLDDj8g3AgfFsz0U2Z6mJaCyA-Q
now just need someone to port it...lol
Click to expand...
Click to collapse
Not gonna lie I would try to learn how to Port an app my dang self because most devs and porters only ever want other phones software never to simply make an update for our owns available
Way to go bro!!!
Kotin89 said:
Way to go bro!!!
Click to expand...
Click to collapse
I'm gonna look into it to see what I can do if anything ?
KingVekxin said:
I'm gonna look into it to see what I can do if anything ?
Click to expand...
Click to collapse
that's the spirit!
I have not done a port in years. Always use to port things for my own amusement and development but after playing with the S10 camera I actually wouldn't mind it on our device. I will give it a try but I can't guarantee anything.
thank you soo much for the reply. hope you do it.. and thanks again for your help.
K-alz said:
I believe it's pretty much the same except for that wide angle option.
Click to expand...
Click to collapse
The Galaxy 10's camera allows you to make videos in HDR10+.
So I'd like them to port to Note 9.
First of all the S10 camera has hardware specific features. Secondly, the Samsung camera app is a system app that integrates throughout Samsung's OneUI allowing it to be used from within several Samsung applications seamlessly. Without root or the ability to first remove the stock Samsung camera, you can't install another Samsung camera whether it's ported or not, it won't be allowed to install and be given the system-wide permissions that are required for the camera to function the way the stock N9 camera does. Porting isn't the issue. It's getting around root, kernel DM-verity which will automatically prevent the phone from booting once a system app is modified and it's signature no longer matches. From my experience with this, it's simply not worth the time or effort since we have locked bootloaders and no reliable root method or ability to flash a kernel with DM-Verity disabled which would allow sytstem apps to be modified and/or replaced such as the Samsung Camera.