Symlinked Gapps for CM9 And CM10 (w/ Google Now ICS instructions) (09MAY2013)


  1. BSydz

    BSydz Well-Known Member Developer

    Hello guys and gals. After spending hours trying to figure out what I could delete from the system to make room for Gapps on CM10, I even tried to resize partitions, I came to the conclusion that the Gapps will have to be stored elsewhere. So, I came up with a solution, by installing the apps to /data/Gapps and then symlinking the files to /system, and it worked. So since there are so many people trying to get Goggle Now on CM9, I figured I would make modified Gapps zips for both CM9 and CM10.

    I need some feedback on this, but I did flash it and everything seems to be working. I'm sure this will help a bunch of other devices that have smaller system partitions also.

    Note: Facelock requires you to log in to an account, to even show up in lockscreen options.

    I don't think Google should have any issues with this as I haven't changed any files that where in the zip just moved them around and modified the updater-script.

    Google Now Installation for CM9 (fresh install):
    1. Boot to your favorite custom recovery
    2. Factory reset, wipe cache and dalvik cache
    3. Flash CM9
    4. Flash Google Now (online)
    5. Flash these Gapps
    6. Reboot

    Google Now Installation for CM9 (previous install):
    1. Boot to your favorite custom recovery
    2. Wipe cache and dalvik cache
    3. Flash CM9
    4. Flash Google Now (online)
    5. Flash these Gapps
    6. Reboot

    [MOD][ICS] The Google Now for ICS Project [ARMv6 & v7]

    Symlinked Gapps for ICS Ver3:
    Fixed Facelock.
    Note: Facelock requires you to log in to an account, to even show up in lockscreen options.
    Had to add placeholders in system/vendor for the symlinks to be created, but vendor is still 0 bytes

    symlinked-gapps-ics-20120429-signed-Ver3.zip

    Old Versions:
    Symlinked Gapps for ICS Ver2:
    This Version frees up about 5.5 Mb after install.
    Edit: messed up install-optional.sh, if you need facelock use the original version below.
    symlinked-gapps-ics-20120429-signed-Ver2.zip


    Symlinked Gapps for ICS:
    Right now, after install it uses 23.3MB and the bulk of the files are installed to /data/Gapps
    I was able to install Google Now offline and then these gapps and have 8 MB free.

    symlinked-gapps-ics-20120429-signed.zip



    Symlinked Gapps for JB Ver2:
    Fixed Facelock.
    Note: Facelock requires you to log in to an account, to even show up in lockscreen options.
    Had to add placeholders in system/vendor for the symlinks to be created, but vendor is still 0 bytes.

    symlinked-gapps-jb-20121011-Ver2.zip

    Old Versions:
    Symlinked Gapps for JB:
    Right now, after install it frees up 0.1 MB and the bulk of the files are installed to /data/Gapps

    symlinked-gapps-jb-20121011.zip

    Advertisement
    :
  2. dsmryder

    dsmryder Well-Known Member Contributor

    This is the type of thing that g60 and I talked about in the past. This is one way of doing it. I think it will work until we figure out how to do it through the eddify script.

    How well would this work for gapp updates?
  3. Ken2Chill

    Ken2Chill Well-Known Member

    There a triumph cm10 beta? :eek: or is it just a generic gapps?
  4. thangfish

    thangfish Well-Known Member

    Alpha
    BSydz likes this.
  5. BSydz

    BSydz Well-Known Member Developer

    This should work just like the apps in the hidden partition. Like when you get updates to facebook on the stock rom.
    I was able to install google now offline and then these gapps and have 8 MB free.




    This is a beta as far as symlinking gapps to save system space. I am working on CM10 alpha for the triumph, and it is bigger than CM9, and JB Gapps has google now included so it is bigger. That is why I started this thread, to see if this could help. It's gonna take a minute to work in all the symlinks.
  6. dsmryder

    dsmryder Well-Known Member Contributor

    Yeah, when I saw this (and got some sleep) I realized that the updates are kind of overlay. If you look at the market update, it's an app in the /data/app directory that adds to the original vending.apk. This should be perfect.
    BSydz likes this.
  7. jamesd1085

    jamesd1085 Well-Known Member

    Seems to break gps...might just be me
    BSydz likes this.
  8. odojoe

    odojoe Well-Known Member

    Strange on the GPS. I can acquire satellites on the GPS Test app, and in Google now, it will show the time to get home when I am away from home, but the Navigation app will not acquire GPS.
    BSydz likes this.
  9. BSydz

    BSydz Well-Known Member Developer

    Thanks for the feedback. If you could let me know your install process, like Google Now or not, or fresh install or over previous install, that would be great. A few apps or files may need to be installed in the proper place. I'll test some stuff out this weekend.
  10. odojoe

    odojoe Well-Known Member

    I did a fresh install and followed your instructions. Yes, I like Google now. I have an out of town appt. tomorrow so we'll see if it tells me when to leave.
    BSydz likes this.
  11. rukin5197

    rukin5197 Well-Known Member

    I love you..


    Lol I've been looking for a resolution for this. Now make a CM10 version already ;)
    BSydz likes this.
  12. BSydz

    BSydz Well-Known Member Developer

    Sooooooooooo many symlinks! :confused: I think I've worn out my mouse, it's starting to double click on single clicks.

    I just finished a lil while ago so I just have to do a few double checks and I'll upload them. The updater-script is ridiculously long.

    Edit: Plus there is only 27.6 MB free with just the ROM installed.
  13. BSydz

    BSydz Well-Known Member Developer

    Link is up for symlinked Gapps for JB. It actually frees up 0.1 MB. :D
  14. BSydz

    BSydz Well-Known Member Developer

    What's up everybody? I need some feedback so I can get these perfected. There have been about 50 downloads of the ICS version somebody must have something to say.

    Thanks for the feedback that has been left.
  15. chilz

    chilz Well-Known Member

    im going to attempt to install google now on cm7 and try getting it to work i dont think it will have all functions but it may some how work
  16. activeservo

    activeservo Well-Known Member

    I installed this on CM9 12/31/12 with google now offline (m7 velvet offline) and had some problems with maps. Navigation would open up and freeze on the title screen. I cleared map data though the system's applications menu and under CWM I cleared the cache. After a reboot it has worked great.
  17. SemeteryRocker

    SemeteryRocker Well-Known Member

    This may be a really dumb question (if so, I apologize), but both sets of instructions refer to (re)flashing CM9 though I've been running it actively for about a week. Do I have to start over and reflash it to try this out?
  18. dsmryder

    dsmryder Well-Known Member Contributor

    This is ment to be used instead of the ICS gapps that is in the CM9 ROMs. If you needed more space in your /system partition, then I would do start over.
    SemeteryRocker likes this.
  19. SemeteryRocker

    SemeteryRocker Well-Known Member

    Okay, that makes good sense. I was looking for more reason to flash the absolute latest release of CM9, so this helps that along. Thanks, much appreciated!
  20. SemeteryRocker

    SemeteryRocker Well-Known Member

    For whatever reason, every time I turn on Wifi, gapps (com.google.process.gapps) crashes. Not a big deal to me as I hardly use it but thought the feedback could maybe be helpful.
  21. dsmryder

    dsmryder Well-Known Member Contributor

    Very wierd. I haven't even loaded up this version of gapps. I guess I need to get on the ball:D
  22. BSydz

    BSydz Well-Known Member Developer

    I've been trying to reproduce this on my new paranoid build but can't seem to get this to reoccur. I have to ask was it a fresh flash or not? I suggest flashing the ROM before you flash these Gapps, if you already had Gapps installed, because that will remove the apps from /system/app and then this will put a symlink to where it is stored in /data/Gapps. So more information would be needed to understand completely. Did you install Google Now or just these Gapps? Also did you start fresh or install over a previous install? Hope you figure it out, let me know how it goes.
  23. SemeteryRocker

    SemeteryRocker Well-Known Member

    It was on a fresh flash on CM9. I followed exactly as it's written in the first post.

    I cleared all cache/dalvik, factory reset, then flashed CM9 (12/31) followed by Google Now (offline) and finally the symlinked gapps from the first post.

    It crashed on me right after I setup the account fully and went into the play store but everything seemed fine. I've been using it since my first post in this thread and it's crashed a few times, the only ones I can pinpoint the why to is when I activate wifi. I pretty much leave it disabled to save battery generally, but when I turn it on, most often it crashes it. I just tried while replying and it didn't. Seems I can't recreate it, mostly seems random.

    I'd be glad to help any way I can. I hope I'm not coming across as complaining, I'm not at all, I very much appreciate your effort. Just thought maybe this could help somehow.
    BSydz likes this.
  24. thIsgUy20

    thIsgUy20 Well-Known Member

    chillz if you need any kinda help on that hala at me. I got a evo v so I been using my triumph to test roms I try and port so if you need help I will try Im just trying to upgrade my experience in android. right now im on noob level doe
  25. chilz

    chilz Well-Known Member

    it just causes bootloops and i cannot get logcat to pickit up it may be a lost cause im not too well experienced for trying to port an app with this indepth coding
Loading...

Share This Page