Busybox - HELP - Xperia Z5 Q&A, Help & Troubleshooting

Hi guys. I'm really new to Sony Z5(1 day) and etc but trying my best to learn. So i'd appreciate if you could keep any suggestions simple and easy to understand
So far i've done the dirty root method, everything seems to be okay. However, i cannot seem to install busybox or Xposed which is kinda necessary for what i'm using for.

FYI busybox installation error messages says to try different version/location. Both of which i tried but no luck.

You need to find the RIC off terminal command in the dirty root thread and try that.
Sent from my E6683 using Tapatalk

Related

One click root app!

Hello guys, as you know, the latest one click root that worked on the Transformer was SparkyRoot. Well, with the newest EeePad update (9.2.1.21), it is impossible to root without PC. Well, I have completely cracked the EeePad code. You will be amazed with the options included in my new one click root app. Try it and see for yourself! (Also works on TF201 and SF101 slide) Here is the download link. http://depositfiles.com/files/jp4hcc5ze
That's great to hear. To bad I'm already rooted so I can't try it.
Should make it easy for those needing to root if it work.
Didn't work set cpu and titanium back up didn't work
Sent from my Transformer TF101 using Tapatalk 2
First off..thanks for giving it a go..
Looking forward to hearing some solid reports.
You might want to put a little more detail into your OP..
As your post count is not up and your other threads are still feely new..
I am looking at picking up a new TF B60 next week and if this works as it should,of course will be willing to give it a go..
Sent from my Transformer TF101 using Tapatalk
Yes, there are problems with it. It seems to give partial root access, but not full root. I am working hard to fix the bugs. For some reason, root apps aren't detecting the root, but I was able to edit system files with no problems. The undetected installation for apps works, and transforming the tablet into Linux and MAC work. For some reason, windows is glitching up. Any ideas on how to get apps to detect root?
When i see partial root usually the su is not getting install to system/xbin but it is in system/bin. See that with the OTA root keeper sometimes.
Any movement or progress on this?
Sent from my SGH-I897 using XDA
baseballfanz said:
When i see partial root usually the su is not getting install to system/xbin but it is in system/bin. See that with the OTA root keeper sometimes.
Click to expand...
Click to collapse
Can you move it manually via terminal from bin to xbin? If so does that get you a full root?
Sent from my PG41200 using Xparent Purple Tapatalk 2
bsoplinger said:
Can you move it manually via terminal from bin to xbin? If so does that get you a full root?
Sent from my PG41200 using Xparent Purple Tapatalk 2
Click to expand...
Click to collapse
I don't know how this apps work but with OTA Rootkeeper you can copy su from system/bin to system/xbin and that solved it most of the times.
There is still bugs in this app. I am working hard to fix them. The su is in xbin, but still not full access. I heard undetected installation is known to glitch up and corrupt files. Maybe I need to remove undetected installation and do normal installation. But when you do normal installation for superuser (through app) it says "There was a problem parsing the package". Maybe use an alternative package installer?
Have you gotten any further in developing your app?
Yes, I got the windows transformation working. Few apps are detecting root, though. Screenshot apps detect it, and a few root managers work as well. Most arent detecting it, though. Also, syncing files doesnt work...
I have my one-click done, it's in my sig and called PERI.
Uses symlinking as found by wolf to grant root.
I'll be making an on tf app too soon. This is all completely open source and 100% working on the 3 tf101 based tfs. You can take a look at the code if you like, it's very simple.
Yes, I am familiar with PERI. PERI isnt an app, though. My Asus Root Menu is a one-click from the device-No PC required.
The commands can be run On-Tf, and I'm in progress of developing an app to put on the TF right now. Should work with 100% success. Then finally out of beta. If you need any assistance with building yours too I'm willing to help.
EDIT:
--
And dude, you're running into problems I almost GUARANTEE, because you're using andromo. Those 'make apps no coding required' wysiwyg tools are total junk. Code it the old-fashioned way :]
What method are you using too Root? I couldn't find any actual commands that are run by your app, just a bunch of invoke pages to text with nothing really attached too it except some ads stuff.. I apologize if I missed it.
And how in the world did you get linux/mac and windows 7 on there if the apk is only ~276KB A system image installer for the Ubuntu ARM image mabye, but there isn't an image for windows or mac (and both are closed-source).
--
Superuser needs to be flashed via recovery/bootloader/adb in a non-locked environment. This is probably where the problem parsing package error comes from.
--
Has anyone sides the OP gotten this too work even partially?
Yes, it has partially rooted a few people, and some people got full root. I have recieved many pm's about it. How is your app coming along?

Manually running app as root?

Hello All,
I am trying to figure out some way to manually start an app as root. It seems that apps which "require" root privileges are coded to elevate to root using su. However, what I would like to do is manually start *any* app as root - even an app that does not "require" root privileges. For anyone familiar with Linux or Unix, this would be similar to running 'su -c /usr/bin/myapp' (or less so, but also similar to running 'sudo /usr/bin/myapp'). In Windows this would be like using 'runas /user:Administrator myapp.exe'. Specifically, what I would like to do is open my text editor as root, so I can modify my hosts file. I needed to change this today, but was not near a computer, and therefore I could not use ADB. I finally gave up trying to figure it out and simply used Vi from the terminal, which is fine when using ADB, but quite difficult when actually using the phone. I could not find many questions (or answers) about doing this, and the few posts I could find, I get the impression that those who replied did not fully understand what the OP was asking. If my question does not seem clear, please let me know and I will try to rephrase it. I very much appreciate any insight. Thank you.

AdBlocking on Rooted Z5

Hi,
A while back I rooted my phone because I had had enough of missing out on xposed modules and had had enough with all the Ads!! When did Android become so riddled with adverts. (i know its not android itself before you say anything)
Anyway I managed to root my phone using the methods highlighted in the forum. I've got xposed working perfectly but I am still seeing averts in apps and on web pages. Correct me if I'm wrong but I should be able to hide these now. I've come from Galaxy S4 which I had rooted from day 1 so I never saw a single advert (in app or webpage) but now on my rooted Z5 I am still seeing a lot. Many apps (baconreader for example) have had the ads in there hidden but many still persist.
I've tried all the options I can see to be available to me
In no particular order and never installed at the same time incase they conflict.
- Adaway (this errors when applying the host file saying the copy failed)
- Adblock plus (app not browser)
- Adfree (this is what I used on my S4)
- MinMinGuard (tried different modes on this one and still no luck and no errors to speak of)
None of them error apart from AdAway.
Have any of you guys got a totally adfree experience on the Z5? If so how have you managed this?
I am using Adguard, it costs 8$ a year. That's almost free I think.
I just installed AdAway, the host file applied fine as far as I can tell (haven't rebooted).
Did you make sure you have a kernel that disables RIC, or disable it your self in a terminal emulator?
Sent from my E6683 using Tapatalk
Funkmasterchilla said:
I am using Adguard, it costs 8$ a year. That's almost free I think.
Click to expand...
Click to collapse
Thanks. I am aware of that option as it's what I was using before I rooted. (free version)
Not that $8 is a lot I don't see the point in paying for something when I can get a permanent solution for $0 so I'd like to know why the host method isn't working on my current setup.
Is there anybody with a rooted Z5 that has blocked all adverts using the host modification method?
TimDawg said:
Thanks. I am aware of that option as it's what I was using before I rooted. (free version)
Not that $8 is a lot I don't see the point in paying for something when I can get a permanent solution for $0 so I'd like to know why the host method isn't working on my current setup.
Is there anybody with a rooted Z5 that has blocked all adverts using the host modification method?
Click to expand...
Click to collapse
AdAway is working for me.
Like I said ensure you can remount /system as r/w.
Sent from my E6683 using Tapatalk
_Dennis_ said:
I just installed AdAway, the host file applied fine as far as I can tell (haven't rebooted).
Did you make sure you have a kernel that disables RIC, or disable it your self in a terminal emulator?
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
I used the kernel that is on the dirty root guide. I was meaning to use the AndroPlus on but didn't in the end. Flashing a new kernel doesn't affect any of the data on it does it?
If I can disable RIC via terminal could you advise me how please. I've had a quick google and can't find anything.
Cheers
TimDawg said:
I used the kernel that is on the dirty root guide. I was meaning to use the AndroPlus on but didn't in the end. Flashing a new kernel doesn't affect any of the data on it does it?
If I can disable RIC via terminal could you advise me how please. I've had a quick google and can't find anything.
Cheers
Click to expand...
Click to collapse
Thanks to @tobias.waldvogel for this. Use the following in a terminal emulator to disable RIC, will need to be done on reboot (you can make it a boot script if you know how.)
Code:
su
echo 0 >/sys/kernel/security/sony_ric/enable
mount - o remount, rw /system
Sent from my E6683 using Tapatalk
See MOAAB (mother of all ad block) in Android Development and Hacking. Costs 0 bucks and blocks hosts. That's the best if you are rooted bro
_Dennis_ said:
Thanks to @tobias.waldvogel for this. Use the following in a terminal emulator to disable RIC, will need to be done on reboot (you can make it a boot script if you know how.)
Code:
su
echo 0 >/sys/kernel/security/sony_ric/enable
mount - o remount, rw /system
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
I get an error saying no such directory. if i try to create it manually it fails...
TimDawg said:
I get an error saying no such directory. if i try to create it manually it fails...
Click to expand...
Click to collapse
It worked for mine....
You did it one line at a time? And approved super user for the terminal emulator?
Sent from my SM-T710 using Tapatalk
_Dennis_ said:
It worked for mine....
You did it one line at a time? And approved super user for the terminal emulator?
Sent from my SM-T710 using Tapatalk
Click to expand...
Click to collapse
yep one line at a time.
It's almost like my phone isn't totally rooted. I can do a lot of things that require root. If it try to create any folder inside /sys it fails.
TimDawg said:
yep one line at a time.
It's almost like my phone isn't totally rooted. I can do a lot of things that require root. If it try to create any folder inside /sys it fails.
Click to expand...
Click to collapse
What super user app do you use? How was it installed?
_Dennis_ said:
What super user app do you use? How was it installed?
Click to expand...
Click to collapse
SuperSU and it was installed via ADB
I think I must have messed up the kernel install somehow.
I'm busy tomorrow and not risking anything tonight so I'll give a fresh kernel a go on Monday. Already looking at AndroPlus kernels and there are a lot of options now. Enforcing and Permissive. I'm sure a Google will let me know what the difference is though.
TimDawg said:
SuperSU and it was installed via ADB
I think I must have messed up the kernel install somehow.
I'm busy tomorrow and not risking anything tonight so I'll give a fresh kernel a go on Monday. Already looking at AndroPlus kernels and there are a lot of options now. Enforcing and Permissive. I'm sure a Google will let me know what the difference is though.
Click to expand...
Click to collapse
Probably your best bet. Sorry I couldn't be of any help.
Sent from my E6683 using Tapatalk
How did you rooted your z5?
luisfillipe said:
How did you rooted your z5?
Click to expand...
Click to collapse
I used the method for Z5 dual SIM posted in the dirty root thread in development section. There are other simpler methods for the regular Z5, again in development section. It requires bootloader unlocks for all of them and that causes you to lose some Sony DRM keys.
Sent from my SM-T710 using Tapatalk
I tried Adblock since i'm not rooted, but it occasionally drain battery in sleep mode so I removed it..
I've always used Lucky Patcher for that. It has hosts blocking as well as disabling google ad modules inside apps, making everything clean and bull$hit free.
Gotta say I was starting it get a be pissed off with how much more complicated it is to do root this phone than any other android phone I've tried to do in the past...
so I came to the assumption that I'm supposed to be booting into recovery and installing the zip through there like I used to do to install ROMs on my older android phones.
I've flashed a few AndroPlus kernels and no luck. One of them left me stuck in bootloop which I let go around roughly 10 times until I decided it was getting nowhere. I did eventually manage to get one installed without a bootloop.
I wanted to know what Kernel I was running so I installed 'Kernel Adiutor' which required BusyBox to be installed alongside it. I found I was unable to install BusyBox which I guess was caused by the same thing causing all my other issues.
I've tried going through this whole over complicated process again and I hit a problem was trying to execute these two lines:
Code:
adb shell mount /dev/block/platform/soc.0/by-name/system /system
adb shell mount /dev/block/platform/soc.0/by-name/userdata /data
I read through everything I could find again to see if I could work out what was going on. While looking for this I can across this line of code:
Code:
fastboot flash boot boot.img
which is to be run if you want to flash the kernel via adb. (you need to extract the zip provided by AndroPlus)
Once this line had been executed I booted up again and was able to install BusyBox which let me see which kernel I had which showed AndroPlus (v3 incase you're interested) so I then tried AdAway again.
BINGO
Only thing is on some websites, particularly xda there is still a gap showing where the Advert would be displayed if not blocked. This I can live with.
I can't beleive how much more complicated this phone is to root compared to my HTC Desire, Galaxy S2 & S4. All of them were plug phone in. Click a few times and the jobs done. Is there a reason this hasn't been done for the Z5?
Just want to say thanks to all that have tried to help.
Thanks to AndroPlus for his kernel which has sorted me out.
Not so much thanks to Sony as this whole process has put me off ever getting another Sony phone. Mainly the fact I've lost some functionality what with having to unlock the bootloader. Overall I'm happy though.
Cheers

BusyBox disaster on Z3

Hi dear XDA users.
I have been researching for a while now to troubleshoot my own problem but i cant find anything.So i though maybe some of you guys could help me with this.So here is the story.
I rooted my Z3 via KingRoot ( One Click Root). Android 5.1.1 . Bootloader is locked. After these i installed some apps such as dsploit ,nmap, etc. And they all require BusyBox which i knew from the beginning because i used an Galaxy S3 and everything wokred perfectly. When i press install busybox tells me it failed and i should try to install it to a different location.I tried all of the locations but it does not work.After that i thought maybe i could install busybox with Terminal Emulator but it also doesnt work.I tried various codes and i had answers like Mount not permitted or DIrectory not found. Please help me.

Rooting tablet, system stays write protect even with ro secure=0,?

Hi folks!
Need some advice, before i invent the wheel again for myself.Learning by trying, but where to go or what to check from here...?
Busy with rooting an tablet, yes tried many apps, only kingroot works..What do i see, my system is only write protected and stays that way.
Made boot.img, ro secure=0(was=1),ro debugging=1(was=0),adb service=mtp/adb(was nothing).
Offcourse still no root, adb is now always root, and i can get su also.
So i thought what could be next..I checked for selinux, but cant find anything in the rom, inside when extracted, my last idea....Would be that.
Yesterday i tried Tsparky root script what installs busybox and supersu, same thing happens...No writing allowed, and offcourse no supersu found....While it was installed true the google play way...But adb was running in root..Uhm...????
So tonight i will try my last effort, in placing supersu in the system.img....I only sometimes think to straight, must i remove the other su..?And sometimes they change su in supersu...Got me confused alittle bit, i already read the supersu config file and i will try to place them and give them permissions...
But i have the feeling after reading other forums and peeps with the same issue that maybe....It will still not update the binary..
If my last effort doesn't work, what or where can i go further in rooting the tablet...Because its so difficult i learn a lot...But now...I really dont know what could be next! Read something about maybe there are ''flags'' in the system..How 2 check, can i remove them...
I hope its clear where i am at, and where i wane go, but what bump is still there in the system, some advice please.
Thanks
Erik

Categories

Resources