How to give an App a permission that doesn't appear? - General Topics

I'm using an xposed module that spoofs my system camera, but in order for it to work, I need to grant Apps access to view my internal files, since the camera spoofs the feed from a local .mp4 file. This works on apps like Firefox, where I can go to the permissions tab and select the "Photos and Videos" permission. However, the App I'm trying to use this on doesn't have that permission listed under "Not Allowed", so how can I turn it on?
I used apk edit pro to edit AndroidManifest.xml and add the permission, but I ran into another problem.
I added the line: "<uses-permission android:name=android.permission.READ_MEDIA_VIDEO"> </uses-permission>" in AndroidManifest.xml
Then installed the modified app, but now it shuts down the instant I try to open it. In fact, it shuts down even if I recompile it without modifying anything. What can I do to solve one of these issues? Either applying the permission any other way or getting the app to boot after editing it with apk editor.

Related

[Q] An idea about preventing some apps to open without the permission

I have an idea about preventing some apps to open without my permission, don’t know if feasible. The principle is that using some tools like wp7 root tools to rename or move some files of the target app in the “\Applications\Install\{The product ID}\” to the other location, and when I want to use the app, I just give my password to the tool, and the tool will recover the files that modified before.
So I have a try by using wp7 root tools. I rename a dll file of one app, and I found that it is worked. Although the target app is still in the app list, but when I try to open it, it just shows the splash screen and then exits. And then, I recovers the name of the dll that I had renamed and reopen the app, it still works fine. So far I haven’t found any bad effects to my phone, so if we can find out the product ID of the office which I really want to protect, we can protect the most important things I think.
Are there anybody have the same requirement about protecting our privacy? I really hope there is an app that can achieve this goal.

Box app opens APK files by default

Hi,
Since installing the Box app for the free 50GB I found that it opens APK files by default, and I have to a file explorer to manually find them and install.
It doesn't seem like Box has any defaults set, but it still opens files it has nothing to do with.
Any suggestions?
Thanks.

Random mysterious files appearing in Downloads folder

I keep experiencing mysterious, extensionless files that appear in my downloads folder. Sometimes one, sometimes more. I have confirmed that they only appear after I open the Snapchat app, even for just a brief second.
When I open the files as text I get random Chinese characters that don't seem to want to be decoded.
What are these files? And how do I remove them for good? I can hide them, but they reappear under different names.
Is there any way to either
A) prevent an app from creating files in the download folder
B) change the directory where Snapchat creates these files
C) stop Snapchat from making these files altogether
I am using Snapchat Beta on an unrooted Droid Turbo 5.1
SOLUTION: Using es file explorer, I highlighted the unwanted files and selected Menu > Hide. They're gone now and they don't seem to be coming back even though I've been using Snapchat numerous times per day. Still, if anyone knows why these files exist, how to get rid of them, or how to prevent an app from creating a file like this in the first place, this information would be appreciated.
Thx bruhs
It may very well be spyware, like the one at mspy dot com, or a government spyware app distributed via Snapchat.
Based on the file sizes people are reporting and the way it changes, I'd say this file in particular is probably an encrypted log file for a key logger. That is: It is everything you've typed, and it's sent to the one who's spying on your phone activity.
Hint: Hiding the file won't solve the problem (for the person who's being spied on anyway...).

|ROOT/ADB?| Fully stopping Instant Apps from installing ever again

Hey guys, this is my first thread, and I'm a bit confused on the app. Today I'll tell how did I stop the freaking google 'malware' from installing and updating every single day. This would work on any rooted device that has access to the data partition, maybe it could be reproduced via adb without root.
First off, I searched everywhere looking on how to disable, uninstall, break, or do anything to this forced battery hog. The best answers were using 'pm hide' on the package but this caused a very high battery usage, due to the file dependencies. So I searched where it was installed. Luckily enough, it is an user app, so it means I would find it on /data/app and /data/data. I will use solid explorer, but any file manager with root access and chmod to change permissions should do just fine.
Once we locate the folder (/data/app/com.google.android.instantapps.supervisor-1 in my case) we delete it. Utterly. After that, we will create a file, and name it exactly the same as the folder did. This is a dummy file that the system will believe it is a folder, and will try to install the application inside it. We fill that file with enough random characters for making the system think it can't just delete it (sometimes cleaners point empty files as worthless and wipe them out)
Now we need to make the dummy file unremovable for anyone but us, by using chmod. Solid explorer has a nice interface for that. We long press the file, enter to properties and set the permission to 0 0 0 (attributes tab). This makes play store unable to delete the file to recover the old folder, and when it tries to download the package, it will fail because it won't have a respective folder to be sent to.
After this, we reboot the phone and see that google play services for instant apps has lost roughly 90% of it's size, and when we enter settings>google>google play instant it'll ask for installation. I was bold enough to accept, just for getting an error dialogue when it tried to install itself.
Known issue: The app reinstalls once again after reboot. The cause is that, when android can't install the app in the first folder (the one that ends with a -1), it can create a second one (ending with a -2 instead), like an alternative. This is solved by just doing the same procedure above on the second folder, and you will end up having two dummy files instead of one. A third folder cannot show up, or at least it didn't in my phone.
Notes: You can repeat this with the folder in /data/data and any other data partition level instant app folder, but I wouldn't do it because I already broke all functionality since I deleted the base apk, and the app size is less than 300KB now so I don't think the trouble is worth it.
You must whitelist these files from any memory cleaner, i.e SD maid corpse finder will delete it thinking it's a leftover of an old app
WARNING; I'M NOT RESPONSIBLE FOR ANY MISLEADS, WRONGS, OR PLUTONIUM-UNSTABLE ROMS THAT MAY EXPLODE IN ANY WAY. YOU ARE THE RESPONSIBLE FOR YOUR DEVICE'S SAFETY AS THIS ISN'T EVEN FULLY TESTED IN MY PHONE AND I DON'T KNOW THE ULTIMATE CONSEQUENCES OF DOING THIS. YOU ARE WARNED.
PD: Please make some suggestions about how I made the thread, I did what I think it's my best

Permission options greyed out for File Manager in Android 11

I have a Oneplus Nord. I recently updated to Android 11. Then I started seeing issues with apps like @voice Reader which I use to listen to epubs. It kept telling me that there was no app to handle document open intent. Digging up on the internet I found the issue might be related to the file system app.
I checked and found the default oneplus file app is a system app. So I was left scratching my head about the issue. On checking closely it turned out that in Android 11 there are now two file permissions - Manage all files and manage media only. The oneplus file manager for some reason has only media access.
When I go to the app, the permission tab is greyed out. So I cannot change and give the app full file access. Any ideas on how to do this? My phone is rooted so any root option is also fine. Thanks in advance.
Use Root Explorer.

Categories

Resources