MIUI Weather auch für Deutschland

  • Hat sich erledigt ich weiß warum ich FC hatte
    War faltsche zeit zone :) hat alles geklapt ^^

    R.I.P. HTC Magic | HTC Desire | LG Optimus Speed | Galaxy Nexus | LG Nexus 4 | LG Nexus 5 | LG G4 | Moto X Style | Nokia 8 | Mate 20 Lite | Galaxy S9 | Redmi 9


    Galaxy A33 & Xiaomi Mi 10 Lite & Pixel 6 Pro

    Einmal editiert, zuletzt von Prazaar ()

  • Hallo,
    hab heute erfolgreiche meine Stadt Schenefeld hinzugefügt.
    Damit ihr es vielleicht auch schafft eure Städte hinzuzufügen hier eine kleine Anleitung:


    1. Hab ich mit dem Notepad++ die miui_city.db geöffnet und mit der Suchfunktion meine Stadt rausgesucht.
    sieht so aus: 2618DEDESchenefeldSchenefeld110002485MIUI-DEV;
    davor und dahinter steht zwar noch was in schwarz aber egal...
    2. Nun hab ich mit dem Root Explorer die miui_city.db auf dem Handy gesucht:
    data/data/com.miuiweather/database
    3. diese öffnen mit dem SQLite Editor (kostet mich zwar 2€ Euro aber das war es mir wert)
    4. nun hab ich einen neuen Eintrag unter city angelegt
    5. id nehmt ihr die ersten zahlen vor DEDE also in dem Fall 2618
    6. dann root und Parent jeweils DE eintragen
    7. Name und PinYin den Namen eurer Stadt
    8. alles frei lassen bis auf POSID da schreibt ihr die letzten Zahlen hin also 110002485
    9. bei URL noch MIUI-DEV und fertig
    10. Der Eintrag erscheint ganz unten in der Liste
    11. Danach beim Widget danach suchen und fertig. Geht aber nicht über DE direk.


    Hoffe es hilft euch.


    PS: Ist auch in Celsius!!! :bye:

  • Jup genau so hab ichs auch gemacht und celsius stimmt auch *bestätigung*

    R.I.P. HTC Magic | HTC Desire | LG Optimus Speed | Galaxy Nexus | LG Nexus 4 | LG Nexus 5 | LG G4 | Moto X Style | Nokia 8 | Mate 20 Lite | Galaxy S9 | Redmi 9


    Galaxy A33 & Xiaomi Mi 10 Lite & Pixel 6 Pro

  • Mangels Kreditkarte kann ich mir den SQLite Editor nicht kaufen, um die Modifikationen an der Datenbank selbst vorzunehmen :(
    Wäre denn jemand von Euch so lieb und pflegt mir meine Stadt, 36304 Alsfeld, ein?


    Ich wär Euch wirklich dankbar, weil ich die Weather App endlich nutzen möchte, nachdem ich so lange darauf gewartet habe, dass sie endich verfügbar für uns alle ist. :)


    LG Knurpsi

  • Hallo Leute hier ist eine Kopie der Anleitung aus dem XDA Forum wie man wohl jeden erdenklichen Ort in die MIUI Weather App einpflegt.


    Ich habe es bisher nur mit Berlin probiert. Und es hat geklappt.


    "Hello everybody,
    when I searched the web for a tutorial how to add a city to MIUI-Weather app and found nothing yet, I started to try to add my own city to the database of MIUI. I was succesful and I thought that it would be a good idea to write a tutorial how to add your own city to the db.


    You need the following:

    • root
    • SQLite Database Browser: sourceforge.net/projects/sqlitebrowser/


    I'm not responsible if you damage your phone, brick it or it does not start anymore. You're the one who's responsible for your device. You should know what you do


    I explain the process on the database of Europe and Germany, because there's nothing added for Germany.


    First thing to do is to download the database of your desired location. Save it somewhere where you find it again. Now start "SQLite Database Browser" and open the database. It should now look like thid (Attached Image 1). Switch to the tab "Browse Data" and select "hotcity" as the table (Attached Image 2).


    Now search for the abbreviation of your country, in my case it's "DE" for "Deutschland" (Germany). Remember the abbreviation and the posID of your country. So in my case I need "DE" and "110000001"


    Now head over to weather.com and search for your city, where you live in. In my case I search for "Cloppenburg, Germany". Now you should have an url like this: "weather.com/weather/today/GMXX0017:1:GM". The part which is necessary is "GMXX0017", the GM stands for Germany, the XX is a placeholder I think and 0017 is the ID we need.


    Now we have the posID of our country and the ID of our city. Now we have to sum the posID and the ID of our city. In my case it's "110000001" + "0017" which ends up in "110000018". This is the posID for our city.


    Now we switch back again to our SQLite Database Browser and select "city" as our table (Attached Image 3). Now we have to go to the last page (Attached Image 7) and look for the last ID used in the database. In my case it's "16619" (Attached Image 4), so the next ID is "16620".


    Now we create a new record and insert all our information we have, this happens when you double click the specific field of the new added empty line.
    This should look like this (Attached Image 5).


    When you entered every information it should look like this (Attached Image 6). Save your database and push it back to your device.


    Code:adb push miui_city_entire_eu.db /data/data/com.miui.weather/databases/miui_city.db


    Now you should be able to select your city in the weather app and use the app effeicient."



    Als Zusatz muss gesagt werden das ihr bei der miui_citiy.db alle Berechtigungen eingeschaltet werden müssen, sonst geht die App gar nicht mehr.


    Ich hab das mit Root Explorer gemacht.



    MfG

  • ich kriege es einfach nciht hin kann mir es jemand mit http://www.weather.com/weather…agen+Deutschland+GMXX1018 Meinerzhagen machen wäre sehr dankbar


    Hier bitte schön ^^


    zip ist nicht Flashbar die db befindet sich nur in der zip ^^


    PS: auf wunsch trage ich jeden Ort in die db ein ich arbeite in moment daran alle DE orte einzutragen..

    Dateien

    • miui_city.zip

      (365,46 kB, 16 Mal heruntergeladen, zuletzt: )

    R.I.P. HTC Magic | HTC Desire | LG Optimus Speed | Galaxy Nexus | LG Nexus 4 | LG Nexus 5 | LG G4 | Moto X Style | Nokia 8 | Mate 20 Lite | Galaxy S9 | Redmi 9


    Galaxy A33 & Xiaomi Mi 10 Lite & Pixel 6 Pro

  • ich kann die App nicht mals öffnen, wenn ich die .apk auf das DHD ziehe;
    muss ich da erst irgendwelche datenbanken einfügen/installieren bevor ich die .apk öffnen kann?

  • ich kann die App nicht mals öffnen, wenn ich die .apk auf das DHD ziehe;
    muss ich da erst irgendwelche datenbanken einfügen/installieren bevor ich die .apk öffnen kann?



    Lade die beiden zips auf deine SDCard:


    MIUIDev_Weather_EU_Beta.zip
    MIUIDev_Weather_EU_Beta-DB.zip


    Starte dein Recovery Flash die MIUIDev_Weather_EU_Beta.zip als erstes und starte handy normal neu
    nun ziehst du das Weather Widget auf deinen Homescreen und drückst ein mal drauf sollte ein FC kommen
    Starte wieder dein Recovery nun Flash MIUIDev_Weather_EU_Beta-DB.zip starte wieder normal neu


    Sollte jetzt gehen

    R.I.P. HTC Magic | HTC Desire | LG Optimus Speed | Galaxy Nexus | LG Nexus 4 | LG Nexus 5 | LG G4 | Moto X Style | Nokia 8 | Mate 20 Lite | Galaxy S9 | Redmi 9


    Galaxy A33 & Xiaomi Mi 10 Lite & Pixel 6 Pro

  • Hier bitte schön ^^


    zip ist nicht Flashbar die db befindet sich nur in der zip ^^


    PS: auf wunsch trage ich jeden Ort in die db ein ich arbeite in moment daran alle DE orte einzutragen..

    Hi,
    find ich klasse, dass du alle DE orte eintragen willst. gibts da schon was neues von? :)


    greetz

  • Hi,
    find ich klasse, dass du alle DE orte eintragen willst. gibts da schon was neues von? :)


    greetz


    ja ich hatte 1000 städte eingetragen und dann fand es mein sqlite prog lustig zu craschen und die datei zu zerschissen muss neu anfangen in moment suche ich eine möglichkeit die "toten" einträge der db herzustellen

    R.I.P. HTC Magic | HTC Desire | LG Optimus Speed | Galaxy Nexus | LG Nexus 4 | LG Nexus 5 | LG G4 | Moto X Style | Nokia 8 | Mate 20 Lite | Galaxy S9 | Redmi 9


    Galaxy A33 & Xiaomi Mi 10 Lite & Pixel 6 Pro

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!