yashsingh1/xdaforums huggingface dataset:
[G1 General] noahw:
Hey all, I'm trying to restore my G1 to stock. I've already flashed the dreamimg.nbh file to restore to stock 1.0, but I'm trying to get to 1.5 & all of the update file links are coming up with a dead end. Does anyone have the link to the signed update to get the G1 to 1.5? (Preferably the US version)
[G1 General] ldrifta:
http://www.4shared.com/file/EyiKXmTd/update.html
[T-Mobile LG G2x] chillwill11:
http://xdaforums.com/showthread.php?t=1146109
[T-Mobile LG G2x] laker666:
What is it?
[T-Mobile LG G2x] player911:
agreed

desktop replacement in my pocket. As long as HDMI out and bluetooth keyboard/mouse works.
[T-Mobile LG G2x] chillwill11:
Any G2X devs interested
[T-Mobile LG G2x] ttabbal:
What needs to be developed? CM7 includes HDMI and BT mouse/KB support. I don't have a micro-HDMI cable or a BT KB or I'd try it. lol
[T-Mobile LG G2x] player911:
This is not android, but an actual linux distro
[Android Themes] h_zee13:
Wow this is sick! This will us themers so much.

Thank you for this!
[Android Themes] Jumba:
Awesome! Thank you for this.
[Android Themes] kyuuu:
I`m currently working on lockscreen theme mod, based on five-points lockscreen theme. It`s easier than i thought and i think it will be great to share some lockscreen when i finish my work:)

Just in curious, is there any option to make text style BOLD?
[Android Themes] MarkAtHome:
Is there any chance that it can be ported to work on non-MIUI Android ROMs, so the rest of the Android fanbase can enjoy it as well? :D
[Android Themes] pomenx:
just add the bold attribute, effect in this week's version.
[Android Themes] kyuuu:
Great! Can`t wait for this week`s version!:)
[Android Themes] Tijmen:
I'm trying to edit some of the shortcuts in my lockscreen. But i can't seem to find which class i have to set. I would like to know the class needed to open the music player and to open my email application, instead of the gmail application. Is there any logic behind this, or is there a way i can find this out per app?

Thanks in advance!
[Android Themes] pomenx:
put the button element in <Endpoint><PressedState>HERE</PressedState></Endpoint>

if you want the button stays there you just put it in Endpoint, if you want it follows your finger when dragging put it in Startpoint.
[Android Themes] kaimyn:
Does anyone know if it's possible to launch Google's music player from the lock screen?

Thanks!
[Android Themes] Mkes:
Hi

Thank you for all this explanations ..

Excuse for my bad english

@+ Max
[Android Themes] Jaques-Ludwig:
How do I know, what I have to write under "package". I need it for whatsapp and Dolphin Browser HD.

Thanks,

Jaques-Ludwig
[Android Themes] pomenx:
check this thread:

http://xdaforums.com/showthread.php?t=1134657
[Android Themes] smokin901:
battery_level seems to update only when phone is charging otherwise remains constant is this a bug or am I coding it incorrectly i used following to

<Text x= "200" y = "0" text="Battery : " color = "#AAFFFFFF" size="18" format = "%d %%" paras = "#battery_level" align = "center"/>

works fine when charging but remains at same value when not.
[Android Themes] Raadius:
Nice, great tut!
[Android Themes] h_zee13:
Can you please explain this further.

What do you mean by "A Lockscreen may have multiple Wallpaper element"

Also can I put any code before </wallpaper>?
[Android Themes] pomenx:
Wallpaper element is just like a normal Image, the only difference is that it refers to the system wallpaper bitmap. so you can put it anywhere and put any count of it. It can be used to achieve the effect that dragging the wallpaper away to unlock, like WP7. and you can also make the wallpaper dissapear gradually when unlocking, or make the wallpaper split at middle and fly to left and right when unlocking by adding maskes to two Wallpaper elements. etc.

so, yes you can put anything before Wallpaper
[Android Themes] Drag-On:
That is one way to do it :P Thanks!

I must admit, this is all very cool...but also quite daunting, considering I started from scratch about 14 hours ago (with a sleep in between! :P)

Next: using my own icons/colours!
[Android Themes] kikko088:
there is a way for get whatsapp notification for unread message?
[Android Themes] Drag-On:
<Intent action="android.intent.action.MAIN" package="com.whatsapp" class="com.whatsapp.Conversations"/>

-this takes you to your normal conversation list (multiple contacts)

Typing Conversation (NOTE! no "s" at the end) seemed to semi-work, but there is no such thing as "unread" messages in Whatsapp. It's more like active or inactive conversations.

But hey, what do I know...lol
[Android Themes] kikko088:
I'm new in the android world, then I don't know so much, but I see that there is an application (miss it) that display unread message like notification, then I think that in some way there is the possibility to get whatsapp notification, is unreal for you (I Repeat that i'm new of this world :) )?

kikko088
[Android Themes] Manni09:
Hey,

is it possible to show the title of the Song is play at the moment?

//Sorry for Bad English.. ;-)
[Android Themes] picard666:
only by using miui music and in a format of "Artist - Song title"

it's all pretty well covered in post #1
[Android Themes] Manni09:
Can you upload the theme_values.xml once again please?
[Android Themes] tryantar:
Bump :3 i really neeed that help x)
[Android Themes] Manni09:
Hey,

is it possible to place battery and date in the same row?

Like

MONDAY • 21.MAY • 100%

My current code is like this:

<Text x="#screen_width/2" y="560" color="#FFFFFF" format="%d%%" size="22" align="center" paras="#battery_level"></Text>
<DateTime x="245" y="575" color="#FFFFFFFF" size="65" format="kk•mm" align="center"/>
<DateTime x="245" y="650" color="#FFFFFFFF" size="22" format="EEEE • dd.MMMM" align="center"/>

Anyone an idea?
[Android Themes] picard666:
you can use the #text_width tag

<Text name="battery" x="100" y="560" color="#FFFFFF" format="%d%%" size="22" paras="#battery_level"></Text>
<DateTime name="clock" x="100+#battery.text_width" y="575" color="#FFFFFFFF" size="65" format="kk•mm"/>
<DateTime name="date" x="100+#battery.text_width+#clock.text_width" y="650" color="#FFFFFFFF" size="22" format="EEEE • dd.MMMM"/>

you can do it with any kind of align, you just have to play with the dimensions a bit

with this code #text_width is the exact width of the text box, so you might want to add some spacing between the boxes by adjusting the coordinates a bit

or by making up a variables table for the names of the days, and one for the months you can do it in one line

<Text x="..." y="..." align="..." color="..." size="..." format="%s • %d.%s • %d%%" paras="@nameofdayvariable,#date,@nameofmonthvariable,#battery_level"/>

you have to do the variables based on #day_of_week for the name of the day and on #month
[Android Themes] Manni09:
That works good, thanks!

Is there a chance to position that in the horinzontal center?
[Android Themes] Echo113:
Anybody figure out the theme_values.xml for miuiv4? How do you make the whole status bar invisible?

Sent from Asgard.
[Android Themes] picard666:
for the leftmost block: x=#screen_width/2-(#block1.text_width+...+#block(last).text_width), then the same plus the appropiate number of added block widths for the rest
[Android Themes] fearless139:
Is the lunar calendar only available in Chinese (by using NNNN)? Can I use it with number?
[Android Themes] sunnylovesalman:
This thread is a great one as I learnt a lot about Theme Changing from here. Hats Off.
[Android Themes] Negroid:
is there a way to make more than one image or both image and text one slider? you see im doing a personal mod of this lockscreen (http://mrbeo9x.deviantart.com/art/Meets-Game-Over-LS-qhd-284549079). the text/call notifications are text inside the trapezoid shaped png. is there was way where i can make both the text and the png slide to the right and have that slide link to the respective sms/phone app? thanks.

if not, could i make the text fade away as the png is slid?
[Android Themes] picard666:
you should put everything you want to be a slider inside the "Unlocker" tag
[Android Themes] v1r0x:
Thanks for the thread and the explanation!

I'm currently working on a tool to help ls creators (see signature).

After a long break and hard semester I want to finish and update the project to v4.

But I have found some new (at least for me^^) tags I can not find here.

E.g. <Group ...>. I think it's similar to <ElementGroup>, but I'm not sure.

Is there a complete guide/explanation of all the tags? Or anybody who want to help me create one or rather finish mine?

I've started a summary of known tags (in german, but if there is a need I'll translate it and try to complete it)
[Android Themes] Mr_Element:
Hello everyone! Kudos to @pomenx (and any other contributor) for this marvelous reference!

