• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

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

BSydz

Android Expert
Mar 31, 2012
951
944
The Mitten
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
http://www.mediafire.com/download.php?4mnonuj8bfn3lzb
 
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 still haven't even tried to install Google Now on CM9 but I will test this out further as things progress.

I need some feedback on this as I am about to go to bed, but I did flash it and everything seems to be working. I'll put up links to JB Gapps when I work some things out. I'm sure this will help a bunch of other devices that have smaller system partitions.

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.

Symlinked Gapps for ICS:
Right now, after install it uses 23.3MB and the bulk of the files are installed to /data/Gapps

symlinked-gapps-ics-20120429-signed.zip

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?
 
Upvote 0
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?

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.




There a triumph cm10 beta? :eek: or is it just a generic gapps?
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.
 
Upvote 0
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.

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.
 
  • Like
Reactions: BSydz
Upvote 0
Seems to break gps...might just be me

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.
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.
 
Upvote 0
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.

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.
 
  • Like
Reactions: BSydz
Upvote 0
I love you..


Lol I've been looking for a resolution for this. Now make a CM10 version already ;)
Sooooooooooo many symlinks! :thinking: 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.
 
Upvote 0
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?

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.
 
  • Like
Reactions: SemeteryRocker
Upvote 0
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.
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.
 
Upvote 0
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.
 
  • Like
Reactions: BSydz
Upvote 0
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
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
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones