Thanks, will do and report back - do you know whether the update script can in theory modify files within .apk?
EDIT: no luck so far as I can see on first attempt
EDIT: still no good even after I "unlocked" SystemUI.apk with SuperManager
I checked md5s - all files were gone from root but the html file within SystemUI.apk has not changed and is not the one included in your patch folder.
EDIT: final try - I extracted systemUK.apk from the ROM, used 7zip file managed on my PC to replace the html file within it (dragged and dropped it) and then placed this back in the system folder of your patch, in place of the folder you named SystemUI.apk
... SUCCESS
Beat me to the post on that one tried changing mine a few days ago but didn't have a stable build
(paranoid doesn't seem to like my sdcard):
Haven't looked into it properly but I believe the way portadroid builds update stuff is just by dumping whatever is in the root folder to the root (/) directory and overwritting whatever was there before, it's a crude but effective method
(fyi. I was also in the camp of copying the meta-inf folder into the root folder as a method of habit on the rare occasion I didn't change kernel/modules manually.) And this explains why putting the patch in the root folder does nothing of benefit. It should be possible to apply it using terminal/adb by looking at what commands would be enacted by the NAND guys using CWM.
But my approach would be the same as yours;
(similar to part of the procedure I explained for using V6superscript on ICT), I'll try to sum up on your behalf.
APK are essentially .zip files renamed to .apk and signed to a particular ROM (needs confirmation). With zip files most programs that extract them will also allow you just open them and view there contents; 7-zip definately works, ARK on Ubuntu and WinRAR may also work. By opening them and not extracting them it keeps the archive signed.
(It should be possible to simply unzip the file ammend it rezip it and resign it but thats unnecessary).
All that's required is to copy systemUI.apk from /system/app using adb or a root explorer.
(keep a copy just in case), open it with 7zip or similar. Replace the required file
(I believe its xml not html but no biggie). Copy/replace the file in /system/app and reboot.
First 2 files below replace ones in /res/layout-sw600dp located in systemUI.apk
1st one is for hidden power button. 2nd is for permenant menu.
3rd is for the blue buttons and needs to be unzipped like the others and the files added to /res/drawable-hdpi within framework-res.apk
(found within system/framework) NOT systemUI.apk
Currently trying it with 7zipper to see if it can be done on device, can't see why not.
On another note is every one using the same radio? 2.15.50? I've always had shocking battery life and haven't got round to trying different radios in a while, wouldn't mind some opinions.