This is Day No.3 of MiUI LS Theming and I have already learned so many things! There is a point where I'm stuck right now and any help would be greatly appreciated.

So it goes like this. I'm working on a new LS from scratch, not tampering with someone else's, and what I would like is to have an area which will work as a button.

Uppon pressing that button I'd like to reveal in an empty area of the lockscreen an image (a colored square to be exact) which will contain basic info such as Time and Date (and maybe later if my knowledge increases Calender info or something).

Uppon releasing the finger from that button I want the "info-square" to disappear.

To my understanding I have to use the <Button> tag , give it coordinates and size and etc. according to the reference and then set a trigger as to what happens when it is pressed.

What I am having trouble with is HOW to tell the trigger to show and hide the "info-square" which I do not want to be visible all the time.

[Offtopic]: God, this is the first time I'm having such a major difficulty expressing what I want to say in English.

Anyway thanks in advance for your time. Any help is welcome.

Kind regards. :)
[Android Themes] v1r0x:
Should the "info-square" be displayed only while the buttons is pressed or should the button be a real trigger?

If you want a trigger it's simple:

<Button name="toogle_info_square" x="0" y="0" w="100" h="100">
<Triggers>
<Trigger action="down" target="name_of_your_square" property="visibility" value="toggle"/>
</Triggers>
</Button>

This should make your square (in)visibile on every "click" ;)
[Android Themes] Mr_Element:
Hello @v1r0x,

well I haven't really decided yet to tell you the truth. First of, thanks for your prompt reply!

I have two options in mind.

The button is pressed (finger down - finger up) and the "info square" appears with all the relative info. After I see what I want to see press again (finger down-finger up) and the "info square disappears.

The button is pressed (finger down) , the "info square" appears with all the relative info. I lift my finger (finger up) and the info square disappears.

They seem awfully familiar options 1 and 2 but I have faith in my English skills , I hope you got it. Is it too much of a trouble? Thanks for tha already given piece of code!

Regards.

Edit: In your scenario the Image must be initialized as alpha="0" so it won't be visible?
[Android Themes] v1r0x:
Your first option is the one I've posted.

If you click the button down the info square appears. With a second click the square disappears.

For the second option you can use something like that:

<Button name="pressed_info_square" x="0" y="0" w="100" h="100">
<Normal>
<!-- insert your text/image/datetime/etc for normale state -->
</Normal>
<Pressed>
<!-- insert your text/image/datetime/etc for pressed state -->
</Pressed>
</Button>

Good luck ;)
[Android Themes] Mr_Element:
@v1r0x:

Thank you very very much. It worked to perfection! I think I'm getting the hang of it.

On a sidenote I would like to ask. Isn't there anything else online like a manual, or a handbook with examples and a more comprehensive way of understanding MiUI LS scripting?

I mean no offense to the |OP| (@pomenx). I believe hundreds of users must be benefited from this reference, but wouldn't it be nicer if something more complete , more comprehensive and tidier existed?

My actual question , and what I'm trying to say If I'm saying anything is if there can be found a complete .pdf or e-book on detailed MiUI LS Scripting that would be suitable for begginers as well as advanced users.

Regards and as always thank you! ;)
[Android Themes] v1r0x:
I don't know if there is any script, but I'm currently working on a program for ls testing. And maybe I'm creating a complete, detailed guide/script.
[Android Themes] Mr_Element:
What sources are you going to use to do that? (That was actually the meaning of my previous question)

Just this reference? :D
[Android Themes] v1r0x:
Yes, just this reference and my knowlegde ;)
[Android Themes] Mr_Element:
Can I have

"if then... else if... else" - blocks of code or "for & while" loops into this kind of scripting? If yes where exactly can I use them?

Just a question that popped into my head.

And also the tags <Startpath> and <Endpath> (or whatever they are called) are solely for the unlocking feature or I can have plain images "do stuff" by pointing a start point and an end point?

Thanks in advance.

Regards.
[Android Themes] v1r0x:
There is an if-else function, but I think it's not what you are looking for.

Those tags are only unlocker-attributes

What do you want to do?
[Android Themes] raziel024:
Some questions about functions and stuff.

How can I do the following:

Compare if the name of the current day is equal than daycode0 value, if yes show temperature value, if not compare with the values of daycode1, daycode2 or daycode3 and show their respectives low/high temperatures values (if the day match).

And another, how can I extract characters from a string and parse them to int?

Finally, how can I know the Content Provider Binder from others applications?

Thanks.
[Android Themes] v1r0x:
I'm not sure, but here an idea:

Try a VarArray with the following:

<VarArray type="string">
<Vars>
<Var name="wallpaper" index="
(1*eq(
ge(#time%?,7*60*60*1000)+lt(#time%?,18*60*60*1000),2)+
2*gt(
ge(#time%?,19*60*60*1000)+lt(#time%?,5.5*60*60*1000),0)+
3*eq(
ge(#time%?,18*60*60*1000)+lt(#time%?,19*60*60*1000),2)+
4*eq(
ge(#time%?,5.5*60*60*1000)+lt(time%?,7*60*60*1000),2))
-1" />
</Vars>
<Items>
<Item value="time_wall_1.jpg" />
<Item value="time_wall_2.jpg" />
<Item value="time_wall_3.jpg" />
<Item value="time_wall_4.jpg" />
</Items>
</VarArray>

Ok, now a short explanation of this code:

The x*60*60*1000 converts the hours into milliseconds so you can compare them with #time (system time in ms).

The ge() is your "greater than xx:xx" and the lt() the "less than xx:xx".

The #time%? is a bit complex. "?" is the number of milliseconds of a complete day. The value should be between 0 and 24*60*60*1000.

The eq() are just "and" to assure that both (the ge and lt are true (except second line. There is an "or" because it's the beginning and end of the day).

Ok, the * are there to assure that every line get another ID in the Items-Array. The -1 at the end is there because the ID in the Items-Array begins with 0 and not with 1.

Here an evaluted example:

Case 1 (time between 7h and 18h):

(1*eq(1+1,2)+
2*gt(0+0,0)+
3*eq(0+0,2)+
4*eq(0+0,2))
-1
This would return 0 because only the first line is true, so 1*1 = 1 and the -1 = 0
time_wall_1.jpg will be used

Case 2 (time between 19h and 5:30h):

(1*eq(0+0,2)+
2*gt(1+1,0)+
3*eq(0+0,2)+
4*eq(0+0,2))
-1
This would return 1 because the second line is true, so 2*1 = 2 and -1 = 0.
time_wall_2.jpg will be used

Hope you understand what I mean? ;)
[Android Themes] raziel024:
Thanks man. And then how can I use it? Something like this?

<Image src="time_wall.png" visibility="1-#music_control.visibility" x="0" y="0" srcid="@wallpaper" >
</Image>

Thanks.
[Android Themes] Manni09:
Hey!

Is it possible to use another font(ttf-file) in lockscreen?
[Android Themes] eroye:
Please, delete...
[Android Themes] picard666:
theoretically it would be possible, you just have to try to mod the original to see if it really works :)
[Android Themes] v1r0x:
What exactly is your problem?
[Android Themes] E-doc:
Hi!

Is it possible to configure unlocker section in manifest.xml to dial specific phone number directly, without entering call log?

I need it to call favorite contacts from lockscreen in urgent situations.

Thanks in advance.
[Android Themes] xavi96end:
sweet!

This helped so much! thanks!
[Android Themes] vinothg:
I have created a lockscreen manifest for xhpi device and have used the tag screenWidth="720". Is this the only way of specifying that lockscreen is for xhdpi resolution ? Will this ensure that lockscreen works fine even for devices with soft buttons like Galaxy Nexus ?
[Android Themes] eris.procoder:
Is there a way to make uppercase letters, I can't use textTransfrom
[Android Themes] jaenes99:
Hello, I'm trying to put the music, but once I save and put the Lockscreen, this is black and nothing else touching the screen is unlocked, I have this code, could you say me whats the problem, please?

<MusicControl x="0" y="300" name="music_control" visibility="true">
<Image src="music_bg.png" x="240" y="#screen_height-425" alpha="100" w="324" h="115"/>
<Text name="music_display" x="240" y="#screen_height-470" w="300" marqueeSpeed="30" size="24" color="#FFFFFF" alpha="150" align="center"/>
<Button name="music_prev" x="132" y ="#screen_height-425" w="108" h="84" alpha="150">
<Normal>
<Image src="music_previous_n.png" x="132" y="#screen_height-425" alpha="150"/>
</Normal>
<Pressed>
<Image src="music_previous_p.png" x="132" y="#screen_height-425" alpha="150"/>
</Pressed>
</Button>
<Button name="music_next" x="348" y="#screen_height-425" w="108" h="84" alpha="150">
<Normal>
<Image src="music_next_n.png" x="348" y="#screen_height-425" alpha="150"/>
</Normal>
<Pressed>
<Image src="music_next_p.png" x="348" y="#screen_height-425" alpha="150"/>
</Pressed>
</Button>
<Button name="music_play" x="240" y="#screen_height-425" w="108" h="84" alpha="150">
<Normal>
<Image src="music_play_n.png" x="240" y="#screen_height-425" alpha="150"/>
</Normal>
<Pressed>
<Image src="music_play_p.png" x="240" y="#screen_height-425" alpha="150"/>
</Pressed>
</Button>
<Button name="music_pause" x="240" y="#screen_height-425" w="108" h="84" alpha="150">
<Normal>
<Image src="music_pause_n.png" x="240" y="#screen_height-425" alpha="150"/>
</Normal>
<Pressed>
<Image src="music_pause_p.png" x="240" y="#screen_height-425" alpha="150"/>
</Pressed>
</Button>
</MusicControl>
[Android Themes] pomenx:
sorry, I forgot to mention, the music control will be enabled in this Fri. not supported yet.
[Android Themes] h_zee13:
Thank you that's exactly what I wanted to know :)
[Android Themes] Nandeh:
Thank you for the info! :)
[Android Themes] fighter_foo:
Same thing happen to me, lockscreen is black ... Can anyone help?
[Android Themes] Nandeh:
Read the last OP message... Music is not implemented yet in Lockscreens...

Enviado desde mi DHD
[Android Themes] Redflea:
PoliSci major...be gentle :)

OK...so what I'd like to do is display my contact info on the lock screen so that if (when? :)) I lose my phone and a good samaritan finds it, they will be able to contact me to return it. (I have a PIN on my phone so they wouldn't be able to get to any of my info on the phone.)

I haven't been able to find a MIUI lock screen that does this, so figure I have to roll my own.

Can someone help me by pointing out what section of the XML I would edit and the values required to center the text at the top center of the lock screen?

What I want to place on the lock screen is something like below:

Owner is allergic to penicillin

If found, please contact:

Name 1: phone number

Name 2: phone number

Name 3: phone number

Reward if returned!

Really appreciate any help...I'm a little intimidated by all the sections/content in the XML file, but just need some pointers to get started...
[Android Themes] Grondinm:
i am trying to add <Lockescreen displayDesktop="true"> to an existing lock screen

i cannot get it to work. where does this go...do i just add displayDesktop="true" to the opening <lockscreen> tag or should i be adding it in the middle somewhere?

the lock screen i tired was Dock Lock found here
[Android Themes] h_zee13:
it goes in the opening <lockscreen> on top of the manifest
[Android Themes] Grondinm:
thank you. That is what i did to the 2 lockscreen i tried to do this with but neither of them work...maybe it's the lockscreens i am trying to use...what else could it be...

this is the opening of the recent lockscreen i tired

<?xml version="1.0" encoding="UTF-8"?>
<Lockscreen displayDesktop="true" frameRate="25" version="1">
<Wallpaper/>
<Image category="Charging" src="bg.png" y="0" x="0"/>
<Image category="BatteryLow" src="bg.png" y="0" x="0"/>
<Image src="status_bar.png" y="0" x="0"/>

fixed it...and boy do i feel stupid.....had to take out the <Wallpaper/>.
[Android Themes] BumAround:
Any genius out there would be kind enough to guide me on how to edit an mtz file so that SMS count (I use handcent) will appear on my lockscreen (I use downloaded it THIS one made by h_zee13 from THIS thread. Note: Post #1 of this thread is graphics intensive/lots of screenshots.)
[Android Themes] brian.dore:
Is there a way to mask the time? I am trying to show just the hours in one area, and just the minutes in another, by using two instances of time. I might be trying to do this incorrectly, any help would be great.
[Android Themes] h_zee13:
The notifications only work with MIUI apps

That is not possible at the moment
[Android Themes] brian.dore:
Thanks hzee. Ill just have to make the time_dot.png larger to accomplish my goal for the time being.