Anolog clock resets o reboot - Android Themes

Hi all,
Was not really sure where to put this apologies if its the wrong place.
I recently created my own analog clock, I'm using CM7 RC0, I simply replaced the clock background .png in the original desktopclock.apk, renamed it, signed it and then installed it through filemanager.
Now, it works fine! I was very happy, until I rebooted my phone today, got back onto the desktop and it had reset to the original anolog clock! Tried it again and sure enough everytime I reboot I have to reinstall the .apk!
Anybody have any idea why on earth this would happen?
Many thanks,
Sean

This was originally brought to my attention with the HTC_IME mod by Jonasl. I installed a themed version over the top of the one already installed by default in /system/app and on reboot the original (quite frankly ugly) keyboard was back...
for some reason I do not know, you have to manually un-install the previous version. Don't know why...
use this http://forum.xda-developers.com/showthread.php?t=644909
to un-install the original apk for the clock, then push your app into /system/app using adb. reboot and it should all be sorted... I hope.

Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is

wiiija said:
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
Click to expand...
Click to collapse
I'm on linux right now, and I did this to remove my stock messaging app not 3 hours ago...
Just open up your terminal and use adb, assuming you have the androidsdk on your computer...
If you don't it's going to be a little harder, you're going to have to find a root exploring file manager and delete the analog clock app from /system/app and then you're going to have to put the new one there AFTER rebooting.
If you want adb just ask and I'll tell you how to get it.
1. download the android sdk from http://dl.google.com/android/android-sdk_r12-linux_x86.tgz
2. open up the .tgz and extract it to /home/-your_user_name/androidsdk
3. open up terminal and type
su
PATH=$PATH:/home/-your_user_name/androidsdk/tools
adb
adb devices <-------(make sure your device is connected and in debug mode. If that fails just boot into recovery)
qiuness said:
adb shell
su
cd /system/app
mount -o rw,remount /system
rm -r analogclock.apk
Click to expand...
Click to collapse
4. install your new, themed app
abd push /path/to/your/app.apk /system/app
5. reboot.

Brilliant guys thank you very much, its all sorted, easy once you know how

Related

Teeter for G1

Anyone have this apk that would work for JF's builds?
Just take it from one of the magic roms. It works fine on my g1
Not to savy on how to do that little help please?
Joeriginal said:
Not to savy on how to do that little help please?
Click to expand...
Click to collapse
I have uploaded attached it for you. However I've not tested it but I see no reason to why it shouldnt work.
Just so you know, this isn't a normal installation apk. In order to install it you're gonna have to move it to /data/app through a terminal with superuser permissions. i.e. through terminal emulator:
su
mv /sdcard/teeter.apk /data/app
[email protected] said:
Just so you know, this isn't a normal installation apk. In order to install it you're gonna have to move it to /data/app through a terminal with superuser permissions. i.e. through terminal emulator:
su
mv /sdcard/teeter.apk /data/app
Click to expand...
Click to collapse
It says it fails cause of something cross-linked I have apps to sd, how would I install this through terminal
Keeps force closing.
Joeriginal said:
It says it fails cause of something cross-linked I have apps to sd, how would I install this through terminal
Click to expand...
Click to collapse
I get the same thing. Cant move it over to /system/sd/app
EDIT: Had to do it via adb shell
Wow I had it install straight up as soon as xmoo released the /system folder of the magic. I didn't need to use adb & its on my sdcard
Joeriginal said:
It says it fails cause of something cross-linked I have apps to sd, how would I install this through terminal
Click to expand...
Click to collapse
Has anyone been able to install this app via the terminal emulator if so will you post the commands? I have been searching around for quite a while and I still can't find it. Any assistance will be greatly appreciated.
hello i too am having problems installing apk. tried to install from adb but got same error and force close. can someone point me in the right direction? thanks
You need the HTC frameworks and a ramdisk that puts them into the BOOTCLASSPATH. My CM2-ADP build has this (and Teeter). I doubt you'll get it working on a US firmware, though, because you can't change the BOOTCLASSPATH without breaking the preinstalled apps.
ok got it. I did try your build yesterday but had too many problems with the camera and video force closing. didnt see any real proformance change from jf1.51 either maybe need to update spl.
thank for the answer.
I found the teeter that can be installed using a regular installer app like Lindas. Its off the sapphire build. It does work but it is rather buggy on the g1.
http://forum.xda-developers.com/showthread.php?t=494533
Sorry, wrong thread
http://www.megaupload.com/?d=UL4HK3DZ
heres another apk

