App Policy FIle Collection/how to launch apps based on GUID - Windows Phone 8 Development and Hacking

ssoo in Windows Phone 8, the APP GUIDS are stored in xml files that map to the real files (executables) located on the device. These files are located in "Windows\System32\Manifests" USing this info + the native Toast launcher, I can now run executables listed here. This includes executables such as "deviceUpdatePostUpdate" and various worker threads. Pretty much if it's preinstalled by Microsoft, it is here. I have been opening lots of random things on my 8x so far
For convenience, I have attached a zip of this directory. It is from the Lumia 925 Retail ATT Rom.
This is how the mapping works:
1. Open the xml file you want to work with. look for "ProductID" This is the app GUID.
2. Look for the "DefaultTask Name" property. This is what is called on launch.
Enjoy!
IF any of you have tethering blocked, see if you can get to it directly by going to app://5B04B775-356B-4AA0-AAF8-6491FFEA5629/Default

compu829 said:
ssoo in Windows Phone 8, the APP GUIDS are stored in xml files that map to the real files (executables) located on the device. These files are located in "Windows\System32\Manifests" USing this info + the native Toast launcher, I can now run executables listed here. This includes executables such as "deviceUpdatePostUpdate" and various worker threads. Pretty much if it's preinstalled by Microsoft, it is here. I have been opening lots of random things on my 8x so far
For convenience, I have attached a zip of this directory. It is from the Lumia 925 Retail ATT Rom.
This is how the mapping works:
1. Open the xml file you want to work with. look for "ProductID" This is the app GUID.
2. Look for the "DefaultTask Name" property. This is what is called on launch.
Enjoy!
IF any of you have tethering blocked, see if you can get to it directly by going to app://5B04B775-356B-4AA0-AAF8-6491FFEA5629/Default
Click to expand...
Click to collapse
Aww, you beat me . I was just about to post the GUIDs for all settings apps, file extensions, OEM specific apps, carrier apps, system preinstalled apps, etc. I also had a WP update package. No clue what it is.

Can't run most of them with just GUID/Default

sorry, but it is quite obvious. Next thread would be "App POLICY files!!", am I right?
no offense, just stating

@ultrashot, Agreed!~

It was late and I was wicked excited lol. This is a collection of app policy files that basically explain the App GUID to EXE translation for alot of stuff. Ultimately, I would like to get a list going in this thread of app://guid/commandstorun -- Description for all of this..I think it would be useful since some of these take in arguments and can be told to load other files, etc.

Ohhhh I just got a great idea.... You'll see later

snickler said:
Ohhhh I just got a great idea.... You'll see later
Click to expand...
Click to collapse
Any progress mate?
Sent from my Lumia 920 running Amber, using Tapatalk

I actually forgot all about that idea due to me getting busy with work lol. I'll start with it today and see if I can make progress

thanks
How it works so I download the file What do I do now and what APP GUIDS
Im nooooob

Related

General and Hero Q&A

I present to you a FAQ for newcomers or the generally uninformed to find quick answers.
General
Q: What is a ROM?
A: A ROM is a complete system image of the Android operating system. For much more detailed info, read here.
Q: How do I install a ROM?
A: ROMs can be flashed once you have rooted your phone and flashed a custom recovery image. After that, you can apply a rom zip via the recovery menu. Detailed info here.
Q: Where can I find more info about ROMs?
A: In the two links above.
Q: What is Apps2SD and how do I use it?
A:Apps2SD is a script that will do exactly as it implies so you are no longer limited to your phone's internal storage. First you must be running a custom ROM that supports it and secondly you need to format your SD card as FAT+ext2. Once that requirement is met, the rest will be automatic. Alternative you could install a2sd on stock rom manually if you wanted to for whatever reason. Warning: Formatting your SD card will erase ALL of the data on it. If you want to keep it, make a backup.
Q: All the Market downloads are stalling. How can I fix this?
A: Sign into Gtalk. The two are closely related even though you'd never guess. For an in-depth discussion head over to this thread.
Q: How do I sign my zip or apk?
A: First you must have java installed on whatever OS you're running. Windows users download the Win-sign.zip attachment. Linux users download Linux-sign.zip attachment.​
HTC Hero Specific
Q: How do I root my Sprint CDMA Hero?
A: You've got a few options concerning this. There's the auto-root, flashrec method, and asroot2 method.
Q: How can I remove pre-installed apps?
A: Head on over to How remove apps thread for detailed instructions.
Q: How can I get rid of ringtones and notifications I've downloading from showing up in the Music app and use them without downloading a Market app?
A: Create a folder in the root of your SD card called "media" and a folder called "audio" inside that one. Inside the "audio" folder, create a "notifications", "ringtones", or "alarms" depending on your needs and place the files in the desired folder. Example: media>audio>ringtones>custom-ringtone.mp3
Q: How can I tether my Hero to my PC?
A: You've got several options here. There's Wifi Tether, EasyTether, PDAnet, or without any app! You can read up respectively on each of the apps listed about to learn more about which might be best for you. Now, here's how you can tether without any of that stuff.
Step 1: Connect your phone to your computer with a USB cable and make sure all other forms of internet are disconnected.
Step 2: Install HTC Sync.
Step 3: On your phone go to Settings>Wireless controls and enable Mobile networking sharing. Your PC will try to recognize your phone and install proper drivers and will probably fail. So do it manually using the drivers from HTC Sync located in the directory you installed it. PC should be recognizing your phone now if done properly.
Step 3: Within the Wireless controls menu go into Mobile network settings and change Mode of operation to 1x only.
Step 4: Go back one menu to the Wireless controls and turn off the Mobile network. Now, turn Mobile network back on and enable Mobile network sharing as quickly as possible.This may take a couple of tries. If you did this fast enough you'll get a message saying HTC sync is disable but you won't get Error 67.
Step 5: Change your Mode of Operation back to Hybrid and enjoy.​
Leave a suggestion if there's something you think should be added.
Me likes.
Though I think that this would work best as a Wiki so that other informed users can add to it as things come up and we dont have to rely on just one user/dev to maintain it.
Thanks for taking the initiative on this, I am getting quite tired of all the useless threads and continuous thread hijacking over issues that have already been covered 20 times. I dont have all day to read through all the BS that has been filling up the threads lately.
Almost 200 views and no suggestions?
I don't know if this is up you guys' alley, but if any Cricket folks could put together a step-by-step on how to flash to Cricket, especially how to flash with sms/data working, that would be so helpful.
Something else that I can't find good and thorough instructions for is the Cricket broadband workaround, where (if I understand correctly), you use your Cricket USB Broadband modem for all data on the Hero via proxying into it. All I really find on the latter is vague directions to use Anycut/Bettercut and no details about what to do in either program or how to input proxy settings. The most detailed guide I was able to find seems to actually be for a different model phone, since the instructions either only relate to WM or a GSM Hero.
I am trying to figure this out, and if I do before anyone else straightens it out, I'll write something up. I know how annoying it is to get the same questions over and over in these forums. (I've tried my best to help out the Axim x51v community at HTCGeeks with these kinds of things.)
At any rate, it would be awesome to see some more Cricket Hero chatter, even if it isn't revelations, on this thread. I know we're out there lurking, appearing to be Sprinties.
theresthatguy said:
Almost 200 views and no suggestions?
Click to expand...
Click to collapse
I think this would be great for all people that take time to read before posting.but most the post are people not caring enough about their device to read the great info already provided for them. I'm goin to pm u a crazy idea I have.
This is a great idea, whether it is a wiki or a thread.
One question though, don't you need to put a blank "nomedia" file in the ringtones folder?
watzone69 said:
This is a great idea, whether it is a wiki or a thread.
One question though, don't you need to put a blank "nomedia" file in the ringtones folder?
Click to expand...
Click to collapse
nope. I have lots of random mp3s and stuff i use for ringtones and notifs and i do exactly like above and none of it shows up in the music app.
theresthatguy said:
nope. I have lots of random mp3s and stuff i use for ringtones and notifs and i do exactly like above and none of it shows up in the music app.
Click to expand...
Click to collapse
Mine is the same. Im just organized, just now realized that it is like that lol.
watzone69 said:
One question though, don't you need to put a blank "nomedia" file in the ringtones folder?
Click to expand...
Click to collapse
I use that 'trick' to hide certain pics from the album.
Negrito said:
I use that 'trick' to hide certain pics from the album.
Click to expand...
Click to collapse
Go on...
Can you explain this album trick?
thedudejdog said:
Go on...
Can you explain this album trick?
Click to expand...
Click to collapse
The trick is create a file any directory, that want to hide from Music & Gallery, called ".nomedia".
To make a .nomedia file, just take an empty .txt file and rename it.
How about a Q&A on how to sign an .apk
thedudejdog said:
Go on...
Can you explain this album trick?
Click to expand...
Click to collapse
See Below. Then, personally, I hide the folder severals folders deep in the most random place i can think of in the file directory.
gu1dry said:
The trick is create a file any directory, that want to hide from Music & Gallery, called ".nomedia".
Click to expand...
Click to collapse
Exactly.
watzone69 said:
To make a .nomedia file, just take an empty .txt file and rename it.
Click to expand...
Click to collapse
Thats what i did, but it didint work on my MacBook, so i did it at work on my Win98 box.
derekstory said:
How about a Q&A on how to sign an .apk
Click to expand...
Click to collapse
Deal.
edit: windows or linux?
I have a notifications and ringtones folder on the root of the SD card and works, but some people prefer just 1 folder that contains both I guess.
theresthatguy said:
Deal.
edit: windows or linux?[/QUOT
Windows for me
Click to expand...
Click to collapse
theresthatguy said:
Deal.
edit: windows or linux?
Click to expand...
Click to collapse
derekstory said:
Windows for me
Click to expand...
Click to collapse
Linux for me!
I literally just installed Mint on an old PC of mine.
If you're short on time though, windows would be good enough (and much appreciated).
No Mac love? Wait, can it even be done in OS X?
Negrito said:
No Mac love? Wait, can it even be done in OS X?
Click to expand...
Click to collapse
haven't come across a single bit of info of rom cooking/dev work on mac.
edit: plus i don't own a mac and pretty much have never used one.
theresthatguy said:
haven't come across a single bit of info of rom cooking/dev work on mac.
edit: plus i don't own a mac and pretty much have never used one.
Click to expand...
Click to collapse
i think this is because (almost) EVERYONE that owns a mac also owns a iphone...annnd a ipod....and a macbook....and a ipad....and don't need to develop android software because they have something with a shiny apple on it.
nothing against you, Negrito but most people (that i know...personally) who use macs are completely nuts for apple. hardcore apple fanboys.
my "friend" won't even hold my hero, i think he thinks it will convert him...and he knows that i know this...

[THEME] Better Gingerbread Theme for Milestone running stock Android 2.1

I have been meaning to post this for a while and I am finally posting it today.
I tried the Gingerbread theme by wallla but wasn't really satisfied with it. One of the reasons is the lack of a themed dialer. Also, there were a few errors that I noticed, like the address bar in browser wasn't displayed correctly (in my phone at least).
So, I decided to create a better Gingerbread theme for my Milestone and here it is. It contains themed dialer and a few other stuff. Have also got the notification bar to look 99% like the SDK.
The theme contains the following modified files.
framework-res.apk - Contains most theme elements.
services.jar - Modified to change the clock color in notification bar to white.
Browser.apk - Contains only the new browser icon.
Contacts.apk - Themed dialer
Email.apk - New email notification icon.
Gmail.apk - New gmail notification icon.
Mms.apk - New sms, mms, etc. notification icons
MotoCarDock.apk - New car dock notification icon.
Phone.apk - Themed dialer. Used for emergency calls I think.
Settings.apk - A few new icons.
I have kept a few things the same. The pattern lock screen because the new one is very ugly in my opinion. The emergency call icon (old/new) cause the new one doesn't make any sense (to me ) and that icon (old/new) that is displayed along with app permissions in the Market.
Screenshots
I have created two versions of the theme. One contains green notification icons (like signal strength, 3g, wifi etc) as you can see from the above screenshots and the other one contains gray ones that are displayed by the Android emulator provided with the SDK. SDK contains both the green and the gray icons in SystemUI.apk but the gray ones are displayed by default in the emulator. Check screenshot of emulator below.
Download
View attachment gingerbread-theme-gray-update.zip
MD5: AD9CFE2D67D8129C0220165885963237
View attachment gingerbread-theme-green-update.zip
MD5: 3BA6A855B2F23F4CE9117EF125A33AE5
Installation
Create a nandroid backup first or manually backup the original files. Then, apply any one of the update.zip archives (green or gray notification icons) with latest OpenRecovery or extract and manually push the files in the system directory using adb.
Please note that the theme was created using files from the south east asia Milestone having firmware configuration version GAS_EMEA_USASHLS00RTINT_P016. If you have a different version, your Settings.apk may be different, in which case you should delete it from the zip archives or leave it out if you will be manually pushing the files using adb. You can pull the Settings.apk from your phone and check the MD5 hash to see if it is different or not. The MD5 hash for the original Settings.apk from the south east asia milestone is EE46C636EAC6E95044D7FA26B9291F4C.
Gingerbread docks and icons for LauncherPro can be found in the following archive.
View attachment 497035
No one posted.....?
great work man, i use android 2.2, and if i came back to 2.1 i will use your theme.
keep it up.. cheers.
Beackman said:
No one posted.....?
great work man, i use android 2.2, and if i came back to 2.1 i will use your theme.
keep it up.. cheers.
Click to expand...
Click to collapse
Nobody posted due to the lack of class in the title.
It's not like.. the best them EVER111
You see, normally, people who put together a theme respect and give kudos to the work that it was based upon... not piss on it.
It's not based on wallla's theme. It's based on Android SDK. I made the theme from scratch and spent hours making it. Learnt how to make themes in the process.
And sorry I couldn't come up with a better title. Got the idea from better wordpress plugins with simiar names.
Don't judge a post by its title.
ashketchum said:
It's not based on wallla's theme. It's based on Android SDK. I made the theme from scratch and spent hours making it. Learnt how to make themes in the process.
And sorry I couldn't come up with a better title. Got the idea from better wordpress plugins with simiar names.
Don't judge a post by its title.
Click to expand...
Click to collapse
Actually, I judged the original post on its "mine is better" attitude, as did most of the approximately 400 people who have viewed the thread and not cared to comment.
It's great that you learned alot and put something together, but tearing apart somebody else's effort only makes people want to tear apart your effort.
Nobody likes a braggart.
btw, green highlights would be better.
But then again, that's just an opinion, isn't it?
work like charm!!!! nice work buddy both themes looks nice...
zeppelinrox said:
Actually, I judged the original post on its "mine is better" attitude, as did most of the approximately 400 people who have viewed the thread and not cared to comment.
Click to expand...
Click to collapse
I made this theme for myself cause I didn't like the one by wallla since it wasn't really as close to the SDK as possible. I later decided to share this theme with others who would also like to have their Milestones look as close to Gingerbread as possible. And if someone can make a Gingerbread theme that is even better than mine, like for example they manage to get that "Clear" text on the clear button on notification bar centered or get the "recent apps" to look same as Gingerbread, then I would start using that theme instead of the one I made.
zeppelinrox said:
...tearing apart somebody else's effort only makes people want to tear apart your effort.
Click to expand...
Click to collapse
By this logic, Google tore apart Apple's "effort" by creating a better mobile operating system. Which then begs the question, what are you doing here?
zeppelinrox said:
Nobody likes a braggart.
Click to expand...
Click to collapse
I tried my best not to sound like I was bragging. But I can't deny that I was very much tempted to brag about my theme. I am a human and not an alien from outer space. And like most humans, I too like to brag.
And as far as I know, many people "like" Apple and they are the king of "braggarts".
zeppelinrox said:
btw, green highlights would be better.
Click to expand...
Click to collapse
Tell that to the Google developers who made the default theme for Android 2.3. I however think that it was a good decision on their part to continue using orange highlights.
By the way, I hope I have fed you enough and that you are stuffed by now.
Hi,
Great theme! The best Gingerbread theme I saw!
Congrats for the excellent work!
I have darky's rom 8.0 in my SGS and the only thing I would like to change is the phone dialpad, is there a way I can apply yours and if there is, how can I do it?
regards,
Yes you can. What you need to do is extract the Phone.apk and Contacts.apk from my theme, get the new images from the "res/drawable-hdpi" and "res/drawable-finger-hdpi" and replace the ones in Phone.apk and Contacts.apk that you pull from your phone.
To replace the images in the apk files from your phone, rename them to zip files (Phone.zip, Contacts.zip) and then open them one by one with WinRAR. Then browse to either "drawable-hdpi" or "drawable-finger-hdpi" and drag and drop the new images there. As soon as you drag and drop you will see a dialog box where you need to select "Store" as the "Compression method". After you are done replacing the images with the new ones, you need to zipalign the modified apks. zipalign is included with the Android SDK and is located in the "tools" directory. Open command prompt and browse to the directory where you have the renamed apk files from your phone. Then use the command "PATH_TO_ANDROID_SDK\tools\zipalign -v 4 Phone.zip Phone.apk" and another one for the Contacts.zip file. Now you should have two new apk files which you can push to your phone using adb and that's it.
Let me know if you need more details.
ashketchum said:
I made this theme for myself cause I didn't like the one by wallla since it wasn't really as close to the SDK as possible. I later decided to share this theme with others who would also like to have their Milestones look as close to Gingerbread as possible. And if someone can make a Gingerbread theme that is even better than mine, like for example they manage to get that "Clear" text on the clear button on notification bar centered or get the "recent apps" to look same as Gingerbread, then I would start using that theme instead of the one I made.
Click to expand...
Click to collapse
I don't recall diminishing or slagging the quality of your work.
My only "point" was that people weren't really commenting on your work due to bad manners.
Edit: If anything, your work does indeed look very clean and polished.
ashketchum said:
By this logic, Google tore apart Apple's "effort" by creating a better mobile operating system. Which then begs the question, what are you doing here?
Click to expand...
Click to collapse
When I said "tear apart", it was in the context of picking apart somebody elses work and pointing out all that is wrong with it and basically calling it santa claus.
It was not in the context of disassembling and reengineering/improving.
You're a smart guy and you conveniently misinterpreted my meaning so that you can make it seem like I was trolling.
BTW, android is nothing like iOS so the above arguement is invalid anyway.
ashketchum said:
I tried my best not to sound like I was bragging. But I can't deny that I was very much tempted to brag about my theme. I am a human and not an alien from outer space. And like most humans, I too like to brag.
And as far as I know, many people "like" Apple and they are the king of "braggarts".
Click to expand...
Click to collapse
Nothing wrong with taking pride in one's work.
But pissing on somebody else's work doesn't do your work any favours.
Which is why alot of people, like ourselves, can't stand the "Apple Attitude."
ashketchum said:
Tell that to the Google developers who made the default theme for Android 2.3. I however think that it was a good decision on their part to continue using orange highlights.
Click to expand...
Click to collapse
About my green highlights remark, ya, so I trolled a little....
ashketchum said:
By the way, I hope I have fed you enough and that you are stuffed by now.
Click to expand...
Click to collapse
...well, not really, since I immediately stated that it was only my opinion that green highlights would be better than orange.
But you conveniently disregarded that, so that you can call me a troll.
Very clever, but that just makes you a clown. (I couldn't find a big enough link)
But then again, I set you up and you took the bait, so maybe I'm a bit of a clown too
Aaaand you're back. For today's meal?
zeppelinrox said:
My only "point" was that people weren't really commenting on your work due to bad manners.
Click to expand...
Click to collapse
I see. And here I was thinking that it was because there weren't many xda members with Milestones who were still using Android 2.1 and the ones that are still using Android 2.1 (like me), found nothing wrong with the theme and understood the installation instructions and so didn't feel the need to "comment". But thanks for letting me know that it was because of my bad manners.
zeppelinrox said:
When I said "tear apart", it was in the context of picking apart somebody elses work and pointing out all that is wrong with it and basically calling it ****.
Click to expand...
Click to collapse
Hmmm. It seems I have amnesia since I don't recall doing that.
zeppelinrox said:
BTW, android is nothing like iOS
Click to expand...
Click to collapse
Of course it isn't. It's better than iOS.
zeppelinrox said:
About my green highlights remark, ya, so I trolled a little....
Click to expand...
Click to collapse
I knew I shouldn't have removed that extra space between those two lines. And, now it seems you are not just a troll but also an idiot. Oh wait, an idiot can't be a troll. No, it seems you trolled accidentally. And that means I don't have to worry about feeding you! Yay!
Oh wow.
I gave you too much credit.
You're not all that bright after all.
You don't have amnesia though, just a selective memory which allows you to take things out of context to such an extent that your responses don't even follow simple logic and are, in fact, just childish.
I did not troll accidentily.
As I said before, when I made that "green highlights are better" remark, I purposefully pointed out that it was just my opinion and therefore, was not trolling at all.
Now, before you decide to reply, try not to look like the rambling fool that made the prior post.
Peace, brothers.
zeppelinrox said:
I did not troll accidentily.
As I said before, when I made that "green highlights are better" remark, I purposefully pointed out that it was just my opinion and therefore, was not trolling at all.
Click to expand...
Click to collapse
Oh, wow. It seems you still have no idea what you are talking about. Your very first post can be considered as trolling, you dummy. How long have you been on the internets?
sileshn said:
Peace, brothers.
Click to expand...
Click to collapse
He started it.
ashketchum said:
Oh, wow. It seems you still have no idea what you are talking about. Your very first post can be considered as trolling, you dummy. How long have you been on the internets?
Click to expand...
Click to collapse
Uh.. sticks and stones...? geezus... what a child indeed....
I think 1996ish... about 15 years.
This probably explains a few things:
1. My low tolerance for braggarts
2. Why you didn't get me mad
3. Why I didn't stoop to your level
4. My ability to recognize your feeble attempts at twisting my words.
I can go on but I don't want to be a braggart.
And yes, I started it by calling a spade a spade. It wasn't trolling. Calling it trolling doesn't make it so.
Many times, the truth hurts. And then the offended party replies with some name calling such as "troll" without validity.
But that's just too bad. It doesn't change reality.
At least I was nice enough to throw in a couple of compliments.
Not that you would notice.
Anyway, I've bumped this thread too many times so I'll just bury the spade, hatchet, whatever.
ashketchum said:
Yes you can. What you need to do is extract the Phone.apk and Contacts.apk from my theme, get the new images from the "res/drawable-hdpi" and "res/drawable-finger-hdpi" and replace the ones in Phone.apk and Contacts.apk that you pull from your phone.
To replace the images in the apk files from your phone, rename them to zip files (Phone.zip, Contacts.zip) and then open them one by one with WinRAR. Then browse to either "drawable-hdpi" or "drawable-finger-hdpi" and drag and drop the new images there. As soon as you drag and drop you will see a dialog box where you need to select "Store" as the "Compression method". After you are done replacing the images with the new ones, you need to zipalign the modified apks. zipalign is included with the Android SDK and is located in the "tools" directory. Open command prompt and browse to the directory where you have the renamed apk files from your phone. Then use the command "PATH_TO_ANDROID_SDK\tools\zipalign -v 4 Phone.zip Phone.apk" and another one for the Contacts.zip file. Now you should have two new apk files which you can push to your phone using adb and that's it.
Let me know if you need more details.
Click to expand...
Click to collapse
Hi there,
Darkyy here, the dev of Darky's ROM.
I don't know how it is for your device, but changing the dialer on the Galaxy S i9000 needs a change of the DialerTabActivity.apk
Just wanted to inform you.
BTW: I just read this thread totally random and saw all these moaners about the OP. All I can say, make it better before you blame someone's hard work.
Darkyy - Joël
- Sent from my SGS with Darky's ROM v9.1
ashketchum said:
Yes you can. What you need to do is extract the Phone.apk and Contacts.apk from my theme, get the new images from the "res/drawable-hdpi" and "res/drawable-finger-hdpi" and replace the ones in Phone.apk and Contacts.apk that you pull from your phone.
To replace the images in the apk files from your phone, rename them to zip files (Phone.zip, Contacts.zip) and then open them one by one with WinRAR. Then browse to either "drawable-hdpi" or "drawable-finger-hdpi" and drag and drop the new images there. As soon as you drag and drop you will see a dialog box where you need to select "Store" as the "Compression method". After you are done replacing the images with the new ones, you need to zipalign the modified apks. zipalign is included with the Android SDK and is located in the "tools" directory. Open command prompt and browse to the directory where you have the renamed apk files from your phone. Then use the command "PATH_TO_ANDROID_SDK\tools\zipalign -v 4 Phone.zip Phone.apk" and another one for the Contacts.zip file. Now you should have two new apk files which you can push to your phone using adb and that's it.
Let me know if you need more details.
Click to expand...
Click to collapse
Thank you very much for your quick support
Let me see if I understand,
1. I copy both files (phone.apk and contacts.apk) from my phone folder (system/apps), paste it in my computer and rename both to .zip file.
2. I extract the same two files from your theme and rename both to .zip.
3. Open the renamed file I copy from my phone (phone.zip) in a window, and open your phone.zip file in another window, and drag and drop from one window to another the drawable-hdpi folder or the drawable-finger, (couldn't find the: drawable-finger-hdpi, only drawable-hdpi-finger or drawable-hdpi).
3a. Question: Is it necessary to copy both folders or just one of the two?
4. When replacing the folders choose, "Compression method" "store" from winrar pop up window.
5. Zipalign the modified apks: Put both changed files, (phone.zip and contacts.zip) in the androidsdk/tools folder.
6. Open the command prompt to browse the directory where you pasted the saved files and write:
cd\
cd AndroidSDK\Tools\
(Now is pointing to the tools directory)
Then use the command "PATH_TO_ANDROID_SDK\tools\zipalign -v 4 Phone.zip Phone.apk"
...and the same but using the "contacts" instead of phone.
Then we should have two new apk files in androidsdk/tools folder.
6. Copy both and with root explorer paste it in the phone, system/apps folder replacing the ones that are there.
Did I made all the steps correctly?
If so, there's only one thing that is not working:
When I use the command: "PATH_TO_ANDROID_SDK\tools\zipalign -v 4 Phone.zip Phone.apk"
It gives me an error saying that the directory doesn't exist.
I supose it's because my folder is called androidsdk and not android_sdk.
But when I change to: "PATH_TO_ANDROIDSDK\tools\zipalign" it says the same thing.
And if I change to: "PATH TO ANDROIDSDK\tools\zipalign" it gives no error, but it doesn't do anything, and in the tools folder doesn't show the "phone.apk" or "contacts.apk" new files.
Am I doing anything wrong?
Just another question: Can I install all your theme with CWM in Android 2.2.1 or only works in 2.1?
Thanks again for all your excellent work and support!!
You have the best original Gingerbread theme, the design super!!!
Cheers mate!
Hi,
Thanks for the info and for your excellent rom Darky
What you are saying is that I also need to do the same thing in this file? Or just copy the apk to the apps folder?
Cheers,
Keep it on topic please..already had to edit some of the posts in this thread...any more and I'll get the boogie man onto you

Developer with a Marketing question!

I'm a programmer; I don't do Sales, I don't do Marketing LOL
I'm working on an app that has my partner and I debating on pretty much a daily basis. I'll try to explain best as possible without too much detail.
The app takes a pre-loaded database (a "template") from assets folder and loads into the app. Works fine. Thing is, there will be more templates, probably up to 20 for which we want to charge (we're talking small amounts here).
So, here is the debate we're having:
1. Create 20 apps with each having the one template. Easy as hell for me but goes against my programming standards as to why have 20 apps when ONE does the work? NOTE: Does not need any permissions
2. Create one app, ask user for template on startup, download from cloud. A little tougher, but not much. Problem here is that what if they want 2 templates? Or 5? We want to charge for each template. I could do "AppName +2" or "AppName +5"
versions and charge accordingly. NOTE: Max templates a user would have is probably 5.
3. In-app purchasing...I've read about this. Not so easy. You either hide content (and over bloat your app or code a mechanism that allows Joe to have in-app purchase app, but not Julie). Google makes clear note of this in their docs. NOTE: my bloat would be about a 7,000 row database on user's phone.
So, just looking for some other opinions...all comments welcome!
TIA,
Roots
From what I can understand, I think # 1 is the most tried and true method, as most launchers with themes work this way. The upside for you as far as making money is concerned is that there are people who want all their options, whether or not they will ever use them... I have been guilty of it myself with lp+ themes. I've paid for ones I'll never use, because it's there and most apps tend to be in the "impulse buy" price range.
I agree, #1 is your best option, it may require a lot more work as far as deploying goes, but it is the most reliable method.
Interesting! Thank you for your replies.
A little more information...the templates (e.g. database) will probably never change from initial download, so that update is a moot point.
One thing I didn't think about is creating and SAVING 20 keys!!! Yikes. I've lost those before...very bad situation when that happens. Not to mention 20 distinct package names.
One thing I didn't think about is creating and SAVING 20 keys!!! Yikes. I've lost those before...very bad situation when that happens. Not to mention 20 distinct package names.
Click to expand...
Click to collapse
You can sign all packages with the same key.
As of package names, all you need is to change the application package not the code packages. The ADT has a tool for renaming application packages.
1. Create 20 apps with each having the one template. Easy as hell for me but goes against my programming standards as to why have 20 apps when ONE does the work? NOTE: Does not need any permissions
Click to expand...
Click to collapse
Here is my suggestion, although I never tried it:
Create 20 apps for templates with no logic at all.
For each one of these apps:
(1) Put a single template file in the res/raw folder
(2) Create an Activity that doesn't do anything at all (call finish on onCreate).
(3) Set intent-filter for your null activity with android.intent.action.MAIN and your own custom category.
Create 1 main application with all application logic and code but with no templates at all (or just one default template).
(1) Search for installed templates using PackageManager.queryIntentActivities with an Intent that match Intent.ACTION_MAIN and your custom category.
(2) Read templates using Context.createPackageContext, getResources of the created context, getIdentifier to find the id of the template file and openRawResource to actually open it as an InputStream.
There are other methods to share resources, take look at android:sharedUserId.
Interesting concept, but if I read it right, I sill need 20 "dummy" apps to go with the main "driver".
I've got some time to mess with this because I have to implement drag and drop on some ListViews. I might just end-up coding the in-app purchase stuff.
EDIT: LOL, I can't wait till I can afford an iPad and port all my stuff to iOS

Download ability?

Hello everyone,
I heard that you can't download all kinds of files on a WP8 , thus rendering you limited to a certain number of formats. (and as far as I understood there are issues with e-mail downloads and opening some files?...)
Which formats are we limited to? Is Microsoft willing to address this issue? Is it a deal-breaker or can you still use the phone? Are there any issues with download such as the ability to only view the files and not actually download them?
Many thanks,
Alex.
i would think its possible after reading this http://wmpoweruser.com/windows-phone-8-has-new-api-for-loading-music-from-apps-into-the-music-hub/
as far as downloading music files but i havent seen anyone develop anything to test it out and showcase this ability
Dunno, maybe Nokia Xpress browser can do something? ..
Deformat said:
Hello everyone,
I heard that you can't download all kinds of files on a WP8 , thus rendering you limited to a certain number of formats. (and as far as I understood there are issues with e-mail downloads and opening some files?...)
Which formats are we limited to? Is Microsoft willing to address this issue? Is it a deal-breaker or can you still use the phone? Are there any issues with download such as the ability to only view the files and not actually download them?
Many thanks,
Alex.
Click to expand...
Click to collapse
You are correct. In both email and browser, you can not download any type of file and save it somewhere. You can open a few types only, and even then, the phone will save them automatically I believe (pdf,doc,mp3).
I wish I knew what MS was thinking on this and what they are willing to do in the future. But of course, they dont say anything as far as their plans. I would love the ability to save any type of file to a folder I chose, no matter if I can open it with the phone or not. Only MS knows their thoughts on this. I wish there was someone I could contact to find out what their feelings are on it and if they are even entertaining the idea of this for the future. they are too tight lipped about future updates.
i'm using wp7.5 and i can download and open zip files.. but can't save it. After you close the zip file it's gone
we really need a file explorer
HypeZ85 said:
i'm using wp7.5 and i can download and open zip files.. but can't save it. After you close the zip file it's gone
we really need a file explorer
Click to expand...
Click to collapse
Yep. And sadly, we most likely wont get one. At least not an official one. The only way we could get one with WP7, I think you had to be able to side load apps and be interop unlocked. Not 100 percent sure on the interop part, but it basically wasnt something available to everyone. I hear people say we dont need custom roms and hacks.....sorry, but YES we do. If MS is going to lock down half the OS, then YES we absolutely need hacks and Custom ROMs.
Jola66 said:
Yep. And sadly, we most likely wont get one. At least not an official one. The only way we could get one with WP7, I think you had to be able to side load apps and be interop unlocked. Not 100 percent sure on the interop part, but it basically wasnt something available to everyone. I hear people say we dont need custom roms and hacks.....sorry, but YES we do. If MS is going to lock down half the OS, then YES we absolutely need hacks and Custom ROMs.
Click to expand...
Click to collapse
i'm confused...
if you can't download files on wp, how would i do this:
navigate to college website, login portal, download
powerpoint
notes,
zips, etc containing course materials ?
students email powerpoint slides and annotate those slides as needed to each other also.
is this not possible to do on the platform, still ?
please, this is a very -direct- process. i would prefer to keep things out of the cloud (ie skydrive, dropbox, whoever) and KEEP it a DIRECT process.
thanks !
ohgood said:
i'm confused...
if you can't download files on wp, how would i do this:
navigate to college website, login portal, download
powerpoint
notes,
zips, etc containing course materials ?
students email powerpoint slides and annotate those slides as needed to each other also.
is this not possible to do on the platform, still ?
please, this is a very -direct- process. i would prefer to keep things out of the cloud (ie skydrive, dropbox, whoever) and KEEP it a DIRECT process.
thanks !
Click to expand...
Click to collapse
I should clarify something.
If it is one of the following, I believe the phone will save it automatically once you open it. Powerpoint, PDF, Dox, exel file, text, audio. You click the link to download and the file will open. It will save automatically or you have the option to save it sometimes. Other than those file types, you cant do much with anything else.
I downloaded a ZIP file, and while I could actually open it, I had no option to save it. And when I mean download, the phone downloads it, but does not save it in a location you have access to. So without a File Explorer or MS updating the download and save file feature, we wont have access to any files except the types I listed.
Use UC brower, it can download all stuff , but you will need to upload it to skydrive to access it outside the browser.
surya467 said:
Use UC brower, it can download all stuff , but you will need to upload it to skydrive to access it outside the browser.
Click to expand...
Click to collapse
this is not a download solution. the whole point of the thread (so far) is if its possible (and how) to download files to the phone, and then access those files.
the point of downloading a file to a device is to use, edit, and store that file -on- the device.
surya467 said:
Use UC brower, it can download all stuff , but you will need to upload it to skydrive to access it outside the browser.
Click to expand...
Click to collapse
I still prefer MS change it by allowing us to have control over saving files to the phone and having access to that folder. When I need to then get those files from my phone to my computer, Skydrive doesnt help when I am working somewhere and there is no WIFI, which happens a lot for me. And no, I will not pay more to have tethering.
You can currently save office documents and also send those via E-Mail, Bluetooth, NFC (well - depends, currently only works with other Windows devices). The one notable exception currently is PDF-files that have been openend directly from the browser (if they were stored on SkyDrive it works).
You can open Zip-Files and contained files but the Zip-Files themselves are not stored.
Aside from the file types reserved for the system (there is a list in MSDN) Apps can register as compatible with those filetypes. E.g. Autodesk could create an AutoCAD-Viewer that registers for the *.DWG Filetype. If you then receive such a file via E-Mail, SkyDrive, Download, etc. and open it the according application will be launched and that application will have to take care of the file (display, storage, etc.)
If you don't have an App on the phone that can handle the filetype you can launch a search on the Store for Apps that support the filetype. Should you have multiple Apps installed that support the filetype you will be provided with a prompt that asks you what you want to do.
As far as I know that is pretty much the same way iOS handles those situations but I might be mistaken there.

Mobile Apktool for decompiling and recompiling apks on the go

Hello All,
Not having the availability of a PC at the moment and wanting to edit apks had me thinking if it was possible to run Apktool straight from my Nexus 6p itself. After some research I found some information showing that it is indeed possible (at least it was), but nothing seems to work at the moment, rather nothing seems to be up to date.
I would like some insight on the matter if anyone has any or if anyone can point me to and updated version for Android Nougat.
Here are two threads from xda showing that it indeed it's possible, but not updated. Any help is appreciated thanks
http://forum.xda-developers.com/galaxy-core/general/how-to-decompile-recompile-apk-using-t2818875/
http://forum.xda-developers.com/showthread.php?t=2488697&page=8
Jackson.Armstrong.Blow said:
Hello All,
Not having the availability of a PC at the moment and wanting to edit apks had me thinking if it was possible to run Apktool straight from my Nexus 6p itself. After some research I found some information showing that it is indeed possible (at least it was), but nothing seems to work at the moment, rather nothing seems to be up to date.
I would like some insight on the matter if anyone has any or if anyone can point me to and updated version for Android Nougat.
Here are two threads from xda showing that it indeed it's possible, but not updated. Any help is appreciated thanks
http://forum.xda-developers.com/galaxy-core/general/how-to-decompile-recompile-apk-using-t2818875/
http://forum.xda-developers.com/showthread.php?t=2488697&page=8
Click to expand...
Click to collapse
The SDmaid app has that feature included, at least the paid version does
GKti22 said:
The SDmaid app has that feature included, at least the paid version does
Click to expand...
Click to collapse
No it doesn't. I use SDmaid regularly. Also have pro. Not sure what you mean. SDmaid is not able to decompile apps. APKtool is for decompiling apps so you can make edits to the code. For example, if you use any Team Blackout apps. They decompile the app and then edit the code and use image editors such as Gimp or Photoshop to black out the colors and then recompile it so that you can install and use it. SDmaid is absolutely not a decompiling tool. Two completely different things. Google APKtool to learn more.
RoyJ said:
No it doesn't. I use SDmaid regularly. Also have pro. Not sure what you mean. SDmaid is not able to decompile apps. APKtool is for decompiling apps so you can make edits to the code. For example, if you use any Team Blackout apps. They decompile the app and then edit the code and use image editors such as Gimp or Photoshop to black out the colors and then recompile it so that you can install and use it. SDmaid is absolutely not a decompiling tool. Two completely different things. Google APKtool to learn more.
Click to expand...
Click to collapse
You're right. I meant to say it can recompile apk files from apps you have already installed, just compiling, which is no big deal you have root anyways since you can grab it directly from system folders.
GKti22 said:
You're right. I meant to say it can recompile apk files from apps you have already installed, just compiling, which is no big deal you have root anyways since you can grab it directly from system folders.
Click to expand...
Click to collapse
Where exactly are you talking about? SDmaid can't do any of that to my knowledge.
Edit: APKtool is used to basically rip an app apart so that you can manually edit the code and images inside of it. The inner files that make the app what it is. It separates the app into a bunch of different folders and files. You edit the files and images you want and then recompile it which basically *puts humpty dumpty back together again*. SDmaid is a system cleaning tool to remove unwanted files and folders left over from uninstalled apps. It does not recompile or decompile apps.
#2: See here; https://ibotpeaches.github.io/Apktool/
APKtool and SDmaid are in 2 completely different ballparks in 2 different states. One ballpark is NFL, the other is NBA. Two completely different things.
RoyJ said:
Where exactly are you talking about? SDmaid can't do any of that to my knowledge.
Edit: APKtool is used to basically rip an app apart so that you can manually edit the code and images inside of it. The inner files that make the app what it is. It separates the app into a bunch of different folders and files. You edit the files and images you want and then recompile it which basically *puts humpty dumpty back together again*. SDmaid is a system cleaning tool to remove unwanted files and folders left over from uninstalled apps. It does not recompile or decompile apps.
#2: See here; https://ibotpeaches.github.io/Apktool/
APKtool and SDmaid are in 2 completely different ballparks in 2 different states. One ballpark is NFL, the other is NBA. Two completely different things.
Click to expand...
Click to collapse
It can do this, nothing fancy as I said, there are ways that can get the OP full fledged APKtools into his phone but not a legal or XDA friendly I know of...
GKti22 said:
It can do this, nothing fancy as I said, there are ways that can get the OP full fledged APKtools into his phone but not a legal or XDA friendly I know of...
Click to expand...
Click to collapse
Your screenshot points to "System" indicating it's a system app. Frozen, an option to freeze the app. And autostart which will list any receivers the app uses to run at boot. I see nothing in your picture about recompiling anything. Then again the quality is badly pixelated. APKtool is a reverse engineering tool. SDmaid is not.
OK. Imagine it like this. You make an omelette (app) with bacon, mushrooms, onions and peppers. You fully cook it (compile it) and then realize that you don't like onions or peppers. So you uncook the omelette so the egg is raw again (decompile it) and you pull out all of the onion and peppers and add diced tomatoes (editing the code). Now you cook it again (recompiling it). Show me exactly where you can do that in SDmaid.
I'm not sure you understand what APKtool is. It is not just a tool to freeze, force close, uninstall, revert to first install or edit receivers. It fully reverse engineers the app so you can edit the code that makes the app what it is.
GKti22 said:
The SDmaid app has that feature included, at least the paid version does
Click to expand...
Click to collapse
I know all about SDmaid and it's not what I'm looking for nor does it do what I'm asking about @RoyJ is absolutely correct
Jackson.Armstrong.Blow said:
I know all about SDmaid and it's not what I'm looking for nor does it do what I'm asking about @RoyJ is absolutely correct
Click to expand...
Click to collapse
Thanks, I felt like I was taking crazy pills lol. I couldn't find anything newer either. If you do end up coming across something here sooner or later, mind tagging me in it? Oh and also, I have APKtool on my laptop. Anything in particular you were looking to do?
RoyJ said:
Thanks, I felt like I was taking crazy pills lol. I couldn't find anything newer either. If you do end up coming across something here sooner or later, mind tagging me in it? Oh and also, I have APKtool on my laptop. Anything in particular you were looking to do?
Click to expand...
Click to collapse
Yes if I find anything newer working for Nougat I will tag you.
As for your offer I have a few different mods for Nougat that I have collected, the problem is if flash one I erase the current one due to the fact the are SystemUi modifications. What I wanna do is combine them all into one super mod I currently have 3 different systemui mods. I have all the codes that need to be modified as well.
I also would like to tweak the pixel launcher a little. Again I have so.e of it done already I just need finishing touches I guess.
If you willing to take on the task let me know and if not then that's cool as well, either way I will have to learn myself someday and as soon as my laptop is up and running I will begin my education
Jackson.Armstrong.Blow said:
Yes if I find anything newer working for Nougat I will tag you.
As for your offer I have a few different mods for Nougat that I have collected, the problem is if flash one I erase the current one due to the fact the are SystemUi modifications. What I wanna do is combine them all into one super mod I currently have 3 different systemui mods. I have all the codes that need to be modified as well.
I also would like to tweak the pixel launcher a little. Again I have so.e of it done already I just need finishing touches I guess.
If you willing to take on the task let me know and if not then that's cool as well, either way I will have to learn myself someday and as soon as my laptop is up and running I will begin my education
Click to expand...
Click to collapse
Sure I'll give it a go in a few hours when I'm back at my laptop. PM me your stock SystemUI.apk and the code you want edited and I'll see what I can do. If it goes well, we'll see about the Pixel launcher. Fair warning, I've only really used it to decompile an app and then recompile and sign. It worked and I could install it, etc., but I haven't messed around with making edits yet. Still willing to give it a shot, there's plenty of threads I could ask in if I run into trouble. It's something I've wanted to do for a while now, so yeah. Learning experience for us both. :good:
RoyJ said:
Sure I'll give it a go in a few hours when I'm back at my laptop. PM me your stock SystemUI.apk and the code you want edited and I'll see what I can do. If it goes well, we'll see about the Pixel launcher. Fair warning, I've only really used it to decompile an app and then recompile and sign. It worked and I could install it, etc., but I haven't messed around with making edits yet. Still willing to give it a shot, there's plenty of threads I could ask in if I run into trouble. It's something I've wanted to do for a while now, so yeah. Learning experience for us both. :good:
Click to expand...
Click to collapse
Okay bet I'll send in right now
Jackson.Armstrong.Blow said:
Okay bet I'll send in right now
Click to expand...
Click to collapse
Never got anything, did you send them?
Edit: Nevermind, I did. XDA labs is pretty bad about giving me notifications...
RoyJ said:
Never got anything, did you send them?
Edit: Nevermind, I did. XDA labs is pretty bad about giving me notifications...
Click to expand...
Click to collapse
if he's on stock Android N, systemui should be odexed so you won't get all the source code from decompiling without deodexing the app first.

Categories

Resources