Segmentation Fault - General Questions and Answers

Hi guys and girls !
I have Samsung Galaxy core 2 sm-g355hm rooted by Stratos ,stock ROM ,custom recovery ,kit Kat 4.4.2. When I try to enter any command in terminal emulator I get segmentation fault or not found. Generally I tryed to install L-SPEED and spark -X (not both of them) but when I type su function i give it root access and then menu I get segmentation fault. So can anybody help me with this ? Also it say I have busy box but I can't check what version .

Why are you flashing through terminal? Head into your custom recovery and flash the rom you want through there.

I'm not flashing trough emulator I try to enter menu of tweak mods (L-SPEED and spark - X ). I searched very hard and found that's myb cause of bad busybox and it's applets that's are probably symlinced wrong. So now If anyone can help me how to COMPLETLY delete that applets and install new busybox ?

Sorry i misunderstood. You can try downloading stericson's busybox from play store and it will automatically install the latest version.

Related

[Q] compiling su and sudo for android

Hi.
i recently rooted my work phone (ION , kind of like sapphire ,1.6).
Rooting was done by using the canyongen mod recovery image to load the device in recovery mode , backuup the original system image , change the default property ro.secure=0 and then flashing the system.img again to the rom.
So basically i didn't really change the original rom (thanks to Amon Ra in some post here in XDA).
I wanted to gain root access inside android apps and couldn't, short test shows no su or sudu executable exists on the device, even though when i'm not root and typing su ro sudo i get permission denied....
I never cmopiled anything for arm processor, i do have the source code checked out (for donut) but i'm not sure how can i compile the su (anyone knows which linux package contains it ? ) and if i need to twik it.
I'm not sure that in such a sensative pieace of software i can count on internet ready made builds.
Any help would be greatly appreciated!

10.1 Root Problem

I am trying to root my samsung galaxy tab 2. I tried Weltwon's guide here:
http://forum.xda-developers.com/show....php?t=1657056
But it didn't work. I redownloaded each file and attempted the process 4 times. After that, I figured maybe I was doing something wrong. I don't understand how it isn't working for me yet it works for everyone else it seems.
Using odin "passes" (goes green as if it worked) And i'm able to boot into the recovery. I chose the file on the sd card and it runs through a quick install. It then says it has completed and enjoy. I reboot my tablet and try accessing 3 different root apps. (root checker, SuperSU, and GameCih- which requires root) and I get errors telling me im not rooted.
Here is what my install looks like:
-- Installing: /sdcard/cwm-root-gtab2.zip
Finding update package...
Opening update package...
Installing update...
************************
Galaxian-Soup is Proud to present
#######################
CWM root for your galaxy tab 2 7.0
#######################
Root brough to you by Brett Richter - nycbjr - itweakit.com
######################
*************************
Mounting SYSTEM...
Deleting System:bin/su...
Deleting SYSTEM:xbin/su...
Extracting files to SYSTEM...
Setting SYSTEM:bin/su permissions to 06755
Creating SYSTEM:xbin/su symbolic link...
Installing busybox
Unmounting SYSTEM...
Install complete. Enjoy!
What model tab do you have?
P p.
Delivered to you via microwave technology .
Did you download and install super user from the market? It is not included with rooting procedure (although Super su is) .
!0.1
I have the 10.1 model. there were 2 other zip files i tried. They said 10.1. The one i tried last i found on a forum for 7.1 that said was fully operable on 10.1
SU
Yes. I didn't read to do that anywhere, but I tried it on my own. SuperSU says that it cannot find SU bin. SuperUser is blank when I open it. I try to update and it says canot find su binary. :S
I am so confused. Lol. It doesn't make sense! The instructions were not difficult to follow, and others are finding success.
For what it's worth, Model # = GT-P5113
Android version = 4.0.3
Kernal version = 3.0.8-396106-user [email protected] #1
Build number: IML74K.P5113UEALD7
Why are you trying to install the galaxian soup zip, I don't think this is compatible with the 10.1, your description says Tab 2 7 inch, this may be your problem. Just follow the op instructions and work with the zip file provided by welton.
Pp.
Delivered to you via microwave technology .
re
I have tried both of the ones on weltons guide. Plus a few others. All have same results. No root.
download the app superuser from play store, then run supersu, it will request root access, give it to it, then it will update. Might need to download busybox from playstore before hand if u dont see it in your app list
Check out this thread for recovery /root on the 10.1" tab: http://forum.xda-developers.com/showthread.php?t=1686514
Do not flash the stock ROM though, it's for the 3g model.
Cheers,
C.
Ok let's see. Superuser never asks for permission. I open it and the log is empty. The whole app stays empty. I check the installed version and it says legacy. It asks if i want to update and i say yes, then it fails. Super.su opens up saying it cannot find any .su binaries and that it's a problem. Busybox installer is the only app I've ran that gave me any belief that the root worked. It tells me I'm rooted and my current Busybox version is 1.19.3 when i try to install any new versions it fails. I also downs0loaded an app called busybox. When i click install there, it says it may be unable to find the binaries and it closes.
Sent from my GT-P5113 using XDA
Oh, here's something I'd like to add. I read a different guide an in its description the rooting process took a couple minutes after selecting the zip. Mine only lasts about 3 seconds. Could my probem have been the odin process?
Sent from my GT-P5113 using XDA
re
I'm probably stacking too many responses, but here's word for word issues:
I JUST WHIPED ALL DATA on my tablet, deleted all the files on my PC, and started over. I redownloaded, reflashed (ODIN), used only the versions in the guide by weltwon - and ran the root again.
Superuser, Busybox, SuperSU - NONE of these were installed on their own. NOTHIGN was installed by the root process.
Superuser:
Opens to a grey background and a white column. On the left (in grey) "No apps in list". On the right (in white) No log information Showing 0 entries. The start icon takes me to the app store. The button that looks like a piece of paper with a list and an (X) does nothing.The wrench icon takes me to the settins.
---In settings AutoResponse is set to Prompt. no settings have been touched, all are default. Under general there is a lane saying "Superuser v3.0.7 (41)" I press it but nothing happens. next i press "Su binary vnull (tap to check for updates)".
------In su binary vnull:
{
Downloading Manifest... Okay![GREEN]
Parsing manifest... Okay![GREEN]
Latest version = 3.0.3.2[GREEN]
Checking installed version = legacy[RED].
}
At the top, "New version of su binary found. Update now?" So i click update.
{
Fixing databse... Okay![GREEN]
Checking for busybox... Okay![GREEN]
Checking current install path... fail![RED]
Failed to find currently installed su binary. Update cannot continue.
}
So I try to run busybox free.
Under the install busybox tab the first thing i notice is; "Location of Busybox could not be determined.
I try to install BusyBox 1.20.1 to /system/bin and I get a pop up that says the following; "I am unable to verify whether or not certain utilities needed for this application to run are present and functional on your device. This problem could be caused by a device that is not properly rooted or by superuser settings that are misconfigured."
My only option is to press the X on this message box, which closes the application.
I reopen and try other versions, same message. I reopen and try the other two installation choices (/system/xbin and Custom Path) I instantly cancel the Custom Path because it says it's an advanced option and I do not want to mess up anything.
I install SuperSU and open it. I'm brought immediately to a pop up saying, "There is no SU binary installed, and SuperSU cannot install it. This is a problem!" MY only choice is to press OK which closes the app.
Next i try "Jrummy16" 's BusyBox Installer. I install it and open it. Under the installer tab:
Select busybox version [Set to: BusyBox v1.20.1]
Select install location [Set to: /system/xbin/]
Your devise is rooted
Busybox Location: /system/xbin
Busybox version: v1.19.3
System storage 200 MB
Phone Model: GT-P5113
ROM version: IML74K.P5113UEALD7
I press install and get, "Installing BusyBox v1.20.1 failed. Please try installing a different version." I press the X and am taken back to the original screen. I try the next 5 versions, plus sqlite3, zip, zipalign, and a few versions of BusyBox and I get the same failure message. I change the location to ~/bin instead of ~/xbin and try again. SAME error.
It is VERY frustrating because I have the correct model, and am following instructions that (to my knowledge) not a single person has had trouble with. And now that I whiped the data, I'm completely out of ideas. It is completely beyond me how I end up stuck in this situation where nothing seems to be doing what it should.

How to root Android 2.3.6 using Ubuntu

