[MOD][PROJECT][WIP]Port Note 8(N8000) Mali drivers & lib files - Galaxy S III Android Development

This is not a place holder however there is no actual mod yet for us to test yet this is a work in progress and I Encourage anyone and everyone to help out...
THE CONCEPT:
I asked Gokhan Moral if it was possible to back port the newer Mali drivers CM 10.1 to be used in official Samsung firmware...
Now for this to work we need matching Android library files compiled for the kernel drivers...
His intriguing reply was that the recently released Galaxy Note 8 uses newer Mali drivers (turns out not the same ones as CM10.1 but newer that official S3 firmware) and assuming the Note 8 is running Android 4.1.2 then there is a good chance the lib files WILL be compatible with current S3 firmware...
It turns out the note 8 firmware IS 4.1.2 based and the kernel sources contain the necessary drivers so...
Let's give this a crack eh?
GOALS:
#1 compile Mali drivers from Note 8 sources into existing Siyah sources thus creating a working kernel.
#2 obtain and identify necessary matching lib files from Note 8 firmware.
#3 transplant these libs into an S3 custom ROM and see if they work
#4 create and release a CWM zip which will flash both the custom kernel and lib files which can be used to mod any existing 4.1.2 Samsung firmware.
#5 crack a beer any bask in the satisfaction of a job well done...
PROGRESS:
#1 Budding developer and valued contributor to this forum psndna88 is already merging the necessary code with the latest Siyah sources. A test kernel should be conceived soon...
If anyone else wants to give this a go with other sources please do
#2 A request was made on the Note 8 forum and I have the necessary lib files ready to be back ported once the test kernel is ready...
If anyone has anything useful to contribute please PM me and follow this thread so once something is ready to be tested you can wet your appetite.
Sent from my GT-I9300 using Tapatalk 2

Reserved...

Good luck,good work
But what's diffrent with note 8 and galaxy s3 firmwares?

LegendM said:
Good luck,good work
But what's diffrent with note 8 and galaxy s3 firmwares?
Click to expand...
Click to collapse
Well probably not a great deal in general however for this project we are interested in using the newer GPU drivers which are in the note8 firmware and apparently also the leaked 4.2.1 S3 firmware also.
The kernel side of things need to match the ROM lib files which are complied by Samsung using their closed xynyos sources.
Since the note 8 firmware uses the same android version as ours then HOPEFULLY we can use the kernel sources and transplant the lib files from the note 8 ROM and get it all working smoothly...
The question assuming this project succeeds is: Are the new Mali drivers noticeably better?
Sent from my GT-I9300 using Tapatalk 2

They give a documented 15-20% performance boost in the Epic Citadel benchmark.

siyah kernel compiled with n8000 mali driver,
but currently following things may be broken:
-mali touch boost
-step5 of gpu freq
-gpu uv

Can codeworkx port those drivers to cm? (I mean source available, binaries)

GR0S said:
Can codeworkx port those drivers to cm? (I mean source available, binaries)
Click to expand...
Click to collapse
the ones we are trying to port are older than current CM 4.2.2 mali drivers, but newer than current stock sammy 4.1.2 drivers

attached is a diff file for changes in stock mali kernel drivers and siyah kernel mali driver for stock rom
and diff for lib files between N8000 and I9300 stock roms
i havent fully applied all changes in mali driver taken from N8000 inserted in siyah kernel source before compiling

Good idea guys.. I have a note 10.1 the n8013 model if it helps
Sent from my GT-I9300 using xda premium

Hello,
Yank555 did something similar with his kernel ( he used the newer Kernel Sources from a Galaxy Tab and built a Galaxy S3 Kernel ), maybe you could send him a PM and ask for help ?
Best regards,
George
P.S: I could help you with the flashable packages and also do some testing if necessary.

OK it looks like the N8000 uses a very similar version of the Mali drivers so there might not be much to gain from this project
Sent from my GT-I9300 using Tapatalk 2

Related

Unified kernel for msm8974 devices

Unified kernel for msm8974 devices
hi all
we are cooking 1 kernel for all msm8974 devices for all custom roms
Source
https://github.com/sonyxperiadev/kernel
in this moment Z1 (honami) and Z2 (sirius) are tested
feel free to fork, joyn and push back
XDA:DevDB Information
Unified , Kernel for the Sony Xperia Z2
Contributors
jerpelea, Kali-, tilal6991, cdesai
Kernel Special Features:
Version Information
Status: Testing
Created 2014-10-07
Last Updated 2014-10-13
By "custom" you mean based on stock roms or AOSP-derived?
adwinp said:
By "custom" you mean based on stock roms or AOSP-derived?
Click to expand...
Click to collapse
both
depending on what an developer wants to build
What will the impact of this project be on areas that have been problems for aosp projects such as hardware drivers ?
furrypotato said:
What will the impact of this project be on areas that have been problems for aosp projects such as hardware drivers ?
Click to expand...
Click to collapse
1 kernel to rule them all means that 1 hal fixed in 1 device works on all devices
1 patch merged in kernel to fix something fixes same problem on all devices
jerpelea said:
1 kernel to rule them all means that 1 hal fixed in 1 device works on all devices
1 patch merged in kernel to fix something fixes same problem on all devices
Click to expand...
Click to collapse
I hope I'm not presumptuous or wrong: will it come with CWM and/or TWRP recovery versions?
Many thanks.
bonderbond said:
I hope I'm not presumptuous or wrong: will it come with CWM and/or TWRP recovery versions?
Many thanks.
Click to expand...
Click to collapse
this is just source code so depends on developers on what android fork is used
jerpelea said:
both
depending on what an developer wants to build
Click to expand...
Click to collapse
Unless I'm mistaken, the sony source doesn't work with pure AOSP. All AOSP or derivatives roms use the CM android_kernel_sony_msm8974pro or forks of it.
My question is thus the following: is this kernel source compatible with AOSP or like "kernel-copyleft", only with stock rom derivatives?
My custom kernel works on the latter, but I need to use the "msm8974pro" trees for pure AOSP.
Unless I'm missing something?
adwinp said:
Unless I'm mistaken, the sony source doesn't work with pure AOSP. All AOSP or derivatives roms use the CM android_kernel_sony_msm8974pro or forks of it.
My question is thus the following: is this kernel source compatible with AOSP or like "kernel-copyleft", only with stock rom derivatives?
My custom kernel works on the latter, but I need to use the "msm8974pro" trees for pure AOSP.
Unless I'm missing something?
Click to expand...
Click to collapse
it works perfectly on aosp and derivates
new guides published
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
kernel is rebased
z3 platform (shinano) added to kernel
https://github.com/sonyxperiadev/kernel/commits/aosp/LNX.LA.3.5.1-01110-8x74.0
status
z1 - bringup in progress
z2 - boots
z3 - boots
feel free to push fixes
broadcom wifi is now merged in kernel
crash has been fixed
broadcom wifi crash fixed
Can't boot
@jerpelea I've compiled AOSP Lollipop and it boots fine. I've compiled the kernel from 3.5.2.2 branch of the unified kernel source and successfully made zImage. I've combined the zImage with the resulting dtb and the ramdisk from the AOSP build. I can't get the device to boot for some reason. It's stuck at the Sony boot logo. Did I miss a step ? I've searched online but couldn't get enough help about this.
Tried the same with Kitkat too but same result. Doesn't go past the sony boot logo.
UPDATE
Got it to work The command line argument in the guide provided has android boot device as qcom whereas the one compiled during AOSP has it as "shinano" Took me 1 build to understand this Back to work again
hi All
Busy weeks ....months ...
Progress so far
- unified 3.4 kernel is stable for daily use and community tweaking
As some of you have already seen we have started work on comunity 3.10 unified kernel
This kernel is not finished and not stable but is an invitation for developers to joyn, test and improve a kernel built "by community for community"
Br
J
build guide has been updated for easy reading
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/
hi all
kernel 3.10 is progressing nice
it can soon be used on SONY AOSP Project
master branch on devices uses 3.10 kernel
l-mr0 branch uses 3.4 kernel
br
J
hi all
3.10 is progressing nice
at this point can be used for L MR1 and shows good battery savings
more enhancements and bugfixes will come soon
br
J
Hi @jerpelea, which of the branches should be used for the 3.10 kernel?
I ll be appreciated that the unified kernel can support d6563.

Requesting Ubuntu Touch port to Galaxy S6.

Not sure if any developers here owns a Galaxy S6. If anyone able to port Ubuntu Touch latest to Galaxy S6 would be very appreciated.
I believe that roms of anything that isn't android will not work due to the Exynos processors not having their kernel sources released.
2390 said:
I believe that roms of anything that isn't android will not work due to the Exynos processors not having their kernel sources released.
Click to expand...
Click to collapse
Excuse my ignorance as I don't have any development experience more than being a script kiddy, but was not the old Ubuntu Touch roms just sampling from CM11 sources for most of the drivers and kernel stuff?
As I say, I don't really know anything but I thought that was how it went. I don't care if there is an S6 ROM but I just want to see any port of Ubuntu touch on any device I have.
Edit: Actually it looks like it was CM10.1 for the old ones from like 2013.
Later they moved to CM11, and they may use 12 now, I'm not sure.

Android Lollipop Kernel Source For Galaxy Gear [SM-V700]

I am the original developer of the galaxy gear cyanogenmod 11 kitkat in this thread
http://forum.xda-developers.com/gal...ernelcm11-cyangenmod11-kernel-source-t3199671
This is the kernel opensource of the Samsung Galaxy Gear to boot Android Lollipop. I used this kernel source when I ported CyanogenMod 12.1. The error may not be occur in this source. It's almost perfect.
I open source because of some people asked me to open source, on youtube or mail.
README
I ported the key part of this kernel at smdk4x12 devices
Ported mali driver in the devices, that OpenSource Samsung uploaded
Applied the patch at CyanogenMod Kernel Source
You should leave credits when you use this source
I would not upload the ramdisk that I worked
Github Link
http://github.com/tyler6389/android_kernel_samsung_v700
My blog
http://tyler6389.tistory.com
I also uploaded the working video
[cm12.1] http://www.youtube.com/watch?v=rb0R_JeI6gg
Credits
CyanogenMod
Understand My poor English
Wow. Awesome that someone is still developing for this watch. Anyone try it yet?
Correct me if i'm wrong, but isnt this kernel what we've been waiting for in regards to Wear?
amazing work...are you planning on releasing any of your roms?

[Kernel - MM] RamKernel V4 [N910V/G/F/T][Stock permissive][Stock/N7 port ROM]

This thread is continuation of original RamKernel thread
This is stock permissive kernel compiled by me with UberTC, latest stock source of samsung used for building kernel for N910G/F/T.
Kernel Special Features:
1. Latest kernel source used N910FXXS1DPK3
2. Linaro 6.1 toolchain used for compiling
3. Kernel updated to linux 3.10.60 to linux 3.10.81
4. Kcal colour calibration feature added
5. Enable last_kmsg for kernel debugging
6. Very stable, good speed, good battery, keeps device cool
Please check main thread for latest build
Henceforth latest builds will be posted in main thread, as this thread was made for informing presence of the kernel
XDA:DevDB Information
RamKernel, Kernel for the Verizon Samsung Galaxy Note 4
Contributors
Ram121
Source Code: https://github.com/Ram121/RamKernel_N4
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V2
Created 2016-11-01
Last Updated 2016-11-02
Reserved
Thank you!
Sent from my SM-G935V using Tapatalk
You rock thanks !!!!!
Ok lemme ask this does this fix brightness issue ???
Very good kernel no lag keep the good work
Sent from my Samsung Galaxy Note 4 using XDA Labs
Could someone tell me what the difference is between the 2 versions? They both say Super su. Thanks
dhplap said:
Could someone tell me what the difference is between the 2 versions? They both say Super su. Thanks
Click to expand...
Click to collapse
One is for N7 port the other is for stock
mexigga said:
One is for N7 port the other is for stock
Click to expand...
Click to collapse
Great, thanks. That's what I figured but wanted to make sure. I appreciate the response.
New test version for N910G here
http://forum.xda-developers.com/showpost.php?p=69626434&postcount=137
RamKernel updated to V3 for all supported models. Please check main thread for latest build
Henceforth latest builds will be posted in main thread, as this thread was made for informing presence of the kernel

Camera does not working when using kernel compiled from OSRC source

Hi, I just got my hand on the Galaxy Note 8, I immediately tried to root and compile a custom kernel for it, I'm running Android 9 latest version and used the latest kernel source code on Samsung OSRC but for some reason, the camera refuses to work if I use my custom kernel.
I built my custom kernel simply by unpacking the stock firmware boot.img, replaced the zImage and put it back together.
After a while of investigating and tried to use custom kernel built by other people, I realize that they replaced the camera firmware in /system/vendor/firmware/ with the files fimc_is_lib.bin fimc_is_rta_imx333_3h1.bin fimc_is_rta_2l2_3h1.bin fimc_is_rta_imx333_imx320.bin fimc_is_rta_2l2_imx320.bin and the camera was functioning with their kernel but somehow I still unsuccessful on getting my OSRC kernel with a camera working on this phone with their firmware files.
I've searched all over the internet and there doesn't seem to be any thread talking about such issue so I'm currently in a dead end
So anyone knows what's going on with the camera firmware of this phone, please let me know.
Thanks.

Categories

Resources