I started using ADT to develop new Android applications recently. After a number if tests,I found the emulator to be painfully slow for me. So I decided to use my Razr i to debug it directly. The device is recognized and shows up int the debug list. But when I try to run it, it cannot install the .apk file for my application and says "INVALID APK FILE". I've tried this with various other applications too and it still doesn't work (so I think I can eliminate the possibility of something being wrong with my app itself). Also, I am using Anerik's JellyAOSP ROM. Anybody for a fix?
Thanks.
Hi, did you use the x86 Android libs? because Ri is x86 hardware... (just my silly idea)
Or didn´t export signed APK? U can make ur own key by File->AndroidTools->Export Signed APK...
Did you allowed "install unsigned Apps" in your Ri Settings?
Maybe some "Manifest" Settings / Permissions? Install Directory: Auto?
I don´t use my Ri to develop, so i never face this problem.
Also be sure to not use 64bit Java or 64bit ADT !!!
I can also test your APK on my Stock RI if u want...
greetz
Related
Anybody has experience installing JBED Java re: these instructions on the Nexus One?
http://forum.xda-developers.com/showthread.php?t=563964
I got as far as installing everything but the Java runtime FC everytime on load.
Works fine on my Magic.
Hi olgs
I searched and tryed a lot till getting this to run.
Finally I extracted the needed files from the MoDaCo Custom Rom for Nexus One "r14 with default MoDaCo additions" and installed them with the same instructions and it works on my Nexus One with cyanogenmod
To download just search the Forum for: 27/Apr r14 - MoDaCo Custom ROM for Nexus One *Chinese Input*
The needed Files are:
system/app/Jbed.apk
system/lib/libjbedvm.so
For all others which wanted to install Jbed on an Android 2.1 devices such as the Nexus One, i think it should work as it did for me
I also uploaded the needed files but since i'm new to the forum i can't post URL's maybe i can send them via PM or else email just ask
Greez and sorry for my bad english
Jbed
i attach libjbedvm.so and Jbed.apk try it
Can we use bank's java applets
ankit360 said:
i attach libjbedvm.so and Jbed.apk try it
Click to expand...
Click to collapse
Hi Ankit,
After installing Jbed, Will i be able to use the mobile banking softwares provided by ICICI bank and Citibank which are generally meant for windows mobiles or more generally for Java phone.
Thanks..
Veeren
try it out, sbbmobile, the swiss train program in java works well
iMobile of ICICI BANK for Samsung Galaxy S - I9000
ankit360 said:
i attach libjbedvm.so and Jbed.apk try it
Click to expand...
Click to collapse
Please advice on how to install iMobile app on my Samsung Galaxy S. As I am not profecient in computers I would require detailed instructions. Hope am not too much trouble. Thanks. Suren,Coimbatore. 9443329211
Can anyone tell me how to install this on my Desire HD??
I copied the two files to the root of the sdcard, installed the apk, but when I open the jded app, always facion force close process...
What is the .so file for?
First of all you need a rooted phone!
After that you need to put the files where i mentioned:
system/app/Jbed.apk
system/lib/libjbedvm.so
You can do this with some kind of root-explorer or with the android-tools on your PC via USB (command "adb push file target" or similar - google for it)
This "jbed" work on every 2.1 android phones? (SE X10i)
And after that can I install .jar/.jad files?
I had several jar games and apps from my previous symbian phone. Can I use them in SE x10 mini with jbed?
Thanks.
Hey my lib folder thats under system has only 1.35 mb free and the .so files is more, so any way i can solve this issue... any suggestions
any solution in froyo with this whole jbed stuff ?!
Its working with sbbmobile on a hero with cm6 here.
With my N1 and froyo roms its crashing all the time.
Fortunately sbb finally decided to develop an android app till march 2011.
hi guys, I'm new to Android
my phone - Samsung Galaxy 5 GT-I5503 Android 2.1
my phone is rooted
but I cannot copy those two files using File expert or AndroZip - getting errors like permission error, copying error etc... I need some help, what to do? ...
P.S - I separately installed Jbed 1.20 android 2.1 java emulator successfully but crashing after run
problem solved with root explorer....
but, screen crashes on vertical orientation...
okay with horizontal orientation though maximum apps getting FC ... any fix???
@jnightz
i think it will work on se x10 2.2 roms
i want to install app on my Samsung. how to install please.
Bump
Does Jbed HAVE to be a system app? I'm not sure that I trust all of my .jar apps.
root explorer
Cyberster said:
hi guys, I'm new to Android
my phone - Samsung Galaxy 5 GT-I5503 Android 2.1
my phone is rooted
but I cannot copy those two files using File expert or AndroZip - getting errors like permission error, copying error etc... I need some help, what to do? ...
P.S - I separately installed Jbed 1.20 android 2.1 java emulator successfully but crashing after run
Click to expand...
Click to collapse
use root explorer open system in r/o (butten upperleft corner)
So far this is what I plan to do:
- Backup all Win7 Files to Linux Mint Parition
- Reboot and Re-Install Win7 on its partition
- Boot into Win7 and setup an user account
- Reboot into Linux Mint
- Move backed up files to Win7
- Reboot into Win7
- Go into Computer Management and Wipe Linux Mint Partition
- Resize the partitions
- Reboot into Ubuntu 10.04 DVD
- Install Ubuntu on free space
- Boot into Ubuntu for first time
- Set grub2 for windows 7 default OS
- Boot into Win7 and begin setup for android development:
Windows 7:
- Install android sdk by placing the extracted folder on the root of my C: drive
- then i'm going to launch the sdk.exe and install all the available packages (may take 30 minutes or so on my 6mb wifi connection)
- then after that i'm going to install java jdk 1.6
- then i'm going to create a new user variable in the enviroment variables that will have the path to C:\androidsdk\platform-tools;C:\Program Files\java\jdk1.6xx\bin and name it android
- then after that i'm going to install eclipse and set it up by changing the path to the location of androidsdk on my c drive
- i'm also going to download ppcgeeks apk signer.exe and install that for easy signatures
- then i'm going to download some other tools (HxD, notepad++, apk manager v4.8, etc.)
- once i upzip them to a directory probably C:\users\kifno\heroc\tools or install the .exe file i'm going to launch apk manager
- after that i'm going to try and decompile/compile apk files (which i should be able to after a fresh wipe)
so the whole point of this is to be able to decompile/compile apk files without errors
Ubuntu:
- download java jdk and install it through terminal
- then i'm going to download apk tool
- after wards i'm going to try and decompile apk files and recompile them
So my main question is, is anything i'm doing in the set up process going to prevent me from being able to use apktool via apktool itself or apk manager, for decompiling/compiling apk files? I want to make sure I'm not doing something wrong before I get back into setting my system up for developing and scripting and theming again (for themes all it takes is smali, photoshop, and androidsdk for me ...okay maybe a few other programs too along with my imagination )
Hopefully my setup for being able to use apktool isn't screwing anything up
Also I'll be using windows 7 64x ultimate and 32 bit java/eclipse ide for java developers/and all other things related to android development so that i won't run into any problmes hopefully
i just wanted to get your opinion on if my setup process (even though i barely wrote it all as to what i do) was correct
also if you have any suggestions on other android development tools i should use please do tell. you never know that may just help me do something great because of that small suggestion (for example i switched from notepadd to notepad++ because of someone and i haven't stopped using it since...this was back in my noob days XD)
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
kyouko said:
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
Click to expand...
Click to collapse
I have those I just didn't list them but thanks for the re assurance And yeah I do dev on linux just I use windows 7 for themeing and linux for developing apps (which i'm learning how to do ) and for developing my roms. I'm on linux right now (YAY FOR UBUNTU )
Ahh gotcha
I agree theming on windows is the way to go.
If only I could get cs4 photoshop to work on Arch, or any linux for that matter
last time I tried it didn't work out too well haha
Sent from my Android using Tapatalk
same which is the only reason i theme on windows
wow..so deep man...
Hate to be a pain, I have been trying to get Google apps and market installed on Nook. Drivers are not found and the drivers are not in SDK usb folder. Can not figure out the problem. I installed Java below and I think I installed the correct Java it is the developers Java 6 update 25-When I install the Google drivers and close out of SDK-there is an error box states that Java 64 not found and it says something about "path" amd user variables add.... It asks to add this":C:C\Program Files\Java\jdk1.6.0_25\bin\java.exe to path" I added it to the same place that you asked to add ";c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools". I did that added to the end of the "android"path and before it and that error still comes up! I can not get past the error. Could that be the problem why there are no drivers found and that there are no drivers in the folder??? Is there a work around this? PLEASE could someone assist or direct me to a solution? Much appreciated, thanks!
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.
Howdy folks,
Usually fairly computer-literate. Thought I'd do the "native" thing and develop for android using Linux. Windows 7-10 daily driver but i thought why not do the nerdy thing and use linux. that's the guts of android after all.
Anyhoo. If anyone's downloaded the linux version of android studio you'd notice it puts you right away into the android sdk manager to complete the installation and you have to choose to install platform-tools and the api. ok. done.
How now do I start this program?? There is not a corresponding .android bash script to run for the sdk itself, it's just the manager!! How do you start the IDE??
Please, many sorries that i am retarded. ... but it's baffling how there's no instructions from google... they just point you to the sdk manager and explain nothing else. They didn't even sign their ssl certs so you can't use sdk manager unless you dive into its settings to force http. wtf?? is google dropping the ball on this? how do you deploy something so terribly? and what's with the unsigned certs? did the intern fall asleep at his job??
bananapeal said:
How now do I start this program?? There is not a corresponding .android bash script to run for the sdk itself, it's just the manager!! How do you start the IDE??
Click to expand...
Click to collapse
So, I guess you have downloaded the studio from
Code:
developer.android.com/sdk/installing/index.html?pkg=studio
After extracting you can launch IDE by going to android-studio/bin/ and writing ./studio.sh
And this information is straight from their page.
thanks... i ... i saw later...
when you click on first link on thier page it takes you to download ide package manager... it implies you already have ide, so the actual program isnt available to dl.
but if you scroll that same silly page, you find true complete ide download.
please pardon my extreme ignorance. hope you got some lulz.
Deleted