How do I use ADB, and how do I create a logcat? - Vibrant Q&A, Help & Troubleshooting

Wondering if someone can provide a dumbed down, yet detailed set of instructions on how to use ADB to create a "logcat" ?
Thanks!

Best off doing a google search, it's easy... but the instructions are long.
the G1 part of XDA has an ADB for dumbies

Google DroidExplorer....sets everything up for you...
Sent from my XDA app cuz I'm stalking your mom....

^ really good point... pretty amazing program.
Also, if you just need a log, download alogcat from the market.

Related

rom building

Is there an easy way to build a rom such as using a program to do most of the work? like with adb you can use droid explorer to set up and use adb which is far easier than setting it up by yourself.
In essence I guess I'm asking if there's any shortcuts you can take.
Thanks in advance.
Sent from my overclocked EzHero using XDA App
ozydious said:
Is there an easy way to build a rom such as using a program to do most of the work? like with adb you can use droid explorer to set up and use adb which is far easier than setting it up by yourself.
In essence I guess I'm asking if there's any shortcuts you can take.
Thanks in advance.
Sent from my overclocked EzHero using XDA App
Click to expand...
Click to collapse
Well, if you want to take an existing ROM and use that as a base, then dsixda's kitchen (http://forum.xda-developers.com/showpost.php?p=5626292&postcount=1) is really helpful. If you want to start from 'scratch' (source code), then I haven't seen a good solution yet. However, progress is being made on my Android Builder (see sig) and another similar project that has yet to be announced.
There are other tools to help with other things like -
http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1
http://forum.xda-developers.com/showthread.php?t=598026
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=514412
I have yet to use any of these, but they might be useful. There is no dran 'n drop GUI to do this stuff yet, no. And even with these tools, you'll still have a learning curve. It does take some time.

[Q] Facebook app is "not compatiable" on nightly 177??

Is anyone else having this problem? I'm also not able to download the Barnes and Noble reader for android frm the market. I've never had the 7.0.3 stable before but maybe the 7.0.3 stable is better??? idk, but i need some help.
The wise learn to search before making a new thread
Sent from my NookColor using Tapatalk
Edit /system/build.prop to show that qemu.sf.lcd_density=160 not 161. Force quit Market and clear its data. Reboot. That makes it work. No need to tell people to "search the forums." It's not hard to just post the solution, instead.
aegrotatio said:
No need to tell people to "search the forums." It's not hard to just post the solution, instead.
Click to expand...
Click to collapse
Correct; it is much easier to just post the solution, instead. However, I'd side with koopakid08 in his attempt to show the OP how to ask questions the smart way. Teach a man to fish...
inportb said:
Correct; it is much easier to just post the solution, instead. However, I'd side with koopakid08 in his attempt to show the OP how to ask questions the smart way. Teach a man to fish...
Click to expand...
Click to collapse
Or at least link to the threads with the solution to give some sort of direction - if no direct answer is given.
(not aiming this at anyone, only continuing the conversation)
Sorry, but I'm getting very sick of the billions of threads on this topic. Another option is to uninstall market updates and then freeze, delete, or rename marketupdater.apk
Sent from my LG Optimus V using Tapatalk
aegrotatio said:
Edit /system/build.prop to show that qemu.sf.lcd_density=160 not 161. Force quit Market and clear its data. Reboot. That makes it work. No need to tell people to "search the forums." It's not hard to just post the solution, instead.
Click to expand...
Click to collapse
I concur that this trick solves the issue. +1 to your "thanks" dealio.

[Q] How to write a root app?

Hi,
I'm a newbie trying to develop some small utilities. Need some info on how to get started with writing a root app.
Can anyone help, please.
Thanks.
Dude writing root app is way too advance...since you are a noop..try out some videos on youtube and try devlopment on eclipse..this will help you and you can gradually advance...:thumbup:
Press that thanks button if helpful !!
Sent from my GT-S5830 using Tapatalk 2
Thanks. I'm fairly comfortable with eclipse.
I know that root apps is a little advance, but thought I could take my existing app in play store - "virtual reboot" to next level with root.
Amy help would be
Sent from my MB525 using xda app-developers app
This might help: http://shreyagarwal.blog.com/2011/04/20/executing-shell-commands-in-android-applications/
Man i am really impressed by ur app..i guess u should include root functionality...best of luck
Sent from my GT-S5830 using Tapatalk 2
Check this lib. Is a very simplified way to run shell commands, without using outputStreams or stuff like that.
BTW, a root app isn't "more advanced", is the same thing. So, if you know how to develop an app, you can develop a root app
Thanks a lot every one. I'm getting on it
Request to download My app "Virtual reboot" and provide your feedback.
Thank RoberGalarga. That was really helpful

Decompiling an app

I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time
This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.
Thread closed.
Sent from my SGH-I777 using xda app-developers app
lishron said:
I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time
This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.
Thread closed.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
If you search xda or google you will find plenty of tools that will do that for you.
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much
Sent from my SGH-I777 using xda app-developers app
lishron said:
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Apktool, the app by virtuous team, and i think apk manager
Sent by from my Zanpakuto using Getsuga Tensho!
Thanks so much however after posting this I updated to the newest aokp and the issue is resolved. It does still have the sender's name overlapping the date but not the picture overlapping the message. Thanks so much and I will still try the suggested APK editor.
Sent from my SGH-I777 using xda app-developers app
Go check out the Android development guide by Google, you can get several tools to decompile an apk. As well as .dex file
Sent from my SGH-I777 using Tapatalk 2
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.
But on to your original question...
Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
Nobody was being rude. We told him to search and that there are plenty of resources already available to him. Nothing wrong with that. Good luck and happy flashing.
The post was mine and it was not rude in the least. The information for what you need to do is posted. Has been for a few years now. Ever since people started doing customs themes. You will not be able to do this without a computer. All you have to do is decompile the apk, find the XML that displays the mms message and adjust the spacing by a few pixels. And then recompile the apk. There are tut all over the place on how to do this
You may have to be creative in your searches to be lead where you need to go but that is part of the learning that android requires. Sometimes you need to think outside the box to get the outcome you desire.
Batcom2
OneOfMany07 said:
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.
But on to your original question...
Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
Click to expand...
Click to collapse
This only works for 35% of the apk as the XML files are encrypted until decompiled as are the .9 pngs
Batcom2

Anyone can teach me how to make a simple Android app?

Can anyone just teach me the basics of using Eclipse and teach me how to make a simple Android App? I know to make only one simple android app with only Hello World!
I really would like to dive into Android App Development and I don't know how to start. I don't have any experience with Java or other programs.
Every time I try to make an app following android development guide I can not success cause I always getting some Errors, even when I fixed them my App imediatelly force closes. That web site is not explaining me very well. Also tried some guides from other web sites but nop I am not satisfied.
Can anyone just teach me to make simple app and I will work hard and will try to make that app even better and I will try to build my own app. Please. I really love it!
Search for the new Boston in Google there you will find nice free tutorials on Android app development.
Hit thanks if I have helped you.
Sent from my Micromax A110 using xda app-developers app
Techno'CRACKS' said:
Search for the new Boston in Google there you will find nice free tutorials on Android app development.
Hit thanks if I have helped you.
Sent from my Micromax A110 using xda app-developers app
Click to expand...
Click to collapse
i will search on google for new boston and if i make successful an app i give thanks to ur all posts
Hope you will succeed.... All d best.
Sent from my Micromax A110 using xda app-developers app
make your way to java
TroubleShooterâ„¢ said:
make your way to java
Click to expand...
Click to collapse
+1

Categories

Resources