[Q] How to build custom ROM include Superuser?

Search This thread
May 2, 2014
7
0
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?
 

deadgiveaway

Senior Member
Apr 17, 2014
329
52
What superuser and what binaries are you using

Sent from my LG-D803 using XDA Free mobile app
 

TheManii

Wiki Admin / Inactive RC
Dec 8, 2010
3,585
1,651
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.
 
May 2, 2014
7
0
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.