[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
rSAP for Android Forum • View topic - Samsung S4 mini custom ROM
It is currently Tue Aug 21, 2018 8:24 pm

rSAP for Android Forum

Support forum for Android rSAP App

Samsung S4 mini custom ROM

Discussions about rSAP installation
 
Posts: 11
Joined: Mon May 26, 2014 10:14 am

Re: Samsung S4 mini custom ROM

Post by savek » Mon May 26, 2014 6:32 pm

I just re-generated the ZIP - now the contents look ok - will try with that one

 
Posts: 11
Joined: Mon May 26, 2014 10:14 am

Re: Samsung S4 mini custom ROM

Post by savek » Tue May 27, 2014 10:29 am

With the freshly generated zip, your App worked just fine.
So now I only need to find the right SE-Android set of rules to run you app when the phone is operating in "strict" mode.
Thanks for your support! :D

 
Posts: 4081
Joined: Wed Mar 23, 2011 4:12 pm

Re: Samsung S4 mini custom ROM

Post by admin » Tue May 27, 2014 3:52 pm

Just out of curiosity: what are you doing? Do you create a custom ROM for some user group? 8-)

I don't think you need any special security settings. The "dangerous" stuff is done in the context of the RIL demon (/system/bin/rild) which should not need additional rights because of rSAP. And the app itself does standard Bluetooth.

 
Posts: 11
Joined: Mon May 26, 2014 10:14 am

Re: Samsung S4 mini custom ROM

Post by savek » Mon Jul 07, 2014 10:37 am

Hi - sorry for the late reply.
As you guessed, I am creating a custom ROM with some hardening (SE-Android).
Looking at the system log, I can see that the app is trying to execute a shell script as root in order to modify permissions to /dev/socket (777). Since this is a rather broad requirement: What access does the app actually need - and if it already has access to that specific dev file, will it still try to execute the command as root?
I don't want to grant the ability to execute (any) shell scripts as root on the phone but I could pre-set the permission on the specific dev file as required in the ROM-image itself(?).

 
Posts: 4081
Joined: Wed Mar 23, 2011 4:12 pm

Re: Samsung S4 mini custom ROM

Post by admin » Tue Jul 08, 2014 4:04 pm

The app itself does not need root on recent phones, the remaining stuff is mostly a leftover from the past which may be necessary on older phones. You can simply check this by denying root access for the rSAP app, it should still work on an S4 mini.

 
Posts: 11
Joined: Mon May 26, 2014 10:14 am

Re: Samsung S4 mini custom ROM

Post by savek » Mon Jul 28, 2014 2:01 pm


 
Posts: 4081
Joined: Wed Mar 23, 2011 4:12 pm

Re: Samsung S4 mini custom ROM

Post by admin » Mon Jul 28, 2014 4:43 pm

The app should handle the failed operations gracefully. I always deny root access on my phones for my app. What happens when you let it run without root?

 
Posts: 11
Joined: Mon May 26, 2014 10:14 am

Re: Samsung S4 mini custom ROM

Post by savek » Sat Aug 16, 2014 4:20 pm

Finally got it working - needed a special permission on SE-Android in order to create sockets. Once that was sorted out, the full version is now running fine :)

 
Posts: 4081
Joined: Wed Mar 23, 2011 4:12 pm

Re: Samsung S4 mini custom ROM

Post by admin » Sat Aug 16, 2014 5:35 pm

Hey, I'm currently having this problem with Android L! Can you give me a hint what permission to add? I guess this can only be done at build time...?

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest