Hi,
I was trying to get cyongen browser into my [Build]Android 2.2 Build FRG33 [ mccm v1.5a andriod built. To get that I copied the browser.apk from the cyongen to my this builts browser.apk in the system/app folder. I was able to over-write the file, but now browser icon disappered.
Following I have tried:
- Install the cyanogen browser using astro --> it installs but when i launch i get process com.android.browser error.
- I copied the original file before over-writing but when I try to install it using astro it gives me error.
Can some help me with this issue. I do not want to reinstall everything. Thank you
tinkoo81 said:
Hi,
I was trying to get cyongen browser into my [Build]Android 2.2 Build FRG33 [ mccm v1.5a andriod built. To get that I copied the browser.apk from the cyongen to my this builts browser.apk in the system/app folder. I was able to over-write the file, but now browser icon disappered.
Following I have tried:
- Install the cyanogen browser using astro --> it installs but when i launch i get process com.android.browser error.
- I copied the original file before over-writing but when I try to install it using astro it gives me error.
Can some help me with this issue. I do not want to reinstall everything. Thank you
Click to expand...
Click to collapse
this isnt really development related and should be posted in the android general section.
Do you have ABD setup? Or droid explorer?
If you have ADB setup, drop the browser.apk into your working tools folder then shift+right click on the tools folder, select open command prompt here and type the following (assuming your on windblows)
adb shell mount -o remount rw /system
adb push exactname.apk /system/app
adb shell reboot
Sorry for posting it to wrong section. I do not have ADB. I tried droid explorer but it did not work for my HD2.
what do you mean by it didnt work for you? Did it give an error?
I have windows 7 and I cannot install it. There seems to be some issue with droid explorer.
alright, I dont use droid explorer myself so not real sure..but all it does is gives you an interface for adb. Are you on windows 32 or 64 bit?
I am on Windows 64 bit. I got the old version working but When i connect my HD2 (in android), it does not recognize any devices. Thanks for helping.
Assuming your on windows 32 bit
go to this location
C:\Program Files\Droid Explorer\SDK
you should have a tools folder in the SDK folder?
If so, drop your apk into it and go back to the SDK directory. Then hold ****, and right click on the tools folder, open command prompt window here When it opens type in
adb devices
If that lists a number your good to go
type in
adb shell mount -o remount rw /system
adb push exactname.apk /system/app
adb shell reboot
EDIT : you posted as I was lol, Droid Explorer installs the same so the above commands should work.
Related
I didn't see a thread for this anywhere and it's not included in the rooting documentation so i figured I'd make one.
This will allow you to install apk files directly from the device, no need to adb them over. Just get the apk from the web or whatever source you want and install. Of course this is all assuming you have completed the current root process and have adb access already.
Thanks to godsfilth for finding these directions for the origninal nook.
1. Open a command prompt and navigate to your sdk tools folder
2. Run the following commands
Code:
C:\android-sdk-windows\tools>adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
C:\android-sdk-windows\tools>sqlite3 settings.db
sqlite> update secure set value=1 where name='install_non_market_apps';
sqlite> .q
C:\android-sdk-windows\tools>adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
3. Reboot
4. Install apps from NC without ADB.
You might have to restart your homescreen for the apps to show up, but i've had sucess with every app i've tried that is known working on the NC.
This was done on a Windows 7 x64 machine, although i'm sure it's the same or similiar for Linux and MUC OSx.
Also, sqlite3.exe was already in my sdk tools folder, if it's not for you then you can download from here.
Yep, and you can ADB install a file manager app, then just use the file manager to install anything else, from the SD card.
Bimboy said:
Yep, and you can ADB install a file manager app, then just use the file manager to install anything else, from the SD card.
Click to expand...
Click to collapse
So...the nook doesn't stop apps from deing installed if Iinstall them manger astro file Manger?
What is the command in sqllite to see if the db entry has been changed?
I copied & pasted your commands and after a reboot still get "Can't install downloaded apk"
I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?
sudermatt said:
So...the nook doesn't stop apps from deing installed if Iinstall them manger astro file Manger?
Click to expand...
Click to collapse
Once you enable this it will allow you to install the apps, it doesn't have anything to do with astro per se. You can just use astro to navigate to apks stored on your sd card. I use estrongs file manager myself and have installed apks from my sd card, dropbox and downloads from dolphin browser hd.
I'm getting the same error as everyone else.
I made the edits per your first post and pushed the file back to the NC. Then I rebooted. Placed an apk in the NC and tried to open it using Root Explorer. I try to install it and I get the "Installation of donwload apks is not supported" error.
barrosd12 said:
I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?
Click to expand...
Click to collapse
Slideme works perfect for me so you did something wrong. Not sure what though, I would just redo it.
lovelacer said:
What is the command in sqllite to see if the db entry has been changed?
I copied & pasted your commands and after a reboot still get "Can't install downloaded apk"
Click to expand...
Click to collapse
just use
Code:
sqlite3 settings.db ".dump"
and then scroll down and look for INSERT INTO "secure" VALUES(4,'install_non_market_apps','1'); you want a 1 there at the end.
barrosd12 said:
I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?
Click to expand...
Click to collapse
look in your tools folder for the settings.db file and check the modified by time and make sure the change you are making is made.
To clarify if there's a misunderstanding the path info and text before the > in the commands is just what you would see in your command prompt. the actual commands are after the >. These are the actual commands.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
sqlite3 settings.db
update secure set value=1 where name='install_non_market_apps';
.q
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
What command did you have to alter?
also, maybe try
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
to push... I didn't have any problem with the other command and both appear to work for me.
Oh none, your commands worked awesomely, I just had to yank the folder designations that were there, which you've now done for everyone, so thanks!
I think it might be a problem somewhere else, I'm re-doing everything right now, I'll let everyone know
Ran these commands again with the additional adb push and still no dice. I checked to see that the db entry had been updated and it correctly has the install non market apps set to 1. I'm using root explorer as well I'll try estrongs as you have. Thanks for the help.
lovelacer said:
Ran these commands again with the additional adb push and still no dice. I checked to see that the db entry had been updated and it correctly has the install non market apps set to 1. I'm using root explorer as well I'll try estrongs as you have. Thanks for the help.
Click to expand...
Click to collapse
Confirmed now that SlideMe is not the issue - the settings are all correct on the PC, I can't confirm these settings for the NC. I tried re-adb-pushing and still no cigar here either. I'm getting app rejections from any source, downloaded on the NC and the SD card. Any idea what could be wrong?
Ok, definitely isolated the problem now.
I pull the settings from the NC, modify them, and everything works great, then it refuses to push it back, but says it succeeds, or something to this effect, because whenever I pull the file back from the NC, it says value=0
barrosd12 said:
Confirmed now that SlideMe is not the issue - the settings are all correct on the PC, I can't confirm these settings for the NC. I tried re-adb-pushing and still no cigar here either. I'm getting app rejections from any source, downloaded on the NC and the SD card. Any idea what could be wrong?
Click to expand...
Click to collapse
Not sure, I've got it working using this method on 3 different NCs myself. The only thing i can think of is that i had already installed estrongs file manager and a few other games before doing it. Maybe try using adb to install estrongs or astro and see if it will let you then.
estrongs i'm using: www mediafire com ?sxw6adfzvyp250m
astro: www mediafire com ?05scsbrnx2wfw4v
Novaglarion said:
Not sure, I've got it working using this method on 3 different NCs myself. The only thing i can think of is that i had already installed estrongs file manager and a few other games before doing it. Maybe try using adb to install estrongs or astro and see if it will let you then.
estrongs i'm using: www mediafire com ?sxw6adfzvyp250m
astro: www mediafire com ?05scsbrnx2wfw4v
Click to expand...
Click to collapse
Thanks for the file links - I'll give them a try, I really think the problem though is that the NC keeps resetting the value I push back for the non-market apps. I have no idea why it's doing this...
barrosd12 said:
Thanks for the file links - I'll give them a try, I really think the problem though is that the NC keeps resetting the value I push back for the non-market apps. I have no idea why it's doing this...
Click to expand...
Click to collapse
try pulling it back right after pushing the modified one, before rebooting, and see if it's even pushing correctly at all. If it is then being reset on reboot i don't know what the issue is.
Novaglarion, I am not able to do it either.
When you say "reboot", is that the same as power off and on?
boret said:
Novaglarion, I am not able to do it either.
When you say "reboot", is that the same as power off and on?
Click to expand...
Click to collapse
yes, the same.
make sure you're pushing the modified db file to /data/data/com.android.providers.settings/databases not to /data/data/com.android.providers.settings
it needs to be in the databases folder so it overwrites the original
bular211 said:
make sure you're pushing the modified db file to /data/data/com.android.providers.settings/databases not to /data/data/com.android.providers.settings
it needs to be in the databases folder so it overwrites the original
Click to expand...
Click to collapse
DAMN YOU!!!! such a simple thing and i missed it! You are correct. I'll update the original commands. Thanks for the good catch there.
http://android.modaco.com/content/d...333107/honeycomb-boot-animation/#entry1614170
Big props to User Error for modifying this for the Dell Streak! Head over to Modaco to d/l.
Not the Streak, but you get the idea. Skip to 35 sec in:
Install by copying to /data/local. Full instructions from fone_fanatic:
fone_fanatic said:
3 Options to install.
First step: Extract downloaded .zip file to reveal "bootanimation.zip"
1. ADB
Navigate to the folder containing "bootanimation.zip" in terminal/command prompt.
Type the following
Code:
adb push bootanimation.zip /Data/Local
Then to test, set your device so display is in landscape (will not display properly if you have it on portrait and test it but will display fine either way on boot)
Code:
adb shell bootanimation
2. Root Explorer
Copy "bootanimation.zip" to your SD card
On your Streak open up Root Explorer (or any other app that allows you to copy paste to the internal memory)
Copy "bootanimation.zip" and paste it to /Data/Local
3. Terminal Emulator
thanks nickshertzer, his directions are for drop box but can easily be manipulated for simply copying the bootanimation.zip to your SDcard
nickshertzer said:
BTW, if you don't have / want to get out that sync cable for ADB, use dropbox & Terminal Emulator. Make sure you download the .zip using dropbox longpress first before running following command (requires Busybox / can't remember if it is installed default on Steve's ROM)
Code:
su
cp /sdcard/dropbox/bootanimation.zip /data/local/
reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Enjoy
Click to expand...
Click to collapse
Oh, and Switched DownloadSquad has posted the Android 3.0 SDK Honeycomb Wallpaper grabs without need to sign up / sign in:
http://downloadsquad.switched.com/2011/02/23/download-android-3-0-honeycomb-wallpaper-images/
nickshertzer said:
http://android.modaco.com/content/d...333107/honeycomb-boot-animation/#entry1614170
Big props to User Error for modifying this for the Dell Streak! Head over to Modaco to d/l.
Not the Streak, but you get the idea. Skip to 35 sec in:
Install by copying to /data/local. Full instructions from fone_fanatic:
Click to expand...
Click to collapse
Tried installing using terminal emulator, does not work, just used root explorer to copy and paste. Liked it!
Thanks like the look of this, will give it a try and report back
works great on my dell streak. just doesn't have that blue bee.
thx alod... i love the bootanimation...
works well. would be nice if it was a higher rez though. some pixely parts here and there
Dear All,
I have been accidentally move the /system/bin/sh file to my SD card,
now, all my app which need root was not function..
What should I do now...?
Please help..... T_T
Move it back.
thankz for reply..
But, any suggestion to move back?
cause now I can't move it back via my phone file manager as the sh file was a
read only file..
Please advise any suggestion that how i can move back
really need advise...
peter tham said:
thankz for reply..
But, any suggestion to move back?
cause now I can't move it back via my phone file manager as the sh file was a
read only file..
Please advise any suggestion that how i can move back
really need advise...
Click to expand...
Click to collapse
You can probably use adb or Terminal Emulator (Free on market) directly on your phone.
Regards
SprigganMaster said:
You can probably use adb or Terminal Emulator (Free on market) directly on your phone.
Regards
Click to expand...
Click to collapse
Dear SprigganMaster,if I use terminal emulator,what was the initial command?
Cause the 'sh' file I move from system,it seem like a script ,and when I open the scree of emulator,I can't type any things...
For your info,I move the 'sh' file from /system /bin/ folder to my SD card /folder.
by using apk root explore,as a result,without the 'sh' script file in /system/bin folder,when I can't access to root explore anymore-force close.
Then I can't move back the 'sh' file to the system/bin folder.
All those root apk does not work anymore...
Now,I am trying my best to get a way to move back the 'sh' file (which is read only file) to my system folder...
Can u guide me about it? Using terminal emulator or any alternative way to move back the file into system?
Waiting your prompt reply and really appreciate it.
Thankz....^^
Hello peter tham,
Please note : my phone is not rooted. I can't try these solutions and I'm quite new to android. Maybe someone with more experience could help you.
I'm not sure if Terminal Emulator use the sh file too but we can try...
To move file, the command is mv.
To copy a file, the command is cp.
Adapt this command with the correct folder where you put the sh file :
Code:
cp /FOLDER/sh /system/bin/
You will need to be root to copy a file to /system folder.
Usually, to gain root privileges, you use the command su.
If Terminal Emulator does not work, you can try with adb.
1- Download sh file to your computer.
2- open a shell (on windows : cmd, on linux whatever you're using as shell)
3- plug your phone in Charge Only mode with USB debuging On
4- Push the file with a command like this one :
Code:
adb push foo.txt /sdcard/foo.txt
adb push <local> <remote>
You can find more info on adb here :
http://wiki.cyanogenmod.com/wiki/ADB
and here :
http://developer.android.com/guide/developing/tools/adb.html
Good Luck
Hello XDA members! i need some help from the experts.
I recently played with my phone and modify the system/apps, I was trying to delete bloatwares and useless applications, and I deleted DefaultContainerService.apk. Since my phone needs a "refreshment", I factory reset it. So Yeah... I have no root explorer or any file explorer to move the default container service to the system/apps again, all I have is the Default System Apps: Camera, gallery, phone, Messaging, play Store, Browser, etc.
I CAN'T INSTALL ANY APPS, AND I'M STUCK LIKE THIS FOR 4 DAYS NOW. PLEASE GET ME IMMEDIATE HELP!
{SOLVED!!!}
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
DataUnit said:
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
Click to expand...
Click to collapse
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Pegasus195 said:
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Click to expand...
Click to collapse
If when you go to use ADB it doesn't show any connected devices (First make sure your device is plugged in to your computer, and USB debugging is enabled in developer options) make sure you have installed the proper USB drivers for your device. ADB will not see the device if the devices USB drivers are not installed.
Sent from my Nexus 10 using xda premium
shimp208 said:
If when you go to use ADB it doesn't show any connected devices (First make sure your device is plugged in to your computer, and USB debugging is enabled in developer options) make sure you have installed the proper USB drivers for your device. ADB will not see the device if the devices USB drivers are not installed.
Sent from my Nexus 10 using xda premium
Click to expand...
Click to collapse
before I typed in "adb shell", i tried "adb devices", and it appears, but after I write adb shell, it disappears.
Pegasus195 said:
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Click to expand...
Click to collapse
I don't know! it should worked, i have same problems but i always use this way to copy files to my /system partition.
If you are on windows and you have the original Google's ADB Driver installed, go to "Device Manager" and see if you have any devices under "Unknown devices" section.
* If there was any devices, you should select it and right click on it.
* Select "Update Driver".
* In the opened window, choose "Let me choose my driver".
* Select show all devices.
* Select "Google" in left section and "Android Adb interface" in right section.
* Update the driver using this method.
* Now, it should works.
Pegasus195 said:
before I typed in "adb shell", i tried "adb devices", and it appears, but after I write adb shell, it disappears.
Click to expand...
Click to collapse
When you type adb shell are you given a shell prompt? Either a new command line beginning with "$" or "#"? Once you type adb shell if you get a shell prompt that's normal and the adb devices command will no longer work until you exit the shell. Also, if you are given a shell prompt when you type adb shell your device is connected.
Sent from my SCH-I535 using xda premium
I've finally Restored My Phone! Thank You Guys for helping me! I've thanked all of you, you have saved my phone!
Hi everyone...
I need some help.... I m on suvi v6 Jupiter rom n I accidently deleted my defaultcontainerservice. Apk from root directory to solve installation problem of some Apk... But after deleting this Apk I m unable to install any of the Apk.....
So how can I get back defaultcontainerservice.apk if someone have it for mmx a110 can u Plz upload defaultcontainerservice.apk for me I m in serious need of some software to be installed.... Thanks for the help in advance......
Sent from my Micromax A110 using xda premium
ONE LOVE said:
Hi everyone...
I need some help.... I m on suvi v6 Jupiter rom n I accidently deleted my defaultcontainerservice. Apk from root directory to solve installation problem of some Apk... But after deleting this Apk I m unable to install any of the Apk.....
So how can I get back defaultcontainerservice.apk if someone have it for mmx a110 can u Plz upload defaultcontainerservice.apk for me I m in serious need of some software to be installed.... Thanks for the help in advance......
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Here's the APK: http://d-h.st/PXm
Thanks bro.......
Sent from my Micromax A110 using xda premium
DataUnit said:
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
Click to expand...
Click to collapse
I have same problem here. How to install busybox because I cannot install anything T_T
WORKS ONLY with ROOTED Devices.
If your device is not rooted, email me (address on the bottom of the message).
Download ES File Explorer (.APK) from Google and out it somewhere reachable on your PC.
Download Defaultcontainerservice(.APK) and put it on your SD Card.
Plug your device to your PC using the USB DEBUGGING MODE.
Download Android Commander from Google, run it, and from there, you should see your device files.
From left panel, go to your ES File Explorer (.APK) and install it to /system/app to the right.
Once installed, unplug your phone, ES File Explorer should be installed on your device; then, run it.
Click on the blue device icon from top left, swipe down and go check ON on Root Explorer (by clicking the ON button) and then click on Root Explorer (The name itself).
From there go to SD card and copy your Defaultcontainerservice(.APK) and then go to DEVICE /system/app/ and copy it there.
Restart your phone and you should be just fine.
If you encounter any issues, email me at [email protected].
Hope this helped. Bye.
I am Brazilian and I'm having the same problem
I deleted DefaultContainerService.apk and now I'm having trouble downloading anything and other problems , please help me...
Hi all-
I have unknowingly renamed the framework-res.apk file to framework-res.bak, following the suggestion of a website (who had said to copy the file over, not rename it). I had no idea that would make the phone instantly useless, and render everything inoperative
I was rooted. All I need to do is copy the backup back over, but how?
I am able to get into CMM-based Recovery v5.0.2.7 and can mount the system directory and see it on my PC, but for some reason the framework directory is invisible. There is talk on the web about getting to a prompt and typing:
adb push framework-res.apk /system/framework/framework-res.apk
But how in the world do you get to a prompt? I don't see it on any menu, anywhere and the adb command is unrecognized on my OS.
Hoping I'm not ruined...... thanks for any advice.
Samsung Captivate Glide Android 2.3, Ubuntu
To get ADB, you first have to install the Android SDK.
http://developer.android.com/sdk/index.html
Then, you have to put ADB in the PATH variable.
http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/
After that, you can just type adb in the command prompt and it should work.
Hi,
I downloaded the SDK tools and got the adb command, but when I mount the phone with recovery I still don't see any framework directory.
I got to DOS and navigated to the directory where my copied framework-res.apk file was, and ran:
c:\adb\adb push framework-res.apk L:\framework\framework-res.apk
it replied with:
1319 kb/s (7979827 bytes in 5.905s)
However, then I rebooted the phone and it won't get past the SAMSUNG screen at all, it just sits there forever.
- why can't I see the framework directory, even though I have mounted it through CWM based recovery?
- can I see it using the ADB tools?
- has just copying the copied file back over, destroyed the cell phone? I can't possibly see how.
Thanks for any help
OK I found out the problem.
you need to use forward slashes and put the whole pathname in:
C:\adb\adb push framework-res.apk /system/framework/framework-res.apk
Thats assuming you have the adb command in the c:\adb directory.
It seems the phone is working again.
WHEW! Man that file is dangerous. be warned.