Project SuperiorIrkenOrgans a [Official CM7 Source]

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
The name for the project chosen by thewraith420.

Go here to the official "SuperiorIrkenOrgans Google Page" for details about the project, how to install Linux, how to setup your build environment and how to start building from source.

While LG Optimus devices are not officially support by CyanogenMod VirginMobile is; because of this building from official CyanogenMod source is possible. so unlike "Inferior Human Organs" this is not a port of CyanogenMod, but rather a full 100% CyanogenMod for the CDMA LGE Optimus devices.

I first begin developing from the IHO source a little over 8 months ago and with the help of mrg666, JerryScripts, LeslieAnn, BobZhome, thekraven and blarf have learned a lot. Without them this Official CyanogenMod work would not have been possible, so please give then the credit.

Please do not post ROMS or Ports in the thread as this is for the announcement of the source code only and should serve to replace both the Build your own ROM thread and the [ROM+Kernel] Inferior Human Organs unofficial CM7.1 thread.

The source can be seen here.
 
Last edited:

thekraven

Well-known member
Nov 10, 2010
1,407
1,148
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

add jerryscript's system_core to get the thunderc offline charging working.
 

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

add jerryscript's system_core to get the thunderc offline charging working.

if this is the fix you are talking about, then it is already there?

Code:
/* If /proc/last_kmsg exists the phone has been rebooted, if not
       it's a cold boot */
    if (access("/proc/last_kmsg", R_OK) == 0) {
        battchg_pause = 0;
    } else {
        battchg_pause = 1;
    }
 

thekraven

Well-known member
Nov 10, 2010
1,407
1,148
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

This is the full commit. https://github.com/thekraven/android_system_core/commit/6f4afca50578cfef026092899c26ef00714cedfc


Then add this to the top of the init.thunderc.rc, i think it's already there.

Code:
# This does offline charging:
#  * If booted via power button, chargerlogo will immediately exit, allowing
#    the boot to proceed normally.
#  * If booted via USB cable, chargerlogo will run indefinitely, blocking the
#    boot process from proceeding any further.
on boot-pause
  exec sbin/chargerlogo

And this to the end of the Boardconfigcommon.mk

Code:
# Charging while powered off
BOARD_GLOBAL_CFLAGS += -DCHARGERMODE_CMDLINE_NAME='"lge.reboot"' -DCHARGERMODE_CMDLINE_VALUE='"pwroff"'
 
Last edited:

thewraith420

Well-known member
Sep 6, 2011
1,987
223
63
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

Steps to setup a build environment should be added if this is to replace the build your own rom thread

Tapatalk'n it from my VM670 running OM-Mandylion IHO on LS670ZVJ firmware
 

sellers86

Well-known member
Jul 21, 2011
1,837
617
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

Steps to setup a build environment should be added if this is to replace the build your own rom thread

Tapatalk'n it from my VM670 running OM-Mandylion IHO on LS670ZVJ firmware

there is a link in the op pointing to instructions on how to do that

Sent from my PG86100 using Android Central Forums
 

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

The Google page is a bit wordy and the idea is/was to get people to read it and post their questions here that way I know how best to write out the instructions.
 

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: [Official CyanogenMod] Superior Irken Organs

Updated the OP and Cole can please achive both both "Build you own ROM" and "[ROM+Kernel] Inferior Human Organs unofficial CM7.1 Threads".
 

cole2kb

Retired Moderator
Apr 7, 2011
2,503
547
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

Probably. Let me think about it. I know that both of those threads are basically depreciated but I have a bit of an issue archiving them without the request coming from the OP

Sent from my Motorola RAZR MAXX using Tapatalk 2
 

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

Did up some build.prop fixes on the GB branch and removed my laziness so now the build directory well be pulled from CyanogenMod's repo instead of SuperiorIrkenOrgans repo.
 

dzdzjb

Well-known member
Dec 3, 2011
71
13
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

Once I reverted to jdk-6, this compiled nicely on Slackware 14.0 and is now running smoothly on my phone.

I'm very new to playing with Android at this level. Where do I look to learn about what to change (and what can be changed), e.g., applying kernel patches to allow the msm7x27 governor? And, for that matter, where is the kernel config?

I don't mind being told to RTFM, but I would like to know which FM to read :)
 

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

The kernel is prebuilt and is located in in device > lge > thunderc_"model" > files > kernel. If you wish to compile one there are a few on github for are phones.

This is a very helpful video tutorial.

Tutorial: Android Internals - Building a Custom ROM, Pt. 1 of 2 - YouTube

It is long, but very helpful.

Going to add some wiki's today and tomorrow on to github page to act as a manual.
 

dzdzjb

Well-known member
Dec 3, 2011
71
13
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

Oh, hey, I noticed there's a /proc/config.gz!

All I have to do to get my current (working) kernel config file is this:

Code:
$ adb pull /proc/config.gz .

:p
 
Last edited:

EarthnFire78

YAY!!! ME :)
Jan 1, 2012
964
232
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

If you want to use that kernel configuration, though this may cause some compiling errors with some source kernel builds.
 

dzdzjb

Well-known member
Dec 3, 2011
71
13
0
Visit site
Re: How to build Superior Irken Organs [Official CM source]

Oh, I'm not sure if I want to use that config, since that config will of course rely on whatever patches have been applied. I was just hitting my head against a wall searching the source tree in ~/Development/android wondering why I couldn't find a config! Silly me!

Knowing that the kernel is pre-built makes a difference, but having a working config file to use once I get to the point of playing with kernel compilation is also pretty nice :)
 

Members online

Forum statistics

Threads
942,987
Messages
6,916,737
Members
3,158,762
Latest member
Dominic Haar