[Q] How to make battery % mod on on ICS Sense 4? - HTC Sensation

Does anyone know how to make the battery % mod using UOT kitchen?
It fails when you upload framework-res.apk, SystemUI.apk and com.htc.resources.apk
But ROM's like OrDroid have them built in, how?

elmalote said:
Does anyone know how to make the battery % mod using UOT kitchen?
It fails when you upload framework-res.apk, SystemUI.apk and com.htc.resources.apk
But ROM's like OrDroid have them built in, how?
Click to expand...
Click to collapse
Hi,
Have you tried just uploading the framework-res.apk

malybru said:
Hi,
Have you tried just uploading the framework-res.apk
Click to expand...
Click to collapse
Hehe no, will that work? I'll try that next time, thanks

elmalote said:
Hehe no, will that work? I'll try that next time, thanks
Click to expand...
Click to collapse
Hi,
OK,sorry.
After a little searching,I found that UOT does not work with Sense 4.0 yet.
Have a read of THIS THREAD
Maybe it can help you.
EDIT:
Try dougi on THIS THREAD as well.

Related

[MOD] Battery meter mod with %

Please find here attached. It is for european 1.33 ROM.
Have to be flashed through recovery.
Hmm, from kitchen. Would've been nice to add a screenshot of it so we know what does it look like. Cheers
Screenshot
Alex C. said:
Hmm, from kitchen. Would've been nice to add a screenshot of it so we know what does it look like. Cheers
Click to expand...
Click to collapse
Added a screenshot. Look at the upper right corner
If its from uot kitchen, its probably Rom specific.
Nice post but you need to say what Rom it is I think?
The uot kitchen is great, I used it for my battery
Sent from my HTC ChaCha A810e using Tapatalk
It is not ROM specific
qbert456 said:
If its from uot kitchen, its probably Rom specific.
Nice post but you need to say what Rom it is I think?
Click to expand...
Click to collapse
It is for the european 1.33 ROM.
Cheers
very good
Is it suitable for 1.52 ROM?
Alastor_ru said:
Is it suitable for 1.52 ROM?
Click to expand...
Click to collapse
NO !! it is not.. just tested it on mine..
Make your own! It's easy and Rom specific....
qbert456 said:
Make your own! It's easy and Rom specific....
Click to expand...
Click to collapse
You said it before me
Hi,
I just bought a Chacha for my wife and i would like to mod the battery. The problem is that i can't make UOT kitchen work with this phone. I uploaded to kitchen files from 1.54_EU and 1.57_Asia and got same SHTF error each time. Though I have used uot kitchen many times for my Desire without one problem, this time i'm really stuck.
Does someone know if it's possible or not to cook a zip on UOT kitchen from a Chacha rom ? If the answer is yes, what am I doing wrong ?
Ed Roid said:
Hi,
I just bought a Chacha for my wife and i would like to mod the battery. The problem is that i can't make UOT kitchen work with this phone. I uploaded to kitchen files from 1.54_EU and 1.57_Asia and got same SHTF error each time. Though I have used uot kitchen many times for my Desire without one problem, this time i'm really stuck.
Does someone know if it's possible or not to cook a zip on UOT kitchen from a Chacha rom ? If the answer is yes, what am I doing wrong ?
Click to expand...
Click to collapse
Get the files from your ROM (it's ROM specific) using a file explorer (copy-paste to your SD card).
Alex C. said:
Get the files from your ROM (it's ROM specific) using a file explorer (copy-paste to your SD card).
Click to expand...
Click to collapse
Thanks Alex. I did what you suggest. I got them by 'adb pull ...', by file explorer to sd card, extracted them from a 1.54_eu zip, nothing works ... Same error each time.
I tried the same battery mod with the 1.33_eu zip (extracted from 1.33_eu ruu) and got no problem with this one. But no way for 1.54_eu, uot kitchen didn't work with it ... Don't know if it is possible, though it seems to me that some may have succeeded with this rom if i believe some screen shots.
Hmm, weird. It should work, as I've had the same ROM and changed some icons inside.
Do you get errors when uploading all 3 files? Or only for some specific file?
Gingerbread with sense rom: framework-res.apk, SystemUI.apk and com.htc.resources.apk
Maybe the problem is specific to battery mod with this rom ? I'm going to try another mod with the same rom just to be sure of that.
I've tried an icon mod and i got SHTF error too with 1.54 files ... The errors occur when compiling SystemUI.apk.
Are you sure you made some mods on exact same rom ? Just to guess if i'm doing something wrong ...
Ok, it took me a pair of hours but i have the great satisfaction to have found a workaround ! I share it below with whoever would be interested.
I observed with more attention than i did before the error.log of uot kitchen and i saw that the issue seemed to be with the res/drawable-mdpi/battery_low_battery.jpg file of SystemUI.apk.
I compared 1.54_eu SystemUI.apk to 1.33_eu SystemUI.apk and saw that in this one it was named res/drawable-mdpi/battery_low_battery.png.
I knew that 1.33_eu SystemUI.apk was ok for cooking, so here is what i did :
- decompile 1.54_eu SystemUI.apk with apktool
- in the decompiled apk, replace res/drawable-mdpi/battery_low_battery.jpg with res/drawable-mdpi/battery_low_battery.png of 1.33_eu SystemUI.apk
- recompile SystemUI with apktool
- copy resources.arsc of the newly compiled SystemUI.apk into the original SystemUI.apk
- in the original SystemUI.apk, replace res/drawable-mdpi/battery_low_battery.jpg with res/drawable-mdpi/battery_low_battery.png of 1.33_eu SystemUI.apk
Modified as described, the 1.54_eu SystemUI.apk is now ok for cooking in uot kitchen along with the other needed files (framework-res.apk and com.htc.resources.apk). I tested it with a battery mod, it cooked and flashed ok !
No need to do the mod yourself, you can download the result below : you have modified 1.54_eu SystemUI.apk to use with uot kitchen and a CM7 style battery mod ready to flash with CWM into a 1.54_eu rom (don't forget to hit thanks if you use these files, this SystemUI.apk file has cost me many hours of googling and brain storming ! )
Congrats man!
Now I'm wondering why would HTC switch to the non-transparency enabled .jpg format instead of keeping to the official .png.
Ed Roid said:
I observed with more attention than i did before the error.log of uot kitchen and i saw that the issue seemed to be with the res/drawable-mdpi/battery_low_battery.jpg file of SystemUI.apk.
I compared 1.54_eu SystemUI.apk to 1.33_eu SystemUI.apk and saw that in this one it was named res/drawable-mdpi/battery_low_battery.png.
Click to expand...
Click to collapse
Hi,
I've tried to use in UOT your systemUI.apk file. It works with battery mod, but only with it.
If you try to add another mod such as emoticon or icons, it fails.
It seems because there is emot*.JPG files in framework-res.apk according to the SHTF log, so the problem is quite similar.
But I'm not able to sovle it as you did...
max1309 said:
It seems because there is emot*.JPG files in framework-res.apk according to the SHTF log, so the problem is quite similar.
Click to expand...
Click to collapse
You're right, compared to 1.33_eu framework-res.apk many png files have been changed to jpg, including all emot*.png.
The same technique i used for SystemUI.apk should be ok, so i'll give it a try as soon as i have enough time. There will be no jpg left, neither in SystemUI.apk, nor in framework-res.apk or com.htc.resources.apk !
Stay tuned, i'll be back !

[DEV] ICS transition effect

Please see the below link for the ICS transition effect.
Is it cool? I think I could port that to Galaxy R as well
http://www.youtube.com/watch?v=vf1U_30Ngfk
its quite easy..the xml's are lying around in Android themes and Apps section
ardatdat said:
Please see the below link for the ICS transition effect.
Is it cool? I think I could port that to Galaxy R as well
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Yes u can.
The guide is here.
http://forum.xda-developers.com/showthread.php?t=1342117
Go go go !
Is it only me or Android 4.0 transitions are kinda invisible.Flip,rudolf are even cooler
This is just an example
sakindia123 said:
its quite easy..the xml's are lying around in Android themes and Apps section
Click to expand...
Click to collapse
s4sixty said:
Yes u can.
The guide is here.
http://forum.xda-developers.com/showthread.php?t=1342117
Go go go !
Click to expand...
Click to collapse
May I ask sakindia123 to do that as it is so easy for him.
Let's make it based on ZSKK5 ROM and make a CWM package to flash it
ardatdat said:
May I ask sakindia123 to do that as it is so easy for him.
Let's make it based on ZSKK5 ROM and make a CWM package to flash it
Click to expand...
Click to collapse
Though i hate themeing,i will do it
*Downloading APK Manager*
U just have to decompile the apk,replace the xml's ,and then compile it again.
sakindia123 said:
Though i hate themeing,i will do it
*Downloading APK Manager*
U just have to decompile the apk,replace the xml's ,and then compile it again.
Click to expand...
Click to collapse
Thanks very much!
Although I know how to make it, I do not have much time recently.
Quite busy on work now ~~~
I also think the second video is cooler.
ma bad.............
sakindia123 said:
Is it only me or Android 4.0 transitions are kinda invisible.Flip,rudolf are even cooler
This is just an example
Click to expand...
Click to collapse
Looks nice, but won't it get irritation after a while with all that bouncing ??
All i wish for is a snappy phone, no FC, no hang, no reboots.
ICS transition ? Easy !
UOT Kitchen can solve all your problems
CM7 will have the option to slow/quicken the transition animations , so please be patient
EmoBoiix3 said:
ICS transition ? Easy !
UOT Kitchen can solve all your problems
CM7 will have the option to slow/quicken the transition animations , so please be patient
Click to expand...
Click to collapse
Yup UOT kitchen works I made one for LA4 nad there is android market app caled spare parts plus that can controll speed of animations
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
m.kochan10 said:
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
Click to expand...
Click to collapse
Did U attached twframework.apk to kitchen? Anyway I attached one for LA4 on my new theme thread
nedooo said:
Did U attached twframework.apk to kitchen? Anyway I attached one for LA4 on my new theme thread
Click to expand...
Click to collapse
Always framwork, twframework and SystemUI. With no effect unfortunatelly. But since I know how to do it manually it's no longer a problem And it's much more fun if you do everything manually
m.kochan10 said:
Always framwork, twframework and SystemUI. With no effect unfortunatelly. But since I know how to do it manually it's no longer a problem And it's much more fun if you do everything manually
Click to expand...
Click to collapse
Always but manually decompile-compile gave me errors so I made it with UOT
nedooo said:
Always but manually decompile-compile gave me errors so I made it with UOT
Click to expand...
Click to collapse
Oh yes, I get errors every time "decompile-compile" is involved. The only way I managed to change window animations was to replace the original anim-folder from framework-res.apk with the tweaked one Surprisingly this method didn't work with ICS-transition effect.
Could I help you? I made the port for Galaxy S II ...
Sent from my GT-I9100 using Tapatalk
Orr.Penn.18 said:
Could I help you? I made the port for Galaxy S II ...
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Thanxs man
And I also made one and attached it with my theme
http://forum.xda-developers.com/showthread.php?t=1507595
m.kochan10 said:
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
Click to expand...
Click to collapse
Mounted /system and /data prior to installation ?
Herpderp Defy.

Help Transparent status bar!!!!!

Does anyone have a transparent status bar for stock ics xe rom 32.105! Try a few through cwm but no joy! Tried uot kitchen but site keep saying error! Thanks
Normally its possible with leedroid tweaks.
Sent from my HTC Sensation XE with Beats Audio using Tapatalk 2
alper.s said:
Normally its possible with leedroid tweaks.
Sent from my HTC Sensation XE with Beats Audio using Tapatalk 2
Click to expand...
Click to collapse
thanks for the reply!
but systemui fails with leedroid!1
hoping some has manage to get uot kitchen and can upload there mod
Cheers!!
I wonder
Can a transparent Status bar be placed on any rom?
In Theory Yes
Jester89 said:
Can a transparent Status bar be placed on any rom?
Click to expand...
Click to collapse
In theory yes!
just extract the "framework-res.apk" and "Systemui.apk"
edit them and flash back to rom with cwm!
i have edited my png of the stock ics rom!
see pic!!
but cant edit xml which is needed for transparencies!
ive added my framework res.apk and systemui.apk
just in case someone feels like editing it
ElephantStone82 said:
Does anyone have a transparent status bar for stock ics xe rom! Try a few through cwm but no joy! Tried uot kitchen but site keep saying error! Thanks
Click to expand...
Click to collapse
You can try this. http://forum.xda-developers.com/showpost.php?p=24038304&postcount=263
It's working on ARHD and only for the HTC skin.
Still no joy
kalhaz said:
You can try this. http://forum.xda-developers.com/showpost.php?p=24038304&postcount=263
It's working on ARHD and only for the HTC skin.
Click to expand...
Click to collapse
Stil have a "Systemui" Fail!
But thanks For the help!
Please
Could Someone with better knowledge then me please!
Edit the xml in these files a few post above to make the status bar transparent!
i can deal with the pngs
I will smash the thanks button!!!
Anyone
Anyone!!!!!!!!!!!!!
Any Help!!!!
If anyone can edit this file to make a transparent status bar
Im not savvi enough
If not
Could someone please tell me what xml i have to edit!! and where
Thank You!!
Still no joy
Used apktool! but cant find guide on xml edits for ics!!
Thanks!!!!

Files for theme

Can someone upload framework-res.apk and SystemUI.apk from Sony Ericsson Xperia X10 from Android 2.1 or 2.3 (official)?I want to make a theme in UOT Kitchen,but I havent purchased the phone yet.Or if I need more files,please upload them.
Link to the kitchen.
Thanks.
Look at the stickies, mate.. U can find all original APKs there
http://forum.xda-developers.com/showthread.php?p=17479573
Whoooa,its sticky and I didnt saw it xD
Thanks.
Edit: Hmm there is no framework-res.apk ?
markos807 said:
Whoooa,its sticky and I didnt saw it xD
Thanks.
Edit: Hmm there is no framework-res.apk ?
Click to expand...
Click to collapse
Oh sorry, you're right
I'll find & upload them to you asap
markos807 said:
Whoooa,its sticky and I didnt saw it xD
Thanks.
Edit: Hmm there is no framework-res.apk ?
Click to expand...
Click to collapse
I can't find them too -.- lol. Looks like i must download whole 2.3 system dump, which will take me a hour or two..
But why not take the apks from FeraLab? They will also work on stock 2.3 roms and you can edit with uot kitchen if you want + you'll get xperia s theme
And stock systemUI looks ugly, the one from FeraLab has 12 scrollable quick-panel toggles, brighness, swipe to clear, etc. Want them instead?
Will it slow down my phone? I will update the phone to 2.33 official when I get it,this week.Anyway,upload them if you can.
markos807 said:
Will it slow down my phone? I will update the phone to 2.33 official when I get it,this week.Anyway,upload them if you can.
Click to expand...
Click to collapse
No, of course it won't slow down your phone
Download: http://www.mediafire.com/?n5q9d475ta1jzc5
Look in /system/app & /system/framework .
So I will not have system problems if I use FeraLabs apks for making a theme for official 2.1 or 2.3? Thanks.
markos807 said:
So I will not have system problems if I use FeraLabs apks for making a theme for official 2.1 or 2.3? Thanks.
Click to expand...
Click to collapse
for 2.3 i don't think there will be a problem but for 2.1 (if i don't remember wrong) it was used only framework-res.apk for theming
markos807 said:
So I will not have system problems if I use FeraLabs apks for making a theme for official 2.1 or 2.3? Thanks.
Click to expand...
Click to collapse
No problems
theshop said:
for 2.3 i don't think there will be a problem but for 2.1 (if i don't remember wrong) it was used only framework-res.apk for theming
Click to expand...
Click to collapse
U r right!
@markos
This will only work on gingerbread (2.3)

Transparent Statusbar on GB rom

Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
guigadourado said:
Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
Click to expand...
Click to collapse
Hey buddy, i've managed to make it work, after 2 months of searching.
Here is the link of proof. I haven't post any files yet or a guide, but if you want ill tell you what to edit and with what tools.
http://forum.xda-developers.com/showpost.php?p=29106868&postcount=262
Or just paste the file inside this zip View attachment classes.rar to systemUI.apk and do the proper edits to status_bar.xml and the statusbar_background.9.png and statusbar_background.png afterwards.
You can also use the UOT Kitchen.
Truckerglenn said:
You can also use the UOT Kitchen.
Click to expand...
Click to collapse
Never worked for me...
Sent from my Infuse 4G running Aeon 1.4SL
Originally Posted by guigadourado
Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
Click to expand...
Click to collapse
Hey buddy, i've managed to make it work, after 2 months of searching.
Here is the link of proof. I haven't post any files yet or a guide, but if you want ill tell you what to edit and with what tools.
http://forum.xda-developers.com/showpost.php?p=29106868&postcount=262
Or just paste the file inside this zip classes.rar to systemUI.apk and do the proper edits to status_bar.xml and the statusbar_background.9.png and statusbar_background.png afterwards.
Click to expand...
Click to collapse
Awesome job bro,
so a background alpha change in smali? Or pointing to an image?
And ya UOT didn't work for me either when I tried last.
Sent from my Galaxy Nexus using xda premium
xIC-MACIx said:
Awesome job bro,
so a background alpha change in smali? Or pointing to an image?
And ya UOT didn't work for me either when I tried last.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes. Use the .dex file for the alpha level and just change the statusbar_background.png to the desired transparency level and thats it . Just remember to add @color/transparent to the date background, otherwise it will show when you expand the statusbar and add the proper change from #ff000000 to @drawable/statusbar_background.
Sent from my Infuse 4G running Aeon 1.4SL
Did you upload the framework-res.apk and SystemUI.apk from the rom that you were using at the time? Then went to the Status bar menu?
Truckerglenn said:
Did you upload the framework-res.apk and SystemUI.apk from the rom that you were using at the time? Then went to the Status bar menu?
Click to expand...
Click to collapse
No, i just edited the smali in the systemui.apk. But apktool doesent work. Actually that was the case all along. I had to decompile and recompile with smali/baksmali.jar to make it work
Sent from my Infuse 4G running Aeon 1.4SL

Categories

Resources