[Q] Delete System Apps on 5.1.1 - Xperia Z2 Q&A, Help & Troubleshooting

Hello! I recently updated to stock 5.1.1. I have root access and have set SELinux to permissive as well. Problem is I cannot delete system apps or convert them to user apps using ROM Toolbox or any other method. I can freeze them though. Any idea how can i do this???? e.g. Chrome at the moment is a system app I want to delete it...how can I do this on 5.1.1
Thank you in advance

Since 5.1 came out I've been reading a lot of threads & posts of users with semi-root problems. Because you don't have a proper o real root access you won't be able to do much. My advise is "simple": Build yourself a prerooted zip with all the latest software:
23.4.A.0.546 .ftf
PRF Creator v0.9
SuperSU 2.46
XZDR 2.8.21
I don't know if the SELinux thing is the same as modifying the XZDR.prop but I did. This 2 lines are "true": dr.initd.active=true and dr.keep.byeselinux=true
I don't have any root problems, even when installing 5.1.1 from 4.4.2. Other thing I do: After installing the pre-rooted .zip, I flash a "stripped" .ftf: I select all the 3 wipes, No final verification and Reset customizations BUT excluding system. The phone starts "like new" but with fully functional root and recoveries.
If you want to keep your semi-rooted phone but want to delete system apps, use a debloating script. It is like a flashable .zip but will not install anything, just delete whatever you want.

I managed to remove movie creator with the kinguser app that comes with kingroot.give it a try
Sent from my D6503 using Tapatalk

Related

Rooted FTF?

Have noticed several custom rom but no single solution on how to acheive or even install custom ROMs. I tried VRoot which gave me root but left that method after realizing that i couldnt replace su with supersupro. I also got a vague hint that I was sandboxed. I might be paranoid but as.several other users has reported similar issue i decided to factory reset and also restore from backed up data in the PC suit. Please advice about how to be able to flash custom roms or more desired obtain root on stock ROM. Cause I will want to try out the official Kit Kat when it rolls out. Peace!!
Sent from my C6833 using XDA Premium 4 mobile app
You can replace the superuser app from vRoot.
- Download SuperSU and open it. Update binaries.
- Use a file explorer and go to /system/app
- Find "superuser.apk" and delete it (Superuser will ask for root. Press yes)
- Your file explorer might argue that it can't delete it (since you're trying to delete the app that gave you the permission in the first place. I guess he's not happy about that, but screw him, he's gone)
- Open SuperSU again and see if all is well (update binary if it asks for it again)
- Reboot and you're done
This is what i've done every time i've rooted and it always work
Tried that
LordManhattan said:
You can replace the superuser app from vRoot.
- Download SuperSU and open it. Update binaries.
- Use a file explorer and go to /system/app
- Find "superuser.apk" and delete it (Superuser will ask for root. Press yes)
- Your file explorer might argue that it can't delete it (since you're trying to delete the app that gave you the permission in the first place. I guess he's not happy about that, but screw him, he's gone)
- Open SuperSU again and see if all is well (update binary if it asks for it again)
- Reboot and you're done
This is what i've done every time i've rooted and it always work
Click to expand...
Click to collapse
I tried that method actually before you sent me the instructions. I works fine but or some strange reason I get a lots of chinese characters wile allowing apps root... This vroot seems very keen on holdiong on to the root that it had. ) I need a script or something Iḿ getting tired about al this.
:cyclops:
If there's still a chinese prompt that pops up when asking for root, it means that you haven't removed it. SuperSU is the app that should ask you for root access

[Q] How to securely install SuperSU before installing Safestrap

Hello! I want to install Safestrap Recovery v3.71 and i have the HDX8.9 WIFI.
"First Requirement: Rooted w/ SuperSU installed." (Hashcodes HowTo from here http://forum.xda-developers.com/showthread.php?t=2612772)
I have the stock rom, the only thing i have done ist root it and prevent OTA-Updates.
Before i make a backup/copy of the stock rom, i dont want to make much changes, like installing an alternate market.
Now my question:
How to secure install SuperSU ?
I found the APK can be downloaded from http://www.1mobile.com/supersu-358316.html.
But can i trust that download from 1mobile ?
Is a scan of the apk with https://www.virustotal.com/ usefull ?
THX for Help ...

UNRooted version of KK

I have an application (required for work) which will not run on any rooted ROM. In order to remove bloatware (on ICS) I rooted the ROM, deleted bloatware and then unrooted
Im now looking at installing Kit-Kat. However, there are no original ROMs of Kit-Kat for ST15i (unlike ICS). The application not only checks for SU, BUsy box etc but also checks to see if the system is using a non original ROM
Is there anyway of changing signature of the ROM so that it is not detected as an AOSP version? I will also need to completely unroot the ROM for the application to work
P.S. I have already tried Rootcloak plus etc - no good. The ROM MUST be unrooted for the application to work. The app checks for following
SU, Superuser, AOSP ROM, Busybox and various other binaries associated with rooted roms, build.prop
there is xposed module to "hide" root for apps
godlesplay said:
there is xposed module to "hide" root for apps
Click to expand...
Click to collapse
Hi
Yes - tried that - it doesn't work for this app

Sm-g730a root, twrp, and xposed

After successfully having flashed the stock firmware for this phone, installed TWRP, and installing the Xposed framework, I thought I would share what I did.
First, I ODIN'D the 4.4.2 firmware, generously hosted by Tsar3000 at:
http://www.tsar3000.com/Joomla/inde...ini AT&T Firmwares&catid=55:samsung&Itemid=82
Secondly, I used kingoroot apk to root the phone, which worked the first time.
EDITED PART: you need to download SElinux changer and set it to permissive after rooting and before doing anything else.
Third, I downloaded the safestrap(TWRP) apk for this phone at:
https://www.androidfilehost.com/?fid=24499762636000015
And then, the Xposed Installer:
http://repo.xposed.info/module/de.robv.android.xposed.installer
Then finally, I used the recovery flashable zip to install SuperSU(Version 2.79):
http://www.supersu.com/download
EDIT TWO: BEFORE DEBLOATING, USE SAFESTRAP TO REBOOT TO RECOVERY THEN BACKUP YOUR ROM. I was able to use System app safe remover to get the total down from over 200 to 48 apps with no failure. Be careful though.. Removing certain key modules is causing home button malfunctioning after removing.
From there, use System App Safe Remover to remove Kingoroot and it's own SuperUser app.
FOR SCREENSHOTS, CHECK ATTACHMENTS.(taken after I de-bloated)
System App Safe Remover
I followed all the steps as stated in the OP with great success, but the only part I'm confused about is the System app remover utility. Is that found on the Play Store, or is it built into the Superuser app we flash in the recovery. You'll have to forgive me I am pretty rusty when it comes to Android. It's what happens when you become dependent on iOS for so long.

Asus Zenfone 4: Oreo released

To whom it may concern: Asus software engineers were busy and they released Oreo: https://www.asus.com/de/Phone/ZenFone-4-ZE554KL/HelpDesk_Download/
For me I'll wait for some answers about compatibility of TWRP and the possibility to root. At present I run rooted Nougat Version WW_14.1064.1711.96 (TWRP 3.1.1 with Magisk V15.2, XPosed V89 and Gravity Box [N.] V 7.0.6). Never change a running system if you don't feel the urgent need
AP756 said:
To whom it may concern: Asus software engineers were busy and they released Oreo: https://www.asus.com/de/Phone/ZenFone-4-ZE554KL/HelpDesk_Download/
For me I'll wait for some answers about compatibility of TWRP and the possibility to root. At present I run rooted Nougat Version WW_14.1064.1711.96 (TWRP 3.1.1 with Magisk V15.2, XPosed V89 and Gravity Box [N.] V 7.0.6). Never change a running system if you don't feel the urgent need
Click to expand...
Click to collapse
Excellent. You use XDA guide to Root and install TWRP? You don't have brick?
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3.
The main problem: ROOT doesn't work. Root check says phone's rooted, and apps request and get root permissions, but in fact there's no one. For example, root uninstaller can't remove any system app. Tried lesser TWRP (3.1.1), tried SuperSU instead of Magisk. SuperSU doesn't even work, says "SU binnary occupied".
Also one problem: WW-15.0405.1712.83 doesn't want install through TWRP, says "no file contexts". But you can install it through stock recovery, it just bypasses this check.
To get stock recovery, you can do the trick: install SuperSU, boot system, open the app and pick "Unroot" option (it will offer you to clear recovery and boot). Now you get stock recovery and can install firmware.
UPD: Was wrong. Root works, but neither Magisk nor SuperSU gives RW permission on system folder. That's the main problem now. Tried updating permissions on system folders manually through file managers (Root Explorer, etc.). Tried updating through terminal: from adb shell and from recovery. Nothing works. Folders are marked RW now, permissions are right, but apps like Root Uninstaller still can't do anything.
Vikindor said:
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3.
The main problem: ROOT doesn't work. Root check says phone's rooted, and apps request and get root permissions, but in fact there's no one. For example, root uninstaller can't remove any system app. Tried lesser TWRP (3.1.1), tried SuperSU instead of Magisk. SuperSU doesn't even work, says "SU binnary occupied".
Also one problem: WW-15.0405.1712.83 doesn't want install through TWRP, says "no file contexts". But you can install it through stock recovery, it just bypasses this check.
To get stock recovery, you can do the trick: install SuperSU, boot system, open the app and pick "Unroot" option (it will offer you to clear recovery and boot). Now you get stock recovery and can install firmware.
UPD: Was wrong. Root works, but neither Magisk nor SuperSU gives RW permission on system folder. That's the main problem now. Tried updating permissions on system folders manually through file managers (Root Explorer, etc.). Tried updating through terminal: from adb shell and from recovery. Nothing works. Folders are marked RW now, permissions are right, but apps like Root Uninstaller still can't do anything.
Click to expand...
Click to collapse
Thanks to shared. You have sucess to make root?
PedroArmindo said:
Thanks to shared. You have sucess to make root?
Click to expand...
Click to collapse
Well, yes. As said at the end of the last message, phone in fact appears to be rooted. I have access to /root folder and apps now ask for super-user permissions.
But some apps, like Root Uninstaller, doesn't work... However you can manually delete unwanted .apk from /system folder, it's possible.
Vikindor said:
Well, yes. As said at the end of the last message, phone in fact appears to be rooted. I have access to /root folder and apps now ask for super-user permissions.
But some apps, like Root Uninstaller, doesn't work... However you can manually delete unwanted .apk from /system folder, it's possible.
Click to expand...
Click to collapse
Could you test if the Titanium Backup app works?
grinna said:
Could you test if the Titanium Backup app works?
Click to expand...
Click to collapse
Checked. Yep, it works.
I'm sorry if this is a noob question, but where can I get TWRP 3.2.1-0?
Vikindor said:
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3. ...
Click to expand...
Click to collapse
lunger said:
I'm sorry if this is a noob question, but where can I get TWRP 3.2.1-0?
Click to expand...
Click to collapse
Hi. Sorry, haven't seen this message.
TWRP: https://twrp.me/
Magisk can be found here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 (or in app stores).
Hi,
Can anyone help me with my phone ZE554kL on how to root this or link me to a guide? Thanks in advance.
"Continue reading only if interested what happen."
I've never done this before and I just want to do root because my internal storage was wiped out when I was backing up all my files to PC. Windows explorer stops responding while transferring files then after the not responding issue, my internal storage is empty and when I checked my phone all the files is gone (photos, videos, PDFs).
I tried different android recovery software in windows and everytime i do a scan, i always ending up being asked by the software to root my phone so it can scan through to my internal storage.
Since my files was lost, i never touch my phone since then so nothing will be written on internal storage that could take away the chance of recovering my files.

Categories

Resources