[SOLVED]Can't restore HTCLockscreen - myTouch 4G Q&A, Help & Troubleshooting

Moved the htclockscreen.apk and the odex files from system/app with Root Explorer to get the stock froyo lockscreen going, but I need to restore the htc lockscreen. Moving them back didn't do anything, they're in the right place, but the system doesn't recognize it. I still have the stock froyo lockscreen. I mounted the system r/w, it just won't run as it should. I've even done a full system restore on my phone, no change there. Any suggestions?
Lesson: ALWAYS NAND BACKUP BEFORE SCREWING WITH SYSTEM!
Solved the issue, make sure you have the right permissions for both the htclockscreen.apk and htclockscreen.odex files, then reboot. Permissions should be rw-r-r. Thanks to g351427 for double checking that for me. I had it on the .apk, but forgot the .odex.

Not sure, but if its an apk, you should be able to find the lockscreen in application management. If so, clear default and see what happens.
The thing is, the lockscreen should be something way more imbedded into the phone than an apk, so your whole post doesn't really make any sense.

Same happened to me when I tried a different Sense Launcher. Something gets broken when you push files back. You would need to flash a ROM again, only catch is there is none. Good luck!
Sent from my HTC Glacier using Tapatalk

Found a thread in the Hero forums, apparently with the Hero you can flash it as an update. If I post the htclauncher.apk and htclauncher.odex, could someone make a signed zip? I'm at work, can't sign it myself here. I'll try flashing it, see if it works.
http://www.mediafire.com/file/kykrreu5sinncz6/HtcLockScreen.apk
http://www.mediafire.com/file/s283v3r410224hl/HtcLockScreen.odex

Please post questions in general section.

Clockwork will flash unsigned updates...
Sent from my HTC Glacier using XDA App

kitsunisan said:
Moved the htclockscreen.apk and the odex files from system/app with Root Explorer to get the stock froyo lockscreen going, but I need to restore the htc lockscreen. Moving them back didn't do anything, they're in the right place, but the system doesn't recognize it. I still have the stock froyo lockscreen. I mounted the system r/w, it just won't run as it should. I've even done a full system restore on my phone, no change there. Any suggestions?
Lesson: ALWAYS NAND BACKUP BEFORE SCREWING WITH SYSTEM!
Click to expand...
Click to collapse
I was wondering if you are S-ON or S-OFF, and if you changed the permissions of the apk and odex after moving them back to the app folder.
Rsotbiemrptson

S-off, fully rooted. Ran fix_permissions from recovery, still no change.
Got a favor to anyone with Root Explorer, could you look at HTClockscreen.apk in system/app, long click it and hit permissions? What checkboxes are filled in?

kitsunisan said:
S-off, fully rooted. Ran fix_permissions from recovery, still no change.
Got a favor to anyone with Root Explorer, could you look at HTClockscreen.apk in system/app, long click it and hit permissions? What checkboxes are filled in?
Click to expand...
Click to collapse
rw-r--r--
Should be the same as all the other files in the app directory.

That's what I figured. I have both the apk and odex set to that, still nothing. Was planning on exchanging this thing, might be a problem.
****, nevermind, I did forget to change the odex file, I guess. HTC lockscreen is back. I switched the odex and rebooted, it's back up and running. Thanks g351427.

Sorry misunderstood your post.

Related

can we get the htc news widget on the phone?

