Compiling Help - Galaxy Ace S5830 General

so i followed tj_droids tutorial of decompiling and compiling using apk manager and i guess i did it all right.. decompiling went fine
but after compiling i am supposed to find resource.arsc in unsgined framework when opened as archive using 7zip..but i didnt!! help please if you can

Wrong section. You should have posted this in general section. Btw, did you delete resources.arsc from keep folder?
Sent from my GT-S5830 using Tapatalk 2

tj_droid said:
Wrong section. You should have posted this in general section. Btw, did you delete resources.arsc from keep folder?
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
sorry about the section..
yes... i did delete it from the keep folder..
now i dont find one in unsgined apk

What did you actually change in framework?
Sent from my GT-S5830 using Tapatalk 2

tj_droid said:
What did you actually change in framework?
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
strings.xml... nothing else

atishaycn said:
strings.xml... nothing else
Click to expand...
Click to collapse
Did you delete strings.xml from keep folder?
Sent from my GT-S5830 using Tapatalk 2

tj_droid said:
Did you delete strings.xml from keep folder?
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
noo..i didnt

atishaycn said:
noo..i didnt
Click to expand...
Click to collapse
apk manager says in English that remove whatever modified + resources file if xml was edited.. you missed to read console buddy

madman_amit said:
apk manager says in English that remove whatever modified + resources file if xml was edited.. you missed to read console buddy
Click to expand...
Click to collapse
yaaa.. but there is not value folder or string.xml in the keep folder

madman_amit said:
apk manager says in English that remove whatever modified + resources file if xml was edited.. you missed to read console buddy
Click to expand...
Click to collapse
AFAIK, you dont need to delete any xml's if you modifed them. Just delete resources.arsc, let apkmanager recompile it. Then drag and drop resources.arsc from new apk to old one.
Sent from my GT-S5830 using Tapatalk 2

tj_droid said:
AFAIK, you dont need to delete any xml's if you modifed them. Just delete resources.arsc, let apkmanager recompile it. Then drag and drop resources.arsc from new apk to old one.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
yaa..but that is the problem.. no resuorce.arsc in the new apk.! the unsignedframework

atishaycn said:
yaa..but that is the problem.. no resuorce.arsc in the new apk.! the unsignedframework
Click to expand...
Click to collapse
APKmanager is outdated now. Try new version of apkmanager. Its called APK Multi-tool. Search on google.
Sent from my GT-S5830 using Tapatalk 2

tj_droid said:
APKmanager is outdated now. Try new version of apkmanager. Its called APK Multi-tool. Search on google.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
i tried the alpha2 version of that too

tj_droid said:
APKmanager is outdated now. Try new version of apkmanager. Its called APK Multi-tool. Search on google.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
it says some error while compiling
log- http://dl.dropbox.com/u/54790911/log.txt

tj_droid said:
AFAIK, you dont need to delete any xml's if you modifed them. Just delete resources.arsc, let apkmanager recompile it. Then drag and drop resources.arsc from new apk to old one.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
well then you haven't modded some xmls which are not defined by resources.resc
Sent from Galaxy Ace which just landed on "MOON"

madman_amit said:
well then you haven't modded some xmls which are not defined by resources.resc
Sent from Galaxy Ace which just landed on "MOON"
Click to expand...
Click to collapse
I modified bools.xml
Well, what type of xml's are defined by resources.arsc? :O
Sent from my GT-S5830 using Tapatalk 2

madman_amit said:
well then you haven't modded some xmls which are not defined by resources.resc
Sent from Galaxy Ace which just landed on "MOON"
Click to expand...
Click to collapse
tj_droid said:
I modified bools.xml
Well, what type of xml's are defined by resources.arsc? :O
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
i modded strings.xml
i believe that comes under resource.arsc

now using apk multi tool 1.0.3..
it doesnt compile only...shows some error..i posted the log..

what should be the decompile mode?
sources and resources
or sources
or resources?

Related

[Q] Themes Help !

I want to make a theme for our sweet Ace but i'm stock at "zip" file because i don't know to make it flashable ...
I have PNG pictures but i don't know how to replace the original files, the trick is in the "zip" file, how can i make it ?
spacecaker make some of this zip's, maybe he can help ...
i have same prob .. hindi main samjana koi ho to if u dint mind ..
Sent from my GT-S5830 using xda premium
Zip file?
Ummm, You have made changes to framework-res.apk for the theme?
I can help, maybe.
Sent from my GT-S5830 using Tapatalk
immy28 said:
i have same prob .. hindi main samjana koi ho to if u dint mind ..
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Okie
Sent from my GT-S5830 using Tapatalk
tj_droid said:
Zip file?
Ummm, You have made changes to framework-res.apk for the theme?
I can help, maybe.
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
I want to make changes at many apps from system/app and system/framework ... but i'm stock at creating zip file that replace my original files ...
Ex: themes that replace png files like spacecaker did !!!
After i finish i will share with you, but i'm stock here ...
Just download wonokairoen's theme from themes and apps section. Extract it using winzip/winrar etc.
Replace all his files by your files, dont change anything in META-INf folder.
Zip back the files and your theme will be ready.
Dont forget to take wonokairoen's permission before using his zip.
Sent from my GT-S5830 using Tapatalk
tj_droid said:
Just download wonokairoen's theme from themes and apps section. Extract it using winzip/winrar etc.
Replace all his files by your files, dont change anything in META-INf folder.
Zip back the files and your theme will be ready.
Dont forget to take wonokairoen's permission before using his zip.
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
Many thanx man, i will try it tonight !

[Q] Modify framework-res.apk indica Eclipse.

Hi all, i have decompiled te framework-res.apk of the CM9 of Mclaw and i want to edit the lockscreen with eclipse sdk. Can i.?
YOu cant coz wrong section.
General section or where.?
Sent from my GT-S5830 using xda premium
Yup ask Mod to move in General Section xD
Use 7-zip
Way faster then eclipse
Eclipse i only use for making apps
Not for moding
unwritten sentance
spacecaker said:
Use 7-zip
Way faster then eclipse
Eclipse i only use for making apps
Not for moding
unwritten sentance
Click to expand...
Click to collapse
I want to modify the script not the pictures. With 7-zip can i.?
Sent from my GT-S5830 using xda premium
JorX_AD said:
I want to modify the script not the pictures. With 7-zip can i.?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Xml?
Then u need apktool or apk manager
unwritten sentance
spacecaker said:
Xml?
Then u need apktool or apk manager
unwritten sentance
Click to expand...
Click to collapse
Ok i know te apk manager. Thanks a lot.
Sent from my GT-S5830 using xda premium

[REQ] 5 docks on galaxy y

how can I have 5 docks on galaxy young...im on creeds rom 2.0.
please help...thnx alot..
U mean like this
Sent from my GT-S5360 using xda premium
evanlocked said:
U mean like this
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
yup2x...i cant find the thread but i saw it last time..wew...
can u give me the tut on how to do it?? please?..thnx..hehehe
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
Find iconColumnCount="4" and replace 4 with 5 (or 6 if you want 6 icons)
Save
Click to expand...
Click to collapse
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Find const/4 v8, 0x3 and replace 0x3 with 0x4 (or 0x5 if you want 6 icons)
Save
Click to expand...
Click to collapse
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
shocklads said:
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
Click to expand...
Click to collapse
Ah now u reveal the secret haha
Sent from my GT-S5360 using xda premium
shocklads said:
Decompile the Touchwiz30Launcher file.
1
Go to TouchWiz30Launcher\res\layout-mdpi\ and open launcher.xml with your text editor.
2
Go to TouchWiz30Launcher\smali\com\sec\android\app\twlau ncher and open AppShortcutZone.smali with your text editor
Compile file. Open unsignedTouchwiz30Launcher.apk, copy C:\twmod\TouchWiz30Launcher\build\apk\classes.dex to the apk file.
Click to expand...
Click to collapse
hehe..thnx...but im afraid to mess up my phone.hahaha..im not sure how to do it
.do u have already apk file for the mod?
PS. i dont know how to decompile and compile files..hehehe im newbie on customs..
evanlocked said:
Ah now u reveal the secret haha
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Haha... That was nice ! Thanks for info ...
Sent from my GT-S5360 using xda premium
Addyz said:
hehe..thnx...but im afraid to mess up my phone.hahaha..im not sure how to do it
.do u have already apk file for the mod?
PS. i dont know how to decompile and compile files..hehehe im newbie on customs..
Click to expand...
Click to collapse
Download " Apktool "
Sent from my GT-S5360 using xda premium

Edit APK

I've an .APK file and I want to change the .APK filename in App Drawer and in the App and I want to change the icon that appears in App Drawer and installation,
P.S - The .APK file will be only used for myself, not to reupload someones work
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Aj.GaLaxY aCE said:
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Click to expand...
Click to collapse
Tried the second link method but it didn't work
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
AashayS said:
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
Click to expand...
Click to collapse
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Conclusion said:
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Click to expand...
Click to collapse
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
AashayS said:
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
I can . But i am out of town at present.
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal
Click to expand...
Click to collapse
Not really. You can rename an apk till you use it for yourself.
Sent from my GT-S5830 using Tapatalk 2
AashayS said:
I can . But i am out of town at present.
Click to expand...
Click to collapse
When will you be available?
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Click to expand...
Click to collapse
I'm using the APK app myself
tj_droid said:
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I'm new to this so it will be quite hard for me to do it
Conclusion said:
I'm new to this so it will be quite hard for me to do it
Click to expand...
Click to collapse
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
Can you do it for me as I don't really have a clue
Can someone help me please
Conclusion said:
Can you do it for me as I don't really have a clue
Click to expand...
Click to collapse
My PC has been locked-down by my dad. If you dont trust me, check my stocklite rom's thread. I've clearly mentioned that I can't update the rom before my exams. Dad will open up the pc only in July. So, I cant do any development related work till that time. Sorry.
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
But apkrenamer just renames the name in app drawer. Not in the app. And also not in oter apps which hve connections.
Can anyone help me to change the APK file name please, I've tried it myself but without success
X-Plore file manager (with Root access)
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
msahin061 said:
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
Click to expand...
Click to collapse
I can change APK icon via WinRAR but I need to know how to change APK filename

Ripple or Lensflare effect in lockscreen

I know theres an app for it but it will slow our device
so is there anyway we can integrate it to our system
Sent from my SM-T211 using Tapatalk
T3snake said:
I know theres an app for it but it will slow our device
so is there anyway we can integrate it to our system
Sent from my SM-T211 using Tapatalk
Click to expand...
Click to collapse
you need to decompile android.policy.jar from /system/framework.. add some files and makes some changes...
there are guides for that.. and you know where to search :silly:
psych.half said:
you need to decompile android.policy.jar from /system/framework.. add some files and makes some changes...
there are guides for that.. and you know where to search :silly:
Click to expand...
Click to collapse
All i get Are apps or mods in phones that already have it
if theres an universal guide pls post the link here
Edited framework-res.apk
stuck in a bootloop
can anyone give me a good version of apktool?

Categories

Resources