yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 General] x1tom:
Evening all,

Would anyone be able to enlighten me about how Android selects between wifi and 3g?

i.e. If I have a wifi connection established what governs that traffic is routed via the wireless connection?

Thanks!!
[XPERIA X10 General] freco:
I have a data counter app (3g watchdog) and looks like when WiFi is in range android use it for data than 3G.
[XPERIA X10 General] x1tom:
That what I expected. REason I wanted to make sure it defaults automatically is I'm going to France (live in UK) and want to use the phone for data without incurring stupid data charges for roaming
[XPERIA X10 General] Đ!!!:
There is an option to turn on/off data roaming so when you go abroad you don't have to worry.
[XPERIA X10 General] Keegan_P:
Yeah, you can downlod apndroid.

Android Variations: Check em out!
[XPERIA X10 General] x1tom:
good to know thanks!
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
Hi i have one of those phones that wont boot at 710 standard kernel and i was wondering if someone would post an overclockable kernel that defaults to the standard 528. Thanks in advance to any sort of help
[Hero CDMA Q&A, Help & Troubleshooting] KBizzle:
What?? Just flash a ROM that isnt OC'd.
[Hero CDMA Q&A, Help & Troubleshooting] tatonka_hero:
can't you just set OC widget to not start at boot? I know there's a setting that mentions load at boot.
[Hero CDMA Q&A, Help & Troubleshooting] daryelv:
I think what he wants is an OC kernel that is overclockable but because his phone can't handle 710 (which most OC kernels default to) he'd like to start at 528 and see what he can push it up to.

-Daryel
[Hero CDMA Q&A, Help & Troubleshooting] derekwilkinson:
Why don't you just use a OC widget and set the clock speed there?
[Hero CDMA Q&A, Help & Troubleshooting] abcdfv:
Probably because he can't get his phone to load in the first place?
[Hero CDMA Q&A, Help & Troubleshooting] jlengvarsky:
i am experimenting with this exact thing let me know what rom you plan on useing and i will see if i can work it out for you.
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
my phone will boot with the standard clock then it will work fine when it boots i just get the endless bootloop with kernels starting at 710
[Hero CDMA Q&A, Help & Troubleshooting] jlengvarsky:
yeah mine doest that as well i have tried several different roms. has your phone ever gotten hot while useing it?
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
Yes it has i think if i find a kernel that defaults to 528 and you can use over clock widget to over clock it will boot all im looking for is the old kernel that they used to over clock with
[Hero CDMA Q&A, Help & Troubleshooting] jlengvarsky:
working on it is my first time with mixing and matching a kernal to a ramdisk.
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
I appreciate the help
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
http://xdaforums.com/showthread.php?t=684838&highlight=kernel

this kernel looks like it might work but i dont no how to sign it to make it a flashable zip
[Hero CDMA Q&A, Help & Troubleshooting] roadster92:
Modified a boot image with the lower default speed is possible, but it's involved adding the default clock in the init.heroc.rc in the Ramdisk of the boot image. There are many ROMs in this forum each has each own ramdisk. If you can decompile your current boot image, you add the 2 lines below to your init.heroc.rc under #power management

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245000

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 537600

-You can use this (read this and install on your system): http://xdaforums.com/showthread.php?t=633246#

That is a tool to cook your own basic ROM or use it to decompile the boot image, edit the ramdisk, recompile and sign your own flash zip.
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
Thank you I will try and create my own
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
do they have that for mac or just pc
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
Which rom are you using? I'll make you a zip set to 528 default, clockable up to 768 using OC app.
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
currently im using blue echo 2.1.3 i would like to try the new version of that but i cant boot with their default kernel i would like one that will work with that and maybe one that will work with some of the new roms out that default to 710 thati havent seen yet
[Hero CDMA Q&A, Help & Troubleshooting] ipfreelytech:
obviously you failed to read the post. its all linux stuff, to run on windows you have to use cygwin. so yes it runs on a mac :rolleyes:
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
Ok Blue echo is fresh based so this should do the trick!

http://www.4shared.com/file/ZYi4whQW/Fresh_547.html

LOL I see i named it 547, but default is

245760-537600

Be sure and nandroid. I also removed the "on_demand" tag, i have had a suspicion that it may cause a problem with some phones. If you want to use on demand scaling, or any mhz higher than 537.6 use SETCPU to change it.

EDIT: Please let me know the result.
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
It worked! Thanks a lot I have just 1 question will it work with damaged based roms and froyo?
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
F*cking awesome! Can you test for me and see if you can clock the CPU up safely from android using SETCPU/OC widget or if it simply crashes? If it doesn't crash I bet its the on_demand setting that is causing some phones to be unbootable with OC kernel!!!

No it will only work on fresh, and perhaps some other 2.27.651.5/6(sprint 2.1 RUU) based senseUI roms. It will not work on Damagecontrol(without messing up Dconfig), nor honeybun, nor froyo.

Tell me what happens when you try and up the MHZ using an app, I'm gonna have to make versions of this to work with other roms. Exciting :D
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
Tested it with blue echo 2.1.8 got a few glitches but after I put overclock widget on it worked perfect this is awsome:)
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
What CPU clock are you able to achieve?
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
I'm at 710 right now haven't tried higher because my phones lightning fast at 710
[Hero CDMA Q&A, Help & Troubleshooting] urushiol:
Anyone care to help me edit a bunch of boot images and zip =D?

Id like to make versions of the UV kernels that have the scaling "on_demand" line taken out and default max set to 537600 this should allow those that can't normally boot OC kernels to boot with them. yay!
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
I'd help but i don't know how to do that stuff. Please keep me informed on your progress though I'm interested to see the final project
[Hero CDMA Q&A, Help & Troubleshooting] oldjackbob:
urushiol,

I'll be a guinea pig for you, if you still need one. I'd be glad to help in any way I can, except that I'm pretty unenlightened in all this stuff.

I'm running nfinityfx45's Sprint 2.27.651.6 STOCK Deoxed w/A2SD Update 3.

I was initially running the DarchHoneyOCv3 kernel for only a day or so when I read that you had released your Infinitefx_v4_710_M kernel, which I immediately loaded and tried out. But using that kernel, my phone was getting hot during charging, even when just plugged into my computer's USB port. So I reverted back to the DarchHoneyOCv3 kernel. I have no idea what was making my phone get hot when I was running your Infinitefx_v4_710_M kernel, but I did read where others were also running into the same problem, and that helped drive my decision to go back to the DarchHoneyOCv3 kernel.

I'm using SetCPU and getting astounding battery life. Under no-load sleep conditions, I'm only draining the battery at 1% per hour when tower signal strength is good, and 1-1/2 % per hour when signal strength is poor. Those results are from several days of testing.

I have no profiles set in SetCPU, but I do have the min CPU speed set at 19mhz, and my phone has no problem receiving calls while asleep at that speed. I'm lovin' it!

Once in awhile my phone will freeze on boot (this will happen about every third or fourth boot). Pulling the battery has always resulted in a correct boot the next time. I have my max CPU speed set to 691 (with min at 19) and I do have that "set at boot".

Just wanted to let you know my setup, and my experiences. I'll be happy to test your next UV kernel that you think will work with nfinityfx45's Stock rom.

Thanks again for everything!
[Hero CDMA Q&A, Help & Troubleshooting] bycoo222:
Any progress on other kernels. If their in another post could I please b directed there thanks
[EVO 4G Q&A, Help & Troubleshooting] will75:
First phone i did, went through without a hitch. now 2nd phone... i make it all the way to the biles step 56... i run the adb commands the phone reboots, but instead of booting into CLOCKWORK it boots into android system recovery, how do i get it to boot into clockwork? On android system recovery, i can't restore the nand that i backed up earlier in clockwork.
[Mogul, XV6800 General] psyko514:
I'm having multiple problems with my Titan. I've re-flashed the ROM to the default WinMo 6.1 and that didn't help.

Can't hear through speaker; only speakerphone

Wi-Fi doesn't turn on via switch or option in Settings

When the keyboard is open, the screen freezes and doesn't rotate

Help!
[Mogul, XV6800 General] JDog2pt0:
Hard reset?
[Nexus One Themes and Apps] britoso:
Note: The adw part has been abandoned because the new ADW launcher supports themes and I have released a ADW theme for this. ADW EX even has a setting for this.

What is this:

I got tired of creating morphs to make the icon-text (label) background transparent (so many versions, painful morphing on froyo), so heres a patched apk.

Launcher Pro: method and download here

Whats changed:

Its the same as the stock except that BubbleTextView.smali has one line commented.

To Install:

1) Backup settings and desktop in ADWsettings

2) uninstall any existing version. (using settings->applications or adb uninstall org.adw.launcher)

3) then push the apk to /system/app/

After installing restore settings and add back your widgets.

adb remount
adb push org.adw.launcher.apk /system/app/

All credit to AnderWeb for this launcher. Official site.

Downloads:

[0.9.0 apk]

smali
[Nexus One Themes and Apps] Daneshm90:
Hmm, cool. Did the same for launcher-pro. Any idea wht controls the icon text color ?
[Nexus One Themes and Apps] britoso:
havent looked for that yet. the src is here
[Nexus One Themes and Apps] diversificationied:
What is the mod doing? I can't really tell. =X
[Nexus One Themes and Apps] Daneshm90:
Its removing the black background u normally have behind icon text.
[Nexus One Themes and Apps] deimdos:
dude, there's an option for this... take a look ;)
[Nexus One Themes and Apps] Daneshm90:
dude there isnt. This mod removes the background behind icon text, not the image u get when u select/highlight an icon. :rolleyes:
[Nexus One Themes and Apps] THATTON:
Umm, no its not... Only the option to hide the text completely, not the background.
[Nexus One Themes and Apps] britoso:
I dont think it sets a color hence it gets a default white (could be wrong)

see Line 807 in Launcher.java. method createShortcut()

View createShortcut(int layoutResId, ViewGroup parent, ApplicationInfo info) {
TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);

if (!info.filtered) {
info.icon = Utilities.createIconThumbnail(info.icon, this);
info.filtered = true;
}

favorite.setCompoundDrawablesWithIntrinsicBounds(null, info.icon, null, null);
if(!uiHideLabels)favorite.setText(info.title);
[COLOR="Blue"] //britoso: try adding "if(!uiHideLabels) favorite.setTextColor(ColorStateList.valueOf(0xdddddd));"[/COLOR]

favorite.setTag(info);
favorite.setOnClickListener(this);

return favorite;
}
[Nexus One Themes and Apps] diversificationied:
Ah okay, I don't use labels and I always have a pretty dark background. hehe
[Nexus One Themes and Apps] Daneshm90:
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.

Also dont know about adw, but for launcher pro, u can just edit colors.xml to remove the icon text background, dont even have to touch the smali files.

Heres wht it looks like.
[Nexus One Themes and Apps] diversificationied:
Very cool, should send tweet/pm over to wysie, see if he can roll it into the rest of the color modifications
[Nexus One Themes and Apps] britoso:
It is set in an xml too but it didnt work when I tried it months ago.
[Nexus One Themes and Apps] Daneshm90:
Well its launcher dependant, so prolly he'll ignore me :rolleyes:

Unless he does it for their stock launcher which is adw.
[Nexus One Themes and Apps] Daneshm90:
Hmm wierd, i guess its launcher dependant.
[Nexus One Themes and Apps] icegad:
do mind sharing your edited color.xml(bright_text_dark_focused?) for launcher=pro?
[Nexus One Themes and Apps] Daneshm90:
Sure here try this, its the whole apk, resigned ofcourse so u gotta uninstall ur current version.

Link

Heres the bold version, the desktop icon text are bold.

Link
[Nexus One Themes and Apps] icegad:
thx.. work fine...what .xml did you edit exactly ..so i can copy to future launcher pro versions

edit do you have a white bold? for dark wallpapers
[Nexus One Themes and Apps] Daneshm90:
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.

Colors.xml to remove the icon text background.

To add bold, just add this to styles.xml

<item name="android:textStyle">bold</item>
[Nexus One Themes and Apps] crx4xharder:
App bg

I love this launcher
[Nexus One Themes and Apps] topache:
Hi, I know this thread is kinda old but I have been looking EVERYWHERE to make my icon text background transparent. I am using Launcher Pro and would LOVE LOVE LOVE for you to help me edit this so I can accomplish this. I downloaded the file in this thread but I didn't want to install it as its kinda old and i wasnt' sure what it would do. I am confused. it stated that you edited the colors.xml file but I don't see that in the download. I was going to just search for that on my phone edit it and put it back but I can't find colors.xml either. I am a little lost. Please Please help me...

Thanks.

Rooted Droid X - Launcher Pro Plus - stock rom
[Nexus One Themes and Apps] britoso:
its inside the launcher pro apk. I'll try decompiling it tomorrow if nobody has helped you by then :)
[Nexus One Themes and Apps] topache:
Hi, Thanks so much for you response. I greatly appreciate it. Ok so after your post I think I see what I was doing wrong. I was looking for a file called colors.xml, like the file I found in the colors folders (bright_text_dark_focused.xml) where I could just edit that in a hex editor and that would remove the black background. But I guess what your saying is that what I need to edit is in the classes.dex file with needs to be decompiled, edited and re-compiled? This may be over my head (I sure hope not cuz I really want this on my phone) I am not a programmer by any means, but I find myself to be a pretty smart guy. I would just install the file on page 2 I downloaded but it is several versions behind the one I have and I don't want to lose any functionality. I would love to able to figure out how to modify it myself, if possible, so I can edit it going forward on new releases of Launcher Pro Plus.

If I am correct on my thinking is it possible to just edit my newest classes.dex file on my phone? If so, how do I go about doing that?

Thanks again!!
[Nexus One Themes and Apps] britoso:
Heres a modded version. (backup your settings, then uninstall your existing version first: "adb uninstall com.fede.launcher")

If you have a modded version signed by me then you can simply install over it.

I just changed the value of bubble_dark_background in com.fede.launcher-1.apk-decoded\res\values\colors.xml from #b2191919 to #00000000. used apktool to decompile/recompile.
[Nexus One Themes and Apps] topache:
Wow! Thank you very much.. Worked like a charm and now my phone looks even better. Thank you for the instructions as well as hopefully when new releases come out I can mod it myself.

Thank you, thank you, thank you for your time..
[Nexus One Themes and Apps] SubyWill:
awesome!!!! thank you so much!
[Nexus One Themes and Apps] SubyWill:
Can this be updated for the new LauncherPro??:D
[Nexus One Themes and Apps] britoso:
Will do it soon unless someone beats me to it. Instructions above.

edit: post updated.
[Nexus One Themes and Apps] topache:
Hi Britoso,

I tried decompling it myself using apktool 1.3.2 It decompiled just fine, then I recompiled it, signed it, installed it and get force close. I noticed the size of my recompiled apk is 2.17 MB (2,286,067 bytes) compared to the original 2.34 MB (2,457,482 bytes). and the size of yours is the same size of the original. Can you pleaes help me to find out what I am doing wrong? How are you getting yours to decompile/recompile at the same size?

Thank you so much!!
[Nexus One Themes and Apps] britoso:
you get no errors when recompiling? It complains about the "installlocation" keyword in the manifest for me so I removed that.

I'll need to see the apk and logcat to try and diagnose it
[Nexus One Themes and Apps] topache:
I get no errors. I renamed the launcher pro apk to test.apk to make it easier. The starting size is 2.34 MB (2,457,482 bytes)

After running the below commands I am left with a new test.apk in my out folder that is 2.14 MB (2,250,878 bytes).

Does this help at all?

Just for a FYI, the below is just decompiling then recompling. I made no changes at all. Just wanted to see if the file size would stay the same.

What is wierd is that open the original and the recompiled apk in 7zip and look at the properties, and both of them have the same file sizes in side of the apk. So I am thinking now that maybe it's compression that is taking place when it builds the apk file???

I have no idea, I am not a programmer by any means. Just some observations.

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\home>cd..

C:\Users>cd..

C:\>cd apktool

C:\apktool>apktool.bat d test.apk ./out

I: Baksmaling...

I: Loading resource table...

I: Decoding resources...

I: Loading resource table from file: C:\Users\home\apktool\framework\1.apk

I: Copying assets and libs...

C:\apktool>apktool.bat b out

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

C:\apktool>
[Nexus One Themes and Apps] britoso:
Only thing different I see is that I use the jar directly instead of the batch file:

java -jar apktool.jar d %1 %1-decoded

java -jar apktool.jar -v b %1

It is possible that the size diff is because the compresstion ratio is different from the .apk's original (like you mentioned)
[Nexus One Themes and Apps] topache:
Thanks for all your help. But I am confused, I tried your java method of decompiling and after it built the apk file it still is a smaller size than yours. I would really love to know what I am doing wrong so down the road I am able to modify myself but I think I may have to give up as I am at a lost.
[Nexus One Themes and Apps] :
Got directed here from my LPP mods thread and started looking around. Out of curiosity, when did you get your apktool 1.3.2? I'm not aware if brut has fixed the bug in it yet. The bug decompiles and compiles properly but FC's after install. Check out the LPP link in my signature, second post. I have a copy of apktool 1.3.1 for download and have been using it for months with no problems.

Let me know if that helps.
[Nexus One Themes and Apps] joaoennes:
"Aplication not installed"

I decompiled and compiled the file without any errors, but when I try to install the apk it always says "Aplication not installed".

Can anyone give me a help?

Thank you
[Nexus One Themes and Apps] britoso:
Did you sign it? did you uninstall the original version first?
[Nexus One Themes and Apps] joaoennes:
Yes, I uninstalled the other version, but I didn't sign it how do I do it?
[Nexus One Themes and Apps] paradr001d:
I have the same problems, even when signing the new apk. I'm pretty sure it's about the different file size, but still don't know why this is happening.

I tried different compression levels, apktool 1.3.1 instead of 1.3.2, used the java command line - but the result is the same, the new apk is smaller than the original :confused:

Can anyone confirm, that his new apk is smaller than the original and nonetheless works?

btw: I can install the apk, but when I try to run it, it crashes (Prozess android.process.acore)
[Nexus One Themes and Apps] SubyWill:
Hey, do you think you can make this mod for the new update? .0.8.4?:D
[Nexus One Themes and Apps] jim_1984:
britoso, thank you! I've been looking for something like this for a while- it's a minor change, but it makes a huge difference to me in terms of aesthetics.

I know you posted directions on how to do the mod yourself, but I would definitely appreciate a modded .8.5 version for LauncherPro. Otherwise, I'm very happy to be running .8.3 with this patch.

Thank you!
[Nexus One Themes and Apps] britoso:
Youre welcome, added 0.8.5 on the post with attachments. Luckily the original apk is available on launcherpro.com website, took fewer minutes :)
[Nexus One Themes and Apps] jim_1984:
Thank you again!
[Nexus One Themes and Apps] devil-77:
Hello,

i use ADW EX Launcher and i could not find any option to dissable the label background for the icon text on homescreen.

Can anybody help with this?
[Nexus One Themes and Apps] thibz:
hi britoso, sorry for my off-topic and for my english but :

what is your calendar widget ? smooth calendar ?

how did you do to make it large ?

thanks
[Nexus One Themes and Apps] britoso:
Android Agenda widget. ADW lets you manually resize widgets if you need to.
[Nexus One Themes and Apps] thibz:
thanks, perfect :)
[Nexus One Themes and Apps] Benz-Driver:
Hi there!

Please could someone remove the homescreen icon text background at the modified (ADW-)Sense-Lauchner? Would be great!
[Nexus One Themes and Apps] britoso:
Its easier to try using my adw theme. See my sig for the link. Let me know how it goes.
[Nexus One Themes and Apps] Benz-Driver:
Thanks, but this seems not possible, as i need to use the Sense-theme (attached). I'm not sure, but i think it's not possible to use two themes at the same time, is it? :confused:
[Nexus One Themes and Apps] Benz-Driver:
Hmm, i can't use any themes with your ADW Launcher. There is no possibility to chose themes in the menu. :(

As i read in an other thread, there has to be changed a command line in colors.xml from Sense Launcher:

res\values\colors.xml:

line 4 from <color name="bubble_dark_background">#b2191919</color>

to <color name="bubble_dark_background">#00191919</color>

Unfortunately i can't do this myself, as i can't edit xml-files.
[Nexus One Themes and Apps] britoso:
The modded launcher is a very old version before theming support was added. Its easier to just use a theme now. I think I have one in my sig.
[EVO 4G Q&A, Help & Troubleshooting] amirborna:
Okay I have flashed Calkulin's Rom

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

The one without the OTA update that killed Root (I haven't updated to that yet )

I rooted using Toast's method - I did part 1 of his root. For part 2, I did this one

For part 2, I did this http://xdaforums.com/showthread.php?t=705113

I'm trying to flash a new ROM now. Maybe damage protection or even FROYO (Yeah froyo sounds better)

I also want to do the NOVATEK FPS bandaide as well.

I just don't know where to start. I read somewhere someone said you just re-flash a rom again with the recovery...but I don't want to screw up.

Can someone post a very brief what I should do or lead me please?