Modifying and Recompiling Settings.APK

'META-INF Files - Digests, Signature and Certificate' tutorial was cited in an xda-developers.com forum post in 2015.

The META-INF Files - Digests, Signature and Certificate tutorial was cited in an xda-developers.com forum post in 2015.

Subject: Need Help Modifying and Recompiling Settings.APK
Date: Dec 31, 2015
Author: Dino10or 
Source: http://forum.xda-developers.com/android/help
   /help-modifying-recompiling-settings-apk-t3282645

...

I'm getting [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION] when I extract
the .smali files from the classes.dex, and then recompile the .smali 
files into my own classes.dex-- EVEN IF I DON'T MODIFY THE .SMALI 
files. There is either an issue with extraction or compilation 
(maybe both)-- and I've tried several programs, and several methods.

EDIT: http://leonjza.github.io/blog/2015/0...mali-patching/

Shows me that it has something to do with the signature. I'll see what
I can do.

EDIT: Further research shows 
http://www.herongyang.com/Android/Pr...rtificate.html that I MIGHT 
have to somehow get the certificate to work with the modified file 
properly. God help me now. I assume I'm not the first person to run 
into the certificate roadblock. Must find a way.

For all the heavens I can't seem to find a way to edit the .dex file 
in a way that leaves the certificate intact-- I suppose this is why 
the system was developed in the first place. Back to square one again,
I suppose. (Or to giving up and buying a XTC 2 Clip)

Table of Contents

 About This Book

 Reference Citations in 2016

Reference Citations in 2015

 SSL/TLS Overview - Change Cipher Spec Protocol

 PFX to Java Keystore / Extract private key from Java Keystore

 Android talks #08 decompiling android applications

 Cpronto 2.5 Administration Guide

 IMPLEMENTATION OF SECURE HASH ALGORITHM SHA-1 BY LABVIEW

 Cryptographic Protocols - The Peruvian Coin Flip

 How to View XML Files

 Bug 378637 - Add support for connecting to HTTP proxy over HTTPS

 an information literacy technology for chemistry documents

 org.jruby.exceptions.RaiseException: stack level too deep

 Another function that helps programmers calculate

 CONNECTING TO A SOAP WEB SERVICE

 Application of the Enhanced SHA-1

 New Media Workshop [COMM7200]

 Apex Soap call authentication problem

 Recording Video of an Android Device

 Java HTTPS server code failing

 How to Capture Logcat Files Using ADB

Modifying and Recompiling Settings.APK

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version