yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] efx_d3:
1.-arcatarc follow steps.

2.- edit file, Using root explorer Change this value in hw_config.sh(inside system/etc):

# LMU AS3676 Configuration

dev=/sys/devices/i2c-0/0-0040/leds/

echo 0,0,0,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]

echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h

echo 12900 > $dev/torch/max_current

To

# LMU AS3676 Configuration

dev=/sys/devices/i2c-0/0-0040/leds/

echo 3,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]

echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h

echo 12900 > $dev/torch/max_current[/LEFT]

IMPORTANT :Optional:replace als_curve.ini with the one i provide(is from arc):for me is better. (with this works best for me also)

link download : http://xdaforums.com/attachment.php?attachmentid=805848&d=1323082156

Both of the files, hw_config.sh and als_curve.conf, are in /system/etc.

to try:

1 .- Use light switch widget.

2 .- Second tap the widget ( i use extended control) is auto brightness.

3 .- Try a flashlight and see how it works the brightness automatically.

I hope it is clear to you, greetings.

I may not understand because I do not speak English, my language is Spanish and use a translator,

xda took months just by using the google translator

sorry for bad writing in English :o
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Bazonga:
Thanks, but I just don't understand which widget i have to use? What do you mean with "option 2"? I only have the brightness on/off switch and the state switch with airplane mode, gps, bluetooth etc but no brightness??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] WillihAngga:
THis thread make my Xray so good, thanks for your great post :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] masterflai:
You're english is fine. :)

---------- Post added at 11:41 PM ---------- Previous post was at 11:38 PM ----------

I suppose he means, that you can check the functionality by using a freeware widget like Backlight! Launcher: Set the display brightness to "A" (auto) and the sensor would adapt the brightness of your screen depending on your environment.

I checked the sensor in the service menu and it's running, but I didn't see a change when I use a flashlight or my hand.

Does it belong to a special widget?

I have choosen the Backlight on/off widget and changed it to off and on again and I used the named brightness widget.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I don't see any changes in automatic brightness with this trick and additional widget, even though the ALS did worked from device test. Help?

EDIT: It works now! :D just having a wrong angle before when checking. as long as the Brightness is not set at the lowest then it would work. Thanks!
[Samsung Galaxy Mini] virusshah1997:
Hey anyone knows how to crack wifi passwords??

If ny1 knows pm me..!
[Samsung Galaxy Mini] kecikhebat:
other people use their hard earned money to pay internet service..and cheapskate like u try to use their wifi for free..shame on u man..cheapskate..

Sent from public phone using 10cents.
[Samsung Galaxy Mini] barna0422:
:D:D:D:D:D
[Galaxy S II Q&A, Help & Troubleshooting] kgoel13:
Is there a way to add the keypad to home screen (not as a dialer shortcut)?

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] Deleted member 4038153:
http://www.lmgtfy.com/?q=dialer+widget+android
[Galaxy S II Q&A, Help & Troubleshooting] kgoel13:
Didn't think of a widget.............Thanks.........
[Android Themes] sonnysekhon:
Fellow themers,

I have started putting together this guide for theming ICS. Some stuff I figured out myself and some was done by others so credit to all who figured it out first.

Please post your findings as well and I will add them here.

Happy theming.

GUIDE

Tools:

Update your sdk to 4.0

Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install/ Apk Multi-Tool

Latest Apktool

Install the framework:

apktool if framework-res.apk

Framework Compilation Errors:

You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.

You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.

For example in values/plurals.xml, change the following:

<item quantity="other">%d of %d</item>

to:

<item quantity="other">%d of %%d</item>

It will compile ok after that.

Clock/Carrier/Ticker/Text Highlight colors:

In framework-res/res/values/colors.xml, change the following to your desired hex color code:

<color name="holo_blue_light"></color>
<color name="holo_blue_dark"></color>
<color name="highlighted_text_holo_dark"></color>
<color name="highlighted_text_holo_light"></color>

Notifications background color:

In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:

<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>
</item>

Changing the statusbar image:

In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:

<drawable name="status_bar_background">@drawable/status_bar_bg_tile</drawable>
</item>

Changing the notification pulldown image:

In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:

<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/pulldown" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"

Removing the tint that Google inexplicably added to all the notifications:

In SystemUI/res/values/dimens.xml, change this value to anything you like:

