LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices


Reply
  Search this Thread
Old 10-04-2015, 08:30 AM   #1
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Rep: Reputation: Disabled
How did you backup your phones OS


Title says it all really. Just to be clear I don't mean contacts or calender data but the actual OS.
Thanks
 
Old 10-04-2015, 08:44 AM   #2
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 387
Blog Entries: 3

Rep: Reputation: 100Reputation: 100
How did you backup your phones OS

Custom recovery? They usually provide a backup menu. Backup solely EFS, then system, cache and data altogether. Then backup from time to time to your computer. (just once for EFS).

That's about android phone.
 
Old 10-04-2015, 09:11 AM   #3
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks for the reply Tonus, but tell me have you been able to backup the whole OS(operating system) or just parts of it.
My phone(moto g, android 5.02) only offers me to back some of my data and that's it.
 
Old 10-04-2015, 09:21 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,970

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
I'm not sure I understand what you are trying to achieve? As far as I can gather it is pretty hard to brick a phone to the extent that it can't be reset to factory defaults so why would one back up the OS at all? In fact, if you do brick the phone how would you recover the OS? Is this some kind of proof of concept exercise?
 
Old 10-04-2015, 10:17 AM   #5
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks for the reply 273,
Quote:
I'm not sure I understand what you are trying to achieve?
What I would like to achieve is to have a phone with up to date software, if that means I have to install a different OS myself then I'm more than willing to do that but before I do I'd like some way of a backup plan if things go wrong.
Quote:
As far as I can gather it is pretty hard to brick a phone to the extent that it can't be reset to factory defaults so why would one back up the OS at all?
Maybe I don't understand the process correctly so could you please answer me this, If I were to install CyanogenMod for example but messed things up or didn't like it how would I be able to reinstall the OS that came with the phone.
Quote:
In fact, if you do brick the phone how would you recover the OS? Is this some kind of proof of concept exercise?
I don't think I understand what you mean. I'd like to have a back up operating system before any bricking took place surely.
Thanks again
 
Old 10-04-2015, 10:25 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,970

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
What I am saying is that if you install Cyanogenmod and brick your phone then it's bricked -- it matters not that you have a copy of your old OS because you can't restore it because your phone won't boot because it's bricked.
What I would do in your position is find out how to restore the OS of your phone should you run into difficulties but I would doubt very much that it involves backing up the OS that is already on your phone. This isn't like with a Windows PC where you could, perhaps, use dd to take an image of the hard drive then use a live distribution to restore it -- this is a phone where you cannot boot it from anything but what is on the device itself.
I'm not convinced that you could even access the storage on the device with a PC if the operating system on the device was not running.
 
Old 10-04-2015, 12:06 PM   #7
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
@273
For some reason I was under the impression that you can have a software brick(like a blank screen) or a hardware brick(like a dead battery). Why is installing a OS on a phone so potentially destructive, don't phones have a bios screen where you can choose to boot from usb(mini usb) or the internal flash drive(storage).

Anyway it looks like I have to sign up to motorola's terms and conditions just to find out whether a recovery image(OS) is available or not. The only other alternative is to download the firmware(OS) from some random file sharing site(which I wouldn't advise anyone to do by the way).

Thanks for your input
 
Old 10-04-2015, 12:22 PM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,970

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
I was, perhaps, exaggerating the risk of bricking your phone and I dare say that should the OS fail there is a way to plug it into a Windows PC and reinstall the OS using a piece of software provided by the manufacturer.
But I ask you how you think you would put a backup of the OS back on the phone, what mechanism are you using to do this?
Back up your contacts and other data you can't replace and, if you do damage the OS, you'll have to take whichever steps the manufacturer recommends to restore to factory defaults then you'll be able to put your apps and other data back.
 
Old 10-04-2015, 02:19 PM   #9
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
@273
Quote:
But I ask you how you think you would put a backup of the OS back on the phone, what mechanism are you using to do this?
I didn't know and don't have any mechanism, my google searches kept on pulling up links to just download this or that random software (without much explanation) but I still had unanswered questions like how do I revert back to a previous state.
Quote:
...that should the OS fail there is a way to plug it into a Windows PC and reinstall the OS using a piece of software provided by the manufacturer.
Thank you this is the sort of information I need, my google foo isn't strong with phones in fact this moto g is my first smart-phone.

Thanks again
 
Old 10-04-2015, 02:23 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,970

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Looks like there could be a built-in backup which allows one to factory reset the device from a boot menu.
 
Old 10-04-2015, 03:03 PM   #11
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 387
Blog Entries: 3

Rep: Reputation: 100Reputation: 100
How did you backup your phones OS

That's all about having a custom recovery.

It allows you to boot like in a minimal rescue mode to flash either custom roms (cm is one of those) or rescue from a non bootable phone.

If you want to download such recovery or custom roms, better is to do it from dev.

BTW your phone might have a nickname (mine is called t0lte or n7105 as it is a galaxy note 2 lte international version).

Edit : first find your device's full name and read carefully instructions http://forum.xda-developers.com/moto-g

Last edited by Tonus; 10-04-2015 at 03:07 PM.
 
1 members found this post helpful.
Old 10-05-2015, 07:30 AM   #12
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
@Tonus
I don't understand this 'better is to do it from dev.' do you mean from my phone under Settings > developer options

Although forum.xda-developers seems to be the site to goto for things like this their links usually ends with download this rom from some random person.

Thanks for your help
 
Old 10-05-2015, 08:45 AM   #13
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 387
Blog Entries: 3

Rep: Reputation: 100Reputation: 100
How did you backup your phones OS

From dev : from the developer's thread or website

You will find lots of threads in xda that will link you to files that are maintained recognized devs. You usually find those in the thread's OP (original post).

Last edited by Tonus; 10-05-2015 at 08:46 AM.
 
Old 10-05-2015, 01:38 PM   #14
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
@Tonus
I see, thank you for the explanation.
 
Old 11-27-2015, 01:44 AM   #15
johnsmith007
LQ Newbie
 
Registered: Nov 2015
Posts: 1

Rep: Reputation: Disabled
Thanks for sharing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tar fails on system backup - need to backup remote web server cilbuper Linux - General 2 08-26-2014 01:28 AM
Today is World Backup Day a friendly reminder to backup and check restores jeremy Linux - News 0 03-31-2014 12:42 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 06:03 AM
Pros and cons of Android phones, iPhones and Blackberry phones? puppymagic General 21 11-23-2010 08:33 AM
Newbie trying to write a simple backup script to backup a single folder Nd for school stryker759a Linux - Newbie 2 09-16-2009 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration