[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] [MENTION=4890231]Xtreme666[/MENTION] i managed to remove that invalid qmux client id error by adding some services in init.qcom.rc

now im getting this log

ril class not getting constructed

n regarding audio as in ur build [MENTION=943196]k2wl[/MENTION] audio output was higher what u can do is this tell me abt the audio specific files in a build so that i can integrate them from ur build in my build

[MENTION=4890231]Xtreme666[/MENTION] my ril class is not loading what changes did u make to ur repo?

USE THIS [MENTION=4890231]Xtreme666[/MENTION]

import init.${ro.hardware}.usb.rc

on early-init
mount debugfs debugfs /sys/kernel/debug
on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root

# External storage directories
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw

mkdir /mnt/media_rw/usbdisk 0700 media_rw media_rw
mkdir /storage/sdcard1 0700 root root
mkdir /storage/usbdisk 0700 root root

export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
export SECONDARY_STORAGE /storage/sdcard1

# Support legacy paths
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
symlink /storage/sdcard1 /external_sd
symlink /storage/sdcard1 /mnt/external_sd
symlink /storage/usbdisk /usbdisk
symlink /storage/usbdisk /mnt/usbdisk

on fs
## Mount partitions
mount_all /fstab.qcom

on boot
setenforce 0

## Setup Bluetooth
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chown bluetooth bluetooth /proc/bluetooth/sleep/proto
chown bluetooth bluetooth /proc/bcm/sleep/proto
chown system system /sys/module/sco/parameters/disable_esco
chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set
chmod 0660 /sys/module/bluetooth_power/parameters/power
chmod 0660 /sys/module/hci_smd/parameters/hcismd_set
chmod 0660 /sys/class/rfkill/rfkill0/state
chmod 0660 /proc/bluetooth/sleep/proto
chmod 0660 /proc/bcm/sleep/proto
chown bluetooth bluetooth /dev/ttyHS0
chmod 0660 /dev/ttyHS0
chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock

## Setup Wi-Fi
mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/wifi/wpa_supplicant 0775 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp

## Lights
chown system system /sys/class/misc/backlightnotification/enabled
chown system system /sys/class/leds/lcd-backlight/brightness
chown system system /sys/class/leds/button-backlight/brightness
chown system camera /sys/class/camera/rear/rear_flash
chmod 0660 /sys/class/camera/rear/rear_flash
chmod 0666 /sys/class/misc/backlightnotification/enabled
chmod 0660 /sys/class/leds/lcd-backlight/brightness
chmod 0660 /sys/class/leds/button-backlight/brightness

## Sensors
chown system system /system/etc/sensors.dat
chown system system /system/etc/calib.dat
chown system system /system/etc/param.dat
chmod 0666 /system/etc/sensors.dat
chmod 0666 /system/etc/calib.dat
chmod 0666 /system/etc/param.dat
chown root system /dev/alps_io
chmod 0660 /dev/alps_io

## Chown polling nodes as needed from UI running on system server
chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
chmod 0664 /sys/devices/platform/msm_sdcc.2/polling
chmod 0664 /sys/devices/platform/msm_sdcc.3/polling
chmod 0664 /sys/devices/platform/msm_sdcc.4/polling
chown system system /sys/devices/platform/msm_sdcc.1/polling
chown system system /sys/devices/platform/msm_sdcc.2/polling
chown system system /sys/devices/platform/msm_sdcc.3/polling
chown system system /sys/devices/platform/msm_sdcc.4/polling

## TelephonyManager.java requires this
chmod 0644 /proc/cmdline

on post-fs-data

# create directory for ril data
mkdir /data/misc/radio 0775 radio radio
chmod 0775 /data/misc/radio
mkdir /data/misc/radio/hatp 0775 radio system

# we will remap this as /storage/sdcard with the sdcard fuse tool
mkdir /data/media 0770 media_rw media_rw
chown media_rw media_rw /data/media

# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1

mkdir /data/misc/bluetooth 0770 bluetooth bluetooth

## Create log system
mkdir /data/log 0775 system log
mkdir /data/local
chmod 0777 /data/local
chown radio shell /data/local
mkdir /data/local/tmp
chmod 0777 /data/local/tmp
chown radio shell /data/local/tmp
#mkdir /data/misc/radio 0775 radio system

#Create QMUX deamon socket area
mkdir /dev/socket/qmux_radio 0770 radio radio
chmod 2770 /dev/socket/qmux_radio
mkdir /dev/socket/qmux_audio 0770 media audio
chmod 2770 /dev/socket/qmux_audio
mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth
chmod 2770 /dev/socket/qmux_bluetooth
mkdir /dev/socket/qmux_gps 0770 gps gps
chmod 2770 /dev/socket/qmux_gps

# for qmuxd socket
mkdir /data/radio 0770 radio radio
chown radio radio 0770 /data/radio

# create virtual SD card at /storage/sdcard, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
class late_start

service rmt_storage /system/bin/rmt_storage /dev/block/mmcblk0p10 /dev/block/mmcblk0p11
user root
disabled

on property:ro.boot.emmc=true
start rmt_storage

service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

service p2p_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/p2p_supplicant_overlay.conf -N \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
-O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

service dhcpcd_wlan0 /system/bin/dhcpcd -aABDKL
class main
disabled
oneshot

service dhcpcd_p2p /system/bin/dhcpcd -aABKL
class main
disabled
oneshot

service iprenew_wlan0 /system/bin/dhcpcd -n
class main
disabled
oneshot

service iprenew_p2p /system/bin/dhcpcd -n
class main
disabled
oneshot

service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG
class main
disabled
oneshot

service iprenew_bt-pan /system/bin/dhcpcd -n
class main
disabled
oneshot

on property:init.svc.wpa_supplicant=stopped
stop dhcpcd

service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf
class late_start
user root
group root
oneshot
disabled

service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw qcom_oncrpc diag qcom_diag sdcard_r

service secril-daemon /system/bin/sec-ril
class main
user root
group radio cache inet misc audio sdcard_rw diag log

service qmiproxy /system/bin/qmiproxy
class main
user radio
group radio qcom_diag
disabled

# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main
user radio
group radio audio bluetooth gps qcom_diag
disabled

service atfwd /system/bin/ATFWD-daemon
class late_start
user system
group system radio
onrestart /system/bin/log -t RIL-ATFWD -p w "ATFWD daemon restarted"

service ril-daemon1 /system/bin/rild -c 1
class main
socket rild1 stream 660 root radio
socket rild-debug1 stream 660 radio system
user root
disabled
group radio cache inet misc audio sdcard_rw qcom_oncrpc diag

service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
class main
user root
group system qcom_oncrpc
disabled
oneshot

service get_macaddrs /system/bin/get_macaddrs
class main
user root
oneshot
disabled

on property:init.svc.ril-daemon=running
start get_macaddrs

# fusewrapped external sdcard daemon running as media_rw (1023)
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled

service qcamerasvr /system/bin/mm-qcamera-daemon
class late_start
user camera
group camera system inet input

service qcom-c_main-sh /system/bin/sh /init.qcom.class_main.sh
class main
user root
oneshot

service ril-qmi /system/bin/sh /init.qcom.ril.path.sh
class main
user root
oneshot

[MENTION=4890231]Xtreme666[/MENTION] got same **** after make clean unable to construct custom ril class. **** ****

send me your ****ing device tree