Compiling Kernel Sorce - Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl

Is this the correct kernel for our tablet? I am looking to compile some usb network drivers and I need the correct source kernel. Has anyone compiled the source? Which one did you choose and why? Thanks.
US - Wifi version P600
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=P600
Sent from my Galaxy Nexus using Tapatalk

Looks like its the whole stock rom, the kernel should be in there. Once i get a chance to jump on a pc ill explore around a bit more, but it should be in there.
Just curious, whatre you looking to do with the kernel? Sdcard swap?
Sent from my SGH-T889 using XDA Premium 4 mobile app

I am trying to compile drivers for my plugable USB network adapter. I am following this post here but I am having issues compiling the kernel.
http://forum.xda-developers.com/showthread.php?t=2131825
[Driver] Asix AX88772 kernel module (USB Ethernet)
Sent from my Galaxy Nexus using Tapatalk

pozer69 said:
I am trying to compile drivers for my plugable USB network adapter. I am following this post here but I am having issues compiling the kernel.
http://forum.xda-developers.com/showthread.php?t=2131825
[Driver] Asix AX88772 kernel module (USB Ethernet)
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Hello.
Have you selected the option by modules ("M") or built-in ("*")? Maybe you should begin by built-in compiling.
This way, it will prevent problems coming from read/write access rights and also insmod problems.
After flashing your boot.img, you just have to start at the lign "-Setup ethernet settings, if you want static address, for typical internet router at 192.168.1.1"
of http://forum.xda-developers.com/showthread.php?t=2131825

pozer69 said:
I am trying to compile drivers for my plugable USB network adapter. I am following this post here but I am having issues compiling the kernel.
http://forum.xda-developers.com/showthread.php?t=2131825
[Driver] Asix AX88772 kernel module (USB Ethernet)
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Hello.
I confirm: the compilation of the source coming from http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SM-P600 gives a working ethernet over usb device.
Mine is an asix 88772 chip. It dowloads at 1Mo/s which is the max of my DSL router, but I am sure it can do better. 11,6 Mio/s on my PC, on LAN.
I used built in compilation of the modules. (*) in make menuconfig.
How to give acces to the browser to the eth0 because now I can only download with wget in a console?

Chopac said:
Hello.
I confirm: the compilation of the source coming from http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SM-P600 gives a working ethernet over usb device.
Mine is an asix 88772 chip. It dowloads at 1Mo/s which is the max of my DSL router, but I am sure it can do better. 11,6 Mio/s on my PC, on LAN.
I used built in compilation of the modules. (*) in make menuconfig.
How to give acces to the browser to the eth0 because now I can only download with wget in a console?
Click to expand...
Click to collapse
Can you write up a "How to" or let me know what you did... I am receiving errors when I compile the kernel.
Sent from my Galaxy Nexus using Tapatalk

Chopac said:
Hello.
I confirm: the compilation of the source coming from http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SM-P600 gives a working ethernet over usb device.
Mine is an asix 88772 chip. It dowloads at 1Mo/s which is the max of my DSL router, but I am sure it can do better. 11,6 Mio/s on my PC, on LAN.
I used built in compilation of the modules. (*) in make menuconfig.
How to give acces to the browser to the eth0 because now I can only download with wget in a console?
Click to expand...
Click to collapse
What did you use for "Physical address of main memory"
Sent from my SM-P600 using Tapatalk

pozer69 said:
What did you use for "Physical address of main memory"
Sent from my SM-P600 using Tapatalk
Click to expand...
Click to collapse
Where did you see that?
I never use that.
If you are at boot.img building, I use exactly the parameters given by unmkbootimg, except of course the names of the files.
I used the source from opensource . samsung . com, and get the latest firmware from sammobile.com to get the initial boot.img.
I followed the tutorial here: search google: pete.akeo.ie (will edit the link it in some posts)
Thanks to Pete.
The compilation errors came from a too recent arm-eabi. The 4.6 like in the tutorial is working good, contrary to 4.8, on my PC.
To flash the final boot.img, myboot.img, tar -cvf boot.tar myboot.img.
Then I used ODIN on M$, to flash boot.tar.
If you succeed to flash myboot.img with fastboot, tell me please how do you do.

Related

[REQ] TUN.KO

OK, before I go try and reinvent the wheel, has got a tun.ko module for the E4GT built yet?
--Mods feel free to delete this post. It would be good public knowledge for people to know that the tun module is built into our factory kernel though..
This needs to go in the Q&A forum. Not in development. Hope you brought some flame pants.
Wrong section, and it's built into the kernel.
flame on then. and a mod is free to move it to Q&A. I was going to go try and build it myself.
dodgeboy said:
Wrong section, and it's built into the kernel.
Click to expand...
Click to collapse
Is there somewhere that confirms it being built into the kernel for sure? I can't get Cisco Any Connect to work, which require that mod being loaded into the kernel, TIA!
I would have to agree that it's build into the kernel with what I have seen so far with trying to get openvpn to work.
KingOfThaJungle said:
Is there somewhere that confirms it being built into the kernel for sure? I can't get Cisco Any Connect to work, which require that mod being loaded into the kernel, TIA!
Click to expand...
Click to collapse
Cisco Anyconnect works fine for me. Stock rom (rooted), stock kernel. It did not work for me (gave some error about not being able to apply configuration changes) when I was using the CWM kernel briefly.
Dave
RUSSIAN NYAN CAT.
Every spam thread in Development means 15 more minutes of this. Please, think of your fellow users. Don't make me post this again.
OK, if it's in the kernel, does that mean it's automatically enabled, and I don't have to do anything to get it running? I'm coming from an Epic 4G where I had to run the tun.ko module, so bear with me on this please.
Robbzilla said:
OK, if it's in the kernel, does that mean it's automatically enabled, and I don't have to do anything to get it running? I'm coming from an Epic 4G where I had to run the tun.ko module, so bear with me on this please.
Click to expand...
Click to collapse
Correct. If it's in the kernel, you don't need to load a module.
OK, so dumb question #2: which kernels have it built in, or does it come in the stock kernel? I'm using Lost kernel at the moment, and get a robot is acting like I forgot to load the tun.ko module...
FYI: my work uses an old VPN system; ipsec psk that doesn't use certificates, and uses the old Cisco VPN client, which doesn't work with anyconnect. I've had successes with my epic 4G with get a robot and a good kernel, so that's where I'm coming from, but am still getting my feet wet on the new phone.
Sent from my SPH-D710 using Tapatalk
Robbzilla said:
OK, so dumb question #2: which kernels have it built in, or does it come in the stock kernel? I'm using Lost kernel at the moment, and get a robot is acting like I forgot to load the tun.ko module...
FYI: my work uses an old VPN system; ipsec psk that doesn't use certificates, and uses the old Cisco VPN client, which doesn't work with anyconnect. I've had successes with my epic 4G with get a robot and a good kernel, so that's where I'm coming from, but am still getting my feet wet on the new phone.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
So far (for me, at least), it has only worked with the stock "pulled" kernel. It works with the pulled kernel that contains CWM, as well. All of my experience is related to the anyconnect client. I haven't tried to connect to any older IPSEC only systems, or used get a robot.
Dave
My turn for a nOOb question ...what is TUN.KO? Thanks friends
Sent from my Nexus S 4G using xda premium
JohnCorleone said:
My turn for a nOOb question ...what is TUN.KO? Thanks friends
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
It's a tunneling module that allows you to connect via VPN if it's not built into the kernel that you're using. In short, you turn it on and it gives the VPN apps the tools they need to work right. Android has been pretty lax about including this over the years, although it's supposed to be integrated into ICS, allegedly.
dodgeboy said:
So far (for me, at least), it has only worked with the stock "pulled" kernel. It works with the pulled kernel that contains CWM, as well. All of my experience is related to the anyconnect client. I haven't tried to connect to any older IPSEC only systems, or used get a robot.
Dave
Click to expand...
Click to collapse
I've had no luck with get a robot. It's still crashing. Anyconnect just won't see our VPN. I've gone to the pulled stock kernel as well, and no dice. Bleh. Hopefully someone will release an external tun.ko for this.
I've only gotten openvpn to work in routed mode and not bridged. I'm not sure if it's an openvpn issue, a phone issue, or the fact that I'm using OpenVPN-AS (vmware appliance) and the openvpn on the phone doesn't support DHCP maybe?
If I'm not mistaken, OpenVPN won't connect to a Cisco 3000 concentrator...
I've done a lot of reading recently, and have come to the tenative conclusion that while the tun module is included in the kernel, it's not activated in the kernel.
So I've done some digging, and am trying the following:
First check if the TUN module is enabled on the hardware node:
lsmod | grep tun (No answer)
If not, load the module using modprobe:
modprobe tun
SIGH... no luck...
OK, I've done a little more work on this, but still no luck.
When I try modprobe tun, I get:
chdir(2.6.35.8_LostKernelExp+): No such file or directory
I can see the tun file in the /dev directory, but can't find an rc.conf. Is that possibly the reason that this isn't going? I'm fairly mediocre with Linux, so it's a little frustrating to say the least.
There is no module, its compiled into the kernel..
Robbzilla said:
I've done a lot of reading recently, and have come to the tenative conclusion that while the tun module is included in the kernel, it's not activated in the kernel.
So I've done some digging, and am trying the following:
First check if the TUN module is enabled on the hardware node:
lsmod | grep tun (No answer)
If not, load the module using modprobe:
modprobe tun
SIGH... no luck...
Click to expand...
Click to collapse
Sent from my PG86100 using XDA App

CIFS.ko for stock 4.0.4 [updated for IMM76I]

#compiled new cifs.ko, md4.ko, nls_utf8.ko for the new
IMM76I build
kernel number
3.0.8-gda6252b
attachment "cifs_gda6252b.zip"
------------------------------------------------------------------
hi there, i have compiled modules for CIFS to work on the stock 4.0.4 kernel.
kernel number must match "3.0.8-g034fec9"
in the attached zip,
here are the list of files.
cifs.ko
md4.ko
#above 2 are required to have it work
#here are native language support.
nls_utf8.ko
nls_cp932.ko
nls_cp936.ko
nls_cp950.ko
#above cp9xx are support for chinese characters.
nls_euc-jp.ko
#above is support for japanese letters.
thank you.
additional notes.
apparently you do not need any other native language support apart from utf8
the trick is, during the mounting process, you will need to specify the "iocharset=utf8" under options.
eg
"mount //192.168.15.123/a /home/b/c -t cifs -o username=d,password=e,uid=f,gid=g,iocharset=utf8"
for cifs manager, just put "iocharset=utf8" under the Options, and you should be able to see all different charsets.
do remember you will need to load the nls_utf8.ko
once you have the module install,
you can use cifs manager to manage your mounts.
(you can also set cifs manager to load this module for you).
Thanks, I'll give it a try later today.
soloxp said:
Thanks, I'll give it a try later today.
Click to expand...
Click to collapse
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
qwerp_ said:
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
Click to expand...
Click to collapse
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
chrkad said:
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
Click to expand...
Click to collapse
here you go.
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
files included are
cifs.ko
md4.ko
nls_utf8.ko
Samba (CIFS) kernel modules for ICS 4.0.4 (IMM76D) kernel 3.0.8-g6656123.
qwerp_ said:
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
Click to expand...
Click to collapse
Thanks!
I confirm these work great on ICS 4.0.4 with "kernel 3.0.8-g6656123"
Awesome!
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Noob question, what is CIFS?
Enviado do meu Galaxy Nexus usando o Tapatalk
Guto ViP said:
Noob question, what is CIFS?
Click to expand...
Click to collapse
Common Internet File System, is another name for SMB (Server Message Block) also known as Samba. It's most commonly used in Microsoft Windows networks for providing shared network access to files, printers and other services.
These modules allows you to mount a shared directory from your windows computer, on your phone.
I use it to watch movies and play Mp3 on my phone, which is stored on my (windows) media server.
aplatas said:
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Click to expand...
Click to collapse
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
qwerp_ said:
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
Click to expand...
Click to collapse
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
aplatas said:
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
Click to expand...
Click to collapse
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
Thanks, the problem it was that the md4.ko it wasn't loaded
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
thanks, works well.
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
funkdified said:
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
Click to expand...
Click to collapse
In case you didn't see [OP] created a new thread for 4.1.1 here
qwerp_ said:
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
Click to expand...
Click to collapse
Hello,
could you compile it for the kernel version 2.6.34.
( I have a Zenithink ZT 280 C91 with ICS 4.0.3)
regards
-janez
cifs help
Hi,
hoping you can help me out. i have an android tv box that id love to get cifs running on so i can use mount manager and download direct to my nas disk. could you possibly compile these modules for the following kernel???
$ cat /proc/versionLinux version 3.0.8 ([email protected]) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
) #8 PREEMPT Wed Sep 12 11:07:28 CST 2012
[email protected]:/ $
Thanks in advance for your help!!!

Cifs modules

update, it's been a while and while I'm back, I noticed cifs and md4 are not available for the rom I'm currently running... so updated modules are below
Definitely not a developer. But I like to tinker and mod. Since I updated to JB I haven't been able to find cifs.ko or md4.ko
So I decided to compile them myself.
Hope this helps somebody. I'll try to keep these up to date as new kernel's become available.
cifs.ko & md4.ko when loaded allow cifs (aka samba, windows) network shares to be mounted and viewable as local media
Root is required
I recommend coping the files to /system/lib/modules
Modules can be loaded from cmd line
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/md4.ko
These can also be used by cifs manager which is available in the app store
just tell the app where you have stored the files on your device
cifs.ko & md4.ko : Compiled for TF300 with JB Kernel 10_4_2_9
http://www.mediafire.com/?j71gn5ar7har90t
cifs.ko & md4.ko : Compiled for TF300 with JB Kernel 10_6_1_15_3
http://www.mediafire.com/?fp7kk3i82q998ey
cifs.ko & md4.ko : Compiled for TF300 with JB Kernel 10_6_1_27_1
Please note this set is untest, I'm not running this kernel yet
http://www.mediafire.com/?en4kun1rmmb1zsw
KAD
Im your guinee pig
Some people might not know how to install this, if you wanna update the OP.
Sent from my ASUS Transformer Pad TF300T using XDA Premium HD app
keynith said:
Im your guinee pig
Some people might not know how to install this, if you wanna update the OP.
Sent from my ASUS Transformer Pad TF300T using XDA Premium HD app
Click to expand...
Click to collapse
Thanks, first post updated with a few instructions
Was just looking for this!!!! Thanked!
I've compiled the CIFS modules (cifs.ko and md4.ko) for 10.4.2.13 in case anyone is looking for them.
How about 10.4.2.17?
Kwen said:
How about 10.4.2.17?
Click to expand...
Click to collapse
I couldn't get the kernel source from Asus.
The .tar.gz file inside the .rar file seems to be broken.
EnF70 said:
I couldn't get the kernel source from Asus.
The .tar.gz file inside the .rar file seems to be broken.
Click to expand...
Click to collapse
I've been away from the community for a short time working on a sigma bassed project, I'll see if I can get the new source and compile new modules
KAD79 said:
I've been away from the community for a short time working on a sigma bassed project, I'll see if I can get the new source and compile new modules
Click to expand...
Click to collapse
I seem to be having some difficulty with the official source code for 4.2.17, seems there's a lot of stuff missing,
maybe I'll try the repository from untermensch
but the compiled modules from 4.2.9 still load just fine
Cifs & Md4 module from firmware 10.4.2.17....moved on : http://forum.xda-developers.com/showthread.php?t=1953808 !
this worked great on hydro (minus the occasional hiccup), which one should we be using on cm10 (i want to use Paranoid, know it's based off of cm10).
thanks guys
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
pendragon11 said:
this worked great on hydro (minus the occasional hiccup), which one should we be using on cm10 (i want to use Paranoid, know it's based off of cm10).
thanks guys
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Click to expand...
Click to collapse
How about you try and let us know
the first set of modules I compiled has successfully loaded on verious kernel versions
official
Hydro
several Rom's from surdu_petru
and even with the kernel from untermensch
what I haven't tried is CM10 or AOKP
Going to make the jump soon, I'll keep you posted
Sent from my VS910 4G using Tapatalk 2
bump, updated modules above

cifs.ko for N8000 (tested on XXALGA)

Hi there,
I noticed noone seems to have ever bothered building cifs.ko (the Kernel module necessary to access Windows Shares) for
the Galaxy Note 10.1
So I build one. Actually it's two modules md4.ko and cifs.ko (md4.ko has to be loaded first).
I have successfully tested the module on my EU N8000 running XXALGA with CIFSmanager. Streaming a 720p mkv with
MXPlayer just works really nice.
Here you go:
http://www.mediafire.com/?5lteys7tj45zuw7
DISCLAIMER: I am providing these kernel modules as-is. Altough they have been tested by me I take no responsibility whatsoever
if you break or damage your device while installing and/or using the modules. I am also not going to explain the steps necessary to actually
use the module. You should already know how to do it...or at least be smart enough to find out what to do
Enjoy!
maui
Sounds like a very helpful piece of code.
I really think that i could need this, but for me as a non developer... how to use this kernel modules?
Could you build a kernel including this modules for flashing via CWM so anybody can use it?
Best regards,
Gery
Sent from my GT-N8000 using xda app-developers app
It does not work for me: no such device.
I have moved the files to /mnt/sdcard/cifs. I entered " /mnt/sdcard/cifs/md4.ko;insmod /mnt/sdcard/cifs/cifs.ko" in cifs manager
I'm Running GT-N8000 DR.AKRIM_ROM N8000DDALI1_v0.31 4.1.1 12-9-2012
Is jellybean a problem?
They work on 4.0.4 (Hong Kong version - n8000zsali1)!!! Thank you.
I have an non-rooted italian N8000 running the latest stock firmware, and can access all my windows shares using the samba client built in in EsExplorer, no problem for me. What exactly is this module meant to do?
Inviato dal mio GT-N8000 con Tapatalk 2
HowHigh said:
It does not work for me: no such device.
I have moved the files to /mnt/sdcard/cifs. I entered " /mnt/sdcard/cifs/md4.ko;insmod /mnt/sdcard/cifs/cifs.ko" in cifs manager
I'm Running GT-N8000 DR.AKRIM_ROM N8000DDALI1_v0.31 4.1.1 12-9-2012
Is jellybean a problem?
Click to expand...
Click to collapse
Does not work for me as well. I'm running JellyNote beta 1 rom. Could someone please recommend custom rom which is supporting cifs or where would work this modul.
Thanks!
What's the use of this module? I don't understand... I haven't installed the module but can access flawlessly all my windows shares using the samba client of es file exlorer. I can also play any shared media file through such client, using any player installed in my note!
GT-N8000 using Tapatalk
Pls compile for 4.1.1.
Hi,
I compiled the cifs modules for the JB-Kernel. I couldn't test them out as I had no time to update, yet. But I need the cifs-modules so I started with them.
So, if anyone wants to try it out, please go ahead.
This is the first time I've build a kernel for android, just that you know :silly:
Greetings,
Maz
supermaz said:
Hi,
I compiled the cifs modules for the JB-Kernel. I couldn't test them out as I had no time to update, yet. But I need the cifs-modules so I started with them.
So, if anyone wants to try it out, please go ahead.
This is the first time I've build a kernel for android, just that you know :silly:
Greetings,
Maz
Click to expand...
Click to collapse
Compile nls_utf8.ko pls)
Can you say how to compile modules because at start I get error that file not found smc.h
Sent from my GT-N8000 using XDA Premium HD app
It seems like nls_utf8 is already build in the kernel.
If someone tests the cifs modules, it would be great to post here if they work or not.
supermaz said:
It seems like nls_utf8 is already build in the kernel.
If someone tests the cifs modules, it would be great to post here if they work or not.
Click to expand...
Click to collapse
Module works but I need nls_utf8 -no in kernel!!!
Sent from my GT-N8000 using XDA Premium HD app
I've attached the nls_utf8 kernel module. Please check if this helps.
Or do you need the NLS_KOI8_R for Russia?
supermaz said:
I've attached the nls_utf8 kernel module. Please check if this helps.
Or do you need the NLS_KOI8_R for Russia?
Click to expand...
Click to collapse
All works) Thanks)
Can you say how to compile this??
GooG2e said:
All works) Thanks)
Can you say how to compile this??
Click to expand...
Click to collapse
Then hit the Thanks button
To compile you need the android ndk prebuilt environment. I followed the this howto: http://source.android.com/source/building-kernels.html (from Downloading a prebuilt gcc downwards).
Then you need your kernel sources (look at the android dev section here). In the package is a README_Kernel where you can get the make command to build the default config. From there on you just run make menuconfig and make to compile things.
Best regards,
Maz
Please compile for 4.1.2
Sent from my GT-N8000 using XDA Premium HD app
hey man, can you please compile xpad.ko and ff-memless.ko for 4.1.1 ? You would bring a new wave of gamer to the galaxy note 10.1.
thx in regard
GooG2e said:
Please compile for 4.1.2
Sent from my GT-N8000 using XDA Premium HD app
Click to expand...
Click to collapse
+1 i have: init_module '/sdcard/cifs/md4.ko' failed (Exec format error)
Or am i doing smthg wrong?
Hi,
the cifs.ko and md4.ko given lately does not work on 4.1.2 rom.
Is there a compiled module for 4.1.2 ?
come on...
it shouldn't be hard to compile it for someone who has the setup.
If I had the storage capacity on my disk for installing a linux VM, I would do it but I really don't have a setup.

[Q&A] fhd kernel ( ZE551 ) with KVM & Bridge compiled. *need help*

Q&A for fhd kernel ( ZE551 ) with KVM & Bridge compiled. *need help*
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for fhd kernel ( ZE551 ) with KVM & Bridge compiled. *need help*. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Hi there.
Possibly unrelated question, but where did you get the binary blobs from? I plan on buying the device soon (in early August) and develop on it, so I would appreciate a bit of help if you could.
Cheers!
Well.. here's how I set up the development environment:
1. Install Root
2. Install Linux Deploy app from the market
3. Install Aparted from the market
4. Get a microSD card w/ at least 64 gigs & partition it to have at least 50 gigs ext4 using Aparted
5. Install Arch Linux ( i686 ) using Linux Deploy to that 50 gig ext4 partition
6. Convert Arch Linux from i686 to x86_64 ( google it ), you don't need to compile a new kernel because our kernel is already x86_64
7. Set up the basic build environment for AOSP in Arch ( google it )
8. Set up a link to python-2.7 as /opt/android-build/python
9. Make a bin directory in your home directory
10. Download repo from git archives to ~/bin directory
11. Make a working directory, ie ~/android
12. cd ~/android
13. export PATH=/opt/android-build:~/bin:$PATH
14. use repo to initialize the android-5.0.0_r7 branch
15. Delete all references for OMA-DM in ~/android/.repo/manifest.xml & ~/android/.repo/packages
16. repo sync
17. Download the latest source from Asus's website ( currently, 2.18 source has issues, so download both 2.12 & 2.18 )
18. un-tar the source(s) in ~/android
19. cd ~/android
20. source build/env.sh
21. lunch aosp_x86-eng
22. make minigzip openssl
23. make -f KernelMakefile TARGET_DEVICE=fhd build_kernel
If the kernel compiles fine, then you know you have a proper build environment.
Quick question about this kernel... Does this allow us to run a full x86 Windows build on our devices as a VM?
That's the idea if you're brave enough to try it.
To get the best performance, you need virtualization and that's what the kvm modules set up.
Afterwards, you need an emulation layer that supports virtualization, like qemu-kvm to define the virtual machine. Unlike pure emulation, kvm sends the instructions directly to the processor(s) so the virtual machine runs at near native speeds.
Sent from my ASUS_Z00AD using XDA Free mobile app
ycavan said:
That's the idea if you're brave enough to try it.
To get the best performance, you need virtualization and that's what the kvm modules set up.
Afterwards, you need an emulation layer that supports virtualization, like qemu-kvm to define the virtual machine. Unlike pure emulation, kvm sends the instructions directly to the processor(s) so the virtual machine runs at near native speeds.
Sent from my ASUS_Z00AD using XDA Free mobile app
Click to expand...
Click to collapse
Has anyone tried this and gotten it to work? If so, please share the steps to get it working along with screenshots. Thanks in advance!
Sent from my ASUS_Z00AD using XDA Free mobile app
Techronico said:
Has anyone tried this and gotten it to work? If so, please share the steps to get it working along with screenshots. Thanks in advance!
Sent from my ASUS_Z00AD using XDA Free mobile app
Click to expand...
Click to collapse
We're getting much closer here are some screenshots ( I know screenshots don't really show the performance ).
All in all, all 3 methods of connection are pretty smooth: SDL ( using XServer-XSDL as the X Server ), vnc ( using any vnc client ) & SPICE ( VMWare style display adapter, this also provides sound with the aspice app in the Play store ).
Edit: Added a screenshot of Epsxe starting up Suikoden 2, forgot I had sound on so had to shut it off pretty quickly since I'm still at work. haha
Edit2: Please go to this Post to see the video http://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299
Flashing Kernal
ycavan said:
We're getting much closer here are some screenshots ( I know screenshots don't really show the performance ).
All in all, all 3 methods of connection are pretty smooth: SDL ( using XServer-XSDL as the X Server ), vnc ( using any vnc client ) & SPICE ( VMWare style display adapter, this also provides sound with the aspice app in the Play store ).
Edit: Added a screenshot of Epsxe starting up Suikoden 2, forgot I had sound on so had to shut it off pretty quickly since I'm still at work. haha
Edit2: Please go to this Post to see the video http://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299
Click to expand...
Click to collapse
Thanks for your wonderful work. I am really stuck at flashing your kernel. I see you mentioned you setup the files in .tar. However, I'm still trying to understand if I should be converting the file to a .img or if I should be extracting and compressing to some other format. Please try to clarify this. Thank you.
sivasagaru said:
Thanks for your wonderful work. I am really stuck at flashing your kernel. I see you mentioned you setup the files in .tar. However, I'm still trying to understand if I should be converting the file to a .img or if I should be extracting and compressing to some other format. Please try to clarify this. Thank you.
Click to expand...
Click to collapse
un-tar it into an img. XDA doesn't allow very large .img files, so I had to tar the img to attach it.
Thanx for this
Plz how i can install this kernal in my phone .. Sorry iam begnner
---------- Post added at 12:19 AM ---------- Previous post was at 12:06 AM ----------
How to install kernal in my phone please .. Thanx alot
You will need to unlock your boot loader first.
Next, download the newest kernel from the original link in the original development section. ( fhd kernel ... )
If you have a ZE551, get the fhd kernel; if you have a ZE550, get the hd kernel.
The file you want will end in .img.tar
Untar the img file.
Either backup your boot partition or make sure you have the stock boot.img around in case of problems.
Reboot your phone in Fastboot
Fastboot flash boot ( kernel img name )
Reboot phone and pray that it boots up.
If it doesn't, reboot into Fastboot and flash the backup/stock boot.img.
But if you are really really new to this game, I would recommend reading around the forums for a bit before trying this.
Sent from my ASUS_Z00AD using XDA Free mobile app
help to install Zenfone 2 custom kernel KVM enabled
If it is possible for any one please describe how to install this kernel step by step
I have my device rooted and unlocked but there is no explanation how to flash/install this new kernel
Please help me
help to install Zenfone 2 custom kernel KVM enabled on 551 Z00A_WW_2.19.40.22
I used Z00A_WW_2.19.40.22_system_w_root rom and unlock my kernel or I think so then flash KVM enabled rom using fastboot flash boot boot.img (boot_fhd_2.19_kvm_bridge_20150710.img for 551) but what ever I do it wont boot up and enter to a dead android screen and under android icon there is only “error” and page flickers any one can help me
I don't think you can unlock your boot loader with .22; I believe Asus patched that. You will probably need to flash .18 and unlock your boot loader, then update. I've also heard that .22 is flaky so I'm still on .20
Sent from my ASUS_Z00AD using XDA Free mobile app
it is working ?
Unplug the phone, hit the power button and hope it boots up
Sent from my ASUS_Z00AD using XDA Free mobile app
ycavan said:
Unplug the phone, hit the power button and hope it boots up
Sent from my ASUS_Z00AD using XDA Free mobile app
Click to expand...
Click to collapse
i do that and its ok >>> its working now ???
After you reboot your phone, you will need to load the kvm related modules. I uploaded a script to the OP to make it easier. As root, copy it to data our system and execute it after a reboot.
Now you have a kvm enabled kernel
Sent from my ASUS_Z00AD using XDA Free mobile app
no sdxc with this kernel( Sandisk 64Gb ultra SDSDQUA-064G
Weird, I use a 128 gb sdxc card w/ my kernel.
Sent from my ASUS_Z00AD using XDA Free mobile app

Categories

Resources