I have Alcatel OT 995 with Android Gingerbread 2.3.6 and use Ubuntu. I tried Superoneclick (but it works with 2.3.5 :/ ), Casual (doesn't work), Superuser.apk.. all without effects. Anyone has any suggestions?
Hi I did it the following way (Alcatel OT 995):
Get the android sdk, run path_to_sdk/tools/android sdk and install the platform-tools (you need adb and fastboot, they then are placed into path_to_sdk/platform-tools )
Get the cwm recovery for the device from hxxp://dump.pargon.nl/alcatel/cwm-recovery/
Get the su binary (arm) from superuser.apk: hxxp://androidsu.com/superuser/
Follow hxxp://dump.pargon.nl/alcatel/cwm-recovery/README for how to boot into cwm recovery
Inside recovery go to the mount menu and mount /system (and it is a good idea to use the backup menu item before doing this all )
Unpack the su binary somewhere and do adb push path_to_your_su/su /system/bin/su
Use adb shell chmod 4755 /system/bin/su to give it proper rights.
Boot back into the android system, run Superuser.apk, it will, of course, tell you if it worked.
Maybe you should include the device Name into the Thread title because rooting is a somewhat device specific issue.
Oh it seems someone here decided to be unfriendly to new users so hxxp==http...
Try memprodroid
tamtamtam23 said:
I have Alcatel OT 995 with Android Gingerbread 2.3.6 and use Ubuntu. I tried Superoneclick (but it works with 2.3.5 :/ ), Casual (doesn't work), Superuser.apk.. all without effects. Anyone has any suggestions?
Click to expand...
Click to collapse
If you only want root, otherwise want to stick to a stock system, the most conservative method (rooting, no tampering with any other ROM partitions) is mempodroid. It only works within a specific range of linux kernels (it relies on a bug that got introduced into linux kernel but was fairly rapidly stomped on), but I think 2.3.6 kernel is probably one of them. See http://forum.xda-developers.com/showthread.php?t=1461736 for details. If it doesn't work (you don't have the right kernel), you haven't broken anything, you just won't have root.

[Q] Busybox Normal Install Failed - su not found, phone has been unrooted.

Hi Guys!
Newbie here. I have root my phone I have installed busybox from Google Play. I want to update my busybox to 1.21 so I installed it. I have launched the application and then clicked install. I have chosen "Normal" for normal installation. Then I tried installing the busybox into "/sdcard/busyboxfree/" to see if it would run so I entered "/sdcard/busyboxfree/" to the installation path after selecting "Normal" rather than "Smart". And then an error occured saying my su binary was not found. And then I tried opening a adb session and typed "su" (screenshot attached). I can see the SU app grant superuser permission for adb but the adb shell got stucked (see screenshot). So I tried navigating to /system/bin/ and /system/xbin/ to search for the su binary but I can't find it. I also lost some sh commands like "ls" and "rm" so I am using the busybox to do those commands. I can use the busybox so I suppose it is still in my system.
I have done some restoration such as Factory reset / Wipe Data, and restoring userdata using recovery mode (I don't have CWM so stock recovery). And then I tried rooting it again using the same process I have made rooting it before but now it is not working, I can't get the root back. So I decided to ask the huge developer community and experts to consult what to do about this. :victory:
But I have followed instructions from a post at XDA. I have dumped the mtd6 "recovery" and mtd11 "system" before I did the busybox installation (see screenshot mtd.png). Is this enough to restore things back? How do I flash these dumped images? I will be attaching a link to download the dumped images.
My question is, is there a way to gain SU permissions (root)? Do I just need to push/replace/configure/etc binaries or files? Any help will be appreciated. Thanks!
Click to expand...
Click to collapse
My phone is a re-branded phone from CloudFone. Model is Excite 350g. Original Phone model is "Mobistar Touch Cream 350".
Downloads
System Dump Image
Recovery Dump Image
Links:
Rooting Process for CloudFone Excite 350g by mrichiem

[Q] Mount command , any expert to help out?

My device is HTC Desire SV
My device is having Phone Storage of 1.1gb and internal storage(apps) of 1.1gb.
When i try to install games like Modern Combact 3 , Nova 3 , Asphalt8 , PlayStore shows error 481. Yes i was refunded money back , but I didnt get a solution to this problem.
My device is Non Rooted ( I dont wanna root too ) .
I tried:
adb devices
adb shell
mount -o bind /sdcard2/.....(what_ever_game) /sdcard/......./
But i got Operation Not Permitted.
To root i also tried Framaroot - Gandalf exploit.It showed "Success! Reboot your Device"
In terminal emulator when i type su , it shows Segmentation Fault and i get "$" instead of "#"
After rebooting when in type su , it shows su not found.
The device seems to be again unrooted.
My device has a locked Bootloader , I dont want to unlock it as it would erase all data and void warranty.
I tried to modify apk of the game to look for data in /sdcard2/ - But im not that Experienced in android too edit all files correctly and compile them.
So is there any easy solution for me to get this working without root?
BusyBox
akash14darshan said:
My device is HTC Desire SV
My device is having Phone Storage of 1.1gb and internal storage(apps) of 1.1gb.
When i try to install games like Modern Combact 3 , Nova 3 , Asphalt8 , PlayStore shows error 481. Yes i was refunded money back , but I didnt get a solution to this problem.
My device is Non Rooted ( I dont wanna root too ) .
I tried:
adb devices
adb shell
mount -o bind /sdcard2/.....(what_ever_game) /sdcard/......./
But i got Operation Not Permitted.
To root i also tried Framaroot - Gandalf exploit.It showed "Success! Reboot your Device"
In terminal emulator when i type su , it shows Segmentation Fault and i get "$" instead of "#"
After rebooting when in type su , it shows su not found.
The device seems to be again unrooted.
My device has a locked Bootloader , I dont want to unlock it as it would erase all data and void warranty.
I tried to modify apk of the game to look for data in /sdcard2/ - But im not that Experienced in android too edit all files correctly and compile them.
So is there any easy solution for me to get this working without root?
Click to expand...
Click to collapse
You need to install BusyBox from playstore..
After obtaining root install busybox from playstore..
then all your su and segmentation errors will not come..
the su commands are installed in system/xbin/su..
So install busybox.
Dont miss the thnaks button.. :silly:
But how do I install busybox?
Even I use busybox installer , I get device not rooted.
Sent from my HTC Desire SV using xda app-developers app

Categories

Resources