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

Root UOT Kitchen - Theme chooser problem

barefootpilot

Well-Known Member
Made several custom themes based on the CM7 theme chooser 'Green Hornet' theme. Tried today to make a new one using the Hoolm battery and it failed. I uploaded the same .apk that I've used every time in the past. Anyone know if there's an obvious issue? The options on the file upload page seem to have got a whole lot more complicated recently...

Error log: from UOT:
Decompiling themer.apk UOT-06-22-09-35-1
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/mendozinas/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling themer.apk UOT-06-22-09-35-1
W: Could not find sources
I: Building resources...
/home/mendoza/port5/data/working_dir/UOT-06-22-09-35-1/th_dec/res/values/styles.xml:118: error: Error: Integer types not allowed (at 'android:measureWithLargestChild' with value '1').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6410778714222207267.tmp, -x, -I, /home/mendoza/apktool/framework/1.apk, -S, /home/mendoza/port5/data/working_dir/UOT-06-22-09-35-1/th_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-06-22-09-35-1/th_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6410778714222207267.tmp, -x, -I, /home/mendoza/apktool/framework/1.apk, -S, /home/mendoza/port5/data/working_dir/UOT-06-22-09-35-1/th_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-06-22-09-35-1/th_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
 
Some3 of the batteries do cause issues. There is a thread on XDA for this, but forget where it is. I think its in the general android themes forum rather than desire specific.
 
Gone right off the idea now - managed to create a theme and when I applied it it went into a Launcher Pro force close loop. Had to remove battery and restore backup (soooo glad I did that backup) to recover.

BTW, after battery removal my phone reset to 1 Jan 1980 - is this supposed to happen? Presumably because there is no way to 'save' the date without the battery, but I don't remember it happening before. Mind you I haven't had to remove the battery for a while now......
 
I dont know, my date is set to automativally update from the network so it is always right. Solid state memory no longer needs batteries to store information (hence when you pull the battery out, the rom is still on your phone), however I cant see how it would count without power. Ive never looked at the board, but like a PC maybe theres a very small battery unit to keep the date set?
 
I had a problem flashing my current uot theme the other day. I remove the animated background for the status bar and it worked.
 
I dont know, my date is set to automatically update from the network so it is always right.

Yeah, turned that off as it's annoying if you travel a lot since you never really know what time the phone is showing you, or what time to set your alarm for the next morning...
 
Back
Top Bottom