[Q] Android DEBUG Tool??? - Question for DEVS - Hero CDMA Q&A, Help & Troubleshooting

Is there a way to analyze what is wrong with someone's ROM and fix it without having to abandon the ROM to a different one, or waiting forever for someone else to maybe fix it? I've had to go to quite a few different ROMs as of late to get the functionality that I'm looking for because things didn't work with many ROMs, they had things broken. I would rather just learn how to fix them and then even post a fix for everyone. Devs, is this possible or would this only be something that the ROM COOK could do? Two recent examples include:
1. USB Tethering connecting to my PC, giving my PC a LAN IP, but not being able to get anywhere on my PC while my phone is still able to surf.
2. Bluetooth AD2P hiccups.
Then also add more functionality, like EPST functionality in Froyo and Gingerbread.
I've done a bit with logcat but as of yet is difficult for me to understand. I've successfully used debugging tools on Windows however in order to fix problems with applications that were hanging up on bad files, dlls, etc.. Was hoping I could learn how to do it with Android. Any help is appreciated.

petermg said:
Is there a way to analyze what is wrong with someone's ROM and fix it without having to abandon the ROM to a different one, or waiting forever for someone else to maybe fix it? I've had to go to quite a few different ROMs as of late to get the functionality that I'm looking for because things didn't work with many ROMs, they had things broken. I would rather just learn how to fix them and then even post a fix for everyone. Devs, is this possible or would this only be something that the ROM COOK could do? Two recent examples include:
1. USB Tethering connecting to my PC, giving my PC a LAN IP, but not being able to get anywhere on my PC while my phone is still able to surf.
2. Bluetooth AD2P hiccups.
Then also add more functionality, like EPST functionality in Froyo and Gingerbread.
I've done a bit with logcat but as of yet is difficult for me to understand. I've successfully used debugging tools on Windows however in order to fix problems with applications that were hanging up on bad files, dlls, etc.. Was hoping I could learn how to do it with Android. Any help is appreciated.
Click to expand...
Click to collapse
If you don't understand what the logcat is telling you, you will have a hard time writing any code for a fix. Might want to invest in a "linux for dummies" book and start there. I think there is even a book like that for android programming out now, iirc...
nandroids are for
sissies

Redundant posts cleaned out.

Related

need some serious developer's input.

I need some input from serious developers, damageless, darch, gbhill, toast, etc. people who muck around in the real **** and have a deep understanding of the android operating system.
i have a hero that is no longer on the mobile network, and i want to turn it into a straight up PDA. i want to totally and completely remove anything that has to do with phone calls, mms, sms, and mobile network. ENTIRELY.
the only problem is that when i try to remove phone stuff from system/app, i get constant FC's until i nandroid restore.
how can i do this? anyone bored enough to try to help?
once again, i want to remove EVERY and ANYTHING that has to do with mobile networks and phone usage.
maybe wipe and just install debian? is this possible?
what can actually be DONE with this platform?
im looking for a discussion, some pointers of where to start learning, and some forward momentum on this.
thanks, guys.
sleejay said:
I need some input from serious developers, damageless, darch, gbhill, toast, etc. people who muck around in the real **** and have a deep understanding of the android operating system.
i have a hero that is no longer on the mobile network, and i want to turn it into a straight up PDA. i want to totally and completely remove anything that has to do with phone calls, mms, sms, and mobile network. ENTIRELY.
the only problem is that when i try to remove phone stuff from system/app, i get constant FC's until i nandroid restore.
how can i do this? anyone bored enough to try to help?
once again, i want to remove EVERY and ANYTHING that has to do with mobile networks and phone usage.
maybe wipe and just install debian? is this possible?
what can actually be DONE with this platform?
im looking for a discussion, some pointers of where to start learning, and some forward momentum on this.
thanks, guys.
Click to expand...
Click to collapse
You can install Debian, but it would be a pain to use and you'd have horrible battery life.
It would be easier taking something already stripped down, and stripping it down further.
I've been delving into this, and I have something working with no phone mms nothing.
I'll release something like this based off of Darch's build. It'll have a few issues, but it won't have any radio access to Sprint; just wifi.
You will want to look into an AOSP rom.. Since alot of htc's stuff all relies on one another. Alot of stuff is worked into htcs framework.
An aosp rom would be a good choice. And maybe just set airplane mode on so it doesnt connect to the network at all. This could be a temporary thing until something better comes along.
Decad3nce said:
You can install Debian, but it would be a pain to use and you'd have horrible battery life.
It would be easier taking something already stripped down, and stripping it down further.
I've been delving into this, and I have something working with no phone mms nothing.
I'll release something like this based off of Darch's build. It'll have a few issues, but it won't have any radio access to Sprint; just wifi.
Click to expand...
Click to collapse
exactly what i am looking for. i want to remove ALL radio/mobile network/phone dependencies. can you tell me how you did it?
sleejay said:
exactly what i am looking for. i want to remove ALL radio/mobile network/phone dependencies. can you tell me how you did it?
Click to expand...
Click to collapse
Once I upload it .
It's not much work. Just taking out the correct .apk's to ensure stability. And then adjusting some settings so that the radio never even turns on.
why would you need to do that anyway?
Why use the phone functions of a phone, If you don't have any service?
I think it's a great idea, I went 3 months using my hero has a pda using airplane mode and an app from the market that let me untethered wifi from airplane mode. Must say battery life was short of amazing but with a rom built for the very purpose I can see even more potential.
Thread Moved.
Decad3nce said:
Once I upload it .
It's not much work. Just taking out the correct .apk's to ensure stability. And then adjusting some settings so that the radio never even turns on.
Click to expand...
Click to collapse
as soon as i remove com.android.phone.apk i start with the constant and steady FC's. what is calling that apk?

[Q] wireless or usb tethering for captivate

I need help setting up tethering. Which is best/easiest? Which will present least problems with my phone? I have already rooted my phone and am having some clitches(lagging,powering off,just seems weird) I am not very savy on technical operations and am very much in need of some very detailed step by step help and info. I am very inexperienced on anything as far as these types of things go and would really appreciate any help but would love to have anyone who would be willing to give some one on one help to a total newbie. Please anyone willing to bring an old man into the age of technology?
Search for pre8 in the captivate general section. Easiest way is to just install that.
Or turn on airplane mode, turn on wifi, connect to a network. Go to market, install wireless tether. That's pre9, it works too, but has some bugs.
From a phone
or better yet, flash one of the Froyo based ROMs in the development section that has the native wireless AP in it ...
You'll also get a lag fix with most of them, so better performance overall.
Just need to install ROM Manager from the market, and spend some time reading about Clockwork Recovery flashing. It's really pretty easy to do.

Just got a Rogers Captivate (i896) - New to Android & Rooting, Couple questions

Hey everyone, I just recently got a Samsung Captivate with Rogers, which is the i896.
I've been hearing a lot about rooting lately and i'm starting to understand a little more about what it is exactly. I'm interested in the idea that it can help speed up the phone and allow for more apps, but I have a few questions.
1) Where can I find the most recent way to root a ROGERS Captivate? I was reading around and read that the "One click fix" does not work anymore
2) Will rooting my phone change the interface of the phone?
3) If something goes wrong and my phone doesn't root, can I go back to the default settings easily?
I might have more questions later on but thats it for now. I'd just also like to hear your opinions on rooting and what exactly YOU have been able to do with your phone by rooting.
Thanks!
welcome ill answer your qs first then ill give you some links to help you out
A)rooting and flashing roms (2 diff things) are easiest done from STOCK 2.1 (which you should have) if you plan on flashing custom roms DONT do the rogers/samsung keis firmware update. it changes the recovery to 3e. (ink below if needed)
B) rooting does not change the interface. ROMS DO
C) if you cant successfully root, nothing has changed. you should be able to tho. and you can UNROOT, and wipe to factory too. for warranty repairs and they will never know.
OPPINION:
custom roms are the way to go, more current, full featured complete and on time, cutomizable, fun, and brain-power using than stock roms.
MY ADVICE: DO IT but TAKE YOUR TIME AND READ. I READ FOR 3 or 4 days before i touched a thing!! and still had very minor issues and things that had to be ironed out. dont let that scare you. its a learning experience. hopefully with the links i give you you will have less SEARCHING TO DO. but you my freind, are in the right fourm and right section, too! i have a good feeling about you already!
YOU CAN DO IT WATERBOY!!!
LINKS!!!!
http://forum.xda-developers.com/showthread.php?t=858765 start here.
http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SGH-I896 i896 specific crap but see i897 page too, same phone same guts (see rooting, hell read the whole thing)
http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SGH-I897 i897 wiki
http://forum.xda-developers.com/showthread.php?t=872455
http://forum.xda-developers.com/showthread.php?t=905042
http://forum.xda-developers.com/showthread.php?t=909213 (3e recovery if you run into that)
oh and it took me forever to learn that there is an ODIN one-click, and an Odin3 1.7, both flashing programs but DIFFERENT, we can use ODIN one-click but not recomended it flashes AT&T stock back. ALSO not to be confused with one-click ROOT,,,
Typically its best to read around but you can use the following for rooting and unrooting
It doesn't change the interface
http://forum.xda-developers.com/showthread.php?t=803682
I used it, no issues and now with a new ROM as well - you will stumble on many thing but this site has everything but u need to read a bit
Hey there, the rogers captivate is the same as the at&t captivate. I found a rogers phone in the snow, wiped, rooted and unlocked it. Installed at&t firmware and then flashed serendipity. I'm using it on telus no problem. Everything in this captivate forum will work great.
Sent from my SAMSUNG-SGH-I897 using XDA App
First of all, thank you guys so much for giving me real replies instead of a bunch of "Go read for yourself" or "try the search button" lol... I've been doing some reading but I needed to ask a few direct questions.
@Trusselo, i'm not too ignorant to computers. I know my way around a computer and used to do some web design and basic coding so i'm somewhat okay.
My only concern is that once i've rooted my phone, I have to use some sort of unix/linux commands to work around my phone and do things? Is this true? Also, I read that the rooted version has a different keyboard? I still have a hard time getting used to this touchscreen board.
SIDE QUESTION ABOUT CAPTIVATE AND WIFI: This is my biggest problem right now, its actually a small problem but it gets annoying. Basically, my WiFi stays connected when i'm at home but sometimes it seems like it slows done or the connection lags or even stops working. I can usually tell if this is happening because pages don't load fast enough in the browser or don't load at all. While this is happening, my wifi connection still says "Connected" though. I always have to go back, disconnect, re-type my password, connect again. Then I go back and it works fine. Is there any way to fix this?
gs1003 said:
First of all, thank you guys so much for giving me real replies instead of a bunch of "Go read for yourself" or "try the search button" lol... I've been doing some reading but I needed to ask a few direct questions.
@Trusselo, i'm not too ignorant to computers. I know my way around a computer and used to do some web design and basic coding so i'm somewhat okay.
My only concern is that once i've rooted my phone, I have to use some sort of unix/linux commands to work around my phone and do things? Is this true? Also, I read that the rooted version has a different keyboard? I still have a hard time getting used to this touchscreen board.
SIDE QUESTION ABOUT CAPTIVATE AND WIFI: This is my biggest problem right now, its actually a small problem but it gets annoying. Basically, my WiFi stays connected when i'm at home but sometimes it seems like it slows done or the connection lags or even stops working. I can usually tell if this is happening because pages don't load fast enough in the browser or don't load at all. While this is happening, my wifi connection still says "Connected" though. I always have to go back, disconnect, re-type my password, connect again. Then I go back and it works fine. Is there any way to fix this?
Click to expand...
Click to collapse
Just rooting the phone does not change the interface at all. Rooting just allows you access to the locked system files so you can change them.
Also you won't have to use terminal commands to do hardly anything, but it would be a good practice to learn how to use it.
From there you can change your keyboard if you like. There are a few keyboards out there that are better than the stock keyboard is, as far a functionality.
Be warned once you get onto flashing and modding your phone, its like an addiction, and you probably wont be able to stop.
thatguysteve said:
Hey there, the rogers captivate is the same as the at&t captivate. I found a rogers phone in the snow, wiped, rooted and unlocked it. Installed at&t firmware and then flashed serendipity. I'm using it on telus no problem. Everything in this captivate forum will work great.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Did you try and find the actual owner first?
Keithyv` said:
Did you try and find the actual owner first?
Click to expand...
Click to collapse
Ya, but no one called the phone. The screen was locked and I couldn't get into the phone. I think it was outside for a while, reported lost and deactivated.
Sent from my SAMSUNG-SGH-I897 using XDA App
gs1003 said:
@Trusselo, i'm not too ignorant to computers. I know my way around a computer and used to do some web design and basic coding so i'm somewhat okay.
My only concern is that once i've rooted my phone, I have to use some sort of unix/linux commands to work around my phone and do things? Is this true? Also, I read that the rooted version has a different keyboard? I still have a hard time getting used to this touchscreen board.
SIDE QUESTION ABOUT CAPTIVATE AND WIFI: This is my biggest problem right now, its actually a small problem but it gets annoying. Basically, my WiFi stays connected when i'm at home but sometimes it seems like it slows done or the connection lags or even stops working. I can usually tell if this is happening because pages don't load fast enough in the browser or don't load at all. While this is happening, my wifi connection still says "Connected" though. I always have to go back, disconnect, re-type my password, connect again. Then I go back and it works fine. Is there any way to fix this?
Click to expand...
Click to collapse
i really hope that you didnt think i was accusing you of not being good with computers or being patronizing, i was just trying to provide you (or anyone else that reads this) with as much info as i could, while not doing the work for you.
terminal commands: ive never had to use them, no adb shell, no terminal emulator on phone, although it wouldnt be outside of my skill, i just prefer to do it without learning something i dont need to. (yet.. still thinking about learning some apping)
keyboard: rooting does not change any part of the UI at all, all rooting does is allow you to access (read / write / copy /delete) protected system files. And you can only do those scary things with use of other root apps after rooting your phone.
wifi: this is why some people flash new modems, if you still have issues and really want to send it back for warranty, dont worry, you can have it back good as new in no time!
Not too sure what you mean by flash new modems... ? And I wasn't accusing you of anything lol. Just letting you know that i'm not 100% dumb when it comes to computer but even then I don't know if I would be ready to use typed commands and stuff to use my phone.
gs1003 said:
Not too sure what you mean by flash new modems... ?
Click to expand...
Click to collapse
The modem is simply what the phone uses for connectivity. It is a separate piece of the firmware that can be flashed on its own. It is a topic that is a little beyond the scope of this post. However, there is a stickied thread in the Captivate development forum called 'the modem thread' that outlines a lot of the information. The main reason many people do this change is that some experience better connectivity, lower battery consumption, and some other benefits. Again modems are beyond the scope of this post, so I encourage you to read that sticky, as there can be some pitfalls to changing modems. Best of luck and enjoy the great phone!
Oh okay thank you. I thought you meant I would have to take my phone back and get a new one. The WiFi works fine, its just that I have to disconnect, enter my wifi password, then reconnect sometimes for it to work properly.
Do you mean that the WiFi is something that can be changed after the phone is rooted to work better?
Can't say for sure, but it's always worth rooting anyway.
Sent from my SAMSUNG-SGH-I897 using XDA App

Help please..

i recently installed an MIUI rom and like most of its features but a very big thing its lacking for me is the 'Internet pass through' that i used a lot when i was on stock Sense rom.
can anyone help me with this..?? i need 'Internet pass through' everyday for almost every single hour while i am at home.. is there any app out there which can help me or something else..??
so many views but no reply..
Do you mean that you'd like to use your PC as the phones "modem" and connect through a USB cable? If so it can be done through settings.
I haven't ever used that particular ROM but on my phone using Android Rev its possible by going:
Settings > Connect to PC > Default Connection Type > Internet pass-through
Otherwise if that ROM doesn't have it then maybe search these forums or google "Reverse tethering android"
tried it but nothing..
Definitely looks like a Sense-only feature, unless you want to start messing around with adb, port forwarding and such:
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
I guess you have to decide whether you're brave and/or patient enough to go through all that just to see if it'll work. There definitely isn't an easy fix outside using a ROM with Sense.
doctorsax said:
Definitely looks like a Sense-only feature, unless you want to start messing around with adb, port forwarding and such:
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
I guess you have to decide whether you're brave and/or patient enough to go through all that just to see if it'll work. There definitely isn't an easy fix outside using a ROM with Sense.
Click to expand...
Click to collapse
Proxoid is easier than all that IMO... http://code.google.com/p/proxoid/wiki/installation

All I want is usb storage and be able to charge on 3G Nexus 7

I've read various posts on this,most with no definitive fix or solution.
I plan to use my 3G N7 as a permanent in-car build, which I will be starting next week. I've al but given up on USB audio out at the moment, but what I really want is to be able to charge the tablet and at the same time connect to either a USB stick or a small hard drive. Why google makes this so hard I have no idea. It would appear from what I've read that it should be possible, but how?
Hopefully get a start to finish guide with confirmation that it actually works.
Thanks
ZakScoob said:
I've read various posts on this,most with no definitive fix or solution.
I plan to use my 3G N7 as a permanent in-car build, which I will be starting next week. I've al but given up on USB audio out at the moment, but what I really want is to be able to charge the tablet and at the same time connect to either a USB stick or a small hard drive. Why google makes this so hard I have no idea. It would appear from what I've read that it should be possible, but how?
Hopefully get a start to finish guide with confirmation that it actually works.
Thanks
Click to expand...
Click to collapse
Google makes it difficult because a) The Nexus 7 is not intended to be used that way and b) Adding kernel-side support for it could cause new problems not to mention cost money.
However, you are in luck as this can be accomplished using a custom ROM, custom kernel and a Y-cable. Hopefully you find what you are looking for in this thread - if not, inform me and / or search the forums for something in the nature of "Y-cable".

Categories

Resources