So I'm here waiting for cm 10.2 to build and I had a thought, and want other developers thoughts on this.
So with Ubuntu and sailfish the whole point is to get Linux running natively on a Android phone, right? Are they doing it wrong though, shouldn't we be aiming at running native Linux apps on Android, I mean wouldn't this be a better goal as it would be easier to port it to other roms.
So continuing this chain of thought, if I do start work on this would anyone be willing to test this and help me develop such a module, because that's what it would be, or so I would think.
Mite be new at Android development but am a good programmer especially c++.
I'd be willing to test your work. But I'm not an experienced dev neither.. So dont expect too much help.
Sent from my Xperia V using Tapatalk.
Thanks, I'm doing basic kernel mods at for my cm10.2, I think this will be the last part of my rom building as it will require me doing some, make that loads of coding, keep your eye out for bear rom in the development thread
Sent from my Xperia T using Tapatalk
Okay, good luck with your work!
Sent from my Xperia V using Tapatalk.
Related
Can someone teach me how to port roms starting from the very basic ? I tried porting miui from nexus s using cm7 as base and using http://forum.xda-developers.com/showthread.php?t=1598713 but failed . Can anyone out there who knows how to port roms teach me ?
None of the tutorial will help u in porting roms but you'll only get some idea about handling libs and modules.
You have to use your brain to port roms...
But i'm no developer , i dont know a single thing about development. How do i use my brain then, omr911
?
Sent from my LG-P970 using xda premium
I dont know
zyfkurmom said:
But i'm no developer , i dont know a single thing about development. How do i use my brain then, omr911
?
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Adb logcat helps a lot
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
I know C#, can it help for porting roms or only knowledge of Java can help?
omr911 said:
I dont know
Click to expand...
Click to collapse
you're a great developer , you and your team ported ics to our ob . can you teach me things you know ?
Jonny said:
Adb logcat helps a lot
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Click to expand...
Click to collapse
the problem is , i know nothing , i dont even know what the logcat is used for
zyfkurmom said:
the problem is , i know nothing , i dont even know what the logcat is used for
Click to expand...
Click to collapse
Logcat is used to detect errors in your rom. For example: you compiled a rom but it wont boot, you use logcat and find the bug and solve the problem hope ive helped
Guyzzzz i need help in removing errors or bugs.
i know porting and i had already ported roms..
Dey r partially wrking...
So can u help me in debugging/?
I would like to help you but im kinda noob in developement, however i cn help with simple things feel free to ask anythin` ill help with all i cn
Bro i just want ntwrk working remaining i will do...
plzz help me in Fixing ntwrk.
i m getting unknown imei and unknown baseband.
Sent from my Micromax A60 using XDA
I don't know either but I'm in a similar situation as you. I can share my thoughts and the answer I gave myself to this question.
My current objective is to help LG optimus black ICS porting. What I've done so far is:
a) download and compile ice cream sandwich.
b) download cm7, I'm willing to compile and try it on my device. Starting on something that works will surely help learning.
at this point I'm going to study a little bit the CM7 code in order to get familiar with the files needed to port a rom. I'll try to apply my edits and attempt to solve bugs for cm7. After gaining confidence with the process I'll move to the porting ICS rom.
I want to give you some advice, you need to get familiar with the set of tools and the terminology that developers use:
1) learn to use Ubuntu Linux, it will greatly simplify development. Plus there is a lot of similarities with android, you will find that there are similar configuration files that you can edit in both systems
2) learn to code in some language (at least the basics). In this context (rom porting) I believe that the most useful language is C. But Java would be necessary.
3) learn to use version control (the git program) because it's what most developers use to share code in an easy manner. Remember, a developer(hacker) reads A LOT of code.
That said, it's a big investment in time, but I believe it will help you in life to know this stuff.
Ok if means its not easy as i thought..
And if u r also starting from beginning means with installing Linux dan tell me.
We can both wrk together on different phones and share what. We have got..
If its ok den pm me wour gtalk, facebook id..
Sent from my Micromax A60 using XDA
gabriele.lanaro said:
I don't know either but I'm in a similar situation as you. I can share my thoughts and the answer I gave myself to this question.
My current objective is to help LG optimus black ICS porting. What I've done so far is:
a) download and compile ice cream sandwich.
b) download cm7, I'm willing to compile and try it on my device. Starting on something that works will surely help learning.
at this point I'm going to study a little bit the CM7 code in order to get familiar with the files needed to port a rom. I'll try to apply my edits and attempt to solve bugs for cm7. After gaining confidence with the process I'll move to the porting ICS rom.
I want to give you some advice, you need to get familiar with the set of tools and the terminology that developers use:
1) learn to use Ubuntu Linux, it will greatly simplify development. Plus there is a lot of similarities with android, you will find that there are similar configuration files that you can edit in both systems
2) learn to code in some language (at least the basics). In this context (rom porting) I believe that the most useful language is C. But Java would be necessary.
3) learn to use version control (the git program) because it's what most developers use to share code in an easy manner. Remember, a developer(hacker) reads A LOT of code.
That said, it's a big investment in time, but I believe it will help you in life to know this stuff.
Click to expand...
Click to collapse
We already have ics
Sent from my LG-P970 using xda premium
kaassaus said:
We already have ics
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Without:
Audio
WiFi
Camera
Can't mount SD on PC
GSM/SMS is working in some countries only + no voice
---------- Post added 4th May 2012 at 12:09 AM ---------- Previous post was 3rd May 2012 at 11:44 PM ----------
Eklovya said:
Ok if means its not easy as i thought..
And if u r also starting from beginning means with installing Linux dan tell me.
We can both wrk together on different phones and share what. We have got..
If its ok den pm me wour gtalk, facebook id..
Sent from my Micromax A60 using XDA
Click to expand...
Click to collapse
I'm a long time linux user I just told you what I employed in order to build android from source (and read some code in the way).
I wanted to inform you in some degree what you need (probably) to work with rom porting. What I've seen is that the entry-level for helping is quite high, plus there aren't many resources to study on, so you may need to start without rushing.
http://www.youtube.com/watch?v=H_ReU-0w4IE
This video is about compiling and covers many steps (in a superficial way, though):
installing ubuntu linux, downloading the source code (with a version control tool) and building the source.
Try hacking your way!
Anyone tried to fix bugs on ics ??
Working as a team is better...just saying
But we don't have any source code...
But we need a custom oc/ov kernel.
For cm7.
Is der any way we can get kernel
Sent from my Micromax A60 using XDA
Eklovya said:
But we don't have any source code...
But we need a custom oc/ov kernel.
For cm7.
Is der any way we can get kernel
Sent from my Micromax A60 using XDA
Click to expand...
Click to collapse
You could ask devs that are compiling kernels.
Bro i don't have any access to such dev..
Do u know any1???
Sent from my Micromax A60 using XDA
i hope all the bugs are fix the develop. i know its to hard to develop..
thnx to many developer...hooray.
Just flash the latest aokp rom its genius and i dont have any issues with it, its working even faster than the stock rom on my double speeded gt-p6200... have fun. By the way, there will never be a final ics on custom roms, there is always an idea to make it better ;-)
Sent from my GT-P6200 using XDA
marvz098 said:
i hope all the bugs are fix the develop. i know its to hard to develop..
thnx to many developer...hooray.
Click to expand...
Click to collapse
There is no such thing as 'bug free' buld that is why we always have new versions(builds) untill the dev team decides to move on to something new. Therefore I would imagine there won't be 'Final' ICS untill Android 5 (Jellybean) available and the dev team decides to move on to Jellybean (assuming many of us still sticking to our G-tab 7 and plenty developers still willing to crack one for us.)
However the latest builds of ICS are very stable and suitable for daily use.
yappoe said:
There is no such thing as 'bug free' buld that is why we always have new versions(builds) untill the dev team decides to move on to something new. Therefore I would imagine there won't be 'Final' ICS untill Android 5 (Jellybean) available and the dev team decides to move on to Jellybean (assuming many of us still sticking to our G-tab 7 and plenty developers still willing to crack one for us.)
However the latest builds of ICS are very stable and suitable for daily use.
Click to expand...
Click to collapse
You right, i'm using AOKP for my daily use. 3G,wifi, active sync exchange, dropbox all of them working smoothly only usb tethering not working in milestone #5 but overall great rom...
Sent from my GT-P1000 using Tapatalk 2
Hey guys, I've seen some people that are interested in learning how to develop for Android, so I thought I 'd share my Android Dev Resources bookmarks folder with all of you It's grown significantly since I last showed it to you guys in my CM9-Woot thread.
How to port ROM's to the Desire S (Similar to our phone)
Init.d Script guide
Modding ICS
Build.prop tweaks
ICS style settings mod
Porting Android
Chef Central XDA
GreenROM Project
Android App Development Tutorial
How to port cm7,9,10
How to properly de/recompile APK's
Remap search button to recent apps
Google Android Training
Marakana tech tv (Android tutorials)
CPU Governors explained
Jellybean porting
How to- Compiling from source
How to make you're own custom ROM
How to compile CM10
Compile JB on ubuntu
Build.prop mod- Project Butter
Github.com
XDA Android software and hacking
Building your first kernel
Compile ICS on Ubuntu
CyanogenMod wiki- Compile CM9
Hopefully this inspires more people to learn how to develop for our phone
ZaySk said:
Hey guys, I've seen some people that are interested in learning how to develop for Android, so I thought I 'd share my Android Dev Resources bookmarks folder with all of you It's grown significantly since I last showed it to you guys in my CM9-Woot thread.
How to port ROM's to the Desire S (Similar to our phone)
Init.d Script guide
Modding ICS
Build.prop tweaks
ICS style settings mod
Porting Android
Chef Central XDA
GreenROM Project
Android App Development Tutorial
How to port cm7,9,10
How to properly de/recompile APK's
Remap search button to recent apps
Google Android Training
Marakana tech tv (Android tutorials)
CPU Governors explained
Jellybean porting
How to- Compiling from source
How to make you're own custom ROM
How to compile CM10
Compile JB on ubuntu
Build.prop mod- Project Butter
Github.com
XDA Android software and hacking
Building your first kernel
Compile ICS on Ubuntu
CyanogenMod wiki- Compile CM9
Hopefully this inspires more people to learn how to develop for our phone
Click to expand...
Click to collapse
thanks for that mate if anything i wanna try build a kernal from the htc source so that we can get your cm9 port or kaijuras fully working
naathaanb96 said:
thanks for that mate if anything i wanna try build a kernal from the htc source so that we can get your cm9 port or kaijuras fully working
Click to expand...
Click to collapse
Meh, don't bother with my CM9 port, the code for that build is ancient in technological terms. I'll be compiling CM10 or AOKP JB for you guys next month when my bandwidth meter restarts. I waster a LOT of bandwidth trying to sync the CM10 code and having it run into a fatal error at the end. Such a piss off.
ZaySk said:
Meh, don't bother with my CM9 port, the code for that build is ancient in technological terms. I'll be compiling CM10 or AOKP JB for you guys next month when my bandwidth meter restarts. I waster a LOT of bandwidth trying to sync the CM10 code and having it run into a fatal error at the end. Such a piss off.
Click to expand...
Click to collapse
stuff making my own rom haha ill use kaijuras as the base. just downloading and installing ubuntu 64bit now so i should "HOPEFULLY" have a kernal compiled by the end of today from htc source. which hopefully fixes camera and everything
naathaanb96 said:
stuff making my own rom haha ill use kaijuras as the base. just downloading and installing ubuntu 64bit now so i should "HOPEFULLY" have a kernal compiled by the end of today from htc source. which hopefully fixes camera and everything
Click to expand...
Click to collapse
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
vizzy said:
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
Click to expand...
Click to collapse
should be up and running in about 30 mins
vizzy said:
Let me know how ubunto is as an OS. As I've thought about dual booting with ubunto or OSX. Just haven't had the time yet .....
Sent from my HTC Incredible S using Tapatalk 2
Click to expand...
Click to collapse
I like Ubuntu a lot. I've only used 11.10, and 12.04 but I personally prefer 11.10 due to the fact that 12.04 is "only experimentally supported for compiling ROM's and not guarenteed to work". I also find 11.10 to be significantly more stable and smooth than 12.04, but it could be because of my older computer and processor.
If you're good with technology and computers (Which you most likely are since you're on XDA) then you should have no problem learning how to use Ubuntu. There are a little bit more quirks in Ubuntu than in Windows, and the problems typically have to be fixed in the Terminal, but it's not that bad. I personally enjoy using Ubuntu, I found it to be very easy to learn how to use. (But I'm a major nerd )
Edit: If you want to know anything else about Ubuntu, let me know and I'll fire up my VM.
ZaySk said:
I like Ubuntu a lot. I've only used 11.10, and 12.04 but I personally prefer 11.10 due to the fact that 12.04 is "only experimentally supported for compiling ROM's and not guarenteed to work". I also find 11.10 to be significantly more stable and smooth than 12.04, but it could be because of my older computer and processor.
If you're good with technology and computers (Which you most likely are since you're on XDA) then you should have no problem learning how to use Ubuntu. There are a little bit more quirks in Ubuntu than in Windows, and the problems typically have to be fixed in the Terminal, but it's not that bad. I personally enjoy using Ubuntu, I found it to be very easy to learn how to use. (But I'm a major nerd )
Click to expand...
Click to collapse
8 mins left on my download
Thank you for your hardwork!
By the way, which one did you tried from the above links?
I have gone thru some of the links, some does not work with
sense?
vinboy3 said:
Thank you for your hardwork!
By the way, which one did you tried from the above links?
I have gone thru some of the links, some does not work with
sense?
Click to expand...
Click to collapse
My pleasure I've read them all, and tried out a majority of them myself. Some work, some don't but they all teach you valuable lessons and are worth reading. Not all of them are for Sense ROM's, only some of them are. I also really want to compile CM10 which is why I also have a lot of AOSP links. Some are also app tutorials, I'm also trying to learn how to write apps.
That's an impressive list, thanks for sharing.
hello all, I've just picked up a razr i as a temp standin while my xperia Z is away under warranty repair.
(it was cheap enough to keep too play with afterwards)
is there any reason why no-one has started on CM /PA yet? I've looked through all the posts and can't see anything remotely like a real custom rom..
I'm happy to start working on this (will probably leave it till my Z is back in use though), but would like to get a decent team together to work on it, rather than do it on my own, which is what I've done in the past for a few devices and burnt myself out!
if you're interested then let me know
DO NOT POST
Code:
+1
and me
or
let me beta test !
I want people with a more technical bent than a lot of the users on here to get involved.
for those people, is there anything I'm missing that would stop us building for this?
we have kernel source, and omars kernel looks fairly decent basepoint looking at his git, and some source from motorola that looks sloppily put together.
we can flash with fastboot, and even using blobs it doesn't look too arduous to get at least a 4.1 based build going, so am I missing something?
I'm pretty open on how I work, but I don't tolerate people demanding stuff, or expecting perfection, this will be a W.I.P for a very long time (especially if done on my own).
As far as i know, the problem is on intel processor libs... That's what i've read somewhere around here
Aosp and cm build with some modifications. The phone boots, but in a boot loop on my build. Haven't solved that and will not solve it I think. I have some skills in building, modifying and debugging, but not enough... To get it working. Give it a shot, we can help everyone to get past some certane problems we already solved.
Sent from my GT-P5110 using XDA Premium HD app
Hazou said:
Aosp and cm build with some modifications. The phone boots, but in a boot loop on my build. Haven't solved that and will not solve it I think. I have some skills in building, modifying and debugging, but not enough... To get it working. Give it a shot, we can help everyone to get past some certane problems we already solved.
Sent from my GT-P5110 using XDA Premium HD app
Click to expand...
Click to collapse
do you have a record of what you've already done (other than the github obviously)?
I couldn't find anything searching ..
anerik said:
As far as i know, the problem is on intel processor libs... That's what i've read somewhere around here
Click to expand...
Click to collapse
fards said:
hello all, I've just picked up a razr i as a temp standin while my xperia Z is away under warranty repair.
(it was cheap enough to keep too play with afterwards)
is there any reason why no-one has started on CM /PA yet? I've looked through all the posts and can't see anything remotely like a real custom rom..
I'm happy to start working on this (will probably leave it till my Z is back in use though), but would like to get a decent team together to work on it, rather than do it on my own, which is what I've done in the past for a few devices and burnt myself out!
if you're interested then let me know
DO NOT POST
Code:
+1
and me
or
let me beta test !
I want people with a more technical bent than a lot of the users on here to get involved.
for those people, is there anything I'm missing that would stop us building for this?
we have kernel source, and omars kernel looks fairly decent basepoint looking at his git, and some source from motorola that looks sloppily put together.
we can flash with fastboot, and even using blobs it doesn't look too arduous to get at least a 4.1 based build going, so am I missing something?
I'm pretty open on how I work, but I don't tolerate people demanding stuff, or expecting perfection, this will be a W.I.P for a very long time (especially if done on my own).
Click to expand...
Click to collapse
hello the problem is that no source AOSP (Cyanogen or AOKP) have x86 libraries and formats, visit www.androidx86.org
if you need a beta tester let me know
The app also must be compatible with x86
The problem I faced was that at the moment of booting it kept restarting netd -- which is odd seeing how the Kernel iptables/ipchains and net configuration is the same on Motorola's one. [info]
I even tried adding and compiling extra modules on the Kernel without much luck -- and it was not the typical ramdisk *.rc files fix here.
Hmm I presumed that with the amount of x86 development boards about there would be a load more work on bringing cm across.
I'll start to have a look at it in depth in the next couple of weeks.
Sent from my XT890 using Tapatalk 4 Beta
On my github I got some work and fixes. Not all of them though. Someone's aren't uploaded yet
Sent from my XT890 using xda app-developers app
Is it easyer to make miui v5?
RAZR i xt890 Tapatalk 2
choppertriker said:
Is it easyer to make miui v5?
RAZR i xt890 Tapatalk 2
Click to expand...
Click to collapse
Harder cause it's not only based on cm10 it's alto different port
For MiUi 4.0 there was the possibility to make a stock based Miui Rom,
There even was one for our Razr i, even though it wasn't very popular.
Is this possibility gone with v5 or is there any other reason not to?
greetings
Killigrew said:
For MiUi 4.0 there was the possibility to make a stock based Miui Rom,
There even was one for our Razr i, even though it wasn't very popular.
Is this possibility gone with v5 or is there any other reason not to?
greetings
Click to expand...
Click to collapse
v4 is different, cause all the porting guides are adapted for it, plus there's miuiv4.1 for razr which is easily portable i guess, but v5 is a whole different matter cause it's based on cm
I will be very happy if anyone port miui 4.1 for our razr, i used it before, on my old phone
If anybody dev could do it i think many ppl will be happy as i.
Wysyłane z mojego XT890 za pomocą Tapatalk 2
Oh yes! Please port miui to razr i. :thumbup:
RAZR i xt890 Tapatalk 2
Personally I will never touch muios with a bargepole
Sent from my GT-N8010 using Tapatalk HD
A real cm or pa build would be awesome! I hope you guys make my dreams come true
Any news fards?
Enviado desde mi XT890 usando Tapatalk 4 Beta
Nope sorry, not yet. been trying to get an aosp build booting from the Motorola code, but it's not happening with that yet. never mind any further progress
Sent from my C6603 using Tapatalk 4 Beta
fards said:
Nope sorry, not yet. been trying to get an aosp build booting from the Motorola code, but it's not happening with that yet. never mind any further progress
Sent from my C6603 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Dont worry bro, i have all my hope that one day we gonna have cm or pa
Enviado desde mi XT890 usando Tapatalk 4 Beta
I got Intel's AOSP Android (4.1.2) to build and then made some binary blob overlays on top. It show the Motorola animation logo on the Phone and then it starts flickering -- I have yet to plug adb to it, but I need to go to sleep soon.
Experimental File, adb enabled at boot: RazRi_AOSP_A001.zip [Flashes boot animation, this is using Motorola's *.prop files, which shouldn't be]
Experimental File, adb enabled at boot: RazRi_AOSP_A002.zip [Have not tried this one, this has safe cflags and default build.prop]
Source: https://github.com/oxavelar/android_device_motorola_intel_smi
Q: Anyone with two phones who knows what to experiment with? I put the instructions to build on the github readme at the moment.
Hi, few days ago I began working on a port of the 3.10 linux kernel for victara. I think it could be interesting as this version brings up some nice features. But it is still cool to get a more up to date kernel anyway. Unfortunately, the kernel is stuck to 3.4.y now so I'm posting here and hope interested people will help me, because this task takes a lot of time and there is some difficulties. I'm looking more for enthusiasts with some general and also Linux kernel specific knowledge but anyone who really wants to help is welcome, I think this will be very fun and we will share a lot of knowledge. If you are interested you can send me a PM. [emoji4]
Sent from my XT1092 using Tapatalk