Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
10 votes

[ROM][KANG][ICS][IML74K] CM9 ICS Port for Droid Charge [BUILD2][03/24]

  • Please log in to reply

OP jt1134

jt1134

MILF

Posted 29 February 2012 - 08:05 PM #1

Oh hai folks, here's an official thread for my ICS CM9 port for the Droid Charge. Read this entire post before downloading or posting anything. It will be extremely obvious whether or not you have done so. This thread is for development information and legitimate bug reports. IE: bug reports with actual technical information and/or logcats included. If you have questions about installation, or other general issues, please use this Discussion thread -> http://rootzwiki.com...cussion-thread/ The reasoning for this is that I do not have the time, nor do I care to sift through hundreds of repetitive or off-topic posts about things that could very well be the by-product of user error. Please respect this request. HELP ME HELP YOU.

This ROM is a WORK IN PROGRESS. Lots of stuff works, lots of CRITICAL stuff DOES NOT. IE: this is NOT meant as a daily driver yet. This is meant to get the ROM out there, along with the source code, and encourage users as well as developers to share information. If your phone blows up, your dog dies, you go to jail, etc, after installing this ROM, it is your fault, not mine.

Hardware that works:
  • RIL - ONLY phone calls and SMS work at this time
  • Wifi
  • GPS
  • Touchscreen - multitouch appears to work fine - I have not tested any games/etc that rely on it. Let me know.
  • Audio
  • SDCard
  • HW buttons
  • Video playback - YouTube/NetFlix/etc
  • HW acceleration / HW composition
  • Sensors - accelerometer/gyro/proximity
  • Headphone jack
Hardware that does not work: (ASKING WHEN IT IS GOING TO WORK DOESN'T ACCELERATE THE PROCESS. SO DON'T ASK)
  • 1X/3G/4G data
  • MMS
  • Bluetooth
  • Camera/Camcorder on front and rear cameras
  • USB mass storage - work around:
    adb shell "echo '/dev/block/mmcblk1p1' > /sys/devices/platform/usb_mass_storage/lun1/file"
  • HDMI out
  • Auto-brightness
Known Bugs:
  • Radio not connected on bootup - work around: go to Settings>More...>Mobile Networks>Network Mode and toggle between LTE/CDMA and CDMA until signal bars appear. Make sure to leave it set on LTE/CDMA as it does not work on CDMA even though signal bars may still be shown. This resets on reboot, so if you reboot, you must repeat these steps.
  • Ringer does not work on incoming calls; vibration DOES work - FIXED in BUILD1
  • Since data does not work, the radio will "loop" if data is enabled, draining battery excessively. Go ahead and disable data unless you are debugging.
  • Signal bars are not accurate.
  • HW button backlights do not work.
  • Advanced settings header shows "Galaxy Tab Settings" - this is only cosmetic, a "derp", if you will
Installation:
  • Copy ROM and GApps to your sdcard
  • Boot into clockworkmod recovery
  • WIPE DATA
  • Flash ROM zip
  • Go to "mounts and storage" and mount system
  • Flash GApps
  • Reboot
Notes:
  • This ROM is set up for ext4 filesystem ONLY. If you are currently on RFS, your system will converted automatically.
  • If your device does not boot up after following the installation steps above, it is likely due to issues with recovery images that are currently available for this device. If this affects you, boot back into (the new) recovery and repeat the installation steps. At some point I may work on a "universal" recovery to prevent these as well as other issues.
Downloads:

ROMS:Google Apps:Source Code:Updates:

BUILD1:
  • fixed incoming call ringer
  • implemented proper vibration fix
  • improvements to video playback
  • fixed BUILD_ID - fixes issues with Chrome browser, etc
  • added interactive cpu governor to kernel
BUILD2:
  • fixed xt_qtaguid in kernel, for data usage monitoring, fixes lots of exceptions in the logs, obviously only works for wifi right now
  • fixes to bluetooth - only for file transfer and A2DP, in-call audio is still broken
  • implemented open-sourced lights HAL module; includes backlight notification functionality, can be toggled from Settings > Display > Pulse Notification Light
  • misc. fixes to RIL properties (unknown what effects this may have)
  • added files and settings for tvout - enable from Settings > Advanced (Untested)
  • updated to latest CM9, including the snazzy new bootanimation :P
  • updated with proprietary Samsung files from FP1
Once again, leave legitimate bug reports and helpful information in this thread. Anything else, goes here -> http://rootzwiki.com...cussion-thread/

Enjoy.

Edited by jt1134, 24 March 2012 - 12:05 PM.

  • 18 Likes

OP jt1134

jt1134

MILF

Posted 29 February 2012 - 08:07 PM #2

Compiling ROM in its current state

For my own convenience, as well as the convenience of anyone wanting to compile this ROM (or the ROMs I've distributed for the Fascinate and 7" GalaxyTab for that matter) I have set up a manifest on my github that will grab all the necessary code in one shot.

This assumes you already have a usable linux installation and all the prerequisite helper tools. I will not discuss those things here, there are plenty of tutorials on the web if you need it. Here's one straight from Google : http://source.androi...itializing.html

Once your environment is set up, you'll need to get the code. This is where the instructions change slightly so you'll get my variation of the code. Once you have the 'repo' tool installed, you will need to sync with *my* manifest, *not* Google's as detailed in the previous link.

mkdir ~/ics/system
cd ~/ics/system
repo init -u git://github.com/jt1134/android.git -b ics
repo sync

This will take some time to complete depending on your connection, as it needs to download several gigabytes worth of source code. When complete, you'll have the full CM9 source, along with my repos specific to the Charge (kernel, device tree, proprietary files, etc).

The kernel source code can be found in kernel/samsung/charge. To compile, simply run the build script in that directory. When the compile finishes, the finished kernel will be installed into device/samsung/charge along with the rest of the necessary device configuration files. At this point, the kernel is *not* a finished product, and needs to be compiled into a boot.img before you can safely flash it. More on that later.

To build the ROM in it's entirety, from your ~/ics/system directory, do the following:
. build/envsetup.sh
brunch charge #or use fascinatemtd or p1c if you want to build for those devices <img src='http://rootzwiki.com/public/style_emoticons/<#EMO_DIR#>/android/wink2.png' class='bbc_emoticon' alt=';)' />

Once complete, your finished ROM will be installed in out/target/product/charge. If you would like to only build the kernel, simply execute 'make bootimage' after running lunch. Similarly, if you have modified the source code to a single file and want to only compile that one file for testing, such as framework-res.apk, you can execute 'make framework-res' and just that apk or whatever will be compiled and installed in its appropriate place in out/target/product/charge/system/.....

If you see I have updated my repos, or if you simply want to update the CM9 code, simply run 'repo sync' again, and your repos will be refreshed.

Now get to compiling!

Edited by jt1134, 23 March 2012 - 10:50 PM.

  • 1 Likes

OP jt1134

jt1134

MILF

Posted 29 February 2012 - 08:07 PM #3

Uno mas
  • 0 Likes

cujo6801

cujo6801

Supporting Member

Posted 29 February 2012 - 08:25 PM #4

Wow this is great...


Edit : I like my post :P

SENT FROM THE DOG POUND

Edited by cujo6801, 29 February 2012 - 09:24 PM.

  • 1 Likes
SENT FROM THE DOG POUND

leenephi

leenephi

Android Beginner

Posted 29 February 2012 - 08:35 PM #5

I felt bad and removed my useless post.

Thus, this is reserved for a future bug report I shall submit. :P

Edited by leenephi, 29 February 2012 - 08:39 PM.

  • 0 Likes

jrphillips10

jrphillips10

Android Beginner

Posted 29 February 2012 - 08:36 PM #6

feel free to delete this post.

Sent from my SCH-I510 using RootzWiki

Edited by jrphillips10, 17 April 2012 - 05:51 PM.

  • 0 Likes

sircrazy

sircrazy

Android Beginner

  • 21 posts

Posted 29 February 2012 - 08:45 PM #7

Great work JT. Ran it for a few days already, no lag, very solid. Faster than GB. Keep up the good work.
  • 0 Likes

times_infinity

times_infinity

Composolite Incarnate

Posted 29 February 2012 - 09:25 PM #8

ETA for MMS pl0x? why doesn't this rom make coffee and bacon for me?
  • 0 Likes
Posted Image
Twitter: @times_infinity
Synacking, Akaineing
Lurk, Learn, and STFU; RTFM

JihadSquad

JihadSquad

Super User

  • 296 posts

Posted 29 February 2012 - 09:33 PM #9

ETA for MMS pl0x? why doesn't this rom make coffee and bacon for me?

Agreed. OTA plz.

On a serious note, youtube does not work yet (it says in the op that it does). Also, it is worth noting that cell signal is much lower than normal.
  • 0 Likes
I will DIE for our cause!

OP jt1134

jt1134

MILF

Posted 29 February 2012 - 09:44 PM #10

Agreed. OTA plz.

On a serious note, youtube does not work yet (it says in the op that it does). Also, it is worth noting that cell signal is much lower than normal.


sigh

youtube DOES work, I used it about 5 minutes ago

signal strength is reported incorrectly

this is not the same build I have posted previously

Read this entire post before downloading or posting anything. It will be extremely obvious whether or not you have done so.


This thread is for development information and legitimate bug reports. IE: bug reports with actual technical information and/or logcats included.


  • 1 Likes