FORUMS
Remove All Ads from XDA

[STABLE][2016.07.05] SuperSU v2.76 [CLOSED]

11,416 posts
Thanks Meter: 88,034
 
By Chainfire, Moderator Emeritus / Senior Recognized Developer - Where is my shirt? on 9th March 2012, 09:20 AM
Thread Closed Email Thread
25th July 2016, 11:09 PM |#11111  
kenny54's Avatar
Senior Member
Thanks Meter: 12
 
More
this is my issue it constantly restarts itll be time were it says it restarted 170 times in 50 minutes. Please help

Sent from my SM-G530T using XDA-Developers mobile app
 
 
25th July 2016, 11:30 PM |#11112  
ktmom's Avatar
Senior Member
Thanks Meter: 1,965
 
More
Quote:
Originally Posted by kenny54

this is my issue it constantly restarts itll be time were it says it restarted 170 times in 50 minutes. Please help

SuperSu restarts each time it's called. You've got a poorly coded app that is calling supersu multiple times instead of just keeping a connection open.

Pull a log, put it on pastebin and link here. Also search this thread for previous discussions about poorly coded apps.

---------- Post added at 18:30 ---------- Previous post was at 18:22 ----------

Quote:
Originally Posted by seanhanrei2000

I got a message from one of my apps.

Error: only position independent executable (pie) us supported.

Im using rooted marshmallow. How can i fix this?

Sent from my HTC One M9PLUS using XDA Free mobile app

If it isn't SuperSu that is throwing this error (I'd be surprised if it is) then you need to contact the app developer to fix it.

If you really think it SuperSu, then pull a log, put it on pastebin and link here.

Wikipedia
25th July 2016, 11:47 PM |#11113  
Magissia's Avatar
Senior Member
Flag 127.0.0.1
Thanks Meter: 269
 
More
It's sad that the zip goes straight into patching boot image, if the bootloader is not unlocked it will wreck things.
25th July 2016, 11:56 PM |#11114  
force70's Avatar
Senior Member
Flag toronto
Thanks Meter: 7,988
 
More
Quote:
Originally Posted by Magissia

It's sad that the zip goes straight into patching boot image, if the bootloader is not unlocked it will wreck things.

But you would have to be a pretty dim witted individual to flash this on a device with a locked bootloader in the first place wouldn't you lol?

Sent from my Note 5 or S6
The Following User Says Thank You to force70 For This Useful Post: [ View ] Gift force70 Ad-Free
notauseranymore
26th July 2016, 12:28 AM |#11115  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by force70

But you would have to be a pretty dim witted individual to flash this on a device with a locked bootloader in the first place wouldn't you lol?

Lurking in Reddit has told me that they do indeed exist

Sent from my Xperia C3 using XDA Labs
The Following User Says Thank You to For This Useful Post: [ View ] Gift Ad-Free
26th July 2016, 12:33 AM |#11116  
force70's Avatar
Senior Member
Flag toronto
Thanks Meter: 7,988
 
More
Quote:
Originally Posted by AutumQueen92

Lurking in Reddit has told me that they do indeed exist


Lol, I don't doubt it....they exist here also sadly....far too many in fact.
26th July 2016, 08:14 AM |#11117  
Senior Member
Thanks Meter: 27
 
More
Is there any safe way to replace KingUser with SuperUser without formatting the phone? And which app should we use to see if KingUser is using the internet in the background to make connections with their servers?
26th July 2016, 08:57 AM |#11118  
Senior Member
Flag Slightly South of London
Thanks Meter: 260
 
More
Quote:
Originally Posted by Magissia

It's sad that the zip goes straight into patching boot image, if the bootloader is not unlocked it will wreck things.

Well, my Sony Xperia Z2 & tablet Z both have SuperSU v2.76 flashed via TWRP and their bootloader are locked. Or am I on the wrong track heading for.....

Sent from my SGP311 using XDA Free mobile app
26th July 2016, 11:52 AM |#11119  
Joeisgood99's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 185
 
More
SU systemless 2.7.4 does not work for Omnirom 6.0.1 on Sony Z5C
SU 2.7.4 is unable to locate ramdisk.cpio and aborting, prints 'already patched' on Sony Z5C, Omnirom boot.img, Android 6.0.1

Code:
----- patch check -----

Loading from cpio:[init.rc] ...

Could not locate entry
--- Already patched, attempting to find stock backup
TWRP 3.0.2.0
RECOVERY LOG
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/sdcard/Download/BETA-SuperrSU-v2.76-20160630161323.zip
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.

*****************
SuperSU installer
*****************
- Mounting /system, /data and rootfs
mount: mounting /dev/block/mmcblk0p42 on /data failed: Device or resource busy
2+0 records in
2+0 records out
2 bytes (2B) copied, 0.002939 seconds, 680B/s
3+0 records in
3+0 records out
3 bytes (3B) copied, 0.001267 seconds, 2.3KB/s
10+0 records in
10+0 records out
10 bytes (10B) copied, 0.000960 seconds, 10.2KB/s
0+0 records in
0+0 records out
0 bytes (0B) copied, 0.002400 seconds, 0B/s
/tmp/updater: line 795: /system/toolbox: not found
- Extracting files
mkdir: can't create directory 'supersu': File exists
Archive: /sdcard/Download/BETA-SuperSU-v2.71-20160331103524.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/libsupol.so
inflating: arm/su
inflating: arm/sukernel
inflating: arm/supolicy
inflating: arm64/libsupol.so
inflating: arm64/su
inflating: arm64/sukernel
inflating: arm64/supolicy
inflating: armv7/chattr.pie
inflating: armv7/libsupol.so
inflating: armv7/su
inflating: armv7/sukernel
inflating: armv7/supolicy
inflating: common/000000deepsleep
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/file_contexts_image
inflating: common/install-recovery.sh
inflating: common/launch_daemonsu.sh
inflating: mips/chattr.pie
inflating: mips/libsupol.so
inflating: mips/su
inflating: mips/sukernel
inflating: mips/supolicy
inflating: mips64/libsupol.so
inflating: mips64/su
inflating: mips64/sukernel
inflating: mips64/supolicy
inflating: x64/libsupol.so
inflating: x64/su
inflating: x64/sukernel
inflating: x64/supolicy
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/libsupol.so
inflating: x86/su
inflating: x86/su.pie
inflating: x86/sukernel
inflating: x86/supolicy
(Android M policy compatibility mode)
supolicy v2.71 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Patching policy ...
-permissive:adbd_socket=ok
***HAD TO DELETE AS TOO LONG FOR XDA***
-permissive:asec_public_file=ok
-permissiverecovery inside kernel
***HAD TO DELETE AS TOO LONG FOR XDA***
-permissive:domain=ok
- Success
- Detecting system compatibility
sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/dev/block/mmcblk0p29] ...

magic: [ANDROID!]
kernel: [8100131] (8101888) @ 0x00008000
ramdisk: [8662207] (8663040) @ 0x01000000
second: [0] (0) @ 0x00f00000
tags: @ 0x00000100
page size: 4096
unused: [0x00000000] [0x00000000]
dtb(?): [0] (0)
name: []
command line: [console=ttyHSL0,115200,n8 lpm_levels.sleep_disabled=1 boot_cpus=0-5 user_debug=31 androidboot.selinux=enforcing msm_rtb.filter=0x3F ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y coherent_pool=8M androidboot.hardware=suzuran]
extra command line: []
id: [0x949b3ddcf38582a57be4a910d8790977c6a7dfb800000000 0000000000000000]

Saving to [/sutmp/ramdisk.packed] ...

sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/sutmp/ramdisk.packed] ...

Decompressing [8662207] --> [18988288]

Saving to [/sutmp/ramdisk] ...

sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/sutmp/ramdisk] ...

----- patch check -----

Loading from cpio:[init.rc] ...

Could not locate entry
- System-less mode, boot image support required
- Creating image
Creating filesystem with parameters:
Size: 33554432
Block size: 4096
Blocks per group: 32768
Inodes per group: 2048
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 8192
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/2048 inodes and 1166/8192 blocks
/data/su.img: clean, 11/2048 files, 1166/8192 blocks
- Mounting image
mkdir: can't create directory '/su': File exists
mknod: /dev/block/loop0: File exists
- Creating paths
- Removing old files
- Placing files
rm: can't remove '/su/bin/su': No such file or directory
rm: can't remove '/su/bin/daemonsu': No such file or directory
rm: can't remove '/su/bin/supolicy_wrapped': No such file or directory
rm: can't remove '/su/lib/libsupol.so': No such file or directory
rm: can't remove '/su/bin/sukernel': No such file or directory
rm: can't remove '/data/SuperSU.apk': No such file or directory

******************
Boot image patcher
******************
- Finding boot image
--- Boot image: /dev/block/mmcblk0p29
- Extracting ramdisk
sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/dev/block/mmcblk0p29] ...

magic: [ANDROID!]
kernel: [8100131] (8101888) @ 0x00008000
ramdisk: [8662207] (8663040) @ 0x01000000
second: [0] (0) @ 0x00f00000
tags: @ 0x00000100
page size: 4096
unused: [0x00000000] [0x00000000]
dtb(?): [0] (0)
name: []
command line: [console=ttyHSL0,115200,n8 lpm_levels.sleep_disabled=1 boot_cpus=0-5 user_debug=31 androidboot.selinux=enforcing msm_rtb.filter=0x3F ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y coherent_pool=8M androidboot.hardware=suzuran]
extra command line: []
id: [0x949b3ddcf38582a57be4a910d8790977c6a7dfb800000000 0000000000000000]

Saving to [/sutmp/ramdisk.packed] ...

- Decompressing ramdisk
sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/sutmp/ramdisk.packed] ...

Decompressing [8662207] --> [18988288]

Saving to [/sutmp/ramdisk] ...

- Checking patch status
sukernel v2.71 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/sutmp/ramdisk] ...

----- patch check -----

Loading from cpio:[init.rc] ...

Could not locate entry
--- Already patched, attempting to find stock backup
sukernel v2.76 (ndk:arm64-v8a) - Copyright (C) 2014-2016 - Chainfire

Loading from [/sutmp/ramdisk] ...

Loading from cpio:[init.rc] ...

Could not locate entry
--- Restore failed, aborting

*************************
IMPORTANT NOTICES
*************************
If TWRP offers to install
SuperSU, do *NOT* let it!
*************************
First reboot may take a
few minutes. It can also
loop a few times. Do not
interrupt the process!
*************************

- Unmounting /system
- Done !


@Chainfire the slightly different ramdisk set up is preventing your script from doing its thing.

I will add at this point that in omni ramdisk, ramdisk.cpio is next to ramdiskrecovery.cpio inside sbin as Sony has a 'recovery inside kernel' configuration.
here is a link to the Standard Omnirom Sony Z5 boot.img
https://mega.nz/#F!o15TzTgS!tndUD7MxwkREFLSFlXjCAQ
Any help appreciated.
The Following User Says Thank You to Joeisgood99 For This Useful Post: [ View ] Gift Joeisgood99 Ad-Free
26th July 2016, 12:20 PM |#11120  
Junior Member
Thanks Meter: 1
 
More
When I go to "settings", both "refresh" and "clear logs" buttons dissapear.
26th July 2016, 03:04 PM |#11121  
Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by billubakra

Is there any safe way to replace KingUser with SuperUser without formatting the phone? And which app should we use to see if KingUser is using the internet in the background to make connections with their servers?

It is off topic here. You can try SuperSu Me Application.
Thread Closed Subscribe to Thread

Tags
root, super user functions
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes