SuperdroidFR Posted December 19, 2012 Share Posted December 19, 2012 Ont croisent les doigts. Envoyé depuis mon ALCATEL_one_touch_995 avec Tapatalk Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 19, 2012 Author Share Posted December 19, 2012 C'est pas bon signe, j'ai une "attente des taches non terminées". Pour l'instant je n'ai pas la main sur le terminal, mais je crois que ce n'est pas bon. Alors soit ça vient du de ccache que je n'ai pas fait, ou alors de l'erreur que j'ai eu lorsque j'ai installé le gros package pour l'enironnement. J'ai eu une erreur : libc6-dev:i386 E:sub-process /usr/bin/dpkg returned an error code. Je vais regarder sur le net Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 19, 2012 Share Posted December 19, 2012 attente de tache non terminées ? lors de la compilation de CM10 ? si oui, fais un make clean et ensuite lance ta compil avec un seul thread (sans l'option -j ) Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 19, 2012 Author Share Posted December 19, 2012 (edited) Je n'ai pas fait de -j. Voilà ce que j'ai fait $ git clone https://github.com/BENETNATH/android_device_alcatel_cocktail cocktail -b jellybean $ repo sync Revenir sur le repertoire CM10 $ ./vendor/cm/get-prebuilts $ . build/envsetup.sh && cocktail Edit : Ben,est ce que le ./vendor/cm/get-prebuilts est bon ? Parce que moi mon repertoire de travail est CM10, ça n'a peut etre rien a voir. Tu crois qu'en faisant un ccache ça peut résoudre le problème, ou il y a autre chose ? Edited December 19, 2012 by yohannyo Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 19, 2012 Share Posted December 19, 2012 (edited) heu, il manque un truc dans ta dernière commande le get-prebuilts doit te télécharger un fichier, et oui, la commande est bonne. par contre, ta dernière ligne, il manque une commande. tu lui dis d faire le setup de l'environnement et de faire "cocktail" il te manque un make ou brunch ? tu as bien le repertoire cocktail dans device/alcatel ? Edited December 19, 2012 by BENETNATH Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 19, 2012 Author Share Posted December 19, 2012 (edited) Oui c'est une erreur en recopiant, j'ai fait $ . build/envsetup.sh && brunch cocktail Oui j'ai bien le repertoire cocktail dans device alcatel. Je viens de faire un make clean et le ccache. Je vais réassayer ainsi, on verra. Je n'ai rien vu concernant l'erreur que j'ai eu en mettant le package suivant (peut etre est ce normal) : $ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \ libxml2-utils xsltproc zlib1g-dev:i386 schedtool pngcrush C'est là que j'ai eu cette erreur. libc6-dev:i386 E:sub-process /usr/bin/dpkg returned an error code. Edited December 19, 2012 by yohannyo Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 19, 2012 Share Posted December 19, 2012 la, tu installes pas un seul package. tu en installes une vingtaine ;) chaque mot après le install est un package différent Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 19, 2012 Author Share Posted December 19, 2012 J'avais cru comprendre, maintenant j'en suis certain, après l'espace c'est un package différent. J'ai bien le libc6-dev mais sans le :i386. Bon on verra bien de toute façon, j'ai relancé le brunch Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 Ben as tu regardé pour inclure l'EAP-SIM dans les roms PA et CM ? Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 20, 2012 Share Posted December 20, 2012 oui, et c'est pas évident :) Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 Ok, j'étais tombé sur un lien en français qui existait un peu, je vais essayé de le retrouver. Par contre ma compilation ne va toujours pas, après plusieurs modifs. J'ai installé le libdev qui posait problème, maintenant je n'ai plus de message d'erreur lors de l'installation de tous les packages. J'ai mis a jour completement ubuntu également. Je n'ai pas installé le sdk car tu m'avais que ce n'était pas necessaire. Par contre si je quitte le terminal ou éteint le pc, pour faire une nouvelle compil, je n'ai qu'a me mettre dans le repertoire de travail et lancer : $ make clean $ . build/envsetup.sh && cocktail Rien d'autre a faire avant, du style vendor/prebuilt ou quelque chose d'autre ? Pour info, voici ou je bloque : Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libRS.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libvideoeditor_jni.so Install: /home/yohann/CM10/out/target/product/cocktail/system/bin/mediaserver Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libvariablespeed.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/librs_jni.so make: *** [/home/yohann/CM10/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Processus arrêté make: *** Attente des tâches non terminées.... yohann@yohann-VirtualBox:~/CM10$ Quote Link to comment Share on other sites More sharing options...
SuperdroidFR Posted December 20, 2012 Share Posted December 20, 2012 je voulais essayer mais avec un netbook et vitualBox ca ram de trop impossible d'ouvrir un truc sur linux... Envoyé depuis mon OT-995 avec Tapatalk Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 20, 2012 Share Posted December 20, 2012 yohannyo, tu as installé java ? quelle version ? Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 J'ai suivi ce tuto en fait : http://forum.xda-developers.com/showthread.php?t=1988701 Donc cette méthode pour java, mais c'est vrai que je n'ai plus les messages comme à l'habitude a. Install Java JDK6 Code: $ wget https://raw.github.com/flexiondotorg/oab-java6/master/oab-java.sh $ chmod +x oab-java.sh $ sudo ./oab-java.sh $ sudo apt-get install sun-java6-jdk je voulais essayer mais avec un netbook et vitualBox ca ram de trop impossible d'ouvrir un truc sur linux... Envoyé depuis mon OT-995 avec Tapatalk Je le fais également sur un portable, core i5. Quote Link to comment Share on other sites More sharing options...
SuperdroidFR Posted December 20, 2012 Share Posted December 20, 2012 avec 1g Ram et 1.66 d'un netbook je vais allé bien loin lol Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 yohannyo, tu as installé java ? quelle version ? Je viens de me rappeler une commande pour controler la version de java : yohann@yohann-VirtualBox:~$ java -version java version "1.6.0_38" Java SE Runtime Environment (build 1.6.0_38-b05) Java HotSpot 64-Bit Server VM (build 20.13-b02, mixed mode) ça a l'air d'aller cette version pourtant, tu crois que le mieux serait d'utiliser la méthode classique (celle du post 1 d'ici) ? Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 20, 2012 Share Posted December 20, 2012 j'en sais rien .. ta version a l'air correcte. j'avoue n pas avoir tant galéré pour mettre l'environnement en place Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 Oui ca me saoule y'a toujours un truc qui cloche, c'est pour cela que j'essaye different tutos avec la version d'ubuntu qui va avec. Je vais essayer de remettre le java du post 1. On verra je ne suis plus a ça pres. Tu as vu sur le lien que j'ai posté il y a le changement a faire pour aokp par rapport a cm. Si ça peut t'aider. Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 En intallant le java du post 1, j'arrive plus loin, mais là apparemment un problème de ram. Vais je y arriver un jour, lol. Install: /home/yohann/CM10/out/target/product/cocktail/system/bin/mediaserver Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libbcc.so.sha1 Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libvideoeditor_jni.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libvariablespeed.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libbcc.so Install: /home/yohann/CM10/out/host/linux-x86/lib/libbcc.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/libRS.so Install: /home/yohann/CM10/out/target/product/cocktail/system/lib/librs_jni.so Copying: /home/yohann/CM10/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-jarjar.jar Copying: /home/yohann/CM10/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/emma_out/lib/classes-jarjar.jar Copying: /home/yohann/CM10/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar Copying: /home/yohann/CM10/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes.jar target Dex: framework collect2: ld terminated with signal 9 [Killed] make: *** [/home/yohann/CM10/out/target/product/cocktail/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] Erreur 1 make: *** Attente des tâches non terminées.... yohann@yohann-VirtualBox:~/CM10$ Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 Alléluia !!!! ça a fonctionné, enfin reste a voir si elle tourne lol. Je vais me rebattre avec l'usb sous ubuntu maintenant. Pour preuve : 1h seulement, bizarre ça. -- target info --- blocksize = (int) 1 boot_size = (int) 5242880 default_system_dev_certificate = (str) build/target/product/security/testkey extfs_sparse_flag = (str) -s fs_type = (str) ext4 fstab = (dict) {'/system/app': <common.Partition object at 0x164c5d0>, '/sdcard': <common.Partition object at 0x164c850>, '/cache': <common.Partition object at 0x164c6d0>, '/boot': <common.Partition object at 0x164c450>, '/system': <common.Partition object at 0x164c4d0>, '/recovery': <common.Partition object at 0x164c750>, '/data': <common.Partition object at 0x164c650>, '/misc': <common.Partition object at 0x164c7d0>} recovery_api_version = (int) 2 recovery_size = (int) 52428800 system_size = (int) 262144000 tool_extensions = (str) device/alcatel/cocktail/../common userdata_size = (int) 1064304640 using device-specific extensions in device/alcatel/common unable to load device-specific module; assuming none building image from target_files BOOT... running: mkbootfs -f /tmp/targetfiles-N63cq_/META/boot_filesystem_config.txt /tmp/targetfiles-N63cq_/BOOT/RAMDISK running: minigzip running: mkbootimg --kernel /tmp/targetfiles-N63cq_/BOOT/kernel --cmdline console=ttyDCC0 androidboot.hardware=cocktail --base 0x00200000 --pagesize 4096 --ramdiskaddr 0x01300000 --ramdisk /tmp/tmpHmh8Lp --output /tmp/tmpz9A8kG running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt done. Running releasetool... Sanitizing environment... Unpacking /home/yohann/CM10/out/target/product/cocktail/cm_cocktail-ota-eng.yohann.zip... Optimize: DefaultContainerService.apk.. Optimize: Gallery2.apk.. Optimize: PicoTts.apk.. Optimize: MagicSmokeWallpapers.apk.. Optimize: VpnDialogs.apk.. Optimize: SpareParts.apk.. Optimize: ThemeChooser.apk.. Optimize: DeskClock.apk.. Optimize: DrmProvider.apk.. Optimize: PackageInstaller.apk.. Optimize: VoiceDialer.apk.. Optimize: VideoEditor.apk.. Optimize: SoundRecorder.apk.. Optimize: DownloadProviderUi.apk.. Optimize: Superuser.apk.. Optimize: Provision.apk.. Optimize: Exchange2.apk.. Optimize: TelephonyProvider.apk.. Optimize: Settings.apk.. Optimize: Calendar.apk.. Optimize: PhaseBeam.apk.. Optimize: HTMLViewer.apk.. Optimize: DownloadProvider.apk.. Optimize: BackupRestoreConfirmation.apk.. Optimize: MediaProvider.apk.. Optimize: Browser.apk.. Optimize: CMUpdater.apk.. Optimize: framework-res.apk.. Optimize: InputDevices.apk.. Optimize: Term.apk.. Optimize: QuickSearchBox.apk.. Optimize: CMWallpapers.apk.. Optimize: CMFileManager.apk.. Optimize: Development.apk.. Optimize: Trebuchet.apk.. Optimize: LiveWallpapers.apk.. Optimize: LatinIME.apk.. Optimize: WAPPushManager.apk.. Optimize: Torch.apk.. Optimize: Galaxy4.apk.. Optimize: DSPManager.apk.. Optimize: LiveWallpapersPicker.apk.. Optimize: ContactsProvider.apk.. Optimize: HoloSpiralWallpaper.apk.. Optimize: Calculator.apk.. Optimize: Phone.apk.. Optimize: Stk.apk.. Optimize: Email.apk.. Optimize: Mms.apk.. Optimize: ApplicationsProvider.apk.. Optimize: CalendarProvider.apk.. Optimize: NoiseField.apk.. Optimize: Contacts.apk.. Optimize: Apollo.apk.. Optimize: SharedStorageBackup.apk.. Optimize: VisualizationWallpapers.apk.. Optimize: UserDictionaryProvider.apk.. Optimize: SystemUI.apk.. Optimize: SettingsProvider.apk.. Optimize: Bluetooth.apk.. Optimize: ThemeManager.apk.. Optimize: CertInstaller.apk.. Optimize: KeyChain.apk.. Optimize: CMFileManagerThemes.apk.. MODVERSION: 10-20121220-UNOFFICIAL-cocktail Zipping package... Signing package... Cleaning up... Package complete: /home/yohann/CM10/out/target/product/cocktail/cm-10-20121220-UNOFFICIAL-cocktail.zip c38b28d5d8c93f87c616183a9c17904c cm-10-20121220-UNOFFICIAL-cocktail.zip yohann@yohann-VirtualBox:~/CM10$ Quote Link to comment Share on other sites More sharing options...
SuperdroidFR Posted December 20, 2012 Share Posted December 20, 2012 si elle tourne il y aura quoi de plus que celle actuel ? ou c'est juste pour t’entraîner ? Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 20, 2012 Share Posted December 20, 2012 Une heure, C'est normal Chouette Quote Link to comment Share on other sites More sharing options...
yohannyo Posted December 20, 2012 Author Share Posted December 20, 2012 Excellent elle tourne, merci encore Ben. Maintenant il va falloir que je regarde un peu ou je peux modifier des choses lol, ça risque d'être compliqué mais je vais regarder. Il n'existe pas une liste de la correspondance des fichiers, à quoi sert tels et tels fichiers ? J'ai vu un peu grace à ton github les choses que tu avais modifié, et il n'y a que la dedans qu'il faut faire des modifications, c'est ce que tu m'as dis (device tree). Et pour les applications installées sur cm, je les trouve ou ? dans mon repertoire de travail je suppose, mais il y a tellement de choses. Espagne : Là mienne est mieux, elle est plus recente, lol. Non je plaisante, c'est la même que Ben, vu que ce n'est que ses sources (avec ses modifs). Par contre vous avez installé les gapps 4.1 ? Les 4.2 ne vont toujours pas ? Quote Link to comment Share on other sites More sharing options...
BENETNATH Posted December 20, 2012 Share Posted December 20, 2012 Maintenant, j'attends tes modifs Félicitations :-) Quote Link to comment Share on other sites More sharing options...
SuperdroidFR Posted December 20, 2012 Share Posted December 20, 2012 oui j'ai essayé les gapps 4.2 et toujours pareil: app photo beug de temps en temps avec le flash allumé il y a les secondes quand on film mais sa enregistre pas reveil fonctionne Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.