[HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post Reply
yong82
Posts: 7
Joined: Tue Jun 03, 2014 9:49 pm
languages_spoken: english, korean
ODROIDs: odroid u3 x4
Has thanked: 0
Been thanked: 1 time
Contact:

[HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by yong82 »

Hello,

Although it's a bit flaky, I've successfully install Magisk-v12.0 and Xposed at Odroid C2 (marshmallow)
and they seem to work together well on "system-less" mode (although our C2 is full of rootsystem, :D )

The instruction is long and hairy, but here it is if you really want to try.
Since it is too long to read, I created them in github.

Thank you.

ps. I only tested this for few days. Don't blame me if anything breaks.

Link: https://github.com/jaejunh/odroid/blob/ ... 20OdroidC2
These users thanked the author yong82 for the post:
sshock (Tue Dec 24, 2019 9:08 am)

treobrian
Posts: 24
Joined: Sat Jul 26, 2014 3:04 pm
languages_spoken: english
ODROIDs: XU4, U3
Location: Rural Victoria, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by treobrian »

OK, I guess this is a really DUMB question, I'm sure you didn't go to all that effort if there was an easy way to get Magisk on an Odroid.

The question is: why can't you just flash Magisk to an Odroid using the USB-UART using fastboot? I expect it has something to do with the way Odroids boot?

Anyway, it is becoming more important to be able to get Magisk on Odroids because more and more apps are blocking devices that are unlocked and rooted. Netflix is heading in that direction apparently. That will stir things up a bit I think! :lol:

yong82
Posts: 7
Joined: Tue Jun 03, 2014 9:49 pm
languages_spoken: english, korean
ODROIDs: odroid u3 x4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by yong82 »

treobrian wrote:OK, I guess this is a really DUMB question, I'm sure you didn't go to all that effort if there was an easy way to get Magisk on an Odroid.

The question is: why can't you just flash Magisk to an Odroid using the USB-UART using fastboot? I expect it has something to do with the way Odroids boot?

Anyway, it is becoming more important to be able to get Magisk on Odroids because more and more apps are blocking devices that are unlocked and rooted. Netflix is heading in that direction apparently. That will stir things up a bit I think! :lol:
Well, I don't have USB-UART with me. :o I used Odroid-Utility to install Magisk*.zip and that basically failed to install it.
Then, I look into Magisk install script and I found it expected to extract standard boot,img. As you know we don't have such thing.
That's why I came up this work around installation because I really need to test xposed and magisk on on my c2.

BTW I haven't tried USB-UART (and fastboot), so if it works for you, could you please let me know?

ps. my magisk+xposed installed c2 works perfectly at first. Unfortunately, I found it silently dies when it stayed on for a day.
I am looking into this, but I really don't know why unfortunately. Do you have same problem?

Sorabo
Posts: 1
Joined: Fri Jan 19, 2018 10:33 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by Sorabo »

Rather, I would recommend you to simply install Magisk (v15.0 is the latest one) by flashing.
It's totally up to you which one you opt. But, I would recommend you to flash because there is very few chances of bricking up of the device.
Latest Magisk Update: XDA
Installation Guide: TheCustomDroid

If it works, let me know.

will_santana
Posts: 38
Joined: Wed Oct 05, 2016 8:16 am
languages_spoken: english, portuguese, spanish
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by will_santana »

During some tests trying to hide root from some apps I've tried the above method and it doesn't work anymore.
But I've figured out how to install the latest version of Magisk (19.2 during this post).
I'll update this post later with the updated instructions.

BTW, magisk hide didn't work for me. But Xposed rootcload did the trick.

sshock
Posts: 18
Joined: Thu Dec 19, 2019 1:04 pm
languages_spoken: english
ODROIDs: XU4, C2, and N2
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by sshock »

Anyone had success with this on an XU4?

sshock
Posts: 18
Joined: Thu Dec 19, 2019 1:04 pm
languages_spoken: english
ODROIDs: XU4, C2, and N2
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by sshock »

sshock wrote:
Thu Dec 19, 2019 1:06 pm
Anyone had success with this on an XU4?
Answering myself because I have some good news. I was able to get magisk installed in an XU4 using yong82's steps, with just a couple slight variations:

1. Instead of running magisk manually with its update-binary script, I just used the magisk manager app to patch the boot.img file (get boot.img by dd-ing it from /dev/block/sda1).

2. Instead of grabbing ramdisk.cpio from /dev/tmp/magisk/bottmp (wasn't there), I just used abootimg -x to extract it from the updated boot image, which magisk wrote to /sdcard/Downloads/magisk_patched.img. (Note you need to gunzip the initrd.img before extracting it with cpio).

Also, don't forget to be root for the final `cpio` and `rsync` commands or you will have permission issues.
These users thanked the author sshock for the post:
odroid (Sat Dec 21, 2019 9:07 am)

sshock
Posts: 18
Joined: Thu Dec 19, 2019 1:04 pm
languages_spoken: english
ODROIDs: XU4, C2, and N2
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: [HOW-TO(alpha)]: Install Magisk-v12.0.zip (with Xposed)

Post by sshock »

Now for the bad news: I can't get magisk to stick after a reboot :( I have to redo the last rsync step every time between boots.

Also, I get this error any time I try to install an app:
adb: failed to install terminal_emulator.apk: Error: failed to write; readlink failed: EACCES (Permission denied)

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest