Jump to content

Re-install stock apps


Recommended Posts

Guest BashyUK
Posted (edited)

Ok, I may be committing one of the forum sins I despise most but it's only AFTER using the search options in BOTH here and xda! :) Of course, it may be I'm not searching for the right content as I'm 99.9% sure somebody has already asked this:

How do you re-install stock apps?! ;) I removed HTCAlbum and HTCPhoto from Alex's ROM using 'Android Mate' as I thought, well, why have two galleries when I can just use 'Gallery'? It seemed to be fine but I've noticed that when in camera mode when you select the album of pics in the bottom left corner, I get a force close. I also had problems sharing pics via Gallery as it doesn't allow me to select Messages as an option just bluetooth etc.

So I have the HTCAlbum and HTCPhoto apk's from Alex's ROM, I copied and pasted them into /system/app fine and even went through installation...only at the end of the install it says 'unsuccessful'.

If you know of relevant links please post them up or if you are happy to give the answer then that's cool.

Edited by BashyUK
Guest The Virus 2013
Posted

I think you just have to put the apk's in /system/app and it'll work fine, otherwise you can reflash without wipe

Guest BashyUK
Posted
I think you just have to put the apk's in /system/app and it'll work fine, otherwise you can reflash without wipe

Sorry I said /system but meant system/app...that's where the install ran through and said unsuccessful.

Reflash without wipe is what I will do last if there's no other way, I'm just wanting to learn as much as possible about the ways of Android :)

Guest The Virus 2013
Posted

You don't have to run install, you just need the apk in the right place...

I'm not a specialist, but it should work just by pushing the apk's and reboot

Posted (edited)
I'm not a specialist, but it should work just by pushing the apk's and reboot

Yes that would work. I've did this when I deleted an app I needed by mistake.

Just copy the file to system/app and reboot like virus above me said.

Edited by bpivk
Guest BashyUK
Posted
Yes that would work. I've did this when I deleted an app I needed by mistake.

Just copy the file to system/app and reboot like virus above me said.

The two files are in there but i've rebooted and nothing... did you copy via a file manager?

Guest The Virus 2013
Posted
The two files are in there but i've rebooted and nothing... did you copy via a file manager?

I always do that via ADB Shell for my part, cause ADB push don't work. So I just ADB Shell in recovery, then use Linux commands like cp :) (don't forget "mount /system" and "mount /sdcard" before)

Posted

I used root explorer and it worked for me. AFAIK Android Mate can do that as well.

Guest BashyUK
Posted

Yeah it's android mate I'm using. Only difference I can see is that the two apk files concerned have rw permission whereas the rest of the files in app have r? Can't see what difference that would make. How do you change file permissions in Android?

Will give adb shell a go or terminal emulator.

Guest BashyUK
Posted

Resolved!

Used 'Terminal Emulator' and the cp command, didn't need to mount as I was already booted up obviously.

For those who don't know how, this is what I did (substitute the apk name for yours):

Copy the required files to root of sdcard (I extracted mine form the rom' zip file)

Launch terminal emulator and type the following commands:

su

cp /sdcard/HTCAlbum.apk /system/app and press enter

cp /sdcard/HtcPhotoWidget.apk /system/app and press enter

exit

Sense reloads itself but I rebooted to make sure and ta-daaa! Into camera, select the pics in the bottom left and NO FC! The crowd (in my head) goes wild! w00ts galore! :) :)

Still not sure why copying via 'Android Mate' didn't work. So far have tried two file managers, 'Astro' and 'Andorid Mate'. Astro doesn't launch as root and Android Mate unfortunately has given me this issue. Maybe I'll have to cough up £2.50 for Root Explorer, although I prefer the above method.

Guest doubletakeit
Posted (edited)

Could anyone please upload all of the stock apps from /system/apps (.apk and .odex)?

Thanks so much !!! :)

Edited by doubletakeit
  • 1 month later...
Guest hongkongtom
Posted
Resolved!

Used 'Terminal Emulator' and the cp command, didn't need to mount as I was already booted up obviously.

For those who don't know how, this is what I did (substitute the apk name for yours):

Copy the required files to root of sdcard (I extracted mine form the rom' zip file)

Launch terminal emulator and type the following commands:

su

cp /sdcard/HTCAlbum.apk /system/app and press enter

cp /sdcard/HtcPhotoWidget.apk /system/app and press enter

exit

Sense reloads itself but I rebooted to make sure and ta-daaa! Into camera, select the pics in the bottom left and NO FC! The crowd (in my head) goes wild! w00ts galore! :) :)

Still not sure why copying via 'Android Mate' didn't work. So far have tried two file managers, 'Astro' and 'Andorid Mate'. Astro doesn't launch as root and Android Mate unfortunately has given me this issue. Maybe I'll have to cough up £2.50 for Root Explorer, although I prefer the above method.

Tried both the Terminal Emulator and Root Explorer without success, I am using MCR r9 with Sense, is there anything wrong about my procedures? Root explorer didn't complain when copying but the apk just didn't show up in the /system/app. help please!

Guest BashyUK
Posted (edited)
Tried both the Terminal Emulator and Root Explorer without success, I am using MCR r9 with Sense, is there anything wrong about my procedures? Root explorer didn't complain when copying but the apk just didn't show up in the /system/app. help please!

What is it you are doing, what did you do?

You may need to remount system as rw as it may only be r

In TE, type mount -o,rw /system

In Root Explorer, check the button at the top to remount as r/w if it says ro.

Edited by BashyUK
Posted
Ok, I may be committing one of the forum sins I despise most but it's only AFTER using the search options in BOTH here and xda! :) Of course, it may be I'm not searching for the right content as I'm 99.9% sure somebody has already asked this:

How do you re-install stock apps?! :) I removed HTCAlbum and HTCPhoto from Alex's ROM using 'Android Mate' as I thought, well, why have two galleries when I can just use 'Gallery'? It seemed to be fine but I've noticed that when in camera mode when you select the album of pics in the bottom left corner, I get a force close. I also had problems sharing pics via Gallery as it doesn't allow me to select Messages as an option just bluetooth etc.

So I have the HTCAlbum and HTCPhoto apk's from Alex's ROM, I copied and pasted them into /system/app fine and even went through installation...only at the end of the install it says 'unsuccessful'.

If you know of relevant links please post them up or if you are happy to give the answer then that's cool.

why don´t ask me..?

here is a flashable update.zip.....should run

with kind regards..Alex

update_signed_photo_album.zip

Guest BashyUK
Posted
why don´t ask me..?

here is a flashable update.zip.....should run

with kind regards..Alex

Lol, it's all good Alex my issue was resolved, I'm just trying to help out the other poster.

However, it's good to know there's a source for original apps...you! :)

Posted (edited)
Lol, it's all good Alex my issue was resolved, I'm just trying to help out the other poster.

However, it's good to know there's a source for original apps...you! :(

:) lol :)

edit: one tip for all...you can use the update.zip for all other apk´s in system app...just delete the apks inside and copy in the new...make a zip of it and change in recovery (toggle verification)

with kind regards..Alex

Edited by [email protected]

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.