Looking for someone to help create reprogram0.xml - LG G7 ThinQ Guides, News, & Discussion

Hey everyone,
Since the v40 firehouse is available and it works with the g7 by flashing the abl bootloader, I'm trying to create a rawprogram0.xml and I seem to can't get it to create one. I tried putting it in the GPTAnalyzer python program and it shoots out zeros on guid or anything uses a numerical value. I've tried different firmwares same result. I've seen a raw program file around here but that one, im not sure how the guy even managed to create it. He was on last a year ago and pretty sure he won't be coming back anytime soon to message him
Anywho If you wanna try creating the rawprogram0.xml and feel brave enough to brick your device and try it, you can find the file in this thread thanks to @Xsavi for leaking it to us https://forum.xda-developers.com/lg...k-lg-v40-via-9008-root-t-mobile-t4042207/amp/

i have rawprogram0.xml from my G710N, but i am not able to try it though because it still needs a firehose file, and i dont have that.

Related

Dumping a .nbf file

Hi. I'm trying to make a dump of the HPImage.nbf file, contained in the update for the HP iPAQ 110: http://h20000.www2.hp.com/bizsuppor...Id=3544496&swLang=13&taskId=135&swEnvOID=4014
I tried using the tools already available for other devices, but unfortunately they didn't work. I was wondering if anyone has had any success with this, and if not, if anyone with experience with .nbf could atleast take a look at that file and maybe give me any hints/pointers from previous experience, and hopefully i'd be able to make my own tool for extracting this.
Thanks
edit: my goal using this is to upgrade to WM6.1 or 6.5. From what I understand, if I can get a dump of the files in the .nbf, and replace the appropriate files from another wm6.1/6.5 ROM, and use the installer that came with the update, then i'd reach my goal (obviously, much easier said than done)

[Q] Recmod and Reversmode not working

I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
ckv said:
I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
Click to expand...
Click to collapse
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Diablo67 said:
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Click to expand...
Click to collapse
Yeah, that's the thread that first got me into the recmod tool. Great thread, just out of date. /:
Thanks for the reply though.
This may help
This may help someone help me a little. When I use recmod through the command line, I get an error saying "Error! ProcessCase0: bit 5 is zero!"
and this is the .dll file that I get out of it:
View attachment a.zip
I renamed the file name to a so it would be shorter to type because I was trying a lot of different command prompt things. It was originally k.senscmdd.dll, not that it really matters. All of the modules I tried came out almost exactly like this.

Inspecting an android firmware image

Hey all,
I'm looking at getting into firmware modding and was wondering where would be a good place to start. Initially I'm just looking at seeing what is actually in an android frimware. For example using this image
https://dl.google.com/dl/android/aosp/shamu-lmy48m-factory-336efdae.tgz
I can unzip it to the point where I get a few .img files. Doing some reading online I see a tool called binwalk to extract these, but when binwalking system.img I get an output of hundreds of GB which seems very wrong. I get the feeling that I've misunderstood something and hence this post. Can someone point me in the right direction?

How do I edit gpt.bin?

Hey. I'm running a Moto G5 Plus, but I feel like this is a general question. The question is, how do I edit gpt.bin? I want to make the boot partition just a little bigger. One of the other partitions can afford to get 4 MB smaller to make room. How do I do it? What do I do?
I thought this would be an easy thing to find out. But from all the searching I've done, it seems that nobody will say how to do it! They won't even tell you what tool you need! A hex editor? Hah! No! Tried it! The results were no better than opening the file with Notepad. I see some words, and I see a lot of nonsense characters that mean nothing. Now, I can open GPT.bin with 7zip, and when I do, it shows me partitions, with sizes, and labels from aboot.img to utagsBackup.img. But of course, 7zip is not an editor.
So what am I supposed to do? What can parse GPT.bin and edit it? This place has some of the best Android developers in the world. Someone has got to know how to edit such a common file! Or is it not that common at all?

How can I unpack .mbn files?

Hello all, I am trying to unpack man files to add volte support to a device that has all the hardware needed, but it is not enabled in software and I would like to try and change that. From all my research the files I need are all in the baseband and in .mbn file format, but I cannot find out how to unpack them. Any help would be appreciated!
ghidra or IDA
I'm more conversant with Qualcomm ELF files, hashing, signing and certs.
These seem to have replaced the older MBN.
MBN files are signed. If you mod you'll have to work around this somehow.
See: https://github.com/openpst/libopenpst/blob/master/include/qualcomm/mbn.h
https://github.com/jnaulet/dloadtool/blob/master/mbn.h
Renate said:
I'm more conversant with Qualcomm ELF files, hashing, signing and certs.
These seem to have replaced the older MBN.
MBN files are signed. If you mod you'll have to work around this somehow.
See: https://github.com/openpst/libopenpst/blob/master/include/qualcomm/mbn.h
https://github.com/jnaulet/dloadtool/blob/master/mbn.h
Click to expand...
Click to collapse
I see. This device is quite old and well, to say the least it isn’t an android device either. I’m assuming I would need to find a workaround for this even as it’s running an os that’s nearly a decade old now?
I know that the carrier bundles on this device are signed as well, but people were able to get around that, and this chip was supposedly made with the hexagon DSP and Qualcomm has documentation on how to program for this specific chip/version
aIecxs said:
ghidra or IDA
Click to expand...
Click to collapse
Unfortunately these don't appear to work, or im using them incorrectly
well, maybe you're not an reverse engineer
aIecxs said:
well, maybe you're not an reverse engineer
Click to expand...
Click to collapse
Maybe it’s my first time even hearing of either of those programs and can’t even get one of them to launch without insta crashing, and the other spitting out an error whenever I try to unpack the files.
no problem. just 10 year studying stuff and try again
https://github.com/lololosys/awesome-baseband-research
Hi,
I've probably managed to reverse engineer the MBN. I was able to create my own MBN and load it back.
If anyone wants to get an information, send me a message
RockL79 said:
Unfortunately these don't appear to work, or im using them incorrectly
Click to expand...
Click to collapse
rename it to *.zip
Vortuks said:
Hi,
I've probably managed to reverse engineer the MBN. I was able to create my own MBN and load it back.
If anyone wants to get an information, send me a message
Click to expand...
Click to collapse
they are only ELF files packed in an image, aren't they?
yeah ELF files, with 3 segments. I'm not sure about my knowledge about ELF vs MBN, but I've managed & have a program to extract $ repackage back. I've tested it on Pixel 2 XL and it's working (added support for my country).
WoKoschekk said:
rename it to *.zip
Click to expand...
Click to collapse
unfortunately that didnt work for me either. It could be that the device im trying to work on is quite old and maybe something else has changed since then

Categories

Resources