Market has disappeared - Android Software/Hacking General [Developers Only]

I'm using Cyanogenmod 5.0.7.1 on my Nexus One. Recently, it's been going through some random reboots, mostly while i'm on Pandora (music streaming app), but that's another matter probably. I don't think it's related, but after the last reboot, i noticed that the home screen icon where I usually have my Market app was a generic icon without a label. I should have tried to open it, but I trashed it instead.
I went into the apps menu to find the real market app to create another shortcut. It wasn't there. Application Manager (Settings -> Applications -> Manage; Filter:ALL) didn't show Market app, but did show "com.android.vending". Details window for that entry showed Application size of 0.00, with Data 108KB and Cache 1.79MB. So it appears Market app somehow got un-installled or deleted.
I hooked the device up to my computer, and `adb shell`ed to poke around. The directory listing for /system/app/ showed a "Vending.apk", so I copied it over to /sdcard, and tried to install from SD, but that didn't work, presumably because the installation it would overwrite is in /system/.
Has anyone experienced anything similar? I have no idea how the Market application disappeared. Is there a way to restore it without having to re-flash the the ROM?
Please help!

Market disappeared -- Resolved
To answer my own question, and for anyone who's interested, I followed the instructions at the CyanogenMod Wiki (wiki.cyanogenmod.com/index.php/Troubleshooting#Market_Broken), and it's working fine now.

Related

How to assign default application for file types?

