yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Der_Schubi:
Hi Decad3nce,

I ran into "some problems" compiling aeGis inline with my CM10.1 Build.

I added your GitHub repository to my local manifest:

"<project name="Decad3nce/Aegis" path="packages/apps/Aegis" revision="master" />"

and "PRODUCT_PACKAGES += \ Aegis" to cm common.mk.

I got 358 errors at all, so I think there is missing some dependency.

Here a small part of the build messages:

packages/apps/Aegis/src/com/decad3nce/aegis/SMSReceiver.java:223: cannot find symbol
symbol : class SmsMessage
location: class com.decad3nce.aegis.SMSReceiver
SmsMessage[] msgs = new SmsMessage[pduCount];
^
packages/apps/Aegis/src/com/decad3nce/aegis/SMSReceiver.java:223: cannot find symbol
symbol : class SmsMessage
location: class com.decad3nce.aegis.SMSReceiver
SmsMessage[] msgs = new SmsMessage[pduCount];
^
packages/apps/Aegis/src/com/decad3nce/aegis/SMSReceiver.java:226: cannot find symbol
symbol : variable SmsMessage
location: class com.decad3nce.aegis.SMSReceiver
msgs[i] = SmsMessage.createFromPdu(pdus[i]);

Any Idea whats wrong?
[Android Software Development] Decad3nce:
Thats strange, my cleanup may have cleared out the import. I'll fix the sources, thanks for the heads up.
[Android Software Development] Der_Schubi:
I reverted your cleanup in my git and still got the same errors. Can anyone compile it in the moment or is it just me?
[Android Software Development] Decad3nce:
Re: [APP] aeGis v1.3.3.4

I'll add the 3rd party libraries as submodules when I have time(tomorrow, most likely).

Otherwise, they're listed as dependency is the build path.

Sent from my C6603
[Android Software Development] Decad3nce:
In regards to the missing symbol, I honestly don't see at all why it would be missing. Import is there.. Are you building for a lower API version?

Also, just realized that you'll be unable to utilize any of the dropbox features regarding data backup because I don't give out the private key for aeGis.

If you want to use that, you'll have to create your own dropbox api account, and just copy pasta.

This is done, btw.
[Android Software Development] Der_Schubi:
Thanks!

