• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root adb push framework-res.apk problem

Rafalema

Member
Hello..

So I've made some mods to the framework-res.apk, and I'm now trying to push it back. However, everytime I try to push it, the comp thinks for a while and then reports

"failed to copy 'framework-res.apk' to 'system/framework/framework-res.apk' : Directory not empty"

This is what I input when I get this:

"adb push framework-res.apk system/framework"

I've also checked my internal phone memory- 49.12mb left so I don't think I'm really out of memory.

And for the sake of it, I should mention that whatever application I pull/want to push, I need to put it to C:/Windows/sysWOW64/ to get the commands to work.

I'm on W7.

I know I could just mod the rom and reflash it, but I don't like the restore process.


Also it shall be put out that I did a .zip file with modded framework, camera, contacts, and phone app, I edited both the signing-files and the installer script files to match my needs. After I flashed that however, my camera, contacts, and phone disappeared and framework was normal as usual. I did a full restore from recovery.

Any ideas?

Thanks! :)
 
Try:

"adb push framework-res.apk /system/framework/framework-res.apk"

You've written "system" rather than "/system", which is a significant difference in unix addressing.

Also have a look in the adb and fastboot FAQ, where pushing framework is one of the examples.
 
Back
Top Bottom