[GUIDE][WIN][HowTo] Create a Logcat via Eclipse using Windows and Wifi - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

I decided to create this thread to show you how easy it is to submit a shorter logcat to the devs and save their time by searching huge logcats full of unimportant information
Im Using Eclipse because auf the better usability and readability of the logcats because there are coloured and you can better setup the filters ... in my point of view
Download Android/Eclipse
Download Android SDK and Eclipse here I'm using the 32Bit edition (maybe something depending on Android will not work if you are using 64Bit, but try it and maybe it works )
Extract Eclipse to your desired directory (I'm using "D:\dev\eclipse", but do as you wanna do)
Extract sdk ("D:\dev\sdk") and "SDK Manager.exe" ("D:\dev")
Create a Desktop or Startmenu Shortcut of eclipse.exe if you wanna to
Click to expand...
Click to collapse
Setup Eclipse
Run eclipse.exe
You need to Select a workspace: (I'm using "D:\dev\workspace", but it doesnt matters), Tick "Use this as the default and do not ask again" to save time on the next starts
Click to expand...
Click to collapse
Add platform-tools to your "path"
Press [Windows]+[R], type SETX PATH "%PATH;D:\dev\sdk\platform-tools"(depending on your directory), press [Enter]
Your should be able now to reach adb by simply type "adb" into Run or Cmd Window
Close the Android IDE Welcome Window
Click to expand...
Click to collapse
Enable LogCat
In the topbar select "Window", move to "Show View and select "Other"
Open "Android", select "LogCat" and then "OK"
LogCat view is created at the bottom window, you can maximise it by doubleclick on LogCat
Click to expand...
Click to collapse
Setup Phone
Enable Developer Options
In Developer Options enable "Android debugging" and "ADB over network" and Remember the IP shown there
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Connect
Press [Windows]+[R]
Type "adb connect 192.168.178.59:5555" and [Enter] This must be the IP of your phone remember a few steps before
If the log not automatically appears you need to add the "Device View" to Eclipse, the same way you added "LogCat" "Window">"Show View">"Other" ... "Android">"Devices" this View helps you to select your device for ADB
Click to expand...
Click to collapse
If Eclipse is still open: Something should happen in the LogCat view (Colourfull )
You can now see the messages provided by the phone in realtime, using mouseover will tell you the features of the logcat view to save/clear/filter the log
enlarge
enlarge
hope I could help
Dont forget to disable network ADB on phone after this

Filter
here i wanna help you to set up some filters to avoid annoying messages like dalvikvm
use the filter line
with java regular expressions
JAVA EXPRESSIONS
tried to make this as easy as possible. correct me please if something is wrong
enlarge
tag:^(?!Choreographer|Trace|Sensor|dalvikvm).*$ text:^(?!set_t).*$
Click to expand...
Click to collapse
The easiest way is to show an example
the expression means: show all lines except of:
tag starts with "Choreographer"
or tag starts with "Trace"
or tag starts with "Sensor"
or tag starts with "dalvikvm
message starts with "set_t"

reserved

Excellent! Thanks a lot.
Sent from my GT-I9070

arkadeep94 said:
Excellent! Thanks a lot.
Sent from my GT-I9070
Click to expand...
Click to collapse
thanks, if there's anything you wanna see more please tell me

Related

SMS BG/Font Customization

What do you think about this? There are MANY elements that can be changed in SMS/mail forms, since they are html - based ones...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note, that the vertical scroll bar is hidden, until it is needed
The bg images can be independently changed for write and read of messages...
Edit:
There is a test bg included as an attachment - only the background is changed in SMS window. You can replace the default image, it is \windows\sms_bg.gif
You can modify the fonts, etc by editing \windows\read_style2.css and \windows\compose_style2.css
\Windows\compose_sms is the file....
Really?
read_sms.html also. As well as compose_style.css and read_style.css
yea XD
how to get rid of scrollbars?
Remove all the
near to the end of the file
The one thing that I can't yet figure is object.richedit font size/background :/ (SMS text input field)
LMFAO I didn't notice that!
ty
how to ...
Hi "_TB_TB_", how can get background images in SMS/mail forms like your picture, Please? Thanks
Simple HTML:
Just create an image similar in size to this:
(240x265)
Modify the < body > tag to make it < body background="file://pathtoimage" bgproperies="fixed"> and voila
read_sms.htm
HI _TB_TB_
I just copy the image you post then i edit the read_sms.htm file under windows and added the following under the body:
<body background="file://windows/sms.gif" bgproperies="fixed">
but after reseting my device to see the effect, i read some messages but didnt saw any image. Did i done it wrong.
Thank you so much.
note:
i save your image under wondows folder as sms.gif.
Re: read_sms.htm
johnance17 said:
[...] bgproperies [...]
Click to expand...
Click to collapse
Use the word bgproperties instead of bgproperies
BGProperties
Hi baniaczek
i used the bgproperties but still no pictures in my read_sms.htm...
_TB_TB_TB any help will be greeatly appreciated.. Thank you so mcuh.
Hi
I have tried this,
Copied the file to PC editted them and when i copied them back I get the 'Access is denied' Error message,
I think those files a protected & Hidden system files when on PC, any way of getting around this?
Yes, yes - bgproperties, not bgproperies
You should REPLACE the < body > tag with < body background="file://\image.gif" bgproperties="fixed" >
Use Total Commander ON your PPC to change attributes (un-check read-only)
i have tried that, but the attribute is re-ticked when the properties are shown again.
Need Your Help
Hi _TB_TB_, can you tell me what software for edit read_sms file? I use internet explorer and Mozilla Firefox to open it but I can't edit the content. Or maybe you can send me UR read_sms and compose_sms files that U have edit. Thanks for ur kindness
1. Extract all files in the packed attachment below to your SD Card,
2. Then use Windows Explore or Resco Explore copy them to Windows directory on your device.
3. There will be some notifications that "...blablabla... might damage your windows" Pass over it, tap on OverWrite.
4. Return to your SMS Inbox, you'll see......
This trick is a nice addition to all those WisBar skins, etc
Use Notepad to edit HTML files
hm, did U notice, that after removing the scrollbars, some text on the right side is cut?
There is? I did not notice that yet. Maybe it would be enough to edit the richedit a little... I'll give it a try, but some screenshots with cut text would be useful
MicMeo said:
1. Extract all files in the packed attachment below to your SD Card,
2. Then use Windows Explore or Resco Explore copy them to Windows directory on your device.
3. There will be some notifications that "...blablabla... might damage your windows" Pass over it, tap on OverWrite.
4. Return to your SMS Inbox, you'll see......
Click to expand...
Click to collapse
Still dont work.
still get the
'Access is dedied' error etc full or write protected.

[APP] ConnectBot for Honeycomb

Posted this on my Twitter (@ruqqq) yesterday. Not sure how many people use ConnectBot (like I do). But anyway, I took a whole day to learn Fragment API and decided to use ConnectBot as my "test subject". Below is the result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
[B]Features:[/B]
- Standard ConnectBot features
- ActionBar UI
- Fragments UI
[B]Known bug:[/B]
- While a console is open, if you click the EditText on bottom right, the console will lose focus. When that happens, click the list item of the current console to regain focus.
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
GitHub Link: https://github.com/ruqqq/connectbot
APK Link: REUPLOADED
I won't continue developing this and I hope somebody out there would improve the code. I've also mention ConnectBot lead developer in my tweet in hope he see this link and would merge my changes.
I get a force close when I 'sudo tail'
sudo tail?
EDIT: Reuploaded with major bugfix thanks to @mattyboy247 report
Attempting to 'sudo tail -f /var/log/apache2/error.log'
FC's at 'sudo tail'
you meant you ran the command on your server? anyway.. try the reuploaded apk.
With the first APK uploaded, after a connection to the server, I would attempt to view its apache2 error log. imediately after typing 'sudo tail ' it would FC.
The re uploaded one seems to be working now. Thanks for this.
I'll fork your Git for future reference to the code, that way I am not depending on you to see why I'm having problems, and can attempt to correct them
sure. please do. i'm only porting the UI for my use and for learning fragment api. i don't intend to further develop or maintain this.
Love the app,
but is there anyway to disable volume control for the control the text size?
is there a way to hide the host list?
What does this do if I may ask?
much apreaciated man, it works wonderfull on my gtab 10.1v.
gqstatus0685 said:
What does this do if I may ask?
Click to expand...
Click to collapse
yeah what does it do? Oo
same thing as connectbot, SSH terminal connections but with a modified UI for honeycomb tablets.
Did you send a pull request on github? Best way to get him to merge things. I know for a fact he watches those.
I have a fork with modification to use Search key on a Transformer for ESC. So I'll learn how to use the pull request function with you.
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
TimD123 said:
Great app idea! I love it. One problem though - didn't install for me. Running rooted stock HC 3.1 on Asus Transformer. I do have the original Connectbot installed, would that have anything to do with it?
Click to expand...
Click to collapse
Yes, in the OP he says in big red letters:
YOU NEED TO UNINSTALL THE CURRENT CONNECTBOT ON YOUR DEVICE BEFORE INSTALLING THIS VERSION BECAUSE OF DIFFERENT SIGNATURES
Click to expand...
Click to collapse
ViViDboarder said:
Yes, in the OP he says in big red letters:
Click to expand...
Click to collapse
D'OH! my bad - thanks for the heads up.
hey arctu, thanks for this, i use connectbot almost every day!
Hello there,
can anybody upload apk somewhere and make a mirror? OP's link doesn't work for me ATM.
TIA
Hi arctu
I just wonder why you used the base ConnectBot.
I prefer the already modified version, Irssi ConnectBot, which sports a bunch of features such as the long touch menu, symbols, device and language specific fixes, etc.
I used to use ConnectBot for local terminal emulating, but then I discovered that one modified for irssi and now I can't do a lot of things on my X10i without it.
I hope you will start to modify Irssi ConnectBot as well.

[DEV ONLY]Ubuntu Touch for Dell Streak 7

First off, this is for the expierenced users only. I will not help you out with this, and I will not fix any bugs you post. I will take care of this as I see it and as the code on Canonical's side develops.
REPEAT: I WILL NOT CARE ABOUT YOUR BUGS
What works:
Boots
Touchscreen
What does not work:
Sound
Wifi
To do:
Fix resolution
Device Tree
https://github.com/giveen/android_device_dell_streak7/tree/ubuntu_touch
Kernel Tree
https://github.com/giveen/kernel_dell_streak7/tree/ubuntu_touch
Build 3:
Boots!, thank you f69m here on xda
Step 1. Flash CM10.1 Beta 1 nvflash from the CM10.1 thread
Step 2. Boot into recovery, factory reset, then format data
Step 3. Flash Device specific flash -> https://docs.google.com/file/d/0B0ozkQsJWIScdThZNVdaMXk1WDg/edit?usp=sharing
Step 4. Flash Ubuntu File -> http://cdimages.ubuntu.com/ubuntu-t...urrent/quantal-preinstalled-phablet-armhf.zip
Step 4a. Reboot
Step 5. Download http://d-h.st/eFQ
Step 5a. adb push libc-2.15.so /data/ubuntu/lib/arm-linux-gnueabihf/libc-2.15.so
Step 6. adb reboot
Step 7. Run these commands
'adb shell'
'ubuntu_chroot shell'
'vi /usr/bin/ubuntu-session'
Find the "grouper" , move your cursor over to the 'g' and then press X, untill grouper is gone
Press ESC, then press I, and then type in "Streak7"
Do the same thing basically on "GRID_UNIT_PX=(adjust the number)"
Press ESC, then press : (<-colon)
Type in 'wq!" and press enter
type in "exit"
type in "reboot"
Set "export GRID_UNIT_PX=8" and "export QTWEBKIT_DPR=1.2"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You will need to keep this plugged in, as there is apps crashing and no power management feature yet, so battery burns quickly. The only thing you can do with it is interact with it via adb shell.
To go back, just flash the CM10.1 pack
Sent from my Nexus 7 using Tapatalk 2
And I've narrowed it down to one error
Code:
/linker ( 532): ics/linker.c:1598| WARNING: Skipping libc.so
Now booting. Need to correct resolution.
Sent from my Nexus 7 using Tapatalk 2
How to edit resolution instructions added, let me know if you find a magical number.
Resolution settings should now be listed and they look great.
This sounds pretty awesome. Great work giveen! I'm going to give this a go this weekend when I have some more time. Out of curiosity what kernel are you using? When a few of us ported desktop ubuntu to the nook color we were able to use a pre existing kernel(nookie froyo kernel I believe, though I'd have to dig through a few hard drives to be sure) which saved us some headaches in the beginning)
Keep it up, loving your work
Sent from my SPH-L710 using Tapatalk
Kernel is stated above, its my custom CM10.1 kernel developed by DJ_Steve and I
There has been no update on this because I am waiting for a new SD card to arrive so I can flash stuff.
Hey giveen...any updates on this?
greenzone560 said:
Hey giveen...any updates on this?
Click to expand...
Click to collapse
I plan on an update soon, yes. I know they made some changes, and I need to catch up on two months of notes.
giveen said:
I plan on an update soon, yes. I know they made some changes, and I need to catch up on two months of notes.
Click to expand...
Click to collapse
Sweet! Can't wait...maybe a little battery managment?
greenzone560 said:
Sweet! Can't wait...maybe a little battery managment?
Click to expand...
Click to collapse
I think the Ubuntu dev's did say they were working on a power management module.
giveen said:
I think the Ubuntu dev's did say they were working on a power management module.
Click to expand...
Click to collapse
Very nice! can't wait for battery management as it will make things much easier.

Auto Wi-Fi ON option not found on sony xperia xz1

Anyone able to enable the new Oreo auto wifi On option? It seems this option is not on the native software of the xz1 compact like it is on other devices.
Does this work?
Tried that. Unfortunately did not work
Drmondoman said:
Tried that. Unfortunately did not work
Click to expand...
Click to collapse
Really?
It worked just fine for me:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--
U guys have instructions on what u used on how u did it.?? I would really appreciate it
So I think the issue is the adb command window won't recognize my phone. I get an error no devices emulators found when I type the adb shell command. Download loaded the software multiple times. Phone set to debug etc. Not sure what I am missing....
Drmondoman said:
So I think the issue is the adb command window won't recognize my phone. I get an error no devices emulators found when I type the adb shell command. Download loaded the software multiple times. Phone set to debug etc. Not sure what I am missing....
Click to expand...
Click to collapse
Maybe you're missing drivers?
So I downloaded the Xperia driver. Unzipped. Do I need to do anything else to the driver software? Sorry a newbie here.
Drmondoman said:
So I downloaded the Xperia driver. Unzipped. Do I need to do anything else to the driver software? Sorry a newbie here.
Click to expand...
Click to collapse
When you plug in the phone to the computer, there's probably an unknown device in Device Manager. Right click on it and choose update drivers, then select the folder you unzipped the drivers to and let Windows install it.
OK did that. It won't let me install the xz1 driver that I downloaded. Keeps telling me current driver (mtp USB) is the most current and up to date driver. Try to work around it but it keeps preventing me from installing the new driver. And if I delete the driver and unplug replug in phone it automatically installs that previous driver.
Well, I'm out of ideas, sorry I couldn't be of help.
Well I appreciate all the suggestions. I'll keep playing around. Not that important of a feature to go to all this trouble. Thanks again!
Works for me (Windows 10 Fall Creators Update on pc, xz1 compact v47.1.A.2.374)
just wondering, this option only turns on the wifi? not off?
Drmondoman said:
Well I appreciate all the suggestions. I'll keep playing around. Not that important of a feature to go to all this trouble. Thanks again!
Click to expand...
Click to collapse
Just in case....did you enable USB debugging?
Yeah usb debugging good. Pretty sure it's all bc my laptop is not letting the phone be recognized by the command prompt. I'm gonna try it on the wife's laptop tonight. See if that works...
Have you tried IFTTT or tasker? You can setup to get the location and turn wifi on or off based on that
skyleth said:
Have you tried IFTTT or tasker? You can setup to get the location and turn wifi on or off based on that
Click to expand...
Click to collapse
You can also use the app "WiFi Automatic" from j4velin: works wery well. Actually i'm using this app to auto disable wifi if not connect for more than 5 minuts, leaving the auto reenable to android 8 built-in option, but you can define on or more zone (by GSM cell) for auto re-enable
Inviato dal mio SM-T700 utilizzando Tapatalk

