yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] zach.xtr:
Have you reviewed what what TopazAaron has already done for the Ic3 ROM mms fix at http://xdaforums.com/showthread.php?t=677715 ? If you look at his .zip flash fix it seems like a similar path to your effort...

I could be missing something but from my research watching the Dalvik monitor is that there is an issue with the Vanilla mms.apk for the ERIS platform and not nessessarily the apn values. the fact that Handcent works seems to support this. If helpful below is a dump of the error I get

06-15 21:44:28.044: ERROR/WorkingMessage(1039): Failed to send message: content://mms/drafts/7, threadId=1
06-15 21:44:28.044: ERROR/WorkingMessage(1039): java.lang.ClassCastException: java.lang.String
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at android.app.ApplicationContext$SharedPreferencesImpl.getInt(ApplicationContext.java:2607)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.transaction.MmsMessageSender.updatePreferencesHeaders(MmsMessageSender.java:107)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.transaction.MmsMessageSender.sendMessage(MmsMessageSender.java:76)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage.sendMmsWorker(WorkingMessage.java:1033)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage.access$000(WorkingMessage.java:64)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage$1.run(WorkingMessage.java:922)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at java.lang.Thread.run(Thread.java:1096)

Do we know where the version of mms.apk we are try origionally came from?
[Droid Eris Android Development] anonomouse:
Actually, White Widow is built from the newest cyanogen commits according to the wave. and if you check, it s the cyanogen 5.0.8 DS-test4 rather than test0
[Droid Eris Android Development] anonomouse:
thats the apn conf from the ota.
[Droid Eris Android Development] vinylfreak89:
can you upload that as a pure file, not a patch.
[Droid Eris Android Development] anonomouse:
its not a patch. thats how it is in the ota .img

its an xml.p file
[Droid Eris Android Development] vinylfreak89:
that file is in /system/etc?
[Droid Eris Android Development] npettex:
Hello,

I had the same issue with the same exception in the log :

java.lang.ClassCastException: java.lang.String

06-15 21:44:28.044: ERROR/WorkingMessage(1039): at android.app.ApplicationContext$SharedPreferencesImpl.getInt(ApplicationContext.java:2607)

in fact looking in the code the issue is linked to acces MMS preferences. I fixed the pb by reseting to defaut prefs for MMS.

Hope it helps
[EVO 4G Q&A, Help & Troubleshooting] Emrys_90:
I've heard that to get a ROM that would have Froyo plus SenseUI you'd have to wait until HTC released a version that has those together and it gets rooted. What I don't understand is couldn't a developer find out how to separate the SenseUI from a current ROM and build it into Froyo when it's released to the public?
[EVO 4G Q&A, Help & Troubleshooting] chuckhriczko:
Possibly but not realistically. Sense is very much integrated into the system. Extremely deeply integrated. Framework files and all. So while it's possible it's not too realistic.
[EVO 4G Q&A, Help & Troubleshooting] toastcfh:
Moved to general. Please post threads in proper forums. Thanx
[EVO 4G Q&A, Help & Troubleshooting] Emrys_90:
Sorry, I thought the developer forum would be appropriate since its a development type question.
[EVO 4G Q&A, Help & Troubleshooting] rutter9:
It's more of a common knowledge thing. Google makes the different versions of android then the supplier adds the extra crap.
[EVO 4G Q&A, Help & Troubleshooting] bimmerd00d:
I need to return one of the Evo's we have at work, the user has flashed it to BB 0.3, and i need to go back to stock. Can I just run the .exe from the following link?

http://xdaforums.com/showthread.php?t=695604
[EVO 4G Q&A, Help & Troubleshooting] pseudoremora:
Yes, you can.

This thread also has the file you'd want .

It's just the RUU file; download it, connect your phone to your pc, make sure the drivers detect your phone, and run the RUU, this will bring your phone back to Stock (factory defaults).
[EVO 4G Q&A, Help & Troubleshooting] looneylu:
if you want full stock, without recovery or any type of root access you need to run the RUU

can't upload to here... file is too large sorry...
[EVO 4G Q&A, Help & Troubleshooting] bimmerd00d:
yeah i need to take it back to sprint, coworker hates the phone :D
[EVO 4G Q&A, Help & Troubleshooting] toastcfh:
Moved to q&a section.
[EVO 4G Q&A, Help & Troubleshooting] bimmerd00d:
I run the RUU, and the phone gets stuck at the HTC screen, and the RUU gets a USB connection error 117 i believe it is. What now?
[EVO 4G Q&A, Help & Troubleshooting] pseudoremora:
Which RUU did you run? What version? Did you use the link you had or the link I provided?
[EVO 4G Q&A, Help & Troubleshooting] plmiller0905:
I got the same HTC screen and USB error when I just attempted to go back to stock
[EVO 4G Q&A, Help & Troubleshooting] mrono:
I got that when I tried to do mine the first time. I had to start going through it and wait for it to put the phone into whatever mode they use(black BG and it says HTC), then wait for windows to find the drivers for it and install them. Once they are installed you gotta reboot, otherwise it just comes up with hardware not recognised when you plug the phones in with the black screen. Don't reboot the phone, start the process over with the phone already on the black screen and it should go smoothly from there.
[HTC Excalibur] waldozorro:
drivers no loaded...any idea about this..!!!
[HTC Excalibur] Mr. Clown:
Hard reset is a good option, if that doesn't work reflash.
[HTC Excalibur] stylez:
Same info as here http://xdaforums.com/showthread.php?t=702154 inc. stock if a reflash does not solve the problem. This is to check hardware and if fine then you have cleaned nand ready for custom ROM again ;)
[HTC Excalibur] waldozorro:
gracias!!!!!!!
[Legend Android Development] visert:
I'm trying to upload an APK with ADB+Eclipse into a (real device) HTC Legend from a virtual machine with XP Pro guested on a real machine with Win7 x64.

I installed USB Driver, modified it to support HTC Legend, then set HTC Legend with USB Debug... in VM XP Pro I see into ADB the HTC Legend connected (I think so...)

C:\android\android-sdk-windows\tools>adb devices
List of devices attached
HT03SNX02682 device

I think that HT03SNX02682 is the serial number that ADB give to my device, correct?

Then I try to upload from Eclipse using run configuration of Eclipse...

but this is the log...

[2010-06-14 13:02:23 - HelloWorld21] ------------------------------
[2010-06-14 13:02:23 - HelloWorld21] Android Launch!
[2010-06-14 13:02:23 - HelloWorld21] adb is running normally.
[2010-06-14 13:02:23 - HelloWorld21] Performing android.helloworldapp21.HelloWorld21 activity launch
[2010-06-14 13:03:15 - HelloWorld21] WARNING: Application does not specify an API level requirement!
[2010-06-14 13:03:15 - HelloWorld21] Device API version is 7 (Android 2.1)
[2010-06-14 13:03:15 - HelloWorld21] Uploading HelloWorld21.apk onto device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] Failed to upload HelloWorld21.apk on device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] java.io.IOException: Unable to open sync connection!
[2010-06-14 13:03:21 - HelloWorld21] Launch canceled!

if I try to install from prompt dos with adb install... the process doesn't stop (stall?).

I tryed also to see logcat but seems doesn't log nothing... (I'm newbie:) in android dev)

thank in advance for your help
[Legend Android Development] vidhumangal:
I had the same problem, even if with my emulator.

Occasionally, the Device view in the Eclipse DDMS would list many copies of the device, all of them Offline, and I wouldn't be able to run anything on the device if I tried to plug it back in.

What seems to fix this is running

adb kill-server

from the command line. It cleans up the list of Offline devices and allows me to run applications on the device again. :)

Hope it works,
[HD2 General] 420soljah808:
close it up thanx xda
[General Questions and Answers] lkk77:
Hi I m aunable to boot my xda stealth, when i switch on power it stucks on O2 welcome screen & nothing happens ... waht to do ?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] joshnight:
if im in the us where can i find this version to down load it. i cant track it down on htc support.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
spl comes as part of stock roms.

assuming you have a tmous?

if so, any rom that includes 1.42.0000 spl will brick your phone permanently.

care to give more detail what you are trying to achieve, including your phone model?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] joshnight:
i have the htc hd2

screen after teh volume reset is

PB81120 SS-B3

SPL-2.10.0000 8G XE

MicroP(LED) 0x05

MicroP(TOUCH) 0x50

