[Q] market force closes -media folder - HTC Inspire 4G

Hello all.
Here is my question:
Do any of you have the specific data directories for the android.process.media folder?
I think I might have unintentionally deleted the directory and now my market force closes during each attempt at downloading something.
I did make a backup, however not all that much recently and I would much rather prefer not to return and go through deleting all my useless apps and directories all over again.
Thanks.

Related

[Q] Clearing data in /data/data for uninstalled apps

I was looking through my /data/data folder and saw some fairly large files pertaining to a game I uninstalled months ago. Does anyone know of an app, or method, to get rid of this data?
"Manage applications" can clear the data, but since these apps aren't installed it doesn't know what their data is. I would think there would be a way to go through each installed app and make a list of their data files, then remove all other files not on that list.
Thanks for any guidance!

[Q] 2.3.6 Bloatware

I'm trying to remove some of the bloatware from my rooted OTA GB 2.3.6. I'm using Root Explorer and deleting select apk's and their odex file from the system/app directory. However there is one app called Rhapsody that I haven't got all the pieces, because the Rhapsody process keeps showing up in my running services list after I reboot. Both the apk and the odex file have been deleted. Anyone know what other file(s) I missed that are connected with Rhapsody?
Also, there is this rather annoying "media scanner" that runs every time that I boot my phone. Is this a must have, or can I delete it? It adds to my boot time, and if it doesn't have to be there, I want to get rid of it. And if I can delete it, what is the name of the app?
Lexus One said:
I'm trying to remove some of the bloatware from my rooted OTA GB 2.3.6. I'm using Root Explorer and deleting select apk's and their odex file from the system/app directory. However there is one app called Rhapsody that I haven't got all the pieces, because the Rhapsody process keeps showing up in my running services list after I reboot. Both the apk and the odex file have been deleted. Anyone know what other file(s) I missed that are connected with Rhapsody?
Also, there is this rather annoying "media scanner" that runs every time that I boot my phone. Is this a must have, or can I delete it? It adds to my boot time, and if it doesn't have to be there, I want to get rid of it. And if I can delete it, what is the name of the app?
Click to expand...
Click to collapse
in root explorer you must delete the apk from /system/app and the associated data folder in /data/data then do a search of the whole system for 'rhapsody' as there might be little fragments left in dbdata or dalvikcache folders just delete anything with rhapsody in the name... as for the media scanning, there is a work around for this which I believe is putting a file named '.nomedia' in whatever folder you want excluded from the scan (music or pictures for instance), if you want no scanning at all put on root of SD card and that should stop it however this means you will have manually search/scan for anything you're looking for because that file will tell all apps trying to access what you're blocking that there's nothing there
blazing through on my Acer A500 via XDA app
The Media Scanner feeds Gallery and possibly the default music player. I don't think it is something you can get rid of, but I could be wrong.
There is an app called Super Manager that makes it very easy to mark folders as "noscan". I use it so all of my ebooks don't show up in the gallery.
I didn't know about the additional related app files being in the data/data. What might be the repercussions if I miss cleaning up all of them? Do they just take up memory space, or are they being executed by the system, even if the apk and odex files are gone?
As for the media scanner...I take it this is a critical system function? Is it an indexer? If the ONLY way around it is the ".nomedia" trick...and there are obvious disadvantages to using this method, then perhaps it is just best to put up with the extra boot time.
UPDATE: Just ran "Rescan Media Root" from the Market. It stops the media scan from occurring. And you can re-enable it at any time by running this app.
I also got Rhapsody stopped by searching and deleting the rest of the associated files. Thanks for the help guys!
I'm a little late here, but Rescan Media works fine to stop the scanner, and Titanium Backup has a "Chuck Norris" mode of killing bloatware.
Sent from my SCH-I510 using xda premium
Rescan media Root is what I use
Sent from my SCH-I510 using XDA App

[Q] Hiding media from gallery or music ("nomedia" trick not working)

Hi all
I've installed some apps which have their folder on the sdcard with various images, sprites, sounds (one of these is a satnav app).
The problem is, these appear and clutter my gallery and music apps. I use both apps from motorola and not their google counterpart.
I already put a .nomedia file in the folders, rebooted the phone, cleared data on those apps, deleted thumbnail caches on the sdcard, and it doesn't work. They still show up.
So how can I do?
Thank you in advance
I've partially solved my problem with a media re-scan, triggered by renaming a folder containing media files (and then renaming it back)
The problem is that, if files into that folder change, because any app (or I) copies new stuff into them, all the hidden files pop up again in the gallery/media.
I wonder if it's an Android bug or a Motorola bug...
I've had the same problem and I solved it by placing .nomedia files in the unwanted folders and then force a media rescan with the app "Rescan Media" eek from the market
https://market.android.com/details?id=com.addz.mediascanner
or using quickpix to create that file
manojsuper said:
you have to create a new file called ".nomedia" not a folder >.>
Click to expand...
Click to collapse
Where did I say that?
I tried media scanner but it doesn't work. (fyi i'm not rooted)
When I move music around (ie from the download folderr to the music folder) it gets duplicated in the music app, both motorola's and google's. Once i unmount and remount the sd card it sorts the problem on itself.
Same thing when I move images, the thumbnails get duplicated and only one of the two loads correctly, but I can't get them to disappear unless i delete my gallery's data, and then i lose all the video thumbnails. My gallery is now full of old thumbnails, gray "unknown" thumbnails, and thumbnails that don't load.
thenext1 said:
I tried media scanner but it doesn't work. (fyi i'm not rooted)
Click to expand...
Click to collapse
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Preggy said:
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Click to expand...
Click to collapse
The problem is that, even if I put nomedia files everywhere needed, when I move files in/out of these dirs, they all pop up in Gallery/Music, including those that were previously hidden. And to solve this (talking only of Gallery now) I have to clear its app data. It would be just easier to hide the "all images" section of Gallery...
I miss the good ol android 2.1 times where you could fiddle with everything with any app without worrying for refreshes, etc...
Give ".no_media" a try?
cogeary said:
Give ".no_media" a try?
Click to expand...
Click to collapse
I never heard of such a magic file name...
thenext1 said:
I never heard of such a magic file name...
Click to expand...
Click to collapse
Neither have I, but ROM Toolbox uses it when it puts previews of boot animations onto my SDCard and the gallery doesn't pick them up.
Just use QuickPic from the market, if it's available to you. I've been using it for quite some time, install that and freeze the gallery app. Ability to hide certain folders is built right in.
+1 to the QuickPic app...the stock Gallery SUCKS!!! I hide all the folders I do not want to be scanned and now I have a clean photo library. I also use PowerAmp for music since I hide my music folder so that I don't see album art and PowerAmp allows you to select folders to scan (regardless if there is a .nodedia file or not) instead of scanning everything. I believe Winamp will do the same thing, not sure.

|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

APK s keep getting removed

Hi. Just got the P30 and all is good and fine until I noticed it is constantly deleting the APK files I move to its internal storage. Every time I copy at a certain time they get deleted. I can see several folders getting updated at the same time but I cannot figure out why it does that. I thought there is something wrong with the files, but they seem ok. I can install any app and it remains on my phone. Does anyone know why it is doing this?
viorel.zavoianu said:
Hi. Just got the P30 and all is good and fine until I noticed it is constantly deleting the APK files I move to its internal storage. Every time I copy at a certain time they get deleted. I can see several folders getting updated at the same time but I cannot figure out why it does that. I thought there is something wrong with the files, but they seem ok. I can install any app and it remains on my phone. Does anyone know why it is doing this?
Click to expand...
Click to collapse
You should probably check in the app Optimiser > Settings > Auto-clean junk files
Thanks @ykkhern. It looks like it was the online virus scan in optimizer that deleted. Good to know

Categories

Resources