|
|
2010-09-26
, 07:29
|
|
Posts: 140 |
Thanked: 40 times |
Joined on Sep 2010
|
#71
|
|
|
2010-09-26
, 09:29
|
|
Posts: 1,179 |
Thanked: 770 times |
Joined on Nov 2009
|
#72
|
| The Following User Says Thank You to etuoyo For This Useful Post: | ||
|
|
2010-09-26
, 23:48
|
|
Posts: 326 |
Thanked: 335 times |
Joined on Feb 2010
|
#74
|
since your combining all the mods into 1 script is there a way u can use the script to export the settings that are already there 2 back them up and restore them
say me what you want to backup precisely
|
|
2010-09-26
, 23:49
|
|
Posts: 326 |
Thanked: 335 times |
Joined on Feb 2010
|
#75
|
good job, i love your script. also, on your next release, do you think you can add a disable the auto update from the app manager?
|
|
2010-09-26
, 23:54
|
|
Posts: 326 |
Thanked: 335 times |
Joined on Feb 2010
|
#76
|
This sounds great. Along with swappolube this is one of the first things I will try once I get my n900 fixed. Presumably this does not conflict with it in anyway so you can run both rather than one or the other right?
Another question with the custom icons when you unzip the packet contents you get all the icon files in a folder. So rather than enter the letter in the script for custom icons you can just copy the ones you like and put them in the relevant hildon folder right?
besides...with my script the rcS file is modified...with the swappolube it's a bit different ... 
Look at the code of the script to understand more
|
|
2010-10-06
, 19:03
|
|
Posts: 80 |
Thanked: 25 times |
Joined on Apr 2010
|
#77
|
|
|
2010-10-08
, 13:55
|
|
Posts: 326 |
Thanked: 335 times |
Joined on Feb 2010
|
#78
|
Hi,
Thank you for this script.
It works really well.
I only doubt the camera mod, I would like to restore it to the original settings. Could you please tell me how to do this?
Cheers
#!/bin/ash
DIR=`dirname "$0"`
FDIR=`cd $PWD; cd $DIR; pwd`
echo " "
echo "-----------------------------------"
echo "| Fast Maemo Modding Script v0.5 | by Dany-69 & Fez Vrasta"
echo "-----------------------------------"
echo "Digita le lettere corrispondenti alle modifiche che vuoi apportare separate da uno spazio, poi premi INVIO. (es: A B C D... Enter )"
echo "Se invece vuoi uscire, premi solo Invio"
echo "NB:le operazione saranno eseguite nell'ordine di inserimento"
echo "Dopo le customizzazioni, e' consigliato un riavvio."
echo "Inoltre,per ripristinare l'hildon desktop originario,è necessario essere connessi alla rete."
echo "-----------------------Mods----------------------"
echo "| A: Mod Swappiness (30)| B: Mod Photo |"
echo "| C: Aggiungi kernel mlv| D: Mod Led |"
echo "| E: Custom Modest | F: Powerbutton menu |"
echo "| G: Custom Icons | H: Hildon-Desk Matan |"
echo "| I: Custom Transitions | J: WifiSwitcher popup |"
echo "| K: Wifi autostart off | L: Notifica update off|"
echo "|--------------------Ripristino-----------------|"
echo "| 1: Icone | 2: Led |"
echo "| 3: Transizioni | 4: Hildon |"
echo "-------------------------------------------------"
read inputline
echo " "
for carattere in $inputline; do
case $carattere in
a|A) cp -f $FDIR/swappiness/rcS /etc/init.d && echo "Swappiness impostata a 30"
echo " " ;;
b|B) cp -f $FDIR/cam/gdigicam-camerabin.conf /etc/gdigicam && echo "Compressione foto modificata"
echo " " ;;
c|C) cp -f $FDIR/kernel-power/mlv /usr/share/kernel-power-settings && echo "Profilo kernel mlv aggiunto"
echo " " ;;
d|D) cp -f $FDIR/led/mce.ini /etc/mce && killall mce && echo "Colori LED modificati: Blu=chiamate Bianco=SMS Giallo=IM VerdeAcqua=eMails"
echo " " ;;
e|E) cp -f $FDIR/modest/libcamelpop3.so /usr/lib/camel-lite-1.2/camel-providers && cp -f $FDIR/modest/modest.launch /usr/bin && echo "Modest customizzato installato"
echo " " ;;
f|F) cp -f $FDIR/power-button/callui.xml /etc/systemui && cp -f $FDIR/power-button/systemui.xml /etc/systemui && echo "Menu Tasto Power modificato"
echo " " ;;
g|G) cp -f $FDIR/icons/64x64/hildon/* /opt/usr/share/icons/hicolor/64x64/hildon && cp -f $FDIR/icons/64x64/apps/terminal.png /opt/usr/share/icons/hicolor/64x64/apps && cp -f $FDIR/icons/48x48/* /opt/usr/share/icons/hicolor/48x48/hildon && killall hildon-desktop && echo "Icone alternative installate"
echo " " ;;
#h|H) dpkg -i $FDIR/hildon/hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb
#echo "Package: hildon-desktop
#Pin: release a=unstable
#Pin-Priority: 1001" >> /etc/apt/preferences
#killall hildon-desktop
#echo "Hildon-desktop customizzato installato e pinnato"
#echo " " ;;
h|H) dpkg -i $FDIR/hildon/wget_1.10.2-2osso3_armel.deb && dpkg -i $FDIR/hildon/rescue-boot_1.0_all.deb && dpkg -i $FDIR/hildon/modified-hildon-desktop_2.1_armel.deb
gconftool-2 -s /apps/osso/hildon-desktop/decel_rate -t int 99
killall hildon-desktop && sleep 2
echo "Hildon-desktop di Matan installato"
echo " " ;;
i|I) cp -f $FDIR/transitions/transitions.ini /usr/share/hildon-desktop && echo "Transizioni customizzate"
echo " " ;;
j|J) RES = "/usr/sbin/wifi.sh"
if [ -d $RES ]
then
cp -f $FDIR/wifi-switcher/wifi.sh /usr/sbin && echo "Popup Wifi-Switcher modificato"
else
echo "Wifi Switcher non risulta installato"
fi ;;
r|R) echo "In 5 secondi il dispositivo si riavviera'" && sleep 5 && reboot ;;
1) cp -f $FDIR/icons_original/hildon/* /opt/usr/share/icons/hicolor/64x64/hildon && cp -f $FDIR/icons_original/apps/terminal.png /opt/usr/share/icons/hicolor/64x64/apps && killall hildon-desktop && echo "Icone originali Nokia ripristinate"
echo " " ;;
2) cp -f $FDIR/led/original/mce.ini /etc/mce && killall mce && echo "Led originali ripristinati"
echo " " ;;
3) cp -f $FDIR/transitions/original/transitions.ini /usr/share/hildon-desktop && echo "Transizioni ripristinate"
echo " " ;;
4) PREF="/etc/apt/preferences"
if [ -d $PREF ]
then
rm /etc/apt/preferences && echo "File /etc/apt/preferences cancellato."
fi
echo "Per reinstallare l'hildon-desktop originario devi avere tutti i gestori applicazioni chiusi e devi essere connesso alla rete. Sei connesso? y/n"
read risp
if [ $risp -eq "y" || $risp -eq "Y"]
then
apt-get -y --reinstall install hildon-desktop
sleep 3
echo "Hildon-desktop originale reinstallato"
echo " "
else
echo "Procedura annullata"
fi ;;
esac
echo "Grazie per aver usato la nostra patch! Puoi trovare altro su www.maemomeego.net!"
done
j
custom: line 111: RES: not found
Popup Wifi-Switcher modificato
Grazie per aver usato la nostra patch! Puoi trovare altro su www.maemomeego.net!
Nokia-N900:/home/user/MyDocs/custom_it#