[Q] JX??? - HTC Pico (Explorer)

Previously I had an Intel i3 processor and I used to run:
Code:
make -j2 otapackage
Recently I got an AMD FX-6100 with six cores... Should I run :
Code:
make -j6 otapackage
replace 6 with number of threads???

I think YES!!
Sent from my HTC Explorer using xda premium

Related

[Q] Building CyanogenMod from source can't seem to install java

Hey everyone!
Long story short, I built a new desktop and can not for the life of me get java installed correctly.
IE
Code:
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of javac.
Your version is: /bin/bash: javac: command not found.
The correct version is: 1.6.
Please follow the machine setup instructions at
http://source.android.com/download
I have searched and tried many tutorials from various places to no avail.
My setup as current: Ubuntu 10.10 64, I used Java6u31-i586.bin
I used this code to set java:
Code:
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jdk1.6.0_31/bin/java" 1
sudo update-alternatives --set java /opt/java/32/jdk1.6.0_31/bin/java
any help or direction would GREATLY apreciated!!!
Thanks in advance!
You have to use sun Java 6... jdk .... sudo apt-get update.... sudo apt-get install sun-java6. You can't build gingerbread with Java 5, mist be 6
Sent from my SAMSUNG-SGH-I997 using xda premium
thats very true! however I am using 6 the problem is Ubuntu has taken java out of there repositories due to a security flaw so you have to install it manually.
Check How-to-geek, they had a script posted there about a month ago.
CM7 Infuse - XDA Premium
marty331 said:
Check How-to-geek, they had a script posted there about a month ago.
CM7 Infuse - XDA Premium
Click to expand...
Click to collapse
Sweet!! Thanks
Sent from my SGH-I997 using xda premium
seemles said:
Sweet!! Thanks
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/
marty331 said:
http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10-and-later/
Click to expand...
Click to collapse
Thanks for all the help guys! I actually ended up finding a super easy setup. Its a mix between 2 tutorials if all goes well after my repo syncs ill make a tutorial my self. There seems to be alot of left out small but important steps that would greatly benefit ppl new to Linux but not necessarily noobs to deving.
Sent from my SGH-I997 using xda premium
Update : After a weeks of searching reading reinstalling again and again and again my whole problem ended up being my new PC had too much balls lol. Set my BIOS levels to safest possible and boom! In only 14 min I compiled CM7 lol!
That's what an 8 core 3.1 Ghz CPU and a 5.2 Ghz FSB can do! Hehe :-D

CyanogenMod question?

I cant seem to find a guide on how you do this, can someone link me or explain thanks.
So do i do all this after i've flashed CyanogenMod?
Build Instructions Setup a standard CyanogenMod 9 build environment (there are plenty of tutorials on the web already on how to do this). Then
1. Add add the following entries to your local manifest
Code:
where you replace XXX with your device (i815, p6200, p6210, p6800, p6810, or t869). 2. Make sure that your device is running the newest build of CyanogenMod 9 or stock ICS if your device has it. 3. Make sure your device is plugged in and has debugging enabled. 4. Run the extract-files script from your particular device tree. 5. Run vendor/cm/get-prebuilts 6. Your sources are now ready, to build run
Code:
$ . build/envsetup.sh # this sets up the build environment $ lunch cm_XXX-userdebug # this selects your device $ mka bacon # this builds CM
Click to expand...
Click to collapse
Sent from GT-P6800 using xda premium
Don't need to do any of it. Those are instructions for building the Rom. Just flash wipe with ioceras cwm and enjoy.
Sent from my GT-P6800 using xda premium
Awesome, thanks.
Sent from GT-P6800 using xda premium

Linux distro for arm

So everyone wants ubuntu on their tf201, myself included. But currently, the only arm platform is on nexus 7, or by vnc. Would it not be easier to try and port an already existing arm based Linux, such as fedora 17 or puppy linux? All we would need would is to have a working kernel, am I correct?
Sent from my HTC One X using Tapatalk 2
Oops, I have two devices subscribed for xda, clicked wrong one. Delete please.
Sent from my HTC One X using Tapatalk 2

[Q] GCC-4.7 error compiling pure AOSP for Hammerhead

So, I've ran into a little trouble compiling a pure AOSP for Hammerhead. I wanted to start off with a stock AOSP, then move my way onto cherry picking commits that I find most useful.
But before I got into picking commits, I wanted to make sure I could succesfully compile a pure AOSP.
The build went fine for about an hour until I ran in to this:
gcc-4.7: error trying to exec 'cc1plus': execvp: No such file or directory
Failed to read names from file: /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/svg/svgtags.in at /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/scripts/make_names.pl line 282.
Traceback (most recent call last):
File "scripts/action_makenames.py", line 182, in <module>
sys.exit(main(sys.argv))
File "scripts/action_makenames.py", line 164, in main
assert returnCode == 0
AssertionError
gcc-4.7: error trying to exec 'cc1plus': execvp: No such file or directory
Failed to read names from file: /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/html/HTMLTagNames.in at /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/scripts/make_names.pl line 282.
make: *** [out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/SVGNames.cpp] Error 1
make: *** Waiting for unfinished jobs....Traceback (most recent call last):
File "scripts/action_makenames.py", line 182, in <module>
sys.exit(main(sys.argv))
File "scripts/action_makenames.py", line 164, in main
assert returnCode == 0
AssertionError
make: *** [out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/HTMLNames.cpp] Error 1
gcc-4.7: error trying to exec 'cc1plus': execvp: No such file or directory
Failed to read names from file: /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/mathml/mathtags.in at /home/skywalker/hammerhead/external/chromium_org/third_party/WebKit/Source/core/scripts/make_names.pl line 282.
Traceback (most recent call last):
File "scripts/action_makenames.py", line 182, in <module>
sys.exit(main(sys.argv))
File "scripts/action_makenames.py", line 164, in main
assert returnCode == 0
AssertionError
make: *** [out/target/product/hammerhead/obj/GYP/shared_intermediates/blink/MathMLNames.cpp] Error 1​
This isn't my first time building from source, but this happens owith any ROM I attempt to compile. So I've ultimately narrowed it down to my build environment. Using synaptic I installed some gcc-4.7-arm-linux-gnueabi packages that were reccomended elsewhere to no avail. I've scoured google, xda and the like but have come up empty handed.
Any experienced developers out there care to lend a helping hand?
Thank you for your time.
BTW, I'm compiling on Linux Mint 16 Cinnamon
Looks like a problem with your gcc. Did you Google the first line of your error? I believe that contains everything you need to resolve.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Looks like a problem with your gcc. Did you Google the first line of your error? I believe that contains everything you need to resolve.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did. My gcc and g++ are already newest/same versions. And from what I can tell, paths for each are correct.
I've exhausted many solutions, my friend. Otherwise I wouldn't here
Sent from my Nexus 5 using XDA Premium 4 mobile app
Well, it's not an android source issue, its a build environment issue. Not sure you'll get any better here than using Google.
See this one?
http://stackoverflow.com/questions/...-execvp-no-such-file-or-directory-when-compil
Sent from my Nexus 5 using Tapatalk
rootSU said:
Well, it's not an android source issue, its a build environment issue. Not sure you'll get any better here than using Google.
See this one?
http://stackoverflow.com/questions/...-execvp-no-such-file-or-directory-when-compil
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It's undoubtedly an environment issue. It happens for me with cm, slim and bs.
I tried everything on that page with no success. I also found elsewhere that a symlink may fix it. But that seems to me like using duct tape to fix a leak rather than fixing the source of the leak itself. Still, though, if it works it I'm not gonna knock it.
Sent from my Nexus 5 using XDA Premium 4 mobile app
You could try removing and re-initialising the environment. Start from scratch
Sent from my Nexus 5 using Tapatalk
rootSU said:
You could try removing and re-initialising the environment. Start from scratch
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That's what I was wanting to do. Well, try a couple more things, and if it all doesn't work then I'll have no choice.
Sent from my Nexus 5 using XDA Premium 4 mobile app
rootSU said:
You could try removing and re-initialising the environment. Start from scratch
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Is there any way to go about this without having to format or reinstall the os? I'm on a dual boot that was a serious pain to set up.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Skywalker.00 said:
Is there any way to go about this without having to format or reinstall the os? I'm on a dual boot that was a serious pain to set up.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Use remove instead of install commands for everything listed in the Google android initializing guide. Then install again
Sent from my Nexus 5 using Tapatalk

(Q) java/build environment

I'm on the newest version of Ubuntu. I've set up a build environment and I've init my repo using a custom ROMs manifest. Current branch 4.4.4_r2.0.1 is kk-ras-mr4_r1. Now when I get to $ make -jx (where x is the number of jobs) to build boot.IMG, system.IMG, etc I get a error. Your version is: java version 1.7.0_67
The correct version is: java we 1.6
Is their apt-get command to install it? Every site/ guide I've Googled has let me down.
Sent from my Nexus 5 using XDA Free mobile app
Bump
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources