libera/#maemo-leste/ Saturday, 2021-06-12

Wizzupuvos__: check @ mbm.bin00:14
Wizzupglad it didn't brick00:14
tmlinduvos__: good to hear the flakey wlan d4 is back alive :) and nice try on the xoom2 allow-mbmloader-flashing-mbm.bin :)06:43
uvostmlind: Wizzup: so either the mbm flash was not harmless or this tablet has the wierdedst fault ever....08:38
uvostmlind: Wizzup: It has honeycomb installed. I was playing around with the preinstalled games and noticed most just force close and dont run, also the device isent clean theres a google account registerd and there are some pictures on it, so i went into recovery to reset it and that seamd to work... but once it rebooted it was still the same. wierd maybe the recovery is broken. So i did the mbm flashing thing and it seamed to08:47
uvoswork fine, when i was done i restored the mbm it started with (the one from 1.6.0) and that went fine too. Then i decided to upgrade it to VRZ_9.8.2OT (android 4.1) to have the latest kernel for kexecboot. i could not do it from android recovery because it just errors out with "no sdcard inserted" great but whatever. so i whent and flashed everything via fastboot boot system preinstall and so on and fasboot responds with OK08:47
uvosevery time an it looks like its working.08:47
uvosso i reboot aaand.... is honycomb again. wtf? i try again. same thing. i try flashing VZ_7.7.1 (android 4.0), nothing changes. i try flashing just an empty logo.bin. that works but the logo dosent change. So i boot honycomb again and make a terrible discovery, the entire devce is read only, like i can take a picture with the camera and it will do its thing but the picture never appears. i can change device settings only for them08:51
uvosto dissapear as soon as i navigate away.08:51
uvosi cant say for sure that the mbm thing dident cause this, but the failure to factory suggests it did not. i think the flash chip in the deivce has entered some kind of safe mode due to a high error rate or something. I also think i dident truly test the xoom2 mbm bin since flashing mbm also has no effect its version never changes, sadly i wasent paying attention to this when doing the above.08:54
uvos*failure to factory resett08:54
uvosthis might also explain why all the screws on the back are missing08:55
uvossomeone wanted to open this one up for repair maybe?08:55
uvosim kind of impressed android manages to run perfectly fine with absolutly everything being read only08:58
uvosok i think i never changed mbm09:01
uvosits version 0A.6C09:02
uvosand mbm.bin vom VRZ_MZ609_1.6.0_279_CFC_1FF (ie honycomb) has this in the header09:02
uvosand mbm bin VRZ_9.8.2OT_127_MZ609_CFC_1FF.xml and xoom2 allow-mbmloader-flashing-mbm.bin dose not.09:03
uvosok imanaged to get adb shell, i works if you dont navigate away form settings :P09:10
uvosdmesg is full of [   42.663024] mmcblk1: card err 0x8090009:10
uvosok so thats it09:10
uvosflash chip on this one is dead :(09:10
Wizzupuvos: argh10:49
uvosWizzup: really wierd that it failed like that :| but i have seen sdcards do the same thing.10:51
Wizzupuvos: yeah, where they accept all writes but just drop them10:51
Wizzupit is emmc thought right?10:52
uvosyeah10:52
Wizzupwell, i have the other two here with me, was planning to give one to parazyd10:52
uvosok10:52
Wizzuplet me see if I can find another one online somehow10:52
uvosdo you want me to send it back? so that you have one for spares?10:52
uvosbattery/display etc10:53
Wizzupdon't think it's that useful rn, but if you want to get rid of it, then sure10:54
uvosok10:54
Wizzup(also I won't be home for a while so don't send it to that addr :-))10:54
uvosok10:54
uvosill keep it around for now10:54
WizzupI guess emmc is typically bga so not easy to replace either10:54
uvosyes10:55
uvosnot worth trying imo10:55
Wizzupagreed10:55
uvosalso you would have to get mbm on there somehow10:55
Wizzupthere seem to be a bunch available online, but more expensive than what I paid for these10:55
Wizzupmhm10:55
parazydWizzup: Feel free to give the one for me to uvos10:55
parazydMaybe worth testing it before too10:56
uvosside note10:57
uvoswhy are we buying xyboards instead of xoom 2?10:57
uvosafaik its the same device except no verizon branding10:57
uvosand was sold in eu10:58
Wizzupuvos: got a model number/link?11:00
WizzupI searched before and didn't really find that much11:01
uvosMZ60711:01
uvosand yeah german ebay has none11:01
uvosthere are some MZ616 but at absurd prices11:01
uvosthats the equivalent to the us 10 inch xyboard11:01
Wizzupwell, let me check the ones I have first, hope that they work11:05
Wizzupuvos: I might have some time today to check, do you have some instructions for me? (It will take 2-3 hours before I am in a position to do anything)11:17
WizzupI can also ping you when I'm ready11:17
uvoswhat do you want to try?11:19
uvosi mean you can test the particular fault mine has by taking a picture and seeing if it saves it11:19
uvosby enabling debug mode (settings->applications->debuging->usb debug) and entering adb shell from pc (with usb connnected to device) and checking dmesg for errors11:20
Wizzupuvos: end goal being enabling leste with clownboot or similar11:21
uvosno need for clown boot11:23
uvosyou can either check the mbm i linked some time ago11:23
uvosand try and see if it allows flashing to utags11:23
uvosif thats to risky for you, you have to upgrade the device to android 4 and then  dd over the utags and kexecboot to the respective partitons11:24
uvosbut this is also risky because if it goes wrong you have no way of clearing utags11:24
uvos(you have to root the device first for this to work too)11:25
uvosalso you have to build utags and kexecboot yourself11:25
uvosbecause rn we have no images11:25
uvosbut tmlind allread has the needed changes on the repos11:25
Wizzupwell, sounds like ew need to start with extracting some information11:28
parazydWiki will be down for a bit11:29
parazydAbout to start upgrading11:29
Wizzupty11:29
parazydScary update process tbh11:39
parazydLuckily we use sqlite so a backup is just cp -ra11:39
parazyd(I hope)11:39
Wizzupuvos: also the procedure will help me with the droid3 that I brought11:41
parazydhttps://leste.maemo.org/Special:Version11:42
parazydLooks ok? Except the logo is gone11:42
parazyddreamer: ^11:42
parazydok logo was in a different dir. Now there.11:43
parazydEditing works11:44
uvosWizzup: not really the d3 dosent/cant use utagboot so procedure is totaly different11:44
Wizzupuvos: ok, my intentions remain the same, but understood11:45
WizzupI general I hardly know much about android11:45
uvosd3 has kinda a problem11:46
uvosin that for clown boot you need a mainline kernel that works11:46
uvosbut to make/debug a mainline kernel you need clown boot11:46
Wizzupoh like a chicken-egg problem11:46
Wizzupmhm11:46
uvosthe bonic avoided this by booting the d4 kernel and mostly working like that (minus sensors and buttons)11:47
uvosso you have to boot mainline via safestrap at first11:47
uvoslike leste did way back11:47
dreamerparazyd: nice!12:13
dreamerlooks fine yeah12:13
dreamerwill try to poke at Cargo docs some more12:13
parazydAwesome12:13
uvoshttp://uvos.xyz/xyboard12:15
uvosxyboard is of nice construction 0 adhesive and everything is screwed into a thick cast magenisum midframe12:17
parazydGood times12:23
mighty17[m]uvos: maemo isnt booting16:43
* mighty17[m] uploaded an image: (849KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/dfcXMrhgVKrtiPNOBreVVfFj/image.png >16:43
mighty17[m]do i need to change something in the boot partition?16:43
mighty17[m]or did i build the kernel wrong? (i used envkernel to build it)16:45
uvoswhat is mmcblk0?17:04
uvosemmc? sdcard?17:04
uvosthats a kernel bug btw17:04
uvossince its spamming false hotplug messages17:05
uvosmighty17[m]: ^^^17:05
mighty17[m]<uvos "what is mmcblk0?"> sdcard, the only thing for d4 was .img.xz17:05
mighty17[m]i followed getting started of maemo17:06
uvosright but that dosent mean that mmcblk0 is sdcard on your device17:06
uvosif it is17:06
uvosthats fine17:07
mighty17[m]it is but it still shows pmOS initramfs somehow17:07
mighty17[m]how do u build kernel for maemi17:07
mighty17[m]maemo*17:07
uvosfor d4? just like a pc17:07
uvosyou get the kernel from kernel.org and build it17:07
uvosyeah the initramfs needs to be gone17:08
uvoswo dont use a initramfs17:08
uvosjust root=/dev/whatever in cmdline for root17:08
mighty17[m]<uvos "just root=/dev/whatever in cmdli"> ohkay17:35
mighty17[m]<uvos "you get the kernel from kernel.o"> just make right?17:35
mighty17[m]and to put it in boot.img?17:35
buZzmighty17[m]: those reply methods arent really useful ;)17:35
buZzand quite spammy17:36
buZzbeside the advertizing you do for matrix.org at every line ;)17:36
mighty17[m]oh damn :(17:36
mighty17[m]sorry17:36
buZznp, just saying17:36
uvosi think the reply feature its fine17:37
uvosbut use it a bit less17:37
uvosanyhow17:37
buZzright, it just feels like 'i'm using it cause its a option' and not really motivated for aiding conversation17:37
uvosyeah just use it when its needed to differentiate what you are replying to17:38
uvosanyhow again17:38
mighty17[m]oh well im more used to matrix, i'll try to use it less17:38
mighty17[m]anyways back to boot.img17:38
uvosmighty17[m]: you need a arm-linux-gnueabihf- toolchain17:38
uvosyour distro very likely provides this17:38
mighty17[m]yup17:38
uvosand then its "make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig modules omap4-droid4-xt894.dtb zImage -j16"17:38
mighty17[m]export ARCH=arm and CROSS_COMPILE17:39
uvosreplace the dtb with yours ofc17:39
mighty17[m]oh so just the zImage nice17:39
uvosno17:39
uvosso then you have the linux image17:39
uvosyou need to package this into boot.img17:39
uvosthis you do with mkbootimg17:39
uvoswhich is something that is part of asop17:39
mighty17[m]yup correct, even pmOS does it like this17:40
uvosright17:40
uvosbut dont supply a initramfs17:40
mighty17[m]but pmOS has its own downstream boot.img, here what am i supposed to use17:40
uvosyour own17:40
uvosbuild your own17:40
mighty17[m]i dont understand17:41
uvoswith no initramfs and CONFIG_FORCE_CMDLINE (or so sorry dont know the exact name)17:41
uvosset to something like this CMDLINE=console=tty0 debug earlycon ro rootwait rootfstype=ext4 root=/dev/mmcblk0p217:41
uvosofc replace the partition with where you have the rootfs17:41
uvosand add the modules to the rootfs with "make ARCH=arm modules_install INSTALL_MOD_PATH="17:42
uvosby mounting it on pc17:42
uvosand idk how your bootloader supplies the dts17:43
uvosthat varies wildly17:43
mighty17[m]yes cmdline is fine for now, using my defconfig17:43
uvossome android phones have a seperate partion that you just dd the dtb to17:43
uvosothers have it appended to boot17:43
mighty17[m]nope this is a normal device which appends to boot17:44
uvosyeah so if you did all that17:44
uvosthen it should work17:44
mighty17[m]https://wiki.postmarketos.org/wiki/Mainlining_Guide#non-QCDT_devices basically this works17:44
uvosmaybe also go into the rootfs and rm /etc/fstab17:44
uvosbut it should work with it too if your sdcard is mmcblk017:44
mighty17[m]i still dont get, this wont generate a boot.img17:45
uvos?17:46
uvoscompile the kernel from the tree17:46
uvosuse mkbootimg to generate the image from the files that makes17:46
uvosand then append the dts17:46
uvosidk what the hangup is17:46
mighty17[m]oh right yes yes17:47
uvosafter appening the dts install the modules to rootfs17:47
uvosand then it should work17:47
mighty17[m]ohk, thanks a lot!!17:47
parazydHey all, unrelated to Leste, but would you consider voting for "streamflow-finance" here https://sola.na/season-vote ? It won't take a minute (no captcha or some bs), and it might win me a small grant.19:37
parazydThanks for considering :)19:37

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