Trouble decompile - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Heya everyone
I am having trouble decompile the gravitybox apk file
I get the error that cant decompile arsc file
I dont want to do major edits I just wanna edit the apk to hide it from launcher which is editing the manifest of app
Please help me
Thanks

You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg

marcussmith2626 said:
You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg
Click to expand...
Click to collapse
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only

abhishekr700 said:
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only
Click to expand...
Click to collapse
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads

marcussmith2626 said:
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads
Click to expand...
Click to collapse
Sir I'm already using 1.5.2 version
I will give a try to rc4
But what does the error mean?

Related

4 Lockscreens for SGS tried but failed

Hi,
I kno I've posted this in Q&A but maybe there is one super developer who can help the community getting there 4 lockscreens?!
Currently there only exist two types of lockscreen for the sgs i9000. AOSP or samsung glass.
For the Vibrant on the other hand, some people (untermensch ) have managed to get 4 lockscreen types:
AOSP lockscreen
Glass lockscreen
Puzzle lockscreen
Epic lockscreen
More info in this topic: http://forum.xda-developers.com/showthread.php?t=838260
It must definitly be possible to port this to a froyo rom on our SGS but it has taken me a lot of time allready and have not progressed one bit.
Frustrating indeed.
I managed to decompile the android.policy.jar using the command: java -jar baksmali.jar -x android.policy.jar -o android.policy
I added the epic classes from the source zip file in the earlier mentioned post.
I recompiled ((java -jar smali.jar android.policy -o classes.dex) it again and at least no errors at this stage.
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Tried a lot of things, options, google, this forum but failed to find a solution.
The same thing with the Settings.apk, same kind of error, no solution.
I must be doing something wrong here and have come to a point that I cant figure it out anymore.
I believe that a lot of people would be interested in this kind of thing and this is something achievable.
If somebody could take a shot at this modification please, it would be so awesome to have this for Darkys rom or Docrom v9.
ps.i do remember that some id's of resources need to change cause there are some duplicates somewhere but don't remember which one where.
The source codes that untenmensch provided contain all the information. Though haven't tried it, but it is comprehensive enough.
Try using apk manager to decompile the framework-res.apk, and you use baksmali and smali for the settings apk.
Use stock apk, instead of modded ones.
Sent from my GT-I9000 using Tapatalk
laboratik said:
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Click to expand...
Click to collapse
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
texture said:
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
Click to expand...
Click to collapse
doesnt really help as it still uses apktool. I tried to build the lockscreen mod for my ROM with it
just delete them.nothing will be happened

Virtuous Ten Studio [Perfect apk,jar editor]

We all at least most of us edit and play with apk's and jar files...so i found the past days a great and i mean GREAT way to edit those files..the app you can used called Virtuous Ten Studio and is developed by Diamondback this app is a great editor for apk's...i just play with it right now to just for curiocity add the navigation bars like the thread by Rittik said...i just open the framework-res.apk to this application it decompiled it i edit what i have with the easy of a explorer...compiled it without any problems by itself and poof...ready to use...great app you who edit apk's should really look at it...the link to the app is here
[IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8210
Run on Windows only :crying:
Totally perfect i am uaing aince release. Plus if on windows 7 you can reopn kernels and edit some stuffs like boot logo and some scripts without installing the long procedure of Dxdia+cygwin..so its a win win software pretty nice for begginers who are having a problem decompiling and recompiling apk
Just a notice. Please dont try recompiling SystemUI with this..it doesnt recompile the smali correctly which makes the apk corrupt so for that please use apktool
-Rik[Rittik]

[GUIDE]How To Make a CM9/10/10.1 Theme(The easy way)

Well i have been working with one of my Brother for making some CM10 themes. Well there are many Tutorials like Making a Cyanogen Mod environment to make a Theme
Or to use eclipse and sdk. All are very time consuming according to me. So i have made all these things easy!
CREDITS
SunnyLoveSalman--Thanks bro!
Click to expand...
Click to collapse
The things you need
•Java JRE(Update it please)
•Apktool and Aapt (preferrably 1.5.2 or newer versions)
•Notepad++ for editing xml
•A bit of time
Click to expand...
Click to collapse
Ok so now the guide--
•Download the apktool and appt and place it in C:/WINDOWS/(here)
• Now after copying all the files.
• Go to Run and Start Up Cmd.exe
•Now we need to install our CM10 framework i used franework of My ROM or you can use FrozenPika or Shendu preferrable any 4.1.2 framework should work.
For this we have to write this code in cmd
Code:
apktool if (framework directory path)
Example-- apktool if E:/Rittik/CM10-HuaweiU8800pro/framework/framework-res.apk
After its done.
• Now extract My Rar(Template) name it to something Suitable
•Now inside edit all PNG you want to change any xml files you want to change for changing name or putting new icons excectra do it now.
•After you feel your Theme is ready to test.
•Now in CMD(If you closed last session then input framework as shown above again to be sure)
Put these code for compiling your theme.
Code:
apktool b (folder name)
Example-- apktool b CM10
Now if you have done everything correct it should show "Done!"
• Now you will get your Apk inside build folder.
•Sign the apk and install and test it.
Click to expand...
Click to collapse
So thats it actually ...pretty simple no need for Environment no need for ubuntu no need for eclipse!
DOWNLOAD
Code:
CM10 Theme template-- [url= d-h.st/j9S]Press Me![/url]
Notes
i have added the ability to change lockscreen too which are usually overlooked in most of the CM10 themes out there.
Click to expand...
Click to collapse
Any qwestions? Please Ask it below.I will try to answer it ASAP.
-Rik[Rittik]
I Will try this
Thanks
HOW TO ......
Rittik said:
Well i have been working with one of my Brother for making some CM10 themes. Well there are many Tutorials like Making a Cyanogen Mod environment to make a Theme
Or to use eclipse and sdk. All are very time consuming according to me. So i have made all these things easy!
CREDITS
The things you need
Ok so now the guide--
So thats it actually ...pretty simple no need for Environment no need for ubuntu no need for eclipse!
DOWNLOAD
Code:
CM10 Theme template-- [url= d-h.st/j9S]Press Me![/url]
Notes
Any qwestions? Please Ask it below.I will try to answer it ASAP.
-Rik[Rittik]
Click to expand...
Click to collapse
RITIK how to download these applications......can i google it ???
You need a pc for running apktool and yea xda has these.
-Rik[Rittik]

help to port apps from SGS to SGS+

hello mates,
is there someone that can explain me in few steps how to port system apps from i9000 to i9001?
I need only some directions no the whole process, I already know show to decompile and compile apps.
That I want to do in specific case si to port the i9000 tw30launcher to i9001 (cause on 9001 si bugged)
Le master broodplank pmed me. I asked this to him he said we need to deodex the files
:
Twlauncher and frameworks from the i9000 and then decompile and recompile them so that the signature is correct for our device @broodplank1337
mrjraider said:
Le master broodplank pmed me. I asked this to him he said we need to deodex the files
:
Twlauncher and frameworks from the i9000 and then decompile and recompile them so that the signature is correct for our device @broodplank1337
Click to expand...
Click to collapse
umh...
- step1: decopiled i9000 TouchWiz30Launcher.apk using apktool and i9000 framework-res.apk
- step2: decopiled i9001 TouchWiz30Launcher.apk using apktool and i9001 framework-res.apk
- step3: compiled i9000 TouchWiz30Launcher.apk using apktool and i9001 framework-res.apk
- step4: copied AndroidManifest.xml,resources.arsc and META-INF folder in modded APK
... but i does not works... what I'm done wrong or what I missing?
I dont know. Ive tried it myself but failed aswell. Perhaps a question for him or another dev
Verstuurd van mijn GT-I9001 met Tapatalk
OK...
I've found where I was wrong: the resources.arsc file should not be replaced after the mod...
not easy such things for a near to 40 years old man...
by the way, I just remembered that Samsung has released a 2.3.6 version with fixed touchwiz: the KPC
I think you don't have to port the apps because both phones have the same resolution.

compile framework-res.apk

Hello people,
i need to decompile framework-res.apk of i9505. I have done it without problems but...recompile is a problem!! I have a lot of errors!
I have tried to simply decompile and rebuild without making changes and...yes...problem again!
I'm using latest omega rom
Help me!
Try to use the latest apktool version.If it doesn't help paste the log here you'll get more help.
Sent from my GT-I9500 using Tapatalk 4

Categories

Resources