Compile AOSP for MT6580 - Infinix HOT 2

I have stumbled upon this, but it seems like it contains the source code and instructions to compile for MT6580.
Any one with experience could you try to compile. If this is true the potential is great.
http://pan.baidu.com/wap/link?shareid=700368038&uk=3562802345
http://pan.baidu.com/s/1o6j0nDg
http://pan.baidu.com/s/1c0vpEPq
https://yadi.sk/d/Sm14nY5rf8ALx

infinix not share binary hardware support files

error on compiling k80HD, just try for hot 2 it uses lcm nt35521 yusu but no driver on this kernel

Related

[Q] Build from samsung source code

Believe this should be question for all newbee as well.
Downloaded new source code from opensource.samsung.com
get all source and whole environment setup from android.com
follow readme in samsumg's source code so I'd merge with android generic source
After make, the output system.img is only 50mb. Compared with samsung's system.img 250mb. After extract, there are significant differences.
apps, bin, frameworks, csc.. are much different.
Anyone had idea how to build correct samsung's image?
I created new launcher and lockscreen, it works on emulator, but cannot port to samsung Galaxy S because of environment setup, your help step by step will be very helpful, thanks!!
Hi buddy,
Do you know what’s the problem?
I meet the same problem about compiling.
The system.img only 58M. I cann’t run the image with emulator.
I don’t know how to solve it.
I guess your problem is that you don't get the drivers on the sgs.
Many are not open source.
So you can't build a firmware from scratch.
The open source from Samsung is only the kernel.
What you need is to import all missing stuff in the firmware you did compile, but you will face a bigger problem to change all places that using the missing stuff.
Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram

[Q][Sprint] Kernel compile

I'm having a problem compiling a kernel for a
Sprint CDMA 7" GT.
I use unpack-initramfs to grab the rootfs from
the original EF17 kernel.
I put that dir location in CONFIG_INITRAMFS_SOURCE=""
in the p1_defconfig file in Kernel/arch/arm/configs
In the kernel directory I issue the commands:
make clean
make p1_defconfig
make
The kernel compiles fine, but there's a 3Mb
difference between the original EF17 kernel
and the one I compile.
If I extract the rootfs from my kernel it's
the exact same as the one extracted from the
original. Have I missed a step? I've done this in the past for my Epic 4G.
i have similar issues that i've been battling with..the kernel coming out smaller isn't 100% indicative of a bad compile...i bet your kernel will boot but 3g (and possibly sound and more) don't work
i emailed samsung open source explaining what i did to compile and this was their response.
my query:
I downloaded the source code for the SPH-P100. I followed the directions in the README_kernel.txt to compile. As well as setting up the unmodified initramfs from the stock kernel. I can boot the kernel on the device however the resulting zImage size is 4.2MB compared to the 5.7MB zImage pulled from the device. I've not made any extra changes to the config or anything else other than what is needed to compile. Despite the size difference using the unmodified p1_defconfig (except setting the initramfs path), the problem that I have is the 3G radio will not start. I get a circle with the slash in the status bar and any dialer codes that pertain to the radio just force close. dmesg and logcats do not turn up any useful information or errors. Flashing the stock kernel back to the device alleviates the issue. So my questions are as follows: Is the source code complete? If so what could I be missing that would cause the radio to not start? Thank you in advance for any input on the issue.
Click to expand...
Click to collapse
and their response:
[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]
Dear customer,
Thank you for your continuous interest on our product.
We received your request on OSRC.
We reviewed your inquiry but unfortunately we couldnt publish the source code for some modules, because it is loadable kernel module and contains samsung proprietary code.
We published open source codes that are covered licenses which have obligation of publishing source code. (ex. GPL, LGPL, MPL...etc)
But we do not guarantee that open source code is excutable in target device. We are sorry for not giving you an correct anwser upto your satisfaction.
We are sorry for not giving you an correct anwser upto your satisfaction.
Thank you!
Sincerely yours
Click to expand...
Click to collapse
so for now until we can figure out what is missing we are out of luck as they are no help
when i have time i'll gladly work with you, oldmacnut, and any one else that can contribute into making a working base kernel from source
Thanks. This truly sucks and will impact my future choice of product purchases.

[Q] Modify BCM4329 driver

Hello,
I'm looking to access Broadcom 4329 sources and make some minimal modifications.
I could successfully compile Kernel and bcm4329.ko and upload to the phone. Both Kernel a module are working fine. Except that I can't find the true sources and modify them.
There are many guides, some outdateted, and confuses me a bit.
I found bcm4329 sources at ~/android/system/hardware/broadcom/wlan/bcm4329/src but those files are never being used at all while compiling.
On Nexus One this folder seams to be completelly unused.
When I compile the Kernel it also makes a working bcm4329.ko module with files from ~/android/kernel/cm-kernel/drivers/net/wireless/bcm4329.
I need help to known how can I modify sources a compile them.
Which files are the 'true' sources for this drivers to be modifed?
I add a printk in wl_cfg80211.c located at both folders, but do nothing.
Regards,
for the record: we found the solution, the module gets compiled with the sources from
Code:
cm-kernel/drivers/net/wireless/bcm4329/

[Q]Building From Source (Single Modules / Bare Minimum Version)

My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
i did not try this .
u can download the package like if u want trebucket launcher then download full android_packages_apps_trebuckhet.
recompile it to get the trebucket apk
once againg i did not try this out
defcomg said:
My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
Click to expand...
Click to collapse
Mmm won't help as it needs to link against other parts of the system. That's why you need to do a full build before you can mmm
In theory you can take the app and try to import it into eclipse, and regard it just as an app project.

Sailfish os on Xiaomi redmi 4a

Who can port port Sailfish os on Xiaomi redmi 4a?
Dedemit !!!
I could try to do this as a project as most of it is just Linux-y stuff, which I adore.
Since kernel sources have been released (by someone) for the rolex (search on GitHub and you'll probably find it) and also android_manifest.xml (comes really handy) has been also released.
This is definately now possible, just that it may take A LOT of effort to get it functioning right...
Quick update:
I've got HAL to compile on xiaomi_rolex (this phone) thanks to local_manifest provided by @Carlos Arriaga. There should be SailfishOS in no time if everything else goes smoothly...
nik1234567 said:
Quick update:
I've got HAL to compile on xiaomi_rolex (this phone) thanks to local_manifest provided by @Carlos Arriaga. There should be SailfishOS in no time if everything else goes smoothly...
Click to expand...
Click to collapse
was anyone able to build one?
Sorry for not updating, but I've managed to get it compiled. But the thing is that it won't load the kernel....... while building a seperate project (postmarketOS) it seems to be a issue with device tree blobs, I tried compiling even as QCDT but no avail. If anyone can help me out, I would appreciate it. As I have no idea how the Linux and Android kernel level stuff actually work.
the output of
Code:
fastboot boot new_boot_image_i_made.img
is always something like
Code:
dtb: Not Found
and fastboot immediately freezes afterwards.

Categories

Resources