PDA

View Full Version : Compiling ICS 4.0.4



SmurfinTruck2011
04-04-2012, 11:20 PM
Hey guys, well i did compile a 4.0.4 for the NS4G and wasn't sure what to do next i had used just make -j4...but i read somewhere that the better way was make otapackage -j4 so ii did a make clobber and i am now running the other....but i am just not sure how to make it flashable via CWM.... I plan on zipaligning this rom once i have it compiled, along with adding the GApps, and SU and its already deodexed from the build process i noticed so that saves a step..lol but any helpful hints from those that are more in the know than i would be awesome!!

Kwes1020
04-04-2012, 11:29 PM
make otapackage -jX will make a flashable zip. You want to make the X after -j the number of cores your CPU has x2. For example I have a 6 core CPU. So when I am building I use make otapackage -j12 This will speed up the build process some if your computer can handle it. Even if you just run make -jX and it builds completely you can just use make otapackage -jX afterwards to make the flashable.

SmurfinTruck2011
04-04-2012, 11:40 PM
SWEET!! Thanks...i have been reading up on alot of things and i feel like my brains on overload so i felt that i should ask to make sure i am doing things right.

Kwes1020
04-04-2012, 11:50 PM
Anytime. If theres anything else just ask.

SmurfinTruck2011
04-05-2012, 01:45 AM
I have another question but its not about the compile but more about how to compile Busybox for Android...i have been looking at how some say to do it but i get no makefile in current directory even when i am in the busybox source folder...I am hopeing to get my build up and running soon!

DreamsForgotten
04-06-2012, 01:12 AM
I have another question but its not about the compile but more about how to compile Busybox for Android...i have been looking at how some say to do it but i get no makefile in current directory even when i am in the busybox source folder...I am hopeing to get my build up and running soon!

Nav to just before the busy box folder and type mmm busybox should be in platform external

Sent from my Nexus S 4G using Tapatalk

SmurfinTruck2011
04-06-2012, 04:58 PM
Have a strange issue and not sure why its happening haven't seen any help on this issue either and thats having two galleries popping up in both the all apps and when you hold and have the popup menu when wanting to change the wallpaper...If i need to put a screenshot of it up i will but not sure if anyone here has had that issue...

DreamsForgotten
04-06-2012, 07:50 PM
Have a strange issue and not sure why its happening haven't seen any help on this issue either and thats having two galleries popping up in both the all apps and when you hold and have the popup menu when wanting to change the wallpaper...If i need to put a screenshot of it up i will but not sure if anyone here has had that issue...

You most likely have two gallery.apk in your system app folder if not clear dalvik cache, is this related to a build you are doing?

Sent from my Nexus S 4G using Tapatalk

SmurfinTruck2011
04-07-2012, 01:46 AM
god i feel like a noob/moron for not seeing that myself... :( also i tried to build the busybox from source using source "path to source envsetup.sh" then mmm from the external folder with no luck...is it because i am doing this from a mac? Also i have my own build working from what i can tell...can make or recieve a phone call :) haven't tried txt's yet but that will be my next step.... I am trying to read how to add the reboot option to the phone i had a tutorial on it but for another phone and it wasn't for ICS..

DreamsForgotten
04-07-2012, 05:18 AM
god i feel like a noob/moron for not seeing that myself... :( also i tried to build the busybox from source using source "path to source envsetup.sh" then mmm from the external folder with no luck...is it because i am doing this from a mac? Also i have my own build working from what i can tell...can make or recieve a phone call :) haven't tried txt's yet but that will be my next step.... I am trying to read how to add the reboot option to the phone i had a tutorial on it but for another phone and it wasn't for ICS..

Phonewindowmanager.java in platform_frameworks_base_policy_sec_com_Android_po licy_impl I believe for the extended power mods, it's definitely in policy. Check the repos of aokp cm9 etc it's in there some where. Not sure what the command is on a Mac to make from a sub directory.

Sent from my Nexus S 4G using Tapatalk

flyers2114
04-08-2012, 12:54 AM
Thx Dreams and Kwes ...love to see peeps share knowledge and you 2 are always willing. :D

Sent from my SPH-D710 using Tapatalk 2 Beta-5

SmurfinTruck2011
04-25-2012, 01:27 AM
Hey guys sorry its been a while sense i have been on. between work and my new son its been crazy. But I finally have a little time to try and work on my custom rom again. You guys have been awesome! Have you guys seen an issue after compiling that the MMS doesn't seem to understand the english language? every word i put in is underline or not in the dictionary. I even made sure it was set to English. Also when looking at the input i have one for japanese and one that is in what looks to be a chinese language and of course the LatinIME (if memory servers correct) what would cuase that do i need to do some modding to the make file for mms?