Building a personal ROM - Nexus 5 Q&A, Help & Troubleshooting

Hi ive been using Android phones for a couple years now and been addicted to flashing every rom available for each device from day one. With my N5 i found a rom, PSX which "almost" cured me of that addiction. Now with that shutting down and going all private I'm thinking I might give making my own rom a go.
Now I'm not to experienced in the linux side of things but I understand there are at least two ways of going about this. 1- Build from source, best done on a linux machine I assume (which I dont have.). 2- Use a Kitchen to modify an existing rom to my liking.
If anyone can point in the right direction to a noob friendly guide on how to do this or some of there own pointers on the easiest way to get started I would appreciate it. I do not intend to release it to the public just purely for my own learning experience, but it may help me have more constructive input into helping other people with problems instead of relying on already overloaded Devs.
Cheers

Heres a guide on how to compile CM for the nexus 5: http://wiki.cyanogenmod.org/w/Build_for_hammerhead
The process applies to pretty much any rom. Its basically:
-setup linux build environment
-download rom source
-add device specific stuff (device tree, vendor tree, kernel source)
-compile

Chromium_ said:
Heres a guide on how to compile CM for the nexus 5: http://wiki.cyanogenmod.org/w/Build_for_hammerhead
The process applies to pretty much any rom. Its basically:
-setup linux build environment
-download rom source
-add device specific stuff (device tree, vendor tree, kernel source)
-compile
Click to expand...
Click to collapse
Thanks i'm just going through setting up linux on a virtual machine using virtualbox. Is there a prefered/easier linux distro to use or just go with ubuntu (I've always liked the look of mint whenever i've looked at linux).

goatimus said:
Thanks i'm just going through setting up linux on a virtual machine using virtualbox. Is there a prefered/easier linux distro to use or just go with ubuntu (I've always liked the look of mint whenever i've looked at linux).
Click to expand...
Click to collapse
I would go with Ubuntu personally (just because its popular and theres lots of support online), but other distros should work fine as well.

Use Ubuntu 13.10... And building from source is nic to learn how it all works. Kitchen is just an easy way to do things in winblows.. Stick to building. Also hang out in the cyanogenmod and cyanogenmod-dev irc channels for questions.
Sent from my Nexus 5 using XDA Premium 4 mobile app

goatimus said:
Thanks i'm just going through setting up linux on a virtual machine using virtualbox. Is there a prefered/easier linux distro to use or just go with ubuntu (I've always liked the look of mint whenever i've looked at linux).
Click to expand...
Click to collapse
You can use Linux Mint, it's based off of Ubuntu and has it's lighter, that and you can easily install it alongside windows.

Chromium_ said:
Heres a guide on how to compile CM for the nexus 5: http://wiki.cyanogenmod.org/w/Build_for_hammerhead
The process applies to pretty much any rom. Its basically:
-setup linux build environment
-download rom source
-add device specific stuff (device tree, vendor tree, kernel source)
-compile
Click to expand...
Click to collapse
LOL. Don't make it sound so easy. It would be pretty cool to start a how to build thread. I've wanted to for a while and just need some other like minded folks who don't mind trying and failing. Setting up the repo looks easy enough but the rest will be fun to try. Breakfast, brunch, lunch? These are the things that I need to learn. How many people wanna try this besides those already posting in this thread?

theesotericone said:
LOL. Don't make it sound so easy. It would be pretty cool to start a how to build thread. I've wanted to for a while and just need some other like minded folks who don't mind trying and failing. Setting up the repo looks easy enough but the rest will be fun to try. Breakfast, brunch, lunch? These are the things that I need to learn. How many people wanna try this besides those already posting in this thread?
Click to expand...
Click to collapse
Actually to be honest, building android for an officially supported device (such as the nexus 5) isn't too difficult. Like I said originally, the process is basically just cloning a few repos that are already readily available and then compiling. There's little to no actual programming required. However building for a device that is not officially supported can be tough. You're going to find yourself having to create missing pieces of the device tree and fixing tons of build errors.
Sent using xda-developers app

Chromium_ said:
Actually to be honest, building android for an officially supported device (such as the nexus 5) isn't too difficult. Like I said originally, the process is basically just cloning a few repos that are already readily available and then compiling. There's little to no actual programming required. However building for a device that is not officially supported can be tough. You're going to find yourself having to create missing pieces of the device tree and fixing tons of build errors.
Sent using xda-developers app
Click to expand...
Click to collapse
How many failed builds did you get your first time around? I'm on my third attempt right now. First failed because I built it with the wrong java version. Second because of this I think:
$ system/build/tools/releasetools/common.py
Change: java -Xmx2048m to java -Xmx1024m or java -Xmx512m
All in all you right though. It really wasn't that hard. A little over 4 hours to sync everything and have two failed builds. I don't know what I've been so hesitant about. Thanks for the encouragement.
EDIT: Third fail. lol Failing on this:
[CODETraceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1070, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1066, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 1001, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 514, in CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), namespace)
File "../../base/android/jni_generator/jni_generator.py", line 457, in __init__
contents[1]).group('class_name')
AttributeError: 'NoneType' object has no attribute 'group'
make: *** [/home/matt/android/system/out/target/product/hammerhead/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc_nomalloc (/home/matt/android/system/out/target/product/hammerhead/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)[/CODE]
Bueller? lol I'll figure it out but if anyone wants to help figure that out faster I'd take any tips I can get.

Its nice to see people willing to help. I got Linux installed on virtual box last night, of to work now will continue tonight with it.
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app

theesotericone said:
LOL. Don't make it sound so easy. It would be pretty cool to start a how to build thread. I've wanted to for a while and just need some other like minded folks who don't mind trying and failing. Setting up the repo looks easy enough but the rest will be fun to try. Breakfast, brunch, lunch? These are the things that I need to learn. How many people wanna try this besides those already posting in this thread?
Click to expand...
Click to collapse
I would love to make a complete guide for newbies with next to no knowledge like me. I will get myself familiar with the process to building from source and they may look into it. I don't have massive amounts of time to dedicate to it though with the other things I like doing (ps3, dogs and kids.)
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app

goatimus said:
I would love to make a complete guide for newbies with next to no knowledge like me. I will get myself familiar with the process to building from source and they may look into it. I don't have massive amounts of time to dedicate to it though with the other things I like doing (ps3, dogs and kids.)
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't have a lot of time either. That's why I think a rolling guide would be the way to go. Some guys from my old device did just that last year and it worked really well. Here's the thread:
http://forum.xda-developers.com/showthread.php?t=1798056
Something along those lines is what I'm thinking. Let users who want to actually learn instead of just request get involved and help each other. Pretty sure that's was the whole point of XDA back in the day. I still think it can be. Off to bed for me but let's keep addressing the idea.

Your right the point of xda is to be part of a community willing to learn and share knowledge. I'm not sure when it became a place to demand stuff for your device and to ***** and moan at devs for something not working. If everyone could get back to the original xda ethos then maybe ROMs would be better quicker with lots of people helping instead of just taking.
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app

goatimus said:
Your right the point of xda is to be part of a community willing to learn and share knowledge. I'm not sure when it became a place to demand stuff for your device and to ***** and moan at devs for something not working. If everyone could get back to the original xda ethos then maybe ROMs would be better quicker with lots of people helping instead of just taking.
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm not sure but I was once told you need at least 8 GB of RAM to build android from source, just wanted to let you know
Sent from my Galaxy Nexus using Tapatalk 4

Jimlarck said:
I'm not sure but I was once told you need at least 8 GB of RAM to build android from source, just wanted to let you know
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Not true.
Sent using xda-developers app

Chromium_ said:
Not true.
Sent using xda-developers app
Click to expand...
Click to collapse
I mean, you can always use swap space but in theory you should have at least 8 GB of RAM. At least that's what people have told me.
EDIT: Yup, http://source.android.com/source/building.html. It's actually 16GB but I was close.

Jimlarck said:
I mean, you can always use swap space but in theory you should have at least 8 GB of RAM. At least that's what people have told me.
EDIT: Yup, http://source.android.com/source/building.html. It's actually 16GB but I was close.
Click to expand...
Click to collapse
That's odd. I build with my laptop with 6gb of ram and a 1gb swap partition. And I've seen others building with really old PCs with way less ram than that. It'll take longer, but it should still work.
Sent using xda-developers app

Chromium_ said:
That's odd. I build with my laptop with 6gb of ram and a 1gb swap partition. And I've seen others building with really old PCs with way less ram than that. It'll take longer, but it should still work.
Sent using xda-developers app
Click to expand...
Click to collapse
Depends on what they're building, and their build conditions really. It should work with 8GB but anything lower than that has a probability of failing (aside from it taking longer)
Sent from my Galaxy Nexus using Tapatalk 4

I only have 6gb but I'll still be trying to build just got to wait till I get home. How more likely is it to fail due to lack of ram.
I have only assigned 3gb of ram in a virtual environment I think I may need to leave windows and fully install Linux.
Sent from my Nexus 5 - GoatRom using XDA Premium 4 mobile app

I've been wanting to get into this for a while. Looked into some guides but never made a go at it. I'm guessing I'll need to set up my pc as dual boot for WIndows 7 and Ubuntu? I would assume you can't compile using an Unbuntu disc but that the OS has to actually be installed????

Related

Anyone interested in gb

now that development seems to be moving along lets use this thread to discuss our GB development even though its in the general section
First off can anyone begin with telling us what is needed to get GB started on this phone?
dsexton702 said:
now that development seems to be moving along lets use this thread to discuss our GB development even though its in the general section
First off can anyone begin with telling us what is needed to get GB started on this phone?
Click to expand...
Click to collapse
I thought we had to wait for Samsung on GB? Dont get me wrong I would love to see it and if anyone can get it done that would be great. I also see where your coming from, with all these minds we can maybe get a port from another source.
Sent from my SGH-T959V using XDA Premium App
GDofWR420 said:
I thought we had to wait for Samsung on GB? Dont get me wrong I would love to see it and if anyone can get it done that would be great. I also see where your coming from, with all these minds we can maybe get a port from another source.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
well according to some foreigners GB was released for the galaxy family about 2 to 3 weeks ago
but that was a foreign release not an american release, im not sure if that matters
your rite dX but i think the issue is with drivers... like i'm sure u could get gb running... but would be like having an ipad1 lol... if that makes sense....
Yeah I think only the S2 has gingerbread and that's the only one we can port it from. The issues are usually drivers and most of the time we'll lose battery life.
Nah the original galaxy S has gingerbread. We have a kernel and an ext4 fs now so it shouldnt be as bad as trying to port it over like before.
Eric-1987 said:
Nah the original galaxy S has gingerbread. We have a kernel and an ext4 fs now so it shouldnt be as bad as trying to port it over like before.
Click to expand...
Click to collapse
If it would be possible that would be great cause I think it could really be done with the right minds in on it.
Sent from my SGH-T959V using XDA Premium App
I'm getting my linux set back up in the next couple of days. I plan on attacking this as soon as I can. I have successfully compiled GB for a device that shouldn't have seen anything past eclair, so I will do all I can for this one. I have a sh*t ton of homework to do though. This is my first ever Samsung, so there is a BIG learning curve for me.
I came from an Evo 4g so this is DEFINITELY a learning curve for me too! Everything on my evo was easier but this gives me more of a sense of pride. My phone is a beast thanks to the developers!
mad_fitter said:
I'm getting my linux set back up in the next couple of days. I plan on attacking this as soon as I can. I have successfully compiled GB for a device that shouldn't have seen anything past eclair, so I will do all I can for this one. I have a sh*t ton of homework to do though. This is my first ever Samsung, so there is a BIG learning curve for me.
Click to expand...
Click to collapse
You know were here to test when when you get something going.(as long as its not past odining if we screw up.lol ). But seriously I'm sure the whole community here would support you, I know I do.
Sent from my SGH-T959V using XDA Premium App
GDofWR420 said:
You know were here to test when when you get something going.(as long as its not past odining if we screw up.lol ). But seriously I'm sure the whole community here would support you, I know I do.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Well, here is where I'm coming from:
While up to this point everything we have, as far as roms, are ports (we don't really have a choice because samsung is stingy with their source codes). While this is great for most of what we use, some parts that are really deep in the code (java, framework, device specific hardware, etc....) will HAVE to be compiled in one way or another. You cant just grab the GB file system and try to slam it into our device...never happen. Far too many parts and pieces rely on each other. So once I can get my stuff straight, I will start a clean repo of the GB source (I already have the samsung kd1 source stuff) and try to merge them the best I can. Then the sh*t hits the fan. Will it compile? Probably not.......Now we have to resort to past experience, help from others that have compiled, and google your ass off!
As an example: Shared libs are a freakin nightmare!! Did you know that things like camera, video, and even some audio stuff use the same exact libs? I didn't either until I started compiling. So if one of these is broken....none of it will work. Probably won't even compile, let alone boot.
I'll support anyone who wants to do something productive with our phone.
mad_fitter said:
Well, here is where I'm coming from:
While up to this point everything we have, as far as roms, are ports (we don't really have a choice because samsung is stingy with their source codes). While this is great for most of what we use, some parts that are really deep in the code (java, framework, device specific hardware, etc....) will HAVE to be compiled in one way or another. You cant just grab the GB file system and try to slam it into our device...never happen. Far too many parts and pieces rely on each other. So once I can get my stuff straight, I will start a clean repo of the GB source (I already have the samsung kd1 source stuff) and try to merge them the best I can. Then the sh*t hits the fan. Will it compile? Probably not.......Now we have to resort to past experience, help from others that have compiled, and google your ass off!
As an example: Shared libs are a freakin nightmare!! Did you know that things like camera, video, and even some audio stuff use the same exact libs? I didn't either until I started compiling. So if one of these is broken....none of it will work. Probably won't even compile, let alone boot.
Click to expand...
Click to collapse
Damn bro that sounds like a super challenge. I'm sure the people in this forum could help. Lets just hope others want this like we do. That's wild about those lib files. So if 1 is broke you have to find it and fix it to compile? That's rough.
Sent from my SGH-T959V using XDA Premium App
GDofWR420 said:
Damn bro that sounds like a super challenge. I'm sure the people in this forum could help. Lets just hope others want this like we do. That's wild about those lib files. So if 1 is broke you have to find it and fix it to compile? That's rough.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Sh*t dude.....I had some lib issues that have snagged me up for days. It's tough, but it is possible. The reason I want GB so bad is I have seen what it does for other devices. The main advantage....SPEED!!!! Lots of new badass options too
mad_fitter said:
Sh*t dude.....I had some lib issues that have snagged me up for days. It's tough, but it is possible. The reason I want GB so bad is I have seen what it does for other devices. The main advantage....SPEED!!!! Lots of new badass options too
Click to expand...
Click to collapse
I heard it does wonders for the battery also. Do you know this to be true? This is my first android device and I'm all about learning new things. Ever since I got this phone I've been wanting a laptop so I can learn to dev more.
Sent from my SGH-T959V using XDA Premium App
GDofWR420 said:
I heard it does wonders for the battery also. Do you know this to be true? This is my first android device and I'm all about learning new things. Ever since I got this phone I've been wanting a laptop so I can learn to dev more.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Oh absolutely. The key is how the file system reads itself in GB. The cpu just plain 'ol doesn't have to work as hard. Better battery life, faster and smoother overall performance, graphics, etc...... Plus like I said, it has features that froyo just doesn't have. Absolutely no need for task killers anymore. It's all integrated into the system.
And to answer your question, yes. If one part of that lib doesn't jive......compiling just stops, end of story. Now you have to search through all of your source files and TRY to find out what's wrong. Then google google google for any sign of a solution. This is virgin ground when compiling aosp from source. Not easy at all.
That doesn't touch the tip of the iceberg either. Try modifying code (which has to be done sometimes). C, C++, Java, etc.....sh*t can get hairy.
mad_fitter said:
Oh absolutely. The key is how the file system reads itself in GB. The cpu just plain 'ol doesn't have to work as hard. Better battery life, faster and smoother overall performance, graphics, etc...... Plus like I said, it has features that froyo just doesn't have. Absolutely no need for task killers anymore. It's all integrated into the system.
And to answer your question, yes. If one part of that lib doesn't jive......compiling just stops, end of story. Now you have to search through all of your source files and TRY to find out what's wrong. Then google google google for any sign of a solution. This is virgin ground when compiling aosp from source. Not easy at all.
That doesn't touch the tip of the iceberg either. Try modifying code (which has to be done sometimes). C, C++, Java, etc.....sh*t can get hairy.
Click to expand...
Click to collapse
im hopping on the UBUNTU bandwagon today,
its time to start learning some code so we can get GB on this damn thing
and yes i saw that the galaxy s has gb as well not just the gs2
looks like we got hell to go through mad_fitter and anyone else who will join our suicidal mission
dsexton702 said:
im hopping on the UBUNTU bandwagon today,
its time to start learning some code so we can get GB on this damn thing
and yes i saw that the galaxy s has gb as well not just the gs2
looks like we got hell to go through mad_fitter and anyone else who will join our suicidal mission
Click to expand...
Click to collapse
Installing ubuntu 9.10 on a throwaround laptop. I'm down to go at this with u guys!
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
Installing ubuntu 9.10 on a throwaround laptop. I'm down to go at this with u guys!
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
yayyyyy!! i was waiting for that reply robbbbit hahaha!!
mad_fitter said:
Oh absolutely. The key is how the file system reads itself in GB. The cpu just plain 'ol doesn't have to work as hard. Better battery life, faster and smoother overall performance, graphics, etc...... Plus like I said, it has features that froyo just doesn't have. Absolutely no need for task killers anymore. It's all integrated into the system.
And to answer your question, yes. If one part of that lib doesn't jive......compiling just stops, end of story. Now you have to search through all of your source files and TRY to find out what's wrong. Then google google google for any sign of a solution. This is virgin ground when compiling aosp from source. Not easy at all.
That doesn't touch the tip of the iceberg either. Try modifying code (which has to be done sometimes). C, C++, Java, etc.....sh*t can get hairy.
Click to expand...
Click to collapse
I tried my hand at c++ when I used to have a PSP and I messed around and wrote a few starter programs(hello world, a counter,mp3 player)to get me familiar with code. Yea that stuff makes my brain hurt when trying to fix an error, compiling the mp3 player was hard cause I kept getting errors, took me 2 Days to get it to compile into eboot.pbp for psp and it would still freeze when trying to exit so I never got to finish it.
Sent from my SGH-T959V using XDA Premium App

New Entry Level Dev

What's up XDA. I have officially decided to start developing since the Sidekick 4G doesn't have alot of developers. I was about to start before but I changed my mind because I didn't feel like learning java (which i'm learning now). I already know VB, Python, Lisp, and a little C and I already use Linux Distros all the time. I am working on a Red Gingerbread Themed ROM called FreshBlood. It will probally be released in about 2 weeks. I'm in the 11th grade and don't get out of school until 4:10. I get home about 5:00 and go out straight outside to play basketball, football, or hit a J. On weekends, it's Rockband and CoD modding. Therefore, my projects will take weeks, even months, to complete.
I just need to know a few things:
1. What's the best Linux Distro to setup my workstation
2. I'm using a tutorial I found on google. Where can I find good a tutorial for Java
3. What other tools will I need. I think I have them all
1. although I personally use and prefer archlinux, the guides for compiling refer to dependencies for Ubuntu 9.04,9.10, and 10.04, so those would be the easiest to use if you don't want to have to hunt endlessly for packages.
2. unless you're making an app, you won't be using Java. I would suggest searching around the forum for the mod that you're looking for, and most people will post the source of their mod, or at least explain how they did it. for this you'll need to look at baksmali and smali.
3. you'll need baksmali, smali, adb (android sdk), patience.
It's dangerous to go alone!
Take this http://s.android.com/tech/dalvik/dalvik-bytecode.html
I wish someone would have given me that link before! That would have made things so much easier
Ok, thanks I will be one my computer all weekend, but I won't have my usb with all my Linux Distros.
chaostic_2k1 said:
It's dangerous to go alone!
Take this
Click to expand...
Click to collapse
Wow, this is all overwhelming but I'm pushing to understand it all.
Do research and make about 10 test roms before you even think about releasing a official one .
Basically, the results of desmali'ing a file, is the mnemonics/syntax field of that document. ANything that is not there, should be regular language (method, void, etc, regular java). If you know java, that file + what you know, is desmali files.
You still working on this? Not trying to rush at all. Just curious.
Sent from my SGH-T839 using xda premium
Just what i needed!
just got this phone a few weeks ago and have been messing around with it!
and im really wanting to start developing on this phone! i love this phone!
but being a beginner this is really helping out! thanks!!
What are the necsccary things you need to develop a rom?
Sent from my SGH-T839 using xda premium
dw9906 said:
You still working on this? Not trying to rush at all. Just curious.
Sent from my SGH-T839 using xda premium
Click to expand...
Click to collapse
Yeah, I'm still working on my first ROM. I'm taking some things I've seen in a Samsung Galaxy S ROM
Fresh Jr13 said:
Yeah, I'm still working on my first ROM. I'm taking some things I've seen in a Samsung Galaxy S ROM
Click to expand...
Click to collapse
Hopefully it's great. I went back to stock until a rom that is more stable is released. I've tried them all. Eventually the touchscreen stops working off and on. And a lot of other issues. Sucks that stock is the best thing for this phone right now. Good luck. I'll give it a try when your done.
Sent from my SGH-T839 using xda premium
LostInNorth805 said:
What are the necsccary things you need to develop a rom?
Sent from my SGH-T839 using xda premium
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1192493
You can find the tools here, good luck!
Man, I just broke my laptop charger so once my battery dies, all development will stop. I won't have the money to buy another one til' next week. But I am going to try to move everything to my phone and see if I can continue some of my work on there. Do anyone know what I can do my phone, if so, how?
Random post. Just need 10 for dev section
*****I'm a beginner ROM Developer, so don't forget to thank and donate*****
Phone: Sidekick 4G
ROM: FreshBlood ROM - Beta
Kernel: Bali 2.2 /w Voodoo

Android Dev Enviroment

Hi,
I have been hunting for days and trying different stuff without luck.
Im trying to find a decent guide on setting up an eviroment for compiling apps.
Nearly all guide relate to ROM building and not application building.
I managed to get Cygwin working, but it would give stupid errors on compiling SDL source, even though other parts of code that reference SDL compile fine.
I put this down to Cygwin, I had simular problems when compiling on PSP.
Going back to an earlier version seemed to solve that problem, but I dont fancy messing about. Already lost 2 days of my life, .
I then tried Linux and Eclispe, that didnt work out either as apparently there is a problem that causes eclipse to be missing Android from the prefs list.
Tried work arounds, but nothing worked.
As I said, spent 2 days trying to solve this. There are to many guides and contradicting info. Even the official Android site is confusing.
I wanted to play around with UAE4Droid. As I have just bought a tablet, that runs UAE4Droid full speed and Im very impressed. Never considered Android before, bought tablet on a Whim, best thing I have bought in ages.
Any help would be great.
You can try MIT Appinventor by Google, it's esay to use!
http://www.youtube.com/watch?v=8ADwPLSFeY8 (I don't know how to correctly post the video u.u)
albertgoca93 said:
You can try MIT Appinventor by Google, it's esay to use!
Click to expand...
Click to collapse
Thanks for the reply, thats not quite what Im after.
Did you install the ADT plugin in eclipse? This has all the necessary stuff for Android.
Also, a Linux partition is preferable over cgwin or a vm IMO...
Have you tried any of the utilities in the Chef Central section? Tommytommatoe has a great utility for AOL's does most anything you can think of. It also sets up your environment automagically by script. It will add everything to PATH and make sure everything is properly configured.
There are some other goodies in the Chef Central section too!
Sent from my PC36100 using xda premium
imheroldman said:
Did you install the ADT plugin in eclipse? This has all the necessary stuff for Android.
Click to expand...
Click to collapse
I did, I also tried the work arounds to.
imheroldman said:
Also, a Linux partition is preferable over cgwin or a vm IMO...
Have you tried any of the utilities in the Chef Central section? Tommytommatoe has a great utility for AOL's does most anything you can think of. It also sets up your environment automagically by script. It will add everything to PATH and make sure everything is properly configured.
There are some other goodies in the Chef Central section too!
Click to expand...
Click to collapse
Will check it out, thanks.
EDIT:- cant find anything on there, will keep hunting.
Here is TT's Android utility:
http://forum.xda-developers.com/showthread.php?p=5623817
Sent from my PC36100 using xda premium
imheroldman said:
Here is TT's Android utility:
http://forum.xda-developers.com/showthread.php?p=5623817
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Cutom back covers and stylus?

Please Trash.

Please lock and trash.
Exit_Only said:
The title says it all. This is a working device tree for the sk4g. A lot of Aries common stuff is needed to make it boot able. The basic stuff is all here. Sense no one wanted to take the time to get it going properly I took it into my own hands.
Now let me be straight with this community. This is a blind device tree. I have built device trees in the past so this one was a little more complex. I would compile this for you guys but my laptop is being repaired (Bad Hard drive) so I figured I would throw out a device tree.
DIRECTIONS:
Download my Device tree
Upload to Github
Sync your github
Sync CM7
Sync Aries-Common
Let it build
IF YOU CANT UNDERSTAND THESE DIRECTIONS THEN DONT TOUCH IT.
Download the CM7 Sidekick4g device tree http://db.tt/0HotqWY8
THIS IS FOR DEVELOPER USE ONLY. ONCE MY LAPTOP IS FIXED I WILL COMPILE A BUILD FOR EVERYONE. NOW WITHOUT DRIVER SOURCE CODE (BE SURE TO THANK SAMSUCK) FOR THE SK4G WE WILL NEVER HAVE A 100% FULLY FUNCTIONING CM7 BUILD
Click to expand...
Click to collapse
I haven't seen Ubuntu in a while.. I'll see what you have here in January. I don't have a daily driver SK4g anymore with a sim in it, but I'll give it a peek...
orange808 said:
I haven't seen Ubuntu in a while.. I'll see what you have here in January. I don't have a daily driver SK4g anymore with a sim in it, but I'll give it a peek...
Click to expand...
Click to collapse
Ya I got my backup laptop dual booted Ubuntu 11.10 & Windows 7. Its running a weak 1.5ghz AMD E1 processor and 2 GB of ram. I'm not even 100% if my backup laptop could handle a full compile without it crashing. My broken laptop has 8gb RAM and a 1.8ghz AMD E2 Processor (2.3ghz turbo boost) and I got a complete build environment set up on it. I can't wait to get it back :-/
Hell....I have a laptop running dual boot of Windows xp and MacPup 529. NO WAY it'll be able to compile. It'll gasp and ask me, "WTF do you want from me???"
Question...would the Epic 4G have the Samsuck drivers? I saw a CM 7 release and was just wondering.
Exit_Only said:
Ya I got my backup laptop dual booted Ubuntu 11.10 & Windows 7. Its running a weak 1.5ghz AMD E1 processor and 2 GB of ram. I'm not even 100% if my backup laptop could handle a full compile without it crashing. My broken laptop has 8gb RAM and a 1.8ghz AMD E2 Processor (2.3ghz turbo boost) and I got a complete build environment set up on it. I can't wait to get it back :-/
Click to expand...
Click to collapse
I know how you feel. My PC just got a generous upgrade for its age. Went from 256MB of RAM to 768MB to 1.5GB. Still stuck on a Celeron at 2.93ghz. And only have 40gb HDD to work with. I can't run much at once. Still lags even with the 1.5GB of RAM. But, eh, can't complain. Computer only cost me $40. Neighbor sold it to me since she didn't use it.
But, anyways, hope this compiles well for you when you get your compile environment back and running. And best of luck.
Sent from my SGH-T839 using xda app-developers app
Here are a few questions from a non-dev: what drivers are causing problems for getting CM7 running properly on the Sidekick?
Also, how powerful of a PC spec-wise do you need to compile a build of Android?
Ged....from my trolling and the little playing I have done....1) screen. 2)keyboard, 3)jump button, 4) reiserfs. I'm sure there are more issues, but that is where most of the devs have gotten stuck. I tried working on a cm9 build, but couldn't get anywhere with it because of work and family...and I mean nowhere as it I decompressed the base and started looking at it before I got tied up.
Sent from my SGH-T839 using xda app-developers app
ged92781 said:
Here are a few questions from a non-dev: what drivers are causing problems for getting CM7 running properly on the Sidekick?
Also, how powerful of a PC spec-wise do you need to compile a build of Android?
Click to expand...
Click to collapse
ged, xda actually released a YouTube video explaining what is needed to compile.....the link is not posting for some reason. Damn you, Sidekick... ugh.
ANYWAY.... you would need at least 4 gigs of RAM and Ubuntu. You also need to be familiar with the terminal commands and have tons of hard drive space available.
Sent from my SGH-T839 using xda app-developers app
EDIT: Here it is.........Compile Android
I have enough HD space but not enough memory.
Hey guys, I haven't been much help around here.. and I'm not sure today will change that. If the compile process is easy enough to learn and I can run ubuntu through virtualmachine then I will be more than happy to do this process for you. My computers run 8 & 9 GB ram and have over 500 GB hdd space to play around with.
I have never used ubuntu, thus never used terminal, and have obviously never compiled but I am pretty sharp at following directions and have a pretty good technical discernment. Let me know if you need me
Sent from my SGH-T839 using xda app-developers app
---------- Post added at 10:29 AM ---------- Previous post was at 10:27 AM ----------
To be honest I don't even know what a device tree is haha but if its something that will move along development I'll dedicate some time to it
Sent from my SGH-T839 using xda app-developers app
Tsloble said:
Hey guys, I haven't been much help around here.. and I'm not sure today will change that. If the compile process is easy enough to learn and I can run ubuntu through virtualmachine then I will be more than happy to do this process for you. My computers run 8 & 9 GB ram and have over 500 GB hdd space to play around with.
I have never used ubuntu, thus never used terminal, and have obviously never compiled but I am pretty sharp at following directions and have a pretty good technical discernment. Let me know if you need me
Sent from my SGH-T839 using xda app-developers app
---------- Post added at 10:29 AM ---------- Previous post was at 10:27 AM ----------
To be honest I don't even know what a device tree is haha but if its something that will move along development I'll dedicate some time to it
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
A device tree is a device specific set of code that is scaled back or up depending on the device and is used for AOSP Development to get AOSP/CM/PA booting correctly. That is the untechie definition
mjsell2 said:
Ged....from my trolling and the little playing I have done....1) screen. 2)keyboard, 3)jump button, 4) reiserfs. I'm sure there are more issues, but that is where most of the devs have gotten stuck. I tried working on a cm9 build, but couldn't get anywhere with it because of work and family...and I mean nowhere as it I decompressed the base and started looking at it before I got tied up.
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
Parts of the keyboard will be inop and the jump key will be rendered useless as no other phone has a jump key.
Has the quick keys feature been removed from more recent versions of Android? I remember other phones you could press the search key and a letter key and jump to different apps.
Exit_Only said:
Parts of the keyboard will be inop and the jump key will be rendered useless as no other phone has a jump key.
Click to expand...
Click to collapse
ged92781 said:
Has the quick keys feature been removed from more recent versions of Android? I remember other phones you could press the search key and a letter key and jump to different apps.
Click to expand...
Click to collapse
That I don't know as I've never owned a phone with a keyboard
Tsloble said:
Hey guys, I haven't been much help around here.. and I'm not sure today will change that. If the compile process is easy enough to learn and I can run ubuntu through virtualmachine then I will be more than happy to do this process for you. My computers run 8 & 9 GB ram and have over 500 GB hdd space to play around with.
I have never used ubuntu, thus never used terminal, and have obviously never compiled but I am pretty sharp at following directions and have a pretty good technical discernment. Let me know if you need me
Sent from my SGH-T839 using xda app-developers app
---------- Post added at 10:29 AM ---------- Previous post was at 10:27 AM ----------
To be honest I don't even know what a device tree is haha but if its something that will move along development I'll dedicate some time to it
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
Partition your hard drive and boot straight into Linux. At best, you will only be able to devote half your machine's resources to the VM. You don't want to waste resources or deal with the hassle of configuring a VM.
---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------
ged92781 said:
Has the quick keys feature been removed from more recent versions of Android? I remember other phones you could press the search key and a letter key and jump to different apps.
Click to expand...
Click to collapse
It's still in there. I use it on my Relay all the time.
---------- Post added at 08:51 PM ---------- Previous post was at 08:47 PM ----------
Exit_Only said:
Parts of the keyboard will be inop and the jump key will be rendered useless as no other phone has a jump key.
Click to expand...
Click to collapse
Just map it to a search key.
In fact, you should probably map your "Multitasker" key to search on your Sidekick. That way, when the screen is closed, you can press and hold the search key to launch apps--such as a voice search. It still works as a shortcut key when keyboard is open. Get Prehome and double tap home to see recent apps.
my system specs are amd 6 core 1055t overclocked to 3.5ghz with 8 gigs 1600mhz corsair dominator ram, im downloading ubuntu 12.10 desktop to run in virtual, i also had 1.5 TB storage, would that be enough to get started playing with compiling? ive been wanting to try for awhile, just need to grab a few things all im going to try my hand at rom building, i know nothing about it but hey, gotta start somewhere right?
achaps81 said:
my system specs are amd 6 core 1055t overclocked to 3.5ghz with 8 gigs 1600mhz corsair dominator ram, im downloading ubuntu 12.10 desktop to run in virtual, i also had 1.5 TB storage, would that be enough to get started playing with compiling? ive been wanting to try for awhile, just need to grab a few things all im going to try my hand at rom building, i know nothing about it but hey, gotta start somewhere right?
Click to expand...
Click to collapse
That is more then enough to compile.
achaps81 said:
my system specs are amd 6 core 1055t overclocked to 3.5ghz with 8 gigs 1600mhz corsair dominator ram, im downloading ubuntu 12.10 desktop to run in virtual, i also had 1.5 TB storage, would that be enough to get started playing with compiling? ive been wanting to try for awhile, just need to grab a few things all im going to try my hand at rom building, i know nothing about it but hey, gotta start somewhere right?
Click to expand...
Click to collapse
Nice, dude. Good luck. I'm going to get a new desktop soon. It's going to be minus the optical drive since I already have an external DVD writer. Like a netbook.
We can try and work as a team here and get this going! Mind you, I have zero experience with compiling. I was determined to learn how to use Android kitchen and I did it.
Sent from my SGH-T839 using xda app-developers app
I can't believe I've only gotten one thanks for this device tree. Does anyone realize how much work and time goes into something like this? This is probably why no devs are developing for this community. I'm not asking for any donations just a thanks button hit by grateful xda members.
Exit_Only said:
I can't believe I've only gotten one thanks for this device tree. Does anyone realize how much work and time goes into something like this? This is probably why no devs are developing for this community. I'm not asking for any donations just a thanks button hit by grateful xda members.
Click to expand...
Click to collapse
I hear ya. I extend my thanks to you. No one realizes how hard this and just treat the devs like crap.
Sent from my SGH-T839 using xda app-developers app
RicAndroid said:
I hear ya. I extend my thanks to you. No one realizes how hard this and just treat the devs like crap.
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
Yup. Its crazy.

Self porting interest?

How much interest is there for people to learn how to port a ROM?
I know there are ton's of ROMs out there that are awesome. Some we have and some we don't have. For those of you who want to learn how to port a ROM to our device, would you be interested in a device specific porting tutorial? If so, I will make one.
I know there are TONS of porting guides out there but they aren't very informative on actually what to do. Except for Lens_Flare's and Proxuser's MIUI porting guides. Which are generally helpful enough and that's how I started to learn and then figured out how to do it for just about any ROM.
If there is a large enough interest in learning how to do it for yourself or for the Evita community in general, I will make a VERY detailed NOOB friendly guide.
I am definitely very interested. I started poking around the sense 5 port to see if I could fix bluetooth and quickly figured out that I was in over my head. Would love to see a guide to more than just theming.
Sent from my HTC One X using xda premium
tlazarus said:
I am definitely very interested. I started poking around the sense 5 port to see if I could fix bluetooth and quickly figured out that I was in over my head. Would love to see a guide to more than just theming.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I wouldn't go that deep just yet if you don't have any knowledge of smali code. That's what porting deals with, and I'm still learning the coding structure for smali. I have knowledge but I'm still learning it. lol
I'm currently working on the bluetooth issue for that specific ROM.
I will put together a guide over the next few days. I'm going to be making it VERY detailed so there will be as little confusion as possible.
Myrder said:
I wouldn't go that deep just yet if you don't have any knowledge of smali code. That's what porting deals with, and I'm still learning the coding structure for smali. I have knowledge but I'm still learning it. lol
I'm currently working on the bluetooth issue for that specific ROM.
I will put together a guide over the next few days. I'm going to be making it VERY detailed so there will be as little confusion as possible.
Click to expand...
Click to collapse
I too would love this. If you have any good smali code reference links that you might be able to PM me, I'd love that too
Would love to see you put something together. The guide I follow doesn't cover everything I believe... The first few ROMs ported fine.. The others will hang at boot or fail in twrp etc. Very interested myrder
Sent from my One X using Tapatalk 2
Yea do it. I want the new paranoid android xD
Sent from my HTC One XL using xda app-developers app
If you make it I'll have my next must read
Sent from my HTC One XL running super smooth Sense 5
Myrder said:
I wouldn't go that deep just yet if you don't have any knowledge of smali code.
Click to expand...
Click to collapse
Yeah, I figured that out pretty quickly I actually have some experience reading and interpreting code, although mostly c#. My bigger issue is that unlike with windows, I don't understand what handles hardware and driver management or the boot process of Android. Thus, it is like trying to learn two things at once.
Definitely looking forward to your guide - it is greatly appreciated!
Sent from my HTC One X using xda premium
I definitely could use a guide too. Sense 5 was kind of like dumped on me lol. Since then I been on a crash course to learn how to port read logcats etc... Grinder19,Myrder, chubbzlou,carl1961, and others have really helped me a lot. Is like to see a guide go into more detail on like setting up aroma and such.
Sent from my HTC Evita running Sense 5 RX ALPHA
+1
I want to port Paranoid Android 3+
ImagioX1 said:
I definitely could use a guide too. Sense 5 was kind of like dumped on me lol. Since then I been on a crash course to learn how to port read logcats etc... Grinder19,Myrder, chubbzlou,carl1961, and others have really helped me a lot. Is like to see a guide go into more detail on like setting up aroma and such.
Sent from my HTC Evita running Sense 5 RX ALPHA
Click to expand...
Click to collapse
I don't deal with AROMA.. That's something I need to learn my self on. Over the next few days I'll put a guide together. Since I have so many people who want to learn. makes me happy. lol
exad said:
I too would love this. If you have any good smali code reference links that you might be able to PM me, I'd love that too
Click to expand...
Click to collapse
Google has many links to learning smali. I do believe codeaurora.com or what ever that website is has a decent reference to it.
InflatedTitan said:
Would love to see you put something together. The guide I follow doesn't cover everything I believe... The first few ROMs ported fine.. The others will hang at boot or fail in twrp etc. Very interested myrder
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
If they hang at boot, logcats are helpful. Also going into the system_server itself through shell. As for TWRP fails, best to pull up a terminal and "adb pull /tmp/recovery.log" most of the time it's a certain character in the updater script. I once had a corrupted .zip that I compiled through the android kitchen. Took me awhile to figure out that it was corrupt, lol.
tlazarus said:
Yeah, I figured that out pretty quickly I actually have some experience reading and interpreting code, although mostly c#. My bigger issue is that unlike with windows, I don't understand what handles hardware and driver management or the boot process of Android. Thus, it is like trying to learn two things at once.
Definitely looking forward to your guide - it is greatly appreciated!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
The best OS to port android ROMs on is a linux distro, right now I'm on Ubuntu 12.04LTS. Only because I'm having probelms with my TV as my desktop monitor so I'm using my dualboot on my laptop. I stay off when-doze as much as possible unless it's to download music or for school. Don't feel like using VMware for adobe or Word....
Thanks. I did search Google and found great stuff. I only asked in case you stumbled across a site you prefered over others.
I also use ubuntu 12.04 with windows 7 in virtualbox for when windows is needed. I chose 12.04 over 13.04 only because there's a bug with the included kernel that breaks the sound through hdmi for my ati card.
One could even install ubuntu on an external esata drive for decent speed, portability and so as not to mess up any internal storage configuration.
Sent from my HTC One X using xda app-developers app

Categories

Resources