Making a 2.3 app work on 5.1 - Android Studio

As the title says I am looking to make a 2.3 app work on 5.1, what should I be looking for when doing this?
Regards

Do you have any specific problems? An app made for Android 2.3 should work at 5.1 as well.
Of course you should consider updating app design, because it may not look very well on 5.1. Material Design for Android should be a good place to start.

Set targetSdkVersion in AndroidManifest.xml to the desired value (22 for 5.1).
Build your app with the updated SDK.
If you use some deprecated methods, lint should warn.

In android 5.0 some permission are changed. Eg. writing to an external SD requires use allowed directory, enable and disable mobile data and air mode need system permission (not allowed to normal app) etc.
In layout I found only one problem. Older androids recognize -1dp as match_parrent. (I'm not sure if it was changed exactly in 5.0)

johanos123 said:
As the title says I am looking to make a 2.3 app work on 5.1, what should I be looking for when doing this?
Regards
Click to expand...
Click to collapse
my game is or was made to run on 2.3 i didnt need to do anything to make it run on later versions

klisiecki said:
Do you have any specific problems? An app made for Android 2.3 should work at 5.1 as well.
Of course you should consider updating app design, because it may not look very well on 5.1. Material Design for Android should be a good place to start.
Click to expand...
Click to collapse
stickin said:
Set targetSdkVersion in AndroidManifest.xml to the desired value (22 for 5.1).
Build your app with the updated SDK.
If you use some deprecated methods, lint should warn.
Click to expand...
Click to collapse
Asmok78 said:
In android 5.0 some permission are changed. Eg. writing to an external SD requires use allowed directory, enable and disable mobile data and air mode need system permission (not allowed to normal app) etc.
In layout I found only one problem. Older androids recognize -1dp as match_parrent. (I'm not sure if it was changed exactly in 5.0)
Click to expand...
Click to collapse
nucleisoft said:
my game is or was made to run on 2.3 i didnt need to do anything to make it run on later versions
Click to expand...
Click to collapse
I am trying to make a 2.3 app to work with 5.1, I use android studio but no matter what I do I always get non-exit error 0,1,2, no matter what I do, rebuilding the project, cleaning the project, udated the sdk, changed it, anything and I would not get past. The app is the default samsung music app from 2.3, I understand it needs touchwiz to work but before I can even see how to make it work I can't even go past this non-exit error. I have worked with android studio on another project and did not have this issue. Also, another music app winamp still uses the old 2.3 layout and it is fully functional on 5.1 so I know it can be done.

"finished with non-zero exit value"?
It can mean many things. Maybe you ran out of memory or exceeded 65k methods limit or there is something with libraries.
Isn't there something more specific written?

stickin said:
"finished with non-zero exit value"?
It can mean many things. Maybe you ran out of memory or exceeded 65k methods limit or there is something with libraries.
Isn't there something more specific written?
Click to expand...
Click to collapse
This is the exact error:
Error:Execution failed for task ':approcessDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\IEUser\AppData\Local\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1
I tried updating the sdk, changing the version, cleaning the project, rebuilding it but to no avail. Also memory never exceeds 50% when using android studio.

stickin said:
"finished with non-zero exit value"?
It can mean many things. Maybe you ran out of memory or exceeded 65k methods limit or there is something with libraries.
Isn't there something more specific written?
Click to expand...
Click to collapse
this is my android manifest
http://pastebin.com/sUYQsPCX

|||

up

Related

[STICKY][FIX] Full market (improved market fix) on G Tablet

**NOTE FOR VEGAN TAB USERS** Steps 1-5 are no longer necessary for you, as the build.prop file in your /system directory has a working market fingerprint out of the box. Just apply the standard Market Fix (steps 6-8) and you are good to go.
I've seen several people complaining that the "full market" we had on G Tablet after the established market fixes wasn't quite full. Well, I've solved that problem, through a mixture of reading what others have done with other devices and experimentation. I will not promise that this gives you *everything*, but I do believe it gives you apps that otherwise required the release-keys status. Some of the apps you get may of course not work. But several applications I looked for before (TV.com for example, with streaming CBS video content) were not available with the previous market fix, and are now available with this fix. In fact, TV.com even works, except for a very minor video glitch in the upper left corner of the screen, and it's a cool app to get some quick streaming video content going on your G Tablet.
**NOTE** I take no responsibility for you screwing up your G Tablet. Please backup your system in Clockwork Recovery before doing any of this!
**EDIT** Removed unneccessary steps after feedback in this thread. Process is now very simple. Edited step 1 to clarify you need paid version of Root Explorer.
Here's how to do it:
0) Backup in Clockwork Mod. Please. I don't want you mad at me if this messes up your ROM.
1) Get the paid version of Root Explorer installed on your G Tablet. Apparently the free version lacks a text editor. If you only have the free version, the text editing step will need to be done in a separate program, or you will need to copy build.prop to your desktop, edit it there, and copy it back. Or use adb to push an edited build.prop to your tablet. Just buy Root Explorer though, it makes this very easy.
2) Browse in Root Explorer to /system. Then click on Mount R/W.
3) Long click on build.prop and click on Open In Text Editor.
4) Scroll down to the line ro.build.fingerprint=....
You are going to replace that with the following text:
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys
5) Now you are going to click on Save and Exit. And then remount the /system directory as R/O.
6) Now you are going to re-do the original Market Fix. I used the simple version illustrated here: http://www.youtube.com/watch?v=7l-nySibzeA&feature=related First, make sure Market is running, and browse around in it for a few seconds. If you don't do this, there may be no cache to clear and for some reason the market fix may not work. Then, go to Settings->Applications->Manage Applications->Running and scroll down to Market. Then hit Clear Cache, followed by Force Stop **DO NOT CLEAR DATA FOR MARKET, JUST CACHE**. Then go back, scroll down to Google Services Framework, hit Clear Data, then Force Stop.
7) Now try starting Market again and you get the famous Market Error. Now shut down the G Tablet, then turned it back on. Wait for Wifi to connect to your network before doing anything! I forgot to do that on the first try, so I rebooted again, waited for wifi to connect this time.
8) Now restart Market again. It seems to have sourced the fingerprint from build.prop somewhere in steps 6-7. Searches for previously missing apps now show up. Voila! A truly full market!
And steps 6 and 7 can almost certainly be replaced by the equivalent steps using Titanium Backup that I know a lot of people have been using, particularly with TNT Lite. I am running ZPad 2.2 here, so YMMV with TNT Lite. Please keep me informed if this works/doesn't work for you if you try it!
Credit goes to: Paul at Modaco for hacking on the Advent Vega and making the Market work fully on that device and for coming up with a working build.prop for the Advent Vega, Roebeet for inspiring me to look at the Vega ROM stuff with his current work on the VEGAn ROM, Rothnic for his excellent work on the ZPad ROM that I'm currently using. Basically, I'm just hacking and slashing here, this wasn't any sort of rocket science.
Paul from Modaco is awesome -- and you are as well, for making this post!
Any apps in particular that you found after this, that were missing before? I might want to try this on my device. Thanks again!
FWIW my Nexus One running a CM 6.0 nightly from 2 days ago has
ro.build.fingerprint=google/passion/passion/mahimahi:2.2.1/FRG83/60505:user/release-keys
Note the more up-level version (2.2.1) and build (FRG83). I haven't tried this on my GTab yet but I will as soon as I can get it up and running.
roebeet said:
Paul from Modaco is awesome -- and you are as well, for making this post!
Any apps in particular that you found after this, that were missing before? I might want to try this on my device. Thanks again!
Click to expand...
Click to collapse
The only specific things I can tell you off the top of my head are TV.com which I know wasn't there because I searched for it a few hours ago. Also, I tried searching Market for Handcent before and found 14 or 15 results, and after this process I was able to retrieve 24 results.
There were a bunch of random apps I saw in the Top Apps list that I don't remember seeing earlier today. So that was enough to convince me that most of the missing 10-20% of apps are there now.
And thanks for the compliment, especially coming from the guy who made the G Tablet useful!
short/y said:
FWIW my Nexus One running a CM 6.0 nightly from 2 days ago has
ro.build.fingerprint=google/passion/passion/mahimahi:2.2.1/FRG83/60505:user/release-keys
Note the more up-level version (2.2.1) and build (FRG83). I haven't tried this on my GTab yet but I will as soon as I can get it up and running.
Click to expand...
Click to collapse
I'm sure that will work too, though the FRF91 build string seems to match the existing data in the ZPad ROM at least. I'm guessing the two signatures will produce essentially identical Market results.
rcgabriel said:
I'm sure that will work too, though the FRF91 build string seems to match the existing data in the ZPad ROM at least. I'm guessing the two signatures will produce essentially identical Market results.
Click to expand...
Click to collapse
Yeah. I may be somewhat overoptimistic going with FRG83. The build and version numbers identify the version of the system code so apps may read them and make some assumptions as to certain API characteristics. We're probably closer to FRF91 than FRG83 on TnT Lite.
This one worked ok for me
ro.build.fingerprint=samsung/SGH-T849/SGH-T849/SGH-T849:2.2/FROYO/UVJJB:user/release-keys
ewitte said:
This one worked ok for me
ro.build.fingerprint=samsung/SGH-T849/SGH-T849/SGH-T849:2.2/FROYO/UVJJB:user/release-keys
Click to expand...
Click to collapse
Is that from the Samsung Tablet? That may be closer to what we're really running.
short/y said:
Is that from the Samsung Tablet? That may be closer to what we're really running.
Click to expand...
Click to collapse
Yes this is Galaxy Tab. Probably better a Tegra tab once a full market one comes out.
I did the following:
1) Edited build.prop as described in step 4, rebooted and searched for tv.com - no results
2) I preformed the edits in step 4a, rebooted and searched for tv.com - no results
3) I stopped Market & Google Services Framework & wiped Google Services Framework, rebooted after getting Market Error, waited for wifi and opened Market to search for tv.com - no results.
I can't say if it works. I haven't had trouble finding apps, but I can't find tv.com before or after the steps above. Perhaps, I missed something.
Wait!!!! It does work. I tried again after posting and it's there! Thanks!
Is it possible to post the TV.com app? I don't want to do the mod but would love that app!
Great post man worked like a charm, I can get my slingbox app from the market now.
Edit: dammit I can't get the downloaded sling client to launch even after trying it many times which usually worked.
I'm going to give it a shot but being a newbie I'm not clear on this step:
5) Now you are going to click on Save and Exit. And then remount the /system directory as R/O
Will "remount as r/o" be an option to select at this point? If not, can you provide more detail.
The rest of the mod is easy enough to follow.
Thanks.
jdnyc said:
I'm going to give it a shot but being a newbie I'm not clear on this step:
5) Now you are going to click on Save and Exit. And then remount the /system directory as R/O
Will "remount as r/o" be an option to select at this point? If not, can you provide more detail.
The rest of the mod is easy enough to follow.
Thanks.
Click to expand...
Click to collapse
No worries its just a button on root explorer, download it and you will see it fairly quick.
NM..........
Fixed
Thanks works great
Can't get this to work. When I toto building.prop there s no option to open it in text editor. Only toopen as text. But then there is no way to edge the sentence.
ewitte said:
This one worked ok for me
ro.build.fingerprint=samsung/SGH-T849/SGH-T849/SGH-T849:2.2/FROYO/UVJJB:user/release-keys
Click to expand...
Click to collapse
Replaced this line only, did the Market fix via Settings and it worked like a charm. And Swype continues to work as well.
-=Sent from my ViewSonic G Tablet using Tapatalk=-
Worked perfectly thanks! Steps 4a and 6 are not necessary as you precicted

[webtop] webtop2sd discussion (currently version 2.0.1)

Note: Please keep this thread restricted to Atrix-specific and general issues. Threads for other devices are referenced at the top of the main webtop2sd thread.
Discuss webtop2sd here (the other thread will be kept clean for announcements, FAQs, etc.).
Before you report an issue:
Make sure it's not on the Known Issues list first!.
Basic debugging, since these are going to be questions I ask anyways:
If you hit problems with the Android webtop2sd application, you'll need to tell me the error, and give me the last few lines of adb logcat. Run this adb command, which will filter out most of the unimportant lines:
adb logcat ActivityManager:i AndroidRuntime:i webtop2sd:i *:s
Are you actually booting from your SD card? You can find this out by checking the Diagnostics tab in webtop2sd, under "Currently mounted webtops". If mmcblk1p12 isn't listed, you're not booted from your SD card. If this is the case, report what ROM you're running from.
Is the webtop configurator application showing, but not running successfully? If so, plug your device into your dock and run a terminal (either locally or adbWireless + adb shell) and run the following:
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
I'll need whatever output shows up.
great! thanks for making it so much easier.
haven't actually tested it b/c i sort of figured out how to do that a few days back, but still need to manually install it.
maybe i'll test your app next time i decide to reinstall my ubuntu.
btw, which script are you using to mount /osh? for me only /data/logging.sh works (it's safer anyway).
I suspect that what I'm doing isn't rocket science by any means. But, what I do seem to be pretty good at is packaging semi-complex things up for people into a manageable form with a fairly solid level of reliability. You couldn't imagine the things I'm happy that I managed to accomplish with this app, because they're so... quirky.
Anyways, I've been using /system/bin/mountosh since the beginning. I need to tweak the copy I'm using right now, since my goals have expanded beyond what I initially wrote it for. On the other hand, it'll mean that I can separate out my "personal" Ubuntu versus my "debugging" one, and that should be quite helpful.
These advances with linux customization in webtop have turned me on to Ubuntu in general. I just dumped windows xp on my desktop server and now run ubuntu super OS and studio. This takes a phone to a new level. Thanks OP!
i would love to try this out but i'm on a mac.. can you partition through disk utility?
I would complain that you beat me to it, my initial post here, except it looks like what you created is way more advanced and polished than anything I could do.
I will check it out right now. Oops, i see it is only a shell at the moment. Well I am very eager to try it.
A few questions then:
1. I assume this is similar to your last mod, in that you have just moved the Motorola environment onto the SD card, no chroot or other tricks?
2. Is the dependency problem better? Are we able to replace the motorola packages?
3. Are we still stuck with jaunty or is there a possibility to upgrade to a supported version of ubuntu?
I know this might seem like a useless question (installing regardless), but your previous work was based off the 1.5.7 firmware, would this app be supported/functional on the current 1.8.3 firmware?
Oh, and...
Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! XD
-djazin
Yes I believe the most important questions here are:
1 - which version will it work for? .83? .57? or just up to .52?
2 - If the Ubuntu version could be upgraded to, say, 11? Probably not, but hey...
Regardless, your work is the only reason why I'm buying myself a lapdock and replacing my netbook, so thank you very much for this hobby of yours =)
Looks great, thanks for the hard work
Sweet!! I just bought a 32 GB card the other day. Happy Fathers day to me.
Looks like no sleep week.
n1ckr0th said:
i would love to try this out but i'm on a mac.. can you partition through disk utility?
Click to expand...
Click to collapse
Possibly; I'm not sure. At least one person I talked to said that it should be possible via command line utilities, but I'm not the best person to ask about this particular issue, not having convenient access to Mac OS X...
krkeegan said:
I would complain that you beat me to it, my initial post here, except it looks like what you created is way more advanced and polished than anything I could do.
I will check it out right now. Oops, i see it is only a shell at the moment. Well I am very eager to try it.
A few questions then:
1. I assume this is similar to your last mod, in that you have just moved the Motorola environment onto the SD card, no chroot or other tricks?
2. Is the dependency problem better? Are we able to replace the motorola packages?
3. Are we still stuck with jaunty or is there a possibility to upgrade to a supported version of ubuntu?
Click to expand...
Click to collapse
Heh. I've actually been planning this for over a month, after some pointers from eval- - I had a rough version running, but I wanted to make something that users would be able to take advantage of easily. Oddly, it's the UI that's been the difficult part - actually having it do stuff is (relatively speaking) the easy part.
1. Yes, this is moving the Motorola environment to the SD card. Nothing special otherwise.
2. Not really - nothing's changed on that front. I'll be tweaking some of the package states on the filesystem to make upgrades less liable to completely blow up, but if we want to keep some of the niceties that Motorola added, I'll need to port those changes forward (which I have no particular problem with doing).
3. We're stuck with Jaunty for now. Unfortunately, it looks like information I had previously in regards to a version upgrade for Ubuntu don't apply to our phone, so I'll likely start working on an upgrade to 10.04 LTS after this stabilizes.
Djazin said:
I know this might seem like a useless question (installing regardless), but your previous work was based off the 1.5.7 firmware, would this app be supported/functional on the current 1.8.3 firmware?
Click to expand...
Click to collapse
Viamonte said:
Yes I believe the most important questions here are:
1 - which version will it work for? .83? .57? or just up to .52?
2 - If the Ubuntu version could be upgraded to, say, 11? Probably not, but hey...
Click to expand...
Click to collapse
This is the fun part. Since this is an Android application and not a script, this part should work with any version. I'm currently running 4.1.57 on my phone (I never did get around to upgrading), but once I verify it works there properly, I'll be upgrading to 4.1.83 and testing there as well. There are no issues that I'm aware of that would prevent this first application from running, and the second application (the Python/Gtk one I have planned) should be able to handle any differences between the various ROMs out there.
And the Ubuntu version upgrade question, I answered just above this.
everything is greyed out when i try to use the app..
Epic Sogarth
The ui looks nice though can't wait to test it on 1.8.3 been on 1.5.7 with v2 awhile now updated to 1.8.3 installed the app played with the setting everything looks sweet cant wait for the go ahead XD wouldnt mind testing anything.
-Djazin
dicksteele said:
Sweet!! I just bought a 32 GB card the other day. Happy Fathers day to me.
Looks like no sleep week.
Click to expand...
Click to collapse
32g class 10 has proven to fail on the atrix
it corrupts. Lets hope you didn't spend the extra money for the class 10
n1ckr0th said:
everything is greyed out when i try to use the app..
Click to expand...
Click to collapse
Greyed out? I know that the "Go!" and "Uninstall" buttons tell you that it's not implemented yet, but nothing should be grayed out?
PAulyhoffman said:
32g class 10 has proven to fail on the atrix
it corrupts. Lets hope you didn't spend the extra money for the class 10
Click to expand...
Click to collapse
That's good to know. Luckily they were out of 10's, and I got a four. Already formatted 16 GB fat32 the rest ext3.
Sogarth said:
Greyed out? I know that the "Go!" and "Uninstall" buttons tell you that it's not implemented yet, but nothing should be grayed out?
Click to expand...
Click to collapse
Now that I really look at it mine is also. So I'm guessing that's due to 1.83, or GladiAtrix. That's what I'm using.
I'll post a screenshot if you need.
I could go to stock 1.57 upgrade to 1.83 but not until tomorrow night
Thanks for the answers, Sogarth. And congratulations on your gift man, because your sum of intelligence and dedication sure is one. I'll be installing this on my Atrix as soon as it has been stabilized (and, well, actually made useful xD)
I am on Gingerblur 4.5 only things greyed out are Partitioning section, both 'Device to partition' and 'Webtop partition size' items if "Partition ext. storage" is not selected. Also under "Locations" 'Delete filesystem file' is grey if 'Source webtop' is set to 'internal storage'.
All of these being grey makes sense if you read what they are doing......
_Dennis_ said:
I am on Gingerblur 4.5 only things greyed out are Partitioning section, both 'Device to partition' and 'Webtop partition size' items if "Partition ext. storage" is not selected. Also under "Locations" 'Delete filesystem file' is grey if 'Source webtop' is set to 'internal storage'.
All of these being grey makes sense if you read what they are doing......
Click to expand...
Click to collapse
Unchecking the Partition ext. storage option "ungreyed" the Locations options and Advanced options. Didn't think about doing that since that was one of the goals of this app.
Since I manually partitioned already I should have thought of that.

INTERNAL xap installer

Could someone to develop INTERNAL xap installer program [ homebrew] that
will be able to install xap inside phone ?
Thanks.
the os already has its own framework for that so no point, the installation of non signed apps is discussed loads on the forum. An app is avail called chevron to achieve it, unless you have updated your phone it should still work
I have investigated this. No luck so far. But I have a couple of leads that may let me make it. But it needs more research. I will have a look at it soon. But I can't give an ETA. So far I know there are no others that have succeeded so far.
Ciao,
Heathcliff74
This will be key for cydia/installius kind apps for WP7
anarchyuk said:
the os already has its own framework for that so no point, the installation of non signed apps is discussed loads on the forum. An app is avail called chevron to achieve it, unless you have updated your phone it should still work
Click to expand...
Click to collapse
is it possible ? I like to install apps inside the phone as in WINMO.
I can have XAP on skydrive a if i click it on browser it will automatically download and install, this will be awsome.
marek1 said:
is it possible ? I like to install apps inside the phone as in WINMO.
I can have XAP on skydrive a if i click it on browser it will automatically download and install, this will be awsome.
Click to expand...
Click to collapse
Nope. Not possible. Read my previous answer. Anarchyuk did not understand your question correctly.
Sent from my OMNIA7 using XDA Windows Phone 7 App
Heathcliff74 said:
Nope. Not possible. Read my previous answer. Anarchyuk did not understand your question correctly.
Sent from my OMNIA7 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Why is not possible, reason ? Will Mango make it possible ?
marek1 said:
Why is not possible, reason ? Will Mango make it possible ?
Click to expand...
Click to collapse
No. Microsoft doesn't want you to sideload apps. They want you to use the Marketplace. If you would be able to use an internal xap installer, you would be using it for sideloading.
It is not possible to use the API's for installing XAP's because you need TCB access for that. Normal apps have only LPC access, so normally you can't create an app for that. Needs hacking.
Ciao,
Heathcliff74
Would this type of access be possible with the 'DLLImport Project'?
So today i installed a random app from marketplace to see what was going on i the process-list. Here i saw "PacmanInstaller.exe" (after "Downloading..." > "Installing..."); later i tried to remote execute that one without any important args, and it said "This application can not run in Win32 mode.", eh? Didn't that exe just ran in the process list. Seems weird not to be able to launch that one. (it did not say the exe did not exist).
Tested another thing to, what happens when i deploy an app from Visual Studio??
>PacmanInstaller.exe shows up there too.?!?!?
THEN WTF, WHERE IS THE DRM?
Found this in "PacmanInstaller.c":
if ( v19 != v2 )
*(_DWORD *)(v17 + 4 * v18 - 4) = L"ID_CAP_DEBUG";
XAP > Phone side:
- IO Explorer, all files have the exact same byte size, no magic changes added "ID_CAP_DEBUG""
- No "WMAppPRHeader.xml" added (generated/downloaded)
__
This means its just copying it to phone (XAP).
Runs pacman to register app > \Applications\Install\GUID\Install
"PacmanInstaller.exe GUID" ??
>Cant execute remote PacmanInstaller? From within?
Just having fun, thanks
SimzzDev said:
Would this type of access be possible with the 'DLLImport Project'?
Click to expand...
Click to collapse
Nope. DllImport project is about accessing native API's. Not really about elevating privileges (so far). The package manager API's are native API's, but they require elevated privileges too. For having higher privileges you need to hack the system...
fiinix said:
So today i installed a random app from marketplace to see what was going on i the process-list. Here i saw "PacmanInstaller.exe" (after "Downloading..." > "Installing..."); later i tried to remote execute that one without any important args, and it said "This application can not run in Win32 mode.", eh? Didn't that exe just ran in the process list. Seems weird not to be able to launch that one. (it did not say the exe did not exist).
Click to expand...
Click to collapse
"This application can not run in Win32 mode" is error 0xbf:
Error 0xbf: error_invalid_exe_signature
Description: Cannot run <application> in Windows NT mode
Or: Cannot run <application> in Win32 mode
This means that your executable is not properly signed / elevated to launch into the required account.
fiinix said:
This means its just copying it to phone (XAP).
Runs pacman to register app > \Applications\Install\GUID\Install
"PacmanInstaller.exe GUID" ??
>Cant execute remote PacmanInstaller? From within?
Just having fun, thanks
Click to expand...
Click to collapse
C'mon fiinix! You of all people should know!!
Code:
<!-- Rule loaded from: \IMGFS\969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml(405,6) -->
<Rule PriorityCategoryId="PRIORITY_STANDARD" ResourceIri="/LOADERVERIFIER/ACCOUNT/(+)/ACCOUNT_CAN_LAUNCH/NONE/NONE/PRIMARY/WINDOWS/PACMANINSTALLER.EXE" SpeakerAccountId="S-1-5-112-0-0-1" Description="Only TCB can launch into this chamber">
<!-- Authorize loaded from: \IMGFS\969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml(406,10) -->
<Authorize>
<!-- Match loaded from: \IMGFS\969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml(407,14) -->
<Match AccountId="S-1-5-112-0-0-1" AuthorizationIds="LV_ACCESS_EXECUTE" />
</Authorize>
<!-- Stop loaded from: \IMGFS\969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml(409,10) -->
<Stop>
<!-- Match loaded from: \IMGFS\969eb155-55ff-4884-9ecb-241c8a4b6e09.policy.xml(410,14) -->
<Match AccountId="S-1-5-112-0-0XFF" />
</Stop>
</Rule>
That's why you can't run it! So, not the right account to launch. Not even when you use the Samsung exploit. Because that uses "Elevated". Not "TCB".
The proper way to call PacmanInstaller.exe is:
Code:
pacmaninstaller.exe <int> <guid>
I'm not really sure, but the <int> is the type of operation. Possible values are between 1 and 7 if I recall correctly. The guid is the applicationid. So far I know, the PacmanInstaller looks in \Application Data\Phone Tools\10.0\Install. That is where the xap's are initially uploaded to the phone and extracted by the packagemanger.
Ciao,
Heathcliff74
PS. New version of WP7 Root Tools coming up....
"Not even when you use the Samsung exploit. Because that uses "Elevated". Not "TCB"."
> What about "\Windows\Startup\"
That one launch what ever lnk (exe pointer) listed under startup directory. Would be an opportunity to restart after installed all "cydia" apps on the phone.
Another small but interesting find:
>Checking the mail launches another "servicesd.exe".
All those exe's of multiple sessions like "udevice.exe" and "servicesd.exe" go with an arg, right? then what is put in? Maybe an dll as arg?
>Then again, the custom dll (VS2008 made) will not run due it does not have "LV_ACCESS_EXECUTE", so that locks TCB out for dll arg inject.
udevice.exe (Driver host, runs under "SYSTEM" level)
servicesd.exe (Ordinary exe for dll host)
So making custom drivers wont work... (probably),
to be middle hand for executing under SYSTEM.
edit:
haha post "404" (current post count)
>HTTP Not Found.
Heathcliff74 said:
No. Microsoft doesn't want you to sideload apps. They want you to use the Marketplace. If you would be able to use an internal xap installer, you would be using it for sideloading.
It is not possible to use the API's for installing XAP's because you need TCB access for that. Normal apps have only LPC access, so normally you can't create an app for that. Needs hacking.
Ciao,
Heathcliff74
Click to expand...
Click to collapse
OK,I know that MS don't want to allow but I want to to know if is possible to hack it and do the internal XAP installer ? That's why I am asking.
I think that everybody who have unlocked phone will appreciate it !!
As everyone already said.. CANNOT be done. There's no, "I want to know if someone can hack this". The people working to bring full file/registry access and a better experience to all phones are too busy to worry about trying to make an internal xap installer. Just hook the damn thing up to a computer and use the applications to push a xap to your phone and be happy. I'm no admin or anything, but please don't pester over something like this.

[Q] Can you add a device id?

I searched the forums and the Nook forums specifically but could not find an answer (not that I would know if I saw one).
I am a pharmacy student and I was trying to install the Lexi-Comp app free trial. The app says that my device ID could not be found. I called their support line and they said only cell-enabled devices for Android were supported at installation because only they have a device ID.
Is there a way to add a device ID to the Nook so I can run this app?
I am running CM 7-080420011-NIGHTLY-encore.
I hope this is something simple. I am stupid about computers and I bought this thing expressly to use Lexi-Comp on rotations (there is no mention of cell-only Android devices anywhere on their website).
Eldric IV said:
I searched the forums and the Nook forums specifically but could not find an answer (not that I would know if I saw one).
I am a pharmacy student and I was trying to install the Lexi-Comp app free trial. The app says that my device ID could not be found. I called their support line and they said only cell-enabled devices for Android were supported at installation because only they have a device ID.
Is there a way to add a device ID to the Nook so I can run this app?
I am running CM 7-080420011-NIGHTLY-encore.
I hope this is something simple. I am stupid about computers and I bought this thing expressly to use Lexi-Comp on rotations (there is no mention of cell-only Android devices anywhere on their website).
Click to expand...
Click to collapse
Find the IMEI Generator and ROM patcher thread.... but I'd wait an hour or so... should be an update by then.
No worries about waiting an hour. I think it will take me all weekend to figure out what to do with that.
Eldric IV said:
No worries about waiting an hour. I think it will take me all weekend to figure out what to do with that.
Click to expand...
Click to collapse
Actually, its quite simple... just run the app... it will generate an IMEI for your nook.
You can use In Place (updating ROM already installed) or update a dev's ROM before flashing it (useful for nightlies)
DizzyDen said:
Actually, its quite simple... just run the app... it will generate an IMEI for your nook.
You can use In Place (updating ROM already installed) or update a dev's ROM before flashing it (useful for nightlies)
Click to expand...
Click to collapse
So, if I am understanding this, I:
1. Download the zip
2. Run the zip
3. Done?
I ran the zip (on my Nook) and it rebooted my Nook but nothing seems to have changed.
I see lots of mention to "adb" but I do not have that. Is it necessary?
Edit: So I managed to get adb(Wifi) established (greatly expedited thanks to the adbWireless app, as I was completely unable to install the Google USB drivers) and then ran the .exe in the zip on my PC instead of my Nook (I told you I was stupid about computers). Lexi-Comp is currently installing its databases on my Nook. The well-being of my patients has profited from your labors. I thank you kindly.

Need Help fixing many errors in Android Studio

Hi
So I want to learn how to make Android apps in Android Atudio with Udacity's Android Fundamentals course. I have no knowledge or experience in app-development and very very veeeeerry basic programming knowledge. The problem is though that there are many error messages everywhere and I already searched on the internet a few times but have newer gotten a working answer to the problems I'm having. So I thought i could ask the people at the xda-forum for help
I am going to post the problems one after another (posting the next problem after the one before is fixed), because maybe with one answer multiple problems get fixed.
Also I completely reinstalled Android Studio just to be sure I didn't create any more problems myself.
The first problem is that there is an error message saying:
failed to find Build Tools revision and then the Version specified in the build.gradle
I know that I need to change the SDK versions in the build.gradle file but I cant find where you can look up the Build Tools Version currently installed. By the way I want to compile for android Marshmallow hoping that it also works for Android Lollipop if that helps in any way
I am thanking in advance to everyone trying to help me
Hey!
I'm also a new learner to android app development
Just wanted to know if the udacity tutorial videos are helpful?
Do they explain well?
ChahatGupta said:
Hey!
I'm also a new learner to android app development
Just wanted to know if the udacity tutorial videos are helpful?
Do they explain well?
Click to expand...
Click to collapse
I did't really come that Far in the Tutorial (because of obvios reasons) but I Can say they are really good. Easy to understand and straight forward.
DasMaennel said:
I did't really come that Far in the Tutorial (because of obvios reasons) but I Can say they are really good. Easy to understand and straight forward.
Click to expand...
Click to collapse
Thanks
I followed a lot tutorials but none of them worked out
Will try this one
Did you check on the Sdk manager whether you have the needed build tools installed?
I don't comprehend what the correct name is for s highlight this way, yet I will simply depict it.
I am utilizing android studio and I included some java classes from an alternate venture. Presently it says
"missing bundle articulation: whatever". Be that as it may, there is not alternative in the mistake popup to simply naturally include the missing bundle articulation. I know it appears to be lethargic to not sort it, but rather I get a kick out of the chance to do things rapidly.
At the point when there is a mistake this way, is there a route for android studio to naturally included the required lines of code like obscuration would?
For Windows/Linux, you can go to File -> Settings -> Editor -> General -> Auto Import -> Java and make the following changes:
change "Insert imports on paste" dropdown value to "All"
check "Add unambiguous imports on the fly" option
On a Mac, do the same thing in Android Studio -> Preferences
That way, as you type, or when you copy and paste, many imports will be added automatically. Those that aren't are ambiguous; put the cursor on the class, press alt+enter and select which version of the class you meant.

Categories

Resources