Help with building SLIM Nougat for Onyx (OnePlus X) - SlimRoms Feature Development

Sorry for hijacking this thread but I wasn't getting any help when posted in any other section... I am getting the following error, how should I fix it?
Code:
including vendor/slim/vendorsetup.sh
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
Device onyx not found. Attempting to retrieve device repository from SlimRoms Github (http://github.com/SlimRoms).
Found repository: device_oneplus_onyx
Checking branch info
Calculated revision: ng7.0
Default revision: android-7.0.0_r1
already exists: device/oneplus/onyx
Traceback (most recent call last):
File "build/tools/roomservice.py", line 379, in <module>
main()
File "build/tools/roomservice.py", line 363, in main
add_to_manifest(adding, fallback_branch)
File "build/tools/roomservice.py", line 201, in add_to_manifest
f = open(custom_local_manifest, 'w')
IOError: [Errno 13] Permission denied: '.repo/local_manifests/slim_manifest.xml'
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/onyx/slim.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop.
** Don't have a product spec for: 'slim_onyx'
** Do you have the right repo manifest?

Related

[Xperia S] Instructions for building kernel

Sony seems to be really supporting dev community...
they just released some instructions on how to create kernel for this device...
read the source link:
http://developer.sonymobile.com/wp/...-archive-released-with-building-instructions/
we can may be use this thread as a place to have a feedback/discuss the issues so that it may help other devs...
Nice, now we can get going on some custom ROM's, maybe even cyanogenmod will make a ROM
@DooMLord
Have you got your device yet ?
-----------------
I hope to see MiUi v4 working on my Xperia S , that will be a total Destruction :O
OS4. said:
@DooMLord
Have you got your device yet ?
-----------------
I hope to see MiUi v4 working on my Xperia S , that will be a total Destruction :O
Click to expand...
Click to collapse
sadly nope... the device isnt released in India yet
nice comment on their site DooM
i'm really keen to try, (read: mess about) but please excuse my ignorance - what defconfig should i be making? fuji_nozomi?
Code:
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
And now... Let the ROMs and kernels begin...
Sent from Xperia X10 Mini Pro using CM9 by paul-xxx
Gonna jab my hands into the dirt and try building as well
sminki said:
nice comment on their site DooM
i'm really keen to try, (read: mess about) but please excuse my ignorance - what defconfig should i be making? fuji_nozomi?
Code:
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
Click to expand...
Click to collapse
cat README_Xperia
Configuration files can be found in arch/arm/configs.
Xperia NX SO-02D => fuji_nozomi_dcm_defconfig
Xperia S => fuji_nozomi_defconfig
hylu said:
cat README_Xperia
Configuration files can be found in arch/arm/configs.
Xperia NX SO-02D => fuji_nozomi_dcm_defconfig
Xperia S => fuji_nozomi_defconfig
Click to expand...
Click to collapse
Funny, I missed that completely! Lucky I guessed correctly
EDIT: I've moved on a little, if anyone can help I'd greatly appreciate it!
Code:
CC init/main.o
In file included from include/linux/kernel_stat.h:64:0,
from init/main.c:31:
include/linux/irq.h: In function 'alloc_desc_masks':
include/linux/irq.h:442:8: warning: variable 'gfp' set but not used [-Wunused-but-set-variable]
error, forbidden warning: irq.h:442
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Ignore, fixed a few posts down..
Hi all
As I said in thsi thread http://forum.xda-developers.com/showthread.php?t=1588800
I don't know what toolchain i've to use to build the .62 kernel of XS
I get the following error:
When I use the default arm-linux-gnueabi- (gcc 4.6):export CROSS_COMPILE=arm-linux-gnueabi-
>make
(a lot of line)
/tmp/cc33fOK4.s: Assembler messages:
/tmp/cc33fOK4.s:119: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:171: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:390: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:544: Error: selected processor does not support ARM mode `smc #0'
make[1]: *** [arch/arm/mach-msm/scm.o] Erreur 1
make: *** [arch/arm/mach-msm] Erreur 2
--
I try to use this toolchain https://sourcery.mentor.com/sgpp/lite/arm/portal/release2032
(arm-2011.09) export CROSS_COMPILE=/home/choco/xs/arm-2011.09/bin/arm-none-eabi-
I get this:
>make
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/kconfig/conf -s arch/arm/Kconfig
arch/arm/mach-msm/Kconfig:1509:warning: multi-line strings not supported
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [kernel/bounds.s] Erreur 1
make: *** [prepare0] Erreur 2
I try also the latest linaro toolchain
export CROSS_COMPILE=/home/chocobn/xs/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi-
And i get the same error as previous
err what's wrong with toolchain ?
PS: I do the correct export for ARCH (arm), i'm on ubuntu 12.04, and havn't spoiler on this forum ?
arc_u said:
Hi all
As I said in thsi thread http://forum.xda-developers.com/showthread.php?t=1588800
I don't know what toolchain i've to use to build the .62 kernel of XS
I get the following error:
When I use the default arm-linux-gnueabi- (gcc 4.6):export CROSS_COMPILE=arm-linux-gnueabi-
>make
(a lot of line)
/tmp/cc33fOK4.s: Assembler messages:
/tmp/cc33fOK4.s:119: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:171: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:390: Error: selected processor does not support ARM mode `smc #0'
/tmp/cc33fOK4.s:544: Error: selected processor does not support ARM mode `smc #0'
make[1]: *** [arch/arm/mach-msm/scm.o] Erreur 1
make: *** [arch/arm/mach-msm] Erreur 2
--
I try to use this toolchain https://sourcery.mentor.com/sgpp/lite/arm/portal/release2032
(arm-2011.09) export CROSS_COMPILE=/home/choco/xs/arm-2011.09/bin/arm-none-eabi-
I get this:
>make
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
scripts/kconfig/conf -s arch/arm/Kconfig
arch/arm/mach-msm/Kconfig:1509:warning: multi-line strings not supported
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
Traceback (most recent call last):
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>
status = run_gcc()
File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [kernel/bounds.s] Erreur 1
make: *** [prepare0] Erreur 2
I try also the latest linaro toolchain
export CROSS_COMPILE=/home/chocobn/xs/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi-
And i get the same error as previous
err what's wrong with toolchain ?
PS: I do the correct export for ARCH (arm), i'm on ubuntu 12.04, and havn't spoiler on this forum ?
Click to expand...
Click to collapse
try these
https://github.com/DooMLoRD/android_prebuilt_toolchains
I hope you guys know this, but you can't boot custom kernels yet..
Sony needs to release a patched bootloader first, so don't flash your own kernels yet and wait for the bootloader update from Sony
DooMLoRD said:
try these
https://github.com/DooMLoRD/android_prebuilt_toolchains
Click to expand...
Click to collapse
DooMLoRD to the rescue yet again. Thanks man, arm-eabi-4.4.3 worked a treat with the problem i had 2 weeks ago ^ back up there (i guess my post should have been more explicit)
6.0.A.3.62 and 6.0.A.5.6 just compiled no problem with that tool-chain! Yes, I know we can't use them (yet), but it was something i needed to do for my own satisfaction
i heard that the bootloader is fixed in 6.0.A.5.6 or higher.
anyone tried it???? (i mailed sony about it and they told me that it is fixed in that firmware)
nickholtus said:
i heard that the bootloader is fixed in 6.0.A.5.6 or higher.
anyone tried it???? (i mailed sony about it and they told me that it is fixed in that firmware)
Click to expand...
Click to collapse
Don't think anyone has put the 5.6 fw up yet.
Edit : most recent up is the Japanese 4.1
Sent from my LT26i using XDA
nickholtus said:
i heard that the bootloader is fixed in 6.0.A.5.6 or higher.
anyone tried it???? (i mailed sony about it and they told me that it is fixed in that firmware)
Click to expand...
Click to collapse
that FW is not for the Xperia S... its for the Japaneses variant [ Xperia™ acro HD (SO-03D) ]...
DooMLoRD said:
that FW is not for the Xperia S... its for the Japaneses variant [ Xperia™ acro HD (SO-03D) ]...
Click to expand...
Click to collapse
I don't know if it's relevant but it has the fuji_nozomi def config, I'm still new to this
Sent from my LT26i using XDA
DooMLoRD said:
that FW is not for the Xperia S... its for the Japaneses variant [ Xperia™ acro HD (SO-03D) ]...
Click to expand...
Click to collapse
My sources say we might not get the bootloader fix as a separate update...
Sent from my LT26i using XDA
K900 said:
My sources say we might not get the bootloader fix as a separate update...
Sent from my LT26i using XDA
Click to expand...
Click to collapse
This looks grim. Plus bin4ry saying he has a bricked S. Not looking good for this device is it.
Sent from my R800i using XDA
poo-tang said:
This looks grim. Plus bin4ry saying he has a bricked S. Not looking good for this device is it.
Sent from my R800i using XDA
Click to expand...
Click to collapse
When I said no separate update I meant it'll be included with ICS, which should be coming really soon, likely as soon as legal stuff gets sorted out.
Sent from my LT26i using XDA

Error when in compiling lunch menu

Code:
Which would you like? [full-eng] 9
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
Device D710 not found. Attempting to retrieve device repository from CyanogenMod Github ([URL]http://github.com/CyanogenMod[/URL]).
Repository for D710 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
** Don't have a product spec for: 'cm_D710'
** Do you have the right repo manifest?
Re: [Q]Proprietary Drivers for compiling?
I suggest installing CM10.1 then with ADB added to your path, run the extract script.
Sent from my SPH-D710 using xda premium
Deleted
Im getting a new error when im in lunch menu.
Code:
Which would you like? [full-eng] 9
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
Device D710 not found. Attempting to retrieve device repository from CyanogenMod Github ([URL]http://github.com/CyanogenMod[/URL]).
Repository for D710 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
** Don't have a product spec for: 'cm_D710'
** Do you have the right repo manifest?
Your best bet is to jump on irc.
webchat.freenode.net
irc.freenode.net:6667
Then join #jb-dev-e4gt
Sent from my SPH-D710 using xda premium
EDIT: The compile was so far but then i got this error:
Code:
cannot create /home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h: Read-only file system
/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h.tmp: Read-only file system
make[4]: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/.install] Error 30
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/austin/beanstalk/kernel/samsung/smdk4210'
make: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 6 [Aborted], core dumped
make: *** [/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Deleting file `/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs'
make: unlink: /home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs: Read-only file system

[Q] Custom Kernel Compilation with external wifi support

I got a weird error when try to compile kernel source from samsung SGH-I747M, I use the lastest JB kernel source from samsung open source. I google it but no luck
I use a linux box (backbox lastest version). I also try it on Ubuntru 12.04 but same output. I also try the NDK and ARM-EABI still the same output. Here the error :
[email protected]:~/samsung$ make -j 4
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
CHK include/linux/version.h
CC scripts/mod/empty.o
HOSTCC scripts/conmakehash
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
Traceback (most recent call last):
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 110, in <module>
status = run_gcc()
File "/home/nannaniel/samsung/scripts/gcc-wrapper.py", line 100, in run_gcc
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
Any Idea ?
thks
https://github.com/vmobi-gogh/andro...mmit/d871746203d240d2ca6df762c852853359f2ce2d
You will need to also run a
$ make mr proper
inside the kernel folder. I had some other weirdness working on the goghvmu kernel as well. Good luck!
---------- Post added at 10:51 AM ---------- Previous post was at 10:44 AM ----------
Also looks like I missed csh
$ sudo apt-get install csh
http://stackoverflow.com/questions/6330705/python-subprocess-throws-error-no-such-file-or-direcrory
Here is one last commit that fixed and got me a build! Still need to flash but at least it built
https://github.com/vmobi-gogh/andro...mmit/01b11606e6ea6597d5df39c1dc75ebd91d4349ec

Need help building Paranoid

I'm trying to build paranoid android from source, using a CM12.1 device tree. Here's the link:https://github.com/valascus/android_device_elephone_p8000
I've already tried to modify some things... no sucess.
It gives me this error when i try to lunch:
Code:
lunch cm_p8000-user
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_p8000". Stop.
WARNING: Trying to fetch a device that's already there
WARNING: device/elephone/p8000/pa.dependencies file not found
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_p8000". Stop.
** Don't have a product spec for: 'cm_p8000'
And this one when i try to build directly:
Code:
build/core/envsetup.mk:158: *** No config file found for TARGET_DEVICE . Stop.
WARNING: Trying to fetch a device that's already there
WARNING: device/elephone/p8000/pa.dependencies file not found
build/core/envsetup.mk:158: *** No config file found for TARGET_DEVICE . Stop.
** Don't have a product spec for: 'pa_p8000'
** Do you have the right repo manifest?
Starting compilation
build/core/product_config.mk:252: *** No matches for product "full". Stop.
Any clue?
Someone???
Still nobody.... Jesus...
It appears you're trying to build a cm build rather than a PA build, but I have to ask, why the hell are you trying to build with code that's well over a year old and unfinished?

Help compiling AOSPA

Hey,
I was trying to compile AOSPA from source. After the repo sync finished, i copied the proprietary blobs from The Muppets repository.. After that I ran "source build/envsetup.sh".
Everything was fine up til now, but when i ran breakfast pme, i got
"
Traceback (most recent call last):
File "build/tools/roomservice.py", line 63, in <module>
raise ValueError('No dependencies file could be found for the device (%s).' % device)
ValueError: No dependencies file could be found for the device (pme).
** Roomservice failure for: 'pa_pme'
"
I searched a little and figured out that i need to add PA dependencies in vendor/pa/products/pme
I used tried using the LOS file, but then when i ran breakfast pme, i got the following:
"
including vendor/pa/vendorsetup.sh
Traceback (most recent call last):
File "build/tools/roomservice.py", line 129, in <module>
raise ValueError('No remote declaration could be found for the %s project. (%s)' % (name, remote))
ValueError: No remote declaration could be found for the android_kernel_htc_msm8996 project. (None)
** Roomservice failure for: 'pa_pme'
"
Can anybody help me fix this?

Categories

Resources