Help unrooting - HTC First

Need to load an app on my phone that can detect the presence of superuser.apk and su, so I'm trying to delete those items. I installed them by flashing a zip in recovery. However, due to the kernel level r/w protection on /system, I can't delete superuser or su by normal means (i.e., a root file explorer).
Anybody know how I can get rid of them? I assume I need some sort of a flashable zip, but haven't found one. Thanks.
Edit: Never mind. Figured out that if I just delete the /system folder from the SuperSU zip, the updater script automatically deletes all old superuser files, and then has no source for the new files. So basically it just removes SuperSU and su. I think that got the job done.

Related

How Can I update Busybox via update.zip?

Can someone tell me how I can update Busybox via Update.zip?
I make a new update.zip with the new Superuser and would like to add the new Busybox 1.18.
After some trys I give up. All seems ok but the needed files for the Speedfix are not there.
I mean mkfs.ext2.
Any ideas?
I think i have .apk then you just install it with/from the file manager, if you need?

Signing a bootanimation.zip

Hi,
i want to have the stock bootanimation on my N1 which is running CM7 #96
I have this attached bootanimation and want to sign it, so that i can flash it.
I dont want to push it to system/app via rootexplorer and change permission and reboot anymore.
How do i do that? Or can somebody get it done for me?
It's a little more complicated than just signing it - in fact, you don't need to sign it, you need to create a flashable zip which will install the file.
I find the easiest way is to add the file to a gapps package in the right directory structure, so that everything gets flashed in a single zip. You would need to look at the install script in the gapps package, and make sure it first removes the existing animation, and then check to see if it installs the whole /system structure, or individual files. If it installs individual files, you will need to list your animation...

There is no su folder in my device

Thanks for the useful app. I have a stupid problem hope anyone give me a solution.
My device is S-ON, TWRP, UNLOCKED, Android 5.0.2 I flashed SuperSU-v2.78-201609011115.zip in TWRP, and use Root Checker checked my access, but when I want to add script file in "su.d" folder, I can't find the "su" folder in root directory, system folder or anywhere in MiXplorer/Root Explorer with root access, I even tried flash SuperSU again. Could anyone tell me why and how to add files to su folder? Thank you!
------
PS. I want su folder because I flashed AdAway_systemless_hosts_v2.zip but AdAway didn't work, also tried this but as I said, there is no su folder.

android 11 root problem miui 12.5

hi.I rooted the phone using magisk, it was installed and apparently rooted, but I have a problem with root file programs like root explorer or es file manager. The problem is that the rw mount does not work or I even have trouble installing busybox.
my phone : redmi note 10 pro
miui version : 12.5.8 and 12.5.9
android version : 11
magiak version : 23
I don't know deeply this case, but it was told that mounting r/w is not possible in recent Androids for system partitions.
However this is Magisk benefit that you put your files to it's tree and Magisk overmounts original files, I guess it does it using option "mount --bind".
You put file into /data/adb/modules/<module_name>/system/etc/<exemplary file> and after reboot you see it under /system/etc/.
At least the above path was checked personally by me by changing /system/etc/gps_psds.conf file to my own.
F308 said:
I don't know deeply this case, but it was told that mounting r/w is not possible in recent Androids for system partitions.
However this is Magisk benefit that you put your files to it's tree and Magisk overmounts original files, I guess it does it using option "mount --bind".
You put file into /data/adb/modules/<module_name>/system/etc/<exemplary file> and after reboot you see it under /system/etc/.
At least the above path was checked personally by me by changing /system/etc/gps_psds.conf file to my own.
Click to expand...
Click to collapse
I want to install a program as a system, but it is not possible without rw mount, do you know the solution?
I presume you have at least one Magisk module installed.
Put it into /data/adb/modules/<any_Magisk_module_name>/PATH_WHERE_YOU_WANT_TO_HAVE_IT/.
If wanted directories don't exist - create them.
Reboot.
Check.
Maybe tune permissions to make file executable.
Report result here.
F308 said:
I presume you have at least one Magisk module installed.
Put it into /data/adb/modules/<any_Magisk_module_name>/PATH_WHERE_YOU_WANT_TO_HAVE_IT/.
If wanted directories don't exist - create them.
Reboot.
Check.
Maybe tune permissions to make file executable.
Report result here.
Click to expand...
Click to collapse
I have no problem installing the module. My problem is accessing the system / app folder and making changes.
What changes do you want to perform?
Change one or more of files there, right?
If so - I repeat.
Put your modified file(s) under /data/adb/modules/<any_installed_Magisk_module_name>/system/app/ and reboot.
F308 said:
What changes do you want to perform?
Change one or more of files there, right?
If so - I repeat.
Put your modified file(s) under /data/adb/modules/<any_installed_Magisk_module_name>/system/app/ and reboot.
Click to expand...
Click to collapse
I do not want to install the module, I want to move an apk file to the system/app folder that is installed as a system and can not be deleted
I wasted my time.
Good luck.
I devoted a while to check that I was right suggesting what I suggested.

Can Xposed hook Runtime.loadLibrary for a system call ?

The custom rom I am using on my device for some reason doesn't have logcat. After a bit of digging up in the root folder, I found out that it was missing logd file which should be present under /system/bin and is necessary for logcat to work. Already tried to copy it from the official rom of my device (I extracted it from system.img) but pasting it manually (tried both a root explorer and adb) in /system/bin won't do anything as any changes made to /system/bin get reverted back automtically after reboot.
So I thought of a method about hooking Runtime.loadLibrary with xposed and redirecting it to logd on my internal storage when it's requested. Isn't that possible ?
Otherwise, do you suggest any other solution?
Do you think I should move the file with twrp if this doesn't work ? (I am avoiding the use of it because it's still unstable for my device and bootlooped a few times.).
Or should I edit the custom rom's system.img and repack it (I'm afraid if it's size changes my device won't boot)
I will be very grateful if someone helps me out
if you copy a file you must set right permissions and ownership

Categories

Resources