Search This thread

LeopardSurd

Senior Member
May 31, 2009
564
165
Cluj-Napoca
Maniac, I've one question .. actually, we can't up/down volume (FM radio) when the screen off, a long time ago (I believe) you said "it's due to binary blobs from Motorola) , right now CM7 is stable ..so, could you to write those blobs, and make them open source or it isn't possible?

Regards from Argentina :)


Sent from my MB525 using Tapatalk 2

Great ideea, someone should find a way to make it working.
 
  • Like
Reactions: juan296

ktmbikerman

Senior Member
May 7, 2011
1,990
656
54
Cape Town
Data Connectivity Bug

Hello Maniac

Were you able to make anything of the logcats posted back here?

I'm on CM9 at the moment as I now have a Defy+ and can only use roms based on the GB kernel.

Haven't tried the BL6 froyo yet but will be glad to give it a try if you've managed to make some progress with this issue.
 

lefedor

Senior Member
Jun 21, 2009
97
12
guys plz help me:
seems like defy cm72 can't play aac files : standart music apk and motrt's player (which i rly like) failed. ttpod plays file since i guess it have own lib for that, but i don't like it. Can i anyway make system play aac by any player?

file example:
http://lefedor.com/A0001pr.aac
 
Last edited:

[] AL []

Recognized Contributor
Feb 22, 2011
2,870
4,637
Yo,

I can't wait to see if this awesome news for us [regarding a workaround the locked kernel for the PowerVR video driver] will also work for GB CM7...

More details here and go give a Thank you to kabaldan ;)

If it does, what kind of improvements can we expect? Better working ui, camera, no more half black screens after rotations (unfrequent but still..) and any kind of hardware acceleration possible on cm7???

Anyhow that and the European Center of Nuclear Research 'observing' the Higgs boson (the God particle; kind of the father of the quarx particles - sorry quarks :D) it is great and exciting stuff; I thought I would just mention it here...

Edit:

And if that was not enough... read this on Koush's new ClockworkMod Recovery 6.

And me that thought that things were getting too quiet...
 
Last edited:
  • Like
Reactions: arjcba and sykoism

arjcba

Senior Member
Aug 23, 2011
143
23
Yo,

I can't wait to see if this awesome news for us [regarding a workaround the locked kernel for the PowerVR video driver] will also work for GB CM7...

More details here and go give a Thank you to kabaldan ;)

If it does, what kind of improvements can we expect? Better working ui, camera, no more half black screens after rotations (unfrequent but still..) and any kind of hardware acceleration possible on cm7???

Anyhow that and the European Center of Nuclear Research 'observing' the Higgs boson (the God particle; kind of the father of the quarx particles - sorry quarks :D) it is great and exciting stuff; I thought I would just mention it here...

Edit:

And if that was not enough... read this on Koush's new ClockworkMod Recovery 6.

And me that thought that things were getting too quiet...

WOW, that's the greatest news after cyanogenmod itself!!! :laugh:

I would like to watch 720p movies w/o gitches and sound des-synchronization
 

ktmbikerman

Senior Member
May 7, 2011
1,990
656
54
Cape Town
To be frank: I won't work on this.
Reason: It's a huge amount of work and I have no personal need for or interest in this. This may sound a bit selfish, but please understand that I invest the scarce time resources that I have in stuff that I'm personally interested in.

If there was a patch one could use as base (and no, the seek-for-android one doesn't really count, please see the note at the beginning of the wiki page you linked to) I perhaps would give it a try; but with the currently available information it's too much work at least for me.



This issue should already be finally fixed in 7.2 as well as my recent builds. I obviously can't fix the crash, but the tombstones shouldn't grow as large anymore.

Apologies for the OT, but a huge thanks to you, maniac103, for the audio fix on CM10 :good:
 

maniac103

Senior Member
Jan 3, 2008
758
946
Maniac, I've one question .. actually, we can't up/down volume (FM radio) when the screen off, a long time ago (I believe) you said "it's due to binary blobs from Motorola) , right now CM7 is stable ..so, could you to write those blobs, and make them open source or it isn't possible?

Regards from Argentina :)


Sent from my MB525 using Tapatalk 2

Great ideea, someone should find a way to make it working.

My today's nightly has a new FM radio (restored sources from APK) with lockscreen integration and global volume control. If you're pleased by that, you're free to check the button under my name on the left ;) - it was a significant effort.

Also new are a 'PIN' for direct bootmenu access (settable via Settings -> Device settings -> Bootmenu PIN) and a backport of the CM9 root changes (no root for ADB by default anymore; changable via Settings -> Apps -> Development -> Root access), which, when used combined with a secure lock screen, should greatly improve device security in case of theft.

Hello Maniac

Were you able to make anything of the logcats posted back here?

I'm on CM9 at the moment as I now have a Defy+ and can only use roms based on the GB kernel.

Haven't tried the BL6 froyo yet but will be glad to give it a try if you've managed to make some progress with this issue.

Sorry for forgetting to answer you.
The problem is that log proves that I'm sort of stuck. The connection drops due to the network, the framework tries to make the RIL forget the old connection (which it already - incorrectly - has, but that's workarounded) and tries to reconnect, but the RIL doesn't answer to that reconnection request. At this point, I don't know how to handle that: I could try to re-try the connection request, but given the RIL didn't answer to the first request, it's probably broken already anyway...

BTW, I wouldn't hold my hopes too high that a later CM version will be able to fix that issue. It's the Motorola binary blob that's broken here, and there's a high chance that it only worked on the stock ROM 'by accident', meaning that the code path responsible for the hang wasn't triggered, e.g. due to slightly different timing.
 

ccav2000

Senior Member
Dec 19, 2010
2,057
1,122
Manga Cafe
Google Pixel 6 Pro
Umm, sounds nice, but I completely lost root privileges with this nightly. The option is set to 'apps + adb' but su doesn't work.

EDIT: Found the cause; I always se "ro.debuggable=0" in "/system/bootmenu/config/default.prop". That setting for some reason was not overwritten but the nightly, leaving the system with disabled su.

EDIT2: That was not it, su is not working for new apps, and if I delete the cached permissions from the superuser app, su is useless again. Got a logcat here.
 
Last edited:

maniac103

Senior Member
Jan 3, 2008
758
946
Umm, sounds nice, but I completely lost root privileges with this nightly. The option is set to 'apps + adb' but su doesn't work.

EDIT: Found the cause; I always se "ro.debuggable=0" in "/system/bootmenu/config/default.prop". That setting for some reason was not overwritten but the nightly, leaving the system with disabled su.

EDIT2: That was not it, su is not working for new apps, and if I delete the cached permissions from the superuser app, su is useless again. Got a logcat here.

Confirmed, I'll check it. I only tried cached apps before :(
Strangely, the problem seems to be in the Superuser app, which I didn't touch.

BTW, don't set ro.debuggable=0 now, or you'll lose root - the build is a userdebug one instead of an eng one in order to enable the switchable root.

Edit: Workaround for now is updating the su binary via superuser app.

Gesendet von meinem MB525 mit Tapatalk 2
 
Last edited:
  • Like
Reactions: caioars and elguaxo

elguaxo

Member
Jul 27, 2011
36
4
Edit: Workaround for now is updating the su binary via superuser app.

I tried it, but I get this:

0ROsT.png


edit: for the records I tried this with Settings -> Apps -> Development -> Root access -> Apps only and Apps and ADB.
 
Last edited:

ccav2000

Senior Member
Dec 19, 2010
2,057
1,122
Manga Cafe
Google Pixel 6 Pro
I tried it, but I get this:

0ROsT.png


edit: for the records I tried this with Settings -> Apps -> Development -> Root access -> Apps only and Apps and ADB.

Same issue, can't update it. Also I must note that the problem happens with either the superuser app included in the rom or the updated one from the market. Whatever it is, the problem is in the binary itself.
 
Last edited:

ktmbikerman

Senior Member
May 7, 2011
1,990
656
54
Cape Town
Sorry for forgetting to answer you.
The problem is that log proves that I'm sort of stuck. The connection drops due to the network, the framework tries to make the RIL forget the old connection (which it already - incorrectly - has, but that's workarounded) and tries to reconnect, but the RIL doesn't answer to that reconnection request. At this point, I don't know how to handle that: I could try to re-try the connection request, but given the RIL didn't answer to the first request, it's probably broken already anyway...

BTW, I wouldn't hold my hopes too high that a later CM version will be able to fix that issue. It's the Motorola binary blob that's broken here, and there's a high chance that it only worked on the stock ROM 'by accident', meaning that the code path responsible for the hang wasn't triggered, e.g. due to slightly different timing.

Hi maniac, thanks for the response... I pretty much thought this problem lies with the moto code as it is present on CM7, CM9 and now on CM10.

The problem is definitely network dependant, I ported my wife's defy is to a different carrier and has since never had a disconnection issue (on CM9).

I can quite easily force the disconnect by manually switching between certain networks.

Not sure if you've seen this thread I started to try characterize the problem.
 
Last edited:

maniac103

