How to flash a custom firmware on your Netgear WNDR3700v2

If you’re on the stock firmware it should be easy, you can most likely use the web interface to upgrade the firmware. Just upload your file and press upgrade..

If you’ve already flashed a custom firmware on your router or if the web interface won’t work, you’ll most likely have to use tftp. I will explain how to do this in OSX but the procedure on the router will be the same no matter the OS you’re using on your computer. The tricky part is to send the file through tftp to your router at the right moment.

1. Download the firmware you want to install, put it in your home folder /Users/yourname/

2. plug the computer into LAN port 1 on the router
set the the computer to a static IP of 192.168.1.2 in system->network->”Using DHCP with manual address”

3. Open the terminal and type:
tftp 192.168.1.1
press enter

4. In a text document copy and paste the code below and change your-firmware.img to the file name of your firmware. Now copy the entire code including the empty line break beneath the code and switch to the terminal (do not paste the code yet)

binary
rexmt 1
timeout 60
put your-firmware.img

 

5. Now go to your router and turn it off by pressing the button on the back side.
Take a needle or whatever you can use to push the reset button on the bottom of the router and be prepared to press the button. Power on the router again. First the power led will light up and then all the lights should blink at once. When they do, press the reset button and hold it until the Power LED begins to flash orange and then tirm green. Now release the reset button and go as quickly as you can back to your computer

6. paste your code in the terminal. It should execute by itself since you copied the line break beneath the code. You only have a few seconds to do this or the router will boot up like normal so be quick. If it works you should see something like this

Sent 1563564 bytes in 8.0 seconds

7. If it was successful the router will now write the image which will take a while. Just be patient. For me it took 4 minutes before the router started showing life signs again.

Now, as usual, I’m not responsible if you break anything.
All done.

infinity

I actually made something.

I actually made something. I realize I’m not unique in managing to create a progressive tune but hey, it came to mind..

[soundcloud url=”http://api.soundcloud.com/tracks/38432962″ params=”show_comments=false&auto_play=false&color=76b5b9″ width=”100%” height=”81″ iframe=”false” /]

Connect to vpn (pptp) through OpenWrt

Setup your OpenWrt router with a vpn-service. pptp, Strongvpn.

Using a vpn service is a great way of surfing the web anonymous or getting an ipadress from another country to access local sites and such.
I’ve used a couple of different vpn services like strongvpn.com, anonine.com and mullvad.net but I’m sure this works with other services as well. This is how I set it up with OpenWrt and It’s actually quite simple.

First off you need to install OpenWrt on your router. Check openwrt.org for supported devices. There are several guides for this so I won’t go in to it, you can check this link. So lets say you have openwrt installed. Follow the steps below to get your vpn service up and running.

1. Connect and login to your router (usually 192.168.1.1 if you haven’t changed it)
2. Go to System -> Software and click “Update list”Update package list3. Open the tab “Available packages” and search for luci-proto-pptp, click “install”
If everything goes well the last line under actions should be “configuring luci-proto-pptp”

Search and install package luci-proto-pptp4. Go to Network -> Interfaces and click “Add new interface”

Add interface 5. Choose a name for your interface. In this example we will go with “strongvpn“. Choose pptp as protocol of the new interface and submit.

create pptp interface

6. Fill out the fields with the appropriate connection information you need for your service as in the example below. Click “Save and Apply”Connection details

7. The vpn connection should now connect by itself. If the connection works you should se something like this. If it doesn’t connect, try “Advanced settings” and uncheck “enable buffering”. pptp connected

8. If all is well you should now have trouble surfing the web but don’t worry. You need to assign the interface to a firewall zone to make the connection work. Click “Firewall Settings” and check “wan”, Save & ApplyAssign firewall zone "wan"

All done! The connection should now work. To see if your ipadress and “location” has changed you can check strongvpn.com or ipaddresslocation.org

Install the latest Stock ROM SGS2

Hur gör jag för att uppdatera min Samsung Sgs2 till senaste versionen?

If you want to update your phone to the latest Stock ROM you have a couple of options. The easiest way is to see if you can update it with the OTA app (over the air) that is included on your phone. Check->Menu->Settings->About Phone->Software Upgrade. If it doesn’t work you can try Samsung KIES from Samsung (which most likely will not work atleast never for me). If none of those options work or if you want to update your ROM to the latest Unbranded Rom, you may follow this guide. As usual, I don’t take responsibility if you break anything. Also keep in mind that you might loose your guarantee.

sammobile.com is a good place to find the latest Samsung ROM Leaks for various Samsung Phones. If you want to download the latest version for your phone you will most likely find it there. Go to Firmware -> Firmwares -> Type:Smartphone ->OS:Android-> Model:i9100 Choose your region. To download you will have to register for free.

Why Upgrade?
It’s fun to have the latest ROM and a lot of other reasons like it’s better and stuff.. and because you can.

The steps
Download Odin 3 v1.85  (simple google search and you should be able to find it or a later version) and then download the ROM from sammobile as explained above and extract the files from the archive.

Power off your phone and then power it on again by holding the following 3 buttons simultaneously.

Volume-Down + Home (middle button) + Powerbutton. If you did it right you should find your self on a screen with the title ODIN MODE and the option of restarting or continue. Press Volume-Up to continue.

Now connect the USB-Cable to your phone. Windows should now try to install the drivers for you phone, just let it finnish. If the driver install fails you should check Samsungs support pages for the drivers to your phone. If it works, Odin should look like this:

Now add the appropriate files to flash as following:

PDA = point to the file with “CODE” in the name
PHONE = “MODEM”
CSC = “CSC”

Make sure only Auto Reboot and optionally. F.Reset Time are checked

Click Start and wait until you see a green PASS on the screen, your phone should now reboot and you’re good to go!

 

Explanation of common terms

This is an attempt to explain different terms used by the community. I’m going to keep the explanations short and I hope I’m right.

This is an attempt to explain different terms used by the community. I’m going to keep the explanations short and I hope I’m right. If I’m wrong, please tell me so I can correct it. Am I missing something? Tell me and I’ll try to add it to the list.

Bootloader
The bootloader is what tells your phone what to do when you power it on. If you would like to install to different ROMS on you phone, you would have to tell the bootloader which one to start. If you’ve played with multiple OS’es on you computer you might be familiar with Grub, or Refit?

CSC
Country Specific Code – This is just what it sounds like, it’s the location settings of your phone. Let’s say you buy a phone in Sweden with the CSC specific code “NEE” (Nordic countries) and later flash a custom rom with the CSC specifics of Russia “RUS”, you will have some explaining to do if you turn you phone in for service..

Firmware
The firmware is the program/code that provides the phone with the control to run all it’s functions. Without the firmware your phone will not run.

Kernel
The kernel is the core of the firmware that makes your phone run. Using different kernels can make your phone behave very differently. You may have a kernel that makes your phone fly but instead drains the battery or maybe a kernel that makes the battery life very long but the phone slow. If your lucky the phone will be both fasst and have good battery life. If you phone freezes a lot it might be a faulty kernel.

Odexed/Deodexed
There are many high tech explanations of this but I’ll keep it simple, please correct me if i make a fool of myself.

DeOdexed – slower
Slower loading times the first time you start the apps after changes are made on your phone. It will fill the Dalvik Cache with Dalvik Executable (.dex) files. So every time you clear Dalvik cache, the loading time of each app will be slower. But the apps will be more more customizable for theming and such.

Odexed – faster
The phone will slightly faster, won’t fill Dalvik cache but it will be less customizable. A normal user will probably not notice the “customizable” difference but maybe the speed.

Odin
Is an application developed by Samsung to control, flash, install stuff on Samsung phones. It only works in Windows but there are other alternatives for Linux, Mac and even for your phone like Heimdahl and Mobile Odin.

PDA
If you flash the PDA in Odin, it will at the least include the kernel but often it can include the entire ROM. Make sure you know what you downloaded..

PIT
You might run across a file with the file ending .pit. Be careful it includes the Partition Information Table and will repartition your phones internal storage and format the phone. You will loose anything you have not saved.

Radio, Modem, Phone
Different names used for the same thing. Its what makes you able to use the cellular and other networks. If you have bad reception you can try another Radio and it might get better.

ROM
A rom is usually just like above although it doesn’t necessarily have to include the kernel or the modem. Usually the ROM is what makes your phone look and feel the way it does, including themes, ringtones, settings and standard apps.

Stock ROM
Is the firmware that came with your phone or at least a firmware signed by the manufactorer of your phone. The stock ROM will include everything needed to use your phone.

Zipalign
Zipaligned applications (apk:s) are optimized with an alignement tool to be less memory consuming (and faster).

How to root Samsung Galaxy s2 (i9100)

1. Check your ROM version
2. Download the appropriate CF-Root for your ROM
3. “Flash” the kernel with Odin

There are a couple of different options but I’ll only explain one. Before you start. There is a possibility of loosing the guaranty on you phone, and also, if you break anything it’s not my fault. This is only an explanation of how I did it.

What you need. Your phone, a windows PC and a usb cable to your phone.

1. Check the version of your ROM (Firmware version)
On you phone go to menu->settings->about phone, scroll to the bottom. You will notice that your ROM has a long name that looks something like this x.x.x-xxxXWKF3-xxxxxx. The last 5 digits in the “middle” part of the name shows the name of your ROM.

2. Dowload the appropriate CF-Rooted kernel for your ROM
Now that you know the version of your ROM, you can go to the next step. A developer called Chainfire has been kind enough to set up prerooted kernels with all the tools you need to get the best use of your rooted phone

Check the following link, CF-Root press ctrl+f (cmd+f if you’re on a mac) and search for the last 3 digits in the name of your ROM which in this case will be KF3. Double check the name to see if it’s correct and then download the kernel

3. “Flash” the kernel with Odin3 v 1.83
Download Odin, you can find it with an easy google search.
Extract the file and open the program.

Power off your phone and power it on by holding the following 3 buttons simultaneously.
Volume-Down + Home (middle button) + Powerbutton. If you did it right you should find your self on a screen with the title ODIN MODE and the option of restarting or continue. Press Volume-Up to continue.
Now connect the USB-Cable to your phone. Windows should now try to install the drivers for you phone, just let it finnish. If the driver install fails you should check Samsungs support pages for the drivers to your phone. If it works, Odin should look like this:

Now click the PDA button and point it to the CF-Rooted kernel you downloaded. Make sure Repartition and Phone Bootloader are not checked (if you don’t know what your are doing). Now click Start and wait until you see this screen

Your phone should restart by itself. When it’s up and running again, check your applications menu and see if you have a new app called CWM. If you do, you are good to goo. Happy rooting!

NTFS Write permissions, OS X Lion

Hur gör man för att få NTFS skrivrättigheter i Mac Os X Lion?
Nedan följer 2 enkla sätt att lösa det på..

After my upgrade to OS X Lion my ntfs volume was no longer writable. I checked my old ntfs-3g installation and it was still running but not working. So I started looking for an explanation. Ntfs-3g wasn’t developed for Lion so it seemed the only option was to buy a third party program. After some searching I found a relatively easy free option. I’ve sorted out the only part you’ll be needing to get this working, a couple of download links. Here are two different options.

1. Costs 
Buy Tuxera NTFS for Mac from Tuxera or NTFS for Mac® from Paragon. They both cost a little under 20$ at the time of writing and they both have trial versions so you can try them out before buying.

2. Free
There were a couple of free options earlier like NTFS-3g which now has the payed option Tuxera NTFS for Mac but they decided to stop developing the free versions. The old free versions are still free though so if you don’t have the money, here’s an easy workaround. Just download the three free programs below and install them in the same order, restart your computer and you should be good to go.

As usual, this worked for me. If you break something, it’s not my fault.

1.

– developer Tuxera

2.

– developer mechie

3.

– developer  bfleisher