yashsingh1/xdaforums huggingface dataset:
[Desire HD Themes and Apps] loveboatcaptain:
hey sloppy

just wanted to say thank you very much.

i used your guidee to build this tweak into my custom rom for the htc desire s

[ROM] 05-19-2011 LBC MOD SAGA v0.4.1 - (Sense 2.1 + 3.0/CRT Screen Off/Fast/Stable)

and please forget my PM... got apk tool running so i could compile it myself.

thank you thank you thank you

regards

stephan
[Desire HD Themes and Apps] slopppy:
Glad I could help mate :)
[Desire HD Themes and Apps] slopppy:
Hi Shawn,

Attached is the flashable zip you requested in the PM. There is a new scripting option in the UOT Kitchen that I was unsure about ... I left it on the default choice, hopefully that is ok. Let me know if it doesn't work and I can try the other one!

Cheers,
[Desire HD Themes and Apps] seelinkit:
hi sir, im currently using latest leedroid roma and kernel (gb). but i'm in cwm 3 how do i flash this?
[Desire HD Themes and Apps] slopppy:
Did you try to mod the files yourself as per the instructions I put together? I can do one for you if you can't do it or are lazy ;)

Actually I already have one ... but it includes a battery mod as well. I'll attach it to this post if you want to try it, or let me know otherwise.

It's to be flashed straight on top of LeeDroid Gingerbread ROM using cwm 3.x ... if you have a theme/mod on top it will break it. Always get a nandroid backup first.

Cheers,
[Desire HD Themes and Apps] Bling-Singh:
thanks for sharing patches :)
[Desire HD Themes and Apps] paddelundh:
Thanks a lot for sharing to those of us who arent lazy just technically retarded;)

Works great
[Desire HD Themes and Apps] seelinkit:
@sloppy : thanks for sharing, and i apologize for being a little lazy lol =)

the only mod i put in my phone is kingdom sense 3 lockscreen..
[Desire HD Themes and Apps] ShawnWang59:
Sloppppppay you the man!

Thanks for everything
[Desire HD Themes and Apps] 2-die-4:
Hey Sloppy :)

i'm using Leedroids 3.0.3 GB rom and this mod http://xdaforums.com/showpost.php?p=13646046&postcount=2884

the zip file is attached to the thread...

was wondering if you could cook your auto-brightness settings into it?

cause i really like those advanced quick setting :)

tried to get an overview of your guide... :) but i'm a little afraid of breaking something.

hope you could do it =))

Cheers, anyway :)
[Desire HD Themes and Apps] wilam555:
Hay!

I compile framework-res with my edited values. When I was instaled my framewrok-res.zip in cwm, and boot up my dhd, nothing was change. So I decomplie my edited framework-res and notice that arrays.xml is the same like I newer put my values into it. I try several times to compile with my edited arays.xml, but when i decompile back, arrays.xml is unchanged (like in original framework res). This is my framework.res and my changed arrays.xml. Can you look is it maybe problem in framework-res, because I have some errors during de/re/compiling..
[Desire HD Themes and Apps] slopppy:
Hi mate,

You shouldn't get any errors during compiling/de-compiling, that is your problem for sure. There was one theme that I couldn't get it to work for (if you go through the previous pages you will find I mention it), and I was getting errors de-compiling also. When I tried to compile it, it went all wrong.

the only other thing I can think of, is make sure you're grabbing unsignedframework-res.apk from the place-apk-here-for-modding folder ... if you just grab framework-res.apk then you're just copying the same file back again!

It wouldn't surprise me if your unsignedframework-res.apk isn't even being created??
[Desire HD Themes and Apps] slopppy:
Hey mate,

Yep, I'll create this today for you, I've actually been meaning to create one based on the advanced quick settings ... I was going to wait until Lee's next ROM release and do it after that, but hey ... no time like the present.

Stay tuned :)
[Desire HD Themes and Apps] slopppy:
Here you go :)

To be flashed in CWM 3.x, always do a nandroid backup before flashing!

Enjoy!

Cheers,
[Desire HD Themes and Apps] 2-die-4:
Oh cool =)) you're the best :D

cheers :D hit the thanks-button right away ;)

=))
[Desire HD Themes and Apps] djcsurf:
Hi slopppy,

Im gonna follow your guide & edit my arrays tomorrow.

I have the LeeDrOiD arrays.xml as a guide and would like brightness levels inbetween yourself & Lee's setting.

Could you post your settings or just upload your arrays.xml, much appreciated.

I find Lee's a tad bright & your's a tad low, so split down the middle should be ideal.

Also, when entering my own levels can they be any number inbetween the two or do they need to be of a certain factor/multiple.

Thanks
[Desire HD Themes and Apps] slopppy:
I can understand you wanting something a little brighter :)

My arrays.xml is zipped and attached to the first post. Ugh ... I'm unsure if that's current or not ... I'll also attach to this post the important bit of arrays.xml that I'm currently using just in case it is different to the OP!

I actually don't know to be honest mate. I haven't stuck with any kind of factor in my settings, I've just adjusted it as seems appropriate. I haven't found any doco nor heresay that says either way.
[Desire HD Themes and Apps] zoom8:
Dont work this:rolleyes: Reboot-reboot-reboot..
[Desire HD Themes and Apps] djcsurf:
slopppy

Many thanks for your help matey, +1 on the count ;)

I simply overwrite the file in winrar, worked perfect first time.

Just gotta wait for some sunshine now to give my selected levels a proper test but rain forecast next 5 days.
[Desire HD Themes and Apps] slopppy:
Hi zoom8 ... can you provide some info on your setup etc and what you did?

2-die-4 ... did you actually flash that patch yet? Just wondering if it worked ok for you.

Cheers,
[Desire HD Themes and Apps] zoom8:
Leedroid 3.03 with seo addon my friend and i have restart problem.Now run 3.1.1 can you make "Lower Auto Brightness + UOT Circle Battery + Extended Quick Settings" for 3.1.1?

Thanks :)
[Desire HD Themes and Apps] slopppy:
Well that's a coincidence, because I created that exact thing for myself yesterday!

Take a nandroid backup before doing the below!!! Would hate to be responsible for anyone losing anything.

Download this first and flash it:

http://leedroid.ftp.rshost.eu/DHD-Addons/Locster126_Circle_batteryquicksettingsmod.zip

Maybe reboot just to be safe, not sure if it's necessary or not. You'll notice you have the extended quick settings and a battery mod now. I personally don't like that battery mod though :P

Boot back into CWM and then flash the attached zip.

Then you'll be rolling with the exact same setup as me, and easy access to the brightness controls from the notification bar if you want to override the low auto settings in certain conditions :)
[Desire HD Themes and Apps] paddelundh:
Any chance you would like to create one for android revolution 5.1.8?

I have looked at your guide and i have no idea how to do it myself. I would probably destroy something.
[Desire HD Themes and Apps] apoorvajsh:
EDIT: DONT USE THESE THEY ARE BUGGY :)

Someone made one -

Auto-brightness mod: http://xdaforums.com/showpost.php?p=14306344&postcount=32634

With %battery: http://xdaforums.com/showpost.php?p=14303147&postcount=32614
[Desire HD Themes and Apps] slopppy:
Hi guys,

FYI, I had a look at the brightness values in the framework of that mod, and they are really close to my values. You probably won't notice much difference.

Let me know if you're still keen to give mine a bash, otherwise, enjoy that one!

Cheers,
[Desire HD Themes and Apps] paddelundh:
Thanks i wil try this
[Desire HD Themes and Apps] paddelundh:
Thanx Sloppy really appreciate you spending time on this.
[Desire HD Themes and Apps] ricc@rd:
Has anybody tried the slopppy zip on android revolution hd?

I'tried the zip linked for arhd 5.1.8 but caused me some problems because of the file systemUI.apk. I saw that this file instead won't be touched in slopppy's mod, so i'd like to try to flash it in my arhd. Is it possible?
[Desire HD Themes and Apps] apoorvajsh:
Yea sorry about that i posted it before trying, it's incredibly buggy.

Why don't you nandroid and try out sloppy's ones? :)
[Desire HD Themes and Apps] slopppy:
I can cook up a mod if that other one is buggy. I'm confused as to what you need though. Just spell it out for me with links to the ROM/mods for it to be installed on and I'll cook it when I get a chance. Or have I already done it previously? Man, I'm too lazy to go back through the pages to see if I've already done this ;)

Orrrrr, give my guide from the OP a go and see if you can do it yourself ... you might be surprised as to how easy it is once you get the hang of it. :D

Cheers,

-Slopppy.
[Desire HD Themes and Apps] slopppy:
If anyone's interested, I've created a zip that's more compatible with LeeDroids newest Desire HD ROM release 3.1.2.

It's based on a mod by spookamiester (he really did the hard work, not me) which gives you extended quick settings and transparent notification bar.

http://xdaforums.com/showpost.php?p=14347383&postcount=7550

Patch spookamiester's first, and then the attached zip to enable my battery mod and lower auto-brightness.

ALWAYS do a nandroid first, just in case. Worked fine for me though :)

FYI My battery mod is circle (hybrid charging), Green to 75, then orange to 25, then red.

Actually, the green of my battery conflicts a bit with spooks Green for the icons ... maybe I'll do something about that one day so my battery matches.

Cheers,

-Slopppy.
[Desire HD Themes and Apps] apoorvajsh:
I would love to follow your guide and indeed every guide on XDA, but theres a problem - I'm on OSX, so I can't do any of the dev stuff simply because the programs haven't been written for it! Quite ironic considering android and OSX are linux based, but windows is not. Seriously considering dual booting windows though haha.

Anyway, this is the ROM android revolution: http://xdaforums.com/showthread.php?t=840040

All the mods for this ROM do not interfere with the framework file - apart from the battery mods. So, here is the CWM file for the %battery by krzysiec for ARHD: http://tinyurl.com/68ew4j7

What we're looking for is the different auto-brightness levels. The one previously posted contained a weird SystemUI.apk, so bugged up the ROM. Also, the levels in that were fine, but it seemed very unresponsive changing brightness.

Thank you so much again for your effort. I'm sure mike will put this on the mod list once you're done :)
[Desire HD Themes and Apps] aManic:
Thx for this splendid guide!

the auto-brightness solution you offer is exactly what I was looking for. This will be the first time that I try to cook some flashable material but so far, and thanks to your detailed guide, it's looking promising. I have yet one question: Do kernels interfere with the compatability? I have almost stock RCMix 3D Kingdom installed except for the kernel (switched to leedroid and undervolted with vipermod) and would like to contribute to this project. So long

Ben
[Desire HD Themes and Apps] slopppy:
Was hoping to get to this yesterday but work has been a bit frantic. I'll see what I can do, but will more likely be next week now sorry mate!

Cheers,
[Desire HD Themes and Apps] slopppy:
Nah, the kernel won't interfere mate. You're good to go!

Cheers,
[Desire HD Themes and Apps] aManic:
Auto brightness changes did work and I think I have found good values for my usage of the phone, but the update did corrupt some part of my Rom, can't figure out what I did wrong. The attached jpegs show the issues (volume control has wrong animation and part of my settings menu went kaflui). Any advice?
[Desire HD Themes and Apps] aManic:
Found a solution: http://xdaforums.com/showpost.php?p=7567553&postcount=22

Thx again for the guide, it really helped me making my first steps in Rom customizations :D
[Desire HD Themes and Apps] slopppy:
That's some good info actually, I had that issue myself in the past. Good to know!

Cheers,
[Desire HD Themes and Apps] slopppy:
Lower auto-brightness for LeeDroid HD 3.13

To be flashed right on top of Lee's base ROM, without any other mods.

I've attached 2 versions, one with just low auto brightness and NOTHING else, and the other also includes the battery mod that I like (hybrid circle, green from 100 to 75, then orange to 25, then red).

Much easier now that Lee has included the advanced quick settings in his ROM :)

Always do a nandroid backup before flashing anything!!!!!

I've only flashed the battery mod version, but both should be fine.

Cheers,
[Desire HD Themes and Apps] zoom8:
Thank you!!!:)
[Desire HD Themes and Apps] clouds5:
Great! :) I'm gonna do this for ARHD 5.1.x

Just to get some stuff right before I start.

If i dont want to test around with the values i think the one you provided are just fine. So could i just copy and overwrite the "arrays.xml" you posted as download into my framework-res.apk? Then i dont have to manually change the settings.

or even simpler:

Base_LeeDroid-Lower_Auto_Brightness_Patch.zip

just take that and go to kitchen with it? Is this just a clean stock framework-res.apk modified with your autobrightness tweaks?

[e] just gonna try it^^ nandroid FTW using your .zip as base. The one from first post didnt work, now i'll try the one you posted for Leedroid 3.13 today. If that doesnt work i guess ill have to mod the files myself :)

[e2] The files from your recent post: "Lower auto-brightness for LeeDroid HD 3.13"

confirmed working for Android Revolution 5.1.9!

What i did:

-Take the framework-res.apk out of LeeDroid-HD-3.13-Lower-Auto-Brightness.zip

-Take SystemUI.apk and com.htc.resources.apk from my phone

-Upload to UOT kitchen /with mods selected.

-win

thx very much dude. This is awesome :)
[Desire HD Themes and Apps] miniterror:
hi sloppy

thnaks for this tut but im having a little bit of trouble

i have installed java and i have adb installed

i change the arrays.xml with the one from post 1

but when i want to recompile i get ''a error occured bla,bla''

when i choose 21 to see the log i get alot of bs wich dont make any sense to me:p

i post a pic of it

you have any idea what to do?

thanks in advance

edit: im running windows 7 32 bit on a quadcore with 4 gig ram and a ssd hard disk wich whas the directory where apk mamanegr whas placed on

also when i just open the zip of the rom file i use and navigate to the framework folder i dont see the valeu folders

any idea why i dont see them as i am using a froyo rom as daily driver where i wanna try it on
[Desire HD Themes and Apps] apoorvajsh:
Don't worry mate, take your time :)
[Desire HD Themes and Apps] clouds5:
delete this plz
[Desire HD Themes and Apps] slopppy:
There are probably other changes in the framework-res that your ROM uses, and my arrays.xml isn't compatible. It's not the end of the world though, I would just recommend you edit the auto-brightness values from your arrays.xml, rather than replace the whole thing with mine.

I'm on 32bit Windows XP, but your setup sounds fine.

Yeah that's normal. You need to decompile the apk to see the values folder!

Hope that helps!
[Desire HD Themes and Apps] miniterror:
thanks mate

Ginna give it another shot tomorow.

But now the long way:p
[Desire HD Themes and Apps] slopppy:
Great work mate! Saves me a job :D

Do you wanna post your zip up here so others can use it?

Cheers,
[Desire HD Themes and Apps] clouds5:
np :) here it is, its with honeycomb battery style and light blue overscroll effect.

http://dl.dropbox.com/u/29704739/AUTOBRIGHT_HONEYCOMB%_BLUEGLOW.zip
[Desire HD Themes and Apps] miniterror:
Hmmmm

Retried it this morning but now changed the valeus manually in the xml and again the same errors:s

Could it be i installed the wrong java or do you think something else interferring?

