Related
I have been trying to edit an apk file, basically change some pngs. But after iam done I can't install it anymore. Why is that?
I used 7z to open the apk archive and replaced a few pngs. I put the apk on the sdcard, open to install, goes thru installing then fails. Any help would be appreciated.
Sent from my PC36100 using Tapatalk
dont you have to sign it again or something.. did you keep the same file names for the pngs?
I kept the same file names and sizes. Do I need to sign them?
jasongthang said:
dont you have to sign it again or something.. did you keep the same file names for the pngs?
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
just delete all the stuff in the META-INF folder, make edits, rezip, and resign. easy
What's the easiest way to sign an apk?
dkdude36 said:
just delete all the stuff in the META-INF folder, make edits, rezip, and resign. easy
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
soulassasin187 said:
What's the easiest way to sign an apk?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
You need an apk signing tool. Basically, you put the modified apk, in the signer folder, without the meta-inf folder, and run a quick command, your signed apk is then spit out. I'll attach the one I use when I get back to my laptop.
Hey... I think this thing makes phone calls too!
Here is the APK Signing Tool that I use.
Just unzip it somewhere, put the apk in the auto sign folder, open a command prompt to the folder, and run sign.bat, it should run you through it. There's a read me file in there, read it in case I forgot something.
Also, when editing market apps, they need to be resigned, but if ur editing built in app from the system, they do not. The HTC signature needs to remain intact on those.
Worked perfectly. Thank you.
JTNiggle said:
Here is the APK Signing Tool that I use.
Just unzip it somewhere, put the apk in the auto sign folder, open a command prompt to the folder, and run sign.bat, it should run you through it. There's a read me file in there, read it in case I forgot something.
Also, when editing market apps, they need to be resigned, but if ur editing built in app from the system, they do not. The HTC signature needs to remain intact on those.
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
These are the transition animations from MotoBlur.
I was unable at this point to find where the screen rotation animations are but I'll keep investigating.
the framework-res file is for PhantomHacker's Starburst ROM v1.3
You can just push the file via adb or Root Explorer (?).
I have also attached the transition animations stand-alone. They need to be injected in framework-res.apk/res/anim and they are compatible with all ROM releases.
Hi
Where do we push the framework-res file to?
mandie7312 said:
Where do we push the framework-res file to?
Click to expand...
Click to collapse
/system/framework/
Thanks
krazyflipj said:
/system/framework/
Click to expand...
Click to collapse
Thanks so much
how would i go about injecting this into another rom. any instructions anywhere?
jok3sta said:
how would i go about injecting this into another rom. any instructions anywhere?
Click to expand...
Click to collapse
Go to system/framework and look for you Framework-res.apk and send it to your pc with bluetooth (Thats what I do) then open your framework-res.apk with winrar or 7zip (I use winrar) with framwork-res.apk open navigate to "res" folder open it then look for "anim" folder and open it now from the anim folder that you downloaded from OP open it then drag and drop it to the "anim" folder that you have previously open in Winrar its going to ask you to overwrite the files click ok or yes then close winrar, then send it back to the phone tru bluetooth, now with root explores copy it to system/framework reboot and you are done, you will get FC's but reboot and everythin will be ok.
Hope it helps.
lokko21 said:
Go to system/framework and look for you Framework-res.apk and send it to your pc with bluetooth (Thats what I do) then open your framework-res.apk with winrar or 7zip (I use winrar) with framwork-res.apk open navigate to "res" folder open it then look for "anim" folder and open it now from the anim folder that you downloaded from OP open it then drag and drop it to the "anim" folder that you have previously open in Winrar its going to ask you to overwrite the files click ok or yes then close winrar, then send it back to the phone tru bluetooth, now with root explores copy it to system/framework reboot and you are done, you will get FC's but reboot and everythin will be ok.
Hope it helps.
Click to expand...
Click to collapse
I read somewhere that whe modifying an apk i will have to sign it.. Is that the case here as well?
Tapatalkin' it from my Epic Touch 3g
jok3sta said:
I read somewhere that whe modifying an apk i will have to sign it.. Is that the case here as well?
Tapatalkin' it from my Epic Touch 3g
Click to expand...
Click to collapse
You don't sign system apk's.
Just push it to system/framework and reboot.
Bah, double post.
AvatarOfFrost said:
You don't sign system apk's.
Just push it to system/framework and reboot.
Click to expand...
Click to collapse
Kool thanks
Tapatalkin' it from my Epic Touch 3g
Thanks, looking forward to trying this out in a bit!
You can't just open an .apk. It has to be de-compiled, edited, then re-compiled. Just fyi so you don't get an FC fest
Sent from my SPH-D710 using xda premium
SAShady said:
You can't just open an .apk. It has to be de-compiled, edited, then re-compiled. Just fyi so you don't get an FC fest
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....
Vegasden said:
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....
Click to expand...
Click to collapse
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium
works like a charm, thanks OP. (used 7zip to replace res/anim with anim.zip)
cant wait til you get your hands on those rotation animations. maybe this could help but i bet youve already seen this:
http://hotfile.com/dl/122984343/f518479/motoblurframework.zip.html
couldnt find anything to point to the xml that covers rotation animations
Vegasden said:
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....
Click to expand...
Click to collapse
+1000000
Sent from my SPH-D710 using xda premium
squshy 7 said:
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I haven't looked but on htc's it was a folder that could be replaced and I've done it several times with 7zip and had no issues.
Sent from my SPH-D710 using xda premium
Tiffany84 said:
I haven't looked but on htc's it was a folder that could be replaced and I've done it several times with 7zip and had no issues.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
it is the same i did it on one of my batt mods the closed the .zip and flashed and all was ok
squshy 7 said:
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You don't need to decompile and recompile unless you are modifying the CONTENTS of the xml. In this case you are simply replacing them.
I believe the transition animations are in blur-res.apk or moto-res.apk.
Sent from my SPH-D710 using xda premium
The best way to push an app to your system/app file with out bricking your phone?
na4hotx said:
The best way to push an app to your system/app file with out bricking your phone?
Click to expand...
Click to collapse
Um that isn't going to brick you. Especially since you're talking about system app. Worst thing to happen would be a reboot if you touched an app which was currently running.
But I've been using root explorer and it works great. Or if the file is on my computer I use adb push. Or even a flashable zip if you really are worried.
Sent from my SGH-T999 using Tapatalk 2
As he said. Nothing else really needed to be said, good answer.
Sent from my SGH-T999 using xda premium
I used a file browser app and installed it over the existing one. Every time after that I was getting an error something .goo not responding. (SecPhone.apk) Trying to restor the call recording feature. I ended up doing a restore back to square one. No if I use root-explorer will it make a difference or should I use dab push? I would not know how to begging with that. could I use terminal and instal like I would if I was using the cwmtr.img install directions. but direct it to system/app?
na4hotx said:
I used a file browser app and installed it over the existing one. Every time after that I was getting an error something .goo not responding. (SecPhone.apk) Trying to restor the call recording feature. I ended up doing a restore back to square one. No if I use root-explorer will it make a difference or should I use dab push? I would not know how to begging with that. could I use terminal and instal like I would if I was using the cwmtr.img install directions. but direct it to system/app?
Click to expand...
Click to collapse
Which file browser app did you use? Did you remember to set the permissions for the newly copied apk? Permissions in /system/app should be rw-r--r
Sent from my SGH-T999 using Tapatalk 2
No I did not set permissions. If I use Root-Explorer will that allow me to set permissions? I used Smanager to move the file.
Ctrl+C then Ctrl+V
Can I use RootExplorer to zip file them flash it? Or just move using RE?
na4hotx said:
No I did not set permissions. If I use Root-Explorer will that allow me to set permissions? I used Smanager to move the file.
Click to expand...
Click to collapse
Yes, Root Explorer will allow you to change permissions as long as you aare rooted.
na4hotx said:
Can I use RootExplorer to zip file them flash it? Or just move using RE?
Click to expand...
Click to collapse
Root Explorer is a file manager, use to move the file to the appropriate folder and set permissions and reboot. I know you can create a zip & tar file, don't know if it would be flashable though.
na4hotx said:
No I did not set permissions. If I use Root-Explorer will that allow me to set permissions? I used Smanager to move the file.
Click to expand...
Click to collapse
Smanager isn't a good file system tool. Try root browser lite tap and hold functioning is perfect. Has options for copy paste and permissions
saldebot said:
Yes, Root Explorer will allow you to change permissions as long as you aare rooted.
Root Explorer is a file manager, use to move the file to the appropriate folder and set permissions and reboot. I know you can create a zip & tar file, don't know if it would be flashable though.
Click to expand...
Click to collapse
Yeah it can't make flashable zips. Just storage zip files
Sent from my SGH-T999 using Tapatalk 2
I am using Frosty JB v6. I asked in the developer thread and I got a reply http://forum.xda-developers.com/showthread.php?t=1874063&page=546
I tried using RootExplorer and I was still getting error messages after be booting. Is there a way to make it flash able? What am I doing wrong or is it just never going to work? Do I need to start looking for a rom that has it functional on the build?
Did you reset permissions to match the rest of the files in the folder?
And you probably need to wipe dalvik and cache in recovery.
Sent from my SGH-T999 using xda app-developers app
na4hotx said:
I am using Frosty JB v6. I asked in the developer thread and I got a reply http://forum.xda-developers.com/showthread.php?t=1874063&page=546
I tried using RootExplorer and I was still getting error messages after be booting. Is there a way to make it flash able? What am I doing wrong or is it just never going to work? Do I need to start looking for a rom that has it functional on the build?
Click to expand...
Click to collapse
Use root browser lite, you can get it from the market it's a freeware then copy the app you want to system/app ....no permission stuff needed
DocHoliday77 said:
Did you reset permissions to match the rest of the files in the folder?
And you probably need to wipe dalvik and cache in recovery.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
this. Also, you didn't odex your ROM did you?
deziguy420 said:
Use root browser lite, you can get it from the market it's a freeware then copy the app you want to system/app ....no permission stuff needed
Click to expand...
Click to collapse
Please know what you're talking about first before posting suggestions. Especially when it pertains to system directory permissions. System/app directory uses rw-r--r-- as the permissions. Meaning owner has read write permissions while everyone else only has read. Not setting permissions correctly can lead to many many many issues.
Sent from my SGH-T999 using Tapatalk 2
There is application on the market called system application mover
Sent from my SGH-T999 using xda premium
I vote for a rom that has it and works where you don't need to mod stuff, yet. Learn all this stuff with something you don't need, like a sound mod (DSP) or something.
simple video
http://www.youtube.com/watch?v=mJGbiSkom9M
I want to take an existing gapps and modify it with all of my favorite apps to make flashes between roms less painful. Been researching and saw you can use a zip program to easily achieve this. Question, is it that simple or is there more to know? Any advice be welcomed.
Sent from my PC36100 using Tapatalk 2
Yes it is almost that simple. Make sure you add the apks you want in the data/apps folder and have signature verification turned off. If you need to any further help just pm me.
Sent from my PC36100 using xda app-developers app
Yes, this would be very easy
You need: 7zip and the apks of all your favorite apps
1. Grab the zip for the gapps you're using
2. Open the zip using 7zip (DO NOT EXTRACT)
3. There should be a folder named "data". Open it and go into the "app" folder (final path should be gapps.zip/data/app)
4. Now go to where the apks of your favorite programs are and drag all of them into the open 7zip window. Say yes when the prompt comes up
5. Thats it. The flashable zip extracts EVERYTHING thats in the "data" folder so your apps will be included in that
For more info, and to learn how to creat your own flashable zip (its not very hard actually) go to the following thread:
Note however, that it would be easier to just make a whole different flashable zip that contains your favorite apps since gapps vary by rom and by android version
[TUTORIAL]Making FLASHABLE zips, Edify script, Zip signing, and Key creation
Sent from my PG06100
Thanks for the quick feedback guys, some great responses. Excited to have a reason to fire up my pc.
Sent from my PC36100 using Tapatalk 2
Some apk's need lib files added to the zip file. Titanium Backup is one, for example, that I add to all my ROMs before I flash them. Swiftkey is another.
Titanium Backup Pro will allow you to create a flashable zip of all of your installed user apps in a single click
I like to break stuff!
-EViL-KoNCEPTz- said:
Titanium Backup Pro will allow you to create a flashable zip of all of your installed user apps in a single click
I like to break stuff!
Click to expand...
Click to collapse
Can I know how it is done?
_______
Moto G 2014 XT1068 | CM13.0 Official Nightly
sura14 said:
Can I know how it is done?
_______
Moto G 2014 XT1068 | CM13.0 Official Nightly
Click to expand...
Click to collapse
sounds easy
cryptickid715 said:
sounds easy
Click to expand...
Click to collapse
What?
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
this is not in the correct section. This should have been posted under the Q&A section.....Not development
notified mods to move this....
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
There is a thread in theme section with the stock keyboard... with auto correct, , and long opress for secondary symbol. OR type arsaw and look for his thread..am driving right now, I'll supply the link later if you don't find it
massih88 said:
Hey guys looking for 2 days now cant find a option: is there anyway to have auto correct on the note 2 stock keyboard?
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
Check my thread here: http://forum.xda-developers.com/showthread.php?t=2145815&highlight=samsung+stock+keyboard
contains 'themed" stock samsung keyboard... both auto-correct and non-auto correct versions.
Thanks for the replies. Ya I tried that link. Now I have a red keyboard and no auto correct lol how can I get back the stock keyboard? I deleted the zip but still the red keyboard . All I need is auto correct on stock keyboeard
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Thanks for the replies. Ya I tried that link. Now I have a red keyboard and no auto correct lol how can I get back the stock keyboard? I deleted the zip but still the red keyboard . All I need is auto correct on stock keyboeard
Click to expand...
Click to collapse
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
Yes I am rooted and thanks for helping im coming from a z10 lol. perfect I will do that right away. im on stock rom touch wiz called I think 4.1.2
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
ok im a noob tho new to all this. So I downloaded your link. Zip file right? Do I put the whole zip on my phone storage? then flash? I downloaded room file manager and cant find /system apps. Sorry for these probably stupid questions. When I open the zip there are are a few folders.
assets
meta-inf
res
AndroidMainfest
classes
massih88 said:
ok im a noob tho new to all this. So I downloaded your link. Zip file right? Do I put the whole zip on my phone storage? then flash? I downloaded room file manager and cant find /system apps. Sorry for these probably stupid questions. When I open the zip there are are a few folders.
assets
meta-inf
res
AndroidMainfest
classes
Click to expand...
Click to collapse
Those are folders/files in the flashable zip. Let's try the simpliest approach first.
1. Download "Root Explorer (File Manager) from the PlayStore, and install
2. From my post #6 above, save the attached file (SamsungIME.apk)... on your phone's sdcard
3. Open Root Explorer, and navigate to the folder on your phone (sdcard) where you put the SamsungIME.apk... long press it, then select "Copy"
4. now while still within Root Explorer, navigate to /system folder, and hit "Paste" (make sure you mount as R/W.. it's the button at the top. If you are mounted as Read Only, you'll get an error message "You cannot past here because the file system is read only". Just hit the "Mount R/W" toggle at the top of screen.
5. Now, "SamsungIME.apk" is in your /system folder. You need to fix permissions. Long press "SamsungIME.apk" and select "Permissions". There are boxes with green check marks. toggle the boxes so that you only have green check marks in: Owner: R W ; Group: R ; Others: R. Hit "OK"
6. Now, long press "SamsungIME.apk" file again, and select "Move"
7. Navigate to /system/app (you should already be in /system, so just tap the "app" folder
8. Make sure you are still mounted as "R/W", if so, tap the "Paste" key at bottom. this will put "SamsungIME.apk" in the /system/app folder
9. if you did all this correctly, you should be good to go...
Okay I tried finall got it in the right system folder like u explained I attach a picture. Its still not working. Do I just need to reboot or flash? I use goo manager.
Hope I didnt do anything wrong while moving it to app system
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Okay I tried finall got it in the right system folder like u explained I attach a picture. Its still not working. Do I just need to reboot or flash? I use goo manager.
Hope I didnt do anything wrong while moving it to app system
Sent from my SGH-I317M using xda app-developers app
Click to expand...
Click to collapse
It appears you are not understanding some of the android basics...and that can be extremely dangerous... especially since you are rooted. From you screenshot, you show zip files in your /system folder. Per my previous post, I stated to copy "SamsungIME.apk" to /system... fix permissions... then MOVE to /system/app. Your screenshot shows zip files in your /system folder (i.e., "SamsungIME.zip"). My attachment is the apk file itself. So apparently when you downloaded, it zipped it for compression purposes. YOU NEED THE APK. I suspect it is inside that zip file.. so you'll need to know how to unzip that zip.. and get the ".apk" The APKs goes into the /system/app folder (Not /system). Try again, and get the SamsungIME.apk out of that zip... copy that apk to /system.. fix permissions... then move (not copy) to /system/app (it's a sub folder within /system). If this didn't work, you have done something wrong.
Damn I had the feeling some was wrong. So should I get that out of the system folder? How do I do that ? I cant delete or move them. Does it harm if I leave them there? Ya im trying that now how yiu explained the apk I get it . Thanks alot tho for ur patients
Sent from my SGH-I317M using xda app-developers app
massih88 said:
Damn I had the feeling some was wrong. So should I get that out of the system folder? How do I do that ? I cant delete or move them. Does it harm if I leave them there? Ya im trying that now how yiu explained the apk I get it . Thanks alot tho for ur patients
Click to expand...
Click to collapse
I use Root Explorer... if you long press the file, you get the option to delete file. Delete the ".zip" files in /system folder. Your screenshot looks like ES File Explorer (or something similar). You should be able to "select" that zip file, then delete. Go back to my Post#6 and download the APK file (SamsumgIME.apk)... do not zip it... you should be able to download file as apk. Then follow my previous instructions. Again, get the APK file (not .zip) to /system folder.... then fix permissions... then MOVE (don't copy or you will leave a copy of the apk behind in /system) to /system/app folder. System apk files belong in the app subfolder of system (/system/app). When you go to paste the apk in /system/app, you will be asked to replace existing file... replace it. Try again... report back.
Ok thanks will do that tomorow . I use es explorer yes. When I try to delete it says file cannot be deleted. Cant see any apk file I use windows 8 maybe tahts why?
Sent from my SGH-I317M using xda app-developers app
DoctorQMM said:
Don't know what ROM you are on... your knowledge of pushing apps to /system (ie., via adb), etc., so I'm attaching the stock samsung keyboard (plain grey) with auto-correct functionality. You need to be rooted at least. Copy the attached apk to your phone... then, using your favorite root file manager (like Root Explorer, etc) copy to /system folder first... fix permissions to rw.r..r.. then, MOVE to /system/app. It will ask if you want to replace the current "SamsungIME.apk", answer yes. You should be good to go.
Click to expand...
Click to collapse
When I tried to install it!
X App not installed