I'm having an issue with avi video files not having a default player anymore. I know that the actual default player cannot play them, and I do have other programs for it. Unfortunately though, I cannot seem to figure out how to change the default program used for a specific file type.
Searching the internet keeps coming up with going into Manage Applications then clearing defaults of something that currently is the default, but that option is always ALWAYS greyed out (I went one by one for everything in there). Regardless, I did find a program on the Market called "ClearDefault" that basically clears all defaults for programs, but it did not help.
Also, the problem is not that something else already is the default. The problem is that NOTHING is the default for it right now (something happened to change this but I can't figure out what).
There must be a file somewhere inside the phone that decides this. If it isn't accessible inside the phone, then I'm looking for how to do it manually via my PC, terminal, or adb.
This is something I want to learn for future reference as well as the current problem at hand.
Hopefully we can come together and figure this out.
EDIT:
I forgot to mention that attempting to open the file via Astro or the browser's downloader just comes up with an error. I can obviously open the file/s via the player's file selection browser, but I cannot figure out how to make it open said player upon download or clicking.
kbone213 said:
I'm having an issue with avi video files not having a default player anymore. I know that the actual default player cannot play them, and I do have other programs for it. Unfortunately though, I cannot seem to figure out how to change the default program used for a specific file type.
Searching the internet keeps coming up with going into Manage Applications then clearing defaults of something that currently is the default, but that option is always ALWAYS greyed out (I went one by one for everything in there). Regardless, I did find a program on the Market called "ClearDefault" that basically clears all defaults for programs, but it did not help.
Also, the problem is not that something else already is the default. The problem is that NOTHING is the default for it right now (something happened to change this but I can't figure out what).
There must be a file somewhere inside the phone that decides this. If it isn't accessible inside the phone, then I'm looking for how to do it manually via my PC, terminal, or adb.
This is something I want to learn for future reference as well as the current problem at hand.
Hopefully we can come together and figure this out.
EDIT:
I forgot to mention that attempting to open the file via Astro or the browser's downloader just comes up with an error. I can obviously open the file/s via the player's file selection browser, but I cannot figure out how to make it open said player upon download or clicking.
Click to expand...
Click to collapse
Long press in astro
select open as
select video
select default ceckbox
select program desired
finished
Thanks a lot for the response. I'm glad someone finally came to the rescue. Unfortunately, I tried that already (and forgot to mention it). It just opens the default HTC player which cannot play avi files. Although, I did try it again just to be safe.
kbone213 said:
Thanks a lot for the response. I'm glad someone finally came to the rescue. Unfortunately, I tried that already (and forgot to mention it). It just opens the default HTC player which cannot play avi files. Although, I did try it again just to be safe.
Click to expand...
Click to collapse
Damn. I'd try installing again. Or you could dive off the deep and and convert all of them to h264 lol
Oh come on, no one on xda-developers (hackers united) can figure this out? I'm having the exact same problem! Except I have the issue with both music and videos.
Tapping an .mp3 in astro opens up the default Music player, and if I go into astro settings and remove 'audio' from the MIME type for .mp3s and long-press the file > open as > audio it still plays with the default Music app. Going into home > settings > applications > manage applications > music does no good because there are no defaults set, the button is grayed out!
And I have the problem with videos too, except in settings > applications > manage applications, there is no option for 'Dell Video Player' (I have a Dell Streak) or even 'Video Player', it's not even in the list!
If any android genius out there can figure this out I'd really appreciate it.

[Q] Monopoly images showing up in gallery, how to remove?

Does anyone here play the Monopoly game by EA? In my device, all of the game assets show up in the gallery and there are a lot of them.
I have gone through putting '.nomedia' files in them, rebooting, cache clearing, force stopping the gallery but nothing works.
Any help will be very much appreciated.
PS Similar thread in the Galaxy Tab area yielded no luck.
You're .nomedia file has a "." at the front?
yup '.nomedia' copied it from the copilot folder whose files do not show up in the gallery so im sure it is the correct system file, zero bytes
clear "media manager" cache after putting .nomedia inside "games" folder, then reboot, it won't work otherwise (i think it's a bug in the media manager)
is Media Manager the same as Media Storage? I dont seem to have Media Manager in my application list
yes sorry i did it few days ago (i had gallery spammed from monopoly too) and didnt remember the name correctly
Thanks Christian Troy, everything seems to be in order now, although on the first reboot nothing but web albums were showing up, now it looks pretty fine, I'll just have to remember to clear the media storage if it happens on another installation. XDA OWNS!
yes because you have to wait till the end of the scan (which can take some time if you have a lot of folders of image / video / music)
that thing made me go crazy... i fixed it the first time clearing all the cache, but few days ago i tried that way and worked

Bloatware Removal

I finally Rooted my Sidekick and have Titanium Backup Free installed. I want to remove the bloatware from the Phone Storage. Which titles would you recommend removing and which to leave alone??
Any suggestions
I removed a lot of apps. I removed device carbon, zipwhip, group text, cloud text, tmobile contacts backup, twitter, myspace, the stock browser, gmail, wifi calling, telenav, tmobile app pack, tmobile mall, maybe some others i cant remember. i replaced the stock browser with dolphin mini which i use for only mobile browsing. i also have opera mobile which i use for desktop browsing. i use google maps for navigation. i downloaded gmail from the market. seems the preloaded version may be faulty but the market version works fine. i used an app from the market called apps2rom to convert gmail, dolphin, opera, and a few other user apps to system apps. seems to work good so far.
sidekick_fanatic said:
I removed a lot of apps. I removed device carbon, zipwhip, group text, cloud text, tmobile contacts backup, twitter, myspace, the stock browser, gmail, wifi calling, telenav, tmobile app pack, tmobile mall, maybe some others i cant remember. i replaced the stock browser with dolphin mini which i use for only mobile browsing. i also have opera mobile which i use for desktop browsing. i use google maps for navigation. i downloaded gmail from the market. seems the preloaded version may be faulty but the market version works fine. i used an app from the market called apps2rom to convert gmail, dolphin, opera, and a few other user apps to system apps. seems to work good so far.
Click to expand...
Click to collapse
out of curiosity, how exactly did u remove those apps? adb remove?
no. i use an app called total commander. you wont find it in the market yet, so just google total commander for android or visit ghisler.com. when you open total commander in landscape mode, you should see a button with a green plus sign. if you dont see that, switch to portrait mode and hit the botton with the two green arrows. then you should see the green plus sign. when you hit the green plus sign, a window will pop up that says add/edit button. at the top of the window it will say change directory. click that and change it to internal command. then click where it says command and select 119 remount. this will only work with root access. click ok/apply. you will now have a button with an r on it. go into any partition and click the r button and it will remount as r/w. when mounted as r/w, the button will also display r/w. click the button again and it will remount as r/o. go into system/app and remount as r/w and you can delete any system app. when im done i usually remount as read only again just to be safe. you probably already know this, but you have to allow total commander su permissions for this to work. but thats how i do it.
You can also use root browser by jrummy 16 he allows u to have the full verison for free
Sent from my SGH-T839 using XDA App
The easiest way to uninstall "uninstallable"/preloaded apps is with TiBu...
Sent from my SGH-T839 using XDA App
there are several good ways to remove system apps. any file browser with root functions will do the job. i like total commander because it has two windows, you can copy from one window and paste in the other, i like the interface, and i like the way it displays folders. it is also free, and it is the "full version". its an app thats currently in development. right now release candidate 4 is the current version. i dont know when the official version comes out, but i know it will be in the market. also dont know if it will be paid or free, but i think free. right now its free, if it becomes paid, i will have to find another root browser that i like. but i hope it stays free. i doubt i will like any other browser as much as i like total commander.
i also have converted several user apps to system using an app called apps2rom. its available in the market for free if anyone is interested. its very straightforward. select the apps you want to convert, click move, allow the device to reboot, and voila! its done.
Titanium Backup Free also allows for free app block/removal (and this is for a *rooted* Sidekick 4G). (and it is what I have installed )
Just get a custom rom like glorious overdose..it will save you the trouble of going through each unnecessary app and deleting it..a good rom like that is already fast and lightweight..
Sent from my SGH-T839 using Tapatalk
some people want to stay on the stock firmware, myself being one of them. removing bloatware really isnt that troublesome. if you spend a little time figuring out how to do it, it really takes no time at all. removing bloatware takes most of the bugs out of the stock firmware anyway (now is the part when people start screaming about touchwiz being the main problem, but it works fine for me). not everyone needs a custom rom though.
I finally tried to block an app but found out that feature is only in the PAID (aka DONATION) version of Titanium Backup. Cheapskate that I am, I went to your "Total Commander for Android" (1.0 rc4) and downloaded it. Any suggestions on how to use it?
sidekick_fanatic said:
no. i use an app called total commander. you wont find it in the market yet, so just google total commander for android or visit ghisler.com. when you open total commander in landscape mode, you should see a button with a green plus sign. if you dont see that, switch to portrait mode and hit the botton with the two green arrows. then you should see the green plus sign. when you hit the green plus sign, a window will pop up that says add/edit button. at the top of the window it will say change directory. click that and change it to internal command. then click where it says command and select 119 remount. this will only work with root access. click ok/apply. you will now have a button with an r on it. go into any partition and click the r button and it will remount as r/w. when mounted as r/w, the button will also display r/w. click the button again and it will remount as r/o. go into system/app and remount as r/w and you can delete any system app. when im done i usually remount as read only again just to be safe. you probably already know this, but you have to allow total commander su permissions for this to work. but thats how i do it.
Click to expand...
Click to collapse
these are all the instructions you need to delete apps i cant explain it any better
I guess I am not sure where to LOOK for the system files. not sure which folders have the files in them (no clue about how Android sets up their stuff in the root directory) but I saw the R & the icons mentioned, etc.
open total commander. click file system root. scroll down, click system. then click app. then remount, delete the apps you want, then remount back to read only. if you are not sure what an app is or does, google it. thats how i figured certain things out. i dont remember what any of them are, i only looked them up and deleted them. i also suggest if you have cwm recovery that you boot into it after deleting system apps and run fix permissions. to do that, boot into cwm, scroll down and select advanced, then select fix permissions. you dont have to do it after you delete every system app, just delete a bunch and then do it. android stores permissions for every app, and i theorize that deleting system apps causes permissions errors similar to registry errors in windows. fix permissions takes care of that.
re-reading stuff now. Where to I move them to? I am thinking of making a new folder in my SD card and moving stuff there. I can then upload the stuff to my SugarSync account for permanent storage.
I removed the default Contacts APP. the "CONTACTS" word disappeared for the home screen. I used Go Contacts Pro. if I move that app into the system folder, will the "CONTACTS" Shortcut come back?
Also getting constant "android.process.acore has stopped unexpectedly" Force Close error again and again. How do I fix this?
also, where do I find "cwm recovery"??
i looked here and don't see anything:
https://market.android.com/search?q=cwm+recovery&c=apps
AND
https://market.android.com/developer?pub=ClockworkMod&start=0&num=12
I tried this 1:
https://market.android.com/details?id=com.stericson.permissionfix
But it didn't seem to do anything. Still getting the "acore" Force Close error
after a bit more research on the error, it looks like Facebook & Contacts are the main culprits. i will attempt re installing them back into the system app folder.

Can't open downloads from Chrome or see them in the Files app

Hello all this is my first post so forgive me if I make any mistakes. I have a Pixel 3 that was updated to Android 10 a couple of days ago. It worked just fine, but I wanted to make the phone more "fresh" so I factory reset it. Everything worked fine until I tried installing some APKS. Even though Chrome has permission to install files from unknown sources, every time I click on the file in Downloads on Chrome it says: "Can't open file." I tried multiple apks and the same thing happened. I also tried PDFs to see if it is a bigger problem and it is. I can't open them either. I also tried downloading photos and they won't show up either in the Photos app where they would be normally. It seems like nothing can be opened. In the native Google Files app nothing appears under downloads. I tried "show system" and digging through folders and there is nothing. I tried unistalling Chrome updates and reinstalling, clearing cache, clearing storage, cycling the phone on and off to no avail. I'm truly at a lost here. It seems like something got broken during the factory reset, but everything else is fine. Thank you.
Sorry but that is because of file storage protection. For browsers I use all but Chrome for file downloads. It is possible for other than Chrome browser to access download files. Kiwi, Firefox are my favorites. Until developers break and might not file protection is here with 10.

File system unusable after Android 10 update

Edit: The issue has solved itself somehow. Some restarts may have solved both the file problem and the play store problem, but they were present after the latest restart, for a period of time.
After updating my LG V50 to Android 10, I can no longer use any file-browsing-like app, such as the built in file browser, any image gallery, etc; any app that would search the camera roll either crashes or shows nothing. I have a music playing app that still can play the music that I have saved on the phone, but when looking at where the song list should be shows nothing.
Additionally, my Google play store isn't functioning properly, though I'm not sure how related this is. The play store app crashes after using it for about 20 seconds, and can't download any new apps (including updates to the play store itself). Normally I would install an older/newer version of the play store via third party .apks, but whatever process installs new apks also seems to not be able to access the file hierarchy. When attempting to directly install an .apk file, a message appears which reads, "Unable to scan %1$s."
I'd like to use the file system, and install apps again. Any help with either issue is appreciated.

Categories

Resources