Pushing Ted's Settings.apk cause FCs - G1 Q&A, Help & Troubleshooting

I'm on cyanogen 4.01 and I'm trying to nick the nice power widget out of Ted's theme.
I run a terminal prompt and change to the tools folder. I then do the following
adb remount
adb push Settings.apk /system/app (which returns a success and speed)
adb shell reboot
which reboots the phone. When I get back into the OS, I try adding the power widget but i just get acore FC's when I choose Widgets.
Any ideas why I can't pinch this cool widget?
I've tried it on a wiped and freshly flashed CM4.01 with no other themes or software installed.
I'm using linux, in case that makes any difference to people's responses...
Cheers,
Smiffy.

i have noticed that you can't push Settings.apk but if you put in a theme or a rom then sign it and flash it that it will work.

Related

Facebook won't uninstall

I installed facebook from the market and now it won't uninstall. I am using Cyanogen 4.2.5 and the Nabzihero 2.8 theme on a MT3G.
So, a little back story. I installed the theme a week ago. I noticed the the sterricson lock screen conflicted with SMS popup, so I decided to change back to the stock theme. I went and reflashed the rom and when I did android said that Facebook wasn't installed, but he market says it is.
I rolled back to my latest nandroid backup and the app works again, but it won't let me uninstall it. Neither through the market or the application screen in settings. I'm at a loss as to how to get the app off my phone. I'm sure there's a way through the terminal, but I don't know how.
ok, so first, sometimes the market and android conflict - now depending on your nandroid, did the rom have facebook app included? if so, this will be why you cant update/remove and why market says its there -
some roms have it included thus it is located in /system/app which will not allow you to delete it through the app manager.
plug your phone into your computer and do the following from terminal/command prompt
adb remount
adb shell
rm /system/app/Facebook.apk
then, reboot and you will be able to install facebook from the market
byt3b0mb said:
ok, so first, sometimes the market and android conflict - now depending on your nandroid, did the rom have facebook app included? if so, this will be why you cant update/remove and why market says its there -
some roms have it included thus it is located in /system/app which will not allow you to delete it through the app manager.
plug your phone into your computer and do the following from terminal/command prompt
adb remount
adb shell
rm /system/app/Facebook.apk
then, reboot and you will be able to install facebook from the market
Click to expand...
Click to collapse
This helps out a lot. It turns out that the theme I had installed did have facebook in it. That's fixed it, though. Thanks a bunch!

Froyo Launcher2.apk

Hi all,
I personally really like the default Launcher2.apk from froyo, however unfortunately Cyanogen has now only included ADW.Launcher in cm6. After upgrading to cm6-rc1, I'm having trouble locating a copy of a Launcher2.apk from froyo.
As my phone's bootloader is not unlocked, it'll be a large hassle for me to go back to stock, and upgrade just to get Launcher2.apk...
I was wondering whether someone could post their stock /system/app/Launcher2.apk from an FRF91 install, to save me the trouble.
If you have adb installed, the command should just be:
adb pull /system/bin/Launcher2.apk
Cheers, Xanium
remote object '/system/bin/Launcher2.apk' does not exist
Just pull it from a stock rom and push it back overwriting ADW.
Mine had trouble seeing it. I tried a version I compiled myself from AOSP, as well as a resigned one from a deodexed FRF91 rom without success. I'm sure I missed something. I don't know what though. I've replaced the launcher in older CM versions with my own modified one without issues.
If you download CM6 from ROM manager you can choose to install with ADWLauncher or Launcher2
Launcher2.apk and Launcher2.odex are located at system/app. not at system/bin
theherodrownd said:
If you download CM6 from ROM manager you can choose to install with ADWLauncher or Launcher2
Click to expand...
Click to collapse
Really? Awesome. I guess I'll have to try that.
Here is a stock AOSP build of Launcher2.apk.
EDIT: Rom Manager didn't allow me to select launcher. The file I linked to above worked fine though. Just reboot and it will default to Launcher2. The ADWLauncher entry in the Settings app will disappear as well.
I made an update.zip (for hdpi-devices) to make replacing the launcher easy for future upgrades. It just adds Launcher2.apk and removes ADWLauncher.apk.
Launcher2 just keeps FC on my G1. I'm using CM6-RC1.
I installed like:
adb .\Launcher2.apk /system/app/Launcher2.apk
adb reboot
Phone boots but launcher just keeps crashing. Do I have to do some kind of wipe to get this to work? Does anyone have Launcher2 working on CM6-RC1?
EDIT: Perhaps I need to uninstall the old ADW launcher? I rm'd it from /system/app but another post suggested using pm unsinstall com.android.launcher. I haven't tried that.
neolith_god said:
Launcher2 just keeps FC on my G1. I'm using CM6-RC1.
I installed like:
adb .\Launcher2.apk /system/app/Launcher2.apk
adb reboot
Phone boots but launcher just keeps crashing. Do I have to do some kind of wipe to get this to work? Does anyone have Launcher2 working on CM6-RC1?
EDIT: Perhaps I need to uninstall the old ADW launcher? I rm'd it from /system/app but another post suggested using pm unsinstall com.android.launcher. I haven't tried that.
Click to expand...
Click to collapse
You need Launcher2 built from AOSP for mdpi. The one in my post is for hdpi. I forgot to mention that.
I get an error in Amon-Ra Recovery when trying to flash your zip file (nexus one, CMod RC2/nightly), Blunden.
Code:
E: can't open /sdcard/replace-launcher-signed.zip (bad)
Any ideas? I tried the manual uninstall of ADW and installation of Launcher2.apk but Launcher2.apk says it won't install.
Never mind. I downloaded your AOSP-compiled version of launcher.apk and it worked without a hitch. I must have had a corrupted file when I tried to install before. Thanks for posting the files!
no you cant
blunden said:
I made an update.zip (for hdpi-devices) to make replacing the launcher easy for future upgrades. It just adds Launcher2.apk and removes ADWLauncher.apk.
Click to expand...
Click to collapse
Any chance to re-upload the File?
Seems that mediafire refuse the request?!
Thanks!
Download Super manager from the market not astro or anything and put the Launcher.apk on your SCcard and then open super manager tap on the red square with the sdcard on it and u will see Launcher with the Launcher icon, tap it and press install and your good
hope this helped
Download works fine again
Thanks!

