ca-combos-editor
ca-combos-editor copied to clipboard
About rmt_storage patch
Hi,
I'm trying to patch rmt_storage for my OP7Pro now. I tried many rmt_storage files from other phones with SDM855 chipset. But the modem won't boot.
I also have an OP5T phone, and I used the file that you provided, it works without any issue. Which device's file you extracted for OP5T?
I think I can try the file from that vendor's SDM855 device.
Thank you.
Thank you for opening the issue:
I've extracted my rmt_storage
file from a Pixel 2's vendor partition if I recall correctly.
Unfortunately I don't have access to an OP7 Pro: you can probably use the Sony Xperia X1's / Xiaomi Mi 9 vendor partition - it should work.
Give me 10 minutes
3fa5a039a9d6fa1c6b500de36534ef399e89caf7ba51929d832f9384978d6e9f rmt_storage
OnePlus7Pro:/ # dmesg|grep rmt_storage
dmesg|grep rmt_storage
[ 8.927307] rmt_storage:INFO:check_support_using_libmdm: Modem subsystem found on target!
[ 8.927806] rmt_storage:INFO:main: Done with init now waiting for messages!
[ 10.168397] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs1!
[ 10.168659] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs2!
[ 10.168854] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fsg!
[ 10.171010] rmt_storage:INFO:rmt_storage_alloc_buff_cb: Received req_size: 2097152! avail: 2097152
[ 10.749713] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs1!
[ 10.749899] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs2!
[ 10.750073] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fsg!
[ 10.751586] rmt_storage:ERR:rmt_storage_alloc_buff_cb: elapsed time(ms) is 581 < 5000
[ 65.875407] rmt_storage:INFO:kmsg_enable: Enabling KMSG-LOGS!
[ 65.875420] rmt_storage:INFO:rmt_storage_alloc_buff_cb: Received req_size: 2097152! avail: 2097152
[ 66.451754] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs1!
[ 66.452986] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fs2!
[ 66.453240] rmt_storage:INFO:rmt_storage_open_cb: Processing: Open Request for /boot/modem_fsg!
[ 66.456037] rmt_storage:ERR:rmt_storage_alloc_buff_cb: elapsed time(ms) is 581 < 5000
[ 66.456046] rmt_storage:INFO:kmsg_disable: Disabling KMSG-LOGS!
rmt_storage is running, but modem doesn't boot up
Try to manually crash the modem (go to the dialer pad, write *#800#
and click on Crash Modem)
Tried, don't work. I also can not see the version of modem, it shows "unknown" on system settings.
Can you try by pkill
ing the process and starting it again a couple of times (pkill rmt_storage && sleep 1 && /vendor/bin/rmt_storage &
)?
Tried about 20 times, modem still down.
I also tried Pixel 4's rmt_storage, also don't work.
I need to do some reverse engineering on the binary I provided you: maybe it acts like the Oneplus' one and it looks for a similar device (therefore the patch is useless).
In the meantime, you can try with another device's rmt_storage. What version of Android are you using?
I'm using Android 10 (OOS Beta 6).
I'll try other binary tomorrow.
These days I tried binary from Mi 9T Pro, ASUS Zenfone 6, ROG Phone 2.
Now I got these errors from modem. [ 92.767422] modem SFR: (unknown, qcom_smem_get failed). [ 92.767441] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED. [ 92.813694] subsys-restart: subsystem_shutdown(): [kworker/u17:3:664]: Shutting down modem [ 92.829235] subsys-restart: subsys_send_uevent_notify(): SUBSYSTEM=modem CRASHCOUNT=141 CRASHREASON= [ 92.835685] sysmon-qmi: ssctl_del_server: Connection lost between QMI handle and modem's SSCTL service [ 92.835780] microdump_modem_notifier_nb: smem 421 not available [ 92.841680] subsys-restart: subsystem_powerup(): [kworker/u17:3:664]: Powering up modem [ 92.849526] subsys-pil-tz 4080000.qcom,mss: modem: loading from 0x000000008dc00000 to 0x0000000097200000 [ 93.287522] subsys-pil-tz 4080000.qcom,mss: modem: Brought out of reset [ 93.337696] subsys-pil-tz 4080000.qcom,mss: modem: Power/Clock ready interrupt received [ 93.346401] subsys-restart: subsystem_restart_wq_func(): [kworker/u17:3:664]: Restart sequence for modem completed. [ 93.351055] sysmon-qmi: ssctl_new_server: Connection established between QMI handle and modem's SSCTL service [ 93.375693] Fatal error on modem! [
What kernel version are you using? Can you post here the original rmt_storage file?
Sorry for the late reply, I'll look into it ASAP
Hello @denysvitali Have you had a chance to look at rmt_storage from op7pro ?
Unfortunately not yet :(
Hello Denys, do you have any patched rm_storage for snapdragon 845? i need for my Google Pixel 3 that keeps replacing my modded 00028874. Thank you
Interesting. The rmt_stroage from Pixel 2 can use on the OP7Pro with OxygenOS 11 :)
Interesting. The rmt_stroage from Pixel 2 can use on the OP7Pro with OxygenOS 11 :)
Would you mind sharing which specific OTA version you took the rmt_storage from? Thank you!
Interesting. The rmt_stroage from Pixel 2 can use on the OP7Pro with OxygenOS 11 :)
Would you mind sharing which specific OTA version you took the rmt_storage from? Thank you!
Just use the file from this repo: https://github.com/denysvitali/ca-combos-editor/blob/master/resources/rmt_storage_patch/op5t/oos/9.0.9/rmt_storage
So strange, works on A11 but not A10.
Hi!
Just use the file from this repo: https://github.com/denysvitali/ca-combos-editor/blob/master/resources/rmt_storage_patch/op5t/oos/9.0.9/rmt_storage
Is file in this repo worked on A11 ?