FORUMS

Analysis & Opinion

[Q] How to build custom ROM include Superuser?

7 posts
Thanks Meter: 0
 
By hoang.l.nguyen, Junior Member on 13th May 2014, 03:46 AM
Post Reply Subscribe to Thread Email Thread
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: 45
 
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,611
 
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