[Q] pls help im a new noob in this - Android Q&A, Help & Troubleshooting

so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...

solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk

solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.

cbernardo13 said:
I too would love the help and for possibly someone to take me under their wing. I am very eager to learn. I'm always on my phone, and always trying to read, but sometimes the forums just contradict themselves, and let's face it, with all the drama going on in the forum, it can sometimes get a little frustrating trying to ask for help, especially when someone doesn't want to be bothered by a noob. Thanks in advance
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Hey Guys!
First of all a bit of encouragement. The android kitchen sure as hell does not turn you into a rom developer. I decided i wanted to use the kitchen just over 2 weeks ago and run ubuntu in a virtual window. From then I decided I did not like windows anymore so installed linux as my main os and had to learn that (trust me getting the graphics card to work was a chore) I finally got the kitchen working tonight and decided to sign up to xda. Even with my limited knowledge I have been able to help someone on here tonight. Read Read Read and ask questions if you can not find the right answers on the forum. Research pays off eventually. (I now softmod nintendo wiis professionally from learning off a forum!!!!) Remember everyone has to start somewhere even if you are a noob and don't get disheartened if someone says you should have read this this and this. As long as you learn from ur mistake I'm sure people wont mind too much.
SFUK

aha... so let me understand i need ubuntu?
and i need to open system img fot the app edit

can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex

How long before bricked again...????
solain said:
can someone pls answer yes im using android sdk and yes i use stock rom how to edit img? i need to edit system for app app folder edit i could open it at linux reader but icant edit its all written in hex
Click to expand...
Click to collapse
Im about to take the dive myself, still rounding up the tools. Was about to dl virtual...unbuntu etc but read this just now and it makes sence so as much as i want to screwup my phine as fast as possible i think i will follow this advice.
You might have already seen and read but what the hell....
Originally Posted by cyanogen
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.ph...ng_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pla...5936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.

dmeadows013 said:
Not sure what you are asking. For the sdk tools, do you mean the android sdk? If so, follow the instructions on the sdk page. For the images, I assume you mean the boot.img and possibly system.img. You do not open these. If you have a system.img, that means you probably have a shipped rom. Use the kitchen to create working folder from rom, and choose this. It should auto extract the system partition. As for the boot.img, you don't generally need to extract this, but there is an option in the advanced settings of the kitchen. You can change your rom's kernel in the boot.img.
Click to expand...
Click to collapse
can u shoot me a couple links for the kitchen/other tools download

solain said:
so yea i have dxisda kitchen and sdk and sgs2 and of that junk but i dont even know how to open sdk tools how to start ? how to make custom rom? how to open the f***ing .img?! you know bascis.. so yea thk for help and pls help...
Click to expand...
Click to collapse
What version of Linux are you running? Are you running Ubuntu? I never had much luck using the Android Kitchen in a virtual environment for some reason. When I installed Ubuntu as my main OS, however, that made all the difference. From there you'll also need to make sure you have the Java Developers Kit (JDK) installed or at least open-jdk (Open source alternative) installed in order to run the Android Kitchen or the SDK for that matter.
There's a really good tutorial on how to set up the SDK on Ubuntu 10.10 or Ubuntu 11.04 which is what I had used to set up the SDK on linux for the first time. http://forum.xda-developers.com/showthread.php?t=921169
I prefer 10.10 just because I'm not huge on Ubuntu's newer Unity interface and my old laptop seems to run 10.10 a lot better than 11.04 or 11.10 but that's another story.
Once you have the SDK setup, you can then run the kitchen accordingly.
I use a tool called Android Utility by tommytomatoe which is essentially a collection of tools for creating custom ROMs, editing apk's, etc. It just happens to also include dsixda's kitchen which is a nice plus. You can download that here: http://rootzwiki.com/topic/3303-utility-android-utility-apktooldex2jarsmalimoremac-linuxoct09-2011/
Hope this helps. Good luck, dood!
**Edit** My bad... There's also a thread for Android Utility on XDA also....
http://forum.xda-developers.com/showthread.php?t=1167623

Related

Rom development

Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
bbowerman said:
Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
Click to expand...
Click to collapse
Start by learning c+ and java coding. Then get good with a linux machine
zelendel said:
Start by learning c+ and java coding. Then get good with a linux machine
Click to expand...
Click to collapse
pretty familiar with linux, know a little C, java not so much.

System files of stock rom (SOLVED)

PLEASE CAN SOME ONE UPLOAD THE SYSTEM FILES FROM THE STOCK ROM. THANK YOU. I HAVE TRIED TO EXTRACT THE .rfs FILE TYPE IT BUT NO LUCK.
LINK TO THE STOCK ROM http://timcordova.com/iamtimmah/andr..._UEKI8_MIN.rar
THANK YOU IN ADVANCE.
Ratchewer said:
PLEASE CAN SOME ONE UPLOAD THE SYSTEM FILES FROM THE STOCK ROM. THANK YOU. I HAVE TRIED TO EXTRACT THE .rfs FILE TYPE IT BUT NO LUCK.
LINK TO THE STOCK ROM http://timcordova.com/iamtimmah/andr..._UEKI8_MIN.rar
THANK YOU IN ADVANCE.
Click to expand...
Click to collapse
Welcome to Dev.
1. This is Dev. Not Q&A. Not "herpy-derpy I don't know how to mount rfs" fun time. We're not here to help you with your stupid problems that you could have just googled.
2. ALL-CAPS IS NOT CRUISE CONTROL FOR COOL. Even if it was, even cruise control needs a decent driver.
Now google, "How to mount RFS in (operating system, preferably linux), and see what you get.
Good? Good.
Now, lock or move.
apapousek said:
Welcome to Dev.
1. This is Dev. Not Q&A. Not "herpy-derpy I don't know how to mount rfs" fun time. We're not here to help you with your stupid problems that you could have just googled.
2. ALL-CAPS IS NOT CRUISE CONTROL FOR COOL. Even if it was, even cruise control needs a decent driver.
Now google, "How to mount RFS in (operating system, preferably linux), and see what you get.
Good? Good.
Now, lock or move.
Click to expand...
Click to collapse
Well if u are here to help why not make helping easier. after all why are we all here for?
well never mind after a brain steaming i have made it.
And for anyone who might need it. I did this in windows OS no mount or so ever.
1. change the file type to .IMG and use any ISO software that is registered to extract the file.
Ratchewer said:
Well if u are here to help why not make helping easier. after all why are we all here for?
well never mind after a brain steaming i have made it.
And for anyone who might need it. I did this in windows OS no mount or so ever.
1. change the file type to .IMG and use any ISO software that is registered to extract the file.
Click to expand...
Click to collapse
This is Dev. Not Q&A. People shouldn't go to Dev to ask questions about general Android information. Furthermore, I'm here to publish to push forward (in the limited ways I can) development for the Galaxy Player. Dev's don't need crap mucking up this area.
apapousek said:
This is Dev. Not Q&A. People shouldn't go to Dev to ask questions about general Android information. Furthermore, I'm here to publish to push forward (in the limited ways I can) development for the Galaxy Player. Dev's don't need crap mucking up this area.
Click to expand...
Click to collapse
well dosen't extraction needed in development process or you just jump and and start development. well move on ok i found my solution. ENJOY.
Ratchewer said:
well dosen't extraction needed in development process or you just jump and and start development. well move on ok i found my solution. ENJOY.
Click to expand...
Click to collapse
Many times, no. It's not needed. For basic compilation, it's really not. Anyway, many people can just dump the files they need from the device itself.
This thread might help in the future : http://forum.xda-developers.com/showthread.php?t=1385061
maan you guys should take it easy on a newbie.

[Q] Setting up Development environment

Hi all,
I'm trying to setup an Android development environment on Linux (Ubuntu)
The instructions I follow atm you can find HERE
I've downloaded and unpacked the Android SDK but trying to install I'm stuck.
It's probably very easy but for me coming from MS Windows I need to get used to all these new terms and commands. :cyclops:
The tutorial clearly explains the following:
'On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.'
I've opened a terminal venster but how do I execute?
Sorry for my very noobish question but any help would be highly appreciated.
Grtz, Leo
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
That will help me a few steps ahead again, great tut, thanks a lot!
thewadegeek said:
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
Click to expand...
Click to collapse
No prob.
Out of curiousity (author here), did the steps work out easily or did anything need updating?
lowazo said:
Out of curiousity (author here), did the steps work out easily or did anything need updating?
Click to expand...
Click to collapse
I think he accidentally the while thing. I could be wrong though.
lithid-cm said:
I think he accidentally the while thing. I could be wrong though.
Click to expand...
Click to collapse
From here on out, I'm putting disclaimers on everything.

New developer Player

hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Cy83rn1nj4 said:
hello
i am a new developer i am starting to create ROMS and android kernel's. i am using Ubuntu 12 and any advise on tools and a starting point would be greatly appreciated. i use Heimdall to get the ROM's onto my device.
starter questions
1) how do i download the original android kernel to my system (linux)
2) best tool to view the kernel code.
i would like to be a productive XDA developer so any advise or direction would be great.
Click to expand...
Click to collapse
Here's the replies
1. That depends of the device you currently own
2. I use gedit but most people says that gedit and Vim are the best editors for ubuntu.
Also you would need the android sdk (for adb) also you will need jdk. If you want more informations don't be affraid to ask.
EDIT: I forgot to ask which languages you have learned?
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Cy83rn1nj4 said:
im learning Python using google.com/edu great online webinars my company want me to also learn ruby as we develop our apps using rails.
thanks for the reply i will look for a standard android image i can decompile and test with.
Click to expand...
Click to collapse
You cant decompile any compiled to machine code program, its basic.. You can only get source code or deassemble to unreadable and unusable code.
Sent from my GT-I9000 using xda app-developers app

Complete noob guide for compiling roms

Hi..im a quite fresh android user after having iphone for the last 4 years....i have a huawei ideos x5 pro that for me at least is a great phone for his price..but the major problem is that we don't have devs for our phone...only one chinese guy that develops roms for at least 7 phones so we aren't his major concern...so im asking if there is a complete noob guide for compiling rom..fixing rom.
i have to tell you and please don't flame that even that i have knowlage over pc's i haven't any knowlage over programming and coding!!so if any guide can't help me it will be ok...i try! but if there is a guide that can help me step by step to understand the basics and then with a bit of research can figure it out the rest it will be helpful!!
Thanks!!
Sorry for my english!
http://lmgtfy.com/?q=make+android+custom+ROM
thewadegeek said:
http://lmgtfy.com/?q=make+android+custom+ROM
Click to expand...
Click to collapse
Yeah i know that...im asking for a user's entirely noob guide...1st time user guide...google is full with guides but not so novice guides!!
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
thewadegeek said:
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
Click to expand...
Click to collapse
ill give it a try thanks!!!
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
pikachukaki said:
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
Click to expand...
Click to collapse
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
adiles said:
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
Click to expand...
Click to collapse
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
pikachukaki said:
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
Click to expand...
Click to collapse
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
-Sent from my u8800-
Me Too!
lemonade747 said:
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
Click to expand...
Click to collapse
I'm actually reading everything about my new device, Sony Neo L. This is pretty amazing! XDA rocks!
CrisisCorE said:
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
Click to expand...
Click to collapse
Hardware we need the same cpu gpu or everything?sensors bt wifi etc?
Sent from my U8800PRO using xda premium
How can i get source code for Vision, since huawei doesnt let you download it?
Sent from my Vision
if u r good at linux, u can try this guide >>> http://handycodeworks.com/wp-content/uploads/2011/02/linux_versus_android.pdf
I compile linux kernels for desktop, but the android kernel is not the same. Cyanogen team and GOOGLE Android developers provides a comprehensive guide on building ur own ROM. But to build ur own OS, u need to understand each component carefully. I don't know abt android, but i am making Linux OS from scratch. I have kernel compiled, tool chain set up, now i am putting apps on it. But android uses DALVIK VM for Java apps, also .... U refer the pdf it will tell u. Once i finish making this OS, i'll focus on Android ROMS. They r similar to Linux OS, but require patches in kernel, a light c lib, new fs, a different vm (dalvik) and different ways of managing i/o interrupts and much more..
this link is on porting android on nokia >> http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/
this one is on linux on embedded systems >> http://www.lindusembedded.com/blog/2010/12/07/android-linux-kernel-additions/
Also, sorry to say but learn C/C++/Java . To make ROMS, atleast to make modifications and to understand the kernel u'll need C. Not very hard to learn, Good tuts on Lynda.com and other sites. And be good at Linux. Happy Learning

Categories

Resources