Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,547 Members 45,956 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] How to Set up & use SVN - For Liberty Sense 6 ROM - EASY GUIDE

Tip us?
 
dd98
Old
(Last edited by dd98; 22nd June 2014 at 11:10 PM.)
#1  
Senior Member - OP
Thanks Meter 474
Posts: 561
Join Date: May 2013
Location: Dublin
Tutorial [GUIDE] How to Set up & use SVN - For Liberty Sense 6 ROM - EASY GUIDE

Here is a guide on how to set up SVN on your Windows Computer so you can use it with ROMs like Liberty Sense 6. You must also have 7-zip installed.

How to set up SVN for the first time
  1. First download Tortoise SVN from here and install it.
  2. Once it is installed, open a folder inside your user's folder. This is where you will create another folder later
  3. Now right-click in empty space, select Tortoise SVN and select Settings
    Picture Help:
     
  4. Once in Settings, click General and click Edit beside Subversion Configuration file
    Picture Help:
     
  5. A text file will open up. Press CTRL+F and type in (without quotes) "global-ignores".
    The line your looking for will be like: # global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__
    Picture Help:
     

    Now no must delete the "*.so" part only, NOT the "*.so.[0-9]*" part.
    Picture Help:
     

    Once it is deleted it should look like the picture below
    Picture Help:
     

    Use the picture just before this one to compare and see if you went wrong
  6. Now save the file by clicking File, then Save and close the Notepad (You won't need a picture to help you out there )
  7. You can now close the Tortoise SVN Settings window
  8. Now create a new folder anywhere inside your user's folder or on external storage
    (You can call it whatever you want, I named mine Liberty-SixthSense)
  9. Now go inside that folder, right-click in any empty space and select SVN Checkout
    Picture Help:
     
  10. In the Checkout window type or copy in for the URL of Repository (without quotes) "http://sense-6-for-one-s.googlecode.com/svn/trunk/"
    Picture Help:
     

    The Checkout Directory will be the folder where you opened up the SVN Checkout window
  11. Then press OK and it will start downloading the files (this will take some time)
    Picture Help:
     
  12. When its finished you should see something these files and folders in the picture below
    Picture Help:
     

    I didn't download all the files because it took too long, but you will have the following files & folders
    META-INF, additions, boot.img, data, system
  13. Now you must make another folder in the same directory as the one used to download the files. This will be our "output" folder.
    (Call it what you want)
    Picture Help:
     
  14. Now go back to the folder we created first, right-click in empty space, select Tortoise SVN and then select Export
    Picture Help:
     
  15. In the window that pops up navigate to your "output" folder, click on it once and click Select Folder
    Picture Help:
     
  16. Once its finished copying the files to your "output" folder, go to it and highlight all the files (Either by clicking and holding and drag to highlight all files or CTRL + Click on each file)then right-clicking in empty space, then select 7-zip and select Add to Archive
    Picture Help:
     
  17. In the 7-zip window, you must select the archive format as "zip". You can change the name as long it has the .zip at the end. Then press OK to start zipping
    Picture Help:
     
  18. That's it , now place the .zip file you just created on your SD Card and flash away!!! Remember, you need HBOOT 2.16 installed. If you don't know how to do that, then follow my other guide here


How to receive and flash new updates
  1. First you have to go to the location of your "output" folder, open it, select all files, right click on them and delete them.
    Picture Help:
     
  2. Now go back to the location of your "output" folder and right click on the other folder and select SVN Update, it should have a green tick on it now
    Picture Help:
     
  3. It will begin to pull any new or changed files which won't take long. Then once its finished pulling the files open the folder with the green tick, right-click in empty space, select Tortoise SVN and then select Export
    Picture Help:
     
  4. In the window that pops up navigate to your "output" folder, click on it once and click Select Folder
    Picture Help:
     
  5. Once its finished copying the files to your "output" folder, go to it and highlight all the files (Either by clicking and holding and drag to highlight all files or CTRL + Click on each file)then right-clicking in empty space, then select 7-zip and select Add to Archive
    Picture Help:
     
  6. In the 7-zip window, you must select the archive format as "zip". You can change the name as long it has the .zip at the end. Then press OK to start zipping
    Picture Help:
     
  7. And that is it, just copy it to your SD Card and flash it. Make sure to select Update Only in the Aroma Installer

Enjoy!!!
The Following 10 Users Say Thank You to dd98 For This Useful Post: [ Click to Expand ]
 
Samstag494
Old
#2  
Member
Thanks Meter 2
Posts: 38
Join Date: Oct 2012
Can I put it somewhere else than my Users Folder? On an externel Disk?
The Following User Says Thank You to Samstag494 For This Useful Post: [ Click to Expand ]
 
dd98
Old
#3  
Senior Member - OP
Thanks Meter 474
Posts: 561
Join Date: May 2013
Location: Dublin
Quote:
Originally Posted by Samstag494 View Post
Can I put it somewhere else than my Users Folder? On an externel Disk?
yes you can, anywhere really in your user folder or on an external drive, just not directly on C:\


Current Phone: HTC One (M7) | Android Revolution HD 71.1 | Stock Kernel | 5.11.401.10

Previous Phones: HTC One S (S4) | Sony Xperia U | Samsung Galaxy Mini
The Following User Says Thank You to dd98 For This Useful Post: [ Click to Expand ]
 
rosswhite
Old
#4  
rosswhite's Avatar
Senior Member
Thanks Meter 70
Posts: 240
Join Date: May 2011
Quote:
Originally Posted by dd98 View Post
[SIZE=3]Here is a guide on how to set up SVN on your Windows Computer so you can use it with ROMs like Liberty Sense 6.
Great guide, worked perfectly. Thank you.
HTC ONE S | S-OFF | HBOOT 2.16 | LIBERTY ROM - THE SIXTH ELEMENT | 4.4.2 | SENSE 6 | SENSE 6 TOOLBOX
THANKS: BEAUPS | LLABTOOFER | BILAL_LIBERTY | PIRLANO | FLAR2 | LANGER HANS/MIKANOSHI
The Following User Says Thank You to rosswhite For This Useful Post: [ Click to Expand ]
 
81grzes
Old
#5  
81grzes's Avatar
Member
Thanks Meter 25
Posts: 67
Join Date: Mar 2011
Ok, it works.
but I have one question:
after the update, we need to export and ZIP a whole rom, not only update files ?
Sorry for my bad English...
 
dd98
Old
#6  
Senior Member - OP
Thanks Meter 474
Posts: 561
Join Date: May 2013
Location: Dublin
Quote:
Originally Posted by 81grzes View Post
Ok, it works.
but I have one question:
after the update, we need to export and ZIP a whole rom, not only update files ?
delete everything inside the output folder do an svn update and export to the output folder


Current Phone: HTC One (M7) | Android Revolution HD 71.1 | Stock Kernel | 5.11.401.10

Previous Phones: HTC One S (S4) | Sony Xperia U | Samsung Galaxy Mini
 
81grzes
Old
#7  
81grzes's Avatar
Member
Thanks Meter 25
Posts: 67
Join Date: Mar 2011
YES
and after that I have a new .zip file ~ 1,2GB...
I was thinking that is possible to make a small .zip file only with updates
But now I understend everything.
Sorry for my bad English...
 
skyliner129
Old
#8  
skyliner129's Avatar
Member
Thanks Meter 15
Posts: 57
Join Date: Jan 2013
Location: Lagos
when downloading the folders, can it be paused and is it resumeable . or what happens if network fails ?
Phone: HTC One S (S4)
ROM: [4.4.2][Sense 6]LIBERTY ROM - The Sixth Element
Kernel version: Liberty Kernel
Radio version: 1.20
HBOOT: 2.16 , s-off , unlocked , CID 11111111
Recovery: TWRP 2.7.1.2
 
dd98
Old
#9  
Senior Member - OP
Thanks Meter 474
Posts: 561
Join Date: May 2013
Location: Dublin
Quote:
Originally Posted by skyliner129 View Post
when downloading the folders, can it be paused and is it resumeable . or what happens if network fails ?
no its not resumable and if your network fails ur screwed


Current Phone: HTC One (M7) | Android Revolution HD 71.1 | Stock Kernel | 5.11.401.10

Previous Phones: HTC One S (S4) | Sony Xperia U | Samsung Galaxy Mini
 
skyliner129
Old
(Last edited by skyliner129; 3rd July 2014 at 05:40 AM.)
#10  
skyliner129's Avatar
Member
Thanks Meter 15
Posts: 57
Join Date: Jan 2013
Location: Lagos
[/COLOR]
Quote:
Originally Posted by dd98 View Post
no its not resumable and if your network fails ur screwed
duly noted.thanks for your reply
Phone: HTC One S (S4)
ROM: [4.4.2][Sense 6]LIBERTY ROM - The Sixth Element
Kernel version: Liberty Kernel
Radio version: 1.20
HBOOT: 2.16 , s-off , unlocked , CID 11111111
Recovery: TWRP 2.7.1.2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes