[GUIDE] How to get DTS Eagle on non-supported kernels - Miscellaneous Android Development

The DTS Port has been released publicly is available from the following link:
https://forum.xda-developers.com/android/software/port-dtsx-ultra-dts-headphonex-t3896233
There are kernel patches still necessary (for both ports) and the new guide is here:
https://gitlab.com/dts_project/intro/blob/master/README.md
​

Used msm8998 for sdm660. Seems to be working fine so far. Thanks.

How to get it?
How to install on SD821?
Oneplus3T?

Actually we haven't released the kernel and stuff, yet. I'm working with those guys on it and we have a first beta Kernel running on my device, which is also a OP 3t. By now, it will be just for OxygenOS Oreo.

Gauravlonkar said:
How to get it?
How to install on SD821?
Oneplus3T?
Click to expand...
Click to collapse
OP3/T is MSM8996. Just pick the commits into your kernel source.

We are actually changing some stuff to get this fully running. We have already one kernel DTS eagle is fully working. Hopefully more devs will implement the driver.

Thanks for posting and porting this!
I know you guys are still working on fleshing out the commits for this, but as-is on the OP3 I needed to make a change in order for it actually compile the new dts_eagle_drv.o module and work:
https://github.com/holyangel/OP3/commit/c8b84a701fdcf82dc725beaaa40f740b13e84f7a
Basically was missing sourcing the dts_eagle/Kconfig file in drivers/misc/Kconfig, and had to remove the 'depends on CONFIG_SND_SOC_QDSP6V2' as i'm its not seeing that option during build time.
Once that was done it compiles and works great :good:

HolyAngel said:
Thanks for posting and porting this!
I know you guys are still working on fleshing out the commits for this, but as-is on the OP3 I needed to make a change in order for it actually compile the new dts_eagle_drv.o module and work:
https://github.com/holyangel/OP3/commit/c8b84a701fdcf82dc725beaaa40f740b13e84f7a
Basically was missing sourcing the dts_eagle/Kconfig file in drivers/misc/Kconfig, and had to remove the 'depends on CONFIG_SND_SOC_QDSP6V2' as i'm its not seeing that option during build time.
Once that was done it compiles and works great :good:
Click to expand...
Click to collapse
Take a look at the repo. @LazerL0rd force pushed new commits with the fix.

Will this work on SD625??

using this on hima "LineageOS 15.1 Unoffical" and "AICP 13.1 Official". Works great so far!

crian said:
Take a look at the repo. @LazerL0rd force pushed new commits with the fix.
Click to expand...
Click to collapse
yep builds now by itself without my commit :good:

HolyAngel said:
Thanks for posting and porting this!
I know you guys are still working on fleshing out the commits for this, but as-is on the OP3 I needed to make a change in order for it actually compile the new dts_eagle_drv.o module and work:
https://github.com/holyangel/OP3/commit/c8b84a701fdcf82dc725beaaa40f740b13e84f7a
Basically was missing sourcing the dts_eagle/Kconfig file in drivers/misc/Kconfig, and had to remove the 'depends on CONFIG_SND_SOC_QDSP6V2' as i'm its not seeing that option during build time.
Once that was done it compiles and works great :good:
Click to expand...
Click to collapse
sound/soc/msm/Kconfig
14:config SND_SOC_QDSP6V2
It's there alright. I fixed the other issues with a force-push btw.

@Claymore1297 @crian @HolyAngel another update has been pushed - I've joined the normal naming and folder placement scheme of the Linux Kernel and therefore have decided to move the Kconfig and dts_eagle folder to under drivers/misc/qdspv2 (well the Kconfig was added to drivers/misc/Kconfig as there is no child Kconfig for this folder)

shanks125 said:
Will this work on SD625??
Click to expand...
Click to collapse
There's no way you will know except you test it yourself. Pick 8996 commits, btw.
Sent from my Redmi Note 4 using XDA Labs

Do we need any application for controlling it?

NATO66613 said:
Do we need any application for controlling it?
Click to expand...
Click to collapse
Need, not really. Should have, yes. The module for that still isn't public yet because it's in beta. Join the ICESOUND group on TG for an show public version.
Kernel stuff works tho.

I'm on Omnidragon, the devs implemented DTS Eagle in kernel. As this an 'always on feature' I was wondering how this works/interferes with mods like v4a or James DSP?

mvn66 said:
I'm on Omnidragon, the devs implemented DTS Eagle in kernel. As this an 'always on feature' I was wondering how this works/interferes with mods like v4a or James DSP?
Click to expand...
Click to collapse
Works fine, it's just an addition to the many audio effects Android has. The kernel stuff is just a backend and allows it to be integrated deeply into the system.

LazerL0rd said:
Need, not really. Should have, yes. The module for that still isn't public yet because it's in beta. Join the ICESOUND group on TG for an show public version.
Kernel stuff works tho.
Click to expand...
Click to collapse
Can't find it can you please send it link

tested and seem working fine with SD435, really interesting sound enhancement.
Thanks

Related

[ROM][5.1.1] OmniROM 5.1 for GT-I9105/P Initial Build [03/21/2015]

About OmniROM
Omni is a chance to get involved, no matter who you are. Developers, whether you’ve been developing apps for a week, or ROM features for 3 years, you’re welcome. Users, we know you want to help out, and now you can – Omni actively encourages bug reports and feature requests, which can be added to our publicly accessible roadmap. What’s the point in giving you a ROM, and forcing you to not tell us about any bugs you find?
Note:
No screenshots? i can't take screenshots because the camera is not working, i am trying to do the best to get OmniROM work perfect on our
device, thanks a lot fot the patient.
Special Thanks
@pawitp for fantastic works on i9082 patches.
@CoolDevelopment and @GHsR for helping me to get booted.
and of course all devs of of this device.
Downloads:
Click here to download it.
LOG
03/20/2015:
-got Omni 5.1 booted.
-NFC: fixed.
-WIFI: fixed.
-GPS: fixed.
-Launcher3: fixed.
-rebuild with adapted frameworks/av patch to fix
camera and screenshot and many things.
03/21/2015:
-RIL fixed partially, because data connection is still not working .
03/29/2015:
-Redownload OmniROM based on the latest source.
-Rebase the source with new changes for AOSP.
04/28/2014:
-start new build with 5.1.1.
-dont ask ETA.
Click to expand...
Click to collapse
Issues:
Home button is not working.
RIL shoud be fixed.
Click to expand...
Click to collapse
Reserved
Thanks a lot, didn't realise that is has already been complied.
Back to work dude, atleast make that cellular data works..thanks anyway
No signal for me(not carrier locked), and random restarts.
Yep because the patch of ril doesn't work, so if any dev want to help, i can continue the dev and also guys maybe i will build roms just for i9105P so if anyone are interesting to build for non P just contact me to pass device tree.
Any news?
cracker12 said:
Any news?
Click to expand...
Click to collapse
yes, of course!
http://www.euronews.com/2015/01/07/...red-at-french-satirical-weekly-charlie-hebdo/
and
http://abcnews.go.com/International...rench-satirical-paper-police-witness-28050653
adisan2002 said:
yes, of course!
http://www.euronews.com/2015/01/07/...red-at-french-satirical-weekly-charlie-hebdo/
and
http://abcnews.go.com/International...rench-satirical-paper-police-witness-28050653
Click to expand...
Click to collapse
Lol... About rom
I am building the 5.0.2 if camera not working probably i will rebuild with cm12 frameworks which the patches are worked without problem and once camera worked i will upload and build one for i9105 see you
Any news about Omni?
Update rom bro
guys would like a rom without ril, wifi etc?
haky 86 said:
guys would like a rom without ril, wifi etc?
Click to expand...
Click to collapse
Big respect to you mate, but why would anyone want ROM without a RIL, and WiFi?
beegee said:
Big respect to you mate, but why would anyone want ROM without a RIL, and WiFi?
Click to expand...
Click to collapse
Well, i try many times to merge cm12 patches to omnirom, the important patches like frameworks/av/base/native which contain fix for camera and other features but without result, omni framework's based on pure aosp so i can't merge cm12 patches because frameworks are not compatible if frameworks/base code's patch are not match with source i can't do anymore, anyway I will release SlimLP for our phone in this days, i was planning to do that last week but i have issue with my machine.
P.S. : i do a "half" port of Ubuntu Touch by getting shell access to the device, taking blank screenshots and also internal sdcard has been recognized without problem, the only issue to fix is broadcom gpu to boot up as well, if any dev are interesting we can port utouch
bloodofJesus said:
screenshots of ubuntu touch ?
Click to expand...
Click to collapse
Not yet, i am trying to mount partition data that allow ubuntu to boot, i think the port it's done but data and display permission should be fixed
I almost finish to compile SlimLP if everything OK i will upload quickly
bloodofJesus said:
SlimLp is still in alpha ? What unique features does it have compared to CM, RR ? More isn't necessarily better.
Sent from my GT-I9105P using XDA Free mobile app
Click to expand...
Click to collapse
Well bro the rom is worked, everything are fixed except screenshots
forget slim, still buggy for s2 plus, it's work perfect on p3113 :/
Got Android 5.1 booted with omni now I will recompile with adapted patches, it's really fast.
haky 86 said:
Got Android 5.1 booted with omni now I will recompile with adapted patches, it's really fast.
Click to expand...
Click to collapse
Are the ROM ready or not? We excited want to download and test

[KERNEL][SOON] HakyKernel 3.1.2

Will be updated soon
Issues:
Settings app: closed automatically when activate Bluetooth.
Kernel information: still appear on 3.0.101, i guess modules of MoshKernel should be updated too.
Android rebooting each 10/15 minutes.
Wifi: not working.
Code:
[*]22/04/2015:
-initial build.
-I will make zImage and use as prebuilt kernel in my roms after add arch-capri drivers.
haky 86 said:
After done some google search about to find similar devices to our phone and some guys on Whatsapp group give me some useful information about Samsung Galaxy S Duos 2 that device share same broadcom chipshet but the kernel is more updated (3.4.5), so I decide to port this version to our phone Samsung Galaxy S2.
I start some tests witnout arch-capri drivers in kernel/samsung/3.4/arch/arm just to see if Android boot or not, the result was really fantastic so from today we can port 3.4 kernel without any problems.
Issues:
Settings app: closed automatically when activate Bluetooth.
Kernel information: still appear on 3.0.101, i guess modules of MoshKernel should be updated too.
Android rebooting each 10/15 minutes.
Wifi: not working.
Code:
[*]22/04/2015:
-initial build.
-I will make zImage and use as prebuilt kernel in my roms after add arch-capri drivers.
Click to expand...
Click to collapse
Okey. Is this for stock or asop based roms?
rs tony said:
Okey. Is this for stock or asop based roms?
Click to expand...
Click to collapse
for both roms :good::good:
thanks @haky 86
I think in future u make this phone work so much better than iphone6
your one of the best developer for this phone
SmzAmir said:
thanks @haky 86
I think in future u make this phone work so much better than iphone6
your one of the best developer for this phone
Click to expand...
Click to collapse
Sure once finish 5.1.1 i can recall other devs to share experience and make 3.4 work perfect:thumbup::thumbup:
Sent from my GT-I9105P using XDA Free mobile app
haky 86 said:
for both roms :good::good:
Click to expand...
Click to collapse
amazing work :good: only a question, i am a newbie on android so what will be the difference betwen them?
cracker12 said:
amazing work :good: only a question, i am a newbie on android so what will be the difference betwen them?
Click to expand...
Click to collapse
the differences are:
-roms will be more stable.
-kernel new and updated instead of old stock and slow 3.0.101.
-antutu test result about 13000 points with some fixes may get better result.
-fast booting.
-this version could be useful for android 6 when will out.
haky 86 said:
the differences are:
-roms will be more stable.
-kernel new and updated instead of old stock and slow 3.0.101.
-antutu test result about 13000 points with some fixes may get better result.
-fast booting.
-this version could be useful for android 6 when will out.
Click to expand...
Click to collapse
Thanks... Keep up
[*]23/04/2015:
-drivers are imported without problem.
-now i'm fix compilation errors to see if will done or not.
Hey u make this
It awesome
---------- Post added at 03:40 AM ---------- Previous post was at 03:37 AM ----------
Hope you will fixed the issues in future
Do it have enhanced gpu
Man, you do a lot of great work.
thanks guys but may i wil discontinued this project since no devs are interested to port newer kernel like galaxy w where started from 2.6 and updated up to 3.4..
left it open haky..maybe they are busy for now..we need it bro
haky 86 said:
thanks guys but may i wil discontinued this project since no devs are interested to port newer kernel like galaxy w where started from 2.6 and updated up to 3.4..
Click to expand...
Click to collapse
sad news!
I was really looking forward if someone can port a new kernel, but as you said it's not an easy job and no devs are intrested
haky 86 said:
thanks guys but may i wil discontinued this project since no devs are interested to port newer kernel like galaxy w where started from 2.6 and updated up to 3.4..
Click to expand...
Click to collapse
So this one is really down? Hey, man, we need you, continue your work
why me? the best succeed I got is integrate part of capri's kernel archecture into 3.4 and entire code should be readpted to work on our phone. in case of even ported, I will not release the source coz I will not do the homeworks of others
3.1.2 Kernel
-update patch like 3.0.31 -> 3.0.32 is adapted as well.
-now im apply the patch to update the code see ya.
3.1.2 in progress
I have a question dear @CoolDevelopment I manage to update the kernel of this phone from 3.0.101 to 3.1.2 using the patch of kernel.org's website.
here my questions:
-if got failed patch, should skip them in case can't found it code?
-I saw there are a lot of detected commit that already patched, should be skipped too and apply only the new code?
-is enough just downloading 3.1.2.patch and use patch -p1 method or should download kernel source too.
https://www.kernel.org/pub/linux/kernel/v3.x/
now I'm compiling a zImage seems no errors for now, if boot I will continue the port :good:
thanks in advance
haky 86 said:
I have a question dear @CoolDevelopment I manage to update the kernel of this phone from 3.0.101 to 3.1.2 using the patch of kernel.org's website.
here my questions:
-if got failed patch, should skip them in case can't found it code?
-I saw there are a lot of detected commit that already patched, should be skipped too and apply only the new code?
-is enough just downloading 3.1.2.patch and use patch -p1 method or should download kernel source too.
https://www.kernel.org/pub/linux/kernel/v3.x/
now I'm compiling a zImage seems no errors for now, if boot I will continue the port :good:
thanks in advance
Click to expand...
Click to collapse
Upload your source man, else noone can help you
I hope you don't have just changed the version numbers...
no i didn't, here my new branch
https://github.com/hak86/android_kernel_samsung_galaxys2plus-common/tree/3.1.2-lp
Compilation is work fine, now i will try to compile with make -j4 bootimage to get the modules and use them on nebula's flashable.

[ROM][D2303] Resurrection Remix

RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
install it as usual, in TWRP...wipe system/data/cache...install .zip
(NFC drains the battery and doesn't work, uninstall it with some of the root uninstallers)
??
andres_vlc said:
??
Click to expand...
Click to collapse
ummm sorry for no more description
ResurrectionRemix ROM for D2303, camera doesnt work
quake73 said:
RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
Click to expand...
Click to collapse
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
You can edit the post and explain the bugs and known issues
how to install? etc etc
Konstantinosj77 said:
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
Click to expand...
Click to collapse
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
quake73 said:
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
Click to expand...
Click to collapse
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
)))....I havent reached that stage yet
and, if you ask me...the latest Sony software is the best rom for our phones.
nice work bro..but on your file just boot.img,system.img and userdata.img how to success instaal via trwp bro?
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Omg RR rom [emoji38] but look you cant make camera work,i will wait until it work )
Sent from my D2305 using XDA-Developers mobile app
Nfc not work. Led not work
andres_vlc said:
Nfc not work. Led not work
Click to expand...
Click to collapse
true, corrected my first post, notified about nfc
Quake73 look Pm pls
quake73 said:
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Click to expand...
Click to collapse
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Konstantinosj77 said:
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Click to expand...
Click to collapse
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
quake73 said:
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Click to expand...
Click to collapse
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
quake73 said:
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
Click to expand...
Click to collapse
Yes but it's not that simple,you have to use CAF frameworks too
Konstantinosj77 said:
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
Click to expand...
Click to collapse
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
quake73 said:
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
Click to expand...
Click to collapse
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Konstantinosj77 said:
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Click to expand...
Click to collapse
NOOOO, NO WAY, OF COURSE NOT, THEY ARE MINE, THEY ARE PROPRIETARY!!!!
(ok ok here it is)
i experiment a lot but this is the manifest i used during building the posted RR5 rom. I'm not even sure if I need those qcom/common, media, display etc. Roms seem to build fine without them. SonyCM has some Init, I have no idea if it helps, as you can see, i'm just building blindly but it works
as you could see with pacrom, it is messy....the second half is remove-project, to help sync less (also use "repo sync ..... --depth=1", it helps a lot to keep the source at minimum)
And what do you think, is there a chance for the camera working in a MM rom since there isnt even a sony stock MM rom for M2? Or should we consider changing the phone?

[KERNEL] [MTD] [TW/CM9/CM11] [DEV] Watson Kernel (MTD support on Gingerbread!)

Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
 @robcore - his development on the Snapdragon S4 breathes life on my dev soul!
 @zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:

[KERNEL][HAVOC-OS-2.2 - 2.4]Coconut Kernel with Nethunter Support[HolyDragon Source]

Coconut Kernel for HAVOC OS - With Nethunter Support
Code:
***I'm not responsible for any problems that might occur flashing this kernel or what you do with the kernel support***
This kernel is tested on HAVOC OS 2.2 - 2.4 PIE. This is built from HolyDragon Source with added nethunter support/USB Wifi Adapter Drivers and monitor mode/packet injection
The kernel should also work on every ROM that Holydragon kernel supports.
Requirements
Oxygen OS 5.0.8 firmware is required. The wifi adapter wont work on older firmwares. Those who are using Havoc OS would most probably be on 5.0.8 firmware so this is just a remainder for others and/or anyone who have trouble making this work.
How to install
Make sure that you are rooted with magisk/supersu/any superuser
Download kernel from attachment and flash in TWRP Recovery
Reboot and download any terminal app like Termux
Plugin the USB Wifi card and open Termux
Type the command su
Then type ifconfig wlan1 up
This is how you can test whether it works or not
The kernel works fine with Nethunter as well as other chroot applications like Linux Deploy.
Note:- This kernel does not need any module to be inserted as all wifi drivers are compiled inline. So no need to insmod/modprobe
Credits
@HolyAngel for HolyDragon Kernel Source
Source
https://gitlab.com/HolyAngel/OP3
Thanks sir, this weekend, I test and i say you if I have a problem, but surely not, at this moment it is the kernel that I have but without the controller. I want to learn to compile the kernel on my own so that, in case HolyAngel updates the kernel, it dosn't depend on your work.
Victroid said:
Thanks sir, this weekend, I test and i say you if I have a problem, but surely not, at this moment it is the kernel that I have but without the controller. I want to learn to compile the kernel on my own so that, in case HolyAngel updates the kernel, it dosn't depend on your work.
Click to expand...
Click to collapse
https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
Follow the tutorial above for kernel building.
@fredrickz
Any future build for stock oos pie like your Oreo one, it was perfect man thank you for your efforts regard to the community.?
DoN LoUhI said:
@fredrickz
Any future build for stock oos pie like your Oreo one, it was perfect man thank you for your efforts regard to the community.
Click to expand...
Click to collapse
Stock oos pie source isn't available yet man. I can build pie version from holydragon sources. I'll compile one when stock sources arw available too.
fredrickz said:
Stock oos pie source isn't available yet man. I can build pie version from holydragon sources. I'll compile one when stock sources arw available too.
Click to expand...
Click to collapse
Fair enough, thank YOU:laugh::good:
You explicitly mention this:
This is built from HolyDragon Source with added nethunter support/USB Wifi Adapter Drivers and monitor mode/packet injection
Click to expand...
Click to collapse
And the kernel source points to:
https://gitlab.com/HolyAngel/OP3
Click to expand...
Click to collapse
This can only mean 2 things:
1) you've merely taken holydragon kernel source and renamed it as your own or
2) you're actually breaking the GPL here by not releasing your changes
So which one is it?
And this leaves me no doubt that the second is very likely the case:
Note:- This kernel does not need any module to be inserted as all wifi drivers are compiled inline. So no need to insmod/modprobe
Click to expand...
Click to collapse
@Fredricks
It would be more than appreciated if you could add support for HID brother. Thanks:crying:
anupritaisno1 said:
You explicitly mention this:
And the kernel source points to:
This can only mean 2 things:
1) you've merely taken holydragon kernel source and renamed it as your own or
2) you're actually breaking the GPL here by not releasing your changes
So which one is it?
And this leaves me no doubt that the second is very likely the case:
Click to expand...
Click to collapse
I dont want to break any gpl.. the thing is that all my changes are local. Im not used to github. This kernel and all others i posted werr just for my own use. I have been using @ZaneZam kernel for oneplus3. But the Oreo kernel wasnt working fine. Thats the reason i tried to compile one my own. I shared it with a friend of mine some time ago and he insisted that i should post it so that others may also benefit. The kernel i posted doesn't have tonnes of feature list because i mostly stick to stock. I just added the wifi drivers and was using them. My friend asked me to add support for DriveDroid and i just did that. I don't know much about git and didnt have time to learn.
If this is against the rules then maybe ill post the source later. Im currently out of town.
for now if you want to know what changes i did,
1. Prepare the kernel for standalone build (except holydragon kernel)
2. Added just the wifi drivers mentioned in the nethunter wiki. I didnt add support for usb Bluetooth or sdr.
3. Added support for DriveDroid from official post in xda making changes to adapt the code to 3.18 kernel.
4. Added a fancy name to the kernel.
5. Published it.
DoN LoUhI said:
@Fredricks
It would be more than appreciated if you could add support for HID brother. Thanks:crying:
Click to expand...
Click to collapse
Im out of town bro. Ill add it when i reach home.
fredrickz said:
Im out of town bro. Ill add it when i reach home.
Click to expand...
Click to collapse
Very thankful, have a good time..:good:

Categories

Resources