Hello World!!
Lost the connectivity when syncing a repo source and had to redownload the entire source again?
Not needed anymore!
Well, many of the developers face this problem!
I am here to provide a solution which I found out myself in my experience that you can actually pause the syncing for a while and continue working on it later.
You can also correct the errors that occured during syncing!!
So now lets get our hands dirty. Its a very simple trick.
If you want to pause the repo sync for a while and resume it later time of the day, press "CTRL + Z" and to resume the sync, type "fg" and press enter.
If you want to switch off computer and do the sync tomorrow,
Press "CTRL + Z" and Switch off computer. Then tomorrow or the day you start working, open terminal and change directories to that place where you started syncing and type "repo sync". You need not initialize it again as it has already been done when you have started the sync.
Or if you want to solve the errors in the source that you have just downloaded,
Open terminal and change directories to that place where you started syncing and type "repo sync -f".
These things are also published on xda but as a comment. To make it easier for developers, I am giving this as a trick. Everything is tested by myself.
Lost the connectivity when syncing a repo source and had to redownload the entire source again?
Not needed anymore!
Well, many of the developers face this problem!
I am here to provide a solution which I found out myself in my experience that you can actually pause the syncing for a while and continue working on it later.
You can also correct the errors that occured during syncing!!
So now lets get our hands dirty. Its a very simple trick.
If you want to pause the repo sync for a while and resume it later time of the day, press "CTRL + Z" and to resume the sync, type "fg" and press enter.
If you want to switch off computer and do the sync tomorrow,
Press "CTRL + Z" and Switch off computer. Then tomorrow or the day you start working, open terminal and change directories to that place where you started syncing and type "repo sync". You need not initialize it again as it has already been done when you have started the sync.
Or if you want to solve the errors in the source that you have just downloaded,
Open terminal and change directories to that place where you started syncing and type "repo sync -f".
These things are also published on xda but as a comment. To make it easier for developers, I am giving this as a trick. Everything is tested by myself.