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.
Related
seach is currently down.. i appologize..
so the past few weeks i've flashed what seems to be every rom that is out, and it's update.. i've sifted through them and narrowed it down to a few i switch between.. im to the point to where i'm curious as to the whole process and whats required to make a rom.. im sure there is a good deal that goes with it, but i'd just like to hear the jist of it all.. i currently run a windows xp os. im on a s-off droid incredible.. much thanks..
20twins10 said:
seach is currently down.. i appologize..
so the past few weeks i've flashed what seems to be every rom that is out, and it's update.. i've sifted through them and narrowed it down to a few i switch between.. im to the point to where i'm curious as to the whole process and whats required to make a rom.. im sure there is a good deal that goes with it, but i'd just like to hear the jist of it all.. i currently run a windows xp os. im on a s-off droid incredible.. much thanks..
Click to expand...
Click to collapse
Check out the chef central forum on this site. There is a kitchen that can be useful for modifying existing roms. Also, there is a topic titled "some advice" by cyanogen. That has some links that will help you get started. You should look into running some flavor of Linux (i prefer ubuntu, but you aren't limited to that distro). What is your experience so far?
sent from my Droid incredible using the xda app
I have no experience with any Linux distribution. Years back I always wanted to get into it just never did.. I'm good with taking pre existing code and learning it and adding to it.. I know I'd be going with a sense based rom, and try to add some functions from other existin told..
I will have to check out the chef forum here. I've never clicked over to it , bit it definitely sounds like it will ne helpful.. much thanks..
Sent from my ADR6300 using XDA App
*Any major linux distro
*Dsixda Kitchen: http://forum.xda-developers.com/showthread.php?t=633246
*ROM (comes in zip form)
*APKTool: Follow the video below to get that downloaded and setup on linux
The 4 basic things you will need, you can search the forums here for the Kitchen. Like previously stated you can use Ubuntu or Linux Mint which is based off Ubuntu.
A forum Member named Heyitslou made a tutorial on how to use the APKTool also: http://blip.tv/file/4382608.
The kitchen is pretty straight forward on what you can do with it...just follow the thread on how to set it up.
Remember be patient while you are making your ROM (some trial and error, best to work on a phone you dont rely on for important calls)...I have made my first ROM this weekend...I swear I had to cook it 50 times to get it working properly with what i wanted to change and add...so 50 ROM flashes=alot of time you wont be able to get calls... just a heads up. I am pretty sure next time I edit in some changes it will be faster and easier...The Kitchen is a great tool and does what you want..just got to know what not to do in the kitchen...it could be messy.
magneticzero said:
*Any major linux distro
*Dsixda Kitchen: http://forum.xda-developers.com/showthread.php?t=633246
*ROM (comes in zip form)
*APKTool: Follow the video below to get that downloaded and setup on linux
The 4 basic things you will need, you can search the forums here for the Kitchen. Like previously stated you can use Ubuntu or Linux Mint which is based off Ubuntu.
A forum Member named Heyitslou made a tutorial on how to use the APKTool also: http://blip.tv/file/4382608.
The kitchen is pretty straight forward on what you can do with it...just follow the thread on how to set it up.
Remember be patient while you are making your ROM (some trial and error, best to work on a phone you dont rely on for important calls)...I have made my first ROM this weekend...I swear I had to cook it 50 times to get it working properly with what i wanted to change and add...so 50 ROM flashes=alot of time you wont be able to get calls... just a heads up. I am pretty sure next time I edit in some changes it will be faster and easier...The Kitchen is a great tool and does what you want..just got to know what not to do in the kitchen...it could be messy.
Click to expand...
Click to collapse
im going to look into the Cygwin method as dsixda stated in the kitchen thread.. im anxious to getting to ripping out parts of roms and merging if possible..
so ima switch to the virtualbox/ubuntu method for this.. i think it will be easier for me to solve issues with community support this way..
20twins10 said:
so ima switch to the virtualbox/ubuntu method for this.. i think it will be easier for me to solve issues with community support this way..
Click to expand...
Click to collapse
I recommend just going ahead and installing the OS directly, but that's just what I would do.
sent from my Droid incredible using the xda app
maybe at some point in the future if my brain becomes that curious to the OS itself.. for now this method will do..
so i downloaded the java6 bin and jre, trying to install it via terminal i'm getting nowhere..
dpkg-i command not found
java installed
kitchen installed
now to go rip apart my laundry tub plumbing and replace it..
whats the nitty gritty on getting behind the scenes on a previously compiled ROM??
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
I've got a working development set-up and have compiled the Lollipop files and kernel for the vk815 with it. I've installed the SDK but using the 'emulator' is less than easy. I could use help with creating a vk815 config so I can bounce my outputs against it. I would also like to compile TWRP and run that through the 'emulator'. The pre-compilation for that isn't going well and I need some hand holding. Once I'm finished, I'll be happy to share but I really need some help with this last half of the project.
Thanks,
Jim
jowski said:
I've got a working development set-up and have compiled the Lollipop files and kernel for the vk815 with it. I've installed the SDK but using the 'emulator' is less than easy. I could use help with creating a vk815 config so I can bounce my outputs against it. I would also like to compile TWRP and run that through the 'emulator'. The pre-compilation for that isn't going well and I need some hand holding. Once I'm finished, I'll be happy to share but I really need some help with this last half of the project.
Thanks,
Jim
Click to expand...
Click to collapse
Yeah I can't help you with that one. It's over my pay grade but I do want to say thank you and applaud you for this. I've been really surprised no one has stepped up to the plate for this. Thanks for this
Any progress on this?
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:
Dear Admins,
Can we have a separate section for oreo related moda, apps and themes... This will ensure users from installing unsupported stuffs as wells as to avoid getting bricked/boot loop. This can also be used as a one stop place to look for oreo related stuffs...
kpmohamedhussain said:
Dear Admins,
Can we have a separate section for oreo related moda, apps and themes... This will ensure users from installing unsupported stuffs as wells as to avoid getting bricked/boot loop. This can also be used as a one stop place to look for oreo related stuffs...
Click to expand...
Click to collapse
really ...anyone who gets a brick because of not reading a thread certainly shouldnt be xda or even messing around with the phone in the first place. just stay stock if you wont read
We survived finely when Nougat was still new, so what makes Oreo special?
There's simply no good point to making a whole section for a particular version of Android. The same thing can be done simply with a proper thread title.
The problem isn't purely on the lack of separation of sections — It's the 5 seconds attention span that most seems to have because they can't read the first post of the thread they're in or they're too busy looking at butterflies and they ended up destroying their device and/or data inside the device.
I know we can't fix people, but that doesn't make for a good argument for creating a new section.
kpmohamedhussain said:
Dear Admins,
Can we have a separate section for oreo related moda, apps and themes... This will ensure users from installing unsupported stuffs as wells as to avoid getting bricked/boot loop. This can also be used as a one stop place to look for oreo related stuffs...
Click to expand...
Click to collapse
As stated. This is not gonna happen. If you cant do the proper research needed for what you are doing then you shouldnt be doing it in the first place.
I disagree with OP - there shouldn't be separate section for Oreo stuff. Ask yourself - what would happen, if released mod would be compatible with Marshmallow, Nougat and Oreo?
Okay, now that's not going to happen. But what can happen is in every thread the op can state the supported android versions first or the rom's android version first and then state what is the thread for (rom, mod, source code...). Something like "[7.1.1][ROM] Resurrection Remix 5.8.4 SomethingTweaks Edition" and not "[OH YEAH BABY WE SUPPORT COLOR ENGINE] CrazyManiacLunatic Tweaks". All the OPs should first give the supported android version or the rom android version then state what is the thread about and then write the rom that they are based on then write the name that they've given. But they MUST write the android version and the thread's reason to exist at first. Because this way when you are looking for an oreo rom you just have to look inside the first bracket and find it quickly instead of checking each thread's name to first find out where is the version and then looking at the version.
charackthe said:
Okay, now that's not going to happen. But what can happen is in every thread the op can state the supported android versions first or the rom's android version first and then state what is the thread for (rom, mod, source code...). Something like "[7.1.1][ROM] Resurrection Remix 5.8.4 SomethingTweaks Edition" and not "[OH YEAH BABY WE SUPPORT COLOR ENGINE] CrazyManiacLunatic Tweaks". All the OPs should first give the supported android version or the rom android version then state what is the thread about and then write the rom that they are based on then write the name that they've given. But they MUST write the android version and the thread's reason to exist at first. Because this way when you are looking for an oreo rom you just have to look inside the first bracket and find it quickly instead of checking each thread's name to first find out where is the version and then looking at the version.
Click to expand...
Click to collapse
Yeah that is not gonna happen either. This gets brought up every few years and the answer is always the same. The devs can name their threads anything and any way they want. Heck they don't have to encludes any info at all.
People seem to forget that this is a developers site. Not a rom site or a support site. You are expected to do your own homework and have all the info you need before flashing. That encludes how to use command line to recover from something bad happening.
zelendel said:
Yeah that is not gonna happen either. This gets brought up every few years and the answer is always the same. The devs can name their threads anything and any way they want. Heck they don't have to encludes any info at all.
People seem to forget that this is a developers site. Not a rom site or a support site. You are expected to do your own homework and have all the info you need before flashing. That encludes how to use command line to recover from something bad happening.
Click to expand...
Click to collapse
Well, developers love mentioning how they won't take responsibility if anything happens in every single thread over a million times but they seem to forget that people are looking for most basic info in the OP post. Developing can only be achieved if you acknowledge something and share it with others. The progress can not be achieved without information. I'm not going to flash a rom just to see if it is a Nougat or an Oreo rom. And I'm not going to flash all versions of modems to see which is the right one. Developers and maintainers must inform casual users or other developers about what is they are looking at. Sharing is caring. Not everybody likes to use something they don't know.
charackthe said:
Well, developers love mentioning how they won't take responsibility if anything happens in every single thread over a million times but they seem to forget that people are looking for most basic info in the OP post. Developing can only be achieved if you acknowledge something and share it with others. The progress can not be achieved without information. I'm not going to flash a rom just to see if it is a Nougat or an Oreo rom. And I'm not going to flash all versions of modems to see which is the right one. Developers and maintainers must inform casual users or other developers about what is they are looking at. Sharing is caring. Not everybody likes to use something they don't know.
Click to expand...
Click to collapse
And that is what a Gerrit is for.
To be honest. Causal users are not the focus here.
zelendel said:
And that is what a Gerrit is for.
To be honest. Causal users are not the focus here.
Click to expand...
Click to collapse
I see you all over the place! You are retired? You post on here like its full time lol
ZVNexus said:
I see you all over the place! You are retired? You post on here like its full time lol
Click to expand...
Click to collapse
I am a retired mod. My job allows for me to always be lurking around. Every couple of hours or so I check my email and catch up.
Been that way for as long as I can remember. Heck I used to be on far more in the early years.