HTC_IME

Can someone help me? For the longest time I've been running Android Keyboard because HTC's keyboard just doesn't work for me any more. Now I want to get it fixed because Android's keyboard is just miserable.
Every time I click on the HTC Keyboard to type it force closes immediately. Anyone know what that's attributed to?
Running Cyanogen's 4.1.6
kevdawg said:
Can someone help me? For the longest time I've been running Android Keyboard because HTC's keyboard just doesn't work for me any more. Now I want to get it fixed because Android's keyboard is just miserable.
Every time I click on the HTC Keyboard to type it force closes immediately. Anyone know what that's attributed to?
Running Cyanogen's 4.1.6
Click to expand...
Click to collapse
try uninstalling HTC_IME and then reinstalling it.. worked for me and several others
What files need to be deleted to completely remove HTC IME from my phone?
uansari1 said:
What files need to be deleted to completely remove HTC IME from my phone?
Click to expand...
Click to collapse
i just uninstall it through AppManager ... theres an adb command that cyanogen posted a long time ago and i always forget it but ill look for it now .. its something like adb uninstall com.android.htc_ime
EDIT:
here it is:
Code:
adb uninstall com.htc.android.htcime
and then grab HTC_IME from CM Rom and do
Code:
adb install HTC_IME.apk
xidominicanoix said:
i just uninstall it through AppManager ... theres an adb command that cyanogen posted a long time ago and i always forget it but ill look for it now .. its something like adb uninstall com.android.htc_ime
EDIT:
here it is:
Code:
adb uninstall com.htc.android.htcime
and then grab HTC_IME from CM Rom and do
Code:
adb install HTC_IME.apk
Click to expand...
Click to collapse
I may need to try this, since my AppManager seems to not be working properly. After I run the uninstall script, do I just put the extracted HTC_IME.apk in the root folder of my SD card to run the install script?
EDIT: Okay, figured this out! I just put the HTC_IME.apk from the CM-4.1.11.1 ROM zip in my C:\ folder, opened cmd, nav to C:\ and ran those commands. Now HTC_IME Touch Input works!
This was going to be a deal breaker, and I gave up and went back to 4.0.4 until I saw this thread. Thx for the help.
How the noob made it work
http://www.megaupload.com/?d=DGFGMI3I
Link above contains Clicker.apk, HTC_IME.apk, and libt9.so from cyanogen's 4.1.11.1 ROM
Code:
Adb remount
adb push \wateverlocation\libt9.so /system/lib
Then copy the clicker to /system/app... then use a FileManager on your phone to install.. I use ASTRO, its FREE...
you could also adb that, but don't recommend it.
Code:
adb push \wateverlocation\Clicker.apk /system/app
adb push \wateverlocation\HTC_IME.apk /system/app
I have tried what you have written, i have pushed it, but when i find it with the Astro manager i only get the option to UNinstall or details.
And when i try adb install from whateverlocation on pc i get:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
I have Abyzou ROM.
Forget it, it is installed. But now it force closes before it even opens! What the?!
See post HERE for the properly working HTC_IME.
Also has the text to speech option.
Install as instructed and you should be golden
Nice, thanks! But you know what?? It is TOTALLY oversized! I have a tattoo!
Is this ever gonna end for me!

htc camera

is it possible for me to replace my camera wit the htc camera app that is on the hero rom, and if so where can i get it??
not sure if possible, but it's easy to find out.
all you have to do is download the hero rom and extract the files. go into the system folder and look inside of the app folders and look for HTCCamera.apk OR Camera.apk.
take it and push it to your phone and reboot, it should work or not work you can test. it wont harm your phone. make sure you backup your current camera app first so you can revert if the hero camera dont work. Make a note of what file name your current camera is, and rename the hero camera to be the same thing. then push it.
NguyenHuu said:
not sure if possible, but it's easy to find out.
all you have to do is download the hero rom and extract the files. go into the system folder and look inside of the app folders and look for HTCCamera.apk OR Camera.apk.
take it and push it to your phone and reboot, it should work or not work you can test. it wont harm your phone. make sure you backup your current camera app first so you can revert if the hero camera dont work. Make a note of what file name your current camera is, and rename the hero camera to be the same thing. then push it.
Click to expand...
Click to collapse
you dont think i can jus install it as a normal app?? and if not, how do i "push it to my phone"??
gamefan231 said:
you dont think i can jus install it as a normal app?? and if not, how do i "push it to my phone"??
Click to expand...
Click to collapse
this is the exact steps you need to take.. first you need adb installed
adb remount
adb pull /system/app/Camera.apk
adb install directoryoffile/HTCCamera.apk
adb install directoryoffile/HTCAlbum.apk
adb shell remount
if it doesnt work or you get a FAILURE when pushing either one of these .apk files just push back your old Camera.apk
palosjr said:
this is the exact steps you need to take.. first you need adb installed
adb remount
adb pull /system/app/Camera.apk
adb install directoryoffile/HTCCamera.apk
adb install directoryoffile/HTCAlbum.apk
adb shell remount
if it doesnt work or you get a FAILURE when pushing either one of these .apk files just push back your old Camera.apk
Click to expand...
Click to collapse
where can i find "adb" and how do i install it?
gamefan231 said:
where can i find "adb" and how do i install it?
Click to expand...
Click to collapse
ay yi yi... look here... it will tell you exactly how to get ADB up and running... once you do, you will wonder how you ever lived without it...
ADB, Fastboot, Nandroid for n00bs
also, this write up is for the 1.5r2 SDK, the setup for 1.5r3, which is the newest one is exactly the same
IF YOU HAVE THE SDK INSTALLED, THEN YOU ALRREADY HAVE ADB. needed that in caps so you dont go installing stuff u might not need.
if you are on windows, hit start > run. then type CMD, then the dos box will pop up. here you can enter in the commands that palosjr gave earlier.
i was following the directions on the thread posted but when i tried to put the sdk folder in my c/ drive it told me i didnt have enuff space...would it be possible for someone to put the htccamera app into a theme for me?
I tried it but it resulted in following error:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
For either one (HTCCamera and HTCAlbum)
ya nm good luck im going to see how it turns out i would love to have HTC camera and Album seems nice.
abraxas_son said:
I tried it but it resulted in following error:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
For either one (HTCCamera and HTCAlbum)
Click to expand...
Click to collapse
probably needing some other framework from hero to make this work... i will do some searching for you and see if i cant get it to work. if you guys want the HTC camera, why dont yall just flash jacheroski1.8 or 2.0? both are solid, and in case you didnt hear, all the SMS issues are fixed.
I have ran those roms and ya they are solid but i like to stick with cyanogen roms. Im only really after the ablum app with multi touch. Now that BFS has hit the scene I'm tempted to give a hero rom a look see but i want to see what cyanogen will do next lol.
I looked around in two hero roms and found in the lib folder two *.so files for the camera and one for album. Those are the only files that are named after the apps. On a side note, do the camera and ablum app rely on one another? The reason i ask is the thread was started about the camera app and then it is recommended to push both by adb. Getting album to work is what caught my eye to begin with all though htc camera app would be nice.
Any progress on this front? I tried a couple Hero roms and really liked the camera and gallery. I can't stay on Hero because it doesn't work right with Google Voice dial-thru. Is there a way to get them ported into Cyanogen 4.1.11.1?
Install_failed_already_exists
Interesting... trying to adb install HTCCamera.apk (taken from the Sprint Hero dump) into Cyanogen 4.1.11.1 fails with the message [INSTALL_FAILED_ALREADY_EXISTS]
Doing the same for HTCAlbum.apk gives the message [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

[QUESTION] *.apk Gets overwritten on Reboot

For some reason, on the G1 with AOSP1.6_r1.2 & expansion, When i write the new maps.apk (3.2) From Here, over the origonal GoogleMaps.apk, It installs Fine. And loads fine, But Once Android is rebooted, the old file comes back... Reminds me of microsoft's shadow copy..... Anybody have a clue on how to stop it or force a particular file????
are you replacing the file in system/app? since that is where most roms store maps?
david1171 said:
are you replacing the file in system/app? since that is where most roms store maps?
Click to expand...
Click to collapse
You are correct.. thats where my GoogleMaps.apk is.
if you are replacing that file, then you could try to remove it, then install maps like a normal app onto the data partition.
david1171 said:
if you are replacing that file, then you could try to remove it, then install maps like a normal app onto the data partition.
Click to expand...
Click to collapse
Im in the middle of trying that right now.... It installed again without problems, now just waiting for the reboot to test if it got overwritten.
EDIT - Still no luck.... Just keeps getting Overwritten..... Can i change the Name of the new Google Maps so it has a new icon???
Any ideas anyone? Is this in the Wrong Forum??????
did you rm the file from /system/app/ and install it like a normal app? did you copy the .apk file from your sdcard to its location in /system/app/?
do you need commands on how to do this?
I deleted system/app/GoogleMaps.apk , and watched it disappear from the app drawer. then Moved the new GoogleMaps.apk into data/app/ . Installed it and ran it no problem... can exit and even go back into 3.2 no problem. but as soon as i reboot,the original GoogleMaps.apk is back in system/app/ ..... so im clueless.
I just installed successfully by copying the file to /system/app/Maps.apk
... not GoogleMaps.apk
Technochris1 said:
I deleted system/app/GoogleMaps.apk , and watched it disappear from the app drawer. then Moved the new GoogleMaps.apk into data/app/ . Installed it and ran it no problem... can exit and even go back into 3.2 no problem. but as soon as i reboot,the original GoogleMaps.apk is back in system/app/ ..... so im clueless.
Click to expand...
Click to collapse
how are you deleting it?
do that in the recovery console and see if that works
Code:
mount system
rm /system/app/GoogleMaps.apk
reboot
did what you said, after reboot the old googlemaps.apk is still there......
ls /system/app
remove maps.apk
david1171 said:
ls /system/app
remove maps.apk
Click to expand...
Click to collapse
in recovery or terminal?
Technochris1 said:
in recovery or terminal?
Click to expand...
Click to collapse
in terminal
Code:
su
ls /system/app/
(will give you a long list of .apk files)
(find the correct name for maps.apk)
reboot recovery
then in the recovery console
Code:
mount system
rm /system/app/-insert appname form above-.apk
reboot
I just did the above and as soon as you reboot again the old google maps is back!
Perhaps you could copy the new maps over while in recovery after deleting the old one?
The Maps apk file is named "GoogleMaps.apk" btw.
Phil
Technochris1 said:
For some reason, on the G1 with AOSP1.6_r1.2 & expansion, When i write the new maps.apk (3.2) From Here, over the origonal GoogleMaps.apk, It installs Fine. And loads fine, But Once Android is rebooted, the old file comes back... Reminds me of microsoft's shadow copy..... Anybody have a clue on how to stop it or force a particular file????
Click to expand...
Click to collapse
I see you are running Enomther's ROM. I was having the same problem - it turns out that Enomther's ROM had an easy fix all along. Run expsetup in terminal and choose Option 15 - you can delete Google Maps right there (I took advantage of deleting a few other apps that I don't use at the same time).
Then just reboot - place your new GoogleMaps.apk in the /system/app folder and you are golden.
Thanks dude. Thats the solution to my question....
I posted in the other thread...It is in the following folder
/system/sd/expstick/vsapps/GoogleMaps.apk
I am running the new app and am on Enoms latest AOSP 1.6.
Great! That worked a treat. Got it working just fine.
Phil

SOLVED - Pull an APK from unrooted phone

I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!

Categories

Resources