maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] Fast Maemo Modding Script (https://talk.maemo.org/showthread.php?t=61956)

kevinm2k 2010-09-10 22:42

Re: [ANNOUNCE] Fast Maemo Modding Script
 
get following error when trying to type any letter or number:

custom: line 65: syntax error: ")" unexpected (expecting ";;")

kevinm2k 2010-09-10 22:51

Re: [ANNOUNCE] Fast Maemo Modding Script
 
just above the line that starts 1) i put the following:

echo " ";;

that fixes the syntax error

Dany-69 2010-09-10 22:59

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Ops guys :$ .... forgive me :eek:

Small error adding the reboot :p
I had forgotten a pair of ;; ... :)

FIxed ;)

Dany-69 2010-09-10 23:04

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by Fez Vrasta (Post 813052)
Uh our script is famous xD

Here you are my friend xD :) guys he is who gave me technical support xD

rolan900d 2010-09-10 23:11

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by kevinm2k (Post 813083)
just above the line that starts 1) i put the following:

echo " ";;

that fixes the syntax error

still not working on my end.
please specfy

kevinm2k 2010-09-10 23:15

Re: [ANNOUNCE] Fast Maemo Modding Script
 
i think hes fixed it but on line 65 you will see lines above and under it have

echo " ";;

except for one of the commands that ends in reboot. if on the line below you do the same as all the others. i.e add that line above then save it should work.

Dany-69 2010-09-10 23:38

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by kevinm2k (Post 813099)
i think hes fixed it but on line 65 you will see lines above and under it have

echo " ";;

except for one of the commands that ends in reboot. if on the line below you do the same as all the others. i.e add that line above then save it should work.

The two ;; after the reboot commad are enough :)

The echo " " is only to make the output more readable

jd.leevn 2010-09-11 06:47

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Great script! Thanks. However, after modding icons, I see bunch of pictures in Photos, kinda annoying. Any idea to get rid of that? Will my icons disappear if I delete them in photos? Anything to do in custom_en folder?

bipinbn 2010-09-11 07:15

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Fantastic scritp Dany.. Just wanted to inform something...

Hildon desktop has recieved some updates as mentioned in the post
http://www.forums.internettablettalk...9&postcount=70

Can we use the deb mentioned there for the custom hildon..it is supposed to fix the submenu/battery drain problem.. I am using this modified hildon for some time and i see better battery times

I changed the custom file to

h|H) dpkg -i $FDIR/hildon/hildon-desktop_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 "Customized Hildon-desktop installed and pinned"
echo " " ;;

I also placed the modified hildon in the "hildon folder.."

I think that should take care of installing the fixed hildon..

Thank you :)

Dany-69 2010-09-11 08:49

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by jd.leevn (Post 813248)
Great script! Thanks. However, after modding icons, I see bunch of pictures in Photos, kinda annoying. Any idea to get rid of that? Will my icons disappear if I delete them in photos? Anything to do in custom_en folder?

This is due to the presence of the folder custom_en in mydocs ...
After customizations you can safely delete che custom_en folder :)
No mod will be lost ;)

Or, if you want to keep the directory there, use tracker cfg to configure the multimedia tracker ;)

Dany-69 2010-09-11 09:16

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by bipinbn (Post 813258)
Fantastic scritp Dany.. Just wanted to inform something...

Hildon desktop has recieved some updates as mentioned in the post
http://www.forums.internettablettalk...9&postcount=70

Can we use the deb mentioned there for the custom hildon..it is supposed to fix the submenu/battery drain problem.. I am using this modified hildon for some time and i see better battery times

I changed the custom file to

h|H) dpkg -i $FDIR/hildon/hildon-desktop_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 "Customized Hildon-desktop installed and pinned"
echo " " ;;

I also placed the modified hildon in the "hildon folder.."

I think that should take care of installing the fixed hildon..

Thank you :)

Well since we are talking about Hildon-desktop ...
Are you sure this is the most updated version? o.O
Unfortunately it seems that the number indicating the version is always the same .. o.O

Also known that with some updated version, should be able to configure scrolling with a string in the file transitions.ini ..COOL!

But I also found another version of Hildon desktop (thanks to my great colleague Tiger of maemomeego.net) which, besides allowing you to choose the degree scrolling (with a terminal command this time and not through transitions.ini) , you can add new desktops. (Yes, I know, it exist from a long time .. but before the package didn' t implemented scrolling)

http://translate.google.it/translate...94%26start%3D0

Now I don't know which version to include in the package ... :/
The one that allows you to add the desktops wouldn't be a bad idea ... especially to be used with a pair of QBW to increase and decrease the number of desktops.

What do you think about this, guys? :)

rolan900d 2010-09-11 14:36

Re: [ANNOUNCE] Fast Maemo Modding Script
 
hi...

I have lots of mods like themes (images and backgrounds), splashscreens, fonts, sounds, and lots more.
Can I create folders in the icon folder so the script will run them?
Or does the script need to be edited?

Dany-69 2010-09-11 14:55

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by rolan900d (Post 813444)
hi...

I have lots of mods like themes (images and backgrounds), splashscreens, fonts, sounds, and lots more.
Can I create folders in the icon folder so the script will run them?
Or does the script need to be edited?

If you give a eye to the script ... you'll se that it copy the whole content on the directory custom_en/icons/64x64/hildon in the same directory of the system .. so you can put everything you want in that directory .. :) for example different icons..
But for the rest of ou personalizazions.. the command aren't right ... for example fonts and sounds uses some different directories... So you should add some command to the script .

rolan900d 2010-09-11 16:33

Re: [ANNOUNCE] Fast Maemo Modding Script
 
understood...

let's hope I get it right...

also...
could you add a version number on the rar?
So I can keep track of updated versions in my PC

msnbcnnbcbs 2010-09-12 02:51

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Amazing what a difference the swappiness mod made in terms of responsiveness (in the menus, app switching, etc)

arnoldux 2010-09-12 05:12

Re: [ANNOUNCE] Fast Maemo Modding Script
 
thank you very much for the script, if you can improve with more addons and a ui, it would be AWESOME, pretty usefull btw

cheers

plaban 2010-09-12 05:43

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Thanks for the script.Works really nice.

Dany-69 2010-09-12 10:33

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by msnbcnnbcbs (Post 813801)
Amazing what a difference the swappiness mod made in terms of responsiveness (in the menus, app switching, etc)

The swappiness mod makes difference in ebery part of the system .. ;)
If you search swappiness definition.. you'll find that it is the tendency to use the swap ...
But why should it use the swap (space on the memory chip that acts as a ram) if we got 256 mb of VERY faster memory? :)

So this mod should improve both the speed and battery life (less use if the emmc chip). :D

Dany-69 2010-09-12 10:40

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by arnoldux (Post 813854)
thank you very much for the script, if you can improve with more addons and a ui, it would be AWESOME, pretty usefull btw

cheers

Ok for the addons :)

But i need ideas ! What other customizations do you want?
What hildon desktop ? Some good transition ? (how are mine? :))

For the UI .. Ehmm .... i have never programmed T_T
If someone wants to help me or do this by himself or together ok :( But i just don't know how to create a GUI in gtk or QT .. T_T

rolan900d 2010-09-12 11:16

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Add ons:

1) fonts
2) sounds
3) themes icons (for backgrounds, images)
4) drop menu with celluar modem button
5) splashscreen

Dany-69 2010-09-12 11:24

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by rolan900d (Post 814017)
Add ons:

1) fonts
2) sounds
3) themes icons (for backgrounds, images)
4) drop menu with celluar modem button
5) splashscreen

mmm.. good ideas.. but there is a big problem ... everyone of us is different... with different preferences .. :/
So what font, sounds and splashscreens should i use ?

I would prefer to not customize too much the script... The mods are "universal" .... customizations like those aren't :/

By the way ..for the cellular modem button .. there should be a program in the repo .

rolan900d 2010-09-12 11:32

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Just do a concept draft and folks can exchange their own mods in the folders...

I have installed the celluar app but it gives a 3rd file to overwright the original.

when you create fonts and sounds folders, we can drop our files in those and the script will transfer them.
I have a huge Matrix mod collection and have to do those manually..

you could also add smsconv as script.

jmk 2010-09-13 20:59

Re: [ANNOUNCE] Fast Maemo Modding Script
 
How do I revert back to default Power Buttons?

edit: Answer: remove powerbutton package from application manager.

raw8255 2010-09-14 03:29

Re: [ANNOUNCE] Fast Maemo Modding Script
 
I do everything right from the part 1 - 3 but after i type:

Quote:

sudo gainroot
sh /home/user/Mydocs/custom_en/custom
i got this error messenger :
"sh: can't open /home/user/MyDocs/custom_en/custom"

anyone know why? plz help!! :( Thanks!

sregular 2010-09-14 06:14

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by raw8255 (Post 815400)
I do everything right from the part 1 - 3 but after i type:



i got this error messenger :
"sh: can't open /home/user/MyDocs/custom_en/custom"

anyone know why? plz help!! :( Thanks!

I'm a noob so here are my two mistakes I made:
1. not having a space after the sh
2. having the proper path to the custom_en folder. Mine turned out to be under "/home/user/MyDocs/custom_en/custom_en/" once I did that it worked.

Most of my errors have been typing errors so hope this helps.

raw8255 2010-09-15 21:23

Re: [ANNOUNCE] Fast Maemo Modding Script
 
thax for the help...but mine is still didn't work :(

Dany-69 2010-09-15 22:52

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by raw8255 (Post 817289)
thax for the help...but mine is still didn't work :(

Mmmm ... i think it is just a wrong patch to the script.

Have you used the file manager to see where is the script?

raw8255 2010-09-17 17:51

Re: [ANNOUNCE] Fast Maemo Modding Script
 
yes, it's in Documents folder (Nokia N900/Documents/custom_en/)
but i just want to change the swappiness so could i use the OpenSHH and go straight to /proc/sys/vm/swappiness and change 100 to 30? is it fine?

Dany-69 2010-09-17 21:57

Re: [ANNOUNCE] Fast Maemo Modding Script
 
1 Attachment(s)
Quote:

Originally Posted by raw8255 (Post 819133)
yes, it's in Documents folder (Nokia N900/Documents/custom_en/)
but i just want to change the swappiness so could i use the OpenSHH and go straight to /proc/sys/vm/swappiness and change 100 to 30? is it fine?

To change swappiness..
Download the attached file ... delete the .txt extension... and put it in /etc/init.d ... :)

bman 2010-09-26 07:21

Re: [ANNOUNCE] Fast Maemo Modding Script
 
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

bobbydoedoe 2010-09-26 07:29

Re: [ANNOUNCE] Fast Maemo Modding Script
 
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?

etuoyo 2010-09-26 09:29

Re: [ANNOUNCE] Fast Maemo Modding Script
 
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?

chowdarygm 2010-09-26 14:35

Re: [ANNOUNCE] Fast Maemo Modding Script
 
this was very useful for a N9OOB like me.... thanks friend :)

Dany-69 2010-09-26 23:48

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by bman (Post 826451)
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

Mmmm...this is doable :) say me what you want to backup precisely :)

Dany-69 2010-09-26 23:49

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by bobbydoedoe (Post 826455)
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?

A new release in the next days ;)

Dany-69 2010-09-26 23:54

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by etuoyo (Post 826501)
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?

Yes you can run both them ;) besides...with my script the rcS file is modified...with the swappolube it's a bit different ...
By the way .. for the icons ..yes you can put all the icons that you want in the script directory :)

It will copy the whole content of the folder :) Look at the code of the script to understand more ;)

MetalSer 2010-10-06 19:03

Re: [ANNOUNCE] Fast Maemo Modding Script
 
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

Dany-69 2010-10-08 13:55

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by MetalSer (Post 834975)
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

There is no need to restore eve this ;)
But in the next versione i'll put even this option..

By the way .. guys i need a bit of help T_T

Suddenly i have a strange error... Here the script (there is a bit of italian) :

Code:

#!/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

And here the error... :

Quote:

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#
I've googled.. but i haven't found nothing :(

Dany-69 2010-10-10 01:57

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Noone there? :(

kureyon 2010-10-10 15:50

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Code:

  if [ $risp -eq "y" || $risp -eq "Y"]
Try adding a space:

Code:

  if [ $risp -eq "y" || $risp -eq "Y"SPACE]


All times are GMT. The time now is 18:20.

vBulletin® Version 3.8.8