Can I edit the system.img file of Android nougat build? I used simg2img and make_ext4fs. If I flash the device, the repacked system.img, the device bricks. Is it possible to edit the image file? If yes, How?
Thanks in advance
Arun Anbuvel said:
Can I edit the system.img file of Android nougat build? I used simg2img and make_ext4fs. If I flash the device, the repacked system.img, the device bricks. Is it possible to edit the image file? If yes, How? Thanks in advance
Click to expand...
Click to collapse
I have never edited this file but, I believe that the following thread may be helpful for what you are looking for and don't be afraid to ask for some member guidance within it.
https://forum.xda-developers.com/showthread.php?t=1971249
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Related
Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
joker97 said:
Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
We cannot provide technical support nor can other members reply to your posts here on XDA Assist and it's difficult to point you towards a specific forum since you didn't provide any information about which device/ROM/file you have in mind. The file you describe seems to be a common "flashable ZIP" designed to be loaded by a custom recovery such as TWRP. Without such a recovery, you would need to study the steps included in whatever scripts are in the "meta-INF" directory and duplicate them manually from a terminal emulator prompt or maybe from an ADB link to a desktop or laptop, an eminently dangerous endeavor NOT recommended unless you're positive you know what you're doing. If you need more information, try asking with all relevant details in the friendly general Android Q&A, Help & Troubleshooting forum at http://forum.xda-developers.com/android/help. That's a good place to start where members familiar with your device might be able to advise you. You could also ask wherever you found the file you're attempting to install.
Good luck!
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
joker97 said:
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
Click to expand...
Click to collapse
It all depends on what command(s) the script in the ZIP file contains but I'm sure whoever uploaded the file can help you. As mentioned earlier, we cannot provide technical support here, sorry.
This thread is closed.
Hi, I downloaded the zip folder: sm-t550_p550_p555_cf-autoroot. When I open it there is no .tar file, only cache.img.ext4 and recovery.img. I've rooted many times before and have normally had no issues following the xda links to the .tar files.
Sorry if I'm being a dumbo, help appreciated.
tyrotrainer said:
Hi, I downloaded the zip folder: sm-t550_p550_p555_cf-autoroot. When I open it there is no .tar file, only cache.img.ext4 and recovery.img. I've rooted many times before and have normally had no issues following the xda links to the .tar files.
Sorry if I'm being a dumbo, help appreciated.
Click to expand...
Click to collapse
Hello,
You may visit this thread Root P555 and please read the thread carefully
-Vatsal
I have read it carefully....
Vatsal said:
Hello,
You may visit this thread Root P555 and please read the thread carefully
-Vatsal
Click to expand...
Click to collapse
..............The problem is that there are two files in the .tar FOLDER, each file is an .img file. There is no .tar file.
Thanks.
tyrotrainer said:
..............The problem is that there are two files in the .tar FOLDER, each file is an .img file. There is no .tar file.
Thanks.
Click to expand...
Click to collapse
Hello,
You may try asking in the respective thread, the experts there maybe able to assist you
-Vatsal
I am new into creating and editing custom roms. But now after creating one i have zip file as my output and i need to test this on my android emulator. I have read that you need a system.img file to work in an emulator. If then how do i obtain my .img file from a zip file?
I have have an idea about yaffs2 but does not have any idea on how to set it or use it for my purpose.
akhil7000 said:
I am new into creating and editing custom roms. But now after creating one i have zip file as my output and i need to test this on my android emulator. I have read that you need a system.img file to work in an emulator. If then how do i obtain my .img file from a zip file?
I have have an idea about yaffs2 but does not have any idea on how to set it or use it for my purpose.
Click to expand...
Click to collapse
Hi! Thanks for using XDA Assist.
I see you've found the right section to post in:
http://forum.xda-developers.com/showthread.php?p=66160238#post66160238
Good luck and thread closed
Hi
i want to know if there is a way to extract and repack the OP6 rom
i found a way to extract the zip into .img files, and found a program that can extract the .img files into standard files/folders
but i still have yet to find a way to repack the files back into a .img to flash via fastboot
can anyone help please.
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
mdl054 said:
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Click to expand...
Click to collapse
ive tried this method, doesnt work
I use http://ext2read.blogspot.com/
Ohh, you want to pack the img again, i think linux is the easiest way to go forward.
virtyx said:
ive tried this method, doesnt work
Click to expand...
Click to collapse
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
matze19999 said:
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
Click to expand...
Click to collapse
I want to repack an IMG file
mdl054 said:
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
Click to expand...
Click to collapse
I'll try again once I'm behind a PC
were you able to repack an IMG file?
virtyx said:
I'll try again once I'm behind a PC
were you able to repack an IMG file?
Click to expand...
Click to collapse
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
mdl054 said:
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
Click to expand...
Click to collapse
fingers crossed
then we can finally have a decrypt base with no avb on partitions, I'll try this soon, do you mind if I PM you if I get stuck?
do I *need* to donate?
I'll help if I can but it's Super R's work and I'm sure he is more than happy to help if you get stuck.
Hello Everyone.. This is my first thread...
I would like to share with everyone a tool (System-img-tools) which can be used to unpack or repack System or vendor images.
What it basically does is converting system/vendor.new.dat.br files found in custom roms to system.raw.img
which can be easily mounted and edited accordingly.
Although there are many tools like sdat2img, img2sdat etc. it was a bit complex to extract a system.img from
system.new.dat.br files as one had to first convert system.new.dat.br to system.new.dat and then the dat to img.
Repacking was also equally time consuming.
So I created a this tool in c which uses these binaries to unpack and repack system files a bit more easily.
Please give this tools a try. Suggestions and feedbacks are wholeheartedly welcomed.
It can be cloned from my git repository:-
Code:
git clone https://github.com/itsdrnoob/System-img-tools.git
itsdrnoob said:
Hello Everyone.. This is my first thread...
I would like to share with everyone a tool (System-img-tools) which can be used to unpack or repack System or vendor images.
What it basically does is converting system/vendor.new.dat.br files found in custom roms to system.raw.img
which can be easily mounted and edited accordingly.
Although there are many tools like sdat2img, img2sdat etc. it was a bit complex to extract a system.img from
system.new.dat.br files as one had to first convert system.new.dat.br to system.new.dat and then the dat to img.
Repacking was also equally time consuming.
So I created a this tool in c which uses these binaries to unpack and repack system files a bit more easily.
Please give this tools a try. Suggestions and feedbacks are wholeheartedly welcomed.
It can be cloned from my git repository:-
Click to expand...
Click to collapse
Thanks! -Dr.Noobs1stPatient
---------- Post added at 04:09 AM ---------- Previous post was at 04:06 AM ----------
MufasaMessiah said:
Thanks! -Dr.Noobs1stPatient
Click to expand...
Click to collapse
And that was my first comment! Lol
(Yes, this being my second. I would say for ****s and giggles as the ole adage goes but if you think about it.. all's ****s and giggles have in comment are babies. Hahaha
Hey guys...
This project has been abandoned for some time. The reason is :- I LOST THE SOURCE CODE xD:laugh:.....
I'll be soon coming up with a new and improved system image tool.
Thanks..
itsdrnoob said:
Hey guys...
This project has been abandoned for some time. The reason is :- I LOST THE SOURCE CODE xD:laugh:.....
I'll be soon coming up with a new and improved system image tool.
Thanks..
Click to expand...
Click to collapse
If anyone stumbles across this thread like I did looking for a way to extract system.new.dat.br, it looks like SuperR's Kitchen can handle it.
Was badly looking for an easier way to get system.img from system.new.dat seems, this is by far the easy and straightforward tutorial: How to Extract system.new.dat.br and system.new.dat Files
xavier-fs said:
Was badly looking for an easier way to get system.img from system.new.dat seems, this is by far the easy and straightforward tutorial: How to Extract system.new.dat.br and system.new.dat Files
Click to expand...
Click to collapse
The link is dead?!!
itsdrnoob said:
Hey guys...
This project has been abandoned for some time. The reason is :- I LOST THE SOURCE CODE xD:laugh:.....
I'll be soon coming up with a new and improved system image tool.
Thanks..
Click to expand...
Click to collapse
@itsdrnoob Thread closed! Please advise the moderators team (best via the report function) to re-open the thread when ready to provide your "new and improved system image tool". I think quite a few members are looking forward to it.
Regards
Oswald Boelcke
Senior Moderator