Reverting back to stock lock screen? - Hero CDMA Q&A, Help & Troubleshooting

Title. I flashed the vanilla lock screen and not really digging it, and I'd really like to revert back to the stock lock screen. Is this possible? I was an idiot and did not nandroid before I flash vanilla
Oh, and I'm using fresh 2.3.3

I thought Fresh came with vanilla lock screen? Anyway, one of the primary things the flash for vanilla lock did was move the stock HTC lock screen apk file out of the way. If you want the HTC lock screen again, all you have to do is move the HTC lock screen apk back to its original location.
Do this to find the name of the backed up file:
Code:
adb remount
adb shell
cd /system/app
ls
Hopefully in that huge list you will find something like "HtcLockScreen.bak" Let's assume that is the name of the backup file you found. To restore it, just use the next code.
Code:
mv HtcLockScreen.bak HtcLockScreen.apk

Related

Help with pushing apks

ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol. ***I did rm old one first.***
adb remount
adb push HtcClockWidget.apk /system/app/
adb reboot
Does that not work ?
-------------------------------------
Sent from my HERO200
well its booting up we will see lol
well it is now pushed to there but how do you install its not own my widgets list anymore and using esfileexplore wont let you touch them pretty much. my logcat is going absolutly nuts lol ok well it loaded it back up but my changes were not made looks the same lol. going to double check that it was correct one i put back in there
did you remove the apk you edited out of your system before pushing it back?
i use this command when i putting apks back into system.
# install /sdcard/HtcClockWidget.apk /system/app/
Some of the widget files are located in com.htc.resources.apk
no1ukno1357 said:
ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol.
Click to expand...
Click to collapse
why dont u just put the apk into a zip file then use pre kitchen to sign it and then flash it. also some of the backgrounds are in htcresources apk found in the framworks of roms
yes it did install I think I may have edited some of the wrong pics for the clock I wanted. I also was also trying to push file from desktop. lol I sure do appreciate every ones help.
Sent from my HERO

[THE] Espresso Bios Boot Animation!

First off, im not posting this for any kind of credit i just want to share it...i got the original bios boot from here...all i did was change the word Sapphire to Espresso...
since it goes in /data you dont have to reboot into recovery, just plug in usb and
Code:
adb push {path/to}/bootanimation.zip /data/local
when its done,
Code:
adb reboot
unplug and...
Enjoy!
-BMFC
How do we back up the old/stock one?
If you have the stock mytouch slide one, you don't have to because its a .gif in /system/customize/resource/ and it won't be overwritten or messed with at all...
If you have another bootanimation in .zip format and you wanna back it up just
Code:
adb pull /data/local/bootanimation.zip /path/to/wherever/
-BMFC
I have a tutorial and explanation here.
http://forum.xda-developers.com/showthread.php?t=708316
You can Place the File in data or system/media. It will work in either place.
eugene373 said:
You can Place the File in data or system/media. It will work in either place.
Click to expand...
Click to collapse
thats good to know...do you know whether one spot overrides the other? and if so, which one? i.e. if i have a bootanimation.zip in /data/local and i push another bootanimation.zip to /system/media, which one will show up?
-BMFC
bmfc187 said:
thats good to know...do you know whether one spot overrides the other? and if so, which one? i.e. if i have a bootanimation.zip in /data/local and i push another bootanimation.zip to /system/media, which one will show up?
-BMFC
Click to expand...
Click to collapse
The data local bootanimation.zip. It is a user defined animation that can be accessed on both root and unrooted devices. The animation in system is only accessable with root and will act as a default fall back if nothing is in local.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Ahh I understand now .. so lets say I install this one in data/local.. then later want the stock stuff back I just delete this from /data/local and the stock one will start coming up again from /system/media
that is correct! well actually the STOCK one is in /system/customize/resource/ and its something like mytough_v8_final.gif or something like that...
so even if you push it to /system/media the stock one will still be untouched in its directory, itll just get overridden by the new one.
but yeah...
-BMFC
uuuhhh...
Does it still say "Press TRACKBALL for help" at the bottom? You should change it to "Optical" or somethin OP, that would be dope.
Gootah said:
Does it still say "Press TRACKBALL for help" at the bottom? You should change it to "Optical" or somethin OP, that would be dope.
Click to expand...
Click to collapse
No it says "press volume up + power to enter recovery" or somethin, ...
-BMFC
Sent from my ROOTED MyTouch3G Slide
Is there any way to change the boot animation by just using my phone via terminal or root explorer??
Sent from my T-Mobile myTouch 3G Slide using XDA App
Not sure why mine didn't work. Running SMR5r1, pushed to data/local/ and on reboot, I get the usual MyTouch3GSlide boot screen, then blank, then lock screen...
fermunky said:
Not sure why mine didn't work. Running SMR5r1, pushed to data/local/ and on reboot, I get the usual MyTouch3GSlide boot screen, then blank, then lock screen...
Click to expand...
Click to collapse
Yeah me too...I did this when I was on slideMEROOT2 and it worked fine...then about a week after that I switched to 5r1 and bootanims don't work on 5r1...sucks, I know...I haven't tried any other roms lately, been working on theming 5r1, so I dunno what roms have bootanims working or not...
-BMFC
Sent from my ROOTED myTouch3G Slide

