[Q] Copied Cyanogenmod Source not working!! Help please! - General Questions and Answers

I copied my cm10 source to another directory to clean my pc. But now this code is not working. giving me lots of make errors and I've fixed a few files by changing the permissions. I did a repo sync but it didn't solve anything but downloaded 2 more GB -_- any help on how to get this source working?

Related

Launcher2 compiling/eclipse problems

ok guys i am trying to compile Launcher2 from source i am running ubuntu 9.1, with eclipse(for jave ee) 3.5.1 and adt installed. i have downloaded the source from google. Launcher2 though is not sent when syncing repo, so i got the Launcher2 source from cyanogen. As far as i figure unless i missed something i should be able to click file > new project > android project. this brings up a window, click the bullet load from source choose the directory where Launcher2 is and choose API level 7 then click finish. it loads with 2 errors, cannot compile until build paths are fixed and that the folder "gen" isn't there. "gen" is an auto-generated folder by eclipse that follows after the source code to fix those errors, you either make a change or delete the gen folder. since the gen folder is auto-generated deleting it just forces the gen folder to be remade to make the compiler happy. when that happens approximately 184 errors occur(they were there all along) the gen files were just hiding them.
what i am trying to figure out is what i need to do to get this to compile? am i missing a step in the process? am i missing something? i've been banging my head against this wall for about 2 weeks looking for every possible angle that i can think of including putting Launcher2 into it's respective folder made by git and running make. it errored out. i'm at a loss and any kind of help would be greatly appreciated.
i would like to add, this is straight from cyanogens github no modifications and no changes. also no modifications or changes to any files aquired by repo. i'm just trying to compile a "stock" Launcher2, once i am able to compile that i will rercompile with any changes i might want to make.

[Q] Jellytime Source?

Im newish to building Android, regardless im trying to obtain the JellyTime sources.
Ive read through the Android development/building documents, and checked out/built the vanilla sources. (also had success in building AOKP)
However, when it comes to jellytime I cant find the manifest file for use with "repo init". Ive found the https://github.com/randomblame repository, but there is no manifest there. I figured that randomblame's packages replaced the packages in cynogenmod manifest with the same name, and hacked together my own manifest file, but this did not work as the build process complained of missing dependencies.
Id be grateful if someone could point me in the right direction?

[Q] compiling htc one s android 4.2 on any rom really

Hello
I am having troubles getting my roms to compile. I keep getting the same error in each one. If someone could let me know what I am doing wrong that would be great. I am using linux ubuntu 12.10 and go through all the instructions on building the roms. Even on ones where it says that it is completely set up I get the same error. Here it is.
make: *** No rule to make target `/home/paulg/android/rootbox/out/target/product/ville/obj/lib/libmmjpeg.so', needed by `/home/paulg/android/rootbox/out/target/product/ville/obj/SHARED_LIBRARIES/camera.msm8960_intermediates/LINKED/camera.msm8960.so'. Stop.
I guess the solution would be to take the file from another rom and put it into the directory but there has to be another way to do this besides doing that.
I also have another error where it says the libril directory from hardware/lib/libril is conflictin with the direcory msm-8960-common/libril ( not excatly like that but close enough). To fix this I just erase the hardware/lib/libril directory and leave the msm8960-common intact and let it compile from there. I don't know if this is right or not. If someone knows this one let me know.
Thank you.
Paul
atrus5 said:
Hello
I am having troubles getting my roms to compile. I keep getting the same error in each one. If someone could let me know what I am doing wrong that would be great. I am using linux ubuntu 12.10 and go through all the instructions on building the roms. Even on ones where it says that it is completely set up I get the same error. Here it is.
make: *** No rule to make target `/home/paulg/android/rootbox/out/target/product/ville/obj/lib/libmmjpeg.so', needed by `/home/paulg/android/rootbox/out/target/product/ville/obj/SHARED_LIBRARIES/camera.msm8960_intermediates/LINKED/camera.msm8960.so'. Stop.
I guess the solution would be to take the file from another rom and put it into the directory but there has to be another way to do this besides doing that.
I also have another error where it says the libril directory from hardware/lib/libril is conflictin with the direcory msm-8960-common/libril ( not excatly like that but close enough). To fix this I just erase the hardware/lib/libril directory and leave the msm8960-common intact and let it compile from there. I don't know if this is right or not. If someone knows this one let me know.
Thank you.
Paul
Click to expand...
Click to collapse
Never mind I figured it out and compiled rootbox for Htc One S
atrus5 said:
Never mind I figured it out and compiled rootbox for Htc One S
Click to expand...
Click to collapse
What was your solution for the libmmjpeg.so error? I'm having the same problem for another device
Thanks,
Mike
mikshepard said:
What was your solution for the libmmjpeg.so error? I'm having the same problem for another device
Thanks,
Mike
Click to expand...
Click to collapse
You can get this file and all the other proprietary files by entering extract-files.sh from your device/devic_company/device_name directory from whatever rom you are trying to build. If you have done this then there should be a file that will automatically copy it or else you will have to copy it to the out/target/product/device_name/system/lib directory. You might want to also check that you have the correct manifest files in local_manifest for whatever device you are trying to build. usually there is a cm.dependencies file in the device/device_company/device_name directory that will tell you exactly what manifest to use. If you have any other questions let me know. I hope this helps.
atrus5 said:
You can get this file and all the other proprietary files by entering extract-files.sh from your device/devic_company/device_name directory from whatever rom you are trying to build. If you have done this then there should be a file that will automatically copy it or else you will have to copy it to the out/target/product/device_name/system/lib directory. You might want to also check that you have the correct manifest files in local_manifest for whatever device you are trying to build. usually there is a cm.dependencies file in the device/device_company/device_name directory that will tell you exactly what manifest to use. If you have any other questions let me know. I hope this helps.
Click to expand...
Click to collapse
oh wow, hahaha, I was in such a hurry, I completely missed that. I never used the extract-files.sh as all the proprietary files for my htc devices used to be hosted on github but recently got pulled due to a legal problem with the camera drivers. I had the files backed up on my old computer but forgot to copy them over to the new one. Wow, amateur mistake but one that would have taken me a while to catch. Many thanks man!!
-Mike
mikshepard said:
oh wow, hahaha, I was in such a hurry, I completely missed that. I never used the extract-files.sh as all the proprietary files for my htc devices used to be hosted on github but recently got pulled due to a legal problem with the camera drivers. I had the files backed up on my old computer but forgot to copy them over to the new one. Wow, amateur mistake but one that would have taken me a while to catch. Many thanks man!!
-Mike
Click to expand...
Click to collapse
No problem.
I had the same problem with ville. Got the files pulled so made up my own repo with all the files that are needed.

[Q] Restart local repo?

Hi! I have a problem.
I downloaded the android sources with repo init -u etc etc and then downloaded for a looooong time...
I modified the files and now I need to "restore" the sources to the initial repository...
How I can do that? Without remove .repo/ folder and re-download, because I have a very slowly internet connection...
Thanks in advance!!
p.d.: Sorry for my bad english...

Compiling AOSP from with Sony vendor drivers

Hi guys,
i'm currently owning a XZs and (i know it has a separate forum) i have trouble compiling AOSP for my xperia.
Since this subforum is a bit larger, maybe some of you can give me a hint. After i put the downloaded vendor folder in my repo and sync it
it get errors VQZip.h not found. This header is nowhere on my system as well the repo.
if i remove the folder /hardware/qcom/msm8998 folder, i can compile it but it does not boot.
I think that the vendor folder interferes with some headers from this folder. I'm following the official build guide and cannot see where i'm wrong.
Thank you for any help guys and also sorry for spamming your forums.
repo got updated today.
You can delete this thread.
jvarg said:
Hi guys,
i'm currently owning a XZs and (i know it has a separate forum) i have trouble compiling AOSP for my xperia.
Since this subforum is a bit larger, maybe some of you can give me a hint. After i put the downloaded vendor folder in my repo and sync it
it get errors VQZip.h not found. This header is nowhere on my system as well the repo.
if i remove the folder /hardware/qcom/msm8998 folder, i can compile it but it does not boot.
I think that the vendor folder interferes with some headers from this folder. I'm following the official build guide and cannot see where i'm wrong.
Thank you for any help guys and also sorry for spamming your forums.
Click to expand...
Click to collapse
EDIT:
build worked with the latest update.
https://transfer.sh/KCisC/boot.img
https://transfer.sh/O3W6i/system.img
https://transfer.sh/11fts8/userdata.img

Categories

Resources