yashsingh1/xdaforums huggingface dataset:
[Android Software Development] yanuricasper:
Help please,

I tried to decompile Settings.apk, but i have this error :

--------------------------------------------------------------------------

java version "1.6.0_26"

Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

Could Not Find D:\apk_manager_5.0\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk

Could Not Find D:\apk_manager_5.0\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk

I: Baksmaling...

I: Loading resource table...

W: Skipping "android" package group

I: Loaded.

I: Loading resource table from file: C:\Users\admin\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

I: Loading resource table from file: C:\Users\admin\apktool\framework\2.apk

I: Loaded.

I: Decoding values*/* XMLs...

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 23

at java.lang.String.charAt(Unknown Source)

at brut.androlib.res.xml.ResXmlEncoders.findNonPositionalSubstitutions(ResXmlEncoders.java:165)

at brut.androlib.res.xml.ResXmlEncoders.enumerateNonPositionalSubstitutions(ResXmlEncoders.java:142)

at brut.androlib.res.data.value.ResStringValue.encodeAsResXmlValue(ResStringValue.java:45)

at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:55)

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

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

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

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

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

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

Can someone help me how to fix this? Thanks
[Android Software Development] fragargon:
anyones ?? :confused:
[Android Software Development] cstayton:
make sure you have the java jdk in your system environment path and download the apktool ver 1.42 from a page ot two back then you should be set.
[Android Software Development] yanuricasper:
Thanks, you solved my problem
[Android Software Development] kurniawan77:
invalid config flags??

Could someone explain wtf this is... never seen it before and it only does this with htc.resources..... see image
[Android Software Development] gvpula:
Please I'm trying to set it up but it keep saying Java is not installed, i don't understand how to set the path to java, please can someone explain in noob trems. Thanks
[Android Software Development] raziel23x:
How do I set or change the PATH system variable?

This article applies to:

Platform(s): Solaris SPARC, Solaris x86, Red Hat Linux, SUSE Linux, Windows 7, Vista, Windows XP

Browser(s): All Browsers

Java version(s): All JRE Versions

MORE TECHNICAL INFORMATION*

The PATH is the system variable that your operating system uses to locate needed executable from the command line or Terminal window.

The PATH system variable can be set using System Utility in control panel on Windows, or in your shell's start-up file on Linux and Solaris.

SOLUTION

Setting Path on Windows

For Windows XP:

1. Start -> Control Panel -> System -> Advanced

2. Click on Environment Variables, under System Variables, find PATH, and click on it.

3. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

4. Close the window.

5. Reopen Command prompt window, and run your java code.

For Windows Vista:

1. Right click “My Computer” icon

2. Choose “Properties” from context menu

3. Click “Advanced” tab (“Advanced system settings” link in Vista)

4. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.

5. Reopen Command prompt window, and run your java code.

Setting Path on Solaris and Linux

To find out if the java executable is in your PATH, execute:

% java -version

This will print the version of the java executable, if it can find it. If you get error java: Command not found. Then path is not properly set.

To find out which java executable the first one found in your PATH, execute:

% which java

Below are the steps to set the PATH permanently,

Note: We are here giving instructions for two most popular Shells on Linux and Solaris.

Please visit link below if you are using any other shells.

Path Setting Tutorial

For bash Shell:

1. Edit the start-up file (~/ .bashrc)

2. Modify PATH variable:

PATH=/usr/local/jdk1.6.0/bin

3. export PATH

4. Save and close the file

5. Open new Terminal window

6. Verify the PATH is set properly

% java -version

For C Shell (csh):

1. Edit startup file (~/ .cshrc)

2. Set Path

set path=(/usr/local/jdk1.6.0/bin )

3. Save and Close the file

4. Open new Terminal window

5. Verify the PATH is set properly

% java -version
[Android Software Development] gvpula:
Thanks for your help. On my pc worked without any settings, just extracted the manager, on my laptop that runs x64 7 doesn't work without setting the path manualy!
[Android Software Development] raziel23x:
Here is a preview of the new interface
[Android Software Development] mohamobo:
Wow.. look amazing
[Android Software Development] JordanElliott:
cant wait for final release ;)

---------- Post added at 10:34 AM ---------- Previous post was at 09:42 AM ----------

will the newest libpng be included?
[Android Software Development] raziel23x:
I have not dealt with that tool yet I will have to research it before incorporating it in.

Sorry for no ETA on release as I am the only person working on this project and only working on it on my spare time
[Android Software Development] JordanElliott:
libpng is already included with optipng. but its outdated. here:

http://optipng.sourceforge.net/history.txt

http://libpng.sourceforge.net/index.html
[Android Software Development] robm1911:
Hey take your time bro. You know this could only be the best release for devs and themers in the last two years. So no pressure right? Lol
[Android Software Development] raziel23x:
LOL then it is just the process of me downloading the most recent version of libpng and recompile optipng with the latest version then
[Android Software Development] raziel23x:
http://apkmultitool.com/ is now live just need to start adding in content and documents
[Android Software Development] raziel23x:
All updates are now over at [TOOL] APK Multi-Tool previously called apk manager forum topic
[Android Software Development] :
if u mod a 9.png u have to rebuild the patch in your sdk tool have draw9.patch.... wacht on you tube about draw9 patch

---------- Post added at 06:20 AM ---------- Previous post was at 06:13 AM ----------

we are greatefull for this pall... u done a excelent job.
[Android Software Development] fragargon:
hi,

at least there is one thing to do ===>

no space for path where C:\APKmanager\... reside

after this dunno where comes the command "mode"

hope this help
[Android Software Development] CUBENSIS:
.9.png files

I thought apkmanager would skip .9.png files. But it seems like it is sending them to roptipng

See attached. Am I doing something wrong?
[Android Software Development] Rick S:
First off, awesome job, thanks for this...I have one quick question... everytime I had ever gotten errors with this it was the same situation. I would, for example, be trying to decompile mms.apk and errors would occur. What solved this was to place my framework-res.apk in C:\Documents and Settings\Owner. This is where the apktool\ framework folder is located. I then had to open a command prompt and type apktool if framework-res.apk. That would place a 1.apk file in apktool\framework. Then using apk manager 5.0.2 would work flawlessly without errors. Is there any way to skip all that and create that 1.apk file using your setup before I decompile an app? I thought decompiling with dependency file would do it, but it always says that is not a dependee file. Any thoughts... sorry for the long post and thanks again.
[Android Software Development] baseballfanz:
This was working great but as of today I can't get it to work for some reason.

java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
At was unexpected at this time.

EDIT: Problem was cause my space in the .apk file name
[Android Software Development] rayford85:
could someone look at this log and tell me what i'm doing wrong.

http://www.multiupload.com/R9B213L3TX
[Android Software Development] AndroidGX:
Hello,

SInce I migrated to 5.0.2 when I try to compile a modified framework-res.apk there is an error :

Please make your decision:11

Building Apk

"An Error Occured, Please Check The Log (option 21)"

Appuyez sur une touche pour continuer...​

Any idea ?
[Android Software Development] zelendel:
What does the log file say?
[Android Software Development] AndroidGX:
Sorry, I forgot to add the log, here it is :
[Android Software Development] zelendel:
The framework file you are trying to decompile has broken .9.png files. This happens when someone doesnt change the .9 png the proper way. People think you can just edit the .9.png like a normal file and you cant. While yes they work when flashed (sometimes) they break when decompiling it. The log file shows you the files that are broken
[Android Software Development] AndroidGX:
Ah damn, thanks for the explanation. I just wanted to reduce brightness in the framework-res.apk from the latest JKay theme 12.1 mod :( anyway nothing important, many thanks ! :)
[Android Software Development] eliteforce:
damn why it not decompile?

installed Java c:\Program Files\Java\jdk1.7.0_01\

edited Java PATH system variable Windows 7

C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files\Java\jdk1.7.0_01\bin

and ERROR :mad:

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01080362
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
[Android Software Development] 7.7.7.7.7.7.7:
I can't edit Androidmanifest.xml :(
[Android Software Development] waterpolo:
Did you update the apktool?

I recommend to use the successor of apk manager.

It's called APK Multi-Tool, see this thread.
[Android Software Development] spdwiz18:
need a little help. i can get everything to work in windows but i'm tring to move over to linux. I need help setting the PATH for adb. this is what i'v done.

gedit .bash_profile

export PATH=$PATH:/Desktop/android/platform-tools/:/Desktop/android/tools/

save it and and test. to no avail.

can someone tell me what im doing wrong!

thanks
[Android Software Development] raziel23x:
You need to be using java 1.6 not 1.7
[Android Software Development] kashem58:
wanted to change the image jog_dial_bg_rev.png found in the system/framework/framework-res.apk

extracted the apk, modified the image and then installed it

now my phone is bricked, stucks on SE logo
[Android Software Development] Habarug:
You do? I'm using 1.7 here... but that's with the new multi tool, is it therefore?

sent with love from me to you
[Android Software Development] Bastafari:
Any body know if there is a noob guide to decompiling and signing APK's? Sometimes its hard to follow these threads without any experience. The only reason I can sort of follow is because of the games I used to play in msdos required me to change directories and run exe's!
[Android Software Development] blueluck77:
Grrrrrrrrrrrrrr

OK hopefully I can explain this where everyone can understand it because for some reason there is not a log file being generated (which might make this easier if I could get an explanation on that).

I can extract the apk and edit the image files I want then rezip and sign (all using the apk manager) and it works perfect. If I try to decompile and edit the styles.xml and then compile back I get all kinds of errors most of which end with saying declared here is not defined. I'm not even editing the files that its mentioning, just changing the color. I will attach the edited apk (images only) and I am going into the res/values/ and editing the styles.xml to change the widget font to white (for venues). I will also attach a screenshot to show that it allows me to edit the images and the widget looks EXACTLY like what I want, but still has black font because it wont let me change it. Thanks in advance for your help.
[Android Software Development] raziel23x:
When compiling and decompiling delete the public.xml it is not needed and will be created when you recompile
[Android Q&A, Help & Troubleshooting] Jordanqkoch:
It seems like all tutorials for a mac are so outdated. The new android sdk doesn't have adb so I can't do any tutorial that tells you to use adb, rom manager didn't install it like it was supposed to, I don't have odin so I can't do it the easy way, that weird mac program that is supposed to be like odin can't detect my phone, and now all I've got is the stock android recovery and no stock operating system.

What can I do from the stock recovery to get clockwork on this thing?
[EVO 4G Q&A, Help & Troubleshooting] jacoballen22:
What can I do I do to make maps not drain my battery. GPS is off too.

World peace with no regard for human life.
[Motorola Droid 3] beard0:
Could we get this to work for us? Cause that would be pretty epic lol

http://www.apktop.com/minecraft-pocket-edition-0-1.html

/droid3
[Motorola Droid 3] eXecuter.bin:
Contact the developer.
[Motorola Droid 3] beard0:
Only gonna support xipera play from what I understand officially..

/droid3
[Motorola Droid 3] inessi:
I remember one day I was digging throug emuparadise and seen they had a android games section well it happens to be that a cracked version of mc is on there. I can open it on my droid navigate menus and such but when I open the game it gives me about 10 seconds to move then the phone freezes. I think if someone knew how to edit the file just a slight bit it would work. Also a six axis controller app is required.
[Motorola Droid 3] dpwhitty11:
I reeeeeeeeally hope we can play it on our phones.

<3 mc
[Motorola Droid 3] gabeevans88:
The game will be exclusive to Xperia Play for a limited time and released to other Android devices after that.

That is straight from mojang.com blog! Hope its soon.
[Motorola Droid 3] bobberb:
Don't we lack the joystick type keys it has?
[Motorola Droid 3] gabeevans88:
just a wild guess but I'm willing to bet itll use virtual keypad/buttons
[Motorola Droid 3] Billiam44:
I can't wait for this app to come out for everyone else. I saw someone playing it on their Xperia Play phone last week and it looks quite awesome. It's not as fully featured as the desktop version of Minecraft of course, but it's still got enough to it to make it worth it in my opinion.
[T-Mobile LG G2x] Mister Hat:
It seems as though all the applications' caches are being stored on my external SD which is a pain because its taking up alot of unwanted space when it could just as easliy be with the apps internally. Whats going on here? How to I make them store their cache internally?
[General Questions and Answers] Azure_d:
Just curious if XDA App is Open Source. If it's based off Tapatalk, is Tapatalk open source?
[General Questions and Answers] divyanshu308:
nope buddy..
[Atrix 4G General] sdelliott31:
Very general question. I'm on 2.3.4 4.5.91. unlocked rooted. cam Does anyone use setcpu or JD on this release. It seems as if settings has some battery controls in it. Just curious. Thanks
[Atrix 4G General] budh99:
If you are overclocking, SETCPU allows you to control clock speeds with profiles and set lower CPU operating voltages to save battery.
[Atrix 4G General] budh99:
See here for some undervolting info:

http://xdaforums.com/showthread.php?t=1183059
[Atrix 4G General] Magnetox:
I have not found any software like JD that works on gb.
[Atrix 4G General] Alcapone263:
forgive the noob question, but what is JD?

i use SetCPU, bought it off the market (gotta support our devs, right?) and i'm LOVING it. it does everything i need for managing my CPU, i have custom profiles setup for all sorts of situations, and undervolting gives me amazing battery life. when i'm running Ninja SF, i can use my phone for 25-30 hours without charging (moderate use, no hardcore gaming or music)

but on CM7, i can unfortunately only average about 20-25 hours of battery life with the same use.
[Atrix 4G General] tsouza:
JD = Juice Defender
[Atrix 4G General] sdelliott31:
Hmmm ok. I'm on stock not over clocked. Setup may not do much for me. Juice Defender could control the radios. But settings seem to have some battery options for extending battery life.

I didn't know if setup since I am rooted would at least help with scaling and throttling down processor speed when battery reached certain levels. I'm sure these would help on a custom Rom.
[HTC Sensation] jyabor91:
Was just wondering if any of our amazingly talented devs have tried to port over that crazy good camera apk from the my touch slide 4g. Just played with one yesterday and the camera is rediculous. Thanks!!!!
[LG Optimus 2x] Kickasskev:
Dont know if anybody has tried this already, but found it while scouring the WEB

http://www.android-hilfe.de/custom-...om-lg-optimus-2x-cronos-ginger-x-1-1-0-a.html

Downloading now and testing ;-)

It seem like a Similar to CM7 but it has a new menu called X Tweaks

Quandrant 3515 with CPU set at 1400mhz

In the photo I currently have Go Launcher, but the rom DOESNT NOT come standard with that on
[LG Optimus 2x] Rusty!:
I think it's been discussed before: http://xdaforums.com/showthread.php?p=16207829#post16207829
[LG Optimus 2x] Kickasskev:
Ohh well never mind all credit to the Owner of the rom

But its there if people wanna try

Seem fine so far

Will leave the link open, but I will gladly remove it if asked
[LG Optimus 2x] Marsou77:
Very good ROM so far !
[LG Optimus 2x] salisbury_steak:
Thanks for mentioning this still!

I didn't know that Feeyo is now creating ROMs for the O2X too. Sad about the past issues, but in all fairness, he did build good ROMs.
[LG Optimus 2x] mach2005:
Before i bought the O2X i owned a Hero. He has made fine roms for this device.
[LG Optimus 2x] Kickasskev:
Yeah I have had this on since yesterday and it lightning fast,
[LG Optimus 2x] Marsou77:
Same for me :D

Cronos Éclair, Froyo and Ginger :)
[LG Optimus 2x] CryptKilla:
Any printscreens?

Quadrant ?

Please give more infos...
[LG Optimus 2x] Kickasskev:
3515 On the quadrant set at min and max to 1400mhz

For normal use I have mine running at 300mhz min and 760mhz max with Go Launcher and it run's like a DREAM
[LG Optimus 2x] mach2005:
It is a very good rom. At max 500mhz cpu speed the phone is still incredibly fast.

This guy has always delivered excellent roms, when he was developing for HTC Hero owners.

Take a look on his website and give him some feedback.

http://www.cronosproject.org/forum/index.php?page=Thread&threadID=1900

Just try it. You wont be dissapointed.
[Fascinate Q&A, Help & Troubleshooting] ghouLagogo:
I got my Fascinate yesterday its running:

firmare:2.2.2

baseband: S:i500.04 v.ed05

kernel: 2.6.32.9

build sch-I500.ed05

I am running adw and enjoying kooks theme but want to really do an overhaul look wise. Can anyone point me to a post thats not 6 months old and not compataable with this build on how to achieve this, or offer advice on how I can achieve this with and without roms. Thank you guys for keeping the development community going strong!!
[Fascinate Q&A, Help & Troubleshooting] ghouLagogo:
One More Question

If there were one or two apps I could purchase to achieve my goals of awesome themes and bluetooth/voice control what are the reccomendations.
[Galaxy S I9000 General] Jekkaman:
Hi All,

I bought Sygic Aura because it seemed to be a good software, but i have problems with it.

With GPS Test and GPS Status it seems my phone doesnt have any gps issues since i get up to 10 satellites with good signal, but with sygic i get a lot less like 2 to 3 satellites, anyone had this problem?

Thnks
[Galaxy S I9000 General] madd0g:
Well, if navigation works flawlessly, who cares how many satelites does it say in settings ;]
[Galaxy S I9000 General] Widget21:
I use Sygic too and recently drove all the way from London via France to Sweden without any problems apart from a couple of GPS locks issues that are SGS' and not Sygic's.
[Galaxy S I9000 General] Jekkaman:
I probably didn't explain myself good. GPS Status and GPS Test show that my device gets signal without problem, but when i use sygin instead of having for example 7 satellites i have only 2 or 3 and they appear and disapear with frequency which means that with sygic i have signal issues,i have difficult getting sats with sygic and not with other softwares.
[Galaxy S I9000 General] GunnyHighway82:
but have you froyo o ginger?
[Galaxy S I9000 General] Jekkaman:
I have Gingerbread JVA.
[Galaxy S I9000 General] DeusEx80:
The JVA is one of the first release of Gingerbread...... try to update to JVH-JVO or better to 2.3.4 (JVQ-JVR).

On my Galaxy S with JVR, Sygic Aura works very good :)
[Captivate Themes and Apps] iRide113:
Just thought I should share this for the people who don't know about it. It's legit and works great. :)

Original thread link.
[Android Q&A, Help & Troubleshooting] SlimMan:
Hi, I just recently rooted my d2 and upg to the GB via bootstrap loader. My question is can I go back to Froyo now or am I pretty much beyond that?

Sorry if this has been addressed and answered before, I did try searching but had no luck.

thanks, Slim!
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] MM2222:
At first, I rooted my P7510 and it worked well.

Then I flashed the kernel by Poitee and I can not enter the system now. The screen is distorted after the title "samsung galaxy".

Now I hope to flash another kernel but I can't put the file into my P7510. Because my PC also can't read it.

I still can get into recovery mode by the way. Can anyone help me?

Thanks in advance.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] MM2222:
Ok, I tried some means but no one works.

Could anyone provide a kernel image that can be flashed by Odin? Because I still can access the downloading mode and Odin can detect my P7510.
[Galaxy S II Q&A, Help & Troubleshooting] tonybhoy:
can i reduce the home screens to 3 or 4 as i dont need 7,thanks ;)
[Galaxy S II Q&A, Help & Troubleshooting] ithehappy:
Yes a little bit silly ;)

Just press Menu- Edit on a home screen and drag the unwanted to Remove.

Regards.