Senior Member
Jan 3, 2008
758
946
Same issue, can't update it. Also I must note that the problem happens with either the superuser app included in the rom or the updated one from the market. Whatever it is, the problem is in the binary itself.

Yes, it definitely is. The problem is with the permissions set on the socket used for communication between su and the Superuser app.

I think I know what's wrong, I just need to find the time to try it.

Gesendet von meinem MB525 mit Tapatalk 2
 

bharaththeunique

Senior Member
Sep 3, 2011
613
184
Surat, Gujarat
Same issue, can't update it. Also I must note that the problem happens with either the superuser app included in the rom or the updated one from the market. Whatever it is, the problem is in the binary itself.

Had similar problem in cm10 yesterday.....I think d su binary gets corrupted due to repeated attempts....so...I wiped system using twrp and reflash ROM.....data wipe not necessary....only system wipe......and den once u do that everything back to normal.....for updating binary superuser is giving problems....so download it manually from xda or romtoolbox and push it to /system/xbin and set perms.

Sent from my MB526 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 728
    CyanogenMod 7 for Motorola Defy

    Status CyanogenMod 7.2.0 Stable:

    Changelogs:
    Code:
    [B][COLOR="Red"]7.2.0[/COLOR]:[/B]
    
      The official 7.2.0 and actual official nightlies doesn't include
      all our features. That is the purpose of the this release.
    
    Common: Connection Profiles and Notifications Enhancements
    Common: Lockscreen Calendar and options
    Common: Phone Landscape Dialpad Layout*
    Common: Keyboard : Swipe Gestures (caps, keyboard modes)*
    Common: Device specific Settings Menu
    Jordan: Multitouch and LED mode settings
    Jordan: Compass calibration and DSP settings (from motorola)
    Jordan: Better Battery Life
    Jordan: Button Backlight Tuning
    Jordan: Camera and videos Enhancements, enhanced stability*
    Jordan: Fake pds partition to prevent alterations
    Jordan: Enhanced ADB over Network (Notification icon)*
    Jordan: Recovery 5.0.3.1 with devtree support
    Jordan: Open source ADBD and Busybox "adb shell" with history saving
    Jordan: Busybox 1.19.3*
    Jordan: Market fingerprint and stability
    
    (*Not merged in upstream for the moment)
    
    [B]03.09.11 7.1.0-RC1.5 Jordan (3 Sep 2011):[/B]
    USB/Wifi/Bluetooth Tethering.
    New set of kernel modules built from sources: MMC-fix, overclocking, multitouch
    Camera: Touch to focus
    Camera: video flashlight for red camera
    N-point MultiTouch (persist.sys.multitouch)
    Fixed geotags in the photos
    Fixed dual SIM adapters which use Stk not working
    Increase boot speed. (merged in CM7)
    Bionic libc optimization (merged in CM7)
    CrystalTalk (Voice filter)
    Bootmenu 1.0.4 with adb modes and new Mass storage modes
    Overscroll custom color (not only set by themes)
    Adb over Network with warning
    Camera shutter mute setting (persist.sys.camera-mute)
    BusyBox v1.19.1-cm71 bionic
    [B]28.06.11 RC1v2:[/B]
    179 Kernel
    Wifi indicator fix
    Fix BT when FMradio is started
    Fix FMradio APP
    Added 'ro.battery_light=true' in build.prop, true - enable BatteryLight while charging
    CIFS module.
    Widescreen photo.
    Some improvements in 3D..
    Overclock configuration is automatically backuped and restored, if you install new version of rom.
    Fix zoom problem.
    Fix Secure login by wifi (MotoPortal, IE Only)
    Fixed exposure setting in camera app
    Fixed camera timestamps for green lens
    Cosmetic fix 'Scaling Range' & 'CPU Frequency Range'
    Fix camera timestamps for BAYER camera
    [B]04.06.11 RC0:[/B]
    fixes SMS troubles for Chinese users
    Fix 100% CPU usage.
    [URL="http://xdaforums.com/showthread.php?t=1033654&page=370"]1% step for battery[/URL]
    Removed "factory reset" from settings.
    Removed  reboot dialog.
    Latest CWM/Bootmenu
    [COLOR="RoyalBlue"]New safe frequencies:[/COLOR]
    [COLOR="RoyalBlue"]300-30
    600-46
    1000-58[/COLOR]
    Adobe flash HW.
    New Wifi.
    Speakerphone fix
    Pattern lock timeout (same as stock froyo) (author quarck 4pda)
    WVGA video recording for green camera (author vick33)
    Added NetworkMode in settings: GSM only, WCDMA only, GSM/WCDMA auto, GSM/WCDMA preferred
    Increase boot speed.
    Proximity workaround patch (author quarck 4pda)
    [B]13.05.11 Beta6:[/B]
    [URL="http://xdaforums.com/showpost.php?p=13563743&postcount=2835"]Fixed a problem waking device when switched off the lock screen. If you press the volume buttons and the headset button.[/URL]
    [URL="http://xdaforums.com/showpost.php?p=13569142&postcount=2865"]issue #130 - Beta 5.1 Can't charge when shutdown![/URL]
    fix 2USB Storage icon 
    Enables SIP on WIFI only - False 
    Fix Autobrightness levels
    Fix camera frame drops.
    Maybe fix batt drain.
    Busybox 1.19
    Increase of brightness
    Increase of brightness flashlight (High brightness) so as ledefy on max.
    Clockwork 3.0.2.8
    Bootmenu 0.8
    latest Android.
    Some small fixes
    
    [B]07.05.2011 Beta5.1:[/B]
    AGPS...
    Some fixes.
    New Update.zip
    [B]03.05.2011 Beta5:[/B]
    Added SIM Toolkit app
    Fm-Radio
    Re-Reworking sensors.
    Some changes in Wifi and Video codec's.
    Stock Torch APP/Widget. 
    Update to 2.3.4 -> CM 7.1.0-RC0:
    - DSP Manager: equalizer presets
    AAC+
    Maybe even have forgotten ...
    
    [B]29.04.2011 Beta4.1:[/B]
    Fix DroidWall/Iptables ( kang.project-voodoo.org/f/iptables-cm7-kang.zip )
    Reworking Wifi.
    Update busybox to 1.19 - [COLOR="Red"]Disabled in beta4.1[/COLOR]([URL="https://github.com/Quarx2k/android_device_motorola_umts_jordan/issues/57"]issues #57[/URL]) )
    720p Playback. [url]http://xdaforums.com/showpost.php?p=13136257&postcount=1526[/url]  - [COLOR="red"]Disabled in beta4.1[/COLOR]
    Reworking Overlay & Codecs (No more proprietary)
    CM -> 7.0.2
    AAC/WMA codec in the video now has hardware acceleration. (improvement 720p )  - [COLOR="Red"]Disabled in beta4.1[/COLOR]
    Added MotoPortal.
    GPS_fix2 included.
    basebandswitcher V3.1 multilanguage V0.1  included.
    Fix Auto-Brightness
    min_free_kbytes -> 4096
    Fix red camera.
    
    [B]20.04.2011 Beta3:[/B]
    Fix Skype and some other programs. 
    Fix Red Camera... thanks for solution to [URL="http://xdaforums.com/member.php?u=3911109"]pabx [/URL]
    Fix Headset button ([URL="https://github.com/Quarx2k/android_device_motorola_umts_jordan/issues/1#issuecomment-1021778"]issues #1[/URL]) - [URL="http://ge.tt/4mEYIiv/Fix_Headset_button.zip?type=download"]Update.zip for beta2[/URL]
    GPS icon fix -  ([URL="https://github.com/Quarx2k/android_device_motorola_umts_jordan/issues/4"]issues #4[/URL]) - [URL="http://ge.tt/6CLUIkP/Fix_GPS.zip?type=download"]Update.zip for beta2[/URL]
    Fix double USB icon.
    Small fix for GPS(Searches faster satellite)
    Added Baseband Switcher.
    Fix Camcoder (big thanks to [B]morpehus[/B] (4pda.ru))
    Charging of battery with the phone off  ([URL="https://github.com/Quarx2k/android_device_motorola_umts_jordan/issues/36"]issues #36[/URL])
    
    [B]17.04.2011 Beta2:[/B] 
    Fix RIL.
    Fix APN's
    Fix Compass.
    Fix Opengl 2.0
    Fix Live Wallpapers.
    The volume keys do not wake device
    
    [B]16.04.2011 Beta1:[/B] 
    [B][COLOR="Blue"]RIL Now Works![/COLOR][/B]
    All sensors works
    GPS now Works
    Reworking Audio
    Rooted.
    Kernel from new 3.4.2-177
    
    [B]15.04.2011 Alpha2:[/B] 
    Bluetooth now working for transfer files
    USB Fully working.
    Camera: Photo working with prewiev. FLASH working.
    Added more languages
    2nd-init by default (unstable)
    Audio and DSP Manager now works
    G-Sensor(KXTF9), LM3530, AK8973.
    LED: All colors
    DSP: H264 Video
    3D:  Improve Performance
    Superuser added / not works correctly.
    
    [B]13.04.2011:[/B] 
    First release for demostration work CM7 on Defy. (and not fake)
    INSTRUCTIONS:
    1. Flash froyo
    2. Copy *.zip to sdcard
    3. Reboot your device in BootMenu/ClockWork
    4. WIPE (wipe data/factory reset + wipe cache partition)
    5. Install the *zip
    6. reboot

    If you liked this project, you can donate
    Paypal: quarx@yandex.ru
    WebMoney:
    USD:Z319203344726
    Yandex money: 4100188263979
    Or you can buy this app: https://market.android.com/details?id=com.donatecm7
    ---------------------------------------
    Donate to Epsylon3 (tpruvot)
    PayPal: epsylon3@gmail.com
    http://xdaforums.com/donatetome.php?u=803131
    ---------------------------------------
    Donate to Maniac103
    PayPal: dannybaumann@web.de
    http://xdaforums.com/donatetome.php?u=765758

    All the found issues, please send to GITHUB - https://github.com/CyanogenDefy/android_device_motorola_jordan/issues

    Sources on github:
    Download:
    repo init -u git://github.com/CyanogenDefy/android.git -b gingerbread
    repo sync
    Build:
    . build/envsetup.sh && brunch jordan

    F.A.Q

    Latest Google APPS

    Download:
    Official cyanogen builds
    Epsylon Nightly Builds
    Quarx Nightly Builds
    Maniac103 Nightly Builds
    28
    Disclaimer: The next lines are by no means meant offensive or as a personal attack. It's just my personal opinion that I feel needs to be expressed.

    Yea, indeed. There are so many extra function in CM7 that I don't use it. I hope that the experimental phase will be transferred to ICS project. XDA's CM7 need to be finished by removing as many bugs as it's possible.
    I think you should get your expectations correct (refering to 'need to be finished'). Unlike e.g. Motorola, we don't need to deliver a completely finished, totally bug-free 'product'. Unlike e.g. Motorola people, we aren't paid to work on this stuff, we are volunteers working on this stuff for fun in our free times. That includes the fact that we are free to choose what we want to work on, including working on e.g. ICS (if we, or in this particular case, Epsylon3) are interested in that or not working on anything at all for some time and devoting time to the new-born son instead (in this particular case, me at the moment).

    You also need to understand that some things are incredibly hard to fix (due to the complexity of the code) or near to impossible to fix (because we're dealing with binary blobs).

    Edit: I guess it boils down to one thing: Writing bug reports is nice and welcomed, but they shouldn't be understood as tasks, but as information to us (the developers).


    Talking about your particular examples:

    Is this happening with headset only? The report is lacking details.

    This is the 'dealing with binaries' case. If you feel like spending countless hours hacking smali disassembly code, go for it. If you feel like spending weeks writing a replacement: Even better.

    This is fixed in our nightlies since some time. I invested a number of hours debugging this in the complex video recording code, BTW, without even having personal interest in the video recording feature.

    Never encountered that issue so far, how am I supposed to debug this now?

    6. Screen locks after hang up the conversation if the talk was longer than time for screen off.
    It should go back to call log according to:
    Settings > Call settings > Always back to call log - checked.
    I think that's behaving as desired from the code. When you unlock the screen, you should see the call log.

    7. Battery lifetime
    8. Battery lifetime
    9. Battery lifetime
    Sorry, but without giving any particular battery drain scenario, ruling out e.g. apps or 3G usage etc., it's a waste of time to even talk about this. I personally got 2.5 to 3 days of battery lifetime from the stock ROM, and I get the same from CM7.
    This 'CM7 drains my battery' story really is getting old, especially without any data backing it.

    Maybe the devs should start a vote for the most annoying bugs the users want to have fixed? I'd rather like to see a very stable CM7 than another 5 months with a pre-beta CM9. Just my 2 cents.
    We don't need a vote, we need people helping with the code, devoting time and fixing bugs. See first paragraph ;)
    27
    maniac has branched Qkernel for gb :silly:

    Don't hold your breath ;)
    I'm experimenting with it, mainly to see whether I can get it working stably.
    At least it's booting already ;)

    Gesendet von meinem MB525 mit Tapatalk 2
    27
    Uploading new build.
    Main change is 720p rec for red lense.
    In defy+ hd rec enabled by default.
    In defy build hd rec available too, but not in media_profiles.xml.
    21
    Yes, there is still a kernel problem regarding the wifi module... But its the first bootable (and moddable so) kernel built from sources... for cm7

    to be continued....

    Sent from my GT-I9103 using xda app-developers app