Idea about camera folder and permissions - Android General

Hello,
I want to ask something about an ideea i had.
Alot of apps asks for permisions for SDCARD storage & main storage ( where all the files & photos are stored).
Why not should we have another permission (Photo/Video Acces & Senssible information access), on a separate partition on the phone or on the SDCARD.
I thought like this, you add a sd-card, it will be formated in 2 partitions 1 encrypted/or not based on the phone settings & another general)
The general partition will be used like now. The user will be allowed to select the size for the secure partition.
Also at the first boot of the phone the user will be asked to select the size of the main storage for secure content (mostly 20-30%) of the main storage.
After this, when you install Instagram for ex it will require access to usb & photos and sensitive informations. You will accept.
When you will install...XX Messenger and will require full access to storage, you will accept and you will not be worried that your photos,etc will be shared with China for example )
What do you think? Is it possible something like this now with some app?

Related

[Q] [MEMORY LEAK] Device Memory is full, but it's unknown what filled it! +screenshot

The total space is 1.57 GB. The "Apps" (used space) and "Available" (free space) doesn't add up to the total space.
512 + 0.82 = 512.82 MB, where is that missing 1000 MB?
There must be some unknown files that I can't see with Astro file manager (hidden files enabled) because I don't have root.
So how to delete those unknown files (without root)? How to get back that missing 1000 MB?
Looks like your /data/ partition (installed apps) is full, but the /system/ partition (rom+stock apps) has some space left, hence what you see in the storage manager.
If you install Link2SD and go to Storage Info (you will see something like on this screenshot)
What do you see on your device ?
To make space on the /data/ partition you could try to move more apps to the internal SDCard (settings -> apps -> select app -> "move to" button) or you could try to use Link2SD to do more, but you will need root.
Alternatively it is possible to resize the /data/ partition by taking space allocated to the internal memory /SDCard0/ partition.
This guide will explain you how.
You will need root and a kernel with recovery, also knowing your way around in ADB and have some basic knowledge about storage partitions.
I've already moved everything that I can to the internal memory and deleted the cache of many apps and removed the updates of all Google apps.
This problem appeared when I tried to download a file with Dolphin browser. I went to this site:
openstreetmap.hu/letoltesek
and tried to download this file:
TuraReteg.sqlitedb
The phone become unresponsive and something drained the whole memory. So there must be unknown files in that partition.
As I know, it's not possible to access the device memory without root. The Astro file manager shows empty folders. The phone is not mine. So how to delete those unknown files that waste the internal memory without root? (The Clean Master is useless, it cleans the "internal memory" only, NOT the "device memory".)
Maybe what happened is that after the download the contents of that .sqlitedb file got merged into the internal databases of your device...which would mean at least 186MB being injected or copied somewhere, hopefully on the /data/ partition.
Have you tried to do a factory reset (from the phone settings) ?
This should wipe the /data/ partition (and also the SDcard, so remove if there are file on it you wish to keep).
Backup what you need to keep on your device (messages, media and so on).
If that doesn't help and you are on a stock ROM, what you can try after that is connect the phone to a computer and reflash the latest Sony ROM with Sony Companion (it is called "repair phone" in the program if I recall correctly)

Unroot Android (remove symlinks by Link2SD)

Before posting this, I tried looking at other forum threads and over the internet in the last week, but could not find a solution so far.
I have a Huawei Y300 with Android 4.1.1. It was rooted and was pretty much fine except for some issues (they happened in time, are not caused by the rooting itself). Meanwhile, I changed the SD card and the defects include:
- cannot set contact photos (it stops when it tries to crop image)
- cannot change theme (it shows it empty and says "internal storage full" - which is not true, plenty of free space shows up in app manager)
- can't use file manager - doesn't see anything from Local
- without a card in it, gallery and camera don't work at all
I did a factory reset and cleaned the davlik folder, but didn't change anything.
The problems come, I think, because Link2SD creates symbolic links to some folders, and those folders are not the same in a new card. For instance, when I use Root Browser and click Properties on some folders, I get:
Path: /sdcard
Symlink:/storage/sdcard0
But, when I use phone's File Manager, it does not see the files from "storage0", it shows only files located in "storage/sdcard1"
I tried to do a system update, by putting a firmware zip (or app) on the card. But it does not see it there, because it sees what the symlink tells it to see. So I'm stuck in a loop.
Because it was impossible to make Link2SD see the new card, I used another phone, with Android 4.4. After endless attempts, I got that phone to see the two partitions on the card and function. (I had to make Link2SD system app and chose ext4 for second partition.)
I took the card back to the problem phone and only sees the first partition, not the ext4 one.
In Link2SD storage info it shows:
Internal (69% free)
SD Card (unmounted)
External SD (93% free)
Second Partition (not found)
System (33% free)
Cache
When I click Recreate mounting script - it says sd card not found.
Relink files: /data/sdtext2 not found
I basically would like to get the folder structure back to the original settings, maybe use the phone without card or with a new card, with or without rooting - just the simplest way possible, but to be able to use photos for contacts and wallpapers.
update
After numerous attempts, I managed to get into recovery mode from Link2SD (the same ) and started firmware update.
It lists doing some operations, but very soon it says wiping cache... and installation aborted.
Should I try with a different ROM? This one is from Huawei website, official, general version.
it's done!
Not that anyone answered, but in case you have the same problem: it's fixed!
Again with Link2SD. Made a third partition on the card, than in Link2sd click the left upper corner for more options. Scroll down for Restart. It gives options for recovery. Deleted everything with the two options to wipe cache and I don't know what else. And than chose restart from volume keys and upper button as enter.
It didn't do an upgrade, rather a downgrade to a previous factory version but i'm happy with it.
Won't risk another rom change.

Recover lost data

(phone: Moto G 3rd gen, 5.1.1)
Hello,
I've been looking to recover lost data from wechat (images) for the past few days, and am still looking for a decent application/way to do this.
For example "Dr. Fone" and variants all allow you to select the same kind of stuff, but they only scan some specific folders. I would need to scan the whole internal memory.
Next step was to find out how to access the internal memory as a USB mass storage device, but that doesn't seem to work in my Android OS.
Interestingly enough "Dr. Fone" did some kind of quick-root (non destructive root) and was running a simple program on the phone itself for scanning.
I assume they rooted because the windows application said so and because from what I gathered is that Google now uses MTP by default because of a host of difficulties to simultaneous access files/partitions if you're using USB instead of MTP.
Furthermore these wechat images are located under /tencent/micromsg/WeChat, so I don't know if they are taking into account when scanning the phone.
What I'm looking for is an application like Recuva, but than for MTP devices. From what I gather is that this is not possible due to MTP.
So the next question would be: how do I gain temporary root on my device so I can for example install a USBMS enabler? After that I can use Recuva to go through it.
Or another question would be what application allows me to not only select the default categories, but just give me a folder structure and/or list of files (preferably with a filetime and a preview)?
Thanks!
No way to root it without unlocking the bootloader, and unlocking the bootloader = wipe.
No unlocked bootloader means no root, temporary or not... File recovery on a non-rooted device is nearly impossible since mass storage went away and MTP is the only real external access to the storage.
Sent from my XT1575 using Tapatalk

Dalvik cache-too much space

Hello. I have honor 4c. At the beginning I had android 5 rooted phone but there wasnt any problem. After updating to marshmallow and rerooting I have problem with storage. When I wipe dalvik cache and reboot phone, recreated dalvik cache have 800MB. After few days I have internal storage totally full(100%). I dont understand. Everything is OK, dalvik cache takes the same storage but during one night I have full storage.... When I whake up there is notification that the storage is full. Can anyone help me? I dont want to delete that regularly as it takes more time to load all apps.
i have the same problème but after rooting i solved this issue
disable the automatic update on play store in order to choose the applications I need to update
* (do not automatically update)
<<<<< phone mast be rooted>>>>>>
1- sd card class 10 (for beter read & write)
2-partionne the sd card (2 partitions ( 1st as fat32 , 2nd as ext2,ext3,ext4)
3-using apps2sd all in one to creat mount script of the 2nd partition
4-move apps to sd card
this is the 1st solution
the second solution that i do personnaly is:
/////this is from :
https://www.facebook.com/groups/1615569825367117/permalink/1741006046156827/
How to remove space from your android
requirements
Require to have any version of mm
Requires Root and root explorer
Tutorial
Vamos to go to our file application and we will clean our phone as seen on the first image.
Despired to do the above checks how much you have internally in my case I had 84? after doing that, so that you see if it works.
- we will go to root explorer and look for the system folder and open the build. Pro and this, until the end we will add the following line as
dalvik.vm.dex2oat-filter = interpret-only
Save Changes
We went back to the root and looked for the data folder and opened
We go to dalvík cache and we first open the arm folder and delete that
System @ [email protected]
System @ [email protected]
-open the folder arm64 and delete the same thing
- in this part comes the most important we go back to the root and we open data and then the app folder
- in this folder you will find all our apps installed, we open one by one and we will delete the folder bat(oat)
After removing all the bat(oat) files from all our apps, we left the super-Root Explorer and checked our space and we'll have more room.
Every time you install an app, you only enter the root explorer and delete the bat folder of this application to continue to free

Can't decrypt the second user's data in TWRP recovery.

Hi,
I am using Island (play.google.com/store/apps/details?id=com.oasisfeng.island) which create another user in my Pixel 3. Now I find that in TWRP 3.2.3-0 I can only decrypt the main user's internal storage (/data/media/0). In /data/media/10 for another user, all the directories and files are still encrypted. My phone can't boot into Android now, so I am wondering if I can access the second user's internal storage in recovery mode? Thanks for considering my problem.
(And in /data/data there are only data of main user's applications, where's the data of the second user's applications?)

Categories

Resources