[Q] [HELP] restoring System Apps... - Samsung Galaxy W I8150

Hello guys....
I've accidentally backuped and removed my stock ClockPackage.apk from my i8150...
I've tried to restore by the same app, but did not working.
I've also tried to copy back the original Apk (i've it in backup folder of Rom Toolbox), tried to install...but still nothing.
The odex file it is also still there...
So, for now i've just installed an alternative clock/alarm from market, and it is working (but have Ads!), but...there is a method to have back Clock app in app drawer?
PS:
And, pls... do not say "have you a nandroid backup"?
Yes, i Have, but i just want to know if there is a method to restore the app in few steps

[SOLVED]
Ok... solved, also if i do not know exactly how
For future references...
I had already bring the apk back to system/app, where is located also the odex file.
Nothing was happened, also after restart...
Then, i tried to install the clockpackage.apk from the AOSP gingerbread, and it gave me the same error (App not installed).
But, like in a miracle, after this, app is back to the app drawer
Happy ending!

have you change the permission when you push the apk in system/app ?
just want to ask

spino1970 said:
[SOLVED]
Ok... solved, also if i do not know exactly how
For future references...
I had already bring the apk back to system/app, where is located also the odex file.
Nothing was happened, also after restart...
Then, i tried to install the clockpackage.apk from the AOSP gingerbread, and it gave me the same error (App not installed).
But, like in a miracle, after this, app is back to the app drawer
Happy ending!
Click to expand...
Click to collapse
Great thread spino1970, mostly because I made the same mistake you did, lol...
Now I really need your help... Could you kindly attach the ClockPackage.apk and the odex file in this thread so that I can use it too??? Thanks a lot man!!! I was trying to get rid of those useless widgets and made a mistake...
[Update]
I managed to get the ClockPackage.apk and the ClockPackage.odex from another device (running on 2.3.5 instead of 2.3.6) and now I get the following error while trying to install the apk:
"Parse Error: There is a problem parsing the package"
Does anybody know what to do?

Related

[GUIDE] Replace HTC Messaging App With Vanilla Messaging App [Easy]

