[i got it]cant execute $ source build/envsetup.sh after syncing repo - myTouch 4G General

rebooted and it worked
delete thread please, thanks

Related

[Resolved] Android Source Repo Download Help (Python Issue?)

NOTE: I Am On Linux Mint 9 32 bit
Okay So I Have Lately been trying TO Get The Latest Android Source Code From Google
Now I Follow The Instructions Down To The Wire (The Ones For Ubuntu, But They Should In Theory Work For Mint 9), And Everything Works Up Until I get To This Part:
Initializing a Repo client
Run "repo init" to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
$ repo init -u git://android.git.kernel.org/platform/manifest.git
If you would like to check out a branch other than "master", specify it with -b, like:
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
When prompted, configure Repo with your real name and email address. If you plan to submit code, use an email address that is associated with a Google account .
A successful initialization will end with a message such as
repo initialized in /mydroid
Your client directory should now contain a.repodirectory where files such as the manifest will be kept.
Click to expand...
Click to collapse
And When I Try To Run That Line Through The Terminal I Get This Error:
Code:
Traceback (most recent call last):
File "/bin/repo", line 91, in ?
import readline
ImportError: No module named readline
Now I Know What The Problem is, It Is Looking For The readline.so in the the lib folder, Yet Even Though It Is There It Still Wont Work.
Now I Have Tried All 2.x.x Versions Of Python (2.4.6, 2.5.5, & 2.6.4) and None Of Them Work.
Also With Each Version I Run:
Code:
$ ./configure --enable-readline
And Still the Same Error.
i Have Been working On this For About 3 Hours Now And Still Now Luck.
I Tried A Google Search But Every Topic Get Close To Helping Someone Get It Then Stops.
Please Help Me Out Here ?
Okay So I Found The Solution.
repo runs STRICTLY off of 2.4.x and for some reason when I installed Python 2.4.6 readline.so was never put into:
Code:
/usr/local/lib/python2.4/lib-dynload/
So I copied the readline.so from my Python 2.6.4 folder (File Download Below)
and put it into:
Code:
/usr/local/lib/python2.4/lib-dynload/
Then I ran repo again and it worked fine.
Although it withh give you an API mismatch warning, but so far it has worked fine
i had that problem so i edited repo itself and deleted line 91

Build own KANGS for Defy+?

Hey guys,
could someone of you that is compiling working nightlys for the DEFY+ tell me if there is anything special to consider? I don't see a seperate defy+ device when I look at the repo. Looking at the defy README it says:
CyanogenMod 7.2 for Motorola Defy (Android 2.3.7 AOSP)
Download:
=========
repo init -u git://github.com/CyanogenDefy/android.git -b gingerbread
repo sync
Download RomManager (DELETED IN BUILD)
======================================
mkdir vendor/cyanogen/proprietary
cd vendor/cyanogen && ./get-rommanager
Build:
======
optional :
export PLATFORM_DIR=$(pwd)
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
export TARGET_OUT_INTERMEDIATES=out
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PLATFORM_DIR/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$JAVA_HOME/bin:$PATH
cd $PLATFORM_DIR
export CYANOGEN_NIGHTLY=true
rm -rf out/target
. build/envsetup.sh
brunch jordan
or...
lunch cyanogen_jordan-eng
mka bacon
Use the signed zip to update the defy with Second Init recovery, or CM7 bootmenu recovery, not the ota package
Will a build using these steps work on my defy+, or do I need to do anything else to build for Defy+?
thanks
boba
I don't think the CyanogenDefy builds will work for Defy+.
Not sure if these are the correct steps but this is how I did it and it worked for me:
I used Epsilon's git://github.com/tpruvot/android.git repo and not the CyanogenDefy one.
Before building I checked out the gingerbread-plus branches of android_device_motorola_jordan and proprietary_vendor_motorola. I did this using the EGit plugin of Eclipse. You can also switch branches using the git command line instead of using the Eclipse plugin.

[HELP] using repo command with more then one manifest

I have searched google and hit a wall.
I want to create a manifest with all my worked store on it but I want to keep it seperated from the other two files
the project already has two
Code:
repo init -u https://android.googlesource.com/platform/manifest
curl -L -o .repo/local_manifest.xml -O -L https://raw.github.com/xxx/xxx/xxx/local_manifest.xml
am I able to add in another local_manifest.xml but call it local_manifest2.xml with just my additions in it so that I can keep the other two repos synced and still keep mine work seperated or do i need to fork the local_manifest.xml repo and have to keep a eye out and manually update local_manifest.xml every time that group changes something on there side?
Well I just tried adding local_manifest2.xml and done a test run in a empty directory and done repo sync with my addition and it was totally ignored now trying it with local2_manifest.xml instead in another empty Directory will report back my findings
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
local2_manifest.xml did not work at all either I really need a answer or else my project will might as well be dead because of the shear amount of files being replaced

No ZIP file after ROM build build

Hi
So I went for final build command->
Code:
mka bacon -j8
(my virtual machine is 4 cored).
It gives following output->
http://pastebin.com/CcNXpbSR
But there is no build file (that .zip file) in out/target/product/DeviceName/
Any help please.
PS->
I used these commands->
Code:
phablet-dev-bootstrap [target_directory]
repo sync -j3
. build/envsetup.sh
lunch cm_DeviceCodename-userdebug
mka bacon -j8
I basically didn't see any errors in outputs except "fatal: Invalid git file format: ...repo/repo/.git/clone.bundle" but thats network problem. Right? And btw the sync went fine after that. Even when I ran repo sync again (without deleting repo folder), it successfully fetched everything from existing files. There was no error then.
I also did run make clean command before building it, but still.....
Please help.

(GUIDE) making ROM from source without DATA loss

if u dont have internet connection to make a ROM this guide is for you and you dont need to have download for GB's of file
first im taking carbon ROM for example
1.You will need to set up some directories in your build environment:
To create them run:
mkdir -p ~/bin
mkdir -p ~/carbon
2.Install the Repository
Enter the following to download the "repo" binary and make it executable:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
You may need to reboot for these changes to take effect. Now enter the following to initialize the repository:
cd ~/carbon
Repositories:
Before you continue --> run this in the terminal:
repo init -u https://github.com/CarbonDev/android.git -b kk
3.now open carbon folderand press ctrl + H if u see .repo folder u can continue to next
repo sync --> firsy sync for 5mins to load the folder and then stop syncing by closing terminal
4.after that see the manifest.xml with notepad or any suitable one and you can see link for the packages EXAMPLE: android_art search in the cyanogenmod or in which u want to build
5.im sharing link database of packages for building carbon rest u have the job to search and typer in github
package which to be downloaded for carbon ROM is here http://d-h.st/zru
6.after making source proper --> Building the System --->>>Initialize the environment with the envsetup.sh script. Note that replacing "source" with a single dot saves a few characters, and the short form is more commonly used in documentation.
. build/envsetup.sh
lunch
Enter the number of the build you want to start and press enter:
make carbon -j7 = Run Squisher/Run Opticharger
make otapackage -j7 = No Squisher/No Opticharger
optional --> Submitting Patches
Patches are always welcome! Please submit your patches via CarbonDev Gerrit! You can do this by using these commands:
Setting up for repo upload: (run these commands once)
git config --global review.review.carbonrom.org.username <Your username registered at CarbonDev gerrit>
git config --global review.review.carbonrom.org.email <Your email registered at CarbonDev gerrit>
(From root android directory)
. build/envsetup.sh
repo start kk .
(Make your changes and commit)
repo upload .
Note: "." meaning current directory For more help on using this tool, use this command: repo help upload
Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel) Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
To view the status of your and others' patches, visit EAMPLE:Carbondev Code Review
if you want to build :
CYANOGENMOD -->do steps upto initialisng repo ------------https://github.com/CyanogenMod/android
OMNIROM -->do steps upto initialisng repo ------------https://github.com/omnirom/android
CARBON -->do steps upto initialisng repo ------------https://github.com/CarbonDev/android
dont click thanks if i helped you because thanks button is gonna damage
CREDITS:
---------> Ramsudharsan madhavan for teaching me
---------> Guru sanjay my friend helping me to download
---------> and me for thinking this idea in my school time
Goin gud. keep it up.
Awesome man!
Worth for Portal!
Sent from my Xperia Sola using XDA Premium 4 mobile app
Nevermind.

Categories

Resources