Would The LG G4 Fare Well With The Snapdragon 808?

The LG G4 has a lot to prove, given that last year’s LG G3 was among the best … more

CyanogenMod 12.1 for Android One

Android One devices once again got a pretty stable release of Android 5.1. XDA Recognized … more

DexPatcher: Patch Android APKs Using Java

You’ve probably seen or installed modified applications, be it a patched dialer for your … more

Is Cloud Storage Ready to Replace External Storage?

With more and more OEMs ditching SD cards on their flagships, cloud storage is … 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
 
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, 05:00 PM |#2  
deadgiveaway's Avatar
Senior Member
Thanks Meter: 39
 
248 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, 02: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, 12:26 AM |#4  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,608
 
3,553 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, 04: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, 02: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