Arthur Sailleau Posted April 4, 2014 Share Posted April 4, 2014 (edited) EDIT 02/05/2014 -> Désoler pour mon absence mais ma situation actuelle ne me permet pas de travailler en ce moment sur le portage, je vous tiens au courant quand je pourrai me remettre au boulot =) EDIT 07/04/2014-> FRANCAIS en bas de post Hi everyone, I'm not an expert on android so i need help. I am trying porting miui v5 to peax 2. -SOURCE ET CREDIT je tient a préciser que je j'utilise la rom lenovo sans autorisation donc merci et respect aux personnes qui ont deja travailler. INTRODUCTION i use LENOVO A820 4.2.1 miui Version: 4.4.4 (V5)rom A820 as the same mt6589 cpu as PEAX 2 : Link to download the rom Use the line of this guide for porting (there are plenty different don't 100% follow this guide) : http://forum.miui.co.in/viewtopic.php?f=43&t=59 I have replace the miui rom file by my stock rom file list of remplaced files : 1-BOOT.IMG2-HW FOLDER FROM (SYSTEM/LIB)3-MODULE FOLDER (SYSTEM/LIB)4-MODEM.IMG (SYSTEM/ETC/FIRMWARE) my updater script look like this ui_print("****************************"); ui_print("*** MIUIv5 4.3.28 Full ***"); ui_print("*** by dadi11 ***"); ui_print("****************************"); show_progress(0.500000, 0); ui_print("Formatting system..."); unmount("/system"); format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0"); ui_print("Installing system files..."); mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system"); package_extract_dir("system", "/system"); ui_print("Creating system links..."); symlink("/system/bin/aee_aed", "/system/bin/debuggerd"); symlink("/system/bin/mksh", "/system/bin/sh"); symlink("/system/bin/toolbox", "/system/bin/cat", "/system/bin/chmod", "/system/bin/chown", "/system/bin/cmp", "/system/bin/cp", "/system/bin/date", "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/grep", "/system/bin/hd", "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill", "/system/bin/ln", "/system/bin/log", "/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/sync", "/system/bin/top", "/system/bin/touch", "/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe"); symlink("/system/fonts/Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf"); symlink("/system/fonts/Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf"); symlink("/system/lib/modules/wlan_mt6628.ko", "/system/lib/modules/wlan.ko"); ui_print("Set permission..."); set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm(0, 1000, 0750, "/system/bin/iptables"); set_perm(0, 3003, 02750, "/system/bin/netcfg"); set_perm(0, 3004, 02755, "/system/bin/ping"); set_perm(0, 2000, 06750, "/system/bin/run-as"); set_perm(0, 1000, 0750, "/system/bin/tc"); set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf"); set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf"); set_perm(1002, 1002, 0440, "/system/etc/dbus.conf"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm_recursive(1001, 1000, 0770, 0644, "/system/etc/ril"); set_perm(0, 0, 0444, "/system/etc/ril/oper.lis"); set_perm(0, 1000, 0750, "/system/etc/throttle.sh"); set_perm(1014, 2000, 0550, "/system/etc/wide-dhcpv6/dhcp6c.script"); set_perm(0, 2000, 0755, "/system/vendor"); set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin"); set_perm(0, 2000, 0755, "/system/vendor/lib"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm"); set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so"); set_perm(0, 2000, 0755, "/system/vendor/lib/egl"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw"); set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.so"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/busybox"); set_perm(0, 1000, 06750, "/system/xbin/shelld"); set_perm(0, 0, 06755, "/system/bin/su"); set_perm(0, 0, 06755, "/system/xbin/su"); set_perm(0, 0, 06755, "/system/xbin/su"); ui_print("Update Boot image..."); show_progress(0.200000, 0); show_progress(0.200000, 10); package_extract_file("boot.img", "/dev/bootimg"); package_extract_file("logo.img", "/dev/logo"); show_progress(0.100000, 0); mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data"); package_extract_dir("data", "/data"); package_extract_dir("system/dataex", "/data"); set_perm_recursive(1000, 1000, 0755, 0644, "/data/preinstall_apps"); unmount("/data"); unmount("/system"); /////-HOW TO FLASH-////// (MAKE A NANDROID BACKUP IF IT NOT ALREADY THE CASE !) -WIPE DATA/CACHE -FLASH WITH CWM 6.0.4.4 i am pretty sure there are just lib to add or somethings. I am sur this is not very complicated to do so if an "hardcore" user get in to it, it may be a great rom. EDIT: 07/04/2014 Je suis francais mais j'ai pris l'habitude d'ecrire en anglais sur les forums excuser moi. :P Donc je vais continuer le post en fr, avec une petit récapitulatif. PORT MIUI PEAX 2 J'ai utiliser une rom MIUI 4.2.1 du LENOVO A820 J'essaye de la patcher avec ma rom stock Ce qui marche: -Appel/data 3g -sms -UI trés fluide (hardware rendering a confirmer) -son 50% Casque seulement -multi-langue Marche pas par ordre de priorité a fixer: -WIFI -ENCEINTE -BLUETOOTH -GPS SCREENSHOT BIENTOT ! ----AVANCEMENT au 07/04------ Je crois avoir identifier le probleme de wifi le peax 2 rom stock utilise un lib gralloc.so et le lenovo un gralloc.6589.so surement a remplacer dans l'updater script. TELECHARGER MIUI ROM WIKO PEAX2 : ALPHA TESTEUR ONLY 13/04/2014 LOGO.IMG dans le zip A SUPPRIMER si vous ne voulez pas du logo lenovo au demmarage vous etes prevenu WIPE DATA /CACHE DALVIK FLASH ZIP REBOOT Edited May 2, 2014 by arthur4500 1 Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 4, 2014 Share Posted April 4, 2014 If you success this, I would cold you "God". Quote Link to comment Share on other sites More sharing options...
Arthur Sailleau Posted April 4, 2014 Author Share Posted April 4, 2014 That is the problem i am blocked with the Connectivity driver (GPS,BT,WIFI) as i started today i think i'm on the right way. Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 4, 2014 Share Posted April 4, 2014 I'm not an Android developper, I just have a brick problem to solve, so I can't help you x') If you have an idea to solve my problem, you're welcome xD Quote Link to comment Share on other sites More sharing options...
Marcoux Posted April 7, 2014 Share Posted April 7, 2014 Problem of drivers ? You can post some screenshots please ? :3 Quote Link to comment Share on other sites More sharing options...
Arthur Sailleau Posted April 7, 2014 Author Share Posted April 7, 2014 Oui, je pense que c'est un probleme de drivers l'updater script est a modifier. Je fais des essais mais je dois importer des librairies qui me font bootloop :/ je vais proceder par etape pour les bugs : -1 regler probleme wifi ( gralloc.mt6589.so sur lenovo est a modifier sachant que le peax 2 utilise un gralloc.so a mon avis sa viens de la du moins. -2 Audio -3 Bluetooth -4 GPS Je je vais réediter le post en francais, vu que c'est un forum francais (plus logique nan ? :p) 1 Quote Link to comment Share on other sites More sharing options...
Marcoux Posted April 7, 2014 Share Posted April 7, 2014 Ah c'est effectivement mieux en français ! ;) Je voulais savoir si tu pouvais nous montrer un peu la bête en action malgré tout les soucis ? :) Quote Link to comment Share on other sites More sharing options...
downloada Posted April 7, 2014 Share Posted April 7, 2014 Ça serait énorme ! Première rom custom pour le peax 2 :) Je n'ai aucune compétence dans le développement de roms, mais je suis à 2000% avec toi ! Envoyé de mon CINK PEAX 2 en utilisant Tapatalk Quote Link to comment Share on other sites More sharing options...
flat6 Posted April 8, 2014 Share Posted April 8, 2014 Salut, Excellente initiative. Je n'y connais rien en ROM mais je me lancerais bien, ne serait ce que pour essayer de t'aider un peu. Je peux déjà creuser cette histoire de wifi et les lib qui vont avec. Je n'ai que quelques petites connaissances en Linux mais bon, ça peut aider. Une question : pourquoi as tu pris la ROM Lenovo du A820t et pas celle du A820 sachant que le 820t a le mt6589T alors que notre wiko a le mt6589 (comme le A820) ? A +, Flat6 Quote Link to comment Share on other sites More sharing options...
Slireshot Posted April 10, 2014 Share Posted April 10, 2014 (edited) Super travail mec ! :) Je rentre chez moi, je fais des sauvegardes et je teste tout ça :D Edit : arf, toujours pas dispo ! >< Edited April 10, 2014 by Slireshot Quote Link to comment Share on other sites More sharing options...
Marcoux Posted April 12, 2014 Share Posted April 12, 2014 Pas de news ? :/ Quote Link to comment Share on other sites More sharing options...
Slireshot Posted April 13, 2014 Share Posted April 13, 2014 Need un upload ! x) Quote Link to comment Share on other sites More sharing options...
Arthur Sailleau Posted April 13, 2014 Author Share Posted April 13, 2014 Je suis occupé (taf) en ce moment désolé pour l'attente ! Je vais essayer de mis remettre cette semaine. A ce que j'ai compris le 6589T c'est juste pour la fréquence booster. doit pas changer grand chose. Quote Link to comment Share on other sites More sharing options...
Andreauide Posted April 13, 2014 Share Posted April 13, 2014 La ROM reste coincée au boot logo pour moi. Pourtant j'ai bien fait tous les wipes. Quote Link to comment Share on other sites More sharing options...
Andreauide Posted April 14, 2014 Share Posted April 14, 2014 Pas de nouvelles ? Personne ne l'a testée ? Quote Link to comment Share on other sites More sharing options...
Marcoux Posted April 15, 2014 Share Posted April 15, 2014 J'aimerais éviter de brick mon tel absolument donc je peux pas aider :S Quote Link to comment Share on other sites More sharing options...
Andreauide Posted April 15, 2014 Share Posted April 15, 2014 Le mien ne s'est pas brické. J'ai juste eu à reflasher la ROM stock avec Flash Tool... C'est vraiment simple. Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 15, 2014 Share Posted April 15, 2014 Faut juste avoir le bon Windows (impossible de le faire sous XP pour moi), mais sinon izi ! Envoyé de mon CINK PEAX 2 en utilisant Tapatalk Quote Link to comment Share on other sites More sharing options...
Arthur Sailleau Posted April 15, 2014 Author Share Posted April 15, 2014 Si vous prenez le recovery v6.0.4.4 by carliv@xda vous devriez pas avoir de souci. Ptit rappel backup avant de flasher et vous restaurer si bootloop ! Je refais des essais avec des rom miui du A820 et des fichier du wiko cink five. a voir je vous tient au courant. Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 15, 2014 Share Posted April 15, 2014 Moyen de faire une backup ultra clean de la ROM plus réglages plus apps sans root ? Comme si on ajoutais nous même les app a la ROM stocks sans passer par l'interface si vous voulez En gros un truc ultra clean mais avec les données personnelles sans que rien soit changé, enfin je pense qu'avec les deux exemple vous avez compris xD Envoyé de mon CINK PEAX 2 en utilisant Tapatalk Quote Link to comment Share on other sites More sharing options...
Andreauide Posted April 15, 2014 Share Posted April 15, 2014 J'ai pris le CWM 6.0.4.4 du forum : https://forum.frandroid.com/topic/170608-tuto-installer-custom-recovery-en-etant-brick/C'est le bon. Et pourtant le logo "se freeze" au démarrage. Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 15, 2014 Share Posted April 15, 2014 Hum bizarre Envoyé de mon CINK PEAX 2 en utilisant Tapatalk Quote Link to comment Share on other sites More sharing options...
Andreauide Posted April 22, 2014 Share Posted April 22, 2014 Des nouvelles ? Quote Link to comment Share on other sites More sharing options...
Exao_Irianeth Posted April 23, 2014 Share Posted April 23, 2014 Aucune depuis :/ Envoyé de mon CINK PEAX 2 en utilisant Tapatalk Quote Link to comment Share on other sites More sharing options...
Andreauide Posted June 5, 2014 Share Posted June 5, 2014 Si un connaisseur passe par là et se sent capable de travailler sur cette ROM... sachez qu'on en a besoin. 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.