Omni Rom for I9500 build error - Omni Q&A

Hey Guys Im trying to compile for I9500 and here is the error im getting below and im using this device tree
https://github.com/intervigilium/android_device_samsung_i9500
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
** Don't have a product spec for: 'omni_i9500'
** Do you have the right repo manifest?
Please help guys what am i doing wrong

BlaqueDroid said:
Hey Guys Im trying to compile for I9500 and here is the error im getting below and im using this device tree
https://github.com/intervigilium/android_device_samsung_i9500
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
** Don't have a product spec for: 'omni_i9500'
** Do you have the right repo manifest?
Please help guys what am i doing wrong
Click to expand...
Click to collapse
If you are using that device tree without any modifications, it will not work for Omni. The device tree is for cm. Have a look at some of the Omni device trees. At least you need to alter the vendorsetup.sh and the make files.
Verstuurd vanaf mijn TF300T met Tapatalk

scanno said:
If you are using that device tree without any modifications, it will not work for Omni. The device tree is for cm. Have a look at some of the Omni device trees. At least you need to alter the vendorsetup.sh and the make files.
Verstuurd vanaf mijn TF300T met Tapatalk
Click to expand...
Click to collapse
Hey man i tried following the instructions on the omni wiki site but still it kept on saying the same error an i would appreciate it if u can point me in the right direction ...e.g what files to modify ?

BlaqueDroid said:
Hey man i tried following the instructions on the omni wiki site but still it kept on saying the same error an i would appreciate it if u can point me in the right direction ...e.g what files to modify ?
Click to expand...
Click to collapse
First you have to "omnify" the device tree. That means renaming and editing the make files in the device tree. Please have a look at the other device trees and look at the make file changes to files like vendorsetup.sh. Also you should have an omni_<device>.mk . Again look what has been done with other devices to make them build it the Omni tree.
Verstuurd vanaf mijn Nexus 10 met Tapatalk

Also, it'd help if you uploaded your changes/device tree to github. That way we can see what you're doing and help better. Like was already said, the tree as is won't work.

PonsAsinorem said:
Also, it'd help if you uploaded your changes/device tree to github. That way we can see what you're doing and help better. Like was already said, the tree as is won't work.
Click to expand...
Click to collapse
Hey MAn thanks for the advice i managed to fix the device tree issue but now im stuck with this error ....any ideas
Code:
Copy xml: /home/blaquesoul/android/omni/out/target/product/i9500/system/etc/permissions/android.software.sip.voip.xml
make: *** No rule to make target `/configs/audio_effects.conf', needed by `/home/blaquesoul/android/omni/out/target/product/i9500/system/etc/audio_effects.conf'. Stop.

Related

[REQ] Config file and kernel testers

I don't have enough money to import a GS2 so I'm stuck making kernels without the phone. Could someone please extract the config file from their phone? Also, if you are interested in testing my kernel, please add me on Gtalk at [email protected]
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
I'm from L.A.? Even if I was I'd have even less thanks to Cali's taxes
I'd like to see the config file too just so I can go browse thru the kernel source code myself.
Its nice to see the support for developers for this device. Takes 30 seconds to pull a config and the only response is someone with a sarcastic post based on a stereotype of Americans.
Sent from my HTC Vision
I hear you. I was sincere though in my interest. I really wanna see the config file.
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Sent from my HTC Vision
Flippy125 said:
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Click to expand...
Click to collapse
I can't find config.gz in /proc
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
RyanZA said:
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
Click to expand...
Click to collapse
kind of a noob question, but how exactly would one know which of each file of the source code to include to compile your own ROM/kernel? guess my question really is, looking thru kernel source, how can i know if any random file is or is not part of the kernel? example looking thru battery drivers, i can see the max17042 and fuelgauge_sec is used, while other batt drivers are not used but still present. how does one able to figure this out for each folder etc?
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
you are from Pakistan so we forgive you your bad knowledge of US geography
(people this is a joke)
Oh thanks, I haven't used a Samsung device (yet) so I thought it was like HTC
Sent from my HTC Vision

[Q] How to compile github java source?

Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

[SOLVED]Error while compiling kernel from source

Hey xda,
I was trying to compile stock kernel from source for learning how to do so and with an aim to make a custom kernel in future.
I am using uber 4.9 toolchain for aarch64 as our kernel is based on aarch64 architecture.
While compiling it gives foloowing error.Please help me
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.o
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.o
LD drivers/input/touchscreen/synaptics_dsx/built-in.o
CC drivers/input/touchscreen/ftxxxx_ts.o
CC drivers/input/touchscreen/ftxxxx_ex_fun.o
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_fw_upgrade_with_i_file':
drivers/input/touchscreen/ftxxxx_ex_fun.c:423:3: error: label at end of compound statement
default:
^
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_auto_upgrade':
drivers/input/touchscreen/ftxxxx_ex_fun.c:650:3: error: label at end of compound statement
default:
^
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/ftxxxx_ex_fun.o' failed
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
Makefile:839: recipe for target 'drivers' failed
@LuK1337
 @luca020400
@Nachiket.Namjoshi
 @eng.stk
 @franciscofranco
 @jgcaap
@arter97
 @DespairFactor
@say99
 @BORETS24
@tank0412
@TheSSJ
Sorry for mentioning so many people but you all names came up when I searched for kernel devs..
I beg you to help me.
Thanks
abhishekr700 said:
Hey xda,
I was trying to compile stock kernel from source for learning how to do so and with an aim to make a custom kernel in future.
I am using uber 4.9 toolchain for aarch64 as our kernel is based on aarch64 architecture.
While compiling it gives foloowing error.Please help me
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.o
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.o
LD drivers/input/touchscreen/synaptics_dsx/built-in.o
CC drivers/input/touchscreen/ftxxxx_ts.o
CC drivers/input/touchscreen/ftxxxx_ex_fun.o
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_fw_upgrade_with_i_file':
drivers/input/touchscreen/ftxxxx_ex_fun.c:423:3: error: label at end of compound statement
default:
^
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_auto_upgrade':
drivers/input/touchscreen/ftxxxx_ex_fun.c:650:3: error: label at end of compound statement
default:
^
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/ftxxxx_ex_fun.o' failed
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
Makefile:839: recipe for target 'drivers' failed
@LuK1337
@luca020400
@Nachiket.Namjoshi
@eng.stk
@franciscofranco
@jgcaap
@arter97
@DespairFactor
@say99
@BORETS24
@tank0412
@TheSSJ
Sorry for mentioning so many people but you all names came up when I searched for kernel devs..
I beg you to help me.
Thanks
Click to expand...
Click to collapse
can you link me to the source code??
Sent from my ASUS_Z00AD using Tapatalk
say99 said:
can you link me to the source code??
Sent from my ASUS_Z00AD using Tapatalk
Click to expand...
Click to collapse
I don't know for github,I downloaded from official asus site.
If you want I can give you the specific file which returns the error.
Sent from my C2305 using Tapatalk
yeah for sure
Sent from my ASUS_Z00AD using Tapatalk
drivers/input/touchscreen/ftxxxx_ex_fun.c would be interesting for me
TheSSJ said:
drivers/input/touchscreen/ftxxxx_ex_fun.c would be interesting for me
Click to expand...
Click to collapse
Telegram? Easy to send files..
Sent from my C2305 using Tapatalk
I don't use it pls just upload this file as attachment to one of your xda posts, then everyone has automatically access to it
TheSSJ said:
I don't use it pls just upload this file as attachment to one of your xda posts, then everyone has automatically access to it
Click to expand...
Click to collapse
check your hangouts sir
Sent from my ASUS_Z00AD using Tapatalk
abhishekr700 said:
Hey xda,
I was trying to compile stock kernel from source for learning how to do so and with an aim to make a custom kernel in future.
I am using uber 4.9 toolchain for aarch64 as our kernel is based on aarch64 architecture.
While compiling it gives foloowing error.Please help me
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.o
CC drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.o
LD drivers/input/touchscreen/synaptics_dsx/built-in.o
CC drivers/input/touchscreen/ftxxxx_ts.o
CC drivers/input/touchscreen/ftxxxx_ex_fun.o
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_fw_upgrade_with_i_file':
drivers/input/touchscreen/ftxxxx_ex_fun.c:423:3: error: label at end of compound statement
default:
^
drivers/input/touchscreen/ftxxxx_ex_fun.c: In function 'fts_ctpm_auto_upgrade':
drivers/input/touchscreen/ftxxxx_ex_fun.c:650:3: error: label at end of compound statement
default:
^
scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/ftxxxx_ex_fun.o' failed
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
Makefile:839: recipe for target 'drivers' failed
Sorry for mentioning so many people but you all names came up when I searched for kernel devs..
I beg you to help me.
Thanks
Click to expand...
Click to collapse
Point me to a GH repo with the source please or somewhere that has the files for the source, I will need to have access to the code to investigate this. It could also be a GCC error, which I can correct if that is actually the cause.
DespairFactor said:
Point me to a GH repo with the source please or somewhere that has the files for the source, I will need to have access to the code to investigate this. It could also be a GCC error, which I can correct if that is actually the cause.
Click to expand...
Click to collapse
Thanks for responding, but it has been resolved,
Yes it was a common gcc error, @say99 helped me resolve the error,
It needed a semicolon after a default statement. [emoji2]
Sent from my C2305 using Tapatalk
just saw this today. sorry about it. :\ busy with uni, good to see was solved.

Troubleshooting the stated error project?

Sorry rather a newbie learning android studio where I downloaded a project http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/ to get my hands dirty with coding a camera app to upload to a server. Can anybody get it to work after downloading it? Because somehow I couldn't get it to work after I tried compiling it, with a error for this statement in the MainActivity.java file.
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(getResources().getString(R.color.action_bar))));
I've tried changing the code statement to this but still not working either:
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(ContextCompat.getColor(this,R.color.action_bar))));
Someone please help! Thank in advance
imso said:
Sorry rather a newbie learning android studio where I downloaded a project http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/ to get my hands dirty with coding a camera app to upload to a server. Can anybody get it to work after downloading it? Because somehow I couldn't get it to work after I tried compiling it, with a error for this statement in the MainActivity.java file.
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(getResources().getString(R.color.action_bar))));
I've tried changing the code statement to this but still not working either:
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(ContextCompat.getColor(this,R.color.action_bar))));
Someone please help! Thank in advance
Click to expand...
Click to collapse
It would help if you specified what error are you getting

J700P CyanogenMod Dev Thread (NEW!)

Hey guys, after the recent collapse of the dev thread by messi, I've decided to try to build CM13 for myself. I've created a thread to post progress and such. My vendor and device trees will be updated periodically on Github until the first working build. In a comment below my post, I will post the current error I get when I try to build it.
CURRENT BUG:
Will not boot.
minz1 said:
CURRENT ERROR:
Code:
target SharedLib: libm (/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Invalid context file found in /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts
Install: /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/system/lib64/libc.so
external/sepolicy/Android.mk:157: recipe for target '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts' failed
make: *** [/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts] Error 5
make: *** Deleting file '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts'
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/minz1/Desktop/CyanogenMod'
#### make failed to build some targets (04:54 (mm:ss)) ####
Click to expand...
Click to collapse
There are previous error , make clean and post the full error on pastebin
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
SykkNyzz said:
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
Click to expand...
Click to collapse
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
messi2050 said:
There are previous error , make clean and post the full error on pastebin
Click to expand...
Click to collapse
http://pastebin.com/EQriaZXi
I don't know what I should do short of removing monkey from the vendor tree; I'm going to try that, though.
minz1 said:
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
Click to expand...
Click to collapse
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Starchild2k said:
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Click to expand...
Click to collapse
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
I have been still working on that and i have been comparing with the other j7 vendor trees as well to get a successful build
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
minz1 said:
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
Click to expand...
Click to collapse
good luck bro
agriculture said:
good luck bro
Click to expand...
Click to collapse
He is building for j700p (usa model) not j700h ?
minz1 said:
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
Click to expand...
Click to collapse
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
messi2050 said:
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
Click to expand...
Click to collapse
GitHub under minz1
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Starchild2k said:
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Click to expand...
Click to collapse
yeah i'm working on cleaning up vendor right now. what did you have to do to kernel?
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Starchild2k said:
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Click to expand...
Click to collapse
ok i will make clean and build without these frameworks.
thanks for the suggestion. i will come back if i find anything that i think you should know about. i'm going to update the vendor files on github and start building on a remote server
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
messi2050 said:
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
Click to expand...
Click to collapse
ugh, okay. i'm curious about samsung's marketing of this device- they claim it's a 615 but it's more likely a 415. i will use your tree instead.

Categories

Resources