FORUMS
Remove All Ads from XDA

[Root] How to root Phoenix OS without replacing system.img

534 posts
Thanks Meter: 416
 
By meanhacker, Senior Member on 23rd September 2017, 12:22 PM
Post Reply Email Thread
Hey guys, recently a member from Discord channel (ikkun) showed me steps on how to root Phoenix OS by just placing the su binary in the system folder. This method is so much easier and convenient than replacing the system.img, that it should be the main way to root your Phoenix OS installation.

Advantages:
  • No need to wait to download and extract a 500MB system.img. Instead, download a 5MB .zip file
  • No need to do a fresh install. You can root an existing installation without removing all your data.
  • Play store and Google Calendar sync work

Tested and works with:
Instructions:
  1. Download and extract the .zip file. For the purposes of the tutorial, I'm going to assume that you extract it in the Download folder and rename the SuperSU folder to su. Inside su, you should see META-INF, x64, x86, etc folders.
  2. Open the terminal by pressing Alt+F1
  3. If you have Phoenix OS 32-bit, type in these commands:
    Code:
    cd /system/xbin
    mv su su.orig
    cp /sdcard/Download/su/x86/su.pie su
    chmod 4751 su
    su --install
    su --daemon
  4. If you have Phoenix OS 64-bit, type in these commands:
    Code:
    cd /system/xbin
    mv su su.orig
    cp /sdcard/Download/su/x64/su .
    chmod 4751 su
    su --install
    su --daemon
    This screenshot is for 64-bit:


    Note 1:
    Quote:

    If after typing in the mv su su.orig command, you get an error saying:

    Quote:

    mv: rename su to su.orig: No such file or directory

    That means your Phoenix OS installation does not come with the su binary. Skip the mv command and proceed to the next step since there is nothing to make a backup of.
    I usually install my Phoenix OS using the .exe installer and always see the su file in that folder during the rooting process so I never see this error. It was never clear to me why people are missing the su binary, but my observations tell me it could be because people are installing it using the ISO file or using 32-bit. I never had the opportunity to test this out, but if you have this error, please post your Phoenix OS version, architecture, and installation method.

    Note 2:
    Quote:

    Make sure you type in the commands exactly as provided. I saw other people were having trouble because they typed in the command incorrectly; they were missing a period after a space. It should be with a period and a space after the command (if you're rooting x64):

    Code:
    cp /sdcard/Download/su/x64/su .
    and not:
    Code:
    cp /sdcard/Download/su/x64/su
    The dot simply tells the cp command to place the file in the working directory (which was set earlier by the cd /system/xbin command). Alternatively, you can replace the dot with the current directory, the new command being:
    Code:
    cp /sdcard/Download/su/x64/su /system/xbin
    It's just easier to type a dot then type out the whole directory, especially considering the fact that you can't copy-paste in the terminal (as far as I know, could be wrong)

  5. Close the console by pressing Alt+F7. (If you have trouble exiting the console, post below with your Phoenix OS version and architecture. Then, try pressing Ctrl+Alt+F7)
  6. Phoenix OS might crash and restart. Using the File Manager, go to the Download folder. Navigate to su>common> and install Superuser.apk
  7. Launch SuperSU app from the app drawer. Press Continue, then select Normal to update the binary normally. Exit out of the app after the update is successful.
  8. Launch Security app from the app drawer. Click AutoRun.
  9. Toggle SuperSU to enable it so that it can automatically run when other apps request Superuser access. Exit out of the app.

History:
  • Added notes for common errors people were having
  • Added another keystroke to exit console (Ctrl+Alt+F7)
  • Added screenshots. Removed unnecessary steps. Fixed grammar mistakes.

These instructions were posted in the Phoenix OS Discord Server by ikkun. Thanks to Chainfire for SuperSU.
Instructions ported from tutorial Installing SuperSU on Remix OS 2.0
Attached zip file in case their website is down.
Attached Files
File Type: zip UPDATE-SuperSU-v2.82-20170528234214.zip - [Click for QR Code] (5.64 MB, 38154 views)
The Following 19 Users Say Thank You to meanhacker For This Useful Post: [ View ] Gift meanhacker Ad-Free
 
 
26th September 2017, 07:37 PM |#2  
Junior Member
Thanks Meter: 0
 
More
Thanks, it works
26th September 2017, 07:48 PM |#3  
meanhacker's Avatar
OP Senior Member
Thanks Meter: 416
 
Donate to Me
More
Quote:
Originally Posted by jamarita

Thanks, it works

Thank you for the confirmation! What device do you have and what GPU does it come with?
1st October 2017, 05:13 AM |#4  
Member
Thanks Meter: 17
 
More
Does not work on hp 655 32 bit
1st October 2017, 06:24 AM |#5  
meanhacker's Avatar
OP Senior Member
Thanks Meter: 416
 
Donate to Me
More
Quote:
Originally Posted by lomax84

Does not work on hp 655 32 bit

First of all, what kind of a computer is an "hp 655"? Second, can you provide more details to what exactly doesn't work? What step are you failing at?
1st October 2017, 08:53 AM |#6  
ariadnejro's Avatar
Senior Member
Thanks Meter: 52
 
More
Working fine for me on PhoenixOS 2.2.1. My computer is a HP Spectre x360.
1st October 2017, 04:27 PM |#7  
meanhacker's Avatar
OP Senior Member
Thanks Meter: 416
 
Donate to Me
More
Quote:
Originally Posted by ariadnejro

Working fine for me on PhoenixOS 2.2.1. My computer is a HP Spectre x360.

Awesome, thanks for letting us know!
3rd October 2017, 12:24 PM |#8  
Member
Flag Nice
Thanks Meter: 2
 
Donate to Me
More
The method here is which I use to make a partition of demarage for another os, the method is simple and it erases nothing in the PC videos Show a complete installation has 2m30 you can see the procedure. On the second video we little to see how installing Android 7.1 Phoenixos 2.2 new version the whole in two-tier and triple boot.

Phoenixos 1.1
Partition at 2mn30
https://youtu.be/NUCsSkbooqw

https://youtu.be/LWYU3eIp-Zk


Phoenixos 2.2

https://youtu.be/fYpLOBjnYxM

https://youtu.be/W0kz9LUXdiA

Here is I hope to have taken forward l.
3rd October 2017, 10:44 PM |#9  
Member
Thanks Meter: 38
 
More
This method still causing the Play Services sync problems with Gmail, etc. Any fix?
3rd October 2017, 10:52 PM |#10  
meanhacker's Avatar
OP Senior Member
Thanks Meter: 416
 
Donate to Me
More
Quote:
Originally Posted by mic1000s

The method here is which I use to make a partition of demarage for another os, the method is simple and it erases nothing in the PC videos Show a complete installation has 2m30 you can see the procedure. On the second video we little to see how installing Android 7.1 Phoenixos 2.2 new version the whole in two-tier and triple boot.

Phoenixos 1.1
Partition at 2mn30
https://youtu.be/NUCsSkbooqw

https://youtu.be/LWYU3eIp-Zk


Phoenixos 2.2

https://youtu.be/fYpLOBjnYxM

https://youtu.be/W0kz9LUXdiA

Here is I hope to have taken forward l.

I'm sorry, it's kind of hard to understand what you're trying to say, but I'm assuming this is a guide on how to set up a triple-boot system.
Quote:
Originally Posted by jbardi

This method still causing the Play Services sync problems with Gmail, etc. Any fix?

This method only roots the system, it's not supposed to fix the sync problems with Gmail. The problem exists even before you root, so we need to search around for a solution. I would recommend asking in the Discord channel and someone might shed you some light on this issue.
3rd October 2017, 11:19 PM |#11  
Member
Flag Nice
Thanks Meter: 2
 
Donate to Me
More
It is exactly it, forgiveness if my English is not very clear. It is a method to install a dual boot or a triple boot in this particular case on a tablet Teclast x98 or on a mini PC Pipo X7 that have the same characteristics it does not solve at all the problems of synchronization of Google moreover I have no problem of synchronization on Phoenix os 2.2
Post Reply Subscribe to Thread

Tags
phoenix-os, root, supersu, superuser

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