yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] blackjok3r:
Just installed darky v10 with dark core 2.3.

When I was on 9.5 there was a circle for the stock battery app but now on 10, it is not so I have to use the circle battery app.

This results in having 2 battery icons in the notification bar. I was just wondering if I would be able to remove the original battery indicator.

Even if I could make it transparent or the same colour as the notification bar that would be awesome.

thanks in advance
[XPERIA X10 Q&A, Help & Troubleshooting] Mr Paul:
Hi guys,

Just got the X10 for my wife from Vodafone, how can I debrand it to get the latest firmware as apparently the SEUS trick no longer works (apparently).

Any advice?

Thanks

Paul
[XPERIA X10 Q&A, Help & Troubleshooting] aR_ChRiS:
Have you thought of using the search function?
[XPERIA X10 Q&A, Help & Troubleshooting] Crowds:
i know that sometimes it´s difficult to press search button yet ...

http://xdaforums.com/showthread.php?t=928343
[XPERIA X10 Q&A, Help & Troubleshooting] Mr Paul:
Thank guys, always helpful :)
[Galaxy 3 General] Mohanshbhr:
proximity sensor is not working, i flashed ddjg6, jpm, kyrillos 4.1 but in any rom my phones proximity sensor not working.
[Galaxy 3 General] maverickgenius:
is it not always working or not working sometimes?

did you try clearing cache and factory reset?
[Galaxy 3 General] Mohanshbhr:
Proximity sensor

yes hard resed, wipe frow recovery in ddjg6, jpf,jpm every rom but nothing happene' i think it is a hardware problem.
[Galaxy 3 General] maverickgenius:
Well then flash the stock firmware with which your phone came and give it to the samsung centre
[HTC Inspire 4G] bigjerm52004:
I was wondering if there was a way to get the original themes back after the phone has been rooted? I am running the latest CM7.
[HTC Inspire 4G] milleirish:
You have to flash a stock rom. Try ClearD's rom.. its based off the Inspire stock rom.

http://xdaforums.com/showthread.php?t=996368&page=56
[Desire HD Q&A, Help & Troubleshooting] ascottuk:
I have just spent an absolute age with HTC tech support, and the answer to the few that have been suffering with no data via wifi is................send your handset in for repair.

I honestly have completely lost the will to live, no matter what i say to try and convince them the issue is software related as i can use 2.2.1 absolutely fine, it seems to completely be over everyones head, i even spoke to a manager, who after listening to everything i said, who then spent 3 minutes in silence came back with "broken wifi module"

Arghh, they now want to book my handset in for repair, which i am reluctant to do as they quote a turn around of 20 days currently, i dont want to be without a handset that long.

all i want is gingerbread on my handset and be able to use WiFi, 3G works perfectly

Has anyone had any luck in solving this? its not a router issue, i have tried 4 different routers, its not a signal issue (i have a full signal, and its not dropping the signal), i have tried every 2.3.3 custom rom and stock rom out there and still no data Via WiFi, tried different radio's, and different kernels,

If i go back to using the Android revolution 2.3.2 beta, it works fine, so its defo since the 2.3.3 update.

any help from anyone would be so gratefully recieved i will buy you a pint!
[Desire HD Q&A, Help & Troubleshooting] rory1980:
Hi there,

Have you flashed the matching RIL's for your radios? A similar issue affected me but it was only with CM7 and ARHD. I flashed the radio in my signature (good WiFi performance for signal and battery life) and the corresponding RIL and all was working after a couple of reboots.

Hope this helps.
[Desire HD Q&A, Help & Troubleshooting] ascottuk:
i have indeed pal, really really struggling with this.

A work colleague has just completed his OTA update at work, same issue,

at least i know its not just mine

im wondering if its something to do with the wifi driver in the ota,

Actually its not just the ota, tried the RUU just now, same issue

any Dev's got any clues?
[Desire HD Q&A, Help & Troubleshooting] hmoroni:
Mate,

I´ve downgraded the ROM as per this thread (http://xdaforums.com/showthread.php?t=905003), and now it is working perfectly. No need of gingerbread, I noticed that I do not need it anyway. Instead of that, my baby is alive and kicking againg.

Cheers.
[Desire HD Q&A, Help & Troubleshooting] ascottuk:
im back on LeeDroid 2.2.1 custom rom and everything works like a charm, there isnt anything on gingerbread i need, but i want the option, i prefare the menu, but i can not be without WiFi. I have just sent HTC a humerous letter/email, i have spent hours on the phone with them today.

Sent LeeDroid a pm, see if he has any idea why this is, or if there is anyway to sort it

hopefully someone soon can come up with something, there are only a few of us with the problems, but even so HTC should release a patch or something to rectify it. A guy who has a T-Mobile branded device at work has updated fine, but myself and another colleague (both unlocked sim free devices from the carphonewarehouse) have the no data issue via wifi

i am losing the will to live
[Milestone XT720 Android Development] dj008:
Hi, there seems to be a major flaw in Dexter's and Khals Tom because somehow they can't play large mp4 or avi files. Small clips do play but when trying to play larger mp4 or avi files there is an error which says that "File cannot be played or displayed". Any suggestions?
[Milestone XT720 Android Development] mchlbenner:
They stock players just delete it and get bettter player.
[Milestone XT720 Android Development] eSu.Matix:
Mobo Player used with soft-decoding. Download codecs if needed - available in the market. Works greate!
[Milestone XT720 Android Development] dj008:
But what is wrong with the default video player?
[Milestone XT720 Android Development] Mioze7Ae:
Can you give me an idea (mb?) what "larger" is?
[Milestone XT720 Android Development] dj008:
A 350 MB file doesn't play but One 2.5 MB file one does
[Milestone XT720 Android Development] dj008:
I searched up this problem and found a lot of driod x users have it after upgrading to 2.2 and the cause of this build.prop. So does anyanyoneknows how to replace a defective build.prop with a working one.
[Milestone XT720 Android Development] eSu.Matix:
Who cares for default player anyway. There are tones of free @ the market. Maybe next time Khal can build-in one instead of the stock one. Building-in ES Explorer was a great idea already. ;)
[Milestone XT720 Android Development] dj008:
I think the default player is better
[Milestone XT720 Android Development] vari9:
Guys can someone enable hd playback on our xt720.......it plays but audio video is out of sync....

And even some flv files audio is not synced with the video!
[Galaxy S II Q&A, Help & Troubleshooting] jbpf77:
Just checked my Orange answerphone for the first time since getting the phone... I've got 7 messages but at no point has my phone let me know. Can't find any notification settings anywhere, but you'd expect this to be turned on by default.

Anyone else have this problem or know how to fix it?
[Galaxy S II Q&A, Help & Troubleshooting] jbpf77:
quick bump. Is it just me?
[Android Themes] nhnt11:
Hi guys, if you've tried making your own theme for the theme chooser from scratch, you'll know how ridiculously annoying it is to add every image to the concerned xml file. Well I got fed up with it and wrote a command line tool to generate the xml for you.

To use it, you put all the images that you want to add in a folder, and then run the following command (you need the Java runtime environment for your operating system) (note that your images can begin with "frameworks_res_" or other package names - the program will automatically detect most of the common package names and you can specify your own as shown below)

$java -jar XMLGenerator.jar [package_name_1] [package_name_2] [package_name_3] [etc] [/path/to/input/folder] [outputfile]

For a more detailed guide about how to set up java and use this program, see this.

Suppose you have a folder "myDir" with 3 images: com_nhnt11_image1.png, com_nhnt22_image2.png, and frameworks_res_image3.png.

Then run

$java -jar XMLGenerator.jar com_nhnt11 com_nhnt22 myDir output.xml

The output of the program would be a file "output.xml" containing this:

<item name="drawable/image1">@drawable/com_nhnt11_image1</item>
<item name="drawable/image2">@drawable/com_nhnt22_image2</item>
<item name="drawable/image3">@drawable/frameworks_res_image3</item>

Then you can copy and paste this to whichever XML you need.

Enjoy! :)

Here is a list of package names that are automatically detected
[Android Themes] rori~:
This is very helpful !! :)

Sent from my Optimus 2X
[Android Themes] djdarkknight96:
Much much love for this! Thanks man!
[Android Themes] MrDSL:
This will save me a lot of time..Thank you :)
[Android Themes] Dont Panic:
Awesome, thanks.
[Android Themes] MrDSL:
I've been searching and I have the java sdk installed but is there a web page someone can point me to that can help me in what I need to run that command on windows?

tia
[Android Themes] nhnt11:
Command prompt...
[Android Themes] MrDSL:
hehe i did actually figure that..i must have something wrong cause even after installing java sdk when i enter that command it errors out..ill look some more..
[Android Themes] nhnt11:
You probably havent set your path properly, look up stuff about putting Java in your path (environment variables)
[Android Themes] djdarkknight96:
This fixed me up, Might want to add to OP in case someone else has the issue! http://www.java.com/en/download/help/path.xml
[Android Themes] djdarkknight96:
I got it to work but had to change the command to:

What it created:

I'm runnign Windows 7

You can use .txt for the output file too! Your choice!!!!

This is great Thanks again!!!!
[Android Themes] nhnt11:
Hmm, I should really add a feature to omit the com_android_browser part in the item name... I'll think about how best to implement it and update. :)
[Android Themes] djdarkknight96:
AH, I didn't even notice that:

Template:

Script:

I guess it won't work till you fix it? well I rather hit Find "frameworks_res_" and press delete then type and copy paste!!!! Still better!!! Thanks for making life easier!!!
[Android Themes] djdarkknight96:
I have an Idea, can you have it use the original folder from the app before we rename it on the

area anad then the folder with the files renamed for the

???
[Android Themes] nhnt11:
I had the same idea, but that has some other complications... Right now I have 3 possible ways to implement this, and will update soon when I figure out which is best.
[Android Themes] djdarkknight96:
Saweet! I'll wait cause I'm lazy that way! Hehe :-)

DarkGingered CM7 G2x sent this with the DarkXDA app!
[Android Themes] nhnt11:
OK, here's how I've done it - the program will automatically do it for common package names (it does it for all the ones that Androidian uses). However, you can specify additional package names for it to replace. Here's the new syntax -

$java -jar <packagename1> <packagename2> <etc> <input dir> <output file>

Example:

$java -jar com_upwardspiral_wallpapers com_nhnt11_dummyapp myDir output.xml

Here's the list of the package names it automatically does:

"frameworks_res_",
"com_android_systemui_",
"com_android_browser_",
"com_android_calculator2_",
"com_android_calendar_",
"com_android_camera_",
"com_android_contacts_",
"com_android_deskclock_",
"com_android_email_",
"com_android_fm_",
"com_android_inputmethod_latin_",
"com_android_launcher_",
"com_android_mms_",
"com_android_music_",
"com_android_phone_",
"com_android_providers_calendar_",
"com_android_providers_downloads_ui_",
"com_android_quicksearchbox_",
"com_android_settings_",
"com_android_wallpaper_",
"com_cooliris_media_",
"com_google_android_apps_genie_geniewidget_",
"com_google_android_carhome_",
"com_google_android_gm_",
"com_google_android_googlequicksearchbox_",
"com_google_android_talk_",
"net_cactii_flash2_"

Let me know if I'm missing anything.
[Android Themes] djdarkknight96:
Damn, that was fast! I'm diving in to try it out! Your awesome!

DarkGingered CM7 G2x sent this with the DarkXDA app!
[Android Themes] nhnt11:
Test this please, I would myself but I have nothing to test it on ;)
[Android Themes] djdarkknight96:
I'm on it!!!! Be right back!
[Android Themes] djdarkknight96:
IT WORKED!!!!!!

My command:

My xml lines are:

I didn't have to name the package file! So it must have detected it! I assume if we are adding an app like the XDA app we need the package name com_quoord_tapatalkxda_activity_ as package one then I'm not sure what the package name 2 would be! But it works!!!!
[Android Themes] djdarkknight96:
Damn, it didn't work for the Browser..I tried

says no such directory :( Did I do it right?

EDIT: I noticed when I did it the original way it took the "android" out it said

So It almost did it!!!! Getting really close now!!!
[Android Themes] nhnt11:
Yup that's the expected output. As I said it should do it automatically for those common ones. If you need to do the xda app you would need to run this:

$java -jar XMLGenerator.jar com_quoord_tapatalkxda_activity_ drawable-hdpi com_quoord_tapatalkxda_activity.xml

Ah! A bug. Will fix, I know why this happens (silly me lol :P)
[Android Themes] nhnt11:
Here's the fixed version, I also added a safety precaution for another bug that could crop up.
[Android Themes] djdarkknight96:
HAHAHA, ok be right back!!!
[Android Themes] djdarkknight96:
YAY!!!! I did the browser and the systemUI xmls perfect!!!!

I'm going to try an app like XDA to see if it will work too!
[Android Themes] djdarkknight96:
It didn't work with the XDA app and It keeps saying no such directory if I add the package name. VERY VERY close though!!!
[Android Themes] nhnt11:
Another stupid mistake - this works, I tested (but test it anyway to be sure)
[Android Themes] djdarkknight96:
Will do! Be right back!
[Android Themes] djdarkknight96:
YAY it worked for XDA appp perfect!!!!!! YOU DA MAN!!!!!! thanks for your hard work man!!! :D:D:D:D:D:D
[Android Themes] nhnt11:
Cool. I'll update the OP then.
[Android Themes] moneymike55:
great work

wow this looks awesome, excellent job nhnt. I'm doing a ton of redirections right now for my theme and this should make things a lot easier :) Thanks!
[Android Themes] jsmccabe78:
um, so i hate to be that guy, but this is a tool i really want to use but is a tad over my head. (for some grace of god - or the devil as i am no obsessed- i got apktool working and can decompile/compile but have never used command prompts before).

so i have tried different prompts and no success. so let's start basic: what do i do with the jar file you created? (sorry, i really don't know. for apktool i found a way to dl a version without the jar.)

i realize a lot of time, if i don't know what you are saying i should leave it alone...but man this would save me time!

thanks for sharing....
[Android Themes] nhnt11:
Jar files are easy-to-share Java packages. You need the JRE (Java Runtime Environment) to run these. You can get the JRE for your OS at http://www.java.com/.

Once you have Java installed and set up, you can use the program -

1. Save the JAR file somewhere you can easily access it (we'll assume its your Desktop)

2. Open command prompt, and navigate to this directory

$cd ~/Desktop

3. Assuming you have all your images in Desktop/images, run the command like so:

$java -jar XMLGenerator.jar images images/output.xml

The program will do it's thing. You're done! :)

Note: If you get something like "java: command not found" or something at this step, you don't have your PATH setup properly (see this for more info)
[Android Themes] jsmccabe78:
thank you for the above instruction.

am able to get to the path, but what do i put there? do i add something? my path says:

C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;C:\Program Files\Windows Live\Shared;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\Google\Google Apps Migration\;C:\Program Files\Google\Google Apps Sync\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

by the way, to find the path i used this guide as it actually worked (unlike java's instructions which didn't get me there.)

just don't want to mess up something that looks kinda important...again, thanks!
[Android Themes] djdarkknight96:
Only difference I see is reboot. That's odd cause it worked for me with no reboot! "Windows 7"

DarkGingered CM7 G2x sent this with the DarkXDA app!
[Android Themes] jsmccabe78:
i have no idea what i did different this time, but it worked! this is fantastic! thanks so much!
[Android Themes] djdarkknight96:
Another tip, I use "FastStone" to rename images in bulk! Google it, it's free! With this and fast stone, porting themes is a breeze! Thank david1171 for that tip actually! Hope that helps!

DarkGingered CM7 G2x sent this with the DarkXDA app!
[Android Themes] jsmccabe78:
why didn't we have this conversation before? :p

thanks! and again, thanks for the xml generator - it is fantastic!
[Android Themes] xjacobx:
hey guys,

This tool would be sweet if i could get it working haha, i'm close i think....

i have everything set up and i can run the jar, but i'm getting an error and it says to tell you nhnt11 haha so here it is

[Ljava.lang.StackTraceElement;@38a97b0b

i'm simply not getting the xml file, it seems to be running but right after it says Writing output file it throws the above error..

if i'm doing something wrong please tell me :)

thanks i'm looking forward to using this tool for sure
[Android Themes] djdarkknight96:
Did you put .xml for the output file? Post the script you used.

DarkGingered CM7.1 G2x sent this on DarkXda app!
[Android Themes] xjacobx:
i tryied

java -jar XMLGenerator.jar frameworkImage android.xml

java -jar XMLGenerator.jar frameworkImage/ android.xml

java -jar XMLGenerator.jar frameworkImage android.txt

java -jar XMLGenerator.jar frameworkImage frameworkImage/android.xml

I got different error codes each time but, it always said

Generating xml items for frameworkImage...
Writing output file...
Some problem occurred... Please send the following info to nhnt11
the error code
Done!
[Android Themes] djdarkknight96:
The first one is the closest. Are your images in a folder and renamed framework_res_image_name.png?

DarkGingered CM7.1 G2x sent this on DarkXda app!
[Android Themes] nhnt11:
Technically that's not an error code, its the hashcode of the stack trace element which is supposed to change every time, even with the same command. This is an I/O error, which is probably due to a permissions problem or something like that. try the first command in a different directory and see if that helps. In the meantime, I'll try to fix that error reporting, it should be much more verbose. In fact the actual error isn't even getting printed lol.
[Android Themes] xjacobx:
Alright i'll try to get it in a different directory, i got the apktool to work there so i figured i would use this there. but i'll move the directories around, is there a specific place it works better?

and yes all the images are frameworks_res_image_name.png or .9.png is that what is throwing errors?
[Android Themes] nhnt11:
Technically it should work wherever. And the file names are not the problem.

Run the attached version and tell me what it spews out, the error reporting is fixed in it. http://xdaforums.com/showpost.php?p=14904712&postcount=50
[Android Themes] xjacobx:
There is nothing attached.... unless you are referring the OP i'm at work right now so i can mess with stuff til i'm home

thanks for the support man
[Android Themes] nhnt11:
Oh lol I forgot... XDA doesn't directly allow uploading jar files... there's a zip attached to this one :)
[Android Themes] xjacobx:
alright thanks, i'll try it out when i get home
[Android Themes] xjacobx:
Thanks so much i figured it out, i had to run command prompt as an admin, it didn't have access to create the file

however, i am getting the frameworks_res in the front of the item name...

<item name="drawable/framworks_res_activity_title_bar">@drawable/framworks_res_activity_title_bar</item>

EDIT: THE ABOVE IS MY FAULT I RENAMED THE IMAGES WRONG!

my command is

java -jar XMLGenerator.jar frameworkImage android.xml

this tool is an amazing help thanks so much!
[Android Themes] nhnt11:
try this

$java -jar XMLGenerator.jar [B][COLOR="Red"]frameworks_res[/COLOR][/B] frameworkImage android.xml
[Android Themes] stetsonaw:
Just in case it hasn't been said...

Thanks for this! Hours=saved.
[Android Themes] :
Is there any way of "properly" formatting the outcome file? (eg the spaces before)

Alphabetical order would be nice ;)

- or could anyone name another tool for this (i'm on ubuntu)
[Android Themes] nhnt11:
I've been meaning to make it generate a fully "done" XML instead of what it does now for ages, never got around to it. Thanks for reminding me, I'll do it now and upload. :)

And AFAIK the files are already added in alphabetical order :)
[Android Themes] nhnt11:
Test this please :)

New usage:

$java -jar XMLGenerator.jar <package names> [-f] <input dir> <output file>

So just add a "-f" after the package names (before the input/output files) and it will include the xml header and the <resource-redirections> tag. Also the drawable items are now indented for easy copy-paste.
[Android Themes] djdarkknight96:
I will tomorrow, just saw this was uploaded and I'm in bed. This will cut some time off adding apps! Thank you!

DarkGingered CM7.1 G2x sent this on DarkXda app!
[Android Themes] vaelek:
Not trying to hijack this thread, but so that the wheel might not need be re-invented, I've got a slightly more functional generator at http://vaelek.com/index.php/topic/2363-theme-chooser-xml-generator/

It is done in Mono, so it still works on both Linux or Windows.
[Android Themes] nhnt11:
Since this thread was posted quite a long time ago, and yours on nov. 30th, i think the phrase "reinvent the wheel" is kind of irrelevant... not dissing, just saying ;)
[Android Themes] vaelek:
Hah ;) touche.. I didn't even pay attention to when it was posted.. The person I originally made this for pointed me to this thread as an example.
[Android Themes] MJPollard:
Any chance you could post it someplace that doesn't require registering with another message forum before you can download it? :cool:
[Android Themes] the1dynasty:
thank you for this thread and tool... i have yet to use it, but i'm sure its gonna make my life easier lol
[Android Themes] the1dynasty:
not sure how, but i figured this out and it is AWESOME!!!
[Android Themes] djdarkknight96:
I agree. Best thing since sliced bread!

DarkICE Skanked CM9 sent this from the app!
[Android Themes] nhnt11:
Lol maybe I should improve this thing a bit, like give it a theme and it'll churn out all the XML's auto :P
[Android Themes] djdarkknight96:
Whenever you have the time, otherwise still works great!

DarkICE Skanked CM9 sent this from the app!
[Android Themes] Smokem_I:
I would have to agree with djdarknight! I spent the other day using this... About 5 hours straight... It would have taken days to accomplish what this did in hours! Thanks for the great tool! :D
[Android Themes] EXPERIMENT:
Awesome tool!

Thanks man, awesome tool...is there a way that it can be used for groups of xml's?

Currently I can drop a whole folder in and get it to do all the images, regardless of the name I use, but it ignores all the text files, and actually I think it also ignores the .jpgs.

Even if not this is a killer tool!

Thank you again.

X
[Android Themes] EXPERIMENT:
Be careful when doing images that include the number 9 in the name.

Because as it ignores 9's for 9pings, it will also ignores all 9's and the character before them, so for example if you're doing batteries, it'll remove 9, 19, 29...99.

Just a heads up.
[Android Themes] djdarkknight96:
Yeah I think that was covered here somewhere, also if you use the command you can do images with different package names all at once.

DarkJelly Gnex on JellyBro sent this from the app.