Jump to content

[TUTO] Installer SuperUser sur le LG stock Gingerbread sous Linux


didli

Recommended Posts

Bonjour à tous et à toutes !

Il s'agit de mon premier tuto, alors je vous demanderais un peu d'indulgence quant à la façon de m'y prendre, en espérant que cela puisse servir tout de même au plus grand nombre.

Ce tuto a pour but d'installer l'application SuperUser sur une ROM stock Gingerbread depuis la console sous linux, si toutes autres tentatives se sont révélées infructueuses (c'est mon cas).

Ce tuto est tiré du Full Update Guide de Cyanogen et légèrement modifié à mon usage.

REQUIS :

- Le SDK Android (adb)

- SuperUser : http://androidsu.com/superuser/ avec les fichiers :

* Superuser.apk

* su

* busybox

1. Téléchargez le fichier zip de SuperUser pour ARM, et décompressez le contenu quelquepart.

2. Cherchez ensuite les fichiers :

- Superuser.apk
- su
- busybox

3. Et copiez-les dans le même répertoire qu'adb (dans le dossier /platform-tools).

4. Branchez le LG en USB, avec l'option de débogage activé, et tapez dans une console :

adb shell "echo 1 > /data/local/lge_adb.conf"

5. Redémarrez le tél., toujours branché en USB, puis lorsque c'est fait, tapez les commandes suivantes :

adb push busybox /data/local/
adb push su /data/local/
adb shell
chmod 755 /data/local/busybox
/data/local/busybox mount -o remount,rw /system
dd if=/data/local/busybox of=/system/xbin/busybox
chown root.shell /system/xbin/busybox
chmod 04755 /system/xbin/busybox
/system/xbin/busybox --install -s /system/xbin
cp /data/local/su /system/bin/su
chmod 06755 /system/bin/su
cp /system/xbin/su /system/xbin/su.bak
rm /system/xbin/su
ln -s /system/bin/su /system/xbin/su
exit
adb push Superuser.apk /system/app/Superuser.apk

6. Redémarrez ensuite votre téléphone ... et voilà !

Normalement vous disposez désormais de l'application SuperUser et du fichier su à jour.

Edited by didli
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...