<item type="dimen" name="status_bar_icon_drawing_alpha"></item>
</item>

Changing it to 100% will get rid of the tint altogether.
[Android Themes] sonnysekhon:
Reserved for later...
[Android Themes] sonnysekhon:
One more for later...
[Android Themes] sonnysekhon:
Last one just in case...
[Android Themes] sweetbinodray:
I am in...
[Android Themes] Perka:
Well here I am, subbed :)
[Android Themes] jasonevil:
considering it may be awhile before or even if my phone does get ics, I'm in for helping in any way I can.
[Android Themes] Perka:
Im looking at making the dialler transparent, but theres no diallertabactivity.apk, sp where to start?

Running ics on my sgs, probably im getting a Nexus S, when it gets ICS. :-D
[Android Themes] DaXmax:
I thought ur on Galaxy Nexus? Stay! Dont go, Galaxy S will also receive cm9 too but i dunno about those htc phones.... Sadly, the Milestone lose support... Anyway, how we gonna theme cm9?
[Android Themes] sassyness77:
Well there are new folders in the drawables. Xhdpi is the one you want to edit :)
[Android Themes] Perka:
yea I have done some stuff, link in my sig.

Just cant find the pngs for dialler.

Edit: I have a sgs, for now :p

I dont think we will get a real ICS
[Android Themes] DaXmax:
Will get cm9 not real Aosp type...
[Android Themes] MinceMan:
So how do you theme the toggles and where are they stored?
[Android Themes] ZduneX25:
@MinceMan SystemUI.apk you need CM9, not AOSP ICS

ics xml are more easy than gb ones ;) i do not think tha ics needs own theming thread, cos almost everything you know about gb you can mod in ics + you have some more extra features
[Android Themes] MinceMan:
Thanks! I'm guessing that I was looking at an AOSP then.

Sent from my Photon 4G
[Android Themes] DROCSID:
Any way to make the statusbar transparant, I see this on ICS / Teamhacksung's bar, WHAT has to be changed for what?

new-instance v11, Landroid/view/WindowManager$LayoutParams;

const/4 v12, -0x1

const/16 v14, 0x7d0

const v15, 0x800048

const/16 v16, 0x4

invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
[Android Themes] ZduneX25:
@RATBORG try:
[Android Themes] DROCSID:
I'll try it now man... thanks

EDIT: not working ;)
[Android Themes] ZduneX25:
Did you make sb background image transparent and use live wallpaper to be 100% sure?

Wysłane z mojego GT540 za pomocą Tapatalk
[Android Themes] DROCSID:
Jep, did it all. Will try it again in a minuten to be sure I'm not stupid whehe :D
[Android Themes] sonnysekhon:
Added a lot of new stuff to the first post.

Anyone know how to invert MMS.apk, Gmail and make the dialer transparent?
[Android Themes] etoy:
i'm looking how to make the contact list background plain black (using the phone app and swiping to the right of the dialer).

i already blacked out background_dial_holo_dark.png in contacts.apk and the usual holo shade disappeared, but now there's an ugly dark gray/blueish color instead of black!
[Android Themes] sonnysekhon:
You need to edit background_dial_holo_dark.png and dial_background_texture.png in Contacts.apk.
[Android Themes] etoy:
already did it! but as you can see from my screenshot it's still not plain black under the contacts
[Android Themes] oh0:
Percent Battary Stausbar

hi,

can somebodey say me which files in the systemui.apk i must edit to become a Precent Battary on Statusbar.

I have a MS2 with CM9 installed.

thanks
[Android Themes] Perka:
Cha

Stat sys battery and charge.
[Android Themes] xxxMADxxx:
Hey all...i want resize font..what should i do
[Android Themes] ZduneX25:
Go to settings you can switch from normal to small or large font size there..
[Android Themes] oh0:
hi thx for this tip. i test it.
[Android Themes] Ra6idr0y:
anybody find that square holo-striped pattern image to the left of the notifications?
[Android Themes] zelendel:
Framework-res.apk notification icon background if I remember right.
[Android Themes] sonnysekhon:
notify_panel_notification_icon_bg in framework.
[Android Themes] stason.72:
Thanks! Very good.
[Android Themes] DROCSID:
Got a question concerning compiling of the systemui.APK. Also had lots of

info from Perka but still need to know how to handle the resources.arcs file:

I editted:

SystemUI.apk\res\values\drawables.xml

and

SystemUI.apk\smali\com\android\systemui\statusbar\ StatusBar.smali

After doing this I followed these steps but I don't know what has to be

done by this:

"Once you have your apk file built you will need to open it with 7zip, and

copy out any files you changed to the original apk. If you only changed xml

files, then you just need to copy the resources.arsc file and place it in

the original apk file. The reason you need to do this is the siganture will

change and you want to keep that intact."

I see nicely in my NEW APK a resources.arsc but what shall I do after this?

Do I need to grab this resources.arsc and put it in somewhere? Or do I need

to delete it? And shall I do somethin with classes.dex? Or shall I put the

resources.arsc from the original SYSTEMUI in the new one?

It's very confusing with my first time 'modifying' something on my ICS' d i9000.

Althought kinda different from Cyanogenmod 7 which was my homebase haha.
[Android Themes] ZduneX25:
Grab resources and classes from your modded apk and put it directly to original apk using winrar both files will overwrite and you will happy to use, but to be honest compiling and signing with apktool should be fine.

I know cause I was playing with systemui.apk from ICS and had no problems :)

___________

Sent form awesome Neo V
[Android Themes] DROCSID:
Ahhh! I now understand what u mean. So I need to let stay the original .APK

in the 'to mod' folder, grab the 2 files (from the file in projects) and put them

in the original .APK and reopen the APK manager and sign it I guess? :D

Thanks!!
[Android Themes] ZduneX25:
All correct beyond signing, you don't have to do it :)

___________

Sent form awesome Neo V
[Android Themes] DROCSID:
Uhh, why do I have to put those files in the original .APK then?

I already compiled the new .APK. Then it's ready or?
[Android Themes] ZduneX25:
Use original apk to keep signatures it auto eliminates all problems you could get or sign your modded own and try (it worked for me).
[Android Themes] ZduneX25:
Hi guys I have a question, am theming system apps from Sony Official ICS and i stuck on Settings:

how can I make it narrower like this:

for now it takes full width of the screen
[Android Themes] DaXmax:
Whaaaat?
[Android Themes] ZduneX25:
Look at both pictures, forget about gradient and find the difference. Look at dividers and alignment of text.
[Android Themes] DaXmax:
Oh that, you need to make the divders shorter, use any png editor will ease it... But about the alignment of text, im blurred...
[Android Themes] ZduneX25:
No no no :p other apps looks good, this happens only to settings.
[Android Themes] DaXmax:
Very weird, maybe the divider png does not linked to framework...
[Android Themes] ZduneX25:
It's because Sony completely themed Settings.apk and am still trying to restore ics look.

I already redirected all values from SEMCTheme to Theme.Holo etc.. (styles.xml and AndroidManifest.xml)

For example APN Settings and Developer settings are looking fine, the main window and whole the rest of settings doesn't o.O..

When I was starting it looked:
[Android Themes] DaXmax:
Man, Sony has totally weird 4.0 ui... O.o
[Android Themes] ZduneX25:
I know right, now I have to fix the mess, cuz I cannot look at Sony's ugly UI..

___________

Sent form awesome Neo V
[Android Themes] DaXmax:
Lol, i will have to lend a arc to test if it works...

Im gonna try theming it.... Is the System odexed?
[Android Themes] ZduneX25:
Whole /app is deodexed

framework-res.apk is also deodexed

android.policy.jar, framework.jar and services.jar are odexed, but I already deodexed all the files.. http://xdaforums.com/showpost.php?p=24837522&postcount=28 should work with arc .562 as well.
[Android Themes] MrDSL:
Could someone please tell me what image this is? The one behind the button.

I cant find it..ughh
[Android Themes] DaXmax:
I will have a look... ;)

Bottom_bar.png
[Android Themes] MrDSL:
Thanks man!! Can't believe I missed it..

Sent from my GT-N7000
[Android Themes] DaXmax:
My pleasure. Just helping another themer... ;)
[Android Themes] eniamg02:
I'm not sure what I'm missing but I am able to decompile and recompile fine but once I do an XML edit the app will just fc.any clue? I get no errors.

Sent from the other side of town.
[Android Themes] dustinb17:
Can anyone help me with this?

I need to change the color of the App Storage in Settings. I'm guessing it's xml but I've looked through the settings.apk and framework_res and can't find anything that sounds related.

Any help would be greatly appreciated.
[Android Themes] DaXmax:
I think its the settings... not framework...
[Android Themes] dustinb17:
Yea I figured that as well, I think I've changed every ICS hex code I've found with no success. I'm obviously missing something but nothing sounds related to it ... Lots of data colors, a few storage colors, but nothing that changes this.
[Android Themes] MrDSL:
Has anyone made a black Mms.apk yet? I cant figure out where to make the main background and bottom section black.
[Android Themes] ZduneX25:
@MrDSL mms.apk takes it from theme.holo.light

framework-res.apk\res\drawable-nodpi\background_holo_light.png

just an idea:
[Android Themes] MrDSL:
okay ill look into that tonight..

i may be wasting my time because i think cm9 will eventually add the black color option to Mms.apk like they did with cm7 but its hard for me to wait.

i do know I can flash a inverted Mms.apk and its all black without any framework changes.
[Android Themes] ZduneX25:
You do not have to change anything over framework, remove 'android:' from:

to make it looks:

then make your own dark style over mms.apk called Theme.Holo.Light.DarkActionBar
[Android Themes] MrDSL:
okay gotcha..i will try that thanks
[Android Themes] mario_fe:
Hi sonny could I apply this on gingerbread 2.3.3?

Because i think this it's just for cm7

If i am wrong please apologyse
[Android Themes] m1keyb:
I'm not totally sure but I think that's in settings smali somewhere. I had a quick look but I don't really know what i'm looking for ;)
[Android Themes] dustinb17:
Ooooh ... Smali ... I may just be leaving that unthemed...

I appreciate the input though, thank you.
[Android Themes] MrDSL:
Does anyone have a download for Apkmanager (5.0.2) ?

The web site has been down for over a week..
[Android Themes] AvatarOfFrost:
Does anyone know how to change the gradient background in Settings?
[Android Themes] ZduneX25:
@AvatarOfFrost only for settings?? you can disable gradient in one quick step (for every single app itself), but if you wanna use other one then whole system will use it as well
[Android Themes] AvatarOfFrost:
How do I make it so that the whole system is using another image? i don't like the gradient
[Android Themes] ZduneX25:
@AvatarOfFrost confused, could you show me the gradient in settings and in other places??
[Android Themes] AvatarOfFrost:
Talking about the background image in settings. I want to change it. How do i do that?
[Android Themes] ZduneX25:
@AvatarOfFrost you said it's different for other places, but IMO it's global: \framework-res\res\drawable-nodpi\background_holo_dark.png
[Android Themes] AvatarOfFrost:
you are right. it is global. thanks. i got it now!

:D
[Android Themes] ZduneX25:
@AvatarOfFrost if you wanna disable gradient onlt for settings then decompile .apk open AndroidManifest.xml and look for:

and set:
[Android Themes] qaliza:
I was searching for this, and now that i found it how do I change the color of the text in settings. if im gonna apply a white background

like this for example
[Android Themes] ZduneX25:
@qaliza decompile .apk open AndroidManifest.xml and replace all Theme.Holo values with Theme.Holo.Light (do the same in styles.xml)
[Android Themes] qaliza:
thank you so much for your help. will work on it now.

Edit

which apk where u refering to?

settings.apk or framework-res.apk

Thankyou
[Android Themes] ZduneX25:
Settings.apk of course :p
[Android Themes] DaXmax:
This is what i actually needed for my miui...
[Android Themes] m1keyb:
If you do decide to have a go it's LinearColorBar.smali

I didn't know what to do when I last posted and I managed to change it a *bit* so it's not that difficult :)
[Android Themes] kevin2516:
Well it's been a while since i started theming, i can't seem to decompile ICS SystemUI.apk but i can decompile framework-res.apk just fine D: Unless I'm missing something here :P
[Android Themes] AvatarOfFrost:
Same here for me with settings.apk.

Any ideas anyone?
[Android Themes] ZduneX25:
@kevin2516 @AvatarOfFrost you guys are missing the tools, cause apktool from http://code.google.com/p/android-apktool/ doesn't work anymore... (with latest 4.0.3/4.0.4)
[Android Themes] pmanian:
\framework-res\res\drawable-nodpi\background_holo_dark.png is the one that needs to be changed to change the overshoot/gradient color (Color shown when the end of navigation is reached) ??
[Android Themes] kevin2516:
what kind of tools we talking about here? ;D
[Android Themes] MrDSL:
Couple questions..Can I change the code below to be a image like statusbar?

<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>

Also I saw someone had made the dialer transparent in touchwiz ics..Can this be done with regular AOSP ICS like it was with cm7?
[Android Themes] ZduneX25:
@pmanian overscroll_edge.png and overscroll_glow.png

@kevin2516 apktool 1.4.1 to decompile and 1.4.2 to compile back (but for both you need to use aapt.exe specially for api15)

@MrDSL you have to cut out these lines from drawables.xml

then add images called notification_item_background_color.png, notification_item_background_color_pressed.png and status_bar_notification_row_background_color.png to drawable directory
[Android Themes] m1keyb:
Noob question here...can you add images with different names or are you restricted to using images/names already in place?

An image in framework notify_panel_notification_icon_bg is used for 2 parts in systemui but I want 1 of them to use a different image, I've tried adding notify_panel_notification_icon_bg_alt in framework and that seemed to go ok (created an entry in public don't know if anything else is required?) But when I try to reference it in systemui I get an error on compiling.
[Android Themes] MrDSL:
right...exactly like i did with the starbus bar..i just wanted to make sure its possible before i tried..thanks
[Android Themes] mario_fe:
how do you get black background in settings and a blue line ics? I'm new in theming and thanks

Sent from my P500 using a missile called Tapatalk 2....
[Android Themes] ZduneX25:
@mario_fe i shared the answers for both your questions in my few post in this thread, but you have to read them carefully :)
[Android Themes] mario_fe:
Ok sorry and thanks again

Sent from my P500 with a letal weapon called tapatalk 2
[Android Themes] mario_fe:
Erased....
[Android Themes] AvatarOfFrost:
Does anyone know the name of the PNG's involved?

See attachment.
[Android Themes] sonnysekhon:
tab_selected_holo.9 and tab_unselected_holo.9 in the framework.
[Android Themes] AvatarOfFrost:
none of the apk's compiled work on my phone. does anyone have any ideas why?

after fixing the "plurals.xml" they compile successfully but they either send my phone into a bootloop or they don't appear at all after I push them to the phone and restart.
[Android Themes] cloud596:
hei im new here,i want to edit color on top bar apps i mean its like default contacts app with holo theme but blue accent color bar.

how i do this, thanks you.
[Android Themes] Rahat34:
post deleted...
[Android Themes] nitinvaid:
i have tried same for

Changing the notification pulldown image:

In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:

now its fully black:confused::confused::confused:

CM9 Galaxy S2

EDIT:Solved its in values/drawable.xml
[Android Themes] PaxITIS:
excellent guide :D
[Android Themes] AvatarOfFrost:
the image you are looking for is called

framework-res\drawable-hdpi\ab_transparent_dark_holo.9.png

beware that this image is global so changing it will impact other apps as well
[Android Themes] cloud596:
so anyone willing to help me tried to change settings.apk to theme.holo.light.

well recompile it and the size reduce half from 6.75 mb to 3,3 mb cause force stop cant run it. even i put android.manifest.xml and resource.arc from apk which after recompile to original apk. the size reduce to half as well
[Android Themes] DaXmax:
Hey guys, how do you actually change this color text on following screens here...

First the paste button, i want the font to be white, how do i do it?

Next is, white to black text... As you can see, you see nothing in the textfield...
[Android Themes] Habarug:
I see many people have inverted different ICS apps. Can anyone tell me how to do it? Because I have to change the manifest, and that seems to break some signature thingies. And i can't copy over the old manifest either, because that would defeat the whole purpose :/ Thanks in advance :)
[Android Themes] phikal:
Where can i change the color of the downloadbar ?
[Android Themes] plegdroid:
afternoon, would anyone know how to center, the lockscreen clock and date on cm9? :)
[Android Themes] :
Can anyone know how to make status bar transparent

I know how to change its color but I want to make it transparent

I have tried changing image in syatemui res/hdpi but it produce fc or does nothing
[Android Themes] alen1901:
Its some xml.

Sent from SpeedMachine i9023
[Android Themes] DaXmax:
Seriously, i need some help bout the tabs...
[Android Themes] plegdroid:
have a read of this for full instructions mate :)

http://xdaforums.com/showthread.php?t=1523703