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.
1. I think it's really stupid forcing captcha before every post,
2. Stopping legitimate questions about a specific ROM from being posted directly on the specific ROMs thread until you have 10 post is also stupid,
3. I know it's pointless asking this question here SINCE THE DEV WILL NEVER SEE IT!!!!!!!, but have you ever considered incremental updates? The download site is slow and it seem pointless downloading the full ROM when only minor changes have been made.
mdhowes said:
1. I think it's really stupid forcing captcha before every post,
2. Stopping legitimate questions about a specific ROM from being posted directly on the specific ROMs thread until you have 10 post is also stupid,
3. I know it's pointless asking this question here SINCE THE DEV WILL NEVER SEE IT!!!!!!!, but have you ever considered incremental updates? The download site is slow and it seem pointless downloading the full ROM when only minor changes have been made.
Click to expand...
Click to collapse
I fully agree with Ypur first and second point.
Yeah, any idiot can get past a captcha.
There should be a test:
"you've flashed a ROM, but not the boot.img, should you:"
a) ask in the ROM thread why phone is broken
b) ask in Q&A section why phone bootloops
c) ask if flashing boot.img is required
d) tell everybody it's easier with Samsung
e) flash boot.img
I've been caught out by the 10 post restriction on the Developer threads, but usually found the answer after a quick search or just waiting a day or so to see if the same query gets raised.
As for incrementals, good idea for those that are coming from that base ROM, but not much for those that are flashing it for the first time.
Unless you want a new base ROM, and the incrementals? In which case poor Mr Dev does enough work already!
ARHD on my One X is working fine so far. I have the odd issue with not seeming to be able to connect over mobile data, but it is WAAAY less often than when it was stock. Pretty poor from HTC to release their flagship with so many radio based problems.
Meh. Mondays
Phew, glad I'm not alone with my frustration about captcha and post limits. Thought I might have seemed agro.
Incremental only on same base. Ie; 9.0.0 to 9.1.0. Seems silly downloading the whole 500mb for minor changes.
BenPope said:
Yeah, any idiot can get past a captcha.
There should be a test:
"you've flashed a ROM, but not the boot.img, should you:"
a) ask in the ROM thread why phone is broken
b) ask in Q&A section why phone bootloops
c) ask if flashing boot.img is required
d) tell everybody it's easier with Samsung
e) flash boot.img
Click to expand...
Click to collapse
Hahaha, made my night
Yeah, i also hated the unreadable Captcha o_0
Sent from my HTC One X / Desire HD using xda premium
Yep, just a pointless post to get my count up...
mattspew said:
1. I think it's really stupid forcing captcha before every post,
2. Stopping legitimate questions about a specific ROM from being posted directly on the specific ROMs thread until you have 10 post is also stupid,
3. I know it's pointless asking this question here SINCE THE DEV WILL NEVER SEE IT!!!!!!!, but have you ever considered incremental updates? The download site is slow and it seem pointless downloading the full ROM when only minor changes have been made.
Click to expand...
Click to collapse
I´ve got the "Point-2-Problem" too
Well, after reading nearly 300 sites in the ARHD Thread, i sometimes saw the same Questions by many Users with XXX Posts.
This let me doubt the 10-Post-Regulation, but i can also understand that the developers are herried about noob Spam...
Anyway... i think every noob can get a custom rom on a HOX by reading the Thread, just some Time is needed.
But it would be really nice when a newbie could also ask or share some experience, even on a brand new ROM like ARHD 9.1.0.
It is just to keep the thread clean is what I feel. Don't forget that everyone isn't a techie and might just post a dumb question upon registering.
BTW, I have never had to post a question since same is posted atleast once. If not, combining a couple of posts definitely answers my question :laugh:
Trust me, I am on 9.0.0 and it's worth waiting.
After checking topics with many roms I notice that developers here for some strange reason love to make alot of "addons" to thier roms and putting them on some not working, outdated hostings in the same time they put main files in some normal places like github, sorceforge. Is this global xda politic or I was just simply unlucky to check roms made by ppl that have totaly no idea where to upload files?
If by any chance anyone got working copy of addons to ILWT CM7 and SuperWipeG2+ext4 (because again everybody just link to some lame topic with outdated/not working links) I would be truly happy.
illviris said:
After checking topics with many roms I notice that developers here for some strange reason love to make alot of "addons" to thier roms and putting them on some not working, outdated hostings in the same time they put main files in some normal places like github, sorceforge. Is this global xda politic or I was just simply unlucky to check roms made by ppl that have totaly no idea where to upload files?
If by any chance anyone got working copy of addons to ILWT CM7 and SuperWipeG2+ext4 (because again everybody just link to some lame topic with outdated/not working links) I would be truly happy.
Click to expand...
Click to collapse
I don't have the add ons for ILWT, but here is SuperWipe http://cl.ly/0L0T1d2s103m
thanks alot
I love lg stock roms but love to have more control of the kernel and was hoping we could get a bounty to get a great kernel dev like dorimanx or if you guys have any other great devs in mind...G4 is a great device and I'm more than willing to donate if anyone is interested...Thanks!
There is already an early stock custom kernal available. dev is working on the Cyanogenmod Rom also.
http://forum.xda-developers.com/g4/orig-development/h815-tornadorx-r1-t3179317
IIIIkoolaidIIII said:
There is already an early stock custom kernal available. dev is working on the Cyanogenmod Rom also.
http://forum.xda-developers.com/g4/orig-development/h815-tornadorx-r1-t3179317
Click to expand...
Click to collapse
I have h811 T-Mobile...nothing in the works yet afaik...hoping to find a dev to build for all unlocked models and who is willing to add support for devices that get unlock/workaround down the line
jamesd1085 said:
I have h811 T-Mobile...nothing in the works yet afaik...hoping to find a dev to build for all unlocked models and who is willing to add support for devices that get unlock/workaround down the line
Click to expand...
Click to collapse
Fair enough, I didn't know you had the H811. Though I'm sure Mythops234 will be more than willing to look at other devices once CyanogenMod is into at least a beta state. Why not send him a PM.
IIIIkoolaidIIII said:
Fair enough, I didn't know you had the H811. Though I'm sure Mythops234 will be more than willing to look at other devices once CyanogenMod is into at least a beta state. Why not send him a PM.
Click to expand...
Click to collapse
I might talk to him once cm stabilty comes...they are busy enough without me asking more of them
When I get home from Saudi Arabia I can put together a nice stock custom kernel. It was on my list of things to do, but I have been hung up on getting a deodexed rom base going. Its proving to be a major pain in the ass. 64 bit isn't being very cooperative and coupled with the weird mounts and other generally weird crap with this phone afaik everyone working on traditional zip flashable roms are running into the same issues. I suppose I can put that on the back burner and make a kernel... I wont be home for another week or 2 though.
Thread closed.
This thread is omnidirectional, please make it linear.
OP if you would like to start a new thread, please be more specific in your title and then in the OP of your thread.
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.