Just to note, I believe adb remount should work as well if you update your adb.
It's a lot easier to remember than

mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system


Cheers,
Naoki

On 9/11/13 9:36 PM, Jarek wrote:
On Wednesday, September 11, 2013 5:58:06 PM UTC+2, Krzysztof Adamski wrote:
I believe that's not possible directly as adbd is running as "shell"
user. But there are workarounds like pushing it's content packaged
to /sdcard/ and then uncompressing it after using "su"...
As advised by Krzystof, I tried to copy something  to the system partion via sdcard. In 
fact this "something" was the original rild binary, but this coudl be any file.

So I did the following:

adb push backup-hamachi/system/bin/rild  /sdcard/rild
adb shell
shell@android:/ $ su
shell@android:/ #
shell@android:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
shell@android:/ # cat /sdcard/rild > /system/bin/rild

it worked just fine, so I guess it is possible to re-create the whole system 
partition.

Now I would appreciate a tip on how I can package the contents of the partition 
into a single file, such that I could then upackage it on the device.




_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to