CERCA
PER MODELLO
FullScreen Chatbox! :)

Utente del giorno: carotix con ben 2 Thanks ricevuti nelle ultime 24 ore
Utente della settimana: megthebest con ben 5 Thanks ricevuti negli ultimi sette giorni
Utente del mese: megthebest con ben 40 Thanks ricevuti nell'ultimo mese

Pagina 4 di 5 primaprima ... 2345 ultimoultimo
Ultima pagina
Visualizzazione dei risultati da 31 a 40 su 43
Discussione:

[Huawei Ascend G330]Come compilare il kernel Huawei v3.0.21

Se questa discussione ti è stata utile, ti preghiamo di lasciare un messaggio di feedback in modo che possa essere preziosa in futuro anche per altri utenti come te!
  1. #31
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Quote Originariamente inviato da agd Visualizza il messaggio
    Ok quindi se si riesce a compilare il kerbel del g510 non centra niente col baseband


    Inviato dal mio HUAWEI U8825-1 usando Androidiani App
    Non c'entra niente ma il problema sono i drivers. Se qualcuno manca devi portarlo nel kernel G510 dal kernel G330. Tuttavia se la diversa versione del kerne ha cambiato le interfacce verso il driver potrebbe non compilare o meglio compilare e non funzionare correttamente...

  2.  
  3. #32
    agd
    agd non è in linea
    Senior Droid


    Registrato dal
    Mar 2013
    Località
    N/A
    Messaggi
    714
    Smartphone
    nexus 5

    Ringraziamenti
    74
    Ringraziato 52 volte in 51 Posts
    Predefinito

    Quote Originariamente inviato da Ikon
    Originariamente inviato da agd
    Ok quindi se si riesce a compilare il kerbel del g510 non centra niente col baseband


    Inviato dal mio HUAWEI U8825-1 usando Androidiani App
    Non c'entra niente ma il problema sono i drivers. Se qualcuno manca devi portarlo nel kernel G510 dal kernel G330. Tuttavia se la diversa versione del kerne ha cambiato le interfacce verso il driver potrebbe non compilare o meglio compilare e non funzionare correttamente...

    Ok ho capito


    Inviato dal mio HUAWEI U8825-1 usando Androidiani App

  4. #33
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Quote Originariamente inviato da agd Visualizza il messaggio
    Ok ho capito


    Inviato dal mio HUAWEI U8825-1 usando Androidiani App
    Ho detto una cazzata... probabilmente non hai i sorgenti del driver. Quindi non compili un bel niente! Sono stato troppo ottimista... :P Puoi solo piazzare un firmware vecchio in una ROM nuova e sperare che riesci a far andare la baracca...

  5. #34
    Baby Droid


    Registrato dal
    Jul 2013
    Messaggi
    2

    Ringraziamenti
    0
    Ringraziato 0 volte in 0 Posts
    Predefinito

    Hey folks!

    First of all a huge thanks to Ikon for your great tutorial! I followed all steps and was able to compile the kernel successfully. However my WiFi and Bluetooth are broken and I don't know what went wrong. I applied the kernel to a clean boot.img (version B958) and flashed it via CWM to the phone. All .ko-files have been copied to /system/lib/modules aswell and signatures of the files are correct.

    Everytime I try to enable WiFi or Bluetooth I'm getting these errors in LogCat:
    Spoiler:


    Have you experienced similar issues?

    Thanks in advance,
    DemonFirefox

    PS: Sorry for writing in english

  6. #35
    Senior Droid L'avatar di dark706i


    Registrato dal
    Apr 2013
    Messaggi
    911

    Ringraziamenti
    48
    Ringraziato 114 volte in 105 Posts
    Predefinito

    Have you tried to launch wifi and bluetooth modules manually from terminal emulator?

  7. #36
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Hello Demon thank you and don't worry for writing in English. I think my patch is not changing anything important, since I just added some #pragmas to avoid errors using GCC 4.7. First time I compiled I used GCC 4.4 and I didn't need that #pragmas. Anyway in both cases I had to do a fix related to the bluetooth in /arch/arm/mach-msm/board-msm7x27a.c:

    +#if (defined(HUAWEI_BT_BLUEZ_VER30) || (!defined(CONFIG_HUAWEI_KERNEL)))
    msm7627a_bt_power_init();
    +#endif

    As you can see I conditionally removed the initialization of the bluetooth module. Usually BT and WIFI modules are on the same chip... and this could explain your problems. I don't know why, but in the other source files all the function calls to the msm7627a_bt stuff are under conditional compilation. In the makefile we should set HUAWEI_BT_BLUEZ_VER30=1.

    I will make a try and let you know. If you find a solution before me tell me... I can't spend a lot of time on that since I'm quite busy.

    P.S.: I remember that in a previous of the post #1 I wrote "check if the BT works aftere this change" :P
    Ultima modifica di Ikon; 05-07-13 alle 23:53

  8. #37
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Quote Originariamente inviato da Ikon Visualizza il messaggio
    Hello Demon thank you and don't worry for writing in English. I think my patch is not changing anything important, since I just added some #pragmas to avoid errors using GCC 4.7. First time I compiled I used GCC 4.4 and I didn't need that #pragmas. Anyway in both cases I had to do a fix related to the bluetooth in /arch/arm/mach-msm/board-msm7x27a.c:

    +#if (defined(HUAWEI_BT_BLUEZ_VER30) || (!defined(CONFIG_HUAWEI_KERNEL)))
    msm7627a_bt_power_init();
    +#endif

    As you can see I conditionally removed the initialization of the bluetooth module. Usually BT and WIFI modules are on the same chip... and this could explain your problems. I don't know why, but in the other source files all the function calls to the msm7627a_bt stuff are under conditional compilation. In the makefile we should set HUAWEI_BT_BLUEZ_VER30=1.

    I will make a try and let you know. If you find a solution before me tell me... I can't spend a lot of time on that since I'm quite busy.

    P.S.: I remember that in a previous of the post #1 I wrote "check if the BT works aftere this change" :P
    I just launched:

    ikon@virtualbox:~/Desktop/kernel$ grep -r HUAWEI_BT_BLUEZ_VER30 .

    And I found:

    ./Makefile:KBUILD_CFLAGS += -DHUAWEI_BT_BLUEZ_VER30

    This means the BT module will be initialized... moreover in my .config I found:

    CONFIG_HUAWEI_KERNEL=y

    I also found:

    # CONFIG_HUAWEI_KERNEL_DEBUG is not set

    You could try to set in .config "CONFIG_HUAWEI_KERNEL_DEBUG=y" and probably you will get further infos about your issue.

  9. #38
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Quote Originariamente inviato da Ikon Visualizza il messaggio
    I just launched:

    ikon@virtualbox:~/Desktop/kernel$ grep -r HUAWEI_BT_BLUEZ_VER30 .

    And I found:

    ./Makefile:KBUILD_CFLAGS += -DHUAWEI_BT_BLUEZ_VER30

    This means the BT module will be initialized... moreover in my .config I found:

    CONFIG_HUAWEI_KERNEL=y

    I also found:

    # CONFIG_HUAWEI_KERNEL_DEBUG is not set

    You could try to set in .config "CONFIG_HUAWEI_KERNEL_DEBUG=y" and probably you will get further infos about your issue.
    By the way, I don't believe that kernel is really ok. If you try to compile it (with GCC 4.4) you get an error in /arch/arm/mach-msm/board-msm7x27a.c. This means Huawei developers have never compiled it, so I'm not sure whether this kernel is the working one or not!!!

  10. #39
    Senior Droid L'avatar di Ikon


    Registrato dal
    Aug 2012
    Località
    Dublino
    Messaggi
    527
    Smartphone
    Moto G 2ng Gen 5" Dual SIM

    Ringraziamenti
    26
    Ringraziato 61 volte in 45 Posts
    Predefinito

    Quote Originariamente inviato da Ikon Visualizza il messaggio
    By the way, I don't believe that kernel is really ok. If you try to compile it (with GCC 4.4) you get an error in /arch/arm/mach-msm/board-msm7x27a.c. This means Huawei developers have never compiled it, so I'm not sure whether this kernel is the working one or not!!!
    Ok the problem is the following. Reverting the changes about the bluetooth I get again the following error:

    arch/arm/mach-msm/board-msm7x27a.c: In function ‘msm7x2x_init’:
    arch/arm/mach-msm/board-msm7x27a.c:1495:2: error: implicit declaration of function ‘msm7627a_bt_power_init’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[1]: *** [arch/arm/mach-msm/board-msm7x27a.o] Errore 1
    make: *** [arch/arm/mach-msm] Errore 2

    The function:

    msm7627a_bt_power_init

    Is declared in /arch/arm/mach-msm/board-msm7627a.h. Here we have:

    codice:
    #if (defined(HUAWEI_BT_BLUEZ_VER30) || (!defined(CONFIG_HUAWEI_KERNEL)))
    /* ... */
    void __init msm7627a_bt_power_init(void);
    #endif
    
    #if (defined(HUAWEI_BT_BTLA_VER30) && defined(CONFIG_HUAWEI_KERNEL))
    /* ... */
    void __init msm7627a_bt_power_init(void);
    /* ... */
    #endif
    Using the #error directive I noticed that none of the declarations is compiled... it's so weird :/

    Anyway we need a fix in the patch file I did it in the post #1... moreover I am going to test the configuration here: /arch/arm/configs/hw_msm8x25_defconfig (with some changes on the camera, I read our camera can work at 8Mpx... the problem is my autofocus sensor has broken when my phone fell down on the ground )
    Ultima modifica di Ikon; 06-07-13 alle 18:12

  11. #40
    Senior Droid L'avatar di dark706i


    Registrato dal
    Apr 2013
    Messaggi
    911

    Ringraziamenti
    48
    Ringraziato 114 volte in 105 Posts
    Predefinito

    Si potrebbe provare a compilare questi source del kernel 3.4 della cm10 per g510 http://link2.tapatalk.com/?id=11082X...26c9e0c&sref=4

Pagina 4 di 5 primaprima ... 2345 ultimoultimo
Ultima pagina

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire risposte
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Torna su
Privacy Policy