[PORT][TEST][4.1+] FM Radio Beta - Testers needed - Galaxy S II Themes and Apps

Hello XDA!
I am trying to port the FM radio for CM10/AOKP. (From the latest Jelly Bean leak: XXLSJ)
Because I'm running an XXLSJ based rom, I can't really try if the port is successful or not.
I'm trying to run it on an emulator.
Status:
Fixed a lot of UI related issues, missing resources, hardcoded resource ids.
The app loads the needed lib on start:
12-01 07:58:45.104: I/FmRadioController(840): Calling JNI_OnLoad
12-01 07:58:45.104: I/FmRadioController(840): Calling register_FMPlayer
12-01 07:58:45.136: I/System.out(840): FMRadio lib loaded
12-01 07:58:45.294: I/System.out(840): mAirPlaneEnabled flag :false
12-01 07:58:45.364: I/FMRadioService(840): platform :
12-01 07:58:45.364: I/FMPlayer(840): Player created :[email protected]
Managed to add FMRadioService to the application (as non-system service). Now it starts as a new instance.
Managed to copy lot of missing classes to the apk from framework2.jar, twframework.jar and sechardware.jar.
Missing layout elements are copied to the apk.
Apk compiles and installs without error.
Known issues
Force close upon exiting: Unable to start receiver com.gyebro.android.app.fm.widget.FMRadioProvider: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents
Since the app instantiates a new FMRadioService, and abandons it upon exiting, it is possible, that it causes some memory leak.
Samsung's AudioManager has a separate audio stream for the fm radio. Now I'm using the Music stream (STREAM_MUSIC), so it is possible, that the app can conflict with music players in the background. (So shut down all the music players before trying this)
Again Samsung's AudioManager has a function for checking whether the radio stream is playing via the speakers (or via headset), this function (isRadioSpeakerOn) is replaced by the standard isSpeakerphoneOn. So it is possible, that the listening via speaker/headset option will misbehave.
Some screenshots from the emulator
{
"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"
}
Download the current version:
signed_FmRadio_XXLSJ.apk
libfmradio_jni.so
libsecmediarecorder_jni.so
Installation:
Copy the apk to system/app
Copy the two so files to system/lib
What I'm asking:
Again I'm asking you to provide LogCat logs, when connecting the headset and pressing the ON button.
Important notice
However I'm pretty sure, that this app could not damage your phone, I'm not responsible for any temporary or permanent hardware related damage happening with your device thanks to this application. So, please keep in mind, that you are trying this at your own risk.

D/widget ( 5921): [MSC_HERO_Accu]>>> WC:866 [0:0] onResume :: fU = true cEUi
= true
D/widget ( 5921): [MSC_HERO_Accu]>>> WC:1916 [0:0] AR_S_T : 0
D/widget ( 5921): [MSC_HERO_Accu]>>> WC:903 [0:0] onResume :: mFAR = false, cC
= false, cEUI = true
D/widget ( 5921): [MSC_HERO_Accu]>>> WC:1135 [0:0] cUI : cnt = 1, mRC = true
E/Launcher( 5921): Error finding setting, default accessibility to not found: ac
cessibility_enabled
D/Launcher.HomeFragment( 5921): onResume
D/widget ( 5921): [MSC_HERO_Accu]>>> WC:1104 [0:0] fireOR
E/widget ( 5921): [MSC_HERO_Accu]>>> SM:281 [0:0] IR : false, IPR : false
D/MenuAppsGridFragment( 5921): onResume
E/ActivityThread( 5921): Failed to find provider info for com.samsung.helphub.pr
ovider
D/widget ( 5921): [MSC_HERO_Accu]>>> WC:601 [0:0] ===== mSetUIDataHandler(): da
y = 7:29 AM, night=4:24 PM
E/widget ( 5921): [MSC_HERO_Accu]>>> SM:281 [0:0] IR : false, IPR : false
D/FMApp (11428): onDestroy -----------
W/System.err(11428): java.lang.NullPointerException
W/System.err(11428): at com.gyebro.android.app.fm.MainActivity.onDestroy(Main
Activity.java:4477)
W/System.err(11428): at android.app.Activity.performDestroy(Activity.java:517
2)
W/System.err(11428): at android.app.Instrumentation.callActivityOnDestroy(Ins
trumentation.java:1109)
W/System.err(11428): at android.app.ActivityThread.performDestroyActivity(Act
ivityThread.java:3429)
W/System.err(11428): at android.app.ActivityThread.handleDestroyActivity(Acti
vityThread.java:3460)
W/System.err(11428): at android.app.ActivityThread.access$1200(ActivityThread
.java:145)
W/System.err(11428): at android.app.ActivityThread$H.handleMessage(ActivityTh
read.java:1264)
W/System.err(11428): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(11428): at android.os.Looper.loop(Looper.java:137)
W/System.err(11428): at android.app.ActivityThread.main(ActivityThread.java:4
978)
W/System.err(11428): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(11428): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(11428): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:791)
W/System.err(11428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:558)
W/System.err(11428): at dalvik.system.NativeStart.main(Native Method)
this is what happens

Hey really very nice work! It seems it cannot find "FMRadio Service". Here is my logcat I hope it helps
Code:
D/FMApp (11531): oncreate -------------------
D/FMApp (11531): FMRadio Service Is NULL. Exit FMRadio
D/FMApp (11531): onDestroy -----------
W/System.err(11531): java.lang.NullPointerException
W/System.err(11531): at com.gyebro.android.app.fm.MainActivity.onDestroy(MainActivity.java:4477)
W/System.err(11531): at android.app.Activity.performDestroy(Activity.java:5172)
W/System.err(11531): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1109)
W/System.err(11531): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3429)
W/System.err(11531): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3460)
W/System.err(11531): at android.app.ActivityThread.access$1200(ActivityThread.java:145)
W/System.err(11531): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1264)
W/System.err(11531): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(11531): at android.os.Looper.loop(Looper.java:137)
W/System.err(11531): at android.app.ActivityThread.main(ActivityThread.java:4978)
W/System.err(11531): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(11531): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(11531): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err(11531): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
W/System.err(11531): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(11531): GC_EXPLICIT freed 18K, 90% free 2594K/24576K, paused 2ms?, total 20ms
ROM: ParanoidAndroid 2.54
Kernel: Dorimanx 7.23
Sent from my GT-I9100 using xda app-developers app

needme said:
Hey really very nice work! It seems it cannot find "FMRadio Service". Here is my logcat I hope it helps
ROM: ParanoidAndroid 2.54
Kernel: Dorimanx 7.23
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I've tried to add the FMRadio system service, but it can't be done on the emulator (I should patch the services.jar and framework.jar to make the ServiceManager add the FMRadio service to the system)
However it seems, that CyanogenMod offers a comfortable way to add system services:
Allow loading of vendor specific services from compiled jar files.
So I will try to load the FMRadioService this way...
(Fortunately all the code of the service is present in a nice separated way, so it won't be hard to make a jar containing it)

Now I need testers again!
I need some testers again! What I'm curious about is, that can you turn the radio on, with earphones connected? Then what are you hearing? (Please create a log while doing this).
Thanks!
See the first post for a lot of new info and download links.

Gyebro said:
I need some testers again! What I'm curious about is, that can you turn the radio on, with earphones connected? Then what are you hearing? (Please create a log while doing this).
Thanks!
See the first post for a lot of new info and download links.
Click to expand...
Click to collapse
Hey
Nice to see progress!You are doing a great job!
The app starts, but when I push the button to turn FM radio on, nothing happens except in the Title shortly stands "Turning on".
Logcat line 175:
Code:
D/FMApp (15454): com.samsung.media.fmradio.FMPlayerException: Unable to turn on FM Radio
D/FMApp (15454): exception occurred during turning on
W/System.err(15454): com.samsung.media.fmradio.FMPlayerException: Unable to turn on FM Radio
W/System.err(15454): at com.gyebro.android.app.fm.MainActivity.on(MainActivity.java:3259)
W/System.err(15454): at com.gyebro.android.app.fm.MainActivity$MyHandler.handleMessage(MainActivity.java:293)
W/System.err(15454): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(15454): at android.os.Looper.loop(Looper.java:137)
W/System.err(15454): at android.app.ActivityThread.main(ActivityThread.java:4978)
W/System.err(15454): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(15454): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(15454): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err(15454): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
W/System.err(15454): at dalvik.system.NativeStart.main(Native Method)
It had some force closes when leaving main activity and change volume within the app (right upper button).Whole Logcat is attached.
Thank you for your work

needme said:
Hey
Nice to see progress!You are doing a great job!
The app starts, but when I push the button to turn FM radio on, nothing happens except in the Title shortly stands "Turning on".
Logcat line 175:
Code:
D/FMApp (15454): com.samsung.media.fmradio.FMPlayerException: Unable to turn on FM Radio
D/FMApp (15454): exception occurred during turning on
It had some force closes when leaving main activity and change volume within the app (right upper button).Whole Logcat is attached.
Thank you for your work
Click to expand...
Click to collapse
I've decompiled the libfmradio_jni.so, and it seems it is using a file called fmradio (without extension) in the dev folder. Do you have this file? (dev/fmradio)
If yes, could you please send it to me?
If no, please create an empty file called fmradio, and copy it to /dev

Gyebro said:
I've decompiled the libfmradio_jni.so, and it seems it is using a file called fmradio (without extension) in the dev folder. Do you have this file? (dev/fmradio)
If yes, could you please send it to me?
If no, please create an empty file called fmradio, and copy it to /dev
Click to expand...
Click to collapse
This file exists but it is completely empty Permissions are 660. Do you need any further information?
Sent from my GT-I9100 using xda premium

needme said:
This file exists but it is completely empty Permissions are 660. Do you need any further information?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
That's enough for now... I think the problem is kernel related -> the kernel must support the use of fm radio hardware.

Gyebro said:
That's enough for now... I think the problem is kernel related -> the kernel must support the use of fm radio hardware.
Click to expand...
Click to collapse
I am now running Siyah 5.0.1 and if it had no FM support then FM should not run even on stock ROM with custom kernel but it does. So I think it is ROM related. There may be dependencies which are just damn hard to find because Samsung has integrated FM too deep in system and log doesn't show what is needed. Damn if Samsung would be open source my phone would be so much better As I see you can't do anything now or? Thank you very much, although it's still not working
If we never try we will never see Keep up your great work!
Sent from my GT-I9100 using xda premium

needme said:
I am now running Siyah 5.0.1 and if it had no FM support then FM should not run even on stock ROM with custom kernel but it does. So I think it is ROM related. There may be dependencies which are just damn hard to find because Samsung has integrated FM too deep in system and log doesn't show what is needed. Damn if Samsung would be open source my phone would be so much better As I see you can't do anything now or? Thank you very much, although it's still not working
If we never try we will never see Keep up your great work!
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Yesterday I've found a thread (this one) which reports something about "loading kernel modules". But I did not have much time to go after that... I thought that on stock ROM, the kernel loads additional modules (.ko files, defined in init.rc) upon boot, while on non-stock roms, there is nothing to load...
Today I've installed the ported FMradio on my stock samsung rom, because I wanted to know, how it looks in logcat, if the FMRadioController can initialize itself. The logcat shown, that there are some other classes, which are related to the FMradio hardware, and some of these are packed in .so libs. (For example AudioPolicyManagerBase seems to have been modified by Samsung, and there are some native code, for example AudioHardwareYamaha -> AudioHardware, which is also different in Samsung ROMs, than in AOSP/CM10/AOKP...)
So the next task is to decompile all the .so libs (from CM10 and XXLSJ), and find out which of them are different... (libmediayamaha_jni.so?),
find out which of the libs are needed (for example there is a libaudiopolicy_sec.so in Samsung roms) and find out which of the classes in framework are missing (for example framework/com.yamaha.android.media.jar is not present in CM10)
EDIT: I've found the line in init.rc which loads the driver for the fmradio.
Code:
# ko files for FM Radio
insmod /lib/modules/Si4709_driver.ko

So finally my questions:
Do you have the Si4709_driver.ko in lib/modules OR in system/lib/modules?
Do you have the command in your init.rc to load this module?

Gyebro said:
So finally my questions:
Do you have the Si4709_driver.ko in lib/modules OR in system/lib/modules?
Do you have the command in your init.rc to load this module?
Click to expand...
Click to collapse
Hey There is the problem.
Module is there, but it's not loaded in init.rc . tried to add the command but it got reset on reboot. Any suggestions? Thank you again
Sent from my GT-I9100 using xda premium

needme said:
Hey There is the problem.
Module is there, but it's not loaded in init.rc . tried to add the command but it got reset on reboot. Any suggestions? Thank you again
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Can you send me your init.rc, and those files which are imported in the beginning of your init.rc
In stock init.rc, there are 3 imports:
Code:
import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.trace.rc
And the fm module is loaded in init.smdk4210.rc (guess its init.${ro.hardware}.rc)
Code:
on init
# ko files for FM Radio
insmod /lib/modules/Si4709_driver.ko

needme said:
Hey There is the problem.
Module is there, but it's not loaded in init.rc . tried to add the command but it got reset on reboot. Any suggestions? Thank you again
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
You can try to load it with ADB: (Assuming that your driver is at system/lib/modules)
Code:
adb root
adb remount
adb insmod /system/lib/modules/Si4709_driver.ko

Gyebro said:
Can you send me your init.rc, and those files which are imported in the beginning of your init.rc
In stock init.rc, there are 3 imports:
Code:
import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.trace.rc
And the fm module is loaded in init.smdk4210.rc (guess its init.${ro.hardware}.rc)
Code:
on init
# ko files for FM Radio
insmod /lib/modules/Si4709_driver.ko
Click to expand...
Click to collapse
OK i did not looked in init,smdk4210,rc. The command is written there and trying to add with adb gives "can't insert Si4709_driver.ko: File exists". So i guess it is loaded. Damn -.- this is not the problem either. Do you still need the files?

needme said:
OK i did not looked in init,smdk4210,rc. The command is written there and trying to add with adb gives "can't insert Si4709_driver.ko: File exists". So i guess it is loaded. Damn -.- this is not the problem either. Do you still need the files?
Click to expand...
Click to collapse
Can you run the following command to make sure, that the module is active?
Code:
adb shell lsmod
No I don't need the .rc files.

Gyebro said:
Can you run the following command to make sure, that the module is active?
Code:
adb shell lsmod
No I don't need the .rc files.
Click to expand...
Click to collapse
Outpout: Si4709_driver 24484 0 - Live 0xbf015000. I guess it is active.

needme said:
Outpout: Si4709_driver 24484 0 - Live 0xbf015000. I guess it is active.
Click to expand...
Click to collapse
Yes, it is active, so the solution is not *that* easy...
Another question: Do you have the file wakeup_keys at /sys/class/sec/sec_key/?
The file is probably there, but in your init.rc (or init.smdk4210.rc) only the following values are written into it:
Code:
# Permissions for gpio_keys.
chown system radio /sys/class/sec/sec_key/wakeup_keys
write /sys/class/sec/sec_key/wakeup_keys 102,116
While in the stock samsung init.rc
Code:
# Permissions for gpio_keys
chown radio system /sys/class/sec/sec_key/wakeup_keys
write /sys/class/sec/sec_key/wakeup_keys 102,116,172
And see what happens in the FMRadioService.smali when the FMRadioService is initializing itself:
Code:
.line 191
const-string v2, "/sys/class/sec/sec_key/"
iput-object v2, p0, Lcom/android/server/FMRadioService;->mWakeUpKeyFilePath:Ljava/lang/String;
.line 192
const-string v2, "wakeup_keys"
iput-object v2, p0, Lcom/android/server/FMRadioService;->mWakeUpKeyFileName:Ljava/lang/String;
.line 193
const-string v2, "102,114,115,116,172"
iput-object v2, p0, Lcom/android/server/FMRadioService;->mFmOn:Ljava/lang/String;
.line 194
const-string v2, "102,116,172"
iput-object v2, p0, Lcom/android/server/FMRadioService;->mFmOff:Ljava/lang/String;
Those nasty "172" key is used (along with 114 and 115 which have no sign in both rc files)!
EDIT: It seems these code part only sets the keys which are waking up the service and the 172 is the HOME key. So this is not essential...

what happened to this application??

Related

[05-JAN][FIX] Navigon Select on Gingerbread

Hi guys, me again,
i just fixed Navigon Select to work with Gingerbread. It needs the replacement of libmedia because some interfaces got incompatible. Now i can finally use onboard Navigation on my CM7
Download
Just replace the file in /system/lib
cheers
Nice job, i don't use navigon just copilote, but I must congratulated you because you are making hardcore coding for HD2 scene.
Thanks
Cooooooooool !!! THX !!!
Ok, doesn't work for me ... :-/
Sent from my HTC HD2 using XDA App
cheezusweezel said:
Ok, doesn't work for me ... :-/
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Tell me what you get on logcat when Navigon starts up.. Using aLogcat from Market for example. And of course.. Update your Navigon Select to the latest version..
pack21 said:
Nice job, i don't use navigon just copilote, but I must congratulated you because you are making hardcore coding for HD2 scene.
Thanks
Click to expand...
Click to collapse
+1 your out of control, dude. Your an 86, just one more than me and you are making some major breakthroughs.. It makes me think I am really doing nothing with my life, lol.. But yeah, keep up the god work, man
Edit: I meant to say "good" work but swype has no problem also praising you it seems
Sent from my HTC HD2 using XDA App
Cool man, you rock!
Going to try to get Navigon to work following your instructions, now that you already fixed GPS.
[OT]:
Do you by chance also know how to fix camcorder for [email protected]?
I'm playing with PPC_SHIFTPDA_V2 [RAM] which i really like. Camcorder is one of the last issues i would like to fix.
[/OT]
Thanks! But no luck for me either!
gauner1986 said:
Tell me what you get on logcat when Navigon starts up.. Using aLogcat from Market for example. And of course.. Update your Navigon Select to the latest version..
Click to expand...
Click to collapse
Sure, latest version installed and logcat is:
I/ActivityThread( 1773): Pub com.navigon.navigator_select.provider.naviprovider: com.navigon.navigator_select.provider.NaviProvider
D/NaviApp ( 1773): pn: com.navigon.navigator_select
D/NaviApp ( 1773): NaviKernel hasn't been started yet, ignore...
D/dalvikvm( 1773): Trying to load lib /data/data/com.navigon.navigator_select/lib/libNavinative.so 0x4051cc28
I/System.out( 1773): Cannot load library: reloc_library[1311]: 147 cannot locate '_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_i'...
I/System.out( 1773): Trying NavinativeD...
I/System.out( 1773): Couldn't load NavinativeD: findLibrary returned null
D/NaviKernelConnector( 1773): NaviKernelConf.ini pkg_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 1773): NaviKernelConf.ini ins_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 1773): NaviKernelConf.ini is up-to-date
I/ActivityManager( 187): Displayed com.navigon.navigator_select/.hmi.CheckExistingRegistrationActivity: +384ms
W/dalvikvm( 1773): threadid=9: thread exiting with uncaught exception (group=0x4001d560)
Awesome, it worked for me even with the old Navigon version. Thanks!
EDIT: nope, sorry. wrong information. it's not working. I guess, my GPS is not working either. Is there a gps test app? The one in market Force Closes when open in gingerbread
Could you guys try again with the file i attached? Maybe i uploaded the wrong one.
gnash.s said:
Awesome, it worked for me even with the old Navigon version. Thanks!
EDIT: nope, sorry. wrong information. it's not working. I guess, my GPS is not working either. Is there a gps test app? The one in market Force Closes when open in gingerbread
Click to expand...
Click to collapse
Use GPS Status from Market.
Nope, also the new file won't work (for me) ...
cheezusweezel said:
Sure, latest version installed and logcat is:
I/ActivityThread( 1773): Pub com.navigon.navigator_select.provider.naviprovider: com.navigon.navigator_select.provider.NaviProvider
D/NaviApp ( 1773): pn: com.navigon.navigator_select
D/NaviApp ( 1773): NaviKernel hasn't been started yet, ignore...
D/dalvikvm( 1773): Trying to load lib /data/data/com.navigon.navigator_select/lib/libNavinative.so 0x4051cc28
I/System.out( 1773): Cannot load library: reloc_library[1311]: 147 cannot locate '_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_i'...
I/System.out( 1773): Trying NavinativeD...
I/System.out( 1773): Couldn't load NavinativeD: findLibrary returned null
D/NaviKernelConnector( 1773): NaviKernelConf.ini pkg_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 1773): NaviKernelConf.ini ins_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 1773): NaviKernelConf.ini is up-to-date
I/ActivityManager( 187): Displayed com.navigon.navigator_select/.hmi.CheckExistingRegistrationActivity: +384ms
W/dalvikvm( 1773): threadid=9: thread exiting with uncaught exception (group=0x4001d560)
Click to expand...
Click to collapse
So it has to work now.. I checked the .so file, the symbol is definetly present:
Code:
gauners-MacBook-Pro:~ gauner$ strings libmedia.so | grep "_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_i"
_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_i
_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_ii
Be sure to replace /system/lib/libmedia.so !
cheezusweezel said:
Nope, also the new file won't work (for me) ...
Click to expand...
Click to collapse
Could you check logcat again please?
Anyway.. I'll release a ROM based on CM7 soon.
Could you check logcat again please?
Anyway.. I'll release a ROM based on CM7 soon.
Click to expand...
Click to collapse
New logcat:
I/ActivityThread( 2812): Pub com.navigon.navigator_select.provider.naviprovider: com.navigon.navigator_select.provider.NaviProvider
D/NaviApp ( 2812): pn: com.navigon.navigator_select
D/NaviApp ( 2812): NaviKernel hasn't been started yet, ignore...
D/dalvikvm( 2812): Trying to load lib /data/data/com.navigon.navigator_select/lib/libNavinative.so 0x4051d788
I/System.out( 2812): Cannot load library: reloc_library[1311]: 147 cannot locate '_ZN7android10AudioTrackC2EijiiijPFviPvS1_ES1_i'...
I/System.out( 2812): Trying NavinativeD...
I/System.out( 2812): Couldn't load NavinativeD: findLibrary returned null
D/NaviKernelConnector( 2812): NaviKernelConf.ini pkg_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 2812): NaviKernelConf.ini ins_version = ANDROID_INI_VERSION = 1.5.8
D/NaviKernelConnector( 2812): NaviKernelConf.ini is up-to-date
W/dalvikvm( 2812): threadid=9: thread exiting with uncaught exception (group=0x4001d560)
I/Process ( 2812): Sending signal. PID: 2812 SIG: 9
And your ROM will be much appreciated !!!
gauner1986 said:
Anyway.. I'll release a ROM based on CM7 soon.
Click to expand...
Click to collapse
I read on mdj's thread that alot of ppl are complaining about lag in CM7, would you consider as AOSP release? Thanks soo much!!!
Had a FC when starting Navigon Select before applying the fixed library.
Replaced with your library now NS (&GPS) works without any problem!
Thx again!
Hopefully you guys did not forget to reboot? Otherwise i don't know!
another tip...
if you got a FC while starting Navigon Select, just remove the Navigon and reinstall it again
Should work afterwards.
Sounds like permission issues, check that the new files have the same permissions as others in the same folder.
Just tried this update with Navigon MobileNavigator on a Nexus S with Gingerbread(2.3.1) It's let me get past the spash screen without a FC. Just downloading the maps now. Hope the rest of the app doesn't have any other problems.
Many thanks for this fix.
(I did change the permissions and ownership of libmedia.so with these commands
chown root.root libmedia.so
chmod 644 libmedia.so
)
Rob
EDIT: Confirmed that this is working on my device. Thanks for a great fix.

[DEV] Can't compile CM 6.2 for HERO?¿?

Hi all,
Does anyone managed to compile latest CM 6.2 (froyo) sources?¿?¿. I get errors when compiling CMParts and if I choose not to compile CMParts, I get a package that gets me in to crash loops on first start.....
Many Thanks in Advance,
Perdita2000
perdita2000 said:
Hi all,
Does anyone managed to compile latest CM 6.2 (froyo) sources?¿?¿. I get errors when compiling CMParts and if I choose not to compile CMParts, I get a package that gets me in to crash loops on first start.....
Many Thanks in Advance,
Perdita2000
Click to expand...
Click to collapse
You need CMParts. Can you post the compilation errors?
These are my compile errors...
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:72: cannot find symbol
symbol : variable config_enableScreenOffAnimation
location: class com.android.internal.R.bool
getResources().getBoolean(com.android.internal.R.bool.config_enableScreenOffAnimation) ? 1 : 0) == 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:83: cannot find symbol
symbol : variable ACCELEROMETER_ROTATE_180
location: class android.provider.Settings.System
Settings.System.ACCELEROMETER_ROTATE_180, 0) == 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:96: cannot find symbol
symbol : variable ELECTRON_BEAM_ANIMATION_ON
location: class android.provider.Settings.System
Settings.System.ELECTRON_BEAM_ANIMATION_ON, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:102: cannot find symbol
symbol : variable ELECTRON_BEAM_ANIMATION_OFF
location: class android.provider.Settings.System
Settings.System.ELECTRON_BEAM_ANIMATION_OFF, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:108: cannot find symbol
symbol : variable ACCELEROMETER_ROTATE_180
location: class android.provider.Settings.System
Settings.System.ACCELEROMETER_ROTATE_180, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:125: cannot find symbol
symbol : variable OVERSCROLL_EFFECT
location: class android.provider.Settings.System
Settings.System.OVERSCROLL_EFFECT, 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:196: cannot find symbol
symbol : variable OVERSCROLL_EFFECT
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.OVERSCROLL_EFFECT,
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
11 errors
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Many Thanks for you Help!!!
Perdita2000
I'm not modifyng any code because first compilation of any CM sources I always use source as is, then I try this created CM-untouched-sources rom and start to make changes (I am developing on CM7 and would like to have my own CM6.2 too...)
Many Thanks,
Perdita2000
I would check two things:
A. That you updated all the repositories. Do another "repo sync" to make sure everything is up to date. If you are using some repositories which you forked (or someone else) they also need to be updated "manually".
B. Do a clean build, by totally removing the "out" directory and then try to recompile it.
If you are still having trouble I can try to look into it, maybe even tonight.
Download froyo_stable CMParts,then it is no problem to compile,or I upload my modified CMParts 6.2.0 with setcpu etc... if you want that
This should fix the issue:
Code:
cd packages/apps/CMParts && git checkout 69613a248519fed7d971bd6292013d36097d0107
- taken from http://forum.cyanogenmod.com/topic/15353-froyo-compile-cannot-find-symbol-error/
At least, that fixed the issue for me.
erasmux said:
I would check two things:
A. That you updated all the repositories. Do another "repo sync" to make sure everything is up to date. If you are using some repositories which you forked (or someone else) they also need to be updated "manually".
B. Do a clean build, by totally removing the "out" directory and then try to recompile it.
If you are still having trouble I can try to look into it, maybe even tonight.
Click to expand...
Click to collapse
I have done A and B yet a few days ago, but nothing was solved and I found k0ner solution too, but It seems to solved compilation issue (can't find what patch 69613a248519fed7d971bd6292013d36097d0107 do?¿?¿, don't know how to search this code on git...) but ROM compiled doesn't boot (boot loop, but don't have error now, I will reproduce it and send logcat...).
Where can I find CMParts stable?¿?¿
Many Thanks to ALL,
Perdita2000
Elelinux, do you mean use froyo-stable branch for CMParts??
Many Thanks,
Perdits2000
perdita2000 said:
Where can I find CMParts stable?¿?¿
Many Thanks to ALL,
Perdita2000
Click to expand...
Click to collapse
Here https://github.com/CyanogenMod/android_packages_apps_CMParts/tree/froyo-stable
perdita2000 said:
Elelinux, do you mean use froyo-stable branch for CMParts??
Many Thanks,
Perdits2000
Click to expand...
Click to collapse
Yes as you see in post above,download it and replace it with that CMParts you have now.
A fully up to date CM6 ROM? I sincerely hope this works out! I think this would be the ideal ROM for our HTC Hero. Gingerbread's a bit slow on the Hero, but Froyo has always worked well.
I'm just writing this to let you know I'd be hugely appreciative of any ROM that you end up producing here!
I am getting same boot loop as when I applied mentioned patch....
I have synced CMParts git with froyo-stable brunch and compile again (clean before new compile) and no errors (typical VM cores from out of memory .... I always get one or two during compilation on CM7 but everything works fine... not enough memory for compilations ( ), but after flash new rom it loops on HTC HERO with following errors...
I/dalvikvm( 161): System server process 164 has been created
I/Zygote ( 161): Accepting command socket connections
I/dalvikvm( 164): Unable to dlopen(/system/lib/libandroid_servers.so): Cannot load library: link_image[2033]: failed to link libandroid_servers.so
I/dalvikvm( 164):
D/AndroidRuntime( 164): Shutting down VM
W/dalvikvm( 164): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
E/AndroidRuntime( 164): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 164): java.lang.UnsatisfiedLinkError: Library android_servers not found
E/AndroidRuntime( 164): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime( 164): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime( 164): at com.android.server.SystemServer.main(SystemServer.java:592)
E/AndroidRuntime( 164): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 164): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 164): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 164): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 164): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 164): Error reporting crash
E/AndroidRuntime( 164): java.lang.NullPointerException
E/AndroidRuntime( 164): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 164): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
E/AndroidRuntime( 164): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
E/AndroidRuntime( 164): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 164): Sending signal. PID: 164 SIG: 9
I/Zygote ( 161): Exit zygote because system server (164) has terminated
D/AndroidRuntime( 172):
D/AndroidRuntime( 172): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 172): Heap size: -Xmx16m
D/AndroidRuntime( 172): CheckJNI is OFF
D/AndroidRuntime( 172): --- registering native functions ---
I/SamplingProfilerIntegration( 172): Profiler is disabled.
I/Zygote ( 172): Preloading classes...
D/dalvikvm( 172): GC_EXPLICIT freed 824 objects / 47648 bytes in 7ms
D/dalvikvm( 172): GC_EXPLICIT freed 368 objects / 19104 bytes in 7ms
I/bluetooth_ScoSocket.cpp( 172): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 172): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 172): GC_EXPLICIT freed 319 objects / 18080 bytes in 8ms
D/dalvikvm( 172): GC_EXPLICIT freed 464 objects / 28864 bytes in 9ms
D/dalvikvm( 172): GC_EXPLICIT freed 2096 objects / 108592 bytes in 13ms
I'm going to take a look at /system/lib/libandroid_servers.so compilation because I think is the problem...
Many Thanks to All,
Perdita2000
Hi all,
I have tried a couple of times with no luck, can't find if there is some problem with repos or just a code error, because it compiles without any error...
Have tried to sync froyo-stable but no luck too....
Syncing work tree: 4% (9/210) error: revision master in CyanogenMod/android_device_advent_vega not found
Perdita2000
perdita2000 said:
Hi all,
I have tried a couple of times with no luck, can't find if there is some problem with repos or just a code error, because it compiles without any error...
Have tried to sync froyo-stable but no luck too....
Syncing work tree: 4% (9/210) error: revision master in CyanogenMod/android_device_advent_vega not found
Perdita2000
Click to expand...
Click to collapse
In your /android/system/.repo/manifest/ you find default.xml edit the file and remove the path for advent_vega then run repo sync again
Many Thanks Elelinux ... and sorry about "my newbie questions" .... I'm starting to use github today (more than repo init/sync ... etc)..
Perdita2000
Checked out the "froyo" branch, did a "repo sync", added HTC proprietary files and ROM Manager and started the compile.
Ran into the same compilation error from the start of this thread.
Then applied bjk's fix from here (added the diff files there so you can apply then automatically with "git apply"), then compilation completed smoothly. Boots up just fine here.
What exactly is the error you are getting?
Boot error is posted thread . Did you tried stable or current branch?
Many thanks,
Sent from my Hero using XDA App
perdita2000 said:
Boot error is posted thread . Did you tried stable or current branch?
Many thanks,
Sent from my Hero using XDA App
Click to expand...
Click to collapse
Ok, sorry didn't see it. Doesn't make much sense to me. I used the "froyo" branch (not "froyo-stable"). But this shouldn't matter.
From where did you take your proprietary libs? Try taking them from here: https://github.com/koush/proprietary_vendor_htc/tree/froyo (notice the froyo branch).
I always use device propietary files from device itself. Do you mean they could be wrong?, in fact extract-files.sh didn't pull every needed file (I thought it was wrong because haven't got any issue compiling CM7?¿?¿?).
I will try device files from koush and let you know!!!
Many Thanks to Everyone!!!
Perdita2000

[Q][DEV needed] Moving an app from one ROM to another || and || Missing files

hi there.
So i've asked a dev related questions here before but didnt get an answer... hoping to get one now!
--i didnt ask it in the DEV related forums because it doesnt seem like the place to ask a question--
and i've also searched for an answer, many times, but havent reached a solution
anyway, ...
I took the Dice_ml.apk from the sensation ROM and put it on my 2.3.3 deodexed (near to)stock-ROM, yet i get a 'Force Close'. i deodexed the dice_ml file and added the classes.dex file to the apk.
I 'logcat'ed and found that its missing a .so file, so i found it in the sensation ROM and copied it to the /system/lib folder, yet i still get the error, this is what it says:
I/ActivityManager( 1343): Start proc com.htc.dice.ml for activity com.htc.dice.m
l/.DiceActivity: pid=2762 uid=10130 gids={}
I/DiceActivity( 2762): onCreate()
I/DiceActivity( 2762): onResume()
D/DiceActivity( 2762): [onResume] mView is Null and postDelay
E/Dice ( 2762): Couldn't load libdice_ml.so!
W/dalvikvm( 1443): disableGcForExternalAlloc: false
D/DiceActivity( 2762): [DiceLib::getInstance] Null State
W/dalvikvm( 2762): No implementation found for native Lcom/htc/dice/ml/DiceLib;.
setResourcePath (Ljava/lang/String; )V
D/AndroidRuntime( 2762): Shutting down VM
W/dalvikvm( 2762): threadid=1: thread exiting with uncaught exception (group=0x4
001d5a0)
E/AndroidRuntime( 2762): FATAL EXCEPTION: main
E/AndroidRuntime( 2762): java.lang.UnsatisfiedLinkError: setResourcePath
E/AndroidRuntime( 2762): at com.htc.dice.ml.DiceLib.setResourcePath(Nativ
e Method)
Click to expand...
Click to collapse
The AndroidRuntime Error still goes on. What could be the problem (im kinda new to this moving from one ROM to the next)
And could i also ask how one changes the Resolution of an apk?
//----------------------------
Also, alot of people have this issue, which is that, after rooting, the headphone mic, and buttons dont work.
i also 'logcat'ed it, and sometimes the buttons send a signal to the OS, sometimes it takes a while for the OS to process the signal (or maybe get it?) and sometimes it doesnt receive it at all!(or maybe its taking to long to send the signal).
Anyway, when it does get a signal, it also says that a certain file is missing, heres the log:
W/KeyCharacterMap( 1443): Can't open keycharmap file
W/KeyCharacterMap( 1443): Error loading keycharmap file '/system/usr/keychars/h2
w_headset.kcm.bin'. hw.keyboards.65540.devname='h2w headset'
I/KeyCharacterMap( 1443): Using default keymap: /system/usr/keychars/qwerty.kcm.
bin
E/BroadcastReceiver( 1713): BroadcastReceiver trying to return result during a n
on-ordered broadcast
E/BroadcastReceiver( 1713): java.lang.RuntimeException: BroadcastReceiver trying
to return result during a non-ordered broadcast
E/BroadcastReceiver( 1713): at android.content.BroadcastReceiver.checkSynchr
onousHint(BroadcastReceiver.java:451)
E/BroadcastReceiver( 1713): at android.content.BroadcastReceiver.abortBroadc
ast(BroadcastReceiver.java:374)
Click to expand...
Click to collapse
and also the BroadcastReceiver Error continues in the log.
So i checked the 1.32 original stock rom(my buttons were working on that ROM before i rooted it), and i didnt find the 'h2w_headset.kcm.bin' file, so i thought maybe its from the 'qwerty.kcm.bin' file, thus i replaced it with the same file from 1.32, (and without restarting the phone) i tested the file and still, had the same problem.
My question for this part is ... Is that error normal? and can it be fixed?
and sorry for all this stuff!!!
Hoping for a reply!

[MOD]Modified DSP Manager with BEATS audio. For CM9, MIUI & AOKP.(6.25.12)

{
"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"
}
​
I have Modded DSPManager to use the libs & Audio files from BEATS to work with AOKP & CM9 ONLY!!!
Flashing this will not mess up your other Equalizers!!​
V.1
Had a bunch of FC for alot of devices
v.2
Fixed the FC issue
v.3
Added MUSICFX so settings work for CM9
Added Awesome Control Panel
Re-built Awesome BEATS
Download: AwesomeBEATS™ v.3
Just FLASH and enjoy!!
Make sure to change in SETTINGS/SOUND/MUSIC EFFECTS to AWESOME BEATS.
Thanks to:
spc_hicks09 (with Permission to use his modded DSP manager)
Sckyboy78 (For the find )
nik3r (For all the help getting it to work on other devices)
mwalt2 (Helping fix the MOD to work on CM9 based Roms)
Confirmed Devices working:
MyTouch 4G
Desire HD
Desire S
Inspire 4G
Desire
GalaxyTab Plus
Sensation
Amaze 4G
Galaxy S2
Nexus
SSII
SI
Sensation XL
Donations Received:
*Dgardner425
*La_Blu_Eyez
*Tornado234
*WhiteMambaB
*Fabio Battisti
*Chris Miller
*Mike Cruz
*Liz Aguilar​MAKE SURE YOU GUYS HIT THAT THANK BUTTON IF THIS MOD WORKED FOR YOU!!!​
Awesome I have been looking for something like this for a long time
(Need nandroid first I'm in a middle of testing something)
nik3r said:
Awesome I have been looking for something like this for a long time
Click to expand...
Click to collapse
Test and report plz and repost what rom your on thanks.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
Can it work with aokp b39?
Sent from my Desire Z using XDA
Steven How said:
Can it work with aokp b39?
Sent from my Desire Z using XDA
Click to expand...
Click to collapse
Test it! Worked fine on my end and report back thanks.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
Testing...
Flash ... OK
Boot ... OK
Settings - Sound - Effects entry ... OK
Switched engine ... OK
Control app ... FAILED
Rebooting for second try ...
...
...
Engine persisted ... OK
Control app ... FAILED
It FC's on me and I don't hear a difference, sorry
nik3r said:
Testing...
Flash ... OK
Boot ... OK
Settings - Sound - Effects entry ... OK
Switched engine ... OK
Control app ... FAILED
Rebooting for second try ...
...
...
Engine persisted ... OK
Control app ... FAILED
It FC's on me and I don't hear a difference, sorry
Click to expand...
Click to collapse
What rom so I can flash it and test thanks.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
EliteMod (= basically AOKPb39 + EliteKernel)
confirmed that on nik3r's elitemod rom the control app does not work. It force closes everytime. exactly as described above.
LogCat
Code:
I/ActivityManager( 1421): START {act=android.intent.action.MAIN cat=[android.int
ent.category.LAUNCHER] flg=0x10200000 cmp=com.bel.android.dspmanager/.activity.D
SPManager} from pid 1950
I/ActivityManager( 1421): Start proc com.bel.android.dspmanager for activity com
.bel.android.dspmanager/.activity.DSPManager: pid=4034 uid=10043 gids={3002}
D/OpenGLRenderer( 1950): Flushing caches (mode 1)
W/AssetRedirectionManager( 1421): Unable to attach target package assets for com
.bel.android.awesome
E/dalvikvm( 4034): Dex cache directory isn't writable: /data/dalvik-cache
I/dalvikvm( 4034): Unable to open or create cache for /system/app/Awesome BEATS.
apk (/data/dalvik-cache/[email protected]@Awesome [EMAIL="[email protected]"][email protected][/EMAIL])
D/AndroidRuntime( 4034): Shutting down VM
W/dalvikvm( 4034): threadid=1: thread exiting with uncaught exception (group=0x4
0a591f8)
E/AndroidRuntime( 4034): FATAL EXCEPTION: main
E/AndroidRuntime( 4034): java.lang.RuntimeException: Unable to instantiate activ
ity ComponentInfo{com.bel.android.dspmanager/com.bel.android.dspmanager.activity
.DSPManager}: java.lang.ClassNotFoundException: com.bel.android.dspmanager.activ
ity.DSPManager
E/AndroidRuntime( 4034): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1993)
E/AndroidRuntime( 4034): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2104)
E/AndroidRuntime( 4034): at android.app.ActivityThread.access$600(Activit
yThread.java:132)
E/AndroidRuntime( 4034): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1157)
E/AndroidRuntime( 4034): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 4034): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 4034): at android.app.ActivityThread.main(ActivityThrea
d.java:4575)
E/AndroidRuntime( 4034): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4034): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 4034): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 4034): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:553)
E/AndroidRuntime( 4034): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4034): Caused by: java.lang.ClassNotFoundException: com.bel.an
droid.dspmanager.activity.DSPManager
E/AndroidRuntime( 4034): at dalvik.system.BaseDexClassLoader.findClass(Ba
seDexClassLoader.java:61)
E/AndroidRuntime( 4034): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:501)
E/AndroidRuntime( 4034): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:461)
E/AndroidRuntime( 4034): at android.app.Instrumentation.newActivity(Instr
umentation.java:1023)
E/AndroidRuntime( 4034): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1984)
E/AndroidRuntime( 4034): ... 11 more
W/ActivityManager( 1421): Force finishing activity com.bel.android.dspmanager/
.activity.DSPManager
D/OpenGLRenderer( 1950): Flushing caches (mode 0)
Should be easy to figure out.
I'll try to wipe dalvik cache for one..
EDIT: No such luck, DSP manager from CM9 was working fine.
EDIT2: Doesn't work from /data/app either
Ok i figured it out hopefully it works now please reply if you dont get the FC anymore
Instructions please make sure u deleted the AwesomeBEATS.apk first from system/apps before flashing.
Thanks guys for testing again for me.
This is what your suppose to get.
Is it just me or is there a space in that filename... linux hates that you know..
EDIT: Doesn't work either, I think this bit is the problem:
I/dalvikvm( 3312): Unable to open or create cache for /system/app/Awesome BEATS.apk (/data/dalvik-cache/[email protected]@Awesome [email protected])
There's a space in that dex class filename, I don't think that's allowed
Renamed the apk file and trying to regenerate dalvik cache.
---------- Post added at 03:07 AM ---------- Previous post was at 02:46 AM ----------
Yup got it working by renaming the apk file, but I hear no changes in sound when I move the EQ, the engine is selected and I even rebooted.
nik3r said:
Is it just me or is there a space in that filename... linux hates that you know..
EDIT: Doesn't work either, I think this bit is the problem:
I/dalvikvm( 3312): Unable to open or create cache for /system/app/Awesome BEATS.apk (/data/dalvik-cache/[email protected]@Awesome [email protected])
There's a space in that dex class filename, I don't think that's allowed
Renamed the apk file and trying to regenerate dalvik cache.
---------- Post added at 03:07 AM ---------- Previous post was at 02:46 AM ----------
Yup got it working by renaming the apk file, but I hear no changes in sound when I move the EQ, the engine is selected and I even rebooted.
Click to expand...
Click to collapse
Can you pm me the one you got working so I can look at it thanks.
Edit: What app were u using to listen to music? Apollo? Theirs a big difference with Apollo.
Edit: All you did was rename the App from Awesome Beats.apk to AwesomeBeats.apk?
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
Yup just rename it without space, the dex class is named after the apk file. Notice how nobody uses spaces in their filenames for that very reason, the convention is xx.domain.appname.apk for a reason, there's no space in URL either
I use poweramp and I disabled all internal postprocessing to hear it better.
Oh it works fine with google music. I'll see if I can get it to work with poweramp too
Yup if I disable direct volume control it works well, just takes a while to take effect, poweramp has nice large buffers
Nice work, just change the filename and here's your certificate for my ROM:
Code:
[** NIKER APPROVED **]
nik3r said:
Yup just rename it without space, the dex class is named after the apk file. Notice how nobody uses spaces in their filenames for that very reason, the convention is xx.domain.appname.apk for a reason, there's no space in URL either
I use poweramp and I disabled all internal postprocessing to hear it better.
Oh it works fine with google music. I'll see if I can get it to work with poweramp too
Yup if I disable direct volume control it works well, just takes a while to take effect, poweramp has nice large buffers
Nice work, just change the filename and here's your certificate for my ROM:
Code:
[** NIKER APPROVED **]
Click to expand...
Click to collapse
Thanks man I appreciate it! Gave u thanks in the OP!.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
So doesn't work with apollo?
XxhTcG2uSERxX said:
So doesn't work with apollo?
Click to expand...
Click to collapse
I does work with Apollo hit settings and equalizer and it will bring up the Awesome Control by default it used Apollo for your audio files.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
The preset are all 0.0+,running mimicry
XxhTcG2uSERxX said:
The preset are all 0.0+,running mimicry
Click to expand...
Click to collapse
In equalizer? I set the equalizer at 0.0 but even without the equalizer u can see a huge improvement and if u wanna add anything else thru the equalizer or use a different app like Power Amp it will now use the beats audio files.
Sent from my Dark Unicorn Resurrected v.2 using Tapatalk 2
Oh,because in ur screenshot it has them high

[ROM] [LP 5.0.2] LiquidSmooth-UNOFFICIAL v4.0 toro

poo706 presents... LIQUIDSMOOTH LOLLIPOP - UNOFFICIAL
Things to note
Same kernel as Ziyan's CM12 (EXT4 only)
F2FS supported on /data and /cache only, /system must be EXT4
For F2FS use one of the following Full_Auto kernels: R1, R4.5, R5, R6, R7, R8, R10, R10, R11
Linaro toolchains for both ROM and kernel
Liquid Optimizations
CM12 Theme Engine
Deodexed: First boot will take a long time!
Clear all recents on a regular basis to reduce lag, they survive a reboot!
Su binary is not included, install SuperSu from recovery: http://download.chainfire.eu/supersu
Use as small gapps as possible, I've had luck with the minimal edition from here: http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330
2/21: http://www.mediafire.com/download/xjpv7cdiqrea6fe/LS-LP-v4.0-2015-02-21-liquid_toro.zip
Old versions:
2/14: http://www.mediafire.com/download/anrm2e7utbpi743/LS-LP-v4.0-2015-02-14-liquid_toro.zip
2/11: http://www.mediafire.com/download/spspbpcg2r9h41t/LS-LP-v4.0-2015-02-11-liquid_toro.zip
1/28: http://www.mediafire.com/download/nu9tppot8xzl9yf/LS-LP-v4.0-2015-01-28-liquid_toro.zip
1/25: http://www.mediafire.com/download/az5s82692b7pqb3/LS-LP-v4.0-2015-01-25-liquid_toro.zip
1/19: http://www.mediafire.com/download/4olpmgsifq5qygc/LS-LP-v4.0-2015-01-19-liquid_toro.zip
Google Drive mirror: https://drive.google.com/folderview?id=0B_Yk7pLJ4-VhX0s4WGpFMm1BWEk&usp=sharing
Click to expand...
Click to collapse
Changelogs:
2/21: Boot animation memory leak fix
2/14: Switched from Layers to CM12 Theme Engine (clean flash this build)
2/11: Resynced source
1/28: Reverted minor F2FS change, Linaro 4.8.4 for ROM, Linaro 4.9.1 for kernel, deodexed
1/25: Minor change regarding F2FS, HW decoding working again, YouTube working, navbar customizations
1/19: ROM (but not kernel) supports F2FS on /data and /cache, torch tile fixed, new APNs
Credits and thanks:
LiquidSmooth team: https://github.com/LiquidSmooth
@Ziyan: https://github.com/Ziyann
@MWisBest: https://github.com/MWisBest
@zzpianoman: https://github.com/zzpianoman
@musical_chairs
@bsmitty83 for the Full_Auto kernel: http://forum.xda-developers.com/gal.../lollipop-kernel-fullauto-r1-aosp-cm-t2994371
@Nautilus74 for repacking Full_Auto with ramdisks
My other projects:
LiquidSmooth-UNOFFICIAL LP: maguro, toroplus
LiquidSmooth-OFFICIAL KK: maguro, toro, toroplus
LiquidSmooth-UNOFFICIAL KK: maguro, toro, toroplus, grouper
F2FS Converter tools: Galaxy Nexus, grouper
APNs: Ting (LTE), Verizon (MMS)
Click to expand...
Click to collapse
[poo]
Thanks @poo706! Looking forward to this.
A few things I collected on the first build:
Logcat error and fatal events ("adb logcat *:E *:F") for camera crash when saving a picture:
Code:
E/AudioTrack(17751): AudioTrack::set : Exit
F/libc (17751): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xf3e0 in tid 18007 (NotificationThr)
E/DEBUG ( 133): AM write failure (32 / Broken pipe)
E/SharedPreferencesImpl( 537): Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
E/Camera (17842): Error 100
E/CAM_CamErrCallback(17842): Got camera error callback. error=100
E/AndroidRuntime(17842): FATAL EXCEPTION: main
E/AndroidRuntime(17842): Process: com.android.camera2, PID: 17842
E/AndroidRuntime(17842): java.lang.RuntimeException: Media server died.
E/AndroidRuntime(17842): at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:33)
E/AndroidRuntime(17842): at com.android.ex.camera2.portability.AndroidCameraAgentImpl$ErrorCallbackForward$1.run(AndroidCameraAgentImpl.java:1099)
E/AndroidRuntime(17842): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(17842): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(17842): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(17842): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(17842): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17842): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(17842): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime(17842): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/AudioService( 537): Media server died.
E/MediaPlayerFactory(18162): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory(18162): Failed to open FACTORY_LIB Error : dlopen failed: library "libdashplayer.so" not found
E/MonoPipe(18162): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
E/SoundTriggerHwService(18162): couldn't load sound trigger module sound_trigger.primary (No such file or directory)
E/AudioService( 537): Media server started.
E/audio_a2dp_hw(18162): adev_set_parameters: ERROR: set param called even when stream out is null
E/audio_a2dp_hw(18162): adev_set_parameters: ERROR: set param called even when stream out is null
Strace output of launching the rild daemon on liquid LP (non-working radio) ("rild -l /vendor/lib/libsec-ril_lte.so -- -d /dev/ttys0"): http://pastebin.com/pHGNC7k3
Strace output of launching the rild daemon with FML's working radio: http://pastebin.com/LL50FQux
Keep seeing this "Failed to get socket port [7777]" after "Opening tty device /dev/ttys0\n\0", by filtering the previous 2 outputs through sort, uniq, and diff. I think MWisBest fixed something similar by patching the kernel.
My 2 cents. Keep up the great work man!
7175 said:
Thanks @poo706! Looking forward to this.
A few things I collected on the first build:
Logcat error and fatal events ("adb logcat *:E *:F") for camera crash when saving a picture:
Code:
E/AudioTrack(17751): AudioTrack::set : Exit
F/libc (17751): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xf3e0 in tid 18007 (NotificationThr)
E/DEBUG ( 133): AM write failure (32 / Broken pipe)
E/SharedPreferencesImpl( 537): Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
E/Camera (17842): Error 100
E/CAM_CamErrCallback(17842): Got camera error callback. error=100
E/AndroidRuntime(17842): FATAL EXCEPTION: main
E/AndroidRuntime(17842): Process: com.android.camera2, PID: 17842
E/AndroidRuntime(17842): java.lang.RuntimeException: Media server died.
E/AndroidRuntime(17842): at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:33)
E/AndroidRuntime(17842): at com.android.ex.camera2.portability.AndroidCameraAgentImpl$ErrorCallbackForward$1.run(AndroidCameraAgentImpl.java:1099)
E/AndroidRuntime(17842): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(17842): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(17842): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(17842): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(17842): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17842): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(17842): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime(17842): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/AudioService( 537): Media server died.
E/MediaPlayerFactory(18162): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory(18162): Failed to open FACTORY_LIB Error : dlopen failed: library "libdashplayer.so" not found
E/MonoPipe(18162): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
E/SoundTriggerHwService(18162): couldn't load sound trigger module sound_trigger.primary (No such file or directory)
E/AudioService( 537): Media server started.
E/audio_a2dp_hw(18162): adev_set_parameters: ERROR: set param called even when stream out is null
E/audio_a2dp_hw(18162): adev_set_parameters: ERROR: set param called even when stream out is null
Strace output of launching the rild daemon on liquid LP (non-working radio) ("rild -l /vendor/lib/libsec-ril_lte.so -- -d /dev/ttys0"): http://pastebin.com/pHGNC7k3
Strace output of launching the rild daemon with FML's working radio: http://pastebin.com/LL50FQux
Keep seeing this "Failed to get socket port [7777]" after "Opening tty device /dev/ttys0\n\0", by filtering the previous 2 outputs through sort, uniq, and diff. I think MWisBest fixed something similar by patching the kernel.
My 2 cents. Keep up the great work man!
Click to expand...
Click to collapse
Damn dude, your debugging abilities are far greater than mine! The device repos for maguro, toro, and toroplus were all set up in the same fashion : starting with googles latest source (jellybean) and applying a handful of commits authored by ziyan. All three boot. Everything works on maguro, no data on toro, and no voice or data on toroplus.
I gathered these commits from mw's github and figured I might need some or all to fix the radio issues on toro and toroplus. I would greatly appreciate your opinion.
https://github.com/MWisBest/android_bionic/commit/af1fc2a3051992897939980b38ef9da6455f2a73
https://github.com/MWisBest/android...mmit/8994231ced53c29b33200bc04275cafacf48025e
https://github.com/MWisBest/android...mmit/6d5cc7a2044335ee8c3cd042d173a5f4a66e520f
https://github.com/MWisBest/android_hardware_ril/commit/880e828a9424b469d27ec07b800efdb65cddc1af
https://github.com/MWisBest/android...mmit/7611a40b233517384d56d1f93caa7fd836c376af
https://github.com/MWisBest/android...mmit/f04c281e50ece48fc93dae62e4d5a5e4f982a567
https://github.com/MWisBest/android...mmit/b700091b6b5fc13b0b17e7fbc8ecb8083234dcea
https://github.com/MWisBest/proprie...mmit/9fc72185943049645c82dccd9f8f8791568d1444
https://github.com/MWisBest/proprie...mmit/5d70b4a8d019d60102432ca29f738e6e7c39a978
[poo]
poo706 said:
Damn dude, your debugging abilities are far greater than mine! The device repos for maguro, toro, and toroplus were all set up in the same fashion : starting with googles latest source (jellybean) and applying a handful of commits authored by ziyan. All three boot. Everything works on maguro, no data on toro, and no voice or data on toroplus.
I gathered these commits from mw's github and figured I might need some or all to fix the radio issues on toro and toroplus. I would greatly appreciate your opinion.
https://github.com/MWisBest/android_bionic/commit/af1fc2a3051992897939980b38ef9da6455f2a73
https://github.com/MWisBest/android...mmit/8994231ced53c29b33200bc04275cafacf48025e
https://github.com/MWisBest/android...mmit/6d5cc7a2044335ee8c3cd042d173a5f4a66e520f
https://github.com/MWisBest/android_hardware_ril/commit/880e828a9424b469d27ec07b800efdb65cddc1af
https://github.com/MWisBest/android...mmit/7611a40b233517384d56d1f93caa7fd836c376af
https://github.com/MWisBest/android...mmit/f04c281e50ece48fc93dae62e4d5a5e4f982a567
https://github.com/MWisBest/android...mmit/b700091b6b5fc13b0b17e7fbc8ecb8083234dcea
https://github.com/MWisBest/proprie...mmit/9fc72185943049645c82dccd9f8f8791568d1444
https://github.com/MWisBest/proprie...mmit/5d70b4a8d019d60102432ca29f738e6e7c39a978
[poo]
Click to expand...
Click to collapse
Thanks man, tryin to sharpen up my debug toolbox.
That's great you gathered up all the commits. I think you found exactly what we need.
I didn't see it in the commits, but there's also some toro-radio specific additions to build.prop I noticed in FML's build.prop, some of which may be needed.
Code:
# Set PREFERRED_NETWORK_MODE to GLOBAL in Database for this device
ro.telephony.default_network=7
# Set CDMA SUBSCRIPTION SOURCE to RUIM in Database for this device
ro.telephony.default_cdma_sub=0
# Enable code specific to toro's RIL
ro.telephony.toroRIL=1
# Default CDMA/LTE values from 4.2.2 OTA
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000,540000,960000
ro.gsm.data_retry_config=max_retries=infinite,default_randomization=2000,0,0,80000,125000,485000,905000
ro.gsm.2nd_data_retry_config=max_retries=infinite,default_randomization=2000,0,0,80000,125000,485000,905000
ro.cdma.otaspnumschema=SELC,1,80,99
7175 said:
Thanks man, tryin to sharpen up my debug toolbox.
That's great you gathered up all the commits. I think you found exactly what we need.
I didn't see it in the commits, but there's also some toro-radio specific additions to build.prop I noticed in FML's build.prop, some of which may be needed.
Code:
# Set PREFERRED_NETWORK_MODE to GLOBAL in Database for this device
ro.telephony.default_network=7
# Set CDMA SUBSCRIPTION SOURCE to RUIM in Database for this device
ro.telephony.default_cdma_sub=0
# Enable code specific to toro's RIL
ro.telephony.toroRIL=1
# Default CDMA/LTE values from 4.2.2 OTA
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000,540000,960000
ro.gsm.data_retry_config=max_retries=infinite,default_randomization=2000,0,0,80000,125000,485000,905000
ro.gsm.2nd_data_retry_config=max_retries=infinite,default_randomization=2000,0,0,80000,125000,485000,905000
ro.cdma.otaspnumschema=SELC,1,80,99
Click to expand...
Click to collapse
Thanks for the heads up about build.prop. I have a lot of stuff to try, I just need to find the time. Hopefully this weekend.
[poo]
Awesome news
Sent from my Galaxy Nexus using Tapatalk
There's no lag and I like the darker theme too.
I forgot to test the camera when I had it running though.
Did anyone get data to work? I think it just needs the proper apns.
See the unnificial thread. Poo posted a possible fix
nicotheandroidguy said:
Did anyone get data to work? I think it just needs the proper apns.
Click to expand...
Click to collapse
prbadboy69 said:
See the unnificial thread. Poo posted a possible fix
Click to expand...
Click to collapse
It's not an APNs issue, and I didn't post a fix. I think I know what needs to be fixed, but I'll have to put out another build.
[poo]
I saw a new build posted in maguro, excited to see if a new toro build is in the pipeline *waits patiently*
Either way backing up and converting my GNex back to ext4 for now, because I can't wait to try this. Really appreciate your work!
wkr.mky said:
I saw a new build posted in maguro, excited to see if a new toro build is in the pipeline *waits patiently*
Either way backing up and converting my GNex back to ext4 for now, because I can't wait to try this. Really appreciate your work!
Click to expand...
Click to collapse
My plan is to implement a couple of commits that will hopefully fix data and then put out a new toro build tonight or tomorrow.
[poo]
12/27 added to the OP. I expect data to be fixed in this build, if someone could please confirm that.
[poo]
poo706 said:
12/27 added to the OP. I expect data to be fixed in this build, if someone could please confirm that.
[poo]
Click to expand...
Click to collapse
Nice job man, data is working great with 3g! I'm in a weak area, so I haven't been able to test 4g yet.
{
"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"
}
Could someone let me know which gapps has a working camera?
7175 said:
Nice job man, data is working great with 3g! I'm in a weak area, so I haven't been able to test 4g yet.
Could someone let me know which gapps has a working camera?
Click to expand...
Click to collapse
Score! Please keep me posted on the 4G situation. I thought our camera problems were because of the new GPU drivers, not anything to do with gapps.
[poo]
poo706 said:
Score! Please keep me posted on the 4G situation. I thought our camera problems were because of the new GPU drivers, not anything to do with gapps.
[poo]
Click to expand...
Click to collapse
Ok, I must have misread something about the gapps camera working. For anyone that needs a working camera on lollipop, I've been using "Camera ZOOM FX".
Also, Smitty's lollipop beta 3 kernel is working great with this new liquid. Details here at this post.
7175 said:
Ok, I must have misread something about the gapps camera working. For anyone that needs a working camera on lollipop, I've been using "Camera ZOOM FX".
Also, Smitty's lollipop beta 3 kernel is working great with this new liquid. Details here at this post.
Click to expand...
Click to collapse
New Smitty is working with LS? I know that it wasn't compatible with CM before and LS is largely CM. Interesting... Is it f2fs compatible? I take it you manually removed the gpu module?
[poo]
poo706 said:
12/27 added to the OP. I expect data to be fixed in this build, if someone could please confirm that.
[poo]
Click to expand...
Click to collapse
"no sim card" error on boot... i dunno....
might just be my phone...screenshots are the same as last build..CMDA-1xRTT...voice:in service/Data: out
arigr said:
"no sim card" error on boot... i dunno....
might just be my phone...screenshots are the same as last build..CMDA-1xRTT...voice:in service/Data: out
Click to expand...
Click to collapse
Hmm, so that makes two bad reports and one good report. Not sure what to make of that.
[poo]
This looks interesting. I'm charging up my toro now, gonna give this a flash and see if I can help with any info on data and signal.

Categories

Resources