[b2g] How to backup data from Alcatel OneTouch Fire C?

2015-02-19 Thread Ralph Daub
Hi,

A user in the SUMO forums is not able to run the script ./
backup_restore_profile.sh because his device does not have the permissions.
He gets the following error:

   $ ./backup_restore_profile.sh -b -p ~/tmp-backup/2015-02-18+00_Fire_C/
   [...]
   remote object '/data/b2g/mozilla' does not exist
   $ adb shell
   shell@msm8610:/ $ cd /data/b2g
   /system/bin/sh: cd: /data/b2g: Permission denied

Are there any patches available to root this device? If not, are there any
workarounds available to allow the user to backup the device?

Here is a link to the original question:
https://support.mozilla.org/en-US/questions/1047517

Thanks in advance!

- Ralph
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to backup data from Alcatel OneTouch Fire C?

2015-02-20 Thread Felix E. Klee
Thanks for raising the issue here, Ralph!

To be honest,I doubt that Alcatel would tell users how to root
devices. After all, it's not a developer device, and giving root
access raises security issues. Without the device being rooted,
however, I cannot migrate and backup OpenWapp messages. That renders
the device useless for day-to-day use.

What could be interesting to try is rooting the device by editing the
kernel image, as has been documented for the non-C Fire:


___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to backup data from Alcatel OneTouch Fire C?

2015-02-20 Thread Naoki Hirata
Felix is probably right.

Basically in this case rooting the phone involves changing the boot.img so that 
it's debuggable.
If you make your own boot.img and are able to get into fastboot mode, that's 
one way to make the device rooted.
Granted, there's a chance you could also mess up the device.

fyi, you can probably back up the boot.img via using dd, something like : adb 
shell dd if=/dev/mtd/mtd0 of=/sdcard/boot.img bs=4096
(you'll have to look up which is the boot.img via looking at files like the 
proc/partitions or proc/mounts )
Again this is something of a "use at your own risk, this isn't supported" train 
of thought.

If you do decide to do something like this, I would also recommend doing a bit 
of research and being prepared to accept the chance of bricking the phone and 
needing to send it to the vendor… and the vendor may not necessarily fix it...

Regards,
Naoki

On Feb 20, 2015, at 1:43 AM, Felix E. Klee  wrote:

> Thanks for raising the issue here, Ralph!
> 
> To be honest,I doubt that Alcatel would tell users how to root
> devices. After all, it's not a developer device, and giving root
> access raises security issues. Without the device being rooted,
> however, I cannot migrate and backup OpenWapp messages. That renders
> the device useless for day-to-day use.
> 
> What could be interesting to try is rooting the device by editing the
> kernel image, as has been documented for the non-C Fire:
> 
> 
> ___
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] How to backup data from Alcatel OneTouch Fire C?

2015-02-20 Thread Gabriele Svelto
On 20/02/2015 17:44, Naoki Hirata wrote:
> fyi, you can probably back up the boot.img via using dd, something like : adb 
> shell dd if=/dev/mtd/mtd0 of=/sdcard/boot.img bs=4096
> (you'll have to look up which is the boot.img via looking at files like the 
> proc/partitions or proc/mounts )
> Again this is something of a "use at your own risk, this isn't supported" 
> train of thought.

On a non-rooted device that's usually not possible leaving you in the
unpleasant scenario of having to flash a new boot.img without the
ability to backup the existing one.

 Gabriele




signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g