Showing posts with label How To. Show all posts
Showing posts with label How To. Show all posts

Sunday, April 29, 2012

[MeeGo Harmattan] FasterN9 : Make your N9 running faster !

FasterN9 is a script to make N9 fast as it was in PR1.1. For those who had a N900, it's like swappoluble.

This is not a daemon, it is not a program that runs in background and makes your phone better. This script starts when your phone starts, changes the way the Linux kernel handles memory and exits. Yet, the effects continue. It's very simple, so it will probably work with almost any configuration you have in your phone.

It does run after reboot and it is not necessary to reboot after installation. If uninstalled, it will be like if it has never been there.

It will probably work better if you don't have dropcaches installed.

Code:
#!/bin/sh
#

#Author: Danilo Luvizotto <danilo.luvizotto@gmail.com>
#License: do whatever you want with it.

#This is mainly a memory MOD. The idea is to avoid swapping.
#Swapping will cause the process to freeze while waiting
#data to be available in RAM. In our case it will also waste
#battery because the swap is compressed in N9.
#
#I've read a lot of documentation to get to the conclusions
#and explanations detailed here, but I may be wrong. If you're
#an expert and something is wrong, please let me know.

#If you want to learn about about cgroups, this is the best
#documentation I've found:
#http://docs.redhat.com/docs/en-US/Re...ide/index.html
#Beware some parts are specific to Red Hat Enterprise Linux.

#Source: http://www.kernel.org/doc/Documentation/sysctl/vm.txt
#
#vfs_cache_pressure controls the tendency of the kernel to
#reclaim the memory which is used for caching of directory
#and inode objects.
#At the default value of vfs_cache_pressure=100 the kernel
#will attempt to reclaim dentries and inodes at a "fair" rate
#with respect to pagecache and swapcache reclaim.  Decreasing
#vfs_cache_pressure causes the kernel to prefer to retain dentry
#and inode caches.
#
#This is a mobile phone, we want applications to be available in
#RAM, so we prefer pagecache and swapcache, not directory and
#inode cache. We don't want applications to freeze while their
#code come back from swap!
echo 2097151 > /proc/sys/vm/vfs_cache_pressure

#This will make the system less proactive moving data to swap.
#The value '3' worked better in my tests.
echo 3 > /proc/sys/vm/swappiness

#This will limit memory used by background processes to 10MB.
#The default value is arround 70MB.
#In my phone only 3 processes are in this group:
#msyncd, obexd and the infamous smartsearch
while [[ `cat /syspart/system/background/memory.limit_in_bytes` != 10485760 ]]
do
 echo 10M > /syspart/system/background/memory.limit_in_bytes
 sleep 5
done
#This will make background processes to have less CPU priority.                             
echo 128 > /syspart/system/background/cpu.shares

#This will limit memory used by desktop processes to 100MB.
#The default value is 200MB.
#The most important process in this group is meegotouchhome,
#to wich the 3 home views belong.
#At fist I thought performance would be better if this group
#has a higher limit, but it makes no difference. High limits
#will cause processes to swap, so performance will decrease.
while [[ `cat /syspart/system/desktop/memory.limit_in_bytes` != 104857600 ]]
do
        echo 100M > /syspart/system/desktop/memory.limit_in_bytes
 sleep 5
done

Wednesday, March 7, 2012

[MeeGo Harmattan] Inception : Deeper acces to your Nokia N9 !

INCEPTION allows you to assume direct control and liberate your Nokia N9's full potential !

INCEPTION is:

Easy : It allows you to open up your N9 in less than five minutes, with no need for a PC.

Safe : It makes no major changes to your N9 on its own - it merely unlocks the door so that you can use your own discretion. INCEPTION can be uninstalled at any time with no side effects.

Effective : The only limits on what you can do with your N9 are your own. INCEPTION turns the N9 into what could be the most powerful and open handheld device on the market.

INCEPTION makes the following possible:

- Direct customization of N9 system packages, many of which are open-source but couldn't be replaced previously

- Installation of new kernel modules that add advanced functionality to the system, paving the way for applications such as VPN clients, USB host mode, or a more sophisticated Wi‑Fi hotspot program

- Mounting any filesystem, including those built with FUSE - such as sshfs or TrueCrypt

- Complete disablement of Aegis, for users that want the N9 to function more like a traditional Linux desktop
Community-provided upgrades to the operating system, much like the Nokia N900's Community SSU project

Want to know how to incept your N9? Head over the original post !

Sunday, February 5, 2012

[MeeGo Harmattan] [How to] Enable extra Swype settings !

Yep, you can access hidden setting for the swype feature/application on the N9 ;)

All you have to do is to change in /usr/share/swype/data/SwypeConfig.ini "0" to "1"

settings.show.extra = 1
settings.show.gesture = 1
settings.show.tracepath = 1



Seen at talkmaemo

Sunday, January 8, 2012

[MeeGo Harmattan] [How to] retrieve the forgotten security code?!

Didn't you activate trusted person settings? And now you've a headache to remember the security code you've set up ! You can retrieve the forgotten security code using Nemesis Software Suite.

How?

- Download and install NSS

- Connect the N9 in "Sync and connect" mode (you may need to wait for the driver to install)

- Run Nemesis Service Suite (NSS)

- Click on "Scan for new devices" (top right hand button)

- Click on "Phone info" button

- Click on "Scan" button.

- Switch to the "Permanent Memory" tab.

- Click on "Read" button and let the program read memory contents. When it finishes, in the last line in the status window it will inform you about the location of the log file containing memory contents.

- Go to that location and open the file, e.g. with Windows Notepad.

- Find [308]

- Scroll down a little bit until you see a line starting with 5= followed by a numerical string, e.g. 5=31323334350000000000

- When you remove the "3" digits on ODD locations in that string, you'll get the security code. E.g :

31323334350000000000 = 12345 i.e. your forgotten security code (of course this is just the example showing the unchanged factory code).

Friday, December 30, 2011

[MeeGo Harmattan] [How to] Transfer SMS and IM conversations from the N900 to the N9 !

Having a headache in migrating the SMS and IM conversations?

Do you remember The basic tool that import sms conversation from the N900 to the N9? Ok, now, there is an enhanced script to import all Conversations to N9.

All you have to do is to :

1- Download the *.deb file and install it (by clicking on it)
2- Copy the database (located at /home/user/.rtcom-eventlogger/el-v1.db) from the N900 to the N9
3- Open the terminal and run the following command:

n900-comhist-import /path/to/el-v1.db

And wait for the magic to happen !

If you want only import SMS messages, use this version instead ;)

Read this before !

Tuesday, December 27, 2011

[MeeGo Harmattan] [How to] Sync your N9 with ovi suite !

Simple ! Ovi Suite 3.0.0.290 will recognise and sync with the N9. It works.

You can then upgrade to the current Ovi Suite and it will continue to work – but only if you have created the sync under the 3.0.0.290 version.

Steps:

- When you are installing 3.0.0.290, turn off internet connections otherwise Ovi Suite will automatically upgrade before installing

- Once installed, turn off auto-update software (for now) and plug your handset in. It will be recognised, install drivers, and say it is ready

- Confirm your sync settings, and press sync.

- You can then go back online and agree to update your Ovi Suite to the current release.

If you have questions, drop them in the comments section below ! Enjoy !

Original topic ;)

Saturday, December 24, 2011

[MeeGo Harmattan] [How to] Bring back your dead N9 to life !

If you bricked your N9 as i did the past week, and want it back to life from the dead Nokia Logo then you can use the following method for restoring system after some dangerous experiments with applications.

My guide is based on ubuntu live cd (the best and safest method yet) as i have Win 7 64bits and i just can't run properly the tools needed to flash the N9 (if you want steps to do it on windows OS, be sure to look into maemotalk forums)...so :

In few steps :

1- Get (not really necessary) the latest ubuntu build (i did it with ubuntu 9 and it worked just fine), Once you've finished downloading your file, you'll need to create a CD or USB drive (the advantage of running a live cd is that you won't need to install anything on your PC) and then run it (see step 3 from this page).

2- Get the maemo flasher released for Harmattan (in my case i did choose the flasher_3.12.1_i386.deb version of it as i'll use ubuntu live cd) and install it !

3- Get the firmware image for your device, I used NaviFirm from http://www.symbian-toys.com/navifirm.aspx to get the appropriate firmware for my N9 (you can search your Firmware with the help of the product code of your N9 which you can find on the back of the micro SIM holder) you're not forced to download all files but ones checked by default, the most important file is the Mcu LEGACY one (something like : DFL61_HARMATTAN_2X.2011.44-2_PR_LEGACY_XXX.bin)

Ps : It'll be convenient to rename it to something easy like your name for example : saad.bin

You want to do a warm-flash ( I have not tried a cold-flash, so do that at your own risk ) of your device.

There are detailed instructions at the maemo wiki, http://wiki.maemo.org/Flasher but you won't probably need them as only what's left to you to do is to place files you've just downloaded to Desktop.

5- Place downloaded files to desktop.

6- Run Xterm, then type :

cd Desktop

Then sudo flasher -F FIRMWAREIMAGE.bin -f -R

Where  FIRMWAREIMAGE.bin is the name you gave to your firmware image... in my case the command will be :

sudo flasher -F saad.bin -f -R

Plug your N9 (it must be switched off already) and wait the magic till your device reboot ;)

It worked fine, but still, do at your own risk !

Additional type : Do a hard reset after that as you could have some old nasty files staying on the system ;)

If you have questions drop them in comments section :)

[MeeGo Harmattan] N9 QuickTweak : Different set of tweaks for your N9 !

Like N9Tweak, this small application that work via terminal also and will give you some different tweaks to your N9 file system.




I tried this app a few times and it’s work perfectly and quickly, but still I'm not responsible for the damage if will cause to your phone :-)

Tweaks Menu:

A. Speed Up Transitions MODs (Refresh needed) – You have a three different options (this have automatic refresh):

1. Full Speed Up Transition MOD - include landscape mod for Home & Lockscreen.
2. Speed Up Transitions with ONLY landscape Homescreen.
3. Only Speed Up Transitions - without landscape mod for Home & Lockscreen.


B. Landscape MODs (Refresh needed) - You have a four different options (this have automatic refresh):

1. Full Landscape MOD (Home & Lockscreen)
2. Full Landscape MOD (Home & Lockscreen) from your orig. files.
3. Only Homescreen Landscape MOD.
4. Only Homescreen Landscape MOD from your orig. files.


C. Activate Fullscreen image for Lockscreen – it’s activate a big-fullscreen image for LockScreen Landscape MOD, but before you apply this, you need to do something.. (thanks to jflatt)

Explanation:
1. Create picture named “mywall”with an 854x854 px dimension and with .png extension (mywall.png).
2. Put this image from your PC to: /home/user/MyDocs/.wallpapers/
3. Go to Setting ->Wallpaper-> choice your wallpaper and press Done.
4. Open N9 QTweak app (password of devel-su, default: rootme), choice i [hit Enter] then choice c [hit Enter]. No need to reboot !!!

D. Install Hebrew Virtual Keyboard – Add Hebrew virtual keyboard (Thanks to mohammad7410).

G. Change GPS provider (Nokia/Google) - This will give you ability to change the GPS provider (Thanks to Almehdin’s script).

H. Enable ROOT-SSH Access (Reboot needed!) – activate SSH access for ROOT user. This have automatic reboot. (Thanks to F2thaK & Almehdin).

I. Add/Remove additional IM (Reboot needed!) - This will install 3 additional packages: im-providers-additional telepathy-haze libpurple0. And you can use additional IM's - ICQ/MSN/Yahoo/AOL/Jabber/VK… This have automatic reboot for both options: Add/Remove (Thanks to Niwakame and his packages).

J. Remove/Restore not necessary icons - You can Remove or Restore the not necessary icons from your homescreen. It's not uninstall, it's only remove icons like facebook, twiter, User guide... You can choose a few numbers separated by one space and press ENTER. (ex: 2 4 6 ... Enter)

L. Change Outgoing & Incoming Calls icons – This will change you Outgoing & Incoming Calls history icons. Reboot needed! (Thanks to superjunior)

M. Feed & Notification header/title colors - This will change your Feed & Notification header and title colors to Orange and Blue (Thanks to oSCho)

Y. Customize the statusbar clock – Change your statusbar clock (ex. 08:08 | Sun 13 Okt or 08:08 AM | Sun 13 Okt), it have automatic refresh.

K. Create Backup !!! – Creating Backup from your system files. This will create folder named “.N9QTweakBackup” in your: /home/user/MyDocs

U. Restore Transition – Restore all changed files of Speed Up Transition with your BackUp files. (Refresh needed).

R. Reboot – Reboot your phone.

Z. Full Restore – This will restore ALL your tweaks, can uninstall new IM’s and restart or refresh your phone. Uninstall have two options Yes & No and also you will notice twice about uninstall new IM’s, you can choose Yes or No inside the restore process.

O. Refresh – Refresh your Homescreen and Lockscreen without reboot. All your applications will be closed anyway, but it's still faster way than a full reboot. See here.

V. About & Credits - it is clear

Before installation, make sure you have "allow other sources" set in settings and developer-mode activated.

Installation:
* Download and transfer the .deb file (thanks to Ammyt & hxka) to your phone.
* Install the .deb file by the usual way (double tap on file).
* Go to application Homescreen. You will see a new icon (Thanks to 3llipsis) at the end of the list and you can see the PDF instruction inside the: /home/user/MyDocs/Documents
* Tap on it and it will ask you for password of devel-su (default: rootme)
* Choose letter you want and press enter (you can write big or small character).

NOTE:
* Run “Create Backup !!!” on your first use of this script, mainly because of Speed Up Transition and Landscape MOD.
* You can choose more of one tweaks separated by one space and press ENTER. (ex: A B D E ... Enter)
* If you choose O or R, choose it at the end
* A and B have automatic refresh and H and I have automatic reboot and if you want to use more tweaks in the same session, just put this letters at the end. Don't use A , B , H and I together.. For example, you want to install A , C , F and D - just put the A at the end: C F D A [hit Enter]

Uninstall:
* To uninstall my application, do this by usual way, go to: Settings -> Applications -> Manage applications. Choose N9-QTweak and uninstall it. Another way – long press on N9 QTweak icon on the app homescreen.

  • If you uninstall this app it will leave the Backup files in MyDocs (/home/user/MyDocs/.N9QTweakBackup) and if for some reason you forgotten to restore your tweaks before uninstalling, you can do this manually or only one time by running the one simple command as ROOT: sh /home/user/MyDocs/.N9QTweakBackup/RESTORE . This command:

    1. restore your tweaks to default (except the new IM’s)
    2. Delete this folder (.N9QTweakBackup) from your phone
    3. Refresh your home and lockscreens
  • To update to new version, just install new .deb file.
Enjoy :D

Discussion and bug reports:

Maemo.org

[MeeGo Harmattan] [How to] Get rid of the "click" sound of the N9 camera !?

Hey folks,

If you, like me need to take some silent shots, removal of the snd_camera_shutter.wav file from /usr/share/sounds/ui-tones works perfectly.

NB : Don't forget to restart your N9.

Saturday, December 17, 2011

[MeeGo Harmattan] [How to] Enable zoom in video recording On your N9 !

In 4 steps you'll be able to zoom during video recording with your lovely N9, I also tested it, it works fine :


 Enable developer mode (Settings> Security> Developer Mode) if not already done.  

1- Download the file camera.conf

2- Open Terminal and enable root acces :

devel-su

password : rootme

3- Copy the downloaded file in the etc directory:

 cp /home/user/MyDocs/camera.conf /etc/camera.conf

4- Restart the device.

It 'can zoom both with the top bar like the pictures, both with the volume buttons.

To remove this tweak just delete the file by repeating the procedure from step 2 to step 5 and just type this command:

 rm /etc/camera.conf


Via : nokia.hdblog

Tuesday, December 13, 2011

[MeeGo Harmattan] N9Tweak : user friendly app for some hacks available on N9 !

N9Tweak is a litte user friendly app for some hacks available on N9 !

Example of date and time format tweaking ;)


Install it through the browser and make sure you have "allow other sources" set in settings and developer-mode activated.

Current features:

* Add adhoc at start up
* Boost the playback volume
* Change the statusbar clock
* Tweaks the clock, date and bounce of the lock-screen
* Activate/Deactivate landscape support
* Tweak screen rotation sensitivity
* Change GPS provider
* Change behaviour of PowerKey
* Enable/Disable auto-brightness setting
* Add local key to N950 fn+arrow hw-keys
* Edit the options in display settings
* Swap screen sleep mode on or off
* Add/Remove extra repositories
* Enable ssh to root user
* Enlarge virtual keyboard
* Enable/Disable Skype on N950

Changelog:



0.2-3 

* Improved landscape a bit
* Q for quit app
* Added XL vkb
* Colored GUI
* Screen rotation sensitivity
* A couple of bug fixes

0.2-2

* Added rezisable virtual keyboard
* Added root ssh enabler
* Added zsh installer (hidden)
* Fixed 12h/24h issue for status clock
* A bunch of small fixes

0.2-1

* Change GPS provider
* Change PowerKey behaviour
* Added PreDriv to startup
* Added Screenlapse (hidden)

0.2-0

* A bunch of bug fixes

0.1-8

* A bunch of bug fixes

0.1-7

* Added bounce to lock-screen
* Added volume boost
* Added startup adhoc
* Added german hw-keys
* possibilty to revert hw-keys
* added /usr/bin/n9tweak
* A bunch of bug fixes

0.1-6

* Made a deb for easy install
* Made a desktop launch icon
* Added ability to reset all options

0.0-7

* initial release

You can follow updates here or here ;)

Sunday, December 11, 2011

[MeeGo Harmattan] [How to] Share Pictures & Videos to Twitter From N9 Default Gallery Panel !

A simple hack (Found by ukhamitov it seems) which enables twitpic from N9 (N950) gallery !

So you can share your pictures directly from default Harmattan gallery panel manager (just like facebook, picassa etc) :

Make sure you have nano installed (Goto Settings->Security-Developer Mode-> Click Install button near utilities)


1- Open Terminal and enable root acces :
devel-su
password : rootme
2- Then type nano /usr/share/accounts/services/twitter-share.service


- The content of the twitter-share.service file will be displayed :

3- Scroll (with the help of the arrows keys) till you find something like below :

<!– <mime>image/*</mime> –>


<!– <mime>video/*</mime> –>




4- Remove comments from this code (with the help of the arrows keys) and press ctrl on the on-screen keyboard and press X and then press Y and click enter to save the modified file !

Tadaaaaa !

Ps : you can also configure max number of files to share etc.


[MeeGo Harmattan] [How to] Get MSN, ICQ, Jabber, AOL and Yahoo! In 1 or 4 steps in your N9 !

Hey hey ! What about getting all IM's : MSN, ICQ, Yahoo, AIM, IRC, Gadu-Gadu, QQ, Jabber, AOL, QIP, Vkontakte, etc on our lovely N9 (like on the N900)?

Well it's here finally !



1) Download these three files straight on the device :

LibPurple

Telepathy-Haze

IM-Providers-Additional

2 Open terminal, and gain root access using devel-su with rootme as password (unless changed).


3 Enter cd /home/user/MyDocs/Downloads


4 Then (in respective order) dpkg -i libpurple0_*.deb


(5) Then dpkg -i telepathy-haze_*.deb


(6) Then dpkg -i im-providers-additional-0.4.deb

Update :

2) You can use the Transfers view that pop-ups and single click (in respective order, otherwise installation will fail) to install (Yes, it works now) but if you're in ease with previous steps with xterm, just use it ;)

What then? Simply Restart the device you should have the various IM providers in the Accounts app.

Upgrading from a previous version :

- Download file number #3
- Use filemanager or transfer-view on your phone to find the .deb file
- click on the file, it will be upgraded automatically

If you wish to deinstall these later, simply go to  :

Programs -> Manage Programs -> im-providers-additional and select Deinstall.

You can follow this topic, this one and mainly this one for more informations and detailed guide ;)

Sunday, November 20, 2011

[Did You Know?] N9 includes Lower Power Consumption feature on screensaver?

Yes, Low power consumption meaning N9 turns screen off when it is covered, for example in a bag or your pocket ;)




Sunday, November 6, 2011

[MeeGo Harmattan] [How to] Explore, Edit, Replace System Files And So On

Well, it's not much different from what you did with your N900, but here's how :


  1. You need an SSH client on your computer as on the earlier tutorial. A free SSH client WinSCP is one of the popular softwares for Windows. WinSCP provides both the Remote Terminal access to the N9 as well as the File Transfer GUI. You can download WinSCP from here.
  2. Turn on the “Developer Mode” in your Nokia N9 by going through - “Settings > Security > Developer mode” - and turn on the “Developer mode”. You don't have to install other items in Developer Mode and just leave the interface. After turning the Developer mode on you should see two new icons on your home screen “Terminal” and “SDK Connection”.
  3. Open “SDK Connection” on home screen and tap “WLAN” to see what’s the IP address, N9 has been assigned on the network. Note this IP address. You don’t need to note any thing else in SDK Connection other than the IP address.
  4. On your Computer, run WinSCP. Give the IP address of N9 in “Host name”. User name is “root” and Password is “rootme”
  5. That’s it. Click Login to initiate the SSH connection with Nokia N9. – Accept any private key notifications on first time connection.

If the step 4 didn't work, do the following :

- On N9 open terminal and run:

Code:
devel-su (password is rootme)
passwd user (and enter some password)
Then on WinSCP ssh in as 'user' (Instead of "root") using the password you just set (instead of "rootme").

Sunday, September 11, 2011

Battery Patch For Non KP Users

This Patch as stated here will Improve The Battery Life Of Your N900 Using Dbus-scripts (Non-kp) Means non-kernel-power, For People Who Have Troubles With OverClocking

It Will Not Increase The Continues Usage Time, But It Will Increase The Standby Time About 3x.

Speed Patch !

As stated here, The CFS (completely fair scheduler) in our phone's kernel manages the allocation of resources (cpu/mem) between tasks.

It was designed to cope with server-class machines such as web servers and databases, giving all tasks equal access to resources. This means if a server is really busy, then all tasks on the machine slow down equally.

Desktop/mobile class machines shouldn't work the same way as servers though. They have a human user who expects the machine to respond and give feedback within a certain time. If a machine is slow to respond, the user loses some sense of control over the machine.

This patch addresses the problem by taking note of what the user is doing right now, and using that information to accelerate the current task, and decelerate other tasks on the system. The user won't notice the background stuff going slower, they will just see their app working fast.

The patch does this by creating multiple classes of task
-------------------------------------------
/dev/cgroup/cpu/tasks
/dev/cgroup/cpu/desktop/tasks
/dev/cgroup/cpu/applications/tasks
/dev/cgroup/cpu/applications/standby/tasks
/dev/cgroup/cpu/applications/launcher/tasks
-------------------------------------------

If you look at the contents of these files, you'll see the process IDs of all the tasks in each class. CPU and memory are shared out to these classes using the files "cpu.shares", and "memory_limit_in_bytes". When lots of tasks are demanding CPU/memory at once, the resources are handed out to tasks depending on their share.

This is why your phone feels nicer when you have this patch - the kernel automatically classifies tasks and devotes more of cpu/mem to the "application" and "desktop" class tasks, and much less to other classes like "standby".

Friday, August 26, 2011

[HOW TO] Have an Interactive Yahoo Weather on your N900 lock screen !

 Don't you want you're weather informations on the lock screen as i do? Hell yes (thanks to Alfred )!


Here's how to do it quickly in 6 steps ;)

1) Install imagemagick from extras or in X-terminal :

Code:
apt-get install imagemagick
2) Install wget (if not already done)

Code:
apt-get install wget

3) After installing imagemagick, the folder "/home/user/imagemagick" should appear, if not create it.

4) Place everything that contains this archived folder in /home/user/imagemagick/ folder.

Edit the script weather.sh (via txt editor for example) and change the URL of yahoo forecast city by yours :

Code:

http://weather.yahoo.com/morocco/greater-casablanca/casablanca-1532755/?unit=c
Ps : in yahoo forecast page you can also choose between Fahrenheit and Celsius.

5) Run following commands in Terminal :

Code:
root
chmod 777 /home/user/imagemagick/*
6) Run this script by executing:

Code:
sh /home/user/imagemagick/weather.sh
You're done !

7) If you want to make this script run automatically, install Alarmed. Make a "New event">"Command execution">Select frequency of how often do you want to update it>Enter Name> in the command field put this:

Code:
sh /home/user/imagemagick/weather.sh
Note : You need an internet connection for "weather.sh". The first run of this script must be followed by a reboot, in order to load the new slider.

And of course, you can play with colors and fonts. If you look into the script, you will find what and how to change. It's very easy. There is also a folder with some free fonts, so feel free to use them.

It's interactive as the background changes, depending on the current temperature. If it is below zero, it chooses "winter.png" as background. If it is above zero it chooses "summer.png" and if it IS ZERO, it chooses "background.png" as a background image.

If you want to reset everything back to normal, just choose another theme from desktop, and then again the theme you want. Everything will be back after a restart. 

Wednesday, August 24, 2011

[How To] Boost Your N900 with Speed & Battery Patch !?

Hello folks,

It's been a long time i wished to post about it, and here i am with some free time to do it :

- The first tweak (speed) improves the hildon-desktop : faster multitasking , faster contacts scrolling , faster images scroling and basically every thing will be improved

- The second tweak (battery) will change The VFS Cache Pressure value :
To 10 when locked the screen or the system is inactive and 100 when the screen is unlocked or the brightness is on, this will make us have a long standby usage because of vfs=10 and a long continues usage because of vfs=100
 


- Download speedpatch.tar.gz and speedpatch-install.sh.txt 

- Paste Both Files in /home/user/MyDocs

NOTE : MyDocs is Not Documents it is the default root folder of N900 like : Nokia N900/

- Open xterminal and write:

sudo gainroot

apt-get install bash

cd /home/user/MyDocs

bash speedpatch-install.sh.txt


- Then REBOOT when finished everything

PS : Ignore Any Errors appear about device resource busy or any others

********

* To check if Speedpatch was installed :

cd /dev/cgroup/cpu/user/

if no problem appeared about (no such file or directory) then you are fine


********

* Uninstalling speed patch

- Download speedpatch-uninstall.sh.txt

- Save it in /home/user/MyDocs

- Open xterminal and write:

sudo gainroot

cd /home/user/MyDocs

bash speedpatch-uninstall.sh.txt

- Then Reboot


********



- Download betterypatch.tar.gz  and batterypatch-install.sh.txt

- Paste Both Files in /home/user/MyDocs

NOTE : MyDocs is Not Documents it is the default root folder of N900 like : Nokia N900/

- Open xterminal and write:
sudo gainroot

apt-get install dbus-scripts kernel-power-settings

cp /home/user/MyDocs/batterypatch-install.sh.txt /home/user/batterypatch-install.sh.txt

chmod +rwx /home/user/batterypatch-install.sh.txt /home/user/batterypatch-install.sh.txt


********


* To check if Battery Patch was applied :

sudo gainroot

echo 1000 >> /proc/sys/vm/vfs_cache_pressure

Then lock the phone and unlock it

Then

cat /proc/sys/vm/vfs_cache_pressure

you should see 100

If so then the patch is applied !


********



* Uninstalling battery patch

rm /opt/scripts/cpu_sleep.sh
rm /opt/scripts/cpu_normal.sh
rmdir /opt/scripts
kernel-config load default
kernel-config default default
rm /home/user/.kernel/custom-karam
rm /etc/event.d/dbus-scripts-session
rm /etc/dbus-scripts.d/dbus-scripts-settings-by-karam



For all other related tweaks and benchmarking, technical informations or questions, bugs or suggestions, follow the original topic ;)

Thursday, August 18, 2011

[How To] install deb files on the Harmattan N9/N950 !


Installation via Terminal

- Enable "Developer Mode" (Settings-Security-developer mode)

- "Installations allow strangers from sources" (not Ovi) activate (Settings-Programs-installations)

- Open Terminal

- ssh root@localhost – enter

- Password: rootme

- dpkg-i filename.deb


Installation via Program Manager 

A simpler method is the integrated program manager. Since currently no file browser on the device is located (I recommend the File Manager to install)

Either you send the file via email or you load it via the browser. A simple click is enough and the program is installed properly.