yashsingh1/xdaforums huggingface dataset:
[Android Software Development] rodolphe06:
Edit:

OK i managed to mod systemui.apk.

The guide is good except that when pressing 11, you must press no ( dont keep anything except...) and then press y.

It works like a charm.

Note also that some ROM compress apk differently. Sometime you need to set to 0, sometimes to 9 depending on ROM.

I mod systemui on crdroid to have brightnessbar on thé bottom of QS.
[Android Software Development] rodolphe06:
Attached screenshot
[Android Software Development] mathieum28:
Hi, i want compile and modify settings apk from crdroid 7.1.2. Can i edit any XML / string file ans recompile this without problem?

---------- Post added at 01:56 PM ---------- Previous post was at 01:44 PM ----------

Have you tested decompile and recompile settings.apk from crdroid ROM? Because i want édit m'y settings apk from crdroid on s7edge hero2lte
[Android Software Development] rodolphe06:
yes works also for settings.apk

set compression 9

install 2 frameworks when making setup (2 apk under /system/framework).

rename the second one to fit the name the script allows you to install (the normal one named framework-res.apk and the second one renamed to twframework-res.apk)

Otherwise decompiling failed because of missing data.

Then mod and recompile.

Install to sdcard

copy to internal storage let say /system

chmod 644

copy file to /system/priv-app/settings

did not encounter any issue
[Android Software Development] mathieum28:
Thanks but un crdroid have not tw framework... This is framework-res.apk only
[Android Software Development] rodolphe06:
May be i was not clear, but i wrote that there are 2 apks under framework, you take both and you rename the org.cyanogenxxxx to twxxxx in order to install this second framework.

I m also on crdroid 7.1.2
[Android Software Development] mathieum28:
yes indeed there are 2 .apk files in the framework folder. I use the JBart tool, I will test to see if it works.
[Android Software Development] mathieum28:
please update your tool to oreo 8.1

thanks
[Android Software Development] rodolphe06:
Sometimes, there are 2 framework apk to add. Check your ROM folder...
[Android Software Development] bhatshravan:
Thanks!

Seems to work really well. Thanks!
[Android Software Development] philip654:
I use this option

when i setup apk-multi-tools setup file , and when i want to install the framework , i choose number 9 . Pull dependencies from phone. Whats the mistake?
[Android Software Development] rodolphe06:
Follow the guide, i dont remember the steps. Try with a simple apk first to check tool works on your computer.

Good luck
[Android Software Development] pritish1998:
Error while recompiling facebook.apk... logs saying something like res/values/plurals..... Declared here is not defined.... Plz help ASAP.
[Android Software Development] Bcl2:
Hello my friends, I need help. I'm trying to decompile the framework-res of a custom rom (pixel experience [android 8.1]), but when I try to decompile I get the following error (taken from the log):

java version "1.8.0_191"

Java(TM) SE Runtime Environment (build 1.8.0_191-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Exception in thread "main" java.lang.NullPointerException

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:58)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:516)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267)

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

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

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

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

I think the java and sdk path are set correctly, since both ''java'' and ''adb'' command are recognized in the command prompt. What can I do?
[Android Software Development] mobisat:
I have just installed this on my pc, created the folders and put an APK file in the folder to decompile. It returned an error, the log is below, any help would be much appreciated.

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) Client VM (build 25.191-b12, mixed mode)
I: Baksmaling...
Unable to create file E:\APKMultiTool\other\..\projects\Test.apk\smali\con.smali - skipping class
Unable to create file E:\APKMultiTool\other\..\projects\Test.apk\smali\aux.smali - skipping class
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
[Android Software Development] JerryGoyal:
not able to decompile OPSystemUI.apk for oneplus 6

here are the apk's https://drive.google.com/drive/u/0/folders/1Ahe0zTg6z8YfkE7I-yhZp5CFAFvFeAPD

I tried dragging framework file but keep getting error: "Sorry thats not the dependee apk, try again"

however i'm able to decompile framwork-res.apk

java version "1.8.0_191"

Java(TM) SE Runtime Environment (build 1.8.0_191-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Exception in thread "main" java.lang.NullPointerException

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:58)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:516)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267)

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

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

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

at brut.apktool.Main.main(Main.java:81)
[Android Software Development] zynonimoux:
Greatfull ... :good:
[Android Software Development] 3to4:
SBrowser.apk

Hello!

I am trying just to change the color of the statusbar of SBrowser (SBrowser_3.0.38.apk) in system/app/SBrowser_3.0.38 in my note 3 (Lollipop), but the recompiled apk always gets a FC.

(It starts and one second later, it gets a FC.)

I use Apk Multi-tool with apktool 2.2.2 (which I copied in "other" directory), with which I successfully customized SystemUI, SecSetting, etc. However, recompiled SBrowser always gets a FC, even when I do not change anything. I tried Android multitool as well, with the same result. So, I think the issue is not Apk multi-tool, but there may be some other issue.

Can someone suggest what I can try?

By the way, is SBrowser a system app or a non system app? I suppose it is a system app, because it is in system/app.

Thank you.
[Android Software Development] sga999:
I don't know if this will help you, but I used a newer version of apktool. Version 2.3.2 worked well for me a while back, while a couple of newer versions (2.3.3 and 2.3.4) did not work.
[Android Software Development] 3to4:
Thank you for your suggestion. I am very sorry, the apk I am trying to change is in my Galaxy TAB S (Lollipop) and not in my note 3, but anyway, your suggestion is of course valid. So, I tried apktool 2.3.2 but I still get a FC with recompiled SBrowser in which I don't change anything. I had tried before 2.3.4 and 2.4.0, with the same result. It is very strange... Do you maybe have another suggestion. I am out of ideas...
[Android Software Development] sga999:
Sorry, no idea. I only used apktool one time, and using a different version did work for me. But I didn't have the same issue that you are having. I actually had errors when running it with some versions, but not with the one that I mentioned.
[Android Software Development] 3to4:
I found a solution!! I simply copied resources.arsc from the recompiled apk into the original apk. Then, I flashed it into my Galaxy Tab S, and the apk works well without any FC, and with the statusbar color changed.

Thank you anyway.
[Android Software Development] toneiv:
Very useful application. Thank you very much for this great work!
[Android Software Development] Devilix:
Why i get this error when i try to decompile an APK?

I have java update, and java sdk installed...

Please help me, thanks!

--------------------------------------------------------------------------
|22/07/2020 -- 16:02:25,33|
--------------------------------------------------------------------------
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:58)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:516)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:108)
at brut.apktool.Main.cmdDecode(Main.java:163)
at brut.apktool.Main.main(Main.java:81)
Premere un tasto per continuare . . .
[Android Software Development] HafidzRadhival:
can i remove permission detect device id on some applications that require these permissions?
[Android Software Development] zelendel:
Depending on the XML your editing it gets encoded into the resources file. The erorrs are stating that the .9.PNG are messed up. This is common when .9.png is not edited properly and then rerun in the draw9patch tool from the sdk
[Android Software Development] raziel23x:
from this log you are using the way out dated and I do mean way out dated apk manager which has many out dated parts.

Many of these issues was fixed in apk multi-tool which you should download the github nightly off the website.

to make sure you are using the most updated stuff you shoudl deleted everything with the apk manager and there is a guide to how to completely uninstall apktool from brut.all website since i use his apktool binary official releases.

then install apk multi-tool
[Android Software Development] peter_baz:
i edited just an xml in values/colors not a .png anyway thnx :)
[Android Software Development] zelendel:
Are you editing a themed apk? As the error log states it couldn't find the draw9 patch area on a few png
[Android Software Development] peter_baz:
im editing twframework-res.apk

my problem is that it doesnt build the resources.arsc (which i had to delete from the keep folder cuz i edited .xml)

.pngs are not a prob,i know how to deal with that :P
[Android Software Development] Mko979:
I have apk multi-tool set up and then I installed apktool from brutall to have both options to decompile apks. However when I just tried to decompile my framework-res.apk via apk multi-tool I have a huge error log with a bunch of stuff saying not defined. So I can't have both of them installed?
[Android Software Development] spc_hicks09:
Download link?
[Android Software Development] raziel23x:
http://apktoolmultitool.com
[Android Software Development] Phat7:
I'm sorry if this is known or obvious, but I've been looking everywhere and can't seem to find anything on this. I'm getting the below error when trying to decompile an apk. I have the SDK and Java and I'm currently developing apps with no problem in Eclipse. Please tell me what's wrong.

--------------------------------------------------------------------------
|21/12/2011 -- 10:55:38.01|
--------------------------------------------------------------------------
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)
Could Not Find C:\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedRay_Dialer_1.7.4.apk
Could Not Find C:\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedRay_Dialer_1.7.4.apk
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
[Android Software Development] spc_hicks09:
Broken link.
[Android Software Development] Phat7:
apkmultitool.com

---------- Post added at 11:28 AM ---------- Previous post was at 11:12 AM ----------

Finally fixed the problem - updated JRE to latest (1.7).
[Android Software Development] zard:
Hi guys,

I was googling around and finally came to this thread. I'm new to Android and new to messing around with the apk. Pardon me if it is not the right place to seek help. I did read the whole thread before I post.

I'm trying to decompile the email.apk from Samsung Galaxy Note to edit the classes.dex file but there wasn't such a file. I decompiled the email.apk from Samsung Galaxy S2, there was a classes.dex file inside. I haven't tried to use this tool to do the decompile but wanted to know if this tool will solve my missing classes.dex problem.
[Android Software Development] faustika:
can someone help me ?
[Android Software Development] zelendel:
I noticed you have spaces in your directory. I would move apkmultitool to a place that doesn't have it. You path includes /documents and settings/.....this can cause issues
[Android Software Development] zelendel:
First please use the attach button to attach your log file instead of making a single post that big, or you could use the insert code option as well.

Have you installed the framework with apktool yet? Is this a themed apk or a stock apk? From what device is this from?
[Android Software Development] bp328i:
I did use the insert code option, on my PC it looks fine but I just check the app on my phone and see what you mean by a big post. Sorry, don't know what happen.

The apk is the framework.res-apk from the Galaxy Nexus stock just dedoxed, the really funny thing is I tried the framework-res.apk from my Thunderbolt and all went fine.
[Android Software Development] raziel23x:
4.0 is not fully compatible it seems I would report it tho brut.all
[AT&T Samsung Galaxy S II SGH-I777] jbirney:
Folks,

sorry to bother you but not sure where I should turn next. Like most of us here I am the proud owner of the AT&T version of the Galaxy S II :) One of the features it was suppose to have is the ability to stream from your 2011 Samy HDTV to your Galaxy S 2 or Tab. I have such a TV (PN64D7000) and wanted soo bad to try this.

However when I go to the market it says my phone is NOT compatible??? Huh???

In every web article I have seen about this I have never seen any blub saying its only working for certain versions of the Galaxy S II.

(for example this one: http://www.engadget.com/2011/06/02/samsung-smart-view-shrinks-smart-tv-down-for-your-galaxy-s-ii/)

I have tried to contact the Andriod Market folks to see why. I also asked Sammsung Tech support as well. I guess the next stop is AT&T?

Just was not sure where to go next as I want to play with this feature.. Any other ideas?

I did see another XDA thread in the general apps section about where they are trying to port this apps to non sammy phones...
[AT&T Samsung Galaxy S II SGH-I777] naturefreak85:
There are 2 fixes. Take out your SIM card and download through the Android Market. Or turn on Airplane mode, then just turn WiFi on and download.
[AT&T Samsung Galaxy S II SGH-I777] jbirney:
Hey there,

thanks for the reply. I tried both and neither worked. Each time I only could see the remote and a few other apps. Any other ideas as it sounds too simple even for me to screw up :) Thanks again!
[AT&T Samsung Galaxy S II SGH-I777] ksy77:
You can try this approach found on youtube that worked for the Note 3:

https://www.youtube.com/watch?v=LXzaT_N6tuw
[Desire HD General] T3nzin:
Hi,

I installed the "Radio_12.62.60.27_26.13.04.19_M" from: http://xdaforums.com/showthread.php?t=996630

Do I need to install the RIL too, I am currently running the RCMix3d Runny v3.0 rom? Here is the he ril in question: "RIL_12.62.60.27_26.13.04.19_M"

I tried to search it on xda, but I couldn't find an answer for this rom.
[Desire HD General] raze599:
If it works already I dont think so. I think the RIL's job is to make the ROM and radio communicate with each other so if they already work I would assume that you dont need to install the RIL.

I could be wrong on that though.
[Desire HD General] T3nzin:
Ok thanks, does anyone also have a guide on installing such a RIL (maybe I need to change this RIL one day for a different rom or something).
[Desire HD General] jms-xda:
Here is one topic including the guide:

http://xdaforums.com/showthread.php?t=1040986
[Desire HD General] T3nzin:
Ok thanks ;)
[Xperia Arc General] Zedd.:
Looks promising. Can't wait. :)
[Xperia Arc General] fredastere:
Oh wow the face unlock looks coooool :)

Too bad we dont have a face camera :(
[Xperia Arc General] philansel7:
am only hoping that we can update to Ice cream because sony ericsson has not even made an official annoncement that Arc will get this update :(
[Xperia Arc General] SirRobin78:
I´m not sure...if sony ericsson will give us this update. i think there is on big problem, the extremly low ram in the xperia series.
[Xperia Arc General] poloracer11:
if se wont give us ice cream sandwich, i think cyanogenmod will give to us :D
[Xperia Arc General] lastword112:
It works on the Nexus S so it will definitely work on Xperia Arc, as far as SE is concerned with spewing out updates, they will want to upgrade the majority of the xperia 2011 range to 4.0, i dont think they will leave out their flagship out in the cold.
[Xperia Arc General] xtacy!:
I can't wait for the update. XD

I would love to hear of a new exploit to root ICS. ;-) LOL!
[Xperia Arc General] uyo_kun:
Really, really, REALLY WANT THIS ICS~!!
[Xperia Arc General] poloracer11:
The Dutch se branch stated that the full 2011 xperia range will get an update to ics

sent from my miui arc
[Xperia Arc General] elnitrox:
if will get this..is it possible to have the face unlock feature we dont have the front face camera.
[Xperia Arc General] fredastere:
I think this function would simply not be implemented for us ... :S
[Xperia Arc General] Mesho Arc:
Hope to see it on Xperia arc.
[Xperia Arc General] Torres77an:
Seriously I was not to impressed with this I c s they bragged about features that was already in 2.3 .4 and about features that you can get from apps that are already in the market and the way they kept repeating with every sentence how great it was over and over kinda got on my nerves kind of reminiscent of the idiots at apple telling you how their products of so magical

It does look good don't get me wrong but I be waiting for a Couple of reviews on it before I have Update I did like that resizing of widgets that is very nice and a couple of other things but did you see how the face recognition failed on stage very sad!
[Xperia Arc General] ingro:
Thanks to the opener for the great summary! Anyway I want it just for the GUI hardware acceleration, let's hope that SE will bring to us as soon as possible, but I trust more Cyanogen team for this task ;)
[Xperia Arc General] tinyXperia:
Face-unlock:

1. Get target phone that is locked with Face Unlock. 2. Hold camera up to target's facebook profile pic on your screen 3. Access!
[Xperia Arc General] tyrand3:
Hardware-accelerated 2D drawing

All Android-powered devices running Android 4.0 are required to support hardware-accelerated 2D drawing. Developers can take advantage of this to add great UI effects while maintaining optimal performance on high-resolution screens, even on phones. For example, developers can rely on accelerated scaling, rotation, and other 2D operations, as well as accelerated UI components such as TextureView and compositing modes such as filtering, blending, and opacity.
[Xperia Arc General] Alfa Kenny One:
SE will bring out Android 4.0 for every Xperia phones of 2011!

Source: http://www.gadgetzone.nl/nieuws.php?id=8162 :rolleyes:
[Xperia Arc General] slayer_boxer:
i don't like the colors.
[Xperia Arc General] jimmy8888:
i like it :)
[Xperia Arc General] jtdc:
Although this is mentioned on the web, I thank the OP for a clean consolidated post of the new features complete with pictures. Now I do hope the 512MB RAM of Xperia can accommodate this.
[Xperia Arc General] fabulous69:
Need ICS clean, no sony interface, just android :)
[Xperia Arc General] atz6975:
Feels like honeycomb consolidated
[Xperia Arc General] Kiko_1272:
Anyone have any ideas when this update will hit the UK? or just the internets in general? lol :D
[Xperia Arc General] fabulous69:
January-February maybe?

"officialy i mean" :D

maybe dev will use the update of the nexus to build roms for us ;)
[Galaxy S II General] surya_mca:
Guys New GB 2.3.5(OCT 2011)

(Source:SAMFIRMWARE)

Fast Link:-

http://hotfile.com/dl/132730752/974b866/I9100XXKI4.rar.html
[Galaxy S II General] DSA:
edit

nevermind
[LG Optimus 3D] nic85:
Flash a .kdz rom :)
[Galaxy 3 General] werker123:
Hey guys,

I have a big problem with my phone. When i came back from school. the screen backlight off the phone turned on but i didn't saw anything. So i charged it but still had the same problem:) When i boot up i still hear the bootup sound and when I press the power button the screen backlicht still turns on and off:) qtadb recognized my phone 2 so i rebooted to download mode and flashed a stock rom. I think it is something between the screen and the phone connection. But I still have warrenty. If i didn't i would just open in myself to take a look:)

some 1 got this problem and solved it? it is almost holiday here so i can just flash the latest dutch stock rom and get it repaired:)

thanks in advance:D
[Galaxy 3 General] kyrillos13:
:( No idea :/ Hope that samsung will fix it fast :)
[Galaxy 3 General] werker123:
hmm what schould i do.. i want to flash the latest dutch stock rom but i never flashed bootloaders before.. maybe they look at my bootloaders and see i have an old version? and they think i didn't update with kies? but i can't see a thing on my screen when flashing.. so i don't like flashing bootloaders with my eyes half closedxD
[Galaxy 3 General] i_rnb:
Try screen capturing for being more sure.
[Galaxy 3 General] werker123:
hmm.. i tryed:) i heard the shutter noise but it didn't save the picture:S ill try again now:D

edit: i felt how i got my pin code in:) blind.. so the touch part still works:) i made some screenshots from the firmware version and statusbar and appdrawer all on feeling and haptic feedback but it doesn't work.. it doesn't place them on my sd card correctly:S
[Galaxy 3 General] i_rnb:
Try ddms. :)
[Galaxy 3 General] vivekchamoli:
Hi that's a sad news mate ..:( use Andross screencapture ..my ROM has it n its better..

Last Time I by mistake got my phone soft bricked while trying kernel 2.0 oc ...Over jpu ..and took me there 3 hrs to fix it ...so I tried flashing .. in decending order of flashing a ROM ..all individually ..and then finally via full ROM ..

yours looks to be a bit unique case .. Hope it resolves soon

All the best.