This rooting method works without needing the other files inside those directories. As far as I know, SuperSU will download the rest of the binaries that it needsAre you sure we don't need the other files inside the x86/x64 dir?
This rooting method works without needing the other files inside those directories. As far as I know, SuperSU will download the rest of the binaries that it needsAre you sure we don't need the other files inside the x86/x64 dir?
I don't think supersu binary needs any binary except modding app_process to allow its daemon to be run at system level and gain shell access .may be it need an extra init script and library for patching selinux policy for successfully starting its daemon right from very beginning of boot.This rooting method works without needing the other files inside those directories. As far as I know, SuperSU will download the rest of the binaries that it needs
Seems like you know more about this process than I do Thanks for the clarification :good:I don't think supersu binary needs any binary except modding app_process to allow its daemon to be run at system level and gain shell access .may be it need an extra init script and library for patching selinux policy for successfully starting its daemon right from very beginning of boot.
Hi, are you trying to root on a clean install? What modifications have you applied to POS? It sounds like your system partition is read-only. You should try to remount it as read-write. I'm not sure what the proper way is, but a quick Google search gave me this result:Hey, it does not work for me! I have Phoenix 2.5.0 dual booted with ubuntu and when I type the second command, mv su su.orig, the following error message appears:
mv: bad 'su': Read-only file system
Please help! I can't use the replacing sys image method either cause I cannot find it anywhere online. Thank you in advance!!:good::fingers-crossed:
su mount -o remount, rw /system
Hi, are you trying to root on a clean install? What modifications have you applied to POS? It sounds like your system partition is read-only. You should try to remount it as read-write. I'm not sure what the proper way is, but a quick Google search gave me this result:
If that doesn't work, try sudo instead of su. I don't remember the exact syntax, so you're going to have to play around with it for a bit. Also, try asking in the Discord server for help.Code:su mount -o remount, rw /system
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:
- v2.2.0 64-bit
- v2.2.1 64-bit
- v2.5.0 64-bit
Instructions:
- 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.
- Open the terminal by pressing Alt+F1
- If you have Phoenix OS 32-bit, type in these commands:
Code:cd /system/xbin mv su su.orig cp /sdcard/Download/su/x86/[B]su.pie[/B] su chmod 4751 su su --install su --daemon
- If you have Phoenix OS 64-bit, type in these commands:
This screenshot is for 64-bit:Code:cd /system/xbin mv su su.orig cp /sdcard/Download/su/x64/[B]su[/B] . chmod 4751 su su --install su --daemon
- 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)
- Phoenix OS might crash and restart. Using the File Manager, go to the Download folder. Navigate to su>common> and install Superuser.apk
- 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.
- Launch Security app from the app drawer. Click AutoRun.
- Toggle SuperSU to enable it so that it can automatically run when other apps request Superuser access. Exit out of the app.
History:
- 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.
Try installing the app found inside the zip file attached to the OPDid everything as stated on v 1.5.0 just the last process where i have to install apk, it just fails. What could be the reason?
Thats what i did, but its got nothing to do with the method. I just installed this os and was trying to root. Found out it wont let me install any apk. App not installed error. Trying to ind a way aound that.Try installing the app found inside the zip file attached to the OP
Well that's weird, tell me more about your setup and how you installed your OSThats what i did, but its got nothing to do with the method. I just installed this os and was trying to root. Found out it wont let me install any apk. App not installed error. Trying to ind a way aound that.
Well that's weird, tell me more about your setup and how you installed your OS
Official website, used their installer. Google play doesn't work and when i try to install apk i get that error. Most solutions seem useless so far.
---------- Post added at 08:30 ---------- Previous post was at 08:05 ----------
Btw while trying to figure out things i noticed theres an easier way to do it lol. Just get into developer options and enable root access then install supersu.
I'm having the same issues (installed thru win10 on MacMini). My Developer Mode doesn't have that switch for Root.
My problem was fixed. Just uninstall the os. The file must be corrupted when you downloaded it. I used their installer that suggested right version and downladed it which caused this error. Then i uninstalled it and downloaded the installer for the specific version from the website then rooted it using this method.
Thanks for confirming, I'm glad you got it to workReinstalled os and this method worked on v1.5.0 x86 5.1 . Thanks ?
First of all thank you for your help! It does not work.. No description whatsoever comes out when I use that code to change it to read and write. When i used sudo instead it outputs sudo: not found.
I have just reinstalled Phoenix 2.5 x64 and tried again but the problem persists. I have used this tutorial about dual-booting Ubuntu alongside with Phoenix. Perhaps that's why I am special and have a read-only file system but how can I change that?
Here's the tutorial I used: https://www.youtube.com/watch?v=sTGjDb_FhJk (I used the newest Phoenix 2.5 x64 ISO)
Thanks a lot for your help. What is the Discord server's website so I can ask them too perhaps?
cd /system/xbin
mv su su.orig
cp /sdcard/Download/su/x86/[B]su.pie[/B] su
chmod 4751 su
su --install
su --daemon
cd /system/xbin
mv su su.orig
cp /sdcard/Download/su/x64/[B]su[/B] [B].[/B]
chmod 4751 su
su --install
su --daemon
If after typing in the mv su su.orig command, you get an error saying:
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.
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):
and not:Code:cp /sdcard/Download/su/x64/su [B].[/B]
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
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)Code:cp /sdcard/Download/su/x64/su /system/xbin
It sounds like you're not in the right folder. What Phoenix OS version do you have and what processor architecture? (32/64-bit) are you sure you're running the first command correctly (cd /system/xbin)? In the terminal, type in pwd and press enter. Post the output here. It should say /system/xbin. If not, use the command cd /system/xbin. If that doesn't work, type in ls -a and post the output here. Can you find su in that list of files? If so, all we're trying to do is make a backup of it before replacing it with the one we downloaded from Chainfirewhen I type the 2nd command, mv su su.orig it says no such file, what am i doing wrong ?
Im single OS booting and the files are as you laid out, but in the Download folder from within Phoenix OS
I don't remember off the top of my head, but try Ctrl+Alt+F7. Also, try other numbers for the F (Function) keys. If superuser doesn't work for you, go into the Security app and enable SuperUser for AutoRun.Thanks for all of your help, all the commands went in ok this time, however a little problem, ALT+F7 isnt working to close down terminal, so I have to force restart, then once its back up and running, continuing with the instructions to install super SU says not root found.