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.
Related
Hello together,
nobody answered my thread ( http://forum.xda-developers.com/showthread.php?t=874481 ), so I will post it here . I found another Thread whit the same Question ( http://forum.xda-developers.com/showthread.php?t=854046 ). Maybe I asked the wrong question. I want to know, if I could get debian packages on my rooted Defy, and if how to do this!?
Any ideas?
pepper-jk
Maybe via chroot. Google could help.
Thx.
I found something in german, I will read through it.
pepper-jk
The point is that only the kernel is the "same", or with other word's Google take the Linux kernel (and only the kernel) and build a mobile OS around it.
So you can't take a debian arm package and just install on android because the difference are to big. Only a static link arm binary could run perhaps as service.
sent from my moto defy with taptalk
pepper-jk said:
Thx.
I found something in german, I will read through it.
pepper-jk
Click to expand...
Click to collapse
Hi. Did you manage to get it working?
I know ppl did it on another Android (G1). But never on other devices. Is there any difference?
Are there any news on this topic?
Sent from my MB525 using Tapatalk
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
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..
It's possible to run linux on android (google app store) app. And install ubuntu on the app and run the same using chroot. Will this be possible in any of the new roms that are posted in the developers area? Thanks for your answer, this will be principal factor in my decision to buy this device.
pogo123 said:
It's possible to run linux on android (google app store) app. And install ubuntu on the app and run the same using chroot. Will this be possible in any of the new roms that are posted in the developers area? Thanks for your answer, this will be principal factor in my decision to buy this device.
Click to expand...
Click to collapse
I don't see why not, you could even port native Ubuntu over with a little effort since the 5420 soc already has Linux ports.
eousphoros said:
I don't see why not, you could even port native Ubuntu over with a little effort since the 5420 soc already has Linux ports.
Click to expand...
Click to collapse
if you have the device, would you be so kind to try, and confirm, the app and ubuntu is working fine. thanks in advance.
pogo123 said:
if you have the device, would you be so kind to try, and confirm, the app and ubuntu is working fine. thanks in advance.
Click to expand...
Click to collapse
http://releases.linaro.org/14.01/ubuntu/arndale-octa
eousphoros said:
http://releases.linaro.org/14.01/ubuntu/arndale-octa
Click to expand...
Click to collapse
Hmm. very interesting thanks for the info... Any hands on experience with "Complete Linux Installer" , "https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&hl=en" Running Linux native in the device sounds interesting, but running ubuntu on the same within android is exactly what I need at this moment. In some of the devices that I use to have especially with a original rom this process is not supported. If any body had done this process in the device and could advise will be very helpful. Thanks in advance.
I'll give it a go on my Tab S 8.4 and report back...
pibach said:
I'll give it a go on my Tab S 8.4 and report back...
Click to expand...
Click to collapse
Thanks
Seems to work over VNC, not naively.
First attempt doesn't download the image, have to investigate...
pibach said:
Seems to work over VNC, not naively.
First attempt doesn't download the image, have to investigate...
Click to expand...
Click to collapse
just pull the trigger and buy one of this little tablet. will try and let everyone know if the installer works.
I tried it on the SM-T800 (WIFI) and it doesn´t worked at all because it cannot run the loop mode (?)
I´m trying linux on android for the first time so maybe someone can help me with it!
I need to figure out if it would be possible if i had another Kernel or another rom.
At the moment I´m running ThunderRom 800
Thanks in advance!
Maxiking
Same here. seems to need the ability to do a mount loop. any ideas.
I get "unable to create loopback device" error. Blows..
Does anybody knows the complete procedure to activate loop device on the smt800