extract system.img for editing - Verizon Samsung Galaxy Note II

does anyone know how to open up this file to mess around with? tried all the 7zip tricks i know, trieds the unyaffs method, tried the unyaffs method in my cygwin folder too, cant do it. theres too a small a limit on the size of files poweriso and magiciso can do. im avoiding buying a full version (or stealing a key) as im sure theres a workaround
Edit, never mind, just using the kitchen and pulling the apps

Related

[Q/Help] How do I mod sms handling?

I got a problem with the way sms's are handled by HTC Sense(Its the HTC Desire).
I receive a sms from work on a daily basis, and thy contain a "/" (Slash as in "WorkPlaceName A/S") in the "from/sender" field instead of a phone number.
The problem is that the phone receives it, but discards it again because of the slash.
All sense based ROM's I've tried have all had this problem, but the non-sense froyo(2.2) ROM's are fine.
Now I want to change the behavior my self, but I don't know where to look.
I was thinking the kernel or somewhere in the ROM?
But I'm not sure.
I'll appreciate any help.
Anyone can help on this?
Does anyone know how would know?
Have you tried using Handcent instead of the HTC app? Since HTC's apps are not open source, it might not be easy to modify them although you could try 'APK Manager'.
Also, I recommend reading this if you want to understand how apps interact with the OS in Android - http://developer.android.com/guide/topics/fundamentals.html
gnarlyc said:
Have you tried using Handcent instead of the HTC app? Since HTC's apps are not open source, it might not be easy to modify them although you could try 'APK Manager'.
Also, I recommend reading this if you want to understand how apps interact with the OS in Android - http://developer.android.com/guide/topics/fundamentals.html
Click to expand...
Click to collapse
Yes i did try Handcent, but as far as I can see the problem runs deeper then that.
I tried almost all sms apps on the marked, and the sms's keeps getting deleted.
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
hexskrew said:
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
Click to expand...
Click to collapse
APK Manager?
hexskrew said:
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
Click to expand...
Click to collapse
Thanks I'll try that.
But do you know the name of the HTC SMS apk?
I can only find MMS and mail.
Anyway I'll have a look at the MMS apk.

[Q] Need help with NBH

Ok, so here's what I'm trying to accomplish.
I can't stand having the awful standard alarms/notification sounds that are provided on most WM roms, so I went and redid one. The attached file is a Windows notification sound that I've renamed and converted to work on my topaz in place of "alarm2", hence the filename.
In short, I don't want to have to use total commander winCE every time i flash and want to change that file out (I can't overwrite it using windows explorer or file explorer cuz I can't overwrite system files). So i had an idea.
I figured I'd make a .NBH file to flash to the device after I flash my rom on there that ONLY replaces that sound file with the new one (Eventually I'd like to incorporate my custom splash screens into it but that's only a thought at this point). This is where my question/problem comes in...
I've looked around on the forums for some type of "rom builder" or .nbh creator or utility, and I've found alot of things that will convert .nb into .nbh and other features, but nothing that seems to do what I'm wanting.
I'm NOT a developer really; im more of a concept person, and if I can accomplish this without having to learn a language all the better, but I'm not sure where to start with this.
Sorry about the long post, and thanks in advance for any help you can offer!
Hi,
what about using sashimi or UC? this would save you a flash...
you can automate the process. that's what i do when i flash and i want to get back the ringtones.
good luck
Use total commander. it will let you overwrite system files and files that are in use.
Solarenemy68 said:
Use total commander. it will let you overwrite system files and files that are in use.
Click to expand...
Click to collapse
Yea, that's what I've been doing so far... It's still kind of a pain waiting for the Windows folder to load and then replacing it (It can take awhile)... I should've mentioned in the first post that it was an alternative to this that I was looking for, and either a .nbh file or possible a cab file, though I can't see how a cab file could accomplish this since it's replacing a system file while it's in use...

[Q] nuub question, can an .apk be lightly modified like this?

I am sure this would be a WTF for some people thats why I'm asking in the Q&A section.
I've noticed that .apk files can be renamed to .rar and, once decompressed, we can find files in a normal-structure in their real format (images, sounds, xmls, etc).
So I wonder, let's say, we want to modify one of the images inside the .apk. We would change it for another with the same name/size so no probs with that.
Could we decompress the .apk as a .rar, change the file, recompress it to a .rar and rename it to .apk, or we would **** permissions or something in the way?
Otherwise it needs some compiler or something I guess right? But then I wouldn't understand why it can be plainly decompressed as a .rar..
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
UpInTheAir said:
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
Click to expand...
Click to collapse
Thanks a lot mate! Very appreciated

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/

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