Project Gretel: CM7 for LG Ally


  1. getitnowmarketing

    getitnowmarketing Well-Known Member

    Now that the evil witch standing in the way of development has been slain:

    I am pleased to announce Project Gretel: CyanogenMod 7 for LG Ally.

    [​IMG]

    [​IMG]

    Backstory: This has been nearly a year in the making. I first started trying to build for Lg ally from source back in Aug of last year and after months of work mostly solo finally got a mostly working froyo build out in Oct 10. I have been working on gingerbread off and on since Jan 11. It is also very refreshing to see the work I did on opening up development on the Optimus One and Optimus S by making the original recoveries for those devices and the inital overclocked kernels come back around and be useful for the Lg Ally.

    I'd like to thank:
    Project OpenEtna (Original eclair & froyo Cyanogenmod support on Lg GT540)
    Mik9 (For work on Optimus One on CM7 which mine is heavily based on)
    Zefie (For work on Opt S & some cdma support for LG's on CM7)
    Rmcc (For work on code aurora devices for CM7 without which none of the above devices would have a working camera)
    And it goes without saying the entire CM7 community also!

    THOSE WHO KNOW C++ and JAVA ARE ENCOURAGED TO HELP IN DEVELOPMENT OF SOURCE. IF YOU MEET THE ABOVE REQUIREMENTS AND WISH TO HELP PLEASE SEND ME A TWEET TO @getitnowmarket

    Advertisement
  2. getitnowmarketing

    getitnowmarketing Well-Known Member

    Known Bugs and Workarounds:

    On 1st boot you must make sure that cyanogenmod/settings/display settings:
    screen on and off animations are unchecked. Failure to do so will result in device waking up to a black screen.

    Under messaging/settings sms split must be checked.

    Under wireless & network settings/mobile networks International Data Roaming must be checked. You will not roam on other carriers and incur any extra charges (roam is done via prl on cdma not a checkbox). This setting is required on cdma phones for cyanogen. Failure to do this will result in no data connection.

    Notice the small on screen keyboard is not bug. That's how the wvga stock gingerbread keyboard is on a wvga small screen device. If you don't like it feel free to install any other keyboard of your choosing.

    UPDATE: As of now check always use proximity under call settings and reboot after selecting it. This will allow proximity to work most of the time assuming you slowly pull it away from ear as pulling it fast doesn't register the proximity wakelock release.


    Working in build #2:
    Bluetooth
    GPS
    Wifi (wont connect sometimes to wep but wpa+ is fine)
    Camera (no autofocus or flash yet)
    Ui speed is very good.
    Native Wifi Tether
    Audio
    Google apps
    Netflix 1.2.1 with device check removed download

    Needs Testing: (as mine is a bad esn dev phone)
    Calls
    Sms
    MMS
    Native Usb Tether - under wireless settings tethering & portable hotspot
    Cellular Data

    Changelog Gretel#3:
    Fixed most of the radio issues. Patch is not needed anymore.
    Some more of the cdma settings are now auto written to settings.secure on 1st boot.
    Fixed usb tether
    Fixed MMS ???
    See workaround above for proximity sensor.
    Screen off animation now works somewhat.
    Libaudio still needs work for wired headsets and such.
    Xliff, yohobojo, chase8333 and 3 others like this.
  3. getitnowmarketing

    getitnowmarketing Well-Known Member

    Terms and Conditions:

    Upon download and install of this alpha test software you are committing to be tester.

    Necessary requirements for being a tester:

    1. You must have android sdk setup and know how to use adb.

    2. Any issues/bugs that are found will need to be submitted with a abd logcat output pastebin'd or the like and link to it posted along with description of bug and how to reproduce it. Any bug reports without this will be a waste of everyone's time and do nothing but annoy me.

    3. At this early point no roms or themes are to be made nor distributed for this so we have a static controlled environment for testing.

    4. Your participation is to work the bugs out so we can submit to CM7 for inclusion in build tree. Until that point (stability) is reached I will not release the device files required to make it on your own.

    5. You understand that you are installing the said software of your own free will and understand that your device may become unstable or unusable while on this alpha software.

    6. You agree not to mirror or repost the download links nor passwords for them.

    7. You understand that I am not getting paid for this and will work on it as time allows.

    8. If a password for something is not given to you, you understand that the file was not intended for your use.

    9. ACTUALLY USE THE VS740!! I don't need testing on a not active device as thats why I need your help.

    Please read the known bugs and workarounds and agree to above terms and conditions!!!!


    Password is in attachment below:

    Downloads:

    old:
    cyanogen_aloha-ota-eng.getitnowmarketing-2.zip
    md5sum c240e8dc7e38a5a91505791aaf663f74
    Please get signed_patch_gretel#3.zip and flash after above. This patch fixes phone & data & usb tether.

    Gretel#3:
    cyanogen_aloha-ota-eng.getitnowmarketing-3.zip

    Google apps:

    gapps-gb-20110503-signed.zip

    mirror
    gapps-gb-20110503-signed.zip

    Attached Files:

    Xliff, atc3030, remicks and 3 others like this.
  4. getitnowmarketing

    getitnowmarketing Well-Known Member

    Please use this thread here for non development talk!
    atc3030 and lonewulf like this.
  5. atc3030

    atc3030 Active Member

    To those who, after patch 3 and have international data checked & have trouble with getting 3g working, me and GNM worked it out. You need to dial *#*#4636#*#*, then Phone Information, and select CDMA Auto (PRL). This should fix it.
    smyanks95 likes this.
  6. remicks

    remicks Well-Known Member

    This didn't work for me, the setting would not save and it disabled my radio completely.
  7. AndroidKris

    AndroidKris Well-Known Member

    If we already have everything set up, to flash this patch, what do we need to wipe?
  8. atc3030

    atc3030 Active Member

    Should only need to wipe caches (cache and dalvik) but if doing a new flash, then wipe EVERYTHING. That means going line by line wiping everything
  9. dautley

    dautley VIP Member VIP Member

    It didn't stick till I rebooted & it worked fine after that
  10. KingOfGreen

    KingOfGreen Well-Known Member

    After flashing the patch my data would work but sometimes after a reboot would be off again, tried to change that setting and it wouldnt stick.
    http://pastebin.com/V7u0vRPx

    I was able to send SMS messages, it would say they were sending forever and would never say sent but i did know they were sending out. But im still not able to recieve incoming texts, tried sending one to myself
    http://pastebin.com/43mCmZif

    When making phone calls i could dial out, but couldnt use the dial pad again or end the call. If the other end hung up, i would be left with a notification and be unable to make a new call and would have to reboot.
    http://pastebin.com/e77aT1Q1

    I was getting notifications for new emails in gmail, but wouldnt recieve texts or calls even with data working. I used alogcat to get these, just left the default settings. If im missing something or need to do anything differently just let me know and i would be happy to run them again.


    ****Ive been able to switch between nandroids of velocity and cm7 just fine as far as i could tell. Also i sent a text to a friend last night to test the sms, she got it right away even though it said "sending.." continuously. Then got the text 7 more times a couple hours laters a few minutes apart. Just found that out a few minutes ago
  11. savoxis

    savoxis Well-Known Member

    Audio jack doesn't pass sound through. A notification will appear by the clock, but no sound in the headset, the phones speaker continues to output sound. Also I notice that the speaker volume is WAYYY low
    V/HeadsetObserver( 1416): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=2, DEV - Pastebin.com

    The radio seems to be horrible, I have been using in places where I normally have full signal... A few minutes ago my signal strength was reported as -1073741922 dBm!!!! I have of course set International Roaming on, and Set to CDMA Auto. When I try calling my phone it will ring to voice-mail with no notification on the handset that I received a call. I was able to make an outgoing call, but could not hang up and the call shows as still active even 15 minutes after I hung up the other line. Only way to get rid of this is rebooting
    E/dun_service( 1672): DUN STATE [DUN_STATE_USB_UNPLUG --> DUN_STATE_USB_UNPLUG][ - Pastebin.com


    **EDIT** My nandroid problem was the backup itself, it had a dalvik issue, corrected.

    ** I would also like to express my disappointed in the people who had been testing this since yesterday. I came on the forum this morning and read the posts seeing NOTHING stating that placing and receiving calls wasn't working. I mean come on guys its a phone, and with what I imagine to be quite a few of you having already tested this. I should NOT have been surprised by this and it should not have taken over 24 hours for me and KoG to post about these bugs.... (just my 2c)
  12. j2cool2012

    j2cool2012 Well-Known Member

  13. thatguy4044

    thatguy4044 Active Member

    Well I had been sending and receiving phone calls with no issues. The only one that I have come across to this point is the headset because i use my phone while in the car for audio.
  14. getitnowmarketing

    getitnowmarketing Well-Known Member

    You know now I regret releasing this for testing. I cannot test the celluar stuff on my bad esn test ally. I released it to be debugged by those who can (with the understanding it was alpha software) and I did not know there was an issue with calls as I couldn't test myself. I am seriously considering quitting work on this due to the amount of people whining and complaining. I feel if you can do it better do it yourself. Hopefully in a few days I might reconsider.
  15. atc3030

    atc3030 Active Member

    gonna run several logcats, duplicating them in both velocity 1.1 and CM7, and post them to try and figure out the calling thing as mentioned above.

    EDIT:
    Too Big For Pastebin... So heres the txt file with my notes in it as well as the logs from velocity #'s 7 and 8 (couldn't open in gedit, not able to copy out of nano)

    Hope this helps GNM

    Sorry, no where let me paste them. Sorry for the Crappy Format GNM.

    View attachment logs.zip
  16. Trident

    Trident VIP Member VIP Member

    Is everyone happy now? :mad:

    Keep this thread on topic as requested or face the consequences.

    Pruning back some unnecessary posts..
    remicks, jeckel and lonewulf like this.
  17. jeckel

    jeckel Well-Known Member

    im not sure if this is of any relevance but i remember you suggesting we try and switch to cdma auto prl and i can't seem to get it to stick. it always reverts back to wcdma.
    i found a thread about trying to get cdma to stick on sprint with the evo.
    Developing CDMA Preferred Network permanent fix [Archive] - xda-developers

    the last post might be helpful and might not be. here it is

    "have you guys tried editing the build.prop file and changing the preferred/default network?

    it should look something like:
    rild.libpath=/system/lib/libhtc_ril.so
    ro.ril.def.preferred.network = 4
    ro.telephony.default_network = 4"

    edit: nvm seems you have it set to that already
  18. getitnowmarketing

    getitnowmarketing Well-Known Member

    UPDATE: As of now check always use proximity under call settings and reboot after selecting it. This will allow proximity to work most of the time assuming you slowly pull it away from ear as pulling it fast doesnt register the proximity wakelock release.

    I believe I have the phone/radio working decently now. There is an issue I cannot resolve as of yet. When a call is made the proximity sensor is buggy and if call is made and light sensor is 100% covered say against your cheek or shirt it normally releases the screen to wake back up as intended. Used with a finger or ear to cover light sensor but not fully block light causes a wake to a black screen that requires pressing endx2 and waiting about 5 seconds to press end again to wake up phone. This is a cm7 issue and has plagued many devices & the fix used on other lg's is a build.prop edit thats not applicable on aloha. Im still looking for a fix.
    remicks likes this.
  19. dautley

    dautley VIP Member VIP Member

    Here's my logcat for the call issue. basically I guess its the same as everyone else experienced.
    this was using your Gretel#3 version posted today.
    I couldn't receive a call at all, but made one and connected and talked fine but couldn't bring anything from the call menu back up (screen with the dial pad, end, speaker buttons) and the phone wasn't able to recognize the call ended from the other phone and I couldn't end it myself. The radio and call quality was great for me. There is some stuff at the beginning of this logcat from when I was testing gmail which worked fine, but I saw in an earlier post it wasn't working for someone so I included it.

    http://ln-s.net/8tdt
    Thank you for your work on CM7 so far!!
  20. Trident

    Trident VIP Member VIP Member

    Just had to delete three more posts..

    FOR THE LAST TIME:
    Ya'll are starting to make me mad..
    johnson90512 and remicks like this.
  21. remicks

    remicks Well-Known Member

    Attempted to send sms via go sms pro after telling it stock sms was uninstalled, sms did not send at all. Will reproduce with logcat in a bit.

    alogcat output

    Edit: the txts were received.

    Edit 2: My sms messages were not received through either app (stock/go sms pro) during my testing, once I restored my Velocity nandroid the messages were received on boot. (no logcat, sorry). Also, not sure if it is a coincedence, at the time when the sms was sent to my phone my 3g stopped working. The icons remained there but I had absolutely no data connection at all.
  22. lonewulf

    lonewulf Member

    Setup: Flashed Gretel build #3, gapps, rebooted, skipped sign in process(no 3g), did check/uncheck list here --> On 1st boot you must make sure that cyanogenmod/settings/display settings:
    screen on and off animations are unchecked. Failure to do so will result in device waking up to a black screen.

    Under messaging/settings sms split must be checked.

    Under wireless & network settings/mobile networks International Data Roaming must be checked. You will not roam on other carriers and incur any extra charges (roam is done via prl on cdma not a checkbox). This setting is required on cdma phones for cyanogen. Failure to do this will result in no data connection.

    Notice the small on screen keyboard is not bug. That's how the wvga stock gingerbread keyboard is on a wvga small screen device. If you don't like it feel free to install any other keyboard of your choosing.

    UPDATE: As of now check always use proximity under call settings and reboot after selecting it. This will allow proximity to work most of the time assuming you slowly pull it away from ear as pulling it fast doesn't register the proximity wakelock release.

    rebooted(now i have 3g), signed into google account.

    I edited build.prop:• ro.telephony.call_ring.multiple=false
    • ro.cdma.otaspnumschema=SELC,1,80,99
    • mobiledata.interfaces=rmnet0
    • ro.com.android.dataroaming = true
    • ro.telephony.call_ring.multiple=false

    rebooted

    3g end call "Un"successful logcat -b radio > logcat.txt I/PHONE ( 1499): Network Mode set to 4 I/PHONE ( 1499): Cdma Subscription - Pastebin.com

    wifi end call "Un"Successful logcat -b radio > logcat.txt I/PHONE ( 1503): Network Mode set to 4 I/PHONE ( 1503): Cdma Subscription - Pastebin.com (note:turned wifi on, I had wifi AND 3g icon showing in Notification bar)

    Next I Rebooted phone

    Note:now I DO NOT have wifi and 3g icons in Notification bar...I now only have the wifi icon after reboot.

    wifi end call Successful logcat -b radio > logcat.txt I/PHONE ( 1514): Network Mode set to 4 I/PHONE ( 1514): Cdma Subscription - Pastebin.com

    wifi killing 3g on disable logcat -b radio > logcat.txt I/PHONE ( 1510): Network Mode set to 4 I/PHONE ( 1510): Cdma Subscription - Pastebin.com

    wifi killing 3g on disable logcat > logcat.txt --------- beginning of /dev/log/system I/Vold ( 1325): Vold 2.1 (the reven - Pastebin.com

    wifi killing 3g on disable logcat -f > logcat.txt option requires an argument -- fUnrecognized Option Usage: logcat [options] [ - Pastebin.com

    Note: all of the above where done WITHOUT the phone.apk, and framework.jar changes you made last night in irc.

    Pleae let me know if you would like logcats WITH the changed phone.apk and framework.jar.

    Thank you for all you do for this and other communities.
    remicks likes this.
  23. netizenmt

    netizenmt Well-Known Member

    I haven't figured out the logcat thing yet, but my issues are the same as everyone else's thus far: Cannot receive a call, can make a call but can't use keypad or end the call. I have no 3G but wifi works fine. I'll try to get this logcat thing figured out and send it along although I doubt there will be anything you don't already have.
  24. getitnowmarketing

    getitnowmarketing Well-Known Member

    The post 2 above by lonewulf is EXACTLY what format I'm looking for. Its clearly labled as to what was taking place and gives me the info I can use to try to figure this stuff out.

    FYI others. Radio logcat is done via adb only. To do a radio logcat use the commands:

    adb shell
    logcat -b radio > radiologcat.txt

    This will make a file called radiologcat.txt with the output on your computer. Before uploading comb over it and make sure you remove your personal stuff like phone# and meid if you care.

    Regular logcat is done via

    adb shell
    logcat > logcat.txt

    The above command will give huge output thats hard for me to comb through. If we are trying just to targeted area one please do a

    adb shell
    logcat

    This will print to screen terminal or cmd prompt and then just copy the output into a pastebin. To give me a clear one without loads of extra unreleated stuff say targeting turning on/off wifi for example. Start logcat like one few lines above and then turn wifi on/off then when done copy the screen output to pastebin so I dont have a 10,000 line logcat to hunt through.
  25. getitnowmarketing

    getitnowmarketing Well-Known Member

    To get a comparison can someone on velocity give me a

    1. radio logcat while making a call and then hanging up.

    2. standard targeted logcat while doing the above.

    3. radio logcat while switching from wifi back to 3g

    4. standard targeted logcat while doing the above

Share This Page