GithubHelp home page GithubHelp logo

Comments (4)

koush avatar koush commented on August 15, 2024

you need to also change the REQUESTOR val in su.h

from superuser.

dalb8 avatar dalb8 commented on August 15, 2024

Thanks: I should have thought to look at the code where it mentioned the package id. I now have:
// If --rename-manifest-package is used in AAPT, this // must be changed to correspond to the new APK package name // See the two Android.mk files for more details. #ifndef REQUESTOR #define REQUESTOR "org.gerry.superuser" #endif #ifndef REQUESTOR_PREFIX #define REQUESTOR_PREFIX "org.gerry.superuser" #endif
but I effectively lose root (after getting "superuser installed successfully"):

D/jp.co.qsdn.android.jinbei3d.setting.Prefs( 432): 2131034131 = getCameraMode() I/ActivityManager( 281): Displayed org.ntpsync/.ui.BaseActivity: +205ms D/su ( 1261): su invoked. D/su ( 1262): /dev/org.gerry.superuser/.socket1260 D/AndroidRuntime( 1263): D/AndroidRuntime( 1263): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<< D/AndroidRuntime( 1263): CheckJNI is OFF D/dalvikvm( 1263): Trying to load lib libjavacore.so 0x0 D/dalvikvm( 1263): Added shared lib libjavacore.so 0x0 D/dalvikvm( 1263): Trying to load lib libnativehelper.so 0x0 D/dalvikvm( 1263): Added shared lib libnativehelper.so 0x0 D/AndroidRuntime( 1263): Calling main entry com.android.commands.am.Am D/AndroidRuntime( 1263): Shutting down VM I/ActivityManager( 281): START {flg=0x10000000 cmp=org.gerry.superuser/.RequestActivity (has extras) u=0} from pid 1263 D/dalvikvm( 1263): GC_CONCURRENT freed 100K, 81% free 496K/2560K, paused 1ms+0ms, total 5ms V/tiny_hw ( 106): out_standby(0x41f94a88) closing PCM(0) D/dalvikvm( 852): GC_CONCURRENT freed 1779K, 63% free 3184K/8451K, paused 5ms+3ms, total 45ms E/NTPSync ( 1185): Android is not rooted or root access was denied! E/NTPSync ( 1185): org.rootcommands.util.RootAccessDeniedException: stdout line is null! Access was denied or this executeable is not a shell!

from superuser.

koush avatar koush commented on August 15, 2024

dont set requestor prefix.

from superuser.

dalb8 avatar dalb8 commented on August 15, 2024

Thanks for your help. The latest apk is now on F-Droid.org. The only other changes was to use GCC 4.6 (temporary) and remove the references in AboutFragment to Google Play and the other proprietary apps. We mention your Google Play page in the description if they need a flashable zip.

from superuser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.