Kernel Source - HTC U11 Questions & Answers

HTC might need a gentle reminder about releasing kernel sources, none of the U series have been released yet, they are required for us to have SlimRoms/LineageOS/aosp/caf style ROM support.
https://twitter.com/NickFlintham/status/871975171120406528
I've tweeted....
Nick.

Related

[REQ] Compile libwebcore.so

Hi all
Can someone compile libwebcore.so and add a patch to support Right To Left and Arabic Language Shaping
the patch is available here
https://github.com/Y6b/android_external_webkit/commit/8637f8f6b8f78aef69a1a1919c9df54358513706
Regards,
Haitham
hkhuder said:
Hi all
Can someone compile libwebcore.so and add a patch to support Right To Left and Arabic Language Shaping
the patch is available here
https://github.com/Y6b/android_external_webkit/commit/8637f8f6b8f78aef69a1a1919c9df54358513706
Regards,
Haitham
Click to expand...
Click to collapse
It really depends on whether Samsung made any changes to their version of libwebcore.so that break compatibility.
i.e. if it's possible to compile libwebcore.so from any published sources and have it work - The problem is that we don't have the sources to any of the userland stack for our phones.
There are some guys working on a CM7 bringup, once/if that's complete (no ETAs and don't ask, they might run into an insurmountable barrier), mods like this should be a lot easier.
Entropy512 said:
It really depends on whether Samsung made any changes to their version of libwebcore.so that break compatibility.
i.e. if it's possible to compile libwebcore.so from any published sources and have it work - The problem is that we don't have the sources to any of the userland stack for our phones.
There are some guys working on a CM7 bringup, once/if that's complete (no ETAs and don't ask, they might run into an insurmountable barrier), mods like this should be a lot easier.
Click to expand...
Click to collapse
Compiled AOSP libwebcore is not compatible with Samsung firmware. Tried it many months ago.
gtg465x said:
Compiled AOSP libwebcore is not compatible with Samsung firmware. Tried it many months ago.
Click to expand...
Click to collapse
How to compile it? i tried :
Code:
make libwebcore
on "external/webkit" but having no rules for make..
what rules and where to add it?
Although it IS a request thread, it's also development. Let's see what it brings. Continue.
wanam said:
How to compile it? i tried :
Code:
make libwebcore
on "external/webkit" but having no rules for make..
what rules and where to add it?
Click to expand...
Click to collapse
I compiled it doing an entire AOSP build.
here it is man fully supporting arabic
http://www.megaupload.com/?d=9H9X0CXI
i tried it & it works

[SEE-THIS]-[PETITION]-Micromax to release kernel source and other drivers !

~MODS PLEASE DON'T DELETE THIS THREAD~
Micromax is the largest growing Indian brand and are making android phones without releasing kernel sources for their products which are running Google's open source OS .
It is important as when developers will get their hands on to the Kernel source and other drivers they will be able to give the users a different performance with custom ROM's and other tools.
They are not releasing the kernel sources for their android phones which is making difficult to developers for making much more advanced ROM's like cyanogen etc .......In this way they are violating gpl licenses
Please help us by signing this petition and forcing them to release the kernel sources !
we would be VERY Thankful to the persons who will be signing this petition !!
PLEASE Help us we are very very Hungry for kernel sources !!
we, Micromax-mobile users will be very thankful to u guys if u sign this petition !:good:
It wont take more than 2 minuets to sign this
once again i say please sign it God will bless u all !
link -- http://www.change.org/en-IN/petitio...-and-other-drivers-for-their-android-products
I forgot to add link .... now added ...
mandeep1 said:
I forgot to add link .... now added ...
Click to expand...
Click to collapse
Signed.

Kernel - N7100 Compile test

Hi,
I compiled a kernel from Samsung git for my friend, but he yet to test it out.
If you have time and willing to help me please download it here
This kernel:
Just compiled with GCC EABI 4.4 (not working with GCC 4.7 maybe need patches)
Just default config, make t0_04_defconfig
that's all
To install:
Go to TWRP(or perhaps CWM)
Flash the zip (it was zipped with AnyKernelUpdater)
Regarding the sources .......
I involved three kernel projects for Nexus 4 so I'm not quite familiar with Samsung phones devel since I'm not sure whether is it OK to push back any commit to github since Samsung just provide a tarball instead of github checkout as Google Nexus devices. Logicall it's GPL so it's OK to push back to github, right?
i always says the best kernel of the community comes when the stalwarts have left :laugh:
hope this is the ONE
not a good tester but i bet the boys would be happy to:fingers-crossed:
same here.
Same here man. Having high hopes for this kernel. Looks awesome. Hoping this is the one. God bless hope this awesome kernel goes amazingly
hope you guy try it out
i'll push it into git if it was tested and no complain

Port of released Broadcom CPU and GPU drivers to AOSP based ROMs for BCM21553 SoCs

Hi to all Broadcom BCM215XX armv6 devices running android!
I'm glad to announce that, our organisation, BroadcomCM will start working on the port of AOSP ICS drivers for our CPU and GPU, BCM21553. First of all, I've asked moderators to close all my threads, why? We know we have [GENERAL] Thread for our projects but most users don't care, so this will be the thread to talk about it, development!.
Samsung stopped the development on this devices long ago, but their drivers where not ever released. Thanks to our petition, we have managed to force Broadcom to release the drivers, and we managed to release them on ICS, android 4.0+, way!
Index:
Post 1 (this) ...................................... Information about drivers
Post 2 .............................................. Frequently asked questions
Post 3 .............................................. Drivers on Github (Opensource)
Post 4 .............................................. Videos showing HW working
Click to expand...
Click to collapse
A bit of introduction:
Broadcom gave to us test driver builds, which were prebuilt, .so libraries, and we could not edit them, but they gave us the code to patch framework to make those prebuilt libraries work with our AOSP project (by that time, CyanogenMod 7.2). After some re-search and lot of work on our team (thanks Legolas93), I managed to implement AOSP Alcatel drivers to our CyanogenMod 7.2 Based ROM. This was the biggest change ever happened to that device, as we managed to fix 100% HW and as a cosnequence, libstatgefright was fixed too, and HGL. This resulted on camera/vide recordi (media profiles, encoding and decoding) to work, this was RC1. REMEMBER: As we extracted this libs from sotck AOSP alcatel ROM they are prebuilt, so we can not modify them at all.
SInce that moment, project on HW was stopped, and we focused to fix other issues not releted to HW (ext4, backlight, led, tethering, BT...), and we managed (most of them), and everyone enjoys now a CM, AOSP and Cyanmobile port brought to you by broadcomCM.
What else?
Broadcom released, or seemed to, BCM21553 driver source for AOSP ICS source. They released the source, so now we can know how our chip work. What is weird about it, is that this chip is released for ICS source, when it is an armv6 chip, and any device of our family has official ICS. (Maybe BROADCOM are really nice people, or maybe they trolled us). We will add new tag to be defined on Boardconfig.mk to make the drivers work on it.
So.. We did it?
Yes, we forced Broadcom to release the source, you, we, we all did this possible, and we should be prud of ourselves.
Will with this come BroadcomCM to develop?
Well, yes and no, we already have some surpises for BroadcomCM ROMs owner, which were not reletated to drivers at all, and they affect all devices. As this work is nearly finished (first alpha), we will release this next week, and then we will start working on it. Keep calm, good things make people wait for it don't ?
What is now?
Now, nice question. We will implement this source code on our CM9, ICS, branch. (all sources can be found on our github), and implement them on the build, will that be easy? OF COURSE NOT. Broadcom trolled us with first test builds of drivers, so maybe expect the same from that sources, we don't know and we will not know unitl we build it, and we have to compare each file, ONE PER ONE, so it will be a hard work.
Frequently asked questions can be found on the second post, as well as a video to show you what was having a device with drivers, and what was not. (Qualcomm vs Broadcom [armv6]).
ANY ETA? (Estimated Time of Arrival)
No. I can not tell any eta, I'll maintain you informed to you on this thread. I'll start my work next week (Exams on this one, need to study ), and I'll keep calm, I'm as amazed as you, but we have to be very down to earth. Broadcom lied to us, maybe they made it too. It will take some time to study and implement, and then make them work!
WILL THAT FIX ALL THE ISSUES WE HAVE ON ICS?
No, but will fix the most important one, HW. What I mean by hardware is the animations will be smooth, video on second post. So hopefully we will run a good ICS build, but expect camera and Audio not working too. Audio? Well some progress have been made on shadows, camera? That will be hard, really hard. Even Cooper (Galaxy Ace MSM7x27 based chip wasn't able to run camera at the first, since Qualcomm not release their source too).
AND WHAT ABOUT CM7 (2.3.7 based roms)?
We hope 2.3.7 ROMs will benefict from it, but we are not sure, we will have to test them and implement on our CM7 tree, but as they are for ICS, or this seems to, first goal is ICS, as we have 100% HW working, but with prebuilt, for the moment is OK and not our priority,
CAN I IMPLEMENT THE DRIVERS ON MY DEVICE?
No, to implement those dirvers you will need big knowledge of BroadcomCM devices, and I think our team has. We have managed to solve many bugs, and, talk with broadocm to solve first driver errors we had.
Ok, we have managed to get drivers working on our CyanogenMod 9.1 Ice Cream Sandwich version 4.0.4. Remember the drivers were given in 4.0.1 which were a bit different from actual 4.0.4 used.
After the release of the ROM with first version of those drivers included, we are glad to announce that, as always, we opensourced this "4.0.4 drivers" as well as Broadcom did. Feel free to take them, and use it at your own, to build diferent ROMs, such as AOKP, Paranoid, AOSP... Or Jelly Bean . This are drivers source, you will need to cherry-pick them to your local repo:
/bionic
/frameworks/base
/hardware/libhardware
/system/core
Broadcom was nice, and they created a new HGL lib, which they open-sourced too, and give the name of libv3d, kind of a new HGL lib, which should complish all patches and BCM21553 requiriments, also opensourced on BroadcomCM.
/brcm_usrlib also known as libv3d
You can also find original patch on Broadcom's page (4.0.1 patch) and the diff files I've made, which they will give you more clues on how to implement them on other sources.
On those videos, we can see that those drivers are fully working! Thanks for those youtubers, we can show to the world that WE DID IT!
ME presenting those drivers:
COOPERVE:
TOTORO:
TASSVE:
CORI: (WIP)
you guys are amazing,thanx for all............
Does this mean we can build other roms as well?
like aokp / paranoid android / pac /miui etc.
Anyhoo, I wish you goodluck.
u doing a great job buddy.
keep it up. :thumb:
n best of luck for ur exams..
---------- Post added at 11:18 PM ---------- Previous post was at 11:18 PM ----------
CharsiBabu said:
Does this mean we can build other roms as well?
like aokp / paranoid android / pac /miui etc.
Anyhoo, I wish you goodluck.
Click to expand...
Click to collapse
yup..
Always Great biel and his team..
using the great ace -i
Only these lines in legacy_prebuilts.mk already made me start to give up the drivers must be another troll source, maybe I'm wrong...
libEGL_POWERVR_SGX530_121.so \
libEGL_tegra.so \
libGLESv1_CM_POWERVR_SGX530_121.so \
libGLESv1_CM_tegra.so \
libGLESv2_POWERVR_SGX530_121.so \
libGLESv2_tegra.so \
Maybe they gave us fake one or another test builds. Still will take time months/year. Just buy new phone. This doesnt worth it.
Good luck, BroadcomCM!
It means,that we can expect cm9 only woth not working camera and sound?
This is some real good news if the broadcomCM have given the proper sources... Well, let's hope bielt.v keeps us updates
Dr.Pepper said:
It means,that we can expect cm9 only woth not working camera and sound?
Click to expand...
Click to collapse
If we get stable cm9 thats also great for us..
using the great ace -i
I highly doubt a big manufacturer would "troll" its consumers and volunteer developers with "fake" driver sources.
Sent from my GT-I9195 using xda app-developers app
I don't think they trolled us, they wrote a documentation and made an announcement for Fake drivers? A big manufacturer like broadcom will not play hide and seek with us, they know that they will lose their respect.
Sent from my GT-S5360 using Tapatalk 2
NICE!
CharsiBabu said:
Does this mean we can build other roms as well?
like aokp / paranoid android / pac /miui etc.
Anyhoo, I wish you goodluck.
Click to expand...
Click to collapse
We can leterally "port" those, (copy paste u know, lol)
Mitko said:
I highly doubt a big manufacturer would "troll" its consumers and volunteer developers with "fake" driver sources.
Sent from my GT-I9195 using xda app-developers app
Click to expand...
Click to collapse
Its natural, lol, happens once in a millenium, but these maybe true... but one thing is serioussly doubtful that the readme says
Readme.txt: last line:
make -j8 TARGET_DEVICE=generic_armv5
Click to expand...
Click to collapse
and armv5 doesn't exist ?? && moreover our bcm21553 devices are more likely to be armv6 variations....
really confuses me
Code:
I havent done enough research tho (due to less time on pc)
can anybody explain me that ??
There a long-long way to go. hopefully the awaited days come with good news.
XDA-Developer App
So I'm noodling through the source code, and I guess I'm gonna see what I can do to try and compile something for the Raspberry Pi. Fingers crossed.
EDIT: Also, according to wiki, ARMv5 is in fact a thing. Who knew?
http://en.wikipedia.org/wiki/ARM_architecture

Updating Old HTC Kernel with newer commits from CAF and LineageOS

Hey Guys,
Ok so here is my situation.
I have a really old HTC Kernel that is lacking way behind in commits. Due to this, this is why LineageOS 14.1 is failing to build. Of course I could use a ugly hack and apply the commits manually of the Android Source that requires them but this is quite a ugly hack.
This is how the kernel looks like right now.
CAF Kernel from Dec, 2014 + Code removed ( like comments) by HTC + HTC Open Source Software
I want to go back to "CAF Kernel from Dec, 2014", Apply all of the Latest Commits and then apply the "HTC Open Source Software" on top of the Kernel.
What is the best way to do this, If I merge the Kernel, I have a ton of Conflicts and that isn't really efficient, pretty much the whole kernel is a conflict with extra new files added.
I think the best thing to do is to port the device to the normal android_kernel_cyanogen_msm8916 (because it is a Snapdragon 410 Phone) but I don't know how to do this and don't think it will work because it is missing HTC Features in the Kernel.
The latest source from the last device maintainer is here:
https://github.com/PatrikKT/android_kernel_htc_a31ul/commits/cm-12.1
https://github.com/HTC-MSM8916/android_kernel_htc_msm8916/commits/cm-13.0
I am the next Device Maintainer, hopefully.....

Categories

Resources