[GUIDE]How to provide a logcat ![ATUALIZED] - Galaxy Y GT-S5360 General

Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues

Provide logcat on Ubuntu
Qtabd 32 bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux32.tar.gz
Qtabd 64bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux64.tar.gz
Binaries ADB : http://motyczko.pl/qtadb/linux_binaries.tar.gz
Open terminal:
Code:
sudo apt-get install libqtgui4 libqt4-network libqt4-declarative
32 bits :
Code:
$ cd Downloads/linux_binaries/
$ sudo cp adb aapt /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x adb aapt
New terminal
Code:
$ cd Downloads/QtADB_0.8.1_linux32
$ sudo cp QtADB /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x QtADB
Now
Code:
$ sudo QTABD
Tell where are the binaries and enjoy!

Thnx sir
Very useful
sent using repencis 3.5 wid a2sd
press thnxxx

very nice guide......... also post about how to provide logcat using Android SDK ...........its good to know all new user how to use SDK
Sent from my GT-S6102 using Tapatalk 2

Sir i hope u upload the Terminal Emulator too....
Sent from my GT-S5360 using xda premium

it works well in my device.
Sent from my GT-S5360 using xda app-developers app

How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium

thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
using part Windows
using qtabd !!

Nice work, this should be good for the community. Sticked so that everyone will see it and learn how to do it.

whitexp said:
using part Windows
using qtabd !!
Click to expand...
Click to collapse
How about ubuntu? Cause im on ubuntu although i do have windows running from virtualbox but thats only for the rest of my family here cause they prefer windows and i prefer ubuntu ... its 64 bit ubuntu by the way.,. How to get logcat then?
Sent from my GT-S5360 using xda premium

atualized

whitexp said:
atualized
Click to expand...
Click to collapse
nice
its helpfull!

thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Click to expand...
Click to collapse
here is a method that worked for me.
1. Turn off your phone (if stuck, just remove the battery).
2. At your command prompt, do "adb logcat > logresult.txt".
3. Plug your phone to your usb and power it.
4. After at least 1-2 minutes or until the phone has fully booted up, terminate your logcat session (ctrl+c)
Click to expand...
Click to collapse

Can op or anyone add info how to read and analyst error from logcat??

Love You man...
whitexp said:
Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Click to expand...
Click to collapse
Hey... Nice job... thanked already...
---------- Post added at 12:14 AM ---------- Previous post was at 12:03 AM ----------
Just wondering, can you also upload some tutorials on identifying common issues through logcat?
that would be great for me as i am not of comp sc background, yet want to positively help the devs and possibly someday dev some... B)
[I think some others are also thinking just what i am thinking... LOL]

hey man working great! thanks :good:

very useful thread, thank you

I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium

alkesh95 said:
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102

nitubhaskar said:
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
Click to expand...
Click to collapse
Thanks buddy....
Sent from my GT-S5360 using xda premium

Related

Logcat to desktop command.

I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
v_lestat said:
I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I don't quite remember this either, but have you tried.... adb shell logcat > log.txt
I believe its:
adb logcat > name of rom.txt
Sent from my SUPERSONIC
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
v_lestat said:
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
no the arrow is the arrow
freeza said:
no the arrow is the arrow
Click to expand...
Click to collapse
Correct.
Sent from my SUPERSONIC
i just use adb logcat and it comes out. use control c to exit
If on Linux/Mac:
Code:
adb logcat > ~/logcat.txt
If on Windows:
Code:
adb logcat > %userprofile%\Desktop\logcat.txt

[Q] ADB dont has permission ?

Im using linux and im trying to install Galaxy S II theme that posted at themes and apps forum
that what im doing
[email protected]:~$ adb devices
List of devices attached
43423541314434573458 device
[email protected]:~$ cd /home/aviv/GTHEME
[email protected]:~/GTHEME$ adb push android.policy.jar /sdcard/
failed to copy 'android.policy.jar' to '/sdcard//android.policy.jar': Permission denied
Click to expand...
Click to collapse
need help :|
Locked Bootloader with root
adb on linux - ubuntu 11.04
LightingZ said:
Im using linux and im trying to install Galaxy S II theme that posted at themes and apps forum
that what im doing
need help :|
Locked Bootloader with root
adb on linux - ubuntu 11.04
Click to expand...
Click to collapse
What Rom / kernel are you running?
Sent from my R800x using xda premium
Orginal kernel and SE World Generic 2.3.3
adb typically needs to be run as root.
zerojay said:
adb typically needs to be run as root.
Click to expand...
Click to collapse
How do i run it with root?
if i write sudo adb <command> (example)
it's says sudo: adb no such command
Run the command su first, it'll ask you for your root password (if you set it up) and root persists until you exit
Sent from my R800x using XDA App
su + adb command (su adb push)
not works :|
ok
i got SUPERUSER PERMISSION
i type
adb shell
then
su
and then it asked for allow or deny i press allow
no effects yet
Just double checking, are you running as root on ubuntu?
Sent from my R800x using XDA App
just type su on it's own and hit enter, then adb commands on a separate line (after entering linux root password, obviously)
also (i'm not sure how much this will affect it) try running chmod on adb...
Happened to me, make sure your SD card isn't mounted while your using adb
Sent from my R800i using XDA App

Ubuntu On Mytouch 4g

this is interesting to have ubuntu in ours MT4G imagine how many apps can we run in ubuntu usin ours MT4G.
Sources:
http://www.ehow.com/how_12170472_install-ubuntu-android.html
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
http://forum.xda-developers.com/showthread.php?t=723493
1- We need to install vnc in our devices, go to the Market and search for androidvnc or whatever vnc app you like and install it
2- download the new version and extract it in the sd of your MT4G in a folder named ''ubuntu''
3- open a terminal emulator and type:
su
cd /sdcard/ubuntu
sh ubuntu.sh
bootubuntu
If you get the "root_localhost:/#" sign, congratulations
4- open vnc for android and connect with [email protected]:localhost:5901
5- if you want to change the pass type:
bootubuntu
vncpasswd
Alternative:
if that method doesn't work try this one:
1- Assuming you know how to work with adb just reboot your MT4G to recovery and load up ADB Shell connecting you phone to a computer.
2- once we are in adb shell, type:
mount system
mount sdcard
cd /sdcard/ubuntu
rm /system/bin/fsrw
rm /system/bin/bootubuntu
rm /system/bin/unionfs
rm /system/bin/mountonly
cp -f fsrw /system/bin
cp -f bootubuntu /system/bin
cp -f unionfs /system/bin
cp -f mountonly /system/bin
cd /sdcard/ubuntu
chmod 4777 *
cd /system/bin/
chmod 4777 *
cd /
umount sdcard
umount system
exit
Now select "reboot system now" from recovery menu
3- you need load up again ADB Shell Type "su" to enter superuser mode. Is very important not to forget this type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mkdir /data/local/mnt
4- Once that completes, type "bootubuntu", If you get the "root_localhost:/#" sign, congratulations! You've just installed Ubuntu on your Android phone.
NEW VERSION
here is a 10.10 version with vnc an many app includes:
http://www.megaupload.com/?d=L9S70C8V
http://www.megaupload.com/?d=MS1KUUGW
http://www.megaupload.com/?d=YCMNO224
http://www.megaupload.com/?d=H6XZX9JB
MIRRORS:
http://www.multiupload.com/1SOEE6B5U4
http://www.multiupload.com/TNSJ2QGECI
http://www.multiupload.com/VJDBUJD7MC
http://www.multiupload.com/2M5ZR00RKN
EDIT:
For those who are having problem replace the ubuntu.sh file with the attached one.
Applications
Firefox, Thunderbird, openoffice.org suite, GIMP Image Editor, Emacs Text Editor (geared towards programming), C and C++ build-essential, Java JDK, Python, TeXlive and TeXmaker LaTeX editor, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center with all repositories enabled (Ubuntu Software Center is pretty and well organized - but bloated and slow), SSH server, Gnash (GNU flash player/plugin for Firefox - as there is no official generla flash pluging for armel CPUs)..
Interesting! May try this sometime
EDIT:
GUYS, I CONFIRM THIS WORKS ON OTHER ANDROID DEVICES!!!
it worked on my LG optimus, i'll try for MT4G later
screenshots coming up
saranhai said:
EDIT:
GUYS, I CONFIRM THIS WORKS ON OTHER ANDROID DEVICES!!!
it worked on my LG optimus, i'll try for MT4G later
screenshots coming up
Click to expand...
Click to collapse
Screenshots!
Sent from my HTC Glacier Sense 3.5 using xda premium
saranhai said:
Screenshots!
Sent from my HTC Glacier Sense 3.5 using xda premium
Click to expand...
Click to collapse
holy mother that's awesome. dammit my computer dead ! would this method work with terminal emulator
RCMIX 3D DarkSide Glacier HD !
by terminal emulator
Tez MyTouch said:
holy mother that's awesome. dammit my computer dead ! would this method work with terminal emulator
RCMIX 3D DarkSide Glacier HD !
Click to expand...
Click to collapse
yes you can just download this script http://zedomax.com/android/bootubuntu and overwrite it in the ubuntu folder then go to a terminal emulator and type:
su
cd /sdcard
sh ubuntu.sh
bootubuntu
and you may get this “[email protected],”
juancollado2003 said:
yes you can just download this script http://zedomax.com/android/bootubuntu and overwrite it in the ubuntu folder then go to a terminal emulator and type:
su
cd /sdcard
sh ubuntu.sh
bootubuntu
and you may get this “[email protected],”
Click to expand...
Click to collapse
thanks but if I do this what will I lose ?
RCMIX 3D DarkSide Glacier HD !
juancollado2003 said:
yes you can just download this script http://zedomax.com/android/bootubuntu and overwrite it in the ubuntu folder then go to a terminal emulator and type:
su
cd /sdcard
sh ubuntu.sh
bootubuntu
and you may get this “[email protected],”
Click to expand...
Click to collapse
yes, but after that, you still need to change the sources.list in a file manager.
but yes, all this can be done through terminal
I didn't use this method but i can confirm that Ubuntu works on our device. Its great especially since my NetBook broke and I couldn't find an irc client that allowed for dcc send
Sent from my HTC Glacier using Tapatalk
So do we still have android is? Or how does it work? Looks interesting
Sent from my HTC Glacier
exemp30 said:
So do we still have android is? Or how does it work? Looks interesting
Sent from my HTC Glacier
Click to expand...
Click to collapse
yes, this ubuntu is in a form called "chroot"
it's basically like a virtual machine, ubuntu runs on top of android.
it won't touch android in any way, but just make a back up to be safe
Oh alright cool ima try this
Sent from my HTC Glacier
blklexluthor said:
I didn't use this method but i can confirm that Ubuntu works on our device. Its great especially since my NetBook broke and I couldn't find an irc client that allowed for dcc send
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
is that with lxde?
saranhai said:
is that with lxde?
Click to expand...
Click to collapse
Yes.
Sent from my HTC Glacier using Tapatalk
heyy what the...not working with my MT4G???
gives me errors?
exemp30 said:
So do we still have android is? Or how does it work? Looks interesting
Sent from my HTC Glacier
Click to expand...
Click to collapse
It runs over to of Android, like a skin. Btw trigun rules.
If I helped, give thanks, if you please.
Sent from my fist to your nuts, enjoy!
saranhai said:
heyy what the...not working with my MT4G???
gives me errors?
Click to expand...
Click to collapse
probably bad download it u can try using terminal emulator
RCMIX 3D DarkSide Glacier HD !
Tez MyTouch said:
probably bad download it u can try using terminal emulator
RCMIX 3D DarkSide Glacier HD !
Click to expand...
Click to collapse
same errors with terminal...
trying the download again
some files are missing
saranhai said:
heyy what the...not working with my MT4G???
gives me errors?
Click to expand...
Click to collapse
it's saying miss some folders and files that means you miss some step so do all step once again and try reboot, remember to mount system to create the folders
kernels
remember you need a kernel with supporting 'noatime' mounts (which makes for faster reading/writing to the .img file)

Ubuntu?! I think its time! 1-1 v1

This is Ubuntu Touch
Disclaimer: Don't touch if your not experienced! You are responsible for what happens not me understand you agree that im not responsible in any way when you download!
Justsueme has been working on this rom for a while and now I bring it to a locked bootloader! Not possible Ubuntu says but im good a scrips, so test it out let us know READ EVERYTHING BEFORE FLASHNG...its not a normal rom!
Link to his threadhttp://forum.xda-developers.com/showthread.php?t=2564187
instructions:
New Experimental method
Wipe device ready for new rom
Flash Rom : Rom
Reboot device
IF no wifi on boot you may need set
chmod +x /data/local/userinit.sh
(pm or comment if you need with terminals)
I didn't add reverse tether by default so head to manual fixes section to find how to.(buggy fixes soon with gsm)
this is not an update to functionality its just a quick knock-up putting both .zips into one and adding fix for no PC to boot.
Old Method(outdated) use if not working
At this point youll have a black screen and no activity except ADB
plug phone into pc
grab this file : (70-jfltexx.rules) http://www.datafilehost.com/d/17d6dd77
now open terminal
$ su
$ adb push 70-jfltexx.rules /usr/lib/lxc-android-config/
$ adb shell "reboot"
phone will look like its doing nothing for a bit, but wait.
now it will boot back up like normal but you will have a ubuntu touch gui
BUGS:
celluar
BT
IR?
no sound (works with headphones)
camera (maybe needs libjnigraphics ?)
frame jump
app not loading
adb or ssh for cli
Manual Fixes:
now have connectivity via reverse tether:
adb root
adb shell setprop sys.usb.config rndis,adb
ubuntu network manager will show that samsung android is connecting.
open network settings edit that connection and change auto DHCP to shared
run this command (logged into phone)
dhclient usb0 -v
now on phone open webbrowser or ping 8.8.8.8 to test connection
just got WIFI !
make it auto load at boot
touch userinit.sh
nano userinit.sh
add to the file :
-
#!/bin/bash
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
-
adb push userinit.sh /data/local/userinit.sh
adb shell
chmod +x /data/local/userinit.sh
Contributors
JustSueMe, Warg-Razdroid
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.4.x
Based On: cyanogenmod
Reserved
Whoaaa man. This is big.
Sent from my SGH-I337 using XDA Premium 4 mobile app
jaythaovadose said:
Whoaaa man. This is big.
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
download up!
Sweet! I am stoked to play with this!
Sent from my SGH-I337 using XDA Premium 4 mobile app
Bigbabyjesus said:
Sweet! I am stoked to play with this!
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
cant get the zip booting will fix soon someone else please confirm?
Yeah, I'm stuck on splash screen. Can't even get to boot animation. Possibly a kernel problem?
Sent from my SGH-I337 using XDA Premium 4 mobile app
Yeah I'm guessing you can flash the original phablet zip from his thread but he has a fix coming soon with kernel and I'm searching too
Sent from my SGH-I337 using Tapatalk
Dang... if this requires a custom kernel, then SafeStrap is out of question... I really wanted to try this one out, but have the dreaded MF3...
Fix is slow, but making progress
Sent from my SGH-I337 using Tapatalk
NNagendran said:
Dang... if this requires a custom kernel, then SafeStrap is out of question... I really wanted to try this one out, but have the dreaded MF3...
Click to expand...
Click to collapse
It needs a custom kernel sorry
Sent from my SGH-I337 using Tapatalk
You need to link his thread to this one. And give him proper credit. He is the one that has worked hard on this. Not being mean but I'm just saying.
Sent from my SGH-I337 using Tapatalk
toxicpaulution said:
You need to link his thread to this one. And give him proper credit. He is the one that has worked hard on this. Not being mean but I'm just saying.
Sent from my SGH-I337 using Tapatalk
Click to expand...
Click to collapse
Learn reading it's in op...
Sent from my SGH-I337 using Tapatalk
uploading new
up
Hey guys just wanted to thank you for taking this initiative. All the best.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
junooni.1980 said:
Hey guys just wanted to thank you for taking this initiative. All the best.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
nice!
Joeyxc said:
This is Ubuntu Touch
Disclaimer: Don't touch if your not experienced! You are responsible for what happens not me understand you agree that im not responsible in any way when you download!
Justsueme has been working on this rom for a while and now I bring it to a locked bootloader! Not possible Ubuntu says but im good a scrips, so test it out let us know READ EVERYTHING BEFORE FLASHNG...its not a normal rom!
Link to his threadhttp://forum.xda-developers.com/showthread.php?t=2564187
instructions:
New Experimental method
Wipe device ready for new rom
Flash Rom : Rom
Reboot device
IF no wifi on boot you may need set
chmod +x /data/local/userinit.sh
(pm or comment if you need with terminals)
I didn't add reverse tether by default so head to manual fixes section to find how to.(buggy fixes soon with gsm)
this is not an update to functionality its just a quick knock-up putting both .zips into one and adding fix for no PC to boot.
Old Method(outdated) use if not working
At this point youll have a black screen and no activity except ADB
plug phone into pc
grab this file : (70-jfltexx.rules) http://www.datafilehost.com/d/17d6dd77
now open terminal
$ su
$ adb push 70-jfltexx.rules /usr/lib/lxc-android-config/
$ adb shell "reboot"
phone will look like its doing nothing for a bit, but wait.
now it will boot back up like normal but you will have a ubuntu touch gui
BUGS:
celluar
BT
IR?
no sound (works with headphones)
camera (maybe needs libjnigraphics ?)
frame jump
app not loading
adb or ssh for cli
Manual Fixes:
now have connectivity via reverse tether:
adb root
adb shell setprop sys.usb.config rndis,adb
ubuntu network manager will show that samsung android is connecting.
open network settings edit that connection and change auto DHCP to shared
run this command (logged into phone)
dhclient usb0 -v
now on phone open webbrowser or ping 8.8.8.8 to test connection
just got WIFI !
make it auto load at boot
touch userinit.sh
nano userinit.sh
add to the file :
-
#!/bin/bash
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
-
adb push userinit.sh /data/local/userinit.sh
adb shell
chmod +x /data/local/userinit.sh
Contributors
JustSueMe, Warg-Razdroid
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.4.x
Based On: cyanogenmod
Click to expand...
Click to collapse
Sent from my Deadly Venom SS 3.0 S4 ~ 20GB free cloud https://copy.com?r=vtiraF
Is anyone actively working on this? Will it work with AT&T phones, or do I need to be concerned with the whole Loki Doki thing here as well? Until it is working with the cellular radio, I fear there is no reason to even play with this for now. Unfortunately, I don't think I have the skills to help out.
Subscribing.
Edit: Just tried to load this rom via TWRP v2.5.0.2 and it failed.
purdone said:
Is anyone actively working on this? Will it work with AT&T phones, or do I need to be concerned with the whole Loki Doki thing here as well? Until it is working with the cellular radio, I fear there is no reason to even play with this for now. Unfortunately, I don't think I have the skills to help out.
Subscribing.
Edit: Just tried to load this rom via TWRP v2.5.0.2 and it failed.
Click to expand...
Click to collapse
You do need Loki and such. I think development on this was merged into the international S4, if you check the Ubuntu wiki for Ubuntu touch you'll find the thread listed.
EDIT: It links to the same thread as OP, so I don't know if anyone is continuing it but I don't think so.
Sent from my SGH-I337 running Light ROM

[TUT]NooP-Frindly- Easiest way to create logcat

Hi
If u wana to logcat u can open treminal(on device)
Type
Code:
Su
Code:
logcat > /sdcard/logcat.txt
U will find ur log in root of sd
but for problems with boot this is no good
its best to do a full logcat in adb
http://forum.xda-developers.com/showthread.php?t=2141817
Ohhh I did'nt knew that!!!!
Sent from my GT-S5360 using Tapatalk 2
Thanks

Categories

Resources