just to do a summary... lord can you call
instead of directly calling the ".sh" script when bringing up the radio?
and, btw, do you think that calling "poweroff_modem.sh" when entering airplaine mode could be useful on battery life? Since it kills some ril related services and unloads some modules that are known for keeping kernel wake locks
# grep -r poweron_modem system/*
Binary file system/lib/libhtc_ril.so matches
it calls it...
so.. what if
gets renamed to something like /system/bin/poweron_modem_fls_real.sh
and /system/bin/poweron_modem_fls.sh contains just a simple
and maybe it'd need suid bit to run a "start" command? (or put "su" before the start command)
of course you have to change
service poweron_modem /system/bin/poweron_modem_fls.sh /data/modem_work/
service poweron_modem /system/bin/poweron_modem_fls_real.sh /data/modem_work/
in this way HTC ril calls the sh script that calls the "start" method and should override the 4.2 partitions thing
strings libhtc_ril.so | grep poweron_modem
they're directly calling it... and it fails because of that 4.2 thing that requires the new init binary (i smacked my head for a couple of days on amlogic tablets to sort this out while building 4.2)... doing that "binary bounce" could work imho
what's interesting is what has changed from 2.1? because it didn't care until that build!
or in a more elegant way try to adopt this
route that is for /storage but make the same thing for /rfs and /rca
i hope i have you some hints