Hello,
My i9100 died some months ago, it was impossible to boot (Tested different batteries, SIM-cards and chargers). I think it was overheating when I used it for the last time.
I bought a used mainboard from China and build it into my phone. It had Stock Gingerbread installed and was used in Iran.
An IMEI-analysis says that the board is a european version
Information on IMEI xxxxxx
Type Allocation Holder Samsung
Mobile Equipment Type Samsung GT-i9100 Galaxy S II
GSM Implementation Phase 2/2+
IMEI Validity Assessment Very likely
Information on range assignment
Est. Date of Range Issuance Around Q2 2011
Reporting Body British Approvals Board of Telecommunications (BABT)
Primary Market Europe
Legal Basis for Allocation EU R&TTE Directive
Information on number format
Full IMEI Presentation 35xxxxxx
Reporting Body Identifier 35
Type Allocation Code xxxxxx
Serial Number xxxxx
Check Digit 0
Click to expand...
Click to collapse
I use cm12.1 (12.1-20150430-UNOFFICIAL-i9100) but I also don't have cellular network with other ROMs. GPS, Wifi, BT etc. are working
Search for mobile networks is not successful and I can't execute USSD-Codes. The efs-partition is not corrupted. Most files are from 2010, last changes 2013.
Do you have any idea how to solve this?
Best regards
Have you checked which baseband software version is showing under "about phone"? This is stored in /dev/block/mmcblk0p8, and would not be updated by installing CM. I think I9100XXMS4 was the last European one. Rather than messing around with installing this, you can simply install Sale's NeatROM (modified Samsung 4.1), before installing CM etc.
---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------
Another thing to consider, but I not sure how you'd check or fix:
http://forum.xda-developers.com/galaxy-s2/general/external-antenna-socket-warning-t1273292
This would mean the radio modem is booted & working OK, but no antenna = no signal = no networks.
My baseband was XXKI4. I installed XXMS4 but that didn't change anything.
The antenna socket is not damaged or anything but i don't know how to check the functionality without destroying the coonnection to the internal antenna (provided it works at all).
Hmmm @tgb456
Install stock 2.3.3 and root it.
Connect your phone to PC into ADB. Start logcating and make log:
--restarting phone
-Searching to network (manual)
-USSD codes excutions
Wysłane ze Slim-fonika 9.0 powered by DorimanX v008 kernel
Still with CM12.1:
After reboot:
Code:
W/ServiceWatcher( 2225): com.google.android.gms not found
W/ServiceWatcher( 2225): com.google.android.gms not found
W/LocationManagerService( 2225): no network location provider found
W/ServiceWatcher( 2225): com.google.android.gms not found
W/ServiceWatcher( 2225): com.google.android.gms not found
D/NuPlayerDriver( 1862): reset(0x41c34040)
D/NuPlayerDriver( 1862): notifyResetComplete(0x41c34040)
E/LocationManagerService( 2225): no geocoder provider found
E/FlpHardwareProvider( 2225): Error hw_get_module 'flp': -2
E/LocationManagerService( 2225): FLP HAL not supported
W/ServiceWatcher( 2225): com.google.android.gms not found
E/LocationManagerService( 2225): Unable to bind FLP Geofence proxy.
E/ActivityRecognitionHardware( 2225): Error hw_get_module: -2
E/LocationManagerService( 2225): Hardware Activity-Recognition not supported.
I/FFmpegExtractor( 1862): android-source:0x415b14c0
...
I/Telecom ( 2225): TelecomGlobals: CallsManager initialized
W/ContextImpl( 2225): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1732 android.content.ContextWrapper.startService:522 com.android.server.telecom.BluetoothPhoneService.start:468 com.android.server.telecom.TelecomGlobals.initialize:101 com.android.server.telecom.TelecomService.onCreate:164
....
D/Telephony( 2743): TtyManager: setTTYMode exception: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
W/BassBoost( 2667): WARNING: attaching a BassBoost to global output mix is deprecated!
V/OtaStartupReceiver( 2743): onOtaspChanged: mOtaspMode=1
W/Virtualizer( 2667): WARNING: attaching a Virtualizer to global output mix is deprecated!
D/GpsLocationProvider( 2225): received SIM realted action:
D/GpsLocationProvider( 2225): SIM MCC/MNC is still not available
D/Telephony( 2743): TtyManager: queryTTYMode exception: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
I/MmsService( 2743): MmsConfigManager.loadInBackground(): mcc/mnc: 0/0
E/MmsService( 2743): MmsConfigManager.load -- empty getActiveSubInfoList
D/Telephony( 2743): TelecomAccountRegistry: Found 1 phones. Attempting to register.
D/Telephony( 2743): TelecomAccountRegistry: Phone with subscription id 5000
E/PhoneInterfaceManager( 2743): [PhoneIntfMgr] getIccId: No UICC
D/Telephony( 2743): AccountEntry: Registered phoneAccount: [PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxx], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxx], UserHandle{0}
I/Telephony( 2743): PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {8e4d5bd}
D/Telephony( 2743): PstnPhoneCapabilitiesNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {8e4d5bd}
D/CallNotifier( 2743): onReceive...
D/Telephony( 2743): PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false
D/PhoneStatusBarPolicy( 2382): updateSimState for subId :5000
D/GpsLocationProvider( 2225): received SIM realted action:
D/PhoneStatusBarPolicy( 2382): updateSimState for phoneId :0
D/PhoneStatusBarPolicy( 2382): updateSimState for Slot :0
D/GpsLocationProvider( 2225): SIM MCC/MNC is still not available
....
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: threads hasAutoIncrement: CREATE TABLE threads (_id INTEGER PRIMARY KEY AUTOINCREMENT,date INTEGER DEFAULT 0,message_count INTEGER DEFAULT 0,recipient_ids TEXT,snippet TEXT,snippet_cs INTEGER DEFAULT 0,read INTEGER DEFAULT 1,archived INTEGER DEFAULT 0,type INTEGER DEFAULT 0,error INTEGER DEFAULT 0,has_attachment INTEGER DEFAULT 0) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: canonical_addresses hasAutoIncrement: CREATE TABLE canonical_addresses (_id INTEGER PRIMARY KEY AUTOINCREMENT,address TEXT) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: part hasAutoIncrement: CREATE TABLE part (_id INTEGER PRIMARY KEY AUTOINCREMENT,mid INTEGER,seq INTEGER DEFAULT 0,ct TEXT,name TEXT,chset INTEGER,cd TEXT,fn TEXT,cid TEXT,cl TEXT,ctt_s INTEGER,ctt_t TEXT,_data TEXT,text TEXT) result: true
D/MmsSmsDatabaseHelper( 2743): [MmsSmsDb] tableName: pdu hasAutoIncrement: CREATE TABLE pdu (_id INTEGER PRIMARY KEY AUTOINCREMENT,thread_id INTEGER,date INTEGER,date_sent INTEGER DEFAULT 0,msg_box INTEGER,read INTEGER DEFAULT 0,m_id TEXT,sub TEXT,sub_cs INTEGER,ct_t TEXT,ct_l TEXT,exp INTEGER,m_cls TEXT,m_type INTEGER,v INTEGER,m_size INTEGER,pri INTEGER,rr INTEGER,rpt_a INTEGER,resp_st INTEGER,st INTEGER,tr_id TEXT,retr_st INTEGER,retr_txt TEXT,retr_txt_cs INTEGER,read_status INTEGER,ct_cls INTEGER,resp_txt TEXT,d_tm INTEGER,d_rpt INTEGER,locked INTEGER DEFAULT 0,sub_id INTEGER DEFAULT -1, phone_id INTEGER DEFAULT -1, seen INTEGER DEFAULT 0,creator TEXT,text_only INTEGER DEFAULT 0) result: true
D/MmsSmsDatabaseHelper( 2743): [getWritableDatabase] hasAutoIncrementThreads: true hasAutoIncrementAddresses: true hasAutoIncrementPart: true hasAutoIncrementPdu: true
---
I/ActivityManager( 2225): Start proc 3598:com.android.cellbroadcastreceiver/u0a5 for broadcast com.android.cellbroadcastreceiver/.CellBroadcastReceiver
D/CellBroadcastReceiver( 3598): onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
D/CellBroadcastReceiver( 3598): Intent ACTION_SERVICE_STATE_CHANGED
D/CellBroadcastReceiver( 3598): Service state changed! 3 Full: 3 3 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false Current state=-1
I/ActivityManager( 2225): Killing 2826:android.process.acore/u0a6 (adj 15): empty #17
D/CellBroadcastReceiver( 3598): onReceive Intent { act=android.intent.action.ACTION_SUBINFO_RECORD_UPDATED flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver }
D/SIP ( 2743): [SipSharedPreferences] isReceivingCallsEnabled, option not set; use default value, exception: android.provider.Settings$SettingNotFoundException: sip_receive_calls
E/PhoneInterfaceManager( 2743): [PhoneIntfMgr] getIccId: No UICC
...
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
E/WhisperPush( 3531): GcmRecurringRegistration
E/WhisperPush( 3531): java.io.IOException: SERVICE_NOT_AVAILABLE
E/WhisperPush( 3531): at com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.gcm.GcmHelper.getRegistrationId(GcmHelper.java:65)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.WhisperPush$1.doInBackground(WhisperPush.java:52)
E/WhisperPush( 3531): at org.whispersystems.whisperpush.WhisperPush$1.doInBackground(WhisperPush.java:48)
E/WhisperPush( 3531): at android.os.AsyncTask$2.call(AsyncTask.java:292)
E/WhisperPush( 3531): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/WhisperPush( 3531): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/WhisperPush( 3531): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/WhisperPush( 3531): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/WhisperPush( 3531): at java.lang.Thread.run(Thread.java:818)
W/ActivityManager( 2225): Unable to start service Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } U=0: not found
W/GAV3 ( 3553): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
I/GAV3 ( 3553): Thread[GAThread,5,main]: No campaign data found.
I/GlobalDismissManager( 3437): no sender configured
...
W/ActivityManager( 2225): Unable to start service Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) } U=0: not found
W/GAV3 ( 3553): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.
USSD-Codes:
Code:
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_output_start()
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
D/Yamaha-MC1N2-Audio( 1862): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0
W/AudioTrack( 2225): AUDIO_OUTPUT_FLAG_FAST denied by client
E/AudioTrack( 2225): AudioTrack::set : Exit
I/ActivityManager( 2225): START u0 {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxxxx cmp=com.android.server.telecom/.PrivilegedCallActivity (has extras)} from uid 10008 on display 0
V/WindowManager( 2225): addAppToken: AppWindowToken{3e3087eb token=Token{534ff3a ActivityRecord{d949665 u0 com.android.server.telecom/.PrivilegedCallActivity t77}}} to stack=1 task=77 at 1
E/SpannableStringBuilder( 3876): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/Telecom ( 2225): CallReceiver: onReceive - isUnknownCall: false
I/Telecom ( 2225): Call: setTargetPhoneAccount ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxx], UserHandle{0}
V/GpsNetInitiatedHandler( 2225): ACTION_NEW_OUTGOING_CALL - false
I/Telecom ( 2225): Call: CallerInfo received for *****: [email protected] { name null, phoneNumber non-null }
W/InputMethodManagerService( 2225): Window already focused, ignoring focus gain of: [email protected] [email protected], token = [email protected]
D/DialpadFragment( 3876): Displaying normal Dialer UI.
D/DialpadFragment( 3876): Displaying normal Dialer UI.
I/Telecom ( 2225): CallsManager: Creating a new outgoing call with handle: *****
I/Telecom ( 2225): CallsManager: updateLchStatus subInConversation: 5000
I/Telecom ( 2225): CreateConnectionProcessor: Trying attempt CallAttemptRecord(ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxx], UserHandle{0},ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxx], UserHandle{0})
I/Telecom ( 2225): CreateConnectionProcessor: Attempting to call from ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telecom ( 2225): ServiceBinderConnection: Service bound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}
I/Telephony( 2743): TelephonyConnectionService: onCreateOutgoingConnection, request: ConnectionRequest xxxxxxxxxxx Bundle[mParcelledData.dataSize=96]
I/Telecom ( 2225): ConnectionServiceWrapper: Service unbound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, from unbind.
I/Telecom ( 2225): CallsManager: setCallState CONNECTING -> DISCONNECTED, call: [881702855, CONNECTING, null, *****, 0, childs(0), has_parent(false), [[Capabilities:]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxxxxx], UserHandle{0} 0]
I/Telecom ( 2225): CallsManager: entered manageMSimInCallTones
I/Telecom ( 2225): CallsManager: updateLchStatus subInConversation: null
I/Telecom ( 2225): CallsManager: setActiveSubscription = null
I/Telecom ( 2225): CallsManager: entered manageMSimInCallTones
I/Timeline( 3876): Timeline: Activity_idle id: [email protected] time:1476741
Searching for networks:
Code:
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_output_start()
D/Yamaha-MC1N2-Audio( 1862): yamaha_mc1n2_audio_route_start()
D/Yamaha-MC1N2-Audio( 1862): (yamaha_mc1n2_audio_params_route_find): device = 2, direction = 0
V/WindowManager( 2225): not Base app: Adding window Window{a3df74b u0 com.android.phone/com.android.phone.NetworkSetting} at 6 of 9
I/NotificationService( 2225): cancelToast pkg=com.android.phone [email protected]
W/NotificationService( 2225): Toast already cancelled. pkg=com.android.phone [email protected]
W/InputMethodManagerService( 2225): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
Maybe this is a problem with the /efs - partition. hxxp://redmine.replicant.us/boards/9/topics/8841?r=9483 . The owner of most files in /efs is root or system, not radio
Code:
[email protected]:/ # ls -la /efs/
ls -la /efs/
-rw-r--r-- root root 1 2011-01-01 01:00 .nv_state
drwxrwxr-x radio system 2000-01-01 01:09 bluetooth
-rw-r--r-- system system 9 2010-12-31 22:02 cryptprop_applied_result
-rw-r--r-- root root 1 2010-12-31 22:00 cryptprop_rebootMode
drwx------ system system 2010-12-31 22:01 dmp
-rw-rw-rw- system system 256 2014-06-06 10:33 edk_p
-rw-r--r-- root root 2354 2011-01-01 01:00 nv.log
-rw-r--r-- root root 32 2010-12-31 22:13 nv_data.bin.md5
-rw-r--r-- root root 880 2010-12-31 16:02 redata.bin
-rw-r--r-- root root 1 2013-02-12 07:00 upgaddr
drwxrwxr-x radio system 2000-01-01 01:13 wifi
Activation of mobile network in settings:
Code:
D/Yamaha-MC1N2-Audio( 1861): yamaha_mc1n2_audio_route_start()
D/MccTable( 2753): updateMccMncConfiguration mccmnc='null' fromServiceState=true
D/MccTable( 2753): WIFI_COUNTRY_CODE set to
I/WifiService( 2226): WifiService trying to set country code to with persist set to true
E/WifiStateMachine( 2226): Ignoring resetting of country code
D/KeyguardUpdateMonitor( 2369): ACTION_SERVICE_STATE_CHANGED on sub: 5000 mServiceState: 1 1 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false
D/GpsLocationProvider( 2226): received SIM realted action:
D/GpsLocationProvider( 2226): SIM MCC/MNC is still not available
W/sh ( 4104): type=1400 audit(0.0:237): avc: denied { write } for name="log" dev=mmcblk0p10 ino=73730 scontext=u:r:rild:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir
I/MmsService( 2753): MmsConfigManager.loadInBackground(): mcc/mnc: 262/3
I/Telephony( 2753): PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
E/MmsService( 2753): MmsConfigManager.load -- empty getActiveSubInfoList
D/Telephony( 2753): TelecomAccountRegistry: Found 1 phones. Attempting to register.
D/Telephony( 2753): TelecomAccountRegistry: Phone with subscription id 5000
E/PhoneInterfaceManager( 2753): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
D/Telephony( 2753): AccountEntry: Registered phoneAccount: [PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxx], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [f8237xxxxxxxxxxxxxxxxxxxxxxxx], UserHandle{0}
I/Telephony( 2753): PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {2f88d477}
D/CallNotifier( 2753): onReceive...
D/PhoneStatusBarPolicy( 2369): updateSimState for subId :5000
D/PhoneStatusBarPolicy( 2369): updateSimState for phoneId :0
D/PhoneStatusBarPolicy( 2369): updateSimState for Slot :0
D/Telephony( 2753): PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false
D/CellBroadcastReceiver( 3604): onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver (has extras) }
D/CellBroadcastReceiver( 3604): Intent ACTION_SERVICE_STATE_CHANGED
D/CellBroadcastReceiver( 3604): Service state changed! 1 Full: 1 1 voice home data home null null null null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false Current state=-1
D/CellBroadcastReceiver( 3604): onReceive Intent { act=android.intent.action.ACTION_SUBINFO_RECORD_UPDATED flg=0x10 cmp=com.android.cellbroadcastreceiver/.CellBroadcastReceiver }
E/PhoneInterfaceManager( 2753): [PhoneIntfMgr] getIccId: ICC ID is null or empty.
I/art ( 2226): Background partial concurrent mark sweep GC freed 21767(1433KB) AllocSpace objects, 6(196KB) LOS objects, 20% free, 15MB/19MB, paused 2.154ms total 179.409ms
D/GpsLocationProvider( 2226): received SIM realted action:
D/GpsLocationProvider( 2226): SIM MCC/MNC is still not available
I/MediaFocusControl( 2226): AudioFocus abandonAudioFocus() from [email protected][email protected]
I/HeadsetService( 2686): Audio session removed: 18
I/MediaFocusControl( 2226): AudioFocus abandonAudioFocus() from [email protected][email protected]
Hi there!
Im trying to build Touchwiz Lollipop stock kernel with 4.9+ toolchain for my Samsung Galaxy J5 (2015), but it seems that it doesnt work. The phone gets stuck at phone`s logo, it is not even reaching the bootanimation.
It happened same when i tried to build CM kernel with 4.9+ toolchain.
The toolchain version im using is Linaro 4.9 by Cristopher. I also tried UBER 4.9 and some others, but still no luck.
On Marshmallow it is working fine, unlike Lollipop.
Here is a logcat: MEDIAFIRE / PASTEBIN.
Here is the stock kernel source: GITHUB.
And i think this is the problem, which is seems to loop:
Code:
E/QSEECOMAPI: ( 1252): Error::ioctl call query if app is loaded failed with ret = -1, errno = 22
D/QSEECOMAPI: ( 1252): QSEECom_get_handle sb_length = 0x2000
W/Atfwd_Sendcmd( 301): AtCmdFwd service not published, waiting... retryCnt : 5
I/ServiceManager( 930): Waiting for service SurfaceFlinger...
E/QSEECOMAPI: ( 1252): Error::ioctl call query if app is loaded failed with ret = -1, errno = 22
E/QCOMKeyMaster( 1252): Loading keymaster app /firmware/image keymaste failied with ret -6
E/keystore( 1252): could not open keymaster device in keystore (Operation not permitted)
E/keystore( 1252): keystore keymaster could not be initialized; exiting
There is also this:
Code:
E/QSEECOMAPI: ( 444): Error::Load image request failed ret = -1, errno = 512
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /system/etc/firmware/tbase.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /firmware/image/mc_v2.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /system/etc/firmware/mc_v2.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /firmware/image/mobicore12.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /system/etc/firmware/mobicore12.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
D/QSEECOMAPI: ( 444): QSEECom_load_external_elf
E/QSEECOMAPI: ( 444): Error::Cannot open the file /firmware/image/mobicore.mdt
E/QSEECOMAPI: ( 444): Error::Loading image failed with ret = -1
Also:
Code:
E/Adreno-GSL( 252): <ioctl_kgsl_driver_entry:485>: open(/dev/kgsl-3d0) failed: errno 12. Out of memory
E/Adreno-EGL( 252): <egliInitState:676>: gsl library open failure
W/Adreno-EGL( 252): <qeglDrvAPI_eglInitialize:375>: EGL_NOT_INITIALIZED
After a google search, i have understood that QSEECOM is related to encryption, but im not even using that.
Do you have any idea or tips?
Thank you!
Robert.
Hey. Have same issue on my Galaxy A3 (qseecom issue). How to fix?
vl_w said:
Hey. Have same issue on my Galaxy A3 (qseecom issue). How to fix?
Click to expand...
Click to collapse
No idea... I couldnt find anything and gave up on it.
I would like to know the solution if you manage to solve the problem...
PS: By the way, when you post in some thread, quote the post or mention the user so he gets notification.
#Henkate said:
No idea... I couldnt find anything and gave up on it.
I would like to know the solution if you manage to solve the problem...
PS: By the way, when you post in some thread, quote the post or mention the user so he gets notification.
Click to expand...
Click to collapse
4.8 - working
4.9 - phone stay on boot-animation... Logs same that in 1st post.
Google search not find solution...
I think easier will move drivers to CAF latest kernel and use it w/o any bugs
Hello
I am looking for a solution to reach the serial interface of a 3D printer in a debian chroot linux deploy.
My devices is Samsung A3 2015, rom: resurrection remix 7.1
During my tests, I can communicate with the printer (I sent gcode commands correctly) with a simple serial port application on the playstore.
I deployed the octoprint server in Debian Arm of Linux Deploy. In the octoprint configuration an automatic search of the periphery (usually /dev/ttyUSB) does not work; no port found.
In addition, when I navigate with a terminal in the android system, there is no /dev/ttyUSB file.
But where does Android map the periphery?
Here is the result of the dmesg when connecting the printer:
Code:
[85207.609290] usb 1-1: full-speed USB device number 10 using msm_hsusb_host
[85207.737337] usb 1-1: New USB device found, idVendor = 1a86, idProduct = 7523
[85207.737475] usb 1-1: New USB device strings: Mfr = 0, Product = 2, SerialNumber = 0
[85207.737514] usb 1-1: Product: USB2.0-Serial
An lsusb, gives me my printer:
Code:
Bus 001 Device 014: ID 1a86: 7523 QinHeng Electronics HL-340 USB-Serial Adapter
Code:
root @ localhost: ~ # usb-devices
T: Bus = 01 Lev = 01 Prnt = 01 Port = 00 Cnt = 01 Dev # = 9 Spd = 12 MxCh = 0
D: Ver = 1.10 Cls = ff (sell) Sub = 00 Prot = 00 MxPS = 8 # Cfgs = 1
P: Vendor = 1a86 ProdID = 7523 Rev = 02.63
S: Product = USB2.0-Serial
C: # Ifs = 1 Cfg # = 1 Atr = 80 MxPwr = 98mA
I: If # = 0 Alt = 0 # EPs = 3 Cls = ff (sells) Sub = 01 Prot = 02 Driver = (none)
With debian/arch etc, /dev is well mounted.
By the way there is no /dev/ttyUSB in the android system (simple terminal) when I plug the printer.
But where does it map the serial port finally!
I aim on getting problem ..
Hi, I know that this is an old thread, but I ran in the exact same issue.
Did you ever solve this please?
This is what I get:
Code:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1a86 ProdID=7523 Rev=02.64
S: Product=USB Serial
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=98mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
It seems that no driver gets loaded
Hello,
i'm currently able to call a function from a remote process by getting the PID, getting the base address in memory, copying the whole remote memory area into local memory area to find the function address by its signature and finally calling that function.
I've tested it successfully on my Samsung Galaxy S5 (32-bit + AOSP Bluetooth Stack), Sony Xperia X Compact (64-bit + AOSP Bluetooth Stack).
But on the OnePlus 7 Pro (64-bit + QTI Bluetooth Stack) the function returns 5.
I've set TRC_BTIF=5 in /system/etc/bluetooth/bt_stack.conf to see if the desired function is getting called because there should be a log output like:
Code:
06-25 21:19:33.024 1667 1667 D bt_btif : in, bd addr:, prop type:4, len:3
06-25 21:19:33.024 1667 1667 I bt_btif : btif_dm_get_adapter_property: type=0x4
Which isn't the case. So I assume the function is not getting called (correctly).
Here's the log output:
Code:
06-25 18:19:14.826 7409 7409 D bpp_qti : utils::getProcessId - Process found: com.android.bluetooth (pid: 7146)
06-25 18:19:14.828 7409 7409 D bpp_qti : injector::attach - Attached to process 7146
06-25 18:19:14.836 7409 7409 D bpp_qti : injector::callRemoteFunction - Call remote function 7c76f9d4f0 with 6 arguments, return value is 7c786fe000
06-25 18:19:14.840 7409 7409 D bpp_qti : injector::callRemoteFunction - Call remote function 7c76f9d4f0 with 6 arguments, return value is 7c786fd000
06-25 18:19:14.840 7409 7409 D bpp_qti : injector::write - Wrote 16 bytes to 0x7c786fd000 process 7146
06-25 18:19:14.845 7409 7409 D bpp_qti : utils::getRemoteFunctionAddress - Found remote function address: 7979928e3c
06-25 18:19:14.846 7146 7146 W bt_btif : bta_dm_act no entry for connected service cbs
06-25 18:19:14.846 7146 7146 E bt_btif : 00:00:00:00:00:00
06-25 18:19:14.847 7146 7177 D bt_btif : btif_hf_upstreams_evt: event=BTA_AG_CLOSE_EVT
06-25 18:19:14.847 7146 7177 E bt_btif : btif_hf_upstreams_evt: Invalid index 43613
06-25 18:19:14.847 7146 7146 E bt_btif : 00:00:00:00:00:00
06-25 18:19:14.847 7146 7146 D bt_btif : bta_ag_sco_event: index=0x0000, device=00:00:00:00:00:00, state=BTA_AG_SCO_SHUTDOWN_ST[0], event=BTA_AG_SCO_SHUTDOWN_E[6]
06-25 18:19:14.847 7146 7146 W bt_btif : bta_ag_sco_event: BTA_AG_SCO_SHUTDOWN_ST: Ignoring event BTA_AG_SCO_SHUTDOWN_E[6]
06-25 18:19:14.848 7146 7146 D bt_btif : BTA AG SCO State Change: [BTA_AG_SCO_SHUTDOWN_ST] -> [BTA_AG_SCO_SHUTDOWN_ST] after Event [BTA_AG_SCO_SHUTDOWN_E]
06-25 18:19:14.849 7409 7409 D bpp_qti : injector::callRemoteFunction - Call remote function 7979928e3c with 1 arguments, return value is 5
06-25 18:19:14.853 7409 7409 D bpp_qti : injector::callRemoteFunction - Call remote function 7c76f9cef0 with 2 arguments, return value is 0
06-25 18:19:14.856 7409 7409 D bpp_qti : injector::callRemoteFunction - Call remote function 7c76f9cef0 with 2 arguments, return value is 0
06-25 18:19:14.857 7409 7409 D bpp_qti : injector::detach - Detached from process 7146
And here's the full code: https://github.com/TeamJCD/BluetoothPlusPlus/tree/native/app/src/main/cpp
libbluetooth_qti.so of the OnePlus 7 Pro is attached as well as the pre-compiled bpp_qti for aarch64.
I've got the signature by running: gdb -batch -ex "disassemble/r btif_storage_get_adapter_property" libbluetooth_qti.so | column -ts $'\t' | awk '{for (i=1;i<=NF;i++) if ($i~/^[a-f0-9]{2}$/) printf("\\x%s",$i)} END{print ORS}'
The executable can be pushed directly to the device (`adb push bpp_qti /data/local/tmp/`) and running `/data/local/tmp/bpp_qti get` as root should return the Bluetooth Device Class.
Maybe someone here has an idea why this isn't working on QTI bt stack devices (the ones for which this cpp code was made because Qualcomm is missing essential code to get/set the device class through Java API).
We also tried calling `btif_dm_get_adapter_property` directly to see if this is working. But it wasn't.
I'm really out of ideas now.