[Q] Removed htclockscreen, how to reinstall? - EVO 4G Q&A, Help & Troubleshooting

So I removed the htclockscreen.apk with titanium backup, but for some reason TB didn't backup the app its self, only the apps data... so I can't just restore it with TB. However I sent the file to my email so that I would have a back up copy in case something dumb happened like this. So my question is how do I reinstall the htclockscreen.apk back on to my phone?

Since you have the original apk still, you can use root explorer (on the phone itself) or adb.
With root explorer, just copy/cut the apk, navigate to /system/app/ make sure to press the Mount as R/W button and then paste the apk and reboot.
Using adb, do:
adb remount
adb push htclockscreen.apk /system/app
adb reboot

So i bought Root Explorer, copied the HtcLockScreen.apk file over into the system/app directory pressed the r/w button and pasted it. Rebooted my device and its still the vanillia Lockscreen. When i try to install the HtcLockScreen.apk it says that Application not installed. Even though it looks like it was going to install. After the reboot i went in and checked to see if it was still in the system/app folder and it was. Im a little confused on what im doing wrong or why its not working. The HtcLockScreen.apk file is 797K big, at least the one that i sent to my self in an email as a backup. Can anyone confirm that this is the correct one based on the size of the file.

I actually solved the issue. I had to grab the corresponding .odex file and put that into the folder as well and then i rebooted and BAM, it works again.

Related

Vanilla lock simple to get?

It's easy to get in my current setup (fresh)
But I was wondering if it was possible to get the vanilla lock in another rom like caulkins evio by just deleting htc lockscreen?
Also, how about the vanilla alarm and such.. delete worldclock or would I have to find that apk and install it?
Ditto, I would like to know this too.
yes, just delete them and reboot.
I have from a rooted file explorer and after reboot they return.
I am unable to delete in adb, I keep getting a "directory is not full" error or something like that.
I use the rm HtcLockScreen.adk command. I have done it after adb remount and get the directory error, before I get a read-only error. Same with HtcLockScreen.odex.
This is how it should go starting from command line in the adb.exe directory:
adb shell
cd /system/app
remount rw
rm HtcLockScreen.apk
Obviously if any errors are reported on anything before the last line, the last line isn't going to work.
rm failed for HtcLockScreen.apk, Directory not empty
That is the error I got, all the other commands worked or at least seemed to.
Maybe try to just rename it?
Code:
mv HtcLockScreen.apk HtcLockScreen.apk.bak
Just make sure you're in the right directory, but I'm sure you got that far.
failed on 'HtcLockScreen.apk' - Directory not empty error
Edit: pwd states that I am in the correct directory, /system/app
Rippley05 said:
It's easy to get in my current setup (fresh)
But I was wondering if it was possible to get the vanilla lock in another rom like caulkins evio by just deleting htc lockscreen?
Also, how about the vanilla alarm and such.. delete worldclock or would I have to find that apk and install it?
Click to expand...
Click to collapse
I used Titanium Backup to delete the Htc Lockscreen, and so far, it has worked on every rom.
AS for the Vanilla alarm, i just stripped cyanogen's ROM and found the APK for it. "Clock.apk" After i found it and transferred it to my phone, i went to Titanium Backup and deleted the original clock apk
adb reboot recovery
mount dev/block/mtdblock4 /system
cd system/app
rm HtcLockScreen.apk
reboot
it will only delete when the phone is in recovery
andrewmc42 said:
I have from a rooted file explorer and after reboot they return.
I am unable to delete in adb, I keep getting a "directory is not full" error or something like that.
I use the rm HtcLockScreen.adk command. I have done it after adb remount and get the directory error, before I get a read-only error. Same with HtcLockScreen.odex.
Click to expand...
Click to collapse
It sound like you don't have nand unlocked. I use root explorer to delete files without a computer.
How would I know if Nand was unlocked?
I have used it to back up the phone from Clockwork Recovery.
bacdoliljo said:
adb reboot recovery
mount dev/block/mtdblock4 /system
cd system/app
rm HtcLockScreen.apk
reboot
it will only delete when the phone is in recovery
Click to expand...
Click to collapse
Major thanks, only thing missed was a "adb shell" command, but that was easy enough to figure out. It worked in recovery just fine.
rosario1187 said:
I used Titanium Backup to delete the Htc Lockscreen, and so far, it has worked on every rom.
AS for the Vanilla alarm, i just stripped cyanogen's ROM and found the APK for it. "Clock.apk" After i found it and transferred it to my phone, i went to Titanium Backup and deleted the original clock apk
Click to expand...
Click to collapse
what's the difference between the stock htc alarm clock and the one from CM? can you post the apk, please?
IMO the clock from cyanogen looks a lot better than the sense clock. You will just be giving up some functionality if you switch to the cyan clock. I have both of them installed just in case. I have the. Apk on my phone but since I am at work, I wont be able to post it up until I am home. Anyone else have it?
Sent from my EVO using XDA App

