Need Help with /system/bin/sh - Xperia Play General

Okay, so heres my case i rooted my play and installed the custom ROM GBTweaked0. Since then i couldn't access my Recovery or install my old rom from my SD card. Me being a n00b, i tried uninstalling busybox, the uninstall failed and since then my apps seem to have lost root access and im missing /system/bin/sh.
Please if anyone could help me get the sh file back i'd greatly appreciate it. i just want my phone running back on my stock rom

try downloading busybox installer from the market it has every version if that doesnt work reroot or give those apps permission in superuser again

psxpetey said:
try downloading busybox installer from the market it has every version if that doesnt work reroot or give those apps permission in superuser again
Click to expand...
Click to collapse
i already tried reinstalling busybox from the market and it claims it doesnt have root access even though it does. i made sure in super user

you could find the busybox files and move them manually to the correct location
-------------------------------------------
Fma965 - ForgottenCoders
http://forgottencoders.co.uk

i dont think that that would work either because system/bin is a read only folder. so even if i knew how to manually install busybox the way your talking about i don't think that it would let me.

never mind i flashed to stock 2.3.2 using WotanServer. Thanks for the help

mike61096 said:
never mind i flashed to stock 2.3.2 using WotanServer. Thanks for the help
Click to expand...
Click to collapse
well if you had root it is read/write? Isn't it?
-------------------------------------------
Fma965 - Forgottencoders.co.uk
Want to make me a banner? PM me

fma965 said:
well if you had root it is read/write? Isn't it?
-------------------------------------------
Fma965 - Forgottencoders.co.uk
Want to make me a banner? PM me
Click to expand...
Click to collapse
yes, but like i said in my first post, i tried uninstalling busybox which deleted the sh file in my system/bin folder which must have taken root access away.
But again, it's all good now cus like i said i managed to flash back to stock 2.3.2 using WotanServer and updated to 2.3.3, rooted, restored all my apps, and now my phone is back to normal.

Related

Busybox update.zip for incredible?

Does an update.zip exist for the incredible to add busybox to a stock rooted Rom? Or is there anyone willing to make one? I found one for the hero where they stripped down a rom and just left busybox, apps2sd, and Su. It would be greatly appreciated by many noobs like myself.
Sent from my ADR6300 using XDA App
I believe Stericson has an app out that installs busy box for you with a single click. Just search "Busy box" in the market and it should come up. Not sure as to whether or not it works on the Incredible, as I've an Evo, but it should.
I tried that but it failed saying either I it couldn't remount or I wasn't rooted.
Sent from my ADR6300 using XDA App
bradatz said:
Does an update.zip exist for the incredible to add busybox to a stock rooted Rom? Or is there anyone willing to make one? I found one for the hero where they stripped down a rom and just left busybox, apps2sd, and Su. It would be greatly appreciated by many noobs like myself.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I think the unrevoked tool installs it for you.
I'll try that again, but I used 3.0 to root it. Maybe 3.1 will install it, I thought that was only windows fixes from 3.0
maybe
kind of a rookie here, but couldn't you just install titanium backup and then click the problems button. I think it downloads and install busybox??
Nice call!!! Worked like a charm. Thx.
NO
ejkeebler said:
kind of a rookie here, but couldn't you just install titanium backup and then click the problems button. I think it downloads and install busybox??
Click to expand...
Click to collapse
Wouldn't be permenant since NAND is still locked. Would lose it after reboot and have to do same thing over and over after every reboot.
http://www.unrevoked.com/incredible/payload-update.zip
Apply this payload-update.zip and it will install busybox. Just go to recovery and choose install zip from SD card and then choose this one
Then to test
go to cmd prompt
type adb shell
then when in shell type
busybox and you will see its now installed.
If you want the latest busybox, I've attached 1.16.2 freshly compiled.
One issue I ran into was that all the info on the forums has busybox being installed in /system/xbin. The PATH variable has /system/bin before /system/xbin, so that means the original symlinks to "toolbox" are getting picked up first - I don't know if I'm the only one who was annoyed by ls -al returning "-al: No such file or directory"
I guess "toolbox" didn't support this, so you can either install busybox to /system/bin, or leave it in /system/xbin and create a symlink called toolbox in /system/bin that points to busybox in /system/xbin.
As usual, backup your "toolbox" binary first before removing it from /system/bin.
Now ls -al returns a correct listing and I see no app breakage by the symlink method - Ti Backup runs just fine without needing to install its own busybox.
*edit - I guess this doesn't really answer the OP, but I figured I would share this anyway.
ok so I found a side effect - WiFi doesnt work after this. There seems to be a problem with dhcpcd and the new busybox, even though external dhcp support was compiled in...guess I've got some digging to do...
http://codehydra.com/Dinc/RootStock/roto-rooter.zip
that is a busybox install I ripped out of a N1 froyo root update.zip Cyanogen did, modded for the D-Inc.
Seems to work well for me.
the easy way is just to install titanium backup from the market and then click problems and it will install busybox for you in like 5 seconds
Not Really
... but it does NOT install the newest busybox; just one which is compatible with Titanium Backup.
Busybox.net shows v1.17 is the latest (unstable) release, and v1.16.2 is the latest stable. Titanium Backup pushes something in the v1.15 area.
http://www.busybox.net/
Also when I did it through titanium and went to busybox to install latest it said my system had none.
I have a busybox 1.16.2 version that I ripped from one of the posted ROMs that I can attach. It works on the Inc, and I think the whole DHCP / resolv.conf thing works too. At least it's the only version I tried where I can get wget working properly. You may need to create /system/etc/resolv.conf with some valid nameservers first though. Let me know if you want me to post it.
Hmm, nevermind. I tried with the busybox version I have, and WiFi does not get an IP address. Seems to be the same problem.
If you track it down, when you compile your version check if wget works properly also. There were some issues with that and DNS lookups. Don't forget you may need a valid resolv.conf.
Joe92T said:
the easy way is just to install titanium backup from the market and then click problems and it will install busybox for you in like 5 seconds
Click to expand...
Click to collapse
I second this , I used ones off the rooting forums and it never quite worked right until I let titanium backup install it for me. Also its much easier than pushing files to your device if you are unfamiliar with doing it, because you can download tb from market and it does the work for you
Sent from my ADR6300 using Tapatalk
Easiest way to stay current is to install the Stericson app. It can't install it for you due to the NAND lock, but
1) It's trivial to extract it and install manually from the .apk file.
2) It will give you an easy notification via the marketplace that a new version is available.

[Q] Need help reinstalling stock Twitter app

Okay, I rooted my N1 with Universal Androot and removed the stock Froyo Twitter app without backing it up. (Shame on me.) Now, I can't update to 2.2.1 because of it (a status 7 error complaining about not finding /system/app/Twitter.apk)
I have, at the advice of some other forum posts I've read, installed Twitter from Android Market and backed it up to the sd. Renamed it Twitter.apk and used the Terminal Emulator to copy it to /system/app. That worked and the file is there, but the update still will not apply. Do I also need a .odex file? Is there any way to update at this point?
Any help would be super appreciated. THANKS!
if this is the new twitter app would you be kindly enough to share it..lol
Sent from my Nexus One
grab it from an older update like from frf91 update.. then do adb push /system/app
if you cant do that...
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
ilostchild said:
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
Click to expand...
Click to collapse
That's exactly what I did. It didn't work.
I'd love to pull the app from a FRF91 build but I have no idea how that's done.
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
danger-rat said:
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
It looks as though I can't flash the GAPPS without unlocking the bootloader and installing a new recovery, correct? I'm really not that motivated if that's the case. I appreciate the information.
OK, just download the GAPPS, then use something like estrongs file manager to unzip to a folder of choice (with estrongs, longpress and select extract).
The Twitter apk will be in the extract folder/system/app. Just click the apk to install...
Sent from my Nexus One using XDA App
BTW, if you have root, you may as well install a custom recovery (without touching the bootloader).
Easy way with ROM Manager (has Clockworkmod and Amon-Ra), or use adb if you wanna learn something...
Sent from my Nexus One using XDA App
Thanks for the tips. I'll check it out tomorrow when I can make a data transfer. I am doubtful that installing from the zip will solve much since I already loaded the app and its already in the system folder.
could someone verify whether or not the Twitter app has a corresponding odex file that I might need?
I ran into the same problem when I removed Amazon Mp3, but I was impatient so I ended up reflashing the stock rom and then updating.
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
[SOLVED]
ilostchild said:
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
Click to expand...
Click to collapse
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
68pontiac said:
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
Click to expand...
Click to collapse
No problem man.. glad you got it working.. now reroot the phone and back up all the apps from then phone.. doin adb pull /system/app

rooting

have you seen that 1 click root an z4root don't really make a full root of our x10s???
I was trying to put some ringtones on the notification folder (inside system/media/audio) but I was unable to do it :S it said I lack of the permissions :S
Still need to crack the shell. Use root explorer or something.
Sent from my X10a using XDA App
crecsky said:
Still need to crack the shell. Use root explorer or something.
Sent from my X10a using XDA App
Click to expand...
Click to collapse
hmmm well i used it and it says that message :/
maybe our root method is working 50%
Did you install Busybox from the Android Market after rooting with z4root? I believe this is what is used to grant superuser capabilities. Root Explorer should allow you to push those files after this.
busybox wouldn't install on mine after i'd "rooted" using z4root.. and now the superoneclick won't work for me either (I've just installed JIT)...
installed busybox and didn't work at all
alankstiyo said:
have you seen that 1 click root an z4root don't really make a full root of our x10s???
I was trying to put some ringtones on the notification folder (inside system/media/audio) but I was unable to do it :S it said I lack of the permissions :S
Click to expand...
Click to collapse
Just use ringdroid if you like to add ringtone or notification sound. No need root. And btw z4root works good for me
Sent from my Xperia X10i (2.1 and rooted) using XDA app
I just rooted mine today. apparently there are a few versions of busybox that don't work as they should. I installed titanium after root. Load titanium, it will tell you it can't get superuser rights but will start anyway. Click the "Problems" button at the bottom of the screen and it will download a reliable version of busybox.
I hope this helps.
smokey14346 said:
I just rooted mine today. apparently there are a few versions of busybox that don't work as they should. I installed titanium after root. Load titanium, it will tell you it can't get superuser rights but will start anyway. Click the "Problems" button at the bottom of the screen and it will download a reliable version of busybox.
I hope this helps.
Click to expand...
Click to collapse
Didn't work for me either. When trying to download BusyBox through Titanium, I get an "install failed". Went to market and downloaded busybox from there but gives me a "your phone is rooted. Could not locate busybox".
I have an X10a through AT&T R2CA016. Do I need to debrand it before rooting?
Narvarr said:
Didn't work for me either. When trying to download BusyBox through Titanium, I get an "install failed". Went to market and downloaded busybox from there but gives me a "your phone is rooted. Could not locate busybox".
I have an X10a through AT&T R2CA016. Do I need to debrand it before rooting?
Click to expand...
Click to collapse
You don't need to debrand before rooting. When you download/install Busybox from the Market, open it and it will give you the option of which version of Busybox you want to install/use, select the one you want and run it. Then you can use Titanium after that.
z4root worked fine on my x10. used superoneclick to apply shell root after that but busybox installed fine before that.
Will z4root work on my 2.1-update1 X10?
I have the Nordic Unbranded version with build No. 20A0504 or something...
I only need root to access the Japanese market, nothing else (don't care about otifications etc).
Will it work then? If I use z4root?
Oh, and it wont mess up my SD card, contacts or battery or anything like that?
alankstiyo said:
have you seen that 1 click root an z4root don't really make a full root of our x10s???
I was trying to put some ringtones on the notification folder (inside system/media/audio) but I was unable to do it :S it said I lack of the permissions :S
Click to expand...
Click to collapse
old post i know....but it works fine for me....had you mounted in R/W mode? it should say R/O at the top if you have. I just copied an mp3 file straight into the internal memory (/system/media/audio/ringtones)
That what I do!
I use a "Flash tool release"
root by installing the z4root
then I i install busybox
and to get full access I install rootexplorer and reamount system to the rw the in rootexplorer
then use the "X10modtool" XDA Tool So Always when i try to change staff in my x10 I just open rootexplorer and re amount
Then use Adb shell and staff
(Work 100% for me)
The reamunting it just does not work when use seus or PPC - the ADB is close in the production version of the SE system
By the way How to turn on the ADB in the SE ?? (permittions)
In summary when you install XDA apps just add rootexplorer and reamount to rw

help with the xrecovery

So guys see i dont know to to automatically install it can anyone tell me how? i tryed to download to the phone but it didnt work because i got an error. When i try to mannualy install it i download files to pc and the with the usb i passed them to my phone. When i open my file manager ghost commander i tryed to copy the 3 files busybox clock.. and the xrecovery.tar to the system/bin folder. THe busybox nad the clock.. were copied but the xrecovery didnt so if can anyone help me i would really appreciate it
Thank you in advance
Hi,
I don't think it's possible to automatically install xrecovery.
You can find informations and tutos here :
http://forum.xda-developers.com/showthread.php?t=881614
http://forum.xda-developers.com/showthread.php?t=878426
Hope it will be useful for you.
man see
- Download and unpack the recovery package
- use Root Explorer to remount /system rw
- copy the content of the package (3 files) into /system/bin folder
this is what i have to do but how do i remount the system?
and when i copy the 3 files i got an error and the xrecovery.tar isnt copied
but the 2 other files are.
After you unpack those 3 files to sd card use root explorer to copy them into system/bin
in bin folder you have to mount r/w,there's button in right corner of the screen
after you move them,you have to set permissions for them
so the only way to do it is to buy the root explorer?
Thank you very much
guys i did everything that it said but still when the logo of SE appears the one with the icon of SE i press back and nothing is happening. Is this because i had the busybox installed from an app of the market named busybox installed?
zousoum96 said:
guys i did everything that it said but still when the logo of SE appears the one with the icon of SE i press back and nothing is happening. Is this because i had the busybox installed from an app of the market named busybox installed?
Click to expand...
Click to collapse
Install busybox from market, not busybox installer.
iMatth3w said:
Install busybox from market, not busybox installer.
Click to expand...
Click to collapse
y man when i search busybox in market i got the one i have the name is busybox but when i got in it tells me to install busybox there is nothing else and i got the busybox 1.17 should i get the 1.18 ?
zousoum96 said:
guys i did everything that it said but still when the logo of SE appears the one with the icon of SE i press back and nothing is happening. Is this because i had the busybox installed from an app of the market named busybox installed?
Click to expand...
Click to collapse
You should press the back button as soon the sony ericsson words appear no the logo ...
Regards
Man still nothing I pressed it many times and one continuously but still nothing anyone have any idea?
Well it works for me on FW 47 and the last one, maybe start again from clean install of rom, root it and try again ...
I used the file in this thread http://forum.xda-developers.com/showthread.php?t=881614&page=7 post 62 and worked just fine.
Regards
Jacks
[email protected] said:
Well it works for me on FW 47 and the last one, maybe start again from clean install of rom, root it and try again ...
I used the file in this thread http://forum.xda-developers.com/showthread.php?t=881614&page=7 post 62 and worked just fine.
Regards
Jacks
Click to expand...
Click to collapse
Done thank you
Good !! enjoy ...
Regards
zousoum96 said:
Man still nothing I pressed it many times and one continuously but still nothing anyone have any idea?
Click to expand...
Click to collapse
Very probably with the busybox version you installed is NOT compatible with xRecovery, I tried different busybox, and finally got it work, hope this may help.
Annoymous Man said:
Very probably with the busybox version you installed is NOT compatible with xRecovery, I tried different busybox, and finally got it work, hope this may help.
Click to expand...
Click to collapse
I am ok everything is working now and i update my phone to 2.2 because i think that the 2.3 isnt enough stable right now but i think that in like 1-2 weeks there will be an update to 2.3 very stable. Can someone tell me if the current is stable enough to download. I want a guy who is using the 2.3 to x8
Hey, I made a detailed video how to install xRecovery and Custom ROM's on YouTube at, /watch?v=sJIU5qIdC-w

[ROOT] Stock ICS Leak One-Click Root Tool

Hi all!
First off, I'm new to xda Developers so please excuse me if this is in the wrong forum! I thought I'd post information about a tool I wrote here which roots stock 4.0.3 leak on the A500, A501 and assumingly the A200 too. Its literally one click - just enable USB debugging. "ICS Root" also installs, optionally, FaceLock and Trebuchet (although FaceLock doesn't want to work. It lets you set it up though =P)
Since version 5.0.1 this also now works with the new 0.022.00 leak!
The full post is over at TegraOwners: http://forum.tegraowners.com/viewtopic.php?f=30&t=350
The only real system requirements are Windows (with .Net Framework 4) and an Iconia on the stock 4.0.3 leak. I hope somebody finds this useful its been tested by myself and a couple of TegraOwners users and it works well.
In terms of the technique used, it uses the great Jay Freeman's mempodroid exploit to gain root at which point it mounts /system rw and installs su, busybox and Superuser.apk so no real surprises there. Installing Trebuchet adds that apk to /system/app and installing FaceLock installs the apk to /system/app before installing the pittpatt folder to the flexrom (mounted as /system/vendor). I plan to open source it when all the requested features have been implemented and the code has been cleaned up.
Thanks!
~blackthund3r
EDIT 14/05/2012: ICS Root 7 is out enjoy!
Sent from my A500 using Tapatalk
cwm version?
why would it not work with cwm version?
With this tool does system remain writeable after rooting?
What about flashing CWM with acer recovery installer once rooted? I guess it would screw the bootloader...
lowsum said:
What about flashing CWM with acer recovery installer once rooted? I guess it would screw the bootloader...
Click to expand...
Click to collapse
If you are on the cwm with the HC boot loader it should work as Its Magic will be run..
if you are on the new boot loader as in the full non modded leak.. It will give you secure boot error ..
The new boot loader Blocks its magic.
Thanks
Hey this worked easy. I had to re-install USB drivers and make sure I had the latest from Google. Other then that, hit the button, wait about 1.5 minutes, and it rebooted! No problems thus far! Thanks Again!
JeanBubu said:
why would it not work with cwm version?
Click to expand...
Click to collapse
It would but the cwm one, afaik, is prerooted?
Sent from my A500 using Tapatalk
root doesnt work like its supposed to. i know its only half root due to the bootloader, but terminal emulator flat out says i'm not rooted after this despite sixasis working and titanium backup/root checker both saying i have root and busybox. i'm going to post this on TO as well for you incase you dont check here often.
nifterific said:
root doesnt work like its supposed to. i know its only half root due to the bootloader, but terminal emulator flat out says i'm not rooted after this despite sixasis working and titanium backup/root checker both saying i have root and busybox. i'm going to post this on TO as well for you incase you dont check here often.
Click to expand...
Click to collapse
That's storage cos terminal works for me and running su in an adb shell works great too.
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
# exit
[email protected]:/ $ su
#
Sent from my A500 using Tapatalk
SteamBishop said:
Hey this worked easy. I had to re-install USB drivers and make sure I had the latest from Google. Other then that, hit the button, wait about 1.5 minutes, and it rebooted! No problems thus far! Thanks Again!
Click to expand...
Click to collapse
You're welcome and I'm glad it worked!
Sent from my A500 using Tapatalk
After reading the other post, I have found that I cannot write to the system directory from the device itself. The folder attributes indicate that it is set to write, however File Explorer HD will not let me. I have tried to create a folder in the /system and it will not accept the addition. The strange thing is that Root Check says it is rooted, File Explorer HD accepts putting it into Root Explore, but that is it. It is odd. I will try to reapply the Root to see if that makes a difference.
SteamBishop said:
After reading the other post, I have found that I cannot write to the system directory from the device itself. The folder attributes indicate that it is set to write, however File Explorer HD will not let me. I have tried to create a folder in the /system and it will not accept the addition. The strange thing is that Root Check says it is rooted, File Explorer HD accepts putting it into Root Explore, but that is it. It is odd. I will try to reapply the Root to see if that makes a difference.
Click to expand...
Click to collapse
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
nifterific said:
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
Click to expand...
Click to collapse
Sorry for offending you and whoever else it did. Thank you for pointing that script out in that post. My intent was to offer a second comment to your assessment..
nifterific said:
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
Click to expand...
Click to collapse
I have a better script which I'll be releasing as an update to the root app this morning hopefully. It'll be a terminal command to remount rw.
Sent from my A500 using Tapatalk
New update out!!
blackthund3r said:
I have a better script which I'll be releasing as an update to the root app this morning hopefully. It'll be a terminal command to remount rw.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Version 3 came out this morning
It features some bug fixes as well as a completely new remount menu which mounts /system rw properly on the fly. Tested with a busybox installer app
Enjoy!
Thanks for your tool blackthund3r !
I tried it with the new leak from this morning and it doesn't seem to work anymore
Edit :
Just to be a little more specific, the app says the process was OK and state that the tablet is rooted but the tablet doesn't reboot by itseld and su is not installed. I tried to install su manually but it's unable to find a previous su package on the system.
paugustin said:
Thanks for your tool blackthund3r !
I tried it with the new leak from this morning and it doesn't seem to work anymore
Edit :
Just to be a little more specific, the app says the process was OK and state that the tablet is rooted but the tablet doesn't reboot by itseld and su is not installed. I tried to install su manually but it's unable to find a previous su package on the system.
Click to expand...
Click to collapse
ah okay it appears a completely new leak has been released. It is possible that the mempodroid exploit has been patched up. I'm gonna look into it soon. I can't much tonight - I have school work. I'll see what can be done and what the differences between leaks are.
Sent from my A500 using Tapatalk
EDIT: mempodroid hasn't been patched See ICS Root v3.1
Hi blackthund3r
Thanks for the update 3.1 but could you please fix the problem on your hosting website? clicking on this file send to an error warning.
The other files can be downloaded though.
can someone post a mirror to the 3.1 version? current link is not working.
can somebody also confirm, if i root with this tool, i will be able to reinstall my clockworkmod recovery through 'acer recovery installer' and flash any other cwm rom? or do i have to downgrade to honeycomb 3.01, install iconiaroot for honeycomb and then acer recovery installer?
Gersma,
I'll be able to answer to your question as soon as I'll be able to download this tool and test it.

Categories

Resources