GithubHelp home page GithubHelp logo

Comments (43)

 avatar commented on August 15, 2024 1

screenshot_2015-04-19-00-51-18
In Lollipop work fine.
I used this kernel https://github.com/kernel-hut/android_kernel_xiaomi_cancro

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

Same here too

from xiaomi_kernel_opensource.

KinG5Pac avatar KinG5Pac commented on August 15, 2024

Can we just make module on automode in linaro ??

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

I compile wiht Linaro 4.7, 4.8, 4.9, Sabermod 4.8, AK Linaro 4.9.3 and nothing, no wifi

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

Same here, no wifi. I used linaro 4.9.3. Have you guys overcome it?

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

i switched to bitti's repo
https://github.com/bittiscm12/android_kernel_xiaomi_cancro

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

@arnabbiswasalsodeep how's everything with it. Is wi-fi alright?
As for me, I'm trying to add wlan driver from other device which have the same board. The wlan chipset is pronto for sure. I have tested HTC msm8974. It didn't work. Now, I'm going to test from https://github.com/tectas/android_kernel_lge_msm8974ac . still cloning. it's taking too long because of poor internet connection in Myanmar.

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

I used driver wifi from Bitti, Audahadi and not work.
I renamed the wlan.ko that compiles to pronto_wlan.ko and does not work.
I have also taken prompt wlan.ko official and does not work
Sorry for my bad English

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

Looks like Xiaomi have removed something. Something really hard to fork. How could they do this to us.

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

They have been removed? I do not see the changes

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

No, what I meant is they must have removed something before they released it to the public and keep the complete one away from being touched.

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

i m still trying to compile. i too have a slow connection of 1Mbps and on a pentium (goin to upgrade to i5 soon)

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

and no luck. btw are videos playing on the kernel? because on my device it doesnt work

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

Yes, the video works fine. I used this toolchain.
https://www.mediafire.com/?dummbqmkaxai7

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

Radio, mobile data, vídeos, games and everything in general works but stupid wifi no.
I've got everything in place and have made a flashable zip with my kernel
For if it helps you
https://mega.co.nz/#!uFJRCb5R!RKCRRIv67fjmIQeAjX2I9uSFgfOc0ITGVcY1Oe6iuLI

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

i used the same toolchain. and the vids not playing is also a common bug for some mi3 users, same problem with rom built with source. downloading the flashable zip now. currently i am on ivans 5.1 3/April/15 as all the other roms built from kernel source give me the same video errors

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

@alexret From where u got those module files (the system folder)? and the method u used to make the boot image? the methods i use doesnt let the rom boot at all!

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

I work on Miui 4.4.4, the modules are Miui.
Edit: but wifi not working
Edit: sorry I do not understand. The method was this https://github.com/xiaolu/mkbootimg_tools
mkbootimg boot.img (origina) for decompile
You replace your costume zimage by the original
mkbootimg kernel boot.img (fo compile boot.img)

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

Hi.Some friends and I, have opened in mi.com to ask drivers http://en.miui.com/forum.php?mod=viewthread&tid=101360&extra=page=1&mobile=2
Also we are asking Hugo in Twitter to let go them
Please, help us

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

@alexret What's his e-mail address?

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

Is this him?
https://twitter.com/hbarra

from xiaomi_kernel_opensource.

vasishath avatar vasishath commented on August 15, 2024

@alexret have you tried using these drivers ? Its here : http://github.com/vasishath/qcom_prima_xiaomi_cancro
I forked it from caf and Its based on the same caf release tag as used by xiaomi. And i can confirm that ivan also uses this driver version ( i used strings to check the version Number from wlan.ko)
Refer to my post on xda here :
http://forum.xda-developers.com/xiaomi-mi-3/development/temasek-unofficial-cm12-t3012588/post59884938#post59884938

from xiaomi_kernel_opensource.

emceethemouth avatar emceethemouth commented on August 15, 2024

@vasishath Have you tried it? And does it work? Are you building inline or compiling the kernel by itself?

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

Yes @AungThiha is Hugo.
I have not tried it, I just see.@vasishath Tomorrow if I have time I'll try it
I read if any try it

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

@vasishath Which toolchain did you use? I used linaro 4.9.3 and I get this error. I have checked wlan_hdd_main.c. There's no error with the label err_vos_close but the compiler is throwing an error.

drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c: In function ‘hdd_wlan_startup’:
drivers/staging/prima/CORE/HDD/src/wlan_hdd_main.c:8255:7: error: label ‘err_vos_nv_close’ used but not defined
       goto err_vos_nv_close;
       ^

from xiaomi_kernel_opensource.

vasishath avatar vasishath commented on August 15, 2024

@AungThiha @emceethemouth actually, i havnt compiled yet the driver or the kernel (i dont have the time right nw).. But i have seen audahadi use it in a recent rom and in that rom, people reported that wifi was working..

from xiaomi_kernel_opensource.

vasishath avatar vasishath commented on August 15, 2024

@AungThiha i have another release tag in my repo, it is a more recent release of the same version of the driver.. Maybe u could try that..

from xiaomi_kernel_opensource.

emceethemouth avatar emceethemouth commented on August 15, 2024

Here try this see if it's working: http://hubdroid.com/~Gnome/Stuxnet/Cancro/stuxnet-wlan4.zip

from xiaomi_kernel_opensource.

AungThiha avatar AungThiha commented on August 15, 2024

Ok, I'll check them out.

from xiaomi_kernel_opensource.

romualdig avatar romualdig commented on August 15, 2024

Xiaomi, you will never fool us because we and many other people will never buy a Xiaomi! That's what you get treating this way your customers.

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

why not you guys use wlan driver from CAF
https://www.codeaurora.org/cgit/quic/la/platform/vendor/qcom-opensource/wlan/prima/

from xiaomi_kernel_opensource.

 avatar commented on August 15, 2024

Same error as @AungThiha

from xiaomi_kernel_opensource.

deeplyarnab avatar deeplyarnab commented on August 15, 2024

i am using the same source to build kernels. Will be using these fixes https://github.com/arnabbiswasalsodeep/Xiaomi_Kernel_OpenSource/commits/cancro-kk-oss

from xiaomi_kernel_opensource.

liuguo09 avatar liuguo09 commented on August 15, 2024

Hi all, I've confirmed about this problem. And i'm sure the wifi driver is not developed by us.
I'm confused about it for long time and finally i found this driver is released by Qualcomm and they already opensource it.
I'll give you an instruction about how to get the codes after preparation.

from xiaomi_kernel_opensource.

liuguo09 avatar liuguo09 commented on August 15, 2024

Please refer to this FAQ

from xiaomi_kernel_opensource.

emceethemouth avatar emceethemouth commented on August 15, 2024

Wow! @liuguo09 that was somewhat helpful.

from xiaomi_kernel_opensource.

rooque avatar rooque commented on August 15, 2024

@liuguo09 nice! Hope to see you more here

from xiaomi_kernel_opensource.

alone-wolf avatar alone-wolf commented on August 15, 2024

im more than new who can tell me how to deal with the wifi code

from xiaomi_kernel_opensource.

Vdragon avatar Vdragon commented on August 15, 2024

Since the issue is solved, @alexret could you close this issue?

@MiCode

from xiaomi_kernel_opensource.

emceethemouth avatar emceethemouth commented on August 15, 2024

@Vdragon before we close this, does anyone have successfully built the kernel and wlan source and had it worked on stock MIUI ROM? Coz as far as I know, all custom kernel devs are building for CM Based ROMs, and the kernel should be packed with the required modules that are on the ROM, in a nut shell, you cant flash the kernel by itself without the modules. Now, if anyone can confirm that by building the source code with the wlan source is working fine out of the box without the required modules. Then please, by all means tell us.

Thanks,

Jean Francis Dominique S. Mabalot [email protected]

from xiaomi_kernel_opensource.

Vdragon avatar Vdragon commented on August 15, 2024

@emceethemouth I didn't have the device thus I can't test it, I'm fine with verifying the solution though.

V字龍 <[email protected]>

from xiaomi_kernel_opensource.

emceethemouth avatar emceethemouth commented on August 15, 2024

Just read the FAQ and it seems downloading the whole source is a pain that's why some people won't try it. Well here's a much easier thing to do:

  • git clone git://codeaurora.org/platform/vendor/qcom-opensource/wlan/prima prima
  • cd prima
  • git checkout LNX.LA.3.5.2.2.1-04310-8x74.0
  • cd ../
  • then cp prima ~/$CANCRO_SOURCE_CODE/drivers/staging

Then build the kernel, much easier that way.

Jean Francis Dominique S. Mabalot [email protected]

Edit:
For people who wants to try it out, here's a stock source code for the MI kernel with the necessary fixes to build it, including the Opensource WLAN driver.

https://github.com/emceethemouth/kernel_cancro/commits/mi-stock

All you need to do is compile it.

Disclaimer:
I personally haven't tried it yet but since I'm on a different ROM, but this source builds fine and it should boot fine too, so compile, flash and report.

Jean Francis Dominique S. Mabalot [email protected]

Edit:
@Vdragon @liuguo09 WiFi still is not working, I had several people test it on xda, but still no luck. If that worked for you @liuguo09 could you please share the built kernel that has it working that you have tested it on. Thanks

Jean Francis Dominique S. Mabalot [email protected]

from xiaomi_kernel_opensource.

shellbombs avatar shellbombs commented on August 15, 2024

i've flashed the boot.img of CM13(android 6.0) with MIUI7(android 6.0), wifi not available.
i've also compiled this kernel, and replaced it with the boot.img of MIUI7(android 6.0) using mktools, boot failed.

from xiaomi_kernel_opensource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.