Open geniwes opened 4 years ago
More than a year after, I tried this, because I don't want to root my phone, almost the same command lines, I just added sed -i 's/org.simalliance.openmobileap i.SMARTCARD/org.simalliance.openmobileapi.SMARTCARD/g' "$tmpDir/AndroidManifest.xml"
In the script here: https://github.com/levyitay/AddSecurityExceptionAndroid.
But once installed the application don't work and turns off after being stuck for a few seconds on the main page. :-(
Ok it seem to be an error with Alibaba Cloud API:
com.alibaba.cloudapi.sdk.exception.SdkException: app key or app secret must be initialed
I can confirm that it worked with my DEEBOT 2017 app, though I did the steps manually like described here https://book.hacktricks.xyz/mobile-apps-pentesting/android-app-pentesting/make-apk-accept-ca-certificate
Hello ladies and gentlemen, english is not my mother tongue, I hope you understand it anyway.
With none of the instructions in www, I managed to make the file system writable on Android 9 Pie (Samsung J6), so I'm not able to put certificates to the system store.
The only thing that helped me was patching the Ecovacs Home app. I did it in Kali Linux and I don't know if this works in Windows.
Download Ecovacs Home App to PC. E.g. https://addons.mozilla.org/de/firefox/addon/apkgk-downloader/
If not present get a Java JDK >= 8 (bin/jarsigner is needed; e.g. https://openjdk.java.net/ )
Clone https://github.com/levyitay/AddSecurityExceptionAndroid
The script addSecurityExceptions.sh is unusable because there are errors in the file AndroidManifest.xml : Line 19 and line line 26 contains illegal spaces. So I run the commands manually (with the apk in the same dir as apktool.jar).
upload ecohome.apk to smartphone, deinstall the original app, install the patched one manually and be happy.
I have to admit that I haven't tried Bumper yet (still to come). I used this procedure for mitmproxy and that's why I came across this project. But I believe that this procedure could also be necessary for the Bumper-CA.