yashsingh1/xdaforums huggingface dataset:
[Android Software Development] CodexLink:
Thanks you very much! :D

Anyways is this settings.apk can now push to system?
[Android Software Development] tdunham:
Yes, it should be ready to use.

But, I am unable to test so hopefully I did not make any mistakes too. :rolleyes:

Edit: Also, if you ever want to change text just make changes in changed res/values/strings.xml.
[Android Software Development] CodexLink:
Thanks i will gonna try later i will post soon.. :D

Thanks for your help! :)

---------- Post added at 02:47 PM ---------- Previous post was at 02:10 PM ----------

Hi thae settings.apk didnt work

Now my settings.apk gone i didnt know why ??
[Android Software Development] tdunham:
This should have worked. What do you mean it is gone?

It sounds like you are not putting permissions or something else is wrong. Check again how you put new settings.apk on the phone.

Edit: Wait, I see something, let me look at it first.

---------- Post added at 02:01 PM ---------- Previous post was at 01:52 PM ----------

I see changed date for file res/xml/settings.xml in the file you posted for us to look at. Did you make change to this xml file that might be causing problem?

I thought you were sending original settings.apk without any changes.

If you can post unchanged file, I can take unchanged file and move it into new settings.apk or you can do this also without need to decompile and recompile.
[Android Software Development] CodexLink:
Ok

I use Aroma filemanager

I delete first the settings.apk in system/app

And push the new settings.apk

I do the permission like this

Y-ticked box X-unticked box

Y----Y----X

Y----X----X

Y----X----X

---------- Post added at 04:12 PM ---------- Previous post was at 03:39 PM ----------

I didnt change on settings.xml

I only change the device_info_settings.xml

I gotta download a odin file to get the unchanged settings or i will gotta check on my USB if stock file was still there
[Android Software Development] CodexLink:
Um did you put a double res folder in new settings.apk?

I check it using root explorer and inside of res it have double xml folder too
[Android Software Development] tdunham:
There is no double folder, it must be what you are using to look inside apk.
[Android Software Development] CodexLink:
Can i get other stock settings.apk to use in xml

But not same mobile?
[Android Software Development] tdunham:
I think it must be for your phone.

Where did you get stock deodexed rom?

Edit: You should find stock settings.apk to see if there is a problem with how you push changed apk to your phone or with the one I sent you. I do not think there is anything wrong with the one I posted except for the one changed file that I did not touch and cannot compare because you do not have stock file to compare it to yet.
[Android Software Development] CodexLink:
Blackstar rom.. But i get many changes

If you ask where i get a stock default rom

I download md5 file for odin

And i use odinatrix to extract and i get all like system.img

I see all file in img using linux reader :D

Edit:I must download the md5 to get all stock files and extract it using odinatrix anyways i have all stock files except settings.apk

So i should download again. It could maybe in days.
[Android Software Development] CodexLink:
I download a md5 file i will give you the stock settings.apk soon

If i extract it and viewing in linux reader

I dont have time for now iam fixing our pc of getting activation lost

I will sent it soon in 2-3 days *maybe* possible
[Android Software Development] CodexLink:


---------- Post added at 03:44 PM ---------- Previous post was at 03:42 PM ----------

Hi sorry for the one post that has none..

Here

My stock settings.apk

Sorry for long time my father want me to root hes tab so i could no time:

Link: http://db.tt/h5eZBXZ3

Wish it fix ^^
[Android Software Development] tdunham:
Did you try installing this stock file to see if it fixes your problem with force close?
[Android Software Development] CodexLink:
I try to install but gone

I didnt deodexed

It should deodexed?
[Android Software Development] tdunham:
Yes, you must use deodexed.
[Android Software Development] CodexLink:
Ok i will deodex it later and i will give the deodex stock settungs.apk later too
[Android Software Development] CodexLink:
APK Stock Deodexed

Hi

i Deodexed the settings.apk

I didnt test it because my phone is battery low

Heres the link:https://www.dropbox.com/s/zw5i2pn0ilr108p/DeodexedSettings.apk

Hope it FIX :D
[Android Software Development] tdunham:
Yes, test this first when you have time and let me know. If it does not work for you, making changes will not fix your problem.
[Android Software Development] CodexLink:
I dont think its possible by push it and set permissions

Maybe theres wrong with a apk

I need to zipalign it or etc.?

Or maybe my phone dont want it

Any other ways to install it except for ADB?
[Android Software Development] CodexLink:
I try to adb install but it said a error

I remember the last name it is

NO_CERTIFICATE

Maybe something wrong in stock apk?
[Android Software Development] CodexLink:
Hi

Ok my friend teztaz gave me a link that it could be a galaxy pocket plus stock files

I try the settings.apk and push

It work and the systemui.apk too it work

But i think it should edit it to my stock file settings.apk

See the picture below to see whats settings.apk that looks like be

Please help
[Android Software Development] walauu:
Sorry I got this error on Step4 which is signing zip file...

java.lang.IllegalArgumentException: MALFORMED

at java.util.zip.ZipCoder.toString(Unknown Source)

at java.util.zip.ZipFile.getZipEntry(Unknown Source)

at java.util.zip.ZipFile.access$900(Unknown Source)

at java.util.zip.ZipFile$1.nextElement(Unknown Source)

at java.util.zip.ZipFile$1.nextElement(Unknown Source)

at java.util.jar.JarFile$1.nextElement(Unknown Source)

at java.util.jar.JarFile$1.nextElement(Unknown Source)

at testsign.addDigestsToManifest(testsign.java:193)

at testsign.main(testsign.java:368)

Somebody can help me?
[Android Software Development] theDroidfanatic:
I didn't put the instructions for signing APKs, where did you get this?
[Android Software Development] walauu:
Sorry I think I messed up the post that I looked for.. Actually I am trying to create an update.zip to install all the apps I needed every single time I flash a new ROM. But I failed to sign the zip files.. I tried with the kitchen method but I failed to install kitchen.. Hmm
[Android Software Development] theDroidfanatic:
You don't need to sign zip files, its really not needed, simply have a regular zip, and disable signature checks in recovery of needed :)

Apparently its not able to find the sources, weird :confused:

I can recompile it for you. Do you want me to sign and zipalign it for you too?

PS: do I need to install your phone's framework if I just want to recompile it?

Cheers :)
[Android Software Development] sieuan:
ok, sir! I want to add my language into resources.arsc, and I've been trying for a few month with a lot of tools but still can not recompile this framework-res.apk, even when I keep it original without editing anything.

I attach 2 folder value-vi and value-vi-rVN (in the res.zip). Can you add 2 folder into my framework-res.apk and recompile it for me? Thanks!

/// yes, you need install my ramework-res.apk and meditek-res.apk:)
[Android Software Development] CodexLink:
Hi there

I fix my settings.apk

Can someone know how to add mods in setings.apk?
[Android Software Development] theDroidfanatic:
Please send me the entire Decompiled APK, and please send me the framework files so I can install them,

Cheers :)

I'm glad it worked :D

There are specific mods for each device, check your device forums :)

Cheers
[Android Software Development] sieuan:
i posted the link of my file in the post #124, sir! two framework file: framework-res.apk and mediatek-res.apk, you need install 2 file.

Thanks for your help!
[Android Software Development] CodexLink:
Device Forum

I Dont have a device forum of it

My phone is GT-S5300

(Samung Galaxy Pocket) :D
[Android Software Development] Sushil23:
can someone help me...i want to decompile the framework-res.apk from a jelly bean 4.2.2 based rom for my xperia mini...i followed the steps mentioned in this forum...but framework is not installing...look at the screenshot below...:(
[Android Software Development] CodexLink:
Try

Apktool if (framework location)

Then enter
[Android Software Development] chriskader:
These errors are know "issues" They sre do to changes to aapt. Take a look at the apktool website to learn more.
[Android Software Development] Sushil23:
but framework location means what? is it directory or something ?
[Android Software Development] CodexLink:
Example the directory of your framework is in C:\apktool

So you should look like this: apktool if C:\apktool\framewrok-res.apk
[Android Software Development] Sushil23:
thanks but it didn't work
[Android Software Development] theDroidfanatic:
Put your framework file(s) in the apktoil folder, and type 'apktool if framework-res apk'
[Android Software Development] theDroidfanatic:
Sorry, then I'm afraid I don't know any settings tweaks atm :/

I will send it soon, cheers :)
[Android Software Development] Sushil23:
do you mean that i should place all the files from the framework folder in apktool folder....
[Android Software Development] theDroidfanatic:
Only the framework-res.apk :)

And if your phone has another custom framework file, like HTC phones have com.HTC.resources.apk, and another device has framework-mediatek.apk etc,

Then install them both, or one, with 'apktool if apkname'

Replace apkname with the name of the framework apk(s) :)

Sent from my HTC One X
[Android Software Development] theDroidfanatic:
Mt exams are on going, so the APKs may be a while, really sorry guys :(

Sent from my HTC One X
[Android Software Development] theDroidfanatic:
Hey mate :)

I tried everything, but I get the same error :/ Maybe your phone manufacturer modified the APK in a way that makes it unable to be recompiled.

I have an idea though, download 7 zip, and right click your apk file, and 'open archive' with 7 zip.

Then simply drag and drop the res files into it, and then try the apk?

cheers :)
[Android Software Development] sieuan:
Oh, how sad is that:(

The language files are packed in resource.arsc, sir, not in res folder, and cannot use 7zip/winrar to drag and drop, sir. The resource.arsc must be decompile/recompile, sir.

anyway, thanks for your hep, sir!

cheers :)
[Android Software Development] manthan808:
i have a htc explorer and i wanted to remove quick settings from notification bar, i decompiled the systemui.apk then did my configuration then while recompiling the systemui folder an error comes..wat is the problem...???
[Android Software Development] theDroidfanatic:
I'm really sorry, i wish i could help with this, mate :/

Hey :)

Please give some details, which phone, ROM, and android version? And what is the errors?

Cheers :)

Sent from my HTC One X
[Android Software Development] manthan808:
Phone- Htc pico(explorer)

Rom- Gingerbread

Android version-2.3.5
[Android Software Development] heml0ck:
hello can you help me to decompile my phone apk.. from samsung galaxy ace 2.. i want to remove the vibration of dialling phone numbers? can you help me?
[Android Software Development] theDroidfanatic:
Thanks :)

and what is the error you are getting?

Hey :)

I can do my best :D

So, are you having any issues with the instructions? Or is ApKTool giving an error?

cheers

Sent from my HTC One X
[Android Software Development] heml0ck:
yeah its very complicated for me.. can you the one who decompile it?
[Android Software Development] theDroidfanatic:
Sure I can :D Send me the APK, and your framework-res.apk, and also your other framework apk, which phone do you have? And which ROM?

Sent from my HTC One X
[Android Software Development] heml0ck:
here it is.. https://www.dropbox.com/sh/5q9oorcvzxdbvp0/zZSkUY4_Xa just remove the vibration when dialling the number.. my phone is samsung galaxy ace 2.. ang the rom is use is blue job..
[Android Software Development] tdunham:
Just curious, you don't have a toggle to disable haptic feedback in sound settings already? That is the usual way to disable it.
[Android Software Development] theDroidfanatic:
Hey :)

You sent the PhoneSky.apk, which is actually the Play Store :P

You would need to send the Phone.apk,

also, is Blue job a TouchWiz ROM, or an AOSP ROM? If you don't know, just give me a link to its thread :)

Cheers

Sent from my HTC One X
[Android Software Development] heml0ck:
samsung galaxy ace 2 dont have haptic feedback.. the creator of the rom said that i need to decompile it just to remove the vibration..

---------- Post added at 08:52 AM ---------- Previous post was at 08:42 AM ----------

here it is.. https://www.dropbox.com/s/nw96fxlpp1omrip/SecPhone.apk

and this is the thread.. http://xdaforums.com/showthread.php?t=2318018
[Android Software Development] theDroidfanatic:
Thanks :)

On your phone, please go to system/framework,

And give me the framework-res.apk, and the twframework-res.apk, and I will do this for you, cheers :)

Sent from my HTC One X
[Android Software Development] heml0ck:
here it is.. https://www.dropbox.com/sh/5q9oorcvzxdbvp0/zZSkUY4_Xa

thanks in advance man!:highfive:
[Android Software Development] theDroidfanatic:
Thanks, I will send this soon, please PM me to remind me, I have a lot going on :/

Sent from my HTC One X
[Android Software Development] theDroidfanatic:
Hey mate :D

So I decompiled your SecPhon.apk, and then zipped up the decompiled content, here it is: https://dl.dropboxusercontent.com/u/40160517/Others/SecPhone.zip

Simply download this, unzip it, make the changes that you want then zip it back up, and send me the zip, so I can recompile it and sign and zipalign it for you :)

Cheers :D
[Android Software Development] heml0ck:
how do i remove the vibration? where i can find it?
[Android Software Development] theDroidfanatic:
I honestly don't know :confused:

I thought you knew the changes you were going to make? Like, where did you get the idea, is there a guide or something? Send the link and I will look into it mate :)

Cheers

Sent from my HTC One X
[Android Software Development] abo hani:
I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: AndroidManifest.xml

at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode

r.java:128)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:216

)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)

at brut.apktool.Main.cmdDecode(Main.java:141)

at brut.apktool.Main.main(Main.java:72)

Caused by: brut.directory.PathNotExist: AndroidManifest.xml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode

r.java:124)

... 5 more

didnt work !!! :confused::confused::confused:
[Android Software Development] theDroidfanatic:
Hey mate :)

Did you install both the framework files? And which apk are you decompiling?

Sent from my HTC One X
[Android Software Development] abo hani:
framework-res.apk

my phone xperia so there is one framework
[Android Software Development] theDroidfanatic:
Are you sure you installed that framework file? Try it again "apktool if framework-res.apk"

if it doesn't work, send me the APK, I'll decompile it for you, cheers :)
[Android Software Development] abo hani:
i want to port galaxy s4 framework-res.apk to xperia s + systemui

can you do it ?

i will be glad :o:o:o
[Android Software Development] SXUsr:
You also need to install the SemcGenericUxpRes.apk
[Android Software Development] theDroidfanatic:
I would be glad to do it, but before that, just try what [MENTION=2735402]XperienceD[/MENTION] said, i beleive that is the mistake, you need to install to framework files ;)

Cheers! :)

Sent from my HTC One X
[Android Software Development] puli112:
i got this error while decompiling systemui.apk from my rom zip................. please help i am new to this

apktool is able o compile other apk but i have problem nly with systemui.apk
[Android Software Development] theDroidfanatic:
Hey :)

It seems you didn't install frameworks, did you install both the framework files for your ROM?

Cheers :)
[Android Software Development] T LEONARDIS:
Hey [MENTION=4611226]theDroidfanatic[/MENTION] I've read this entire thread and want to say that I can tell how genuinely helpful you are...cheers !!

I flashed a theme over my rom and all I would like to do is change 2 png's in the theme to my preferred png's but every time I swap out the 2 files with mine and rezip and then reflash I get an error in recovery. Any help would be greatly appreciated !

Thanks in advance :D:good:
[Android Software Development] theDroidfanatic:
Hey mate :)

You don't need to install the systemui apk, maybe that's causing the issue

If it is a Sony based rom, then you need to install the framework res apk, as well as the Sony framework apk (not sure what its called, but it'll be in system/framework)

Try this, then it should work :)

Cheers
[Android Software Development] theDroidfanatic:
Hey mate :D

Thanks! That means a lot to me! :D

About the issue, you just replaced two images in the flashable zip of the theme, nothing else? Also, where did you place these images in the zip? Like system -> app etc

Well, try these things:

- In your recovery, turn 'check signature' (or something to do with signature) off

- Make sure the modified images have the EXACT same name as the original image(s)

- Make sure you aren't editing/touching any other files

If these tips don't work work, reply to this post and let me know, I'll help you out :)

Cheers
[Android Software Development] T LEONARDIS:
Hey bud...thanks for the quick response :D

*Yes basically just trying to swap out the wallpapers for a plain black one.

*placed them in the same drawable folders they're located

*both checks are unchecked in recovery

*copy and pasted same exact name and file extension

Lastly tried swapping rite from my phone rather than pc via root explorer and got it to stick meaning no error message, but didnt succeed in changing the wallpaper. So im guessing reason it sticks from phone and not from pc has something to do with permissions and the reason for no change in wallpaper has something to do with xml and not just solely png drawables ?

Thanks again :beer::)
[Android Software Development] tOrNadO™:
Hi.. I have the JDK installed in default folder.. Have adt-bundle(although here it aint necessary). Put the files in the same folder.. When i try to decompile framework-res.apk, i got the error as in SS..

And i also tried to decompile settings.apk, i got an exception.. And also the smali folder is empty.. Is it possible if i just open the files in winrar and make changes in the xml files..???
[Android Software Development] theDroidfanatic:
Hey :)

Did you install the framework files?

And you can try editing it with 7 zip, but that's not a guaranteed method

Hey :)

Which ROM are you running? Because I think you need both framework files to be install in apktool, not just one

Hey :)

I guess your theory is right, and yes, you have to edit a default.xml for the wallpapers, its a bit time confusing though, just simply apply the wallpaper from gallery? Or if you need the default.XML method I can tell you,

Cheers
[Android Software Development] tOrNadO™:
Yes i have followed every step in the OP exactly.. But when i tried to decompile any apk, i get some or the other error.. :confused:
[Android Software Development] devilmaycry2020:
hi all

why i can't decompile framework-res.apk ? here is the error message. please helps. thanks

C:\apktool>apktool.bat d framework-res_KG_v2.apk
Exception in thread "main" java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(Unknown Source)
at java.util.zip.ZipFile.getZipEntry(Unknown Source)
at java.util.zip.ZipFile.access$900(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at brut.directory.ZipRODirectory.loadAll(ZipRODirectory.java:110)
at brut.directory.ZipRODirectory.loadFiles(ZipRODirectory.java:95)
at brut.directory.AbstractDirectory.getFiles(AbstractDirectory.java:39)
at brut.directory.AbstractDirectory.getFiles(AbstractDirectory.java:33)
at brut.directory.AbstractDirectory.containsFile(AbstractDirectory.java:66)
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:197)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:83)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
[Android Software Development] ANDR01DN00B:
On my computer, there is not a Java folder in Program Files, but there is one in Program Files (x86)

I'm running Windows 8 and jre7 (Java 7 update 45), so is there something else I need to do?

EDIT: Got it

Please help, and thanks in advance.
[Android Software Development] theDroidfanatic:
Did you install BOTH the framework files before decompiling?
[Android Software Development] theDroidfanatic:
Glad it worked out :)

Cheers
[Desire HD Q&A, Help & Troubleshooting] Tworan:
I have downloaded & installed the jelly bean beta 7 rom on my DHD, but it's stuck on the startup screen (the one with the X that glows). It's been like that for 3 hours now and I am starting to worry that I did something wrong :crying:
[Desire HD Q&A, Help & Troubleshooting] Reinaldo33897:
Did you do a full wipe. Shut phone off by pullinf battery. power up holding volume down and power button at same time will go into hboot go into recovery that way and if rom still on sd full wipe and reflash.
[Desire HD Q&A, Help & Troubleshooting] Teichopsia:
Full wipe:

Format data/factory reset

Wipe dalvik

Format all partitions (except sd card)

Sent from a dream.
[Desire HD Q&A, Help & Troubleshooting] Tworan:
thank you both of you :D
[Xperia Arc Android Development] dinesh690:
Just a few things to note before you start​

This is an android Jellybean ROM compiled for the Arc/Arc S and is AOSP/CM10

The ROM. It is only an alpha and many things won't work, I will continue to develop it but for now its just a taste of Jellybean on our phone :D A special thanks to szl.kiev for kernel and general help :)
​

Known Issues:​

-You tell me :D ( A lot of things )

- Graphic glitch in recovery, it still works just a graphic glitch :) just ignore it.
​

How to Install:​

1. Make a CWM Backup incase anything goes wrong (Optional)

2. Copy the ROM to SD card of your phone

3. Copy Gapps to SD card ( optional )

3. Flash kernel via fastboot by typing: fastboot flash boot boot.img (kernel is inside the zip you downloaded, called boot.img)

4. Boot into CWM recovery by pressing the volume down button during boot up when the LED flashes blue

5.Wipe everything ( data, cache + dalvik cache)

6. Go into install zip from SD card and find the ROM

7. Then flash it, Reboot and Enjoy :)​

Downloads:​

http://www.mediafire.com/?ooox5yi60wuoa11

​

Credits:​

-FXP Team

-Sirkay

-szl.kiev

​

​

Please rate 5 STAR & click the THANKS button if you appreciate my work!

Enjoy guys, and leave feedback :)​
[Xperia Arc Android Development] dinesh690:
Changelog:​

Hotfixes:​

Wifi Fix- Flash this kernel - http://www.mediafire.com/download.php?4bzut8qu0ehobk1

​

Simply flash in CWM

Please rate 5 STAR & click the THANKS button if you appreciate my work!
[Xperia Arc Android Development] dinesh690:
Hmm, seeing that FXP just released CM10, shall i just release it? Or..., well I spent lots of time working on it. What do you guys think
[Xperia Arc Android Development] Cuerrix:
Sure
[Xperia Arc Android Development] batwingnz:
If you'd like to keep developing it that would be great, I expect more users will test and give feedback on fxp though.

Hopefully I'm wrong and you get the feedback you need to make this worthwhile though :)
[Xperia Arc Android Development] muzadull:
Release it man.Atleast later you will be able to add more things like Bravia engine,xloud features.I miss Bravia Engine on Cyanogenmod :crying: