Showing posts with label Meego-Harmattan Hacking. Show all posts
Showing posts with label Meego-Harmattan Hacking. 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

Saturday, March 31, 2012

[MeeGo Harmattan] [How to] Overclock your N9 !

- Install inception, and everything on the original site including opensh and aegisctl

- Download modules and copy them to to MyDocs


- Run these commands:

opensh
cd MyDocs
cp *.ko /lib/modules/2.6.32.48-dfl61-20115101/
/usr/sbin/aegisctl -k
/sbin/insmod/ /lib/modules/2.6.32.48-dfl61-20115101/symsearch.ko
/sbin/insmod/ /lib/modules/2.6.32.48-dfl61-20115101/opptimizer.ko
echo 1100000000 > /proc/opptimizer


 - Done ! That will give you 1.1Ghz. Be care !

Credits !

Sunday, March 18, 2012

[MeeGo Harmattan] TweakUp your media sharing experience !

As you know, due to the aim of getting the N9 DLNA-certified, developers had to introduce some restrictions.

One of the most annoying limitation from an end user point of view is that you can’t share arbitrary videos or music which you may have put on your device.

Another, though minor, issue is that it’s not possible to change the name shown in UPnP or DLNA clients on the network.

If your phone is on PR1.2, TweakUp enables you to tweak some of the N9's media sharing options, such as


- Enabling/disabling audio transcoding
- Setting the name of the device on the network
- Sharing of all media files, even those without DLNA profiles
- Enabling/disabling uploading
- Setting a home access point


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 !

Monday, March 5, 2012

[MeeGo - Harmattan] YouTube Video Feed : YouTube Feeds on event screen !

YouTube Video Feed. YouTube Video Feed allows you to have your chosen video feed publish to the event feed. You can choose from
  • Latest subscription videos (requires sign in)
  • Search query
  • Standard categories



Currently, tapping on one of the feed entries will take you to the mobile web page, from where you can play the video as per the usual method. I may add an option to play the video directly in the stock player.


As soon as you installed this add-on you find a new entry in Settings/Notifications/Feeds/YouTube Video Feed.The first thing you should to do, is sign in to your account - if you have one. Use the option "YouTube account" to sign in and allow the application to use your account informations. Afterwards select "Feed Settings" to choose preferences. The choice is pretty big - there are different categories of videos like Cars & Vehicles, Comedy etc,videos by search or subscription videos (requires account)


Try it !

Wednesday, February 29, 2012

[MeeGo Harmattan] MediaKeys : use the volume keys to control music player !

MediaKeys allows you to use the volume keys to to pause/resume a song, and to skip to the previous or the next one (only with the default Music app).



You can switch between volume keys and media keys by pressing both VolumeUp and VolumeDown at the same time or from the GUI. From the GUI you can also set the multimedia function for both keys.

With version 0.2.0 was added the long press recognition, so you can use a short press to change the volume and a long press for multimedia actions.

[MeeGo Harmattan] 2G3G : switch quickly between 2G, 3G or Dual mode !

2G3G is an application to switch quickly between 2G, 3G or Dual mode

By default, the application switches between 2G only and 3G only, so if the current mode is Dual the application will do nothing.



If you want to switch between 2G and Dual mode you have to set the GConf key '/apps/2g3g/mode2' to "dual" with this command

gconftool-2 -s /apps/2g3g/mode2 -t string "dual"

The GConf keys are '/apps/2g3g/mode1' and '/apps/2g3g/mode2', and the possible values are "2g", "3g" and "dual"

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 29, 2012

[MeeGo Harmattan] Camerra Hack : Use "Volume +" as Camera Shutter button !

A new hack by : Use "Volume +" as Camera Shutter button When this application is running, it will monitor the state of your "Volume +" hardware key and (when the camera application is running in the foreground) on press click on the on-screen shutter button. Cool for self-portraits


Download it !

Friday, December 30, 2011

[MeeGo Harmattan] Incoming Call UI MOD !

Incoming Call UI MOD (mainly) make the Incoming Call Avatar much larger !



Installation:

1. Download and using PC, extract zip into root directory of device via USB Mass Storage

2. Open Terminal app and type:

Code:

devel-su
rootme  [root password, default is shown]
sh /home/user/MyDocs/phoneuiMOD-install.sh
3. Device will automatically reboot.


Removal:

1. Open Terminal app and type:


Code:
devel-su
rootme  [root password, default is shown]
sh /home/user/MyDocs/phoneuiMOD-remove.sh
2. Device will automatically reboot.


Changelog:

Version 1.1 (30/12/11)

- Enlarged Answer & Reject buttons

- Adjusted position of avatar, buttons and labels



Version 1.0 (30/12/11)

- Avatar is now 470 x 470 pixels, up from default size of 64 x 64 pixels

- Rearranged buttons to accommodate larger avatar


Download Current Version

V 1.1 (30/12/11)



Please, Support Development

[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 !

Saturday, December 24, 2011

[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.

Monday, December 19, 2011

[MeeGo Harmattan] Clock Widget : Live clock icon !

After Calendar and Ip Address widgets, it's time for the clock widget ! Yeah !

Look at the hour on the top right side and compare it with the clock on the icon, it's dynamic !

Warning : it may drain the battery as it updates every minute ;)

Seen over here ;)

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 ;)

Wednesday, December 7, 2011

[MeeGo Harmattan] IP Address Widget !

Based on experiments with the Calendar Icon Hack, IP Address Widget takes the concept one step further and provides a "Widget" for your Harmattan (N950/N9) application screen that shows your current IP address(es). If you click on it, it will automatically update itself (it takes about two seconds), but that's still easier than firing up the Terminal and typing /sbin/ifconfig or playing with SDK icon on developer mode...


Download it !

If you have problems installing the .deb, please install the packages python and python-imaging (both are in the Nokia Repos) using:

$ devel-su
(enter the root password, usually "rootme")
# apt-get update
# apt-get install python python-imaging

If you are installing from the command line (with dpkg -i), you can use apt-get -f install after it to fulfill missing dependencies.

More infos and support also over here !

Tuesday, December 6, 2011

[MeeGo Harmattan] Calenderr : Daily updated Calendar app icon !

Calenderr is a simple hack to make the Calendar app icon always show today's date (day-of-month). The existence of calendar icons for each day (1-31) in the theme on the device lets suspect that this feature was either planned and then abandoned or that it will come built-in in some future firmware.


put calendarhack.conf in /etc/init/apps directory (see the comment inside)

put calenderr.sh in /home/user folder  (see the comment inside)

Or simply try this (verified) *deb  file !

More to read (support) over here !