Regarding the Keys: I know, but I don't use Dropbox. :cowboy:
[Android Software Development] Darkshado:
I was wondering (and haven't bothered testing this yet) if having both the wipe option checked under "Lock" and the lock option under "Locate" would trigger a device wipe upon sending locate text. Anyone know?

Also, I am happy to report that the geolocation option works in Canada as well. However, it would be nice if both coordinates and geolocation were sent in case of inaccuracies.
[Android Software Development] Decad3nce:
Re: [APP] aeGis v1.3.3.4

It will not. Options within tabs are limited to that tabs trigger (apart from default lock password, which I'll move out of there). I can set an option for both if you'd like.
[Android Software Development] Decad3nce:
Question regarding UX.

I have the framework in place for a SIM card whitelist, checking it on SIM status changes, etc.

Would you guys prefer that the white list be completely editable(enter your own IMSI's) or just automated(pull in the active IMSI, add to list)?

Birthday is coming up, so I can't promise it to be done until next week. :)
[Android Software Development] Darkshado:
How about both?

Pull (or prompt to pull) the IMSI from the current SIM, and allow entry of additional IMSIs either manually or with a "learning mode" of sorts where it would register the SIM cards over the course of successive boots.

I tried the alarm in the latest Play Store build: it only plays the ring (old bell or similar) for a second or two and then stops. Any ideas why? (I'm running a fairly stock Note 2 TouchWiz ROM)
[Android Software Development] Sans143:
I am trying to uninstall your app but keeps saying can not due to being a device administrator. What is the steps of removing it.?
[Android Software Development] Decad3nce:
You can go into the settings of the app, Remove As Device Administrator. Alternatively, you can remove it from your device's settings > security page.
[Android Software Development] Sans143:
Still not able to remove. Now when I click on the app, I'm getting the unfortunately this has to close. Is there any other to remove it?
[Android Software Development] Decad3nce:
Did you install it to /system?
[Android Software Development] qbaqba:
Is it possible to automatically switch GPS on after location sms was send?

I know that app has to be installed as system app to be able to do this.

Does this application use only GPS or network cells (less accurate positioning) are also used?

Great app! :) Thanks for your work.

Sent from my HTC One X
[Android Software Development] Decad3nce:
Network cells on first lock, GPS(if available) afterwards.

If GPS isn't available, then it falls back to network location.
[Android Software Development] qbaqba:
Thanks. Is it possible to automatically switch GPS on? Usually I have it turned off and I manually turn it on when I use navigation. Or should I use 3rd party app to do this (to switch GPS on after sms command)?

Sent from my HTC One X
[Android Software Development] Decad3nce:
The application tries to enable it(works on some devices).

Probably wise to also use a 3rd party app. I've been meaning to have the application download a helper apk that would allow for some system level enabling of certain functions.
[Android Software Development] Darkshado:
Suggestion: Would it be possible to delete the activation SMSes once aeGis has picked them up? (Better yet if that happens to silence the notifications from other SMS applications.)

The "alarm" function has never worked properly on my Note 2 and on my father's Galaxy Nexus (stock yakju ROM, with root), only ringing once. Could it be because the default sound lacks the "ANDROID_LOOP" "true" metadata tag?
[Android Software Development] c00ller:
Hello Adnan,

I have just two suggestions to improve the location feature of aeGis. Right now, the app responds with a message like:

latitude = xx.xxxxxx longitude = yy.yyyyyy

It would be greatly improved if it also included two things:

1) Google Map link of coordinates. This can be easily done in a link formatted like http://maps.google.com/maps?q=37.771008,+-122.41175+(You+can+insert+your+text+here)&iwloc=A&hl=en (for more information, see http://support.google.com/maps/bin/answer.py?hl=en&answer=18539)

2) Accuracy of GPS lock because location reported by Android always has a radius of uncertainty. On that note, specifying if GPS was WiFi assisted or not (and what WiFi SSID it was connected to) would be very helpful.

Thanks in advance for your consideration!
[Android Software Development] c00ller:
Also, not sure if you checked, but I submitted a few crash reports via the app FCing that happen when a backup of data (particularly messages) is attempted. It does not FC when only call logs are backed up. Please let me know if there is anything I can do to help!

Edit: Oh, having an "unlock" command would be tremendously helpful as well.
[Android Software Development] Decad3nce:
The former is fixed already locally.. I'm just merging a lot of updates together right now and balancing release cycles between this, my other app, cm, and work. ;/

As for the latter; don't think it's possible.
[Android Software Development] c00ller:
Thanks for the reply! Looking forward to the update. SeekDroid has an unlock feature that can remove the password lock after it's been established. I don't know how it works but just want to say it's possible.
[Android Software Development] Decad3nce:
Can't see anything in the API that would allow it, maybe they use some crafty reflection? Idk, I'd have to look into it more.

EDIT: Oh, I may just be a dunce.
[Android Software Development] Decad3nce:
Coming:
[Android Software Development] Decad3nce:
I just need to finish a few features of the SIM identifier filter and I'll push to play store.

Here's the base commit for the mass rewrite:

https://github.com/Decad3nce/Aegis/commit/89b37d5f23722fa1162df17ec094f79626fd35ad

Patience!
[Android Software Development] devil snake:
This message has been withheld by author.
[Android Software Development] Decad3nce:
Finished the SIM State Receiver to handle SIM card changes on the device. I have it set to auto lock when the sim that is placed within the device isn't in the accepted user-created white list.

Question for people on their preference. Would you like an option for setting a "backup number" that is texted the location updates for when the device realizes a different SIM?

If so, how would you like this backup number to be requested. Via an option in settings, or a modal dialog?
[Android Software Development] c00ller:
What is a modal dialog? Also, since you're a CM developer, have you considered adding aeGis as a built-in CM feature?
[Android Software Development] Decad3nce:
Too much liability to be handled by CM, not enough funding/care for such a thing. I'd rather take the personal burden and disassociate it with the CM brand as far as it won't be tied with any liability.

A modal dialog is any dialog that doesn't allow further interaction until the user inputs or answers a query.
[Android Software Development] c00ller:
I see. I have no preference for option vs. modal dialogue, but for people who don't read the change logs or the entire app description before downloading, modal can't hurt (I think).
[Android Software Development] Decad3nce:
I decided to crank it all out tonight, v2.0 is in the pipeline for the update on the play store.

Please send error reports if you notice any bugs, thanks.

D:

Small changelog:

Release v2.0:

- Mass rewrite and #holoverhaul for everything in usage.

- New SIM State Receiver that can recognize when a different SIM is placed in device and alert user by sending location updates to a backup number.

- New SIM State Whitelist which allows you to add multiple approved SIM imsi's

- New: Non-geocoded locations will reply with maps link instead of just lat and long

- New German and Hebrew translations.

- New options within lock that allows you to hide or show the password that is set on the device when you trigger it.

- New option within locate that allow you to send a text to stop tracking.

- Rewrote logic behind backup in dropbox and google drive services

- Rewrote numerous instances to create less activities and a fragment centric approach in design

- Fixed bugs within numerous layouts

- Fixed bug in phonetracker that would not allow it to send non-geocoded responses to requests

- Fixed instance where user could create a shortcut and circumvent login within the app

- Fixed instance where backup logic would have a FileNotFoundException

- Removed all instances of ActionBarSherlock and drop any hope of ever supporting devices that are <ICS

Phew.

Bed time.
[Android Software Development] Decad3nce:
Decided on simple redirect instead, modal dialog's are a pain.
[Android Software Development] Jotokun:
Awesome update! This was a much needed feature, thanks for adding it!

Perhaps in the future you can add a setting for the action that occurs when an unrecognized SIM card is inserted? If the phone immediately locks, I can see someone removing the card/turning the phone off and then you wouldn't be able to track it.

For example, I'd love an option to factory reset the phone on new SIM card, but then appear to run fine so the thief keeps the phone turned on. With the app installed as a system app, it'd still be able to track the thief transparently and receive commands.
[Android Software Development] Decad3nce:
I agree. I just have to make a imsi object with those attributes. This update is more of a proof of concept of SIM changes since they're not officially documented.
[Android Software Development] ezio84:
Great update, thank you!! :laugh:

I forked the new italian translation on github ;)
[Android Software Development] Decad3nce:
Did a quick maintenance release, should be up on play store soon. Thanks for the translations again.
[Android Software Development] Der_Schubi:
Hi Decad3nce,

a couple of weeks ago I tried to compile aeGis inline with my CM build and failed. You may remember...

Now I tried it again and got the same problems...

packages/apps/Aegis/src/com/decad3nce/aegis/AegisActivity.java:16: cannot find symbol
symbol : class ActionBarDrawerToggle
location: package android.support.v4.app
import android.support.v4.app.ActionBarDrawerToggle;
^

[...]

packages/apps/Aegis/src/com/decad3nce/aegis/SMSReceiver.java:236: cannot find symbol
symbol : variable SmsMessage
location: class com.decad3nce.aegis.SMSReceiver
msgs[i] = SmsMessage.createFromPdu(pdus[i]);
^
Note: packages/apps/Aegis/src/com/decad3nce/aegis/BackupGoogleAccountsActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
91 errors

Any ideas whats wrong here?

Before I got these 91 errors I only got one telling me that "text" has to be localized in res/layout/drawer_list_item.xml and solved it by adding the text to strings.xml.

drawer_list_item.xml

- android:text="text"
+ android:text="@string/text"

strings.xml

+ <string name="text">text</string>
[Android Software Development] Decad3nce:
You're missing the support libraries, or at least up-to-date ones. Not sure if CM even includes those, otherwise you can throw them in the lib/ directory of the project.

Not sure why you'd even get an error about localization.
[Android Software Development] Decad3nce:
Giving a chance for translators to jump in before pushing new update.

A lot of it is just UI based.

Full changelog:
[Android Software Development] zabumba:
Here is a pt-pt (portuguese from Portugal) translation.

Hope it works as I don't know how to embed this on the apk.

Thanks
[Android Software Development] Decad3nce:
Thank you very much!
[Android Software Development] zabumba:
You"re welcome.

Keep up the good work.
[Android Software Development] ezio84:
Updated the italian translation too ;)
[Android Software Development] owais40:
Hi bro, great app...

Could you please tell me what does this message mean. I get this screen/message from aeGis after soft-rebooting my phone (not after fully rebooting it). If I try to simply exit with back key without clicking the "Disable tracking" button then I get the Toast message shown below. So I ultimately have to kill the app by long pressing the back key.
[Android Software Development] Decad3nce:
You have to hit disable tracking to remove the handler that is running within the activity that's shown.
[Android Software Development] Decad3nce:
Honestly, I reverted everything relating to actionbarsherlock. I don't plan on doing backwards compatibility. There is no benefit currently, it'll just add overhead and be void within less than a year for most users.
[Android Software Development] Decad3nce:
New Release (v2.1.0.0):

