FORUMS

Which Features from Apple Watch Do You Think Android Wear Will Copy?

The Apple Watch and Android Wear are both growing platforms. Now … more

XDA Picks: Best Apps of the Week (May 15 – 22)

Apps are at the front and center of any smartphone experience, and with over a … more

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more
Post Reply Subscribe to Thread Email Thread

[Q] How to build custom ROM include Superuser?

13th May 2014, 03:46 AM |#1  
OP Junior Member
Thanks Meter: 0
 
More
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, 05:00 PM |#2  
deadgiveaway's Avatar
Senior Member
Thanks Meter: 40
 
More
What superuser and what binaries are you using

Sent from my LG-D803 using XDA Free mobile app
14th May 2014, 02:06 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
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, 12:26 AM |#4  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,610
 
More
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, 04:19 AM |#5  
OP Junior Member
Thanks Meter: 0
 
More
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, 02:12 AM |#6  
OP Junior Member
Thanks Meter: 0
 
More
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


Top Threads in Nexus 7 (2013) Q&A by ThreadRank