[APP|ROOT|FOSS|5.0+] ADBungFu: appOps manager / ADB simulator (#su Magisk) - Android Apps and Games

EDIT: android 12 appops added
Superuser ADBcmd appOps freezer ^4 root ed :# su Magisk (all appOps not requiring aosp/sOpPerms i.e. the permission-less ones)
*Official build is live on F-Droid; attached _debug flavor has extended functionalities (and latest chainfire/libsuperuser:1.1.0)​
Action button added with basic features such as:
Wipe caches for ALL apps
perform idle maintenance now
pm list libraries
pm list permission-groups
am stack list
$ adb shell ____ (w.i.p. interpretor: No safeguards)
List all ADB cmds (w.i.p. pro-active _Help: can cause bootloops)
List all whitelisted apps
RESET ALL appops
profman ALL: extract all app's _profman to local Android/data /com.oF2pks.adbungfu/files
let me know about any ADB related specific needs.
Up-left white spinner to select appOps or icon/Launcher usefullest RUN_IN_BACKGROUND shortcut.
Apps are grayed for empty uses & listed with time durations for active ones.
You can use icon/Launcher shortcut or sort option to toggle +/- ☢DARK/System apps (use with extreme care!).
Code:
<item>19,0,GPS</item>
<item>19,8,VIBRATE</item>
<item>19,0,POST_NOTIFICATION</item>
<item>19,0,NEIGHBORING_CELLS</item>
<item>19,5,WRITE_SMS</item>
<item>19,0,WRITE_ICC_SMS</item>
<item>19,8,SYSTEM_ALERT_WINDOW</item>
<item>19,0,PLAY_AUDIO</item>
<item>19,0,READ_CLIPBOARD</item>
<item>19,0,WRITE_CLIPBOARD</item>
<item>19,0,TAKE_MEDIA_BUTTONS</item>
<item>19,0,TAKE_AUDIO_FOCUS</item>
<item>19,0,AUDIO_MASTER_VOLUME</item>
<item>19,0,AUDIO_VOICE_VOLUME</item>
<item>19,0,AUDIO_RING_VOLUME</item>
<item>19,0,AUDIO_MEDIA_VOLUME</item>
<item>19,0,AUDIO_ALARM_VOLUME</item>
<item>19,0,AUDIO_NOTIFICATION_VOLUME</item>
<item>19,0,AUDIO_BLUETOOTH_VOLUME</item>
<item>19,8,WAKE_LOCK</item>
<item>19,0,MONITOR_LOCATION</item>
<item>19,0,MONITOR_HIGH_POWER_LOCATION</item>
<item>21,0,MUTE_MICROPHONE</item>
<item>21,1,TOAST_WINDOW</item>
<item>21,5,PROJECT_MEDIA</item>
<item>21,5,ACTIVATE_VPN</item>
<item>23,0,WRITE_WALLPAPER</item>
<item>23,0,ASSIST_STRUCTURE</item>
<item>23,0,ASSIST_SCREENSHOT</item>
<item>23,8,BODY_SENSORS</item>
<item>23,4,MOCK_LOCATION</item>
<item>23,0,TURN_ON_SCREEN</item>
<item>24,0,RUN_IN_BACKGROUND</item>
<item>26,0,AUDIO_ACCESSIBILITY_VOLUME</item>
<item>26,0,PICTURE_IN_PICTURE</item>
<item>26,8,INSTANT_APP_START_FOREGROUND</item>
<item>28,0,RUN_ANY_IN_BACKGROUND</item>
<item>28,4,MANAGE_IPSEC_TUNNELS</item>
<item>28,8,START_FOREGROUND</item>
<item>28,0,BLUETOOTH_SCAN</item>
<item>29,8,USE_BIOMETRIC</item>
<item>29,8,ACTIVITY_RECOGNITION</item>
<item>29,0,READ_MEDIA_AUDIO</item>
<item>29,4,WRITE_MEDIA_AUDIO</item>
<item>29,0,READ_MEDIA_VIDEO</item>
<item>29,4,WRITE_MEDIA_VIDEO</item>
<item>29,0,READ_MEDIA_IMAGES</item>
<item>29,4,WRITE_MEDIA_IMAGES</item>
<item>29,0,LEGACY_STORAGE</item>
<item>29,0,ACCESS_ACCESSIBILITY</item>
<item>29,4,READ_DEVICE_IDENTIFIERS</item>
<item>30,3,QUERY_ALL_PACKAGES</item>
<item>30,5,ACTIVATE_PLATFORM_VPN</item>
<item>30,3,AUTO_REVOKE_PERMISSIONS_IF_UNUSED</item>
<item>30,0,AUTO_REVOKE_MANAGED_BY_INSTALLER</item>
<item>30,4,NO_ISOLATED_STORAGE</item>
<item>30,0,PHONE_CALL_MICROPHONE</item>
<item>30,0,PHONE_CALL_CAMERA</item>
<item>30,0,RECORD_AUDIO_HOTWORD</item>
<item>31,3,MANAGE_CREDENTIALS</item>
<item>31,0,RECORD_AUDIO_OUTPUT</item>
<item>31,0,FINE_LOCATION_SOURCE</item>
<item>31,0,COARSE_LOCATION_SOURCE</item>
<item>31,0,ACTIVITY_RECOGNITION_SOURCE</item>
<item>31,0,RECORD_INCOMING_PHONE_AUDIO</item>
<item>32,0,ESTABLISH_VPN_SERVICE</item>
<item>32,0,ESTABLISH_VPN_MANAGER</item>
Any disabled app won't appear anymore in launcher but will keep all data safe. Toggle +/- ☢DARK/System apps to re-enabled them.
- If you want to force-doze or kill apps, use (fdroid) dynamic warder: https://f-droid.org/en/packages/superfreeze.tool.android/
Despite using permission.PACKAGE_USAGE_STATS added for android 11 and up, ADBungFu will remain strictly static and will not track other app live dynamic behavior (SuperFreezZ can also be used in a simplified way: force-doze + screen-off).
- If you want to disable Events like start_at_boot use static Autostarts (Pie/arm64 compatible): https://forum.xda-developers.com/t/...dsetter-v1-4-25-07-2017.3637705/post-81954189
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
prim-origin: https://forum.xda-developers.com/android/apps-games/app-runinbackgroundsetter-v1-0-t3637705
GPLv3: https://bitbucket.org/oF2pks/adbungfupermissionsetter/commits/

Awesome! This app definitely deserves its own thread.

Hi, what are the advantages of using an app operation blocker like this?
Thank you!

@oF2pks Please post your change logs in some detail here?
The F-Droid metadata doesn't give any details, like what "perform idle maintenance now" does, for example.

Nothex said:
Hi, what are the advantages of using an app operation blocker like this?
Click to expand...
Click to collapse
ADBungFu is strictly a static app that reproduce ADB shell commands via a plugged PC's terminal. Once changes are operated, you can freeze or uninstall it: changes remain. You also need to refresh to be sure of completeness of on-screen lists: no dynamic reflection of simultaneous changes via a plugged PC.
Basically, app over ADB usb plugging has 2 benefits:
- no need of physical usb cable on an authorized PC (thx to Chainfire superuser #su),
- (wip) "pro-active" detection of the documentation for all usable ADB commands (can cause single bootloop or app malfunction depending of roms : on my devices, LineageOS-17.1 seems fine whereas Treble GSi bug on adb shell cmd phone)
andy356 said:
@oF2pks Please post your change logs in some detail here?
The F-Droid metadata doesn't give any details, like what "perform idle maintenance now" does, for example.
Click to expand...
Click to collapse
All these can can be android's version specific ... As example: https://cs.android.com/android/plat...e9c1515af202880edbab57cdd93d040c16cf326b;l=67
Still today, Google don't literally document each of these commands depending of the android version in use... And all oem can also change AOSP behavior...
Every dev has to dig some of them to countercheck their effect. As example: location related "dependent" permission are inefficient/fake(?) whatever a plugged PC's terminal or ADBungFu https://bitbucket.org/oF2pks/adbungfupermissionsetter/issues/2/location-restrictions-do-not-work
AndroidCodeSearch remains your best friend in any case :https://cs.android.com/search?q=idle-maintenance

oF2pks said:
ADBungFu is strictly a static app that reproduce ADB shell commands via a plugged PC's terminal. Once changes are operated, you can freeze or uninstall it: changes remain. You also need to refresh to be sure of completeness of on-screen lists: no dynamic reflection of simultaneous changes via a plugged PC.
Basically, app over ADB usb plugging has 2 benefits:
- no need of physical usb cable on an authorized PC (thx to Chainfire superuser #su),
- (wip) "pro-active" detection of the documentation for all usable ADB commands (can cause single bootloop or app malfunction depending of roms : on my devices, LineageOS-17.1 seems fine whereas Treble GSi bug on adb shell cmd phone)
All these can can be android's version specific ... As example: https://cs.android.com/android/plat...e9c1515af202880edbab57cdd93d040c16cf326b;l=67
Still today, Google don't literally document each of these commands depending of the android version in use... And all oem can also change AOSP behavior...
Every dev has to dig some of them to countercheck their effect. As example: location related "dependent" permission are inefficient/fake(?) whatever a plugged PC's terminal or ADBungFu https://bitbucket.org/oF2pks/adbungfupermissionsetter/issues/2/location-restrictions-do-not-work
AndroidCodeSearch remains your best friend in any case :https://cs.android.com/search?q=idle-maintenance
Click to expand...
Click to collapse
Thank you. I appreciate the detailed answer. What are some specific examples of real-world uses for this app? What do you use it for?

Good morning. I've used this app in xiaomi.eu MIUI 12 but it doesn't freeze the app but completely disable it. Is it the expected behaviour?
Thank you in advance

Antonio200 said:
Good morning. I've used this app in xiaomi.eu MIUI 12 but it doesn't freeze the app but completely disable it. Is it the expected behaviour?
Thank you in advance
Click to expand...
Click to collapse
Indeed, thus any disabled app won't appear anymore in launcher but will keep all data safe. Toggle +/- ☢DARK/System apps to re-enabled frozen apps.
If you want to force-doze or kill apps, use (fdroid) dynamic warder: https://f-droid.org/en/packages/superfreeze.tool.android/
ADBungFu will remain strictly static and will not track other app live dynamic behavior (SuperFreezZ can also be used in a simplified way: force-doze + screen-off).

Thank you oF2pks for your quick reply and for sharing your app with us.

@oF2pks Feature request: When performing root operations, please add a confirmation dialog to prevent issues like accidental button taps. Root operations are generally irreversible, so this is dangerous as it is right now. Imagine accidentally resetting all AppOps.

Related

[APP] ADB over WIFI Widget

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
search market for "ADB over WIFI Widget"
Notes:
- Rooted phone only.
A Widget to quickly enable/disable ADB over wifi. It will work over WIFI or Hotspot. IP and Port information will be shown on the icon. SU access may needed depends on your ROM and in that case, it would be slower (experimental).
If it didn't work, please email me, we will work it out.
Other features of the widget:
- Info on the icon can be enabled/disabled.
- The label under the icon can be customized or completely disabled
- You can specify port number
- you can set SU mode, please note that this feature is experimental and will slow down the widget operations a little.
App is free now!
I decided to make the widget free. download and enjoy. I will add some cool features soon.
Awesome. How do you get it to work??? Like is there something for the PC I have to download or run??
No software required on PC
Nothing needed on PC other than the ADB itself of course.
Make sure Debug mode is enabled on your phone.
this is the command on PC:
ADB connect IPORT
IP will be shown on the icon when you enable it and you can set port (also will be shown on the icon).
you should be on the same network with your phone, you cannot use 3G IP to connect it on the internet.
Have fun!
Excellent, thank You!
bohlool said:
Make sure Debug mode is enabled on your phone.
Click to expand...
Click to collapse
Dumb question: How do I do this?
I've got USB Debugging checked in Settings -> Applications -> Development, but that doesn't seem to do the trick to use ADB via WiFi.
I'm running Ruby 1.1.1 on an HTC Incredible, Super User Mode is checked (widget doesn't seem to work without it), and the widget says it's enabled, shows me the IP/port, but adb simply says "unable to connect to 192.168.1.xxx:5555" (I changed the port to 5555).
ardax said:
Dumb question: How do I do this?
I've got USB Debugging checked in Settings -> Applications -> Development, but that doesn't seem to do the trick to use ADB via WiFi.
I'm running Ruby 1.1.1 on an HTC Incredible, Super User Mode is checked (widget doesn't seem to work without it), and the widget says it's enabled, shows me the IP/port, but adb simply says "unable to connect to 192.168.1.xxx:5555" (I changed the port to 5555).
Click to expand...
Click to collapse
I take it that you've granted the application superuser permissions? You need to then need to activate the widget and adb connect xxxxxxx
Yes, it has permissions in superuser. I tap the widget to activate, it turns green and displays my phone's IP address + port. I open up a command window (w/ admin privileges, though that doesn't seem to matter), run "adb connect IPort" and get the "unable to connect" message.
adbWireless doesn't work either.
Rock on
Suite sauce! Great app
Where are you using this app? is it on your home network or a work/university? Because I also cannot connect in university, I've found a fix for it thats need a trick. I will add the trick to next version (Maybe I do it tonight, stay tuned), I hope it also work for you.
Just a test, can you use programs such as file managers to remotely access a share folder on your computer? because you should be on the same folder to do this.
Updated!
Check the updated version. Enable Change mask option and set different mask values. It fixed on my university's network with "255.255.0.0". you need to check the computer ip and your phone ip and determine what mask you should use. The goal is to make phone that you are on the same network as the computer.
Also a bug fixed.
Have fun.
The widget itself works like a charm, thanks a lot! But - look what I see in my Command Prompt window(on desktop computer under Windows 7) after successful connection with android device:
Code:
~ # cd /sys
cd /sys
/sys # ls
ls
←[1;34mandroid_gsensor←[0m ←[1;34mclass←[0m ←[1;34mfirmware←[0m
←[1;34mmodule←[0m
←[1;34mblock←[0m ←[1;34mdev←[0m ←[1;34mfs←[0m
←[1;34mpower←[0m
←[1;34mbus←[0m ←[1;34mdevices←[0m ←[1;34mkernel←[0m
/sys #
What this??? What all these "←[" mean???
Those are escape codes. With the right terminal program, they can control the cursor or change colors among other things. They are coming from whatever shell your ROM is running.
As for me, there must have been something wrong with my Ruby installation. The widget worked just fine after restoring a nandroid of Virtuous, and works great on my wife's Droid running Sapphire.
Sent from my ADR6300 using XDA App
excellent app!
can someone tell me how to post a review on the Android Market so I can rate this app and review it?
every noob there has posted a bad review but it worked for me
AfzalivE said:
excellent app!
can someone tell me how to post a review on the Android Market so I can rate this app and review it?
every noob there has posted a bad review but it worked for me
Click to expand...
Click to collapse
open app in Market, at the top click on stars to rate and on Post Comment to write a comment.
Thanks.
Can't find it in the market...
Can you please attach apk to this thread.
Tx.
Any chance you could post the APK... I don't have market access.
Thanks!
Billy
Hi,
very great idea, works fine with desire hd.
with friendly greet
starbase64
Very useful program, thanks!
I do have a question; Is enabling su when adding the widget required to make it work?
If I leave this toggle unchecked, the widget never turns green to indicate a connection is possible.
When it is checked, everything works as expected.
Is this toggle giving the widget su permission, or is it to grant permission to the wireless adb connection?
Please clarify the function of this toggle.
Thanks!
Given the nature of this program, is the source code available for this?

[Q] Application permissions restriction ?

All the applications we install , either we have to accept all the permissions or cancel the installation .
Could we change the permissions of the the applications after installation or while installing ?
There is a google thread on this .
http://code.google.com/p/android/issues/detail?id=6266&colspec=ID Type Status Owner Summary Stars
Do we have any application that can change permissions of other applicaitons ?
You could try to modify permissions of an app using apktool, but then it will probably FC.
What about running an app from a sandbox. Would this be possible?
The sandbox could tell the app the phone is in airplane mode and give it access to a seperate filesystem.
Probably not even possible though
mercianary said:
What about running an app from a sandbox. Would this be possible?
The sandbox could tell the app the phone is in airplane mode and give it access to a seperate filesystem.
Probably not even possible though
Click to expand...
Click to collapse
If you have good programming skills and will build your own ROM, then yes, it's possible ;-)
Brut.all said:
If you have good programming skills and will build your own ROM, then yes, it's possible ;-)
Click to expand...
Click to collapse
I got great programming skills, too bad the only language I know is basic.
Selectively allow specific permissions for an application
nfsnfsnfs said:
All the applications we install , either we have to accept all the permissions or cancel the installation .
Could we change the permissions of the the applications after installation or while installing?
Click to expand...
Click to collapse
Reposted from http://code.google.com/p/android/issues/detail?id=6600:
When you install an application on Android, it tells you all the "features" it will be using, like being able to access your GPS location.
I have one or two applications made by large companies that I don't want to stop using, but they periodically poll your GPS location while the application is running, and the application has no reason to do so.
Everything else with the application is fine, I just don't want to permit it to use GPS.
Disabling Wireless and GPS ability everytime I run the application is a headache, and prevents my other GPS required applications from working.
When you install any application and it gives you that list of permissions/features it requires/uses, I would like the ability to uncheck ones I do not approve of, to prevent it from being used.
Examples of items I really desire ability to uncheck:
Your personal information
Services that cost you money
Your location
Phone calls
etc.
Have this modifiable after install in the Settings -> Applications -> Manage Applications section.
If an application fails to work if I do this, I would rather wait for an update, or intentionally choose to allow it to work as intended with the feature I do not want, rather than be forced to "take it or leave it".
See Google Code for the issue:
http://code.google.com/p/android/issues/detail?id=6600.
Any experienced developers interested in working on a patch?
Re-posting in this thread some information for people who kept posting in the Galaxy-specific Android development thread:
dillovic said:
Has anyone here checked out the Permission Blocker App yet ?
Here is the link with google translate (German).
Code:
http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=de&tl=en&u=http%3A%2F%2Fwww.android-hilfe.de%2Fandroid-apps%2F45583-permission-blocker.html
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Fr4gg0r said:
At the moment, my app modifies the packages.xml, but changes won't do anything until the device rebooted.
I tried instantiating the PackageManagerService via Reflection, but after scanning /framework and /system/apps it crashes somewhere.
Click to expand...
Click to collapse
Another promising app is apktool, which can re-engineer an APK and change permissions
The Apex tool is also interesting. Links are given in android issue 6266, and I would re-post them here, but the anti-spam tools are not letting me.
@Willu: There is no "APEX tool" available as far as I know. Up to now, that's just a very good study of what should be established in the Android system itself (APEX stands for Android Permission Enhancement eXtension and is intended as a kind of API, as far as I understood). So e.g. at installation time, when prompted to "agree to the persmissions or abandon the install", there could be some "experts" button where the user could (un)check permissions separately.
They even thought of what would happen if the now "castrated" accesses a feature it thinks to be granted (in case the author was not aware that permissions could be revoked). For most cases, there's an easy way: Internet connection is simply "currently not available", SD card is "read-only", and so on.
I could not download the permBlocker application. However, directly editing packages.xml works for me:
adb pull /data/system/packages.xml
cp packages.xml packages.xml.bak
# modify packages.xml
adb push packages.xml /data/system/packages.xml
adb reboot
For modifying packages.xml, search the file for the package name (or part of the name). There is a <package> block. Inside this is a <perms> block. Delete lines with undesired permissions from the <perms> block.
The apk seems to be available at that forum now. Will try downloading later.
I know this post is a bit late but I wanted to share my trial with you
I ad a problem with the permissions too and I could modify the permissions of an application using apktools and it's working fine.
try it and you'll find it useful

[APP][2.2+] macroMote - The only remote control application you need.

macroMote
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
macroMote, the only remote control application you need for your computer. Functionality? Using a command based system macroMote allows you to easily create the functionality you need to take control of your computer remotely. Design? With its tabbed layout organizing your macros has never been easier, this means your macros can be categorised how you want them to be. Simplicity? Everything about macroMote screams simplicity, after all that’s what a remote is for right? Macros can still be created (and removed) while clients (yes, more than one device can be connected at the same time!) are connected; the changes will be synced to all of the devices in real-time.
Features
- Command system to create whatever functionality you need
- Tabbed design for easy access
- Connect as many devices as you want
- Changes are synced in real-time to all devices
- macroMote Server compatible with Windows, Linux and Mac
Planned Features
- Added security (PIN to connect)
- Ability to save IP address
- Ability to change port
- Better tablet support
This really is the definition of universal.
Silly example macro, opens chrome and navigates to XDA
Code:
shell "cmd /C start chrome --start-maximized"
wait 2000
move "155,45"
click left
wait 500
type "XDA "
type ENTER
wait 1500
move "192,280"
click left
REQUEST : Please can you test this on your Linux/Mac machines. It should work but unfortunately I haven't had chance to fully test it (especially on Mac)
Please post your feedback for any improvements, commands and bugs!
How To? Mirror
Server Mirror
Lite
Pro​
Reserved - Update information should go here.
This looks good but I have one question/concern.
How does the remote know which application to send the macro commands too? In other words, that VLC tab you have will only be useful if VLC is your currently active window.
It would be nice if each macro command could be directed towards a specific application running on your computer. If I want to control my iTunes music via remote, I don't want to maximize it first.
Make sense?
That is a very good question! I've thought about this and it still needs some work. With the server being programmed in Java it means I don't have access to external sources like window names and other useful things. It would mean I need to use the system API's (which of course then means I would need to figure out a way to get it to work on Linux and Mac too). Which means its going to be a pain in the ass. Fortunately must commonly used applications listen out for hot keys regardless of focus.
A simple solution would be? :
press ALT
type TAB
release ALT
Click to expand...
Click to collapse
- Added Mirror Links to 'How To?' and 'Server' (My site host seems to be blocking the links...)
400+ Views... one reply.
It would be nice if people could leave some feedback? I put a lot of time into this.
So you have to be at the PC when writing set commands for each remote function?
Have you thought about being able to write a custom function on the Android phone then pushing that to the server then executing it?
Would like to have a little play with this app though, I like the idea Could maybe interpret something like this into a smart tv one day with a bit of modification.
Good Job
Yes, well the idea was that you set-up all of your macros on the computer before hand (prevents security issues). Since you will only need to write the macro once.
I developed this to function as an AIO remote to be used with any software and OS on your computer (where other remote controllers fail). I would of continue developing it, but it seems nobody is interested or doesn't understand what it does fully. I think I might just release the Pro version for free.
TheUnkn0wn said:
Yes, well the idea was that you set-up all of your macros on the computer before hand (prevents security issues). Since you will only need to write the macro once.
I developed this to function as an AIO remote to be used with any software and OS on your computer (where other remote controllers fail). I would of continue developing it, but it seems nobody is interested or doesn't understand what it does fully. I think I might just release the Pro version for free.
Click to expand...
Click to collapse
I would try and offer some ideas but as you said it lies with using System API's.... Would be a huge improvement if you did manage to figure it out.
And yes the XDA feedback is sometimes.....

Privacy concerns about AOKP - Best alternative of Cyanogenmod, AOKP, Replica, etc?

I currently have AOKP (Maclaw) installed on my Samsung Galaxy SIII Mini, but as I was looking through the apps, there was one particular app that got me slightly concerned. It´s called Panda and when I click it, the only option I have is to "Enable Energy Save Mode", yet that utterly simple app has FULL access to the entire phone.
Firstly with Panda, you do not have the option to uninstall it the easy way, so a noob is forced to have it there.
If you try to forcibly stop Panda in the app manager, it will restart itself automatically.
Further more - Panda have the perrmissions to
- directly call phone numbers
read phone status and identity
- read your text messages (SMS or MMS)
send MMS messages
- take pictures and photos
- record audio
- approximate location (network-based)
precise location (GPS and network-based)
- modify your contacts
read your contacts
- read your own contact card
- modify or delete the contents of your SD card
- disable your screen lock
- set an alarm
- read Google service configuration
use accounts on the device
view configured accounts
- read terms you added to the dictionary
- change system display settings
modify secure system settings
retrieve system internal status
- change network connectivity
change WiMaX state
connect and disconnect from Wi-Fi
connect and disconnect from WiMaX
control Near-Field Communication
full network access
view network connections
view Wi-Fi connections
- access Bluetooth settings
pair with Bluetooth devices
- re-order running apps
retrieve running apps
run at startup
- draw over other apps
- control vibration
prevent phone from sleeping
- add words to user-defined dictionary
- change your audio settings
. read sync settings
read sync statistics
toggle sync on and off
- expand / collaps status bar
- modify system settings
read battery statistics
read Home settings and shortcuts
test access and protected storage
write Home settings and shortcuts
- full permissions to all device features and storage
- Set global theme
..meaning I guess that this Panda app has full administrator/root permissions.. - ..but why?
Why does a seemingly useless application like Panda have root permissions, which in turn also makes it fairly difficult to remove? What is the application Panda´s true purpose? Why is it there in the first place? What does it do, exactly?
My concerns with these alternative smartphone operating systems is that there might be an Ubuntu/Debian scenario, where Debian is a nice clean OS giving you the very basics and letting you choose whatever extra you want from there, whereas Ubuntu comes with a lot of extra stuff that you do not really need and / or should be given the ability to choose if you wanted to install or not, upon install.
So, I guess my question to the experienced, security- and privacy-oriented smartphone-OS user is:
What is the best alternative smartphone OS that gives you a simple OS without anything extra such as that suspicious Panda app?
In other words, which smartphone alternative out there today can be trusted the most to respect my privacy? I would of course look into Firefox OS if it was available.
Am I being overly paranoid about AOKP? Should I just keep that, or perhaps Cyanogenmod is the way to go? Or perhaps I am missing an even better solution?
Thanks.
You know you can easily disable those permissions with app ops, do you?
Sent from my GT-I8190 MaclawStudio CM 11 using Tapatalk
GXGOW said:
You know you can easily disable those permissions with app ops, do you?
Sent from my GT-I8190 MaclawStudio CM 11 using Tapatalk
Click to expand...
Click to collapse
Not with the Panda application you cant, and thats using the original App Ops with 4.3 support.
If you access App Ops to edit permissions for Panda, you arent given a single permission to alter.
The App Ops I am using works just fine with other applications, and I can easily alter permissions - but with Panda, not so--I cannot edit a single permission of Panda´ s, and yet that application has full access to my entire phone.
Panda is an application that seems to come by default with the MacLaw releases, at least on AOKP - I havent tested their Cyanogenmod release yet.
That Panda bear logo of this particular Panda app that I am talking about is the same Panda depicted on http://maclaw.pl - so it kinda begs to question - why is there an application like that with the AOKP MacLaw releases in the first place? Does that app gather information? Can it be accessed remotely? What exactly does it do?
The Panda "Teddy" logo:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You could upload the app to VirusTotal and if nothing is picking it up then send it to a AV provider that you like as a suspicious file and they'll check it over.
Or upload it and post the link here and I'm sure someone who knows far more than I do) could look it over.
You could also just ask him yourself, but I don't think he'll be collecting your personal information. The only thing that app does, is turning off one CPU core and setting the governor to OnDemand. That's all I know.
PSA root apps, or mods to the system don't really need to declare permissions, they can obtain the same functionality other routes. Don't judge the safety of an app just based on it's permissions.

[APP] RaspManager - Remote control for Raspberry

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction:
Hi guys, first all, sorry my English. My name is Jesus and I have a Raspberry for several months. It has passed for many stages (multimedia center, retro games center, etc.). Now, it's my experiments center .
I would like to present you an Android application that took weeks to develop (and many months in my mind to develop ). I called it RaspControl and, simply, connects your phone to your Pi, via SSH, for remote control.
Features:
RaspControl sets connection with your Raspberry, via SSH, anywhere. If you Raspberry has external conection, you can control it outside (obviously :laugh
RaspControl has three sections: Status, Explorer and Terminal
Status
Get your Raspberry's information, for example, running processes, available memory, network status, temperature, etc.
Allows restart and shutdown your Raspberry remotely.
Allows mount and dismount drives and filesystems remotely.
Explorer
RaspControl includes a simple file explorer, in order to send and receive files local and remotely.
Allows copy, cut, paste and delete folders and files from your smartphone.
Allows send folders and files from your smartphone to your Raspberry.
Allows copy, cut, paste and delete folders and files from your Raspberry remotely.
Allows receive folders and files from your Raspberry to your smartphone.
Allows download files to your Raspberry, setting the download link.
Terminal
RaspControl includes a simple console terminal, where you can have a full control for your Raspberry anywhere.
It has a commands used history (up to 100 commands).
To navigate through the command history, you can use volume keys, from your smartphone.
NEW!: Now, you can clear your command history
NEW!: Now, you can create custom commands and use it in Terminal!
Supported languages:
English (by default)
Spanish
Nothing more at this moment, but, I would like add more sections/functions in future to improve the app. I have some ideas (for example, a XBMC remote control) but I have to think it well; first, if can be do it; second, if I can do it and, finally, if it's useful.
Click to expand...
Click to collapse
Requirementsto work correctly:
RaspControl needs the following to work correctly:
A SSH server: Most Raspberry's distributions has a SSH server installed. Otherwise, you can install the openssh package.
To show bandwith correctly, it's neccesary have installed the ifstat package.
Screenshots:
A last point:
This app was designed to use on Raspberrys, but, "accidentally", you can use it on any Linux distribution, provided you have a SSH server installed (is the app's core to work ). I've tested with a pair of VM, a Arch distro and a Mint distro, and works without problems.
And, well, surely the app could have some errors to fix (many people have not tried), so, any comment is appreciated (assume ). For example, at this moment, I can say that connection sometimes is slow, all depends the network quality and smartphone, but, additionally, it has an extra time to SSH connection (compression data, validation, etc.). So, if you change section, while RaspControl is connecting to Raspberry, sometimes app could FC (force close). I've improved and optimized some code and I tought that I fixed it... but sometimes could FC . So I'm trying to fix this to make it more stable, also, I would like to improve it for tablets. It is not ugly, but not pretty
I hope you find it useful and you like it. Please, be not cruel , it's my second "formal" Android app and I'm still in the learning stage . I am currently looking for a job and I'm doing this to improve professionally (and improve my resume too ).
Link:
Finally, here you are!:
Google Play download link
Kind regards!
XDA:DevDB Information
RaspManager, App for all devices (see above for details)
Contributors
ercea
Version Information
Status: Stable
Current Stable Version: 1.5
Stable Release Date: 2014-06-25
Created 2014-06-28
Last Updated 2015-06-01
Changelog:
Version 1.5:
Main:
Changed main icon due to trademark violation
App renamed to RaspManager due to suspended application
Add compatibility with Lollipop styles
New toolbar
State:
Added controls to show/hide sections
Shows error messages when no connections
New Connection:
Avaible SSH certificate connections
Version 1.2.1:
Main Window:
Changed "About" dialog
Terminal -> Custom Commands:
Added a confirm dialog before delete a custom command
Added custom commands help demo screen
Version 1.2:
Main Window:
Deleted connection dialog removed (now, using a simple better way).
State:
Fixed OFF state when is connected
Added a confirm dialog before mount/dismount filesystems
Explorer:
Fixed continuous "Go-Back" when Back button pressed
Terminal:
Added "Refresh" button to reconnect with remote PC
Added "Clear history" command in context menu
Added "Custom Commands" section, to create/edit/delete custom commands and use it in Terminal.
Improved terminal output, using a handler.
Version 1.0:
First version of RaspControl
Hey guys, recently, I've updated to 1.2.1 version, please, check Changelog to see the changes and improvements I hope you like the application ^^
Regards!
Hey guys, recently my application was suspended due to trademark logo violation, I've contacted with the Raspberry Foundation and I can upload a new application without the official logo... but I can't modify the original app because it will be suspended always .
So, I had to rename the application and here is the new version with some changes (you can see them in the Changelog) and the new logo.
Sorry the inconveniences :S I hope to upload more versions with new feautures
Regards!
When you click on upload to remote where does the file go?
Sent from my SM-N920C
@ercea pretty awesome app. The only caveat I'm having is that it doesn't work if you have two factor authentication setup in the raspberry. After you enter the ssh password, it asks for a verification code, but since the app doesn't show the message and a text input to type it, is impossible to log in. Could you check if it's possible to add a type input for this case? I can help you check things if you need
skyleth said:
@ercea pretty awesome app. The only caveat I'm having is that it doesn't work if you have two factor authentication setup in the raspberry. After you enter the ssh password, it asks for a verification code, but since the app doesn't show the message and a text input to type it, is impossible to log in. Could you check if it's possible to add a type input for this case? I can help you check things if you need
Click to expand...
Click to collapse
@skyleth, please, I apologize for the delay in my response, I was out of my home during these days for my work. Thanks for your words about RaspManager, about two factor authentication, sorry the inconveniences, I will try to add this feature in the next update. Please, could you tell me how I can replicate your setup? (how did you put a verification code on your Raspberry?) Lately, due to my work, I only use my Raspberry for watching series and movies (for relaxing ) and, the truth is, I'm spending little time testing other things
Regards and sorry again for the delay :S
ercea said:
@skyleth, please, I apologize for the delay in my response, I was out of my home during these days for my work. Thanks for your words about RaspManager, about two factor authentication, sorry the inconveniences, I will try to add this feature in the next update. Please, could you tell me how I can replicate your setup? (how did you put a verification code on your Raspberry?) Lately, due to my work, I only use my Raspberry for watching series and movies (for relaxing ) and, the truth is, I'm spending little time testing other things
Regards and sorry again for the delay :S
Click to expand...
Click to collapse
Hi ercea, don't worry I set up the two factor authentication following this guide: https://www.sbprojects.net/projects/raspberrypi/ga.php
Anyway, if you need any help let me know, I'm currently at home because of an injury so I have time to check

Categories

Resources