libera/#maemo/ Friday, 2020-08-14

dotcommahey,can someone help me with my n900?04:45
dotcommait only boots in r&d mode04:45
dotcommadespite after being reflashed twice04:46
dotcommabooting in normal mode would end up in five dots for 10 secs then reboot04:47
Maxdamantusdotcomma: I suspect it's not meant to be disabled by just reflashing. You probably have to use `--disable-rd-mode`.07:03
Maxdamantusdotcomma: ie, run `flasher_3.5 --disable-rd-mode` and plug in the N900 while it's off.07:04
MaxdamantusOh, nvm, misunderstood the problem.07:05
MaxdamantusSo that behaviour probably means the watchdog is rebooting the device.07:06
sixwheeledbeast~bootloop08:54
infobotextra, extra, read all about it, bootloop is when your device has broken rootfilesystem, so during reboot it fails on some service startup or kernel module load and thus reboots. This *drains* battery! And you can't reflash to stop bootloop when battery is drained. Recharge your battery by other means before reflashing. E.g. using ~rescueOS. Or external charger or BL-5J compatible other device.08:54
sixwheeledbeastis flashing definitely completed?08:55
KotCzarny~flatbat08:57
KotCzarny~flatbatt08:57
KotCzarny~flatbatrecover08:58
infobotRemove battery for 1 minute. Insert battery. Plug powered ***NOKIA WALLCHARGER*** to device. Watch steady amber. Let sit and charge. Do NOT try to boot. After 30 min, you got either a) a booted up N900, b) flashing amber which means you can boot, c) steady amber shut off -> start over again with ~flatbatrecover while already searching for a new battery. CAVEAT! Only works when ~rootfs OK (no ~bootloop)08:58
KotCzarnyalso might come handy08:58
dotcommasixwheeledbeast:flashing completed just fine and normally,but the phone still bootlooped10:19
sixwheeledbeastsee above maybe flat battery? what makes you think rdmode is on?10:20
dotcommaabout batteries,I have 3 and have all charged them via a Lumia 52010:20
dotcommaI enabled rd mode after looking up threads on the forum10:22
sixwheeledbeastare you flashing both the emmc and the rootfs?10:22
dotcommayes10:23
dotcommai got the phone in that state so i guess it's a hardware problem then10:23
KotCzarnydefine 'bootloop'10:24
KotCzarnythere are few different kinds10:24
KotCzarnyhow far does it boot?10:24
sixwheeledbeastmaybe but I would assume there is something else10:24
KotCzarnyno 5dots, 5dots, desktop10:24
MaxdamantusSo just to be clear, it basically works fine as long as R&D mode is enabled?10:24
sixwheeledbeastespecially if you get to five dots10:24
dotcomma5 dots moving for 10 seconds,then froze and reboot10:24
MaxdamantusSeems fairly feasible to me that for whatever reason, the watchdog is triggering a reboot.10:25
KotCzarnyonce i had a 'bootloop' because because /home/user wasnt accessible10:25
MaxdamantusSince afaik that's normally disabled in R&D mode.10:25
dotcommait works just fine minus charging and battery indicator10:25
dotcommain r&d10:25
MaxdamantusMm. I think one of the two watchdogs has to do with charging.10:26
sixwheeledbeastalso if batteries are tired when the modem starts you have a lot more load.10:26
sixwheeledbeast~bootreason10:27
infobot[bootreason] cat /proc/bootreason also see https://wiki.maemo.org/Troubleshooting_boot_issues#Reporting_reboot_issues for details10:27
sixwheeledbeastthat would show if watchdog?10:27
dotcommathe phone's reporting 1 bar and 1/1mAh too which makes me think it's hardware10:28
KotCzarnymaybe bad batteries/contacts?10:28
dotcommathey all work on the 520 and are all Nokia new old stock so nah10:29
KotCzarnybattery contacts in phone?10:29
KotCzarnyyou can get battery info in terminal10:30
sixwheeledbeasteven if they work it's load at boot that hasn't been ruled out10:30
KotCzarnywouldnt be half bad if you pastebin'ed it10:30
KotCzarnythere is a possibility that charging circuit is fried too10:30
KotCzarny~bc290010:32
KotCzarny~bc270010:32
KotCzarny~bc2700.sh10:32
KotCzarnyhrm10:32
KotCzarny~listkeys bq2710:33
infobotFactoid search of 'bq27' by key (5): calibratebq27200 #DEL# ;; bq27200 ;; bq27 ;; bq27k-detail ;; bq27k-calibration.10:33
Maxdamantusdotcomma: might be worth showing your kernel messages (`dmesg`) after booting in R&D mode, since that's easy to obtain.10:34
Maxdamantus(reading /proc/bootreason would probably require modifying some init scripts to log it, or loading a rescue system on reboot)10:34
KotCzarny~bq2710:34
infobotrumour has it, bq27 is http://maemo.cloud-7.de/maemo5/usr/local/sbin/ bq27*, or http://maemo.cloud-7.de/maemo5/patches_n_tools/10:34
KotCzarny~bq2720010:35
infobotfrom memory, bq27k-detail is http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27k-detail2, or ~bq2710:35
KotCzarnyhttp://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27200.sh10:35
KotCzarnyinfobot: #maemo bq27 is also http://wiki.maemo.org/N900_Hardware_Charge_Meter10:36
infobotokay, KotCzarny10:36
KotCzarny~bq2710:36
infobotwell, bq27 is http://wiki.maemo.org/N900_Hardware_Charge_Meter10:36
KotCzarnydarn.10:36
KotCzarnyinfobot: forget #maemo bq2710:36
infoboti forgot #maemo bq27, KotCzarny10:36
KotCzarnyinfobot: bq27 is also http://wiki.maemo.org/N900_Hardware_Charge_Meter10:36
infobotokay, KotCzarny10:36
KotCzarny~bq2710:36
infoboti guess bq27 is http://maemo.cloud-7.de/maemo5/usr/local/sbin/ bq27*, or http://maemo.cloud-7.de/maemo5/patches_n_tools/, or http://wiki.maemo.org/N900_Hardware_Charge_Meter10:37
sicelo why not write it in full ... i think we are more like toly to search bq27200 than bq2710:37
siceloat least i wouldn't search bq27 alone10:37
KotCzarnyfeel free to fix that, i was having trouble remembering which controller model it was10:38
KotCzarny:)10:38
KotCzarnyalso, seems those might be compatible with any bq27x00 controller10:41
dotcommamonitoring with lshal -m gave me charging status=error,probably there's my issue since RD mode should still have working charging and indicator right?10:42
KotCzarnylshall probably uses dbus approximation10:42
KotCzarnybq script will inquire battery controller directly10:42
KotCzarnyand when you switch batteries capacity is 100% wrong, because it wasnt calibrated10:43
KotCzarnyrd mode probably just disables watchdog, it doesnt prevent charging10:46
KotCzarnyi bet that something is wrong with battery controller in your n90010:47
dotcommahttps://talk.maemo.org/showpost.php?p=1181666&postcount=130 this completely fits what I have10:55
dotcommaprobably previous owner used a dodgy charger and fried the sense circuit10:55
KotCzarnyyup, part of the battery controller fried10:56
dotcommaI'll try finding a broken touch/lock code n900 around my area then probably10:58
KotCzarnythere is a plenty with broken usb10:58
KotCzarnyalthough that doesnt help if you cant solder tiny part10:58
KotCzarnybroken lcd might be also a good one to swap10:59
KotCzarnybecause it's easiest to just swap whole display part10:59
KotCzarnyor you can hack around and maybe you can get it to charge10:59
dotcommaI got this for free from a phone shop saying "what do you know it's another untested but turns out to be dead n900"11:00
KotCzarnyseeing the guy in that thread managed to do it with restarting bmi11:00
KotCzarnyfree is always nice11:00
KotCzarny:)11:00
dotcommavoltages do go up when i check so it works for the time being I guess11:00
KotCzarnycheck that battery script i've pasted earlier11:01
dotcomman900s with toast baseband/bootloop are more common than working ones somehow11:02
dotcommawell it's Vietnam,what did you expect11:02
KotCzarnythat's because modem chip gets desoldered from heavy presses on keyboard11:03
KotCzarnyif you can reflow it, it will go back to life11:03
dotcommasounds like the iPhone 4 to me,lol11:04
KotCzarny:)11:04
dotcommaI just heard sad news,my local phone shop threw a N9 screen instead of a dead Lumia 800 screen on accident,whoops11:06
KotCzarnyarent those the same?11:06
dotcommathe screens for the N9 are starting to get harder to find it seems11:06
KotCzarnyi thought they only differ in software11:06
dotcommatechnically,yes11:07
dotcommathe 800 have the extra display space blocked by the printed keys11:07
dotcommaon the glass11:07
dotcommaand no front camera cutout11:08

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!