yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] gsidharth:
is it like this

have a problem during install this is what recovery shows installing update assert failed : getprop ("ro.product.device")==" ariesve" || getprop("ro.build.product")=="arie sve" || getprop("ro.product.board") ==" ariesve || getprop("ro.product.device") ==" GT-I9001|| getprop("ro.build.product") ==" GT-I9001 " getprop("ro.product.board") ==" galaxysplus" || getprop(ro.product.device") ==" galaxysplus" || getprop("ro.build.product") ==" galaxysplus" || getprop("ro.product.board") ==" galaxysplus" || E:ERROR IN /SDCARD/UP

DATES/LEWA BLAZRBETA 3.ZIP ( STATUS 7 ) installation aborted

if it is like this do this the below originally posted by costinutz32

i will fix that soon.You can go into the zip file>META-INF->google->android->updater-script (opn it with notepad ++)and delete assert(getprop("ro.product.device") == "ariesve" || getprop("ro.build.product") == "ariesve" || getprop("ro.product.board") == "ariesve" || getprop("ro.product.device") == "GT-I9001" || getprop("ro.build.product") == "GT-I9001" || getprop("ro.product.board") == "GT-I9001" || getprop("ro.product.device") == "GalaxySplus" || getprop("ro.build.product") == "GalaxySplus" || getprop("ro.product.board") == "GalaxySplus");
[Galaxy S Plus I9001 Android Development] faust.deaconu:
Same error with CWM 5.0.2.8
[Galaxy S Plus I9001 Android Development] Costinutz32:
Go into the zip file>META-INF->google->android->updater-script (open it with notepad ++) and delete:

assert(getprop("ro.product.device") == "ariesve" || getprop("ro.build.product") == "ariesve" || getprop("ro.product.board") ==
"ariesve" || getprop("ro.product.device") == "GT-I9001" || getprop("ro.build.product") == "GT-I9001" || getprop("ro.product.board") ==
"GT-I9001" || getprop("ro.product.device") == "GalaxySplus" || getprop("ro.build.product") == "GalaxySplus" || getprop("ro.product.board") == "GalaxySplus");
[Galaxy S Plus I9001 Android Development] samoechen:
Editing the updater-script as above solves installation error
[Galaxy S Plus I9001 Android Development] TheGunner22:
hey, have here video call 3g?!
[Galaxy S Plus I9001 Android Development] spawk:
wait my device for test this rom :p
[Galaxy S Plus I9001 Android Development] sho0om:
good work man

i love mokee nd am using it for a week

but i have one big problem

when i shutdown the phon and open it agian . it dosent start and the flying pig screen Remain for long time

nd the only way to start is make wip data and all programs nd users will be deleted

after that the phon will start

so do have any Solution ؟ :)
[Sprint HTC EVO 4G LTE] jaymcp:
If you're looking for a great TPU case for your new EVO you should check these out!

http://www.cruzerlite.com/cases/htc/evo/cruzerlite-androidified-a2-tpu-case-for-htc-evo-4g-lte.html

Pictures

http://www.cruzerlite.com/media/cat...df78eab33525d08d6e5fb8d27136e95/b/l/black.jpg

http://www.cruzerlite.com/media/cat...df78eab33525d08d6e5fb8d27136e95/w/h/white.jpg
[Sprint HTC EVO 4G LTE] Chaosmaker2k:
The picture of the white case is misleading, does not have color in the outlines or the logo. Solid white
[HTC One S] kaska9986:
hello and pardon by the English because I am translating.

I have a HTC S and I wanted one 2 days ago I put a ROM nandroip and everything but I realized and I wipe the entire phone erasing all the ROM and everything I had.

the problem is I can not install a ROM on my phone now because every time I try from windows CMD when you start the installation makes me daemon not running, and sends me error: device not found.

I've tried with another tutorial that you have with the application all in one kit but also not let me access this sd every time I try to enter telling me insert disk into drive E: \.

I can do?

I think it may be by the drivers of PC but not sure I instadao have 5 or 6 drivers and nothing.

an administrator's name is called android MYHTC ADB and other android or something.

I am desperate thank you very much took 2 days doing everything.

thank you very much.

my windows is XP.
[HTC One S] azzledazzle:
Ok, Sorry but im having difficult understanding everything you say, But i think i got the basics.

I would suggest you re download the drivers, Remove HTC Sync if you have it. Move all of your ADB files in to 1 folder so its easier to navigate to when using ADB.

Can you boot the phone into recovery ? I assume you have CWM as you say you installed a nandroid ? If so, Use ADB whilst in recovery, USB Debugging is always enabled when in recovery so you should have no issues finding your device from there.

If all goes well and you find the device, You can then PUSH and INSTALL files / roms from there :D

Keep us posted :)
[HTC Sensation] Gödel:
Hi all,

As a practice project for Android developing I created an app that enables you to add custom locations to the sense weather application. I think some of you noticed that the weather app supports adding only a few cities, mostly the larger cities of a particular state/province. This is because the htc app makes use of a static database that has only around 3600 locations world-wide. This app can add almost any city to that database.

This could be done already, but the method was quite time-consuming and error-prone.

With this app, you just have to search for your city, optionally edit the pre-filled fields for name, state and country and you can add it to the htc weather database. The correct weather code is obtained from the web, for both US and non-US cities. The correct timezone is selected from the database, sometimes you have a choice there as well. Also, the weather application of htc is restarted after adding, so the change is immediately visible.

The app needs root access and an internet connection to work, and you should have htc sense with the weather app installed. I tested it only on Sensation (with sense 3.6) but it should work for sense 2.x up on any htc device.

Enjoy!

-Gödel

Update (19-4-13): New version. It should work on most ROMs now, it doesn't rely on the command line that much.

Update (31-7-12): New version. It checks the hostfile now, and removes the accuweather host from it if necessary. Works great with AdFree and AdAway. Also, to better work with the clock application in sense 4, the geographic position of a city is added to the database. It will search for the coordinates automatically, but you can also manually add them. Enjoy!

Update (16-7-12): Problem occurs on devices having an addblocker that changes the host file (/etc/hosts) installed, like AdAway or AdFree. They add the line "127.0.0.1 netweather.accuweather.com" to /etc/hosts, removing that line or changing back to stock host file solves the issue. See this post for more details.

Update: There seems to be a problem with the server the app connects to, it is not accessible from some (many?) countries or phones. I haven't found a solution yet.

Please try this link with your internet connection (so wifi or mobile), if you get a xml file back, this app should work. If it doesn't, but you can access the site above, please let me know.

Please let me know if it works as well, as well as your country, so I can try to figure out what's going on.

Update (7-7-12): You now have the possibility to manually add a city through its location code.

md5sum: 3782889cd0d9d6345457b447810d6bf6

Some screenshots:
[HTC Sensation] GoCkillaz:
Thanks! :D
[HTC Sensation] jkolner:
Dont work

Installed on my Sensation running PkMn 4.5 ROM.

SuperSU never registrate the app, so i set SuperSU promt to "Grant".

Searched for my city here in Denmark "Klarup" but it didn't find anything. I then searched for "Copenhagen" but it didn't finde that either.

Turned WiFi on but the app dont finde any city at all :-(
[HTC Sensation] l_themis:
I install the app but it cant find any city.

I have root access and I also make a restart. Is something more that I have to do?
[HTC Sensation] Gödel:
I can find and add Klarup, Denmark with the app. You got to have a working internet connection to search for cities.

To both jkolner and l_themis, does it say "no location found" or does it say nothing at all?
[HTC Sensation] jkolner:
It says "No location found".

I just restored to OrDroid ROM instead, but can't find any city at all when i install the app :-(
[HTC Sensation] l_themis:
Same for me, "No location found" with open wifi
[HTC Sensation] Gödel:
It seems like it just does not make the connection it should.

When I have time, I'll add more connection error handling to distinguish between not finding a city and a connection problem.

That doesn't solve the problem though, its weird. Can you verify that under app-info in your system settings, this app has full internet access?
[HTC Sensation] jkolner:
It has full internet access and Wifi is connected.
[HTC Sensation] Gödel:
Please try the new version, included in the OP. I simplified the search part a bit using a different http request, maybe it works in this way.

I will try to make some more improvements sometime soon, this was what I could do right now.
[HTC Sensation] jkolner:
Didn't work with the new one either.
[HTC Sensation] Gödel:
It seems like an encoding issue, I forgot to encode the location properly in the new version and got the errors myself. I updated the application once again.

However, this will probably fix nothing for you guys, I will look at it in more detail sometime soon. Sorry for the inconvenience.
[HTC Sensation] l_themis:
No problem my friend, take your time. For me is something very useful so it will be perfect if it finally works!
[HTC Sensation] Stephen:
This looks good. Is there anyway to get the sense weather lock screen to change from current to a different city?
[HTC Sensation] jasminthoria:
Tried new version can not find any cities.even London, bristol, paris
[HTC Sensation] Gödel:
Okay, this is getting embarrassing.

I updated the apk again, please try it and report the error you get.

If it works, please let me know as well :).
[HTC Sensation] jasminthoria:
Still not working mate. Now it shows me connection error and ask me do you have internet connection? I don't think it will work.
[HTC Sensation] Gödel:
It has worked perfectly here though, up to now (even tried it on a desire HD yesterday). Is this site accessable from your place?
[HTC Sensation] tal100:
I also get network error (israel)

I cant access the site you gave above
[HTC Sensation] Gödel:
Well, so much for a solution then. Apparently the site above is not accessable for some countries. The search for cities uses it.

So at least it works in the Netherlands, and I think it will work in the US as well.

I still find it rather strange, it must be some legal issue.

In any case, I could not foresee this problem.

A solution would be to setup a forward portal, but that's a little much. I'll try to look for some trick to access that site.
[HTC Sensation] D-SHEL:
Problem with internet connection in PkMn 4.5.0.
[HTC Sensation] robbin7:
Working great - THANKS :)
[HTC Sensation] bonesy:
Great work! Wish i hadnt wasted 2 months trying to build an app like this now.

Try making a proxy server to forward from you to the link? Or VPN i dont know how those work but im sure 1 is the right one lol
[HTC Sensation] merwin:
I just get a force close when searching for a city.
[HTC Sensation] kleiner_onkel:
Hi Gödel

Idea is great, but unfortunately doesn´t work for me in Germany. Always get Errror message for missing Internet connection, even with GSM or WLAN connection. Hope you´ll be able fix. Maybe it´s possible to have also option for manual adding too.

Regards

Edit: Access to site you mentioned in 1st post is working w/o any issue.
[HTC Sensation] wizard01:
Process has stopped?

Was really chuffed to find this app, found the city/town I was looking for no problem but when "Add to location database" was done, the error:

"The application Weather Locations Manager for Sense (process com.godel.weathermgrsense) has stopped unexpectedly. Please trya again".

Even rebooted the HTC Sensation I have but same error. Would be really grateful if a solution could be found.
[HTC Sensation] Gödel:
That's not good. You do have root access? Did a message to grant root access pop up at some point? I'll look at it in a few days.
[HTC Sensation] jkolner:
I can access the test link from my PC through WiFi, but when i connect my phone to the same WiFi and try to open the test link, i get: webpage not available.
[HTC Sensation] wizard01:
Error

I have allowed a new HTC Sensation/Android upgrade, the message has changed now to "Unfortunately, Weather locations manager for sense has stopped."

I live in South Africa but my one child has moved to Australia, a town in New South Wales called Armidale, it is this town I am trying to get in my HTC.

Any help is much appreciated.
[HTC Sensation] Gödel:
I think you do not have root access. This app does not work without root access.
[HTC Sensation] icanttinkofaname:
Has development for this stopped?! I would like to see this happen. It's a very clever mod that makes location searching a lot better!
[HTC Sensation] htcsensation:
fixed...
[HTC Sensation] jkolner:
What is fixed?

/ Sent from my Sensation XE /
[HTC Sensation] icanttinkofaname:
+1. What's fixed?!
[HTC Sensation] cee:
+1

Hi Gödel,

an option to insert the locCode from Accuweather manually would be nice and the phone wouldn't need any internet connection.

Greetz,

Cee.
[HTC Sensation] bahurd:
Connection Error??

Get the error: "it shows connection error and ask me do you have internet connection"

Checked permissions and it has access to all network connections. Also, I have full root.

USA located.

I get the XML file when connecting via my PC.
[HTC Sensation] Gödel:
I'm working on a version that will produce better errors, I really want to pinpoint the problem. I'll probably add the option to manually enter the locCode as well.
[HTC Sensation] Gödel:
New version is up for download. You can now add cities by entering the locCode directly. Also errors are now a bit more extensive, so please report me the errors you get (especially those who cannot search for cities).
[HTC Sensation] durius:
Hi,

When searching for city name I get this error:

org.apache.conn. HttpHostConnectException: Connection to http://netweather.accuweather.com refused

Connection to http://netweather.accuweather.com refused

cause: java.net.ConnectException: failed to connect to /127.0.0.1 (port80)

connect failed: ECONNREFUSED (Connection refused)

Hope this helps
[HTC Sensation] icanttinkofaname:
I get the same error. Trying to restore the original database causes fc's

Sent from my Sleek, Sexy Sensation with ViperS 1.0.1
[HTC Sensation] cee:
+1

Adding locCode manually gives an error

"You cannot enter an empty cityname".

After changing "Edit language" and re-enter all values, location is added succesfully to DB

Greetz, cee.
[HTC Sensation] Gödel:
You'll have to enter at least a cityname for each language, otherwise you'll not be able to find it in the weather app, so it makes no sense to add it to the database.

When using the search method, these values are pre-filled with data obtained from the web, when entering just the location code you'll have to do it yourself.

Thanks all for the errors, I'll try to figure out what's going on. It is not so easy since I cannot reproduce the error myself, it always works on my device. It seems like the server rejects requests from your phones, I'll have to find out what data causes it, and how to change it.
[HTC Sensation] cee:
Hi Gödel,

just an idea to check...

I think there might be a problem with root access or file rights

What are the rights of the weather db files in your

/data/data/com.htc.provider.weather/databases/*

/data/data/com.htc.provider.weather/files/*

After i granted su rights to your app manually, everything works like a charm now.

Hope it's not just coincidence because accuweather changed something in between :fingers-crossed:

Greetz, cee.
[HTC Sensation] Stephen:
Is it possible to use a similar method to add cities to the clock that you cant otherwise add? EG in the clock I search for Newtownards and it is not found. Is there a way I can add it manually?
[HTC Sensation] cee:
Adding a new weather location, you will have the same location available in clock app.

EUR|UK|UK402|Newtownards

Greetz,

cee.
[HTC Sensation] Stephen:
Thank you!!!
[HTC Sensation] Gödel:
My app copies the database files to a new location, and then I chmod it to be able to write to them. Then it just overwrites the old database files, so there shouldn't be a problem with rights, but root access is really important.

Btw I'm in France now and the search option still works for me. I think it is a phone issue rather than a country issue, something with internet settings. I'll try different internet libraries when I'm home.

For now, anyone running the same ROM as I should be able to search for cities, I suppose.
[HTC Sensation] durius:
You are right about the internet connection.

The first time I tried and got the error mentioned previously I was on a WiFi connection.

Now I tried to connect through 3G and all is working fine. Searched ofr a city name and it immediately gave me the answer with several options of the same city name around the world.

So it must have something to do with the type of connection you use
[HTC Sensation] cee:
I don't think so.

For me there was/is no difference whether I use 3G or WiFi.

In my opinion the problem is SW based related to rights or firmware/ROM version or MODs

For me weather locations stopped working after I updated the AdFree host file

So it looks like we have a problem with host entries - which makes sense regarding to the internet connection problem.

Greetz,

cee.
[HTC Sensation] tal100:
Disabling adway worked!!

But it cant find my city shoham,israel
[HTC Sensation] icanttinkofaname:
Ad away is The issue, but once disabled, you can add your locations perfectly! I've turned ad away back on now that I have all the locations I want and weather for my locations still works fine!

Sent from my sleek sexy Sensation with ViperS
[HTC Sensation] cee:
Accuweather doesn't know Shoham, so weather locations manager can't find it either.

Greetz,

cee.
[HTC Sensation] tal100:
Actuolly it can find it but only when i'm using the function of showing the weather in local place
[HTC Sensation] cee:
As I said before, accuweather doesn't know a city called Shoham (maybe it's too small).

pls look --> netweather.accuweather.com

The weather info refering to your local place refers to a different DB.

The nearest locations for your area (~3 km) I found are:

MEA|IL|IS002|BAREQET

MEA|IL|IS002|KEFAR TRUMAN

You may name it whatever you want

e.g. MEA|IL|IS002|Shoham

and sensation shows Shahoms weather where ever you are. DONE.

May be that helps.

Greetz,

cee.
[HTC Sensation] cee:
Known apps making trouble

Hi Gödel,

as far as I am able to track down the error, we do have problems with apps, which are blocking ads.

It seems, that not the app itself is the culprit but the changing of (host) files.

For now these are:

- AdFree

- AdAway

May be that helps.

Greetz,

cee.
[HTC Sensation] Gödel:
Just installed AdFree, and that program adds the line

127.0.0.1 netweather.accuweather.com to /etc/hosts .

My app connects to that host to search for weather locations, so clearly that line should not be there. Removing the line solves the problem, while still blocking all other hosts.

Maybe in a next version I'll try to get around it, maybe find some way to bypass it without changing the host file, otherwise I'll just check if the server gets blocked and remove the line in that case.

Thanks guys, it would have taken ages for me to find this out myself, I never used AdFree or anything like that before.
[HTC Sensation] cee:
Your welcome.

That's what xda is for.

I contacted the devs of AdFree and AdAway asking for not adding the accuweather line to the host file.

Would save you the workaround ;-)

Greetz,

cee.
[HTC Sensation] cee:
Background info

Hi folks.

the culprit is found and here is the background:

AdFree and AdAway using blacklist from sites which are collecting domains known for ad tracking and malware distribution etc.

AdAway's blacklist seems to be provided by http://hosts-file.net

AdFree's blacklist seems to be provided by http://winhelp2002.mvps.org/

and/or http://pgl.yoyo.org/adservers/

All three rate "netweather.accuweather.com" as a domain being used for advert or tracking purposes.

Solution for AdAway users:

Add "netweather.accuweather.com" to your whitelist.

Solution for AdFree users for now:

1. Before using weather locations manager open AdFree and press "Revert", which restores the original host file. Close AdFree.

2. Make changes to your phone's locations DB via weather locations manager

3. Open AdFree again and press "Downlaod & Install Hosts".

Solution for all:

Don't use ad blocking apps ;)

Greetz and thnx to all guys who helped me,

cee.
[HTC Sensation] tal100:
An awesome idea how i didn,t thought about this, thank u very much for every thing
[HTC Sensation] Stephen:
When I go to add in my town "Newtwownards" It puts it on the wrong place as you can see. Any ideas how I can fix this?
[HTC Sensation] cee:
Hi GhostXSerie,

You may have a look at

/data/data/com.htc.provider.weather/files/WP_0409WWE.db

on your phones memory.

- open file with any SQL editor.

- in table "locationslist" you'll find all locations with their corresponding latitude and longitude

- edit values

- save

- DONE

Greetz,

cee.
[HTC Sensation] Gödel:
Global coordinates

Cee basically gave the answer above. Up to this point, I did nothing with the global position of the places, because for the weather providing part those entries in the database do nothing. I just leave them out. I thought that those data were only there to provide the weather for the local position, a minor feature in my view, so I didn't want to spend too much time on it. But as I see, in sense 4 (I guess) they do more with it.

I'm working on a new version of the application, including a check on the host file, I'll add the option to add coordinates as well.
[HTC Sensation] Stephen:
Looking forward to it! This is a cool application. I notice on my clock at alot of the time in the world clock the time for the current position is an hour behind. By setting it using this app it seems to fix the issue!

Hope to see a new version soon!
[HTC Sensation] Peedy1971:
Have another problem: when I try to add my city, it actually finds it. But when I tap on "add to location database", the app (process com.godel.weathermgrsense) gets "force-closed" :(
[HTC Sensation] Gödel:
Do you have root access?

Btw my next version is almost done now, and it will check for root access on boot so if you don' t have it it'll tell you.
[HTC Sensation] Gödel:
New Version

New version up for download!

The Addblocker problem should be fixed by now. AdFree doesn't care about removing a single line from the host file (it only does a version check probably),

so that is working great.

Also, you can enter coordinates now, and thanks to a very nice api by google, it even obtains the coordinates automatically from the web. Please let me know if this works appropriately with Sense 4, I didn't put a restriction on the number of digits of the coordinates, and I don't know how that will work out.

-Gödel
[HTC Sensation] fatihya:
Thank

Thank you for your application.
[HTC Sensation] Stephen:
Yes new version working well with sense 4.0. As you can see it is now setting the location in the right area!

]

Edit. Giving right location now but differnent weather readings. Current location is reading 15 degrees partly sunny and added location is 16 degrees intermittent clouds.
[HTC Sensation] cee:
Hi,

don't worry. That's normal as long as you don't see 5°C an snow instead of 25°C and sunny ;)

Current locations is fed from a different DB and the time interval for updating the values in both DBs may differ as well.

Greetz,

cee.
[HTC Sensation] Stephen:
Cheers. It is just I notice that the weather widget can have differet weather than the location on the clock. On the weather widget it can say sunny and the clock can say rain sometimes.

Can be a bit annoying!