General :: Java Shell Root Access (segmentation Fault)
Aug 24, 2013
So i've been trying to flash modules from within the phone without having to boot into the recovery, and i found that i can just extract the update-binary and execute it through shell and it will do the trick!!
However, know im trying to do that through my app, I successfully got root access using Chainfire's libsuperuser, however, whenever i send the commands to run update-binary i get "segmentation fault(core dumped)" Error.
the command i using in both shell and from within the app is "./update-binary 3 stdout ./modules.zip".
This might be irrelevent but when ever i add a number before stdout (e.g 7stdout) i get segmentation fault during shell as well, other than that, i can't find the problem.
This is a logcat of the process through strace, if we have a linux debugger here
Code:
08-24 17:06:43.568 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] execve("./update-binary", ["./update-binary", "3", "recovery", "./KernelLighter.zip"], [/* 24 vars */]) = 0
08-24 17:06:43.573 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] gettid() = 9202
[Code] .......
View 5 Replies
Nov 23, 2009
When I start the emulator with the command emulator -avd Android2.0 it comes up with Segmentation fault (core dumped) if i start it without sound it works emulator -no-audio -avd Android2.0. I'm using Fedora Core 12 64bit. If i run emulator -verbose -avd Android2.0
.................
why the emulator is getting a problem with sound? I'm trying to write an app that uses sound so really need to get this working but i'm stumped.
View 5 Replies
View Related
Nov 30, 2009
I'm trying to use android.media.MediaRecorder to record video, and no matter what I do the android runtime segmentation faults when I call prepare().
Here's an example:
CODE:....................
View 2 Replies
View Related
Apr 24, 2012
The DroidExplorer shell gives "adb: permission denied" cannot access properly into Coby Kyros MID7125 tablet.
I cannot see my root contents and folders with shell. I have rooted my MID7125 and it has ClockWork recovery too. I have made a backup successfully. I can connect to it with my PC using DroidExplorer. I go into shell and get my $ prompt. I enter adb devices and get the following: "adb: permission denied" Is there a password? If so, what is it and how do I enter it to access properly. How can I see the folders?
I used this method to root. [URL]
I originally used the SuperOneClick method and had the same outcome.
I followed this to get my PC ready for DroidExplorer. Howto: Install the Android SDK - CyanogenMod Wiki
View 1 Replies
View Related
Jul 10, 2010
I've been hearing a lot about adb shell, how do i access it? what can be found in adb shell?
View 1 Replies
View Related
Apr 17, 2010
I have a netbook with Android installed. Is it possible to access the bash shell?
View 5 Replies
View Related
Nov 22, 2010
By using command prompt access the device shell/terminal. then use the su command getting permission denied error. Why this happening? how can i solve this problem.
View 4 Replies
View Related
Apr 29, 2010
I decided to manually root my phone, initially I had a device come up and everything was really smooth until step 15
1: Code: cd C:android-sdk-windows ools
2: Code:adb devices
If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.
3: Code:adb push asroot2 /data/local/
4: Code:adb shell
5: Code:chmod 0755 /data/local/asroot2
6: Code:/data/local/asroot2 /system/bin/sh You should see an output that says: $ /data/local/asroot2 /system/bin/sh [+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#Now for a few last commands.
7: Code:mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
8: Code:cd /system/bin
9: Code:cat sh > su
10: Code:chmod 4755 su
You are now officially rooted. A few more steps and you will have flashed the recovery image.
11: Code:exit
12: Code:exit
13: Code:adb push recovery-RA-heroc-v1.5.2.img /sdcard Pushing is equivalent of copy the file to the root of your sdcard. By the time you finished reading this it should be done. You'll know its done because the ouput will say something like transferred X bytes in X secs.
14: Code:adb shell reboot This will cause the phone to restart automatically. Wait till it is fully booted to continue.
15: Code:adb shell Now I receive the following Error: error: device not found
I tried to reboot the phone but there was not change.
I tried the following
C:android-sdk-windows ools>adb kill-server
C:android-sdk-windows ools>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
I was hoping to get my original device listed, but I still have nothing.
View 7 Replies
View Related
Feb 23, 2012
This is now the second day that I'm trying to root my Evo 4G. So far, I've unlocked the bootloader using the htcdev.com method, but I can't get root access. I think my problem is an old version of hboot (0.99.0001, got it from latest HTC software update [2.3.4]), since the Revolutionary tool is saying that my version isn't supported. I've looked all over for how to update my hboot to 2.15 or 2.16, but nothing has worked. I still have S-ON.
I've tried flashing Amon Ra via command prompt (hangs on "waiting for device") and using the Android Flasher program (hangs on "please wait while your phone is flashed"). I've followed all the steps in the first method on this guide (androidforums com/evo-4g-all-things-root/488901-revised-rooting-gingerbread-2-3-5-dummies-guide.html, but to no avail.
How in the world do I go about rooting this thing? Or even just updating my hboot version?
View 9 Replies
View Related
Mar 3, 2013
I bought this Karbonn A4 n now I need to get root access.
View 9 Replies
View Related
Jun 23, 2010
I even tried flashing a custom rom (Fresh) on the last attempt and it just seems like it is giving me the Sprint stock Rom. Shouldn't the custom Rom look different? Once rooted do I still need to use Unrevoked method to grant superuser access for Apps?
View 9 Replies
View Related
Apr 1, 2013
It seems that I accidentally changed the ownership of the su file to "system, sdcard_rw" and now I have no way to change it back to "root, root". Everything was working fine beforehand. I have already attempted to reroot using the same way I originally rooted the device and hard reset with no luck.
My phone information
Phone: LG Optimus Slider
Android version: 2.3.4
Carrier: Virgin Mobile
View 1 Replies
View Related
Feb 2, 2014
I have an UTOK 700Q tablet running android 4.2.2 and the manufacturer has made an update to the firmware that requires a full wipe but i want to backup some apps before that.
I've found a way to do a full backup on android via adb on an unrooted device, but is a bit tedious (currently in progress) and while doing it i've noticed that adb has root access:
Now this made me wonder if i can just install titanium backup from adb with root permissions as a system app (or something, not really sure if it's correct, but i hope you understand what i want) so i can backup my apps easier from there.
Also, as a side note, using root checker i see that busybox and su are installed but no SuperUser is found, what does this really mean?
View 4 Replies
View Related
Jul 29, 2013
I have a rooted Samsung Galaxy Victory LTE and I'm having trouble with Link2SD. I've got a 32GB SD card with a 1.5GB partition, and a 30 GB (or thereabouts) partition. I've verified in SuperSU that Link2SD has root access. But when I start up Link2SD, first I get this toast:
"Link2sd has been granted superuser permissions for an interactive shell." ...ok, that sounds good ...
Then a dialog:
"Select the file system of your sd card's second partition", where I select the Fat32/Fat16 option.
Then I get this dialog:
"Link2SD could not obtain root access.
If you have root access make sure you respond 'Allow' or 'Grant' to the superuser request ."
So what's up with this?
View 2 Replies
View Related
Jan 16, 2014
So, I have a sprint galaxy s4 (SPH-L720)
BUILD # JSS15J.L720VPUEMK2 ANDROID:4.3
I went through odin v.3 the (COM) spot was lite blue not yellow idk if that matters but it passed and installed cwm custom recovery just like it should, I then installed superuser.zip onto my .sd card and went into custom recover and installed superuser file. the only thing wrong I sawe there is that it failed to verify the signatures? but other than that it said successful/pass all that good stuff and when I turned my phone on and checked the root status it says no root access and superuser not found!!!
Now this is not the first time ive rooted a phone, im no expert by any means but I have successfully rooted and flashed roms to many gs4's with the same computer/odin version/root files...
View 2 Replies
View Related
May 1, 2014
just I want to know is it possible to flash recovery IMG without root access ?
View 1 Replies
View Related
Oct 21, 2011
Today i got my new Arnova 10 G2 tablet and i want to know if there is a way to gain root access and if possible to get cwm or 4EXT recovery flashed......
View 3 Replies
View Related
Feb 24, 2013
I have micromax ninja a27 with android 2.3.5. I want to gain root access on it .
View 8 Replies
View Related
Nov 13, 2012
creating an app which requires root access.Purpose of this app
1) Able to access a file in root/data/data/*APP XYZ*/*THIS FILE*
2) Generate a random string of number
3) Replace the specific string in *THIS FILE* with the randomly generated number
4) Saves *This File*
Right now I can do it manually but it is rather tedious. Was thinking if it would be possible to create an app to do this automatically with one click.
View 2 Replies
View Related
Apr 7, 2014
I just got a dopo 7" tablet from a relative and for the life of me cannot get it to root. I have been at it since 3-4pm (its 11:10 now) and no matter what apk or .bat rootkit, or windows root exe i have tried from old guides and some new ("can root ANY android device 2014!!!") to YouTube videos.
i have unknown sources checked debugging checked tablet never sleeps/screen never shuts off have it plugged into laptop via the cable the tablet came with usb to micro root master apk failed suggested root-rk29 tab rootkit each step it tried it could not find any of the necessary files needed on my tablet (even after 3 restarts and 3 different methods) root will try to restore data like the programs steps shows but as soon as it says restore started it immediately says restore ended and it gives an X in the circle and wants me to retry (tried 4 times)
tried doomlordz v4 rootkit and same as other rootkit it says the files arnt found and does the alternative methods and SAYS its completed but root checker still says its not
tried key root master mentions something about a cloud program but never roots superoneclick becomes unresponsive for 20mins and does nothing so i have to end task (some says it freezes their phone/tablet) but my tablet acts like nothing is happening.I have tried Googling multiple times only to find results related to 9" version.
I have about reached my limit of patience on this thing..I have 0 knowledge on rooting other than reading up why I would want it or the common steps which did not work obviously...
View 3 Replies
View Related
Mar 28, 2013
how to get lava n320 root access..?
View 1 Replies
View Related
Jun 17, 2012
I have a LENOVO A750 I upgraded to version ICS-A750_S306_120530.7z How can I get root access? Is there a way to install Hebrew language in the menus of Android?
View 2 Replies
View Related
Mar 8, 2013
I have bought a Caesar (Hero) H7500+ with mdk6589, Get root access Caesar H7500+?
View 9 Replies
View Related
Mar 20, 2013
Car radio enco b046 with android 2.3.3 TCC8900 Have a problem with connect 3g modem on it, need root.
How to get root access on the device. Can not be connected to computers z4root does not work.
View 1 Replies
View Related
Oct 8, 2012
rom: Musketeers Insanely Cool Sense v3
hboot information :
BOOTLOADER UNLOCKED>>>> JUOPUNUTBEAR
RUNNYMEDE PVT SHIP S-OFF
HBOOT-6.28.6667
RADIO-3831.16.00.27_M
eMMC-boot
View 1 Replies
View Related
Mar 9, 2014
I have a little/big problem with my tablet, last night I tried to access root from this tutorial but, I get Reboot Loop even if the access root is ok, I checked with "check root".
I tried with toolkit with the following image:
RV03RC08:
system.img.gz
What can I do to get out reboot loop? (( , I tried with reset factory, wipe data /format, everything.
View 1 Replies
View Related
Nov 29, 2012
I've tried several times the hard factory data reset with no luck. I just want to start from scratch (actual scratch, without the SU app) and re-root. This SU app has remained since after the ICS OTA update without the phone even having root access anymore after then.
View 4 Replies
View Related
Jul 21, 2013
How to make android 4.0.4 devices rooted by superuser?
I open my superuser:
downloading manifest okay
parsing manifest okay
latest version 3.1.1
checked install version 3.1.1
fixing database okay
unpacking sutools okay
check current install path= /system/xbin/su
Downloading new binary okay
gaining root access fail
I have my device rooted by means of UnlockRoot, at first I think the version of superuser is low. So I download Superuser-3.1.3-arm-signed.zip , exact it and replace the old version superuser and su .
I click the root on the software and it seems that everything work. But the fact is that I can't find superuser in my android devices and manually install superuser by myself. And then the phenomenon above appears. It seems that I have rooted the devices and I can't get root access. It is more dangerous than I don't root the devices.
View 1 Replies
View Related
Apr 30, 2014
Imagine a scenario where you have just system access on android , and you want to continually have it, so you use the su binary, with the correct permission and the setuid flag on, and the owner being system, you do:
Code:
chown 1000:1000 su2
chown 06755 su2
you have the ability to change the owner to system as you do when rooting, and you also set the appropriate permission as you do when rooting,
06775 being the permission code to all have execution permission, and the setuid flag on.
But when dealing with system permission that doesn't work. it only works with root.
View 4 Replies
View Related
Jun 9, 2012
is there any way to restore titanium backups without root access?
View 2 Replies
View Related