Android 10 update files deletion - Moto G7 Plus Questions & Answers

Can anyone help me? I have a moto G7+ running Android 10 with TWRP and root. It's working fine... I mean almost, I noticed that since Moto pushed another update for it, it downloads itself and takes up space on storage. It started with 13GB, now it's taking 25GB of system files. I can't find the folder to delete these files even with root. I tried wiping Dalvik Art Cache, it did nothing. Is there anyway to perform this without having to reset the whole phone? Thanks in advanced. I used Mixolorer to try to find the page and TWRP to wipe cache. Also there's no cache option in it, that's why I went with Dalvik.

Nhyphk said:
Can anyone help me? I have a moto G7+ running Android 10 with TWRP and root. It's working fine... I mean almost, I noticed that since Moto pushed another update for it, it downloads itself and takes up space on storage. It started with 13GB, now it's taking 25GB of system files. I can't find the folder to delete these files even with root. I tried wiping Dalvik Art Cache, it did nothing. Is there anyway to perform this without having to reset the whole phone? Thanks in advanced. I used Mixolorer to try to find the page and TWRP to wipe cache. Also there's no cache option in it, that's why I went with Dalvik.
Click to expand...
Click to collapse
It's a A/B device and there is no /cache on it.
The update file for an A/B device isn't stored on your device. It will be installed directly from Motorola's server.
Open a fileexplorer in search inside /data for the file or open a terminal command and type
Code:
du -m /data | sort -g
This command shows all sizes in MB.

WoKoschekk said:
It's a A/B device and there is no /cache on it.
The update file for an A/B device isn't stored on your device. It will be installed directly from Motorola's server.
Open a fileexplorer in search inside /data for the file or open a terminal command and type
Code:
du -m /data | sort -g
This command shows all sizes in MB.
Click to expand...
Click to collapse
Ok, if it's not stored in my device what's taking up so much space on "system"?

Nhyphk said:
Ok, if it's not stored in my device what's taking up so much space on "system"?
Click to expand...
Click to collapse
"System" are ALL system related partitions like /vendor, /system and so on. It doesn't matter which files are stored there. The size of each partition remains the same.
---------- Post added at 12:39 AM ---------- Previous post was at 12:38 AM ----------
You can delete all files within /system, but /system is still 3GB.
---------- Post added at 12:45 AM ---------- Previous post was at 12:39 AM ----------
Only single files on /data are important because that is your internal storage. You only use /data. If you delete files on /system then /data won't get more free storage.

WoKoschekk said:
It's a A/B device and there is no /cache on it.
The update file for an A/B device isn't stored on your device. It will be installed directly from Motorola's server.
Open a fileexplorer in search inside /data for the file or open a terminal command and type
Code:
du -m /data | sort -g
This command shows all sizes in MB.
Click to expand...
Click to collapse
WoKoschekk said:
"System" are ALL system related partitions like /vendor, /system and so on. It doesn't matter which files are stored there. The size of each partition remains the same.
---------- Post added at 12:39 AM ---------- Previous post was at 12:38 AM ----------
You can delete all files within /system, but /system is still 3GB.
---------- Post added at 12:45 AM ---------- Previous post was at 12:39 AM ----------
Only single files on /data are important because that is your internal storage. You only use /data. If you delete files on /system then /data won't get more free storage.
Click to expand...
Click to collapse
I got what you meant, but in my case something is taking up space on my internal memory and it's going to system. It's now on 27GB, yesterday it was 26gb, in March when I updated to Android 10, it was only about 10gb, and when I check data to see some files, there's nothing there to delete, that's what I'm asking.

Nhyphk said:
I got what you meant, but in my case something is taking up space on my internal memory and it's going to system. It's now on 27GB, yesterday it was 26gb, in March when I updated to Android 10, it was only about 10gb, and when I check data to see some files, there's nothing there to delete, that's what I'm asking.
Click to expand...
Click to collapse
Did u run the command obove? All you can do is to search for the file (or what ever it is).
Maybe a file explorer like FX would help you to find it. It shows you the usage of every directory you choose, always beginning with the greatest file/folder on top.
I'm sure it is only one special file/folder that causes your problem, so this method seems to be the best for you.
Example: /data/system/user/0/big_file.dat is what you are searching for, then you will find it by selecting "data". FX shows you that there is a very big file somewhere in "system" and like this you go further and further until you find "big_file.dat" .

WoKoschekk said:
Did u run the command obove? All you can do is to search for the file (or what ever it is).
Maybe a file explorer like FX would help you to find it. It shows you the usage of every directory you choose, always beginning with the greatest file/folder on top.
I'm sure it is only one special file/folder that causes your problem, so this method seems to be the best for you.
Example: /data/system/user/0/big_file.dat is what you are searching for, then you will find it by selecting "data". FX shows you that there is a very big file somewhere in "system" and like this you go further and further until you find "big_file.dat" .
Click to expand...
Click to collapse
Thanks for the tip, when I get to data and choose a folder, they all say access denied, even with root allowed. There must be something wrong with this freaking phone. Thanks anyways.

Anyone out there. I still need freaking help. I thought with the app I found, system storage would stop growing, but it hit 32GB of simply nothing. I've removed everything from the phone, moved vids, pictures. The folder says it's files needed to make android work, but why is it growing?

Nhyphk said:
The folder says it's files needed to make android work, but why is it growing?
Click to expand...
Click to collapse
Which folder told you that?

WoKoschekk said:
Which folder told you that?
Click to expand...
Click to collapse
System in Storage

Nhyphk said:
System in Storage
Click to expand...
Click to collapse
You should take a root fileexplorer... It's somewhere in /data, except /data/media
---------- Post added at 01:40 AM ---------- Previous post was at 01:33 AM ----------
You can also exclude
/data/app
/data/data
/data/user
/data/user_de

WoKoschekk said:
Which folder told you that?
Click to expand...
Click to collapse
WoKoschekk said:
You should take a root fileexplorer... It's somewhere in /data, except /data/media
---------- Post added at 01:40 AM ---------- Previous post was at 01:33 AM ----------
You can also exclude
/data/app
/data/data
/data/user
/data/user_de
Click to expand...
Click to collapse
This is the folder, there are so many things inside it. If I delete data/app, won't my apps restart? I'll have to login again, because banks apps won't work without authorization...

Nhyphk said:
This is the folder, there are so many things inside it. If I delete data/app, won't my apps restart? I'll have to login again, because banks apps won't work without authorization...
Click to expand...
Click to collapse
The file(s) you are searching for is/are stored in /data. You can EXCLUDE the following paths from your search:
/data/app/*
/data/data/*
/data/media/*
/data/user/*
/data/user_de/*
Do not search in above mentioned paths and do not delete them or something else!!!
---------- Post added at 04:43 AM ---------- Previous post was at 04:34 AM ----------
I don't know why it took so much time for you to find the problem. Open /data and get the size for each folder, one after another. First folder should be 'adb'. What is the size of this folder? Is it less than 20GB then go to the next one. The next one is called 'app' and should exclude it so take the next one. And so on and so on...
You have a maximum of 20 folders. This should take approx. 5-10 min. and your problem is solved!
---------- Post added at 05:12 AM ---------- Previous post was at 04:43 AM ----------
or open any terminal app and type
Code:
su
du -akd 1 /data | sort -n
in the last line of your output you find the folder with the highest size.

Thank you very much for your help and I'm sorry for bothering. I'm really not an expert on these things. I think the actual file is so hidden not even root will show it. The biggest folder in data is exactly apps. First I thought you said I could delete them, thank God I only deleted user_de and when the phone restarted, I only had to confirm my account and 2.5GB were cleared off memory. Then I did what you told me to and you can see what it says in the picture, biggest folders are app and data. Since I can't delete data/app, I think it's another file, or even more than one that are hidden. Or my phone is just buggy. Last resort is resetting it... Anyways, thanks again.

Nhyphk said:
Thank you very much for your help and I'm sorry for bothering. I'm really not an expert on these things. I think the actual file is so hidden not even root will show it. The biggest folder in data is exactly apps. First I thought you said I could delete them, thank God I only deleted user_de and when the phone restarted, I only had to confirm my account and 2.5GB were cleared off memory. Then I did what you told me to and you can see what it says in the picture, biggest folders are app and data. Since I can't delete data/app, I think it's another file, or even more than one that are hidden. Or my phone is just buggy. Last resort is resetting it... Anyways, thanks again.
Click to expand...
Click to collapse
Please have a look at /data/app. 25GB are too much for this path. Usually it contains less than 10GB.
Expand the command this way:
Code:
du -akd 1 /data[B]/app[/B] | sort -n

WoKoschekk said:
Please have a look at /data/app. 25GB are too much for this path. Usually it contains less than 10GB.
Expand the command this way:
Code:
du -akd 1 /data[B]/app[/B] | sort -n
Click to expand...
Click to collapse
Those are the biggest ones, but they're games (like pogo, Mario and HP) and they take about 2.5gb separately on Storage. I think musically is tik-tok, because that was its name before, I barely use it, it says 1.9GB, right? But the app itself says less than 300Mb. Also Google Port Camera looks huge and google quicksearchbox (is it the app or the widget?) and gms... Correct me if I'm wrong. Sorry once again.

Nhyphk said:
Those are the biggest ones, but they're games (like pogo, Mario and HP) and they take about 2.5gb separately on Storage. I think musically is tik-tok, because that was its name before, I barely use it, it says 1.9GB, right? But the app itself says less than 300Mb. Also Google Port Camera looks huge and google quicksearchbox (is it the app or the widget?) and gms... Correct me if I'm wrong. Sorry once again.
Click to expand...
Click to collapse
Numbers on the left side are sizes in KiB (Kibibyte).
1 KiB = 1024 Byte (binary, 2^10)
1 kB = 1000 Byte (decimal, 10^3)
/data/app/com.google.android.gms (Play Services) = 296.880 KiB = 289,92 MiB = 304,01 MB
All folders shown on your screenshot (YouTube - Play Services) are together almost exactly 4GB! But the total sum of '/data/app' is 25,79GB
What about the remaining 22GB??? The folders above 'YouTube' getting smaller and smaller. To get a total sum of 22GB you need hundreds of folders!
My advice: Do a factory reset! I don't know what it is, but your device (or storage) is really messed up.

WoKoschekk said:
Numbers on the left side are sizes in KiB (Kibibyte).
1 KiB = 1024 Byte (binary, 2^10)
1 kB = 1000 Byte (decimal, 10^3)
/data/app/com.google.android.gms (Play Services) = 296.880 KiB = 289,92 MiB = 304,01 MB
All folders shown on your screenshot (YouTube - Play Services) are together almost exactly 4GB! But the total sum of '/data/app' is 25,79GB
What about the remaining 22GB??? The folders above 'YouTube' getting smaller and smaller. To get a total sum of 22GB you need hundreds of folders!
My advice: Do a factory reset! I don't know what it is, but your device (or storage) is really messed up.
Click to expand...
Click to collapse
Thank you. I thought so, think it's actually the freaking update... I'll do it in some days, remove root and install a newer version of Android 10 from Motorola, then root it again. But thank you very much. God bless you.

Related

[Q] Messed up the root folder(/)

I accidentally messed up the root folder(/), which contains system, cache, data, lta-label etc folders
Now how can I make the whole root folder back to the original state?
To solve this, can I flash a firmware by Flashtool with "Exclude Partition" unticked?
Will every folder and file under the root folder come back to the original state?
By the way, can lta-label folder be deleted?
Thank you!
Can you elaborate on messing up the root folder? What exactly is messed up?
DevShaft said:
Can you elaborate on messing up the root folder? What exactly is messed up?
Click to expand...
Click to collapse
I wrongly created and moved some files and folders just under the Android root folder(/)(PS not sdcard root folder)
so now the root folder has been messed up and i want to make the whole root directory go back to factory state.
thanks
....cant you just delete them?
Sent from my PAC-ed LT18i.
Press the thanks button if I helped.
Just reflash using flashtool
flytomars said:
I wrongly created and moved some files and folders just under the Android root folder(/)(PS not sdcard root folder)
so now the root folder has been messed up and i want to make the whole root directory go back to factory state.
thanks
Click to expand...
Click to collapse
Which folders are you referring to exactly?
---------- Post added at 04:51 PM ---------- Previous post was at 04:51 PM ----------
Michealtbh said:
Just reflash using flashtool
Click to expand...
Click to collapse
May not help in this case.
tangosierra_ said:
....cant you just delete them?
Sent from my PAC-ed LT18i.
Press the thanks button if I helped.
Click to expand...
Click to collapse
after a reboot the wrongly created files and folders disappear and i don't know where they have gone
i worry that they still exist but cannot be found
DevShaft said:
Which folders are you referring to exactly?
---------- Post added at 04:51 PM ---------- Previous post was at 04:51 PM ----------
May not help in this case.
Click to expand...
Click to collapse
If flashing a FTF can clear every partition then it will help
DevShaft said:
Which folders are you referring to exactly?
---------- Post added at 04:51 PM ---------- Previous post was at 04:51 PM ----------
May not help in this case.
Click to expand...
Click to collapse
i wrongly copied TitaniumBackup folder just to the root folder
after a reboot it disappeared i don't know where it is
flytomars said:
If flashing a FTF can clear every partition then it will help
Click to expand...
Click to collapse
Flashing a FTF can clear most partitions, but not everything like TA. So no 100% clean slade I'm afraid. However this can solve problems such as yours.
---------- Post added at 05:37 AM ---------- Previous post was at 05:26 AM ----------
flytomars said:
i wrongly copied TitaniumBackup folder just to the root folder
after a reboot it disappeared i don't know where it is
Click to expand...
Click to collapse
I believe / is a ramdisk mounting everything together. This means that on every boot this ramdisk is recreated and all adjustments you made to / before will be gone. So your TB folder is actually nowhere, so nothing for you to worry about. It's like it was before you wrongly copied the folder. No need to flash an ftf, but if it makes you feel good .
DevShaft said:
Flashing a FTF can clear most partitions, but not everything like TA. So no 100% clean slade I'm afraid. However this can solve problems such as yours.
---------- Post added at 05:37 AM ---------- Previous post was at 05:26 AM ----------
I believe / is a ramdisk mounting everything together. This means that on every boot this ramdisk is recreated and all adjustments you made to / before will be gone. So your TB folder is actually nowhere, so nothing for you to worry about. It's like it was before you wrongly copied the folder. No need to flash an ftf, but if it makes you feel good .
Click to expand...
Click to collapse
what you said makes me stop worrying.
Besides TB folder I also wrongly copied some files just under the root folder.
I once worried that after a reboot they will not be deleted and just be hidden and be nowhere to be found so that they will permanently exist in a unknown place on my phone.
Now I know that they can be simply 'killed' by completely flashing a ftf.
So can I get a conclusion:
If the root folder is messed up, for example, saving files and folders under lta-lable folder or under any other folder in the root folder or just under the root folder(/), everything that shouldn't exist will be deleted and everything under the root folder will be back to the factory state by flashing the whole ftf.
Is this right?
Thank you!
DevShaft said:
Flashing a FTF can clear most partitions, but not everything like TA. So no 100% clean slade I'm afraid. However this can solve problems such as yours.
---------- Post added at 05:37 AM ---------- Previous post was at 05:26 AM ----------
I believe / is a ramdisk mounting everything together. This means that on every boot this ramdisk is recreated and all adjustments you made to / before will be gone. So your TB folder is actually nowhere, so nothing for you to worry about. It's like it was before you wrongly copied the folder. No need to flash an ftf, but if it makes you feel good .
Click to expand...
Click to collapse
:good:
flytomars said:
what you said makes me stop worrying.
Besides TB folder I also wrongly copied some files just under the root folder.
I once worried that after a reboot they will not be deleted and just be hidden and be nowhere to be found so that they will permanently exist in a unknown place on my phone.
Now I know that they can be simply 'killed' by completely flashing a ftf.
So can I get a conclusion:
If the root folder is messed up, for example, saving files and folders under lta-lable folder or under any other folder in the root folder or just under the root folder(/), everything that shouldn't exist will be deleted and everything under the root folder will be back to the factory state by flashing the whole ftf.
Is this right?
Thank you!
Click to expand...
Click to collapse
just reflash FTF or if you have custom rom reflash the rom in recovery...
G1_enthusiast said:
just reflash FTF or if you have custom rom reflash the rom in recovery...
Click to expand...
Click to collapse
flashing a custom rom won't format partitions so i think it's better to flash ftf
flytomars said:
flashing a custom rom won't format partitions so i think it's better to flash ftf
Click to expand...
Click to collapse
if you wipe system, data and cache it will...worth a try it takes 5 minute to know if it work..
G1_enthusiast said:
if you wipe system, data and cache it will...worth a try it takes 5 minute to know if it work..
Click to expand...
Click to collapse
i messed up the root folder /
not data, system etc which are under the root folder
flytomars said:
flashing a custom rom won't format partitions so i think it's better to flash ftf
Click to expand...
Click to collapse
Yes, only you don't have to because of the fact you wrote to ram, so nothing is messed up .
---------- Post added at 06:07 PM ---------- Previous post was at 05:57 PM ----------
flytomars said:
So can I get a conclusion:
If the root folder is messed up, for example, saving files and folders under lta-lable folder or under any other folder in the root folder or just under the root folder(/), everything that shouldn't exist will be deleted and everything under the root folder will be back to the factory state by flashing the whole ftf.
Is this right?
Thank you!
Click to expand...
Click to collapse
No, that's not right .
When you write anything to / (not further down!), it will be gone like it never existed. This is because writing to / is actually to RAM. RAM is cleared on reboot.
So conclusion is, you don't have a messed up /, since it is restored after a reboot. This is only the case when you write directly to /. So not necessarily when you write to a folder called /foo or /bar. You don't have to do anything, since there is no mess and all is fine.
A RAM disk is an area in memory which is mounted as disk, as if it is disk space while it actually is RAM space which is cleared when the device reboots or shuts down. When the device boots it recreates this RAM disk and copies the necessary files and folders to it. It also mounts certain partitions under aliases like /system and /data. When the RAM disk is removed from memory - at a shutdown or reboot - it will only clear the files and folders copied to / and the aliases of the partitions mounted, not the content of the partitions themselves. So when you write to /system/ it will not be gone at next boot while something written to / directly will. I hope it makes a bit more sense now .
DevShaft said:
Yes, only you don't have to because of the fact you wrote to ram, so nothing is messed up .
---------- Post added at 06:07 PM ---------- Previous post was at 05:57 PM ----------
No, that's not right .
When you write anything to / (not further down!), it will be gone like it never existed. This is because writing to / is actually to RAM. RAM is cleared on reboot.
So conclusion is, you don't have a messed up /, since it is restored after a reboot. This is only the case when you write directly to /. So not necessarily when you write to a folder called /foo or /bar. You don't have to do anything, since there is no mess and all is fine.
A RAM disk is an area in memory which is mounted as disk, as if it is disk space while it actually is RAM space which is cleared when the device reboots or shuts down. When the device boots it recreates this RAM disk and copies the necessary files and folders to it. It also mounts certain partitions under aliases like /system and /data. When the RAM disk is removed from memory - at a shutdown or reboot - it will only clear the files and folders copied to / and the aliases of the partitions mounted, not the content of the partitions themselves. So when you write to /system/ it will not be gone at next boot while something written to / directly will. I hope it makes a bit more sense now .
Click to expand...
Click to collapse
now i understand
and i did a test.
i created a folder and a file under / whose permissions were set the same as the permission of other files under /
after a reboot the created folder and file disappear
so i think what you said is undoubtly right
but if i write something further down then i have to flash a ftf because flashing a ftf can wipe every partition mounted under /
is this right?
thank you!
Most, not every. Partitions like TA cannot be wiped by flashing a ftf.
Sent from my PAC-ed LT18i.
Press the thanks button if I helped.
flytomars said:
but if i write something further down then i have to flash a ftf because flashing a ftf can wipe every partition mounted under /
is this right?
thank you!
Click to expand...
Click to collapse
As said not every partition, like the TA for instance. However in most cases flashing ftf will do.

Moto X Dev edition - Pictures consume memory when they are deleted

Hi,
I have a moto x dev edition phone.
My problem. When i click pictures and delete them the Picture memory consumption under storage increases
I took 5 pics and deleted all of them and now it shows 110MB when there is nothing.
Please let me know if this is a known issue and if a fix is available?
Try rebooting the phone or clearing caches in recovery. Wonder if its because of the "undo" feature? Also, dig around in a file explorer to figure out where or what they're doing when u delete them if the reboot doesn't do it.
gokart2 said:
Try rebooting the phone or clearing caches in recovery. Wonder if its because of the "undo" feature? Also, dig around in a file explorer to figure out where or what they're doing when u delete them if the reboot doesn't do it.
Click to expand...
Click to collapse
No idea what undo feature is.
Tried reboot -> doesn't help
Scanned file system for picture types, nothing fishy left on storage.. I am Bedazzled
cobain692 said:
No idea what undo feature is.
Tried reboot -> doesn't help
Scanned file system for picture types, nothing fishy left on storage.. I am Bedazzled
Click to expand...
Click to collapse
Clear gallery cache, size drops from 110MB to 45KB. Take a picture and delete it -> size back to 112MB
Its doing the same in a way for me, but its kilobytes.... not megabytes. 100kb is nothing, I personally wouldn't worry about it.
gokart2 said:
Its doing the same in a way for me, but its kilobytes.... not megabytes. 100kb is nothing, I personally wouldn't worry about it.
Click to expand...
Click to collapse
Yes this too.
After some scanning of the FS found something called .thumbdata3... This was consuming the 1XXMB when the gallery is empty.
If you're rooted, check for "tombstone" files with a file manager. They have been hogging a lot of space for me with the X and previous phones.

[Q] Can't Access Internal SD Card - Need original platform.xml file

So things were going well... I had rooted my S5 thanks to Geohot, was able to install and run Titanium Backup and see my old backups from my last phone. Then when I tried to backup my S5 I ran into the "insufficient space error". A quick Google searched revealed that I needed to edit my platform.xml file to be able to write to my entire External SD. So I did edit platform.xml, reboot the phone and voila.... I can't access either my internal or my external SD card! Far as I can tell, I screwed up my permission in platform.xml.
Can someone please send me their original so that I can hopefully get my phone fixed?
If that doesn't work I may just have to reformat and lose all my data since I can't find any other way to fix permission since I can't run most of the programs on my phone (I can, however, use Solid Explorer).
Where is the file located? And you need it from a non rooted phone? Just did this for another member today.... I suppose I could do this for you as well.... don't want you to lose all your data bro.
---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------
What I did with titanium Bu was use the sdfix https://play.google.com/store/apps/details?id=nextapp.sdfix and went into preferences in TBU and changed Backup Folder Location to /storage/extSdCard/TitaniumBackUp
This of course assuming you have a micro sd card in the phone. Give me the path to where the file is and I'll grab it for you from my wife's non rooted phone.
---------- Post added at 04:17 PM ---------- Previous post was at 04:00 PM ----------
Pm sent with the file from my rooted phone that has working permissions... good luck!
nicetucu said:
Where is the file located? And you need it from a non rooted phone? Just did this for another member today.... I suppose I could do this for you as well.... don't want you to lose all your data bro.
---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------
What I did with titanium Bu was use the sdfix https://play.google.com/store/apps/details?id=nextapp.sdfix and went into preferences in TBU and changed Backup Folder Location to /storage/extSdCard/TitaniumBackUp
This of course assuming you have a micro sd card in the phone. Give me the path to where the file is and I'll grab it for you from my wife's non rooted phone.
---------- Post added at 04:17 PM ---------- Previous post was at 04:00 PM ----------
Pm sent with the file from my rooted phone that has working permissions... good luck!
Click to expand...
Click to collapse
You're a life saver! The platform.xml file it located in /system/etc/permissions . As I said, I really hope this is all I need to get back to normal...
morockin said:
You're a life saver! The platform.xml file it located in /system/etc/permissions . As I said, I really hope this is all I need to get back to normal...
Click to expand...
Click to collapse
Thanks again for the file, however it does not seem to have done the trick. As far as I can tell, something is happening where the mapping is incorrect for my internal and external SD. I can still access the files for the internal SD through /data/media/0 and the external SD through the media_rw directory, but the "normal" mappings lead to an empty folder. This is a real problem because most of my apps can't run without access to these folders (I have about 6 apps continously FC'ing when I boot up the phone). What do I do?!?!
morockin said:
Thanks again for the file, however it does not seem to have done the trick. As far as I can tell, something is happening where the mapping is incorrect for my internal and external SD. I can still access the files for the internal SD through /data/media/0 and the external SD through the media_rw directory, but the "normal" mappings lead to an empty folder. This is a real problem because most of my apps can't run without access to these folders (I have about 6 apps continously FC'ing when I boot up the phone). What do I do?!?!
Click to expand...
Click to collapse
I had the same issue. First try a factory reset. If that does not work, then you will need to downgrade, with a factory reset. Just resetting the platform.xml file doesn't work without a factory reset, neither does a factory reset without resetting the platform.xml file. Once you screw up the permissions, then your phone is screwed pretty good. I have a guide in the general section.
shortydoggg said:
I had the same issue. First try a factory reset. If that does not work, then you will need to downgrade, with a factory reset. Just resetting the platform.xml file doesn't work without a factory reset, neither does a factory reset without resetting the platform.xml file. Once you screw up the permissions, then your phone is screwed pretty good. I have a guide in the general section.
Click to expand...
Click to collapse
Could you please direct me to it? I have f'ed my phone in a similar manner and would really like to be able to use it again.
Superfish1000 said:
Could you please direct me to it? I have f'ed my phone in a similar manner and would really like to be able to use it again.
Click to expand...
Click to collapse
Here
http://forum.xda-developers.com/showthread.php?t=2785185

fbind

GitHub - VR-25/fbind: A versatile Android mounting utility for folders, EXT4 images, LUKS/LUKS2 encrypted volumes, regular partitions and more.
A versatile Android mounting utility for folders, EXT4 images, LUKS/LUKS2 encrypted volumes, regular partitions and more. - GitHub - VR-25/fbind: A versatile Android mounting utility for folders, E...
github.com
Reserved
Archive
Sweet, so this one will start binding automatically on reboot huh? Gonna try.
UPDATE:
Doesn't work mate, i tried "$bind $extsd/mangabird $intsd/mangabird", but it says "/mangabird: not found". The log said "sdcard not found".
For me to no working. Log says all ok. But when i copy some to internal Download, i dont see this file in external Download.
$bind $extsd/.fbind/Download $intsd/Download
Lig:
>>> FOLDER BINDER DEBUG LOG > Thu Jun 15 01:51:22 CEST 2017
Configuration updated. Reboot to apply changes. > Thu Jun 15 01:51:22 CEST 2017
I reboot twice.
khnoizer said:
Sweet, so this one will start binding automatically on reboot huh? Gonna try.
UPDATE:
Doesn't work mate, i tried "$bind $extsd/mangabird $intsd/mangabird", but it says "/mangabird: not found". The log said "sdcard not found".
Click to expand...
Click to collapse
Ok, your issue is simple, mate. If the log says, "SD card not found! Aborting..." try a higher number of seconds. That means your device just takes a little bit longer to mount the external SD card. I've added several zips, each with a different number of seconds to the Downloads page. Try the 15 seconds variant. As you may have noticed, the sooner the bind is performed, the better. I'm currently working on a way to automate that and have only one variant for all devices, regardless of mounting time.
koko115 said:
For me to no working. Log says all ok. But when i copy some to internal Download, i dont see this file in external Download.
$bind $extsd/.fbind/Download $intsd/Download
Log:
>>> FOLDER BINDER DEBUG LOG > Thu Jun 15 01:51:22 CEST 2017
Configuration updated. Reboot to apply changes. > Thu Jun 15 01:51:22 CEST 2017
I reboot twice.
Click to expand...
Click to collapse
Hmm... have you created the target folders manually in the external SD card? @khnoizer, see here? In his case, the SD card is mounted within the 10 seconds mark. Thanks both of you for the reports.
Yes. I created folder Download in extcard.
koko115 said:
Yes. I created folder Diwnload i extcard.
Click to expand...
Click to collapse
Just to be sure...
Code:
$bind $extsd/.fbind/Download $intsd/Download
means you must have the following:
Download folder in your internal SD card
.fbind folder (yes, with the dot) in your external SD card with a Download folder inside of it
is that your setup?
I got permission denied or write error when saving my edited fbind_list.txt on various text editor. Any suggestions?
khnoizer said:
I got permission denied or write error when saving my edited fbind_list.txt on various text editor. Any suggestions?
Click to expand...
Click to collapse
You can copy the file to another location, edit it, then replace the old one. Alternatively, running chmod 777 /data/media/0/fbind_list.txt in a terminal emulator before edition the file should also help. The next version will fix fbind_list.txt permissions automatically upon installation.
Edit: @khnoizer, I use QuickEdit. It asks for root permission in your case to work properly.
Edit 2: sorry, the link is fixed now.
Sorry for a silly question but does this basically do the same as foldermount?
p50kombi said:
Sorry for a silly question but does this basically do the same as foldermount?
Click to expand...
Click to collapse
Yes, but unlike FolderMount, it saves your settings and runs on boot.
@op can you tell me if I bind my download folder(size 5gb) then my internal memory in storage settings will show less then 5gb size or stroage setting still include 5gb in total used memory?
The new version are great, thank you. However, when I tried to bind my android/obb folder, it does got mounted at data/media/0/android/obb, but It's empty at mnt/storage/emulated/0/android/obb. And when I tried to play some games they asked me to download their obb files.
khnoizer said:
The new version are great, thank you. However, when I tried to bind my android/obb folder, it does got mounted at data/media/0/android/obb, but It's empty at mnt/storage/emulated/0/android/obb. And when I tried to play some games they asked me to download their obb files.
Click to expand...
Click to collapse
Here's what you need to do to bind OBB:
1. Install the OBB fix update
2. You don't need to copy your setup to the newer fbind_list.txt this time. Just delete that file and rename your previous_fbind_list.txt back to fbind_list.txt (there are no changes in the template. I just forgot to disable the auto backup/renaming)
3. Add the following lines to fbind_list.txt:
Code:
$bind $extd/Android/obb/YourAppOrGameOBBFolder $obb/YourAppOrGameOBBFolder
$bind $extd/Android/obb/YourAppOrGameOBBFolder $intsd/Android/obb/YourAppOrGameOBBFolder
Or, if you want to bind the entire OBB folder, the following lines are already present in the template (fbind_list.txt) by default:
Code:
$bind $extd/Android/obb $obb
$bind $extd/Android/obb $intsd/Android/obb
4. Reboot
That's a lot of text, I know. Everything will be much simpler in the next version. Stay tuned!
vikasb32 said:
@op can you tell me if I bind my download folder(size 5gb) then my internal memory in storage settings will show less then 5gb size or storage setting still include 5gb in total used memory?
Click to expand...
Click to collapse
That's still an ongoing issue, unfortunately. However, it has nothing to do with the module. Rather, that's a system problem, since other apps don't misreport storage space. I'll look for a workaround.
Edit: I forgot to say that you mentioned the wrong person. "op" shouldn't be there!
VR25 said:
Add this line to fbind_list.txt:
Or, if you want to bind the entire OBB folder, add this one instead:
Click to expand...
Click to collapse
Thank you for the help
i tried your fix, for pairing entire obb, internal pairs to extsd but /sdcard/Android/obb appears to have vanished but I believe it is there because trying to re-create directory results in an error. if I start up a game however, it aplears to be aware of the game data existence but the game freezes. strange?
let me know is you need any specific files, perhaps fstab?
cantenna said:
Thank you for the help
i tried your fix, for pairing entire obb, internal pairs to extsd but /sdcard/Android/obb appears to have vanished but I believe it is there because trying to re-create directory results in an error. if I start up a game however, it aplears to be aware of the game data existence but the game freezes. strange?
let me know is you need any specific files, perhaps fstab?
Click to expand...
Click to collapse
I PM'ed you. Check post #15 for more info. Should I need fstab, I'll ask here. Thanks for the report!
VR25 said:
That's still an ongoing issue, unfortunately. However, it has nothing to do with the module. Rather, that's a system problem, since other apps don't misreport storage space. I'll look for a workaround.
Edit: I forgot to say that you mentioned the wrong person. "op" shouldn't be there!
Click to expand...
Click to collapse
Can you tell me any app which show me my exact free space of internal memory not including bind folders?
vikasb32 said:
Can you tell me any app which show me my exact free space of internal memory not including bind folders?
Click to expand...
Click to collapse
X-plore File Manager

Please help i’ve tried everything else

Hello is there any ethical hacker out there or at least one who could help me with my current situation. I own a Nokia 8 which I bought last year. My error is that I immediately placed the sd card of my old phone samsung j7 to the newly purchased phone not knowing it has a virus, I noticed my old phone doing crazy things when I factory reset it. Since it is rooted, the virus seemed to have taken hold of all system apps and has been updating itself and i recently noticed something fishy with my nokia 8, I tried chatting with support before but they just dismissed it. What I did exactly was to delete the folders that keep reproducing on the files folder of my nokia 8 it contained about 6 gb before and as I kept deleting it, I noticed that all my Photos 40 GB to be exact became 23gb and as i kept deleting the 1 kb files in the file folder I also deleted a DCIM folder but I think it was not thre DCIM for pictures since it was placed in unknown folders. I tried all kinds of recovery even windows based but it seems like there was nothing deleted as it would have been scanned, and it keeps saying that I need to root it. I don’t want to root it because I might give unlimited power to the hacker or to whatever virus is doing this. Please I need help desperately thanks. All my Photos and files were deleted.
So, you have described your problem. But you did not tell nothin about what exactly you want to someone helped you with. What kind of help you are expect from the community? To repare your data? Or to kill the virus? Or maybe to cure the phone? The best way in your situation is Factory reset for phone (without SD-card) and formatting the SD-card by any tool or even Windows formatting function. If the data is need to be repared try to format the card firstly, than scan it by the R-studio or similar software for search deleted files. Most of the tools of this kind have an options to scan for the concret data like the photos, music etc. Use this option to find all kinds of images and repare it to your hard drive. As I understood from your post you have the PC virus lives at your card? Or it is Android malware? Its very difficult to help you remotely. Nobody knows what exactly happened with your card and with your phone. If the data is not very imortant for you just format the card and the phone (reset it to factory defaults) and scan your PC for viruses for more sureness.
---------- Post added at 00:20 ---------- Previous post was at 00:08 ----------
The advice I gave you is general in nature and is not required to be executed exactly. Better find among your friends or colleagues someone who understands computers and ask him to help you understand your situation. It will be most right to do.
---------- Post added at 00:31 ---------- Previous post was at 00:20 ----------
Use the Card-reader for formatting and scan of you SD-card. Dont do described things through the phone+USB cable. Card-reader only!
kosmatyj said:
So, you have described your problem. But you did not tell nothin about what exactly you want to someone helped you with. What kind of help you are expect from the community? To repare your data? Or to kill the virus? Or maybe to cure the phone? The best way in your situation is Factory reset for phone (without SD-card) and formatting the SD-card by any tool or even Windows formatting function. If the data is need to be repared try to format the card firstly, than scan it by the R-studio or similar software for search deleted files. Most of the tools of this kind have an options to scan for the concret data like the photos, music etc. Use this option to find all kinds of images and repare it to your hard drive. As I understood from your post you have the PC virus lives at your card? Or it is Android malware? Its very difficult to help you remotely. Nobody knows what exactly happened with your card and with your phone. If the data is not very imortant for you just format the card and the phone (reset it to factory defaults) and scan your PC for viruses for more sureness.
---------- Post added at 00:20 ---------- Previous post was at 00:08 ----------
The advice I gave you is general in nature and is not required to be executed exactly. Better find among your friends or colleagues someone who understands computers and ask him to help you understand your situation. It will be most right to do.
---------- Post added at 00:31 ---------- Previous post was at 00:20 ----------
Use the Card-reader for formatting and scan of you SD-card. Dont do described things through the phone+USB cable. Card-reader only!
Click to expand...
Click to collapse
I removed my sd card. All my photos, videos and files are in the phone memory. I want to recover at least all the photos and videos. I have not deleted them I only deleted the files in the files folder. I’m still unsure of what happened either there as a virus or my phone was hacked since it was tampered with. I guess people were interested in deleting my recordings and photos or proof
You completely confused me. Put your card into card-reader and copy all data to PC. Then scan the card for deleted files without filter. Recover all of them to hard drive then sort recovered files which are needed and which are not. Then format the card by any formatting tool. Copy all important data from your phone to PC to safe place and do factory reset on the phone. It will destroy all data including the possible virus or whatever it was. Do not store the important data on the mobile. Do not forget to remove google account before doing factory reset, because the first start after the reset will tell that the phone is locked to account and will ask to enter login/password. If the account will be romoved before the reset you`ll be proposed to setup the mobile as a new one - like you just bought it. That`s all I can to advice to you.
I’m sorry, i meant to say. That my photos and videos are in the phone memory not in the sd card. What I think the virus did is to hide all my photos. My lock screen images, gboard images, and wallpaper is still there which means the photos were not deleted.
As I said - use the card-reader to explore the files on your card. Enable "Show hidden files" in Explorer to see all of data of the card. You will be able to copy files to PC even if the status is "hidden". Then uncheck attribute hidden in fole properties on eache file. Then format your card as mentioned above.
You can do the same except the formatting with the phone memory. I mean copy important files from phone to PC and "unhide" them.
Make the batch file with .cmd extention with this text:
attrib -S -H /D /S
Save it to folder containing your hidden files and execute it. It will unhide all the files in folder and you will see them in Explorer
---------- Post added at 16:17 ---------- Previous post was at 16:04 ----------
It`s probably your PC is contaminated by virus that makes your files hidden, so scan it by antivirus with latest bases.
My photos are in the phone memory.
vaericke said:
My photos are in the phone memory.
Click to expand...
Click to collapse
Ok. Yor photos in the phone memory. So what is your problem? I don`t understand. What help you need with? What you want to do? 3 days you cant to tell what is your problem and what help you ask. Nobody will help you till you formulate a concrete question.
kosmatyj said:
Ok. Yor photos in the phone memory. So what is your problem? I don`t understand. What help you need with? What you want to do? 3 days you cant to tell what is your problem and what help you ask. Nobody will help you till you formulate a concrete question.
Click to expand...
Click to collapse
The problem is that the virus/hijacker has manged to hide it all. It shows as blank. All of my files even my music, only apps are working , but not doing their part. I checked with Sophos Security ( antivirus installed) that most of stock and even pre-installed apps have been modified like for example google play services : other permissions
-android.permission.USE_CREDENTIALS - no description
-android.permission.MANAGE_ACCOUNTS - no desription
-android.permission.READ_PRIVILEGED_PHONE_STATE - nod description
android.permission.ALLOCATE_AGGRESSIVE - no description
android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS -no description
I have about 30 other permissions which are bothersome.
vaericke said:
The problem is that the virus/hijacker has manged to hide it all. It shows as blank. All of my files even my music, only apps are working , but not doing their part. I checked with Sophos Security ( antivirus installed) that most of stock and even pre-installed apps have been modified like for example google play services : other permissions
-android.permission.USE_CREDENTIALS - no description
-android.permission.MANAGE_ACCOUNTS - no desription
-android.permission.READ_PRIVILEGED_PHONE_STATE - nod description
android.permission.ALLOCATE_AGGRESSIVE - no description
android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS -no description
I have about 30 other permissions which are bothersome.
Click to expand...
Click to collapse
Ok. I said above that you can explore your files via USB cable from PC, if there no files are visible, so you can to try to enable show hidden files in options of folder: Control Panel->Explorer parameters (it may be another name in English, I`m Russian and use a Russian locale in Windows)->View-> in the end of list see check-box "Show hidden files, folders and disks". Now you must be able to see hidden files in phone memory. Copy all of them to you PC and do the script as mentioned above. put it to folder with the hidden files and run it. It will unhide all files in the folder. You can do th same with the files from SD card. Now your data is OK. After all procedures you can format the card and reset your mobile to factory reset - it will delete all possible virus or whatever it was and your phone will work well as it must to. SD card wil be clear after formatting and apps will save and use their data properly. Use it as usual. Keep your data on PC - this is much more safe then mobile.
upd.
Run Notepad copy this text
attrib -S -H /D /S
paste it to Notepad, save the file unhide.cmd, for example - it is simple Windows command line script that cleans files attributes like "hidden" "system" or "read only".
kosmatyj said:
Ok. I said above that you can explore your files via USB cable from PC, if there no files are visible, so you can to try to enable show hidden files in options of folder: Control Panel->Explorer parameters (it may be another name in English, I`m Russian and use a Russian locale in Windows)->View-> in the end of list see check-box "Show hidden files, folders and disks". Now you must be able to see hidden files in phone memory. Copy all of them to you PC and do the script as mentioned above. put it to folder with the hidden files and run it. It will unhide all files in the folder. You can do th same with the files from SD card. Now your data is OK. After all procedures you can format the card and reset your mobile to factory reset - it will delete all possible virus or whatever it was and your phone will work well as it must to. SD card wil be clear after formatting and apps will save and use their data properly. Use it as usual. Keep your data on PC - this is much more safe then mobile.
upd.
Run Notepad copy this text
attrib -S -H /D /S
paste it to Notepad, save the file unhide.cmd, for example - it is simple Windows command line script that cleans files attributes like "hidden" "system" or "read only".
Click to expand...
Click to collapse
Okay I will try it tomorrow I just read your post. Thanks I will update the result. By the way do I need to enable usb debugging?
No, you don`t. Connect as a storage "MTP". Good luck.
kosmatyj said:
No, you don`t. Connect as a storage "MTP". Good luck.
Click to expand...
Click to collapse
Oh. I don’t know what happened. Malwarebytes says the ransomware protection was turned off and I have the old virus I had before, I don’t know if the virus I have was the one from the Phone, which seems to be cross-platform already. Is it okay to do the show hidden files or should I format my computer first. This is so frustrating.
What is Malwarebyte? Do "Show hiddin files". You need to backup your media, right? Do it. Media files does not victim for viruses. They are probably clean. Anyway copy files if it possible.

Categories

Resources