Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP EpullSalvatrucha

28th May 2014, 03:30 AM   |  #1  
EpullSalvatrucha's Avatar
OP Senior Member
Flag Muar, Johor
Thanks Meter: 15
 
126 posts
Join Date:Joined: Feb 2014
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?
28th May 2014, 05:39 AM   |  #2  
marcussmith2626's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,633
 
4,892 posts
Join Date:Joined: Jul 2012
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
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ View ]
28th May 2014, 12:11 PM   |  #3  
EpullSalvatrucha's Avatar
OP Senior Member
Flag Muar, Johor
Thanks Meter: 15
 
126 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by marcussmith2626

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?
28th May 2014, 01:26 PM   |  #4  
marcussmith2626's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,633
 
4,892 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by EpullSalvatrucha

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
28th May 2014, 05:46 PM   |  #5  
EpullSalvatrucha's Avatar
OP Senior Member
Flag Muar, Johor
Thanks Meter: 15
 
126 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by marcussmith2626

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?
28th May 2014, 07:38 PM   |  #6  
marcussmith2626's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,633
 
4,892 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by EpullSalvatrucha

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
The Following User Says Thank You to marcussmith2626 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes