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

Root CM10 Development (moved to upp)

busy day today. No time to work on anything :( Tomorrow is another day, and I intend on getting at least 1 successful build if it kills me. I expect it won't boot, but just to see the "zip at the end of the terminal" would be golden :)

Zip up your device config and pm me, we have a special devhost account I can give access to that might help
 
@downthemachine I will zip it up a little later today, thanks again for your assistance :)
 
Have you pulled any proprietary files from the phone? You can't use hroarks, that's for the warp 1 and gb stuff
 
Have you pulled any proprietary files from the phone? You can't use hroarks, that's for the warp 1 and gb stuff

I have. I modified the extract-files.sh to grab the closest matches on our phone...but closest match does not mean correct. We shall see. Thanks for the tip :)
 
just re-setup my build system. Re-syncing repo now. It will take a while, then I will try to build again. I have made some discoveries along the way that I am excited to test :)
 
I have been trying to repo sync all day with no luck. Keeps giving me this:

error: Cannot fetch CyanogenMod/android_frameworks_base
error: Exited sync due to fetch errors

After some research, I need to keep trying. Using repo sync -j1 this time...I read that it fixed it for some users.
 
I am not getting too excited, but sync just blew past the part it was stuck on last night. Fingers crossed
 
well see i doubt youll have my issue. my issue wasnt caused by the server, or the repo program, it was caused by the fact that my internet is the phone sitting in my bedroom window running wifi tether for root users, 3g and large downloads dont play nicely
 
no go...same error as before and I started from scratch:

Install: /home/superr/android/out/target/product/warp2/system/bin/app_process
make: *** [/home/superr/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
 
hmm, and youve tried both versions of java 6, making sure not to use java 7... its not the repo... maybe theres an error in the symbolic linking on your computer? did you make sure that all of the jdk applications are linked to your path variables as well as the adk things like it said to do in certain tutorials?
i just dont see how it could have that error though without there being something wrong in those areas, that isnt a device specific thing...
maybe somewhere in the make files it is trying to find a file that has been renamed between 9 and 10?
you could try syncing the ics repository as well and plug everything into that see if it works
though that is a very time consuming process just to check that one little theory of mine. if you could build 9 tho its pretty much just as good as getting 10 working on here
who cares that its ics instead of jellybean its a hell of alot better than the ics version we have now

edit: ah ok, yea try it with openjdk. hopefully that fixes things
 
I am trying to keep you and everyone updated, just not much to update. Very slow process. I agree that cm9 would be great, but cm10...that's what I really want. Project butter :)
 
I am trying to keep you and everyone updated, just not much to update. Very slow process. I agree that cm9 would be great, but cm10...that's what I really want. Project butter :)

i feel ya, hopefully open jdk 6 works out, if not we may be stuck with ics unless someone else has any other ideas
 
ok so after a little more digging ive found that openjdk has fixed it for some
other have managed to fix it by doing a debug build instead of an engineering

lunch full_warp2-user_debug
instead of lunch full_warp2-eng

someone also mentions a java settings file


Make sure you have the corresponding lines in the Settings.java file. That may be the issue.
Settings.java is located beow (bare with me I'm at work on the phone so the directory may be wrong)
Frameworks/base/core/java/com/android/provider/Settings.java

and then there is making sure you got rid of every last piece of one jdk before trying the other, the smallest fragment left over could screw everything up
 
no go on open jdk. Trying to re-do build environment again with some new tweaks. Then, build again. Will update soon.
 
hmm, and youve tried both versions of java 6, making sure not to use java 7
yes
did you make sure that all of the jdk applications are linked to your path variables as well as the adk things like it said to do in certain tutorials?
not sure, i followed 2 different tutorials to the T. Do you happen to know the command to make this happen? No harm in trying again
maybe somewhere in the make files it is trying to find a file that has been renamed between 9 and 10?
maybe, although none of the files I replaced were the ones that error.

no go on open-jdk, or oracles for the second time
 
i can look up the path commands, make 100% you have removed every piece of the openjdk tho that will screw with things
and if you havent yet try the command i spoke of earlier
[FONT=Courier, Monospaced]sudo update-alternatives --config jar
not sure of its exact effects but maybe it will be helpful

and i know its not like in the buildconfig or anything but maybe one of the makefiles links to something from cm9 that cm10 doesnt have, its looking like a jdk problem tho
[/FONT]
 
I have been using "brunch warp2". lunch won't do anything but stop immediately. I don't even know the diff between the 2. I hope I have not been using the wrong build command all this time :(
 
if you havent yet try the command i spoke of earlier
[FONT=Courier, Monospaced]sudo update-alternatives --config jar
not sure of its exact effects but maybe it will be helpful
[/FONT]
superr@ubuntu:~$ sudo update-alternatives --config jar
[sudo] password for superr:
There is only one alternative in link group jar (providing /usr/bin/jar): /usr/lib/jvm/java-6-oracle/bin/jar
Nothing to configure.
 
Back
Top Bottom