i pushed it on with adb, it shows up in root explorer now, but not in the widgets list. anyway to make this work?
can you send me the file? i would like to try some attempts...
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
EDIT: My bad for some reason (it must be late) i thought i read Google News widget...I do want to get the HTC news widget on my phone also...
ejlax said:
can you send me the file? i would like to try some attempts...
Click to expand...
Click to collapse
sure, PM me your email and i'll email it to you
ejlax said:
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
Click to expand...
Click to collapse
you installed the HTC news widget right on the phone? the one i tried wouldn't install.
i got the NewsReader.apk installed and opened...now trying to figure out how to get the widget...
anywho, i successfully modified and then pushed the modified News and Weather (GenieWidget) onto the phone. i themed it to match my FeedR widget.
tried to post a screen cap but it's not letting me. something about being a new member.
i have the widget.apk, but not the NewsReader.apk. maybe that's why it's not working. we need to share files. lol
here is the link for the newsreader.apk
http://www.mediafire.com/?xuzn5r0yzze
the app itself does nothing but force close for me. are you getting the same result?
do we maybe also need the odex file?
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
ejlax said:
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
Click to expand...
Click to collapse
i do not have the odex files. i'm giving up for now. lol hopefully somebody can figure it out. i'm good with my skinned geniewidget for now.
You say your rom is deodexed... you're running a fully deodexed rom on DI? Did you build this yourself, or...?
I have some ideas for the news widget, but I'd like to see newsreader working first.
Thanks!
I posted progress..
I posted progress on the same thread in the apps section. I rooted and pulled de-odexed files from an evo build and pushed them to the system/app/ directory, i then cleared the data in HTC Sense app and the widget and icon showed up. The problem is that they force close. You need 3 files
RSS.apk
NewsReader.apk
com.htc.NewsReaderWidget.apk
I don't think it will make any difference to use odex'd files. Usually it is better to have de-odex'd files to install. The files must be on /system/app/ directory in order to even show up and launch. I hope that a dev is able to take a better look at the androidmanifest.xml in the app or use logcat to see what the hell is going on.
If you want to write to the /system/app/ directory,
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/RSS.apk /system/app/RSS.apk
(etc...)
then applications-->manage-->HTC Sense -->clear data...
But again, FC's will occur until someone is able to look at the manifest and alter it. I looked at the MinSDK for this app and it is the same as the DInc, otherwise I would've changed that part with a Hex editor myself.
Hope someone is able to do this, we would all be one step closer to a smaller Evo, lol. (I really don't like holding a "kindle" to my ear anyways, lol!)
Red.
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
vilord said:
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
Click to expand...
Click to collapse
I didn't need to resign because the .apk files I pulled were from a build that was de-odex'd in the "Evo Android Development" Section. Root Explorer recognizes the files right away, but because they need to be system files, they can't be installed like other apps. I don't have a logcat because I really don't dev too much, but would be thrilled if others tried this.
Red

bloatware

how do i remove blockbuster? etc? do i have to root?
sorry for asking dumb question. i am new to android and a new verzion customer
IF you've rooted your phone, then the easiest way is to buy Root Explorer (trust me it's worth the couple bucks) and navigate to /system/app and find blockbuster.apk or whatever it's called. Click mount r/w and longpress, then delete it. Or rename it to .bak instead of .apk
There is another way to do it using ADB, but if you're new to Android it's probably a bit more complicated than buying the app. If you wanna know how to do it on adb just let me know.
edit: Also, welcome to the Android side.
lol thanks....
i think i already rooted. im using DroidXRoot to rooted the driod x. i just install root explorer and its not working.
blockbuster.apk cannot be renamed because the file system is read-only.
Do you guys know where the files for the bloatware 3G Hotspot are? I would prefer to use wifi tether vs the included app.
Sent from my DROIDX using XDA App
Hide it then. You don't HAVE to use it.
Also when you get the read only message, as was previously stated, you have to mount it as r/w rather than read only.
Sent from my DROIDX using Tapatalk
3g hotspot is mynet.apk
Sent from my DROIDX using XDA App
GiantsFan91 said:
lol thanks....
i think i already rooted. im using DroidXRoot to rooted the driod x. i just install root explorer and its not working.
blockbuster.apk cannot be renamed because the file system is read-only.
Click to expand...
Click to collapse
Press mount r/w in the upper right hand corner or root explorer.
Sent from my DROIDX using XDA App
Just watch out what you delete...I wasn't able to update to froyo because it was missing system apps. I ended up having to reinstall the system apps and resetting all of the permissions.
Now I just use LauncherPro to hide stuff. If you are dead set on removing them though, I am sure most of us would recommend only renaming the apk files instead of deleting. While you can definitely reinstall them, it tends to be a pain. Also, I heard that removing some apps would cause a boot loop. Haven't experienced it myself, but something to watch out for I guess.
Use launcher pro to hide as well
Sent from my DROIDX using XDA App
inzandity said:
Just watch out what you delete...I wasn't able to update to froyo because it was missing system apps. I ended up having to reinstall the system apps and resetting all of the permissions.
Now I just use LauncherPro to hide stuff. If you are dead set on removing them though, I am sure most of us would recommend only renaming the apk files instead of deleting. While you can definitely reinstall them, it tends to be a pain. Also, I heard that removing some apps would cause a boot loop. Haven't experienced it myself, but something to watch out for I guess.
Click to expand...
Click to collapse
I accidentally deleted the Conversations.apk... for future reference how do you reinstall system apps and reset permissions?
Thanks in advance,
Brandon
Instead of renaming or deleting apps/bloatware, just use "Titanium Backup" donate version and you can freeze apps/bloatware so they don't load up. This way if you want to update the phone later, you don't have to worry about things you deleted that need to be on the phone for the update to work.
bsmac02 said:
I accidentally deleted the Conversations.apk... for future reference how do you reinstall system apps and reset permissions?
Thanks in advance,
Brandon
Click to expand...
Click to collapse
This is the tutorial that I used below from android forums
http://androidforums.com/droid-x-al...w-reinstall-system-apps-_as_-system-apps.html

Need help installing a couple of apps with root explorer

I moved the apk's I wanted to install into the system/app directory, changed the permissions, pushed the r/w button to remount the system and then tried installing the apps.
Here is where I'm at now, magic smoke live wallpaper installed fine but when I try to select it as my wall paper, it force closes. Not sured if I need another file. I then tried to install ocean waves, dandilion, and luminescence live wallpaprs but the installation failed on all 3 of those...
Any help is appriciated, thanks
Eazail70x7 said:
I moved the apk's I wanted to install into the system/app directory, changed the permissions, pushed the r/w button to remount the system and then tried installing the apps.
Here is where I'm at now, magic smoke live wallpaper installed fine but when I try to select it as my wall paper, it force closes. Not sured if I need another file. I then tried to install ocean waves, dandilion, and luminescence live wallpaprs but the installation failed on all 3 of those...
Any help is appriciated, thanks
Click to expand...
Click to collapse
Usually for me, I just copy the apk's into system/app, change the permissions, and reboot. Which apps are you trying to install?
Some apps will install im /system/app folder some will het fc's,and some apps will get fc's in regualar install but install fine in /system/apps folder.A tip:Sometimes an app gets fc when in system app folder however if you mod that file(change icon color,etc.) It will work fine!I dont know why that is maybe something to do with signature.
Moved to general as not development
mattallica76 said:
Usually for me, I just copy the apk's into system/app, change the permissions, and reboot. Which apps are you trying to install?
Click to expand...
Click to collapse
Magic smoke live wallpaper from the vibrant dump and sprintandroidextention (sp?).
Eazail70x7 said:
Magic smoke live wallpaper from the vibrant dump and sprintandroidextention (sp?).
Click to expand...
Click to collapse
Make sure you change the permissions of the files to match the permissions of other files in the system/app folder.
ive done that. The wallpaper is installed but when I try to view it in the wallpaper selecter, it forcecloses
Do I need an extra file?

Gallery help on MyTouch 4G

hey guys, i have the mytouch 4g and i recently moved the htcalbum.apk and htcalbum.odex files to my sd card and instead installed gallery 3d. i tried moving htcalbum bak to system/apps with root explorer but its not working, and i cant send MMS messages . im new, can someone help me, a tutorial on how to push the htcalbum.apk and.odex files bak to my phone. im using the stock htc rom that came wit the mytouch 4g.
Thanks!
As long as you have the system mounted as R/W in root explorer you should be able to move them back. If its giving you an error in root explorer saying it can't copy... hit the bottom on the top right of the screen in root explorer. You probably aren't mounted correctly.
Also check your permissions. But they should not have changed if you just copied them over.
Sent from my HTC Glacier using XDA App
exactly, i just moved them back, htc gallery isnt in my app drawer and when i go to applications, manage apps, All apps, its not there, jus the 3d gallery one, should i restart the phone? And i actually Moved the files to my sd card, not copied them lol
Make sure you have fixed the permissions.
how do i fix the permissions?!
svibrant67 said:
how do i fix the permissions?!
Click to expand...
Click to collapse
you have to have a Clockwork Recovery Image.
Boot into recovery
>Advanced
>fix permissions
you can do it from w/ in the app but it takes longer.
ok, i fixed permissions, now wat? lol
svibrant67 said:
ok, i fixed permissions, now wat? lol
Click to expand...
Click to collapse
I'm assuming it's still not working?
yup not working, should i remove the gallery 3D?
svibrant67 said:
yup not working, should i remove the gallery 3D?
Click to expand...
Click to collapse
The 3D gallery is a stand alone .apk. You do not need to delete it. You really didn't need to delete the files you deleted earlier either, if you want to use the 3D gallery perm.
If i were you i'd either flash the PD15IMG via the HBoot (be carfull you have the 2.5 recovery image), and start over fresh or flash a new ROM. their are few floating around with MySense ROMs.
neidlinger said:
The 3D gallery is a stand alone .apk. You do not need to delete it. You really didn't need to delete the files you deleted earlier either, if you want to use the 3D gallery perm.
If i were you i'd either flash the PD15IMG via the HBoot (be carfull you have the 2.5 recovery image), and start over fresh or flash a new ROM. their are few floating around with MySense ROMs.
Click to expand...
Click to collapse
I posted s completely stock rom yesterday only thing added was root permissions... Look it up in the dev section
http://www.multiupload.com/NF950YHH8A
Sent from my HTC Glacier using XDA Premium App
u think this will work?