Surfshark on Manjaro - Stuck on setting up

I don't know why I'm even doing this. My build is pretty locked own as it is and I've use nmap to determine I have no open ports, etc.
BUt still ,I pay for it, so why not, right??
However, using How to set up Surfshark VPN on Linux Manjaro? I'm getting stuck at setting up a new VPN.
In the steps,
Enter the following command to install the Network Manager for the OpenVPN Client:
pacman -Q networkmanager-openvpn
If the Network Manager is already on your device, you will see the following command:
networkmanager-openvpn 1.8.6-1
That works out just right, but no option to add a VPN in my Network Settings
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So moving on, I try to reinstall the Network Manager for OpenVPN
If the Network Manager is not installed, run the following two commands:
pacman -S networkmanager-openvpn
systemctl restart networkmanager
Click to expand...
Click to collapse
The first command reinstalls the manager but the second command fails
Which means I still have no option to add a VPN,
In other words, I never see this:
So what am I missing??
I've personally never used surfshark before but you've got the package that you need to import your VPN's .ovpn file. Once you've got that package installed for NetworkManager are you saying that it's not giving you the option to create and import the .ovpn file in the NetworkManager settings?
ironLink21 said:
are you saying that it's not giving you the option to create and import the .ovpn file in the NetworkManager settings?
Click to expand...
Click to collapse
That's exactly what I'm saying. I've tried several times after reboots, etc and no luck.
looking at your screenshots a little closer you're trying to access the incorrect service. network manager is `
sudo systemctl restart NetworkManager
` take not of the casing of NetworkManager.
Not sure what DE you're using XFCE? I personally use KDE. In the network settings of KDE there is a "+" on the bottom left
Then in the next menu that pops up there will be a section for "VPN connections" in that section, after you restart NetworkManager, will be an OpenVPN option
Then click "create" in those menus there should be an option to upload your .ovpn file that should auto-fill the settings with the information from your .ovpn.
actually if you scroll down further in that menu there is an option for importing a VPN setting (a lot like your one screenshot)
if I click on that it opens up my file manager where I can pick the .ovpn file.
Does yours give you that option?
ironLink21 said:
looking at your screenshots a little closer you're trying to access the incorrect service. network manager is `
sudo systemctl restart NetworkManager
` take not of the casing of NetworkManager.
Not sure what DE you're using XFCE? I personally use KDE. In the network settings of KDE there is a "+" on the bottom left
View attachment 5529859
Then in the next menu that pops up there will be a section for "VPN connections" in that section, after you restart NetworkManager, will be an OpenVPN option
View attachment 5529869Then click "create" in those menus there should be an option to upload your .ovpn file that should auto-fill the settings with the information from your .ovpn.
Click to expand...
Click to collapse
I have that with XFCE, just no choice for OpenVPN - until I corrected the case sensitivity! I owe you a cold beer, mnan!! Good catch!
HipKat said:
I have that with XFCE, just no choice for OpenVPN - until I corrected the case sensitivity! I owe you a cold beer, mnan!! Good catch!
Click to expand...
Click to collapse
Woo hoo!!! Glad that got it working for ya!

Categories

Resources