Hi all, 

after an unfortunate update-try of my ZTE Open C I was just trying to follow 
this guide to unbrick the cellphone: 

https://support.mozilla.org/en-US/questions/1003136

I need a clarification regarding these steps:

2. extract the file 'file_contexts' from boot.img or recovery.img

3. create or use existing system/ directory from update.zip, if there's an 
issue with sending large files to the device (like in my case), you can keep 
only lib/, bin/, and build.prop file - this makes for mere ~50Mb; or maybe even 
just build.prop, I didn't try that

4. create system.img from the directory, using the command line 'make_ext4fs -l 
<size in Mb>M -a system -S file_contexts system.img <directory with system/ 
files>'.

First of all ...

1) Once I've extracted the file_contexts file from the boot.img, do I have to 
put it in the "system" folder, isn't it?

2) Assuming point 1 is correct, could you please give me an example of a 
correct make-ext4fs command? I don't have any idea of the correct syze, while I 
should be able to add on my own the system folder path xD

Thank you for your precious time,

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

Reply via email to