[APP] Hidden FM Radio - Sharp Aquos Crystal

Theres a hidden FM radio that for some reason was not enabled in the launched for some reason (Possibly because the UI is so old and incomplete its sad, shame of you Sharp I expect better). The FM tuner is still enabled in the chipset though and works great. Requires you to connect your headphones to use.
The app features:
- Presets
- Recording of live radio (3GGP Format, yuck)
- Playback though speaker
- Sleep timer
- User definable frequency bands
- User selected station frequency
- Scanning of specific types of radio stations (ex. Top 40, Rock, etch.)
There is also a FM transmitter but that doesn't seem to work ATM, at least not with my Lumia 1520 and using Poweramp music player as input
Update: here is word form word what sharp says about the FM Radio
"Does AQUOS Crystal support FM radio?
Yes, AQUOS Crystal does support FM Radio via an app called “NextRadio”. A headset which works as an antenna, is required to be plugged into audio jack to receive the FM radio."
(Source: http://www.sharpusa.com/CustomerSupport/SharpCareCenter/MobileSupport.aspx)
So I guess sharp is planning to finish there software later? Why post this if your software is not complete nor is visible to the user
Screenshot bellow

powercamg4 said:
Theres a hidden FM radio that for some reason was not enabled in the launched for some reason (Possibly because the UI is so old and incomplete its sad, shame of you Sharp I expect better). The FM tuner is still enabled in the chipset though and works great. Requires you to connect your headphones to use.
The app features:
- Presets
- Recording of live radio (3GGP Format, yuck)
- Playback though speaker
- Sleep timer
- User definable frequency bands
- User selected station frequency
- Scanning of specific types of radio stations (ex. Top 40, Rock, etch.)
There is also a FM transmitter but that doesn't seem to work ATM, at least not with my Lumia 1520 and using Poweramp music player as input
Screenshot bellow
Click to expand...
Click to collapse
THANKS!

powercamg4 said:
Theres a hidden FM radio that for some reason was not enabled in the launched for some reason (Possibly because the UI is so old and incomplete its sad, shame of you Sharp I expect better). The FM tuner is still enabled in the chipset though and works great. Requires you to connect your headphones to use.
The app features:
- Presets
- Recording of live radio (3GGP Format, yuck)
- Playback though speaker
- Sleep timer
- User definable frequency bands
- User selected station frequency
- Scanning of specific types of radio stations (ex. Top 40, Rock, etch.)
There is also a FM transmitter but that doesn't seem to work ATM, at least not with my Lumia 1520 and using Poweramp music player as input
Screenshot bellow
Click to expand...
Click to collapse
I didn't see the FMRadio application on 305SH with Nova, but we can see all hidden menu and other !

myspac said:
I didn't see the FMRadio application on 305SH with Nova, but we can see all hidden menu and other !
Click to expand...
Click to collapse
Here is the FM2.apk and FMRecord.apk
They will need to be re-odex because they were pulled right from the system folder, the app is called FMRadioNew

powercamg4 said:
Here is the FM2.apk and FMRecord.apk
They will need to be re-odex because they were pulled right from the system folder, the app is called FMRadioNew
Click to expand...
Click to collapse
Thks, I need "/system/framework/libfmradiointerface.odex" to be able to deodex it ..

myspac said:
Thks, I need "/system/framework/libfmradiointerface.odex" to be able to deodex it ..
Click to expand...
Click to collapse
Here is both libraries.

powercamg4 said:
Here is both libraries.
Click to expand...
Click to collapse
Well, deodex didn't work, there is a lot of errors now...
I think evenif I can dedodex it, I don't have the same Framework on 305SH and so I think it's not possible (I m not sure, I m not enought strong to understand android !)..
Thank you

myspac said:
Well, deodex didn't work, there is a lot of errors now...
I think evenif I can dedodex it, I don't have the same Framework on 305SH and so I think it's not possible (I m not sure, I m not enought strong to understand android !)..
Thank you
Click to expand...
Click to collapse
I would check to make sure the chipset on that device supports the FM Radio, I dint know if the devices are the same chipset

powercamg4 said:
I would check to make sure the chipset on that device supports the FM Radio, I dint know if the devices are the same chipset
Click to expand...
Click to collapse
Yes, it was my goal too, but I don't arrive to do myself... I don't know if we can setup Framework outside "/system/Framework".
Deodex errors are:
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$10; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
......
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$11; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
.....
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$14; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
..............
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$15; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
...................
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$16; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
..............
org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class Landroid/telephony/TelephonyManager; at i
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1621)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:960)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
opcode: invoke-virtual-quick
code address: 27
method: Lcom/caf/fmradio/FMRadioService;->onCreate()V
org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class Landroid/telephony/TelephonyManager; at i
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1621)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:960)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
opcode: invoke-virtual-quick
code address: 156
method: Lcom/caf/fmradio/FMRadioService;->onDestroy()V
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$25; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$2; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$4; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$5; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$6; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$7; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$8; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$9; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error occurred while disassembling class Lcom.caf.fmradio.FMStats$3; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:570)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class Landroid/telephony/TelephonyManager; at i
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1621)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:960)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
opcode: invoke-virtual-quick
code address: 54
method: Lcom/caf/fmradio/FMTransmitterService;->onCreate()V
org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class Landroid/telephony/TelephonyManager; at i
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1621)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:960)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:387)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:296)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:198)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:113)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:220)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:144)
at org.jf.baksmali.baksmali$1.call(baksmali.java:142)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
opcode: invoke-virtual-quick
code address: 58
method: Lcom/caf/fmradio/FMTransmitterService;->onDestroy()V
Error occurred while disassembling class Lcom.caf.fmradio.HorizontalNumberPicker; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
Error occurred while disassembling class Lcom.caf.fmradio.StationListActivity$3; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)
Error occurred while disassembling class Lcom.caf.utils.FrequencyPickerDialog; - skipping class
org.jf.util.ExceptionWithContext: Invalid type: V
at org.jf.dexlib2.analysis.RegisterType.getRegisterType(RegisterType.java:238)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeMoveResult(MethodAnalyzer.java:1028)

myspac said:
Yes, it was my goal too, but I don't arrive to do myself... I don't know if we can setup Framework outside "/system/Framework".
Click to expand...
Click to collapse
Only way I know of sideloading frameworks is with xposed framework

Related

AGEphone Mobile VoIP with Earphone Support for the XP1

[Mirrored from the AGEphone Mobile development thread for your convenience as not everyone checks those forums] I am happy to announce that AGEphone Mobile now supports speaker switching on the Sony Ericsson Xperia X1. If you have trouble getting it to run on your device, here is the log (Menu - About - More...) for your reference:
Hardware Information:
OEM Info: X1i
OEM ID: 5
Number of processors: 1
Processor type: 2577
System Information:
Platform Type: PocketPC
Build Number: 00004C98
Major Version: 00000005
Minor Version: 00000002
Platform ID: 00000003
Local IP:
Global IP:
HostIndex: -1
NIC: 169.254.2.1, fe80::8000:60ff:fe0f:e800, fe80::1,
Driver Enumeration:
WAV1: \windows\wavedev.dll (652536)
WAV8: \windows\bta2dp.dll (51392)
Just take a look at the original thread or my signature for the download if you want to give it a try. Hope to see you over there!

[Q] Downloading a file from web on >= 4.0

Hey,
First of all I want to say that I'm from Germany, so please don't kill me for my english
I am new to developing apps for android, but I have gathered some experiences in Java.
I am working with the eclipse android developer tool extension.
I want the app to download a file from the internet and store it in a string-variable.
The app should be upward compatible from android 2.2 (Froyo).
But if it's not possible to be both, android >= 4.0 should be enough.
With the following code the download works, but only below android 4.0 (IceCreamSandwich):
Code:
public static String downloadFile(String u) {
StringBuffer s = new StringBuffer("");
try {
URL url = new URL(u);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConnection.setRequestMethod("GET");
urlConnection.setDoOutput(true);
urlConnection.connect();
InputStream inputStream = urlConnection.getInputStream();
BufferedReader r = new BufferedReader(new InputStreamReader(inputStream));
String x = r.readLine();
while(x!= null){
s.append(x+"\n");
x = r.readLine();
}
} catch (MalformedURLException e) {
e.printStackTrace();
return "ERROR";
} catch (IOException e) {
e.printStackTrace();
return "ERROR";
}
return s.toString();
}
The LogCat says:
05-20 14:31:20.172: E/AndroidRuntime(542): FATAL EXCEPTION: main
05-20 14:31:20.172: E/AndroidRuntime(542): android.os.NetworkOnMainThreadException
05-20 14:31:20.172: E/AndroidRuntime(542): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1084)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:74)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.IoBridge.connect(IoBridge.java:112)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.Socket.connect(Socket.java:842)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:77)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.connect(HttpEngine.java:303)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
05-20 14:34:17.322: W/System.err(596): at com.tobstar.testProject.DownloaderClass.downloadFile(DownloaderClass.java:28)
Click to expand...
Click to collapse
The NetworkOnMainThreadException does not say anything.
The permissions for "android.permission.INTERNET" are set, too.
Do I have forgotten anything?
Can someone tell me how I can download a file and read even on andoid >= 4.0 me?
Thank you very much
- tob.star
All of my internet apps have been for 2.3 so I can't give any code examples. But the error in my mind means that in 4.0, they want all network processes to run on a secondary thread and not the main (UI) thread. You will need to create a secondary thread and run your download from there.
Thank you very much!
Problem solved :good: :laugh:
Just to metion that an asynctask is more efficient than a simple thread and when you get used to it more simple.
mushrom said:
Just to metion that an asynctask is more efficient than a simple thread and when you get used to it more simple.
Click to expand...
Click to collapse
You can use a Thread, too. I use Threads in combination with Handlers.
An AsyncTask is a wrapper around those two classes. It might be easier but you can use both.
nikwen said:
You can use a Thread, too. I use Threads in combination with Handlers.
An AsyncTask is a wrapper around those two classes. It might be easier but you can use both.
Click to expand...
Click to collapse
I know, but asynctasks also provides a thread pool wich makes them more efficient, and handlers are not so usefull when you want to make your code reusable.
mushrom said:
I know, but asynctasks also provides a thread pool wich makes them more efficient, and handlers are not so usefull when you want to make your code reusable.
Click to expand...
Click to collapse
I did not know that. Thanks. :good:

[Q] S5 email FC when download attachments

Hello there, I ported Secemail_K which is the S5 version of email and replaced the old one as well as the corresponding odex file(exchange apk also replaced), everything runs fine, but if I download attachments, FC happens. Does anyone know why? what can I do to fix it? Thank you all!
I have run into the same issues with the S5 mail app on i9500 If you go in to settings, account settings, and more settings at the bottom you get the same error as well. Not sure if the exchange services apk needs to be changed as well. I am at a loss is there anyone that has it working ?
Andvoid said:
I have run into the same issues with the S5 mail app on i9500 If you go in to settings, account settings, and more settings at the bottom you get the same error as well. Not sure if the exchange services apk needs to be changed as well. I am at a loss is there anyone that has it working ?
Click to expand...
Click to collapse
Yes, is there anyone who knows why? and how to fix it?
Capture a logcat please to capture the FC. This will show us what is causing the error.
Sent from my GT-I9505 using Tapatalk
nikzDHD said:
Capture a logcat please to capture the FC. This will show us what is causing the error.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Hi there I hope this is what you require I'm new to this.
05-05 20:34:09.376 3072 6036 V ApplicationPolicy: isApplicationStateBlocked userId 0 pkgname com.android.email
05-05 20:34:09.411 3072 3333 V SmartFaceService - 3rd party pause: onReceive [android.intent.action.ACTIVITY_STATE/com.android.email/create]
05-05 20:34:09.571 18596 18596 W ContextImpl: Implicit intents with startService are not safe: Intent { act=com.android.email.EXCHANGE_INTENT } android.content.ContextWrapper.startService:506 com.android.email.ExchangeUtils.startExchangeService:52 com.android.email.activity.Welcome.onCreate:330
05-05 20:34:09.616 5784 5992 W ContextImpl: Implicit intents with startService are not safe: Intent { act=com.android.email.ACCOUNT_INTENT } android.content.ContextWrapper.bindService:529 com.android.emailcommon.service.ServiceProxy.setTask:173 com.android.emailcommon.service.ServiceProxy.setTask:153
05-05 20:34:09.661 3072 3333 V SmartFaceService - 3rd party pause: onReceive [android.intent.action.ACTIVITY_STATE/com.android.email/pause]
05-05 20:34:09.681 3072 3333 V SmartFaceService - 3rd party pause: onReceive [android.intent.action.ACTIVITY_STATE/com.android.email/create]
05-05 20:34:09.751 16885 16897 D BadgeProvider: query, [selection] : package='com.android.email' AND class='com.android.email.activity.Welcome' AND extraData='base_extra_badge'
05-05 20:34:10.471 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:10.501 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:10.691 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:15.311 18596 18596 I dalvikvm: Could not find method android.app.enterprise.ExchangeAccountPolicy.isIncomingAttachmentsAllowed, referenced from method com.android.email.activity.MessageViewFragmentBase.checkDPM_Attachments
05-05 20:34:15.456 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:15.791 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:15.921 3072 3312 D SSRMv2:CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1200000 uid : 10133 pid : 18596 pkgName : [email protected]
05-05 20:34:16.106 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:16.486 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:16.586 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:16.746 3072 3603 D SSRMv2:CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1200000 uid : 10133 pid : 18596 tag : [email protected]
05-05 20:34:17.381 18596 18596 W System.err: at com.android.email.activity.MessageListXL.onPrepareOptionsMenu(MessageListXL.java:1488)
05-05 20:34:19.151 18596 18596 E AndroidRuntime: Process: com.android.email, PID: 18596
05-05 20:34:19.151 18596 18596 E AndroidRuntime: at com.android.email.activity.MessageViewFragmentBase.checkDPM_Attachments(MessageViewFragmentBase.java:20131)
05-05 20:34:19.151 18596 18596 E AndroidRuntime: at com.android.email.activity.MessageViewFragmentBase.onClick(MessageViewFragmentBase.java:5379)
05-05 20:34:19.151 18596 18596 E AndroidRuntime: at com.android.email.activity.MessageViewFragment.onClick(MessageViewFragment.java:1635)
05-05 20:34:19.161 3072 3083 W ActivityManager: Force finishing activity com.android.email/.activity.MessageListXL
05-05 20:34:19.216 3072 3072 D CrashAnrDetector: processName: com.android.email
05-05 20:34:19.216 3072 3072 D CrashAnrDetector: broadcastEvent : com.android.email system_app_crash
05-05 20:34:19.216 3072 3333 V SmartFaceService - 3rd party pause: onReceive [android.intent.action.ACTIVITY_STATE/com.android.email/pause]
05-05 20:34:21.006 3072 3558 I WindowState: WIN DEATH: Window{42ebcd18 u0 com.android.email/com.android.email.activity.MessageListXL}
05-05 20:34:21.011 3072 3583 I ActivityManager: Process com.android.email (pid 18596) (adj 0) has died.
05-05 20:34:21.011 3072 3583 W ActivityManager: Service crashed 2 times, stopping: ServiceRecord{45af9f48 u0 com.android.email/.service.EmailDebugService}
05-05 20:34:27.081 16885 16897 D BadgeProvider: query, [selection] : package='com.android.email' AND class='com.android.email.activity.Welcome' AND extraData='base_extra_badge'
05-05 20:34:27.516 16885 16898 D BadgeProvider: query, [selection] : package='com.android.email' AND class='com.android.email.activity.Welcome' AND extraData='base_extra_badge'
Hi nobody has any idea why this is happening ?
Sent from my GT-I9500 using Tapatalk

[Tilapia] Rom dont boot on tilapia but works on grouper?

Hi,
I built a rom for tilapia which don't boot on tilapia but it boots on grouper and I hope some can give a hint to solve the problem (its an aosp rom, working fine on mako too).
(I think the problem is that dalvik crashes, but why? :
Code:
W/dalvikvm( 4808): No implementation found for native Ldalvik/system/Zygote;.nativeForkAndSpecialize:(II[II[[IILjava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 4808): Shutting down VM
W/dalvikvm( 4808): threadid=1: thread exiting with uncaught exception (group=0x4192fba8)
I/ServiceManager( 121): service 'media.audio_flinger' died
...
)
sorry for bad english
edit:
works now, thread may be closed or deleted
can u tell me how you fixed this?
Can you explain how you fixed it?
vetzki said:
Hi,
I built a rom for tilapia which don't boot on tilapia but it boots on grouper and I hope some can give a hint to solve the problem (its an aosp rom, working fine on mako too).
(I think the problem is that dalvik crashes, but why? :
Code:
W/dalvikvm( 4808): No implementation found for native Ldalvik/system/Zygote;.nativeForkAndSpecialize:(II[II[[IILjava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 4808): Shutting down VM
W/dalvikvm( 4808): threadid=1: thread exiting with uncaught exception (group=0x4192fba8)
I/ServiceManager( 121): service 'media.audio_flinger' died
...
)
sorry for bad english
edit:
works now, thread may be closed or deleted
Click to expand...
Click to collapse

Finow/Lemfo WatchHelper app - handling force close

I'm struggling with WatchHelper application with my Finow X5+ (AFAIK Lemfo LEM5 is the same) to get it working more stable - no FC, proper reconnects (after link is lost), get rid of awful "link lost" sound&alert.
I've noticed that FC is caused by SecurityException (Android 6.0 on MotoX 2014):
Code:
01-30 17:37:53.484 E/AndroidRuntime( 7304): FATAL EXCEPTION: main
01-30 17:37:53.484 E/AndroidRuntime( 7304): Process: com.android.BluetoothSocketTest:remote, PID: 7304
[COLOR="Red"]01-30 17:37:53.484 E/AndroidRuntime( 7304): java.lang.SecurityException: com.android.BluetoothSocketTest from uid 10103 not allowed to perform SYSTEM_ALERT_WINDOW[/COLOR]
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1599)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1552)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.IWindowSession$Stub$Proxy.addToDisplay(IWindowSession.java:747)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.ViewRootImpl.setView(ViewRootImpl.java:543)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.app.Dialog.show(Dialog.java:319)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at com.android.BluetoothSocketTest.ag.handleMessage(Unknown Source)
so I gave this permission (using App Ops) and it's a lot better now, no FC at all And I've gained auto-reconnections working also. So double win.
But I'd like to know if other users are in the same situation - if you use Watch Helper try to get logcat (CatLog from app store, root required) and search for "FATAL EXCEPTION". Then share here all stacktrace. I'd like to verify if there are different problems with this app or it's just this.
Second thing is to get rid of awful "link loss" sound & alert window. I've just wrote XPosed module and it looks like it's working. Still in alpha phase, but after few days of use I'll publish it with source code. Maybe someone will be interested in continuing it?
Hi,
I have the same problem. with a galaxy s7 edge and a lemfo lem5.
Is there any chance to give that permitions without root privileges ?
rufik said:
I'm struggling with WatchHelper application with my Finow X5+ (AFAIK Lemfo LEM5 is the same) to get it working more stable - no FC, proper reconnects (after link is lost), get rid of awful "link lost" sound&alert.
I've noticed that FC is caused by SecurityException (Android 6.0 on MotoX 2014):
Code:
01-30 17:37:53.484 E/AndroidRuntime( 7304): FATAL EXCEPTION: main
01-30 17:37:53.484 E/AndroidRuntime( 7304): Process: com.android.BluetoothSocketTest:remote, PID: 7304
[COLOR="Red"]01-30 17:37:53.484 E/AndroidRuntime( 7304): java.lang.SecurityException: com.android.BluetoothSocketTest from uid 10103 not allowed to perform SYSTEM_ALERT_WINDOW[/COLOR]
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1599)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1552)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.IWindowSession$Stub$Proxy.addToDisplay(IWindowSession.java:747)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.ViewRootImpl.setView(ViewRootImpl.java:543)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.app.Dialog.show(Dialog.java:319)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at com.android.BluetoothSocketTest.ag.handleMessage(Unknown Source)
so I gave this permission (using App Ops) and it's a lot better now, no FC at all And I've gained auto-reconnections working also. So double win.
But I'd like to know if other users are in the same situation - if you use Watch Helper try to get logcat (CatLog from app store, root required) and search for "FATAL EXCEPTION". Then share here all stacktrace. I'd like to verify if there are different problems with this app or it's just this.
Second thing is to get rid of awful "link loss" sound & alert window. I've just wrote XPosed module and it looks like it's working. Still in alpha phase, but after few days of use I'll publish it with source code. Maybe someone will be interested in continuing it?
Click to expand...
Click to collapse
Hi. Have same issue with my Galaxy S8plus and Finow X5air. my phone is not rooted and I try to return this watches but if I will find a solution I will keep this watch Any Idea what to do
Thank you

Categories

Resources