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

Root [ALPHA] ICS for Optimus M (NOW COMPILED AND BOOTING)

whats the actual error? scroll up and see where it errored out at. I fixed a few of these by adding some includes to the header files. what version ubuntu are you building with?
11.10 other builds ran fine til repo sync didnt finish.

I got my build time down to a little over four hours from scratch.. But yeah I need a little more of the error there to help ya on that one.. Lol
Code:
external/oprofile/libpp/format_output.h:94:22: error: reference
 
Upvote 0
apt-get install gcc-4.4
apt-get install g++-4.4

update-alternatives --remove-all gcc
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 44
--slave /usr/bin/g++ g++ /usr/bin/g++-4.4
--slave /usr/bin/gcov gcov /usr/bin/gcov-4.4
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 46
--slave /usr/bin/g++ g++ /usr/bin/g++-4.6
--slave /usr/bin/gcov gcov /usr/bin/gcov-4.6

And then choose which GCC you want to use like this: update-alternatives --config gcc


just saw your post lol
 
Upvote 0
my new compile doesnt boot.. heh.. nice.. gonna comment out the touchscreen line and see what happens.. had a bunch of stupid errors.. and didnt do a make claen clobber.. could be the problem.. lol should go much smoother now


in the meantime i ahve added a little eyecandy to the orignial bootable rom.. nice bootanimation, i did not create, but i edited to work on our phones a while ago, enjoy :)
OP has been updated with it
 
Upvote 0
Hey everyone, just wanted to give the heads up, i am currently pulling source for a AOSP ICS rom, once everything is synced up, ill be compiling with existing proprietary files to see if i can get a bootable image. One problem, i will be needing some people to test this for me as my service with metro is currently off i wont be able to make or recieve calls text, data and whatnot. Im hoping to have this up sometime between today and tomorrow if everything works out. If your interested in helping with testing please reply to this message. Once its compiled and bootable i will PM you a download link, and my email. Any issues you have with the rom please send me an email so we can all work together on getting the bugs worked out. Once most of the bugs are worked out and it is mostly fucntional i will post a ROM thread for download and further assistance. Thanx everyone.


UPDATE: here is a flashable zip. flash at your own risk. Not much works right now.. it does boot, there is a problem with the multitouch, you have to drag the circle over where you want to click and then put a second finger on the screen. but im working on it.. i have to go through and edit some stuff for a recompile. here is a link tot he flashable zip, just flash like any other rom, GAPPS IS NOT REQUIRED.

device-2011-12-15-155157.png
device-2011-12-15-180452.png


EDIT:
updated rom with a little eyecandy, enjoy the new bootanimation.

http://dl.dropbox.com/u/42841380/thunderc_signed_122111_142427.zip

i will be uploading my source for others to work on, when i have the info for that i will post it.
thanx again everyone. lets see if we can get this thing out of alpha lol

EDIT: here are my working files for anyone who wants to try to compile this and help work out the bugs. they are all zipped up in a file of the respective folder name withing the android source. the lge.tar.gx need to go int he device folder.

http://dl.dropbox.com/u/42841380/transfer.tar.gz
http://dl.dropbox.com/u/42841380/vendor.tar.gz
http://dl.dropbox.com/u/42841380/external-webrtc.tar.gz

when i get around to setting up my github, once i fugre that out.. lol. ill post a link to it to make things easier


So the only thing different is the boot animation?
 
Upvote 0
good news.. got a new job lol, bad news.. probably wont have as much time for this project lol, but i need money lol, and this is more of a hobby but i will continue my work on this, plus there are some great people working on it as well


Well congratulations! Just don't forget about us on here ;)

Are you compiling right now?
 
Upvote 0
Well congratulations! Just don't forget about us on here ;)

Are you compiling right now?

lol yeah.. trying to work out some errors.. get a clean build to work from, i compiled one last night but it didnt boot.. very strange.. but then again i forgot to put a couple things in.. now im getting a java error.. never had a java error.. trying tow ork it out, but yeah.. got a job at office depot, in the Tech Depot part of it, doing computer repairs and tune-ups and such.. looking forward to not working in or managing a restaurant lol

you check out the new boot animation yet?
 
Upvote 0
11.10 other builds ran fine til repo sync didnt finish.


Code:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
host C++: liboprofile_pp <= external/oprofile/libpp/name_storage.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/op_header.cpp
host C++: liboprofile_pp <= external/oprofile/libpp/symbol.cpp
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/oprofile/libpp/format_output.cpp:26:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
In file included from external/oprofile/libpp/op_header.cpp:34:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/op_header.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/format_output.o] Error 1
playfulgod@The-Monster:~/Android/ICS$


Go to that file and delete the word mutable.
 
Upvote 0
fixing errors on a full eng is what i did before i compiled for the phone lol.. if we were building for a phone that is supported, it would be great.. but we are building for a unsupported phone, so after fixing initial build errors, we have to figure out what else we need to do to get it to work on our phone lol, but building a full-eng is actually a good thing. pretty much though as far as the software and ubuntu build are concerned you will have the same errors either way, the mutable was a gcc error, needed to be downgraded, and the fortify source was another related error to building on 11.10.. i have less issues and less setup and workarounds building on 10.04, was a breeze compared to trying to get it to build on 11.10
 
Upvote 0
new error for me.. but when doing make again its goes fine... wierd

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002b5d29797163, pid=28946, tid=47679113225984
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~BufferBlob::getPsrInfo_stub
#
# An error report file with more information is saved as:
# /home/tripdoc/android/system/hs_err_pid28946.log
#
# If you would like to submit a bug report, please visit:
# HotSpot Virtual Machine Error Reporting Page
#
make: *** [out/target/common/obj/APPS/HoneycombGallery_intermediates/classes-full-debug.jar] Aborted
 
Upvote 0
lol yeah.. trying to work out some errors.. get a clean build to work from, i compiled one last night but it didnt boot.. very strange.. but then again i forgot to put a couple things in.. now im getting a java error.. never had a java error.. trying tow ork it out, but yeah.. got a job at office depot, in the Tech Depot part of it, doing computer repairs and tune-ups and such.. looking forward to not working in or managing a restaurant lol

you check out the new boot animation yet?


No I haven't checked it out yet, I'm waiting till data and text works before i flash it over again ;)
 
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