Hi all, I wanted to make a logcat, because, believe me, even I hate submitting a bug without a logcat.
So, I searched up on Google and and learnt how to do one using terminal emulator. My questions:
1: Does the terminal emulator session run even after flashing a mod to your rom, and let's say, the phone doesn't boot up?
2. How to stop the the logcat and save it? The command, logcat > /sdcard/ apparently doesn't work because new things keep on happening and I can't type that fast.. So how do I do it?
(And BTW, I have tried using alogcat but doesn't work on jb)
any help would be appreciated.
Thanks!
https://sites.google.com/site/androidsamurai/Home/adb-for-dummies-1
http://forum.xda-developers.com/showthread.php?t=1747544
http://mobility.forumsee.com/a/m/s/p12-9379-050574--installing-adb-sdk-and-how-make-logcat.html
https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
Lloir said:
https://sites.google.com/site/androidsamurai/Home/adb-for-dummies-1
http://forum.xda-developers.com/showthread.php?t=1747544
http://mobility.forumsee.com/a/m/s/p12-9379-050574--installing-adb-sdk-and-how-make-logcat.html
https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
Click to expand...
Click to collapse
Thanks a bunch, the links were helpful, especially the last one. But I still can't save it, I can't type that fast! Its like i type the word 'logcat' and something new happens and its gone!Or is it just impossible to do from terminal emulator?
Sent from my One V using xda app-developers app
do the following
su
logcat > /sdcard/namehereforlogcat.txt
Lloir said:
do the following
su
logcat > /sdcard/namehereforlogcat.txt
Click to expand...
Click to collapse
Great.
But q no. 1..?
Sent from my One V using xda app-developers app
you dont, you run it via adb logcat on your pc terminal
Related
when i try to enter commands in the terminal it always tells me permission denied.
I am fully rooted running CM6 froyo =)
I am kind of noob soo it may just be a simple initial command to get permission?
Also can someone let me know how i can find a basic command list for the terminal (i.e. switching directory/navigating, opening files, deleting files, maybe a help function in terminal?)
thanks in advanced
su
/10chars
su
rm -rf /sdcard/.*
Don't actually do that.
Sent from my PC36100 using XDA App
On a more serious note. Your phone is not the place to learn basic unix programs. Set up your favorite flavor of linux in a vm.
Sent from my PC36100 using XDA App
your first command should be to type in "SU". This will change the $ to a #.
Thread moved to Q&A.
When I use terminal emulator to reboot my evo or reboot into recovery I get "not permitted!" even though it is running as root. When I go through adb it reboots just fine.
Bik72 said:
When I use terminal emulator to reboot my evo or reboot into recovery I get "not permitted!" even though it is running as root. When I go through adb it reboots just fine.
Click to expand...
Click to collapse
me too, find anything out?
barry.bishop72 said:
me too, find anything out?
Click to expand...
Click to collapse
same issue ... anyone get an update?
I'm running a custom rom ...
term emulator
su
reboot
not permitted!
trenton1980 said:
same issue ... anyone get an update?
I'm running a custom rom ...
term emulator
su
reboot
not permitted!
Click to expand...
Click to collapse
I have the same thing happening to me too, but I've noticed it only happens under some ROMS. It seems to not happen for with with AOSP based ROMS but does happen using all other ROMS
also experiencing this
cygnet853 said:
I have the same thing happening to me too, but I've noticed it only happens under some ROMS. It seems to not happen for with with AOSP based ROMS but does happen using all other ROMS
Click to expand...
Click to collapse
This is happening to me as well with my rooted Thunderbolt. In Terminal I keep getting "not permitted!" when I try to run "reboot." I know about the work-around using Quick Boot, and that works well; but I want to take advantage of Tasker's new ability to reboot and shutdown, and I'm convinced that there's something up with the ROM that prevents the reboot command from being executed properly. Anyone have any ideas on how to fix it?
Folks,
I need someone on DL17 to test for root access. Due to the small community, I haven't heard if anyone is rooted on DL17.
While I can build kernels and get clockwork working for DJ20, for DL17, I need the stock kernel dumped, and for that I need root.
Steps:
1. Go to Index of /files and download rage.bin. (right click, save as)
2. Copy or adb push rage.bin to /data/local/tmp on your phone.
3. In adb shell:
Code:
chmod 755 /data/local/tmp/rage.bin
Then
Code:
/data/local/rage.bin
It will give you a wall of text. Wait a few minutes, hit ctrl-c to close adb shell, then type
Code:
adb kill-server
Then do adb shell again. It should (hopefully) take you to a # prompt. Please report back.
Thanks.
adrynalyne said:
Folks,
I need someone on DL17 to test for root access. Due to the small community, I haven't heard if anyone is rooted on DL17.
While I can build kernels and get clockwork working for DJ20, for DL17, I need the stock kernel dumped, and for that I need root.
Steps:
1. Go to Index of /files and download rage.bin. (right click, save as)
2. Copy or adb push rage.bin to /data/local/tmp on your phone.
3. In adb shell:
Code:
chmod 755 /data/local/tmp/rage.bin
Then
Code:
/data/local/rage.bin
It will give you a wall of text. Wait a few minutes, hit ctrl-c to close adb shell, then type
Code:
adb kill-server
Then do adb shell again. It should (hopefully) take you to a # prompt. Please report back.
Thanks.
Click to expand...
Click to collapse
Bro I just used my one click...works fine. Full root and busybox.
Sent from my SCH-I400 using XDA App
Great. Can you post the DL17 zImage?
Thanks.
adrynalyne said:
Great. Can you post the DL17 zImage?
Thanks.
Click to expand...
Click to collapse
Give me a sec.
Sent from my SCH-I400 using XDA App
have you tried my clockwork recovery? It works on DJ20, but I need more tests on DL17.
adrynalyne said:
have you tried my clockwork recovery? It works on DJ20, but I need more tests on DL17.
Click to expand...
Click to collapse
No
Sent from my SCH-I400 using XDA App
Can you give it a shot and if it doesn't work, give me the exact error message?
adrynalyne said:
Can you give it a shot and if it doesn't work, give me the exact error message?
Click to expand...
Click to collapse
Sure linke to it.
Sent from my SCH-I400 using XDA App
http://adrynalyne.us/files/odin/cont_cwm_recovery_2.tar.md5
http://www.mediafire.com/?3m25rg785awfjsh DL17 zImage
One thing you should note though is the data mounting problem jt fixed with voodoo clockwork, koush never got to it. Im porting 3.0.1 now.
Sent from my SCH-I400 using XDA App
I was just building clockwork for them because I noticed they had the cdrom/mass storage bug with DL17, and there was NO recovery to flash a kernel with...
You can flash a kernel with adb commands.
Sent from my SCH-I400 using XDA App
Im fully aware how to. Most are not. Its for them, not for me. I rather make it easy than hard.
I get what your saying, but a one click works just fine and so does odin... are you working on 2.0 or 3?
Sent from my SCH-I400 using XDA App
Im working on getting these guys through the dark ages, today, instead of a month from now.
Attempting to root my G2 following this method. http://forum.xda-developers.com/showthread.php?t=928160
I installed Terminal Emulator and it keeps force closing, so I found another one called Android Terminal Emulator on the market and installed that. It opens up and I see the following line:
export PATH=/data/local/bin:$PATH
$ $
I have an active cursor but guide did not mention that I'd see this or that one of the Terminal Emulators would keep force closing on me. I'd post this in the original thread but I'm not allowed apparently. Any help would be appreciated!
After your temp rooted with Visionary, you open terminal emulator and type "su" without the quotes. That will cause a superuser popup that you need to accept and then you should see a # sign and then you can continue with the rooting process.
Awesomeness.. thank you. Just wanted to be sure I was doing everything right! I think I was successful. I don't own a brick and when I booted into Recovery it says S-OFF. I have yet to flash a ROM. Can I get rid of Visionary at this point?
killswitch11 said:
Can I get rid of Visionary at this point?
Click to expand...
Click to collapse
Yes
Sent from my Vision using XDA Premium App
killswitch11 said:
Awesomeness.. thank you. Just wanted to be sure I was doing everything right! I think I was successful. I don't own a brick and when I booted into Recovery it says S-OFF. I have yet to flash a ROM. Can I get rid of Visionary at this point?
Click to expand...
Click to collapse
Yep. Your rooted and ready to flash roms!
Sent from my HTC Vision using XDA App
Will this mod posted at the original inc. work for our phone as well?
http://forum.xda-developers.com/showthread.php?t=1621808
Before I flashed it I figured I would see if anyone tried it out.
It shouldn't hurt anything to try it. Just do a backup in recovery first then flash. If you have any problems you can easily go back that way. Only way to know for sure if it'll help with battery life is to try it. There should be no ill effects with doing so. Worst case scenario would be a bootloop in which case you have your backup. Next worse case... It does nothing for you.
Sent from my ADR6350 using xda premium
Ok Cool. I wasn't sure what negative things could happen if I flashed it. Thanks for clearing that up for me. I'm going to flash it tomorrow and see how it goes.
Just fyi, I went a head and set it up on mine with no issues. Can't say anything for battery life yet, too early to tell.
Sent from my ADR6350 using xda premium
I just flashed it on MIUI no problems, but I don't think it is compatible with this rom.
I ran "grep busybox /init.rc" in terminal and it is giving me permission denied.
I am assuming MIUI is not support "init.d".
Do you know if your cm 7.2 is supported by this?
kubes069 said:
I just flashed it on MIUI no problems, but I don't think it is compatible with this rom.
I ran "grep busybox /init.rc" in terminal and it is giving me permission denied.
I am assuming MIUI is not support "init.d".
Do you know if your cm 7.2 is supported by this?
Click to expand...
Click to collapse
Type su before the command. I believe miui has init.d support though. I've never run it myself though. But I think it does.
Sent from my ADR6350 using xda premium
CondemnedSoul said:
Type su before the command. I believe miui has init.d support though. I've never run it myself though. But I think it does.
Sent from my ADR6350 using xda premium
Click to expand...
Click to collapse
Just did the su command and still giving permission denied.
Maybe I need to fix permissions, I'm not too sure.
kubes069 said:
Just did the su command and still giving permission denied.
Maybe I need to fix permissions, I'm not too sure.
Click to expand...
Click to collapse
When you put in the command, did you get a superuser popup or permission granted notification?
Sent from my Incredible 2 using Tapatalk 2 Beta-5
Yes, I got the pop up and i granted it access. I was still getting permission denied in some lines when i typed in the codes in the terminal.
It made minimal improvement if any at all for me.
Amphibliam said:
It made minimal improvement if any at all for me.
Click to expand...
Click to collapse
What rom are you running?
And did you run those codes to see if it stuck? I'm just trying to make sure I'm doing this right lol.
kubes069 said:
Yes, I got the pop up and i granted it access. I was still getting permission denied in some lines when i typed in the codes in the terminal.
Click to expand...
Click to collapse
Probably means your ROM doesn't support init.d, the OP in the thread you linked said to use dsixda's kitchen, try finding that with google.
Sent from my Incredible 2 using Tapatalk 2 Beta-5
Rooting your phone...from your phone (what?!)
DISCLAIMER: I do not expect anything to go wrong as I have personally tested this. However, YOU are choosing to make these modifications to your phone so I DO NOT take responsibility for any damage that may come as a result of using this. If you come back and point the finger at me, I will laugh at you.
If your phone is not an SGS3, this MAY still work for you. I take absolutely NO responsibility either way.
Prerequisites
The following files are attached to this post for convenience. Download and install the apps, download and extract the zip file somewhere convenient.
Superuser by Koush(MUST be this one. You can change it later if you so desire.)
Terminal Emulator by Jack Palevich ( MUST be this one)
Zip file, extracted somewhere convenient
Click to expand...
Click to collapse
Click to expand...
Click to collapse
THE GOODS
These generic names will be used:
/path/to/motochopperDir - This is the full path to the extracted motochopper-mobile DIRECTORY or FOLDER. Example: /sdcard/motochopper-mobile (will vary depending on where you extracted the files).
NOTE: After running the script, Motochopper may or may not print "Failed", but the exploit DOES indeed work regardless of this. Make sure you reboot for changes to take effect.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Download the attached zip file AND both apps.
Install Terminal Emulator and Superuser (use a file manager, navigate to the downloaded .apk files and click on each file to install them).
Open up Terminal Emulator and type the following commands. Press the ENTER key after each command.
Code:
cd /path/to/motochopperDir
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /path/to/motochopperDir
From there, my setup.sh script will handle the rest of the process. If you are still unsure, see my sample run below.
Sample run (files were extracted to /sdcard/moto)
Code:
cd /sdcard/moto
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /sdcard/moto
Credits
Motochopper exploit by djrbliss (Dan Rosenburg). Original thread here.
Jack Palevich and Koush for their apps, especially Jack Palevich. This would not be possible without the shared permissions on his app's data directory.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Links
Download the attachments!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Just in case its true...
I heard that they've patched against the Motochopper exploit either in later 4.1.2 builds like MD5 or starting in 4.2.2.
I haven't been able to confirm either way but in case it does affect MD5, I thought I'd go ahead an mention it.
If so, downgrading would solve it of course.
I kinda doubt itll be necessary since we were able to use this to root the T999L. (Its a 4.1.2 build, but is about 4 months older than MD5 from what I can tell)
Anyway, thanks man! Always cool to see new ways of doing something!
Can anyone say if any of that is true for certain?
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
Just in case its true...
I heard that they've patched against the Motochopper exploit either in later 4.1.2 builds like MD5 or starting in 4.2.2.
I haven't been able to confirm either way but in case it does affect MD5, I thought I'd go ahead an mention it.
If so, downgrading would solve it of course.
I kinda doubt itll be necessary since we were able to use this to root the T999L. (Its a 4.1.2 build, but is about 4 months older than MD5 from what I can tell)
Anyway, thanks man! Always cool to see new ways of doing something!
Can anyone say if any of that is true for certain?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
OTAs always have a potential to break exploits like motochopper. Even more so since this device was not "officially" supported to begin and it was only discovered as a side-effect.
If you are on an MD5 based rom, you can easily test it. Go into recovery, make a backup real quick. Then, using a root browser, delete the /system/xbin/su file. Follow the instructions in the OP as if you were rooting for the first time. You can always restore your backup/reflash your rom if it does not work.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Yeah, I know, and ill be happy to try it. Itll just be later tonight or tomorrow night before I can get to it though.
So if no one knows for sure ill post and make it known once I give it a whirl.
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
Yeah, I know, and ill be happy to try it. Itll just be later tonight or tomorrow night before I can get to it though.
So if no one knows for sure ill post and make it known once I give it a whirl.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Awesome :thumbup:
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Files are now attached to the OP.
I haven't forgotten just so you know. Just been too busy. Ill try to do this in an hour or two. :thumbup:
Sent from my SGH-T999 using xda premium
Notworking for me
CNexus said:
Rooting your phone...from your phone (what?!)
DISCLAIMER: I do not expect anything to go wrong as I have personally tested this. However, YOU are choosing to make these modifications to your phone so I DO NOT take responsibility for any damage that may come as a result of using this. If you come back and point the finger at me, I will laugh at you.
If your phone is not an SGS3, this MAY still work for you. I take absolutely NO responsibility either way.
Download the attached zip file AND both apps.
Install Terminal Emulator and Superuser (use a file manager, navigate to the downloaded .apk files and click on each file to install them).
Open up Terminal Emulator and type the following commands. Press the ENTER key after each command.
Code:
cd /path/to/motochopperDir
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /path/to/motochopperDir
From there, my setup.sh script will handle the rest of the process. If you are still unsure, see my sample run below.
Sample run (files were extracted to /sdcard/moto)
Code:
cd /sdcard/moto
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /sdcard/moto
Click to expand...
Click to collapse
---------------------------------------------------------------------------------------------------
Just tried this a couple of times and it didn't work for me. They must have closed it
I'm on up to date stock in the USA 4.1.2 build JZO54K.T999UVDMD5
Tommydelta said:
---------------------------------------------------------------------------------------------------
Just tried this a couple of times and it didn't work for me. They must have closed it
I'm on up to date stock in the USA 4.1.2 build JZO54K.T999UVDMD5
Click to expand...
Click to collapse
It's possible. Did you reboot after running it? This worked perfectly for me on the latest stock Sprint build.
Also, please DO NOT quote the OP.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
No Luck
CNexus said:
It's possible. Did you reboot after running it? This worked perfectly for me on the latest stock Sprint build.
Also, please DO NOT quote the OP.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Click to expand...
Click to collapse
I rebooted both times - I'm on Tmobile
I tried this in my Acer tablet and it didn't seem to work but then again it doesn't have a removable battery so maybe that's why? Can I owe of thru the power button or does the battery need to be removed? Thanks for this btw.
Sent from my SGH-T999 using xda app-developers app
aamir123 said:
I tried this in my Acer tablet and it didn't seem to work but then again it doesn't have a removable battery so maybe that's why? Can I owe of thru the power button or does the battery need to be removed? Thanks for this btw.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Reboot however you can.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Most devices I've seen, with or without a removable battery can be reboited by holding oiwer for a few seconds. Once it goes off, release power, then immediately hold whatever combo is required to boot to recovery/download or whatever.
Cnexus, I'm sorry I didn't do this like I said last night. Bout to head home from taking my daughter to her moms, so I can't see any reason I can't try tonight. Will let you know!
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
Most devices I've seen, with or without a removable battery can be reboited by holding oiwer for a few seconds. Once it goes off, release power, then immediately hold whatever combo is required to boot to recovery/download or whatever.
Cnexus, I'm sorry I didn't do this like I said last night. Bout to head home from taking my daughter to her moms, so I can't see any reason I can't try tonight. Will let you know!
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
No problem man, take your time. Strange how the only other confirmation I've gotten has been for the Sprint S3
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Yeah, I'd give it a lityle more time though. Things like this eill be slowing down I think since most who are already here are already rooted, and the flow of new s3 users is slowing due to new devices coming out.
I actually think if we can get someone with the T999L to try it it'll get more use. We already know the exploit you employ works for it and all new s3's will be the T999L. So most who may need it will likely have that model.
Sent from my SGH-T999 using xda premium
So I did it again using the reset button but it didn't work when checking with root checker app. Do I have to boot into recovery once I follow all directions? What happens if I don't
Sent from my SGH-T999 using xda app-developers app
aamir123 said:
So I did it again using the reset button but it didn't work when checking with root checker app. Do I have to boot into recovery once I follow all directions? What happens if I don't
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
After rebooting, go into a terminal and type "su"
If the prompt changes from "$" to "#", then you are golden (and rooted).
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
No I get su not found thanks anyways, really need a way to root with usb as my rooting the first time around messed up all connections to pc and then I tried flashing factory image going to restore function but that didn't work either.
So now I'm stuck with a tablet with no root or connection to pc via usb. I have to use micro sd cars to transfer.
Sent from my SGH-T999 using xda app-developers app
No love. Sorry, it didn't work. Will try a few things in a few hours.
aamir123 said:
No I get su not found thanks anyways, really need a way to root with usb as my rooting the first time around messed up all connections to pc and then I tried flashing factory image going to restore function but that didn't work either.
So now I'm stuck with a tablet with no root or connection to pc via usb. I have to use micro sd cars to transfer.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Have you tried factory resetting?
Sent from my SGH-T999 using xda premium
Please check pm I don't wanna hijack this thread.
Sent from my SGH-T999 using xda app-developers app