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

Root [GUIDE] UOT Kitchen

zeest

Android Enthusiast
Background:

UOT Kitchen, at first glance, does not appear to work for our phone, the LG Motion 4G. However, I found an easy fix. First, I looked at the error logs for my failed attempts, and picked out the line that seemed to contain the error that was causing all the problems,

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

I then decided to google this complete line, and found this FrameworkFiles - android-apktool - Instructions on how to manage framework files - A tool for reverse engineering Android apk files - Google Project Hosting
Looking through our /system/framework folder, I saw that there were only two apk's, and decided to give it a shot.

Guide:

First make your theme as you normally would.

When you are finished and ready to upload files, choose upload system files.

For framework-res.apk, upload our framework-res.apk, found in /system/framework.

For SystemUI.apk, upload our SystemUI.apk, found in /system/app.

Now, this is the part that is different from normal:

For com.htc.resources.apk, upload our lg-res.apk, also found in /system/framework.

Leave twframework-res.apk blank.

Profit.


If you get an error 0 while flashing, see this post.
If that still doesn't work, just extract the files and replace them manually.

Do not use animations, admire samsung has discovered they cause errors.
Statusbar background images/colors also do not work.
 
Ohh that makes sense, any non vanilla android phone should need an extra apk because companies like LG place their own interface in the phone, I can't believe I didn't figure this out sooner xP Thanks! :D
 
While trying to flash my uot theme I keep getting a status 0 error anyone know what that is and how to fix it
 
While trying to flash my uot theme I keep getting a status 0 error anyone know what that is and how to fix it

WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)

Well at least that's what i get when i google, UOT Kitchen status 0.
 
If brooklyn's solution doesn't work, just replace the files manually, that is what I did.
 
It seems that fonts cause a boot loop. Anyone able to get them working right? If so, what method did you use, flash or copy?
 
Can someone help me with this??

Error log: UOT-02-05-23-46-1-SHTF.txt

Decompiling framework-res.apk UOT-02-05-23-46-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-02-05-23-46-1
I: Framework installed to: /root/apktool/framework/1.apk
resources.apk found
I: Framework installed to: /root/apktool/framework/2.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/2.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-02-05-23-46-1
W: Could not find sources
I: Building resources...
aapt: /lib/libz.so.1: no version information available (required by aapt)
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6089: error: Public symbol interpolator/accelerate_cubic declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6093: error: Public symbol interpolator/accelerate_decelerate declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6087: error: Public symbol interpolator/accelerate_quad declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6091: error: Public symbol interpolator/accelerate_quint declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6094: error: Public symbol interpolator/anticipate declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6096: error: Public symbol interpolator/anticipate_overshoot declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6097: error: Public symbol interpolator/bounce declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6099: error: Public symbol interpolator/cycle declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6090: error: Public symbol interpolator/decelerate_cubic declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6088: error: Public symbol interpolator/decelerate_quad declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6092: error: Public symbol interpolator/decelerate_quint declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6098: error: Public symbol interpolator/linear declared here is not defined.
/home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res/values/public.xml:6095: error: Public symbol interpolator/overshoot declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, /tmp/APKTOOL6929930707871882344.tmp, -x, -S, /home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, /tmp/APKTOOL6929930707871882344.tmp, -x, -S, /home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-02-05-23-46-1/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
 
It appears to be a server-side storage problem, "couldn't find sources." Sources would refer to the original systemui/framework-res, which it probably uses the headers from. How many times did you try, and what was the time range from the first to the last error?
 
Back
Top Bottom