How can I power up the em7455 with the android ril when the em7455 is always in LPM low power mode at boot. Only available option I can find from searching is to implement this command into init.rc or a script:
echo -e "AT+CFUN=1\r\n" > /dev/ttyUSB2
Any help on this issue would be great since there seems to be now way to permanently disable LPM mode on em7455:
Let me also note that on the same OS and hardware setup the MC7700 works perfect and initializes just fine so my assumption was that the em7455 needs some sort of FCC auth or command in ril to exit LMP mode on init.
When in AT ril mode the em7455 powers up fine but no new wwan device this issue is only in QMI mode which is default in android.
Should the command AT!UNLOCK=“A710” be AT!ENTERCND="A710"
Is the android rill using the wrong AT commands for the em7455? In the documentation the em/mc7455 is listed as supported but I am using android ril 5.1.1 since I am on a 32bit android os and cant use the most recent arm64 android ril.
The em7455 still does not want to power up in Android (works only in linux atm) I have an MC7700 that works fine so I am still puzzled why the Android RIL is not getting the em7455 out of LPM.
I flashed this em7455 to generic 9071 from a Dell DW5811e and now I am thinking this could be the issue. Does Dell lock their devices only to be used on Linux/Windows?
Could there possibly be an early boot workaround to bring the device into a ready state?
Thanks again for the assistance. So you recommend I change the carrier config via AT command? Right now I am using AT&T for T-Mobile and Google Fi 2 use. So I should change carrier to Verizon and try again.
Edit: here are the results of at!IMPREF? and AT!IMAGE?
!IMPREF:
preferred fw version: 02.30.01.01
preferred carrier name: ATT
preferred config name: ATT_002.049_002
current fw version: 02.30.01.01
current carrier name: ATT
current config name: ATT_002.049_002
OK
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 4 0 0 ?? 02.20.03.00?
FW 2 GOOD 2 0 0 ?? 02.08.02.00?
FW 3 GOOD 6 0 0 ?? 02.30.01.01?
FW 4 GOOD 5 0 0 ?? 02.30.03.00?
Max FW images: 4
Active FW image is at slot 3
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.049_002 02.30.01.01_ATT
PRI FF GOOD 0 0 0 002.046_001 02.30.03.00_GENERIC
PRI FF GOOD 0 0 0 002.012_002 02.08.02.00_VERIZON
Max PRI images: 50
Okay making some good progress now. Changing the at!IMPREF to “Verizon” brought the the em7455 online now so this a great but now I’m stuck in cdma mode even when setting lte gsm on device = 1 it defaults to cdma. How can I use gsm if the device only comes online with cdma Verizon? Can I use at!IMPREF=Auto-Sim" ? I will test that next.
Right now I’m just happy to see the Android RIL working with the em7455
Well im sure there is some mismatch in the firmware now cause i am only getting UMTS and not LTE on T-Mobile and Google Fi 2. ill keep messing with the carrier setting and the image pref. Thanks for all your help @jyijyi