yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] agritux:
i can decompile but cannot recompile.

it says at log:

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

07.01.2013

15:41:53,87

Re-compiling...

I: Smaling...

Exception in thread "main" java.lang.NullPointerException

at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)

at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2878)

at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)

at org.antlr.runtime.tree.CommonTreeNodeStream.getSourceName(CommonTreeNodeStream.java:106)

at org.antlr.runtime.tree.TreeParser.getSourceName(TreeParser.java:78)

at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliTreeWalker.java:357)

at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)

at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)

at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:436)

at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:85)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:243)

at brut.androlib.Androlib.buildSources(Androlib.java:200)

at brut.androlib.Androlib.build(Androlib.java:191)

at brut.androlib.Androlib.build(Androlib.java:174)

at brut.apktool.Main.cmdBuild(Main.java:188)

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

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

what can i do? :(
[Android Software/Hacking General [Developers Only]] agritux:
i downloaded latest one this time error message different:

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

07.01.2013

16:55:55,37

Re-compiling...

I: Smaling...

[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNTİME

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: java.io.FileInputStream@5a0fcf50

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:254)

at brut.androlib.Androlib.buildSources(Androlib.java:211)

at brut.androlib.Androlib.build(Androlib.java:202)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:214)

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

-----------------------------------------------------------------
[Android Software/Hacking General [Developers Only]] blaz1nr:
When you decompile the apk are you also decompiling the dependencies?

What app are you trying to work with?

Sent from my HTC One XL using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] agritux:
i am trying to modify systemui.apk

it succes decompiling but cannot recompiling
[Android Software/Hacking General [Developers Only]] elesbb:
Are you changing smali code? Errors look to be like you have errors in the actual smali code. Also, what ROM is this from?
[Android Software/Hacking General [Developers Only]] agritux:
i tried lots of apk tool but the same error.

i am trying to make this changes

http://xdaforums.com/showthread.php?t=1217732&highlight=music

it is android 2.3.4

lg optimus black rom
[Android Software/Hacking General [Developers Only]] NORCALkID:
How would i go about adding an htc framwork so i am able to decompile/compile an htc systemUI.apk?

Sent from my Nexus 7 HSPA+
[Android Software/Hacking General [Developers Only]] elesbb:
That mod calls for editing an XML inside framework-Res.apk.

Why are you decompiling SystemUI.apk,?

Tick the check box "install proprietary framework" then go through the wizard and install your HTC dependent framework. I don't remember the exact file name anymore.
[Android Software/Hacking General [Developers Only]] Manas1796:
Gives me the following error -

Re-compiling...

I: Smaling...

I: Building resources...

C:\Users\Manas\APK GUI\InProgress\SystemUI.apk\res\values\layouts.xml:3: error: Resource entry status_bar_tracking is already defined.

res\layout\status_bar_tracking.xml:0: Originally defined here.

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Manas\AppData\Local\Temp\APKTOOL7191595272943899167.tmp, -I, C:\Users\Manas\apktool\framework\1.apk, -S, C:\Users\Manas\APK GUI\InProgress\SystemUI.apk\res, -M, C:\Users\Manas\APK GUI\InProgress\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)

at brut.androlib.Androlib.buildResources(Androlib.java:269)

at brut.androlib.Androlib.build(Androlib.java:192)

at brut.androlib.Androlib.build(Androlib.java:174)

at brut.apktool.Main.cmdBuild(Main.java:188)

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

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Manas\AppData\Local\Temp\APKTOOL7191595272943899167.tmp, -I, C:\Users\Manas\apktool\framework\1.apk, -S, C:\Users\Manas\APK GUI\InProgress\SystemUI.apk\res, -M, C:\Users\Manas\APK GUI\InProgress\SystemUI.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)

... 6 more

This occurs even with the original apktool
[Android Software/Hacking General [Developers Only]] shut_down:
Maybe try to put resources.arsc from original file to folder where it is decompiled. And then compile it.
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Every time I try to DL from here... I get an error (in German, I think) and can't DL ....

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] elesbb:
You need to install proprietary framework from your ROM. Use the checkbox option.
[Android Software/Hacking General [Developers Only]] elesbb:
Can you post a screenshot? I speak german so i'll understand the error. Also, it just worked for me, and i didnt sign in.
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Here is what its showing....

Screenshors In this order (should be) lol

1 opening page

2 hit free download

3 complete captcha

4 error in red... no download....

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
It did finally download a file..... when I opened the file it was only a text saying... you have exceeded the maximum number of free downloads this hour.......

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] elesbb:
Ha yeah they make you wait (who doesn't) lol if you download more than one file in the hour. It's lame but it's not. It's how they make money so it's OK with me.
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Lol...they need to make money too :)..... I don't mind waiting to download.... but the only thing it let me download ever... was the file saying exceeded limit...... but its ok.... I can still use the previous release of it.... I am not working with any 4.2 apps right now anyway :) thanx

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
I cannot get this working. I tried installing net 4.5 but failed EVERY TIME, I tried installing 3.5 wouldn't even open so I'm on 4 and this is the log I keep getting

Sat 01/12/2013

12:36:18.88

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

12:36:39.27

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

12:37:11.09

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

12:49:25.10

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

12:53:17.92

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

12:53:35.69

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

Sat 01/12/2013

17:43:41.33

Decompiling..

'java' is not recognized as an internal or external command,

operable program or batch file.

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

I am trying to decompile a cm10.1 systemui.apk
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Have you added java to your 'path' ?

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
Forgive me but Ive seen people say that. Does that mean environment variables? If so yes I have. I made a typo in the PATH. one sec also wrong version of the tool -_- omg I need sleep
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Yes..... in environment variables ..... :) so I'm assuming you have the proper jdk installed and both java and java / bin are in your path

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
Yeah I do I think my only problem is that I cannot get fx 4.5 or 3.5 installed I'm stuck with 4

I tried decompiling with the new versiona nd still got java error. Could this be attributed to the fx version?
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Yeah.... you need the .net framework installed for it to work properly..... where is the. .net failing?

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
It will fail all over the place theres no exact fail point. It just fails where ever it wants. Like with the offline version it get stuck on validating windows 6.1 I think it says idk it just will not install. I'll run it right now to give wherwe it fails
[Android Software/Hacking General [Developers Only]] elesbb:
You have to install Java JDK from oracle's website. Open command prompt and type Java. You will prolly get the same error.

Your error has nothing to do with the version of my program as you have. Net framework installed, just not the Java JDK.
[Android Software/Hacking General [Developers Only]] voldomart13:
I have the JDK and regular java installed do I have to create a PATH for the jdk as well? oha nd the 4.5 version froze right after extracting the software
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Yes you have to add the jdk to 'path' there are pretty good directions on the java (Oracle ) website..... :)

sent from my JB RAZR .... tapadriving

---------- Post added at 09:16 PM ---------- Previous post was at 09:13 PM ----------

Also..... the 4.5 .net seemed to freeze when I installed it...... but I just walked away from it and when I came back it was done...... took about 20 min...... after you finally do get it installed ..... windoze will have an update for it too..... go ahead and update it you will be fine...... :)

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
Alright I input the JJDK into PATH and still gives me an error and thanks I'll try again to install it, I didnt put it under my paths. Still nothing. GOT IT!!!!
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
You should also add. Program files / Java / bin / to path as well ......

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
I added your suggestion. I started up the fx 4.5 and its stuck now on the extraction. I have restart my damn computer every time to restart the installer
[Android Software/Hacking General [Developers Only]] johnthehillbilly:
Re download the 4.5 (if you are using the off line installer) maybe it is corrupted........ can't hurt..... :)

sent from my JB RAZR .... tapadriving
[Android Software/Hacking General [Developers Only]] voldomart13:
It looks the 4.5 online package stalls downloading netfx_full.mzz. I'll leave it running. If the online package doesnt work I'll redownload the offline package and try that.

OMG!! It won't stop failing or stalling or whatever at netfx_full.mzz. Thats just my luck! Looks like it was able to verify the files ( finally -_- ). After 2 hours of running it finally installed
[Android Software/Hacking General [Developers Only]] voldomart13:
Got this error off of the same cm10.1 systemui.apk

21:24:45.28

Decompiling..

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

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

W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000011

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

W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000020

Exception in thread "main" java.lang.NullPointerException

at java.io.Writer.write(Writer.java:157)

at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)

at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)

at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)

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$1.event(XmlPullStreamDecoder.java:77)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:127)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:141)

at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:126)

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)
[Android Software/Hacking General [Developers Only]] elesbb:
you HAVE to install custom frameworks. Tick the checkbox in the options group to install custom framworks then when it says select framework, select YOUR ROM's framework-res.apk found in /system/framework/framework-res.apk. I just successfully decompiled and recompiled my CM10.1 SystemUI.apk for my Galaxy S III. Before i installed the framework, i got the same error you did. After you are done decompiling and recompiling, uncheck the check box so apktool will use standard framework files for things like regular APKs.
[Android Software/Hacking General [Developers Only]] voldomart13:
I got this error when I tried installing the framework apk

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:560)

at brut.androlib.Androlib.installFramework(Androlib.java:495)

at brut.apktool.Main.cmdInstallFramework(Main.java:224)

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

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:214)

at java.util.zip.ZipFile.<init>(ZipFile.java:144)

at java.util.zip.ZipFile.<init>(ZipFile.java:158)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:530)

... 3 more
[Android Software/Hacking General [Developers Only]] elesbb:
You're using the latest version right? Which ROM is it for which phone?
[Android Software/Hacking General [Developers Only]] voldomart13:
I am using the 4.5 version of your 12/25 release I believe and cm10.1 for i777
[Android Software/Hacking General [Developers Only]] mostafa5187:
+1

For me it is
[Android Software/Hacking General [Developers Only]] elesbb:
Attach your systemUI.apk and framework-Res.apk.
[Android Software/Hacking General [Developers Only]] voldomart13:
View attachment 1642747

View attachment 1642748
[Android Software/Hacking General [Developers Only]] elesbb:
Interesting....

There seems to be something wrong with the actual apk file. 7zip cannot open it either. The error present is a zip error. Who made the ROM? Might need to contact them with what type of compression/zip method they are using.
[Android Software/Hacking General [Developers Only]] voldomart13:
Its straight from a cm10.1 4.2.1 JB nightly
[Android Software/Hacking General [Developers Only]] elesbb:
Do you have 7zip installed? Try opening the apk with 7zip. If you can't, there is something wrong with the apk.
[LG Optimus G (International)] badnewswrx:
Will this phone wither unlocked or branded ATT work on T-Mobile HSPA?

Im in contract til June 2013 and i know the N4 is around the corner as well.

i really want he LG UI, i have a HTC Sensation and have been using cm9/10 roms over the past year now. and im starting to get worn out on "pure google".

i know the N4 is basically the same phone, but it doesnt have the 13MP cam and it doesnt have the LG "rom"

Any one with this on TMO yet?
[LG Optimus G (International)] Remy D. Marquis:
Unfortunately it won't. I actually asked at&t about it and they replied with a big no :P even if you buy it with the no commitment option it will still be locked. one more thing, the at&t version doesn't have the 13MP camera, it has 8MP.

I suggest you take a look at this thread, it is helpful

http://xdaforums.com/showthread.php?t=1963341
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] sumeet909:
Could someone post the user agent for stock browser for 10.1 tablet please?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] bluzman:
Open the stock browser and open the menu in upper right corner. Check the box for "Desktop view".
[Nexus S Themes and Apps] Spidergio:
NEW VERSION 11.1.115.27

-Download: http://d-h.st/x4v

-Install like a normal apk

-Go into the Browser settings and uncheck the option of Flash Player (on demand or always on at your discretion)

-Enjoy:)

I DON'T DO IT. I ONLY SHARE IT.

HIT THANKS IF YOU LIKE IT.
[Galaxy S III Q&A, Help & Troubleshooting] Michel_debs:
anyone can upload to me a pit file to my stock rom 4.1.1 I9300XXDLID, to open on odin & put this file in pit case
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
PIT files are found on sammobile.com .

Warning PIT file flashing may brick your phone if you don't know what and why .

jje
[Galaxy S III Q&A, Help & Troubleshooting] Michel_debs:
i don't find anyting on sammobile,can u give me the full link
[Galaxy S III Q&A, Help & Troubleshooting] Michel_debs:
?????????????
[Galaxy S III Q&A, Help & Troubleshooting] speedyjay:
Go on sammobile.com and look yourself, its obvious you have internet of your own...
[XPERIA X10 Q&A, Help & Troubleshooting] Lacian K:
Ok i just wrote all of this out and it disapeared..

So il rewrite it all now! Joy!:crying: (Sorry if i miss details in haste to finish..)

Hello!

Im wondering if it is safe for me to revert me phone back onto Stock Rom and stock Kernal, and how I would go about doing this?

Heres my Phones Details:

Model Number- X10i

Android Version- 2.3.3

Baseband Version- 2.1.71

Kernel Version- 2.6.29-modFXP-DooMKernel-v06DooMLoRD@chaos) )

Build Number- Wolf_Xperia_7.0.0x

It was a while ago i did all of this stuff to my phone, and I just wanna make sure im going to go the right way about doing it from Guys in the know!

The actual Rom I am running is Wolfbreaks 2.3 Rom V7b6 (ulbl version) It changes to that after you flash in xLoud & Bravia or something.

The main reason for me doing this is, My phone has become a pain.

It keeps Force Rebooting whenever I try to-

Run Larger Apps (Wheres my Water?)

Use my Internet

Charge my phone & text or something simple.

And 7/10 times it reboots, it deletes my Contacts, Messages, Email acounts and other data.:(

Can anyone give me a direction of how I can get my phone to be almost back to stock.

Basicaly, Stock 2.3 Rom and Kernel (and il just root it afterwards unless its already done)

I Imagine it will be as easy as flashing afew files in xRec or Flashtool.

But, What files should I use? and Which way should I flash them? In what Order? Etc etc..

Thanks for ANY feedback! Its much appreciated!:laugh::good:
[XPERIA X10 Q&A, Help & Troubleshooting] Dzufa:
You can always reflash your Stock Rom and Kernel. Personaly, I use Sony Update Service, but you can use latest Flashtool if you want.

Here you are a link for SEUS (Sony Update Service):

http://www.sonymobile.com/global-en/tools/update-service/

Install SEUS on your PC. Run it. Wait till it finished initialization. Folow instuction...After Flashing is over, you must Root your phone again with latest Flashtool. Before rooting, remember to go to phone Settings/Applications/Development and check USB Debugging box.

Here you are link for "How To Root" by G-Face and Crowds:

http://xdaforums.com/showthread.php?p=19684970#post19684970
[XPERIA X10 Q&A, Help & Troubleshooting] Lacian K:
Thanks for your feedback!

I did consider using the official software for it, but was unsure if it would work right.

Souly I wasnt sure if it would replace the kernel back to stock aswel as the rom. Also, because of the Unlocked Bootloader.

So using SEUS will definetly set my kernel to stock aswel? and im assuming it will lock my bootloader again if i do so?

Thanks again so much for your reply =)

Oh! And also, Do you have any knowledge on why my phone is rebooting so drasticaly and deleting all my data?

Its defintly not over/underclocking.

My guess was it was the kernel/rom.
[XPERIA X10 Q&A, Help & Troubleshooting] Dzufa:
Don't worry about bootloader. It will remain unlocked. SEUS always flash Stock Rom and kernel as one. Just reflash your phone with official service, and root again with Flashtool.
[XPERIA X10 Q&A, Help & Troubleshooting] Lacian K:
Seriously, thanks for your info man =) I honestly didnt think id be took seriously.

But yeah, what about the rebooting problem?

Any thoughts on that?

"Oh! And also, Do you have any knowledge on why my phone is rebooting so drasticaly and deleting all my data?

Its defintly not over/underclocking.

My guess was it was the kernel/rom."

Edited from last post
[XPERIA X10 Q&A, Help & Troubleshooting] Dzufa:
And when you back to Stock, I can recommend you to flash Xrecovery with Flashtool. If you wanna flash Custom Rom I recommend you to flash ThJap's ThGo2 v.17. It's flashable through Xrecovery. For me one of the best GB rom out there.
[XPERIA X10 Q&A, Help & Troubleshooting] Lacian K:
Thanks again, il look into it.

I was considering DonutHD or something. It caught my eye earlier and looked pretty good. Think its a ICS rom for the x10.

But yeah, sorry for mentioning this again. But i think your missing my question because your giving me such speedy replies xD

I edited one of my comments, but i think you replied before you saw my edited version.

But do you have any idea about whats causing this terrible Rebooting/Deleting data problem? is it something youv seen commonly before?