Monday 15 December 2014

Install Bumblebee on Ubuntu 14.04

Bumblebee is a great tool to manage hybrid graphics on linux distribution(NVIDIA users). It switches the discrete graphics off to save battery in a smart way and turns it on whenever required. In this way it saves a lot of battery power. In my previous post i provided the steps to install bumblebee on Ubuntu 12.04. But on Ubuntu 14.04 its different and very easy as compared to older ways. The steps given on ubuntu wiki website are enough to achieve that. And the steps are :

  1. Enable the Universe and Multiverse repositories - you need to do this to allow the bumblebee and nvidia packages respectively to be installed.
  2. Enter the following command in the termianl
    sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
  3. Reboot 
Simple! Now you can observe that your fan is not running very fast and battery backup has increased.

Tried On : Ubuntu 14.04 , Dell N51110 , NVIDIA GT 525M
May Also work with : Ubuntu 14.04 ,any laptop with NVIDIA graphics card.

Wednesday 8 October 2014

Can't save recurring events in Google Calendar on Android phone : Solution

Problem : I am using Cyanogenmod with Android gingerbread. Google Calendar version 2.3.7 is installed in my Samsung galaxy pop (tass). Whenever i create a recurring event in the calendar, it just disappears after saving the event.

Solution 1(recommended):
1. Install aCalendar app on your android device and make sure your google calendar is in Calendar list shown in aCalendar-->menu-->more-->Calendar list.
2. Create recurring event using aCalendar.
3. Open aCalendar menu-->more-->Synchronize.
Thats it, your recurring event should reflect in the google calendar too.

Solution 2: 
1. In case of recurring event create it using a desktop browser at https://www.google.com/calendar/.
2. In your android phone go to Settings ---> Applications --->Storage Use ---> Calendar Storage ---> Clear Data.
3. Turn on sync and let the calendar sync. 
After a while u will see your recurring event appear on your android calendar.

If you need to add another recurring event, you will have to repeat the whole procedure from step 1.

Tried On : Samsung galaxy mini gt-s5570 aka tass with gingerbread (rooted) 
May work for : Any gingerbread phone with google calendar 2.3.7

Sunday 31 August 2014

2nd partition automatically converts from FAT to EXT3 problem - Solution

Recently i encountered a problem which is explained as follows. I format my sdcard's second partition to FAT32 (with mini tool partition wizard) and insert it into my phone for LINK2SD purpose. But it does not recognize my second partition. I check my sdcard again on mini tool partition wizard and the second partition has magically turned into an ext3 partition. And because Gingerbread+LINK2SD do not work with ext partitions, it creates trouble.

Whatever be the cause of that, here is a simple solution :
1. Insert your memory card into your pc with help of a memory card adapter.
2. Download , install and run mini tool partition wizard.
3. Backup important stuff from your sdcard.
4. Delete every partition on your sdcard and click apply.
5. After that recreate your desired partitions. This time it won't revert to ext3.

Tried on : Sanmsung galaxy min S5570 (tass), Gingerbread, link2sd, minitool partition wizard
May work for : Any android phone

Thursday 8 May 2014

First thing to do on your rooted GT-s5570 phone

You can do anything with your phone after you root it. Here is a list of tasks one should perform as soon as he roots his Samsung galaxy mini GT-s5570 :
1. Install Link2SD to save your internal memory for more apps. you can google for better tutorials.
 But this step is a must if you want to avoid the most annoying "insufficient storage available" error.
In Link2SD settings select default install location to "internal" and enable auto linking of apps.
Don't link the apps to the ext partition without which your phone cannot live.
2. Try RootAppDelete to uninstall apollo , gallery or any app which came with cyanogenmod and install your favourite music or galley app instead.
3. Try Swapper for root. (for me it works on FAT , not on ext partition)
4. Dont Try Greenify or any battery or memory saving app. It eats up your battery and speed instead.

Intall cm-11-20140427-NIGHTLY-tass.zip on Samsung Galaxy mini GT-s5570

This is at present the best cyanogenmod 11 build for the phone by jenkins.
Here are the steps to install it.
=> you should have cwm 6.0.4.8 installed on your phone. to install this cwm you are advised to read this whole tutorial also.
1. Download cm-11-20140427-NIGHTLY-tass.zip.
2. Place it in the memory card.
3. Reboot into CWM recovery mode by pressing and holding HOME+POWER buttons simultaneously.
4. Select "Wipe Data/Factory Reset -> Clean to Install a New ROM. Let it finish.
5. Wipe Cache Partition.
6. Install Zip -> Choose zip from /storage/sdcard -> select cm-11-20140427-NIGHTLY-tass.zip to install. Let it finish.
7. Reboot system Now.
Its done. The Camera and everything should be working fine now :)
Next you need to flash the gapps.

Install cyanogenmod 11 (kitkat 4.4) on samsung galaxy mini GT-s5570

This post is a part of my tutorial Install Android Kitkat 4.4.2(cyanogenmod 11) on Samsung Galaxy mini GT-S5570 (Camera and video recording also working) and should not be followed as a standalone tutorial to install cyanogenmod. Complete steps should be followed from the above link. You can continue if the above link has sent you here. This tutorial is about intalling this ROM into the phone. Here are the steps :
1. Download the ROM here. Details about the ROM are given here. Place the downloaded file in the sd card (not in any folder inside sd card)
2. Do a Nandroid backup! (not compulsory if you have backup up of all important stuff like contacts and apps plus you dont mind about other things getting lost like wallpaper, configurations, OS etc.)
What is a nandroid backup?
3. Turn off the phone (remove data cable) and enter the CWM recovery by pressing and holding HOME + Power keys.
4. wipe data/factory reset + wipe cache partition
5. Select install zip from sd card. When prompted, select the downloaded file to install.
6. Reboot Phone normally. (On booting first time, your phone may take 4-5 minutes to boot)
7. Your phone should now boot into android kitkat (camera not yet working).
8. Open up your phone menu and if you can find the app called "Terminal Emulator" you are successful following this tutorial. :)
Now you can go to next step updating cwm to version 6.0.4.8.

Wednesday 7 May 2014

Update cwm 4.x.... to 6.0.4.5 on galaxy mini GT-s5570

To update your old clockworkmod recovery to 6.0.4.5 on galaxy mini GT-s5570
1. Download cwm recovery 6.0.4.5 from http://www.mediafire.com/download/i3cs3w9exmaswgq/tass-6.0.4.5.zip.
2. Place downloaded "tass-6.0.4.5.zip" in your memory card (don't place it inside a folder, place it openly in sd card)
3. Enable USB debugging.
3. Remove data cable from phone. Reboot into recovery by pressing and holding Home+Power buttons simultaneously.
4. On recovery mode, Select Install from SD card option using volume and home button & install this latest 6.0.4.5 recovery.
Thats all!

Tried On : Samsung galaxy mini gt-s5570 aka tass with gingerbread (rooted) with this cwm 4.xx already installed.
May work for : No other phone

Root Samsung Galaxy Mini GT-S5570 | Gingerbread


Credits : Contents of this post are totally inspired by http://rootmyandroid.org/root-samsung-galaxy-mini-gt-s5570-froyo-gingerbread.html but it needed a little correction plus i wanted to provide abridged version of it. This tutorial tells about rooting the phone which already has gingerbread installed. For froyo , check the above link because i have not tried those steps).so here i go :

1. Backup important contents of your phone.

You can use Super Backup app for the purpose. This app keeps the backup on the sd card in a folder by the name "smscontactsbackup" and keeps it safe. You can also copy the backup to your Computer.

2. make sure that your phone is charged at least 90% so that it does not goes off in the middle of the rooting process. Also be sure that your computer is set off with the antivirus and firewalls, the cable with the specific drivers must be ready. Get USB Drivers for Samsung Galaxy Mini GT-S5570(Windows 7) (direct link). For windows 8 you can try http://forum.xda-developers.com/showthread.php?t=2038555.(I have not tried it on windows 8)

3. Set Debugging Mode on through Settings>Developers and then check the box.
4. Download the required files
   download here. transfer this file to your SD card and do not keep this in any folder but straight away in the SD card.
5. Turn off your phone and got to recovery mode by pressing the HOME+POWER BUTTON simultaneously.
6. Choose “Apply update from SD card”.
7. Use the volume rocker for navigation.
8. Choose the zip file you downloaded
9. wait for it to finish.
10. Your phone will automatically reboot. If not, reboot it yourself.
Done! now you have rooted your device.

Tried On : Samsung galaxy mini gt-s5570 aka tass with gingerbread 
May work for : No other phone

Is it safe to root your android Phone?

When i was doing it for the first time i was also worried about it so much. I googled hard. I found that only 2% of the careless people who are doing it for the first time get their phone bricked. Bricked phone means the phone is now as useful as just a brick ( It does not boot at all) . I did it for the first time safely, no issues were faced. However if the phone is switching on but not booting completely, it can surely be corrected. So in my opinion it is safe and worth doing. Don't do it only if you don't like geeking around and you are so damn careless. :) happy rooting.

Monday 5 May 2014

Install Android Kitkat 4.4.2(cyanogenmod 11) on Samsung Galaxy mini GT-S5570 (Camera and video recording also working)

This is a completely working guide to install CyanogenMod 11 (Android Kitkat 4.4.2) for ONLY samsung galaxy mini (tass) (GT-s5570).
Read this if you are confused :Is it safe to root ?
Trying this on any other phone (even s5570i) may cause harm.
I am using the custom ROM from http://jenkins.androidarmv6.org/. My method is a little complicated and long. It would be appreciable if someone provides equally reliable and shorter method.
Here are the outlines of the method (Suitable for first timers also, just visit links corresponding to the steps).
1. Root your phone. (visit the link by clicking on "Root your phone" and follow it carefuly)
2. Install Clockworkmod version 4 from here. (No , iam not promoting that blog (http://rootmyandroid.org). I am just promoting valuable content.
3. Update your Clockworkmod version to 6.0.4.5. ( download cwm 6.0.4.5)
4. Download and Install Cyanogenmod from here. Details about this release are here.
Here are the steps to install cyanogenmod 11.We installed this cyanogenmod only to get access to terminal emulator in order to update to cwm 6.0.4.8. You can try installing terminal emulator, just after you rooted your phone(just after step 1) but i am not sure about that method.
5. Download and install cwm from here. Directions to install are also given in the link. Just install the recovery, aromafm_tass is not required.
6. Install the Final best stable version of Cyanogenmod from jenkins (click this Direct link to download your required file)
All previous releases can be found at http://download.androidarmv6.org/_builds/tass/
How to install this final version of cyanogenmod?
7. Install gapps suitable for this ROM and your phone. Go to the link and follow the installation instructions. This is the ultra stripped version for the phone and the ROM which means minmal google apps. If you need some more google apps you can download them from the play store easily. As the author of this package of gapps has said, "Important no flash this with the rom, first flash rom, turn on the phone for the first time, and then reboot to recovery and flash this zip."

First thing to do on your rooted GT-s5570 phone?
End of story :).
If you get this error on phone, just reboot it manually. It actually happens when your phone switches off abnormally.
Also for instant speed results on your phone perform these simple tricks :
1. Enable Developer options in kitkat
2. Disable animation effects
3. Visit performance options in the settings to overclock or underclock the CPU. Yes it is in built within the ROM you just installed. (set it on boot while overclocking or underclocking) . Max. 768 MHz suits best for me without random reboots. Set minimum to 122 MHz and enjoy better battery life.

Note : Never reset your phone through android settings with this ROM, It leaves it unusable and you may need to reinstall the ROM.

Tried On : Samsung galaxy mini gt-s5570 aka tass with gingerbread (was not rooted before all this)
May work for : No other phone

Sunday 6 April 2014

Connect two computers through lan wire for file transfer


Tried On : Windows 7 and 8.
May Also work with : Windows Vista

So you have huge amount of data to be transferred from one computer to another? You can do it easily with a lan wire/ ethernet cable at >10MBps. It is very easy to do it without any third party software like ip messenger. Here are the steps to achieve this :

Requirements : You don't need internet at all just a Ethernet cable and two computers .
Procedure :
1. Go into your Network and Sharing center and make sure all of the options for sharing are enabled on both computers.
2. On the computer that has the files, go into where the file location is and then right click it and choose "Share With" then click "Specific people", at the top is a drop bar click it and choose "Everyone" then when its there click the Add button, then choose "Read/Write" in the drop bar, it initially will say just "Read". Now your file will show up in the proper folder when you chose that computer later. Make sure you do this step with each file you wanna share.

3. This is the important part cause in the end you can turn this function on or off if you decide you don't wanna be sharing anymore.

Windows VISTA. Go into Network and Sharing center and at the bottom disable "Password Protected Sharing".
Windows 7/8 : Go to the same area Network and Sharing and on the left "Advanced Sharing Setting" click and find the Less word Protected Sharing option and disable.

4. Now hook up both computers directly to each other with the Ethernet cable and wait for the receiving computer to recognize the connection.
5. Now go and disconnect your receiving computers "WiFi" connection and make sure after that your still connected to your computer however, you should still be connected, so then after the connection is off it will only receive connection from your sending computer
5. Then inside network and sharing click on the left option Computers and Devices. Click the name of your computer that's sending and just click the appropriate folders idk where you save your stuff so just go through the folders and choose the file you "shared with everyone" and copy and paste it to the folder you choose.

Now it should be transferring faster than 10mbs, if its not and its only going like 500-800kbs then that means both computers aren't using the manual Ethernet connection and trying to do it through WiFi but thats why you have to shut the WiFi off or disconnect from the WiFi network on the receiving computer cause it makes a DRASTIC difference.

Sunday 16 March 2014

Bumblebee : The best way to disable discrete Nvidia graphic card on every startup Linux

GUI interface for Bumblebee
Screenshot of Bumblebee-ui
This is also the first and best step in order to increase battery life of your Laptop (only for laptops with Nvidia Graphic card and Ubuntu 12.04 or later, you may try for other linux distros ). This post will teach you how to disable discrete graphics at every startup automatically (without any crashes and freezes). But first i have some facts about this phenomenon here, if you're not interested in facts just move to the "Solution" section at the bottom of post.

Problem :
When we use any Linux distribution, we observe that the battery gets consumed very fast. But is this the case with Linux only ? NO, WINDOWS ALSO BEHAVES THE SAME UNLESS the dedicated graphics driver is installed. You can verify it by installing the intel integrated graphics driver only and not installing dedicated graphics driver. Your fan will run fast and battery backup will be very low.
It all happens because we do not install the dedicated graphics driver and both graphic cards (intedgrated and dedicated) remain turned on , thus consuming more battery (as if you're playing a high end game). Solution will be to turn off the discrete graphics card at every startup of linux. For windows users its simple (just install the Nvidia graphics driver from the official website). But on Linux its complicated.

Stats :
I noted down some readings showing battery percentage left vs. battery backup time in various situations.
On Fresh install of Ubuntu 12.04
Percentage Time Left (min.) Percentage/Time Left(min.)
       75.4 40.8 1.84
       74.5 44.3 1.68
       72 42.5 1.69
(Lesser the value of  Percentage/Time Left(min.) the better for us )
Somehow i turned the dicrete graphics card off with the following command as explained at http://planetoss.com/articles/how-to-disable-the-discrete-amd-graphics-card-in-linux/
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
(But don't edit rc.local to do this at every startup, your machine will start crashing and freezing at startup)
and the results are as follows :

Percentage Time Left (min.) Percentage/Time Left(min.)
     66 39 1.69
     65 66 0.98
     64 67 0.95

These results are what we need but this is not safe way to get it done, it causes freezes and crashes.
So , we have to move on to nvidia optimus technology (but only for windows). This technology is included in the drivers intself, and that is why you don't face the problem while using windows with these drivers.
Results after installing nvidia optimus on windows :

Percentage  Time Left (min.) Percentage/Time Left(min.)
       80 74 1.08
       79 116 0.68
       78 104 0.75
       77 72 1.06
Here are some solutions on other websites which failed for me

  1. http://planetoss.com/articles/how-to-disable-the-discrete-amd-graphics-card-in-linux/
  2. http://ubuntuguide.net/ubuntu-12-04-turn-off-discrete-graphic-card-on-boot 
  3. http://askubuntu.com/questions/166682/how-do-i-turn-off-the-discrete-card-on-boot-when-theres-no-option-in-the-bios
  4. http://rudrageek.com/hybrid-graphics-card-system-in-ubunru-fedora-intelati-vgaswitcheroo/
  5. https://github.com/peberlein/acpi_call failed because There was no code for my laptop model,
    Also i advice that never edit your /etc/rc.local file , It definitely causes crashes one day or another.

Now the question is how to achieve the above Nvidia-optimus technology on linux ?
The solution is Bumblebee.
What is the correct way to install Bumblebee ?
It is given below :

Solution
This solution is for Ubuntu 12.04 onwards. However Ubuntu 13.10 officially supports Bumblebee.

Installation

Basic Setup

You need to open your terminal and enter the commands below.
If on 12.04.3, replace linux-headers-generic with linux-headers-generic-lts-raring.

  1. sudo add-apt-repository ppa:bumblebee/stable
  2. Enable the Universe and Multiverse repositories (for bumblebee and nvidia packages respectively).
  3. sudo apt-get update
  4. Install Bumblebee using the default proprietary nvidia driver for 12.04 - 13.04 :
    sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
    • And for 13.10 :
    sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
    Note : Keep an eye on the output of the above command. If at the end of output you are asked to run command with "--fix-missing?" , then do it.In my case i had to rerun the above command as :
    sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic --fix-missing
   5. Reboot.

This will by default run all applications with integrated graphic card, thus saving your battery by keeping discrete graphics card turned off.You can Select any app(game) to run on discrete graphic card easily.You can read and learn more about the usage of Bumblebee at Ubuntu Wiki.

However you might want a GUI interface for BumbleBee rather than entering commands again and again. So , here it is :
  1. Go to https://github.com/Bumblebee-Project/bumblebee-ui.
  2. Click "Download zip" at the right end of page.
  3. Extract the zip file in home directory.
  4. In the extracted folder, find the "INSTALL" file and run it with :
    sudo ./INSTALL
  5. Its done , now you can run it by opening the dash and searching for "bumblebee applications settings" and "Bumblebee-indicator".
  6. You may want to add Bumblebee-indicator to startup :
    Open the dash.
    Type "startup applications" and press enter.
    Press "Add".
    Enter any name you would like.
    In Command , click browse and select the file "/usr/share/bumblebee-ui/Bumblebee-Indicator.py".
    click add and its done.
Note : To uninstall Bumblebee-UI , run the UNINSTALL file located in the extracted zip file setup (in the app direcotry i.e. /bumblebee-ui-master/app/UNINSTALL) Just run it as :
sudo ./UNINSTALL

Update :  Ubuntu 14.04 users can install Bumblebee with help of this post.
Tried On : Ubuntu 12.04 LTS , Dell N51110 , NVIDIA GT 525M
May Also work with : Ubuntu 12.04 and later versions, any laptop with NVIDIA graphics card. 

Wednesday 19 February 2014

Running 32-bit eclipse ADT in 64-bit ubuntu 12.04

Here are the steps to safely install Android SDK on ubuntu 12.04 and avoid any errors.
1. Install eclipse Android SDK on 64-bit linux as directed                   at https://developer.android.com/sdk/installing/index.html.
Now eclipse will run fine but when we try to launch AVD emulator it may throw an error :
Cannot run program “ xx/sdk//tools/emulator”: java.io.IOException: error=2, No such file or directory
Info :
This is very common on 64-bit linux with a very simple solution.
mentioned at https://wiki.debian.org/Multiarch/HOWTO
solution according to them is :

Installing Android SDK compat libraries


Some users using the Android SDK might encounter problems when trying to run build-tools or platform-tools on amd64 bit platform. As replacement for ia32-libs, users should be fine just installing the following libraries:
dpkg --add-architecture i386
aptitude update
aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
 But this is not the solution for ubuntu 12.04 users
 because "--add-architecture" is not supported with the dpkg version (1.16.1.2 (amd64)) supplied with ubuntu 12.04. Thus we have to do the same thing in another way. Here is how :
Solution :
make sure the only file present in /etc/dpkg/dpkg.cfg.d/ is "multiarch"
ls /etc/dpkg/dpkg.cfg.d/
if output is multiarch, execute the following commands as it is else replace "multiarch" with the name of file present in that directory.
sudo sh -c "echo 'foreign-architecture i386' > /etc/dpkg/dpkg.cfg.d/multiarch"
The above commands will add i386 architecture (alternate command to "dpkg --add-architecture i386") . The rest commands are the same (you can use aptitude instead of apt-get if you have aptitude installed)

sudo apt-get update
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 
 Run the above commands and you're done! The emulator should work fine now.

Tried On : Ubuntu 12.04 + eclipse+ADT Build : v22.3.0-887826
May also work on : Ubuntu 12.04 and later versions , but note that for versions later than 12.04 , the first official solution mentioned in this post is easier.

Sunday 16 February 2014

Creating GUI applications with C++

Are you the person who has struggled enough in console programming (using cout, cin functions) and developing logics. But somewhere you want to develop Graphical user interface to start making your softwares for common people using linux or windows (any). For this you actually need a GUI library to work with. There are plenty of free portable GUI libraries, each with its own strengths and weaknesses:
We have got numerous reasons why we should use qt creator. You can search them on google. So lets get going with Qt creator.
Get Qt-creator
For Windows : 
1. Go to this and download Qt for windows. (There are two versions of it , one for Visual basic developers and other who want to work with minGW compiler.
2. After downloading , install it simply by double-clicking on the file.

For Ubuntu :
1.  Go to this page and download Qt for linux. (you should know whether your installed linux is 32 bit or 64 bit)
2. Open a terminal. In Gnome the terminal is found in Applications>Accessories>Terminal or just press ctrl+alt+t
3. Navigate to the directory of the downloaded .run file . For example, I have mine on the desktop so I would type in "cd ~/Desktop" and press enter.
3. Type "chmod +x example.run" (press enter).
4. Now type "./example.run", press enter, and the installer will run. 5. After installation open the terminal and run the following commands :
sudo apt-get install mesa-common-dev 
sudo apt-get install freeglut3 
sudo apt-get install freeglut3-dev 
sudo apt-get install glut3  
sudo apt-get install glut3-dev 
sudo apt-get install libglut3 
sudo apt-get install libglut3-dev 
sudo apt-get install libglu1-mesa-dev
Congrats! you have installed qt creator for ubuntu. To learn working with qt there are many tutorials available online . You can search for a torrent of Prentice Hall C++ GUI Programming with Qt4 2nd Edition
Tried On : Ubuntu 12.10 , windows 8 and Qt 5.0.1
May also work on : Any other versions of the above and any linux distribution.

Friday 14 February 2014

Easily solve "windows could not start remote access connection manager error 1068"!!

Sometimes while creating an internet connection on windows an error pops up all of a sudden and annoys you for hours. The error is : 
 windows could not start remote access connection manager error 1068
 Here is a quick and promising one line solution :
JUST RENAME "RtBackup" FOLDER at C:\Windows\System32\LogFiles\WMI\RtBackup.

Here are the detailed steps :
1. Download and install unlocker.
2. Go to folder C:\Windows\System32\LogFiles\WMI\
3. Use unlocker to rename folder "RtBackup" to "RtBackup2".
thats it!

Unlocker is just a medium to rename the folder in case windows does not allow to rename it (always). If you have another method to rename such locked folders, you can do it your way.

Tried On : Windows 7
May work for : Windows 7, windows 8, xp

Saturday 8 February 2014

Tips for Linux+windows8 dual boot users

So you are using your favourite linux distro in dual boot with windows 8 and you put your stuff in an NTFS partition and access it from both the OS? Here are some things to consider in order to stay out of troubles.
Problems you may face are :
1. Windows frequently keeps asking me to reapair NTFS partition. Once i repair it, the problem occurs again after a few days.
2. While using linux OS i can't see some files and folders on my NTFS partition which actually exist on the NTFS partition. They can be accessed while using windows but linux fails to show them in the partition.

Info :
This basically happens because of Windows 8 "fast startup" feature. You can google it for more information. Linux cannot handle this perfectly which results in all the problems. Also for unknown reasons the NTFS drive gets split in peculiar way as shown in figure.
windows8dualbootntfs

This is a snapshop of linux /media directory. Here 01CD1F0FE77B9960 is the name given to a NTFS partition which has 4 variants here : 01CD1F0FE77B9960, 01CD1F0FE77B9960_, 01CD1F0FE77B9960__, 01CD1F0FE77B9960___. This is the cause for second problem. Because you may be looking for your file in "01CD1F0FE77B9960" but it may be residing in "01CD1F0FE77B9960_". I guess the reason is that when linux writes to a NTFS partition it creates a different variant for it by putting an underscore to its name.
Solutions :
For Problem 2 : It is clear that your files and folders are not lost, they are at a different location .
Therefore just look for your desired file or folder in all the variants as described in "Explaination" section.
You may want to merge the variants of the partition.
For example you have four variants in the /media directory :
01CD1F0FE77B9960, 01CD1F0FE77B9960_, 01CD1F0FE77B9960__, 01CD1F0FE77B9960___
1. Backup the contents of 01CD1F0FE77B9960_, 01CD1F0FE77B9960__ and 01CD1F0FE77B9960___ into 01CD1F0FE77B9960.
2. Move 01CD1F0FE77B9960_, 01CD1F0FE77B9960__ and 01CD1F0FE77B9960___ to trash.
Thats it! At present NTFS splitting problem does not seem to be preventable, you can just cure it time to time.
Tried On : linux kali 1.0.4 + windows 8 dual boot
May work for : any linux distro + windows 8(or newer) dual boot

Featured Post

PHP EmailMessage class for extracting attachments

Hi, recently I had to create a php program which fetches emails with attachments (including inline). I searched a lot and succeeded with h...