You may of noticed that installing backup-manager on Fedora (I’m using oldish version 9) isn’t that straight forward, particularly if you want to back up to Amazon S3. It took my a bit of messing around on how to do it so I thought it was worth sharing how I did it. Note that if you wish not to use Amazon S3 once its installed your all done.
Download the RPM to your server
$ wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/updates/9/ppc.newkey/backup-manager-0.7.8-1.fc9.noarch.rpm
If the link gets broken at some point there is a load more here http://rpm.pbone.net/index.php3/stat/4/idpl/13697398/dir/fedora_9/com/backup-manager-0.7.8-1.fc9.noarch.rpm.html. If you use a different Fedora version you can find the correct RPM here.
You can install this now with
$ rpm -ivh backup-manager-0.7.8-1.fc9.noarch.rpm
If you dont need Amazon S3 to work your all done at this point.
If you run it at this point your get the error message:
The upload transfer "s3" failed.
You must install 2 more packages that it doesn’t tell you about.
Do the following under root
$ yum search perl-File-Slurp
$ yum install perl-File-Slurp.noarch
Now one more package
$ yum search perl-Net-Amazon-S3
$ yum install perl-Net-Amazon-S3.noarch
And now you can configure your conf:
This is a guide on how to replace your ugly sabnzbd url to something nice looking thats easier to remember. Currently the standard url will run on the port 8080 unless you’ve changed it. You could just change it to port 80 to make a nice url but more likely you already run apache on that port.
Example old url
Assuming you already have apache installed you need to make sure you have the following mod’s installed and enabled.
a2enmod proxy a2enmod proxy_http a2enmod proxy_html
Now you have these installed and enabled you have to created a new vhost entry that will point your chosen server name to your oringal sabnzbd url.
ServerName sab.myserver.com ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
And thats it! reboot your apache server and your done, you can now access via the new url. I would also stronlgly recommend you enable the password protection in your sabnzb configuration.
This is a quick guide on how to root your 3 (three UK) branded HTC Desire and add a custom recovery if you wish to load custom roms.
Before we start here are some details about my phone which i did this process on:
- HTC Desire simlock to 3 UK
- Software version 1.22.771.1
- HBOOT 0.80.0000
- Did this on Windows 7
You have 3 choices on what you can do here:
- Put a custom recovery on it to flash any rom you like
- Gain root access your current Eclair 2.1 (and a custom recovery if you like)
- Upgrade it to offical Froyo 2.2
First we must ‘debrand’ our phone, this is a process where we load a generic rom that shipped with the sim-free Desires. These are all version 1.21.x all of which contain ways to root the phone. If you read up on how to root these phones you notices it says ‘this only works if you have 1.21.x or below), well the goal of this to downgrade to that lower number.
PLEASE READ EVERYTHING CAREFULLY I CANNOT BE RESPONSIBLE FOR BROKEN PHONES.
Create a ‘gold card’ – A GoldCard is a special SD card which, when inserted into your device, allows you to flash RUU files with a different CID to your own device. So we own a 3UK branded device, this will allow you to flash a generic ROM.
- Spare microSD card
- Windows PC (recommended)
- ADB (part of the tools folder of the SDK, available for download here
- HxD Hex Editor, available for download here
Step by step instructions
- Format the microSD card to FAT32 format.
- Put the microSD card in your device and boot it.
- Ensure you have unzipped the SDK, then open a command prompt to the extract location. Change to the ‘tools directory.
- Enter ‘adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid’ and press enter. You should get a very long number which looks like this: 532600bd227d9c0347329407514d5402.
- Visit this page, paste in your number and reverse it. In our example the result would be 00544d5107943247039c7d22bd002653.
- Visit this page, enter your reversed number and create your goldcard image, which will be e-mailed to you.
- Open the HxD hex editor. If you are using Windows Vista or Windows 7, you must run the application as administrator.
- Go to the ‘Extra’ menu and select ‘Open Disk’. Under physical disk, select Removable Disk (your microSD card), uncheck ‘Open as Readonly’ and click OK. Note that you should select physical disk NOT the logical disk. This is important!
- Go to the ‘Extra’ menu again and select ‘Open Disk Image’. Open the goldcard image that you received by email.
- You should now have two tabs – one is your removable disk, the other is your goldcard image. Press OK when prompted for ‘Sector Size’ (selecting 512 (Hard disks/Floppy disks)) and click OK.
- Click on the goldcard image tab. Go to the ‘Edit’ menu, choose ‘Select All’ then select the ‘Edit’ menu again and select ‘Copy’.
- Click on the ‘Removable Disk’ tab. Highlight offset (line) 00000000 to offset (line) 00000170 (including the 00000170 line), then click on the ‘Edit’ menu and select ‘Paste Write’.
- Click on the ‘File’ menu and select ‘Save’, accepting the warning.
Ok here the bit that differs for us 3UK branded people. If you have a branded handset other then 3UK at this point you run a gernic RUU found here. 3UK owners must go through a couple more steps.
Download the unrevoked3 rooting package from here http://paulsrichards.com/files/downloads/desire-rooting/reflash_package.exe (the one i used) or download it from http://unrevoked.com/#desire. This software will flash a custom recovery onto your phone. If your having driver problem ensure you follow the instructions that come with it properly. It has its own set for bootloader that it must use. If you having issues with the program finding your desire, try plugging in the desire before you load the program (even though it says not to do this). I had to do that to get it to work. Note that it loads a default recovery you can change this by clicking the file menu, i did this and used recovery-RA-desire-v22.214.171.124-R5.img found here. As i’ve rooted a Magic and Hero in the past i felt more at home with that one.
NOTE THIS PROCESS WILL COMPLETLY WIPE OUT YOUR PHONE – ENSURE YOU HAVE IT BACKED IT UP.
Ok now you can get into your new custom recovery by turning off the phone, hold the back button + the power. Select ‘BOOTLOADER’ then ‘RECOVERY’. It will then reboot to recovery.
Now at this point you can say the hard work is done and load a custom ROM which is Froyo 2.2 offical. I’ve currently got ‘Rooted Official HTC Android 2.2 (FroYo) ROM’ from here (look around on XDA there are loads to try out). And away you go offical 2.2 on your phone.
But you can carry on and do it the other way (i’m not sure why you would want to do that now but here goes).
Now your phones thinks its an older version then it is. Download a gernic unbranded RUU found here.
- When running RUU it reboots into BOOTLOADER and cant find the phone – turn on your phone as normal, plug it in with USB debugging mode on, with the SDK run on the command line ‘adb reboot oem-78′. Then it will go into the mode the RUU whats it to, then check all the drivers are ok in the ‘Hardware Devices’ in my computer.It should say ‘HTC Bootloader’. Then while in that mode run the RUU.
- If you get while in RUU ‘Wrong CUSTOMER ID’ – you gold card is bad, do it again.
- If you get while in RUU ‘BOOTLOADER VERSION INCORRECT’ – you haven’t flashed the update.zip properly.
Easy! you know have a downgrade phone!
Now to root it you can do the following (guide from XDA):
NOTE: for step one it depends which generic RUU you decided to put on, please check what you got by going into HBOOT (power off, back button + power).
- Download Tiny Core Linux Live CD
—- For a bootloader of 0.75.* or lower AND a current ROM of 1.15.* or lower Download
—- For a bootloader of 0.80.* or lower AND a current ROM of 1.21.* or lower Download
- Burn the downloaded iso on CD/DVD
- Boot your computer from that CD/DVD, once you booted it will ask you to press Enter or F2/F3 keys, you need to press Enter
- Insert the goldcard into the phone.
- Start the HTC Desire in bootloader by holding back and turning it on by the power button
- Connect the USB cable to the phone and PC
- Open a terminal by clicking the icon that looks like a monitor at the bottom on Tiny Core Linux and type the following commands:
sudo mkdir /mnt/cdrom sudo mount /dev/cdrom /mnt/cdrom cd /mnt/cdrom/desire sudo ./step1.sh
- Wait until the phone restarts back into the white bootloader screen
- Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (Press Power button and Back button).
- In terminal type the following command:
- Once the phone has finished, you will see a screen with a green text. Use the optical tracker to navigate the menu to select Wipe and then press Wipe data/factory reset
- Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip
- Once back in the main menu, choose restart the phone – the rooting process is now finished
IF YOU WISH TO UPGRADE TO OFFICAL FROYO DO THIS BUT IT WILL UNROOT YOUR PHONE AND MAY MAKE IT SO CAN NEVER ROOT IT AGAIN. I WOULD SUGGEST YOU DO WHAT I DID ABOVE
(guide is from here)
Next you need to download the FroYo update file which you can find here [Mirror - the file has already been renamed to update.zip], once you have done this rename the file update.zip and copy it to the root of your microSD. Turn your phone off then do the following:
- Turn your phone on whilst holding down the volume down button to enter the HBoot menu
- Choose the Recovery option by using the volume down button and the power button to select, your phone should then restart in recovery mode where you’ll be greeted with a red triangle and exclamation mark
- Press and hold the volume up button and press the power button once, then choose to apply update.zip at the next menu
- The FroYo update will now take place during which time your phone will reboot several times, the whole process takes about 10 minutes
- Once you have booted up into FroYo and configured your settings, copy your files back onto your microSD card and you are good to go!