Related
It's been a long time since I've even tried to port a ROM. Android surely has changed a lot and now I get to meet new errors that I have never seen and have no idea to get past.
Mainly posting this because I only actually have an hour or less every day to work on this, and if I couldn't get it working quickly enough then I'd just leave it up to the community. Used MapleSyrup's AOSP 4.1.1 ROM and Galaxy Nexus's MIUI.US ROM. Whoever can fix this error will win 100 internetz, and maybe a small donation if it's fully booting/working. As I said I really have little time to work on this.
The error;
Code:
W/Zygote ( 105): Class not found for preloading: android.media.AudioManager$2
E/JNIHelp ( 105): Native registration unable to find class 'android/media/videoeditor/VideoEditorProfile', aborting
F/libc ( 105): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 105 (zygote)
MIUI boots to the bootanimation. The animation doesn't loop but the system is looping at that. Want to try an fix it? Here ya go;
By clicking the download link, you fully acknowledge that this ROM is still under development, and not all, if any, features may be available to the user. You also acknowledge that you are fully accountable for any damages, explosions, sword fights, or other unexpected activity that may occur to your device.
http://goo.gl/4zzzl
Btw I see no rules as to whether non-fully-booting ROMs can be placed here so if not... Oops.
GazaIan said:
Code:
W/Zygote ( 105): Class not found for preloading: android.media.AudioManager$2
E/JNIHelp ( 105): Native registration unable to find class 'android/media/videoeditor/VideoEditorProfile', aborting
F/libc ( 105): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 105 (zygote)
Click to expand...
Click to collapse
Wild assed guess, here... but it looks like you are missing JNI library. I can't post a link, but I found the following in the source code for com.android.media.videoeditor.VideoEditorProfile.java.You'll notice a promising bit in the constructor...
Code:
static {
System.loadLibrary("media_jni");
native_init();
}
You might want to see if your ROM has that lib available.
I've created this thread to join developers into the final audio fix for android 2.3.7. Although the prupose of this thread is to fix Audio on Android 4.0.4 we first need audio drivers source.
On all our based Android 2.3.7 ROMs we fixed audio using some AOSP Alcatel .so files (to remove Samsung lib dependency) and some Samsung .so libraries too, this is the whole list:
# Samsung audio libs
acoustics.default.so
alsa.default.so
libaudiopolicy.so
# Alcatel audio libs
libaudio.so
libaudioflinger.so
libaudioeffect_jni.so
libmediaplayerservice.so
Click to expand...
Click to collapse
Our device uses ALSA audio system, which is also used on stock ROM. This is related to software more than hardware, although we are not planning at the momnt to "change" this audio way. To activate ALSA audio some changes need to be done on kernel, that samsung provide to us on their kernel sources. Mostly we need to enable ALSA on device .config file:
Code:
CONFIG_BRCM_SOUND_ALSA=y
CONFIG_BRCM_SOUND_ATHENA_ALSA=y
That's not an issue as prebuilt alsa libs work, so new libs should work too. Ramdisk needs some edit too, as ALSA audio system is stored on dev/snd, and this is well defined too on our ramdisk, ueventd.rc
Code:
/dev/snd/* 0660 system audio
We realised after that that actually CyanogenMod 7.2 Sources include ALSA lib sources, what we didn't know if those sources could work with our devices. This sources build the following libs, as releated to its Android.mk files:
We can found inside hardware/sound_alsa the following sources to build
libaudio
libaudioflinguer
hw/alsa.default
hw/acoustics.default
On external/alsa-lib we can found the sources of anoher lib
libasound
And apart from that, some other audio libs such as libaudiopolicy are built inside framework/base repository, but they doesn't make any conflict. Other libs are included on Android source files.
To enable the build of those libs, using ALSA software instead af "Android default (not sure about that)". I've enabled on Boardconfig.mk the following configs:
Code:
# Audio
BOARD_USES_GENERIC_AUDIO := false
BOARD_USES_ALSA_AUDIO := true
BOARD_PREBUILT_LIBAUDIO := false # even not writted.
BUILD_WITH_ALSA_UTILS := true
This configs enable the building of those libs on their Android.mk files.
Also, I've added on device_cooperve.mk the following lines to build those hw modules releated to audio:
Code:
# Audio
PRODUCT_PACKAGES += \
alsa.default \
acoustics.default
After the build finished, and fixed some errors, AUDIO WAS WORKING, but not as expected. There were issues on Audio Routing:
Headphones are detected through system, but audio is not reproduced on headphones (speakers does)
When you make a call, sometimes you can't and phone freezes, or when you hangout the call, phone freezes.
Everything else apart from that seems to be working, even microphone, although this bugs are pretty weird, I took a look to logcat.
Code:
[COLOR="Gray"]D/AndroidRuntime( 1419): CheckJNI is OFF
I/ ( 1420): ServiceManager: 0xad50[/COLOR]
[COLOR="Red"]E/ALSALib ( 1420): external/alsa-lib/src/control/control.c:882:(snd_ctl_open_noupdate) Invalid CTL AndroidOut[/COLOR]
W/AudioHardwareALSA( 1420): Unable to attach mixer to device AndroidOut: No such file or directory
[COLOR="Red"]E/ALSALib ( 1420): external/alsa-lib/src/control/control.c:882:(snd_ctl_open_noupdate) Invalid CTL AndroidIn[/COLOR]
W/AudioHardwareALSA( 1420): Unable to attach mixer to device AndroidIn: No such file or directory
D/AudioHardwareALSA( 1420): openOutputStream called for devices: 0x00000002
D/ALSAModule( 1420): open called for devices 00000002 in mode 0...
I/ALSAModule( 1420): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal
I/AudioHardwareALSA( 1420): buffer size (bytes) to AF = 16384
D/AudioFlinger( 1420): setParameters(): io 1, keyvalue routing=2, tid 1593, calling tid 1420
I/AudioFlinger( 1420): AudioFlinger's thread 0x1d978 ready to run
D/ALSAModule( 1420): route called for devices 00000002 in mode 0...
I managed to fix those errors (E/) by moddifying asound.conf, found on system/etc, adding this lines on the top and deleting old ones:
Code:
ctl.AndroidOut {
type hw
card 0 # Can replace with drivers name from /proc/asound/cards
}
ctl.AndroidIn {
type hw
card 0
}
Now logcat shows this at the moment
Code:
[COLOR="Gray"]D/AndroidRuntime( 1425): CheckJNI is OFF
I/ ( 1426): ServiceManager: 0xad50[/COLOR]
D/AudioHardwareALSA( 1426): openOutputStream called for devices: 0x00000002
D/ALSAModule( 1426): open called for devices 00000002 in mode 0...
I/ALSAModule( 1426): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal
I/AudioHardwareALSA( 1426): buffer size (bytes) to AF = 16384
D/AudioFlinger( 1426): setParameters(): io 1, keyvalue routing=2, tid 1604, calling tid 1426
I/AudioFlinger( 1426): AudioFlinger's thread 0x1d960 ready to run
D/ALSAModule( 1426): route called for devices 00000002 in mode 0...
Actually that's the actual logcat, using headphones, and sound goes through speakers:
Code:
D/dalvikvm( 1926): GC_EXTERNAL_ALLOC freed 324K, 49% free 3317K/6471K, external 571K/579K, paused 58ms
V/HeadsetObserver( 1607): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=2, DEVPATH=/devices/virtual/switch/h2w, SEQNUM=1335, ACTION=change, SWITCH_NAME=h2w}
W/Vold ( 1415): Ignoring unknown switch 'h2w'
V/HeadsetObserver( 1607): Intent.ACTION_HEADSET_PLUG: state: 1 name: h2w mic: 0
I/HeadsetService( 1907): Headset plugged: true
I/Effect-DRC( 2115): Compression factor set to: 1.000000
I/Effect-BassBoost( 2115): New strength: 0
D/SurfaceFlinger( 1607): Layer[1c62e0] [2] non-RGB565 reloads
I/Effect-Equalizer( 2115): Setting band 2 to 0
I/Effect-Equalizer( 2115): Setting band 2 to 1
I/Effect-Equalizer( 2115): Setting band 2 to 2
I/Effect-Equalizer( 2115): Setting band 2 to 3
I/Effect-Equalizer( 2115): Setting band 2 to 4
I/Effect-Equalizer( 2115): Setting loudness correction reference to 100.000000 dB
D/AudioFlinger( 2115): setParameters(): io 1, keyvalue routing=8, tid 2117, calling tid 2115
D/ALSAModule( 2115): route called for devices 00000008 in mode 0...
D/ALSAModule( 2115): open called for devices 00000008 in mode 0...
I/ALSAModule( 2115): Initialized ALSA PLAYBACK device AndroidPlayback
D/dalvikvm( 1926): GC_EXTERNAL_ALLOC freed 323K, 49% free 3327K/6471K, external 571K/579K, paused 44ms
We must take a look if that is kernel relevant or not, as we really need this libs to work, to then start working on CyanogenMod 9.1 / Android 4.0.4 audio. Any suggestions are welcomed, although if they are from newbie or developer, don't want this thread to be spammed as others
Why this is helpfull ?
Currently we based it upon cm7.2 GB
this is because our device uses to run GB as stock.
When we figure the sources out and figure out what is part 1 or such we can adapt and try to port to CM9 so in that we can have new libs aswell.
(W.I.P Post;P )
to me
Sorry for intrusion Biel and spacecaker But can i have the output of cat /proc/asound/cards ???
4dead said:
Sorry for intrusion Biel and spacecaker But can i have the output of cat /proc/asound/cards ???
Click to expand...
Click to collapse
Sure, here it is:
Code:
# cat /proc/asound/cards
0 [ALSA ]: Broadcom - Broadcom ALSA
Broadcom ALSA PCM 0
I can help
bieltv.3 said:
Sure, here it is:
Code:
# cat /proc/asound/cards
0 [ALSA ]: Broadcom - Broadcom ALSA
Broadcom ALSA PCM 0
Click to expand...
Click to collapse
give me any link - any guide i got linux want to help i will do my best
at myaser
for this
there are no guides.
Sent from my S500 using xda app-developers app
SpaceCaker said:
at myaser
for this
there are no guides.
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
I will try using my mind
Sorry for non-useful comments
u need tiny alsa not alsa sources to work with bcm21553 modules , Android 4.0.4 introduced tiny alsa replacing alsa
percy_g2 said:
u need tiny alsa not alsa sources to work with bcm21553 modules , Android 4.0.4 introduced tiny alsa replacing alsa
Click to expand...
Click to collapse
We are fixing on 2.3.7 at the moment. Tinyalsa gives support for msm8960 chips as I can see on their sources, so we should start from 2.3.7.
Enviado desde mi C5303 mediante Tapatalk
The sound will work after 3 months?
The sound will work after 3 months?
bieltv.3 said:
We are fixing on 2.3.7 at the moment. Tinyalsa gives support for msm8960 chips as I can see on their sources, so we should start from 2.3.7.
Enviado desde mi C5303 mediante Tapatalk
Click to expand...
Click to collapse
What about CyanMobile eXperience Biel ??
Are you will starting the build ??
@bieltv.3
Look At ur inbox
jeko99 said:
The sound will work after 3 months?
Click to expand...
Click to collapse
Maybe... Be patient bro, it's so hard to fixing audio issue
jeko99 said:
The sound will work after 3 months?
Click to expand...
Click to collapse
No ETA's, please.
Can't you see that this thread is a Dev thread? No discussion here, please.
Enviado de meu XT1032 usando Tapatalk
I think you should really take a look on the stock asound.conf
4dead said:
I think you should really take a look on the stock asound.conf
Click to expand...
Click to collapse
We are using stock asound.conf
Enviado desde mi C5303 mediante Tapatalk
Are the drivers initialized in the kernel?
check here ---> http://seasonofcode.com/posts/using-alsa-audio-drivers-in-android.html
and here ----> http://code.paulk.fr/article3/tinyalsa-audio
faZevoLv said:
Are the drivers initialized in the kernel?
check here ---> http://seasonofcode.com/posts/using-alsa-audio-drivers-in-android.html
and here ----> http://code.paulk.fr/article3/tinyalsa-audio
Click to expand...
Click to collapse
Biel already said in the op that he added /dev/snd in the Ramdisk and i dont think our device use tinyalsa because With Alsa Drivers biel got sound working.
No Way To Use Audio files from other devices
Not booting at all
BroadcomCM Team \o/
Good luck It seems to be hard
{
"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"
}
SlimRoms is a custom android operating system. The main goal is to offer users a slimmed down but still feature rich alternative to other android operating systems.
The entire SlimTeam work together to bring you this tailor-made beauty straight from Android Open Source Project (AOSP) source code.
All of the sources can be publicly viewed through GitHub and you can stop by the public Gerrit to submit patches of any type.
SlimKat is the project name for SlimRoms based on Android 4.4 and offers the following original features:
The Real Dark Slim
Full system-wide dark interfaces. - If you like it smooth and classy.
Custom Shortcuts. Everywhere.
Hardware keys, Navigation Ring, Navigation Bar, Lockscreen, Tiles, Notifications etc. - We've got you covered.
System-Wide Keyboard Controls
Rotation, cursor control, optional emoticions, etc. - You'll be tapping away to your heart's content.
SlimCenter
Downloads, contact information, system app removal. - More fun than you can shake a stick at.
Camera Features
Trueview, Smart Capture. - Capture life moments with ease
.
Check out the full feature list here
WHAT IS WORKING?
WiFi
Bluetooth
RIL (single sim support only)
Sensors
GPS
Camera
Leds
Buttons
Audio
Video
Camcorder
WHAT IS NOT WORKING?
Nothing .....!! Or you tell me.....!!!
Installation Instructions
Download the latest build
Wipe data / Factory reset
Wipe cache
Wipe dalvik cache
Flash it using ClockworkMod recovery or TWRP
Flash Gapps
Flash Addons
Reboot
Enjoy
DOWNLOADS
Unofficial Builds
Slim Gapps
SOURCES:https://github.com/YU-YUREKA
Disclaimer: SlimRoms are not responsible for any damages to your device.
XDA:DevDB Information
Slimkat for Yureka, ROM for the YU Yureka
Contributors
sooorajjj, @sufoalmighty [For mirror links -available in 3rd post] , @Santhosh M and @faux123 [ for awesome kernel patches ] , Official CM team and Slim team
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.1.x
ROM Firmware Required: Yureka
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2015-01-20
Created 2015-01-17
Last Updated 2015-01-20
NOTE: this is not stable for daily use
i do not recommend any one to flash this
this is just initial test build
EDIT : Stable for daily use
Thanks to @Santhosh M @faux123 for kernel commits : this is his kernel thread please support him and thank him here
SCREENSHOTS
CHANGELOG*"UNOFFICIAL-BUILD-1"
Initial TRY(to get slimkat - booting )
Fixed battery capacity bug
*"UNOFFICIAL-BUILD-2"
fix up boot.img and permissions
Audio bug is caused bcs of missing hal libs - still no fix........ trying
DT2W patches failed to compile will fix in next build
*"UNOFFICIAL-BUILD-3" -Mirror --Mirror2
fixed audio
fixed video
fixed Camcorder
*"UNOFFICIAL-BUILD-4" -Mirror --Mirror2
Build with custom toolchain linario linaro-4.9-14.06
And lots of kernel patches
Thanks, Flashing!
EDIT: tested, so smooth camera isnt as good as stock, sim 2 doesnt work at all
Great work mate! :good:
1st rom for YU thanks bro.
sufoalmighty said:
Thanks, Flashing!
EDIT: tested, so smooth camera isnt as good as stock, sim 2 doesnt work at all
Click to expand...
Click to collapse
thanks for testing
TheStrix said:
Great work mate! :good:
Click to expand...
Click to collapse
Samuel117 said:
1st rom for YU thanks bro.
Click to expand...
Click to collapse
thanks guys for support
@DooMLoRD @championswimmer
please take a look at these logs
audio hal issue - i think its because the audio effects and much more implementations by cm
http://paste.ubuntu.com/9770340/
http://paste.ubuntu.com/9770344/
http://paste.ubuntu.com/9763980/
Code:
I/MediaFocusControl( 827): AudioFocus requestAudioFocus() from [email protected]
V/Avrcp ( 2319): New genId = 9, clearing = 1
E/EffectProxy( 248): EffectCreate() could not get the sub effects
W/EffectsFactory( 248): EffectCreate() library proxy: could not create fx Qualcomm Bass Boost, error -22
E/AudioEffect( 4710): set(): AudioFlinger could not create effect, status: -22
E/AudioEffects-JNI( 4710): AudioEffect initCheck failed -4
E/AudioEffect-JAVA( 4710): Error code -4 when initializing AudioEffect.
D/AndroidRuntime( 4710): Shutting down VM
E/AndroidRuntime( 4710): FATAL EXCEPTION: main
E/AndroidRuntime( 4710): Process: com.android.gallery3d, PID: 4710
E/AndroidRuntime( 4710): java.lang.RuntimeException: Unable to resume activity {com.android.gallery3d/com.android.gallery3d.app.MovieActivity}: java.lang.IllegalArgumentException: Effect type: 0634f220-ddd4-11db-a0fc-0002a5d5c51b not supported.
E/AndroidRuntime( 4710): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2777)
E/AndroidRuntime( 4710): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2806)
E/AndroidRuntime( 4710): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2241)
E/AndroidRuntime( 4710): at android.app.ActivityThread.access$800(ActivityThread.java:138)
E/AndroidRuntime( 4710): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
E/AndroidRuntime( 4710): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4710): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 4710): at android.app.ActivityThread.main(ActivityThread.java:5034)
E/AndroidRuntime( 4710): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4710): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 4710): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
E/AndroidRuntime( 4710): Caused by: java.lang.IllegalArgumentException: Effect type: 0634f220-ddd4-11db-a0fc-0002a5d5c51b not supported.
E/AndroidRuntime( 4710): at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:405)
E/AndroidRuntime( 4710): at android.media.audiofx.BassBoost.<init>(BassBoost.java:101)
E/AndroidRuntime( 4710): at com.android.gallery3d.app.MovieActivity.initEffects(MovieActivity.java:393)
E/AndroidRuntime( 4710): at com.android.gallery3d.app.MovieActivity.onResume(MovieActivity.java:504)
E/AndroidRuntime( 4710): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
E/AndroidRuntime( 4710): at android.app.Activity.performResume(Activity.java:5320)
E/AndroidRuntime( 4710): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2767)
E/AndroidRuntime( 4710): ... 10 more
W/ActivityManager( 827): Force finishing activity com.android.gallery3d/.app.MovieActivity
W/ActivityManager( 827): Force finishing activity com.android.gallery3d/.app.GalleryActivity
W/ActivityManager( 827): Activity pause timeout for ActivityRecord{6504dd28 u0 com.android.gallery3d/.app.MovieActivity t8 f}
I/Timeline( 2051): Timeline: Activity_idle id: [email protected] time:835130
I/Timeline( 827): Timeline: Activity_windows_visible id: ActivityRecord{64ffaa90 u0 com.slim.slimlauncher/.Launcher t1} time:835454
I/MSM-irqbalance( 239): Decided to move IRQ130 from CPU5 to CPU6
W/ActivityManager( 827): Activity destroy timeout for ActivityRecord{6534bac0 u0 com.android.gallery3d/.app.GalleryActivity t8 f}
W/ActivityManager( 827): Activity destroy timeout for ActivityRecord{6504dd28 u0 com.android.gallery3d/.app.MovieActivity t8 f}
I/MSM-irqbalance( 239): Decided to move IRQ131 from CPU5 to CPU6
Code:
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 248): getOutput() returns output 2
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 248): getOutput() returns output 2
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 48000, format 1, channelMask 3, flags 4
D/AudioPolicyManagerBase( 248): getOutput() returns output 3
W/AudioTrack( 827): AUDIO_OUTPUT_FLAG_FAST denied by client due to mismatching sample rate (48000 vs 44100)
D/AudioFlinger( 248): start(4099), calling pid 827 session 52
D/AudioFlinger( 248): ? => ACTIVE (4099) on thread 0xb87083f0
I/QCOM PowerHAL( 248): Processing audio hint. Metadata: state=1
D/AudioPolicyManagerBase( 248): startOutput() output 3, stream 1, session 52
I/ActivityManager( 827): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 1892
D/SubSettings( 1892): Launching fragment com.android.settings.deviceinfo.Memory
here is the vendor blobs iam using
https://github.com/YU-YUREKA/proprietary_vendor_yu
any kind of help is appreciated
thank you
sooraj
video cant be played ???
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
can u give me link of stock rom
op updated new build is up for download
-------changes------
*"UNOFFICIAL-BUILD-2"
fix up boot.img and permissions
Audio bug is caused bcs of missing hal libs - still no fix........ trying
DT2W patches failed to compile will fix in next build
Kanth's said:
video cant be played ???
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
can u give me link of stock rom
Click to expand...
Click to collapse
yes video can be played but not in gallery youtube wrks
and sorry i dont have link to stok rom
I would recommend this to move to android development
vishal_android freak said:
I would recommend this to move to android development
Click to expand...
Click to collapse
But why .?...!!! its completely a build from source and i have met all GPL requirements
sooorajjj
Thanks for the update version 3 for stable release
ela1103 said:
sooorajjj
Thanks for the update version 3 for stable release
Click to expand...
Click to collapse
you are welcome
the build will be up soon .....!
uploading on slow connection
sooorajjj
use the mediafire site to upload and download .because the speed is stable
ela1103 said:
sooorajjj
use the mediafire site to upload and download .because the speed is stable
Click to expand...
Click to collapse
sorry i cant use mediafire ........ but maybe someone can mirror the links
BUILD is UP
Is it possible to port it to coolpad f2 or install this one on this smartphone?
albin88 said:
Is it possible to port it to coolpad f2 or install this one on this smartphone?
Click to expand...
Click to collapse
Do not install this build directly to coolpad f2
you need to replace boot.img so yes porting is posssible
Just replace boot.img or something more? Could you port it or this is not so simple?
albin88 said:
Just replace boot.img or something more? Could you port it or this is not so simple?
Click to expand...
Click to collapse
do you have recovery installed to flash this on your coolpad f2 ?
if yes then make a backup and try try flashing the rom as it is if it doesn’t boot dont worry it wont brick your device .....! just go back to recovery and restore your backup ............ try this then report ....
Hello xposed devs and @rovo89!
I tested my modules on Lollipop and I got this strange error: "Class not found using the boot class loader; no stack available".
Full error looks like this one: http://forum.xda-developers.com/showpost.php?p=58836010&postcount=613
Not sure if this is XposedBridge bug (new API will fix it?) or we should fix it on our side. Any solution?
Edit: Rovo89 gave us solution, read here: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Are you sure it's the same class on Lollipop?
Modules targeting the system behavior might need to be adjusted to the new Android framework code, which isn’t caused by ART, but simply by architecture and code changes that happen between any two Android releases. The most significant one is that the code for system services has been moved to a separate file. For most of the affected modules, this can be solved by a little refactoring (moving code to a different place).
Click to expand...
Click to collapse
Looks like it still same in Lollipop
https://github.com/android/platform.../android/server/pm/PackageManagerService.java
com.android.server.pm.PackageManagerService
There's nothing in that error about PackageManagerService. Also, considering that user is running CM12 and not AOSP, you might want to check the CM12 source anyway.
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
rovo89 said:
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Click to expand...
Click to collapse
Thank you so much! Very useful info for all xposed module devs
Moto x ghost
running AL 5.0.2 custom rom (AICP) made out of CM12
no boot loop
xposed works fine
flashed with twrp-2.8.4.0
smohanv said:
Moto x ghost
running AL 5.0.2 custom rom (AICP) made out of CM12
no boot loop
xposed works fine
flashed with twrp-2.8.4.0
Click to expand...
Click to collapse
You are off topic..
pyler said:
You are off topic..
Click to expand...
Click to collapse
You are right.. It is off topic.. Meant to post in xposed framework forum.. Sorry mate... Thanks for pointing..
rovo89 said:
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Click to expand...
Click to collapse
I already had my intercept in handleLoadPackage looking for package "android" and it worked previously, but for some reason it doesn't intercept this package in Lollipop.
My code is:
Code:
if (lpparam.packageName.equals("android")) {
XposedBridge.log("htccarxposed: Hooked into Android Policy!");
Log.i("htccarxposed","Hooked into Android Policy.");
And neither do I see the log flag nor is any of the hooking working.
The "Log" feature in the Xposed Installer app only shows the "Xposed" tag for ADB logs, not any of my log calls, btw, and I can't see anything there about the boot class loader.
Edit: Correction, I found this error:
Code:
02-14 20:26:09.992 E/Xposed ( 476): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
02-14 20:26:10.032 E/Xposed ( 476): java.lang.NoSuchMethodError: com.android.server.pm.PackageManagerService#grantPermissionsLPw(android.content.pm.PackageParser.Package,boolean)#exact
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.mods.appsettings.hooks.PackagePermissions.initHooks(PackagePermissions.java:59)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.mods.appsettings.XposedMod.initZygote(XposedMod.java:297)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:469)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:418)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
I have small problem...
I need to get (find) class SubSettings.
https://github.com/android/platform...ter/src/com/android/settings/SubSettings.java
My code:
https://github.com/pylerSM/XInstaller/blob/master/src/com/pyler/xinstaller/XInstaller.java#L1008
So if use param.getClass().getClassLoader() as class loader, I get "Class not found using the boot class loader; no stack available". Same story if I use "null" as class loader.
Any advice?
Dear all,
Does anyone knows the cause or how to debug why apps like zoom or the screen sharing in microsoft teams or google hangouts close when just trying it? Google earth works for some minutes but then needs to be restarted. In microsoft teams and google hangouts I can connect to any meeting, but, if I try to share the tablet screen, the app dies.
Also, sometimes when using these meeting apps the sound just resets to zero and I need to restart the tablet. By using logcat I have seen some PCM errors.
I am actually clueless on what to do. Any help is welcomed.
Details:
Samsung Galaxy Tab S 10.5 SM T800 Chagal Wifi
Lineage Os Unofficial 14.1 Android 7.1.2 build date Fri aug 7 2020
Kernel with deathly 3.4.113
Edit: I am copying a log file that shows several errors after trying to use Google Hangouts Meets. I do not know if maybe the cores are too old and vp8 encoding is not enough
<<< log_count = 7 >>>
[08-16 17:04:45.313 10503:10592 W/libjingle]
harmonyclient.cc: [113:720] [10592] (line 266): participant_log_id: "meet_android_1216387652843708342"
[08-16 17:04:45.527 10503:10562 E/MEET_MEDIACALL]
Failed to dispatch frames started event
java.lang.IllegalStateException: Expected device ID localParticipant for renderer update to correspond to a known meeting device
at hvo.b(PG:11)
at dqv.a(Unknown Source)
at dqp.a(PG:10)
at dzz.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at lsf.b(PG)
at lrj.run(PG:3)
at lsg.run(PG)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at jon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)
[08-16 17:04:47.655 10503:10503 E/MEET_AUDIO_SWITCHING]
Failed to retrieve proximity distance update
java.lang.IllegalStateException: ProximitySensorDataService could not be initialized
at bkt.a(Unknown Source)
at jpp.a(Unknown Source)
at lpu.a(PG:5)
at lqg.b(PG)
at lrj.run(PG:3)
at lqk.execute(PG)
at lqi.d(PG:1)
at lqj.g(PG)
at lpb.a(PG:14)
at loy.run(PG:4)
at lqk.execute(PG)
at lrh.a(PG:2)
at lqv.a(PG)
at lpb.f(PG:3)
at lqj.<init>(PG:2)
at lrc.a(PG:2)
at lpy.a(PG:7)
at jvx.b(PG:5)
at jxu.b(PG:9)
at jxj.a(PG:23)
at jxf.run(Unknown Source)
at jsl.run(PG:5)
at jsm.d(PG:8)
at jsm.c(PG:2)
at com.google.apps.tiktok.dataservice.SubscriptionFuturesMixinImpl$1.a(PG:2)
at com.google.apps.tiktok.tracing.contrib.androidx.TracedDefaultLifecycleObserver.a(PG:2)
at android.arch.lifecycle.FullLifecycleObserverAdapter.a(PG:7)
at l.a(PG)
at i.b(PG:13)
at i.a(PG:13)
at i.a(PG:12)
at com.google.apps.tiktok.inject.baseclasses.TracedFragmentLifecycle.a(PG:2)
at android.arch.lifecycle.FullLifecycleObserverAdapter.a(PG:7)
at l.a(PG)
at i.b(PG:13)
at i.a(PG:13)
at i.a(PG:12)
at ew.i(PG:5)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.c(PG:4)
at eo.i(PG:1)
at ew.i(PG:7)
at eo.a(PG:74)
at eo.c(PG:7)
at eo.d(PG:10)
at eo.a(PG:17)
at eo.b(PG:58)
at eo.a(PG:9)
at eo.b(PG:88)
at de.b(PG)
at bzt.a(PG:20)
at jae.a(PG)
at jaf.c(PG:11)
at icj.a(PG:2)
at idi.b(PG:10)
at icn.a(PG:5)
at iec.onPostCreate(PG)
at com.google.android.apps.meetings.conference.ConferenceActivity.onPostCreate(PG)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1200)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
[08-16 17:04:52.384 11224:11224 F/DEBUG]
pid: 10503, tid: 11052, name: GLThread.vclib >>> com.google.android.apps.meetings <<<
[08-16 17:04:54.501 2753:11229 W/ActivityManager]
Force finishing activity com.google.android.apps.meetings/.conference.ConferenceActivity
[08-16 17:04:54.632 2753:5917 W/ActivityManager]
Scheduling restart of crashed service com.google.android.apps.meetings/.taskmonitor.TaskMonitorService in 1000ms
[08-16 17:04:56.620 2753:11229 W/ActivityManager]
Ignoring remove of inactive process: ProcessRecord{50253b0 0:com.google.android.apps.meetings/u0a128}