UI/UX overhaul:

Should be on play store within like 2 hours.
[Android Software Development] zabumba:
Sorry if this as been asked before but I can't find the answer.

What kind of wipe does the wipe function?

a) Factory reset

b) Factory reset+wipe internal storage

c) Factory reset+wipe internal storage+wipe external storage

Thank you
[Android Software Development] Decad3nce:
It uses the internal android wipe; so that would fall under b) depending on our device.

I'm adding the option for external at some point.
[Android Software Development] owais40:
Some questions and feature requests also :)

1. Does aeGis send the newly inserted SIM Mobile Number via SMS to the Backup Number set in Settings. Of not, please consider including this feature. I mean, if a new SIM (not included in Accepted SIMs list) is inserted in the mobile then immediately an SMS should be sent to the backup number(s) informing the person(s) of the new SIM Mobile Number inserted in the mobile and also hide the SMS sent.

2. Please include possibility to insert SIM mobile number instead of IMSI number in Accepted SIMs or you could include both.

3. Can we add multiple backup numbers. If not, please include this feature.
[Android Software Development] zabumba:
Thank you
[Android Software Development] Decad3nce:
Interesting. I can append whatever from the device within the text message. SIM IMSI + phone number would allow you to identify carrier if you receive it.

The SIM filter is pretty basic at the moment, but I'll definitely take your suggestions into consideration.

I'm more used to the CDMA side so its mostly new to me.

I could create a SIM object vs just storing the SIM IMSI.

This could hold

[imsi, phone number, options[lock,wipe,locate]]

.

That's probably the route I'll go.

Also, shameless plug. Quickly is now free for all xda users, here: http://xdaforums.com/showthread.php?t=2328634
[Android Software Development] Lock-N-Load:
Well, fails to work on my SGS3. Toggles on, stock SMS app, set my own SMS messages and when my girl sends them to my phone nothing happens. Dev was quick to respond to my emails, but no idea why it does not work. To bad. I have had this since day 1, pretty sure I tried it way back then, but now... nothing.
[Android Software Development] Decad3nce:
I imagine something is hijacking the SMS receiver from even being allowed to retrieve the SMS.
[Android Software Development] Lock-N-Load:
What would/could do such a thing? Anything I can check? How might I verify this?
[Android Software Development] Decad3nce:
A third party app that aborts the broadcast is the only thing I'd imagine.

I'm on an S3 personally, and it works fine in stock and CM.
[Android Software Development] bmoblli:
Is the donate version not being updated anymore? I'm on 1.3.3.4 while the free version is on 2.1.0.1?
[Android Software Development] Decad3nce:
I'm slacking :p
[Android Software Development] c00ller:
I have another suggestion, Decad3nce. In the Locate settings, there is a toggle for Geocoded Responses. Until now I have never chosen to enable it, because GPS always has a radius of uncertainty, which can often be on an order so large it actually makes the geocoded response extremely misleading. I think geocoded responses should only be applied if location is able to be achieved with some uncertainty radius less than some amount (hard-coded by you or let the user decide).

Edit: also just tested and noticed as part of the message was "With accuracy of: 31.37". 31.37 what? ft? meters? Units are required! It also says "Provider: network". I'm connected to a Wi-Fi network, but "network" is not the SSID, and I am actually connected to T-Mobile. Was the "network" output caused by the app or Android in these circumstances?

I tried again with Wi-Fi off. I'm looking at my phone, which can't appear to obtain a good lock (only 2 satellites in view, 1 locked via GPS Monitor app). The result is aeGis isn't sending any text message responses. aeGis should at least respond with a confirmation alerting the user that location is being attempted, but could not due to poor reception.

Edit2: MAJOR FLAW The url it provides, https://maps.google.com/maps?q=41.8500,+-87.6500+(Current+phone+location) has some issues when trying to open in Android. Try it yourself. The first problem is that the ending ) is not recognized as part of the url. Secondly, including (current phone location) results in Google Maps on android to not get a search result. Search result is successful only IF you remove +(Current+phone+location). Thirdly, if you try opening the link in a PC browser, that doesn't seem to work anymore either because it seems Google Maps removed the +(...) function. Edit3: works in old maps, but not the NEW maps. Either way, to be safe for 100% compatibility with cell phones, old browser Maps, New browser Maps, it is best to remove the +(Current+phone+location). Or add a "&" immediately after the ) and it works.

So to summarize, there are three high priority issues that should be fixed:

1) Accuracy provided does not include units, making the provided number meaningless

2) If GPS is weak and a location cannot be obtained, aeGis currently does nothing, making the user clueless as to whether or not the phone received the activation SMS, and if it did, if aeGis is working properly or not.

3) The provided google maps url needs to be formatted for 100% compatibility. Remove +(Current+phone+location) from the url. ACTUALLY this can be easily fixed by adding "&" (or something else, but that's what I thought off the top of my head). +(Current+phone+location)& confirmed to work on Android to open in Google Maps. Sigh actually it seems that only Google Hangouts removes the ). Stock Android Messaging app correctly interprets the ending )...
[Android Software Development] Decad3nce:
Please add new issue here. https://github.com/Decad3nce/Aegis/issues?state=open

Thanks for your findings!
[Android Software Development] c00ller:
Will do. Glad you have a good system to keep track of issues!
[Android Software Development] Decad3nce:
Thanks. I try to stay up to date with the XDA thread but it's gets lost whenever I'm swamped with work.

The github tracker lets me set reminders and such. :x
[Android Software Development] tiniwings:
Hi, when I have tested Alarm option, my mobile just vibrated with out any sound and a notification appeard saying "Aegis has overridden sound settings ".

I haven't got any alarm sounds, am I missing any steps?

Thank you.

Sent from XPERIA P using XDA App
[Android Software Development] Decad3nce:
Pushed updated 2.0.2.1:
[Android Software Development] bmoblli:
Great. But how about updating the donate version too?

Still on 1.3.3.4.
[Android Software Development] Decad3nce:
Updated it.
[Android Software Development] ezio84:
Italian translation updated ;)
[Android Software Development] arpit22x:
My aeGis starts tracking and sending sms without even getting any command to do it. Is it a bug? On free version.
[Android Software Development] Decad3nce:
Ummm, that is strange. Do you have a way to reproduce this? or a log?

Only way that tracking could trigger is if it was noted by a change in SIM card detection.
[Android Software Development] bmoblli:
Is this app discontinued?
[Android Software Development] ezio84:
Try this one from Google:

https://play.google.com/store/apps/details?id=com.google.android.apps.adm
[Android Software Development] Decad3nce:
I wouldn't consider it discontinued. Just been sidetracked with other projects.

Yeah... and undercut I guess haha
[Android Software Development] ezio84:
:p

Btw your one worked like a charm :highfive:
[Android Software Development] nostupidthing:
thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

can we have...

- multiple backup phone number support

- "master" keyword change (e.g. change "aeGis" to "AEgIS", then "AEgIS lock", "AEgIS wipe"... etc..)

- hide aeGis SMS from normal SMS app

- take photo (front or back camera)

- record audio

- remote reboot (thus increase security for encrypted device)
[Android Software Development] nostupidthing:
is this app still being developed...?
[Android Software Development] tagueulee:
Thank's for this awesome app !

I have one question : the alarm duration is not the one I have set in the options, how can I set the alarm duration in the source code and the volume of this alarm... ?
[Android Software Development] glos7777:
[MENTION=2372639]Decad3nce[/MENTION]

Thanks For this Beautiful App.

But İt is Annoying to ON GPS all day.. it is draining battery..

Can You Add an Option to send sms to enable Gps and network or mobile data in Locate sms settings?

Thanks and have a good day.
[Android Software Development] jerm1027:
Can't install aegis to system

Hi, I'm encountering an issue when trying to install aeGis to the system. I have a rooted HTC M8 running SlimKat 4.4.4, and when i try to install AeGis to the system, I grant it superuser permission, my phone reboots, and the app disappears without a trace. Any idea what's wrong?
[Android Software Development] nostupidthing:
would someone pick up the codes and continue updating it??

https://github.com/Decad3nce/Aegis
[Android Software Development] nostupidthing:
bump!
[Android Software Development] nostupidthing:
Bump
[Android Software Development] Magisker:
Is it still supported on cm13 devices?