Liberty on D2G (or any D2 Roms) - Is it possible?!?

Discussion in 'Motorola Droid 2 Global' started by buryboi, Jan 15, 2011.

  1. buryboi

    buryboi Premium Member
    Premium Member Developer

    Joined:
    Dec 20, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    So, I should probably preface this by saying, I know next to nothing about building Roms. Always enjoyed flashing them, but never actually bothered to put one together.

    Having previously had an original Droid, I got used to flashing a new rom every other day, sadly, this isn't an option on the D2G...yet. Fission is great, I've been running it since SBF came out, and love it. Everything I loved about the Droid, is now found on the D2G. Mostly anyways.

    I'd hoped (as everyone else had) that with the SBF out, the D2G would get some love, call me impatient, but it hasn't happened yet. So here we are.

    Liberty...looks intriguing, thought it might be cool on the D2G so I modified the update-script so as not to format /system and not flash logo.bin. (I manually formatted system and data through clockwork recovery prior to flashing)

    Boots and runs but with the following issues:

    1. Cant sleep, pressing power to sleep, will soft boot the phone when waking. (Deal Breaker)

    2. No cell signal (wrong ril lib files...easy fix)

    3. Wrong physical keyboard files, alt gives weird symbols (also easy fix)

    4. Camera fine, but Camcorder hangs (and shows a mirror image)

    Fixed Problem 2 by pushing D2G libs (if it had "ril" in the name, I pushed it)

    Fixed Keyboard by pushing the D2we keyboard files.

    I cant fix the soft boot on wake issue, ( I assume it's a framework issue that I don't have the knowledge to fix...yet;)) and haven't tried the camera as I assume it's a quick fix but not worth messing with if I cant overcome the soft reboots.

    As of now, I'm running a hybrid, I started with the liberty rom, overwrote the libs and Framework with D2G's so essentially I have Liberty apps (minus browser, swype, and LatinIME) and the rest Fission. So far everything is fine/stable, but I can't access **PROGRAM (or ##PROGRAM, I never remember which) and "Roaming Indicator Flashing" will not go away.

    FWIW, The Liberty guys have done a great job, their roottools/scripts are amazing!

    Clearly, I'm playing with fire here (already soft bricked once by mixing Fission framework files with Liberty), but does anybody who actually knows how to port a rom care to chime in?

    xda had tons of info on HTC rom kitchen, but I'm not sure if that applies to D2G since we cant mess with kernel or radio and are essentially just swapping system files.
     
  2. devinmrn

    devinmrn New Member

    Joined:
    Jan 22, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Hey I think you can fix the ##PROGRAM issue with a patch that Fission has released. And for the roaming indicator do you have the correct PRL? You can get the latest by dialing *22899 or just *228 option 1. I am also interested in Liberty on the Global.

    Please see this thread if you are looking for more information.
    http://www.droidforums.net/forum/liberty-rom-d2/119092-liberty-droid-two-global.html

    Regards,
    Devin Morin
     
  3. Dark Lazer

    Dark Lazer Active Member

    Joined:
    Apr 27, 2010
    Messages:
    555
    Likes Received:
    56
    Trophy Points:
    28
    Ratings:
    +64
    Bump because we need more roms on the D2G and I would love for this to work. You're awesome for trying this.

    I wonder if this would get more help on the general droid board, since activity on this section seems pretty dead, but here's hoping for the best!
     
  4. buryboi

    buryboi Premium Member
    Premium Member Developer

    Joined:
    Dec 20, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Ok, got soft reset upon wake fixed, but lost 3g (build.prop issues)

    Working on 3g now.

    If I can get wake and 3g, I'll work on Camera/Video record.
     
  5. Dark Lazer

    Dark Lazer Active Member

    Joined:
    Apr 27, 2010
    Messages:
    555
    Likes Received:
    56
    Trophy Points:
    28
    Ratings:
    +64
    Awesome job :)
     
  6. Mike Dee

    Mike Dee Member

    Joined:
    Jan 15, 2011
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Bump!! Because you're awesome!

    Sent from my DROID2 GLOBAL using DroidForums App
     
  7. sudod2g

    sudod2g Member

    Joined:
    Dec 3, 2010
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    California
    Ratings:
    +0
    Finally, this is eaxactly what d2g needs, so that I will stop flashing roms and kernels to my wifes fascinate.

    I would really like something like blackholes build your own rom on rom manager for d2g.



    Sent from my DROID2 GLOBAL using DroidForums App
     
  8. mreyn3693

    mreyn3693 Member

    Joined:
    Jan 17, 2011
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Bump hoping that somebody that may be of assistance to your plan sees...

    Keep up the good work.dancedroid
     
  9. Dark Lazer

    Dark Lazer Active Member

    Joined:
    Apr 27, 2010
    Messages:
    555
    Likes Received:
    56
    Trophy Points:
    28
    Ratings:
    +64
    So any new progress? :)
     
  10. buryboi

    buryboi Premium Member
    Premium Member Developer

    Joined:
    Dec 20, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Alright here's where I'm at.

    If I use the Liberty build.prop, editing it only for the right radio usb, I get data, proper lights, and sensors and no soft reboot on wake.

    The problem with that is that about phone reports as droid 2 not d2g.

    If I edit the build.prop to reflect D2G, I get light and sensor issues, and soft reboot on wake. I've fixed the lights, but not the sensors...

    Now for the good news here is what I got working:

    Voice
    Data
    Camera (no video)
    GPS
    Market
    Keyboard

    Here's is what I don't have working:

    Video (crashes as soon as I hit record)
    Droid 2 Global sensors

    Things that haven't yet been tested:
    Bluetooth
    GSM

    I assume, that If I can figure this ROM out, what I learn could theoretically be used to port other roms over.

    Again, I'm not a Rom builder or a programmer and I don't know a thing about building kernels (not that it matters since we can't touch ours), but heck, if nobody else is going to give the D2G some love, I might as well!
     
  11. NiceGuysFinishLast

    Joined:
    Jan 4, 2011
    Messages:
    748
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0

    So if I wanted to learn from scratch and try to help you out (I also am sick of the lack of D2G ROMs), what links would you point me at? You obviously picked up some stuff. I'm smart and good at coding, so this can't be too bad, right?
     
  12. buryboi

    buryboi Premium Member
    Premium Member Developer

    Joined:
    Dec 20, 2009
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I wish I had some good links to point you to...unfortunately, I haven't found them yet. Everything I've figured out has so far been by trial and error.

    After flashing D2 Liberty ROM through clockwork I did the following to get it working:

    1. replace /system/lib/libmoto_ril.so with one from Fission or factory Moto and change permissions to rw-r--r-- (this will get the Voice Radio working)

    2. Edit build.prop: Under additional build properties is a line "...ril.modem=/tty/USB0..." (or something like that), it needs to be changed to USB4 to get the data working.

    3. replace /system/lib/libgps_rds.so and /system/lib/libhardware_legacy.so with ones from Fission or factory Moto (again permissions to rw-r--r--) to get the GPS going.

    4. Camera took three or four more libs. Still cant get Video.

    5. I've screwed around with /system/lib/hw files to get auto rotate to work...no dice. Well that's only half true, I can get it to work, that is until the phone sleeps...then it won't wake without a soft reboot.

    So far I've soft bricked my precious D2G...TWICE :biggrin:

    SBFing is fun!!! Seriously though, I feel like I'm just missing the obvious...But in my defense, Angdroid hasn't released updates for the D2G Fission in awhile...could it be that the D2G is actually harder to port to? I don't know just throwin it out there.;)

    Thanks a ton for the offer NiceGuy! I'm just not sure I know where to point you. What would be great is a list of all the /system/lib files and what they are related to...simply guessing makes for slow going.
     
Search tags for this page

root my d2g to record calls

,

servicemanager: service accessibility died

,

swype.apk download for d2g