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
Related
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
Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't recommend trying to set up a rig to build for novice users. With that said, it is something you can do with some time and effort. If you choose to build Android on your machine, it will (probably) be tough. It also may take your machine hours to do the work. Keep that in mind..
Google is your friend. Keep in mind, you cannot compile Android on Windows, so you will need a virtual machine or a (dual boot) Linux partition on your hard drive.
Once you have the basics in place, I'm sure the rest of us can help you iron out any little issues with linking.
-----
*** Note to all forum members: Thanks in advance for NOT making this thread a flame war about operating systems! Thank you!
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The CyanogenMod Wiki has some good information for how to get started:
http://wiki.cyanogenmod.org/w/Build_for_apexqtmo (This guide has a few things specific to building CM 10.2, but you change the repo init line to read cm-11.0 instad, and you'll be fine to follow along with what I'm mentioning)
To build the Hypnotoad builds, you follow that through the point that you are done with Section 2.7 (Get prebuilt apps)
Then instead of running breakfast, and trying to extract blobs, add the manifest linked in the development thread to .repo/local_manifests.
Run repo sync again,
apply the cherry pick list (after envsetup, repopick <list>)
Then skip to section 2.11 (Start the build)
If you want to use ccache to speed up subsequent builds, follow section 2.10
Thanks! I gonna research and try.
Thanks for the information
Sent from my SGH-T699 using XDA Premium 4 mobile app
I follow all the directions to get double tap to wake to work on franco kernel and it never works. When i execute the code in terminal emulator it says: tmp-mksh: can't create /sys/android_touch/doubletap2wake: no such file or directory. I have tried to read everything i can and i cant figure out what i have done wrong.
Hi,
The original Francisco's kernel doesn't support it, it needs to be built in the kernel...
Take a look here: http://forum.xda-developers.com/showthread.php?p=47459608 or there: http://forum.xda-developers.com/showthread.php?p=47734977.
Two kernels based on Francisco's kernel but with the stuff you want.
Sent from my LG-D802 using xda premium
nihn75 said:
I follow all the directions to get double tap to wake to work on franco kernel and it never works. When i execute the code in terminal emulator it says: tmp-mksh: can't create /sys/android_touch/doubletap2wake: no such file or directory. I have tried to read everything i can and i cant figure out what i have done wrong.
Click to expand...
Click to collapse
This app works great. And it has swipe-to-wake, which, in my opinion, is better than double-tap-to-wake because it doesn't cause unwanted waking of the device when you just want to move it or put it in your pocket.
Sent from my Nexus 5
viking37 said:
Hi,
The original Francisco's kernel doesn't support it, it needs to be built in the kernel...
Take a look here: http://forum.xda-developers.com/showthread.php?p=47459608 or there: http://forum.xda-developers.com/showthread.php?p=47734977.
Two kernels based on Francisco's kernel but with the stuff you want.
Sent from my LG-D802 using xda premium
Click to expand...
Click to collapse
So Im using the second link you gave me for Franco kernel r28 and I follow all the directions exactly and it will not work
Sent from my Nexus 5 using XDA Premium 4 mobile app
PhilipTD said:
This app works great. And it has swipe-to-wake, which, in my opinion, is better than double-tap-to-wake because it doesn't cause unwanted waking of the device when you just want to move it or put it in your pocket.
Sent from my Nexus 5
Click to expand...
Click to collapse
Try this one http://forum.xda-developers.com/showthread.php?p=47459608 and flash the zip in recovery. When you do the commands in terminal, do not put the > symbol in the command or it will give you "no such file or directory". Followed the instruction and it works great.
How can I port pa 4.45 stable from the nexus 7 (2012)? I think that an asop based rom would do better for porting Asus apps.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
How can I port pa 4.45 stable from the nexus 7 (2012)? I think that an asop based rom would do better for porting Asus apps.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
With great difficulty.
You should look at building it from the PA sources on their github instead.
sbdags said:
With great difficulty.
You should look at building it from the PA sources on their github instead.
Click to expand...
Click to collapse
OK, how would I go about doing so?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
OK, how would I go about doing so?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You will need to install linux to start preferably on a machine as dual boot or stand alone or in a virtual machine.
Do a google search for building android roms from source on github. It'll have way more info on how to do it than I could possible type out for you here.
It'll be quite journey for you
You need to clone some repos on git and then you can start to build for the TF700.
sbdags said:
You will need to install linux to start preferably on a machine as dual boot or stand alone or in a virtual machine.
Do a google search for building android roms from source on github. It'll have way more info on how to do it than I could possible type out for you here.
It'll be quite journey for you
You need to clone some repos on git and then you can start to build for the TF700.
Click to expand...
Click to collapse
Ok, I will start when I get back home from vacation. I already have Linux on my desktop there.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
I was just looking around in the asopa legacy git and saw that they already have a device tree for the tf201, would it be less work to edit that to make it compatible with the tf700 than forking from cm?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
I was just looking around in the asopa legacy git and saw that they already have a device tree for the tf201, would it be less work to edit that to make it compatible with the tf700 than forking from cm?
Click to expand...
Click to collapse
Probably not, depending on how old it is, but you can use it as a reference. Also compare the TF201 trees of PA and CM to see if there are any PA-specific things to be done.
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