-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TWRP port for MC Smart #38
Comments
hello @ihrapsa , I cannot tell you the exact process, as it has been 5 years. I remember that the TWRP is pretty easy to build as long as you have the Scatter-File. Most of informations (devices, partitions) can be found there. I would suggest starting with that. If you dont have the scatter file, you should get one using WWR-Tool. One important thing which i remember: To run correctly, the TWRP should be build with the exact same Android Version as on the device. With other Android Versions, the build went trough but it had a lot of bugs. |
Hey, thanks for the quick reply! Any clue on why adb might not work once in twrp? I managed to get it in fastboot somehow and that works, but can't do much with that (need volume buttons to confirm bootloader unlock). |
You can try sending some key events using ADB. Something like "adb shell input keyevent 123" should work. ADB needs working USB-Drivers, else it wont work. You might need to reconfigure them. I would suggest trying to different configurations on your device and compare the results. Usually try and error works best, as there is no perfect recipe available for every custom problem. |
I'm using linux and I have no issue using adb on my other android device. The This is the
Here is the stock I've tried adding/changing the following:
Tried also commenting some other lines related to "charge only function" but still no result. Here is the |
Hi @ihrapsa. Can you please share your scatter file for MTK8167? I have generated mine with WWR-Tool, but to be more safe I want to compare it with yours and, in the end we could choose one that is 100% correct and working. I've generated TWRP according to Hovatek's script, but when I want to flash it SPFT says that "PMT changed..." and tells me to format whole memory... Which I want to avoid, even if I have already dumped all 16GB. Also, if it would not be a problem, please share also your TWRP image. We can join efforts to hack MC Smart if you don't mind. @EliasKotlyar do you want to have also "Smart" variant in this repo or you want us to have separate repo for Smart? Thanks! |
Hi, @majki09! MT8167_Android_scatter_MC3_jonah1024.txt Make sure you back up the Jonah |
Hi! Using @ihrapsa's TWRP I was able to root the device. While ADB doesn't work, it's entirely possible to flash the cache partition from the bootloader, then using TWRP copy the files from there to I recommend installing this app first (it adds a floating back button, which is very handy) - download it on another device and extract the APK from there, then this one to make it easier to upload files over wi-fi, and Kitsune Mask (magisk fork) to install magisk, as well as a launcher of your choice. To install Magisk I pushed the app and the boot.img file to the device, I patched it on the device, then I downloaded the patched boot image using the HTTP server app and flashed it with SPFlashTool. I'm trying to find a way to enable the system UI via a magisk module. |
I haven't managed to enable the system navbar since anything I try makes the system bootloop. However, this app seems to work very well! I also haven't managed to enable ADB, but SSH in Termux+root works just as well. So these are my full steps, which require a Linux system in order to mount an
|
About ADB: it doesn't look like it wants to work over USB. However, using this magisk module + a patch, you can permanently enable it over Wi-Fi: https://github.com/Mygod/debuggable.prop This is my patched module: debuggable-prop.zip This enables using |
Wow, this is great 😮 ! Thank you very much for the thorough guide. I'll definitely get back to this soon. |
@depau great work! whit this mod, is the original software running? If everything is working fine, I would like to write an integration for home assistant and get info of the robot ;) |
@baldarn yes: https://youtu.be/w7_CfsKm3gA
Let me know if you do! If you could make it compatible with other platforms as well, such as publishing the info to an MQTT broker using a sane structure such as what the Homie convention recommends, that'd be great! By the way, an update: an acquaintance of mine tried this on his MCS and found his robot has a locked bootloader. You can figure it out with https://github.com/bkerler/mtkclient/ by running Mine looks like this, secure boot (SBC) and download agent authentication (DAA) are not enabled therefore the bootloader is unlocked:
It should be possible to bypass it via https://github.com/MTK-bypass/bypass_utility/ + the Live ISO from mtkclient but he hasn't tried yet. |
Hello, just registered to reply here, trying hack of my MC Smart
Stuck there even with previous bypass utility version (1.4.1) With "Android Utility" I have this log
Stuck there Let's try to hack this :) |
The ISO is here: https://github.com/bkerler/mtkclient/blob/f9fe6ca65c93c2eb05adef7787069103c0d79763/README.md#use-re-livedvd-everything-ready-to-go-based-on-ubuntu But as far as I understand it should work out of the box on Windows. I'm not sure though, so it's worth to give it a shot. You can try mtkclient as well, you want to do this then use SPFlashTool 5 without disconnecting the robot. If the first step works but SPFlashTool doesn't work, you can try going to option and setting the connection mode to UART (the COM port on Linux will be something like I haven't tested any of this though - as I said my robot came fully unlocked from the factory. |
Is this the "Android Utility" you talk about? https://bypassfrpfiles.com/2021/05/mtk-secure-boot-disable-tool/ |
I should try what you just write and will report, probably sunday as it's my free day without wife and son. |
Even with the ISO I can't even pass the 1st passage. I had little time so couldn't even save logs or try something. Will retry soon or remain locked |
Hey, I'm working on the MC3 (Monsieur Cuisine Smart) version but I'm having trouble porting a fully working twrp recovery file. I managed to create one, it boots into it but the touchscreen is 90deg rotated, partition table is messed up (showing 0MB everywhere) AND adb does not work (even though the log shows that MTP is enabled)
I was curious how you managed to port the twrp to the MCC.
Thank you!!
The text was updated successfully, but these errors were encountered: