FORUMS
Remove All Ads from XDA

Amazing Temp Root for MediaTek ARMv8

1,110 posts
Thanks Meter: 1,426
 
By diplomatic, XDA Ad-Free Senior Member on 17th April 2019, 01:51 PM
Post Reply Email Thread
7th November 2019, 09:29 AM |#641  
CXZa's Avatar
Senior Member
Thanks Meter: 118
 
Donate to Me
More
Quote:
Originally Posted by diplomatic

Hey, BTW, do you have access to any MT6580 phones? I have a test version that should handle that chip as well. The MT6595 should already be supported by the release version, but that chip is not very common.

Tested r19 on MT6580, Android v.5.1.1, unrooted for testing
init.d scripts support result
Quote:

Can't acquire root privileges (7.11.2019 10.05.35 ap.)
Executing scripts from /storage/emulated/0/init.d (7.11.2019 10.05.35 ap.)
suboot.sh

param1: 0x3000, param2: 0x18040, type: 6
Building symbol table

armv7l machine
Can't find kallsyms addresses or offsets
Unable to get kernel symbol table
starting /system/bin/sh
UID: 10127 cap: 0000000000 selinux: permissive*
Root user only

so, where is that test version then?
7th November 2019, 09:47 AM |#642  
Quote:
Originally Posted by Vortell

@Rortiz2
Isn't there already a twrp image for 6735?
https://yadi.sk/d/xptg_hzL3X87jU


Then there is some scource code out there from Sony for 6755 from the xa I thing.

I though all of the boards were similar in design. As in the same thing with different speed or different system chip same GPU ECT. Is there alot of custom parts on mtk builds. I assumed as close to reference as possible to cheapen it as much as possible. Since they are normally in mid to lie range phones.

Honestly I stayed away from mtk because the best info I could find was on 4pda and freaktab. That and sptools seems to be only lasting tool for it and the reports of bricking with it is relatively high. They have a whole mtk tablet section. Some I of the stuff you have talked about appears to have been asked there as well, like binding for SD cards.

https://forum.freaktab.com/forum/mtk...es/mtk-tablets

What do you mean? I'm not following you
7th November 2019, 07:47 PM |#643  
OP Senior Member
Thanks Meter: 1,426
 
Donate to Me
More
Quote:
Originally Posted by CXZa

Tested r19 on MT6580, Android v.5.1.1, unrooted for testing
init.d scripts support result


so, where is that test version then?

Post 600, man Let me know which phone it is for the list....
8th November 2019, 01:15 AM |#644  
OP Senior Member
Thanks Meter: 1,426
 
Donate to Me
More
Quote:
Originally Posted by Rokia

Hi @diplomatic,

Ahh that makes sense and priorty is totally cool, I'm getting there bit by bit. I think you're right, I've been looking at mtk-su -v and there are lines about forbidden syscalls and seccomp issues...

So let's see the -v log. Maybe it's something else, not exactly what I presume. If there's more than one line about forbidden system call, it may be a bug or something....
8th November 2019, 11:25 AM |#645  
CXZa's Avatar
Senior Member
Thanks Meter: 118
 
Donate to Me
More
Quote:
Originally Posted by diplomatic

Post 600, man Let me know which phone it is for the list....

After executing, all main apps started to crash. PlayStore, Launcher, etc..

The tablet isn't really normal in any way. It's of those faked ones. K960 etc...
Kernel version 3.10.72+ . Here is its firmware
https://forum.xda-developers.com/and...7#post80758487

Result this time.
Quote:

Can't acquire root privileges (Nov 8, 2019 12:04:50 PM)
Executing scripts from /storage/emulated/0/init.d (Nov 8, 2019 12:04:50 PM)
suboot.sh

param1: 0x3000, param2: 0x18040, type: 6
Building symbol table
kallsyms_addresses pa 0x80a0bf20
kallsyms_num_syms 62475, addr_count 62475
kallsyms_names pa 0x80a48f60, size 755827
kallsyms_markers pa 0x80b017e0
kallsyms_token_table pa 0x80b01bc0
kallsyms_token_index pa 0x80b01f60
Patching credentials
Parsing current_is_single_threaded
c0283c44: MOVW R0, #0xf8b8
c0283c48: MOVT R0, #0xc0d2
init_task VA: 0xc0d2f8b8
Potential list_head tasks at offset 0x210
comm swapper/0 at offset 0x358
Found own task_struct at node 1
cred VA: 0xd22b5400
Parsing avc_denied
c08ec59c: MOVW R3, #0x9054
c08ec5a0: MOVT R3, #0xc0e5
selinux_enforcing VA: 0xc0e59054
Setting selinux_enforcing
Selinux is already permissive
/data/data/com.ryosoftware.initd/files/bin

armv7l machine
starting /system/bin/sh
UID: 0 cap: 3fffffffff selinux: permissive*
source type magisk does not exist
Error in: allow magisk (null) (null) (null)
client: launching new main daemon process

8th November 2019, 11:53 AM |#646  
Quote:
Originally Posted by CXZa

After executing, all main apps started to crash. PlayStore, Launcher, etc..

The tablet isn't really normal in any way. It's of those faked ones. K960 etc...
Kernel version 3.10.72+ . Here is its firmware
https://forum.xda-developers.com/and...7#post80758487

Result this time.

Sounds interesting..
I've compiled a few days a fully-working TWRP for this tablet. IDK if will work with yours if you want to give it a try:
https://www.androidfilehost.com/?fid...26312261622625
Sorry for the OT diplomatic
Cheers!
8th November 2019, 10:44 PM |#647  
OP Senior Member
Thanks Meter: 1,426
 
Donate to Me
More
Quote:
Originally Posted by CXZa

After executing, all main apps started to crash. PlayStore, Launcher, etc..

The tablet isn't really normal in any way. It's of those faked ones. K960 etc...
Kernel version 3.10.72+ . Here is its firmware
https://forum.xda-developers.com/and...7#post80758487

Result this time.

So in other words, you're telling me that it works?
But actually, why did it say "Selinux is already permissive"? Is it because you got a root shell before? And why do you have the verbose log in the execution result?
8th November 2019, 10:51 PM |#648  
Quote:
Originally Posted by diplomatic

So in other words, you're telling me that it works?

But actually, why did it say "Selinux is already permissive"? Is it because you got a root shell before? And why do you have the verbose log in the execution result?

Yes. That fake tablets come with su injected in system. At least my old (died) K107. Not sure if it's the same for him.
Cheers!

Enviado desde mi WAS-LX1A mediante Tapatalk
8th November 2019, 11:09 PM |#649  
CXZa's Avatar
Senior Member
Thanks Meter: 118
 
Donate to Me
More
edit: <--------
>So in other words, you're telling me that it works?
Not really as those apps keep on crashing.
The tablet cannot be used because of it.
Just this and that has stopped working
message boxes one after another...
Maybe I can try su through the adb if it works,
I'll try it later today... next week..
-------->

>"Selinux is already permissive"? I
> Is it because you got a root shell before?
Nope. And no ready made su either.
It has had two roots by now, but none at the moment.

>And why do you have the verbose log in the execution result?
I can take that -v I put away if that is what you really wish...
I also had to install busybox as root before testing your stuff.

These fakes are what they are... but it still has one of the fastest boots that I have seen...
Just couple of seconds really. I don't think it ever really shuts down...
The Following User Says Thank You to CXZa For This Useful Post: [ View ] Gift CXZa Ad-Free
9th November 2019, 11:32 PM |#650  
OP Senior Member
Thanks Meter: 1,426
 
Donate to Me
More
Quote:
Originally Posted by CXZa

edit: <--------
>So in other words, you're telling me that it works?
Not really as those apps keep on crashing.
The tablet cannot be used because of it.
Just this and that has stopped working
message boxes one after another...
Maybe I can try su through the adb if it works,
I'll try it later today... next week..
-------->

>"Selinux is already permissive"? I
> Is it because you got a root shell before?
Nope. And no ready made su either.
It has had two roots by now, but none at the moment.

>And why do you have the verbose log in the execution result?
I can take that -v I put away if that is what you really wish...
I also had to install busybox as root before testing your stuff.

These fakes are what they are... but it still has one of the fastest boots that I have seen...
Just couple of seconds really. I don't think it ever really shuts down...

OK, so I think it's safe to say that selinux enforcement is the problem. That half-baked FW is permanently stuck on (and needs) permissive and when the script changes to enforcing, you get crashes. So the only thing you have to do remove the 'setenforce 1' lines from the script....
(The reason I asked the -v log is that I don't know if it's there because you changed something or because of a bug I need to correct. You should tell me if you've changed something.)
The Following User Says Thank You to diplomatic For This Useful Post: [ View ] Gift diplomatic Ad-Free
10th November 2019, 06:26 AM |#651  
CXZa's Avatar
Senior Member
Thanks Meter: 118
 
Donate to Me
More
Quote:
Originally Posted by diplomatic

OK, so I think it's safe to say that selinux enforcement is the problem. That half-baked FW is permanently stuck on (and needs) permissive and when the script changes to enforcing, you get crashes. So the only thing you have to do remove the 'setenforce 1' lines from the script....

Okay, I did that and now it works.
The Following User Says Thank You to CXZa For This Useful Post: [ View ] Gift CXZa Ad-Free
Post Reply Subscribe to Thread

Tags
mediatek, mt67xx, root

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes