Hello fellow coder and programmers. I'm building a custom rom for oneplus 9 pro but as soon as as Enter the "lunch" command , the terminal say command not found. can you help with that?
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
In order to use the build commands, you'll need to source the build/envsetup.sh file. For someone who's new to building it can be an obvious problem but I would like you to give the rom building process a second thought. It would be full of hoops which would be even more weird than this error. In short, you should've been able to figure the lunch command by yourself.
samwhiteUK said:
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
Click to expand...
Click to collapse
I'm new into custom rom and learning new thing, thanks for your advice
samwhiteUK said:
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
Click to expand...
Click to collapse
Where did the guy "get people excited"? The man wants to learn and is asking questions so he can learn. At least he's not uploading a module which bricks peoples devices... just sayin'
Related
Hey Everyone,
This is my first post here on XDA. I've been around for a while and always try to read a lot before attempting anything so as not to break stuff; hence the reason for no posts so far. I appreciate all of the helpful information I find on these forums and it has been great for keeping my trusty Dinc running well and running the latest Android OS.
I have been busy with school, but finally have some time to sit down and bang out some Android development, leading me to my
Question/problem: I am attempting to build android from source to get up and running on being able to create my own ROMs or help contribute to others and I've run into a problem. I'm stuck in a boot-loop during the CM9 boot animation. I have a logcat dump during the boot that shows the errors and the cycle of it trying again and again, but I'm not sure where to go next.
Background:
I have been running drk.hd's CM9 ROM for the last month or so (http://forum.xda-developers.com/showthread.php?t=1558923) and I have enjoyed it. It works very well. He has build instructions posted on his github here: https://github.com/drkhd/android_device_htc_inc. I have followed those steps exactly as posted, which all work as expected. I have not run into any build/compile errors, but after flashing the zip file, I end up in the boot-loop.
Logcat:
I pasted the logcat here: http://pastebin.com/wVVbmeRY
The last ~400 lines just repeat until killing the logcat. I can see errors about media services dying and a fatal signal 11, but again, I'm not sure what to do with this information.
Any help is much appreciated. I know this should really be in the dev forum, but as I mentioned, this is my first post; I don't have 10 posts yet, so I cannot post in the dev forum until that point. I am really just starting to dig into this stuff, so go easy on me and help guide me in the right direction so I can take things and run with them. Once I get a feel for how best to approach android development, I should be able to pick it up pretty easily.
Thanks
I know this thread should really be in the dev forum, but if any of you have any suggestions or can at least point me in the right direction for where to look for answers, that would be great.
Thanks again
Dezier11 said:
I know this thread should really be in the dev forum, but if any of you have any suggestions or can at least point me in the right direction for where to look for answers, that would be great.
Thanks again
Click to expand...
Click to collapse
This is the right forum. Development threads are meant to be for ROM and other development support, Q&A is where I would ask about this too but I guess the other devs either aren't around or don't know how to answer your question. cmlusco is a dev of touch of blue and he lingers around Q&A a lot so maybe if he comes across this he can give you some insight. I would really like to get into building ROMs as well but I don't have any experience in coding just yet. I don't really know what kind of experience is required to build ROMs either and my only Ubuntu machine is 32-bit so I am essentially out of the race for now. That being said, I found this guide that I was going to use for my own building ventures until I realized I needed a 64-bit machine but maybe it can help you or maybe the support can give you a little direction. I hope this helps!!
http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
nschiwy said:
This is the right forum. Development threads are meant to be for ROM and other development support, Q&A is where I would ask about this too but I guess the other devs either aren't around or don't know how to answer your question. cmlusco is a dev of touch of blue and he lingers around Q&A a lot so maybe if he comes across this he can give you some insight. I would really like to get into building ROMs as well but I don't have any experience in coding just yet. I don't really know what kind of experience is required to build ROMs either and my only Ubuntu machine is 32-bit so I am essentially out of the race for now. That being said, I found this guide that I was going to use for my own building ventures until I realized I needed a 64-bit machine but maybe it can help you or maybe the support can give you a little direction. I hope this helps!!
http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
Click to expand...
Click to collapse
I would love to help but i have no clue how to build from source. All i know how to do is take stock roms and modify and tweak them. I do not have a linux setup, i use win 7 with cygwin and android kitchen. Android kitchen does a lot of the work for you. Apktool is another great windows program for decompiling and recompiling apks. It just takes time to tweak and modify everything. Google and xda are your best friends, you can find the answer to just about anything you want.
cmlusco said:
I would love to help but i have no clue how to build from source. All i know how to do is take stock roms and modify and tweak them. I do not have a linux setup, i use win 7 with cygwin and android kitchen. Android kitchen does a lot of the work for you. Apktool is another great windows program for decompiling and recompiling apks. It just takes time to tweak and modify everything. Google and xda are your best friends, you can find the answer to just about anything you want.
Click to expand...
Click to collapse
yes you can flash it which suitable for your device
---------- Post added at 07:12 AM ---------- Previous post was at 07:07 AM ----------
[email protected] said:
yes you can flash it which suitable for your device
Click to expand...
Click to collapse
I have sync Evervolv source code and I'll make this days
Thank you guys for your responses. I appreciate you taking the time.
nschiwy, I'm still working my way through the thread you provided, hopefully something there will help.
Hi as the title says I can't install apk files in my current ROM which is liquid smooth v 2.3. I ticked the box of allow unknown sources and it still doesn't work I seen in another thread and the xda developer said put it in the right folder data/apps I tried it but still doesn't work. Help would be appreciated. Maybe I'm putting the apk file in due wrong place. Phone note 2 gtn7100
Thanks anyway
Define "can't install". What error message are you getting?
When I download a apk file from any source I can't install it. It will try to install but it will say * app not installed
abdi cumar said:
When I download a apk file from any source I can't install it. It will try to install but it will say * app not installed
Click to expand...
Click to collapse
Logcat?
Log cat? What is that anyway thanks for your help ( I'm not an advanced user)
I am not able to install apks either. When I click on install nothing happens it stays on the screen
No offence, but if you guys don't even know how to get your logcat logs, why are you screwing around with custom ROMs?
Here's a tutorial:
http://forum.xda-developers.com/showthread.php?t=1726238
Educate yourselves.
No offense but if you're a developer for the public that expects the public to be tech savvy then said developer can't expect to make any real money. If developer is developing for the tech savvy, then his goal is to not make money but to only satisfy a small niche market. What developer spends 20-40+ hours a week developing and not expect to make some money but to do it from the kindnesses of their heart? Seriously, they don't know you. They're trying to make money. If you're making money, then develop for the masses. Don't hate just cuz you're a hip programming mother f'er
yes i am ask for someone to port cm 10.2 for for galaxy tab 3 7.0 smt210r i would like to try it out if somebody can port it thanks let me know if u can
Jaykingis20 said:
yes i am ask for someone to port cm 10.2 for for galaxy tab 3 7.0 smt210r i would like to try it out if somebody can port it thanks let me know if u can
Click to expand...
Click to collapse
i think cm10.1 is the one to do unless i'm getting my versions mixed up,
cm10.2 is android 4.3 and that had problems.
cm10.1 is android 4.2 and should be an easy match i think.
wanting the latest version of whatever is not always best.
and i mean this in the best way, xda is not a shopping mall it's a developers site.
requests are a reasonable thing to expect. progressively flooding the forums with useless
threads/posts is not reasonable. rather than ask for someone else to do for you, take the time
to learn so you can do for yourself. i started in may and since then i have learned a lot.
all i ask is that you consider that.
m
alright
moonbutt74 said:
i think cm10.1 is the one to do unless i'm getting my versions mixed up,
cm10.2 is android 4.3 and that had problems.
cm10.1 is android 4.2 and should be an easy match i think.
wanting the latest version of whatever is not always best.
and i mean this in the best way, xda is not a shopping mall it's a developers site.
requests are a reasonable thing to expect. progressively flooding the forums with useless
threads/posts is not reasonable. rather than ask for someone else to do for you, take the time
to learn so you can do for yourself. i started in may and since then i have learned a lot.
all i ask is that you consider that.
m
Click to expand...
Click to collapse
where do i start and how to do this it would be fun for me to learn to do this kind of stuff also where do i download to like port roms make roms ect so where do i start i want to learn how to make my first rom
Jaykingis20 said:
where do i start and how to do this it would be fun for me to learn to do this kind of stuff also where do i download to like port roms make roms ect so where do i start i want to learn how to make my first rom
Click to expand...
Click to collapse
you start by using the xda search bar.
search terms such as how to compile a kernel, how to build a rom, etc.
and read, read, read.
you will also need a linux 64bit pc for rom building.
you can use a linux 32bit pc for kernel building which is where i started.
as a sort of quick link to find the threads in which i began my learning process
click on my username and select view posts option, it will show you every post i've made.
pay particular attention to the discussions between myself and Restl3ss as he completely guided me
through the process to getting my cm11 build environment set up. there is a huge deal of excellent noob-friendly
info in there.
good luck :good:
m
moonbutt74 said:
you start by using the xda search bar.
search terms such as how to compile a kernel, how to build a rom, etc.
and read, read, read.
you will also need a linux 64bit pc for rom building.
you can use a linux 32bit pc for kernel building which is where i started.
as a sort of quick link to find the threads in which i began my learning process
click on my username and select view posts option, it will show you every post i've made.
pay particular attention to the discussions between myself and Restl3ss as he completely guided me
through the process to getting my cm11 build environment set up. there is a huge deal of excellent noob-friendly
info in there.
good luck :good:
m
Click to expand...
Click to collapse
alright i have windows but not linux i need to download linux for my windows vista so i can get started
on Linux
Jaykingis20 said:
alright i have windows but not linux i need to download linux for my windows vista so i can get started
Click to expand...
Click to collapse
you will need to search the internet for instruction on installing Linux.
again, read read read.
As a recommendation search for Debian Linux or Linux Mint.
That is outside the scope of this discussion however. When you have completed that then return
to XDA to continue your quest.
m
Hi guys, I'm a new one here at the N7 forum, so I was wondering if have a chance of porting remix OS to the N7?? Some Dev want to try?? well I'm studying software engineering and maybe this can be a project, let me know what you guys think
PS: sorry about my English, still studying it[emoji14]
Sent from my Nexus 7 using Tapatalk
I gave my hand at attempting to port it when it came out but I'm not sure if I was doing something wrong as I could get the ROM to boot up to the boot animation, but the OS itself would not start the UI. I used some of the tutorials on here to attempt porting, but most of the tutorials are for 4.1 and below, so I'm not sure if I was missing something like SELinux contexts on files or something. That said, if you can get further porting it I'd be happy to test, been using PhoenixOS but would love to try RemixOS on my tablet.
ShadowEO said:
I gave my hand at attempting to port it when it came out but I'm not sure if I was doing something wrong as I could get the ROM to boot up to the boot animation, but the OS itself would not start the UI. I used some of the tutorials on here to attempt porting, but most of the tutorials are for 4.1 and below, so I'm not sure if I was missing something like SELinux contexts on files or something. That said, if you can get further porting it I'd be happy to test, been using PhoenixOS but would love to try RemixOS on my tablet.
Click to expand...
Click to collapse
Well i will talk with some friends at the uni and see if someone wants to help me with this, any progress i will post, but for now it's just a idea, thanks for the input D :good:
So I know very little about kernels and have been trying teach myself. I would really love to try the white wolf Kernel but before I started asking questions in that thread I would like to take a step back and find out if that is possible to use. I've been trying hard to read all the threads to figure out what image i want to use and what kernel I would like to try. I know everyone raves about Franco's which I would like to try but also would like to keep my options open.
Thanks all!
No, your phone will freak **** if you flash a LOS kernel while on OOS. Operating systems have specific commands that they give to the kernel, the commands are different between OOS and LOS. If you do so, your phone will likely not even be able to boot.
Thanks, I kind of thought that already but wasn't 100% certain and couldn't find anything that said what you said specifically. Thank you for taking the time to explain!
Nope never do this.. Its asking for problems . Keep custom roms and oxygenos seperated.