@@ -37,7 +37,7 @@ |
||
| 37 | 37 |
<ConfirmationsSetting value="0" id="Add" /> |
| 38 | 38 |
<ConfirmationsSetting value="0" id="Remove" /> |
| 39 | 39 |
</component> |
| 40 |
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK"> |
|
| 40 |
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="JDK" project-jdk-type="JavaSDK"> |
|
| 41 | 41 |
<output url="file://$PROJECT_DIR$/build/classes" /> |
| 42 | 42 |
</component> |
| 43 | 43 |
<component name="ProjectType"> |
@@ -43,7 +43,7 @@ public class App extends Application{
|
||
| 43 | 43 |
if(!checkUsbPermission()){
|
| 44 | 44 |
Toast.makeText(this,"申请usb权限失败",Toast.LENGTH_SHORT).show(); |
| 45 | 45 |
} |
| 46 |
-// checkCameraLibs(); |
|
| 46 |
+ checkCameraLibs(); |
|
| 47 | 47 |
initImageLoader(); |
| 48 | 48 |
new PatchManager().patch(this, UrlContainer.PATCH_CONFIG_URL,Constants.APP_PATCH_DIR+ File.separator+"patch-"+BuildConfig.VERSION_NAME+".dex","ai.pai.lensman.patch.PatchesInfoImpl"); |
| 49 | 49 |
noMedia(); |
@@ -140,7 +140,7 @@ public class App extends Application{
|
||
| 140 | 140 |
String cmd = "chmod 777 " + getPackageCodePath(); |
| 141 | 141 |
String cmd2 = "chmod -R 0777 /dev/bus/usb" ; |
| 142 | 142 |
|
| 143 |
- String cmd3 = "mount -o rw,remount /dev/block/mtdblock8 /system" ; |
|
| 143 |
+ String cmd3 = "mount -o rw,remount /dev/block/platform/mtk-msdc.0/by-name/system /system" ; |
|
| 144 | 144 |
String cmd5 = "cp -fr /mnt/sdcard/lensman/so/. /system/lib" ; |
| 145 | 145 |
|
| 146 | 146 |
String cmd6 = "" ; |