I've spent the past couple of hours trying to get various tools (busybox, supersu, xposed, etc) installed in the microsoft android emulator, including SuperSu, and all I've managed so far is busybox (all I had to do was copy it over and rename it). The microsoft android "emulator" is a hyper-v virtual machine with an x86-based android installed in it. You can get root simply by running
Code:
su
and/or
Code:
adb shell
. Unfortunately, it doesn't have a recovery. It has a simple script to install binaries by running install_zip.sh, but this doesn't seem to be calling updater-binary at all, and I'm not sure how to fake my way around that. Is there any chance of getting a flashable zip file (or a command to manually run the updater-binary script) for installing SuperSu in such an environment? A large number of root apps expect a su daemon like SuperSu and will not work without it, even if the su binary doesn't require it.
Related
Hey guys, so I'm trying to install BusyBox on my new Nexus 6 running stock 6.0, rooted. When I try to install via Stericson's installer I got from the Play store, I get:
"We could not verify the integrity of the binary selected..." flashes for a moment, then:
"BusyBox installer was not allowed root access. This may be an issue with Superuser, open Superuser and make sure that you are allowing root access. This application will not work without root access."
I've made sure that the app is allowed root access, and have also tried deleting it from SuperSu so it would prompt me and I could grant it access again, but still the same issue. I'm not sure what the deal is, it seems like I could be having root issues? I appear to have root since I am able to use TiBu, but something seems funky. For example usually when I open FKUpdater it says "FKUpdater has been granted super user access..." and then "Unable to acquire ROOT access." Other times it only says "Unable to acquire ROOT access." I haven't tried flashing a kernel with it because I don't want to at the moment while I figure this other issue out, so I'm not sure if it's falsely reporting the root error.
So, I looked into things further and it seems like I may have some sort of permissions issue. I tried using JRummy's BusyBox installer, but that fails also and just tells me to try installing a different version of BusyBox. It also includes a script for fixing permissions, and when I run it I get "error: only position independent executables (PIE) are supported" and "/data/user/0/com.crummy.busybox.installer/files/temp.sh[118]: sync: can't be executed: permission denied."
Permissions for /data/user/0/com.crummy.busybox.installer are set to drwxr-x--x, as is /system. Also /system is only showing 58 MB free but I don't think that's a problem...
Any ideas? I'm totally stumped...
set your SElinux to be permissive(via app or terminal command)
I have cat s40 met 5.1 Lollipop. This Smartphone is success rooted by rootking.
I want have Xposed on that phone, but when i fail mod that phone how i recover back it?
Caterpillar don't released PC suite like "Samsung Smart Switch" or "Odin". Is any alternative for flash cat s40?
I don't saw any Stock ROM in internet for that phone and i don't found source code for that phone.
I don't found TWRP for that phone is released for it?
Caterpillar s40 is compatible to Xposed? someone have Xposed on that phone?
I search too good program for backup NAND and recovery before try install custom recovery.
Could you find or possibly post your stock Cat S40 rom?
Fudgehog said:
Could you find or possibly post your stock Cat S40 rom?
Click to expand...
Click to collapse
Can't no tools for do that and i don't search more because i my cat s40 send on warrianty.
Now i have formatted clean and no more root that... :/
I had bricked this phone after change root ap KingRoot to SuperSU.
This phone don't have recovery or anyother program like SmartSwitch. No TWRP.
Now i don't try mod this phone like my Samsung because i don't want again brick this phone.
OK I see. Thanks anyway.
Fudgehog said:
OK I see. Thanks anyway.
Click to expand...
Click to collapse
I think I am able to get hold of a rom!!
That would be great but..
I have the S50 and there are still no custom recoveries for either that I'm aware of.
someone has problems with the touch?
cangrejon said:
someone has problems with the touch?
Click to expand...
Click to collapse
Double posting, duh!
Click here.
Source Code S40 + Recovery Mode
Source code cat s40
http://www.catphones.com/en-gb/legal/general-terms-and-conditions
but we don't have access to file for now lol
Cat S40 Source Code
but Cat B15Q can download normally.
Cat B15Q Source Code
i found too how enter Recovery Mode maybe isn't it CWM or TWRP but better that than nothing
1. PowerOff phone
2. Connect USB cable to phone
3. Press and hold the Vol +
4. Connect USB cable to PC or Power Supply
5. Recovery Mode!
I hope after we can download source code someone can make TWRP of custom ROM for us ;]
Cat s40 SuperSU + Xposed
I have SUCCESS ROOT + SuperSU + Xposed on my Cat s40 :]
1. Kingroot root
2. install "SuperSU_v2.65.apk" ( i installed it by Lucky Patcher as System app)
3. Reboot
4. use script "switch_armv7.sh" i added script i found that on XDA forum but i don't remember where.
If script don't work you can try again gain root by kingroot and in SuperSU update supersu binary ( SuperSU can detect Kingroot so you must uninstall it) This script worked for my Cat s40 fine.
5. After script install new binary in SuperSU app
6. SuperSU succes!
7. FlashFire flash Xposed Binary ( i added too Xposed binary)
7. Reboot ( boot is longer than normal)
8. You have SuperSU root and Xposed Framawork on your Cat s40
You can too by FlashFire make backup your system partition and use it in TWRP if someone do it for us... or flash it after gain SuperSU root ( FlashFire on Kingroot don't working)
You do it at your own risk!
First i tried that method on myPhone Infinity LTE ( i can that flash by computer when it bricked )
I think it can work on all Android 5.1 lollipop.
Wirusx, thanks for the feedback.
Can i get more detail and confirmation :
First use kingroot 4.9.3 found here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
After that it's rooted, and then you install the script in supersubinary.rar . But can you explain in detail to put what file where on the S40, or do we only need to install the superuser.apk file?
Is xposed framework nessesary found here: http://forum.xda-developers.com/showthread.php?t=3034811
How about use uptodate kingroot and after that supersumepro ?
Rooted Cat S40 running 5.1 Lollipop
After several attempts and reboots all ok. Caterpillar Cat S40 running Lollipop 5.1 working fine.
1st thanks to all devs. (VickyB, MrW0lf, Chainfire etc). :good:
Then. My attempt consisted from pointers or several threads. Started with Wirusx and got something else from somewhere else. I try getting a whole picture here.
(I did not look for fresh look, but better battery consuption, better security and such. So no new roms etc needed. Cat is quite plain and sleek anyway.)
Basically it was of Wirusx instructions, but with some tweaks as apparently at this stage some update has tightened Cat OS that fewer exploits work.
Several files has be in phone (internal storage worked for me, sdcard not). One app from Gplay (Terminal Emulator) and ->
see this thread: http://forum.xda-developers.com/android/apps-games/replace-kingroot-supersu-t3339950
1. Kingoroot - 2. Reboot - 3. Run Script (which will give you also SuperUser app). - 4. Reeboot - 5. Updated Superuser and another reboot.
- Done.
There were some moments when not all ok. After 3, verified through Emulator who is "in charge". "su -v" in same directory as you ran the original script. Showed SuperUser 2.65, so all ok. But apps listed listed KingoRoot/Purify. But not SuperUser, although the root was through it. I had to download it again via Play. After 5 all ok "in Wonderland".
Some pointers from unknown threads (which I failed to find again). Apparently the situation was like the following exerpt shows.
"It seems that the script doesn't work the same way on every device. For me, it just deleted Kingroot,
and left me with just a temporary root terminal, . SuperSU was never launched nor installed,
and when I installed it I got a "There are no su binaries installed".
I did the following to install SuperSU:
1. Run the script for your proper architecture.
2. If it doesn't launch SuperSU at the end or even worse, if you install it but get the
" no su binaries", DON'T close the last root terminal.
3. Run
su -v
If it returns something like SUPERSU-2.65 you're good to go. If it doesn't,
re-run the script again in order to push the proper su binary again.
4. Go to the terminal and type:
mount -o rw,remount /system
chmod 7777 /system/xbin/su
chmod 7777 /system/xbin/daemonsu
Note: at this point SuperSU will start to work, even if you didn't update its binaries.
4. Open SuperSU. It'll ask you to update its binaries, press yes.
5. Since it's highly advised to have SuperSU in /system in order to preserve root access
through updates, you just gotta move the SuperSU.apk included in the zip to /system /app and
chmod it with 0755 permissions.
I downloaded SuperSu from Play and it worked.
Rooted Cat S40 firmware update
Hi!
Is it possible (ad if yes, how) to update the firmware of a rooted Cat S40. My rooting process was the previously mentioned Kingroot -> SU, but after this the OTA update does't finish, even with FlashFire.
jeroensky said:
Wirusx, thanks for the feedback.
Can i get more detail and confirmation :
First use kingroot 4.9.3 found here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
After that it's rooted, and then you install the script in supersubinary.rar . But can you explain in detail to put what file where on the S40, or do we only need to install the superuser.apk file?
Is xposed framework nessesary found here: http://forum.xda-developers.com/showthread.php?t=3034811
How about use uptodate kingroot and after that supersumepro ?
Click to expand...
Click to collapse
supersumepro = android frezze on boot = send phone for warrianty ;/
pliz share
anyone else succeeded in rooting?
After contacting CAT and bullet-group they managed to fix their "Open Source Codes" section and add links. Sadly, no actual response
(*sigh* can't add links)
Just upgrade to android 6.0.1 and redoing the root,busybox stuff
While rooting, I learn that /system is quite packed. After a few research time, many suggest that to place something in /system, delete some system app(particularly those available at Play Store, e.g. Sheets, Slides, Google Music, etc). So I delete some of them and thought I can flash busybox easily.
I was wrong.
Even I go to TWRP and mount /system rewritable, no matter I use "adb push" or "cp (in adb shell)" to place busybox into /system/xbin, they tell me there is no space.
But if a use "df" in adb shell, non su mode, it tells me there are 14.7MB, while my busybox binaries only 1.05MB.
Do anyone got idea to solve this and so kind to help me? Thank you.
xerubium said:
Just upgrade to android 6.0.1 and redoing the root,busybox stuff
While rooting, I learn that /system is quite packed. After a few research time, many suggest that to place something in /system, delete some system app(particularly those available at Play Store, e.g. Sheets, Slides, Google Music, etc). So I delete some of them and thought I can flash busybox easily.
I was wrong.
Even I go to TWRP and mount /system rewritable, no matter I use "adb push" or "cp (in adb shell)" to place busybox into /system/xbin, they tell me there is no space.
But if a use "df" in adb shell, non su mode, it tells me there are 14.7MB, while my busybox binaries only 1.05MB.
Do anyone got idea to solve this and so kind to help me? Thank you.
Click to expand...
Click to collapse
yes, google did it on purpose. its not full, but it is. use a root file explorer, delete some apps, reboot. then youll be fine after
An alternative solution is to backtrack your modifications to /system and install SuperSU in systemless mode. Installing Busybox afterward will send the files to the /su/xbin directory. As a bonus, Android Pay should function normally.
Use a root explorer or in TWRP mount system and delete /system/app/(any foreign keyboards you don't need, such as GoogleHindiIME, GoogleJapaneseIME, GooglePinyinIME, KoreanIME)
I used systemless root. Then I could install busybox at /su/xbin instead?
And just for report, it seems uninstall won't help without manual deletion of /system/app, all system apps I uninstalled through Titanium Backup automatically revived after reboot.
Sent from my Nexus 6 using XDA Free mobile app
I don't know about the other busybox installers, but Stericson's busybox installer does have /su/xbin as an available install location if systemless root is detected.
Hi, I need your help
I have a MK903V Android TV HDMI Stick (Android 4.4.2, API Level 19). I need it to run apps requiring root without prompting for root access - which SuperSU allows.
The stick has a root shell via adb and comes with a su binary ("su --help" says "SuperSU v1.99 - Copyright (C) 2012-2014 - Chainfire"). I cannot boot a recovery like TWRP (I guess).
I've tried:
- install and run superuser.apk v1.99, says it must update su binary, fails updating su binary (normal mode)
- install and run superuser.apk v2.79, says it must update su binary, fails updating su binary (normal mode)
- install and run towelroot, says it got root, install superuser.apk (v2.79), says it must update su binary, fails updating su binary (normal mode)
- rooting via Kingo Root (PC), works including its su prompt on root apps (like the bloatware it installs), running superuser.apk, says it must update su binary, fails updating su binary (normal mode) (never prompted for root)
I found articles saying you could run the installer script from the update.zip, which is used to install SuperSU from recovery, in an adb root shell if you adapt it... I'm not so much into unix stuff / shell, so I'm pretty sure I won't do that on my own. Moving two or three files to the devices and setting chmod/chown is not a problem, but the script looks way more complicated...
Is there actually a version of the script that can run from a adb root shell?
Is there any other way I can get SuperSU on a device I already have root access to?!? Didn't think that could be so complicated...
Thx
P.S. I'd also take a su binary that just grants all access and doesn't even come with a gui
upgrade mk903v to android 5 or higher
How do i upgrade my mk903v stick to a higher version of Android. It comes with 4.4.2 kit kat. Any help would be appreciated...
Thanks
EDIT: SKIP THIS - READ NEXT
Okay, I finally rooted the device...
- Installed KingRoot APK (v5.0.4) from https://kingroot.net/
- Ran KingRoot which did its suspicious magic on the device for more than 15min
- Installed SuperSU and granted it root
- Ran the root.sh script attached which basically kills and removes KingRoot and lets SuperSu replace su binary
- Ran SuperSU again and successfully updated su binary
It is the only solution I found so far...
Sometimes the web just confuses me...
Found this:
http://freaktab.com/forum/tv-player-support/rk3288-devices/17987-new-3288-ez-root-tool
Simple and clean "update.zip" [MD5:7a2755fd5ebe8a2928fc01a4ab0cbabb]
Copy to internal or external sdcard and just reboot or wait for the system popup that says that a new firmware update was found. Update will be applied and device got proper (but old) SuperSU installed.
After that, you may just install the latest SuperSU. (is there a reason why the latest APK is not available on http://www.supersu.com/download#apk ??)
[email protected] said:
How do i upgrade my mk903v stick to a higher version of Android. It comes with 4.4.2 kit kat. Any help would be appreciated...
Thanks
Click to expand...
Click to collapse
Hello,
Did you solution for this?
I found the Terminal emulator app that I want to use to do some ADB for PC commands without needing PC and usb. su gives permission denied. So I decided to use Magisk - just installed the Magisk zip from recovery and the Magisk Manager, both are green light in Magisk menu. Now can it grant SU or do I still need SuperSU? SuperSU never worked for me. So Im trying to make it work for Terminal emu, how do I add the Terminal to Magisk's Superuser apps? I also downloaded ADB module from Magisk not sure if there's some ADB native command with it to do the same commands from the phone?
Oh never mind when I typed su in Terminal after having installed Magisk and all its stuff, finally it detected it and the app appeared in Superuser list in Magisk where I can toggle on or off.
xdaprogramm said:
I found the Terminal emulator app that I want to use to do some ADB for PC commands without needing PC and usb. su gives permission denied. So I decided to use Magisk - just installed the Magisk zip from recovery and the Magisk Manager, both are green light in Magisk menu. Now can it grant SU or do I still need SuperSU? SuperSU never worked for me. So Im trying to make it work for Terminal emu, how do I add the Terminal to Magisk's Superuser apps? I also downloaded ADB module from Magisk not sure if there's some ADB native command with it to do the same commands from the phone?
Oh never mind when I typed su in Terminal after having installed Magisk and all its stuff, finally it detected it and the app appeared in Superuser list in Magisk where I can toggle on or off.
Click to expand...
Click to collapse
You will have to
# cd /data/adb
then
# rm ./magisk.db
Do note that in doing so, you have erased all the grant history. However Magisk provides no other options to accomplish this. So this is it.