Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,492 Members 39,394 Now Online
XDA Developers Android and Mobile Development Forum

[Q]When we need copy file/folder from original apk after modified?

Tip us?
 
EpullSalvatrucha
Old
#1  
EpullSalvatrucha's Avatar
Senior Member - OP
Thanks Meter 15
Posts: 126
Join Date: Feb 2014
Location: Muar, Johor
Question [Q]When we need copy file/folder from original apk after modified?

Sometime in mod guide.. we need to copy file/folder in original apk after modified... like androidmanifest.xml/classes.dex/etc.. so my question is when we need to copy it?
XDA SENIOR MEMBER

I LEARN, I DEVELOPE, I SHARE
 
marcussmith2626
Old
#2  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
I only copy meta-inf and androidmanifest to the build folder (you need to compile the folder to get the build folder and then recompile again after placing files there) if im not resigning the apk

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
 
EpullSalvatrucha
Old
#3  
EpullSalvatrucha's Avatar
Senior Member - OP
Thanks Meter 15
Posts: 126
Join Date: Feb 2014
Location: Muar, Johor
Quote:
Originally Posted by marcussmith2626 View Post
I only copy meta-inf and androidmanifest to the build folder (you need to compile the folder to get the build folder and then recompile again after placing files there) if im not resigning the apk
so you want to say that if copy meta-inf and androidmanifest to modded apk, we dont need sign apk.. that what you mean?
XDA SENIOR MEMBER

I LEARN, I DEVELOPE, I SHARE
 
marcussmith2626
Old
#4  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by EpullSalvatrucha View Post
so you want to say that if copy meta-inf and androidmanifest to modded apk, we dont need sign apk.. that what you mean?
you only have to resign an apk if you edit the adroidmanifest

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
EpullSalvatrucha
Old
#5  
EpullSalvatrucha's Avatar
Senior Member - OP
Thanks Meter 15
Posts: 126
Join Date: Feb 2014
Location: Muar, Johor
Quote:
Originally Posted by marcussmith2626 View Post
you only have to resign an apk if you edit the adroidmanifest
But in this guide forum.xda-developers.com/showthread.php?t=2018688 the additional instruction said copy classes.dex from original unmodified apk and paste it in modified apk.. when this step is necessary?
XDA SENIOR MEMBER

I LEARN, I DEVELOPE, I SHARE
 
marcussmith2626
Old
#6  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2341
Posts: 4,374
Join Date: Jul 2012
Location: London
Quote:
Originally Posted by EpullSalvatrucha View Post
But in this guide forum.xda-developers.com/showthread.php?t=2018688 the additional instruction said copy classes.dex from original unmodified apk and paste it in modified apk.. when this step is necessary?
its not with apktool - iv never touched classes.dex

just resign the apk if it doesnt install

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more

Give Your Screen Some Color with HexaTime Live Wallpaper

We don’t often cover very many live wallpapers here on the XDA Portal. You may … more

Android Wear App Review: Command Google Now with Commandr – XDA Developer TV

OK Google. Make Me a sandwich. How many times have you … more