[DEV][WIP]FoXperia 8 - Porting FireFox OS to X8 - XPERIA X8 General

Dear X8 community,
After a long break I'm back to revive the original FoXperia project.
I hope that this time I will have more luck, as in the near past I could release a FoXperia port, that is buggy, but works.
Mozilla has added support for ARM CPUs older than v7, so I'm sure it will be a lot easier, because there is no need to backport anything.
I will need some help from experienced developers, and I am asking you, potential users to DO NOT SPAM the thead.
About ETAs: you can check the progress here, and test builds will be posted here. It would be great if you could test those, because I don't have an X8.
You will find current state, changelog and build download links in second post.
Thanxs: FehérNeoH

i believe you can do it brotha, just ask us anyhelp in the off-topics

feherneoh said:
Changelog:target thumb C++: libmemalloc <= hardware/qcom/display/libgralloc/pmemalloc.cpp
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:53: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:53: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:77: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:77: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:84: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:84: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:91: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:91: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:100: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:100: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:110: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:110: error: '_IOW' was not declared in this scope
make: *** [out/target/product/shakira/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Error 1
[email protected]:/vampiremod/shakira/FoXperia$
Click to expand...
Click to collapse
this patch might help
http://review.cyanogenmod.org/#/c/11744/

Can you build it also for X10 Mini and Pro?
The differences between each device are few so you will have more support to fix issues...
Thanks
Sent from my U20i using Tapatalk 2

did you saw that http://forum.xda-developers.com/showpost.php?p=33980261&postcount=267
?

This will be for a custom kernel, right?
Sent from my E15i using Tapatalk 2

ScatteredHell said:
This will be for a custom kernel, right?
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
yes...:cyclops:

will it work on stock?

if someone has already started firefox os ported to our x8 ?

feherneoh said:
I'm working with MiniCM10 sources now, as MiniCM9 is like a nightmare...
Click to expand...
Click to collapse
Well, from the poll you can see that your work is appreciate ... Anyway, are you near at pre-alpha release ?

How to progress?

Good luck man :beer:

u_dnt_knw_me said:
Good luck man :beer:
Click to expand...
Click to collapse
Finally fixed MiniCM sources to be compilable. But when I compile it as FFOS, libstagefright error comes back...

I will wait for this. Goodluck!

Any progress on the rom

@feherneoh
i want to help.. can you please make your files public?

feherneoh said:
I will recreate the manifest and upload it to my github. If you want to try building now, just modify an ics manifest like nodev.xml in my repo-manifests repository
Click to expand...
Click to collapse
i want to base it on jb , is it possible ?

@feherneoh and all, any updates here??
Sent from my Xperia SP using XDA Premium 4 mobile app

@feherneoh any updates?

Thread ded [emoji20]

Related

[DEV] Compiling ICS for Cooper

Hello all,
due to the fact, that there are already activities to compile ICS for a lot of other devices, i have taken the liberty to open a thread for all Dev's and those who are interested in getting ICS to work on cooper. Hope that this is ok...
Meanwhile i could 'partly' compile ICS by using koljas configuration files. But i have to say, that i removed some libraries for compilation because i couldn't find solutions to successfully compile them. First 'goal' should be to have an image which boots. So we have a start. Compilation; without the 'error' libraries; completely succeeded here now. But creation of a first otapackage failed. This is my actual response of 'make otapackage'. I alreday tried to google this problem, but couldn't find a solution..
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=cooper
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
build/core/main.mk:324: implicitly installing apns-conf_sdk.xml
No private recovery resources for TARGET_DEVICE cooper
Package OTA: out/target/product/cooper/cooper-ota-eng.lagloose.zip
unzipping target target-files...
running: unzip -o -q out/target/product/cooper/obj/PACKAGING/target_files_intermediates/cooper-target_files-eng.lagloose.zip -d /tmp/targetfiles-8iaaXh
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 839, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 791, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/home/lagloose/WORKING_DIRECTORY/build/tools/releasetools/common.py", line 144, in LoadInfoDict
d["fstab"] = LoadRecoveryFSTab(zip)
File "/home/lagloose/WORKING_DIRECTORY/build/tools/releasetools/common.py", line 163, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "/boot bml boot NULL NULL NULL NULL"
make: *** [out/target/product/cooper/cooper-ota-eng.lagloose.zip] Fehler 1
Any ideas ?
thx, lagloose
Hi! I think that at the moment trying to make aosp from android 4 source waste of time! More wisely to try to build android 4 from sorce code with the changes cyanogenmod9)
I changed a few config files for cm9.
And build a lot of libs to lipng and dalvic
Can you help me with config files?
P.S. add armv6-vfp.mk from gingerbread to android_build/core/combo/arch/arm
P.P.S. configs will be on my github's account tomorrow
Axel2033 said:
Hi! I think that at the moment trying to make aosp from android 4 source waste of time! More wisely to try to build android 4 from sorce code with the changes cyanogenmod9)
I changed a few config files for cm9.
And build a lot of libs to lipng and dalvic
Can you help me with config files?
P.S. add armv6-vfp.mk from gingerbread to android_build/core/combo/arch/arm
P.P.S. configs will be on my github's account tomorrow
Click to expand...
Click to collapse
Sounds good...
leave a message here when you're files are at github...
Did you install all the required packages ?
Sent from my GT-S5830 using XDA App
EmoBoiix3 said:
Did you install all the required packages ?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Yep. I think it is a more a problem with the config files. Anyway, i will follow Axels idea, and give a try to the Cyanogen Sources ...
Sent from my GT-S5830 using Tapatalk
lagloose said:
Yep. I think it is a more a problem with the config files. Anyway, i will follow Axels idea, and give a try to the Cyanogen Sources ...
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
To think the AOSP sync is such an ass .
Sent from my GT-S5830 using XDA App
I dont know much about python, but looking at the stacktrace the problem is in main(sys.argv[1:]), of course you know that, mind checking that line "File "./build/tools/releasetools/ota_from_target_files", line 839"
When you set this line TARGET_PRODUCT=cooper, does it try to config the files for it? Just trying to help here.
traduz said:
I dont know much about python, but looking at the stacktrace the problem is in main(sys.argv[1:]), of course you know that, mind checking that line "File "./build/tools/releasetools/ota_from_target_files", line 839"
When you set this line TARGET_PRODUCT=cooper, does it try to config the files for it? Just trying to help here.
Click to expand...
Click to collapse
Thanx for reply....
i already found the problem. The file 'recovery.fstab' was malformed...
Generally it seems to me, that Kolja took the Config from ZTE Blade and changed only the most important things. But as i alreday said, i'll stop now on AOSP and try the Canogenmod Sources. They are almost updated hourly at the moment.
PS: It would be nice, if all people who tried to compile ICS for our device could give a short information on how far they already got...
Greetz, lagloose
Hi.
First of all i would not consider myself noob and i would like to help out, but right now i have no idea where to start. any pointers or howtos to get started? would love to see ICS on ace
What stage of the development are u guys at and what problems are u currently facing?
lagloose said:
Thanx for reply....
i already found the problem. The file 'recovery.fstab' was malformed...
Generally it seems to me, that Kolja took the Config from ZTE Blade and changed only the most important things. But as i alreday said, i'll stop now on AOSP and try the Canogenmod Sources. They are almost updated hourly at the moment.
PS: It would be nice, if all people who tried to compile ICS for our device could give a short information on how far they already got...
Greetz, lagloose
Click to expand...
Click to collapse
You can use my android_device_samsung_cooper
http://github.com/EmoBoiix3/android_device_samsung_cooper
Sent from my GT-S5830 using XDA App
I'm sorry I was very busy(
Today will be config on git)
making a fork... if you have a site to make documentation should be great!
https://github.com/axel2033/device_cooper_cm9
Thanks for sharing... I'm busy this Weekend. So can't do anything before Monday....
Sent from my GT-S5830 using Tapatalk
Updated coolya kernel https://github.com/teamhacksung/android_kernel_samsung_msm/tree/merge
Good luck for the dev's.I will help for testing , debugging and bug reporting.
Axel2033 said:
https://github.com/axel2033/device_cooper_cm9
Click to expand...
Click to collapse
Great, now we have 3 devs working for it
Great to see work in progress, stares at github with confused look
Sent from my GT-S5830 using xda premium
Guys, please stop posting here except you are a developer or know how to help ...
Sent from my GT-S5830 using XDA App

[Q] Compiling a kernel

**ADVANCED USERS ONLY**
So guys, i am trying to compile a kernel from $%$!)$, the kernel is a @(#$ $ port. Anyway, when i do
Code:
[email protected]:~/android/linux$ export CROSS_COMPILE=/home/hitesh/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
[email protected]:~/android/linux$ make ARCH=arm
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/home/hitesh/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: No such file or directory
Is your PATH set correctly?
make[1]: *** [kernel/bounds.s] Error 2
make: *** [prepare0] Error 2
I get a arm-eabi-gcc error saying it doesn't exist. The path is correct and i am using ndk r8. Any suggestions?
Might have more luck in the Android Software Development section. We don't really have any kernel makers here that I know of..
I'll keep it open a couple days and see if anyone has anything. Which section should i post it in?
Either Android Q&A or Chef Central.
THEindian said:
**ADVANCED USERS ONLY**
So guys, i am trying to compile a kernel from $%$!)$, the kernel is a @(#$ $ port. Anyway, when i do
Code:
[email protected]:~/android/linux$ export CROSS_COMPILE=/home/hitesh/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
[email protected]:~/android/linux$ make ARCH=arm
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/home/hitesh/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: No such file or directory
Is your PATH set correctly?
make[1]: *** [kernel/bounds.s] Error 2
make: *** [prepare0] Error 2
I get a arm-eabi-gcc error saying it doesn't exist. The path is correct and i am using ndk r8. Any suggestions?
Click to expand...
Click to collapse
When I was trying to configure the aospx kernel and screwing around the kernel files, I think I remember getting something similar. I THINK I fixed it by removing my current gcc version and moving up to another. I can't recall it all exactly as I was blazed when I did it lmao. It might be something completely different though as i have no clue as to what the @%#& kernel is nor where to find an HTC @(#$ $.......
Sent from my MyTouch 4G using XDA
Your gcc version?
Sent from my HTC Glacier using XDA
THEindian said:
Your gcc version?
Sent from my HTC Glacier using XDA
Click to expand...
Click to collapse
Yeah gcc (GNU Compiler Collection).
"/home/hitesh/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: No such file or directory"
Ubuntu automagically had me on 4.6 or something and I moved up to 4.7 (if I remember right) and I think after that it started working. Sorry I'm not extremely ubuntu savvy :/ but yeah I think thats what got it working for me.
Sorry, not ubuntu savvy either, how do you update it?
EDIT: Never mind, did a google search

[Q] Compile error omni

I'm building omni rom for falcon(moto g) using these repos for falcon
https://github.com/pinkflozd?tab=repositories for falcon resources
and for blobs
https://github.com/DonkeyCoyote/proprietary_vendor_motorola
 @Entropy512 please help
but i get this error while compiling
Code:
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int16Arr.c
hardware/qcom/keymaster/keymaster_qcom.cpp:32:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int32Arr.c
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int8Arr.c
build/core/binary.mk:432: recipe for target '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o' failed
make: *** [/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/omni$
but the msm_ion.h is there in /home/android/omni/kernel/motorola/msm8226/include/linux
Since you're not using Omni's repos, no help. I have no idea what that guy might have broken.
However I think building display might currently be broken and in need of a kernel update... I just noticed falcon builds were broken a day or two ago. (I've been focusing on bringing up Find 7a, and some of the updates for F7a may have broken Falcon)
But I've never had any issues with keymaster and haven't touched keymaster at all.
Entropy512 said:
Since you're not using Omni's repos, no help. I have no idea what that guy might have broken.
However I think building display might currently be broken and in need of a kernel update... I just noticed falcon builds were broken a day or two ago. (I've been focusing on bringing up Find 7a, and some of the updates for F7a may have broken Falcon)
But I've never had any issues with keymaster and haven't touched keymaster at all.
Click to expand...
Click to collapse
I compiled with the help of @herna
But still there is a audio bug(sound does not work)
Although he is still working on it
Sent from my Moto G using Tapatalk
Entropy512 said:
Since you're not using Omni's repos, no help. I have no idea what that guy might have broken.
However I think building display might currently be broken and in need of a kernel update... I just noticed falcon builds were broken a day or two ago. (I've been focusing on bringing up Find 7a, and some of the updates for F7a may have broken Falcon)
But I've never had any issues with keymaster and haven't touched keymaster at all.
Click to expand...
Click to collapse
O.T :
no chances omni for hlte ?
Thanks for your great job !
Sent from my SM-N9005 using Tapatalk
ilpolpi65 said:
O.T :
no chances omni for hlte ?
Thanks for your great job !
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Only if a new maintainer steps up.
You won't be seeing it from myself, maxwen, or xplodwild, that's for sure.
rr46000 said:
I'm building omni rom for falcon(moto g) using these repos for falcon
https://github.com/pinkflozd?tab=repositories for falcon resources
and for blobs
https://github.com/DonkeyCoyote/proprietary_vendor_motorola
@Entropy512 please help
but i get this error while compiling
Code:
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int16Arr.c
hardware/qcom/keymaster/keymaster_qcom.cpp:32:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int32Arr.c
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_BasicEm/Int8Arr.c
build/core/binary.mk:432: recipe for target '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o' failed
make: *** [/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/omni$
but the msm_ion.h is there in /home/android/omni/kernel/motorola/msm8226/include/linux
Click to expand...
Click to collapse
could you let me know what u did for keymaster error ?
many thanks !
ilpolpi65 said:
could you let me know what u did for keymaster error ?
many thanks !
Click to expand...
Click to collapse
I tackled it with by using keymaster if cm
Bit I'll look into the error tomorrow and fix the error
Sent from my Moto G using Tapatalk
rr46000 said:
I tackled it with by using keymaster if cm
Bit I'll look into the error tomorrow and fix the error
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
OK, I figured out what was going on.
I have no idea how, but I had a patch in the keymaster repo that was not showing up in "repo status" or anything like that... So all of my utilities said I had an unmodified keymaster identical to what anyone freshly syncing would have - but I didn't! REALLY weird.
So I'll work on fixing that up over the next few days.

[HELP][Redmi Note 4G]ROM/Kernel assistance/queries

Hi all,
For all who just started developing for Redmi Note 4G, is compiling your very first ROM/Kernel and faced errors/need help/do not know what to do(for Redmi Note 4G only though sorry), or just have any questions about compiling ROM/Kernel for Redmi Note 4G, here is where it all goes! NOTE: Of course please do read through Android's ROM/Kernel tutorial and starting guide such as Beginner's tutorial, ROM build Tutorial, or CyanogenMod's ROM/Kernel tutorials such as Beginner's Porting Tutorial first, before you ask a question here as those tutorials addresses many basic questions that are likely to be repeatedly asked here. Do feel free to PM me too! I'll be glad to help because I've realized there is a heavy lack of help on ROM/Kernel building around when I just started myself, so I understand how difficult it is to solve everything yourself.
Trying to compile Kernel
I was trying compile kernel with a few custom governers but I am running into silly errors .I am using Xiaomi's kernel source.
I am following this guide. http://forum.xda-developers.com/showthread.php?t=2486098
Building on Ubuntu in a virtual machine.
Code:
[email protected]:~/android/kernel/Xiaomi_Kernel_OpenSource-dior-kk-oss/Xiaomi_Kernel_OpenSource-dior-kk-oss$ make ARCH=arm CROSS_COMPILE=/home/shubhamkarande/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
make: *** empty variable name. Stop.
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
shubhamkarande said:
I was trying compile kernel with a few custom governers but I am running into silly errors .I am using Xiaomi's kernel source.
I am following this guide. http://forum.xda-developers.com/showthread.php?t=2486098
Building on Ubuntu in a virtual machine.
Code:
[email protected]:~/android/kernel/Xiaomi_Kernel_OpenSource-dior-kk-oss/Xiaomi_Kernel_OpenSource-dior-kk-oss$ make ARCH=arm CROSS_COMPILE=/home/shubhamkarande/toolchains/arm-eabi-4.7/bin/arm-eabi- > compileLog
make: *** empty variable name. Stop.
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
Click to expand...
Click to collapse
I am new to this coding so I have unbuntu 14 64 bit so from where should I start from
Sent from my HM NOTE 1LTEW using Tapatalk
suhasgta said:
I am new to this coding so I have unbuntu 14 64 bit so from where should I start from
Sent from my HM NOTE 1LTEW using Tapatalk
Click to expand...
Click to collapse
I don't have an idea why this is happening, you should probably download the full Android source tree and then compile with 'make -j16 bootimage', that way everything is more organised and safe from errors. Also it ensures the latest updates/bug fixes from Google/Cyanogenmod etc
You could also try the part source method by Philz: http://forum.xda-developers.com/android/development/huide-how-to-compile-philz-touch-6-t2862706 It's for compiling recoveries but works for kernel as well, it can save you several GBs of disk space but still ensure the latest updates/bug fixes
haoyangw said:
You could also try the part source method by Philz: http://forum.xda-developers.com/android/development/huide-how-to-compile-philz-touch-6-t2862706 It's for compiling recoveries but works for kernel as well, it can save you several GBs of disk space but still ensure the latest updates/bug fixes
Click to expand...
Click to collapse
How should a guy who is new to all this start I am sorry for troubling u again
Sent from my HM NOTE 1LTEW using Tapatalk
[/COLOR]
suhasgta said:
How should a guy who is new to all this start I am sorry for troubling u again
Sent from my HM NOTE 1LTEW using Tapatalk
Click to expand...
Click to collapse
You should follow a guide written of some elite devs on XDA. Just Google.
Sent from my HM NOTE 1LTE using Tapatalk
shubhamkarande said:
[/COLOR]
You should follow a guide written of some elite devs on XDA. Just Google.
Sent from my HM NOTE 1LTE using Tapatalk
Click to expand...
Click to collapse
Thank you I will
Sent from my HM NOTE 1LTEW using Tapatalk
suhasgta said:
How should a guy who is new to all this start I am sorry for troubling u again
Sent from my HM NOTE 1LTEW using Tapatalk
Click to expand...
Click to collapse
Here are some tutorials you should read(that's where I learnt to start, I started only this year XD): http://wiki.cyanogenmod.org/w/Build_for_a5 and http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_buildingDo note if you wish to download cm12.0 source code, you should use the command:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
instead of this(used int the tutorial): 'repo init -u https://github.com/CyanogenMod/android.git -b cm-12.1'. Before you do a 'repo sync', go to the directory where you did repo init and go to '.repo' and create a folder called 'local_manifests'. Then create a file called 'dior.xml'. Open the file and paste the following into it:
Code:
Also, instead of 'breakfast a5', you should do 'lunch cm_dior-eng', and instead of 'brunch a5', you should do 'make -j4 otapackage'. Also AVOID the './extract-files.sh' command and the './get-prebuilts' command, the local_manifest xml takes care of that and prebuilt apps are no longer used in CM12 and above.
@haoyangw What is the size of the complete CM source? I am low on bandwidth.Just 30GB a month.
shubhamkarande said:
@haoyangw What is the size of the complete CM source? I am low on bandwidth.Just 30GB a month.
Click to expand...
Click to collapse
I guess it's around 14gb
Sent from my HM NOTE 1LTEW using Tapatalk
If I'm not wrong around 20(at least for me)
haoyangw said:
If I'm not wrong around 20(at least for me)
Click to expand...
Click to collapse
How much is your data limit
Sent from my HM NOTE 1LTEW using Tapatalk
@suhasgta
It's 30 GB per month.After that,the speed drops drastically.
 @haoyangw Can I use this compressed source?
http://forum.xda-developers.com/android/development/source-cyanogenmod-source-highly-t3069473
shubhamkarande said:
@suhasgta
It's 30 GB per month.After that,the speed drops drastically.
@haoyangw Can I use this compressed source?
http://forum.xda-developers.com/android/development/source-cyanogenmod-source-highly-t3069473
Click to expand...
Click to collapse
Mines 75 gb but 50 is used already this month so I can't download it this month and this thing looks to be fake I don't but just my gut feeling
Sent from my HM NOTE 1LTEW using Tapatalk
suhasgta said:
Mines 75 gb but 50 is used already this month so I can't download it this month and this thing looks to be fake I don't but just my gut feeling
Sent from my HM NOTE 1LTEW using Tapatalk
Click to expand...
Click to collapse
Even I thought the same. I am thinking of syncing the source the way everyone on XDA does it. This will also ensure periodic builds for our devices.
Sent from my HM NOTE 1LTE using Tapatalk
That compressed source is outdated, it's for cm10.2(jellybean 4.3), so forget about it XD
I'm quite sure it won't reach 30GB because repo downloads compressed sources as well, just that the sources are not that compressed, so it should use about 14GB
Hey, I have finally managed to synced the complete source :highfive: but unable to build a working tree due to some stupid errors.
Code:
Fetching projects: 99% (527/532) Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_media
Fetching projects: 100% (532/532), done.
Syncing work tree: 2% (11/532) error: Your local changes to the following files would be overwritten by checkout:
admin/AppRestrictionEnforcer/Application/src/main/res/layout/fragment_setup_profile.xml
admin/AppRestrictionEnforcer/Application/tests/src/com/example/android/apprestrictionenforcer/tests/SampleTests.java
admin/BasicManagedProfile/Application/src/main/res/layout/fragment_setup_profile.xml
background/JobScheduler/Application/tests/AndroidManifest.xml
background/JobScheduler/Application/tests/src/com/example/android/jobscheduler/tests/SampleTests.java
build.gradle
connectivity/network/BasicNetworking/Application/tests/src/com/example/android/basicnetworking/tests/SampleTests.java
connectivity/network/NetworkConnect/Application/tests/src/com/example/android/networkconnect/tests/SampleTests.java
connectivity/network/NetworkConnect/template-params.xml
connectivity/nfc/BeamLargeFiles/Application/tests/AndroidManifest.xml
connectivity/nfc/BeamLargeFiles/build.gradle
connectivity/nfc/CardEmulation/Application/tests/AndroidManifest.xml
connectivity/nfc/CardReader/Application/tests/AndroidManifest.xml
connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/SyncAdapter.java
connectivity/sync/BasicSyncAdapter/Application/tests/src/com/example/android/basicsyncadapter/tests/SampleTests.java
content/WidgetData/Application/tests/AndroidManifest.xml
content/contacts/BasicContactables/Application/tests/src/com/example/android/basiccontactables/tests/SampleTests.java
content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/StorageClientFragment.java
content/documentsUi/StorageClient/Application/tests/src/com/example/android/storageclient/tests/SampleTests.java
content/documentsUi/StorageClient/README.md
content/documentsUi/StorageClient/template-params.xml
media/BasicMediaRouter/Application/tests/src/com/example/android/basicmediarouter/tests/SampleTests.java
media/Camera2Basic/Application/tests/AndroidManifest.xml
media/Camera2Basic/Application/tests/src/com/example/android/camera2basic/tests/SampleTests.java
media/HdrViewfinder/template-params.xml
media/MediaBrowserService/Application/src/main/AndroidManifest.xml
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/MediaNotificationManager.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/MusicService.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/PackageValidator.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/MusicProvider.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/BitmapHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/LogHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/MediaIDHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/QueueHelper.java
media/MediaBrowserService/Application/src/main/res/drawable-hdpi/ic_notification.png
media/MediaBrowserService/Application/src/main/res/values/strings.xml
media/MediaBrowserService/Application/src/main/res/values/styles.xml
media/MediaBrowserService/template-params.xml
media/MediaRouter/Application/tests/AndroidManifest.xml
media/MediaRouter/Application/tests/src/com/example/android/mediarouter/tests/SampleTests.java
notification/BasicNotifications/Application/tests/src/com/example/android/basicnotifications/tests/SampleTests.java
notification/LNotifications/Application/tests/AndroidManifest.xml
notification/MessagingService/template-params.xml
renderScript/BasicRenderScript/Application/tests/src/com/example/android/basicrenderscript/tests/SampleTests.java
renderScript/BasicRenderScript/template-params.xml
renderScript/RenderScriptIntrinsic/Application/tests/src/com/example/android/renderscriptintrinsic/tests/SampleTests.ja
error: The following untracked working tree files would be overwritten by checkout:
admin/DeviceOwner/Application/.gitignore
admin/DeviceOwner/Application/README-fragmentview.txt
admin/DeviceOwner/Application/README-singleview.txt
admin/DeviceOwner/Application/proguard-project.txt
admin/DeviceOwner/Application/src/main/AndroidManifest.xml
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerFragment.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerReceiver.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/InstructionFragment.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/MainActivity.java
admin/DeviceOwner/Application/src/main/res/drawable-hdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-mdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-xhdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/layout/activity_main_real.xml
admin/DeviceOwner/Application/src/main/res/layout/fragment_device_owner.xml
admin/DeviceOwner/Application/src/main/res/layout/fragment_instruction.xml
admin/DeviceOwner/Application/src/main/res/values/strings.xml
admin/DeviceOwner/Application/src/main/res/xml/device_owner_receiver.xml
admin/DeviceOwner/build.gradle
admin/DeviceOwner/buildSrc/build.gradle
admin/DeviceOwner/gradle/wrapper/gradle-wrapper.jar
admin/DeviceOwner/gradle/wrapper/gradle-wrapper.properties
admin/DeviceOwner/gradlew
admin/DeviceOwner/gradlew.bat
admin/DeviceOwner/screenshots/1-main.png
admin/DeviceOwner/screenshots/icon-web.png
admin/DeviceOwner/settings.gradle
admin/DeviceOwner/template-params.xml
admin/NfcProvisioning/Application/.gitignore
admin/NfcProvisioning/Application/README-fragmentview.txt
admin/NfcProvisioning/Application/README-singleview.txt
admin/NfcProvisioning/Application/proguard-project.txt
admin/NfcProvisioning/Application/src/main/AndroidManifest.xml
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/NfcProvisioningFragment.java
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ProvisioningValuesLoader.java
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/TextWatcherWrapper.java
admin/NfcProvisioning/Application/src/main/res/drawable-hdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-mdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-xhdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/layout/fragment_nfc_provisioning.xml
admin/NfcProvisioning/Application/src/main/res/values/strings.xml
admin/NfcProvisioning/Application/tests/src/com/example/android/nfcprovisioning/tests/SampleTests.java
admin/NfcProvisioning/build.gradle
admin/NfcProvisioning/buildSrc/build.gradle
admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.jar
admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.properties
admin/NfcProvisioning/gradlew
admin/NfcProvisioning/gradlew.bat
admin/NfcProvisioning/nfcprovisioning.txt
admin/NfcProvisioning/screenshots/1-main.png
admin/NfcProvisioning/screenshots/icon-web.png
admin/NfcProvisioning/settings.gradle
admin/NfcProvisioning/template-params.xml
connectivity/bluetooth/BluetoothAdvertisements/Application/.gitignore
connectivity/bluetooth/BluetoothAdvertisements/Application/proguard-project.txt
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/AndroidManifest.xml
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/AdvertiserFragment.java
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/Constants.java
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/
Aborting
Syncing work tree: 6% (32/532) error: The following untracked working tree files would be overwritten by checkout:
src/compatibility/4.4/android-4.4-cdd.xhtml
src/compatibility/5.0/android-5.0-cdd.html
Please move or remove them before you can switch branches.
Aborting
Syncing work tree: 100% (532/532), done.
developers/samples/android/: discarding 23 commits
docs/source.android.com/: discarding 2 commits
error: developers/samples/android/: platform/developers/samples/android checkout 5aa1d659c86cf7851d85d33108e4c761a02cf817
error: docs/source.android.com/: platform/docs/source.android.com checkout cfd98ed5e9570d76b5a50d77e51318211777dcfb
What should I do? :/
shubhamkarande said:
Hey, I have finally managed to synced the complete source :highfive: but unable to build a working tree due to some stupid errors.
Code:
Fetching projects: 99% (527/532) Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_media
Fetching project android_hardware_qcom_media
Fetching projects: 100% (532/532), done.
Syncing work tree: 2% (11/532) error: Your local changes to the following files would be overwritten by checkout:
admin/AppRestrictionEnforcer/Application/src/main/res/layout/fragment_setup_profile.xml
admin/AppRestrictionEnforcer/Application/tests/src/com/example/android/apprestrictionenforcer/tests/SampleTests.java
admin/BasicManagedProfile/Application/src/main/res/layout/fragment_setup_profile.xml
background/JobScheduler/Application/tests/AndroidManifest.xml
background/JobScheduler/Application/tests/src/com/example/android/jobscheduler/tests/SampleTests.java
build.gradle
connectivity/network/BasicNetworking/Application/tests/src/com/example/android/basicnetworking/tests/SampleTests.java
connectivity/network/NetworkConnect/Application/tests/src/com/example/android/networkconnect/tests/SampleTests.java
connectivity/network/NetworkConnect/template-params.xml
connectivity/nfc/BeamLargeFiles/Application/tests/AndroidManifest.xml
connectivity/nfc/BeamLargeFiles/build.gradle
connectivity/nfc/CardEmulation/Application/tests/AndroidManifest.xml
connectivity/nfc/CardReader/Application/tests/AndroidManifest.xml
connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/SyncAdapter.java
connectivity/sync/BasicSyncAdapter/Application/tests/src/com/example/android/basicsyncadapter/tests/SampleTests.java
content/WidgetData/Application/tests/AndroidManifest.xml
content/contacts/BasicContactables/Application/tests/src/com/example/android/basiccontactables/tests/SampleTests.java
content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/StorageClientFragment.java
content/documentsUi/StorageClient/Application/tests/src/com/example/android/storageclient/tests/SampleTests.java
content/documentsUi/StorageClient/README.md
content/documentsUi/StorageClient/template-params.xml
media/BasicMediaRouter/Application/tests/src/com/example/android/basicmediarouter/tests/SampleTests.java
media/Camera2Basic/Application/tests/AndroidManifest.xml
media/Camera2Basic/Application/tests/src/com/example/android/camera2basic/tests/SampleTests.java
media/HdrViewfinder/template-params.xml
media/MediaBrowserService/Application/src/main/AndroidManifest.xml
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/MediaNotificationManager.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/MusicService.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/PackageValidator.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/MusicProvider.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/BitmapHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/LogHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/MediaIDHelper.java
media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/QueueHelper.java
media/MediaBrowserService/Application/src/main/res/drawable-hdpi/ic_notification.png
media/MediaBrowserService/Application/src/main/res/values/strings.xml
media/MediaBrowserService/Application/src/main/res/values/styles.xml
media/MediaBrowserService/template-params.xml
media/MediaRouter/Application/tests/AndroidManifest.xml
media/MediaRouter/Application/tests/src/com/example/android/mediarouter/tests/SampleTests.java
notification/BasicNotifications/Application/tests/src/com/example/android/basicnotifications/tests/SampleTests.java
notification/LNotifications/Application/tests/AndroidManifest.xml
notification/MessagingService/template-params.xml
renderScript/BasicRenderScript/Application/tests/src/com/example/android/basicrenderscript/tests/SampleTests.java
renderScript/BasicRenderScript/template-params.xml
renderScript/RenderScriptIntrinsic/Application/tests/src/com/example/android/renderscriptintrinsic/tests/SampleTests.ja
error: The following untracked working tree files would be overwritten by checkout:
admin/DeviceOwner/Application/.gitignore
admin/DeviceOwner/Application/README-fragmentview.txt
admin/DeviceOwner/Application/README-singleview.txt
admin/DeviceOwner/Application/proguard-project.txt
admin/DeviceOwner/Application/src/main/AndroidManifest.xml
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerFragment.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerReceiver.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/InstructionFragment.java
admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/MainActivity.java
admin/DeviceOwner/Application/src/main/res/drawable-hdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-mdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-xhdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
admin/DeviceOwner/Application/src/main/res/layout/activity_main_real.xml
admin/DeviceOwner/Application/src/main/res/layout/fragment_device_owner.xml
admin/DeviceOwner/Application/src/main/res/layout/fragment_instruction.xml
admin/DeviceOwner/Application/src/main/res/values/strings.xml
admin/DeviceOwner/Application/src/main/res/xml/device_owner_receiver.xml
admin/DeviceOwner/build.gradle
admin/DeviceOwner/buildSrc/build.gradle
admin/DeviceOwner/gradle/wrapper/gradle-wrapper.jar
admin/DeviceOwner/gradle/wrapper/gradle-wrapper.properties
admin/DeviceOwner/gradlew
admin/DeviceOwner/gradlew.bat
admin/DeviceOwner/screenshots/1-main.png
admin/DeviceOwner/screenshots/icon-web.png
admin/DeviceOwner/settings.gradle
admin/DeviceOwner/template-params.xml
admin/NfcProvisioning/Application/.gitignore
admin/NfcProvisioning/Application/README-fragmentview.txt
admin/NfcProvisioning/Application/README-singleview.txt
admin/NfcProvisioning/Application/proguard-project.txt
admin/NfcProvisioning/Application/src/main/AndroidManifest.xml
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/NfcProvisioningFragment.java
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ProvisioningValuesLoader.java
admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/TextWatcherWrapper.java
admin/NfcProvisioning/Application/src/main/res/drawable-hdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-mdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-xhdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
admin/NfcProvisioning/Application/src/main/res/layout/fragment_nfc_provisioning.xml
admin/NfcProvisioning/Application/src/main/res/values/strings.xml
admin/NfcProvisioning/Application/tests/src/com/example/android/nfcprovisioning/tests/SampleTests.java
admin/NfcProvisioning/build.gradle
admin/NfcProvisioning/buildSrc/build.gradle
admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.jar
admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.properties
admin/NfcProvisioning/gradlew
admin/NfcProvisioning/gradlew.bat
admin/NfcProvisioning/nfcprovisioning.txt
admin/NfcProvisioning/screenshots/1-main.png
admin/NfcProvisioning/screenshots/icon-web.png
admin/NfcProvisioning/settings.gradle
admin/NfcProvisioning/template-params.xml
connectivity/bluetooth/BluetoothAdvertisements/Application/.gitignore
connectivity/bluetooth/BluetoothAdvertisements/Application/proguard-project.txt
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/AndroidManifest.xml
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/AdvertiserFragment.java
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/Constants.java
connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/
Aborting
Syncing work tree: 6% (32/532) error: The following untracked working tree files would be overwritten by checkout:
src/compatibility/4.4/android-4.4-cdd.xhtml
src/compatibility/5.0/android-5.0-cdd.html
Please move or remove them before you can switch branches.
Aborting
Syncing work tree: 100% (532/532), done.
developers/samples/android/: discarding 23 commits
docs/source.android.com/: discarding 2 commits
error: developers/samples/android/: platform/developers/samples/android checkout 5aa1d659c86cf7851d85d33108e4c761a02cf817
error: docs/source.android.com/: platform/docs/source.android.com checkout cfd98ed5e9570d76b5a50d77e51318211777dcfb
What should I do? :/
Click to expand...
Click to collapse
Did you make any important changes? If you didn't then just do this:
Code:
repo forall -vc "git reset --hard"
And do repo sync again, it will now work

[Q] Toolchain

What's the best (and working) toolchain for compile Athene kernel? I have tried some including Google Toolchain but it gives me errors, too.
Thanks.
xAnkris said:
What's the best (and working) toolchain for compile Athene kernel? I have tried some including Google Toolchain but it gives me errors, too.
Thanks.
Click to expand...
Click to collapse
Which google toolchain did you try? Try this one https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/ it should work fine.
yeshwanthvshenoy said:
Which google toolchain did you try? Try this one [...] it should work fine.
Click to expand...
Click to collapse
Error:
arch/arm/kernel/setup.c:1070:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
xAnkris said:
Error:
arch/arm/kernel/setup.c:1070:38: warning: 'struct platform_device' declared inside parameter list [enabled by default]
Click to expand...
Click to collapse
Give me some time. I am bit busy on a few projects. Will check and update you on Monday or Tuesday.
yeshwanthvshenoy said:
Give me some time. I am bit busy on a few projects. Will check and update you on Monday or Tuesday.
Click to expand...
Click to collapse
Alright den.

Categories

Resources