Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jonnyg1097
Old
#41  
Senior Member
Thanks Meter 108
Posts: 1,313
Join Date: Oct 2010
Location: Toronto
Quote:
Originally Posted by mvgg View Post
On setup of Dolphin, you can choose user agent.
Problem solved :)
I thought the exact same thing. Way easier than doing it the method in this thread of decompiling and such.
 
Hooolm
Old
#42  
Hooolm's Avatar
Senior Member - OP
Thanks Meter 441
Posts: 761
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by mvgg View Post
On setup of Dolphin, you can choose user agent.
Problem solved :)
Quote:
Originally Posted by jonnyg1097 View Post
I thought the exact same thing. Way easier than doing it the method in this thread of decompiling and such.
Way easier, true. But many people, like myself, really like the hardware accelerated stock browser. Last I checked, Dolphin wasn't hardware accelerated?
My Android file dump / website / donation link / Market apps / Twitter / Google+
Please note that I do not answer private messages on XDA, ever - I'm not snobbish, the pm system here just sucks.
You can connect with me on Google+ or email me here.
Please support The Plantation Project!
 
kmaq
Old
#43  
kmaq's Avatar
Senior Member
Thanks Meter 652
Posts: 728
Join Date: Aug 2011
Quote:
Originally Posted by Hooolm View Post
For those who had issues building a working Browser.apk
I have been writing a bit back and forth with a guy on Google+, who had similar issues with building. We couldn't find anything wrong with neither software nor methodology, but when he downloaded APK Manager ver. 5.0 everything worked fine.

Of course, that still doesn't explain why everything works for me with APK Manager 4.9 HC Edition, but I've been modding for froyo, gingerbread and now honeycomb, as well as publishing a few themes on Android Market, so I may have different settings somewhere without being conscious of it

Edit: For instance, I've got the Java SE Development Kit 7 installed. Might make a difference. The again, if apk manager 5+ is working for you out of the box so to speak, it might not.
Hi Hooolm, i am first time trying to mod the browser.apk. i am using overcome 2.2 and browser.apk from this ROM.
i am always getting below error after executing 9-decompile apk.
i have tried with apkmanager 4.9, 4.9HC, 5.0.1 and 5.0.2 (in windows 7 32-bit, jdk 1.6.0_17) all gave the same error. any idea how to proceed further?

C:\Users\kmaq\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
title, value=0x01040475
W: Could not decode attr value, using undecoded value instead: ns=android, name=
title, value=0x01040475
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805aa
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805ac
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805b1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010805a5
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01040475
at brut.androlib.res.data.ResPackage.getResSpec(ResPa ckage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTabl e.java:51)
at brut.androlib.res.data.value.ResReferenceValue.get Referent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.enc odeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encode AsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Re sAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAt tributeValue(AXmlRe
sourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelega te.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializer Wrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializer Wrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.dec ode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContaine r.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(Re sFileDecoder.java:1
00)
at brut.androlib.res.decoder.ResFileDecoder.decode(Re sFileDecoder.java:8
6)
at brut.androlib.res.AndrolibResources.decode(Androli bResources.java:132
)
at brut.androlib.Androlib.decodeResourcesFull(Androli b.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)
Press any key to continue . . .
Samsung Galaxy SII (GT-I9100) / I9100XXMS2 / ROM: XWLSS NeatROM Lite 4.7
HTC Desire - GSM (BRAVO PVT3 SHIP S-OFF HBOOT-6.93.1002) / ROM: MIUI-XJ 2.2.30 - GB 2.3.7
Samsung Galaxy Tab 10.1 3G (GT-P7500) / P7500XXLQ8 / IMM76D.XWLP9 / ROM: Stock ICS 4.0.4

~~~~~~~~~If i have helped you, don't hesitate to hit the thanks button~~~~~~~~~~
 
Hooolm
Old
#44  
Hooolm's Avatar
Senior Member - OP
Thanks Meter 441
Posts: 761
Join Date: Jul 2010

 
DONATE TO ME
Have you registered framework-res and twframework-res?
My Android file dump / website / donation link / Market apps / Twitter / Google+
Please note that I do not answer private messages on XDA, ever - I'm not snobbish, the pm system here just sucks.
You can connect with me on Google+ or email me here.
Please support The Plantation Project!
 
kmaq
Old
#45  
kmaq's Avatar
Senior Member
Thanks Meter 652
Posts: 728
Join Date: Aug 2011
Quote:
Originally Posted by Hooolm View Post
Have you registered framework-res and twframework-res?
yes i did follow all the steps from the start. i can see two 3 files created under c:\users\kmaq\apktool\framework\ folder
1-1.apk.apk, 2-2.apk.apk & 1.apk
Samsung Galaxy SII (GT-I9100) / I9100XXMS2 / ROM: XWLSS NeatROM Lite 4.7
HTC Desire - GSM (BRAVO PVT3 SHIP S-OFF HBOOT-6.93.1002) / ROM: MIUI-XJ 2.2.30 - GB 2.3.7
Samsung Galaxy Tab 10.1 3G (GT-P7500) / P7500XXLQ8 / IMM76D.XWLP9 / ROM: Stock ICS 4.0.4

~~~~~~~~~If i have helped you, don't hesitate to hit the thanks button~~~~~~~~~~
 
Post Reply+
Tags
browser, hooolm, user agent, useragent
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...