(BackStory)
This is how I installed the Vanilla Mms App on my G2 Running Desire Z ROM. No risk if you back up your ROM using ROM Manger,
there are many guides on how to do this.
THIS WORKS ON ANY ROM​
Hey guys! I was just looking at the "HTC Sense" Messaging App for the Desire Z ROM and basically I noticed.. it sucks..
Its really bulky and some parts of it don't fit on the screen... (Although the Desire Z ROM Is the GREATEST!)
I wondered if it was possible to extract the "Vanilla" Mms.apk and install it on the Desire Z ROM... So I booted up Vanilla on my G2 and did the work.
This IS possbile! And It works GREAT!
Apps Needed:
Mms.apk (Download Link below)
Android Mate/Root Explorer/File Manager/Linda Explorer, (Pick your Favorite)
Terminal Emulator, you can alternatively use adb shell
Obviously, a rooted phone
Installation: (Fool Proof)
Download my Link Down there, Mms.apk
Plug your phone into the computer and tranfer the file on the root of your SD card
You will now be removing your Mms.apk app from your ROM; Back up if you think you're gonna mess up;
Preform A Nandroid backup using ROM MANAGER, there are many guides on doing so, find them.
Go into Terminal Emulator and type in the following:
**note in some ROMs it will be called "com.android.mms.apk" so check what the name is before you type that in**
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
rm /system/app/Mms.apk (or com.android.mms.apk)
If your Text messaging app is running, it probably will force close.
After uninstalling, reboot, if F/C occurs, do a simple battery pull.
When your device reboots, it should no longer have the "Messaging" app installed!
Through your favorite file manager, move "Mms.apk" to /system/app/
Now, go through the installing procedure like you would any app.
It should now be installed, reboot the phone, CONGRATULATIONS
Taddaa!! The next step is to enjoy your new Vanilla Mms on Htc Sense (or any rom)
You may tweek the app how you want; change the color through settings by pressing menu on the Messaging app.. etc..
Disclaimer, I am not the person who hurt your phone if you mess up, you are. Do a back up, nothing can be harmed unless you delete other files besides the Mms.apk.
This Mission was success!
The APK File that is attached IS Working as of NOVEMBER 21 2010; It has been fixed!!​
***ATTENTION: THANK YOU TO WHEELIEST FOR GETING A BETTER APK***
Ignore every comment that says Force/Closed, the APK Attached has been fixed and works perfectly!​
Nov/20 WORKING! Good to go!
This works Seamlessly! Everything works and It looks perfect!
*Don't Forget To Do A Battery Pull after Uninstalling and After Installing The MMS.APK
Awesome...thanks so much!!
Keeps forcing closed... had to restore backup..
wrichards2009 said:
Keeps forcing closed... had to restore backup..
Click to expand...
Click to collapse
try what OP stated?
It Force Closed my Messaging App. (If It doesn't, even better)
After Un-Installing, do a simple battery pull and reboot your phone.
When your phone starts, the Messaging app should no longer be there. Good.
Click to expand...
Click to collapse
followed directions and installed, force closes right after i send a msg. did this install right after a fresh rom install
akagoffer said:
try what OP stated?
Click to expand...
Click to collapse
the Vnilla Mms.apk keeps force closing is what he means
are you suppose to move the Vanilla Mms.apk into system/app then find it / install it either via root explorer or ADB?
Not Working?
Hey Guys! Sorry its not working for you I uninstalled it to see if it was tainted, but I can install it and send/receive messages perfectly.
As far as I know, there are no changed settings on my phone. Sorry. I don't know what can be done... Everything I did was right in the directions. Try contacting a more experienced person to this Thread to see if they know whats going on.
Sorry Again..
When you go to install the mms.apk it says that its version 2.1 android. That might be the problem.
works great
thanks alot
If you just place the mms.apk in the system/app/ folder it will work with no problems.
oh, thats right, my version is 2.2 on vanilla rom.
Working?
UnSungHERO420 said:
If you just place the mms.apk in the system/app/ folder it will work with no problems.
Click to expand...
Click to collapse
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
i tried it as it was instructed. Mms.apk installed and worked but would force close after sending and receiving texts. I deleted that apk pulled the MMS.apk from CM and that works fine. Give it a try....more options to boot
Hah, the messaging app is one of the things that I didn't like about the DesireZ Sense ROM. Oh well, I'm not happily running CM! Glad there is a way around it though, thanks for posting!
Nice that was one of the things I disliked about sense. Can this be done with the dialer/contacts
Brazildiogo732 said:
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
Click to expand...
Click to collapse
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
UnSungHERO420 said:
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
Click to expand...
Click to collapse
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
gravis86 said:
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
Click to expand...
Click to collapse
Thanks but I didn't need a tutorial. Just stating what happened with the stock android mms.apk. The CM mms.apk works fine with my sms but does not send mms .

[Q] HtcClockWidget HELP

I have tried everthing to change the look in the clock widget on 2.3.3 just trying to add some images. Used apk manager also tried to use the file it comes already apk and just pushed the images into HtcClockWidget.apk also have tried not signing the file but everytime I push it back to my phone it breaks the widget is there something im missing and does anyone now why it breaks everytime I have done it many times on 2.2. Thanks for all your help
papaslacker said:
I have tried everthing to change the look in the clock widget on 2.3.3 just trying to add some images. Used apk manager also tried to use the file it comes already apk and just pushed the images into HtcClockWidget.apk also have tried not signing the file but everytime I push it back to my phone it breaks the widget is there something im missing and does anyone now why it breaks everytime I have done it many times on 2.2. Thanks for all your help
Click to expand...
Click to collapse
Your post is a tad confusing. Are you attempting to push an HTC clock onto an AOSP or Sense Gingerbread rom? If it is the former, it's not going to work. If it is the latter, wouldn't it be easier to simply go into recovery, wipe cache & dalvik and then reflash the rom?
Posting & Replying from my EVO 4G

Keeps downloading image even when already downloaded

My girlfriend has downloaded an image from internet by long pressing the image and then selecting "save image" on her Wildfire S with stock Android 2.3.3.
The problem is that the phone keeps downloading this image over and over again even when it is already downloaded. It tries to download the image about every sync action for over a week already.
Before i just delete the whole history i thought maybe someone here knows the answer to this problem, so she can avoid it in the future.
Many thanks for your help!
Hi, I have similar problem, but with applications. Sometimes phone starts downloading already installed app. Even if I set all apps to manual update only.
This behavior is really killing my data plan limit!
My friend with the same phone has this problem too.
Anyone have similar problem or solution to fix it?
The same with me. Does anybody know how to fix it?
Same here. Must be something specific to the wildfire S
I've got the same issue. I guess it'll go away once I can flash a CyanogenMod or MIUI ROM
Works for me alright
Sent from my HTC Wildfire S A510e using XDA App
It's worth completely removing the offending application and then reinstalling it. I had the download issue with 'LED Light'. Removed it and reinstalled it and problem resolved.
I now have the same issue with another appl - will try the same solutoin
It seems to happen when you do an update which is interrupted partway
We ported this rom on the Aria and had the same issue. I replaced the DownloadProvider.apk and DownloadProviderUI.apk with the ones in CM7 and it now works fine.
Can you offer this for us?
old.splatterhand said:
Can you offer this for us?
Click to expand...
Click to collapse
Here are the apps. You need to delete them from your current rom and replace them for these.
How do I delete them without root access? My Wildfire S is not and can not be rooted at the moment
jean001luc said:
How do I delete them without root access? My Wildfire S is not and can not be rooted at the moment
Click to expand...
Click to collapse
I assumed the Wildfire S was "rootable". That's a very goo question. You can try something but I have absolutely no guaranties it is going to work because I personally never tried it. Either way, it's your call.
**Make sure you back-up your phone to the Google Server because this will wipe all the data in your phone.**
1- Run the RUU for your phone. This will extract the rom to the temp folder of your computer. For me it's under C:\Documents and Settings\username\Local Settings\Temp\. An easy way to find it is to clear that folder prior to running the RUU. This way, it should be the only thing in there.
2- Enter the folder and look for a zip file called rom.zip
3- Open the zip file using 7-zip or Winzip. DO NO EXTRACT THE FILES ON YOUR COMPUTER TO REPACKAGE AFTER. THIS WILL SCREW UP THE ROM. You really want to make any addition or subtraction from the archiving utility.
4- Extract the system.img file. Now the challenge is to find a way to edit the content of that file. I personally have no idea how to but I'm sure there must be some tools to do that.
5- Once you've managed to open the .img file, under system/app, there should be DownloadProvider.apk and DownloadProviderUI.apk. Delete those and replace them with the ones I sent in my previous post.
6- Close the .img file.
7- From 7-zip, delete the system.img file and replace it with the one you edited.
8- Close 7-zip and follow the rest of the instructions from the RUU.
Again, no idea if any of this will work because I've never been in the situation to make changes on an unrooted phone. Your biggest challenge is step 4. If you cannot get in that .img file, then I guess you'll have to wait to get root access to your phone. My guess is that it shouldn't be too long since HTC agreed to unlock the HBoot.
Good Luck!
And is it possible to change this files in a "running" ROM Image (rooted, without flashing)?
old.splatterhand said:
And is it possible to change this files in a "running" ROM Image (rooted, without flashing)?
Click to expand...
Click to collapse
I think so. Like I said, I never tried it so it's all speculation here. How about you try to install the apk on top of the ones you currently have, i.e. without deleting them? You do have the ablility to install from Unknown Sources correct?
_jfo_ said:
You do have the ablility to install from Unknown Sources correct?
Click to expand...
Click to collapse
Yes i have. But I'm new to Android, so I want to be careful.
I replaced both in system\app folder (without installing) and after that my market doesn't work anymore.
So I had to flash my ROM cause the Backup files didn't work too.
Was a lot of work, making all new (but at least Titanium Backup works ).
Maybe somebody other knows more?
old.splatterhand said:
Yes i have. But I'm new to Android, so I want to be careful.
I replaced both in system\app folder (without installing) and after that my market doesn't work anymore.
So I had to flash my ROM cause the Backup files didn't work too.
Was a lot of work, making all new (but at least Titanium Backup works ).
Maybe somebody other knows more?
Click to expand...
Click to collapse
I am a bit confused here. What do you mean by you replaced in system/app without installing? Also,you said you used Titanium Backup. I thought this app only worked on rooted phone
Unfortunately, I cannot be of much help because I really have an Aria with a ported rom from Wildfire S. I personally fixed the download issue by deleting and reinstalling these apps, but in reality, I have no idea if that would work on the actual Wildfire S. Sorry that I cannot be of any help.
My phone is rooted.
I mean I changed the apk files in folder system/app with those from you (using Root Explorer). Before I deleted them I made a backup of the original ones.
old.splatterhand said:
My phone is rooted.
I mean I changed the apk files in folder system/app with those from you (using Root Explorer). Before I deleted them I made a backup of the original ones.
Click to expand...
Click to collapse
Ok, so try this then. Delete the apk and don't replace them. Flash the Rom and boot the phone. Then install the apk from ur original Rom, i.e. not the ones I provided, but the ones u originally deleted.
Sent from my HTC Liberty S using XDA App
I already flashed my Phone with original ROM and it works again, but the bug is again there.
The point is, I dont want to flash my ROM every week so I hoped there is a solution to change without flashing again.
Otherwise I will wait, my there will be a fix from HTC.
But I wanna say thank you, for your help and your patience with me!
old.splatterhand said:
I already flashed my Phone with original ROM and it works again, but the bug is again there.
The point is, I dont want to flash my ROM every week so I hoped there is a solution to change without flashing again.
Otherwise I will wait, my there will be a fix from HTC.
But I wanna say thank you, for your help and your patience with me!
Click to expand...
Click to collapse
I'm with you on the flashing. I'm not sure HTC will release a fix for this though. However, what u can do is return ur phone and get another one. It seems not everybody has this issue. I'm personally glad I could resolve it on my phone.
Good luck!

[Q] sms app

I had the original optimus g on att and had been running a leaked version of 4.1.2 and was able to get an aosp version of the mms.apk to run (didnt like the one on the rom, no emojis haha) and since this is running 4.1.2, would it be possible to swap in that same mms app if i root the decive? If anyone braver than me wants to give it a try i still have the mms.apk i had on my OG. Or possibly root, install tb and then freeze stock/restore backup of mms.apk? If anyone has done this already then awesome, if not maybe ill do it this weekend (became a bit of a flash-o-holic with my OG so i cant wait for someone to tear into this and get some nice roms loaded
vinniemac84 said:
I had the original optimus g on att and had been running a leaked version of 4.1.2 and was able to get an aosp version of the mms.apk to run (didnt like the one on the rom, no emojis haha) and since this is running 4.1.2, would it be possible to swap in that same mms app if i root the decive? If anyone braver than me wants to give it a try i still have the mms.apk i had on my OG. Or possibly root, install tb and then freeze stock/restore backup of mms.apk? If anyone has done this already then awesome, if not maybe ill do it this weekend (became a bit of a flash-o-holic with my OG so i cant wait for someone to tear into this and get some nice roms loaded
Click to expand...
Click to collapse
You can install the MMS.apk as a user app and not a system app. Makes it quite a bit less risky. If it causes problems you can just uninstall it.
whenever i try to install it it keeps saying its a system app and then fails cuz it says there is an app with a conflicting signature. is there a special way to install it as a user app instead of system or does it all depend on the apk?
I was messing around with this the day after I first got mine. Since they have the same signature, you can't install both at the same time. The only way that I would suggest doing this safely is to be rooted, set the system\app folder to read/write, rename the UniMessagebin.apk to UniMessagebin.apk.bak, then rename UniMessagebin.odex to UniMessagebin.odex.bak. Copy your mms.apk file to the system\app folder and rename it to UniMessagebin.apk then set permission on it to -rw-r--r--. Then set you system\app folder permissions back to rwxr-xr-x.
You should NOT need to reboot at this point. If the apk is valid and will work the the current system framework, you should see it show up in your app drawer. I was able to get the AOSP 4.1.2 mms.apk to run ok on my phone, but MMS messages weren't working (apparently a known issue with 4.1.2 AOSP). If the apk force closes or doesn't show up as valid, go and delete it from your system\app folder and rename the other two files back to their original names before you attempt to reboot.
Good luck!
i actually found one that worked but didnt have the popup like i had on my original og and the stock one on pro has it...plus the notifications didnt work at all...only reason i knew i had msgs waiting was cuz i happened to open the app...thankfully gf knows wat a geek i am and believed me when i told her haha. back to hunting i guess...thanks for all the help
and then i came across this one...so far has everything i wanted and a dark theme too http://bit.ly/125siHO lets see if notifications work...sux being the only night owl i know haha

[Q] Crashed my SystemUI.apk

Guys can you help me out,
I was trying to edit SystemUI.apk with this tuto http://forum.xda-developers.com/showthread.php?t=2527867 Then I needed to put it on my phone following this tuto http://forum.xda-developers.com/showthread.php?t=2235956
Now my phone keeps putting "Unfortunately, System UI has stopped." I tried rebooting, same thing. What did I do wrong? Maybe in the signing? The video tutorial used "zipalign -fv 4 ...." command while I read on other tutorials you should copy the original manifest and I don't know which files but in the video he didn't do it...
Please help, the error message keeps coming in the way and I can't to anything.
LG Nitro HD, CM 10.1.3 Wind kernel.
EDIT: I managed to have access to CWM by fast clicking before the error appears so I could reboot into recovery, does this help?
EDIT 2: The video told us to replace old meta-inf and android manifest in the new apk but he didn't show it so I didn't do it, was that the problem?
Truepeace said:
Guys can you help me out,
I was trying to edit SystemUI.apk with this tuto http://forum.xda-developers.com/showthread.php?t=2527867 Then I needed to put it on my phone following this tuto http://forum.xda-developers.com/showthread.php?t=2235956
Now my phone keeps putting "Unfortunately, System UI has stopped." I tried rebooting, same thing. What did I do wrong? Maybe in the signing? The video tutorial used "zipalign -fv 4 ...." command while I read on other tutorials you should copy the original manifest and I don't know which files but in the video he didn't do it...
Please help, the error message keeps coming in the way and I can't to anything.
LG Nitro HD, CM 10.1.3 Wind kernel.
EDIT: I managed to have access to CWM by fast clicking before the error appears so I could reboot into recovery, does this help?
EDIT 2: The video told us to replace old meta-inf and android manifest in the new apk but he didn't show it so I didn't do it, was that the problem?
Click to expand...
Click to collapse
Reinstall, your Rom. Next time make a backup 1st.
Sent from my LG-P930 using xda app-developers app
Swetnes said:
Reinstall, your Rom. Next time make a backup 1st.
Sent from my LG-P930 using xda app-developers app
Click to expand...
Click to collapse
I re edited systemui.apk with signing this time then I put it in a flashable zip file the author of the status bar modding gave me and then I sideloaded it in CWM and flashed it. Now I can use my phone but my status bar has disappeared.
What do you advise me to do? To reflash the original SystemUI.apk of my rom? I will try all this tomorrow.
Edit: I forgot to say that I had disabled SystemUI because if I enable it the error will come again.
So I tried to I tried reputting my original SystemUI.apk and flashing it but I still didn't have the toolbar and the crashes. So I think I am gonna reinstall my ROM like you said.
Solved
Finally I made it
I factory reset the phone and wiped cache but the root was gone so I re rooted it and reflashed my custom rom and gaaps and kernel,
Then I followed this tuto http://forum.xda-developers.com/showthread.php?t=2203166 that was much simpler and easier than the video one I saw previously for editing systemUI.apk and how to compile/recompile.
I pushed it through via file manager after I set the correct permissions and rebooted my phone. Now the status bar has my text in it

Categories

Resources