[Q] How to sign an entire ROM - Android Q&A, Help & Troubleshooting

Hello all, I'm trying to sign a ROM, I made changes to the AndroidManifest.xml of the SystemUI.apk and now need to sign the entire ROM for it to work correctly. The problem is there are several different keys that need to be used to do it right. The platform key, shared key, media key, etc. The question is, is there a list of the files or someway to find out which files in the system folder belong to which category? You can sign the whole ROM with a test key but this isn't the proper way to do it, I am just trying to find out which apks get signed with which key type. I've went through all of the AndroidManifest files but they don't really give enough information, plus I've google searched and there is no information as to which files belong to which category. Some files are obvious and others aren't.
Any help would be greatly appreciated.

Related

[Q] XDA_UC - not importing XML file properly

hi,
newbie here, just getting into things. apologies if this is in the wrong area
trying to use XDA_UC on my HTC-HD2 to set up email accounts after flashing a new rom.
after flashing and UC running, it says "importing XML files", then i do a soft re-set, and email accounts are not there.
i have put xml file in XDA_UC directory on storgae card
attached is xml file i am using, i have of course changed account passwords
i have used details for the file setup from various templates available
any help there???
many thanks
Simon

[Q] Beginner question on simple apk decoding/editing with smali

How do you change where config files and libraries are stored for a particular apk? I want to move some config files to /system but I don't know how to get the app to recognize them once I move them. I already decoded the thing and have access to all the smali files, but don't know what to do with them. If anyone could just point me in the right direction so I could learn more about this, about what file tells the install where to look, that would be fantastic. Like, why does a library work if it is in /system/lib/ OR if it is in /data/data/apkname/lib/?

[Q] Where are file extensions such as ".mp4" and ".mp3" located in an .apk?

[Q] Where are file extensions such as ".mp4" and ".mp3" located in an .apk?
I know it might be hard to understand the way I try to explain this conundrum but I've been up all night trying to figure this stuff out myself to no avail. I'm trying to rip the assets from a particular game/application (SONIC CD), and after decompiling it's contents via apktool, I'm greeted with pretty much nothing but .smali files. However, opening some of these reveal paths that are non-existent and files that cannot be found in any of the folders extracted. Pretty much all of them are scripts aside from the icons (.pngs) and a couple .xmls. Opening up "VideoActivity.smali" in the soniccd folder shows that they exist within the data I've ripped but I cannot find them.
Can anyone lend me a hand here? :fingers-crossed:

My Puzzle in Rom-modification

I wanna modify a Rom for personal using. It seemed no mistakes until I added some apk I often use to my ROM.
The point is that I found many .so files with the same name but different sizes in some different apks unzipped. So I have no idea that how to add these .so files with the same name into sys/lib/ folder. Obviously, it's impossible that there are two or more files with duplicate names in a folder. I don't think these files with the same name are used to achieve same necessary functions in different apks because their sizes are too different.
It was so sad that no exact solutions can be gotten in search engines.
So, what should I do next? My work has stopped for long time due to this strange puzzle. I need some solution. Thx a lot~

Help/Info regarding large tmp file in root directory

Hi All,
Am getting a bit desperate, as I've never before found a problem that has *absolutely* no result in even the most generic google/forum search.
Was running SDMaid on my Galaxy S5 (SM-900F; 4.4.2) and one of the .tmp files it came up with was named 'store_file.tmp' sitting in the 'root/data' directory. It was a whopping 1.81gb!
Have been trying to figure out if this is something I can safely delete or not, but even the most generic search of the filename on Google or the various android forums doesn't give me a single appropriate hit! The file hasn't been modified for a couple of weeks, but there's really no suggestion as to what program generated it. Have tried copying it to my PC and opening with verious text/hex editors, but none of them want to have anything to do with a file that size.
Has anyone come across this before? Any idea where it originates?

Categories

Resources