Changing fonts on a rooted phone

Hi,
I need help updating the fonts on my rooted Incredible. The way I understand it, all that needs to be done is to replace the font(s) in /system/fonts with something else. Easier said than done...
I opened an SU shell via "adb shell", and then tried to remount the /system in "rw" mode, I also updated the permissions for the font files so that I can override them. So good so far...
But when I try to copy or replace the files, I run into all kinds of problems:
* First of all, the rooted phone doesn't have "cp" so I can't do the usual copy operations like a regular *nix machine (did I miss something during the root process).
* Then I saw examples of using the "cat" command to replace the old files, but that resulted in "write: No space left on device" error, which I think has to do with how the memory image is loaded/packed??
* Then I saw examples of using the "dd" command, to copy the new files over the old files. This went further, since I can see the new timestamp when using "ls -l /system/fonts". However, when I reboot the phone, the old fonts show back again.
* I also saw an example in another thread titled "Hebrew support" in this forum (sorry, don't know how to cross-post URLs), but I didn't know how to follow the instructions there.
I would really appreciate it if someone can help me out.
- how can I update the system image? (do I really need a signed ZIP file?)
- is it too late for me to add "cp" to my rooted phone?
- the 10 minutes rooting video had us copy the "busybox" file to the sdcard, but it didn't say what to do with it. can I use it as a replacement for "cp"? (do I have to go back to "adb recovery"?)
You can only modify /system while in clockwork recovery after you're rooted and have run the unrevoked recovery flash tool
Yea, you have to push them to the phone in clockwork recovery.
you can put them in your tools folder where adb is located or put them on your SDcard and push them from there.
I attached the fonts I used. I used these on my Moto Droid I used to have and now they are on my dInc. This font is not as bold as the stock font and a little smaller. This font i believe is the "Droid" font. It looks pretty nice, see my screenshot and look under icons and at the clock and then compare to your phone.
Here is the commands you would do at command prompt, not from ADB shell.
For these commands to work, you have to place the fonts in your tools folder where ADB is.
Code:
adb push Clockopia.ttf /system/fonts/
adb push DroidSans.ttf /system/fonts/
adb push DroidSans-Bold.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
adb push DroidSansMono.ttf /system/fonts/
adb push DroidSerif-Bold.ttf /system/fonts/
adb push DroidSerif-BoldItalic.ttf /system/fonts/
adb push DroidSerif-Italic.ttf /system/fonts/
adb push DroidSerif-Regular.ttf /system/fonts/
you might be able to try this command
adb push *.ttf /system/fonts/
Im not sure if that would work or not, maybe someone else could confirm.
Thank a lot for the reply...
So is this the correct thread that I should follow now: "Unrevoked team: Recovery reflash tool (updated!)" to install the "clockwork recovery"? I am assuming this will allow the phone to start recovery with adbd running, so that I can connect to it from my PC while in recovery. Correct?
It took me forever to get the adbd running in recovery as part of rooting my phone, and I am not sure that I can replicate these steps again (at least not easily). I was this close to copying the font files while in "adb recovery" mode, but then I chickened out, because I didn't want to risk the rooting process by doing something that doesn't match the root instructions.
yes, as long as you have actually gained root and have the superuser/busybox properly installed. just follow that thread and you'll have new fonts in no time, and I can assure you that it will work because I changed mine too.
If using clockword recovery, dont forget to mount system.
Put them all in a folder named fonts. Put the folder in tools. Boot into recovery, mount system. Then: adb push fonts /system/fonts. Unmount system then reboot.
Sent from my ADR6300 using XDA App
TNS201 said:
Yea, you have to push them to the phone in clockwork recovery.
you can put them in your tools folder where adb is located or put them on your SDcard and push them from there.
I attached the fonts I used. I used these on my Moto Droid I used to have and now they are on my dInc. This font is not as bold as the stock font and a little smaller. This font i believe is the "Droid" font. It looks pretty nice, see my screenshot and look under icons and at the clock and then compare to your phone.
Here is the commands you would do at command prompt, not from ADB shell.
For these commands to work, you have to place the fonts in your tools folder where ADB is.
Code:
adb push Clockopia.ttf /system/fonts/
adb push DroidSans.ttf /system/fonts/
adb push DroidSans-Bold.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
adb push DroidSansMono.ttf /system/fonts/
adb push DroidSerif-Bold.ttf /system/fonts/
adb push DroidSerif-BoldItalic.ttf /system/fonts/
adb push DroidSerif-Italic.ttf /system/fonts/
adb push DroidSerif-Regular.ttf /system/fonts/
you might be able to try this command
adb push *.ttf /system/fonts/
Im not sure if that would work or not, maybe someone else could confirm.
Click to expand...
Click to collapse
Where can I get/download these font files?
EDIT im a retard and didnt see the .zip sorry
so where can i go to download other font types?
Perhaps this is an obvious questions to some... Can I use any TTF font? I have a font I created that is my own handwriting. This would be pretty cool to have available in my Phone... It is a standard TTF font.
Possible? I tried to search but didn't see anything specifically mentioned if a font has to be a specific type or if I can use anything.
Thanks!
compnird said:
Perhaps this is an obvious questions to some... Can I use any TTF font? I have a font I created that is my own handwriting. This would be pretty cool to have available in my Phone... It is a standard TTF font.
Possible? I tried to search but didn't see anything specifically mentioned if a font has to be a specific type or if I can use anything.
Thanks!
Click to expand...
Click to collapse
it should work fine, you just need to rename the file to DroidSans.ttf and DroidSans-Bold.ttf and replace the ones that are in /system/fonts
Thanks for the help seanhassars and TNS201: I am using the ClockworksMod recovery, and I was able to update the fonts (using the "update from ZIP" option).
I can see Arabic letters, but unfortunately, they don't look correct (they are disjoined, when they actually should be connected together). Now I am looking around for patched libwebcore.so to fix this issue, and thanks to nandroid backup, I can experiment with changing the libraries as much as I can.
shamidude can you please let me know which fonts you used? I am desperately needing to install arabic on my phone and could use the help. If possible could you upload the proper ones? Also which libwebcore.so did you use?
I tried to install Arabic fonts from another website but my phone froze on the splash screen and wouldn't boot. Please let me know what works for you, especially if you get the reshaper working.
edit- also if you could post general instructions of what you did to push the fonts onto the phone, how you mounted/dismounted, etc would be good
I don't think that was supposed to be an update.zip he just zipped the fonts he's using for easier access, you still have to push them manually.

Lockscreen help

Ive tried searching for this and done everything I can find but still having issues. Im using a theme that has the standard htc lockscreen without the curved bar. Im trying to put the standard lockscreen back with the bar. I have the default file and Ive pushed it through adb but when I reboot my phone I have the same barless screen. Can anyone point me in the right direction.
Its been a while since I deviled into lockscreen stuff, but I think the pngs for the lockscreen bar are in the framework or com.htc.resources apk, just a sec...
yes its in the /system/framework/com.htc.resources.apk
Just open in up and go to /res/drawable-mdpi and it should be
lockscreen_arc.png, lockscreen_arcglass_bottom.png and lockscreen_arcglass_top.9.png
You could simply push the original com.htc.resources.apk but you will be losing all theming done to the resources.apk. If you want to go back to the original theme that's fine, but if you want to keep your current theme but not have a clear lockback adb pull your com.htc.resources.apk, open with 7-zip(don't unzip, just open), delete the 3 above files, then copy those three files from the original resources and adb push it back.
Or pull and upload the com.htc.resources.apk from your rom, let me know what rom your using and I'll make you a flashable zip to keep your current theme minus the clearness. cheers
Awesome, thank you. Ive tried finding this on my own all day and finally got it. Actually able to take a lockscreen from another rom and use the on eI like. Thanks alot.

Help? Unable to change boot animation. Are settings and permissions resetting?

using the .zip from this thread (http://forum.xda-developers.com/showthread.php?t=2357926)
I'm trying to change my boot animation. I've place the new animation zip in the /system/customize/resource. I renamed the animation zip to that of "att_bootup_one.zip" since that is the zip file that is called for in the XML file in /system/customize/resource/CID.
I got it to work once. I restarted the phone a second time and all the boot animations were that of a stock HTC one.
The thing I don't understand is; I overwrote the orginal .zip animation and on the second restart (after the first successful restart with new boot animation) the damn original boot screen was back.
I even set the permission on all necessary folders to rwx-rwx-rwx. I am a total rookie and hoping some one can advise me.
Thank you
Also, sorry if this is not the place to post this topic.
EDIT: I found that it will work if I "Power off" then turn the phone on. If I "Restart" boot animation restores to stock.
What ROM and version are you running? I've always placed the bootanimation.zip file in /system/media
Stock kernel has write protection on the system partition, so changed or deleted files return upon reboot. You'll need a custom kernel with the write protection disabled or make the change in custom recovery via an adb shell.
cschmitt said:
Stock kernel has write protection on the system partition, so changed or deleted files return upon reboot. You'll need a custom kernel with the write protection disabled or make the change in custom recovery via an adb shell.
Click to expand...
Click to collapse
Thanks buddy. This rookie appreciates the advice :laugh:
This leads me to another question though. I've also tried deleting the orignal boot animation. How does the stock animations come back if I have deleted them?
synt3k said:
What ROM and version are you running? I've always placed the bootanimation.zip file in /system/media
Click to expand...
Click to collapse
4.4.2
HTC Sense 6.0.
Im not sure if thats info you asked for. Im pretty sure its the stock rom. All I did was root the phone.
Im still learning

Categories

Resources