[HTC One X] LorD ClockaN:
Source building and F.A.Q.

HOW TO BUILD ICECOLDJELLY FROM SOURCE

First of all you need to have Linux installed (or MacOS, but this tutorial is for Linux).

I highly recommend Linux Mint 14 Cinnamon edition, or any version above V10 or Ubuntu 10 should be fine.

Now when you have linux installed on your dual boot (highly recommended), or in a virtual machine, follow this guide to set up your environment, but only till the moment of initializing repo, than stop. We use different repo of course.

After you've installed all required packages (keep in mind on different packages for 32bit and 64bit machine) and installed repo binary, go to my repo link here and read the part in Readme or just scroll down.

You need to initialize repo, sync and build. While syncing, go and grab a beer (or a coffee if you really want) because it will take a long time, depending on your internet speed. It will download I think about 6-8 GB of data, depending on repo you try to sync. After sync finishes, sync run the command one more time, just to be on the safe side.

Before starting compilation, I highly recommend to install ccache application that will greatly increase speed of compilation after the first compilation. Easiest install is by running this in terminal: sudo apt-get install ccache

Compilation starts by running this command in the root of your repo folder: . vendor/aokp/build.sh

this way you'll get rom zip ready for flash in out/target/product/endeavoru folder named aokp_endeavoru_unofficial_XXX-XX-XX.zip

XXXs are for current date.

if something goes wrong or you think you didn't get new features that I mentioned in change log or I updated my git, you run this command before compilation: make clean

It will delete your entire out folder and compile from scratch, but it will be much faster because of ccache application.

99% of the time you won't need to run make clean, but if I change some build flags or rom name, make clean is needed

That's all folks!!

FAQ

- by Braindamage1989

Issues:

GPU Rendering "issue":

Lord somehow forgot to turn on forced GPU rendering by default. This could lead to some graphical issues and sometime slower framerates. To turn it on go to: "Settings" -> "Developer Options" -> "Force GPU Rendering"

Theme issues:

Some people are having issues while changing their theme. A known solution is switch back to system theme (and set back original DPI if you have DPI issues), do a reboot and then try to apply the theme you want again (and if you have DPI issue you can now change it back). It's also nice to notice that ICJ has his own official theme thread located here.

Radio (2G/3G) and WiFi issues:

On ICJ with the stock kernel everything works. If you somehow have issues with data connections it most time comes from 3rd party apps/mods (not stock kernels, RIL change, radio change). If you encounter such issues try to use a fresh (wipe) install with everything stock. If it works now, you have problems with 3rd party apps/mods.

GPS issues:

First of all make sure you don't have a hboot equal or higher than 1.23, because on this hboots GPS won't work at all. If you are on a lower version hboot and have issues with GPS, first see if the GPS icon appears in the notification bar. If it doesn't, there is a great chance that you flashed a custom kernel and didn't flashed the right modules (or a kernel with a broken GPS) or that your GPS is broke. If you do have the icon appearing in the notification bar and still have issues try this:

Download app called GPSfix from market

Go to a place were you normally wouldn't have any problems with fixing location

Start the app and click start fixing

If your GPS isn't broke you should get 1 or more satellite icons in your screen after a minute or 2

Let it run and see if it gets a fix now

If you locations has been found, it will give you a message

Now try again with any other app, it should be working now

You may need to redo all steps after a reboot

Play Store Issues (Multi DPI Play Store):

This ROM has the option to change the DPI. If you change the DPI of your phone some apps won't show up in Play Store. For this issue there is a multi DPI Play Store. You can find them here and here. In case you want to know what a "Inverted Play Store" is, this is a Play Store with the opposites colors (white = black, black = white). Also keep in mind that Google can autoupdate your Play Store, then you need to reflash a NEWER version of the multi DPI mod. Also make sure you flash multi DPI Play Store after you flashed GAPPS.

ADB issues:

Sometimes for no reason ADB stops to work. This could have many reasons. First of all check if it is enabled at dev options. If it doesn't work after that it's mostly the shortest way to uninstall and reinstall the Android SDK. In some cases downgrades (older SDK) could work to.

Battery issues:

If you are experiencing battery drains you could use BetterBatteryStats to what apps are causing this. At the section "Alarms" of BetterBatteryStats you can see what apps are causing wakelocks. Common tips to extend battery life are:

Disable locations services

Turn off/delete Google Now

Longer/higher auto-sync values

Watch out for 3rd party apps/widgets draining

Usage:

How to flash:

Turn OFF your phone

Boot in bootloader

Select "fastboot"

Flash boot.img via fastboot that is located in the rom.zip: "fastboot flash boot boot.img"

Run this command now: "fastboot erase cache"

Go back to hboot screen

Select "recovery"

Full wipe is recommended if coming from sense, if coming from other AOSP roms than not

Flash the rom

Flash these gapps (Google applications - 20121011) -they NEED to be flashed after every ROM flash

Hboot 1.23 and higher:

If you are on hboot version equal or newer than 1.23, then you need to use a special kernel to get the ROM working. This kernel will break the GPS module so you can't use GPS when you are on a hboot newer then 1.23. This problem can't be fixed untill HTC release their kernel source code for Jelly Bean. If for any unknown reason you want different kernel, you need to repack it into this rom's boot.img. DON'T ask in thread, but repack it your self with this wonderful on-line repacking tool http://nibble.cc/repack/ or try it manual with this (Windows) guide.

Changing radios & getRIL:

For some reasons you may want to change your radio or RIL, but this is not recommend as most users get more issues instead of less by changing RILs or radios. But if you want to take a shot, go read on. For changing the RIL sibor has made a great tool called getRIL. Somehow the newest getRIL doesn't get well with ICJ. But version 0.9.4b works perfect. To change the radio (or better baseband) you only need to overwrite one single file. The file is located at system/etc and it's called "QUO_6260.fls.clean". I don't gonna explain how you overwrite the file, if you don't know it yourself you shouldn't change your radio.

Circle Lockscreen:

ICJ has a beautiful Circle lockscreen. You can find this lockscreen at: "Settings"->"Security"->"Lockscreen"

Changing governor and cpufreq:

Changing governor or cpufreq under ROM Control doesn't work flawless. If you want to change these values permanently you need a third party app (No-frills CPU Control or SetCPU)

Public betas:

Some times the ICJ team releases a public beta. It's a public beta for a reason, it needs to be tested by more persons then the regular team. As a beta most time contains new functions or improvements, there is a chance stuff doesn't work (good). If you really want to be helpful then give details of what you have done, like:

Did you do full wipe?

Are you at stock kernel?

Did you use any 3rd party apps?

And if you have the time, provide a logcat

And most important of all don't scream it doesn't work without providing extra details, you better don't say anything at all. If Lord Clockan asked us for testing something please also report that it works if it does. This will speed up things a bit to.

Overlay script (install system apps and scripts on ROM install):

To have your apps and scripts etc automatically installed during ROM flash place them in:

sdcard/overlay/system/app/ (for system apps)

sdcard/overlay/system/etc/init.d/ (for scripts)

etc

Google Apps

Some modded GAPPS can cause issues. The best way to prevent weird behavior is to make sure only GAPPS get flashed, by looking into the zip file or use the GAPPS given here

OFFICIAL THEMES TREAD

http://xdaforums.com/showthread.php?t=1840658