i9195: add initial support
Created by: rrooij
Current status:
- Red glare on screen (probably need kernel patch)
- No touch support
- Networking on USB with SSH does not work, but the device boots normally and does not freeze, so this is probably just a kernel config that needs to be set
Merge request reports
Activity
Created by: rrooij
dmesg log when connecting it with USB:
[12575.946616] usb 2-1.2: new high-speed USB device number 12 using ehci-pci [12576.055903] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=685d [12576.055910] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [12576.055915] usb 2-1.2: Product: MSM8960 [12576.055918] usb 2-1.2: Manufacturer: Sasmsung [12615.173769] usb 2-1.2: USB disconnect, device number 12
Enabling CONFIG_USB_ETH did not work.
By * postmarketOS Bot on 2018-01-07T20:50:03
Edited by Ghost UserCreated by: rrooij
@zhuowei The kernel fails to compile when
CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE
is turned off. The kernel does compile when I disable bothCONFIG_USB_ANDROID_G
and the Samsung Composite option, but it has the same problem with no SSH.Using the ethernet USB Gadget driver does not work either.
Dmesg output with both
CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE
andCONFIG_USB_ANDROID_G
:[ 4606.701918] usb 2-1.2: new high-speed USB device number 4 using ehci-pci [ 4606.811402] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=685d [ 4606.811409] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4606.811413] usb 2-1.2: Product: MSM8960 [ 4606.811416] usb 2-1.2: Manufacturer: Sasmsung [ 4607.543397] usbcore: registered new interface driver cdc_acm [ 4607.543399] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
By * postmarketOS Bot on 2018-01-08T12:13:23
Edited by Ghost Useras discussed in chat, the usb issue might be something like this https://github.com/postmarketOS/pmbootstrap/blob/master/aports/device/device-htc-bravo/initfs-hook.sh#L8
By Daniele Debernardi on 2018-01-08T16:13:04
Created by: rrooij
@ollieparanoid It's been added to the device overview and has now a entry on the wiki: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S4_Mini_LTE
I already made a patch for the problem when setting other USB gadget drivers, but haven't included it yet, as I was afraid that it might lead to other problems that I can't foresee. It still booted when flashing and choosing the ethernet gadget driver though, but USB didn't work regardless.
By * postmarketOS Bot on 2018-01-08T17:10:06
Edited by Ghost User20 deviceinfo_dev_keyboard="" 21 22 # Bootloader related 23 deviceinfo_flash_method="heimdall-bootimg" 24 deviceinfo_kernel_cmdline="androidboot.hardware=qcom user_debug=22 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 buildvariant=userdebug" 25 deviceinfo_generate_bootimg="true" 26 deviceinfo_bootimg_qcdt="false" 27 deviceinfo_flash_offset_base="0x80200000" 28 deviceinfo_flash_offset_kernel="0x00008000" 29 deviceinfo_flash_offset_ramdisk="0x02000000" 30 deviceinfo_flash_offset_second="0x00f00000" 31 deviceinfo_flash_offset_tags="0x00000100" 32 deviceinfo_flash_pagesize="2048" 33 deviceinfo_flash_heimdall_partition_kernel="BOOT" 34 deviceinfo_flash_heimdall_partition_system="" 35 I would suggest adding
deviceinfo_weston_pixman_type="2"
line https://wiki.postmarketos.org/wiki/Deviceinfo_reference#weston (kernel patch will probably break KDE so for now adding this line is the preferred way of fixing Weston)By Piotr Halama on 2018-01-08T18:28:36