[Q] How to install back factory app? - Samsung Galaxy Nexus

Dear Forum members!
Today I wanted to modify the smiles in the Mms.apk system app..
when i Copied back and tried to isntall, my phone started to reboot and not come back... (I know of course I mistake
From ADB I fixed my phone but just a half success, I copyed back the original Mms.apk and changed the permissions to 644, my phone boots up normally, but I still can't install the apk.. if i try to isntall from system/app it says: Replace app.. (I dont see in any list to be installed) If I press Ok, starting to install, then says: X App not installed. In downloaded apps I see messaging with 0 kilobytes, i can remove. After this if i try to install from system/apps it dont want to replace but the same thing happens... (X App not installed) Another interesting thing. On my Sd folder I still have a copy of Mms.apk, if I enter into this directory withy any file explorer, its quit I have ftp server where i can rename to mms.app -for example. In this case the explorers are not quit But I have no chance to install like user and not like root?..
Of course i have rooted my phone and it works.
Is someone have any idea?
thanks: Karoly

Please help me
I installed to my phone a catlog to read out what happens durring the installation.. I see in the log there is no odex file in the mms.apk ... Is someone can suggest me a solution to install back my factory mms application? I really don't want to reinstall my system because of this problem. Currently I use the latest android update 4.1.2. I have too much settings and apps on the phone :S
Thank you in advance.
Greets: Karoly

If your on a stock Google ROM (Yakju?) you should be able to download the factory image and fastboot flash just the system.img & your apps & data should be fine.

Hi. Thanks your answer.
I tried to flash only the system yesterday, wipe caches and fix permissions, my datas remained, but the mms app still not works.. nothing changed. Is it possible maybe to install this apk from recovery (cwm) mode?
Im sure if i reflash everything will work but i dont want to lose my apps, so i'd like to fight for it if its possible
Sent from my Galaxy Nexus using xda app-developers app

Related

[Q] how can i restore system apk.

First off I'd like to start off by saying that I am kind of an idiot...with that said; I like to mess around with important files on my device(Acer a100) even though I have absolutely no clue what I'm doing.
Using titanium backup I uninstalled that download system apk. The one with the green icon and the white arrow pointing down. Now when I try to restore it through tit. Backup it will just freeze and keep saying that it is restoring and I have to finally force close titanium. I have also tried messing around with permissions in root explorer, fixing permissions in rom manager, navigating to system/app and installing it manually through a file explorer( get message install fail), and hard resetting.
The main problem is that everything I download will show in my notification bar and after I close/exit them they come back 5-30 min later. If I click on the download in my notification(not on the x) then my notification bar just closes. I can kinda fix this by turning my notifications off or cleaning data/cache on ?download storage? Apk/app.
Does anyone know of an easy fix for restoring this system apk. For there are no custom roms or recovery sources for this device that I have seen yet.
Thank-you, Robb
Get the system.apk file from the roms here
http://forum.xda-developers.com/showthread.php?t=1307046
i tried downloading those recovery files and twice they came back saying they were corrupted, is there any way someone can just upload the system file i need from their a100...its the downloads apk. the green icon with a white arrow pointing down
RobbandJenica said:
i tried downloading those recovery files and twice they came back saying they were corrupted, is there any way someone can just upload the system file i need from their a100...its the downloads apk. the green icon with a white arrow pointing down
Click to expand...
Click to collapse
PM me with your email address, I'll email you the apk from my A100, I'm still running the stock rom that I pulled it out of the box with.
You can download it straight to your tab from your email, beforee you do, get a file manager (like es file manager) from the market. You will be able to get to your downloads folder from there and install it.
ummmmm............ could you repeat that?
6stringandy said:
PM me with your email address, I'll email you the apk from my A100, I'm still running the stock rom that I pulled it out of the box with.
You can download it straight to your tab from your email, beforee you do, get a file manager (like es file manager) from the market. You will be able to get to your downloads folder from there and install it.
ummmmm............ could you repeat that?
Click to expand...
Click to collapse
He's got Root Explorer, that should do the trick.
To the OP: You are mounting the system partition R/W in Root Explorer when you try this, aren't you? Hate to ask a dumb question but.....
Yes I am hitting that button up top on root explorer changing it from r/w to r/o but I think some how I just got the wrong apk....after titanium wouldn't restore it I think I remember copying apk. From my phone (g2x) and attempting to restore those...dumb, I know I might of tried changing the names of the apk. Too,..like I say I f*** with s*** I have no business Fu****** with. I will p.m. my email now maybe I can get a screen shot of the system files if anyone feels up to it, so I can cross check proper name and sizes
How about just reinstalling the 3.2.1 update that is in the developer section. There should be no reason to factory reset since it is the same version. I have soft bricked mine a few times and I have just did the update again.
I even upgraded from whatever version the device shipped with to 3.2.1 without wiping the data.
A100 development section??? I see three a100 recovery downloads and one a101 recovery in our development section but when I download them i t says they were corrupted...if those are what your talking about...which one exactly should I use and what do I do with the file after words???
----sorry two that say a101 and two a100
So should I use file Id # 115,116,117,or 109
Use the one in this post. It is already decrypted. The ones in the frist post need to be decrypted using the Acer decryption tool. I have used the one I linked to probably 20 times. Once you run the update you will have to re-root the tablet.
thank-you all..recovered and fixed!!!
I was able to fix my problem by using the recovery update zips. But I want to thank everyone that helped, and remind people from experience to freeze unwanted system apps instead of uninstlling in titanium backup.u
Very important advice also is to search and read before starting new posts. I could have saved some time and headache just by doing that...the answers were just a couple paragraphs away the whole time.

[Q] Delete SystemUI data

SystemUI keeps crashing when it tries to restart, making my phone completely unusable. I'm not able to flash another ROM at the moment so what I'd like to try is deleting the app data for SystemUI (wiping cache and dalvik didn't work). I have Team Win Recovery so I'm able to access the filesystem to delete files.
Can anyone suggest which file(s) I should look for?
restore a backup
beekay201 said:
restore a backup
Click to expand...
Click to collapse
I want to keep my most recent files. I took some photos today and they didn't get a chance to instant upload. I can wait a few days until I get to a computer I can use ADB on to push a ROM.
Sounds like you don't need a working device.
a maguro wrote this.
Use adb to remove /data/data/com.android.systemui/ folder
Hey guys! Big news!
I've fixed the problem, well.. sort of.
I will edit the post If I had something else to test.
1. Uninstalled Android System Webview and installed the one that is present in the Play Store (I can't select it for Webview Implementation though)
2. Launched YouTube app and showed a green screen no matter what the quality is.
3. Tried Chrome and the video works well without any freezes.

Please help, deleted wall paper picker and program monitor from Galaxy Grand

Hello to members here.
Would be really grateful for any help with info' regarding my Galaxy Grand Dous GT-19082 running on 4.1.2. I like the phone a lot, and don't like the fact I accidentally deleted the wall paper picker and also the program monitor from the system with root delete app. So I can not use live wall paper now, or the program monitor
As said before, phone rooted, think using/has CWM. Apart from that it's standard.I didn't back up my phone with Titanium back up etc unfortunately. I have tried to see which ROM I am using, but can't find out, even under settings/about device. It must be a stock ROM I guess, as I only rooted it, didn't change ROM.
I have spent/wasted a day and a half so far trying to find info' on the web looking how I can re install these to the phone. Potentially frustrating. I have looked for the apk files but could not locate.
I am fairly basic with my knowledge on this techie stuff, so if anyone can explain as simply as possible and step by step. I would be most thankful. If I could pay somebody to do it, then I would probably be keen, just want my phone as it was again...
Thanks again, and respect in advance for any helps/info' and advise.
Sincere regards, Alex
Recklessly deleting a few, seemingly unimportant system files could have as destructive consequence as having to reflash your whole firmware via Odin. That means you have to backup all your apps and datas. What firmware version are you on currently? Maybe some guys here can help extracting the files from the firmware package you mentioned, or else you might have to download the whole firmware (mind you, it's huge) and flash it via Odin.
Hey Naufalhadyan, Thanks for the reply. Yes, was reckless and kind'a stupid deleting the files.
My firmware is I believe 4.1.2 Jelly Bean
mr_b_alex said:
Hello to members here.
Would be really grateful for any help with info' regarding my Galaxy Grand Dous GT-19082 running on 4.1.2. I like the phone a lot, and don't like the fact I accidentally deleted the wall paper picker and also the program monitor from the system with root delete app. So I can not use live wall paper now, or the program monitor
As said before, phone rooted, think using/has CWM. Apart from that it's standard.I didn't back up my phone with Titanium back up etc unfortunately. I have tried to see which ROM I am using, but can't find out, even under settings/about device. It must be a stock ROM I guess, as I only rooted it, didn't change ROM.
I have spent/wasted a day and a half so far trying to find info' on the web looking how I can re install these to the phone. Potentially frustrating. I have looked for the apk files but could not locate.
I am fairly basic with my knowledge on this techie stuff, so if anyone can explain as simply as possible and step by step. I would be most thankful. If I could pay somebody to do it, then I would probably be keen, just want my phone as it was again...
Thanks again, and respect in advance for any helps/info' and advise.
Sincere regards, Alex
Click to expand...
Click to collapse
1. Boot into recovery, Volume UP + Home + Power
2. Select Install zip and choose this zip file - View attachment apps-update.zip
3. Let it install
4. Go back, select Wipe Cache
5. Go to advanced, select Wipe Dalvik-cache
Alternatively, extract the zip, mount your /system and copy the apks included and set their permissions to rw-r--r--
I couldn't find an exact apk that says Program Provider, so I'm included both possible ones.
Apks included:
- ApplicationsProvider
- SecLiveWallpapersPicker
- SecWallpaperChooser
- TaskProvider
All above apps are extracted from 4.1.2 XXAMF7 firmware directly.
The zip file will copy and replace the above system apps. Clearing cache and dalvik-cache will let your phone upgrade apps but no data will be lost, without it you might get Force Closes.
NOTE: Please make sure you back up your data before-hand, just in case
Hi Iceyhotguy,
Much thanks to you for the zip link and what seems like straight forward instructions.
I have spent a while trying to add the zip. When I go into recovery mode, it says it can not mound sd card. I have even payed for the premium version of CWM now, thinking I could add the zip this way, which I think I can, but again in recovery mode, it can not mount the sd card, which is where the file is download to. (I think)
Have downloaded the file straight to the phone aswell, but no luck yet.
I guess I have to install manually some how, you said ''Alternatively, extract the zip, mount your /system and copy the apks included and set their permissions to rw-r--r--'' . If you could be so kind to talk me through in baby steps (as I don't really understand this way) how I can do it this way, seeing the recovery mode way is not working for some reason.
Close,but not quite there yet.
Really hoping to fix my mistakes of accidentally deleting file soon, guess it's a good lesson, and I am learning more about this kind of thing, so not all bad.
Hope to hear back from you, and/or other members soon.
Thankyou,
Alex
Spent ages trying to fix my phone, and research online how I ''copy the apks included and set their permissions to rw-r--r--'' can't do it, getting frustrating..
Also I read online that using CWM as a recovery is not needed on a stock ROM and the error message in recovery 'can't not mount sd card'' can happen with stock rom and CWM....
Would really appreciate some help to fix this. Thanks:good:
Managed to try change permission with a root explorer program, though it says some files do not allow permission change, so seems I can not so this either
mr_b_alex said:
Spent ages trying to fix my phone, and research online how I ''copy the apks included and set their permissions to rw-r--r--'' can't do it, getting frustrating..
Also I read online that using CWM as a recovery is not needed on a stock ROM and the error message in recovery 'can't not mount sd card'' can happen with stock rom and CWM....
Would really appreciate some help to fix this. Thanks:good:
Click to expand...
Click to collapse
Reflash the CWM for 4.1.2 with Odin from here - http://forum.xda-developers.com/showpost.php?p=42349036&postcount=1
That'll fix the sdcard issue. If it doesn't try putting the zip file in internal memory.
I explained how to copy bootanimation file here in steps and paste it back in /system/media with setting permissions : http://forum.xda-developers.com/showpost.php?p=46010766&postcount=2
The same principle will apply when copying apks from the above zip file, take all 4 apks, and paste them in /system/app folder then follow my post above to set permission.
iceyhotguy said:
Reflash the CWM for 4.1.2 with Odin from here - http://forum.xda-developers.com/showpost.php?p=42349036&postcount=1
That'll fix the sdcard issue. If it doesn't try putting the zip file in internal memory.
I explained how to copy bootanimation file here in steps and paste it back in /system/media with setting permissions : http://forum.xda-developers.com/showpost.php?p=46010766&postcount=2
The same principle will apply when copying apks from the above zip file, take all 4 apks, and paste them in /system/app folder then follow my post above to set permission.
Click to expand...
Click to collapse
Thanks for the info' s. Have tried, done what was well explained, but still no luck..
Think I try to reflash the stock rom via odin, if you have any links /info' on this, that would be great, thanks
iceyhotguy said:
1. Boot into recovery, Volume UP + Home + Power
2. Select Install zip and choose this zip file - View attachment 2581684
3. Let it install
4. Go back, select Wipe Cache
5. Go to advanced, select Wipe Dalvik-cache
Alternatively, extract the zip, mount your /system and copy the apks included and set their permissions to rw-r--r--
I couldn't find an exact apk that says Program Provider, so I'm included both possible ones.
Apks included:
- ApplicationsProvider
- SecLiveWallpapersPicker
- SecWallpaperChooser
- TaskProvider
All above apps are extracted from 4.1.2 XXAMF7 firmware directly.
The zip file will copy and replace the above system apps. Clearing cache and dalvik-cache will let your phone upgrade apps but no data will be lost, without it you might get Force Closes.
NOTE: Please make sure you back up your data before-hand, just in case
Click to expand...
Click to collapse
Thanks a ton man, this worked for me and now I re-installed Live Wallpaper APK. Could not install via any root perm enabled file manager. Sumit pointed me here, thanks to him too.

[Q] Unable to connect to PC properly after rooting

Hello,
I have had my HTC One M8 for a while now but I wasn't really happy with the soundquality while playing through my headphones, so I looked for ways to improve it. I found a few methods and finally decided to give it a try. These methods require a root so yesterday I have rooted my phone for the first time. Unfortunately I am experiencing some problems now.
The rooting process went without too much trouble. I used hasoon2000's toolkit and have TWRP version 2.7.0.2 installed as recovery and used it to install the provided SuperSU, which didn't work at first. On the forums I found a newer version and installed that one, updated it and got it to work.
Now this is where I think I messed up: I read somewhere that when rooted, you are able to delete pre-installed apps from the phone. I downloaded SD maid and deleted Kid Mode, Zoe and 7digital. When I deleted Kid Mode I got an error saying it has crashed. I tapped away the error but from this point I couldn't go back to my homescreen anymore because my launcher kept crashing (com.htc.launcher crashed). I rebooted the phone and the launcher worked again, but the phone still seemed to be buggy.
After this I tried to install the snapdragon audio+ (this was my first choice for an equalizer). I downloaded the apk and moved it to the system folder using ES file manager. I installed but when I tried to use it (through settings in google play music app) my phone would crash. I uninstalled it and tried again, but when I tried to move the apk to the system map like before, my phone would crash everytime. I then found out the file I used doesn't work for lollipop so I figured that's what caused the crashes.
My next move was to try and install viper4android. I downloaded it from the Play Store and opened it. It told me it needed an installation of BusyBox so I downloaded that too. But when I opened the BusyBox app and clicked install my phone would crash again. After some searching I found that the HTC One M8 requires BusyBox to be flashed manually so I downloaded the file but when I tried to load it onto my phone I noticed this wasn't possible anymore.
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
I have tried to reset the phone through settings, wipe with TWRP and fix permissions with TWRP. I also tried reinstalling Sync Manager and the drivers on my PC. What I'm thinking now is I maybe have done something wrong in the ES file explorer that would make the folders unaccessible.
My phone is running stock android 5.0.1 and my PC Windows 7 64-bit.
I hope someone can help me, Thanks.
P.S: Sorry for the long post, I figured I'd give as much info as possible.
@Steef076 First update recovery to the latest one (2.8.6.0)
Second if you go and delete vital or integrated parts of the stock rom you will get a lot of bugs. Third, viper4android requires to write system and you can't write system with the stock kernel, you need an unsecured kernel or unsecure it yourself.
10GB is right since 6 is eaten by android. At this point I would just revert to a backup or install any custom rom around here. Most are close to stock and with no bloatware and come with root. You can even clean them further using a tool called ROM Cleaner. It will most likely solve all your problems
Did the deleted system apps reappear after reboot, or do they remain "uninstalled"? If the system is write protected like TempestZ states, any deleted system apps should reappear after a reboot.
Revert your nandroid to restore the system apps. And you didn't make a nandroid, you really should before making any system modifications for the very reason that it allows you to revert if you run into problems.
Another good practice, is if you don't know what effect deleting a system app will have (such as "safe to delete" lists that can sometimes be found on XDA) you should first freeze the app with Titanium Backup. If freezing doesn't cause any issues, then go ahead and delete. If you do have issues, just unfreeze the app.
Steef076 said:
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
Click to expand...
Click to collapse
No, Windows will never show 16 GB. It only shows "internal storage" partition, or the user accessible portion of the storage. A good chunk is reserved for the OS.
Does what is shown in Windows differ from what is shown in ES if you browse to internal storage?
Thanks for the replies. @TempestZ @redpoint73
First of all I managed to update twrp to 2.8.6.0 using adb/fastboot.
To answer your question @redpoint73 the system apps I had deleted indeed reappeared after reboot. Also I didn't make a nandroid before I deleted the files, as I did not even know this was possible. Now I have made a nandroid of my stock ROM that is working decently, except for the TV app keeps crashing (I'm not opening it) and the connection to the PC is not working properly (not sure if this is ROM based?). I have noticed when the phone is in recovery I CAN see the folders through windows explorer. HTC sync manager still doesn't find it though. I am working on finding a proper stock ROM or maybe flash a custom one to see if that will fix it.
I understand now that the OS is taking up the storage space. The space windows is showing is the same as ES file manager so I guess this is fine.
HTC Sync is a hot mess. It often causes more troubles than it solves.
One thing you can try (to see if it fixes the USB connectivity) is uninstall HTC Sync and all HTC drivers. Than connect the phone. Don't let it install HTC Sync. Go to Windows Device Manager, find the device. Then pick the option to manually select the drivers, and pick the generic "Android MTP device" (or something to that effect) drivers.
This doesn't work for everyone. But it worked for me to be able to "see" the internal storage of my M8 on my home PC (Win 7). Annoyingly, it seems to vary from one PC to another. My work laptop (also Win 7) works fine with HTC Sync.
Steef076 said:
So if I understand correctly, 'version-main' is the same as 'firmware' and 'software number' (found in settings)? If so, my current firmware seems to be 4.19.114.2.
Now, what you're saying is I should do an OTA but this isn't possible because I have a custom recovery right?
Also, when I want to flash stock rom and stock recovery or do a nand don't I need the files that fit my cidnum? How would your file work for me?
Click to expand...
Click to collapse
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
ckpv5 said:
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
Click to expand...
Click to collapse
Hello, sorry for the late reply.
I have decided to give a custom ROM a try. I now have ARHD 41.0 installed and it seems this took care of my problems. All the maps are showing in windows explorer and HTC sync manager is connecting properly with my phone again. Also no more crashing apps. Your backup would still be of much use for me as I am not sure I want to stick with a custom ROM and therefore would like to have a stock ROM backup.
Thanks in advance.

Cann't install apps anymore on Pixel 2XL

Hello all,
I cann't find a solution to install apps in sideload on my Pixel 2XL.
It was after flashing version 10 in the beginning of september.
After a lot of trying I give up and hope someone else here can help me.
My Pixel 2XL is unlocked but not rooted.
Normally I do the sideload by transfer an apk to my dropbox. After that I start it up and do what the system tells me.
Nowadays I got a return of a message in dropbox that -it is impossible to open the apk and download an app to open the apk-.
After that I download the apk to my download folder to try again. Then, when trying to startup, I get a popup with the name off the apk, the version nr, the size and packagename.
There is also a button to view apk content. When I push that button the right folders of the apk are indeed visible.
There are also 3 options. One to install, one to go to playstore and one to stop further actions and go back.
When I try to use the button install the result is that nothing happened, no signal, no message from the system, no popup, really nothing.
You all know that this is not what I want. I just want to install the apk. I have tried it with a few other apk's with the same results. :crying:
Before the last OTA upgrade to android 10 it was normal to install with these methods.
Thanks for who can helping me and others for trying to help me.
Greetings.
retaliator said:
Hello all,
I cann't find a solution to install apps in sideload on my Pixel 2XL.
It was after flashing version 10 in the beginning of september.
After a lot of trying I give up and hope someone else here can help me.
My Pixel 2XL is unlocked but not rooted.
Normally I do the sideload by transfer an apk to my dropbox. After that I start it up and do what the system tells me.
Nowadays I got a return of a message in dropbox that -it is impossible to open the apk and download an app to open the apk-.
After that I download the apk to my download folder to try again. Then, when trying to startup, I get a popup with the name off the apk, the version nr, the size and packagename.
There is also a button to view apk content. When I push that button the right folders of the apk are indeed visible.
There are also 3 options. One to install, one to go to playstore and one to stop further actions and go back.
When I try to use the button install the result is that nothing happened, no signal, no message from the system, no popup, really nothing.
You all know that this is not what I want. I just want to install the apk. I have tried it with a few other apk's with the same results. :crying:
Before the last OTA upgrade to android 10 it was normal to install with these methods.
Thanks for who can helping me and others for trying to help me.
Greetings.
Click to expand...
Click to collapse
Have you enabled install apps from unknown sources? You'll also need to enable apps to install apps from what I can see in android 10. If you pull up an apps indignation you can expand the options and there will be an option to allow it to install apps, which Dropbox may need. The first one needs to be enabled to install apks from the download folder.
wgrant said:
Have you enabled install apps from unknown sources? You'll also need to enable apps to install apps from what I can see in android 10. If you pull up an apps indignation you can expand the options and there will be an option to allow it to install apps, which Dropbox may need. The first one needs to be enabled to install apks from the download folder.
Click to expand...
Click to collapse
Thanks for helping me.
I did all these settings before.
Now I tried to open another filemanager (Google Files) and that did the job.
I don't know why installing in dropbox or installing in es file explorer doesn't do the same with equal settings.
Maybe an idea to uninstall and re-install these apps?
Anyway, a lot of thanks for your answer.
grts
retaliator said:
Thanks for helping me.
I did all these settings before.
Now I tried to open another filemanager (Google Files) and that did the job.
I don't know why installing in dropbox or installing in es file explorer doesn't do the same with equal settings.
Maybe an idea to uninstall and re-install these apps?
Anyway, a lot of thanks for your answer.
grts
Click to expand...
Click to collapse
Android 10, install from unknown sources is like an app permission now, you have to grant it to things like chrome (download apk and install) and file managers rather than a global setting for phone. Safer as you trust an app o do it rather than letting some malware in background filling your phone with crap.
retaliator said:
Maybe an idea to uninstall and re-install these apps?
Click to expand...
Click to collapse
Uninstalling and reinstalling will not work, as I've done that with my modded version of ES File Explorer. This is a change in Android itself.
Go to Settings > Apps & Notifications > Special App Access > Install Unknown Apps. A list of apps will appear. Select an app and toggle the switch.
NOTE: Dropbox is on the list, but at least on my device my modded version of ES File Explorer is not.

Categories

Resources