Swype

I searched around and couldn't find a definative answer. How can I take my backed up copy of swype from my g2 nandroid backup (or the official rom) and install it after installing cyanogenmod"
Sent from my T-Mobile G2 using XDA App
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
it is in /system/lib
here's a thread with some instructions: http://forum.xda-developers.com/showthread.php?t=837599
I ended up figuring it out with the first post, after figuring out how to open the /system/ nandroid img.
Sent from my T-Mobile G2 using XDA App
How Do you take swype.apk out of system/apps?
waffleman911 said:
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
Click to expand...
Click to collapse
How do you do that? And what program do you have to use since System is an .img file thanks.
Brazildiogo732 said:
How do you do that? And what program do you have to use since System is an .img file thanks.
Click to expand...
Click to collapse
have u heard of google?
http://lmgtfy.com/?q=extract+.img+in+windows
Thanks
waffleman911 said:
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck.
*thanks nvigrass, wasnt sure where it was
Click to expand...
Click to collapse
sundar2012 said:
have u heard of google?
http://lmgtfy.com/?q=extract+.img+in+windows
Click to expand...
Click to collapse
hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use?
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Brazildiogo732 said:
hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use?
Click to expand...
Click to collapse
If you are using windows, there is a command prompt application called unyaffs.exe that extracts the whole thing in windows. Might even work in linux with wine
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
I actually paid for root explorer because its useful enough to be worth the money and someone took their time to write the application. I did use Root Explorer to go in and paste the files into the appropriate directories after getting them extracted.
Opening System
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!!
Brazildiogo732 said:
Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!!
Click to expand...
Click to collapse
What app are you using? You need to use a root explorer app like SU File Manager or Root Explorer.
thanks! got the files! i am about to intall! thanks!!
Got the Files, but no luck :/
jkoenig00 said:
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Click to expand...
Click to collapse
I got the files, but its not working on Desire Z rom... All it does is force close.. any ideas, anyone?!
you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time.
not letting me paste!
jkoenig00 said:
you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time.
Click to expand...
Click to collapse
Cool! thanks guys! I found how to do everything, but its not letting me paste into /system/lib :/ any sugestions? :/
it says "this folder is read only" and its refering to the /system/lib ..what do i do?
Open terminal emulator and type this
mount -o remount,rw /system
Then try again.
[G2/HTC Vision]
Still not working
luis86dr said:
Open terminal emulator and type this
mount -o remount,rw /system
Then try again.
[G2/HTC Vision]
Click to expand...
Click to collapse
After I put that in, it comes up "mount [-r] [-w] [-o options] [-t type device directory] and it still doesnt let me paste into the lib folder...whats happening? lol

[Q] Restore Evo startup screen

Is there a way to restore the original Sprint startup screen?
I don't have (nor did I want) the sound that went with it, but here's the original bootanimation zip. Just place it in appropriate path (/system/customize/resource/bootanimation.zip) and check the permissions. (I can't remember what they're supposed to be but 777 should work.)
A lot of people suggest using adb push commands to change boot animations but root explorer with /system mounted r/w works just as well, just don't forget the permissions!
I sorry, but beiong new to this I do not know how to put the file there or set permissions. Thanks in advance!
Do you have Root explorer?
No I do not. I have never heard of it.
you can download it from the market

how to install htclockscreen.apk?

I deleted the htclockscreen.apk saved it to sd card and now I want to reinstall it... how do I do this... I click it and it says cannot be installed...
Have you tried pushing the app to the data/app folder via adb?
Dont know how to push with adb not sure about that... if you could explain i will try
Or is there another way...?
I would just use a terminal emulator and move it back. I personally haven't treid it but should still work. Or just move it back with a root explorer
If you have a terminal emulator app just open it up
Su
Cd to where you saved the apk on your sd card
Mv htclockscreen.apk /system/app/
I am pretty sure that its in system/app anyway. Sorry my evo is powered off but that's where its at on my shift. Once its there just reboot the phone. It should be back the way was. Hope that helps.
Guess I should clarify that you don't need to actually install it. You just need to get it back into the directory that it needs to be in then reboot
Sent from my PG06100 using XDA Premium App
If your not sure about that buy root explore from the market name just copy and paste.
I have root explorer and have replaced it in there again... but it does not work... it shows its in there but wont install... any thoughts?
Chris 2155 said:
I have root explorer and have replaced it in there again... but it does not work... it shows its in there but wont install... any thoughts?
Click to expand...
Click to collapse
As trentlythp said, you dont actually "install" the .apk. It just has to be in the /system/app folder. Try copying the htclockscreen.apk to that folder then reboot and see what happens.
Permissions were wrong... got it... thanks...

Root Explorer Error

I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.

Categories

Resources