How do I find out where in the "Pixel Factory Image" the following XML file is located?
Code:
/data/user_de/0/com.android.phone/files/carrierconfig-com.android.carrierconfig-[...].xml
The parameters included in this XML file is documented here: https://developer.android.com/reference/android/telephony/CarrierConfigManager
SGH-i200 said:
How do I find out where in the "Pixel Factory Image" the following XML file is located?
Code:
/data/user_de/0/com.android.phone/files/carrierconfig-com.android.carrierconfig-[...].xml
The parameters included in this XML file is documented here: https://developer.android.com/reference/android/telephony/CarrierConfigManager
Click to expand...
Click to collapse
The CarrierConfigManager class is in the system.img file, so presumably the XML file is also in system.img. system.img is a binary file, so you can't really do anything with it.
dcarvil said:
system.img is a binary file, so you can't really do anything with it.
Click to expand...
Click to collapse
I have unpacked the system.img file with help from simg2img (Tool to convert Android sparse images to raw images), but I can't find the XML. Maybe it's in one of the APKs!?
I'm sure the XML is in the CarrierConfig APK, but this APK file is not in system.img! https://android.googlesource.com/platform/packages/apps/CarrierConfig/+/refs/heads/master/assets/
SGH-i200 said:
I have unpacked the system.img file with help from simg2img (Tool to convert Android sparse images to raw images), but I can't find the XML. Maybe it's in one of the APKs!?
I'm sure the XML is in the CarrierConfig APK, but this APK file is not in system.img! https://android.googlesource.com/platform/packages/apps/CarrierConfig/+/refs/heads/master/assets/
Click to expand...
Click to collapse
vendor.img contains some CarrierConfig xml files. Don't know if this is what you are looking for.
dcarvil said:
vendor.img contains some CarrierConfig xml files. Don't know if this is what you are looking for.
Click to expand...
Click to collapse
I searched my whole device from / and all but can't find a CarrierConfig folder or APK.
Related
Hi,
I'm new here, and I want to make a custom firmware for my LG BL40. When I extract the .kdz file, there's a dz file. When I extract this file, there are many mbn files (like apps.mbn) and 3 .bin_1/2/3 files. It's the same with the LG GM750.
But how can I extract these .mbn files and the .bin_x files?
Thank you
Felix
is there nobody having an idea?
The little I've found is that mbn is an executable format.
Would seem to need to be decompiled.
I'm not sure on this and still looking around.
I'm not sure on this and still looking around
you need to use cygwin to extract files from your mbn files.
shreyas.kukde said:
you need to use cygwin to extract files from your mbn files.
Click to expand...
Click to collapse
Can you elaborate on your answer? what is needed to extract these files?
Hi! i want to edit the bootlogo but its in a .mbn format. can someone tell me how to convert this to an image i can simply edit like .png or if its possible, to edit the .mbn itself wthout converting. Thanks in advance
AFAIK, mbns are compressed files. You should look for a way to decompress it.
A quick search shows that you can decompress it using unyaffs (a linux utility).
i dont have linux so i found a unyaffs version for windows but everytime i open it my antivirus triggers and deletes the program. so i redownloaded it and disabled my av. then i opened it again and it froze, had to open taskmanager to shut it down. are there any other ways to use this tool on Windows?
i found another version of unyaffs for windows but now it says "broken image file" replaced the image twice, still didnt work.its not broken as its the same image that is loaded when i boot my phone up. HELP!
well, its finally extracted and edited, but how do i put it back?
MintCrystal556 said:
well, its finally extracted and edited, but how do i put it back?
Click to expand...
Click to collapse
May be compress again to mbn
shashank1320 said:
May be compress again to mbn
Click to expand...
Click to collapse
how? unyaffs and mkyaffs dont work on my laptop. i used some tool i found on a chinese website to extract the .bmp but with that tool i couldnt put the .bmp i extracted and edited back into the .mbn so i need more assistance...
nevermind, it works now! i used paint.net and the rgb565 plugin
Glad you found answers to your questions yourself, well almost for all you asked:good:
i want to edit android .img but i do not know what tools used i've tried some tools but can not for repack if for unpack it can
and I also want to edit some bin files in the fimware folder that I downloaded
is there any application to edit android.img file and .bin file?
or is there a way to edit the file?
Thank you in advance
lutfi53 said:
i want to edit android .img but i do not know what tools used i've tried some tools but can not for repack if for unpack it can
and I also want to edit some bin files in the fimware folder that I downloaded
is there any application to edit android.img file and .bin file?
or is there a way to edit the file?
Thank you in advance
Click to expand...
Click to collapse
Same problem here, the tool I use easily unpacks .dat file but can't repack .img to .dat! So wierd but the problem is with nougat/oreo. You found any solution?
I noticed that oreo was released on the Mate 9, I needed to grab some files from this device, particularly a file named "gps.default.so" or something around that located somewhere in system/lib64 or system/lib but a system dump would definitly be nicer.
Or, you can help me out in extracting the oreo firmware, I've downloaded it and extracted UPDATE.APP and used HuaweiUpdaterExtracter to then grab the system.img. But I can't mount it or extract anything from it. soo yeahhh
Extraction
Yuvch122 said:
I noticed that oreo was released on the Mate 9, I needed to grab some files from this device, particularly a file named "gps.default.so" or something around that located somewhere in system/lib64 or system/lib but a system dump would definitly be nicer.
Or, you can help me out in extracting the oreo firmware, I've downloaded it and extracted UPDATE.APP and used HuaweiUpdaterExtracter to then grab the system.img. But I can't mount it or extract anything from it. soo yeahhh
Click to expand...
Click to collapse
You can use superr's Android kitchen to extract everything from the system.img, he has a free version https://forum.xda-developers.com/apps/superr-kitchen
And for your information, that "update extractor" doesn't give you usable images as it strips the necessary header from the image. I had to use "splitupdate.pl" to get usable images. I have the extracted images, and there is no file called "gps.default.so" anywhere in the Oreo images, not in /system/lib, /system/lib64 or in /vendor/lib, /vendor/lib64. I do not have a dump of the nouget to check but the file does not exist in the Oreo images
EDIT:
Found the file, it is in the vendor partition, specifically /vendor/lib64/hw so you're going to have to extract vendor.img to get the file.
Here, I got system.sin of 2 Sony Xperia NXT series phones (files inside the zip). I wanted to extract those files and wanted the apk's but I can't even extract those files. I tried all the apps for extracting but gives me errors. Can somebody help me? It's for a experiment
socerguy said:
Here, I got system.sin of 2 Sony Xperia NXT series phones (files inside the zip). I wanted to extract those files and wanted the apk's but I can't even extract those files. I tried all the apps for extracting but gives me errors. Can somebody help me? It's for a experiment
Click to expand...
Click to collapse
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
WoKoschekk said:
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
Click to expand...
Click to collapse
Uhh.. I didn't rooted it and extracting .sin file gingerbread worked fine but ics didn't worked
WoKoschekk said:
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
Click to expand...
Click to collapse
And it's for Sony Xperia u in android 4.0
socerguy said:
And it's for Sony Xperia u in android 4.0
Click to expand...
Click to collapse
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
WoKoschekk said:
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
Click to expand...
Click to collapse
I tried all apps from this forums but none of 'em worked (it works with 2.3 gingerbread). I'm using windows 11
WoKoschekk said:
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
Click to expand...
Click to collapse
And I don't need a tool, I need help
socerguy said:
And I don't need a tool, I need help
Click to expand...
Click to collapse
help for what? how do you want to unpack it?
WoKoschekk said:
help for what? how do you want to unpack it?
Click to expand...
Click to collapse
to unpack system.sin. I wanted to get the contents inside the file in a zip file
socerguy said:
to unpack system.sin. I wanted to get the contents inside the file in a zip file
Click to expand...
Click to collapse
but HOW??
[TOOL][Windows,Linux,Android,Apple] Unpack any Sony firmware file
Disclaimer: Our tool was made for testing and educational purposes, ME is not responsible for what you have doing using our tool, you must agree that you using our tool on your own risk, I am not responsible for anything or anything else you...
forum.xda-developers.com
download, unpack and open the folder. copy the .sin file(s) into the folder and create a new folder called "output" =>
Code:
C:\Users\$NAME\Downloads\sony_dump_tools\output
type "cmd" in the above address bar of the Explorer window and hit "Enter" => cmd.exe starts
execute
Code:
sony_dump output <name of your *.sin file>
DO NOT doubleclick the .exe! It's a binary for cmd.exe!
For any errors please post the output of cmd.exe or post a screenshot (WINDOWS+Shift+S) of cmd.exe
It gave me system.sin.unknown file
And here is the cmd
socerguy said:
And here is the cmd
Click to expand...
Click to collapse
as you can see everything is fine. the file is called *.unknown because the tool don't know what it is. but it's not an error.
rename system.sin.unknown => system.ext4
download and install 7z from here. Then open system.ext4 with it.
WoKoschekk said:
as you can see everything is fine. the file is called *.unknown because the tool don't know what it is. but it's not an error.
rename system.sin.unknown => system.ext4
download and install 7z from here. Then open system.ext4 with it.
Click to expand...
Click to collapse
unfortunately 7zip says archive is corrupt
socerguy said:
unfortunately 7zip says archive is corrupt
Click to expand...
Click to collapse
Then we have to find out what kind of file type was unpacked.
Please install HxD - Hex Editor.
=> choose your language and "Edition = installable"
=> open HxD > go to "File" (top left) > "Open" > select "system.ext4"
=> press F11 and make screenshot
In HxD you'll see left "Offset". Please also scroll down to Offset 00000400 and do a second screenshot that shows 00000400 and the following lines to round about 00000600.
WoKoschekk said:
In HxD you'll see left "Offset". Please also scroll down to Offset 00000400 and do a second screenshot that shows 00000400 and the following lines to round about 00000600.
Click to expand...
Click to collapse
You have a Sony NXT, but which model exactly? The NXT-series consists of 6 different models.
It's a Sony Xperia s lt26i (4.0) https://m.gsmarena.com/sony_xperia_s-4369.php