[help] - Android Q&A, Help & Troubleshooting

I hope I'm not posting this in the wrong forum, but i'm posting here because i think i am in the right place.. If not mods please move this to appropriate forum..
So I'm on the nexus s 4g and i'm feeling like i'm ready to get into porting and then development.. I really just need help understanding eclipse and how to port in general.. I know eclipse is great for developement and I just installed the adt and the sdks through eclipse and I need to know how to set this up so I can run a logcat through adb so I can see why my port isn't fully booting.. I'm stuck at the boot animation.. I've tried reading some guides but because i'm still a noob i feel like there's always something i'm missing.. I was hoping someone here would be so kind as to help run me through on getting this set up and helping me understand the fundementals..

there are many that know more than me, but i can try to help a little bit...
first off, im going to assume you are porting roms, not apps, because of how you have things worded i was a bit confused at first.
now, eclipse is an amazing IDE, but when it comes to porting android roms from device to device its not going to be much (if any at all) help to you. eclipse is great for application development, and building a full, ready to install android package (apk) for pushing to the market or side-loaded. (installed on data partition)
there dont tend to be many guides or strait line ways do do things. it all comes out of experience and good problem solving skills. learn to read your logcats, understand what they are saying. you will get it!
im more of a source built kind-of-guy, and never did any porting of pre-compiled roms. but i know http://freeyourandroid.com/ is a great resource for getting started with just that.
please also think about looking into the android build system, its complicated, but you will get it eventually, and it will teach you how a rom really works, and is really built, and it gives you complete control to do anything you want.
hope this was a little help.
a very wise man once said : http://forum.xda-developers.com/showthread.php?t=667298

gh123man said:
there are many that know more than me, but i can try to help a little bit...
first off, im going to assume you are porting roms, not apps, because of how you have things worded i was a bit confused at first.
now, eclipse is an amazing IDE, but when it comes to porting android roms from device to device its not going to be much (if any at all) help to you. eclipse is great for application development, and building a full, ready to install android package (apk) for pushing to the market or side-loaded. (installed on data partition)
there dont tend to be many guides or strait line ways do do things. it all comes out of experience and good problem solving skills. learn to read your logcats, understand what they are saying. you will get it!
im more of a source built kind-of-guy, and never did any porting of pre-compiled roms. but i know http://freeyourandroid.com/ is a great resource for getting started with just that.
please also think about looking into the android build system, its complicated, but you will get it eventually, and it will teach you how a rom really works, and is really built, and it gives you complete control to do anything you want.
hope this was a little help.
a very wise man once said : http://forum.xda-developers.com/showthread.php?t=667298
Click to expand...
Click to collapse
the only reason i was setting up eclipse for this was because it was to my understanding it had the tools needed to get adb to produce a logcat, i've delt with apps before.. I made myself a lil launcher for miui and a couple others, but i just have no idea on how to do anything with adb and gettings log cats.. I do appreciate your response and i will take a look at that website.

Related

Xperia x10 Kitchen (for innocent people willing to try)

Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
norkos said:
Simply wanting to know what kind of tools (kitchen) people use to make the roms.
Cant seem to understand how to port from from other devices to the x10.
Really am willing to try and learn abit.
Have done alot of google searching but nothing comes up with xperia. Nothing i feel helps my needs. Just want to be on the same page as the developers in this site.
Give a brother a hand here.....
Click to expand...
Click to collapse
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
telmoabff said:
Guess this is a good place to start...
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Thing is that i have all that done, got the ubuntu running fine aswell, just dont understand how i can "lets say" port a 2.2 froyo to our x10? I really cant seem to understand this part. Do i have to place some system files? Any help would be appreciated.
Ty for your time mate
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
thermoska said:
it is unix /linux stuff
currenly we are locked out to SE kernel, so you "just" have to mak froyo compatible to SE kernel .
It means to optimize , change, recompile modules, "drivers" and so on, of course debuging ,
Click to expand...
Click to collapse
okey, my question to you is i can take what ever rom i want out there and install it from xrecovery, and it will run? Becouse this is what i am wondering, how i can port another rom to x10. Ofc the bugs comes after but thats another thing i have to search for.
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
thermoska said:
sorry, but everything was answered in my previous post
NO you can not.
Every phone have a different hardware, software modification is requred.You have to modifi "drivers" to the current hardware. I think you are Windows boy so better example is :Will your nvidia card works on ATI drivers ?
First you have know a bit more than basics from unix / linux world, like :
modules
kernel
drivers
libraries
filesystems
swap
mount points ... and so on ..
I can see you are not home in Linux /unix thema , if you will understand the basic rules from linux world, then just port your knowledge to the android.
And voila you are ready to cook .
Remeber there are many people with big knowledge and willingness to help. Just ask them, imho unix/linux people share their knowledge with hapiness .
Click to expand...
Click to collapse
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I don't think he intended to disrespect. He is right when he say, the more you know about linux, the easier it'll be.
Anyway, the first step will be to change drivers for hardware support depending of your hardware.
As he said start with the kitchen from unlocker. And with that, all question you have will be answered here: http://developer.android.com/index.html
good info
I really dont think hes openly trying to insult your intellect and what he says is correct. Before you get to the actual porting and modifying your going to need some programming skills and a good understanding of how drivers and such work and how they can be modified. Remember that the idea is to get the software to talk to the hardware. Its unfortunately not as simple as just taking files and making a change here or there and then including that in your rom files.
Not trying to say dont learn it, just need to know where to start your journey of learning.
Happy programming! (Which is good because i have done programming and hate it with a passion)
Edit: also remember that a knowledge of linux IS the problem as android is simply linux.
Sent from my X10i using XDA App
norkos said:
I know small things about linux. But this is not my issue, i am willing to install another rom from another device. "How can i port the rom to? what kind of files do i "for sure" need to change. Please forcus on my problem rather then trying to disrespect my intellect. If you dont know the answer, simply dont post.
Click to expand...
Click to collapse
I do not want to disrespect your intelect or knowledge or harm you in any way ..
I only want to explain you what you can wait and what you will need.
As ttf said you need to modify hardware drivers first.(btw I said it before too), These drivers have to be modified to the actual X10 hardware, but also to our current kernel!
froyo have 2.32 kernel by default our x10 have 2.29(+ modified by SE).
Cyanogen have its own kernel and CM Rom will never work on its full beaty without CM Kernel . (if it is possible it will take enourmos time and effort)
ttf said:
I don't think he intended to disrespect.
Click to expand...
Click to collapse
+1. Might be best posting in HERE.

Starting Android Device developement

I wish to start taking devices that already have Android, but versions like 2.2 and learn to Develope a new Rom for it, for example 4.0.
I don't want to port anything etc, I want to take a device, and start building the ROM fro scratch, I have tried searching this forum but I only get results regarding developing for Android, apps. I want to tackle the actual OS.
Does anyone know a good way to start, tutorials? Further Reading? Etc?
I don't like the idea of waiting for the Manufacturer to produce the next update, I'd rather do it myself and learn.
Thanks for any help.
follow this
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/

[Q] Compiling for x10

Hello and first of all I am completely new at this so any help would be great. I plan on releasing a ROM if I can get the hang of this so please don't complain that I'm just a noob trying to do something he can't.
Second this is my first time in development for Android and I have been experimenting with the SDK but I was wanting to know some questions first.
One is that how to I get the x10 specific add-on for the SDK since Sony Ericsson is gone the page that used to have it is now gone. Second is there any special things to compile the rom?
Sorry for the very noob sounding questions but I am completely new, my main reason for this is a learning thing. I want to learn for college and other reasons and I decided to make my project developing for the x10.
Thanks for help in advance.
go to chef central...
over there u can find a lot of cheff...
or search for "APKTOOL" and "android kitchen"
tool for decompile and more
Thanks, I'm searching the internet furiously for documents and other information, my first goal is to simply compile a stock android rom and get it working once I figure that out I'll work on learning to how make custom roms.
hey guys, I have learnt how to use Kitchen and got a successful rom! It is just another build of the default SE rom but it means it works.
My only question here is now do I get the system from stock android and replace the SE ones with it? I don't want to start removing things in case it doesn't work.

[Q] Need help with ubuntu installation..

Hi guys,
Im really new to android and linux, yet i want to install ubuntu on my device.
I got it as a gift and would like to make it a netbook like.
Anyway, as far as i know i have the latest JB bootloader, unlocked, also i have the hairybean rom, and OCed to 1.7Ghz, I also have TWRP recovery...
Now, i saw this thread: http://forum.xda-developers.com/showthread.php?t=1603921k i understood that it installs ubuntu on my device completely, without any need of VNC.
Yet the thread is a bit outdated i guess, from reading a bit i ubderstood that the sound has been fixed, and they had worked on a whole new kernel to fix everything up...
Now, can please somebody guide me, and give me the newest files (kernel and OS)?
Thanks alot and sorry for being such a noob!!
PS any way to install the OS directly on the SSD, and not on an external SD, also, anyway to remove android (if ubuntu is stable enough?)
Come on people, 90 views and no replies?
100 views and no replies?
Can someone atleast put this thread in the Ubuntu installation how-to, so people can refer to this thread and help me?
Is prime helping forum dead?
GummyGum173 said:
Is prime helping forum dead?
Click to expand...
Click to collapse
Dude you seriously need to chill out. Ubuntu is not officially running yet, It is only out on the Nexus devices and their kernels, file systems, boot loaders, etc... are apples to oranges compared to the prime. It is still in heavy development in trying to make it so it actually runs smooth and dual boots android. The developers in the Ubuntu thread have been busting their ass to make it happen and there are multiple developers working together to get to happen. There are still a whole bunch of bugs that need to be worked out. I have been following the thread from day 1 so you can do the same here http://forum.xda-developers.com/showthread.php?t=1603921. By saying you are new to linux/ubuntu then I would sit back for a bit and follow the tread before you brick your tablet. Things seem like they are going very well in the thread so sit back and read 60+ pages of posts to catch up and have a coke and a smile.

Beginning Android Port and Others

Hello, i wanted to learn more about developing android ROMs, Porting to other android versions, porting Firefox OS maybe. So i Bought a very cheap chinese tablet which cost $50, and i want to start meddling with it in some experiences.. i just needed some directions where to go..
First i wanted to know how to make a dump of my current android so i can restore it in case i need.
I already rooted the tablet, it is running android 4.0.4.
then i want to start trying to port it to Jelly Bean. i know i need some drivers but just getting a booting version will do for me. i looked at the Android AOSP about build instructions, but there was only instructions how to build for nexus devices, not an "generic build" i can build upon.
I looked at other site that gave me different instructions but i believe that they are for porting roms other than compiling from source.
Any light on this path is appreciated, thanks
There is no need to make such useless threads directly search xda and read and learn there are dozens of threads stating the tut.
Or directly go to chefs centrel
Rather than creating mess.
Hope u understand.
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......

Categories

Resources