[Q] [HELP] Unable to compile a theme for CM9...Please help - Galaxy S I9000 General

This is what i do:
I have tried this method with both Holo Green.apk by Ricardo and the Androidian.apk recently released for ICS.
1. Using APK manager for ICS provided by sonny sekhon, i decompiled the apk.
2. Compiled them back without making any changes at all.
3. Build, sign and installed the apk.
4. Got this error in Theme Chooser while applying the theme: "This theme was improperly compiled and cannot be applied. Please report this incident to the theme author."
Yes, the only solution i found and i have done this but it didn't work at all: Applied system theme>Reboot>Applied the custom theme>Reboot
It doesn't work for me. The error is still persistant. Attached below is my recompiled Androidian.apk with no changes done at all. Could some theme maker please point me out whats wrong?
Note:
Attachments are as follows:
signedAndroidian.apk=my recompiled apk
Androidian.apk=The original apk

Related

[Q] UOT Kitchen

Hey guys,
I might be barking up the wrong tree here, but I was hoping someone could help out a bit with using UOT Kitchen on a HTC Legend, running CM7 RC2.
I've run through the UOT Kitchen wizard without any issues (extracted and uploaded framework-res.apk and SystemUI.apk fine), and got a valid zip to apply the patch.
When applying though, I get the below error. This happens regardless of whether I try to apply via ROM Manager, or via Recovery.
-- Installing: SDCARD.UOT-ZC-xx-xx-xx-xx-x.zip
Finding update package...
Opening update package...
Installing update...
E:Error in /sdcard/UOT-ZC-xx-xx-xx-xx-x.zip
(Status 0)
Installation aborted.
I'm a relative newbie to much of this (but would like to think I'm sensible enough to do research before I ask stupid questions). I have heard UOT is primary designed for the Desire from some posts, however other posts have suggested its worked on their Legend without issues - so I'm not 100% sure that there's compatibility for my device or ROM.
So where am I going wrong here? Is this compatibility issue with the Legend, or with CM7, or just a user error?
Any help GREATLY appreciated!
both files that are required for uploading to UOT are odexed (ie, they come with odex file counterparts, which i've no idea whatsoever except that they're like extensions of the apk that came along w/ it) on cm7. merging altered apk's (ones in zip cooked and DL'd from UOT) with their original odex file counterparts (ones on your phone when you flashed cm7) are a no-no, from what i've read. so no dice, unless you can de-odex the whole rom...
I have the same problem, but my phone is LG P500 with Megatron ROM. I tried to get Sense - like notification bar, icons and new battery indicator. I'll be glad if someone will help me to solve this.
maxq1 said:
both files that are required for uploading to UOT are odexed (ie, they come with odex file counterparts, which i've no idea whatsoever except that they're like extensions of the apk that came along w/ it) on cm7. merging altered apk's (ones in zip cooked and DL'd from UOT) with their original odex file counterparts (ones on your phone when you flashed cm7) are a no-no, from what i've read. so no dice, unless you can de-odex the whole rom...
Click to expand...
Click to collapse
Ah, I was under the impression that CM7 was already deodexed. Apparently not.
I'll do some research and see if I can find a way to deodex the ROM. Cheers.
regarding to this problem, i'm curiouse if the CM 7 stable release has been de-odeoxed.
CM /system is odexed
Yeah, I found that out shortly after creating this thread. For the sake of future questions/searches, heres how I got UOT working:
Ended up getting it sorted by deodexing using xUltimate, then pushing the deodexed apk and jar files to my phone using adb.
Additionally, update-binary needs to be pulled out of the CM zip and copied into the cooked UOT zip (theres instructions for this on UOT's pickup page). UOT can then be flashed using recovery/ROM manager.

Help with Transparent Status Bar

Hi I'm having some trouble creating a modified SystemUI.apk for my Nexus 10 running CM10.1. I followed some guides on how to change the transparency of the status bar but when I tried to install the new apk, it says installation failed/aborted in CWM. Could someone check my modification and see if I'm doing it right?
What I changed: SystemUI/res/layout/super_status_bar.xml and changed android:background="#00000000"
SystemUI/res/values/drawables.xml and changed <item type="drawable" name="status_bar_background">#00000000</item>
After I recompiled, I unzipped the CM10.1 rom, replaced the systemui.apk with the new one, and then rezipped. When I tried to flash the new rom in CMW, it says failed/aborted.
Any help would be much appreciated. Thanks!
your changes are correct, so the problem is in the zip file. flash the rom without modifying the zip and then (maybe after the first boot) flash a zip with only the systemui.apk inside. use a zip downloaded into a nexus10 modding thread.
anyway i'm trying to get a transparent status bar too on my galaxy nexus and i can tell you that you also have to modify a smali file into SystemUI.apk.
In your case the file is
Code:
SystemUI/smali/com/android/systemui/statusbar/tablet/TabletStatusBar.smali
In my case it is
Code:
SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
but i don't know what to modify inside it (i found your thread while i was searching for a solution)
I'm currently running an unmodified CM10.1. I tried flashing just the SystemUI.apk as a zip but it fails/aborts also. Not sure whats causing the error.
Try to flash an unmodifyied SystemUI.apk. if it fails, the problem is the zip. Anyway without editing the smali file the status bar is still going to be black
Yeah I just extracted the stock systemui.apk, zipped it, tried flashing and it says failed/aborted. However, I was able to install the stock apk unzipped through the built in CM10 installer. Something is definitely wrong with my zipping...I tried installing the modified apk through the same manner and it failed however.
try with this. it is the zip that i usually use.
we are going OT
Now we're getting somewhere! The zip was able to flash! However, something is wrong with my systemui.apk as you predicted before. The status bar is indeed now transparent, however upon bootup, it says system UI has stopped. Pressing OK simply makes it pop up again. Reflashed the stock apk and now it's fine.Now just need to figure out how to correctly modify the apk. Thanks a bunch!
at the moment there are no guides for jelly bean so i suggest you to try another rom which allows status bar transparency (like aokp)
watch here and here man

Help needed - Decompiling LGSystemUI apk

Hello everybody.
I am trying to get 3minit battery mod working on OptimusG3 1.4.1 and for that I need to decompile my system ui. I use apkmultitool for Decompiling my apks but with this systemui it doesn't quote work. It gives an error when Decompiling normally alnd when choosing decompile system apk, it asks for a dependee apk. I tried giving it both framework-res.apk and lge-res.apk but none worked. I deodexed the systemui.
Can anybody please help, give me a hint of suggest a better working tool?
Sincerely vPro.

signing modified touchwiz

hii all..
I used to theme touchwiz for my S3 to look like s6..
after themeing I used to compile it with apktool and then zipalign and finally sign it with signApk..
it used to work fine..
Now I am trying to theme TouchWiz for my G900H.. but when I recompile, zipalign and sign the final apk as I used to do earlier it doesnt work.. Touchwiz doesnt install in recovery nor after I push it manually and set permissions..
where can be the problem ? what am I missing ?
P.S: I also used Advanced APK Tool v4.1 but same result..
please help if u can..
thanks
any help ??
Open the apk in 7zip, open original unmodified apk in 7zip as well, drag the unmodified apk's meta-inf folder to the modified one, should install now.
Sent from my SAMSUNG-SM-G900A using Tapatalk

Help compiling a samsung theme apk

I want to change a wallpaper from a theme instaled,
So i decompiled the wallpaper base apk, changed the wallpaper , compiled it back using apktool, signed it, replaced
It with root , but it says failed to instal, and the original one
Instals, what am i doing wrong?
Also tried recompiling the apk without changing the original wallpaper and replacing with root, still failed to instal. HELP?

Categories

Resources