[Q] Help Needed developing newest battery tweak - Hero CDMA Android Development

Collin_ph here. I've been working for literally months trying to get my battery tweak on the android market. The problem is that I don't do front end java development.. or should I say, I never have done it before. I have 2 full time jobs as a developer and a business owner and really don't have time to learn another language and framework. I'd LOVE to work with someone who A. is Experienced, and B. Has the time to work on something like this.
The next version really is going to be great, I just think it's time to get it on the marketplace so it's compatible with more than just certain ROMS on the Hero. I know it's technically possible.. I know the ins and outs of making it work, I'm just way behind on making a pure android app. If anyone really really wants to help, let me know. I'm wanting to make a profitable app on the market, and I want someone who'll share in the vision and the profits. There'll always be a free version, especially for XDA users. If you're interested, please PM me. This will make 3 times I'll be starting over because developers don't really have time to work on the project. If you're like me, you know this has potential.

Let's do it

collin_ph, will there be a shell script version of new battery tweak too, yes?
i think shell script is efficient and stable enough for me and i don't want to install an android java app.
love your tweak!!

collin_ph said:
Collin_ph here. I've been working for literally months trying to get my battery tweak on the android market. The problem is that I don't do front end java development.. or should I say, I never have done it before. I have 2 full time jobs as a developer and a business owner and really don't have time to learn another language and framework. I'd LOVE to work with someone who A. is Experienced, and B. Has the time to work on something like this.
The next version really is going to be great, I just think it's time to get it on the marketplace so it's compatible with more than just certain ROMS on the Hero. I know it's technically possible.. I know the ins and outs of making it work, I'm just way behind on making a pure android app. If anyone really really wants to help, let me know. I'm wanting to make a profitable app on the market, and I want someone who'll share in the vision and the profits. There'll always be a free version, especially for XDA users. If you're interested, please PM me. This will make 3 times I'll be starting over because developers don't really have time to work on the project. If you're like me, you know this has potential.
Click to expand...
Click to collapse
jasonmaloney said:
Let's do it
Click to expand...
Click to collapse
LOL, with JM throwing his hat in the ring, you KNOW you're gonna have a winner!
A huge thanks to both of you guys!

In the long run, I really don't have any plans to continue the shell version. There are a lot of misconceptions about the shell version-- a lot of people think that there is no process that continues running, however, there is. I have a plan to have a very similar setup with the java version that should still have a small cpu and memory footprint.. possibly even smaller CPU usage as the Java version can be event based rather than timer based. Anyway, just know that I will do whatever possible to make the program fulfill its need the best and most efficient way possible. With Java, we can be usable on more than just a hero without having to port it every time, we can run on different roms without porting, we'll be able to run more things event based and remove most of the timer based things (if not all), and lastly, we'll be able to do things that we weren't able to do in shell. I'm excited for the new version, but as always, it's job is to make the phone faster and give it better battery performance. The new version will most likely be called "tweak tool", as Battery optimization will be only one of its functions, but the most important.
Anyway, after Easter, I'll be sitting down and going over a plan for the new version (once more). Hopefully we'll get a full blown launch out of this attempt.

collin_ph said:
With Java, we can be usable on more than just a hero without having to port it every time
Click to expand...
Click to collapse
I say Hooah!!

Haha. I'm excitied. Hopefully you two will join together. This is gonna be outstanding! Ha. Yea I know I'll shut up.

I'll have to learn how to write Android apps. Already know Java.
Can't be that hard after modifying Android source, right?

jasonmaloney said:
I'll have to learn how to write Android apps. Already know Java.
Can't be that hard after modifying Android source, right?
Click to expand...
Click to collapse
If you set up Eclipse, there is a lot of help/examples available. App Inventor is another tool that might be an option, perhaps less flexibility, but a "block" oriented approach that does a lot of the work for you.

jaybob413 said:
If you set up Eclipse, there is a lot of help/examples available. App Inventor is another tool that might be an option, perhaps less flexibility, but a "block" oriented approach that does a lot of the work for you.
Click to expand...
Click to collapse
I've tried appinventor and as a developer, it feels totally bass ackwards. I'm no java developer, but I've already put together a couple of tests in eclipse, which is the direction I want to go-- especially since I'll be doing everything in my power to make sure it's optimized.

jasonmaloney said:
I'll have to learn how to write Android apps. Already know Java.
Can't be that hard after modifying Android source, right?
Click to expand...
Click to collapse
Holy crap, if you AND jaybob are going to help collin_ph, this app is as good as gold. You two are by far two of the most dedicated and steadfast devs I've ever known on XDA.
Excited to see what comes out of this, happily willing to buy any app that comes out of it as support

Related

Ok, I lied :-)

Ok guys, it's been brought to my attention that my post was
1. Cantankerous.
2. Seemingly disrespectful of devs great work on here.
3. Taken too seriously for being an internet forum.
I would like to say sorry, and explain what I mean I tihnk it would be awesome to pull together the necessary funding for our very talented developers to create an XDA exclusive, completely original ROM. I'm not sure if it is possible, but something that is just for the Thunderbolt alone and isn't sense, isn't AOSP, isn't MIUI, and DEFINITELY not like Motorboat... I mean Motorblur. I think we really are on to something with the work that the Dev's are doing with taking different roms and porting them/using other roms as bases and then building from them; lets see what we can do to completely change the way that this stuff is done(if possible) by polling ideas(not unreasonable wishlists) and putting it all together. Possibly coordinating between Team BAMF, Chingy, and some other the other recognized DEV's.
What does everyone else think?
htcdesirezgeorge said:
I'm not sure if it is possible, but something that is just for the Thunderbolt alone and isn't sense, isn't AOSP, isn't MIUI, and DEFINITELY not like Motorboat...
Click to expand...
Click to collapse
If it isn't sense/blur/touchwiz, it is AOSP. Miui is just modified AOSP (with no sources given back), just like all the other roms not sense/blur/touchwiz are also based on AOSP. You do know what AOSP means right? Android Open Source Project as in the android operation system that is the basis to all android phones just modded by the OEMs. What you're asking is similar to saying:
"Hey, I'm bored with linux, unix, osx and windows, can we make a new operating system totally not based on any of those for our computers?"
Perhaps rephrase your question one more time in a way that makes more sense? Third time is a winner
yareally said:
If it isn't sense/blur/touchwiz, it is AOSP. Miui is just modified AOSP (with no sources given back), just like all the other roms not sense/blur/touchwiz are also based on AOSP. You do know what AOSP means right? Android Open Source Project as in the android operation system that is the basis to all android phones just modded by the OEMs. What you're asking is similar to saying:
"Hey, I'm bored with linux, unix, osx and windows, can we make a new operating system totally not based on any of those for our computers?"
Perhaps rephrase your question one more time in a way that makes more sense? Third time is a winner
Click to expand...
Click to collapse
Ya got a point, I actually didn't know that! BUT, regardless of how its phrased, what do ya think it would require to do somethig like I mentioned? I, personally would love to see something excitingly new put out here. Like with the miui project, any chance of people putting their heads together to figure it out?
You've got OS's and you have UI's. Obviously it is entirely possible to custom build a UI, but its FAR more difficult than porting one over or mixing and mashing parts of Sense together. UberBAMF is definitely something new and out of the box. That's more radical than anything I ever expected... Or have ever seen elsewhere. UIs do a lot to sell a device, so its worth it for HTC or Samsung to invest in building one. Not so much for a team of volunteer devs.
htcdesirezgeorge said:
Ya got a point, I actually didn't know that! BUT, regardless of how its phrased, what do ya think it would require to do somethig like I mentioned? I, personally would love to see something excitingly new put out here. Like with the miui project, any chance of people putting their heads together to figure it out?
Click to expand...
Click to collapse
Chances are unlikely to get a new user interface geared to only one phone built from the ground up from the android source by a team for a few reasons:
1) Lack of like-minded (knowledgeable) developers for one device that are currently free. Developers are very opinionated (just from my own experience even if they don't want to admit it). What should/shouldn't go into it would be a mess to deal with and debate alone, especially since the opinions of developers are generally not the same as those that don't develop. The ones already developing most likely don't want to give up their current projects as well. Basically, the developers that want to develop already have their projects and most treat them like it's their "baby" and most likely not willing to give them up or put them on hold. That moves into issue #2
2) Time. It would take considerable amount of time and organization to do that. Probably to get something stable that's original would take longer than most people would keep their Thunderbolt. Guys that work on their phones do this part time for fun as well and that combined with other side projects would press for time.
3) True developers & designers. There's a big difference between hacking some already made stuff to work with things and actually writing object oriented software from scratch. Obviously some guys putting stuff out for the thunderbolt are true developers that code professionally and others are just hacking around making things work done by others. Both have their uses, but you need real development for something like this and I don't think there's enough of those willing.
Forgot to add that the only way change happens is to build interest, so don't let my pessimistic observations detour anyone from posting their thoughts and ideas in this thread

[Q] Coding Android Game - Where to Start?

Hello,
I would like to get into Android game development, mainly as a hobby, but given how obsessed I can get about hobbies I will not rule anything out! I have limited programming background (a bit of C, VBA, JavaScript...just the basics: variables, If/Else, For/While Loops, Arrays, functions, sub-routines etc..) but I tend to pick these things up fairly quickly....however I expect this to be a real long term project for me.
I have attempted to determine a sensible starting location and direction for a beginner to get started, but with so much information it really is a little overwhelming and I can't figure out what would be the most productive way to spend my time right now.
I gather that Android development requires Java knowledge, right? If yes, can anyone recommend any good websites/books with tutorials and code samples that can be used by someone who doesn't have an coding background already? To what sort level should I try to attain in Java before it's worth considering the Android specific side of development (I'm aware 'level' might be very hard to define!), or should I be thinking about these things in tandem from fairly early on?
If anyone has gone through a similar process, can you share your experiences? Pitfalls to avoid? Things not to overlook?
I have a couple of hours a night to dedicate to this for the foreseeable future, so any help filling that time efficiently would be much appreciated!
p.s. If there is a forum that is more suited to my question that I'm not aware of then please let me know!
Thanks!
Jess
I once wanted to become a droid developer too bro! I didn't get far though as I needed to focus on my day job more.
Anyway, what I did was learn about SDKs first. Just google it up, there are actually a lot of tutorials on the web. You'll need to be prepared to spend some money though for the SDKs.
you might get an idea here
http://marakana.com/s/intro_to_android_development_tutorial,1018/index.html
good luck
cepcamba said:
I once wanted to become a droid developer too bro! I didn't get far though as I needed to focus on my day job more.
Anyway, what I did was learn about SDKs first. Just google it up, there are actually a lot of tutorials on the web. You'll need to be prepared to spend some money though for the SDKs.
Click to expand...
Click to collapse
Thanks for the advice, I noticed that google has it's own SDK, is it still worth investing in one of the other options?
shanman-2 said:
you might get an idea here
http://marakana.com/s/intro_to_android_development_tutorial,1018/index.html
good luck
Click to expand...
Click to collapse
Thanks for that. I've watched the first three so far, and have Eclipse & the SDK manager set up now. It was interesting to see that Android code is actually compiled twice, and given that the second stage doesn't have to be Java, it means that you can write the apps/games in something else, e.g. C.
Do you have any advice regarding which language would be the most sensible to code with? Apparently C is much faster for some things, so maybe it would make sense to dedicate myself to learning that rather than Java?
I don't know which would be best. All I can say is that I am learning java at the moment and hope to move on to android soon!!
Interesting to note Oracle are in court with Google at the moment in regards to copyright infringement. Android really is not a programming language , it's a mix of other languages....
I recommend this book...
http://goo.gl/APX0w
You can obviously get it at other places, and cheaper than that too, but it's a great book. It covers setting up Eclipse and the Android SDK and gets you going with lots of the major elements of both Java and Android together.
I rate it, but I rate Sams books in general. They've always been good.

[DEV]Project Magenta, an iOS-like OS. Anyone interested? + Need devs!

http://crna.cc/magenta.html
Magenta is an implementation of Darwin/BSD on top of the Linux kernel. It is made
up of a number of kernel and userland components that work together. It is fully binary
compatible with iPhone OS 5.0 (as in, it uses the same binary format).
Click to expand...
Click to collapse
I am now chatting with the dev on IRC. I want to know if anyone is interested in this, so i know if i will continue the porting or not.
First we need to build the kernel, so we need a kernel dev. There's a DIFF that needs to be applied.
The files are here: http://crna.cc/magenta_source.html
What do you think? Also remember THIS IS A DEV TOPIC, so no asking for ETA & stuff. Nagging will result in locking the topic and discontinuing this.
EDIT: Remember, this has nothing to do with Apple. Everything is Open-Source, so we have the stability of C instead of Java, but also the openness of Android!
Edit 2: Looks like there aren't many devs interested about this, and also there would be no advantages. You can't run Android Apps, nor iOS apps...
What good points will this release have besides compability with iOS apps ?
Not just the "look like android", it can still have a android look but iOS compability, that sure opens a wide horizon. Cross platform apps. It's awesome i think.
MidnightDevil said:
Not just the "look like android", it can still have a android look but iOS compability, that sure opens a wide horizon. Cross platform apps. It's awesome i think.
Click to expand...
Click to collapse
It won't run iOS apps.. below was mentioned on project website
" to make it myself). * Will it run iPhone OS apps? * No, because I'm not aiming to have compatible high level frameworks. Just think about how much work is required to have a 100% compatible implementation of UIKit or Celestial. HOWEVER, the CoreOS part should be 100% (or 99%) compatible. Just not the higher level OS. If you're just interested in this because it will "run iOS apps" please go away."
Sent from my HTC Desire using xda premium
I can contribute, maybe even run the thing (no promises, in my spare time, won't support it just drop the thing for you, I'm busy next few days though)
Still working on kernel 3.0
Sent from my Desire HD
This has nothing to do with iOS' lockdown. It is as open and as free as Android.
In Layman terms; does this mean magenta just runs Android on C and not Java meaning more efficient execution of tasks?
So is it just a ios themed rom, or does it actually have some of the real advances from the ios?
Sent from my HTC Desire using xda premium
I'd be willing to dev, but I'm afraid I don't have too much experience.
I know my way around C++ and Python, and I can do Hello World in C. I can read most code though.
It's funny to see people excited with this when they don't know what benefits this development will actually bring :b
I'm not against this at all, please don't take this the wrong way, but to invest in such kind of development you need to have benefits, so, what are they ?
like to contribute
I would like to contribute on development.I know Objective C, worked on few Iphone Apps.
andreigherghe said:
http://crna.cc/magenta.html
I am now chatting with the dev on IRC. I want to know if anyone is interested in this, so i know if i will continue the porting or not.
First we need to build the kernel, so we need a kernel dev. There's a DIFF that needs to be applied.
The files are here: http://crna.cc/magenta_source.html
What do you think? Also remember THIS IS A DEV TOPIC, so no asking for ETA & stuff. Nagging will result in locking the topic and discontinuing this.
EDIT: Remember, this has nothing to do with Apple. Everything is Open-Source, so we have the stability of C instead of Java, but also the openness of Android!
Edit 2: Looks like there aren't many devs interested about this, and also there would be no advantages. You can't run Android Apps, nor iOS apps...
Click to expand...
Click to collapse
the most (and only - for me- ) interesting side of this project is having the stability of C instead of Java. Android will be stunning and awesome if it get over java. but iOS like !! nah.
and good luck with that cuz there is people who want it and seems excited about it :highfive:
I'm willing to help, will be getting my uart cable soon.
Sent from my GT-I9100 running CM10
icecreame said:
the most (and only - for me- ) interesting side of this project is having the stability of C instead of Java. Android will be stunning and awesome if it get over java.
Click to expand...
Click to collapse
You can easily develop for Android using C (Google NDK). What preventing YOU from doing it? But generally that is terrible idea unless someone have got tons of already written code that is too costly/time consuming to port/rewrite. And it is awful idea because it defy purpose of Java compatibility. We got phones out there that are running Android on top of x86/MIPS processors. And thous phones have no problem running absolute majority of Android applications. Plus few startups are developing new processor architectures, because Android would let them access huge software library transparently. And that is fundamental idea behind Android, let OS run on any processor, current or future one, with application developers having no need to port or even recompile their code for new architectures/processor models.
My friend is very intrested in this he is a programmer in c and c++ and c#
Thread closed per OP request, as development has stopped for good on this project.

What's The Best Way to Learn Android.

I really want to learn how Android works. I want to be able to build Android from source, and compile Roms. The goodies. But anytime I try, it's end up horribly. I just want to know where to start! Should I make a stock based Rom, and learn how to tweak it out? Should I buy a certain book, or read some threads! I don't know Xo I really want to become a Dev. Android is my life, and I want to be able to do what Strapped, XMC, and Tbalden do. Any tips are good tips.
I sure do wish you all the luck in the world Agent. And you certainly want to fashion yourself after three mighty fine developers too. I've had some of those same desires myself after seeing what someone that knows their stuff can do. I had so much trouble with HS Spanish and a few AutoCad Lisp routines that I can't even imagine biting off C++ or some of the other programming languages!
My youngest son though.....now that's a completely different story. :good:
WeekendsR2Short said:
I sure do wish you all the luck in the world Agent. And you certainly want to fashion yourself after three mighty fine developers too. I've had some of those same desires myself after seeing what someone that knows their stuff can do. I had so much trouble with HS Spanish and a few AutoCad Lisp routines that I can't even imagine biting off C++ or some of the other programming languages!
My youngest son though.....now that's a completely different story. :good:
Click to expand...
Click to collapse
I wanna learn while I'm still young, I'm out of school for the time being. I really want to take advantage of these couple Months before life is all about business, and how to properly Manage/Own a T-Mobile.
Sent from my myTouch_4G_Slide using Tapatalk 2
NOW is the time my friend before life gets in the way of your youth and ambitions. It WILL distract you and before you know it spare time will seem like it never comes often enough. I admire ALL of you that persue what interests you and learn while that mind is still fresh. KWIM?
WeekendsR2Short said:
NOW is the time my friend before life gets in the way of your youth and ambitions. It WILL distract you and before you know it spare time will seem like it never comes often enough. I admire ALL of you that persue what interests you and learn while that mind is still fresh. KWIM?
Click to expand...
Click to collapse
Hell Yeah, I'm considering taking classes at the local community college for Java. Apparently it's useful for learning Android. I go to a strictly business college. So I can't learn anything related to Android.
Sent from my myTouch_4G_Slide using Tapatalk 2
OK, so I have an Idea. I want to do what CM said, and learn the basic. I'm going to use Undeads Sense 3.0 Port as a base, and theme it to Sense 4.0. Remove the Bulletproof settings, and push over another tweak app. I want to make it as fast as possible, and have great battery. I always felt Sense 3.0 was the smoothest Sense rom we ever got. Zero Hickups, and No Lag. I'm going to at least do it on a personal level. Try to get a hold of Undead (he's IP Banned on XDA & Rootz), but it may be hard. Maybe even try and get the Amaze Camera Mod working. Just simple, basic things. Once I get used to the waters, I'll try something bigger. Like Paranoid Android.
I just found an Interesting guide about porting any Sense rom, to any Sense Phone. Pssshh, could you image Sense 2.1 on our phone. That would be sweet. The guide is boosted to be made for the most simplest of minds. So I feel I can take extreme advantage of it.
Sent from my myTouch_4G_Slide using Tapatalk 2
Keep on plugging - I admire your determination. And please keep letting us know how you're getting on - the start of a journey.
Sent from my myTouch_4G_Slide using xda premium
Alright agent since I can't quote your last post, I was on the inc2 forums and they have a wifi issue that's solved by turning the always on data off
Sent from my HTC MyTouch 4G Slide running MikXE
Where is Blue when you need him?
::Respect::
Hey guys!
I would say that making a post or thread like this is really the first step - knowledge can be gained, but the passion, that drive to work through all the tedious testing, retesting, writing and re-writing is not something that can be taught.
So start small.
We all have grand designs, plans and ideas - heck there's so much this device is capable of that I want it to do, starting everything at once just leads to unfinished projects and fragmented learning.
If you bring that excitement, that hunger for knowledge, then the rest falls into place but it takes time.
"I never let school interfere with my education"
...is such a fantastic quote. It's up to you to choose to take the time to sit down and read a technical document, white-paper or tutorial while your friends are out wasting time.
Definitely make time to walk away and socialize with real people, but remember that learning how to do this stuff takes a lot of time, effort and tons of frustration and dead ends.
I've been playing with software code for near 20 years now, and I still consider myself not much past amatuer status.
...and status means literally nothing. The only two things that matter are what you know, and what you don't.
So don't lie to yourself. Don't pretend to know something just because you are afraid of what people will think if they find out you don't. It's okay to say "I don't know"
In fact, it's essential to be able to say that not only to yourself, but to be able to admit that to the community, your friends, whomever.
If you don't, then you have no place to start learning. Pretending to know something just prevents you from actually being able to start learning how to do it.
So, after you are comfortable with a truthful assessment of what you can and can't do, the next step is to figure out how to go about learning what you don't know.
The biggest mistake everyone makes is taking on a huge project because that's what the end goal is.
"A journey of a thousand miles begins with a single step"
...another good one!
I'm sure we've all heard it before, but haven't pondered it so deeply. Another way to say it might be:
"The making of an awesome ROM begins with changing a single icon"
Break down the project you want to do into the smallest possible steps.
Can you decompile an app?
If not, definitely learn how to do that.
Once you have it decompiled, browse all the code. Especially what you don't understand or makes no sense. Don't try to understand it all, just absorb it and get to know what it looks like.
Now do that with every app on your device (play with all the stock apps first - they all came from the same place and reflect a certain coding style)
Now that you've browsed through all the code of all your stock apps, do it again. ...and again ...and again ... and again.
Sick of it yet? It's been a few weeks now and you've learned nothing you can directly use.
This part always separates the people serious about doing it from the ones turned off by all the tedious work with nothing concrete to show for it.
I mean, you've spent a couple of weeks just looking at code with no idea what you are looking at.
What you don't immediately notice is that you start to get a sense of the pattern, the layout, and what things are the same, similar, and completely different.
Now you start looking at tutorials you've read in the past and go 'wow, I know kinda what that means, I saw something like that in the code here!'
Ah - now it begins!
When it gets to be too much, do something you can handle from start to finish.
Change an icon, tweak the color of a font, something simple, but that you can feel the pride of success and accomplishment in.
Can you compile an app?
Decompile a working app - change nothing - then recompile it. Install it on your device.
Does it still work? Probably not.
Why?
Ah - the question that drives us.
9 times out of 10 someone releasing something cool is not because they wanted to make it, but because they wanted to learn how to make it.
One thing people forget all the time is that the stock software on the device is built by teams of people with delegated tasks and diverse talents that TOGETHER contribute to the success of the final product.
You? You're alone. You have to do it all. Graphics, sound, coding, planning, research, testing - you are taking a project that requires untold hours of dedication from a team of people ... Maybe just on the graphics alone. A whole other team is working on sound, another team is working on code, there is management to structure goals and delegate tasks.
Managers who may have no technical ability but a good handle on how to keep everyone moving and workikng cohesively. Other management that is keeping the teams on point with each other.
...and it still takes them lots of time to get things done. Not because it's some bloated over-staffed group with too much red tape (though that does happen) - but more because there is simply so much to do.
The next time I spend 40+ hours behind the keyboard with maybe not even a bathroom break won't be the first nor the last. I've sat down to do something on Friday and had someone stop by on Sunday night and I'm still in my work clothes from my day shift Friday, didn't even realize Saturday came and gone.
Does it all require that level of dedication - no, but, you get lost in it and that can happen. Never force myself to do it, just get caught up in learning it all.
Don't expect too much from yourself. You absolutely have the community behind you and so much knowledge here, tons of people willing to help, but in the end it's up to you.
You to do graphics.
You to do sound.
You to write the code.
You to compile it all.
You to figure out why it doesn't work ( and it rarely does).
For every success, you have many, many failures to get there. Especially starting out. Expect to get it wrong. Expect it to be broke just because you touched it. If it isn't, honestly, you're doing it wrong.
We learn so much less from success then we do from failure. If you aren't failing you aren't learning. If it always works the first time, then you are just doing the same tired stuff you always have.
You wanna learn how to code for Android?
Read everything you can, absorb the forums, go download source and browse it. Decompile all your apps and browse them. Start looking up what you don't know.
For every one thing you do learn, you realize there are ten new things you never knew you didn't know.
Now go learn about them, because each one of them will lead you to something else, or many something elses that you didn't even realize you didn't know.
...and did I mention put lots of time into ignoring what you want to do, and learning how to do it one tiny little piece ata time?
Patience is most important.
The patience to only change one variable, recompile, test, test, and test some more. Then, when you are satisfied with the result of one minor little change, make one more tiny change and repeat the process.
Learn the scientific method, and follow it rigorously. If you don't, might as well not bother getting into this stuff because all you will do is get frustrated.
You have to work slowly, patiently, one small step at a time. Try to predict the result of the tiny change you made, and then see if it was what you thought or a surprise. Why was it a surprise?
The question of why is the only thing that matters. Every one of those you answer is one more weapon at your disposal for the battle, one more tool in your box, one more pencil on your desk.
If you have little to no coding experience and expect to sit down and whip out a ROM, you are only setting yourself up for failure. But one day you can, with hard work, lots and lots of time, uncountable failures and hours of frustration and coding something just to have it not even compile, let alone work.
Have you taken the time to map the device?
When you got it stock, you should have put a file browser on it ( root explorer - just buy it already, you need it) and browsed the entire device.
Take a notebook and write out a full device tree on paper, everything you can see. Every folder, every file or folder in them, sizes, permissions, any detail you can see.
Why? Because it already works. You are lookoing at how a working ROM is structured.
I mean, how can you make something if you don't know what it is, looks like, how it acts?
Learned ADB and fastboot yet? Why not? You wonNt be successful if you don't.
This is a pretty long list already - and we've barely scratched the surface. A ROM is not a Sunday afternoon project - a ROM is a dedicated months and months long never ending project that eats up more time then you have every day.
So I'll leave you with one last thing before I go make a thread that people aren't gonna want to see - but I'm not leaving you guys, far from it.
Learn algebra, learn it well, or don't bother attempting to write code. (Or work in any construction trades/build anything professionally.)
Algebra is the single most important learned skill one can pick up across just about anything you can ever do with your life, and absolutely vital in computing.
There really is no "go here, learn this" method - you need to aquire the skills necessary to succeed in your project.
So go break something (minor - don't brick your phone) and then learn how to fix it. ...and pay attention in math class.
Sent from a digital distance.
Blue6IX said:
Huge Epic Post.
Click to expand...
Click to collapse
It's like your a warlock and when I typed your name, POOF! :victory:
This post covers every aspect you could ask for, I'm sure Agent isn't the only one who will gain knowledge from this post, thanks Blue!:highfive:
CoNsPiRiSiZe said:
It's like your a warlock and when I typed your name, POOF! :victory:
This post covers every aspect you could ask for, I'm sure Agent isn't the only one who will gain knowledge from this post, thanks Blue!:highfive:
Click to expand...
Click to collapse
Hell. Yeah. I'm just going to start theming. I want to make the ICS messaging Icon blue, and a blacked out UI.
Sent from my HTC MyTouch 4G Slide using Tapatalk 2
I just got ubuntu on my computer, spent an hour trying to install java lol. Now to figure out why adb doesn't work the way it does in windows haha.
edit: finally got adb working. i have no idea what i did, but after installing a bunch of different libs, time to start exploring haha =D
ekoee said:
I just got ubuntu on my computer, spent an hour trying to install java lol. Now to figure out why adb doesn't work the way it does in windows haha.
edit: finally got adb working. i have no idea what i did, but after installing a bunch of different libs, time to start exploring haha =D
Click to expand...
Click to collapse
Java was a b***h when I installed an unsupported version for compiling. This is helpful though it will guide you through installing and it can even switch java versions if you don't like your current one
AgentCherryColla said:
Hell. Yeah. I'm just going to start theming. I want to make the ICS messaging Icon blue, and a blacked out UI.
Sent from my HTC MyTouch 4G Slide using Tapatalk 2
Click to expand...
Click to collapse
I saw this done on AOKP website as a mod, i think this plus built in messaging pop up like an MIUI thing would b beast
::Respect::
ekoee said:
I just got ubuntu on my computer, spent an hour trying to install java lol. Now to figure out why adb doesn't work the way it does in windows haha.
edit: finally got adb working. i have no idea what i did, but after installing a bunch of different libs, time to start exploring haha =D
Click to expand...
Click to collapse
Man, i'll tell ya - if you had to pick the one thing someone would do to take a step into learning to bend android to your will, installing linux is the best reply possible.
Windows is great to get your feet wet, and can manage some things more easily - frilly stuff, eye candy type details.
If you want to talk about experiencing the thrilling joys of success all that invested effort brings - doing so on a linux box is so much more rewarding then on a windows box.
Definitely see about getting a second monitor if you can swing it. Working with two display panels more then doubles your productivity. You can have a tutorial on one screen and be following along on the other.
That aside, one reason the linux box is so much more rewarding is because of the range of things you can mess with.
You can't work with a kernel in windows. Already right there the most important part of the ROM is off limits to you in a windows box. (as I sit here typing this on windows - mind you.)
Another reason linux is so sweet to work on for coding android is that they speak the same language. Writing code is quicker and easier, connecting the device happens more seamlessly and swiftly.
All these little things add up to save you time.
...and time is your greatest hindrance. It slips by all too quickly and then you are obligated to walk away and do something else. So being able to squeeze more work into less time is the consistent refinement of what you know.
Rarely do you learn how to do something the most efficient way on your own, and really that is the heart of open source. You can see how someone else did something, and learn from how they got there.
I've communicated with people I couldn't speak the language of through code, sending changes back and forth without any written correspondence.
To be able to explain the various joys and experiences learning computer coding has brought me would be impossible. There is so much intangible awesomeness that comes from investing time into learning all of this.
Especially since cell phones are so popular and mobile computing is so easy any more. Being able to bend the device in your hand precisely to your will is ever becoming a more important skill to have.
For those wanting to invest that time into what brings us all here collectively, the rewards really are beyond what you would think starting out.
As much as I wanna delv into this as ACC, I simply have no time haha. However, learning this now will probably help me in the future, so why not.
At the very least I'll finally know what you guys are talking about in the dev section lol.
Blue6IX said:
Another reason linux is so sweet to work on for coding android is that they speak the same language. Writing code is quicker and easier, connecting the device happens more seamlessly and swiftly.
Click to expand...
Click to collapse
This. Install Linux, learn to love it, and learn to customize it. A big part of setting linux up the way you want involves working in a command line, troubleshooting when errors come up, building, and compiling. The time you spend troubleshooting and customizing everything on your linux box will familiarize you with all the commands, shortcuts, quirks, and understanding of why this does that in a linux environment, and will help you to no end.
I'm going to get a new Laptop before school starts up again. Then I can finally get cracking

Rom dev

So I am making a rom. It's written in C++, CSS, and HTML. I need a bit of help, my CSS is rusty so if there's any experts out there I welcome your help. If there's any designers out there well versed in C++ you are more than welcome to join on up. I hope to have a working prototype in the next few days, let's make this the best rom for the OnePlus One there is!
have you tried turning it off and on again?
I am confused. What am I turning off and on again? I just want to make a good rom for this community. I am just asking for help. Please, no jokes. Serious replies only.
I think that there already enough roms from experienced devs... You want to make a rom but don't have the knowledge.
superiscch said:
I think that there already enough roms from experienced devs... You want to make a rom but don't have the knowledge.
Click to expand...
Click to collapse
Why discourage someone like that? You don't know him or what he's capable of. What if someone had said that to the developer of your favourite ROM when he was starting out and he listened? XDA is a place to encourage development, and a place to encourage people who want to learn how to build ROMs. There can never be too many ROMs available, and there can never be too many people/devs working on them. This guy could be the next big thing in the ROM community and all you want to do is shut him down. Unless you're going to contribute in a positive way, maybe don't post.
Transmitted via Bacon
A lot of Google and this http://wiki.cyanogenmod.org/w/Development
All the best.
timmaaa said:
Why discourage someone like that? You don't know him or what he's capable of. What if someone had said that to the developer of your favourite ROM when he was starting out and he listened? XDA is a place to encourage development, and a place to encourage people who want to learn how to build ROMs. There can never be too many ROMs available, and there can never be too many people/devs working on them. This guy could be the next big thing in the ROM community and all you want to do is shut him down. Unless you're going to contribute in a positive way, maybe don't post.
Transmitted via Bacon
Click to expand...
Click to collapse
Maybe my words sound to hard on a screen but I don't want to discourage him ?
I'm just thinking that he is underestimating the job... He has 3 posts, needs people to do the majority of the job. Just my 2 cents.
But from now on only positive words, apparently negative is not allowed. Good to know...
Xavierdarkness said:
So I am making a rom. It's written in C++, CSS, and HTML. I need a bit of help, my CSS is rusty so if there's any experts out there I welcome your help. If there's any designers out there well versed in C++ you are more than welcome to join on up. I hope to have a working prototype in the next few days, let's make this the best rom for the OnePlus One there is!
Click to expand...
Click to collapse
Umm... Building a ROM is kinda different. You don't exactly have to write all the code yourself (that would take a few lifetimes ). You have to use existing stuff, and patch it together the way you like. You can change the coding style and stuff to the way you want. The CM development page would be a great idea to start with getting familiar with all the stuff.
Xavierdarkness, your enthusiasm is awesome. I'm pretty sure your rusty CSS skills are okay though, but you should really pick up some ActionScript if you intend on making the best ROM.
Dude, write it in machine language....that would be the tits
Thank you all for your kind words of encouragement. It means a lot. I hope to draw on my existing knowledge of QBASIC, VB 6, and HTML to help me on this journey. I'll likely have something up in the next few days if anyone would like to check over my QBASIC to make sure I am getting the API right with android. Thanks again, I'll read all the links you guys have provided and will update this periodically.
superiscch said:
I think that there already enough roms from experienced devs... You want to make a rom but don't have the knowledge.
Click to expand...
Click to collapse
there ya go, way to show some support. never enough roms, but always to many self important people
A new team inside XDA of developers will be a good news.
Perhaps learn must be encouraged and I hate people say that there are too many roms... This is not a marketplace but a place for developers.
Sent from my A0001 using XDA Free mobile app
Guys on here who work for or run their own ROM teams, why not invite Xavierdarkness to your team and show him the ropes? Looks like his knowledge is there, just needs some nudging...
I'm curious how one would build a ROM from nothing more than C++, CSS, and HTML....if you don't have the Java how will it run android apps?
#stayparanoid
Pirateghost said:
I'm curious how one would build a ROM from nothing more than C++, CSS, and HTML....if you don't have the Java how will it run android apps?
#stayparanoid
Click to expand...
Click to collapse
there are too many inefficient android apps. I think stopping the apps from running is a good thing. more speed! more battery!
cybojenix said:
there are too many inefficient android apps. I think stopping the apps from running is a good thing. more speed! more battery!
Click to expand...
Click to collapse
You do realise that your settings menu is an app, your dialer is an app, basically, almost every functionality of your phone is through an app :/
Quasar said:
You do realise that your settings menu is an app, your dialer is an app, basically, almost every functionality of your phone is through an app :/
Click to expand...
Click to collapse
of course I know this.
do you realise a dialer, or settings, or anything functional on a device doesn't have to be written in java? *points at TWRP* at the rate they are going, we'll have recoveries that can send/receive texts, and make calls
cybojenix said:
of course I know this.
do you realise a dialer, or settings, or anything functional on a device doesn't have to be written in java? *points at TWRP* at the rate they are going, we'll have recoveries that can send/receive texts, and make calls
Click to expand...
Click to collapse
Whoops. Sorry. Sarcasm doesn't work well online
Oh damn! The mobile app doesn't even make RDs/FSM/whatever recognisable. Sorry.
Quasar said:
Whoops. Sorry. Sarcasm doesn't work well online
Click to expand...
Click to collapse
try the ^sarcasm^ tags
I know this thread is one massive troll though.... It'd be awesome to actually not use java for Android, at least on the core parts. Oh look, GoLang

Categories

Resources