Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,045 Members 38,583 Now Online
XDA Developers Android and Mobile Development Forum

[Reference] Interactive Phone Modification [GUIDE]

Tip us?
 
fernando sor
Old
#3761  
fernando sor's Avatar
Recognized Themer
Thanks Meter 5,432
Posts: 9,440
Join Date: Sep 2010
Location: north of the wall
Well your looking at an ambitious project. Remember smali is the language that baksmali translates from source code to smali. It is the class.dex.
Reading smali is much harder then reading source code. Unless you have some experience in reading smali and understanding it it will be very very difficult

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



 
Dunc001
Old
#3762  
Dunc001's Avatar
Recognized Developer
Thanks Meter 1,334
Posts: 2,610
Join Date: Apr 2010
Location: Hiding out south of the border...
Quote:
Originally Posted by fernando sor View Post
Well your looking at an ambitious project. Remember smali is the language that baksmali translates from source code to smali. It is the class.dex.
Reading smali is much harder then reading source code. Unless you have some experience in reading smali and understanding it it will be very very difficult

Sent from my ADR6425LVW using xda premium
Yeah, I know But VTS is a big step forward with descriptions of what's happening, jumping between references, goto's, cond's and so on. Still a major PITA but getting easier. Also decompiles back to java source...

So yep, might be biting off way more than I can chew but hey, everybody loves a trier right

Feel free to jump in and help BTW...
HTC One
ViperOne 6.2.1+ Beta Sense 6.0 with Kangaroo Kernel

HTC One Mini
Completely stock and staying that way...

Google Nexus 7 Gen 2
MIUI 5-09

First HTC HD2
Tytung 4.4.2 DataOnExt

Second HTC HD2
MIUI JB DataOnExt
The Following User Says Thank You to Dunc001 For This Useful Post: [ Click to Expand ]
 
pstevep
Old
#3763  
pstevep's Avatar
Senior Moderator / Developer Committee / XDA Portal Team / Recognized Themer / Teh Pony Overlord - OP
Thanks Meter 6,174
Posts: 5,524
Join Date: Aug 2010
Location: A place just beyond throwing distance

 
DONATE TO ME
I <3 fern
 
silverxbv2
Old
#3764  
silverxbv2's Avatar
Recognized Themer
Thanks Meter 965
Posts: 1,887
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by pstevep View Post
I <3 fern
Hmm. Seems random. But thanks for sharing.

Sent from my ADR6425LVW
HTC Inc
Htc Rezound
32 GB Nexus 7
Bad Seed Customs sprinkles throughout
Get Dropbox Here


Thanks are always appreciated
The Following User Says Thank You to silverxbv2 For This Useful Post: [ Click to Expand ]
 
HeckNoTechnO
Old
#3765  
HeckNoTechnO's Avatar
Senior Member
Thanks Meter 256
Posts: 808
Join Date: Dec 2008
Location: Temple

 
DONATE TO ME
Question Another Question

Quote:
Originally Posted by steal25 View Post
the actual line is

persist.sys.skin=your.exact.skin.name
so if my skin was dmn.apk i would:

persist.sys.skin=dmn.apk ??

do I place the skin in the system/apps folder?
HTC EVO OG-Retired
HTC EVO 3D-Passed to Son
HTC EVO 4G LTE-Passed to wife
Nexus 7 (1st gen)
LG G2

 
fernando sor
Old
#3766  
fernando sor's Avatar
Recognized Themer
Thanks Meter 5,432
Posts: 9,440
Join Date: Sep 2010
Location: north of the wall
Quote:
Originally Posted by Dunc001 View Post
Yeah, I know But VTS is a big step forward with descriptions of what's happening, jumping between references, goto's, cond's and so on. Still a major PITA but getting easier. Also decompiles back to java source...

So yep, might be biting off way more than I can chew but hey, everybody loves a trier right

Feel free to jump in and help BTW...
If i can help I will. It isn't personally something i feel the need for but it does sound like a cool project. I need to become familiar with the New dev tools diamond put out

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



 
steal25
Old
#3767  
steal25's Avatar
Recognized Themer / Contributor / Recognized Developer
Thanks Meter 6,805
Posts: 4,395
Join Date: Feb 2011
Location: Behind a dumpster in the Los Angeles Harbor

 
DONATE TO ME
Quote:
Originally Posted by mikebeam View Post
so if my skin was dmn.apk i would:

persist.sys.skin=dmn.apk ??

do I place the skin in the system/apps folder?
Place the skin in data/app
and the name would be-
persist.sys.skin=name.in.manifest

probably something like com.dms.skin or whatever the name in the manifest is.

if that makes sense.
These vultures rob everything Leaving nothing but chains....De La Rocha
 
Dunc001
Old
#3768  
Dunc001's Avatar
Recognized Developer
Thanks Meter 1,334
Posts: 2,610
Join Date: Apr 2010
Location: Hiding out south of the border...
Quote:
Originally Posted by fernando sor View Post
If i can help I will. It isn't personally something i feel the need for but it does sound like a cool project. I need to become familiar with the New dev tools diamond put out

Sent from my ADR6425LVW using xda premium
Question - in my solution in VTS I have decompiled the idlescreen-base, idlescreen-shortcuts, rosie, settings, settingsprovider, framework-res, framework-htc-res, tweaks & systemui apks. However when I search across all the files in the entire solution folder (so all those decompiled apks in one go) I can't find 'Show launch bar shortcuts' which is one of the strings used in the Sense 4 personalize screen. So where else could it be? com.htc.resources? It's the only apk I can't seem to decompile, tried the different apktool versions but no luck...
HTC One
ViperOne 6.2.1+ Beta Sense 6.0 with Kangaroo Kernel

HTC One Mini
Completely stock and staying that way...

Google Nexus 7 Gen 2
MIUI 5-09

First HTC HD2
Tytung 4.4.2 DataOnExt

Second HTC HD2
MIUI JB DataOnExt
 
fernando sor
Old
#3769  
fernando sor's Avatar
Recognized Themer
Thanks Meter 5,432
Posts: 9,440
Join Date: Sep 2010
Location: north of the wall
Quote:
Originally Posted by Dunc001 View Post
Question - in my solution in VTS I have decompiled the idlescreen-base, idlescreen-shortcuts, rosie, settings, settingsprovider, framework-res, framework-htc-res, tweaks & systemui apks. However when I search across all the files in the entire solution folder (so all those decompiled apks in one go) I can't find 'Show launch bar shortcuts' which is one of the strings used in the Sense 4 personalize screen. So where else could it be? com.htc.resources? It's the only apk I can't seem to decompile, tried the different apktool versions but no luck...
Unfortunately sense 4 com.htc.resources can't be decompiled until apktool is updated

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



 
il Duce
Old
#3770  
il Duce's Avatar
Recognized Developer / Contributor / Themer / Retired Moderator
Thanks Meter 16,445
Posts: 16,696
Join Date: Feb 2009
Location: Twin Cities, MN

 
DONATE TO ME
ok friends, tried to decompile the latest market/play store apk.

using apkmanager 5.0, no clue what version the underlying tools are.

got this error:
Code:
--------------------------------------------------------------------------
|Thu 05/03/2012 --  9:33:27.05|
--------------------------------------------------------------------------
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Could Not Find C:\Documents and Settings\white bear\Desktop\Stuff\apkmanager 5.0
\apkmanager 5.0\apk manager\place-apk-here-for-modding\../place-apk-here-for-mod
ding/signedcom.android.vending.apk
Could Not Find C:\Documents and Settings\white bear\Desktop\Stuff\apkmanager 5.0
\apkmanager 5.0\apk manager\place-apk-here-for-modding\../place-apk-here-for-mod
ding/unsignedcom.android.vending.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\white bear\apktoo
l\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
spinnerMode, value=0x00000000
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01030119
        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(ResReferen
ceValue.java:59)
        at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
        at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
        at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:48)
        at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.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:128)
        at brut.apktool.Main.main(Main.java:65)
Press any key to continue . . .
any ideas?

Tags
#noobthemers, badseed owns your mom!, fern likes your mom, help thread, knowledge is power!, learn nao d3rp, read read read!!! then ask!, sup duce, this is where bad seeds grow!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes