Hi
This is my first post and I hope that I have posted to the write forum!
I have a rooted Note II phone and I pulled the Candy crush APK down to my PC.
I have decompiled the APK and compiled the APK and signed the APK. I have copied the new APK down to the phone, installs OK but runs it stays on the Home Page and crashes.
I am not sure what I am doing wrong, I have not change anything just decompiling and compiling /signing and testing.
This is what I have done so far:
1. APKTOOL d Candy.apk
2. APKTOOL b Candy Candy2.apk
3. java -jar SignApk.jar testkey.x509.pem testkey.pk8 Candy2.apk Clash2Signed.apk
4. Copied to phone, installed OK but stays on the home page.
Where am I going wrong?
Thanks
Paul
if it is an app with online functions, may be failing a signature check since the original developers signature is replaced.
What are you trying to do? Hack it for 1000 lives, 200 moves, no tickets and slow timer?
Candy Crush + APKTOOL
gshadow325 said:
What are you trying to do? Hack it for 1000 lives, 200 moves, no tickets and slow timer?
Click to expand...
Click to collapse
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
pphillips100 said:
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
Click to expand...
Click to collapse
You can go here but first make a free account game is already hacked.
http://androidcheats.org/forum/inde...tersupdated-7613-new-version/?view=getnewpost
Sent from my SGH-T889 using xda app-developers app
pphillips100 said:
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
Click to expand...
Click to collapse
paul, you know i sent you a pm...top right corner of your screen shoulr show notifications
Might of found of issue
gshadow325 said:
paul, you know i sent you a pm...top right corner of your screen shoulr show notifications
Click to expand...
Click to collapse
Yes thank you.
I think I have found the problem but still seeking a solution, looking at the log file I am seeing the following error:
E/FictionFactory( 9936): Trying to seek in a file which probably is compressed! This is not possible. Either remove the seeking or add the file to the list of extensions which should not be compressed.
Any ideas?
Paul
pphillips100 said:
Yes thank you.
I think I have found the problem but still seeking a solution, looking at the log file I am seeing the following error:
E/FictionFactory( 9936): Trying to seek in a file which probably is compressed! This is not possible. Either remove the seeking or add the file to the list of extensions which should not be compressed.
Any ideas?
Paul
Click to expand...
Click to collapse
Look at the original apk and your new one, and make sure anything that isn't compressed in the original is not compressed in the new one as well. I've seen issues like this come up w/ .ogg files in the /res/raw/ directory, but it could exist anywhere really.
dwitherell said:
Look at the original apk and your new one, and make sure anything that isn't compressed in the original is not compressed in the new one as well. I've seen issues like this come up w/ .ogg files in the /res/raw/ directory, but it could exist anywhere really.
Click to expand...
Click to collapse
Thank you finally got it to work!!!
The issue was pretty straight forward, all the tutorials that I have seen have always steered me decompile, compile and sign which has not worked for me so far.
The way I got around this was to add my changes to the original APK file, resign it and hey it worked.
Paul.
pphillips100 said:
Thank you finally got it to work!!!
The issue was pretty straight forward, all the tutorials that I have seen have always steered me decompile, compile and sign which has not worked for me so far.
The way I got around this was to add my changes to the original APK file, resign it and hey it worked.
Paul.
Click to expand...
Click to collapse
how you solved it?
please explain for me.
thanks
DavidCDM said:
pretty cool:good:
Click to expand...
Click to collapse
how to make it no ticket ? i have edited apk and dont know which file to edit for no ticket... any suggestions pls ?:silly:
Related
Well I have a couple apps that I am modding to my liking. I'm modding the actual apk file itself. Is it ok to post them when finished, or could that be an issue
If they are free I don't see why not.
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
I just figured it would get deleted by a Mod due to the fact it wasn't my work originally. I got a couple I know people will like.
Fancy Widget, working on a clear Pandora (couple versions actually), and Some more that I come across.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
Click to expand...
Click to collapse
Right that what I was thinking.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
Click to expand...
Click to collapse
I second this. An e-mail to the dev would be the best idea.
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
enragedpaza said:
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
Click to expand...
Click to collapse
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
ViViDboarder said:
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
Click to expand...
Click to collapse
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
enragedpaza said:
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
Click to expand...
Click to collapse
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
ViViDboarder said:
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
Click to expand...
Click to collapse
Lol meaning? Or I could look into metamorph.
Sent from my PC36100 using XDA App
Minjin said:
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
Click to expand...
Click to collapse
I'll let you know when I'm on my pc.
Sent from my PC36100 using XDA App
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
madsquabbles said:
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
Click to expand...
Click to collapse
All I wanted was a transparent Pandora. I made every widget 50% transparent. I know there is metamorph and there is a theme/skin floating around that will do it. But, I dont like having to go through the process of downloading Metamorph, download this, download that. Just wanted to have it as a apk. I haven't used Metamorph since nexus one sold it 2 months after buying it. Might have changed since then, but it used to fail on doing some skins.
you should just make the theme, and let people morph it themselves. a theme is not the same as distributing the application.
First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
If you break your phone I am not responsible, if you have questions though I am more than willing to help as much as I can but this was the first project I did.
There may be easier ways to do this but this is how I did it. If there is, feel free to comment the other ways!
I would like to say thanks to maddoggin and illinois08 for there help in getting mine figured out!
Requirements:
winrar (this is what I prefer but you can use any of your choice)
Original Swype.apk (included in thread and swype needs to be already installed)
image editing software (I personally used gimp and coreldraw) and experience in them.
common sense
What you are actually changing:
To change the look of swype is fairly simple, meaning all you are changing is some .png files in the apk itself to whatever you want them to be.
The only downside is trying to make sure the letter spacing is correct. That is the reason I used coreldraw first to do the spacing and then the background with my flames was in gimp.
First Step:
Using winrar (7zip, etc) open up Swype.apk (I placed on desktop for easier use).
The first folder should say assets. Open up assets. After you open assets, there should be a folder named keyboards. Drag the keyboards folder to desktop.
Once you open the keyboards folder, you will see multiple image files. You have found the files we need to edit! Make sure every png stays in there even if you decided not to edit one of them.
Files SwypeRef_LS_Blue_Shifted_WVGA.png (LS is landscape keyboard) through SwypeRef_PT_Standard_wBlue_VGA.png (PT is portrait, most important for me)
I only edited 4 of the images because these are the main 4 I use and don't use landscape. If you wish you can edit all of them or just 1 .
Second Step:
Using Gimp/or CorelDRAW, you will need to make new images that are 480x320 pixels. At this point, it is totally up to you to get the placements correct and make the image how you want it displayed.
I personally imported the images I was editing to Corel, and basically started a fresh one on top of it so I could get the letter placements correct. You need to make sure when you are done that the image is still 480x320 with the letters not being the end of the size. I made an outline that was 480x320 and placed the letters inside and exported the image that way so it stayed the right size. I would also try to keep the images around 50 kb because mine are around 90 and you noticed some lag when it switched between pngs...
As you are exporting your images, make sure to name them their appropriate names (shifted, capitals, lower case, etc.) which makes it easier to rename them after wards.
Third Step
Once you have all of your images done how you want, I would place them all in their own separate folder.
Now, you will need to open the keyboards folder from earlier and match the images you edited to where they go in "keyboards" and rename your files to the appropriate name and delete its' counter part. Meaning make sure only your image is in keyboards with it renamed to what mode your png represents. And make sure the folder contains every png it did before. They all serve a purpose.
After you have removed all the old pngs and replaced with your renamed images, you will need to open Swype.apk back up and go to assets-> and delete the original keyboards folder. After deleting, move your keyboards folder with your images under assets.
Swype is now edited with your keyboards how you want them!!
Fourth Step:
The only thing left is either adb push Swype.apk to system/app or place on sd card and install with astro,ez,etc.
Another way that is very easy and the way I do it. If you are using a theme, open up on your desktop with winrar. Go to folder system/app and place Swype.apk in app folder. Now flash from recovery and your new and improved swype is ready for action.
I have attached what I made mine look like. Some people may not like how basic it looks and how some of the things are not sized or off correctly but I like it and it works!!
I also added a picture of my custom dropdown which I made in Gimp. If you would like to know how to do one like this send me a PM.
And if you have any questions, feel free to ask. I may not be the best at explaining things thoroughly !
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Nah it's cool man. I mean i get it. idk about everyone else. I haven't got around to trying it yet but this lets me know what to expect.
Ok well that is good! Thanks for the reply...
I hope that post didn't come off as rude, if you sent me a PM I more than willing to help everyone! I just wanted to make sure it wasn't bad instructions ...
Dude this is really nice, I like how you changed the letters to diferent font. Nice job! You should make some more!
Sent from my SPH-D700 using XDA Premium App
Thanks man! Like I said since this was my personal one I didn't go all out and it was kind of sloppy but it suits me fine.
I was thinking about it but not sure what people would want! If some people gave me some ideas of what kind of background or font, I would have no problem making it for them.
Now that I know how to do it (with your help) it won't be as painful as before, just time consuming.
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
stir fry a lot said:
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
Click to expand...
Click to collapse
Thank you!
This is GREAT!! Thank you for putting this together.
Your are welcome! Let me know if you have any questions!
Just so everyone is clear, the Swype.apk attached to post is the original swype, not my customized one . Because that is what you have to edit.
Just so no one gets confused.
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
ficjay said:
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
Click to expand...
Click to collapse
Awesome! Im glad it helped you! Im sure you will and hope you share with us the finished product!
Sent from my SPH-D700 using XDA App
jkrough0728 said:
First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
Click to expand...
Click to collapse
Im thinkin that pull needs a lil animation......
D
jkrough0728 said:
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Click to expand...
Click to collapse
I haven't tried yetyet but I get It fine... great job
Sent from my SPH-D700 using XDA App
Worked great on my3VO thanks.
Anyone have a link to the nexus s4g version
I want to edit my swype to look like that
Sent from my SPH-D700 using XDA Premium App
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
jkrough0728 said:
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
Click to expand...
Click to collapse
I just themed one today. HOLY CRAP IT'S NOT EASY!
shane6374 said:
I just themed one today. HOLY CRAP IT'S NOT EASY!
Click to expand...
Click to collapse
I know it can be a pain sometimes... Really depends if you want different font that is the hardest thing ever lol
sent from my Evo 3D from xda app
I've just bought WidgetLocker Lockscreen and using SMS Unread Count to display any missed calls/sms/emails.
The one thing that annoys me about my nice new lockscreen is pressing on the SMS Unread Count widget has an orange highlight before it opens the application.
Is there any way to remove the annoying orange highlight? It seems to be standard for all widgets to be highlighted in some way when pressed.
Been digging through my framework-res.apk and tried editing focused_application_background_static.png to another colour or transparent but this doesn't seem to be the correct image file.
If anyone knows how I can do this could you please point me in the right direction?
So I was looking in the wrong apk file. I guess this is what happens when you're attempting mods when you should be sleeping.
All it took was a simple edit of some .9.png files in the correct apk and now everything is nicely colour coordinated again.
Can someone explain to me how to do this in detail?
Anyone ?
Been a few months, but I still can't find which files to edit. Anyone know?
can we get this on ICS ROMS mms.apk the unread counter i miss it much
bump...
...
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
waylaidwanderer said:
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
Click to expand...
Click to collapse
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
EH15 said:
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
Click to expand...
Click to collapse
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
waylaidwanderer said:
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
Click to expand...
Click to collapse
Yup, I found the apk I need. It's com.kanokgems.smswidget-1.apk. I replaced a couple of images using WinRar, then used Root Explorer and copied it over to it's original location. Then restarted my phone, but it didn't work. The app wouldn't run properly...
You need to decompile it with APKtool or Auto APK Manager, and recompile it that way. Not always necessary, but that's the best way. And the most important part is to re/sign the apk file after you've recompiled it.
(Try installing it; if it tells you "Application not installed" you probably haven't signed it properly, and if you do sign it correctly it should work, otherwise uninstall the app and install your modded one).
Just delete badgeprovider.apk
Sent from my GT-I9100 using xda premium
Got it to work.
EH15 said:
Got it to work.
Click to expand...
Click to collapse
That's great! I hope I helped!
Sent from my GT-I9100
Hello,
Whenever I get a picture sent to me via MMS, it shows it as a slideshow. This drives me crazy and I wish it didn't.
I've Googled it so many times and looked everywhere but haven't been able to figure it out.
I found this thread for a Note2:
http://forum.xda-developers.com/showthread.php?t=2221045
Adding this into system/csc/feature does the trick.
<CscFeature_Message_EnableMmsOnePageViewer>true</CscFeature_Message_EnableMmsOnePageViewer>
Click to expand...
Click to collapse
But I'm not sure how to apply that to my SGH-i747M
Please help!!!
I've read that some people just get a different texting app, but I'd rather just fix the stock one. Unless there are some other benefits that I don't know about.
Thanks!!!
Most of the rooted stock roms found in the development section have this fixed.
Is there any way to fix it on the stock ROM though? I'm rooted but don't have time to look at changing Roms right now but would just like to fix this one issue.
The best solution I've found is to ask the sender to just send the picture and not include any text. If they do this, I will come through as just a picture that you can pinch and zoom. This is a hack, but works and is better than nothing.
I guess I just figured that the Note2 and S3 are similar so the fix would be easy to apply here, but I guess not.
philhouse said:
Hello,
Whenever I get a picture sent to me via MMS, it shows it as a slideshow. This drives me crazy and I wish it didn't.
I've Googled it so many times and looked everywhere but haven't been able to figure it out.
I found this thread for a Note2:
http://forum.xda-developers.com/showthread.php?t=2221045
But I'm not sure how to apply that to my SGH-i747M
Please help!!!
I've read that some people just get a different texting app, but I'd rather just fix the stock one. Unless there are some other benefits that I don't know about.
Thanks!!!
Click to expand...
Click to collapse
Just add that line of code to /system/csc/feature.xml
http://forum.xda-developers.com/showthread.php?t=2102651
Unfortunately you need to be rooted to edit feature.xml.
upndwn4par said:
Just add that line of code to /system/csc/feature.xml
http://forum.xda-developers.com/showthread.php?t=2102651
Click to expand...
Click to collapse
Perfect thanks! Before I go and do that, is it as simple as using Root Explorer, finding feature.xml and adding that line in?
philhouse said:
Perfect thanks! Before I go and do that, is it as simple as using Root Explorer, finding feature.xml and adding that line in?
Click to expand...
Click to collapse
Yup. Just add it in the "Message" section. Actually anywhere is fine, but if you add it as the last line in the message section you will be able to easily find it again.
upndwn4par said:
Yup. Just add it in the "Message" section. Actually anywhere is fine, but if you add it as the last line in the message section you will be able to easily find it again.
Click to expand...
Click to collapse
I just went to do this but I don't have a feature file in that location which was my original problem... I thought you had given the correct location for the file on the S3. Any ideas where it would be?
I just looked at others.xml in system/csc and there is similar language to the other hacks listed in that thread.
Does anyone know if that is the correct place for out S3s?
philhouse said:
I just looked at others.xml in system/csc and there is similar language to the other hacks listed in that thread.
Does anyone know if that is the correct place for out S3s?
Click to expand...
Click to collapse
I just tried adding it to others.xml and it worked!!!
hi, guys. I'm using the Nokia X, and like most people, I have only one SIM card in using. So it's the problem, on the top bar there always are two SIM card icons even I never use the second one! It's so ugly I have to say, especially when I am a little neat freaky and meet with the terrible designing. So I'm gonna ask you guys have any method to remove the second SIM icon? Many thanks~~~
jerrysong_cn said:
hi, guys. I'm using the Nokia X, and like most people, I have only one SIM card in using. So it's the problem, on the top bar there always are two SIM card icons even I never use the second one! It's so ugly I have to say, especially when I am a little neat freaky and meet with the terrible designing. So I'm gonna ask you guys have any method to remove the second SIM icon? Many thanks~~~
Click to expand...
Click to collapse
Can you send me the SystemUI.apk from /system/app?
sure. how could i send to you? could you please leave me a email?
simple fix/
jerrysong_cn said:
sure. how could i send to you? could you please leave me a email?
Click to expand...
Click to collapse
just use Xposed Framwork and remove the Second sim icon :cyclops:
PLEASE hit thanks
jerrysong_cn said:
sure. how could i send to you? could you please leave me a email?
Click to expand...
Click to collapse
You could attach it in the comments or PM it to me.
No offence. But don't try the Xposed method. It's a bit complicated my friend.
Dom3616 said:
You could attach it in the comments or PM it to me.
No offence. But don't try the Xposed method. It's a bit complicated my friend.
Click to expand...
Click to collapse
thanks. please find attachment.
jerrysong_cn said:
thanks. please find attachment.
Click to expand...
Click to collapse
This is highly appreciated. But I cannot decompile this unless you give me the framework-res.apk located in /system/framework. Please give this too.
Dom3616 said:
This is highly appreciated. But I cannot decompile this unless you give me the framework-res.apk located in /system/framework. Please give this too.
Click to expand...
Click to collapse
also attached
jerrysong_cn said:
also attached
Click to expand...
Click to collapse
Here you go. I did some editing. Just push this to /system/app and set the permissions. Hit thanks if it works.
Dom3616 said:
Here you go. I did some editing. Just push this to /system/app and set the permissions. Hit thanks if it works.
Click to expand...
Click to collapse
Thanks. Man. I have not root my device so I'm wondering if I can replace this file. Also can you let me know which file/part in this apk was modified by you and how to modify. I'm also interested to learn that. Thanks.
jerrysong_cn said:
Thanks. Man. I have not root my device so I'm wondering if I can replace this file. Also can you let me know which file/part in this apk was modified by you and how to modify. I'm also interested to learn that. Thanks.
Click to expand...
Click to collapse
You need root for this as well as Root Explorer app.
This is what I did. I'm not good at coding. So what I simply did is decompiled SystemUI.apk using framework-res.apk and replace all sim 2 icons with similar size transparent icons. That way, instead of those icons, you will see nothing now.