*** Gizmokid2010 is now known as Gizmokid2005 | 00:06 | |
* vknecht unslplits | 00:07 | |
*** ubuntu__ is now known as zhxt | 01:46 | |
*** BhushanShah[m] is now known as bshah[m] | 05:26 | |
*** bshah[m] is now known as Guest31548 | 05:26 | |
*** Guest31548 is now known as bshah[m] | 06:07 | |
T4 | <adampigg> mal,, much anbox progress, or r u still on vacation? | 06:56 |
---|---|---|
neothefox | hey everyone | 07:26 |
neothefox | I am a bit stuck with a HADK guide, I am porting Sailfish to i9500, and I've created manifest (https://pastebin.com/ecDSiFt3) and I've made a filesystem workaround as per guide, repo synced normally, but the build system gives me this garbage (https://pastebin.com/w1UkAsAP), any tips on where to look? | 07:29 |
pasko_ | Hi. I'm experiencing issues with voicecall recording in my XperiaX. I was hoping if @jusa could guide me. :) | 07:39 |
pasko_ | The issue is that I incoming calls are not recorded, only outgoing calls get recorded. | 07:40 |
T4 | <Nokius> neothefox you miss repos | 08:06 |
Nokius | neothefox: ^ check the dependncie files | 08:11 |
neothefox | Nokius, thanks, will do | 08:15 |
Nokius_pc | neothefox: you need this one https://github.com/exynos5410/android_device_samsung_ja3gxx https://github.com/exynos5410/android_device_samsung_ja3gxx https://github.com/exynos5410/android_device_samsung_exynos5410-common and all thsi dependencies https://github.com/exynos5410/android_device_samsung_exynos5410-common/blob/cm-14.1/lineage.dependencies in your repo file | 08:15 |
neothefox | Nokius_pc, ah I see, thank you! | 08:16 |
Nokius_pc | neothefox: and check the once from the devendencie file if the depend on something | 08:16 |
Nokius_pc | neothefox: happy hacking :) | 08:16 |
mal | @adampigg I haven't done anything related to that this week | 08:43 |
demonaxsh | Hello | 09:45 |
demonaxsh | Can I add gdb, gdb-server for final rootfs? Need to just add to the patterns? | 09:45 |
elros | or under %packages in ks file if you need it only for testing | 09:47 |
demonaxsh | ok | 09:48 |
*** jbadiapa is now known as jbadiapa|away | 10:06 | |
ohyash_ | 8.3 Kickstart file; I dont have the installroot directory in my droid-configs/ | 10:13 |
ohyash_ | what do I do. build-packages did complete successfully | 10:17 |
elros | unpack ks file from droid-config-$DEVICE-ssu-kickstarts-1-1.armv7hl.rpm. It's explained in FAQ | 10:18 |
ohyash_ | elros, cant seem to find the faq (or the droid-config-$DEVICE-ssu-kickstarts-1-1.armv7hl.rpm file) :/ | 10:24 |
ohyash_ | ah, got the etherpad faq | 10:25 |
elros | faq is in channel topic (look up), rpm is in droid-local-repo | 10:25 |
ohyash_ | elros, something doesnt seem right here. I dont have droid-local-repo/$DEVICE/droid-configs/ folder. (first line from the section in faq) | 10:30 |
ohyash_ | neither do I have $ANDROID_ROOT/usr | 10:30 |
Nokius_ | neothefox: is it working? | 10:30 |
*** Nokius_ is now known as Nokius | 10:31 | |
neothefox | Nokius, yup, I am now configuring the kernel | 10:32 |
elros | ohyash: then you did something wrong, build_packages.sh should generate droid-local-repo | 10:32 |
neothefox | CONFIG_IKCONFIG_PROC seem to be rolling back by something else | 10:36 |
ohyash_ | I wonder what do I look at then. I had cleared all errors so far. :/ | 10:36 |
ohyash_ | elros, hey this looks okay? PB : https://pastebin.com/1QUNx6Rs | 10:37 |
ohyash_ | its my droid-hal-tomato.spec | 10:38 |
elros | show also droid-config-$DEVICE.spec | 10:39 |
elros | neothefox: probably you need also CONFIG_IKCONFIG | 10:40 |
ohyash_ | elros, here : https://pastebin.com/gKZffBph. | 10:42 |
neothefox | elros, yeah, figured as much, this autoconf is pretty complex | 10:42 |
ohyash_ | its in hybris/droid-configs/rpm | 10:42 |
elros | you have community_adaptation so it should be ok. Do you have droid-local-repo dir at all? execute build script once again and pastebin logs | 10:45 |
ohyash_ | I do have droid-local-repo and here's pastebin containing both log and dir contents. https://pastebin.com/xBbXmasZ | 10:52 |
elros | building droid-hal it's not enough, as descibed in 7.2.1 use build_packages.sh without arguments at least once | 10:55 |
ohyash_ | 7.2.2 says build with --droid-hal after putting in straggler section. Rebuilding without arguments. | 10:57 |
Nokius | neothefox: great, good luck with this. dont miss to share your work with others on github or equal =) | 10:58 |
neothefox | Nokius, sure thing, I'll open a pull request if that works, thanks for the heads up | 11:04 |
Mister_Magister | lol wtf telegram bot restarted or something? | 11:06 |
Mister_Magister | i mean matrix | 11:06 |
neothefox | https://pastebin.com/WQbsCt4m is the compiler? | 11:41 |
mal | neothefox: https://github.com/mer-hybris/droid-hal-device/pull/187/files | 11:43 |
mal | to rpm/dhd folder | 11:43 |
neothefox | mal, thanks! | 11:44 |
neothefox | mal, yup, fixed that | 11:48 |
*** jbadiapa|away is now known as jbadiapa | 11:58 | |
neothefox | whoops, the zip packager needs python-rpm | 12:46 |
neothefox | and I don't have it since it's not an rpm distro | 12:46 |
elros | platformsdk is rpm distro: zypper in rpm-python | 12:49 |
neothefox | oh yeah, ubuntu isn't the only chroot | 12:51 |
neothefox | that choice of a russian-doll style env is wierd | 12:51 |
ohyash | I'm getting rpm error | 12:52 |
ohyash | in python | 12:52 |
ohyash | cool to see the issue I was just gonna ask here is upfront in discussion. | 12:54 |
ohyash | another question : Do I have to keep my system online during the mic build process? | 12:55 |
ohyash | I'm using mobile hotspot and was wondering if I could leave it building and move out | 12:55 |
mal | it will download quite many packages in they are not in local cache | 12:55 |
mal | that will be done at the beginning of the build | 12:56 |
ohyash | cool :) | 12:56 |
ohyash | how much of download tho? (approx) | 12:56 |
ohyash | and if the process stops in the middle somehow. Would it "continue" or "restart"? | 12:57 |
mal | it would have the already downloaded packages in cache and it would download what is not there | 12:57 |
ohyash | aiight | 12:58 |
ohyash | su: user 1000 does not exist. Ignorable right? | 13:23 |
Mister_Magister | su? | 13:24 |
mal | mic print a lot of warnings, if you get zip at the end it should be fine | 13:24 |
Mister_Magister | ah yeah | 13:24 |
Mister_Magister | mic is old stuff barely working xD | 13:25 |
ohyash | is it normal to have zip built in the first mic run? | 13:41 |
ohyash | :/ | 13:41 |
Mister_Magister | y not | 13:41 |
ohyash | the zip in sfe-$DEVICE-release-2.2.0.29-my1.zip is it the one? | 13:42 |
ohyash | 291 MBs | 13:42 |
Mister_Magister | yeah | 13:42 |
ohyash | Still suspicious to me. Will try the zip tonight and see. | 13:44 |
Mister_Magister | what is suspicious in that? | 13:46 |
mal | the size looks normal at least | 13:47 |
neothefox | what permissions are expected at /var/cache/zypp/solv/local-ja3gxx-hal? (the local repo for device) | 14:16 |
neothefox | I even tried 777 permissions, no luck | 14:58 |
mal | how did you break it? | 15:00 |
mal | did you run something as root that shouldn't have been? | 15:01 |
neothefox | mal, I don't think so, I've changed the architecture and I think I've nuked a build dir that was wrong | 15:02 |
neothefox | I've tried nuking the cache and recreating it with zypper, but no luck | 15:03 |
mal | when exactly do you get the error? | 15:07 |
neothefox | after I've failed to make a zip and decided to rebuild the packages | 15:07 |
neothefox | so after MIC I've rolled it back | 15:08 |
mal | neothefox: well at least according to channel logs one way to fix that is the resetup the build target (https://sailfishos.org/wiki/Platform_SDK_Target_Installation) | 15:21 |
neothefox | mal, thanks, I'll try that :) | 15:40 |
neothefox | mal, yup, that was it, thanks again :) | 15:49 |
ohyash | Mister_Magister, mal : Still suspicious because I have tried porting previously for my other phone. That time 'mic create' had me fish around for way too many missing packages and "culprits". And after I finished it finally, nothing showed up on device. | 16:56 |
ohyash | Which is also the reason I have been overthinking about every little warning that I got this time throughout the port. | 16:56 |
ohyash | as mal noticed. :) | 16:57 |
ohyash | btw, would it(the .zip) clean up my data storage (Documents, Downloads, ...)? | 17:00 |
mal | ohyash: from what OS? | 17:10 |
ohyash | mal, lineage 14.1 (for hybris-14.1) | 17:31 |
mal | ohyash: sailfish only installs to a specific folder in android userdata partition, it doesn't wipe all data | 17:31 |
mal | but backup might be good anyway if you have something important | 17:32 |
mal | and of course it installs the kernel | 17:32 |
ohyash | so, should I just backup, clean cache and flash sailfish? Can't flash stock android as latest for mine is Android 4.4 and I'm currently using Android7.1 based Lineage14.1 | 17:33 |
mal | stock is not needed | 17:35 |
neothefox | hey, me again, now getting Error <creator>: URLGrabber error: http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7l/repodata/repomd.xml - e.errno: 14 | 18:03 |
mal | neothefox: why is it armv7l it should have armv7hl | 18:08 |
mal | neothefox: are you sure you set port_arch correctly? | 18:11 |
neothefox | mal, it was the same with armv7hl, and the device is armv7l, also armv4l is a proper arch according to the script | 18:11 |
mal | neothefox: what? | 18:28 |
mal | neothefox: what script? did you do something that wasn't in hadk? | 18:29 |
neothefox | *armv7hl, a mistype | 18:29 |
mal | arch is always armv7hl, so where did that armv7l come from? | 18:30 |
neothefox | from MIC script, it suggests which arch types are supported if you run it without any defined arch | 18:31 |
neothefox | I'm trying something else right now, give me a moment | 18:31 |
mal | neothefox: so you didn't follow the hadk pdf | 18:31 |
mal | I will stop helping if you do such stupid things | 18:31 |
mal | just follow the damn pdf | 18:31 |
neothefox | mal, I followed it step by step | 18:32 |
neothefox | but I am not making a rom for hammerhead, so I've adjusted everything to fit the device I am working with | 18:32 |
mal | there is no way that armv7l is there if you followed the pdf | 18:33 |
mal | so wtf did you do? | 18:33 |
neothefox | mal, in the beginning you create a file with your arch that gets sourced later | 18:34 |
mal | neothefox: yes, and the only allowed option is armv7hl | 18:34 |
neothefox | mal, well this fact was not mentioned, and if you'll read the MIC script it includes this list: | 18:35 |
mal | no idea where you got the idea that it should be set to armv7l which is wrong | 18:35 |
mal | you are just overthinking A LOT | 18:36 |
mal | why in the hell would you go and read the mic script source? | 18:37 |
neothefox | mal, yeah, maybe, thing is the guide is somewhat messy as in it doesn't tell you what exactly should be changed and what shouldn't. Guess my thinking process is since it's a variable it's meant to be changed else it would've been hardcoded | 18:37 |
neothefox | mal, because I got an error while running it, and I have a general habit of reading the scripts to understand better how they work | 18:38 |
mal | neothefox: well you can build for i486 also | 18:38 |
neothefox | mal, well that is what the guide told me to ignore specifically :) | 18:39 |
ohyash | neothefox, I did the same mistake earlier. but the sb2 target part is where it affects and I changed it there. Maybe change it to armv7hl in .hadk.env and rework from sb2 point :/ | 18:39 |
mal | neothefox: so you never got the idea to ask here if you had problems figuring out some step, instead you directly went to read the sources | 18:39 |
neothefox | mal, oh, I've read the sources every time before asking anything here | 18:39 |
neothefox | ohyash, yeah, I think there should be a list of allowed architectures somewhere | 18:40 |
mal | neothefox: also you never though in that the armv7l is wrong when the only target arch options in chapter 6 were i486 and armv7hl? | 18:41 |
neothefox | mal, to be honest I've noticed it | 18:43 |
mal | so now fix the port_arch, you probably need to resetup the target again | 18:43 |
neothefox | mal, yup, doing it right now, from the target setup | 18:44 |
neothefox | my previous experience with cross compiling comes from Linux and embedded stuff, and so I've been preconditioned to put the actual arch in so the compiler would use it | 18:45 |
neothefox | but I guess with Android and Sailfish it's a lot more different since there is a lot of extra tools involved | 18:45 |
_sven | neothefox: which device do you work on? | 18:51 |
yashyadav | uh | 19:11 |
yashyadav | zip installation error | 19:12 |
yashyadav | assert failed: getprop("ro.product.device") == "tomato" || getprop("ro.build.product") == "tomato" || getprop("ro.cm.device") == "tomato" | 19:13 |
yashyadav | Updater process ended with ERROR: 7 | 19:13 |
mal | is the codename really correct? | 19:13 |
yashyadav | yes | 19:14 |
yashyadav | https://wiki.lineageos.org/devices/tomato | 19:14 |
neothefox | yashyadav, you can try unzipping the zip file, finding the android update-script (it's in the META-INF folder) and remove the line that checks it, then zip it back. If you are sure that the codename is correct it might be your device has the wrong codename on it | 19:15 |
neothefox | I've had this problem with CM install on some phones | 19:16 |
yashyadav | Interesting | 19:18 |
yashyadav | Imma try that | 19:18 |
neothefox | it checks the codename against a file on your device, so if the previous ROM left that file with a wrong codename that check would fail | 19:19 |
yashyadav | alright, I just hope Im not killing my device | 19:21 |
neothefox | yashyadav, well make sure you have a working way to get into recovery or fastboot if your ROM is not functional at all, you would be able to just flash another zip | 19:24 |
neothefox | _sven, i9500 | 19:24 |
yashyadav | insteresting, Checked Lineage update-script. It calls my phone with its pretty-name "YUREKA", and not "tomato" | 19:24 |
neothefox | yashyadav, so yeah, the proper way to fix this would be adding a line into your device .mk file, TARGET_OTA_ASSERT_DEVICE in BoardConfig.mk in your device folder | 19:26 |
yashyadav | how about recursively replacing "tomato" with "YUREKA" in whole of the $ANDROID_ROOT | 19:27 |
yashyadav | and ~/.hadk.env | 19:28 |
yashyadav | (evil smile) | 19:28 |
neothefox | yashyadav, do not replace it, add to it. This way you can be sure that it would work for all possible device configs | 19:28 |
yashyadav | hmm, better | 19:29 |
yashyadav | Lemmi just hope this one works | 19:30 |
yashyadav | without the "assert" | 19:30 |
neothefox | yashyadav, good luck | 19:30 |
yashyadav | thanks :) | 19:30 |
yashyadav | it failed to mount /userdata (Device or Resource busy). But still completed successfuly. Should I try to reinstall it? :/ | 19:31 |
mal | that is normal | 19:32 |
yashyadav | REBOOTING! BEHOLD1 | 19:32 |
yashyadav | It wont boot past company logo. :( | 19:34 |
yashyadav | :'( | 19:34 |
yashyadav | THIS WAS MY SECOND ATTEMT TO PORT SAILFISH | 19:35 |
yashyadav | A FAIL AGAIN! | 19:35 |
neothefox | yashyadav, well it's not a fail yet, you got this far so why not try and debug it further? | 19:36 |
yashyadav | its my main driver. I could give it one day. But then i'll have to be back up and running for communication | 19:37 |
yashyadav | dmesg does give me "SerialNumber: Mer Debug setting up (DONE_SWITCH=yes)" | 19:41 |
mal | yashyadav: can you telnet in? 192.168.2.15 port 2323 | 19:44 |
mal | yashyadav: it quite rarely a new porters gets to UI with first attempts | 19:45 |
mal | that was such an ugly sentence :D | 19:46 |
yashyadav | how do I? like "telnet 192.168.2.15:2323"? That aint working | 19:47 |
mal | telnet 192.168.2.15 2323 | 19:47 |
yashyadav | and lsusb isnt giving me anythin | 19:48 |
mal | does ifconfig show the usb interface, it can be named differently | 19:48 |
yashyadav | Oh yash | 19:48 |
yashyadav | Yeah* | 19:48 |
yashyadav | I'm in | 19:48 |
yashyadav | xD | 19:48 |
T4 | <Nokius> \o/ | 19:48 |
yashyadav | mal, what do I do? I am not getting much from the hadk here | 19:50 |
T4 | <Nokius> https://public.etherpad-mozilla.org/p/faq-hadk | 19:50 |
T4 | <Nokius> covers your next steps | 19:51 |
yashyadav | vi aint working | 19:52 |
yashyadav | anything else | 19:52 |
yashyadav | is there? | 19:52 |
yashyadav | cant seem to connect device to internet | 19:58 |
mal | yashyadav: logs logs logs, i.e. dmesg, journalctl and /usr/libexec/droid-hybris/system/bin/logcat | 19:58 |
mal | yashyadav: is that device qcom or mtk? | 19:59 |
yashyadav | qcom | 20:00 |
yashyadav | how do I extract log? copy from terminal? | 20:00 |
mal | or first pipe the log to a file and copy from there, netcat can be used via telnet if needed | 20:02 |
yashyadav | sailfish-kernel says missing clock-frequency property for all CPUs in red | 20:02 |
mal | and depending on how far the boot process is there si probably a ssh server running, just set the password for nemo user and connect | 20:02 |
neothefox | hmm, my zip install fails to mount /data because it's busy and then fails to run the install script | 20:03 |
neothefox | that's probably because I should use sideload | 20:03 |
mal | it normal to have warning about data mount | 20:04 |
neothefox | mal, but it then fails on running the script with ERROR: 7, and judging by the time it takes to fail it does inflate something | 20:05 |
mal | neothefox: just to be sure, you have enough free space in data partition? | 20:08 |
neothefox | mal, a lot | 20:10 |
mal | was there any other messages before that error? | 20:11 |
neothefox | well it fails to mount data, then it takes some time at "Copying filesystem archive", then Copying installation script, then Running installation script then Updater process ended with ERROR: 7 | 20:12 |
neothefox | Failed to extract filesystem! also | 20:12 |
yashyadav | Ah, for the past 10 minutes I've been searching but couldn't find how to copy a file remote source via netcat. | 20:15 |
yashyadav | nothing really shows how to copy that *one* file from that ip and port | 20:15 |
mal | yashyadav: did you try ssh as I told you | 20:18 |
neothefox | I've gotta reboot and try the recovery that I've compiled along with the hybris | 20:19 |
mal | i.e scp for copying files | 20:19 |
yashyadav | mal : dmesg output : https://pastebin.com/2Gc0K5iN | 20:19 |
yashyadav | I'm new to that one as well. "ssh nemo@192.168.2.15" is it? | 20:23 |
mal | yashyadav: what android base? | 20:24 |
yashyadav | ugh what? | 20:24 |
yashyadav | Android 7.1 | 20:24 |
yashyadav | this? | 20:24 |
mal | yashyadav: hybris-xx.x | 20:24 |
yashyadav | hybris-14.1 | 20:24 |
neothefox | hmm, manually trying to untar the files via adb I am getting | 20:26 |
neothefox | tar: invalid magic | 20:26 |
neothefox | tar: short read | 20:26 |
mal | yashyadav: you probably haven't run symlink script mentioned in faq (linked in channel topic) in the 14.1 porting part | 20:27 |
mal | yashyadav: also in case you needed straggler_files in rpm/*.spec file, did you remember to add the detritus package to patterns? | 20:27 |
mal | neothefox: so your build seems to be broken | 20:28 |
neothefox | mal, if that means something I can untar the rootfs on my pc | 20:29 |
yashyadav | this may not be complete but here, journalctl : https://pastebin.com/TTjJ3sjK | 20:29 |
yashyadav | mal, nah, I didn't go through faq | 20:29 |
mal | yashyadav: how about that straggler_files thingy, it was in hadk pdf | 20:30 |
yashyadav | mal, and I did put some straggler_files in there as hadk told me to but I'm not sure I met with detritus thing anywhere | 20:30 |
yashyadav | "bugreports""d""file_contexts.bin""property_contexts""sdcard""selinux_version""service_contexts""vendor" | 20:32 |
yashyadav | these all went in straggler | 20:32 |
mal | yashyadav: it seems that was lost from hadk pdf | 20:34 |
mal | yashyadav: so you need to add it like this (with correct codename of course) https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/patterns/jolla-hw-adaptation-fp2-sibon.yaml#L5 | 20:35 |
neothefox | mal, ok, it seems that it's the tar on my device, I decompressed the tar and now it is copying | 20:36 |
yashyadav | mal, done that | 20:36 |
yashyadav | over from the faq I cant follow the first part of LOS14.1 porting. The "exec" one, I don't see any /usr/bin dir in my $ANDROID_ROOT | 20:37 |
mal | yashyadav: what does it say in the beginning of the line | 20:38 |
yashyadav | Ah, I though its saying that "exec" is not needed anymore | 20:38 |
neothefox | aonyone here has a portable tar for armv7hl? | 20:38 |
mal | it mean the instruction on that line is obsolete | 20:38 |
NeKit | neothefox, use busybox | 20:39 |
neothefox | fair | 20:39 |
mal | yashyadav: just run the script as instructed, ignore the rest for now | 20:39 |
yashyadav | mal, alright | 20:40 |
mal | that's what told you orignally but you started to do things I didn't tell you to do | 20:40 |
yashyadav | done that one | 20:41 |
yashyadav | now should I re do build_packages.sh --config and move from there? | 20:42 |
mal | so after those changes run build_packages.sh -c and then continue with chapter 8.5 again | 20:42 |
mal | yashyadav: but while you are connected to your device you could have checked the input device of touchscreen and fixed it in configs | 20:46 |
neothefox | so here is the thing - when using busybox from the internet everything untars just fine, so it's a bug in LinageOS | 20:47 |
neothefox | oh boy, looks like I would have to make a patch with newer busybox for flashing this | 20:48 |
yashyadav | mal, uh? I didn't get i | 20:48 |
yashyadav | it* | 20:48 |
NeKit | is it a bug in LOS or TWRP? | 20:48 |
NeKit | I had my share of issues with newer TWRP version with tar allocating too much memory and getting OOMed | 20:49 |
mal | yashyadav: in chapter 7.1 you added a file which contains the input device of touchscreen | 20:49 |
mal | yashyadav: so you might need to edit it later | 20:49 |
neothefox | NeKit, i really don't know, what tar is used when you are running an adb shell while in TWRP? | 20:49 |
T4 | <NotKit> the one from TWRP then | 20:50 |
ohyash | mal, that event#? | 20:57 |
ohyash | I found it to be event3 | 20:58 |
ohyash | doesnt require changing does it? | 20:58 |
r0kk3rz | nope, just set it in the config | 21:00 |
r0kk3rz | its a good idea to poke it with evdev_trace and make a udev rule for it | 21:01 |
r0kk3rz | *udevadm | 21:01 |
neothefox | well, another recovery fixed the installation issue | 21:03 |
neothefox | aww yiss, it boots | 21:08 |
yashyadav | neothefox, I'm jealous | 21:11 |
neothefox | yashyadav, well it boots but it's telnet only for now just like yours | 21:11 |
neothefox | so don't be | 21:12 |
ohyash_ | oh xD | 21:15 |
neothefox | ok, getting into working system via telnet is enough for today, thanks for all the help! | 21:18 |
ohyash | So, I rebuilt with mic | 21:25 |
ohyash | and flashed | 21:26 |
ohyash | it didn't work | 21:26 |
ohyash | still in telnet zone | 21:26 |
ohyash | so I'm too gonna leave here and disturb you guys tomorrow. | 21:26 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!