Many off us here are using custom roms and are spamming the developer thread by posting our issues without attaching a logcat
simply like
my bluetooth is not starting
my hdmi is not working
Etc..
by posting lamely, U r not helping the developer u r just spamming his thread
to really get help, make sure u have a logcat of your problem
What is logcat?
Logcat is the command to view the internal logs of the Android system. Viewing logs is often the best way to diagnose a problem, and is required for many issues. This way you'll find out what apps are doing in the background without you noticing.
Advantages of Logcat
Debugging
You can see what processes are running, if a process is running after a certain interval of time, it will eat battery. So you can also find out what is draining your battery.
What developers need is a logcat To know what is the issue
i will tell u how to make it on a phone itself
1) download an app called ALOGCAT
2) install app and open
3) u will find random text coming there (its not random literally )
leave it in background by pressing homekey
4) this step is specific
for eg. if are having trouble in switching on wifi , try to swtich it on or do fiddle wid anything u have .. just play around with your cell, run the app u think is buggy or whatever
once done
5) press home button for long, select alogcat app,
6) click on options hardware button (right one ) and click on save.
logcat will be saved to sdcard/alogcat folder in the form of txt files.
7) now either u can directly upload the logcat.txt while telling about your problem
or
u can copy the contents of that txt file and paste on www.pastebin.com
after pasting u will get a link something like pastebin.com/******
just copy link and paste along wid ur problem
8) now next time u have a problem make sure u attach a logcat along with it
this method is not useful if u r not able to boot the phone
for that u need to have a pc and android sdk installed along with the drivers
if u have everything installed then
Open the 'run' dialog by pressing the 'Windows' + 'r' buttons on your keyboard (minimize the browser & other non-windows programs)
cmd (this will open a DOS prompt)
cd c:\Android\tools (go to the directory where you extracted the SDK)
adb shell
Now you'll see just a '$'
logcat
You can now just press the power button on your phone to see what happens. It displays everything the device is doing.
i m sorry for any discrepancy (if there, notify me plz)
P.S - logcat is also useful in case if u r having some trouble wid stock roms
PRESS THANKS IF THIS WAS HELPFUL
R: [How to Make a LOGCAT on phone] {New User Friendly}
Crossposting?!?
Related
Hi..
I have been through half the internet, but i cudnt find one post or set of instructions on HOW to use SDK properly by noobs...
Let me be very honest about it...
Its really hard to understand if u dont know programming....
To begin with how do you "ADD PATH"
Add what, where, how???
No instructions at all...
Also, every-time i run that damn sdksetup.exe...some two windows are open and just NOTHING HAPPENS...
PS: PLZ don't ask me to "simply" "add" "Location" in the "Path" cause I have no idea what that means...and no, im not happy to make this thread either...
ALL I WANT TO DO IS CONNECT MY COMP to the damn DROID...
What OS do you have?
jwte said:
What OS do you have?
Click to expand...
Click to collapse
I have Windows XP SP 2...
I have posted pix of where I am stuck...
(all this comes pretty much from memory, I don't have any windows handy)
Rename the folder so that it doesn't have any spaces. ie. instead of "Mount SD", call it "Mount_SD" for convenience. it is possible to get it to work with spaces, but I suspect it is beyond your current abilities.
Go to Start->Run (or Win+R)
Enter
cmd.exe
in the resulting dialog.
in the newly opened command line window type:
set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools
now you can refer to adb directly, ie typing:
adb devices
should give you a list of connected android devices and emulators
There is a way to make the addition to PATH permanent, but it involves right-clicking on "My Computer" and after searching in there for something like "Environment Variables" editing the PATH statement there. Unfortunately, I don't quite remember where exactly this is...
Right click 'My computer' , properties, advanced tab, click on the environment variables button, go to the path variable, add a ; at the end, and at the path string there.
but running an SDK to connect the phone, when you don't know how to set the path variable might not be the best solution.
SDK on Windows 7
hello,
did you follow the link developer.android.com/sdk/index.html
But what do you want do with the SDK, just access the file on the Android device or develop an application?
I have had no problem with latest version of the SDK on win7, but the I have to lunch Haret when my X1 was connect to the PC with Winmo and then it's has been recognized as a HTC dream (see attach).
tchatzi said:
(all this comes pretty much from memory, I don't have any windows handy)
Rename the folder so that it doesn't have any spaces. ie. instead of "Mount SD", call it "Mount_SD" for convenience. it is possible to get it to work with spaces, but I suspect it is beyond your current abilities.
Go to Start->Run (or Win+R)
Enter
cmd.exe
in the resulting dialog.
in the newly opened command line window type:
set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools
now you can refer to adb directly, ie typing:
adb devices
should give you a list of connected android devices and emulators
There is a way to make the addition to PATH permanent, but it involves right-clicking on "My Computer" and after searching in there for something like "Environment Variables" editing the PATH statement there. Unfortunately, I don't quite remember where exactly this is...
Click to expand...
Click to collapse
Thanx a lot...and sorry for replying a little late...I was out for a shoot...Yes..i did EXACTLY what u told me...Now what do i do?
Ok i wrote this:
'set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools'
THEN
'adb shell'
So i got this: 'error: No device found'
sentry23 said:
Right click 'My computer' , properties, advanced tab, click on the environment variables button, go to the path variable, add a ; at the end, and at the path string there.
but running an SDK to connect the phone, when you don't know how to set the path variable might not be the best solution.
Click to expand...
Click to collapse
I lose you after clicking on Enviornment variables...
I cant see any Path variables..
There are 2 sections:
'User variables' AND 'System Variables'
circleofomega said:
I lose you after clicking on Enviornment variables...
I cant see any Path variables..
There are 2 sections:
'User variables' AND 'System Variables'
Click to expand...
Click to collapse
What is the problem with using google?
a simple search for "windows path variable" will give you tons of information about what you tried to do...
example: http://www.computerhope.com/issues/ch000549.htm
btw: this thread has nothing to do with "XPERIA X1 Android Development"
cyberdesigner.net said:
What is the problem with using google?
a simple search for "windows path variable" will give you tons of information about what you tried to do...
example: http://www.computerhope.com/issues/ch000549.htm
btw: this thread has nothing to do with "XPERIA X1 Android Development"
Click to expand...
Click to collapse
If I am connecting my "X1" running "Android"...where do u expect me to post questions regarding it??? In the Windows 7 forum???
And secondly I figured out how to run it...but i cant read the mem card thru the SDK...i can just see the screen of the Android phone...
circleofomega said:
If I am connecting my "X1" running "Android"...where do u expect me to post questions regarding it??? In the Windows 7 forum???
Click to expand...
Click to collapse
your question was more in the term:
how do i configure/use my $OPERATING_SYSTEM to use $SOFTWARE?
why do you want to access the storage card from adb?
if you try to install software do it via adb itself:
Installing an Application after your connected
You can use adb to copy an application from your development computer and install it on an emulator/device instance. To do so, use the install command. With the command, you must specify the path to the .apk file that you want to install:
adb install <path_to_apk>For more information about how to create an .apk file that you can install on an emulator/device instance, see Android Asset Packaging Tool (aapt).
Note that, if you are using the Eclipse IDE and have the ADT plugin installed, you do not need to use adb (or aapt) directly to install your application on the emulator/device. Instead, the ADT plugin handles the packaging and installation of the application for you.
Click to expand...
Click to collapse
cyberdesigner.net said:
your question was more in the term:
how do i configure/use my $OPERATING_SYSTEM to use $SOFTWARE?
why do you want to access the storage card from adb?
if you try to install software do it via adb itself:
Click to expand...
Click to collapse
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
Click to expand...
Click to collapse
Well, if you're imagining copy/paste files through windows explorer, we're not there yet.
However, ``adb push D:\myfile.mp3'' and ``adb pull /sdcard/media/song.mp3'' work.
In short, get comfortable with the command line or forget about it for now.
If ``adb devices'' reports "No devices found", remember that you need to connect the USB cable in windows mobile, select ActiveSync (there's no need to actually have ActiveSync running on your PC) and then run Haret with the USB cable still plugged in.
[OT]
I am developing android applications on the xperia and can attest that the SDK works as expected/advertised. It is not user-friendly in the sense you want it to be though
[/OT]
circleofomega said:
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
Click to expand...
Click to collapse
You can get Droid Explorer Here
No messing around with the SDK and you can copy/paste, do most stuff
A little buggy, but works for most things
But why do you are loosing so much time on setting the PATH, it's not necessary to do this. if you want use the adb just go in the direcortory where it's installed and that's it. In any case you could not expcet to se the sdcard folder like a windows folder. Once connect correctly, adb devices list a device on line, you can "talk" with the device like this "adb shell" ...
I installed Gingercruzt rom and Arc Launcher Transparency theme. But when I press the Home button, there is a pop-up with the last applications. When I turn off the phone, home theme of gingercruzt comes back. I tried with " Home switcher " but nothing happens.
boot into recovery
full wipe (factory reset)
reboot
install your arc launcher again
when you pressing home key make sure you not hold it
when you hold afew moment it become recently app
(so press once)
pop up screen will come out (it will ask launch by what?)
sellect arc launcher if you want it and make sure u click on the make it default
hope this can solve your pain
hf you have any problem teel me
I tried but it doesn't work nothing happens when I push once on home button.
I have two others questions :
- before intalling the rom I put games on my SDcard but after the installation I could'nt find them anymore.
- how do I take off the sound when the phone is started ?
Sylouu said:
I tried but it doesn't work nothing happens when I push once on home button.
I have two others questions :
- before intalling the rom I put games on my SDcard but after the installation I could'nt find them anymore.
- how do I take off the sound when the phone is started ?
Click to expand...
Click to collapse
1- are u using app2sd or something similar? and u need ext2/ ext3/ ext4 on your sdcard
2- what rom you wearing rite now?
1) No I don't have any application like that. I just move on the games with parameters-> applications -> manage the applications
2) I have the R8
Sylouu said:
1) No I don't have any application like that. I just move on the games with parameters-> applications -> manage the applications
2) I have the R8
Click to expand...
Click to collapse
you have to play with unlock boot loader (be carefull)
flashing kernel (easy)
partitioning sdcard (ext2/ext3/ext4) (lot steps)
or
Download all the app U like with browser instead market
(because when download using market we don't have the installer for the app)
download the app.apk and save it in one folder and just name it apk folder..
so everytime u change your rom, u can simply instal it again and again, and again..
I just use this trick!!
Ok I will do it. Do you know some websites with apk ?
And the sound at the starting of the phone do you know how to take it off ?
Sylouu said:
Ok I will do it. Do you know some websites with apk ?
And the sound at the starting of the phone do you know how to take it off ?
Click to expand...
Click to collapse
some app.apk u can simply google it..
but almost paid app.apk are not allowed!
I just buy a paid app.apk dvd with my friend
About the boot sound U have to search it your self..
I'm not sure about your rom rite now (R8)??
but u can try this
install root explorer (phone need rooted)
(this app same like file manager but it can see phone and system files)
you can simply search the boot animation folder
on phone directory instead sdcard
search one by one folder
when u get the boot sound or boot animation u can simply delete
(If can't delete) click on "mount RW" on the top right
sory long explaination..
and HIT Thanks twise!!
Here is how to fix the backlight on SenseMOD ROM from Floatshow.
I am posting the fix here as I do not have permission to post in the Developer section.
Step 1: Download the attachment, unzip the files and place it in /system/etc.
Step 2: SSH/ Use terminal on your phone and run the file /system/etc/bklights_init.sh
This should turn on the key backlights
You might notice a slight delay in turning on / off the key lights. Try to change the sleep value to 1 or 2 in bklights.sh file, kill the application and re-run the script.
I do not take any credits for this solution. Just took the Incredible 2 solution which was present in the same ROM itself and applied it to Incredible S.
I request Floatshow to kindly add these files for vivo as well and make sure the bklights_init.sh file is run during startup.
Hello, i have download a terminal, extract the files.
But in the terminal i don't know what to put in there. Can you tell me what to do please?
Sent from my HTC Incredible S using XDA
Put both the files in /system/etc.
Extract to SDCard first and then using a ROOT Explorer copy the files there.
Then run /system/etc/bklights_init.sh from the terminal.
If you want you can even change the paths in the files and run it again.
Requires a little shell script knowledge !
Ok, i just don't know how to run the file.
Sent from my HTC Incredible S using XDA
just managed to work it out...
Here you go:
Install a terminal emulator from the play store.
Next, copy the files where suggested in the first post (system\etc)
Now, go change the properties on both the files to include execute (in esfile explorer this is done via long press, properties, change then tick execute for all users).
Now launch your terminal app.
in here type:
cd system
cd etc
su
sh bklights_init.sh
That's it! My lights came straight on. Haven't rebooted yet to see if they're persistent... If it turns out they're not I'll go have a look at a way of making the script execute on boot but I'm kinda new at all this...
---------- Post added at 11:59 AM ---------- Previous post was at 11:53 AM ----------
Found a small glitch. The lights don't turn straight off with the screen... They do go off a few mins later though. They appear to obey the screen timeout to turn off rather than shutting off with the screen if you hit the lock button. Not a show stopper. Maybe I'll have a look at the file later and see if I can work out a way around but I'm making no promises cos I'm quite new at this...
It won't persist after a reboot. You will need to run it again (or add it to autorun).
To reduce the delay of the light on/off, try changing the sleep value in the shell script. (I have kept a value of 2 and it works pretty ok).
Most ROMs have a feature where it runs all the scripts from a particular directory during startup. We should find out which one this ROM uses and put the bklights_init.sh file in that directory.
Cool, thanks for the info - I'll have a look.
I think me and zoeriva are on different roms... In fact I know we are cos I just ported the rom I'm using from another device myself! Once I have it ironed out (and have enough posts to post in the dev forum) I'll sling my rom up there... In the mean time do you think there is a clever way to identify the autorun folder you mentioned? Maybe a script that almost all roms have execute on startup?
By the way, thanks for the initial post too - it was a great starting point and the files are diamond!
I just started to work on making this an APK.
Just install the APK and you should have the backlight fixed ! And that too, without the lag
--- EDIT---
Check this http://forum.xda-developers.com/showpost.php?p=26463917&postcount=145
Fantastic! I'll go grab it and give it a try. If I can include that in a couple of ports I just done they'll be pretty much perfect and ready to roll...
I can't post in the dev forum so I hope you see my reply here... I can't install the apk. It says parsing error - there is a problem parsing the package. There is only an OK button and it doesn't install. Any ideas?
Are you installing it on gingerbread ? I built it for ics only . I shall give you a gingerbread build soon.
Sent from my HTC Incredible S using XDA
Many off us here are using custom roms and are spamming the developer thread by posting our issues without attaching a logcat
simply like
my bluetooth is not starting
my hdmi is not working
Etc bla bla...
by posting lamely, U r not helping the developer u r just spamming his thread
to really get help, make sure u have a logcat of your problem
What is logcat?
Logcat is the command to view the internal logs of the Android system. Viewing logs is often the best way to diagnose a problem, and is required for many issues. This way you'll find out what apps are doing in the background without you noticing.
Advantages of Logcat
Debugging
You can see what processes are running, if a process is running after a certain interval of time, it will eat battery. So you can also find out what is draining your battery.
What developers need is a logcat To know what is the issue
i will tell u how to make it on a phone itself
1) download an app called ALOGCAT
2) install app and open
3) u will find random text coming there (its not random literally )
leave it in background by pressing homekey
4) this step is specific
for eg. if are having trouble in switching on wifi , try to swtich it on or do fiddle wid anything u have .. just play around with your cell, run the app u think is buggy or whatever
once done
5) press home button for long, select alogcat app,
6) click on options hardware button (right one ) and click on save.
logcat will be saved to sdcard/alogcat folder in the form of txt files.
7) now either u can directly upload the logcat.txt while telling about your problem
or
u can copy the contents of that txt file and paste on www.pastebin.com
after pasting u will get a link something like pastebin.com/******
just copy link and paste along wid ur problem
8) now next time u have a problem make sure u attach a logcat along with it
this method is not useful if u r not able to boot the phone
for that u need to have a pc and android sdk installed along with the drivers
if u have everything installed then
Open the 'run' dialog by pressing the 'Windows' + 'r' buttons on your keyboard (minimize the browser & other non-windows programs)
cmd (this will open a DOS prompt)
cd c:\Android\tools (go to the directory where you extracted the SDK)
adb shell
Now you'll see just a '$'
logcat
You can now just press the power button on your phone to see what happens. It displays everything the device is doing.
For a more advance usage of logcat and its interpretation and more commands of adb I suggest u read this thread
http://forum.xda-developers.com/showthread.php?t=2274119
Credits - @Stryke_the_Orc
This is my first post regarding logcat , so i m sorry for any discrepancy (if there, notify me plz)
P.S - logcat is also useful in case if u r having some trouble wid stock roms
This is some pretty basic stuff that is covered everywhere. If you intend on turning this into an xda-u post, it might be wise to expand this into what was posted to the portal, too,
bhundven said:
This is some pretty basic stuff that is covered everywhere. If you intend on turning this into an xda-u post, it might be wise to expand this into what was posted to the portal, too,
Click to expand...
Click to collapse
My intention is to help the new users
As this "university" we are here to learn something
And I would update this thread and make it more technical once I get enough knowledge myself as simply copy pasting is not what I want
Bt yes I would edit it a bit more and add points on how to read a logcat
Sent from my ST25i using Tapatalk 2
You can link to my thread on this if you'd like.
http://forum.xda-developers.com/showthread.php?t=2274119
Covers several methods, how to read them, and a few other basics.:thumbup:
Slithering from the nether regions of a twisted mind and tarnished soul
Well the update is rolling ouyt slowly and I need the zip file to fix my phone. To those of ypou guys who wants to help out. Here's a tut. And those ofnwho upgraded you can downgrade using my xda thread and capture the ota http://forum.xda-developers.com/sprint-g4/development/howto-downgrade-to-zv6-upgrade-to-t3265976
Without Root:
Requirements:
-lg drivers installed
-adb installed or minimal adb http://forum.xda-developers.com/showthread.php?t=2317790
1. Enable USB debugging, settings >> general >>about phone >> software version tap the build nu!Ber 10 times then go back to settings and click on developer options. A pop up window will com just click OK or allow . scroll down tapoe USB debugging.
2. Connect your phone to your of once you get the notification to download or manually check.
3. Fire up minimal adb and then tao the download button on your phone.
4. Enter 'adb logcat >> ota.txt' (without the ' ')
5. Look for the ota txt ethier in program files or program files (x86) >> minimal adb and fastboot folder.
6. Press Ctrl f and find android.clients.google.com Or find handleDownloadServiceRequest:downloadUrl
7. Copy and paste the URL you find on your browser and download the zip.
8. Re upload it to media fire or dev host or android file host and share it or you can share that url.
With root: Requirements:
- ZV6 rooted AFter downloading the update or before the update
- Root file explorer
1..Download the update but dont install it!!
2. Download Root Browser from the play store..
3. Look in the /cache or /cache/fota/ folder
4. It should be .zip
5. Select it and copy and paste it to somewhere in your /sdcard/Downloads folder or external sd card
6. Go to media fire or some file sharing site and then upload from your mobile phone from where you copy and pasted your stuff.
7. Share the url with us
https://mega.nz/#!3xwxVYwK!kPkpWpYOqKrE22xJ2hG6nOgFPZxIgRlhxdJmsoE--VU
pelon90005 said:
https://mega.nz/#!3xwxVYwK!kPkpWpYOqKrE22xJ2hG6nOgFPZxIgRlhxdJmsoE--VU
Click to expand...
Click to collapse
Bless you
That is ZV9? i can install through stock recovery?
help
Success!
I got it!!!!!!!!! The two search options for the logcat above did not work so I started looking for "https". All it would find were for google & another, alot of the google were in the google code, you know starts with g then numbers.... I picked one and paste & go in chrome pulled up a signin screen wanting username & password, typed admin in, left password blank and hit enter............ $$$PROFIT$$$$!!!!!!!!!!!!!
454mb's of pure update!!!!
http://i.imgur.com/q2dvC13.jpg
unzipped!
Thanks for the help........ this will prolly open the door to development even if I decide to return this phone.
zach
coolbeans2016 said:
I got it!!!!!!!!! The two search options for the logcat above did not work so I started looking for "https". All it would find were for google & another, alot of the google were in the google code, you know starts with g then numbers.... I picked one and paste & go in chrome pulled up a signin screen wanting username & password, typed admin in, left password blank and hit enter............ $$$PROFIT$$$$!!!!!!!!!!!!!
454mb's of pure update!!!!
http://i.imgur.com/q2dvC13.jpg
unzipped!
Thanks for the help........ this will prolly open the door to development even if I decide to return this phone.
zach
Click to expand...
Click to collapse
Are your comments related to the LG G4? I don't understand the connection between your Boost Mobile LG Stylo 2, and the Sprint LG G4 discussion?
WoW
The directions pointed me to the right direction, no mention of HOW I found a download link, nor the fact a gui screen for username/password would be involved. Lets see, yeah also the fact using admin in username with nothing in password field GOT THE download....
Do you see a link posted for ny firmware?
Details like these being shared can, NO DO make the difference for others especially in a situation of having a device bricked...
But all your interested in is trying to point out something like your THE MODERATOR ON XDA & what? Didn't take the time to [email protected] your "thanks" meter but giving this poor attitude your exhibiting its probably 0....
Go figure
Geezzzz
can any one share nougat rom from LG K371 (Phoenix 2)
eazx said:
can any one share nougat rom from LG K371 (Phoenix 2)
Click to expand...
Click to collapse
wrong thread buddy this is the sprint g4