its how i have it since i bought it i havent done the update that has been released by t-mobile yet. Id like to get it to where i can flash other roms on it but its at 2.10.0000 and of course wehn i run the program to put HSPL on there it tells me i need first SPL 1.42.0000. any advice would help
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] daiash:
i think there are different hspl designed for each spl is
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
okay, take carefull note of this

you have a 'tmous' or 't mobile us' version of the hd2.

This is important, you WILL kill your phone if you try to flash ANY official rom other than those for the tmous.

You don't need spl 1.42.0000, you need spl 2.08.0000, and that will allow you to use hspl1024 (see in my sig)

go to '[ROM]Leo 1.5 T-MOBILE Test & Stock ROMS' thread in the tmous rom development thread,

find and download rom 2.10.0

connect to usb, run the .exe, let it install, and voila, , , your spl is now 2.08.0000 and hspl1024 will now work.

You are currently in the regular hd2 section, you do not have a regular hd2, you should bookmark THIS and do all your rom finding, etc. there.

Apps, and themes from teh regular hd2 section will work fine on your tmous, but not roms, and especially not radios.

When picking a rom, be sure that the chef has marked it as 'tmous compatible'. If you aren't sure, don't bother.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] joshnight:
all is good
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] omu_n3grwoo:
i think i made a huge mistake..anyway i'm a noob (still)...so this is my story:

i flashed succesfully wp7 on my hd2 ..so i didn't liked it and i decided to go back on wm6.5 and flashed with a stock rom with 1.42 spl...

now i'm trying again to flash hspl so i can have a cooked rom like before but it gives me an error...it says that i need spl 1.42 in order to do that...but when i flashed the stock rom the spl remained 2.08 and it looks like this:

spl-2.08.hspl 8g XE

cotulla HSPL 0x05 0x40

can anyone help me?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] omu_n3grwoo:
now i made it with hspl2. i have spl 1.42 hspl but i can't flash a custom rom or radio :error code 240?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] barryhd2:
fix robotic voice running android 2.2 via sd card.

running andriod 2.2 via sd seemed to work ok apart from the robotic voice during calls i'm led to believe that you need to change the radio version which opened up whole new kettle of fish

Tried to install HSPL, which it wont because it requires spl version 1.42 to install HSPL

Can anyone shed any light on how this is done without bricking the phone permanently? or is there a better way to ultimately run android 2.2 from the sd card.

current spec

os 5.2.21913

rom 3.14.405.2

radio 2.15.50.14

spl -3.03.0000

any feedback much appreciated.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
that version of hspl went out of date ten months ago. use hspl2 which works with any spl.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
that version of hspl went out of date ten months ago. use hspl2 (download from teh same hspl thread, the link directly underneath the one you downloaded.) which works with any spl except 3.03.0000
[Desire General] raynerape:
Hi,

I am having severe problems with battery life where Uptime is equal to Awake or at least very very close to it. I kill Calendar (calendar.bg process) each time after starting the phone, and still I suffer from problems. Today my battery died from 100 to 25 in 7 hours, and I removed both Flickr and killed Google Calendar Sync process again. I've noticed that too many times Google Calendar sync icon in the Google Content Provider window is turning around while there aren't any changes of Google Calendars I've made.

Is it possible and a good solution overall to turn off syncing Calendar via Google content provider and instead configure a Exchange with Google Sync?
[Desire General] Bandare:
I am not sure about calender killing but I just use juicydefender and thgat has massively improved my battery life to over double the time..... might be worth trying that....
[Desire General] raynerape:
I use JuiceDefender as well (UltimateJuice edition) but despite that my phone has died today, so far it is around 9% and I have absolutely no idea why it's dying so fast.

I think I must have some application that prohibits my phone from going into sleep mode. I turned off Flickr completely (I use PicPush to push photos online), I just removed Fring and eBuddy from my phone (I think the culpit may be eBuddy but not really sure). I use Executive Assistant although without Twitter/Facebook pulls.

My Twitter pull is 2 hours. My Facebook pull is 4 hours. I use both internal Sense Peeps and external Twitter for Android content providers because I like to have Peep tweets into my Contact List, althought I am looking for feedback if this is eating too much battery.

Anyway the major sync problem is the Calendar. IT'S TAKING AGES AND ALMOST EVERY TIME I GO TO SYNC WHEN PHONE IS SYNCING, IT'S CALENDAR THAT ROLLS ITS PROGRESS ICON TO NO END. I have no idea why HTC is doing this travesty with its phones, and absolutely no idea how to make Calendar behave on my phone.

Anyway, I ordered MUGEN 3200 MAh battery as a long-term solution. 7mm on the phone's width won't be the best thing to have but it is something I'll get used to if I want to have a phone that lives through a day even if used.
[Desire General] raynerape:
WHAT THE HELL!?

I have turned off Google Calendar sync, and configured Google Sync as Exchange for Calendar events only. Despite the fact, I've noticed the turning circle of sync progress in front of Google Calendar sync (in Google Account) even if it is unchecked. I am totally lost now, what can I do to resolve this?

My next Android may not be HTC.
[Desire General] ediflyer:
Hmm - I had exactly the same problem, 'Calendar' using up most of the partial wake. However I'm not convinced it is really the Google Calendar itself causing the problem. I've still got the Agenda widget installed but switched off syncing for the 'Stock' app (as I never use it anyway) and also deleted my Flickr account from the phone - even after a few reboots that still seems to have done the trick and the Calendar partial wake is now miniscule and battery life has shot up.

Do you want to try removing your Flickr account completely and see if that helps?

I've already raised a ticket with HTC about this (and a few other issues). They weren't that helpful when I first emailed them, they've been much better since I phoned them and asked for it to be escalated to a level 2 agent. I'm now getting pretty much daily updates from their agent. They asked me to remove the Agenda widget to see if it helped but now I don't have the problem it's difficult to try these things out - I'm sure they'd be happy to work with you. After you've logged the issue then feel free to PM your email +/- ticket number and I can update my ticket to ask them to run through the troubleshooting with you too.
[Desire General] dhiral.v:
I have the same issue with my Desire, I don't know how the battery life can be this bad to be honest :confused:, but from what I have heard from the latest update the battery life has been really bad for a lot of people, but some others have been lucky.

I have emailed HTC, so lets see what they have to say. Looks like we may have to wait for the next software update so they can resolve this issue.

Other than that I love my Desire and am extremely happy with it :D
[Desire General] raynerape:
Meanwhile I did this:

I did a factory reset of the phone today, and reinstalled some of the apps I really use and none of those I just kept for rare occasions. I cut down apps that have processes as well.

I turned off Internet Time as I saw online it improved battery time. I don't sync Stocks. I do sync Weather however.

I did not add Flickr account.

I use Pure Calendar that uses the standard Calendar content provider. So I cannot turn off the content provider yet. I know Agenda but its not as good as Pure Calendar. But I did add Calendar content via Exchange. I noticed Exchange sync to be much much faster than the old dragging for a minute or two Google content provider calendar sync.

My battery dies to 95 over couple minutes. I guess calibration is screwed through factory reset as well, I should have never updated with the OTA but got tempted by the Memory Management optimization.
[Desire General] Nekromantik:
Same here, I dony sync google calander and no flickr. My facebook and twitter are set up for 2 hours and Im using juice defender ultimate. I noticed every time I unlock my fone after the screen gone off it starts to sync even though I have set up everything including mail for 2 hours. Calendar process is used by facebook sync and twitter sync so only way to disable it is to stop your syncs but I dont wanna loose my facebook picture sync so cant do that. Hope HTC improve this in the froyo update.

I used autostarts to disable some apps from starting and its been on for 50 mins so far after full charge and im down to 97% which aint too bad but I think juice defenders night mode helps that. Before autostarts I lost 1% every 5 mins. So try that guys.
[Desire General] raynerape:
It's me again, back to report my unsuccessful phone experience today

Well, apparently factory reset and trimming down the number of apps I use did nothing to prolong my phone's life. 10:00 to 18:00, it was down to 28% and losing 1% every 10 minutes, worse when screen is on. Basically, what I figured out is that it's not some rogue app installed on my device that has been triggering this bad lifespan. I also purchased SeePU++ and was really dishearted to see 60-70% CPU when the Calendar Sync process works, and it works almost constantly no matter I've set 2-4 hours frequency to Facebook and Twitter, and I'm using Exchange for Calendars where it has two frequencies set to 2 and 4 hours peak/offpeak times.

Listening to Music isn't good as well. Using DoubleTwist android app, phone remains warm while listening. Not good. Is the phone completely awake while listening to music even if the screen is off?

I've made the following changes for tomorrow, and I'll report again:

* I turned off Wireless Network Location. Not sure whether I'd live well without it, apparently my Latitude will suffer greatly and Tasker won't be able to use its Location triggers (GPS Fix triggers kill the battery in less than 2 hours), so will other apps that use rough estimation, especially if indoors.

* I revised my UnlimitedJuice. My current profile is:

** Timeout: N/A

** Schedule: Keep APN/WIFI disabled (I removed timed schedules as I suspect it kept my device from prolonged sleep)

** Night: Keep APN/WiFi disabled 0-7am (Use it just for the silent mode, otherwise it's probably charging)

** Traffic: N/A (I used to use Traffic to keep connections alive, but decided not to due to prolonged Calendar sync)

** Peak: N/A (obviously!)

** Charger: Leave APN/WiFi enabled while charging (obviously!)

** Screen: Leave APN/WiFi enabled while screen unlocked (obviously, again!)

If anyone is familiar with UltimateJuice, please let me know whether this sounds okay?

I think a culpit was the Schedule setting, as it must have kept my device constantly out of sleep to check my email. Not that I don't want that but until I stick a Mugen 3200 MAh battery in this device, I am wary against it not sleeping well. I also turned off Traffic as Calendar Sync has the stupid tendency to restart itself despite it is not expected to based on user-set frequency. No idea how to control this, no bugfix even estimated.

I think HTC doesn't really care about the life of their phones once they sold them to us. I am also very unpleased to find out how useless those fast 1 Ghz processors are when paired with old battery tech. I am looking at HTC Wildfire and it's 30-50% better battery life with somewhat of an envy. The only company that seems to bother to do something with batteries today is Apple. I won't draw conclusions especially under affect.

I have a question to all ROM-familiar users who have gone 2.2, does JIT improve battery life (through making code run faster, maybe using less CPU resources)?
[Desire General] Nekromantik:
2.2 ROMs on my Desire make my battery last even less. I lost 1% every 5 mins on any 2.2 ROM.

I get the syncing going on every time I switch screen on. no matter what I have set in the settings. I got 20% overnight between midnite and 9am while Juice Defender was on night mode.
[Desire General] raynerape:
This is very discouraging, Nekromantik. Seems like I shouldn't be as excited about the upcoming August 2.2 update, now. I don't trust HTC to resolve this problem given how every single new device is plagued (Desire/Incredible/EVO) and they do nothing about it.
[Desire General] Nekromantik:
yeah this has made me loose faith in HTC.

Battery life should be a big factor in smartphones. I should at least expect it to last 24 hours without a charge. Which is good enough for smartphones.
[Desire General] Nekromantik:
Just gotta add that even though my battery life is not that good, it does show that the phone does sleep as atm in the about menu it shows that the phone been on for 3 hours and been awake for 1 hour 30 mins. Which means it is sleeping but why am I still getting bad battery life all of a sudden after reflashing from Froyo ROM? I did a full wipe including a sd card wipe before I flashed Pays ROM back on. Makes no sense to me.
[Desire General] ferus:
I'm having a very similar problem with battery life. Android System prevents my phone from going to complete sleep but strange enough - only during night when my phone is in airplane mode.

So I decided to switch off Automatic Network Time. This helped for one night and yesterday the problem reappeared again :-(

So last night I turned off location as well services and again it seems OK for now.

During the day my battery life is OK. I guess I could keep the phone turned on during night as well (as a bypass) but this is not how a smartphone of 21st century should work.
[Desire General] raynerape:
This is a mid-day report but I think I might have finally figured it out. And it's the most ironic solution ever!

I pulled the phone off the charger in 10:00, by 11:00 I was already at 88-86% and rapidly decreasing with only minor phone call activity. Then I turned off JuiceDefender/UltimateJuice and kept using the phone for contact list adding, single profile photo shot with camera, many long calls. Now it is 14:35 and my battery is at 69% - incredibly resistant compared to what I've had by that hour with less phone activity. Also, my phone seems to sleep much longer and more often than before when I used UltimateJuice.

It appears to me now that the reason the phone has been dying on me is JuiceDefender/UltimateJuice. Apparently the latest versions destroy the battery rather than save it!! I told you it's an ironic...

I will be reporting by 19:00 with the phone's actual lifespan over the course of the day but looks like I'll have a winner today.