maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   JollaC & Intex Aqua Fish (https://talk.maemo.org/forumdisplay.php?f=64)
-   -   Intex Aqua Fish recurring activation sms (https://talk.maemo.org/showthread.php?t=97099)

lal 2016-07-31 12:21

Intex Aqua Fish recurring activation sms
 
So this now is an annoying issue for many Aqua Fish owners. And some claim, they don't have it. Anyway, I hope this thread can give some insights or even possibly solve the issue on Aqua Fish. May be the next update will solve it, but patience has limits and curiousity does not.

This is what I know. At every boot, systemd starts a service to send an sms to a predefined number after three hours of uptime and stops the service.

Code:

[root@Sailfish nemo]# cat /usr/lib/systemd/user/sms-activation-intex.service
[Unit]
Description=Sends an activation SMS to Intex

[Service]
Type=simple
EnvironmentFile=/var/lib/environment/sms-activation-intex/sms-activation-intex.conf
ExecStart=/usr/libexec/sms-activation-intex

[Install]
WantedBy=user-session.target

I suppose commenting "ExecStart=..intex" should prevent the code to send sms from executing.

The coonfiguration file has the number to which sms is sent.
Code:

[root@Sailfish nemo]# cat /var/lib/environment/sms-activation-intex/sms-activation-intex.conf
INTEX_SMS_ACTIVATION_NUMBER=+919582943043
INTEX_SMS_ACTIVATION_DONE_FILE_PATH=/mnt/vendor_data/.sms-activation-intex-done

So I checked the path which mention the activation completed file. And there is no ".sms-activation-intex-done" file created, which may be triggering the sms sending procedure after a reboot again.

Can I simply delete the .service and .timer files, of course after making a backup at some other location? Or how can I prevent that being run at every boot?

And could AquaFish owners who are not facing the recurring sms issue please check location /mnt/vendor/data for the file ".sms-intex-activation-done" and share its content if that doesn't seem to be something confidential like a unique activation code.

Update:
Masking the timer seems to be a working solution for now.
Refer this post. Thanks to mautz!

lantern 2016-07-31 12:27

Re: Intex Aqua Fish recurring activation sms
 
I would just rip this stuff off.
There's no place on Sailfish for this cheap-noname-china-android-phone-malware stuff.

napaDokc 2016-07-31 12:53

Re: Intex Aqua Fish recurring activation sms
 
China..? Isn't that India?^^

lantern 2016-07-31 13:06

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by napaDokc (Post 1511374)
China..? Isn't that India?^^

It is. But cheap china android phones are notorious for having malware in stock fw.

bhavin192 2016-07-31 14:37

Re: Intex Aqua Fish recurring activation sms
 
That's great :)
Don't know why I didn't try to find.

what if we create the file ".sms-intex-activation-done" manually?
I'm having same issue and no file in /mnt/vendor_data

mautz 2016-07-31 15:30

Re: Intex Aqua Fish recurring activation sms
 
Why don't you just disable the service?

bhavin192 2016-07-31 16:25

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by mautz (Post 1511387)
Why don't you just disable the service?

:p LOL
That's what I was thinking about but I was trying with systemctl :D
there is pkcon for that.

https://together.jolla.com/question/...rom-aqua-fish/

mautz 2016-07-31 16:59

Re: Intex Aqua Fish recurring activation sms
 
The TJC post has nothing to do with the sms service described here.

just stop the service with:

systemctl --user stop sms-activation-intex.service

and see if the problem is gone. To disable the service permanently use:

systemctl --user disable sms-activation-intex.service

lal 2016-07-31 17:18

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by mautz (Post 1511395)
The TJC post has nothing to do with the sms service described here.

just stop the service with:

systemctl --user stop sms-activation-intex.service

and see if the problem is gone. To disable the service permanently use:

systemctl --user disable sms-activation-intex.service

Thanks! I just disabled it. Will reboot the phone now and see if it sends further sms after three hours.

bhavin192 2016-07-31 17:21

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by mautz (Post 1511395)
The TJC post has nothing to do with the sms service described here.

just stop the service with:

systemctl --user stop sms-activation-intex.service

and see if the problem is gone. To disable the service permanently use:

systemctl --user disable sms-activation-intex.service

So --user was missing :(
It doesn't need root privileges also
thanks :)

bhavin192 2016-08-01 03:50

Re: Intex Aqua Fish recurring activation sms
 
No luck even after disabling the service sms-activation-intex.service
seems like sms-activation-intex.timer launches it again :(

but both are disabled, still it sends SMS
(It was disabled as normal user not root)

lal 2016-08-01 14:08

Re: Intex Aqua Fish recurring activation sms
 
Well, seems to be working for me when run as nemo. The journal has no trace of that service being executed after last reboot. But anyway, I rebooted again a while back, to be sure. Service status shows disabled when I checked after the reboot. Will update how it turns out.

bhavin192 2016-08-01 14:45

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by lal (Post 1511447)
Well, seems to be working for me when run as nemo. The journal has no trace of that service being executed after last reboot. But anyway, I rebooted again a while back, to be sure. Service status shows disabled when I checked after the reboot. Will update how it turns out.

For me it was showing disabled but no luck :(
I will check with devel-su now

lal 2016-08-01 17:31

Re: Intex Aqua Fish recurring activation sms
 
You are right that didn't work. But this time the phone sent an SMS after four hours. Anyway, the status of sms-activation-intex.timer was shown as active all this while and service was shown disabled.

Is there a specific way to disable a timer? What I found in my search is to manually manipulate the timer file.

mautz 2016-08-01 18:05

Re: Intex Aqua Fish recurring activation sms
 
You could try to mask the sms timer with systemd:

systemctl stop sms-activation-intex.timer

systemctl mask sms-activation-intex.timer

If it's a user timer like the service you have to use the --user option.

bhavin192 2016-08-02 13:53

Re: Intex Aqua Fish recurring activation sms
 
Masking the timer with and without --user seems to be working :)

lal 2016-08-03 02:35

Re: Intex Aqua Fish recurring activation sms
 
Right, masking the timer worked like a charm! Thanks mautz.

attoiu 2016-08-03 09:02

Re: Intex Aqua Fish recurring activation sms
 
how about this link?

https://together.jolla.com/question/...rom-aqua-fish/

(haven't tried yet, my device is still on its way)..

padmaraj.ravi 2016-08-03 10:32

Re: Intex Aqua Fish recurring activation sms
 
How can i know , if my phone is sending this sms. I havent been able to see these said messages. After buying the phone , i have travelled internationally and used it in at least two countries . I still havent noticed any drop in my account balance. If it was sending messages , i would have at least noticed when i was on international roaming. Is there any logs or sent messages folder which i can check to see if this is happening. Or is this occurring to only few phones?

lal 2016-08-03 12:17

Re: Intex Aqua Fish recurring activation sms
 
@Ravi, those actions can be found among journal entries.
As root, type #journalctl -b | grep sms-activation
-b returns journals in current boot. Anyway, Aquafish's journals are by default configured to be volatile and allocated a very small storage space. I made it persistent and increased the log size manually to monitor better. So if you are having a very long uptime, old entries might have already been popped out. To see the time at which your journal starts, simply type journalctl as root and check first line.

bhavin192 2016-08-03 12:23

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by padmaraj.ravi (Post 1511606)
How can i know , if my phone is sending this sms. I havent been able to see these said messages. After buying the phone , i have travelled internationally and used it in at least two countries . I still havent noticed any drop in my account balance. If it was sending messages , i would have at least noticed when i was on international roaming. Is there any logs or sent messages folder which i can check to see if this is happening. Or is this occurring to only few phones?

Can you check if this file exist on your phone?

Code:

/mnt/vendor_data/.sms-activation-intex-done

lal 2016-08-03 12:24

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by attoiu (Post 1511604)
how about this link?

https://together.jolla.com/question/...rom-aqua-fish/

(haven't tried yet, my device is still on its way)..

That could work. I didn't try. Would uninstalling packages automatically remove services? I hope so, assuming those are related. I just wanted to disable the automatic SMS issue after every boot. I feel AquaFish's updates would be channelled through the intex repo. So except that, removing all other related packages may be alright. Will check those later. I have the partner space removed anyway by uninstalling gaana application.

padmaraj.ravi 2016-08-04 11:47

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by bhavin192 (Post 1511622)
Can you check if this file exist on your phone?

Code:

/mnt/vendor_data/.sms-activation-intex-done

Nope . I dont have that file in my phone. I have the vendor_data folder , but there are no hidden files inside that.

aspergerguy 2016-08-04 13:19

Re: Intex Aqua Fish recurring activation sms
 
Would need to reset device again to confirm but booted Aqua Fish without SIM cards and only used WLAN for first 24 hours; after which switched off and inserted 2 SIMs and set to always ask for which SIM to use to send message and pretty sure it has not tried to send anything. Have checked journalctl entries for last 24 hours.

One week on and without rebooting device elicits this output:-

[root@Sailfish nemo]# systemctl --user status sms-activation-intex.service
sms-activation-intex.service - Sends an activation SMS to Intex
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.service; disabled)
Active: inactive (dead) since Thu 2016-08-04 13:48:21 BST; 1 weeks 0 days ago
Process: 15954 ExecStart=/usr/libexec/sms-activation-intex (code=exited, status=0/SUCCESS)
Main PID: 15954 (code=exited, status=0/SUCCESS)
CGroup: /user.slice/user-100000.slice/user@100000.service/sms-activation-intex.service

After rebooting device, elicits this response:

[root@Sailfish nemo]# systemctl --user status sms-activation-intex.timer
sms-activation-intex.timer - Sends an activation SMS after the device has run for 3 hours
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.timer; disabled)
Active: active (waiting) since Fri 2016-08-12 06:05:56 BST; 7h ago

bhavin192 2016-08-04 14:10

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by aspergerguy (Post 1511725)
Would need to reset device again to confirm but booted Aqua Fish without SIM cards and only used WLAN for first 24 hours; after which switched off and inserted 2 SIMs and set to always ask for which SIM to use to send message and pretty sure it has not tried to send anything. Have checked journalctl entries for last 24 hours.

May be ask always does the trick for now :confused:
Do you have the file?
/mnt/vendor_data/.sms-activation-intex-done

aspergerguy 2016-08-04 16:17

Re: Intex Aqua Fish recurring activation sms
 
[QUOTE
Do you have the file?
/mnt/vendor_data/.sms-activation-intex-done[/QUOTE]

No, because it appears that it has never tried to activate as yet, another possibility is that as I am using device in UK and it only looks for Indian Telecom providers.

padmaraj.ravi 2016-08-04 22:23

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by aspergerguy (Post 1511725)
Would need to reset device again to confirm but booted Aqua Fish without SIM cards and only used WLAN for first 24 hours; after which switched off and inserted 2 SIMs and set to always ask for which SIM to use to send message and pretty sure it has not tried to send anything. Have checked journalctl entries for last 24 hours.

This is almost the same way i started using my device. Used it without sim for couple of hours . Then inserted the sim. And inserted the second sim only when i was travelling. One is an indian sim and the other is an an international one. No sms till now.

dillihifi 2016-08-11 01:21

Re: Intex Aqua Fish recurring activation sms
 
I also have the aquafish and it does send an sms daily to the number mentioned. I am not too familiar to the Linux commands but have enabled developer mode and have executed the commands of stopping the service and masking the timer. The sequence followed by me is first I stopped and disabled the service as nemo with user option, then I stopped and masked the timer as root with and without user, then I again stopped and disabled the service.

using journalctl I can see that is returns the value that the timer is stopped


I am not aware how to check the process is disabled or not if somebody could guide me I would like to check it out

Let me see what happens

bhavin192 2016-08-11 02:01

Re: Intex Aqua Fish recurring activation sms
 
Quote:

Originally Posted by dillihifi (Post 1512274)
I also have the aquafish and it does send an sms daily to the number mentioned. I am not too familiar to the Linux commands but have enabled developer mode and have executed the commands of stopping the service and masking the timer. The sequence followed by me is first I stopped and disabled the service as nemo with user option, then I stopped and masked the timer as root with and without user, then I again stopped and disabled the service.

using journalctl I can see that is returns the value that the timer is stopped


I am not aware how to check the process is disabled or not if somebody could guide me I would like to check it out

Let me see what happens

It's simple

you can check status of any service by status
Code:

systemctl --user status sms-activation-intex.service
Better if you disable the service as root.

dillihifi 2016-08-11 16:49

Re: Intex Aqua Fish recurring activation sms
 
This is what the journal reads after I saw that today also it had sent an sms. I again executed the commands listed here.



[root@Sailfish nemo]#
[root@Sailfish nemo]#
[root@Sailfish nemo]#
[root@Sailfish nemo]#
[root@Sailfish nemo]# journalctl -b|grep sms-activation
Aug 11 18:24:54 Sailfish sms-activation-intex[23915]: [W] ActivationService::messageStateChanged:227 - Unable to record that an activation was successfully sent.
Aug 11 18:24:54 Sailfish sms-activation-intex[23915]: [W] ActivationService::messageStateChanged:228 - "Permission denied" "/mnt/vendor_data" true
Aug 11 22:13:37 Sailfish systemd[1]: Stopped sms-activation-intex.timer.
[root@Sailfish nemo]#




Though in the morning I had disabled and masked the timer as well as stopped and disabled the service I find the status command gives the following output


[root@Sailfish nemo]# systemctl --user status sms-activation-intex.service
sms-activation-intex.service - Sends an activation SMS to Intex
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.service; disabled)
Active: inactive (dead) since Thu 2016-08-11 18:24:54 IST; 3h 44min ago
Process: 23915 ExecStart=/usr/libexec/sms-activation-intex (code=exited, statu s=0/SUCCESS)
Main PID: 23915 (code=exited, status=0/SUCCESS)
CGroup: /user.slice/user-100000.slice/user@100000.service/sms-activation-inte x.service

[root@Sailfish nemo]# systemctl --user status sms-activation-intex.timer
sms-activation-intex.timer - Sends an activation SMS after the device has run fo r 3 hours
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.timer; disabled)
Active: inactive (dead) since Thu 2016-08-11 18:24:54 IST; 3h 45min ago

bhavin192 2016-08-12 02:14

Re: Intex Aqua Fish recurring activation sms
 
@dillihifi

Try to mask and disable the timer as
Code:

systemctl disable sms-activation-intex.timer
Code:

systemctl mask sms-activation-intex.timer
and reboot the phone.

lal 2016-08-12 02:46

Re: Intex Aqua Fish recurring activation sms
 
For now, just masking works. Disabling the timer and service do not!

dillihifi 2016-08-12 12:19

Re: Intex Aqua Fish recurring activation sms
 
I have executed the commands

[root@Sailfish nemo]#
[root@Sailfish nemo]# systemctl disable sms-activation-intex.timer
[root@Sailfish nemo]#
[root@Sailfish nemo]#
[root@Sailfish nemo]# systemctl mask sms-activation-intex.timer
[root@Sailfish nemo]#



and the status of the process after the commands run are

[root@Sailfish nemo]#
[root@Sailfish nemo]# systemctl --user status sms-activation-intex.timer
sms-activation-intex.timer - Sends an activation SMS after the device has run for 3 hours
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.timer; disabled)
Active: active (waiting) since Fri 2016-08-12 17:38:41 IST; 6min ago

[root@Sailfish nemo]# systemctl status sms-activation-intex.timer
sms-activation-intex.timer
Loaded: masked (/dev/null)
Active: inactive (dead)

[root@Sailfish nemo]#


I cannot run the mask command with user as it return the following error


[root@Sailfish nemo]# systemctl --user mask sms-activation-intex.timer
Failed to issue method call: No such file or directory


Please advise

bhavin192 2016-08-12 16:05

Re: Intex Aqua Fish recurring activation sms
 
For me both of the commands are working.
You can try to execute the --user while you are non privileged user, as nemo.

lal 2016-08-12 16:49

Re: Intex Aqua Fish recurring activation sms
 
It worked for me when run as nemo. I just checked it again on my device. You dont have to type devel-su before you execute the mask command as bhavin said.

This will do!
[nemo@Sailfish nemo]$ systemctl --user mask sms-activation-intex.timer

dillihifi 2016-08-13 03:58

Re: Intex Aqua Fish recurring activation sms
 
Not Working. Pls see below and advise


[nemo@Sailfish ~]$ systemctl --user status sms-activation-intex.timer
sms-activation-intex.timer - Sends an activation SMS after the device has run for 3 hours
Loaded: loaded (/usr/lib/systemd/user/sms-activation-intex.timer; disabled)
Active: active (waiting) since Fri 2016-08-12 17:38:41 IST; 15h ago

[nemo@Sailfish ~]$ systemctl --user mask sms-activation-intex.timer
Failed to issue method call: No such file or directory
[nemo@Sailfish ~]$
[nemo@Sailfish ~]$
[nemo@Sailfish ~]$
[nemo@Sailfish ~]$ systemctl mask sms-activation-intex.timer
Failed to issue method call: Access denied
[nemo@Sailfish ~]$
[nemo@Sailfish ~]$ systemctl --user mask sms-activation-intex.timer
Failed to issue method call: No such file or directory
[nemo@Sailfish ~]$

lal 2016-08-13 08:34

Re: Intex Aqua Fish recurring activation sms
 
That is because the symlink to that timer file has been removed when you disabled the timer before. Enable that first and execute masking again.

Without root
[nemo@Sailfish nemo]$ systemctl --user enable sms-activation-intex.timer
Now you'll see a symlink has been created message. If you check status of timer you'll se it is enabled.
Execute masking now
[nemo@Sailfish nemo]$ systemctl --user mask sms-activation-intex.timer

dillihifi 2016-08-15 02:46

Re: Intex Aqua Fish recurring activation sms
 
Worked like a charm. Thanks

Hensch 2017-02-26 13:23

Re: Intex Aqua Fish recurring activation sms
 
Hey folks,

I am a new Aqua Fish user here. I checked if I've got the .sms-activation-intex-done file. Look here:

Code:

[nemo@Sailfish vendor_data]$ ls -al
total 20
drwxrwxr-x 4 root vendor 4096 Feb 25 22:03 .
drwxrwxr-x 8 root system 4096 Jan  1  1970 ..
-rw-r--r-- 1 nemo vendor    0 Feb 25 22:03 .sms-activation-intex-done
drwxr-xr-x 3 root root  4096 May 30  2016 apk
drwx------ 2 root root  4096 Jan  1  1970 lost+found
-rw-r--r-- 1 root root    29 Jan  2  2015 vendor-data.ini
[nemo@Sailfish vendor_data]$ cat .sms-activation-intex-done
[nemo@Sailfish vendor_data]$

As you can see....it's empty. And as I can see, activation has been done. I hope this helped.


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8