Új hozzászólás Aktív témák
-
moli.hu
őstag
Segitseg kellene: az android firmware-verzio ellenorzes folyamatat szeretnem szimulalni, hogy egy pc-rol is le tudjam kerni, hogy van-e uj verzio a mobilomra (crontabbol naponta). Reszeredmenyeim vannak.
Az android2-n teljesen mas ez a muvelet, mint az android4-en, sot, mintha gyartotol fuggene a muvelet, mert egy Motorola-n syncml-t hasznal a muvelet, egy Samsung-on nem tudtam megallapitani, egy Prestigio-n, ami MTK chipsetet hasznal, pedig json-nel.
Logcat-tel kinyomtam a logot, es atneztem, a kovetkezoket talaltam:
url: http://huaquin.dl.prestigio.com/fota/download/checkversion.php
ez a script POST-ot var, viszont mindenfele variaciora http500-zal exceptionozik.a log relevans resze:
06-19 21:12:41.836 I/GoogleOta(4298): HttpManager:onHandsakeAuthentication
06-19 21:12:41.836 I/GoogleOta(4298): Util:getDeviceInfo enter
06-19 21:12:41.855 I/GoogleOta(4298): HttpManager:onHandsakeAuthentication, imei = xxxx9801789xxxx, sn = xxxx7030xxxx4614xxxx, sim = , operator =
06-19 21:12:41.861 I/GoogleOta(4298): HttpManager:doPost, url = http://huaquin.dl.prestigio.com/fota/download/login.php, cookies = null
06-19 21:12:41.879 I/GoogleOta(4298): HttpManager:doPost, http
06-19 21:12:41.896 I/GoogleOta(4314): SysOperService:onCreate
06-19 21:12:41.897 I/GoogleOta(4314): SysOperService:onBind
06-19 21:12:41.900 I/GoogleOta(4298): HttpManager:onServiceConnected, mNeedServiceDo=3
06-19 21:12:41.916 D/Posix (4298): [Posix_connect Debug]Process com.mediatek.GoogleOta :80
06-19 21:12:42.212 I/GoogleOta(4298): HttpManager:cookies size = 1
06-19 21:12:42.212 I/GoogleOta(4298): HttpManager:getChunkedContent
06-19 21:12:42.212 I/GoogleOta(4298): HttpManager:getChunkedContent, isChunked = true
06-19 21:12:42.216 I/GoogleOta(4298): HttpManager:onHandsakeAuthentication, response content = {"sessionId":"xxxx9553CCB28A2471D98F9C89A4xxxx","status":1000,"rand":134971235}
06-19 21:12:42.216 I/GoogleOta(4298): HttpManager:parseAuthenInfo
06-19 21:12:42.217 I/GoogleOta(4298): HttpManager:cookies size = 2
06-19 21:12:42.217 I/GoogleOta(4298): HttpManager:onHandsakeAuthentication, rand = 134971235, sessionId = xxxx9553CCB28A2471D98F9C89A4xxxx
06-19 21:12:42.217 I/GoogleOta(4298): HttpManager:onCheckNewVersion
06-19 21:12:42.217 I/GoogleOta(4298): HttpManager:getToken
06-19 21:12:42.218 I/GoogleOta(4298): HttpManager:getToken, str = xxxx137535613497xxxx
06-19 21:12:42.218 I/GoogleOta(4298): Util:getDeviceVersionInfo enter
06-19 21:12:42.219 I/GoogleOta(4298): Util:getDeviceVersionInfo, versionInfo = Prestigio_PAP4040DUO_en_PAP4040DUO.20130513.V1.0.16_null
06-19 21:12:42.219 I/GoogleOta(4298): HttpManager:doPost, url = http://huaquin.dl.prestigio.com/fota/download/checkversion.php, cookies = [[version: 0][name: PHPRAND][value: 134971235][domain: huaquin.dl.prestigio.com][path: /fota/download][expiry: Wed Jun 26 21:12:43 CEST 2013], [version: 0][name: PHPRAND][value: 134971235][domain: null][path: null][expiry: null]]
06-19 21:12:42.220 I/GoogleOta(4298): HttpManager:doPost, http
06-19 21:12:42.222 D/Posix (4298): [Posix_connect Debug]Process com.mediatek.GoogleOta :80
06-19 21:12:42.358 I/GoogleOta(4298): HttpManager:getChunkedContent
06-19 21:12:42.358 I/GoogleOta(4298): HttpManager:getChunkedContent, isChunked = true
06-19 21:12:42.359 I/GoogleOta(4298): HttpManager:onCheckNewVersion, response content = {"status":1010,"info":"Your version is the latest version"}
06-19 21:12:42.359 I/GoogleOta(4298): HttpManager:parseCheckVersionInfo
06-19 21:12:42.360 E/GoogleOta(4298): HttpManager:parseCheckVersionInfo, error info = Your version is the latest version
06-19 21:12:42.360 I/GoogleOta(4298): HttpManager:onCheckNewVersion, res = null
06-19 21:12:42.361 I/GoogleOta(4298): DownloadStatus:setQueryTime, time = 2013-06-19
06-19 21:12:42.361 I/GoogleOta(4298): HttpManager:onQueryNewVersion, hasNewVersion = false, mErrorCode = 1010
06-19 21:12:42.361 I/GoogleOta(4298): HttpManager:sendErrorMessage, mErrorCode = 1010
06-19 21:12:42.362 I/GoogleOta(4298): GoogleOtaService:queryNewVersion, doneItt lathato, hogy eloszor meghivja a login.php-t, majd kap egy sessiont. Ezt mind megcsinaltam, kaptam is egy json-t vissza es cookiet, beallitottam oket, megse jo utana a check.php script.
Nekem ugy nez ki, hogy az MTK chipsetes keszulekeknek sajat, kinai FOTA-szoftvere van. Turom a google-t, ennyit talaltam:
http://www.apkbus.com/android-112779-1-1.html
vegigolvastam ezt a kodot, de nem ertem, miert kapok http500-at.Tudtok segiteni?
Új hozzászólás Aktív témák
- Bomba ár! HP ProBook 430 G5 - i5-7GEN I 8GB I 128GB SSD I HDMI I 13,3" HD I Cam I W11 I Garancia!
- Game Pass Ultimate előfizetés azonnal, problémamentesen, méghozzá OLCSÓN! Immáron 8 éve!
- LG 27GS60QC-B - 27" Ívelt - 2560x1440 - 180Hz 1ms - AMD FreeSync - Bontatlan - 2 Év Gyári Garancia
- ÁRGARANCIA!Épített KomPhone Ryzen 5 7500F 32/64GB RAM RTX 5070 12GB GAMER PC termékbeszámítással
- 365 NAPRA RÉSZLETRE BANKMNETES KAMATMENTES , GAMER PC ,LAPTOPOK , GAMER SZÉKEK , GAMER MONITOROK
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest

