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
Related
Guys I have just modified the 2330..bla manila file following the guide in the Sticky. Everything is ok expect one thing, I did everything, added my city (Lugano, Switzerland). When i go to weather tab and i choose my city it says connection error, but every other city works great :S Can you please help me?
I'm having no luck either.
The instructions regarding SQLite don't work for me. Should point out you need to take off the Read Only flag else SQLite browser won't save your changes. The cities are added ok, and now selectable, but they do not update the weather. Keeps saying connection error (attempted many retries too), just for the custom ones. The default cities update fine.
hesian said:
I'm having no luck either.
The instructions regarding SQLite don't work for me. Should point out you need to take off the Read Only flag else SQLite browser won't save your changes. The cities are added ok, and now selectable, but they do not update the weather. Keeps saying connection error (attempted many retries too), just for the custom ones. The default cities update fine.
Click to expand...
Click to collapse
Same, and yes I took off the Read Only flag. I'm having your same problem. Please guys help us :S
After you have edited your manila file and set everything up, remember to install Weather Database editor 1.2 and then run the program. After that everything should be working A big big big thanks to "spud_work" who gave me this tip
fico2 said:
After you have edited your manila file and set everything up, remember to install Weather Database editor 1.2 and then run the program. After that everything should be working A big big big thanks to "spud_work" who gave me this tip
Click to expand...
Click to collapse
Hi,
Why dont you shearch before you open a new Thread !?
you can find about the weather connection etc. in many threads.
BTW there Allready is a DUTTY 3.7 Thread, so i think there is no reason to open a new thread !
Good night ( when you ask a question in the thread about the rom you use, You might get help allot faster )
hi all
i had the same problem with the weather using david uk rom the latest one.
This what i did and it worked for me
1. find HH_0409 weathercities_xml file in windows
its under HKEY_Current User\Software\Manilla.
2. Copy the file somewhere on desktop also make a backup of file incase need to replace it.
3. Open it with note pad and change a city which u are not likely to use, find the city code from Accu Weather website and replace all the code.
4. Save the file and copy it back to phone ( i put it in my documents folder) use total commander and replace the existing file.
5. Go in HTC Weather and add new location and file will be there for u to use. Worked for me so hopefully will work for u also.
Tried installing Weather Database but Touch Flo kept crashing tried loads of versions but same result so i tried this method and bingo it worked .
Hope this helps
Thanks
Eggie
Hi all, i just wanna share how i am doing it.
1. Edit 2330dc3c_manila in the sql lite to edit your city
2. Copy the 2330dc3c_manila to storage card
3. use total commander / resco explorer copy 2330dc3c_manila file to /windows (OVERWRITE IT)
(if you update now, u will receive connection error)
4. install the weather master 1.3
5. run weather master once.
6. turn off the touch flo 3d
7. copy 2330dc3c_manila to windows/ (Do This AGAIN)
8. delete forecast_cache at Application Data\HTC\databases
9. turn on your tf3d
10. you now can update your city.
this way work for me.. CMIIW
Rachmaan said:
Hi,
Why dont you shearch before you open a new Thread !?
you can find about the weather connection etc. in many threads.
BTW there Allready is a DUTTY 3.7 Thread, so i think there is no reason to open a new thread !
Good night ( when you ask a question in the thread about the rom you use, You might get help allot faster )
Click to expand...
Click to collapse
Sometimes a search returns so many results it's all but impossible to find the answer, unless you've been lucky with your chosen search terms.
If you've found the answer, a better way to educate people in the ways of searching might be to tell them what search terms you used. A link to the answer that you found by searching will also be useful.
This is a huge forum, with hundreds of threads and many thousands of posts, and tracking down the few posts that might help with an issue can sometimes be very difficult.
WeeJockMacFeegle said:
Sometimes a search returns so many results it's all but impossible to find the answer, unless you've been lucky with your chosen search terms.
If you've found the answer, a better way to educate people in the ways of searching might be to tell them what search terms you used. A link to the answer that you found by searching will also be useful.
This is a huge forum, with hundreds of threads and many thousands of posts, and tracking down the few posts that might help with an issue can sometimes be very difficult.
Click to expand...
Click to collapse
Please try and follow forum rules and don't open new threads unless absolutely necessary!!
I agree that it can be hard to find answers especially in long threads, but if search didn't help, why not ask this question within thread. There is already a discussion at present in Duttys V3.7 thread about this subject with possible solutions so NO need to open new thread
Thanx
Well to get a long story short,im not a complete noob in the rooting,optimising,flashing bussiness.
So dont tell me flash this kernel or this stock rom,or this or that.
The problem after hours of searching is a bad app.
I have bought over 500 apps cause i want to support the community.
So,when i restore all my apps,when the phone starts,after the home screen loads AT THE MOMENT WHERE IN TOUCHWIZ OR ADW OR WHATEVER THE APPS ARE FINALLY LOADED
REBOOT,hot reboot most of the times...
I tried everything...startup managers to block everything and i mean everything...
Rescan media root app to stop scanning of sdcard...
Everything,no matter if it froyo,ginger,ics,stock,rooted or WHATEVER.
Of course i can install one app at a time an reboot,to see what happens but that will take ages and also maybe one app 'hit' with another...
So help me find the bad app...
I am no noob but i am no pro either...
So how do i take a logcat? Will that help either way?
Do i have to use adb?
help....
You are kidding right? You have 500 apps installed at the same time? Why on Earth? I think you are lucky the phone even tries to boot...
On to your problem at hand - no one here will be able to help you with the info you provided.
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
kylew1212 said:
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
karapoutsoglou said:
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
Click to expand...
Click to collapse
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
kylew1212 said:
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
karapoutsoglou said:
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
Click to expand...
Click to collapse
Unfortunately I have very little adb experience...
Maybe try something like the same command you used
"./adb logcat"
I guess going by what you're saying you could try something like
"./adb logcat -w" try that then maybe replace the w with e..
Keep in mind these are just guesses because I do not know for certain
I will research as soon as possible and write a quide for it as this can benefit lots of people
Sent from my HD2 using xda premium
kylew1212 said:
I will research as soon as possible and write a quide for it as this can benefit lots of people
Click to expand...
Click to collapse
thanx.
i had the same in mind.maybe something good can come out of this
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
avltree said:
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
Click to expand...
Click to collapse
thank you!
great idea,i will test it
yes,i can turn the debug on,because the phone crashes just when all the apps are loaded in the drawer.
it must be a bad app because i used to have many apps since froyo times and no problem.
like 500...and the phone was fast.
i really want to find that bad app and kill it
edit
================================
wow,ddms is a dream! thats what i was looking for!!!
thank you
Sorry for the double post but i thought it needed a single post.
Well,the problem is fixed with the help of you guys!!!
I was getting a hell lot of warnings about watchdog_n and stuff.
I googled it and appeared that a whole bunch of people had the same problem especially with nexus s etc.
They said it was due to some crappy app wanting to auto-sync.
So i did a wipe cache,wipe dalvik cache,fix fc and then when the phone rebooted i disabled the auto-sync.
Guess what,no more loops and soft reboots!!!
I still dont know what app is causing all the problems and propably never will,if you thing that the same apps in my tablet dont cause a thing,but after the auto-sync off the problem is gone.
Good thing though i dont need auto-sync cause its not the best solution...
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..
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?!?
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