UOT Kitchen GUIDE - HTC ChaCha

Hi xda members,
Can anayone post right files to cook a file in UOT Kitchen? And maybe a simple guide?
Framework-res.apk
systemUI.apk
com.htc.recources.apk
When i cook with my own files i get a SHTF error.
Greetz,
Para

SHTF error happens when the kitchen was not able de-compile the apk files, and this may be due to the file is framwork is already patched by the developer or the file is corrupt.

So if if im correct.. i have to use the original apk files form the original factory rom?
Where can i find thse files?

paramaribo said:
So if if im correct.. i have to use the original apk files form the original factory rom?
Where can i find thse files?
Click to expand...
Click to collapse
No. you have to get the files from your device, if it does not work see the rom build info of your device and use the files from the same build from other custom rom.
Make sure you do a backup before so that you can restore back.

Ive never got the theme Chooser option to work always have to send files from phone
sent usin' tapatalk innit.

Related

Theming files?

Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn

UOT Kitchen Question

I've created a few mods in the Kitchen for the Unity Rom and have a couple things I need help on. I flash the zip and part of the mods work but not all of them. I changed the battery but it only changes on my phone when I charge it. I used the 1.24 Rom they have listed and I have 1,25. Could this be causing an issue or am i doing something wrong.
louslugger15 said:
I've created a few mods in the Kitchen for the Unity Rom and have a couple things I need help on. I flash the zip and part of the mods work but not all of them. I changed the battery but it only changes on my phone when I charge it. I used the 1.24 Rom they have listed and I have 1,25. Could this be causing an issue or am i doing something wrong.
Click to expand...
Click to collapse
Instead of choosing the rom from the list, just upload a copy of your framework-res.apk and the systemUI.apk. That takes away some of the guesswork. Also add the com.htc.resources.apk if you are running a sense rom.
louslugger15 said:
I've created a few mods in the Kitchen for the Unity Rom and have a couple things I need help on. I flash the zip and part of the mods work but not all of them. I changed the battery but it only changes on my phone when I charge it. I used the 1.24 Rom they have listed and I have 1,25. Could this be causing an issue or am i doing something wrong.
Click to expand...
Click to collapse
It could be.
Whenever I have trouble with the UOT Kitchen...I upload my own files instead of using the files they have.
Try uploading your own framework-res.apk and systemui.apk. I think if its a Gingerbread sense ROM you also have one more file you have to upload.
From the UOT Kitchen How To:
Files you need to upload:
Froyo rom: framework-res.apk
Gingerbread rom: framework-res.apk and SystemUI.apk
Gingerbread with sense rom: framework-res.apk, SystemUI.apk and com.htc.resources.apk
Cyanogenmod7 rom: Cyanbread.apk or Androidian.apk or any theme for ThemeChooser (rename as you like it to apear in theme menu)
How do I upload these files. I'm still somewhat new to this.
louslugger15 said:
How do I upload these files. I'm still somewhat new to this.
Click to expand...
Click to collapse
download Root Explorer or File Expert from the Market (I personally use File Expert...its a free app...does everything Root Explorer does). Navigate to your Root directory...thats where you will find these files. When you find them...copy and paste them to your desktop. That way when you get to that point with the Kitchen, you can easily find them to upload.
I had the same problem. You need to disable the battery percentages in the build.prop file. See the OP and then reboot. Problem solved.
Sent from my Inspire 4G using XDA App

Help needed for UOT Kitchen

Does anyone know hoe to make themes for gingerbread in UOT Kitchen?
When it comes to "file upload", I dont know what to do.
Please help.
If you have a gingerbread ROM then you have to unzip the ROM file you flashed and go into the folders (/system/framework and /system/app) To find the 2 files it requires.
If its froyo then only the frameworkres.apk is needed
The files are found within the zip file of the ROM you downloaded
Willievi said:
If you have a gingerbread ROM then you have to unzip the ROM file you flashed and go into the folders (/system/framework and /system/app) To find the 2 files it requires.
If its froyo then only the frameworkres.apk is needed
The files are found within the zip file of the ROM you downloaded
Click to expand...
Click to collapse
Thanks. That seams more complicated then I thought.
Its actually really easy. What you need to do is get the rom you've installed and if its gingerbread, get the framework-res.apk and the systemui.apk and upload those files.
Then once you've got the zip file from the kitchen, you will also need to get the update binary file from the rom too and replace the one in the zip from the kitchen and then put it on the sdcard and install from CWM.
It may sound a little daunting, but once you've done it once or twice it will become second nature

Framework files created by kitchen

If you upload the framework and twframework files to the kitchen to create a new battery icon, for example, are those newly created apk files going to work with that same ROM if you reinstall that same ROM after using another ROM?
Just wondering if you have to get a new zip file from the kitchen each time you go back and install a ROM you may have had before the current ROM you may be running.
Sent from my SGH-I997 using XDA App
MaverickCoast said:
If you upload the framework and twframework files to the kitchen to create a new battery icon, for example, are those newly created apk files going to work with that same ROM if you reinstall that same ROM after using another ROM?
Just wondering if you have to get a new zip file from the kitchen each time you go back and install a ROM you may have had before the current ROM you may be running.
Sent from my SGH-I997 using XDA App
Click to expand...
Click to collapse
Ahh, the anwser to the first question would be Yes.
The answer to the second non-question would be No.
Simpler: Install "ABC Rom" flash changes made from "ABC Rom" framework files.
Thanks, TG.
Tired of trying out a new ROM, going back to the other ROM and re-creating the ZIP file all over again.
MaverickCoast said:
Thanks, TG.
Tired of trying out a new ROM, going back to the other ROM and re-creating the ZIP file all over again.
Click to expand...
Click to collapse
Here's an easier way to go back: Before flashing a different Rom, while in Red Recovery, make a backup.
That way all you have to do is run Restore from recovery. It will automatically name the backup by the date.
I then use root explorer and rename it to the rom that you were using.
Then when I have the time, I'll copy the backups to my external SD card and to my computer.
There you go. No more reinstalls. Just remember to back up your contacts or you'll wind up with the list from when you backed up last.

Caution: UOT kitchen

Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Thanks saurabh.khare for the info.
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Yup me too, I've flashed uot-files several times. Never faced such issues.
mj.vikram said:
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Click to expand...
Click to collapse
Buddy I'm very much sure that I did nothing wrong. I extracted the files out of a rooted stock ROM(XWKI5) and flashed the cooked zip file over the same rooted Stock ROM through CWM. I have attached the file for you reference...If you could go through and point out where I went wrong I would be very glad
saurabh.khare1000 said:
Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Click to expand...
Click to collapse
I have flashed files from UOT several times on Galaxy R without any errors(Both Stock Odex and Deodex ones). Not sure why you had issues.

Categories

Resources