Originally Posted by xyz`
Maybe you can just compile it as a static binary instead if that's easier.
Whoa, you mean if it doesn't depend on any external libraries a 64-bit executable will load just fine even though the high-level system is only 32-bit? That's some sorcery right there.
I'll keep that in mind.
But anyway I did just compile an arm version for you to test. (Unless someone beats you to it. @bibikalka
?) It took more than a few tweaks to suppress the compiler warnings and make it run.
But I tested it on my tablet and it worked out just fine. The attached zip file has both arch's. Both of these deal with a 64-bit kernel, and in general I recommend you use the arm64 unless your device only has a 32-bit software base.
Originally Posted by Rortiz2
Awesome work @diplomatic
If you had discovered it before, I would not have asked you to compile TWRP for the BQ M8 and I would not have bothered you. By the way I I prefer to have TWRP. (thanks!)
I have reinstalled stock in my BQ M8 and the script has worked! If you want you can add it to the list of devices...
On Fire 7 7th Gen it not worked.. But we have TWRP.
EDIT: I have tried again and now I get this error
Thank you, sir.... You did have unlocked BL & root before TWRP, right? So the TWRP is not mutually exclusive to this exploit.
For intermittent errors like this, you have to keep your screen on and try again.
Originally Posted by JJ2017
One difficulty: mtk-su seemed to run fine and UID= 0 was shown - but I did have trouble getting the the 'mount -o remount -rw /system' command to work at first - it needed a few attempts.
And then, using the work-through from post 10, I couldn't get full root (i.e. 'su' accepted at command prompt) until I changed permissions on each of the copied SU components (su, daemonsu etc) to those prescribed in @<br />'s awesome Hardmod post.
OK, I see. (Is that even the right remount command?) When you push the su-related binaries from Windows, you have to set the right permissions for the files because Windows does not distinguish between executable and not. This is something that hasn't been mentioned before.
Originally Posted by Datastream33
Wait, will this work for a mt6753 chipset?
Signs point to yes.