Sm-g730a root, twrp, and xposed - Galaxy S III Mini Android Development

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.

Related

[Q] Delete System Apps on 5.1.1

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

How do you completely remove root & Xposed to pass Safetynet Helper Test?

Hello,
I have a Samsung Galaxy S6 Edge SM-G925W8 and had SuperSU root access and XPosed Framework installed. I am now attempting to remove all of it so that I can pass Google's safetynet helper test. I have tried numerous things, but the safetynet result is always:
SafetyNet Request: Success
Response Validation: Success
CTS Profile Match: False
I first attempted to remove Root by clicking "Completely remove root" within SuperSU. After doing this, Response Validation was false, which, after doing some research, I learned was caused by XPosed Framework. I then boot into TWRP recovery and flash the Xposed uninstaller. This causes my phone to boot loop, forcing me to restore a NAND backup to before I removed anything. I then try to flash the XPosed Uninstaller BEFORE removing root access and it runs successfully. After this, I use SuperSU to completely remove all root, which also runs successfully then give the phone a reboot removing the app entirely. This is when I receive the SafetyNet Helper response above stating CTS Profile match is false. I'm not sure how to fix this error.
Any suggestions would be very appreciated! Thank you
Edit: I have no idea why this thread appeared twice...sorry I can't seem to delete one of them
Er.. Any ideas?
Is this to play PokemonGo? If so there's a mod with instructions. Unless that's what you're trying to do...you might need to flash factory images if Xposed is stuck. Backup your pictures and stuff and go back to stock then use that mod. It works well but no Xposed which is a good thing IMO!
Sent from my Nexus 6 using XDA Labs
djdarkknight96 said:
Is this to play PokemonGo? If so there's a mod with instructions. Unless that's what you're trying to do...you might need to flash factory images if Xposed is stuck. Backup your pictures and stuff and go back to stock then use that mod. It works well but no Xposed which is a good thing IMO!
Sent from my Nexus 6 using XDA Labs
Click to expand...
Click to collapse
Hi, thanks so much for replying! Yes..it is for pokemon go. Is the mod you're talking about the Magisk one? If so, that is what I originally wanted to do, but flashing Magisk caused my phone to be stuck in a bootloop and forced me to flash a NAND Backup. This was after first flashing the xposed uninstaller and uninstalling SuperSU. So I gave up on root...truth be told I don't use the root apps too much anyway so it isnt a big loss for me. I'm also already on Stock firmware so I'm not sure why I can't pass the SafetyNet Test. Do I have any other options than wiping my phone clean?
vgplayer54 said:
Hi, thanks so much for replying! Yes..it is for pokemon go. Is the mod you're talking about the Magisk one? If so, that is what I originally wanted to do, but flashing Magisk caused my phone to be stuck in a bootloop and forced me to flash a NAND Backup. This was after first flashing the xposed uninstaller and uninstalling SuperSU. So I gave up on root...truth be told I don't use the root apps too much anyway so it isnt a big loss for me. I'm also already on Stock firmware so I'm not sure why I can't pass the SafetyNet Test. Do I have any other options than wiping my phone clean?
Click to expand...
Click to collapse
Well only data will be gone you need a full system wipe....
Or go delete the su files...use file manager to find them but just delete in recovery using TWRP with the location you searched..I don't think you can search in recovery without the terminal but you can do it all in recovery.
or if you completely flash factory image you can just not root
Hope this helps!
#GottaCatchThemAll
Sent from my Nexus 6 using XDA Labs
djdarkknight96 said:
Well only data will be gone you need a full system wipe....
Or go delete the su files...use file manager to find them but just delete in recovery using TWRP with the location you searched..I don't think you can search in recovery without the terminal but you can do it all in recovery.
or if you completely flash factory image you can just not root
Hope this helps!
#GottaCatchThemAll
Sent from my Nexus 6 using XDA Labs
Click to expand...
Click to collapse
Hello, I attempted to use ES File Explorer to search both the system/bin directory and the system/xbin directories. system/bin does not have the "busybox" or "su" files in them, so I assume they were removed when I uninstalled SuperSU. /system/xbin however does have these two files, but I am unable to delete them. I get the error "Cannot delete file". I'm guessing this is because I've already unrooted?
I then opened the terminal in my TWRP Recovery, however when changing directories into the system folder, the terminal shows that it is empty. when using ls -la, only two files are there, both called root and neither can be opened. rm -r /system/xbin/busybox does nothing either, it claims there's no such directory. Any suggestions? or just wipe?

Kingroot stuck as system apps

I rooted my phone using kingroot before and after removing al root authorization i found that kingroot has been installed as system app
also whenever i open the kingroot app it restarts my phone
how could i completely remove it
there's also the problem of the phone not able to connect to google play store (no connection, cannot login account)
my phone is NTT Docomo Sony Xperia SO-O4E
tried factory reset twice, deleting cached apps data, still doesnt work
a basic rundown on how it all happened :
-uninstall some bloatware from phone
-phone starts to restart randomly
-deleted cached apps data, no more random restart
-remove kingroot root auth and uninstall
-found out that phone cannot connect to play store, also kingroot has installed itself as system app
anonweeb said:
I rooted my phone using kingroot before and after removing al root authorization i found that kingroot has been installed as system app
also whenever i open the kingroot app it restarts my phone
how could i completely remove it
Click to expand...
Click to collapse
If your bootloader is already unlocked, the easiest way would be to restart the phone in fastboot mode, then boot (you don't need to flash it) TWRP and install SuperSU from a flashrecovery zipfile. This will remove kingroot app and running processes (mind you, there may be some dead kingroot traces left over on the filesystem - if you want to remove these too, you'll have to do so from a shell with root permissions). I haven't tried this with the Sony Xperia ZR/NTT Docomo Sony Xperia A (SO-04E), but it seems to work with most phones that are supported by TWRP. I wrote a short guide on how to do this (it's for a different device but these steps should be mostly generic if you have the necessary prerequisites in place).
Another good thing about SuperSU is that if you don't wish to keep root, it will remove itself cleanly and completely from your system (you'll find the unroot option in the apps settings). If however you would like to keep root, then SuperSU is an app that doesn't spy on you and doesn't phone home (I did a thorough check of the shell script used to install SuperSU and a rough check of the SuperSU apk using strings and wireshark only yesterday and as far as I could tell, it doesn't attempt to do anything malicious or touch files that it doesn't need to touch for its purpose, nor did it start a single internet connection by itself). The automatic NVISO analysis at https://apkscan.nviso.be/report/show/99a7841aa3eeaefa69f767602b0c454c confirms this too. Just saying this in case you decided to move away from root due to spyware concerns.
TWRP is an open source project. Their Homepage is https://twrp.me/
The TWRP image files for your device arel located here https://dl.twrp.me/dogo/
SuperSU homepage is https://www.chainfire.eu/ , the latest flashrecovery zipfile can be found here http://www.supersu.com/download
Both projects also have their own sections here on xda.
SuperSU also has it's own sections here on xda.
there's also the problem of the phone not able to connect to google play store (no connection, cannot login account)
Click to expand...
Click to collapse
Was this problem related to the rooting process in any way?
Does your internet access work otherwise?
What happens exactly when you start google play?
hi, thank you for the reply
the phone has only been rooted once with kingroot app, which i have removed (both the supposed app and the root auth), but kingroot app installed itself as system app without my permission and whenever i open the app my phone reboots
i'll try looking for ways to flash the phone
as for the play store, it always show the no connection screen even though i can browse the internet without any problem
i tried following the steps from google help page but it doesnt seem to do anything
i'm thinking that the hosts.txt file cause this so im trying to delete it, but i found no other way to delete it without rerooting my phone
i tried factory reset twice but it doesnt seem to help either
thanks before and sorry for the late reply
EDIT : i dont think i can unlock the bootloader officially so i need an exploit
anonweeb said:
EDIT : i dont think i can unlock the bootloader officially so i need an exploit
Click to expand...
Click to collapse
[/QUOTE]
In that case, you will have to root first. Once having gained root access you can unlock the bootloader. To root, you can either use the kingroot app you used before (not much to loose, since you already installed it and its spyware the first time, and you will later be able to remove it with SuperSU). Or you can try towelroot, although if your smartphone has seen firmware updates, that will propably no longer work. There may be other, more current options - search trough the Xperia ZR Section.
Once you have root, you can use adb and fastboot to boot the latest TWRP for Sony Xperia ZR, then install the latest SuperSU recovery flashable zip. Using that you can completely remove Kingroot even as a system app and afterwards remove SuperSU itself, which will cleanly uninstall itself via Settings.
Code:
as for the play store, it always show the no connection screen even though i can browse the internet without any problem
i tried following the steps from google help page but it doesnt seem to do anything
i'm thinking that the hosts.txt file cause this so im trying to delete it, but i found no other way to delete it without rerooting my phone
i tried factory reset twice but it doesnt seem to help either
I would try the above first, see if the playstore works again after you SuperSU has completely removed Kingroot (reboot), and if it doesn't take a look at the hosts file. Then uninstall SuperSU when you don't need root anymore...
I can help along with adb/fastboot commands, but you need to root your device first (and install the necessary drivers for your phone on your computer).
Good luck!

[NO Root] Remove bloatwares from Lenovo A6000/plus without root!!

Point of this post(boring stuff )
In your stock ROMs you are pretty much stuck with the preloaded craps unless you root your device. Now you might not want to root your device for various reasons. For instance, almost all banking apps do not work on rooted devices. A way to tackle this is to use systemless root access provider like magisk. But unfortunately magisk requires Android 5.0+. So we need some other ways for our devices running Android 4.4.4 right? Well, fortunately there is a very simple method for debloating any stock ROM(I personally tested this method on Lenovo A6000 PLus but this should work on any ROM out there).
Note: You need a custom recovery for this to work, which can cause serious harm to your device if you do things incorrectly. You are also tweaking your device's system partition, so you might void your warranty. If anything happens to your device, its your responsibility.
Let's get started
Step 1: Download the "pico" gapps package from opengapps.org. For Lenovo A6000/Plus running stock kitkat, select arm,4.4,pico.
Step 2: Open twrp recovery.
Step 3: Install the pico gapps package that you just downloaded.
Step 4: Reboot your device. Now you will find that most of the google apps have a green icon with android logo(if you are using lenovo launcher). Just remove those apps.
Done ​
So, Which apps are removed?
Pretty much every apps are removed except Google Play Services, Play Store, Gboard and Play Newsstand. You can disable Newsstand and the security app(which does nothing but eat up space and resources) if you like.
rajorshi.me said:
Point of this post(boring stuff )
In your stock ROMs you are pretty much stuck with the preloaded craps unless you root your device. Now you might not want to root your device for various reasons. For instance, almost all banking apps do not work on rooted devices. A way to tackle this is to use systemless root access provider like magisk. But unfortunately magisk requires Android 5.0+. So we need some other ways for our devices running Android 4.4.4 right? Well, fortunately there is a very simple method for debloating any stock ROM(I personally tested this method on Lenovo A6000 PLus but this should work on any ROM out there).
Note: You need a custom recovery for this to work, which can cause serious harm to your device if you do things incorrectly. You are also tweaking your device's system partition, so you might void your warranty. If anything happens to your device, its your responsibility.
Let's get started
Step 1: Download the "pico" gapps package from opengapps.org. For Lenovo A6000/Plus running stock kitkat, select arm,4.4,pico.
Step 2: Open twrp recovery.
Step 3: Install the pico gapps package that you just downloaded.
Step 4: Reboot your device. Now you will find that most of the google apps have a green icon with android logo(if you are using lenovo launcher). Just remove those apps.
Done ​
So, Which apps are removed?
Pretty much every apps are removed except Google Play Services, Play Store, Gboard and Play Newsstand. You can disable Newsstand and the security app(which does nothing but eat up space and resources) if you like.
Click to expand...
Click to collapse
Dude, 1st thing, you said this method needs a custom recovery which means you have to root the device at first or lest consider you just boot twrp using fastboot
And flashing gapps will remove the obselet gapps, and it won't remove the other oem bloatware present so actually this can't br called "Debloating"
Debloating doesn't mean removing gapps, debloating is the removal of useless or apps which can be downloaded from play store, included in the ROMs
[email protected]_ said:
Dude, 1st thing, you said this method needs a custom recovery which means you have to root the device at first or lest consider you just boot twrp using fastboot
And flashing gapps will remove the obselet gapps, and it won't remove the other oem bloatware present so actually this can't br called "Debloating"
Debloating doesn't mean removing gapps, debloating is the removal of useless or apps which can be downloaded from play store, included in the ROMs
Click to expand...
Click to collapse
Yes you have to use fastboot method but you don't need root access for that and as for the "bloatware" you are referring to, it's any unnecessary app that comes pre-installed with a device which you can't uninstall. Keeping aside the gapps there are only 2-3 apps that fall into that category, which you can just disable as I mentioned. In a device with 8gb or 16gb internal storage every bit of free storage counts. At least it's better than being stuck with all the apps in the first place.
rajorshi.me said:
Yes you have to use fastboot method but you don't need root access for that and as for the "bloatware" you are referring to, it's any unnecessary app that comes pre-installed with a device which you can't uninstall. Keeping aside the gapps there are only 2-3 apps that fall into that category, which you can just disable as I mentioned. In a device with 8gb or 16gb internal storage every bit of free storage counts. At least it's better than being stuck with all the apps in the first place.
Click to expand...
Click to collapse
KProK sur me noob surry :"(
It's clear you lack a lot of knowledge
Nvm good work
[email protected]_ said:
KProK sur me noob surry :"(
It's clear you lack a lot of knowledge
Nvm good work
Click to expand...
Click to collapse
Call someone noob and you win the argument. Cheers.
Point of this post(boring stuff )
In your stock ROMs you are pretty much stuck with the preloaded craps unless you root your device. Now you might not want to root your device for various reasons. For instance, almost all banking apps do not work on rooted devices. A way to tackle this is to use systemless root access provider like magisk. But unfortunately magisk requires Android 5.0+. So we need some other ways for our devices running Android 4.4.4 right? Well, fortunately there is a very simple method for debloating any stock ROM(I personally tested this method on Lenovo A6000 PLus but this should work on any ROM out there).
Note: You need a custom recovery for this to work, which can cause serious harm to your device if you do things incorrectly. You are also tweaking your device's system partition, so you might void your warranty. If anything happens to your device, its your responsibility.
Let's get started
Step 1: Download the "pico" gapps package from opengapps.org. For Lenovo A6000/Plus running stock kitkat, select arm,4.4,pico.
Step 2: Open twrp recovery.
Step 3: Install the pico gapps package that you just downloaded.
Step 4: Reboot your device. Now you will find that most of the google apps have a green icon with android logo(if you are using lenovo launcher). Just remove those apps.
Done
So, Which apps are removed?
Pretty much every apps are removed except Google Play Services, Play Store, Gboard and Play Newsstand. You can disable Newsstand and the security app(which does nothing but eat up space and resources) if you like.
Hello
Happy New Year
I'm Vivek Chourasia...
Im using a Lenovo A6000 1GB ram & 8GB ROM & SD card 32GB Supported.....
I'm facing a lot of issue in using jio sim for using call from Jio4GVoice app... And their are 2many bloatware available. I'm on latest android stock ROM of Lenovo A6000 5.0.2..
What should I do to remove bloatware????
And how to use Jio4GVoice without a single Issue????
Plzzz see my comment
Plzzzz reply to me just for once..,

Cannot delete system apps / Adaway doesn't worl

Hi guys, today I updated via OTA to MIUI 10 9.2.21, after that I reinstalled magisk and adaway but when I try to apply it says there's not enough space in the partition, so I tried to relocate the host file to DE /data/data folder as told by the app but it doesn't work, the link doesn't create . So I read that the solution could be un install system apps, so I downloaded Titanium Backup but it doesn't seem to un install any app, tried an app remover root from play store and CCleaner and that didn't work either, tried to remove some things in the /system folder but the delete process always fails. Don't know what to do to get adaway working again, it was working fine before the update.
Thank you in advance
Happened to me too if you try to install using magisk manager inside of android it won't work.
You have to install magisk initially in twrp for it to work.
No, I always install magisk first. Then I install an adaway downloaded apk. It always worked except for this time with the not enough space on partition issue
Already deleted 2 system apps (Bugreport and notes) with the adb and command method
Srill, adways says not enough space in the partition
Don't know what else to do, if it needs more space or what
This solution works on Mi8:
1. In Magisk manager tap "settings/systemless hosts". It should install systemless hosts module. Go check it in modules to confirm it is installed.
2. Reboot device
3. Install Adaway and apply ad-blocking. It should work now.
zvonimirovich said:
This solution works on Mi8:
1. In Magisk manager tap "settings/systemless hosts". It should install systemless hosts module. Go check it in modules to confirm it is installed.
2. Reboot device
3. Install Adaway and apply ad-blocking. It should work now.
Click to expand...
Click to collapse
Yeah! It worked!
Thabk you so much!
zvonimirovich said:
This solution works on Mi8:
1. In Magisk manager tap "settings/systemless hosts". It should install systemless hosts module. Go check it in modules to confirm it is installed.
2. Reboot device
3. Install Adaway and apply ad-blocking. It should work now.
Click to expand...
Click to collapse
Was about to say the same good one mate

Categories

Resources