[Q] Is there Any Way To Extract .tot(LG Firmware) Contents - Android Q&A, Help & Troubleshooting

First of all, I hope this is the right section to post this thread. And as the title suggest is there any way to extract the contents of .tot files that are being used to flash LG phones to Factory State. I don't have the concerned device(LG G2) right now with me, that's why I need to extract the contents from .tot files. There is just one thread of XDA(from all the internet) that talks about the extracting contents from .tot files but it seems the procedure explained in that thread requires a device to be had and using the log file that is left by LG Flash Tool during flashing a phone.
Starting off, when LGNPST is used to image a phone, it creates a log file in C:\LG Electronics\LGNPST\Models\LOG\ For example, mine was called LS970Log_COM5.log. We are really only interested in one part of this file, located close to the bottom when the phone is actually being imaged.
Click to expand...
Click to collapse
See that quote, so I can't use that method. So, please some one let me know if there is an alternative.

Related

[Q] Need help downgrading LG Revolution (One Step)

http://forum.xda-developers.com/showthread.php?t=1211295
I Don't understand what '15. Since it wants a .bin file, you can open the .TOT file by typing "*.*" inside the File Name query and hitting Enter' means. Everything went fine except this; what does it mean by
"you can open the .TOT file by typing "*.*" inside the File Name query"
I typed "." in the file name when trying to open the .tot file but nothing happens. any help?
downgrade help from 2.3.6
uninstall and reinstall the lgpnst, the store version seemed to only be needed. found this when I searched the error about block calculations after i changed the file extension. turns out, typing the whole path with the .tot extension will get around the file type problem.

How to extract files from ROM

Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
On you pc or on you phone click extract here. And will be exctracted about 6 files. Navigate to system app and find wht app you want. Copy and replace. I guess I understood right what you mean.
Get a utility program like 7Zip, IZarc, WinRar on your PC & open up the zip/tarfile & you can see the individual files & extract same.
However...
What you're attempting to do will not work. Different framework.
Points for thinking outside the box tho.
Thanks... Though when I use 7z, it only extracts zImage,factoryfs, etc., only a handful of files. I cannot see the individual files in the file system. Also 7z cannot extract these files anymore...
Ahh I think I was talking about already "cooked" ROM, and you guys are talking about the source? Sorry I am very new to the terminologies used. If that is the case I will check if I can find these files in the source tarball.
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
MistahBungle said:
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
Click to expand...
Click to collapse
I tried but still couldn't open XXLPQ ROM with IZarc. Thanks anyway...
hirak99 said:
Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
Click to expand...
Click to collapse
to open *.img file inside the rom download diskinternal linux reader and mount the img file inside the app.
tried and tested when i needed to copy a file from another rom.
Solution you find here :
h__p://sconcauteam.com/forum/index.php?threads/how-to-windows-extract-deodex-sign-and-zipalign-an-official-rom.1325/

[Q] AT&T Hot Spot APK

Apologies in advance if this has been posted somewhere. I've searched XDA, Google, and gone through stickies on this and other parts of the XDA forum and wasn't able to find my answer.
AT&T has an APK (WISPr.apk) that it includes with the stock devices when it sells them, which allows the user to connect to ATT wifi hot spots automatically. There are certain ATT wifi hot spots that aren't open to the public for free (i.e. NOT the ATT wifi at starbucks), and are configured such that mobile ATT subscribers with a data plan get free access to the hotspot, but others have to pay. This ATT APK "authenticates" the phone has having an ATT data plan.
Would someone with the latest official release from ATT i777 (Android 4.1.2, UCMD8, released a couple of days ago in June) be able to attach their WISPr.apk file? It should be located in /system/app/WISPR.apk (or something similar to that). (I would do it myself, but would need to un-root, back to stock, update to UCMD8, and then re-root, but I'm new at this and haven't determined a a way that to be sure I can re-root after the upgrade and don't want to stuck without root for a long time)
I'm currently unable to access these non-free ATT hotspots, and the latest APK may solve that problem.
Thanks in advance for your help.
Download the Odin flashable tar.md5 file. You can find it in the Download Repository at the very bottom (see link in my signature), or at sammobile.com/firmware, or at Samsung-updates.com.
Remove the md5 part of the extension to make the file just a .tar, open it in an archiving program like winzip or 7zip, etc. and extract the file you want.
creepyncrawly said:
Download the Odin flashable tar.md5 file. You can find it in the Download Repository at the very bottom (see link in my signature), or at sammobile.com/firmware, or at Samsung-updates.com.
Remove the md5 part of the extension to make the file just a .tar, open it in an archiving program like winzip or 7zip, etc. and extract the file you want.
Click to expand...
Click to collapse
Thanks- found the apk. For anyone that comes across this later, I've attached it to this post.

Static liquid wallpapers with loops

Can any XA2 Ultra user share its stock wallpapers by extracting it from its system folders please? I know the liquid wallpapers are now available online but I am looking for the ones that have loops in them. And I am not talking about the live wallpapers.
Following...
Just got the black, silver, gold, and blue wallpapers and huge thanks to AndroPlus. Hoping for someone to share the pink and sky blue ones.
Hi,
did you maybe get the pink and sky blue wallpaper yet?
Tnx
xperiaxyz said:
Hi,
did you maybe get the pink and sky blue wallpaper yet?
Tnx
Click to expand...
Click to collapse
Not yet. I've been trying to download XA2's firmwares a couple of times but it's always an error.
ermond012 said:
Not yet. I've been trying to download XA2's firmwares a couple of times but it's always an error.
Click to expand...
Click to collapse
I don't know if these will help you, or if you'll have the same amount of bad experience trying to download these as the original firmware through XperiaFirm (I assume). If there's a particular image file or files you want out of here, if that'll help, let me know and I'll upload just the image file(s) you need.
Extracted stock H3223 ROM images through XperiFirm - flash with NewFlasher
If you're looking for XA2 and not XA2 Ultra firmware files, disregard.
roirraW "edor" ehT said:
I don't know if these will help you, or if you'll have the same amount of bad experience trying to download these as the original firmware through XperiaFirm (I assume). If there's a particular image file or files you want out of here, if that'll help, let me know and I'll upload just the image file(s) you need.
Extracted stock H3223 ROM images through XperiFirm - flash with NewFlasher
If you're looking for XA2 and not XA2 Ultra firmware files, disregard.
Click to expand...
Click to collapse
Yeah, I am looking for XA2's...? Though I appreciate your effort to help.?
ermond012 said:
Yeah, I am looking for XA2's... Though I appreciate your effort to help.
Click to expand...
Click to collapse
No trouble! Would you like me to provide the image files (assuming I don't have trouble downloading) from the non-Ultra XA2 for you to get the files from? I assume you just need the equivalent file(s) to the Ultra's 1.27 GB "system_X-FLASH-ALL-18AE.sin"? Any particular XA2 model #?
roirraW "edor" ehT said:
No trouble! Would you like me to provide the image files (assuming I don't have trouble downloading) from the non-Ultra XA2 for you to get the files from? I assume you just need the equivalent file(s) to the Ultra's 1.27 GB "system_X-FLASH-ALL-18AE.sin"? Any particular XA2 model #?
Click to expand...
Click to collapse
I think any XA2 model will do.? I was trying downloading firmware myself but it's always unsuccessful.? If that won't cause you any trouble, that'd be great.?
ermond012 said:
I think any XA2 model will do. I was trying downloading firmware myself but it's always unsuccessful. If that won't cause you any trouble, that'd be great.
Click to expand...
Click to collapse
No trouble, I'm currently downloading "H3123_Customized US_1312-1865_50.1.A.10.40_R13A". I presume you can get inside or extract the system*.sin file yourself once I upload it to Android File Host, or wherever's best for you - Mega is also an option for me if that's better for you. If you have trouble downloading that, too, I can try to follow directions at [Tool] sin2raw v0.2 - new tool to extract sin files *updated* to get to the files you need.
Edit: Or the UnSIN that comes with XperiFirm.
roirraW "edor" ehT said:
No trouble, I'm currently downloading "H3123_Customized US_1312-1865_50.1.A.10.40_R13A". I presume you can get inside or extract the system*.sin file yourself once I upload it to Android File Host, or wherever's best for you - Mega is also an option for me if that's better for you. If you have trouble downloading that, too, I can try to follow directions at [Tool] sin2raw v0.2 - new tool to extract sin files *updated* to get to the files you need.
Edit: Or the UnSIN that comes with XperiFirm.
Click to expand...
Click to collapse
That's my other problem - I do not know how to extract files from firmwares.? If I could do. It, I wouldn't bug anyone else.?
ermond012 said:
That's my other problem - I do not know how to extract files from firmwares. If I could do. It, I wouldn't bug anyone else.
Click to expand...
Click to collapse
It wasn't hard. I'm sure you could do it at least once you would be able to get ahold of the complete firmware or just the system image. After I used XperiFirm to download and extract the most recent XA2 H3123 firmware, I put a copy of the UnSIN.exe (linked to from the author of XperiFirm's signature) in the same folder as the largest file, the 1.26 GB "system_X-FLASH-ALL-18AE.sin". I opened a command prompt in Windows from that folder, and typed:
Code:
unsin system_X-FLASH-ALL-18AE.sin
which created the 2.78 GB "system_X-FLASH-ALL-18AE.ext4".
I used the free 7-Zip from http://www.7-zip.org to extract the "system_X-FLASH-ALL-18AE.ext4" into a folder. Note that this is a good, easy way of getting files of any type out of stock system images, whether you're talking about wallpapers or APKs. There are more complex methods required for doing some other things like decompiling framework files, etc.
I then used GPSoftware Directory Opus, which is not free (or even cheap) - it's a Windows file management program that I use instead of Windows Explorer, now called File Explorer - been using it since before it was made for Windows, since 1991-1992 to be exact - to display all the files in the extracted "system_X-FLASH-ALL-18AE.ext4" in a "flat" format and without displaying folders. I then filtered for JPGs and PNGs, copied them all out while keeping the folder structure and that way found where the wallpapers were. Apparently in the path "system\etc\customization\content\com\sonyericsson\wallpaperpicker\wallpapers".
The wallpapers (in a 7-Zip archive you can extract with the free 7-Zip I linked to above) are at https://www.androidfilehost.com/?w=files&flid=277920.
And I've attached a screenshot of the output of the UnSIN command I ran.
roirraW "edor" ehT said:
It wasn't hard. I'm sure you could do it at least once you would be able to get ahold of the complete firmware or just the system image. After I used XperiFirm to download and extract the most recent XA2 H3123 firmware, I put a copy of the UnSIN.exe (linked to from the author of XperiFirm's signature) in the same folder as the largest file, the 1.26 GB "system_X-FLASH-ALL-18AE.sin". I opened a command prompt in Windows from that folder, and typed:
which created the 2.78 GB "system_X-FLASH-ALL-18AE.ext4".
I used the free 7-Zip from http://www.7-zip.org to extract the "system_X-FLASH-ALL-18AE.ext4" into a folder. Note that this is a good, easy way of getting files of any type out of stock system images, whether you're talking about wallpapers or APKs. There are more complex methods required for doing some other things like decompiling framework files, etc.
I then used GPSoftware Directory Opus, which is not free (or even cheap) - it's a Windows file management program that I use instead of Windows Explorer, now called File Explorer - been using it since before it was made for Windows, since 1991-1992 to be exact - to display all the files in the extracted "system_X-FLASH-ALL-18AE.ext4" in a "flat" format and without displaying folders. I then filtered for JPGs and PNGs, copied them all out while keeping the folder structure and that way found where the wallpapers were. Apparently in the path "system\etc\customization\content\com\sonyericsson\wallpaperpicker\wallpapers".
The wallpapers (in a 7-Zip archive you can extract with the free 7-Zip I linked to above) are at https://www.androidfilehost.com/?w=files&flid=277920.
And I've attached a screenshot of the output of the UnSIN command I ran.
Click to expand...
Click to collapse
Oh thank you! Thank you for the information as well. That would help me a lot in doing the extraction of files myself.?
ermond012 said:
Oh thank you! Thank you for the information as well. That would help me a lot in doing the extraction of files myself.?
Click to expand...
Click to collapse
You're welcome!
roirraW "edor" ehT said:
It wasn't hard. I'm sure you could do it at least once you would be able to get ahold of the complete firmware or just the system image. After I used XperiFirm to download and extract the most recent XA2 H3123 firmware, I put a copy of the UnSIN.exe (linked to from the author of XperiFirm's signature) in the same folder as the largest file, the 1.26 GB "system_X-FLASH-ALL-18AE.sin". I opened a command prompt in Windows from that folder, and typed:
Code:
unsin system_X-FLASH-ALL-18AE.sin
which created the 2.78 GB "system_X-FLASH-ALL-18AE.ext4".
I used the free 7-Zip from http://www.7-zip.org to extract the "system_X-FLASH-ALL-18AE.ext4" into a folder. Note that this is a good, easy way of getting files of any type out of stock system images, whether you're talking about wallpapers or APKs. There are more complex methods required for doing some other things like decompiling framework files, etc.
I then used GPSoftware Directory Opus, which is not free (or even cheap) - it's a Windows file management program that I use instead of Windows Explorer, now called File Explorer - been using it since before it was made for Windows, since 1991-1992 to be exact - to display all the files in the extracted "system_X-FLASH-ALL-18AE.ext4" in a "flat" format and without displaying folders. I then filtered for JPGs and PNGs, copied them all out while keeping the folder structure and that way found where the wallpapers were. Apparently in the path "system\etc\customization\content\com\sonyericsson\wallpaperpicker\wallpapers".
The wallpapers (in a 7-Zip archive you can extract with the free 7-Zip I linked to above) are at https://www.androidfilehost.com/?w=files&flid=277920.
And I've attached a screenshot of the output of the UnSIN command I ran.
Click to expand...
Click to collapse
Oh thank you for these wallpapers!

Question one+-latest do it all tool

i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!

Categories

Resources