Related
I know I sound like a broken record, and I ask "Does this build support java" all the time for android builds
but most builds do not support java, or simply does not include a java J2ME runtime manager. So far I think only a build Zen put out months ago runs java apps and it ran them perfectly.
Instead of asking for it to be added all the time, I was wondering if there was some way that I could do it myself. Is there some magical .apk I can install?
(The one on the market is poor and does not work)
Any help would be appreciated, thank you.
skydirt said:
I know I sound like a broken record, and I ask "Does this build support java" all the time for android builds
but most builds do not support java, or simply does not include a java J2ME runtime manager. So far I think only a build Zen put out months ago runs java apps and it ran them perfectly.
Instead of asking for it to be added all the time, I was wondering if there was some way that I could do it myself. Is there some magical .apk I can install?
(The one on the market is poor and does not work)
Any help would be appreciated, thank you.
Click to expand...
Click to collapse
if you still have one of zens old builds with it in it you can pull the java.apk and the libjbed.so (something like that, its been a while). and you could try to push the lib into /system/lib and the apk into /system/app
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
zenulator said:
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
Click to expand...
Click to collapse
By qvga you mean, not 240x320? But it will still work under 320x480?
Could you please point me to that old build? I've been searching and it's rather difficult picking through the builds when I don't know which is which.
zenulator said:
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
Click to expand...
Click to collapse
hey didnt that tattoo dump have java?
ill check when i get home
I remember trying to get this running on my Eris but I couldnt because it's not rooted, but here is the thread where I found the files.
http://forum.xda-developers.com/showthread.php?t=552846
jamezelle said:
hey didnt that tattoo dump have java?
ill check when i get home
Click to expand...
Click to collapse
I found an old Xrom version that Zen was taking about
system-xrom1.5r4c.sqsh
However, I run into a small problem of not being able to open an extract files from the .sqsh.
That would be awesome if the tattoo dump had the java, which would mean it will work in qvga.
xDan's Java.apk --> http://www.androidspin.com/downloads.php?dir=enomther/APPS/&file=jbed_vsapp.zip
Ported jbed. Have not tested this at all but please let us know if this works.
refthemc said:
I remember trying to get this running on my Eris but I couldnt because it's not rooted, but here is the thread where I found the files.
http://forum.xda-developers.com/showthread.php?t=552846
Click to expand...
Click to collapse
Thanks, I tried it but it does not work. Force closes every time.
THanks Myn, trying it out now.
Edit: Same results. Java has stopped unexpectedly, then force close.
skydirt said:
Thanks, I tried it but it does not work. Force closes every time.
THanks Myn, trying it out now.
Edit: Same results. Java has stopped unexpectedly, then force close.
Click to expand...
Click to collapse
did you push libjbed.so /system/lib?
jamezelle said:
hey didnt that tattoo dump have java?
ill check when i get home
Click to expand...
Click to collapse
yes it does but it's limited to sdk 3. i've tried to hex edit it with no luck so far. i decompiled the AndroidManifest.xml but thats no help because i can't recompile it. so the only way is to find it in the hex editor and change the value.
ok the java from xDan works in qvga....running opera mini on it right now.
i attached a androidupdate.tar for it. just unzip the androidupdate.zip and copy it to /sdcard/andboot/ and launch the fancy new menu if your using the new non rootfs system and select the update option. let me know how it goes.
View attachment androidupdate.zip
reattached a zip of the working files pulled from my phone. java.zip. manually push these or create an androidupdate.tar by making a system dir and putting in /app/Jbed.apk and /lib/libjbedvm.so in and tar it up.
zenulator said:
did you push libjbed.so /system/lib?
Click to expand...
Click to collapse
Um, if by push you mean opening the androidinstaller.tar with 7zip and manually placing the the lib and ajava.apk into thier respective folders, yes.
Otherwise no, and I'm not that proficient.
see my post above there is a link to an androidupdate.tar. it's only tested in donut in qvga 240x320 with lcd density @ 120 but should work for all resolutions.
if you have adb installed you can do it manually from your already installed system if your running on nand or ext2 and can write to it. if you get an error about the system being read only then.
Code:
adb shell
Code:
mount -o remount rw /system
then exit the adb shell usually by issuing the command
Code:
exit
then go to where you have xDans java downloaded and
Code:
adb push Jbed.apk /system/app
then
Code:
adb push libjbedvm.so /system/lib
and you should be set.
zenulator said:
see my post above. this is only tested in donut in qvga 240x320 with lcd density @ 120 but should work for all resolutions.
Click to expand...
Click to collapse
Perfect, great work guys, I'll include it in my update pack I'm working on for the build.
Thank you! Very much appreciated.
uploaded a zip of the working apk/lib pulled from my personal donut build a couple posts back. i didn't make an androidupdate.tar for it. but like i said the files are confirmed working for me in donut so if someone else running donut or eclair wants to try them out let me know if they work.
Just wanted to give you an update Zen.
I could not get java to work on Eclair 2.1
It would force close every time.
I have added java to Myn's newest donut build and it works. Kinda. The apps install and open up, but they are stretched to the right and skewed.
Any suggestions on how to fix this?
Running 240x320/110
Well, I have discovered why the screen gets skewed. It's because of the 110 screen density. If I change it to 120, it looks and works perfectly. However, this effectively break Myns build as you can not even use the dialer in 120.
Is there anyway to modify the java files you posted to work in 110?
zenulator said:
uploaded a zip of the working apk/lib pulled from my personal donut build a couple posts back. i didn't make an androidupdate.tar for it. but like i said the files are confirmed working for me in donut so if someone else running donut or eclair wants to try them out let me know if they work.
Click to expand...
Click to collapse
I've tried with a Donut build. Resolution: 320x240.
Installed right BUT... Opera Mini 5 Beta 2 is shown skewed. Unusable, indeed!
EDIT:
New version for Froyo, support for 24bit color and the full resolution on your camera!
Download HERE
Hey,
Here's the file to install Gallery 3D to the Desire.
You have 2 ways of installing:
1) Install Android USB Driver (search for it) run the following commands:
adb install <filename and path>
2) Copy to SD Card, open in a file manager (make sure "install from unknown sources" is checked in menu) (untested)
New version:
Gallery works great, launches camera, and plays videos!
Download
brummiesteven said:
Hey,
Here's the file to install Gallery 3D to the Desire.
You have 2 ways of installing:
1) Install Android USB Driver (search for it) run the following commands:
adb install <filename and path>
2) Copy to SD Card, open in a file manager (make sure "install from unknown sources" is checked in menu) (untested)
Click to expand...
Click to collapse
hmm isnt the Android 3D gallery is inside the Desire by default? or is that something else?
irkan said:
hmm isnt the Android 3D gallery is inside the Desire by default? or is that something else?
Click to expand...
Click to collapse
No it includes Sense's gallery "Photos".
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Thanks, brummiesteven
Sorry, what is Gallery3D and why do I want it?
It works but not well, for example pressing the camera icon, will crash the application and prompt a force close, there also seems to be some issue with the screen going black for a few seconds.
Jabbypants said:
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Click to expand...
Click to collapse
Ive been trying to get Launcher2 working, but still get crashes when selecting it
any ideas?
This is gallery3d:
http://www.youtube.com/watch?v=sMwoPS8ts7Y
Edit: Direct link to camera is the only thing I have found which doesn't work in gallery3d so far.
Jabbypants said:
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Click to expand...
Click to collapse
What other programs are you looking for?
Im trying to connect this up using eclipse but it aint happening
jonneymendoza said:
Im trying to connect this up using eclipse but it aint happening
Click to expand...
Click to collapse
Connect up using eclipse?
Eclipse is a programming environment =/
brummiesteven said:
Connect up using eclipse?
Eclipse is a programming environment =/
Click to expand...
Click to collapse
Yea but i want to develope and test apps on it. i could also run apk files and let it install on its phone via eclipse.
Eclipse cant recognise it via the ddms.
Bet you aint got a clue what im on about
jonneymendoza said:
Bet you aint got a clue what im on about
Click to expand...
Click to collapse
Of course I know what you're on about.
jonneymendoza said:
Yea but i want to develope and test apps on it. i could also run apk files and let it install on its phone via eclipse.
Eclipse cant recognise it via the ddms.
Bet you aint got a clue what im on about
Click to expand...
Click to collapse
brummiesteven said:
Of course I know what you're on about.
Click to expand...
Click to collapse
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Does the 3D gallery replace the Sense one? Or is it just an alternate app?
irkan said:
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Click to expand...
Click to collapse
I *think* he's trying to test his own code via the phone which I'm not sure is possible or not, pretty sure you have to use the emulator.
Ghisy said:
Does the 3D gallery replace the Sense one? Or is it just an alternate app?
Click to expand...
Click to collapse
You'd get 2 apps, "photos" which is the sense UI version and "Gallery" which is Gallery3D
brummiesteven said:
Of course I know what you're on about.
Click to expand...
Click to collapse
irkan said:
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Click to expand...
Click to collapse
If you know what im on about, have you guys got it hooked up to eclipse successfully on windows 7 OS?
btw, you can transfer the apk file directly to your phone but you cant launch it.
edit: really need a sub forum for us developers
brummiesteven said:
I *think* he's trying to test his own code via the phone which I'm not sure is possible or not, pretty sure you have to use the emulator.
Click to expand...
Click to collapse
Your spot on. i want to test apps on my phone and yes you can do it on a nexus one, G1 and the hero.
jonneymendoza said:
Your spot on. i want to test apps on my phone and yes you can do it on a nexus one, G1 and the hero.
Click to expand...
Click to collapse
Are you saying that you can't test your own apps on the Desire through the standard developer tools? That's more than strange. brummiestevens said he could install apps via adb, so testing your own apps should work.
Dear all developers, cookers, testers and all Leo-Andro guys here. Thank you very much for all of your efforts to make HD2 so fun.
My idea is we have a lot of Builds here that I love them much namely:
[BUILD] [26.07.2010] [darkstone HD2Froyo v1] now with GPS work via new sys.ext2 perfect for me with cool battery, low drain and high quality call and so smoothly.
[BUILD] [30.07.2010][mattc Leo + Froyo w/Sense RC1.3a] with SENSE very brilliant build.
The problem is it possible to have triple boot or more with out change new SD card.
That means we may put some difference builds in differ Android folders in SD card and a good boot loader may scan those folder and asking you to select your favorite build.
The other thing is we may seen some files in the root of SD card and difference build can confuse when access them. Is possible to put all file of each Build in their own folders ONLY?
Thank you all Leo-Andro guys again.
THANHVO31 said:
The other thing is we may seen some files in the root of SD card and difference build can confuse when access them. Is possible to put all file of each Build in their own folders ONLY?
Thank you all Leo-Andro guys again.
Click to expand...
Click to collapse
Good idea!
The easiest solution would be to MANUALLY assign specific folders from out WinMo, which then links to a program to select on these folders to boot.
/storage/android1
/storage/android2
/storage/android3
Then from a boot-select screen you just select one of the folders to boot. Shouldn't be that hard to do.
Maybe Partition SD card??? that might work won't it?
MMAwarrior said:
Maybe Partition SD card??? that might work won't it?
Click to expand...
Click to collapse
treats each folder as a partition
triple boot is a fantastic idea
for example JMZ Android triple-boot
WinMo - android - ubuntu
I'm already Quad Booting... for the last 2 weeks
Just use Exceller's Android Loader
so if im reading right, we can just do the folder hierarchy and we can run different android builds off the same sd card????
niiza said:
so if im reading right, we can just do the folder hierarchy and we can run different android builds off the same sd card????
Click to expand...
Click to collapse
Yes... that's what I've been doing... just make sure to edit your startup.txt in each folder where your build resides.
pongster said:
I'm already Quad Booting... for the last 2 weeks
Just use Exceller's Android Loader
Click to expand...
Click to collapse
Exceller's dual boot has been doing this already. You can choose whatever build you have on your sdcard and even boot ubuntu.
ahijada said:
Exceller's dual boot has been doing this already. You can choose whatever build you have on your sdcard and even boot ubuntu.
Click to expand...
Click to collapse
That's what I just said.
what do i have to change in the startup exactly?
I just found
set cmdline "rel_path=Android" in ROM Version: shubCRAFT v1.1 - http://www.cyanogenmod.com/
Click to expand...
Click to collapse
but
set cmdline "lpj=638976" in mattc Leo + Froyo w/Sense RC1.4
Click to expand...
Click to collapse
A little bit confused! so pongster can you post your startup.txt here?
THANHVO31 said:
I just found
but
A little bit confused! so pongster can you post your startup.txt here?
Click to expand...
Click to collapse
Just add the rel_path=foldername to cmd in between the "" don't remove the lpj thingy
It will look like this:
cmd "rel_path=foldername lpj... "
Sent from my HD2 Froyo
pongster said:
Just add the rel_path=foldername to cmd in between the "" don't remove the lpj thingy
It will look like this:
cmd "rel_path=foldername lpj... "
Sent from my HD2 Froyo
Click to expand...
Click to collapse
Thanks, pongster! I'll try it!
change htcleo_update.tar.gz possiable ?
can i remove apks from or add ?
Proz00 said:
change htcleo_update.tar.gz possiable ?
can i remove apks from or add ?
Click to expand...
Click to collapse
Good one,if possible i can remove things i do not want like launcher pro (so i can upgrade myself to plus,not possible now in a rom i use)
yup.. its possible... i changed my launcher pro to the plus version... u will need a program which can modify it.. i used 7zip file manager...
u can get it at ( http://www.7-zip.org/ )
cheers..
thx im testing it right now
fi3ry_icy said:
yup.. its possible... i changed my launcher pro to the plus version... u will need a program which can modify it.. i used 7zip file manager...
u can get it at ( http://www.7-zip.org/ )
cheers..
Click to expand...
Click to collapse
Ah that works......
And afterwards?
Can i just remove the apps in the apps folder?
And place my apps in?
Or do i also need to edit a install config file?
And how to zip it back like the original?
Thx
i tested removing apps and everything is cool need to test adding apps
7zip ask u if u wanna rebulid it and ure Done
Aha,zipping back to tar.gz can be done with this one:
http://www.gzip.org/ free .
Going to test now,removed all thing i do not want,and put in my own programs....let's see if it works,report asap.
This will work... you just need to be careful what you remove since you may end up with an unbootable android OS (boot loop) ... of course that's the beauty of the dual boot... you just copy a fresh android folder over and start again
Proz00 said:
i tested removing apps and everything is cool need to test adding apps
7zip ask u if u wanna rebulid it and ure Done
Click to expand...
Click to collapse
do i need to rename it to tar.gz?
7 zip makes a .7z from it
I think i got it.
Just zipped with 7zip,placed that file on gz converter.
Removed only apps i do not need,and add my own,test now.
no just open htcleo_update.tar.gz
u will see htcleo_update.tar open it too
remove the apks close 7zip
its will ask u do u want to update the archive
wait till its finished u will see temp file
ok that works,altough i can not add apk files
adding apk not working ?
its gives error at first boot ?
Proz00 said:
adding apk not working ?
its gives error at first boot ?
Click to expand...
Click to collapse
No,misunderstand.....removing with the method from you works,it is booting now and installing.
What i meant to say is add my own apk files in that way,but 7zip says when i want to add my own apps: nor supported. (srry english not so good)
Ok,does not work...
I only removed launcher pro,notting else....
Android boots,but when almost on home screen setup crashes.....
i removed same wallpapers and email gmail and some more didnt got error
try another htcleo_update.tar.gz with normal launcher too
im testing now with adobe flash and same more removed
the flash didn't installed successfully
browser still need the plugin
tinuz97 said:
Ok,does not work...
I only removed launcher pro,notting else....
Android boots,but when almost on home screen setup crashes.....
Click to expand...
Click to collapse
did you replace it with another launcher? if not then it will surely crash...
pongster said:
did you replace it with another launcher? if not then it will surely crash...
Click to expand...
Click to collapse
Yep correct,but i do not know how to add it?
Removing other apps works with 7zip like flashlight,voicerecording etc.
But when i try to add files with 7zip it says not supported.
u have 4.65 version ?
Proz00 said:
u have 4.65 version ?
Click to expand...
Click to collapse
Yep 4.65
With windows 7
hmm strangely... it works for me...
just drag and drop in....
this is the installer i used.. should be the same since its the same version...
Hi all!
I have been playing around a little bit - building the kernel and so on...
When I am starting Android (using haret) a boot-picture is shown while loading Android.
Does anyone know where to turn this off, so I can see the linux boot progress (like on a regular Linux machine) ?
This would be very useful if something goes wrong during the boot process or a fsck is in progress...)...
Thanks in advance!
Otto
Any luck? I am running the old "DISCONTINUED - Stock Gingerbread Rom
by xboarder56" ROM and want to remove the Blue HTC HD2 Splash Screen. I have removed the Nexus Boot Animation and just the stock Android one remains.
I'm interested in such a solution, too. I found it more interesting, to see the linux boot messages than the X.
It is logo.rle.
Sent from my HD2 Droid HD using XDA App
jose makalolot said:
It is logo.rle.
Sent from my HD2 Droid HD using XDA App
Click to expand...
Click to collapse
where do you find it and how do you modify it?
orangekid said:
where do you find it and how do you modify it?
Click to expand...
Click to collapse
Look this thread.
I suspect that was the file I was looking for. Now a quick ? I have gone into ES File Explorer and Enabled Root as well as mounting the File System as writeable, instead of read only, and it still won't let me delete the file. Any way to remove this while working from the OS?
Thanks in advance for the reply btw.
Lucky736 said:
I suspect that was the file I was looking for. Now a quick ? I have gone into ES File Explorer and Enabled Root as well as mounting the File System as writeable, instead of read only, and it still won't let me delete the file. Any way to remove this while working from the OS?
Thanks in advance for the reply btw.
Click to expand...
Click to collapse
Because that file inside initrd.gz. Uncompile that file and delete it from there. The recompile it.
Sent from my HD2 Droid HD using XDA App
Tried to decompress using OS X 10.6, 7zip on Win 7 x64, and MacDrive. No dice. Sigh.
Anyone have any ideas?
Lucky736 said:
Tried to decompress using OS X 10.6, 7zip on Win 7 x64, and MacDrive. No dice. Sigh.
Click to expand...
Click to collapse
Use a linux based computer.
Sent from my HD2 GingerDroid using XDA App
I removed the logo.rle from initrd.gz, but only magldr screen was shown.
If You want to change or remove the logo.rle look at this.