T42 | <austenite> Is there a command to control the preferred newtork type ofono? | 07:12 |
---|---|---|
vknecht | @austenite: if you mean gsm/umts/lte choosing, I guess a dbus command with this interface and property: https://git.merproject.org/mer-core/ofono/blob/master/ofono/doc/radio-settings-api.txt#L34 | 07:58 |
vknecht | *dbus-send | 08:00 |
vknecht | there are some examples of dbus-send at https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet | 08:00 |
vknecht | @austenite: http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2016-04-15.log.html#t2016-04-15T13:39:54 | 09:07 |
Danct12__ | @jusa: about the HIDL module for PA, I tested it and it seems to work | 16:23 |
Danct12__ | no need to use deathmist's hacky script that also doesn't work on some users \o/ | 16:24 |
mal | Danct12__: which device was that again? | 16:24 |
Danct12__ | Redmi 4X | 16:24 |
mal | what android base? | 16:24 |
Danct12__ | LOS 15.1 | 16:24 |
T42 | <austenite> vknecht thanks for the info | 16:25 |
mal | ok | 16:26 |
T42 | <austenite> but my phone doesnt obey umts mode, it keeps switching to gsm | 16:26 |
Danct12__ | does anyone knows where to get video codecs? | 16:52 |
mal | Danct12__: what is the issue? | 16:58 |
Danct12__ | couldn't play any videos | 16:58 |
Danct12__ | [W] unknown:0 - Error: "Could not configure supporting library." | 16:58 |
mal | which codec? | 16:59 |
Danct12__ | mp4 | 16:59 |
mal | you mean h.264? | 16:59 |
Danct12__ | yep | 16:59 |
mal | I assume you have droidmedia and gst-droid built and installed? | 16:59 |
mal | did you check the media_*.xml symlinks in /etc? | 17:00 |
Danct12__ | i wouldnt be able to use the camera without gst droid :P | 17:00 |
mal | how should I know you have camera working | 17:00 |
mal | I don't remember anymore what each porter has working, I used to remember all but now I know nothing | 17:00 |
Danct12__ | anyway, all media* are symlinked | 17:02 |
Danct12__ | but i wasn't able to find "media_codecs_ffmpeg.xml" | 17:03 |
electro | @elros34 : i will try to do a diff with my defconfig and it's defconfig https://github.com/CyanogenMod/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/cm_m8_defconfig | 17:42 |
mal | Danct12__: did you also check /vendor partition? | 17:42 |
electro | @elros34 : before, i disabled selinux | 17:43 |
electro | and add two lines | 17:45 |
electro | hybris-boot/init-script | 17:46 |
electro | /sys/devices/platform/android_usb/usb_function_switch 4 | 17:46 |
electro | and this : echo "hybris-boot: initramfs" > /dev/kmsg | 17:46 |
electro | @elros34 : Do you have an advice maybe ? | 18:01 |
electro | @elros34 : i just need to build the kernel and flash hybris-boot ? or create an new image | 18:04 |
electro | mal, have you a minute please ? | 18:04 |
electro | who are present ? | 18:55 |
T42 | <austenite> electro build hybris-boot as your change is in defconfig | 18:58 |
electro | okey, it's just that so ? | 18:58 |
electro | and flash hybris-boot.img | 18:58 |
T42 | <austenite> yeah | 19:00 |
electro | so, i try with this defconfig ? | 19:02 |
electro | https://github.com/CyanogenMod/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/m8_defconfig | 19:02 |
T42 | <elros34> @electro: maybe usb_function_switch need to be wirtten befor enable or something else is needed, you need to search or test it twrp/android | 19:02 |
electro | i don't know what i must enable | 19:02 |
T42 | <elros34> regenerate your defconfig: make hybris-boot then copy over /out/target*/.config to your defconfig | 19:03 |
electro | regenerate = remove defconfig and copy my defconfig_save | 19:04 |
T42 | <elros34> ? copy out/*/.config to your defconfig | 19:05 |
electro | i search .config | 19:06 |
T42 | <elros34> how could you not know where is your .config when you use it every time with mer-kernel-check? | 19:06 |
electro | yes, sorry | 19:07 |
electro | all right | 19:07 |
electro | ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 19:07 |
electro | okey, i regenerate | 19:07 |
electro | @elros34 : what do you want to say about this sentences ? | 19:10 |
electro | maybe usb_function_switch need to be wirtten befor enable or something else is needed, you need to search or test it twrp/android | 19:10 |
electro | What can i do now ? | 19:11 |
T42 | <elros34> I mean move usb_function_switch one line up before write "$ANDROID_USB/enable 1". | 19:13 |
electro | O okey | 19:13 |
electro | and after, do you think it's right for rndis ? | 19:14 |
electro | or need again changes for it | 19:14 |
electro | in my defconfig | 19:14 |
T42 | <elros34> Also I never tried it but maybe it will be easier to use twrp or android to figure out what needs to be done to get usb0 or rndis0 (ifconfig -a) | 19:14 |
T42 | <elros34> I don't know what needs to be done but there are few htc sfos ports so it should be possible | 19:15 |
electro | do you know a guys how have port ? | 19:15 |
electro | but port in old sailfish OS | 19:15 |
electro | 2.X | 19:15 |
electro | lineageos can port htc one m8 | 19:17 |
electro | maybe i can enable some part of the defconfig github | 19:18 |
electro | @elros34 : what is the most different of other ROM CM and LineageOS ? Libhybris ? | 19:19 |
electro | who can i contact to debug this beginning | 19:20 |
electro | @elros34 : when you say copy over it mean "cp source dest" ? | 19:21 |
T42 | <elros34> I mean copy it desn't matter whether you use cp or gui | 19:22 |
T42 | <elros34> for example, here is some usefull info about enabling usb0 https://wiki.merproject.org/wiki/Community_Workspace/HTC_ACE | 19:26 |
electro | okey | 19:27 |
electro | @elros34 : i must fix error of kernel_checker ? | 19:32 |
T42 | <elros34> usually it's needed, errors prevents building droid-hal packages | 19:36 |
electro | @elros34 : the manifest.xml is not the same as mine | 19:38 |
electro | i suppose it's good, i have follow lineage.dependeices | 19:39 |
electro | https://dpaste.de/YLnj | 19:39 |
electro | is good ? TheMuppets/proprietary_vendor_htc | 19:39 |
electro | i ignore this step of .xml and try to do other step of your link ? | 19:39 |
electro | @elros34 : it's piggz who port HTC ? | 19:40 |
electro | piggz/android_kernel_htc_msm7x30 | 19:40 |
T42 | <elros34> @electro I don't know just read it, it's one line about usb0 | 19:45 |
electro | one line ? | 19:46 |
T42 | <elros34> yes... 1 line: echo 1 > /sys/class/android_usb/f_rndis/on | 19:47 |
electro | on twrp so | 19:47 |
electro | @elros34 : with this command : echo 1 > /sys/class/android_usb/f_rndis/on | 20:01 |
electro | i have this on HOST dmesg | 20:01 |
electro | https://dpaste.de/KWvT | 20:01 |
electro | after this ? | 20:01 |
electro | i think it's good, sorry | 20:02 |
electro | i don't follow all | 20:02 |
electro | @elros34 : it's not usb0 ? rmnet_usb0 | 20:11 |
electro | https://dpaste.de/puh9 | 20:11 |
electro | no rndis interface | 20:11 |
electro | @elros34 : this guys have port htc one m8 on LineageOS | 20:18 |
electro | https://github.com/bgcngm/proprietary_vendor_htc/tree/cm-14.1/m8 | 20:18 |
electro | https://github.com/bgcngm?tab=repositories | 20:20 |
electro | https://github.com/bgcngm/android_kernel_htc_msm8974/blob/lineage-15.1/arch/arm/configs/m8_defconfig | 20:22 |
mal | electro: android base doesn't matter, some things are different in each base | 20:36 |
mal | I assume you did the thing mentioned in faq for 15.1? | 20:37 |
electro | not now, but what for beginning ? | 20:37 |
electro | i will see that | 20:38 |
mal | what are you saying? | 20:38 |
electro | this notes ? Notes on LOS15.1 Porting | 20:39 |
mal | yes | 20:39 |
electro | i didn't do that entiry, just the first 4 lines | 20:39 |
electro | no copy files from | 20:39 |
electro | droid-config-sony | 20:39 |
mal | you need to copy the files if you want to get UI working | 20:39 |
electro | yes | 20:40 |
mal | I have no idea how far your porting is now | 20:40 |
electro | how copy files ? | 20:40 |
electro | git clone | 20:40 |
electro | humm, i have modify this | 20:41 |
electro | /home/sailfish-dev-htc-one-m8/hadk/hybris/hybris-boot/init-script | 20:41 |
electro | add this line : /sys/devices/platform/android_usb/usb_function_switch 4 | 20:41 |
electro | and this line : echo "hybris-boot: initramfs" > /dev/kmsg | 20:41 |
electro | i will see that tomorrow | 20:41 |
mal | well it's one way to clone that repo to some other place and the copy from there or open each file in browser, select raw mode from above the file content and then save those to correct place on your computer | 20:42 |
electro | yes | 20:43 |
electro | i have no : hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init | 20:47 |
electro | i have : hybris/droid-configs/sparse/var | 20:47 |
T42 | <elros34> oh I noticed it now you didn't add to init-debug whole line I told you (you miss write). You did not add f_rnids/on also. This is annoying | 20:47 |
electro | what ? | 20:51 |
mal | electro: how about using your brain and creating the folders needed? | 20:53 |
T42 | <elros34> maybe my english is to bad to explain things to you, somebody else might help you better | 20:53 |
electro | i have copy all line on file init-debug -> echo 1 > /sys/class/android_usb/f_rndis/on | 20:55 |
electro | at the end of the file after do_mount_devprocsys | 20:55 |
electro | @mal, why not okey | 20:55 |
electro | @elros34 : it's my english whose soso, not you | 20:57 |
mal | electro: ? | 20:59 |
electro | @mal: nothing | 20:59 |
electro | @elros34 : i must add a line with "f_rndis/on" only ? | 21:00 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!