[Atrix 4G Themes and Apps] AlteredSineWave:
Whenever I attempt to push my edited framework-res.apk to my phone using Framework-Res Assistant, I get the following errors.

Do you want to install the latest framework-res.apk? [y/n] : y

shell su -c "mount -o rw,remount /dev/block/mmcblk0p12 /system"

Permission denied

shell su -c "mkdir /data/recovery"

Permission denied

push bin/push/framework-res.apk /data/recovery

failed to copy 'bin/push/framework-res.apk' to '/data/recovery': Permission deni

ed

shell su -c "cp /data/recovery/framework-res.apk /system/framework"

Permission denied

framework-res.apk installed....Rebooting now.

This might take some time. Be patient while your phone reboots.

Done.

Press any key to continue . . .

What am I doing wrong?

---------- Post added at 01:53 PM ---------- Previous post was at 01:40 PM ----------

Actually, I think whatever I am doing wrong is in the extraction/zipping step, because when I attempt to have APK Manager decompile my modified framework-res.apk, the log shows the following:

--------------------------------------------------------------------------

|Sun 12/18/2011 -- 12:36:07.04|

--------------------------------------------------------------------------

java version "1.6.0_29"

Java(TM) SE Runtime Environment (build 1.6.0_29-b11)

Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

I: Decoding resources...

I: Copying assets and libs...

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

The system cannot find the file specified.

The directory is not empty.

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

I: Decoding resources...

I: Copying assets and libs...

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000002, got=0x0000ffff

at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.nextChunkCheckType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Source)

at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)

at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)

at brut.androlib.Androlib.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.decode(Unknown Source)

at brut.apktool.Main.cmdDecode(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000002, got=0x0000ffff

at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.nextChunkCheckType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Source)

at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)

at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)

at brut.androlib.Androlib.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.decode(Unknown Source)

at brut.apktool.Main.cmdDecode(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

I: Decoding resources...

I: Copying assets and libs...

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Users\Jeff\Desktop\Atrix\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000002, got=0x0000ffff

at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.nextChunkCheckType(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)

at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Source)

at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)

at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)

at brut.androlib.Androlib.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.getResTable(Unknown Source)

at brut.androlib.ApkDecoder.decode(Unknown Source)

at brut.apktool.Main.cmdDecode(Unknown Source)

at brut.apktool.Main.main(Unknown Source)