[Q] help with disabling OTA update

I'm with T-Mobile if that helps or changes anything, running 4.2.2. Now, I've gotten my phone to stop bugging me to install the OTA update. But the problem is the OTA update is still downloading in the background, it's just that I'm not being bugged by my phone to update it (i.e. there's no icon showing up in the notification bar). It becomes a sort of "silent update." So why is this a problem for me?
Because I'm on T-Mobile's cheapest plan which is the 500mb data plan. Each time the OTA downloads it eats up 155mb. And twice already this billing cycle it's done it, so that's 310mb of data wasted.
There are posts saying to use Titanium Backup Pro and freezing an app called Software Update MUC, and another post referring to the file as Software Update 2.3.0.5, but on my phone (using TB Pro) there's no file starting with "Software" anything.
So how do I stop my phone from downloading the OTA all together? Please help. Thanks.
Just install the update, that will make it stop for good
Sent from my LG-D801 using Tapatalk
Sorry, forgot to mention doing that won't work. For some reason my phone doesn't properly install OTA updates. I don't mind being stuck on 4.2.2. I just want the OTA downloads to stop in the first place.
Give this a try...
If rooted, use a file manager like Root Explorer, go to System/Etc/Security, (mount R/W) and rename otacerts.zip to otacerts.zip.bak
Reboot phone.
LordLugard said:
Give this a try...
If rooted, use a file manager like Root Explorer, go to System/Etc/Security, (mount R/W) and rename otacerts.zip to otacerts.zip.bak
Reboot phone.
Click to expand...
Click to collapse
I've done that already. I renamed the file to otacerts.zip.back (instead of .bak). I assume that doesn't make any difference. I believe renaming the file is what is causing my phone to not show the OTA icon in the notification bar. But as I said, the issue for me is that my phone is still downloading the update itself.
Any other ideas?
hydra1 said:
I've done that already. I renamed the file to otacerts.zip.back (instead of .bak). I assume that doesn't make any difference. I believe renaming the file is what is causing my phone to not show the OTA icon in the notification bar. But as I said, the issue for me is that my phone is still downloading the update itself.
Any other ideas?
Click to expand...
Click to collapse
what I've done is in system/app look for lgfota.apk/odex and renamed them to .bak and reboot and no more updates
XxZombiePikachu said:
what I've done is in system/app look for lgfota.apk/odex and renamed them to .bak and reboot and no more updates
Click to expand...
Click to collapse
I don't have that file in my system/app folder. What's wrong with my phone?????
On my phone, the file listed that comes before where lgfota.apk/odex should appear is LGEIME_THEME_BLACK.odex, and the file after that file is LGGallery.apk.
hydra1 said:
I don't have that file in my system/app folder. What's wrong with my phone?????
On my phone, the file listed that comes before where lgfota.apk/odex should appear is LGEIME_THEME_BLACK.odex, and the file after that file is LGGallery.apk.
Click to expand...
Click to collapse
you can check in the system/priv-app; that's very odd for it not to be in system/app are you on stock rom/have you removed any bloat
XxZombiePikachu said:
you can check in the system/priv-app; that's very odd for it not to be in system/app are you on stock rom/have you removed any bloat
Click to expand...
Click to collapse
I don't have a system/priv-app folder, either. I'm on stock rom, but I removed as much bloat as I can, including certain apps I find no use for (e.g. double-tap, voice command, etc). Maybe this will help: I used Root Explorer's search feature and searched for "fota", and here's what I think are the most "relevant" results:
/lgdms.fota.rc
/lgdms.fota_update.rc
/etc/fota
/etc/permissions/com.lge.fota.xml
/system/framework/com.lge.fota.jar
/system/framework/com.lge.fota.odex
Does this help? Anyone?
hydra1 said:
I don't have a system/priv-app folder, either. I'm on stock rom, but I removed as much bloat as I can, including certain apps I find no use for (e.g. double-tap, voice command, etc). Maybe this will help: I used Root Explorer's search feature and searched for "fota", and here's what I think are the most "relevant" results:
/lgdms.fota.rc
/lgdms.fota_update.rc
/etc/fota
/etc/permissions/com.lge.fota.xml
/system/framework/com.lge.fota.jar
/system/framework/com.lge.fota.odex
Does this help? Anyone?
Click to expand...
Click to collapse
Did you got any solution ?
I also got the same issue. Sprint here. I have renamed all files like otacerts.zip & lgfota.apk/odex, still it downloads the damn update.

Categories

Resources