Can't collect Androids logs in Eclipse from Moto G5 Plus. - Moto G5 Plus Questions & Answers

Hi guys, I need a help. I can't collect logs in Eclipse from my Moto G5 Plus: Developer option enabled, I can see the device in Eclipse ( but "unknown" displayed instead of the Android version), MTP enabled on the phone, USB Debugging enabled, last drivers installed. I was the same problem with Moto X, but I just refreshed drivers and it helped me. Any suggestion, and thanks for the help.

What logs are you looking for?
You better use Android Studio as it is the standard now

ckret said:
What logs are you looking for?
You better use Android Studio as it is the standard now
Click to expand...
Click to collapse
I need Android logs for testing apps, and I used before only Eclipse.

Related

Android on Beagleboard - Drivers etc.

Hey there, im a software engineering student and i'm pretty new to android development and i'm looking to port android on a custom device
I hope this is the right place to ask. Basically i was wondering if there is a driver list of the available drivers on the kernel supported by android.
Second thing, what's the basic idea of porting usb drivers? i'm looking to use a beagleboard as a base for the prototype with a usb hub. So really i need to know if the usb peripherals attached would work on the android os and what would i need to do if they are not supported.
And basic question... are the drivers in the kernel specific for android? or are they generic? and how are they exposed to the os?
Been doing a bit of research right now and I'm sorta piecing together and trying to understand how everything works
Thanks!!
You are trying to port Android to the BeagleBoard? This is already available:
http://code.google.com/p/rowboat/
I have worked with this code and successfully got it up and running on a C3 BeagleBoard, including keyboard, mouse, Ethernet and HDMI...
LOL... you mood killer!!

Sailfish OS for the Samsung Galaxy S7

I doesn't have enougth rigth to post to roms, so will post here.
WARNING! Everything you do, you do at your own peril and risk. I do not bear any responsibility for your faulty devices.
Knox will tick. ROM in alpha and not suitable for every day use.​
Installation instructions:
1. Install TWRP
2. Reboot in TWRP (Menu unlock phone - Recovery)
3. Wipe -> Format Data -> write - yes -> Enter
4. adb push <LineageOS> /sdcard
5. adb push <SailfishOS> /sdcard
6. Into TWRP: Install <LineageOS>
7. Into TWRP: Install <SailfishOS>
8. Into TWRP: Install <Audio FIX>
9. Reboot in System
Enjoy!
Sailfish OS Android HAL based on Lineage OS 14.1.
Downloads:
TWRP for herolte
Lineage OS 14.1 for herolte
Sailfish OS 2.1.4.14 for herolte
Sailfish Galaxy S7 audio fix(based on work of painted.man)
Sources:
https://github.com/Driim
Build guide can be found here.
Problems:
1. WLAN worked partially(can't remember network to automatically connect after reboot)
2. Bluetooth not working
3. NFC not working
4. Fingerprint not working (Sailfish problem)
Debug:
In Ubuntu. Connect USB cable. telnet 192.168.2.15 2323 or ssh.
Changelog:
30.03.2018
Update to Sailfish OS 2.1.4.14
GSM calls fix
12.02.2018
Working mobile data and sms.
Great for a start! Have you tried flashing only the Sailfish ROM to see if it works without having to flash LineageOS?
CyanogenLover said:
Great for a start! Have you tried flashing only the Sailfish ROM to see if it works without having to flash LineageOS?
Click to expand...
Click to collapse
It's pointless, the Sailfish OS uses Lineage OS HAL layer to work with hardware, without Lineage OS it won't start.
Tried this. First off amazing job. I was trying to install Android apps but cant find android support on app store
dylanneve1 said:
Tried this. First off amazing job. I was trying to install Android apps but cant find android support on app store
Click to expand...
Click to collapse
I'm focused on hardware support. Android applications did not even look.
lSDriim said:
I'm focused on hardware support. Android applications did not even look.
Click to expand...
Click to collapse
Yeah you're right.
lSDriim said:
It's pointless, the Sailfish OS uses Lineage OS HAL layer to work with hardware, without Lineage OS it won't start.
Click to expand...
Click to collapse
Then you need to extract the components that make up the HAL layer. If you don't know how to do this, you could try asking around XDA or doing some web searching, but I'm afraid that I can't help you by actually doing it; I can only provide suggestions. However, since I'm quite interested, I'll stay subscribed to your post here.
---------- Post added at 04:39 PM ---------- Previous post was at 04:34 PM ----------
Please provide more screenshots!
CyanogenLover said:
Then you need to extract the components that make up the HAL layer. If you don't know how to do this, you could try asking around XDA or doing some web searching, but I'm afraid that I can't help you by actually doing it; I can only provide suggestions. However, since I'm quite interested, I'll stay subscribed to your post here.
---------- Post added at 04:39 PM ---------- Previous post was at 04:34 PM ----------
Please provide more screenshots!
Click to expand...
Click to collapse
I think you do not quite understand. I already extracted them and just wrote the version from which I extracted. So there are no Lineage OS on phone, only Sailfish OS and HAL components from Lineage OS 14.1(only proprietary components).
I update release and add new screenshots.
lSDriim said:
I think you do not quite understand. I already extracted them and just wrote the version from which I extracted. So there are no Lineage OS on phone, only Sailfish OS and HAL components from Lineage OS 14.1(only proprietary components).
Click to expand...
Click to collapse
Thanks for clearing that up. You probably should figure out how to merge the two packages together, so we don't have to flash two separate packages, one before the other. Also, see what you can find out about the remaining problems. Try to get other developers involved. Also, you can always Google, Yahoo, Bing, DuckDuckGo, Yandex, etc. anything you need help with. I find most solutions on the net.
CyanogenLover said:
Thanks for clearing that up. You probably should figure out how to merge the two packages together, so we don't have to flash two separate packages, one before the other. Also, see what you can find out about the remaining problems. Try to get other developers involved. Also, you can always Google, Yahoo, Bing, DuckDuckGo, Yandex, etc. anything you need help with. I find most solutions on the net.
Click to expand...
Click to collapse
Merging of two packets, it's question for Sailfish OS developers, because it's the only way to install Sailfish.
Some people work on solving problems, I also asked about this problems on sailfish porters irc channel. I write this thread to get other developers involved.
lSDriim said:
Merging of two packets, it's question for Sailfish OS developers, because it's the only way to install Sailfish.
Some people work on solving problems, I also asked about this problems on sailfish porters irc channel. I write this thread to get other developers involved.
Click to expand...
Click to collapse
Aren't you a developer?!? Just because you aren't an employee at Jolla doesn't mean you're not developing Sailfish! After all, isn't it opensource?
Admittedly though, I'm a novice too when it comes to developing OSes, however I'm still studying more programming languages. I'm interested in Java, Python, and C++, which may help in diagnosing problems with your build. As for actually applying it, I don't know how I could test it without messing up my S7 Edge.
CyanogenLover said:
Aren't you a developer?!? Just because you aren't an employee at Jolla doesn't mean you're not developing Sailfish! After all, isn't it opensource?
Admittedly though, I'm a novice too when it comes to developing OSes, however I'm still studying more programming languages. I'm interested in Java, Python, and C++, which may help in diagnosing problems with your build. As for actually applying it, I don't know how I could test it without messing up my S7 Edge.
Click to expand...
Click to collapse
Sailfish OS is open-source based, not all parts of Jolla is opened. But open part must be enougth to port new device.
To develop new Oses you need to know C(most of the system programming), C++ and Bash. You could try do S7 Edge port, but it better to have special phone fo this
I looked how can I separate Sailfish from Lineage OS and found Halium projects, that based on Ubuntu Touch. They start Android HAL in container, so system is more clean, now I am testing Halium build.
lSDriim said:
Sailfish OS is open-source based, not all parts of Jolla is opened. But open part must be enough to port new device.
Click to expand...
Click to collapse
So, what parts of the OS are opensource? Just curious; I know very little about Sailfish source code.
To develop new Oses you need to know C(most of the system programming), C++ and Bash. You could try do S7 Edge port, but it better to have special phone fo this
Click to expand...
Click to collapse
I'm learning C++, and I know some Bash. I might be able to diagnose problems if you'll output some log info. Try to be as descriptive as possible.
I looked how can I separate Sailfish from Lineage OS and found Halium projects, that based on Ubuntu Touch. They start Android HAL in container, so system is more clean, now I am testing Halium build.
Click to expand...
Click to collapse
Ah, Ubuntu Touch! That was a good venture. Too bad it didn't last. Let me know if it works better as the HAL for your project.
CyanogenLover said:
So, what parts of the OS are opensource? Just curious; I know very little about Sailfish source code.
Click to expand...
Click to collapse
Almost all except UI.
I'm learning C++, and I know some Bash. I might be able to diagnose problems if you'll output some log info. Try to be as descriptive as possible.
Click to expand...
Click to collapse
Bad idea, to much logs. If you not familiar with ofono, pulseaudio and etc, logs will not help.
lSDriim said:
Bad idea, to much logs. If you not familiar with ofono, pulseaudio and etc, logs will not help.
Click to expand...
Click to collapse
Not the entire logs! Just the ones with the errors that are produced from whatever needs fixing. Some commands that output constant log updates have filters. For instance, one way I diagnose a problem on Android is connect the device to my laptop, run "adb logcat *:E", repeat the action on the device that works improperly, then stop the output (usually CTRL + C) and scan the errors for the ones about my issue. If there is still too much to sift through, I try again, setting more filters. You can learn what filters you can apply by typing " adb logcat -h".
I don't know if adb works with Sailfish, but you might could discover logcat or something similar that will filter logs and output only the relevant information. As for what you just mentioned, I can diagnose issues with many Linux-based programs. I use Ubuntu. :victory:
As for the Wi-Fi not reconnecting; On the s7 atleast (probably more) there's a line in the build.prop "ro.securestorage.support"
Change that to the opposite of what it's on
solution for audio
I found solution for audio problem.
You have to edit /system/etc/audio_policy.conf:
- Delete AUDIO_OUTPUT_FLAG_DEEP_BUFFER flag on primary audio device
- Comment sections tms and playback_record
You also can pass argument config to pulseaudio-modules-droid and set location to your correct config file instead of editing vendor file.
continua el proyecto esta bien bueno 7u7
lSDriim said:
Almost all except UI.
Bad idea, to much logs. If you not familiar with ofono, pulseaudio and etc, logs will not help.
Click to expand...
Click to collapse
plss for s7 edge
Mujeeb64 said:
plss for s7 edge
Click to expand...
Click to collapse
I do not have Galaxy S7 Edge, but someone else can do it.

Android SDK

hello
i use Android SDK to monitor theme
But now with my new Note9 I can not get my phone recognized in the app.
I Don't know why
Thanks for help
Android Sdk might be missing libraries to recognise Oreo 8.1. Check the available updates
raul6 said:
Android Sdk might be missing libraries to recognise Oreo 8.1. Check the available updates
Click to expand...
Click to collapse
and with android studio is there a way to make a dump view hierarchy ?
I just find layout inspector but it doesn't work

Yoga Smart Tab

Hello,
So I got a Lenovo Smart Tab (yt-x703f) and really want to flash TWRP to it, so I can flash LineageOS rom, but it seems like there's no support for it, or even a subthread on XDA.
(I tried various twrp images)
Anyone got some experience with that tablet and have something working?
Cheers
For some reason this device gets the silent treatment on all fora. I can't figure out why, this could be a great multimedia device with some adjustments. batt life is great as is the sound. Screen is ok ish and the speed needs to be tweaked, but no one is willing to tweak
You can root the device and even flash a GSI on it. Tested myself and everything is working
Yoga Smart Tab - Iron Grey​Part Number: ZA3V0005US
Not sure if we are talking about the same device but lenovo does not support their mid tier devices with OS updates and would like to install a bloatless OS also pie is really dated and wondering if i will run in to issues with app compatibility. There is also that issue where it won't run HD in netflix because netflix is a static app and can not be removed and reinstalled. Hence bloatware and would love a clean google experience.
Darthdiddy said:
Yoga Smart Tab - Iron Grey​Part Number: ZA3V0005US
Not sure if we are talking about the same device but lenovo does not support their mid tier devices with OS updates and would like to install a bloatless OS also pie is really dated and wondering if i will run in to issues with app compatibility. There is also that issue where it won't run HD in netflix because netflix is a static app and can not be removed and reinstalled. Hence bloatware and would love a clean google experience.
Click to expand...
Click to collapse
Flashing a GSI might help if the device supports Project Treble. Basically any device launched with Android 8 and above should support Project Treble.
Hi, I have a Lenovo Yoga smart tab (YT-X705L) and I want to install a new rom on it. I’m not an IT wizard so I need help with that. Would you find anyone who can give step-by-step instructions from start to finish with download links.
And if you can find experiences on how anything works (which is GSI). Thanks in advance.
mrfreakFIN said:
Hi, I have a Lenovo Yoga smart tab (YT-X705L) and I want to install a new rom on it. I’m not an IT wizard so I need help with that. Would you find anyone who can give step-by-step instructions from start to finish with download links.
And if you can find experiences on how anything works (which is GSI). Thanks in advance.
Click to expand...
Click to collapse
Hello @mrfreakFIN . I have made a detailed thread about flashing GSI on this tablet. Check it here

Help with small predicament please *reward*

Hello all,
I have a Samsung Galaxy Tab A 10.1 T- 597V (verizon oem locked) and I need to install an app on it, DJI FLY for my drone.
- Now the app will not install. I tried to install the apk file directly from the tablet, I tried to install it via adb with no luck.
- The tablet it OEM locked, so I can not root it.. I updated it to android 10 from 9 hoping it would let me install it.. nope,
- The DJI Fly App requires 64 bit, the tablet is 64 bit, however I am not sure if the android v10 thats on there is 64 bit
I've been searching for days.. my tech savviness gets crappier the older I get, I really suck at the internet now LOL
The reason I want to use this tablet specifically for this is because it's the perfect size, and brightness which is very hard to find. I have a couple of other tablets and phones that I use for my drones, but this would literally be perfect. The next solution is just to buy another tablet, but for the price range nothing compares to this, and I feel like a hoarder and will get yelled at by my SO for having so much crap.
If anyone can find me a solution, scouts honor I will pp/venmo you $50 same day, no matter how big or small the advice is.
- is there anyway to force install this app?
- is there anyway to root this locked device or a workaround to install another OS?
- Anything I can do at all besides buying another tablet which is my last resport?
exact tablet specs https://whatismyphone.com/vendors/samsung/galaxy-tab-a-10-5-inch-lte-sm-t597v-verizon
direct link to apk https://service-adhoc.dji.com/download/app/android/3b03cb95-bc4b-4b62-b4ab-9cf977d77309
Please and thank you!!!
yergo88 said:
- The DJI Fly App requires 64 bit, the tablet is 64 bit, however I am not sure if the android v10 thats on there is 64 bit
Click to expand...
Click to collapse
Download device check from
DevCheck Device & System Info - Apps on Google Play
Testing, tools and complete information about your hardware and operating system
play.google.com
Open device check app, goto to system, scroll to Operating system. It will tell you the architecture whether it is 32 or 64 bit.
retiredtab said:
Download device check from
DevCheck Device & System Info - Apps on Google Play
Testing, tools and complete information about your hardware and operating system
play.google.com
Open device check app, goto to system, scroll to Operating system. It will tell you the architecture whether it is 32 or 64 bit.
Click to expand...
Click to collapse
the OS is 32-bit, trying anyway possible to get a 64 bit OS on here
yergo88 said:
the OS is 32-bit, trying anyway possible to get a 64 bit OS on here
Click to expand...
Click to collapse
Check out
[RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597]
Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597 TWRP and Lineage 16/17.1 for (SM-T590/SM-T595/SM-T597)!!!!!!!!!!!!!!!!!!!!! BROUGHT TO YOU BY: MrHomebrew BIG CREDIT TO: Rupansh (For his time, work: dedication and discovery on how to achieve TWRP...
forum.xda-developers.com
It's definitely for the advanced user and the chances of something going wrong is high, but it specifically lists the SM-T597.
Before attempting the above, you should try to ask someone who has been through the process to run device check to see if the OS is 32 or 64 bit in that thread.
retiredtab said:
Check out
[RECOVERY][ROM][ROOT][UNOFFICAL] TWRP 3.3.1-0 + Lineage [SM-T590/SM-T595/SM-T597]
Galaxy Tab A 10.5 SM-T590/SM-T595/SM-T597 TWRP and Lineage 16/17.1 for (SM-T590/SM-T595/SM-T597)!!!!!!!!!!!!!!!!!!!!! BROUGHT TO YOU BY: MrHomebrew BIG CREDIT TO: Rupansh (For his time, work: dedication and discovery on how to achieve TWRP...
forum.xda-developers.com
It's definitely for the advanced user and the chances of something going wrong is high, but it specifically lists the SM-T597.
Before attempting the above, you should try to ask someone who has been through the process to run device check to see if the OS is 32 or 64 bit in that thread.
Click to expand...
Click to collapse
Thank you for the response!! The links are all dead I was going to try that but I just cant figure it out. And also there is no OEM unlock option he states on the V version
yergo88 said:
Thank you for the response!! The links are all dead I was going to try that but I just cant figure it out. And also there is no OEM unlock option he states on the V version
Click to expand...
Click to collapse
The XDA forum links might be dead due to the migration on Dec 1, 2020 from the old platform to Xenforo. People were warned about it, but not everyone saw the notice I guess. I didn't check the other links though.
Sometimes the OEM unlock option is just people cut&paste instructions. Some tablets have it and some don't. I don't know about yours specifically as I don't have it.
yergo88 said:
Thank you for the response!! The links are all dead I was going to try that but I just cant figure it out. And also there is no OEM unlock option he states on the V version
Click to expand...
Click to collapse
If the app requires 64-bit, and the OEM does not allow you to install a 64-bit version of android, you are SOL.
Ethan Weegee said:
If the app requires 64-bit, and the OEM does not allow you to install a 64-bit version of android, you are SOL.
Click to expand...
Click to collapse
I figured.. I just bought a 2019 version unlocked hopefully I will get better luck with that.
Thank you though!!!

Categories

Resources