Related
Hey im a big newbie, but I was able to port a ROM from Arc to Pro.
Now I want to create a battery saving kernel for our pro!
But... How do I start and how do I make it best battery saving??
Thanks alot mates!!!
arc knight 3.3 very good
lammy29 said:
arc knight 3.3 very good
Click to expand...
Click to collapse
thanks for reply. but isnt that for arC? I meant for the xperia pro. Is it possible to port KERNELS??? I was able to port an Arc rom to my Pro but I cant find tutorials on how to port kernels and maybe it is alot harder???
xperiap said:
but I cant find tutorials on how to port kernels
Click to expand...
Click to collapse
Have you looked HERE?
XperienceD said:
Have you looked HERE?
Click to expand...
Click to collapse
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
I only want arc knight kernel [Xperia Arc / s] for my Pro. Maybe someone can do it??? Or help me do it im really a noob
xperiap said:
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
Click to expand...
Click to collapse
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
XperienceD said:
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
Click to expand...
Click to collapse
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
xperiap said:
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Click to expand...
Click to collapse
My point was to try asking in the section dedicated to Android development, as you'll probably get better help or pointers than you will by posting it here, and if you've not found anything at all in regards to kernel building/porting then you're obviously not using google correctly.
Riyal said:
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
Click to expand...
Click to collapse
WoW Riyal, who is this guy I see you everwhere, are you the BEST android developper???
Can u PLZZZ make Arc knight kernel for Xperia Pro ??? I have some money to donate if u want, or help me do and answering questions / problems im facing.
PLz reply thanks!
I'm not the best android developer in fact I am not an android developer.
I am a server administrator and a programmer and it's just I am also a linux kernel developer.
It just so happens that I am the only and sole android kernel developer which is this active for Xperia Pro. If you don't trust me feel free to approach any other developers like FXP and cross fingers that he would reply to you.
I'll try to look for any arc night sources if I found one I'll guide you if not then try ask the creator of arcnight for it's sources then I'll help you.
Ok here's a quick tutorial. I am not good at teaching things so I hope you understand that. I would also assume you have at least basic knowledge with linux and compiling stuff. If not then learn it first before proceeding.
1st.
You must have a linux machine. No windows only linux.
2nd.
download arcnight kernel sources here.
https://github.com/Jimbo77/Arc-Night-Kernel--4.1.C.0.7-/zipball/master
3rd.
go to kernel/arch/arm/configs/
You should be able to see lot's of config files there just pick these 2.
ArcKnight_defconfig
semc_iyokan_defconfig
4th.
Now compare both files make sure that everything in semc_iyokan_defconfig should be also in ArcKnight_defconfig
Ex. if a config in arcKnight says
# CONFIG_MACH_SEMC_IYOKAN is not set
while config in semc_iyokan_defconfig says
CONFIG_MACH_SEMC_IYOKAN=y
Then change arcknight's config and match it with iyokan's
5th.
Download eabi here.
https://sourcery.mentor.com/sgpp/lite/arm/portal/[email protected]=lite
6th
follow everything in here.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
7th.
in the line
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make semc_zeus_defconfig
Click to expand...
Click to collapse
on sony's dev page change it instead to
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make ArcKnight_defconfig
Click to expand...
Click to collapse
Done.
Note that I am not responsible if you brick your device. You are using a kernel made for Arc/Arc S and also I am not the developer of that kernel to assure you that it doesn't have any changes which would affect any specific device in any way.
I started and understand the setup etc. but not part 6, when I run terminal and type ''cd kernel'' it says
bash: cd: kernel: File or map doesnt exist
Click to expand...
Click to collapse
AND Ive downloaded eabi. Its a .bin file [is that ok?] and I cant open it! How can I open it??
As Canonical launch Ubuntu for phone today.. I'm pretty excited about this project and according to what he said, we will be able to download the first release within next 1 or 2 weeks.
My question is, since Android and Ubuntu share kernel and driver, is there any possible way to run dual boot on the same phone?
How would we know? You couldn't wait till it was out so we'd even know the install process?
063_XOBX said:
How would we know? You couldn't wait till it was out so we'd even know the install process?
Click to expand...
Click to collapse
You coundn't answer without being snotty and arrogant?
He was just asking a question, the attitude is unnecessary.
fredphoesh said:
You coundn't answer without being snotty and arrogant?
He was just asking a question, the attitude is unnecessary.
Click to expand...
Click to collapse
Not arrogant; straight to the point. And Android doesnt share the same kernel as Linux. If they did, then Android would be in 3.8.x or 3.6.x stable.
Sent from my i9250
There's a way to be straight to the point and not imply that the OP's question shouldn't have been asked. It was a good question. It's too bad that the semi-anonymous nature of the internet allows people to be ruder than they'd be in person. Forums are here for people to ask each other questions. That's the point of it all.
So to answer the OP's question, take a look at this. It's not really dual boot but you may find it interesting. I'm personally really excited about this.
http://www.ubuntu.com/devices/android.
Oh and regarding Ubuntu and Android not being able to share the same kernel, here's a quote from the above website:
"It lets Android and Ubuntu share the same Linux kernel, so they can run at the same time – Android for the phone experience and Ubuntu when docked."
I said android and Linux, not android and Ubuntu.
Sent from my i9250
I have dual boot Android and Ubuntu on my Infinity, and they share the same kernel...
I'm not quite sure what you mean by Android and Linux versus Android and Ubuntu?
Because Ubuntu isn't Ubuntu Mobile. And it isn't actually being run on your device it's being emulated.
063_XOBX said:
Because Ubuntu isn't Ubuntu Mobile. And it isn't actually being run on your device it's being emulated.
Click to expand...
Click to collapse
How so?
Ubuntu (which is what the OP was about) can share a kernel with Android. This is proven by the post I linked to.
As to dual booting Ubuntu mobile and android, we'll have to wait.
Either way the OP was right about one thing: its very exciting.
Sent from my SPH-L900 using Tapatalk 2
As you all know "Ubuntu for phones" has been released for the Galaxy Nexus, Nexus 4, Nexus 7 and Nexus 10. Lets discuss about this being a possiblity to port on our device.
A porting guide will be posted on Ubuntu website on 22nd (which is today in India).
https://wiki.ubuntu.com/Touch/Porting#Stay_tuned.21
Great my fingers-crossed hope we can take advantage of Ubuntu in our phone
Sent from my MB526 using xda premium
Dual Boot
Just curious, the porting guide says that Ubuntu runs over the stock kernel, if it's right, would it be possible to run it in dual boot?
Samsung Galaxy S (I9000) is having official support and currently the port is work in progress. Apart from the system partition size issue, if samsung galaxy s can run it, so can defy. This is very early stage and we can only presume such thing.
https://wiki.ubuntu.com/Touch/Devices
Floydroider said:
Just curious, the porting guide says that Ubuntu runs over the stock kernel, if it's right, would it be possible to run it in dual boot?
Click to expand...
Click to collapse
So no problem with locked bootloader ?
Sent from my MB526 using xda app-developers app
Marmotte51 said:
So no problem with locked bootloader ?
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Should not be, most of the phones which can run cm 10.1 can easily handle this. Building it too doesn't look much difficult. "Ubuntu for phones" is surprisingly based on CM sources.
I've not enough speed for syncing sources, maybe Kayant or m11kkaa can build it for us.
brajesh.sharma87 said:
Should not be, most of the phones which can run cm 10.1 can easily handle this. Building it too doesn't look much difficult. "Ubuntu for phones" is surprisingly based on CM sources.
I've not enough speed for syncing sources, maybe Kayant or m11kkaa can build it for us.
Click to expand...
Click to collapse
Till it gets stable enough to worth porting, we will probably have CM 10.1 and kernel 3.0 working perfectly
A little update
I have successfully compiled the the ubuntu zip for our defy however, am facing a major issue at the moment which is the prebulit image that is needed to flash before installing the defy zip is not being installed for some reason Am currently trying to find why this is but no luck so far...... I think I may be something to do with our data partition..... maybe the preimage is too big for it??? that am not sure but I have just reduced it by deleting some images and videos included in the demo..... Hopefully it will decide to work this time
Edit - that did the trick it's working now ^_^
Link to thread ----> http://forum.xda-developers.com/showthread.php?t=2174544
Kayant said:
I have successfully compiled the the ubuntu zip for our defy however, am facing a major issue at the moment which is the prebulit image that is needed to flash before installing the defy zip is not being installed for some reason Am currently trying to find why this is but no luck so far...... I think I may be something to do with our data partition..... maybe the preimage is too big for it??? that am not sure but I have just reduced it by deleting some images and videos included in the demo..... Hopefully it will decide to work this time
Edit - that did the trick it's working now ^_^
Link to thread ----> http://forum.xda-developers.com/showthread.php?t=2174544
Click to expand...
Click to collapse
what is the version of kernel?
sorry for my bad english
Hello!
I am an ubuntu user since 2006 or so and was quiet happy to see the news about it on phones but the hardware requirements are a bit stronger than what our device has. I remember something about minimum dualcore processors and 1 Gb ram. But if someone manages that'd be fun
Keboid said:
Hello!
I am an ubuntu user since 2006 or so and was quiet happy to see the news about it on phones but the hardware requirements are a bit stronger than what our device has. I remember something about minimum dualcore processors and 1 Gb ram. But if someone manages that'd be fun
Click to expand...
Click to collapse
That's for the high end.... low spec our defy matches most of the requirements.....
Let's Go ^_^
I've tried it and the screen does not work
rol525 said:
I've tried it and the screen does not work
Click to expand...
Click to collapse
What exactly do you mean Is the phone not booting pass the black screen after the moto logo.... if so you need to make sure you have wipe data if not the quantal-preinstalled-phablet-armhf.zip won't be installed and flashed the quantal-preinstalled-phablet-armhf.zip first or it will never boot.
Kayant said:
What exactly do you mean Is the phone not booting pass the black screen after the moto logo.... if so you need to make sure you have wipe data if not the quantal-preinstalled-phablet-armhf.zip won't be installed and flashed the quantal-preinstalled-phablet-armhf.zip first or it will never boot.
Click to expand...
Click to collapse
passes the logo and came to the screen of 14 tweets
sorry for my bad english
pd: i restore cm9
rol525 said:
passes the logo and came to the screen of 14 tweets
sorry for my bad english
pd: i restore cm9
Click to expand...
Click to collapse
Then it works .... I think I see what you mean now..... yh it q Ubuntu bug u have to switch off the phone by removing the battery....
Let's Go ^_^
i have a mb525 green lens
Well, i had time to watch the videos and what to say as an old ubuntu user... its just awesome!!
Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
mrmigg said:
Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
Well im a bit ahead of you
Im learning to code in "C" (what linux>android is coded i )
Im also learning to code in java (what android apps is coded in (not only that but the google "A.P.I's)
I havnt given too much information here but if you have a question then ask im quite sure me and alot of other people can answer them
~How to help devs
Xda Dev DB has a report a bug button. If a dev makes a thread in dev db then it will have these features
Some custom roms have a report a bug button.
~understanding android
Depends on what exactly you want to understand
~how to develop
I suggest starting with kernels
Try learning to add some changes (cpu OC/aditional patches , govenors and schedulers)
Then once you've mastered kernel editing then look for some of the Cyannogenmod Guides to building for your device
Once you've mastered that then well, you can develop anything that is coded in C anything based on C
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
mrmigg said:
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
Click to expand...
Click to collapse
Apart from websites, please do read Head First C and C: The Programming Language by Dennis Ritchie and Brian Keringhan. They are good books:thumbup:
And once you've got a good hang of the language, check out Linux Kernel Development by Robert Love. It's an awesome book.
Good luck
Sent from my LT26i using Tapatalk
mrmigg said:
First, thanks!
So basically I should start learning C? Do you have some websites which you can recommend me? (Beside Cyanogenmod's...)
Gesendet von meinem Xperia S mit Rayman's 4.4 KitKat
Click to expand...
Click to collapse
umm according to me learning C is important but it comes later..Before that you need to understand the following
1. Linux- When i started out, i had no idea how a linux system works and naturally half the time went in learning about it( Now i love it..)
My suggestion : try to install a linux based distro..i would suggest ubuntu...If you dont want to install another OS then just install virtualbox and install Ubuntu 12.04 or 13.04 and try to mess around with it..
2. Android- If you know a bit about linux then this will get simplified....you will know what a kernel means and how the partitions are different from Windows,why we root our devices,what is open source etc..
3-Next is your choice: You wanna build a ROM,a kernel,a tool is all upto you...first thing will naturally be getting the source...i agree with envious_data here...first try with building a kernel...you will learn loads...my suggestion...first build a kernel without tweaking anything.....i.e. stock kernel...then add tweaks and build(this is the time you'll need a bit of knowledge about C)
I can help you with one thing...if you wanna know a bit more about android then i had written a small guide here a few days back..
Also i have compiled a tool containing a few utilities..which should get you started....but don't rely totally on the tool...study and use the tool simultaneously if you are using it...you can download it through my signature...first link...
have fun coding....
Dark Wraith said:
umm according to me learning C is important but it comes later..Before that you need to understand the following
1. Linux- When i started out, i had no idea how a linux system works and naturally half the time went in learning about it( Now i love it..)
My suggestion : try to install a linux based distro..i would suggest ubuntu...If you dont want to install another OS then just install virtualbox and install Ubuntu 12.04 or 13.04 and try to mess around with it..
2. Android- If you know a bit about linux then this will get simplified....you will know what a kernel means and how the partitions are different from Windows,why we root our devices,what is open source etc..
3-Next is your choice: You wanna build a ROM,a kernel,a tool is all upto you...first thing will naturally be getting the source...i agree with envious_data here...first try with building a kernel...you will learn loads...my suggestion...first build a kernel without tweaking anything.....i.e. stock kernel...then add tweaks and build(this is the time you'll need a bit of knowledge about C)
I can help you with one thing...if you wanna know a bit more about android then i had written a small guide here a few days back..
Also i have compiled a tool containing a few utilities..which should get you started....but don't rely totally on the tool...study and use the tool simultaneously if you are using it...you can download it through my signature...first link...
have fun coding....
Click to expand...
Click to collapse
Actually I´m using Linux for a while now, and yes I love it, don´t want to use windows anymore. I also began some coding in C but anyway I was lacking a clear guide for where to begin. Maybe I should just begin building a kernel. I think the CyanogenMod Wiki explains that in a good way, doesnt it?
I´ll try your tool then, too! Thanks bro!
mrmigg said:
Actually I´m using Linux for a while now, and yes I love it, don´t want to use windows anymore. I also began some coding in C but anyway I was lacking a clear guide for where to begin. Maybe I should just begin building a kernel. I think the CyanogenMod Wiki explains that in a good way, doesnt it?
I´ll try your tool then, too! Thanks bro!
Click to expand...
Click to collapse
no cyanogenmod wiki contains guides to build cyanogenmod...if you are going for kernel...go for xda university tutorial and if you have any queries about C..you can pm me...i am not an expert but i know a few things...
If u are using my tool then do leave a feedback there as idk if anyone downloaded or used it....and idk if its good/bad/if it has bugs etc...
Perfect...thanks for the help
Gesendet von meinem Xperia S mit Tapatalk
Dark Wraith said:
no cyanogenmod wiki contains guides to build cyanogenmod...if you are going for kernel...go for xda university tutorial and if you have any queries about C..you can pm me...i am not an expert but i know a few things...
If u are using my tool then do leave a feedback there as idk if anyone downloaded or used it....and idk if its good/bad/if it has bugs etc...
Click to expand...
Click to collapse
A tool eh?
Link me to your tool. I'm good at breaking things... And finding bugs
(already found about 15 with my PS4 firmware xD)
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
A tool eh?
Link me to your tool. I'm good at breaking things... And finding bugs
(already found about 15 with my PS4 firmware xD)
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its in my signature......first one....
mrmigg said:
Hello!
I've been flashing ROMs for a while and I'm getting interested in development. While there are many guides for how to flash ROMs, etc. I couldn't find any post explaining how to begin if you want to become a dev.
Through some googling, there is useful information, but its dispersed, and I think it would be awesome if someone creates a beginner's guide in our SXS forum.
Things that should be covered in my opinion:
-how to help devs by reporting bugs (how to do it right?)
-understand android
-well how to develop?
I would do such a guide by myself, but I don't I think that I know enough about it.
I would really really appreciate help, as I think this will be very useful for any beginner. I'm not a native speaker, so apologise for any errors...
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
Envious_Data said:
Well im a bit ahead of you
Im learning to code in "C" (what linux>android is coded i )
Im also learning to code in java (what android apps is coded in (not only that but the google "A.P.I's)
I havnt given too much information here but if you have a question then ask im quite sure me and alot of other people can answer them
~How to help devs
Xda Dev DB has a report a bug button. If a dev makes a thread in dev db then it will have these features
Some custom roms have a report a bug button.
~understanding android
Depends on what exactly you want to understand
~how to develop
I suggest starting with kernels
Try learning to add some changes (cpu OC/aditional patches , govenors and schedulers)
Then once you've mastered kernel editing then look for some of the Cyannogenmod Guides to building for your device
Once you've mastered that then well, you can develop anything that is coded in C anything based on C
Click to expand...
Click to collapse
Created a guide, in case you are interested
http://forum.xda-developers.com/showthread.php?t=2585260
Wooow!Thats awesome! I really appreciate that, thank you for spending your time on that! great man!
Gesendet von meinem LT26ii mit Tapatalk
Right now I' m on holidays, so I hadnt the chance to read everything yet...but... I screenshoted everything so its plane-friendly thank you, really, you made a great job!
Gesendet von meinem LT26ii mit Tapatalk
Dark Wraith said:
Created a guide, in case you are interested
http://forum.xda-developers.com/showthread.php?t=2585260
Click to expand...
Click to collapse
Bam, you got into the XDA-Portal news! Congratulations, another thanks, and a happy new year men!
Gesendet von meinem LT26ii mit Tapatalk
mrmigg said:
Bam, you got into the XDA-Portal news! Congratulations, another thanks, and a happy new year men!
Gesendet von meinem LT26ii mit Tapatalk
Click to expand...
Click to collapse
yeah two times...one for tool and once for guide........thx to the portal mods......anyways...Happy new Year to you too..
Hello All,
My goal is to run a windows x86 executable on my Sony Z1. As far as I know I need a kernel with support for binfmt_misc_kernel module and 3G/1G vm split. Then it would be possible to run wine under qemu user mode or exagear on near native speed.
Since I'm a rookie (not even!) in kernel development or compiling I'd like to ask you if you know a way to help me? Anybody knows of any available rom compiled with those options? Or how would I find this out? As far as I can tell the CM11 does not run exagear because of the lacking binfmt_misc_kernel module...
Link to the exagear tool: http://eltechs.com/product/exagear-desktop/
Or maybe you can tell if it can be done at all / is it 'doable'?
Thank you in advance and greetings from Amsterdam, the Netherlands
Mike.
Hmm...look interesting....
Pls move to General or F&Q
Sent from my C6903 using XDA Premium 4 mobile app
meliacentrum said:
Pls move to General or F&Q
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Don't know how to do that - only an admin or moderator can I assume?
In general - I wonder if *anyone* got this exagear desktop tool running on their phone?!
mmmanus said:
Hello All,
My goal is to run a windows x86 executable on my Sony Z1. As far as I know I need a kernel with support for binfmt_misc_kernel module and 3G/1G vm split. Then it would be possible to run wine under qemu user mode or exagear on near native speed.
Since I'm a rookie (not even!) in kernel development or compiling I'd like to ask you if you know a way to help me? Anybody knows of any available rom compiled with those options? Or how would I find this out? As far as I can tell the CM11 does not run exagear because of the lacking binfmt_misc_kernel module...
Link to the exagear tool: http://eltechs.com/product/exagear-desktop/
Or maybe you can tell if it can be done at all / is it 'doable'?
Thank you in advance and greetings from Amsterdam, the Netherlands
Mike.
Click to expand...
Click to collapse
Maybe @jerpelea can point a word or two out on this? Ask him - he is with Sony since a couple of months ago and a skilled guy when it comes to advanced Android / Linux hacking.
Sounds interesting.
Ok cool I will PM @jerpelea. A while ago I also asked @DooMLoRD about this, he answered that most kernels already have the 3G/1G vm split options. No word about the binfmt_misc_kernel module though.