Where To Find Pre-Installed App's and Widgets?

I just flashed my phone with the damage control ROM. At first all was well, I power cycled my phone and all my widgets and apps were gone, still installed but not on my home screen. I tried to reload all my widgets and I noticed they weren't there. Is their anyway to get the Sprint Hero Widgets that were factory installed?
-Dave
This involves a few steps but it will definitely work:
1. Unzip/Extract the DamageControl ROM you were using onto your PC using some type of unzipping tool.
2. Double-click through folders and find the /system/app folder.
3. All the widget and app .apk's will be in there.
4. Copy/paste any of the ones you want to put back onto your phone from that folder into your c:\android-sdk-windows\tools folder.
5. Open your Command Prompt and navigate to this android-sdk-windows\tools folder from cmd line
6. Then push these files via adb to /system/app
Code:
adb remount
adb push HtcBlahBlahWidget.apk /system/app
or
Code:
adb install HtcBlahBlahWidget.apk
Do either one of those commands for any of the apps and widgets you want to install.
I'm sure there is a flashable .zip out there that will install lots of those apps for you, so feel free to search around and find a simpler method than this. But this one will definitely work and you will only install exactly the stuff you want.
Zero4488 said:
I just flashed my phone with the damage control ROM. At first all was well, I power cycled my phone and all my widgets and apps were gone, still installed but not on my home screen. I tried to reload all my widgets and I noticed they weren't there. Is their anyway to get the Sprint Hero Widgets that were factory installed?
-Dave
Click to expand...
Click to collapse
There was a bug at one point in time that stopped the widgets from showing up in the widget list.
Go into Applications find HTC Sense select it and clear data/cache
Try to add the widget again - if it was installed it should show up now.
I really figured that would have been fixed by now - but damage moved on months ago the the evo - maybe he is not updating any more.
Kcarpenter said:
There was a bug at one point in time that stopped the widgets from showing up in the widget list.
Go into Applications find HTC Sense select it and clear data/cache
Try to add the widget again - if it was installed it should show up now.
I really figured that would have been fixed by now - but damage moved on months ago the the evo - maybe he is not updating any more.
Click to expand...
Click to collapse
That was it....thanks so much.....

AOSP Calendar Files Attached

Those of you that want to get rid of the Touchwiz calendar for the AOSP variety can download these two files.
Just download to your computer and put in the root of your main directory.
connect your device via usb
adb push c:\Calendar.apk /sdcard
adb push c:\CalendarProvider.apk /sdcard
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
busybox cp /sdcard/Calendar.apk /system/app
busybox cp /sdcard/CalendarProvider.apk /system/app
cd /system/app
rm TouchWizCalendarProvider.apk
rm TouchWizCalendar.apk
exit
adb reboot
On reboot they will be there. I did this without any issues. Enjoy.
Display isn't quite right but its still much better than the touch wiz one.
Hmm. I don't know if I did something wrong but My calendar is completely gone, AOSP, Touchwiz, or otherwize. Would you mind pulling the stock APK& ODEX files and sharing them here for me?
TIA
Am I doing something wrong here. I reflashed my phone back to factory and did this again, step by step copying/pasting what you put and I have no calendar. Hmmm.
Did you reboot?
You have to reboot or the change never loads.
You also may need a deodexed rom something I haven't released yet but will be soon. That would be the only other difference. Maybe ill release it tonight depending on how things go.
All the odex and deodexed apks can be downloaded here
http://forum.xda-developers.com/showthread.php?t=773142
Yes I rebooted every time after I copied it over. I tried it again just copying the files over into the system/app folder without deleting hte TouchWiz calendar and it still would not show up.
Must be the deodexed framework then. I should have the rom finished tonight depending on how things go.
Yeah same problem here with the calendar not showing up. Root Explorer shows Calendar.apk and CalendarProvider.apk are both in /system/app like they should be, but they don't appear in the list of apps and when I try to install them they don't install either.
Now downloading the Megaupload file of the original apps so I can get a calendar of some kind. The only thing I really hate about the Samsung calendar is that it defaults to a locally stored "My Calendar" that doesn't sync with anything and is completely useless. And you can't delete My Calendar or even make it not the default, you can only hide it. Stupid stupid stupid, but at least you can work around it.
EDIT: Wait, could this work if I had the Calendar.odex and CalendarProvider.odex files? I'm not running a custom rom so I think I need the odex files. Not sure though, the whole thing is a bit confusing to me.
I installed your deodex'd ROM and still doesnt work (http://forum.xda-developers.com/showthread.php?t=783031)
Same issue as before. I boot up, ADB in, SU, remount, copy the Calendar APK's, delete the TouchWiz Calendar APKs, reboot, and no calendar at all in the phone.
Is you recently released ROm compatible with these AOSP APK's?
OK I got it to work. Woot. I used the directions and files here:
http://forum.xda-developers.com/showthread.php?t=735035
And it works perfect. I am so happy to have the factory Calendar back and be able to share calendar events via Gmail again. Woot!!!!!!!!
What I cannot help but wonder though, will this work on a non-deodexed rom. ie, Factory ROM with root installed. I defeintely have to isntall this on my wifes phone but I just do not know if I need to flash the deodexed ROM on her phone.
Woot.
This tutorial is missing this....
Go into manage applications. Filter to all. Uninstall com.android.calendar.apk and com.android.provider.calendar.apk. Reboot again

[CM7] Settings Touchwiz Theme

OK. So I was getting bored with the gray icons in the settings menu so I decided to change them up. First thing that came to mind was the TouchWiz icons, so I pulled the icons from there to use in CM.
So this is for CM7 only and to install just push the apk to /system/app/
To install through adb type:
adb remount
adb push "Drag file here" /system/app/Settings.apk
OR with root explorer:
1. Copy the apk to your sdcard
2. With root explorer move the apk to /system/app/
Hope you enjoy (its my first real upload, and its not much)
Ohhh and I'm not responsible for anyone bricking theirs phones or who need a wipe because of this, although I don't really see how that is possible... lol
Something is wrong with the display button in settings. It force closes once you hit brightness.
Hmmm... let me look into it...
works great in my lg gt540 ! But don't forget to reboot your phone.
Maybe I'm missing something but I did what u said but it bricked my phone. I used root explorer to put the apk in system/app and it copied over the stock system.apk, rebooted and the phone was bricked.
I was able to reflash in recovery and the phone is fine now but I tried a bunch of other ways and I can't install the touchwiz settings... What am I doing wrong?
Sent from my HTC Vision with CM7-RC4
I got it to work finally.
I copied the apk over the stock apk with Root Explorer, mounted R/W, changed the persmisions for the new settings apk (i allowed all), mounted R/O, rebooted and it worked.
Thanks the colored settings are really awesome!!!
FC's on wireless & networks setting
i flashed the latest cm7 version for my milestone
and added this aswell after but when i click on wireless & networks it FC's =[

Categories

Resources