'

Outils pour utilisateurs

Outils du site


doc:htc_wildfire_s

Installer cyanogenmod

<note important>ATTENTION, la suite de cet article peut casser votre téléphone, faire fondre vos doigts et vous rendre plus libre.
Les indications ci-dessous sont données sans aucune garantie. Vous êtes seul responsable de ce que vous faites avec votre appareil.
Ces manipulations pourraient annuler la garantie constructreur.
Vous êtes prévenus… </note>

Débloquer le bootloader

Comment débloquer le Bootloader. La mise à jour avec la RUU de HTC ne fonctionne pas, utiliser le fichier PG76IMG.zip.

Suivre la procédure du HTC dev à partir du fastboot (Step 1).

Installer le recovery

Installer le Recovery sur HTC Wildfire S grâce au forum xda developpers. L'installation du zip ne fonctionne pas. Il est nécessaire d'extraire le fichier recovery.img sur le disque puis :

fastboot flash  recovery recovery.img
sending 'recovery' (3820 KB)...
OKAY [  1.605s]
writing 'recovery'...
OKAY [  2.034s]
finished. total time: 3.639s

Installation cyanogenmod

Télécharger la mise à jour, puis la copier sur carte SD.

Configurations diverses

Réseau USB

Sur le téléphone :

#!/system/bin/sh
# usbnet.sh: Enable or disable the Epic's USB network interface.
#
# Author: Mike Kasick <mike@kasick.org>
# Date:   Wed, 15 Jun 2011 17:00:05 -0400
#
# Sylvain Collilieux <Sylvain@Collilieux.net>
# 2012-03-21
#
# Copyright (C) 2011  Michael P. Kasick
# Copyright (C) 2012  Sylvain Collilieux
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
IFACE="usb0"
GW='192.168.42.1'
DNS1='8.8.8.8'
 
set -x
 
 
# Attempt to bring up interface, reset USB on SIGINT (^C).
netcfg "$IFACE" up &
trap "kill $!" INT
 
# Tell bionic's resolver to use new nameservers.
setprop net.dns1 $DNS1
setprop net.dnschange $((`getprop net.dnschange`+1))
 
# add default ip route
ip route add default via $GW
# Show new network configuration.
netcfg
exit 0

Sur le PC :

#!/bin/sh
 
# usbnet.sh: enable usb network interface
# and NAT all trafic from this interface
 
# Sylvain Collilieux <Sylvain@Collilieux.net>
# 2012-03-21
 
# Copyright (C) 2012  Sylvain Collilieux
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
IFACE='usb0'
 
if [ "$1" != "" ] ; then
	sudo modprobe cdc_ether
	sudo ip link set $IFACE up
	sudo ip addr add 192.168.42.1/24 dev $IFACE
	echo 1 | sudo tee -a  /proc/sys/net/ipv4/ip_forward
	sudo iptables -A POSTROUTING -t nat -o $1 -j MASQUERADE
else
	echo 'Donne-moi une interface !'
fi

À voir

doc/htc_wildfire_s.txt · Dernière modification: Le 07/01/2015 à 23:52 (modification externe)