From: SnickerSun Date: Wed, 21 Jul 2021 23:01:58 +0000 (+0800) Subject: 修复 AES byte[] 加解密问题 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=184eee9576eee48dfd383bfb443d2ba0eb1c1222;p=protocol_srv.git 修复 AES byte[] 加解密问题 --- diff --git a/app/src/main/java/com/enqualcomm/support/utils/AESCipher.java b/app/src/main/java/com/enqualcomm/support/utils/AESCipher.java index 76b2efba..f5397944 100644 --- a/app/src/main/java/com/enqualcomm/support/utils/AESCipher.java +++ b/app/src/main/java/com/enqualcomm/support/utils/AESCipher.java @@ -26,6 +26,7 @@ import javax.crypto.spec.SecretKeySpec; import static android.util.Base64.DEFAULT; import static android.util.Base64.NO_WRAP; +import static android.util.Base64.URL_SAFE; public class AESCipher { @@ -200,16 +201,17 @@ public class AESCipher { public static byte[] aesDecryptBytesgFixedKey(byte[] bytes){ try{ - return aesDecryptBytes(bytes,AES_KEY.getBytes(charset)); + byte[] tmp=Base64.decode(bytes,NO_WRAP); + return aesDecryptBytes(tmp,AES_KEY.getBytes(charset)); }catch(Exception e){ ICLogger.e(e.getMessage(),e); } return null; } public static byte[] aesEncryptBytesFixedKey(byte[] bytes){ - try{ - return aesEncryptBytes(bytes, AES_KEY.getBytes(charset)); + byte[] tmp=aesEncryptBytes(bytes, AES_KEY.getBytes(charset)); + return Base64.encode(tmp,NO_WRAP); }catch(Exception e){ ICLogger.e(e.getMessage(),e); } diff --git a/app/src/main/java/com/enqualcomm/support/utils/NettyConnection.java b/app/src/main/java/com/enqualcomm/support/utils/NettyConnection.java index 98a4d751..c3a49c58 100644 --- a/app/src/main/java/com/enqualcomm/support/utils/NettyConnection.java +++ b/app/src/main/java/com/enqualcomm/support/utils/NettyConnection.java @@ -201,26 +201,13 @@ public class NettyConnection implements Connection { if (!isServerConnected()) { // log("skipedBytes " + new String(cmdArray)); - if(Config.protocol_no != Config.PROTOCOL_GATOR) { - ICLogger.logToFile("APILog", " sentBytes skiped " + new String(cmdArray)); - }else{ - byte[] tmparray=new byte[cmdArray.length-8]; - System.arraycopy(cmdArray,8,tmparray,0,tmparray.length); + ICLogger.logToFile("APILog", " sentBytes skiped " + new String(cmdArray)); - ICLogger.logToFile("APILog", new String(AESCipher.aesDecryptBytesgFixedKey(tmparray))+" sentBytes skiped " + new String(cmdArray)); - } return false; } else { // log("sendBytes " + new String(cmdArray)); if (Config.LOG_TOFILE) { - if(Config.protocol_no != Config.PROTOCOL_GATOR) { - ICLogger.logToFile("APILog", " sentBytes " + new String(cmdArray)); - }else{ - byte[] tmparray=new byte[cmdArray.length-8]; - System.arraycopy(cmdArray,8,tmparray,0,tmparray.length); - - ICLogger.logToFile("APILog", new String(AESCipher.aesDecryptBytesgFixedKey(tmparray))+" sentBytes " + new String(cmdArray)); - } + ICLogger.logToFile("APILog", " sentBytes " + new String(cmdArray)); } //向RxSocket写数据 //示例数据:IWAP00867155030001063# diff --git a/app/src/main/java/com/ic/protocols/protocol_gator.java b/app/src/main/java/com/ic/protocols/protocol_gator.java index b949aa3a..48cb4dbf 100644 --- a/app/src/main/java/com/ic/protocols/protocol_gator.java +++ b/app/src/main/java/com/ic/protocols/protocol_gator.java @@ -284,7 +284,14 @@ public class protocol_gator { System.arraycopy(encreptionMSGHeader.getBytes(),0,sentbuf,0,2); System.arraycopy(encdatalen.getBytes(),0,sentbuf,2,6); System.arraycopy(encryptdata, 0, sentbuf, 8, encryptdata.length); + if(false) { + String tmp=Util.byte2hex(msgbytes); + ICLogger.d("src " + msgbytes.length+" --hex-- "+tmp.length()+" "+tmp); + tmp=Util.byte2hex(encryptdata); + ICLogger.d("encrypted " + encryptdata.length+ " --hex-- "+tmp.length()+" "+tmp); + ICLogger.d("decrypted " + Util.byte2hex(AESCipher.aesDecryptBytesgFixedKey(encryptdata))); + } return sentbuf; } @@ -1371,7 +1378,7 @@ SOS报警上行WIFI、LBS混合定位数据,步数为255æ­¥,电量等级5,数 if (runtime==null) return null; StringBuffer sb = new StringBuffer(CMDHEADER).append("0000").append("0106").append(runtime.IMEI()); sb.append(cmdMap.get(CMD_TYPE.BP34)) - .append(CMDSPLIT).append(senderNumb) + .append(CMDSPLIT).append("0") .append(CMDSPLIT).append(packetTime.substring(2)) .append(CMDSPLIT).append(recordtimelenHex) .append(CMDSPLIT).append(count) diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 562a7ce1..fae2ebe6 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -1,987 +1,987 @@ - - - - - - - None - PAP - CHAP - PAP or CHAP - - - - - 0 - - 1 - - 2 - - 3 - - - - - IPv4 - IPv6 - IPv4/IPv6 - - - - - IP - - IPV6 - - IPV4V6 - - - - - LTE - eHRPD - Unspecified - - - - - 14 - - 13 - - 0 - - - - - - None - - SPN - - IMSI - - GID - - PNN - - - - - - - spn - - imsi - - gid - - pnn - - - - - Internal device storage - Removable SD card - Let the system decide - - - - - Internal device storage - Mobile internal storage - Let the system decide - - - - - device - sdcard - auto - - - - - device - internal sdcard - auto - - - - - - SIM 1 - SIM 2 - Always prompt - - - - SIM 1 - SIM 2 - - - - SIM 1 - SIM 2 - Always prompt - auto - - - - - SIM 1 - SIM 2 - - - - SIM 1 - SIM 2 - Always prompt - - - - - - 0 - - 1 - - - - - 0 - - 1 - - -1 - - - - - 0 - - 1 - - - - - 0 - - 1 - - -1 - 3 - - - - - Off - Vibrate - Mute - - - - - off - vibrate - mute - - - - - - Location - Personal - Messaging - Media - Device - - - - - coarse location - fine location - GPS - vibrate - read contacts - modify contacts - read call log - modify call log - read calendar - modify calendar - wi-fi scan - notification - cell scan - call phone - read SMS - write SMS - receive SMS - receive emergency SMS - receive MMS - receive WAP push - send SMS - read ICC SMS - write ICC SMS - modify settings - draw on top - access notifications - camera - record audio - play audio - read clipboard - modify clipboard - media buttons - audio focus - master volume - voice volume - ring volume - media volume - alarm volume - notification volume - bluetooth volume - keep awake - monitor location - monitor high power location - - - - - Location - Location - Location - Vibrate - Read contacts - Modify contacts - Read call log - Modify call log - Read calendar - Modify calendar - Location - Post notification - Location - Call phone - Read SMS/MMS - Write SMS/MMS - Receive SMS/MMS - Receive SMS/MMS - Receive SMS/MMS - Receive SMS/MMS - Send SMS/MMS - Read SMS/MMS - Write SMS/MMS - Modify settings - Draw on top - Access notifications - Camera - Record audio - Play audio - Read clipboard - Modify clipboard - Media buttons - Audio focus - Master volume - Voice volume - Ring volume - Media volume - Alarm volume - Notification volume - Bluetooth volume - Keep awake - Location - Location - - - - - - Short - - Medium - - Long - - - - - 500 - 1000 - 1500 - - - - - Default - Sans-serif - Sans-serif condensed - Serif - Monospace - - - - - - sans-serif - sans-serif-condensed - serif - monospace - - - - - Very small - Small - Normal - Large - Very large - - - - - 0.25 - 0.5 - 1.0 - 1.25 - 1.5 - - - - - None - Outline - Drop shadow - - - - - 0 - 1 - 2 - - - - - - - 0xFFFFFFFF - 0xFF000000 - 0xFFFF0000 - 0xFFFFFF00 - 0xFF00FF00 - 0xFF00FFFF - 0xFF0000FF - 0xFFFF00FF - 0xFF000055 - 0xFF0000AA - 0xFF005500 - 0xFF005555 - 0xFF0055AA - 0xFF0055FF - 0xFF00AA00 - 0xFF00AA55 - 0xFF00AAAA - 0xFF00AAFF - 0xFF00FF55 - 0xFF00FFAA - 0xFF550000 - 0xFF550055 - 0xFF5500AA - 0xFF5500FF - 0xFF555500 - 0xFF555555 - 0xFF5555AA - 0xFF5555FF - 0xFF55AA00 - 0xFF55AA55 - 0xFF55AAAA - 0xFF55AAFF - 0xFF55FF00 - 0xFF55FF55 - 0xFF55FFAA - 0xFF55FFFF - 0xFFAA0000 - 0xFFAA0055 - 0xFFAA00AA - 0xFFAA00FF - 0xFFAA5500 - 0xFFAA5555 - 0xFFAA55AA - 0xFFAA55FF - 0xFFAAAA00 - 0xFFAAAA55 - 0xFFAAAAAA - 0xFFAAAAFF - 0xFFAAFF00 - 0xFFAAFF55 - 0xFFAAFFAA - 0xFFAAFFFF - 0xFFFF0055 - 0xFFFF00AA - 0xFFFF5500 - 0xFFFF5555 - 0xFFFF55AA - 0xFFFF55FF - 0xFFFFAA00 - 0xFFFFAA55 - 0xFFFFAAAA - 0xFFFFAAFF - 0xFFFFFF55 - 0xFFFFFFAA - - - - - 25% - 50% - 75% - 100% - - - - - 0x40FFFFFF - 0x80FFFFFF - 0xC0FFFFFF - 0xFFFFFFFF - - - - - White on black - Black on white - Yellow on black - Yellow on blue - Custom - - - - - 0 - 1 - 2 - 3 - -1 - - - - - Dalvik - ART - ART (debug) - - - - - libdvm.so - libart.so - libartd.so - - - - - Use Dalvik - Use ART - Use ART debug build - - - - - Never check - Check for DRM content only - Always check - - - - - never - drm-only - always - - - - - Never use HDCP checking - Use HDCP checking for DRM content only - Always use HDCP checking - - - - - Animation off - Animation scale .5x - Animation scale 1x - Animation scale 1.5x - Animation scale 2x - Animation scale 5x - Animation scale 10x - - - - - 0 - .5 - 1 - 1.5 - 2 - 5 - 10 - - - - - Animation off - Animation scale .5x - Animation scale 1x - Animation scale 1.5x - Animation scale 2x - Animation scale 5x - Animation scale 10x - - - - - 0 - .5 - 1 - 1.5 - 2 - 5 - 10 - - - - - Animation off - Animation scale .5x - Animation scale 1x - Animation scale 1.5x - Animation scale 2x - Animation scale 5x - Animation scale 10x - - - - - 0 - .5 - 1 - 1.5 - 2 - 5 - 10 - - - - - None - 720x480 mdpi - 720x480 mdpi (secure) - 1280x720 tvdpi - 1280x720 tvdpi (secure) - 1920x1080 xhdpi - 1920x1080 xhdpi (secure) - 1280x720 tvdpi and 1920x1080 xhdpi - - - - - - 720x480/160 - 720x480/160,secure - 1280x720/213 - 1280x720/213,secure - 1920x1080/320 - 1920x1080/320,secure - 1280x720/213;1920x1080/320 - - - - - None - Logcat - Systrace (Graphics) - Call stack on glGetError - - - - - 0 - 1 - systrace - error - - - - - Off - Draw non-rectangular clip region in blue - Highlight tested drawing commands in green - - - - - hide - region - highlight - - - - - Off - On screen as bars - On screen as lines - In adb shell dumpsys gfxinfo - - - - - false - visual_bars - visual_lines - true - - - - - Off - Show overdraw areas - Show areas for Deuteranomaly - Show overdraw counter - - - - - false - show - show_deuteranomaly - count - - - - - Standard limit - No background processes - At most 1 process - At most 2 processes - At most 3 processes - At most 4 processes - - - - - -1 - 0 - 1 - 2 - 3 - 4 - - - - - - PPTP - L2TP/IPSec PSK - L2TP/IPSec RSA - IPSec Xauth PSK - IPSec Xauth RSA - IPSec Hybrid RSA - - - - - - PPTP VPN - L2TP/IPSec VPN with pre-shared keys - L2TP/IPSec VPN with certificates - IPSec VPN with pre-shared keys and Xauth authentication - IPSec VPN with certificates and Xauth authentication - IPSec VPN with certificates and hybrid authentication - - - - - - - Disconnected - - Initializing\u2026 - - Connecting\u2026 - - Connected - - Timeout - - Unsuccessful - - - - - Ascended being - Human - Neanderthal - Chimp - Monkey - - - - - 5 - 4 - 3 - 2 - 1 - - - - - - Ask - - Never allow - - Always allow - - - - - - normal - - moderate - - low - - critical - - - - - This is set for less than 1 minute from now. - This is set for %1$s from now. - This is set for %2$s from now. - This is set for %1$s and %2$s from now. - This is set for %3$s from now. - This is set for %1$s and %3$s from now. - This is set for %2$s and %3$s from now. - This is set for %1$s, %2$s, and %3$s from now. - - - - - - com.iflytek.inputmethod - com.android.dialer - - - - - - com.android.providers.downloads.ui - com.android.providers.downloads - com.android.dialer - com.android.contacts - com.android.mms - - com.android.music - com.android.providers.userdictionary - com.android.providers.calendar - com.android.calendar - com.android.providers.media - com.android.providers.contacts - com.google.android.inputmethod.latin - com.android.inputmethod.latin - - - - - - - - - com.android.settings - com.android.smspush - com.android.providers.telephony - com.android.phone - com.android.defcontainer - jp.co.omronsoft.openwnn - com.android.systemui - android - com.android.providers.settings - com.android.musicfx - com.android.providers.applications - com.android.providers.contacts - com.android.providers.userdictionary - com.android.quicksearchbox - com.svox.pico - com.android.gallery3d - com.android.keychain - com.android.launcher - com.android.browser - com.android.deskclock - com.android.providers.calendar - com.android.calendar - com.android.email - com.android.exchange - com.android.providers.drm - com.android.providers.downloads - com.android.providers.media - com.android.contacts - com.google.android.apps.maps - com.android.inputmethod.latin - - com.sprd.audioprofile - com.sprd.ramoptimizer - com.android.launcher3 - com.android.sprdlauncher2 - - - - com.sprd.ramoptimizer - - 1 - - - - - 1 - 0 - - - - - - 0 - 1 - 2 - - - Auto Connect - Manual Connect - Always Ask - - - - - - 1 - 2 - 3 - 4 - - - - - default - mms - supl - dun - hipri - - - - * - default - mms - supl - dun - hipri - fota - ims - cbs - wap - dm - stk - xcap - - - - - MONTERNET - GOOGLE - NOKIA - - - 0 - 1 - 2 - - - msb - msa - - - 1 - 2 - - - open - close - - - 1 - 2 - - - - - Use network-provided time - Use GPS-provided time - Off - - - Use network-provided time - Off - - - - - Teal - Blue - Indigo - Purple - Pink - Red - - - - - Always - Turn off when idle for 5 mins - Turn off when idle for 10 mins - - - 0 - 1 - 2 - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - - + + + + + + + None + PAP + CHAP + PAP or CHAP + + + + + 0 + + 1 + + 2 + + 3 + + + + + IPv4 + IPv6 + IPv4/IPv6 + + + + + IP + + IPV6 + + IPV4V6 + + + + + LTE + eHRPD + Unspecified + + + + + 14 + + 13 + + 0 + + + + + + None + + SPN + + IMSI + + GID + + PNN + + + + + + + spn + + imsi + + gid + + pnn + + + + + Internal device storage + Removable SD card + Let the system decide + + + + + Internal device storage + Mobile internal storage + Let the system decide + + + + + device + sdcard + auto + + + + + device + internal sdcard + auto + + + + + + SIM 1 + SIM 2 + Always prompt + + + + SIM 1 + SIM 2 + + + + SIM 1 + SIM 2 + Always prompt + auto + + + + + SIM 1 + SIM 2 + + + + SIM 1 + SIM 2 + Always prompt + + + + + + 0 + + 1 + + + + + 0 + + 1 + + -1 + + + + + 0 + + 1 + + + + + 0 + + 1 + + -1 + 3 + + + + + Off + Vibrate + Mute + + + + + off + vibrate + mute + + + + + + Location + Personal + Messaging + Media + Device + + + + + coarse location + fine location + GPS + vibrate + read contacts + modify contacts + read call log + modify call log + read calendar + modify calendar + wi-fi scan + notification + cell scan + call phone + read SMS + write SMS + receive SMS + receive emergency SMS + receive MMS + receive WAP push + send SMS + read ICC SMS + write ICC SMS + modify settings + draw on top + access notifications + camera + record audio + play audio + read clipboard + modify clipboard + media buttons + audio focus + master volume + voice volume + ring volume + media volume + alarm volume + notification volume + bluetooth volume + keep awake + monitor location + monitor high power location + + + + + Location + Location + Location + Vibrate + Read contacts + Modify contacts + Read call log + Modify call log + Read calendar + Modify calendar + Location + Post notification + Location + Call phone + Read SMS/MMS + Write SMS/MMS + Receive SMS/MMS + Receive SMS/MMS + Receive SMS/MMS + Receive SMS/MMS + Send SMS/MMS + Read SMS/MMS + Write SMS/MMS + Modify settings + Draw on top + Access notifications + Camera + Record audio + Play audio + Read clipboard + Modify clipboard + Media buttons + Audio focus + Master volume + Voice volume + Ring volume + Media volume + Alarm volume + Notification volume + Bluetooth volume + Keep awake + Location + Location + + + + + + Short + + Medium + + Long + + + + + 500 + 1000 + 1500 + + + + + Default + Sans-serif + Sans-serif condensed + Serif + Monospace + + + + + + sans-serif + sans-serif-condensed + serif + monospace + + + + + Very small + Small + Normal + Large + Very large + + + + + 0.25 + 0.5 + 1.0 + 1.25 + 1.5 + + + + + None + Outline + Drop shadow + + + + + 0 + 1 + 2 + + + + + + + 0xFFFFFFFF + 0xFF000000 + 0xFFFF0000 + 0xFFFFFF00 + 0xFF00FF00 + 0xFF00FFFF + 0xFF0000FF + 0xFFFF00FF + 0xFF000055 + 0xFF0000AA + 0xFF005500 + 0xFF005555 + 0xFF0055AA + 0xFF0055FF + 0xFF00AA00 + 0xFF00AA55 + 0xFF00AAAA + 0xFF00AAFF + 0xFF00FF55 + 0xFF00FFAA + 0xFF550000 + 0xFF550055 + 0xFF5500AA + 0xFF5500FF + 0xFF555500 + 0xFF555555 + 0xFF5555AA + 0xFF5555FF + 0xFF55AA00 + 0xFF55AA55 + 0xFF55AAAA + 0xFF55AAFF + 0xFF55FF00 + 0xFF55FF55 + 0xFF55FFAA + 0xFF55FFFF + 0xFFAA0000 + 0xFFAA0055 + 0xFFAA00AA + 0xFFAA00FF + 0xFFAA5500 + 0xFFAA5555 + 0xFFAA55AA + 0xFFAA55FF + 0xFFAAAA00 + 0xFFAAAA55 + 0xFFAAAAAA + 0xFFAAAAFF + 0xFFAAFF00 + 0xFFAAFF55 + 0xFFAAFFAA + 0xFFAAFFFF + 0xFFFF0055 + 0xFFFF00AA + 0xFFFF5500 + 0xFFFF5555 + 0xFFFF55AA + 0xFFFF55FF + 0xFFFFAA00 + 0xFFFFAA55 + 0xFFFFAAAA + 0xFFFFAAFF + 0xFFFFFF55 + 0xFFFFFFAA + + + + + 25% + 50% + 75% + 100% + + + + + 0x40FFFFFF + 0x80FFFFFF + 0xC0FFFFFF + 0xFFFFFFFF + + + + + White on black + Black on white + Yellow on black + Yellow on blue + Custom + + + + + 0 + 1 + 2 + 3 + -1 + + + + + Dalvik + ART + ART (debug) + + + + + libdvm.so + libart.so + libartd.so + + + + + Use Dalvik + Use ART + Use ART debug build + + + + + Never check + Check for DRM content only + Always check + + + + + never + drm-only + always + + + + + Never use HDCP checking + Use HDCP checking for DRM content only + Always use HDCP checking + + + + + Animation off + Animation scale .5x + Animation scale 1x + Animation scale 1.5x + Animation scale 2x + Animation scale 5x + Animation scale 10x + + + + + 0 + .5 + 1 + 1.5 + 2 + 5 + 10 + + + + + Animation off + Animation scale .5x + Animation scale 1x + Animation scale 1.5x + Animation scale 2x + Animation scale 5x + Animation scale 10x + + + + + 0 + .5 + 1 + 1.5 + 2 + 5 + 10 + + + + + Animation off + Animation scale .5x + Animation scale 1x + Animation scale 1.5x + Animation scale 2x + Animation scale 5x + Animation scale 10x + + + + + 0 + .5 + 1 + 1.5 + 2 + 5 + 10 + + + + + None + 720x480 mdpi + 720x480 mdpi (secure) + 1280x720 tvdpi + 1280x720 tvdpi (secure) + 1920x1080 xhdpi + 1920x1080 xhdpi (secure) + 1280x720 tvdpi and 1920x1080 xhdpi + + + + + + 720x480/160 + 720x480/160,secure + 1280x720/213 + 1280x720/213,secure + 1920x1080/320 + 1920x1080/320,secure + 1280x720/213;1920x1080/320 + + + + + None + Logcat + Systrace (Graphics) + Call stack on glGetError + + + + + 0 + 1 + systrace + error + + + + + Off + Draw non-rectangular clip region in blue + Highlight tested drawing commands in green + + + + + hide + region + highlight + + + + + Off + On screen as bars + On screen as lines + In adb shell dumpsys gfxinfo + + + + + false + visual_bars + visual_lines + true + + + + + Off + Show overdraw areas + Show areas for Deuteranomaly + Show overdraw counter + + + + + false + show + show_deuteranomaly + count + + + + + Standard limit + No background processes + At most 1 process + At most 2 processes + At most 3 processes + At most 4 processes + + + + + -1 + 0 + 1 + 2 + 3 + 4 + + + + + + PPTP + L2TP/IPSec PSK + L2TP/IPSec RSA + IPSec Xauth PSK + IPSec Xauth RSA + IPSec Hybrid RSA + + + + + + PPTP VPN + L2TP/IPSec VPN with pre-shared keys + L2TP/IPSec VPN with certificates + IPSec VPN with pre-shared keys and Xauth authentication + IPSec VPN with certificates and Xauth authentication + IPSec VPN with certificates and hybrid authentication + + + + + + + Disconnected + + Initializing\u2026 + + Connecting\u2026 + + Connected + + Timeout + + Unsuccessful + + + + + Ascended being + Human + Neanderthal + Chimp + Monkey + + + + + 5 + 4 + 3 + 2 + 1 + + + + + + Ask + + Never allow + + Always allow + + + + + + normal + + moderate + + low + + critical + + + + + This is set for less than 1 minute from now. + This is set for %1$s from now. + This is set for %2$s from now. + This is set for %1$s and %2$s from now. + This is set for %3$s from now. + This is set for %1$s and %3$s from now. + This is set for %2$s and %3$s from now. + This is set for %1$s, %2$s, and %3$s from now. + + + + + + com.iflytek.inputmethod + com.android.dialer + + + + + + com.android.providers.downloads.ui + com.android.providers.downloads + com.android.dialer + com.android.contacts + com.android.mms + + com.android.music + com.android.providers.userdictionary + com.android.providers.calendar + com.android.calendar + com.android.providers.media + com.android.providers.contacts + com.google.android.inputmethod.latin + com.android.inputmethod.latin + + + + + + + + + com.android.settings + com.android.smspush + com.android.providers.telephony + com.android.phone + com.android.defcontainer + jp.co.omronsoft.openwnn + com.android.systemui + android + com.android.providers.settings + com.android.musicfx + com.android.providers.applications + com.android.providers.contacts + com.android.providers.userdictionary + com.android.quicksearchbox + com.svox.pico + com.android.gallery3d + com.android.keychain + com.android.launcher + com.android.browser + com.android.deskclock + com.android.providers.calendar + com.android.calendar + com.android.email + com.android.exchange + com.android.providers.drm + com.android.providers.downloads + com.android.providers.media + com.android.contacts + com.google.android.apps.maps + com.android.inputmethod.latin + + com.sprd.audioprofile + com.sprd.ramoptimizer + com.android.launcher3 + com.android.sprdlauncher2 + + + + com.sprd.ramoptimizer + + 1 + + + + + 1 + 0 + + + + + + 0 + 1 + 2 + + + Auto Connect + Manual Connect + Always Ask + + + + + + 1 + 2 + 3 + 4 + + + + + default + mms + supl + dun + hipri + + + + * + default + mms + supl + dun + hipri + fota + ims + cbs + wap + dm + stk + xcap + + + + + MONTERNET + GOOGLE + NOKIA + + + 0 + 1 + 2 + + + msb + msa + + + 1 + 2 + + + open + close + + + 1 + 2 + + + + + Use network-provided time + Use GPS-provided time + Off + + + Use network-provided time + Off + + + + + Teal + Blue + Indigo + Purple + Pink + Red + + + + + Always + Turn off when idle for 5 mins + Turn off when idle for 10 mins + + + 0 + 1 + 2 + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + +