Skip to content
Snippets Groups Projects

i9195: add initial support

Merged Imported Administrator requested to merge rrooij:device-samsung-i9195 into master

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

Merged by avatar (Mar 28, 2025 9:54pm UTC)

Merge details

  • Changes merged into with e641761a.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Owner

    Created by: rrooij

    20180107_202450

    By * postmarketOS Bot on 2018-01-07T20:10:41

  • Author Owner

    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 User
  • Author Owner

    Created by: zhuowei

    @rrooij Try disabling CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE: it looks like that disables non-mtp modes in the USB composite driver.

    By * postmarketOS Bot on 2018-01-08T05:32:36

  • Author Owner

    Created by: rrooij

    @zhuowei Thanks for your suggestion, I will take a look at it.

    By * postmarketOS Bot on 2018-01-08T10:49:35

  • Author Owner

    Created by: rrooij

    @zhuowei The kernel fails to compile when CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE is turned off. The kernel does compile when I disable both CONFIG_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 and CONFIG_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 User
  • Author Owner

    as 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

  • Author Owner

    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 User
  • Administrator
    Administrator @root started a thread on commit e641761a
20 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
  • Author Owner

    Created by: zhuowei

    @rrooij The kernel linked on the Wiki page seems to be wrong: you might want to change it to link to android_kernel_samsung_msm8930-common instead.

    By * postmarketOS Bot on 2018-01-08T19:27:02

  • Author Owner

    Created by: rrooij

    @zhuowei thanks, the wiki entry is fixed

    By * postmarketOS Bot on 2018-01-08T20:29:00

  • Please register or sign in to reply
    Loading