http://pastebin.com/Fd2yGzrA
BoardConfig.mk is due to me making armv5te
back up and running CORRECTLY now with armv6j
BoardConfig.mk is due to me making armv5te
back up and running CORRECTLY now with armv6j
Last edited:
running: java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpAJtFnP out/target/product/heroc/TeamICS_heroc-ota-eng.mattcrystal.zip
Could not create the Java virtual machine.
ERROR: signapk.jar failed: return code 1
Code:running: java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpAJtFnP out/target/product/heroc/TeamICS_heroc-ota-eng.mattcrystal.zip Could not create the Java virtual machine. ERROR: signapk.jar failed: return code 1
No idea what to do here. I do have java 6 jdk installed... only thing I found is it's related to keys.
I do have img's in the out folder but they do me no good til this is resolved and I create an otapackage
Not sure what is going on there. Do all of the referenced files exist? Do you have more than one java version installed? If so, try running 'sudo update-alternatives --config java' to pick the right version. Also, is JAVA_HOME set to the correct location for the installation?
mattcrystal@ubuntu:~/WORKING_DIRECTORY$ java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpeMvdY2 out/target/product/heroc/TeamICS_heroc-ota-eng.mattcrystal.zip
Exception in thread "main" java.lang.NoClassDefFoundError: com.android.signapk.SignApk
at java.lang.Class.initializeClass(libgcj.so.11)
Caused by: java.lang.ClassNotFoundException: sun.security.x509.AlgorithmId not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:out/host/linux-x86/framework/signapk.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.11)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
Everything was setup right. The only thing I can attribute to it is a bad build. During compiling Ubuntu would lock up and a hard reset was the only way to get back to it. Maybe during that I got a bad sector or something. Who knows. Started fresh again and we'll see what happens.
Also after my newest sync copybit.h got removed from hardware/include.. No idea how but it was and had to add it from ICS_Fixes again. Might be something to look into
JB, when I did a recent git checkout jb_temp in the device tree it showed I had changed to it but the changes you made to heroc.mk to a small base didn't show up. I still had the full base even after I git checkout heroc.mk. also didn't show the changes to vendor as you mentioned. I'm just wondering if I'm actually using your temp branch at all but it doesn't really matter for the base as I have yet to complete a build.
After hours.... its still the same error
Code:mattcrystal@ubuntu:~/WORKING_DIRECTORY$ java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpeMvdY2 out/target/product/heroc/TeamICS_heroc-ota-eng.mattcrystal.zip Exception in thread "main" java.lang.NoClassDefFoundError: com.android.signapk.SignApk at java.lang.Class.initializeClass(libgcj.so.11) Caused by: java.lang.ClassNotFoundException: sun.security.x509.AlgorithmId not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:out/host/linux-x86/framework/signapk.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.11) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.11) at java.lang.ClassLoader.loadClass(libgcj.so.11) at java.lang.ClassLoader.loadClass(libgcj.so.11) at java.lang.Class.initializeClass(libgcj.so.11)
I tried running the signapk.jar as it did when building and kept getting opening errors which I contributed to JDK. Updated JDK to 1.7 and tried running it again. Actually opened aignapk.jar this time but this was the output.. I know it's Java language but its alien to me... Obviously something to do with libgci.so but what exactly...
java-1.6.0-openjdk is what java version I've been using
hmmm that patch for arm6 does break debuggered and it causes boot loops for my pandigital novel - did you guys do anything different to get past those issues? Maybe it's just working on armv6j and not armv6-vfp... it's making me crazy
I killed the make file for debuggered but I got a big bowl full of bootloops right after entropy
jaybob413, how did you make the radio work? I'm still failed on it.
I am running on armv6j, not armv6-vfp. There was some discussion about the use of fconstd on armv6-vfp, that would cause issues with debuggerd.
You can try to add this commit for debuggered/vfp.s
mattcrystal@ubuntu:~$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
mattcrystal@ubuntu:~/WORKING_DIRECTORY/device/htc/heroc$ git branch -av* jb_temp a02e72c Remove Mms from device package; include telephony.mk in vendor instead
remotes/TeamICS/ics 5f26dbc Revert "Merge branch 'new_branch_name' into ics"
remotes/TeamICS/jb_temp a02e72c Remove Mms from device package; include telephony.mk in vendor instead
remotes/m/ics -> TeamICS/ics
anything else I need or am missing?
what concerns me is this
Code:mattcrystal@ubuntu:~$ java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
*Edited out previous statements as I've found some good info*
I believe I've answered my own concern. That is the correct version it should show according to the info I've found so I'm certain I have Java right and not any other setup
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) [B][COLOR="Red"]64-Bit[/COLOR][/B] Server VM (build 20.1-b02, mixed mode)
64-bit Ubuntu is recommended in order to use the 64-bit version of
Java 6, so that we can use the same version of Java 6 on all platforms
(there is/was a version of MacOS where Java 6 is/was only available as
64-bit). In addition, some parts of the build barely run in 32-bit
(they come close to running out of address space), and standardizing
on 64-bit avoids risks of running into such issues.
I am also running 11.04, and get ALMOST the same output:
Code:java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) [B][COLOR="Red"]64-Bit[/COLOR][/B] Server VM (build 20.1-b02, mixed mode)
Are you running 64 bit natty? This would show 'x86_64' from 'uname -p'
According to this link, 64 bit is recommended:
Code:64-bit Ubuntu is recommended in order to use the 64-bit version of Java 6, so that we can use the same version of Java 6 on all platforms (there is/was a version of MacOS where Java 6 is/was only available as 64-bit). In addition, some parts of the build barely run in 32-bit (they come close to running out of address space), and standardizing on 64-bit avoids risks of running into such issues.
changes to the following files:
The changes may only be in the jb_temp branch. I will try to get around to reconciling and merging back to the ics branch soon.
- device/htc/heroc/prebuilt/init.heroc.rc
- device/htc/heroc/overlay/frameworks/base/core/res/res/values/config.xml
I'm having the same trouble.
Getting a whole lot of:
Code:frameworks/base/libs/gui/SurfaceTexture.cpp:860: error: isGPUSupportedFormat' was not declared in this scope
And similar. I never got 4.0.3 to compile actually. Any clues?