Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] How to build custom ROM include Superuser?

OP hoang.l.nguyen

13th May 2014, 04:46 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2014
Hi everyone! I'm researching about build custom ROM with AOSP. Now I get problem about how to include Superuser in the ROM. I want after flash ROM user can be already using. I tried copy su binary and superuser apk from zip file and put into system/xbin/su and system/app folder. After flash ROM superuser appear but it notify Su binary need update... Second way I tried work with the guide from Cyanogenmod but same problem. How can I add superuser into custom ROM by other solution?
13th May 2014, 06:00 PM   |  #2  
deadgiveaway's Avatar
Senior Member
Thanks Meter: 25
 
176 posts
Join Date:Joined: Apr 2014
What superuser and what binaries are you using

Sent from my LG-D803 using XDA Free mobile app
14th May 2014, 03:06 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by deadgiveaway

What superuser and what binaries are you using

Sent from my LG-D803 using XDA Free mobile app

I downloaded it from github Superuser. After extract I get su binary and superuser.apk.
16th May 2014, 01:26 AM   |  #4  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,597
 
3,547 posts
Join Date:Joined: Dec 2010
You need to set file permissions on su and Superuser.apk.

Download the flashable installer and check the install script, all the permissions that need to be set are listed in it.
16th May 2014, 05:19 AM   |  #5  
OP Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by TheManii

You need to set file permissions on su and Superuser.apk.

Download the flashable installer and check the install script, all the permissions that need to be set are listed in it.

How can I change permission file on the system folder, I tried to use Root Browser and copy su binary to another file but can not change.
19th May 2014, 03:12 AM   |  #6  
OP Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by hoang.l.nguyen

How can I change permission file on the system folder, I tried to use Root Browser and copy su binary to another file but can not change.

Help me, plz!!!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes