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)

Dany-69 2010-09-09 01:48

[ANNOUNCE] Fast Maemo Modding Script
 
Hi guys :)
Maybe this is something stupid or useless to most of geeks here...
But, after a nervous breakdown due to the continuous reflash my N900, i decided to create a script that will apply all my favourite customizations to the N900



This was born as a set of cp commands... but has become something more appetizing that allowed me to approach the world of scripting.

This script will apply the following mods :

- Swappiness set to 30

- Custom Icons made by ME :P

- Faenza icons :


- Custom transitions made from the black plastic ones, but with some changes

- Power button menu mod (reboot and icons)

- Customized modest (http://talk.maemo.org/showthread.php?t=56634)

- Customized photo settings (etc/gdigicam)

- Customized hildon-desktop, Matan one (up to 9 desktop and a lot of keyboard shortcuts)

- Customized leds (Blue=calls White=SMS Yellow=IM GreenWater=eMails)

- MLV profile added to the default titan's ones ...this is half way between lv and ulv .. and is for the n900 that have problems with the too hight undervolt of the ULV profile.. :


- Wifi-Switcher popup mod: the popup of the program doesn't need the tap to disappear anymore.
After less seconds it disappears automatically.

- Wi-fi modules autoloading (called autostart in the script): this mod disables the autoloading of the wi-fi modules on maemo sturtup, just like Wi-fi switcher does.
WARNING: don't install this mod if you don't have Wifi-Switcher installed or you won't be able to connect to the network anymore.

- Update Notifications Off : this mod disables the update notifications... very useful if you use only FasterApplicationManager.

____________________________________________


HOW TO

1. Download the zip from HERE : http://dl.dropbox.com/u/9985045/custom_en_v0.9.zip

2. Unzip it with an archive manager. Make sure you have a directory, called custom_en, containing 12 subdirectories and a file with no extension, the sh script.

3. Copy the main directory somewhere in your phone.
Better in MyDocs

4. Open X-terminal and type :

Code:

sudo gainroot
sh /patch/to/custom_en/custom

For esample : "sh /home/user/Mydocs/custom_en/custom"

5. As described in the screenshot, type the letters of the desired action: C to customize... R to restore:


6. Type the desired letters and then press ENTER:


That's all :)

NOTE: i've added the possibility to RESTORE EVERYTHING through the script itself. :)
_____________________________________________

Thanks to the big support of Fez Vrasta of my small comunity :)

http://www.maemomeego.net/viewtopic....&t=990&start=0

He illuminated me about the case command (to create the menu) and the way to execute the script in every directory of the system :)

bakuur 2010-09-09 02:19

Re: [ANNOUNCE] Fast Maemo Modding Script
 
this is amazing!!!
thanks alot!

F2thaK 2010-09-09 02:25

Re: [ANNOUNCE] Fast Maemo Modding Script
 
whats this:

Quote:

Swappiness set to 30


and this:

Quote:

- Customized photo settings (etc/gdigicam)



thanks!

Dany-69 2010-09-09 02:27

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by f2thak (Post 811260)
whats this:

The swappiness set to the value "30" instead of the original 100 . :)
It make the n900 more speed and less battery-hungry :)

EDIT: Editing the indicated files you should have better photos and less pixelled effect

F2thaK 2010-09-09 02:28

Re: [ANNOUNCE] Fast Maemo Modding Script
 
is that like a transition setting... or something else/?

NightShift79 2010-09-09 02:30

Re: [ANNOUNCE] Fast Maemo Modding Script
 
... and how to use this interesting looking script on a phone which region is germany(de) ?

Dany-69 2010-09-09 02:32

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by f2thak (Post 811268)
is that like a transition setting... or something else/?

Oooh no xD
Read here:

http://talk.maemo.org/showthread.php...ght=swappiness

http://kerneltrap.org/node/3000

Dany-69 2010-09-09 02:36

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by NightShift79 (Post 811270)
... and how to use this interesting looking script on a phone which region is germany(de) ?

This script doesn't work with the d-bus input :)

So you can use this without problems of keyboard layout and using the same letters used in the script.

Do you refer to this problem, right?

bakuur 2010-09-09 02:39

Re: [ANNOUNCE] Fast Maemo Modding Script
 
what if i want to rechange something back to the original
how to do that?

F2thaK 2010-09-09 02:45

Re: [ANNOUNCE] Fast Maemo Modding Script
 
what changes in this part?

- Customized photo settings (etc/gdigicam)

humble 2010-09-09 02:45

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

I hope your taking suggestion. i only have 1

Quote:

Originally Posted by egoshin (Post 806769)
I highly recommend to anybody who wants to change rcS - instead of that just create a file /etc/event.d/somename with following lines:

Code:

# my somename fix

start on started rcS-late

script
      echo 30 > /proc/sys/vm/swappiness
end script

... and insert any another wished lines after "echo 30" and before "end script"

This would not corrupt your N900 in case of problem and it allows the next Nokia OTA upgrade.

You need to be root and run your favorite editor (see prev posts for know how to edit file).

in short make your script push(copy) a startup script

thank you thou.. save us alot of time

i have one ready for you;) just take off the .txt

Dany-69 2010-09-09 02:46

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by bakuur (Post 811275)
what if i want to rechange something back to the original
how to do that?

Mmm... the only large and invasive mod is the icons one... and for that there is the restoring option...
For the other mods... all are improvments of the system that have no side effects and that noone wants to eliminate.

By the way, everything can be solved with some terminal strings.
Of course I can also modify the script to provide this option automatically.
Let me know which ones you want to can be eliminated through the script itself with some more options :)

bakuur 2010-09-09 02:51

Re: [ANNOUNCE] Fast Maemo Modding Script
 
ohh i love it all but please if you can further explain:
custom modest
custom transitions

Dany-69 2010-09-09 02:51

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by humble (Post 811279)
Excellent:)

I hope your taking suggestion. i only have 1



in short make your script push(copy) a startup script

thank you thou.. save us alot of time

i have one ready for you;) just take off the .txt

Mmm.. putting the files in the directory /etc/event.d/, is it automatically run at startup?
By the way ... editing rcS file i've never had neither one problem :confused:

Dany-69 2010-09-09 02:59

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by bakuur (Post 811285)
ohh i love it all but please if you can further explain:
custom modest
custom transitions

Custom modest : i've linked the 3d ;)
It's a modded version of the original email client... some bugs had been eliminated ;)
For example deleting email from server :)

Transitions: These are token by all the post of dscobsct and some other users... in practice are the same transitions of the black plastc theme with a cooler luncher_out effect provided by my friend Fez Vrasta :cool:

Try it and make me know ;)

humble 2010-09-09 03:01

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by Dany-69 (Post 811286)
Mmm.. putting the files in the directory /etc/event.d/, is it automatically run at startup?
By the way ... editing rcS file i've never had neither one problem :confused:

Yes. Me neither the first time i just edited rcS file. but then i read these lines right here
Quote:

This would not corrupt your N900 in case of problem and it allows the next Nokia OTA upgrade.
so that being said to my overstanding to edit rcS file could corrupt our N900 on a OTA update. Is it proven:confused:

bakuur 2010-09-09 03:01

Re: [ANNOUNCE] Fast Maemo Modding Script
 
i did try it! its awsome thanks again

Dany-69 2010-09-09 03:07

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by f2thak (Post 811278)
what changes in this part?

- Customized photo settings (etc/gdigicam)

Nothing of sure... but editing some strings of the file in /etc/gdigicam/ directory , you should have better pictures..
In particular the parameters about the quality of the encoding and the IPP:

http://en.wikipedia.org/wiki/Integra...nce_Primitives

http://talk.maemo.org/showthread.php...light=gdigicam

EDIT: or maybe this XD :

http://software.intel.com/en-us/arti...ing-functions/

I don't know.. :confused:

F2thaK 2010-09-09 03:34

Re: [ANNOUNCE] Fast Maemo Modding Script
 
reboot needed after using this script ??

Dany-69 2010-09-09 03:37

Re: [ANNOUNCE] Fast Maemo Modding Script
 
not needed but adviced ;) ...expecially to make the camera mod and the modest mode give some results . :)

horicav 2010-09-09 08:54

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by Dany-69 (Post 811290)
Custom modest : i've linked the 3d ;)
It's a modded version of the original email client... some bugs had been eliminated ;)
For example deleting email from server :)

Transitions: These are token by all the post of dscobsct and some other users... in practice are the same transitions of the black plastc theme with a cooler luncher_out effect provided by my friend Fez Vrasta :cool:

Try it and make me know ;)

After aplying script for custom transition, transition control not working anymore.

WhiteWolf 2010-09-09 10:24

Re: [ANNOUNCE] Fast Maemo Modding Script
 
This script seems to me an excellent idea.

Dany-69 2010-09-09 11:13

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by horicav (Post 811475)
After aplying script for custom transition, transition control not working anymore.

mmm...that's strange... i've never used transition control ... but maybe it doesn't work for some differences in the file ...
you can create a transitions.ini with commands placed as you see fit ... and maemo will recognize it .. but transition control maybe work with preset positions :)

By the way, try from terminal

Code:

sudo gainroot
Code:

rm /etc/apt/preferences
Code:

apt-get --reinstall install hildon-desktop

horicav 2010-09-09 11:22

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by Dany-69 (Post 811571)
mmm...that's strange... i've never used transition control ... but maybe it doesn't work for some differences in the file ...
you can create a transitions.ini with commands placed as you see fit ... and maemo will recognize it .. but transition control maybe work with preset positions :)

By the way, try from terminal

Code:

sudo gainroot
Code:

rm /etc/apt/preferences
Code:

apt-get --reinstall install hildon-desktop

Re-install hildon-desktop_kinetic_2.2.138-1+0m5_armel.deb, and everything is ok now !
Thanks

jakiman 2010-09-09 11:33

Re: [ANNOUNCE] Fast Maemo Modding Script
 
This is one cool script. But I would love a separate tweak app with GUI with all these settings individually available to apply / revert back the tweaks. Like a mega tweak app for Maemo. =)

Dany-69 2010-09-09 11:57

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by jakiman (Post 811589)
This is one cool script. But I would love a separate tweak app with GUI with all these settings individually available to apply / revert back the tweaks. Like a mega tweak app for Maemo. =)

As i said... All the mods are reversible :)

But there is no reason to make some mods reversible xD like swappiness or modest ...

So what other mods do you want to be reversible ? Transitions hildon-desktop and led ? :)

PS: unfortnately i'm a poor noob T_T i don't know how to create a decent gui ... but it would be great ..

egoshin 2010-09-09 18:53

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by humble (Post 811292)
Yes. Me neither the first time i just edited rcS file. but then i read these lines right here

so that being said to my overstanding to edit rcS file could corrupt our N900 on a OTA update. Is it proven:confused:

File /etc/init.d/rcS was replaced sometime between PR1.0 and PR1.2

It may happen again. Or Application Manager may try to do it and fail.

Dany-69 2010-09-09 20:12

Re: [ANNOUNCE] Fast Maemo Modding Script
 
mmm ... why should fail to replace it ? o.O
It's only a configuration file and, even if the app manager (very improbably if there insn't a whole system upgrade) try to replace it, there shouldn' t be problems .. o.o

As we overwrite it.. the same can be done by the system .. no?

Dany-69 2010-09-10 00:36

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Guys, i see a lot of thanks but noone is giving me a feedback xD

How is it ? Some problems? :)

bakuur 2010-09-10 07:46

Re: [ANNOUNCE] Fast Maemo Modding Script
 
okay well i got a small problem but its actually my fault :P
i tampered with the /led/mce.ini to change the vibration pattern
and i forgot to make a back up copy of the original Nokia file
so if it is possible for anyone to provide it in an attachment or something

bman 2010-09-10 08:36

Re: [ANNOUNCE] Fast Maemo Modding Script
 
very good idea!!!!
and totally agree with jakiman
i didnt know half of these mods were even around as i dont have alot of time or download usage (use my fone as modem) so its good 2 find all the good things in 1 place

Dany-69 2010-09-10 10:17

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

Originally Posted by bakuur (Post 812387)
okay well i got a small problem but its actually my fault :P
i tampered with the /led/mce.ini to change the vibration pattern
and i forgot to make a back up copy of the original Nokia file
so if it is possible for anyone to provide it in an attachment or something

The mce.ini in my script is identical to the original one, exept for the colors of the led changed with led patterns editor.. :)

So, you can use it and then restore the normal blu led for IM, SMS and emails with led pattern :)..

But if need just the original, i 'll find it in some way XD

EDIT: it seems that led pattern editor have created a goegeous backup of the original one :P

bakuur 2010-09-10 10:26

Re: [ANNOUNCE] Fast Maemo Modding Script
 
perfect :D thanks alot
your script will suffice

thanks alot for your help

Dany-69 2010-09-10 12:27

Re: [ANNOUNCE] Fast Maemo Modding Script
 
I've updated the script :)
Now you can restore hildon, transitions, icons and leds :)

DJRedline 2010-09-10 14:21

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Used the script and all seems to be working fine

The only issue i have is the icon for 'phone' is the only 1 that didnt seem to copy across ?
whats the path to manually change this please?

Thanks

Dany-69 2010-09-10 15:54

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Quote:

Originally Posted by DJRedline (Post 812665)
Used the script and all seems to be working fine

The only issue i have is the icon for 'phone' is the only 1 that didnt seem to copy across ?
whats the path to manually change this please?

Thanks

Mmm ... Unfortunately I too have noticed this in some sporadic occasions .. but it is no fault of my script itself ... is a problem with maemo.
I do not know why, but sometimes it just does not seem to load the icon of the phone ..
The problem is that, going to rummage in / opt/usr/share/icons/hicolor/64x64/hildon, this icon is not the default but that custom.

However .... to fix you ... restore the original icons.
Restart the terminal ... Try to customize the icons .. restart again.
Let me know :)

gsever 2010-09-10 20:15

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Ok thanks for this one. I only updated Power boot menu. Good to have reboot standing there. Faster than root / reboot. Additionally I added into my /root .bashrc profile alias cc='/home/user/MyDocs'. Just saving myself from a few repetitive key strokes.

Dany-69 2010-09-10 21:37

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Added the reboot command ;)

Fez Vrasta 2010-09-10 21:53

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Uh our script is famous xD

rolan900d 2010-09-10 22:31

Re: [ANNOUNCE] Fast Maemo Modding Script
 
Line 65 syntax error

what is going on with this script.

after sh /home/uservMyDocs/custom_en/custom

the options are not working


All times are GMT. The time now is 12:59.

vBulletin® Version 3.8.8