Hi,
First, I am new as a poster on this forum, but I read it often for info (specially on CM 6 & 7) !
(And second "first" thing, sorry for my bad English, French is not a good situation for that !)
As an engineer student, I am very interested by two things : Android and µC !
So why not combine them !
So I would like to communicate via the USB/Serial port of my N1 (CM7, Build 33) with µControler (in this case Cortex M3 on mbed plateform or arduino like).
So after some research, I found a few informations and condition for that :
- rooted (no problem for that)
- Serial enable Kernel (no info for the CM7 Kernel...if someone know !)
- Chmod the Serial port (possibly the ttyMSM0 ?)
- Something to control the port !
I decided to use this combo :
SL4A + Python (module for SL4A)
And wrote this piece of code to test :
Code:
import android
import os
import serial
import time
droid = android.Android()
try:
arduino = serial.Serial('/dev/ttyMSM0', 9600)
except:
print "Failed to connect on /dev/ttyttyMSM0"
a = 0
while (a < 10):
arduino.write('e')
os.system("echo 'a' > /dev/ttyMSM0")
a = a + 1
print "ok"
time.sleep(2)
But it doesn't work !
The "arduino" object did not exist, because he cant access the port (and I don't know why !)
The line
Code:
os.system("echo 'a' > /dev/ttyMSM0")
was just something like that, without real hope !
All ideas are welcome ! everything !
Thanks,
Pacemk
It's been a long time since I've even tried to port a ROM. Android surely has changed a lot and now I get to meet new errors that I have never seen and have no idea to get past.
Mainly posting this because I only actually have an hour or less every day to work on this, and if I couldn't get it working quickly enough then I'd just leave it up to the community. Used MapleSyrup's AOSP 4.1.1 ROM and Galaxy Nexus's MIUI.US ROM. Whoever can fix this error will win 100 internetz, and maybe a small donation if it's fully booting/working. As I said I really have little time to work on this.
The error;
Code:
W/Zygote ( 105): Class not found for preloading: android.media.AudioManager$2
E/JNIHelp ( 105): Native registration unable to find class 'android/media/videoeditor/VideoEditorProfile', aborting
F/libc ( 105): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 105 (zygote)
MIUI boots to the bootanimation. The animation doesn't loop but the system is looping at that. Want to try an fix it? Here ya go;
By clicking the download link, you fully acknowledge that this ROM is still under development, and not all, if any, features may be available to the user. You also acknowledge that you are fully accountable for any damages, explosions, sword fights, or other unexpected activity that may occur to your device.
http://goo.gl/4zzzl
Btw I see no rules as to whether non-fully-booting ROMs can be placed here so if not... Oops.
GazaIan said:
Code:
W/Zygote ( 105): Class not found for preloading: android.media.AudioManager$2
E/JNIHelp ( 105): Native registration unable to find class 'android/media/videoeditor/VideoEditorProfile', aborting
F/libc ( 105): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 105 (zygote)
Click to expand...
Click to collapse
Wild assed guess, here... but it looks like you are missing JNI library. I can't post a link, but I found the following in the source code for com.android.media.videoeditor.VideoEditorProfile.java.You'll notice a promising bit in the constructor...
Code:
static {
System.loadLibrary("media_jni");
native_init();
}
You might want to see if your ROM has that lib available.
Welcome,
I`m developing Android for Diamond... I connected to my bircked diamond via SEGGER J-Link
Code:
Found 1 JTAG device. Total IRLen : 4
Device 00 - ID : 0xA01700E1
Manufacturer : 0x0070 Partnr : 0x0170 Version : 0x000AUnknown Core.
CP15.0.0: 0x00000000 Unknown Implementer Unknown Type:000
Speed setting: 4 Khz VRef : 2.051V
Model found : MSM7200A/7201A
NAND :
Maker : AA Device : AA 3th : AA 4th : AA
Serial Access min : reserved
Pagesize : 0x1000
Redundant Area Size : 0x8
Blocksize : 0x40000
Organisation : x8
1.8V
I`ve got a problem about memory type of my Diamond it`s listed in Win Mobile @ Android as
Code:
DEVICE NAME=samsung_k9k2g08
DEVICE ID=0xAA
DEVICE MAKER ID=0xEC
And in revskills i`ve got three memory types:
K9K2G08Q0M
K9K2G08Q0M
K9K2G08U0M
Which is correct for DIAM200?
PS. Sorry for my English
{
"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"
}
This ROM is BETA at the moment
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community
First I would like to thank the following developers :
@moonbutt74
@yeshwanthvshenoy
@gladiac
@RaymanFX
@sub77
@T_I
@hennymcc
@Sarum4n - for Donating XDA add free
Each of them helped me with this project so a big thanks goes to them!
Before you start
THIS ROM IS ONLY FOR THE SM-T710
A T810 port of this rom by @T_I is available here
Code:
*
* Your warranty will be voided !
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
About the ROM
Current state of ROM : BETA
What is Fixed
Camera
Sound
Wifi
Storage
Headphones
External sdcard
Screen Rotation
Bluetooth shows note 4 instead of tab s2
Resolution
What is not working
Important
MTP
Minor
Microphone
Minor graphical glitches
Lag after trying to send a text via sms app (Just don't do it and disable the app. It will try to reach RIL even tough its wifi only)
Instructions
How to install CM12.1
If you don't have TWRP yet, get it from here : TWRP by ashyx
Download the ROM and the Gapps that are located below to your device
Reboot into TWRP by holding VOL UP + POWER + HOME on boot
In case things go wrong make a backup
After the backup has completed return to home and select Wipe and then Advanced Wipe
Now ONLY tick Dalvik Cache, System, Data and Cache
After ticking those, Swipe below to wipe
Once the wipe has completed return to home and select the ROM
After you selected the ROM swipe below to install it
After the ROM has installed flash the Gapps
When all of this is done, reboot into system, wait, and enjoy CM12.1
How to ROOT
In CM 12.1, enable the developer options
Select Root access
Select Apps Only
Done
Questions and bug reporting
The following questions will be ignored
Inappropriate questions
Requests for other devices
Forced orders, EX. : "PLS FIX!!!!!!"
ETA's
Often repeated questions usually by the same user
Requests that are out of CM's framework (Ex. Adding Samsung Apps)
How to report a bug/issue
Explain exactly what happens
Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)
If you can't mention a log, explain as precise as possible when, why and where it occurs!
Changelog
Code:
18/4/2016 - Fixed Camera (Yes I'm still alive)
**********
27/1/2016 - Fixed Headphones not working
**********
30/12/2015 - Fixed External sdcard
**********
28/12/2015 - Fixed Sound
- Removed Calling option from lockscreen
- Added missing OMX formats
- ROM is now BETA
**********
21/12/2015 - Fixed Storage problems
**********
19/12/2015 - ROM is now ALPHA
- Fixed Wifi
**********
15/12/2015 - Fixed Rotation/Orientation
- Lowered to 320 DPI
- Updated Screenshots
**********
12/12/2015 - Fixed Bluetooth showing note 4
- Fixed bad resolution
- Updated Screenshots
**********
11/12/2015 - CM12.1 Booted for the first time
**********
Downloads
Latest CM 12.1 build : Android File Host
All CM 12.1 releases can be found here : Android File Host
Recommended GAPPS Open Gapps
Source
Special Thanks to @RaymanFX for releasing his Exynos 5433 source, without him this ROM would most likely not be possible!
All my sources can be found here : https://github.com/Galaxy-Tab-S2
Screenshots
XDA:DevDB Information
CyanogenMod 12.1 for Samsung Galaxy Tab S2 8.0 T710, ROM for the Samsung Galaxy Tab S2
Contributors
CTXz, Sub77, Moonbutt74, RaymanFX, Hennymcc
Source Code: https://github.com/Galaxy-Tab-S2
ROM OS Version: 5.1.x Lollipop
Based On: CyanogenMod
Version Information
Status: Beta
Created 2015-12-11
Last Updated 2016-04-18
Q&A
Q : Why does it say Galaxy Tab S2 9.7 on Android File Host if this is for the 8.0 version ?
A : Android File Host doesn't feature the 8.0 version in their devices. Because of that, all is located under a folder called 8.0
Q : Why is everything so small?
A : The DPI rate is 320 which is the same as on the Stock rom. However, Samsung has made everything bigger. Since this is personal preference, you may always higher your DPI to make things bigger or lower your DPI to make things smaller under Settings > Display > DPI
Q : Will you ever work on CM13?
A : Yes, once we feel like CM12 is good enough, we will move to CM13
Reserved 2
New build 12/12/2015
- Fixed Bluetooth bug showing Galaxy note 4 instead of tab s2
- Fixed bad resolution
- Updated Screenshots
Great work!
Can't wait to use this once it reaches a point where it's functional for everyday use! Excellent work so far!
Good job man!!! Will test this as soon as the WiFi works
Sent from my SM-T710 using Tapatalk
good news for all T810 users! @T_I is working on a port of my ROM. It came to the CM setup wizzard however had some problems with the touchscreen. Should hopefully be a easy fix.
So the sensor module just isn't loading.
Code:
I/ ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/ ( 3857): System server: sensor init done.
Tried to use the note 4 ones. They did load up successfully but use different drivers.
Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
CTXz said:
So the sensor module just isn't loading.
Code:
I/ ( 3857): System server: starting sensor init.
D/SensorService( 3857): nuSensorService starting...
E/HAL ( 3857): load: module=/system/lib/hw/sensors.exynos5.so
E/SensorService( 3857): couldn't load sensors module (Invalid argument)
I/ ( 3857): System server: sensor init done.
Tried to use the note 4 ones. They did load up successfully but use different drivers.
Ex the gyroscope uses ICM20610 where mine uses LSM6DS3. I really only came this far. My nightmare would be to make my own sensor libs. That would mean that I would have to learn lot's of lot's of coding!
Click to expand...
Click to collapse
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input
Sent from my SM-G928I using Tapatalk
Beukhof1 said:
I really dont know but doea this help:
https://github.com/STMemsLinuxDrivers/lsm6ds3-input
Sent from my SM-G928I using Tapatalk
Click to expand...
Click to collapse
Sadly those are for the kernel.
However,
I found this open source sensor for the s3 I9300 that uses a , what I believe, older version of the gyro found in our device. I will see what I can decompile/reverse out of the current module for the tab and will compare it with the open source ones for the I9300. This will be hard and I would be very thankfull if you could redict any expierienced dev you know, here
Suprise!
Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing
Hey.... atleast I learned something.
Also, build will be released in about 1-2h
CTXz said:
Suprise!
Turns out I was just missing a shared libary. That caused the module not to load. Sooo.... all that s3 sensor work for nothing
Hey.... atleast I learned something.
Also, build will be released in about 1-2h
Click to expand...
Click to collapse
Nice! Good job mate!
Did you have time to look at wifi yet? I would love to try it if that works!
Sent from my SM-T710 using Tapatalk
Beukhof1 said:
Nice! Good job mate!
Did you have time to look at wifi yet? I would love to try it if that works!
Sent from my SM-T710 using Tapatalk
Click to expand...
Click to collapse
Not yet, but I will take a look at it soon!
New build is out !
**********
15/12/2015 - Fixed Rotation/Orientation
- Lowered to 320 DPI
- Updated Screenshots
**********
Links have been updated!
Ok so to wifi :
I know most of you want as number 1. priority a working WIFI connection, but this doesn't seem to be that easy to fix, at least not for my empty brain. As you've probably already noticed, my debugging skills are still quite bad (Yes I'm still learning... Yes I'm not perfect.... well maybe yes... ok no just kidding). The current issue i'm facing has probably to do something with the api drivers and wpa_supplicant. I've noticed that the KMSG doesn't even show a tiny trace of the cfg80211 driver and the nl80211 driver. If any developer out there knows what to do with the following log output when trying to access the wifi HAL / Enabling WIFI please tell me.
Code:
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '90 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 90 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7883): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7883): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7883): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7883): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7883): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
W/CommandListener( 3507): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 3507): Setting iface cfg
E/WifiStateMachine( 3901): Unable to change interface settings: java.lang.IllegalStateException: command '93 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 93 Failed to set address (No such device)'
E/WifiMonitor( 3901): killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
I/wpa_supplicant( 7915): Successfully initialized wpa_supplicant
I/wpa_supplicant( 7915): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
I/wpa_supplicant( 7915): nl80211: Driver does not support authentication/association or connect commands
E/wpa_supplicant( 7915): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 7915): wlan0: Failed to initialize driver interface
E/WifiStateMachine( 3901): Failed to start supplicant!
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): WifiController msg { when=0 what=155656 target=com.android.internal.util.StateMachine$SmHandler } deferred for 313ms
D/WifiService( 3901): setWifiEnabled: false pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/WifiController( 3901): DEFERRED_TOGGLE handled
D/WifiService( 3901): setWifiEnabled: true pid=5956, uid=1000
E/WifiService( 3901): Invoking mWifiStateMachine.setWifiEnabled
D/SoftapController( 3507): Softap fwReload - Ok
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
CTXz said:
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
Click to expand...
Click to collapse
Thanks a lot for the effort you're putting into this.
New build 19/12/2015
This build is no longer PRE-ALPHA but ALPHA
**********
19/12/2015 - ROM is now ALPHA
- Fixed Wifi
**********
CTXz said:
And then.... all of a sudden a wild google appeared!
Big thanks to @gladiac
Build coming soon!
Click to expand...
Click to collapse
Ok, this convinced me, sdcard 4th, wifi 3rd. Build on the T810 stack is running.
Dear all,
Does anyone knows the cause or how to debug why apps like zoom or the screen sharing in microsoft teams or google hangouts close when just trying it? Google earth works for some minutes but then needs to be restarted. In microsoft teams and google hangouts I can connect to any meeting, but, if I try to share the tablet screen, the app dies.
Also, sometimes when using these meeting apps the sound just resets to zero and I need to restart the tablet. By using logcat I have seen some PCM errors.
I am actually clueless on what to do. Any help is welcomed.
Details:
Samsung Galaxy Tab S 10.5 SM T800 Chagal Wifi
Lineage Os Unofficial 14.1 Android 7.1.2 build date Fri aug 7 2020
Kernel with deathly 3.4.113
Edit: I am copying a log file that shows several errors after trying to use Google Hangouts Meets. I do not know if maybe the cores are too old and vp8 encoding is not enough
<<< log_count = 7 >>>
[08-16 17:04:45.313 10503:10592 W/libjingle]
harmonyclient.cc: [113:720] [10592] (line 266): participant_log_id: "meet_android_1216387652843708342"
[08-16 17:04:45.527 10503:10562 E/MEET_MEDIACALL]
Failed to dispatch frames started event
java.lang.IllegalStateException: Expected device ID localParticipant for renderer update to correspond to a known meeting device
at hvo.b(PG:11)
at dqv.a(Unknown Source)
at dqp.a(PG:10)
at dzz.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at lsf.b(PG)
at lrj.run(PG:3)
at lsg.run(PG)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at jon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)
[08-16 17:04:47.655 10503:10503 E/MEET_AUDIO_SWITCHING]
Failed to retrieve proximity distance update
java.lang.IllegalStateException: ProximitySensorDataService could not be initialized
at bkt.a(Unknown Source)
at jpp.a(Unknown Source)
at lpu.a(PG:5)
at lqg.b(PG)
at lrj.run(PG:3)
at lqk.execute(PG)
at lqi.d(PG:1)
at lqj.g(PG)
at lpb.a(PG:14)
at loy.run(PG:4)
at lqk.execute(PG)
at lrh.a(PG:2)
at lqv.a(PG)
at lpb.f(PG:3)
at lqj.<init>(PG:2)
at lrc.a(PG:2)
at lpy.a(PG:7)
at jvx.b(PG:5)
at jxu.b(PG:9)
at jxj.a(PG:23)
at jxf.run(Unknown Source)
at jsl.run(PG:5)
at jsm.d(PG:8)
at jsm.c(PG:2)
at com.google.apps.tiktok.dataservice.SubscriptionFuturesMixinImpl$1.a(PG:2)
at com.google.apps.tiktok.tracing.contrib.androidx.TracedDefaultLifecycleObserver.a(PG:2)
at android.arch.lifecycle.FullLifecycleObserverAdapter.a(PG:7)
at l.a(PG)
at i.b(PG:13)
at i.a(PG:13)
at i.a(PG:12)
at com.google.apps.tiktok.inject.baseclasses.TracedFragmentLifecycle.a(PG:2)
at android.arch.lifecycle.FullLifecycleObserverAdapter.a(PG:7)
at l.a(PG)
at i.b(PG:13)
at i.a(PG:13)
at i.a(PG:12)
at ew.i(PG:5)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.b(PG:58)
at eo.a(PG:9)
at eo.b(PG:88)
at de.b(PG)
at bzt.a(PG:20)
at jae.a(PG)
at jaf.c(PG:11)
at icj.a(PG:2)
at idi.b(PG:10)
at icn.a(PG:5)
at iec.onPostCreate(PG)
at com.google.android.apps.meetings.conference.ConferenceActivity.onPostCreate(PG)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1200)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
[08-16 17:04:52.384 11224:11224 F/DEBUG]
pid: 10503, tid: 11052, name: GLThread.vclib >>> com.google.android.apps.meetings <<<
[08-16 17:04:54.501 2753:11229 W/ActivityManager]
Force finishing activity com.google.android.apps.meetings/.conference.ConferenceActivity
[08-16 17:04:54.632 2753:5917 W/ActivityManager]
Scheduling restart of crashed service com.google.android.apps.meetings/.taskmonitor.TaskMonitorService in 1000ms
[08-16 17:04:56.620 2753:11229 W/ActivityManager]
Ignoring remove of inactive process: ProcessRecord{50253b0 0:com.google.android.apps.meetings/u0a128}