Related
Hi everyone,
I've been working on CM for the PadFone Infinity (pretty good device, only lacking a good community) for some time, and I've started to have some results now.
I've basically been using Asus' kernel sources and a custom-made device tree. I then tried to build CM and corrected every error I encountered to try to compile ROM successfully. I eventually succeded in compiling it, but it's now that I need help the most.
Why? Because I have no kernel development knowledge at all, and I really don't want this project to die.
So, let's list what does work and what doesn't:
-Recovery compiles and works just fine. I can backup, restore, flash roms, wipe, and everything that is needed.
-ROM and kernel compile without errors too.
-ROM does NOT boot at all. Getting past the Asus logo, the screen just switches off, and phone totally looks like it's shutdown. No backlight, keys are not backlighted either.
So here is what is needed to compile ROM:
-Device Tree
-Kernel sources (modified to compile without errors)
-PadFone Infinity stock ROM (if needed. Also, there are device blobs in it, so it might be useful)
-Asus untouched kernel sources
I do have the device, so if you need anything about it (hardware info, for example), feel free to ask. I'd love to help, even though I've already made some work, I've come to a point where my knowledge will be far from enough...
Thanks everyone for reading, and maybe for helping if you are interested in this project.
Contact Faux, maybe he will be interested in maintaining a Kernel base for this device.
Bumping.
If a xda recognized developer is willing to develop for this device, I'll have one sent to him.
I really want to have CM and some dev community on this device. I started a bounty to be able to have a device sent to a dev, it seems that many people also want development on it.
I'd also bump the thread. I also interested in CM on padfone, and especially after ASUS discontinued device support :-/
mva.name said:
I'd also bump the thread. I also interested in CM on padfone, and especially after ASUS discontinued device support :-/
Click to expand...
Click to collapse
cm always need alot of work and if you don't have the device it's very difficult to have a stable build .
messi2050 said:
if you don't have the device it's very difficult to have a stable build .
Click to expand...
Click to collapse
AFAIRC, topicstarter suggested to donate a device for interested cm-developer
mva.name said:
AFAIRC, topicstarter suggested to donate a device for interested cm-developer
Click to expand...
Click to collapse
Yeah but that was from 2013 look to the post date , i can do it if the offer is still there but i doubt that
Hi,
I'm currently porting CyanogenMod to the Samsung Galaxy Alpha (Exynos5430). As the Note 4 is coming with an Exynos5433 SoC I think they are very similar and we could exchange knowledge about porting CM if someone is working on it!
I have code to support exynos5430 ready and also for the wifi, init, etc.
The repo is here:
http://git.cryptomilk.org/projects/...re_samsung_slsi_exynos5430.git/log/?h=cm-11.0
Required PATCHES:
hardware/libhardware_legacy:
http://review.cyanogenmod.org/78177
http://review.cyanogenmod.org/78178
http://review.cyanogenmod.org/78179
hardware/samsung:
http://review.cyanogenmod.org/78176
hardware/samsung_sli/exynos5-insignal:
http://review.cyanogenmod.org/78565
http://review.cyanogenmod.org/78566
http://review.cyanogenmod.org/78567
http://review.cyanogenmod.org/78568
http://review.cyanogenmod.org/78569
system/core:
http://review.cyanogenmod.org/76217
system/netd:
http://review.cyanogenmod.org/78180
Awesome bro im sure you'll have plenty of testers here with note 4s including myself keep in touch
I don't have a Note 4. I'm working on the Samsung Galaxy Alpha with a Exynos5430 SoC. The Note 4 has a Exynos5433 SoC. So if someone wants to port CM to the Note 4. We can work on the common code together ...
It'll be awesome work for Note4, if someone start to work it on.
Yea what i mean is that the code would be a bit different but if somebody ports it over for 5433 than ill test for them
modpunk said:
Hi,
I'm currently porting CyanogenMod to the Samsung Galaxy Alpha (Exynos5430). As the Note 4 is coming with an Exynos5433 SoC I think they are very similar and we could exchange knowledge about porting CM if someone is working on it!
I have code to support exynos5430 ready and also for the wifi, init, etc.
The repo is here:
http://git.cryptomilk.org/projects/...re_samsung_slsi_exynos5430.git/log/?h=cm-11.0
Required PATCHES:
hardware/libhardware_legacy:
http://review.cyanogenmod.org/78177
http://review.cyanogenmod.org/78178
http://review.cyanogenmod.org/78179
hardware/samsung:
http://review.cyanogenmod.org/78176
hardware/samsung_sli/exynos5-insignal:
http://review.cyanogenmod.org/78565
http://review.cyanogenmod.org/78566
http://review.cyanogenmod.org/78567
http://review.cyanogenmod.org/78568
http://review.cyanogenmod.org/78569
system/core:
http://review.cyanogenmod.org/76217
system/netd:
http://review.cyanogenmod.org/78180
Click to expand...
Click to collapse
Awesome, gonna start it right now. Please, keep this thread up. Oh.. and THANK YOU for sharing! :good:
andrew.mackew said:
Awesome, gonna start it right now. Please, keep this thread up. Oh.. and THANK YOU for sharing! :good:
Click to expand...
Click to collapse
The patches should be upstream soon. I'm working on it with intervirgil. In the meantime I understood how audio works and started to implement an audio HAL. The basics work ...
modpunk said:
The patches should be upstream soon. I'm working on it with intervirgil. In the meantime I understood how audio works and started to implement an audio HAL. The basics work ...
Click to expand...
Click to collapse
Awesome! Looking forward to collaborate with you guys!
I got audio mostly working. The big issue I have is that I don't get Wifi working. If someone wants to start I can help bring a first build of the device up. It should be fairly easy with my exynos5430 branch soon. Most of the patches for the insignal branch are upstream.
Can i ask how it's going? I would love to see an CyanogenMod on the Note 4! Thnx for al de devs putting their time in this!!!
Any update?
Most of the patches I created for CM are upstream now. I got a lot of stuff working on the device already and know what to do. Just somone needs to start working on it. I can explain what needs to be done but you need to be able to write C/C++ code and understand strace output. If not it is not really a task for you.
modpunk said:
Most of the patches I created for CM are upstream now. I got a lot of stuff working on the device already and know what to do. Just somone needs to start working on it. I can explain what needs to be done but you need to be able to write C/C++ code and understand strace output. If not it is not really a task for you.
Click to expand...
Click to collapse
Yep, I think I can manage to deal with C/C++.. at least I did usually handle with at the college..
Furthermore, will be a pleasure to work together with you and others and collaborate with something for Exynos users like me.
Please count me in. Just let me know what I need to do and I gonna start it up at my side.
Normally you start with the recovery. After you have a working recovery you compile the kernel from the source for the recovery. The CM code needs kernel headers so you need the kernel compiled! After that take a look at the git history of my branch. Ask if you hit a issue.
For a start, read:
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
Porting order:
Recovery
Recovery + Kernel from Source
First CM build
Get graphics working (gralloc, hwcomposer, etc.; Kernel headers required)
Get Wifi working
Get Audio working
Get RIL working (You can't make a phone call without audio)
Power HAL
Lights HAL (maybe before RIL)
Sensors HAL (maybe before RIL)
Camera
GPS
Bluetooth
...
Guys there is one developer in XDA(raymanfx) that has experience in port cm12 for Exynos. I emailed him and he told me he would port cm12 to n910c exynos if we raise fund and buy him 1 unit so that he can work. He has already ported cm12 to samsung note 10.1 2014 p600 exynos tablet
Please join the XDA thread i have created and help us to fund to buy him 1 unit of n910c so that he can work
http://forum.xda-developers.com/showthread.php?t=2986964
Hi just a question...will it be cm12 with 64 bit support?
domy1985 said:
Hi just a question...will it be cm12 with 64 bit support?
Click to expand...
Click to collapse
Yes it will be CM12,
We dont know yet if it would get 64bit support,
Samsung told me by Mail The exynos will not receive 64 bit because it would not support it
Gesendet von iPhone mit Tapatalk
domy1985 said:
Samsung told me by Mail The exynos will not receive 64 bit because it would not support it
Gesendet von iPhone mit Tapatalk
Click to expand...
Click to collapse
I doubt that very much..
They told ma by Mail a 32 bit Prozessor could not achieve the performance of a 64 bit processor.........?
Gesendet von iPhone mit Tapatalk
Hi Lads,
Past few days im trying to add the ath9k module to a kernel.
I took the emotion kernel but when i started to make the kernel i constantly receiving errors.
I googled till my eyes burned out of my skull but got no solution. Probably im doing something wrong
Im looking for someone who can build the kernel easily including the ath9k driver.
My purpose is to use Kali Nethunter with the TP-Link WL722N adapter on the Note Edge N915F.
Im so desperate that i want to pay for it. Or maybe a game on steam :highfive:
Please help me out!
Greetings.
Stefjoe
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
AlaskaLinuxUser said:
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
Click to expand...
Click to collapse
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
stefjoe said:
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
Click to expand...
Click to collapse
Stefjoe,
I see from your PM that you are not requesting my AKLU kernel, but the TW Emotion Kernel. I can't do that for you.
To build the kernel you need the right source, the source code for the kernel has been updated since r17 ( I think it is r2X? now). That means rolling back through the commits to find the time it was built and working properly and getting that source. It is not as simple as just going straight back to r17, the r17 version you may be using may be anywhere in the commits between r17 and r18.
Then we would need the exact toolchain he/she was building with. He says Linaro 5.1, but which one, 5.1, 5.1.1, 5.1.8? There are several.
Also, I do not build TW kernels. I only build AOSP kernels. I also don't usually build off of someone else's work. I was under the impression you wanted me to add that module to my AKLU kernel instead.
To get that specific kernel built the way you want, I recommend that you ask @Pafcholini to do that for you, since he made it originally.
If you want, I can add that module to my AKLU kernel for you, but I know the rest of the needed kernel items are in there that you need (packet injecting, force module loading, etc.) so I doubt it will work for you. You would also have to switch to AOKP, which may or may not work with your porting guide.
Sorry, but after looking at your full request, I don't think I can help you with what you need.
Hi Folks,
I'm trying to port B2G to my moto g3. I was referring to this doc (https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Porting_B2G_OS/basics). However some of the things mentioned in this doc are not clear to me. Could you please help me with the below issue.
I'd like to build the AndroidKernel from source. So where should I include the below lines? Is it in this file?
https://github.com/LineageOS/android_device_motorola_osprey/blob/cm-14.1/rootdir/etc/init.target.rc
HTML:
on early-init
start ueventd
import /init.b2g.rc
Also if I understood correctly. building the kernel from source doesn't require to unpack , edit the init.rc file and repack the kernel from the device. Could you please confirm this?
Thanks,
Arun
Hi Arun,
I totally understand your frustration with this. You'd like to contribute to the Servonk project but first you need to port B2G to your phone or buy a new phone. Since the only other supported phones are the Z3 compact and Nexus 5, both of which are still relatively expensive secondhand, you want to use your Moto G3 which means first porting B2G to it.
So, I think there are two options you have:
1. Port direct from the AOSP code
2. Port from the CM12 code.
As Gerard said in telegram, porting from CM to B2G was never finalised so may actually require more work. However there may actually be more people here who can help you since people seem more familiar with CM than AOSP (in general, I know some people are very knowledgeable in both).
I see you've posted in the AOSP 7.1.1 kernel thread. Unfortunately, for the Servonk project you currently need a Lollipop based build, so 5.x AOSP kernel or CM12.x.
It might be worth asking a mod to move this thread into one of the development sub-forums.
As you know, this is the limit of my knowledge, but I really hope you find some success, if would be great if you could contribute to the Servonk project.
Your last option is to use the desktop build of Servonk, based on Glutin instead of Gonk, but I understand that you really want to get Servonk working on your phone.
Best of luck
Hello, I decided to come up with a project that aims to port higher Linux versions. When I say higher Linux versions, I mean those that are Linux 3.5 and up. The goal is to port Linux major updates as high as I can, but the main priorities are one that are LTS like Linux 3.10, 3.14 or even 3.18.
Only Android 7 will work on non-LTS versions. Oreo/pie and Android 10 support will be added only on LTS versions to lessen the conflicts when merging non-LTS versions.
What works:
Boots
Battery
Charger
Touchscreen
Display
USB
Sound
Buttons
Deep sleep
Camera
Video playback
Fingerprint
The rest of the sensors
WiFi
Bluetooth (works on Linux 3.7 and up)
Internet connection
Anything else I can't mention
What doesn't work:
You tell me
Drivers that can't be updated (yet) due to them being heavily modified by CAF and Samsung:
USB
Sound
MMC
Newer versions are more stable than the other due to the fact that I fix more bugs with every update.
The highest version as of now is Linux 3.8. I can only merge major updates during weekends due to my work.
Sources:
Linux 3.5
Linux 3.6
Linux 3.7
Linux 3.8
Linux 3.9
Feel free to open up issues and submit pull requests
It is highly recommended to delete mpdecision from /system/bin/ before flashing
Reserved
i don't understand what is this, is there some wiki i can read?
saikyom said:
i don't understand what is this, is there some wiki i can read?
Click to expand...
Click to collapse
These are kernel updates. Our device comes with Linux 3.4, but I've managed to update that up to 3.8
darrendude1 said:
These are kernel updates. Our device comes with Linux 3.4, but I've managed to update that up to 3.8
what are the benefits of updated kernel..cheers
Sent from my Unknown unknown using XDA Labs
Click to expand...
Click to collapse
Read these:
https://kernelnewbies.org/Linux_3.5
https://kernelnewbies.org/Linux_3.6
https://kernelnewbies.org/Linux_3.7
https://kernelnewbies.org/Linux_3.8
@pascua28
What a Huge Task! As Well as a Pain on the Ares!
Now, I do Have a few Q's for you.
1 IS this "Kernel Patch" Just for your beloved Galaxy S5's ?
2 Will this be for the "Basic" Kernel in an OS (e.g. LineageOS) ?
3 Wouldn't this hurt some of the "Custom Kernels" that we currently have and use?
And of course I must ask, how far do you intend to take this (e.g up and coming 5.7 ) ?
That Said, I am in! I have downloaded all the Kernels . Mostly to compare your changes. Have also saved your GitHub page.
Am wondering though, With some of these "Custom" Kernels..... Wouldn't we see much faster , smoother , and hopefully more Darn Battery with some of the Tweaks that we have with them? Or at least with some kernel manager?
Or, would these break those Kernels (now thinking about it)?
Certainly will be watching this!
Again , this is a huge task to undertake! Sure would love to see 4.1 and above for our phones. Maybe with Your updated Kernel, we could really see some major changes with our phones.... Plus, hopefully easier to Port into the likes of Android 10! ... or Of course jumping a bit here, and a bit positive, but Android 11 !
Good luck sir
godofsalt said:
@pascua28
What a Huge Task! As Well as a Pain on the Ares!
Now, I do Have a few Q's for you.
1 IS this "Kernel Patch" Just for your beloved Galaxy S5's ?
2 Will this be for the "Basic" Kernel in an OS (e.g. LineageOS) ?
3 Wouldn't this hurt some of the "Custom Kernels" that we currently have and use?
And of course I must ask, how far do you intend to take this (e.g up and coming 5.7 ) ?
That Said, I am in! I have downloaded all the Kernels . Mostly to compare your changes. Have also saved your GitHub page.
Am wondering though, With some of these "Custom" Kernels..... Wouldn't we see much faster , smoother , and hopefully more Darn Battery with some of the Tweaks that we have with them? Or at least with some kernel manager?
Or, would these break those Kernels (now thinking about it)?
Certainly will be watching this!
Again , this is a huge task to undertake! Sure would love to see 4.1 and above for our phones. Maybe with Your updated Kernel, we could really see some major changes with our phones.... Plus, hopefully easier to Port into the likes of Android 10! ... or Of course jumping a bit here, and a bit positive, but Android 11 !
Good luck sir
Click to expand...
Click to collapse
1. This is a full Linux upgrade. Nobody has ever done that to our beloved S5 cause it's a truckload of work
2. Uhm, I don't know. LineageOS is very strict on what kernel base to use, but I may propose to use this as a base when I reach 3.10
3. This project might be a good base for custom kernels since it is more updated and I will use this base too for my future custom kernels
4. As far as I can and as long as it works. Of course, I don't wanna die yet by not going too far.
Certainly, it won't break any kernel managers. You can even clone the latest source and add some custom features. It's up to you, but right now, in the process of upgrading, I won't be adding any custom features
Regards
pascua28 said:
1. This is a full Linux upgrade. Nobody has ever done that to our beloved S5 cause it's a truckload of work
2. Uhm, I don't know. LineageOS is very strict on what kernel base to use, but I may propose to use this as a base when I reach 3.10
3. This project might be a good base for custom kernels since it is more updated and I will use this base too for my future custom kernels
4. As far as I can and as long as it works. Of course, I don't wanna die yet by not going too far.
Certainly, it won't break any kernel managers. You can even clone the latest source and add some custom features. It's up to you, but right now, in the process of upgrading, I won't be adding any custom features
Regards
Click to expand...
Click to collapse
Well, Thank You. for the reply, as well as, all the information.
YES your project is a HUGE amount of work. Good guess, IS , you seem to want to take on this challenge! Good for you...
Yes, I do intend to really follow your project. Really looking forward to the great results that I hope we (you) can achieve !
Awesome...
Thanks
Hi guys! Linux 3.9 is up!
this is amazing work!
thank you very much for it.. I bet it's ugly as hell, but you learn a lot..
I'm patiently waiting for 3.10.0 since that's required by docker (running debian using Linux Deploy)
shmizan said:
this is amazing work!
thank you very much for it.. I bet it's ugly as hell, but you learn a lot..
I'm patiently waiting for 3.10.0 since that's required by docker (running debian using Linux Deploy)
Click to expand...
Click to collapse
Yeah, very tedious and requires a lot of skill
This is huge. Thank you for doing this, I will definitely be following this
pascua28 said:
Yeah, very tedious and requires a lot of skill
Click to expand...
Click to collapse
Yes, as well as time, the correct machine and layout....
Plus I believe it requires most patience than what I have!
BTW... This is great work, have not seen any issues on my S5..... (yet, but don't think that will happen though)
Thank you!
Sent from my Galaxy S5 using XDA Labs
Is this working on 5+ (katcc6)?
robla1000 said:
Is this working on 5+ (katcc6)?
Click to expand...
Click to collapse
Nope, S5 only. And at this point klte only until @pascua28 is finished bringing the kernel up to 3.10
Only working properly is klte, for now. Other variants might work but with bugs. Will fix for other variants when we get to 3.10
3.5 to 3.9 didn't work for me,I have klte
didn't work?
I ran 3.8 for weeks without any issues.. what exactly does not work?
many reboot ,i couldn't use
vlad3647 said:
many reboot ,i couldn't use
Click to expand...
Click to collapse
It's not for higher Android version.. If you have Android 9 or 10 then wait for version 3.10