Also tried to say yes on the second option witoud avail:(
[Desire HD Themes and Apps] slopppy:
Do you get any errors when you decompile framework-res.apk?

Ugh ... I don't *think* so ... but I'm not an expert ...
[Desire HD Themes and Apps] :
Is thread can be apply on Samsung Galaxy S GT-I9000?

I have question related post at http://xdaforums.com/showthread.php?t=1115339
[Desire HD Themes and Apps] slopppy:
No idea sorry mate! I'm not sure if framework-res.apk is a HTC thing or an Android thing in general.

IF the Samsungs also use framework-res.apk (and they might) for their auto-brightness, then I guess there's no reason why it shouldn't work.

Just give it a try ... make sure you do a nandroid backup in case it goes pear-shaped!

Cheers,
[Desire HD Themes and Apps] miniterror:
nope,

or tleast not that i see:p

could you give it a shot for me if you have the time(saw a couple posts back you are really busy)

i zipped up the apk file and attach it
[Desire HD Themes and Apps] slopppy:
Yeah no probs. I'll give it a whirl for you tomorrow :)
[Desire HD Themes and Apps] miniterror:
Thanks mate:D
[Desire HD Themes and Apps] apoorvajsh:
Since he hasn't posted it here, I will - Lower Brightness MOD for ARHD that WORKS :)

http://xdaforums.com/showpost.php?p=14564144&postcount=34056

all credit to 'victoryo' :)
[Desire HD Themes and Apps] slopppy:
Mate, I've wrestled with this framework-res.apk for ages and it has defeated me!

Firstly, I get the same errors that you are getting, so it's not just you.

I tried copying files in and out, I found some xml files that were somehow corrupt and replaced them with originals, I deleted directories, I created new ones.

Just when I thought I had it beaten, it turned around and b*tchslapped me!

So, I do apologise mate, but however this framework-res.apk has been put together, it doesn't seem to work with this method! Sorry!

If anyone else is up for a challenge and wants to prove they're more intelligent than me ... give it a go. I'm sure miniterror will appreciate it.

Cheers,
[Desire HD Themes and Apps] ATZ-007:
Unity ROM

Someone please HELP

I followed the Step by Step and UOT cooked UOT-06-10-06-15-1 without any error, however after flashing the UOT zip I get FC on Display (under settings).

Would someone be kind enough to add Lee's value on the Unity rom?

Sent from my Desire HD

Edit: Please see attached original (untouched) framework-res.apk from Unity ROM (virtuous_unity-ace-v1.0.0.zip)
[Desire HD Themes and Apps] leecavturbo:
can i apply this to another rom? normal desire on hd rom .. neo reflexS 2.0.9

:cool:
[Desire HD Themes and Apps] ShawnWang59:
-deleted due to repetition, dont wanna jam up thread-
[Desire HD Themes and Apps] ShawnWang59:
buddy,

are the res values same as slopppppy's?

and is that compatible with froyo as well???

p.s.

sloppppy

edit: waiting for arhd 5.1.10 nvm

shawn
[Desire HD Themes and Apps] djcsurf:
Redundant post
[Desire HD Themes and Apps] zoom8:
Can i fix this in 3.1.4 ??
[Desire HD Themes and Apps] slopppy:
I'm not sure if Lee has made any tweaks to his framework in 3.1.4.

I'm just downloading it now ... I'll let you know, or I'll cook a new one if he's made changes.
[Desire HD Themes and Apps] slopppy:
Yeah, that should work fine. Make sure you edit your own values in arrays.xml and compile your own framework-res.apk though ... don't just use any of the zips or arrays.xml files that are posted in this thread.
[Desire HD Themes and Apps] slopppy:
Didn't someone post a link where somebody had already done one for ARHD? Or was there something wrong with it?
[Desire HD Themes and Apps] slopppy:
Can do mate, which of Lee's ROMs? The current one? I think he has been tweaking the values in the last few releases ...
[Desire HD Themes and Apps] slopppy:
Lower auto-brightness for LeeDroid HD 3.1.4

Lower auto-brightness for LeeDroid HD 3.1.4

To be flashed right on top of Lee's base ROM, without any other mods (Kingdom Sense 3.0 mods won't affect this).

I've attached 2 versions, one with just low auto brightness and NOTHING else, and the other also includes the battery mod that I like (hybrid circle, green from 100 to 75, then orange to 25, then red).

Always do a nandroid backup before flashing anything!!!!!

I've only flashed the battery mod version, but both should be fine.

Cheers,
[Desire HD Themes and Apps] spirt:
sloopy, is there any chance that we could see Lower-Auto_brightness-With Battery-Mod for Android Revoulution ROMs in the near future?
[Desire HD Themes and Apps] slopppy:
I'll do you a deal, if you want to post the files I need to do the mod, hence saving me from downloading the whole thing, I'll put the mod together :)

I just need framework-res.apk, com.htc.resources.apk and SystemUI.apk.

If you want to bundle them together somewhere for me to download, I'll do the mod to it :) Don't forget that if any themes you have flashed overwrite any of those files, then you need to give me the files from the theme :)
[Desire HD Themes and Apps] spirt:
thank you in advance, sloopy. i'll prepare those files soon and will give you download URL
[Desire HD Themes and Apps] slopppy:
Actually, if you just give me framework-res.apk, I'll mod it for you, then you can just use that to upload to UOT kitchen with the other files and create the flashable zip yourself! Anyone can use the UOT Kitchen ... it's a piece of cake! The instructions are in the OP of this thread :)
[Desire HD Themes and Apps] spirt:
here it is

http://www.4shared.com/file/cquigAoy/ARHD519.html
[Desire HD Themes and Apps] miniterror:
Aahhhhh well,

Atleast a big thanks for trying it for me.

Its much appriciated you put some of youre time in it.

Will give you a couple of thanks when im on pc as the xda app dont have the feature

All the best

Mini

edit: thanked with the thnak button couple of times;)
[Desire HD Themes and Apps] ATZ-007:
No, not Lee's ROM

I'm trying to do this on Virtuous Unity 1.24.0
[Desire HD Themes and Apps] euplio:
It would be really beautiful to have this mod on virtuous unity 1.24
[Desire HD Themes and Apps] ATZ-007:
That’s exactly what I’m trying to do but can’t get it to work :mad:
[Desire HD Themes and Apps] aManic:
I only tried so on the rc24 of virtous unity, but it's almost the same. There are some things you have to do after recompiling in order to have a better outcome.

Once you compiled the apk again, go to the original framework-res.apk archive file and take everything except "rescource.arsc" from it, then shove it into the new apk. Overwrite everything in the new apk ( aka zip archive ) and select compression level 0/store. I use winrar because it gives me the most options.

I somehow thought that it must have had something to do with the compression level, so I decided to extract the "rescource.arsc" from the new apk just to put it back into the new apk(yap, it sounds dumb ^^). Again I did overwrite the file with compression level 0/store.

Another thing that might change the outcome is wether you wipe dalvik cache prior to flashing your uot-brew.

I'm not really good at the kitchen but those were the things I found searching the apktool thread

One off-topic remark: When I flashed my auto-brightness tables via uot-kitchen I also wanted to put a 1% battery mod in it and a custom bootanimation. Battery worked, brightness tabels too, but the animation did not succeed. Anyways, it did not corrupt the Rom and I didn't change it since I don't mind wasting maybe 3 mb of space on this vast system partition.

I hope I could help. Keep on keeping on

Ben
[Desire HD Themes and Apps] ATZ-007:
Thank you so so so much :D

It worked

This is what I did (as per your advice),

After completing

step 21

on the OP tutorial, I opened the original framework-res.apk with 7zip and copied everything except "rescource.arsc" to the new “unsignedframework-res.apk” in “place-apk-here-for-modding” folder.

And then copied “unsignedframework-res.apk” to desktop and renamed it to “framework-res.apk”. Then pushed it using ADB. Finally rebooted the phone to recovery and then wiped “dalvik cache”.
[Desire HD Themes and Apps] euplio:
Can you share it with us?
[Desire HD Themes and Apps] ATZ-007:
Give me 20min :D
[Desire HD Themes and Apps] ATZ-007:
http://xdaforums.com/showpost.php?p=14725917&postcount=1013

Enjoy
[Desire HD Themes and Apps] slopppy:
Here you go dude, modded framework-res.apk is attached to this post.

Let me know if you need me to create a flashable zip in UOT Kitchen, but I reckon you can handle that yourself :)

Cheers,