Java - Touch CDMA General

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!

Related

Gallery3D Apk

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.

(Dev) Here goes nothing

This is my attempt to get some more creativity, innovation, and roms here on xda. alot of people here have incredible skills but they cant be harnessed because they dont know what to do. if you are an artist we need you make icon packs. you have made 30 roms but you cant sign them. blah blah.
so no one abuse this but i attached a toolkit to do anything and everything with android on windows. im pushing this to be used for creating themes. hopefully it can help. but i thought it would be nice if everyone had this and the opensource community could start to grow even more.
i like this idea because it can help fellow Devs and even the watchers. everyone can get involved and give something to the community.
And now i present the Avabox
Any questions post them up.
OUTLINE------------------------------------------------------------
unyaffs-you have the ability to take system.img and data.img from you nandroids and get specific items from them.
Autosign- sign anything and everything. name your zip update.zip and follow the readme. roms themes, apps, anything.
Baksmali- put in apk in the folder. read readme. edit any icons wallpapers, anything. close it up and enjoy.
Perlscripts- this opens the boot.img for you.
Read the readme on all of these programs.
So this is going to be a quick tutorial Im gonna put up a video soon on how i got this to work on my computer
First things first download Avabox and unzip it in your C folder (same place you put androidsdk).
then get the java runtime from here not to be confused with the java development kit but since your there might as well grab it as well.
Install the java runtime then reboot
then open up avabox and click on autosign and place the zip you want signed in that folder and name it update.zip (dont add the .zip part it should already be a zip file).
then open up command prompt and type:cd\
cd Avabox/auto-sign
java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip
After that last enter give it a second and look in your avabox/update file and you'll notice a new file called update_signed.zip
I know that this is almost word for word from the read me but a few differences can go along way expect a video shortly..... well around wednesday or whenever i can get someone to help with this
porting
im interested in learning how to port and combine different aspects of themes and other mods. will this do it or is there other software i need. I can do the work if shown the way. I read all the post everday with peopl;e asking for this and that and i do it myself. If shown I would help with requests as much as possible. HELP PLEASE
Thank you Avalaunch!!
so with this software, can i take a signed theme mod (like launcher or taskbar) and it will grab the images for me to edit, and then repack and sign to a flashable zip?
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
regaw_leinad said:
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
Click to expand...
Click to collapse
hm ill have to check into it. it should be making a new classes.dex too. i never really used it on edits.
Avalaunchmods said:
hm ill have to check into it. it should be making a new classes.dex too. i never really used it on edits.
Click to expand...
Click to collapse
It changes the classes.dex and resigns it it looks like, but doesn't copy the mods of the pngs to the apk.
regaw_leinad said:
Everyone that knows how to use bak/smali, I have a question.
The modifications I made to the extracted pngs aren't getting transferred back to the original apk when I close it back up. Any Ideas? I'm getting really close to a breakthrough for 2.1. Any help would be appreciated
Click to expand...
Click to collapse
What do you mean? Baksmali and Smali are for decompiling classes.dex and opening it up for the .smali files that are inside. Smali takes that output and recompiles it back into classes.dex for your .apk or .jar file.
You need to update the baksmali and smali .jar's. You have older versions and that will cause issues with certain .jar and .apk's when decompiling. baksmali-1.2.1.jar and smali-1.2.1.jar are the latest versions and will not require the BOOTCLASS PATH to be included...
Does the autosign work windows 7 (64 bit)? I've heard issues with other autosigns on 7. If it doesn't, no biggie I got xp in a VM... lol
obannvi said:
What do you mean? Baksmali and Smali are for decompiling classes.dex and opening it up for the .smali files that are inside. Smali takes that output and recompiles it back into classes.dex for your .apk or .jar file.
Click to expand...
Click to collapse
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
Baksmali- put in apk in the folder. read readme. edit any icons wallpapers, anything. close it up and enjoy.
Click to expand...
Click to collapse
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
regaw_leinad said:
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
Click to expand...
Click to collapse
What im trying to figure out is why would you even need to use baksmali/smali to edit .png's inside an .apk. All that needs to be done is opening of the .apk with 7zip, modify whats in /res/drawable etc then close...No need to sign .apks or anything. If anything, the script needs to contain something to extract /res/ * from the .apk to edit.
obannvi said:
What im trying to figure out is why would you even need to use baksmali/smali to edit .png's inside an .apk. All that needs to be done is opening of the .apk with 7zip, modify whats in /res/drawable etc then close...No need to sign .apks or anything. If anything, the script needs to contain something to extract /res/ * from the .apk to edit.
Click to expand...
Click to collapse
I'm actually doing more than that. I am changing the code to look for instead of <name of file>.jpg to <name of file>.png
While also putting the new png in the apk. Think that's possible? I changed all of the locations where that file comes up in the smali code.
regaw_leinad said:
I'm actually doing more than that. I am changing the code to look for instead of <name of file>.jpg to <name of file>.png
While also putting the new png in the apk. Think that's possible? I changed all of the locations where that file comes up in the smali code.
Click to expand...
Click to collapse
I gotcha. So you're looking in blah.smali for any reference to .jpgs and changing that reference to look for .png instead??
obannvi said:
I gotcha. So you're looking in blah.smali for any reference to .jpgs and changing that reference to look for .png instead??
Click to expand...
Click to collapse
yeah, not working too well atm, but working on it.
I think this is what I've been looking for. Downloading now.
Just noticed that ActivePerl was for 64bit. I am downloading 32bit as I have only have 32bit Vista Pro installed and not the 64bit.
regaw_leinad said:
Yeah I get it now, after playing with it for a while.
Avalaunch, you should change the first post.
that description is a little confusing to a person that NEVER used smali/baksmali before. It makes it seem like after you edit the unzipped files, you could just run smali and it will put al the changes in the new apk. I figured out that's not how it works lol I feel pretty stupid now looking back at my last question haha
Click to expand...
Click to collapse
i guess i need to explain more. i use baksmali to make apks easier to search through. for me at least. instead of changing the type and everything i just put it in the folder and baksmali then do changes and create a new archive. sign and change .apk. if you smali it back to apk then it wont save edits. sorry about that anyways has this helped people so far? i love showing that windows can be a dev platform
&RoidRage said:
I think this is what I've been looking for. Downloading now.
Just noticed that ActivePerl was for 64bit. I am downloading 32bit as I have only have 32bit Vista Pro installed and not the 64bit.
Click to expand...
Click to collapse
yes just google active perl i use win 7 64bit and when this toolbox was made, it was only made for certain people who had 64bit.
Sorry for the n00b question, but I have searched and haven't had much luck. Hopefully, this is the best place for this question. I just started editing .png's and updating some apk's files to customize some things on my phone for looks. However, I am really interested in modifying the taskbar and notification screen, but I have no clue where to start. Is there a guide somewhere I could follow to learn how to change them? What programs, if any additional ones will I need etc..?
Thanks for your help!
Figured it out on my own. framework.apk and resources.apk

can we get the htc news widget on the phone?

i pushed it on with adb, it shows up in root explorer now, but not in the widgets list. anyway to make this work?
can you send me the file? i would like to try some attempts...
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
EDIT: My bad for some reason (it must be late) i thought i read Google News widget...I do want to get the HTC news widget on my phone also...
ejlax said:
can you send me the file? i would like to try some attempts...
Click to expand...
Click to collapse
sure, PM me your email and i'll email it to you
ejlax said:
i jsut copied the file to my sdcard and installed it via root explorer...worked like a charm...is the file you have themed?
Click to expand...
Click to collapse
you installed the HTC news widget right on the phone? the one i tried wouldn't install.
i got the NewsReader.apk installed and opened...now trying to figure out how to get the widget...
anywho, i successfully modified and then pushed the modified News and Weather (GenieWidget) onto the phone. i themed it to match my FeedR widget.
tried to post a screen cap but it's not letting me. something about being a new member.
i have the widget.apk, but not the NewsReader.apk. maybe that's why it's not working. we need to share files. lol
here is the link for the newsreader.apk
http://www.mediafire.com/?xuzn5r0yzze
the app itself does nothing but force close for me. are you getting the same result?
do we maybe also need the odex file?
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
ejlax said:
i was just going to say that....i am going to check...but the rom that i have is deodexed...do you have odex files?
Click to expand...
Click to collapse
i do not have the odex files. i'm giving up for now. lol hopefully somebody can figure it out. i'm good with my skinned geniewidget for now.
You say your rom is deodexed... you're running a fully deodexed rom on DI? Did you build this yourself, or...?
I have some ideas for the news widget, but I'd like to see newsreader working first.
Thanks!
I posted progress..
I posted progress on the same thread in the apps section. I rooted and pulled de-odexed files from an evo build and pushed them to the system/app/ directory, i then cleared the data in HTC Sense app and the widget and icon showed up. The problem is that they force close. You need 3 files
RSS.apk
NewsReader.apk
com.htc.NewsReaderWidget.apk
I don't think it will make any difference to use odex'd files. Usually it is better to have de-odex'd files to install. The files must be on /system/app/ directory in order to even show up and launch. I hope that a dev is able to take a better look at the androidmanifest.xml in the app or use logcat to see what the hell is going on.
If you want to write to the /system/app/ directory,
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mv /sdcard/RSS.apk /system/app/RSS.apk
(etc...)
then applications-->manage-->HTC Sense -->clear data...
But again, FC's will occur until someone is able to look at the manifest and alter it. I looked at the MinSDK for this app and it is the same as the DInc, otherwise I would've changed that part with a Hex editor myself.
Hope someone is able to do this, we would all be one step closer to a smaller Evo, lol. (I really don't like holding a "kindle" to my ear anyways, lol!)
Red.
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
vilord said:
what errors do you get that cause the force closures? (logcat from adb)
Updating the manifest files isn't hard, but requires resigning... did you need to resign the evo files after deodexing?
Click to expand...
Click to collapse
I didn't need to resign because the .apk files I pulled were from a build that was de-odex'd in the "Evo Android Development" Section. Root Explorer recognizes the files right away, but because they need to be system files, they can't be installed like other apps. I don't have a logcat because I really don't dev too much, but would be thrilled if others tried this.
Red

[Q] Extract single application from custom rom

hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
lamppu is a good LED torch. You need root to use it, look in market
TheGrammarFreak said:
lamppu is a good LED torch. You need root to use it, look in market
Click to expand...
Click to collapse
I have looked in market, but it doesnt seem to exist there. However, do you know anyway to extract the application as working APK file?
Any other LED torches that works with LEGEND?
*EDIT: well, I found it, its named Lamppu. but anyway it didnt work, although my phone is rooted! why is that?
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
omar.elhelw said:
hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
Click to expand...
Click to collapse
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
XtremeHTM said:
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
Click to expand...
Click to collapse
I already tried using Lamppu, but it didnt work on my rooted phone!
Have any idea what might be the reason?
----
whitetigerdk said:
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Click to expand...
Click to collapse
That makes sense...but who would I merge the .apk and .obex together to be in one .apk file so I can install it?
Or maybe you know some way I can install these files?
Help would be really appreciated.
----
robto said:
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
Click to expand...
Click to collapse
You mean like after loading the custom ROM, I backup the application I want then restore them after I load the custom I want?!
This is just long process of backing up your data then load custom rom, then back to the old rom, then root then restore...
I thought there might be easier and shorter ways?!
Any help would be appreciated. Gracias!
Anyone to help?????
try the kitchen method.
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Click to expand...
Click to collapse
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
TheGrammarFreak said:
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
Click to expand...
Click to collapse
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
omar.elhelw said:
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
Click to expand...
Click to collapse
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
whitetigerdk said:
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
Click to expand...
Click to collapse
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
omar.elhelw said:
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
Click to expand...
Click to collapse
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
TheGrammarFreak said:
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
Click to expand...
Click to collapse
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
TheGrammarFreak said:
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
Click to expand...
Click to collapse
Thanks!
heres the DL link
http://goo.gl/xKSk

[Solved] CRT screen off animation

I was wondering, is it possible to have it on Kindle running CM10.1 ?
The only time i've seen it on Kindle was while i was running CM7 as alt-rom. Can it be ported to CM10.1 ?
For those who dont know what i'm talking about, check out the video
Yeah, i saw that, but i cant find 'values' folder in framework-res.apk :S
I was using old version of apktools, that was the problem... Thanks btw
no luck... i cant get pass the boot animation...
something is fishy with file size as well, because after i compile it, it has ~4mb less than the original file
Jessica said:
It's because you didn't complete it yetn
a.k.a. Urahara
The truth! I'm really a girl!
Click to expand...
Click to collapse
do explain
btw. you're fast
Jessica said:
Read again.
a.k.a. Urahara
The truth! I'm really a girl!
Click to expand...
Click to collapse
I decompiled it, changed the value, compiled it and pushed it over adb. Also set 644 permission on the file. So, what didnt i do properly ?
Jessica said:
It's because you didn't complete it yet.
Once you recompile it, you open the new one and the old one with 7-zip. Then you drag the resources, classes.dex, and res folder from the new one into the original one. Then the original one will have the new changes, but won't give you a boot loop. Also, make sure the permissions are rw,r,r. You can use adb or terminal emulator for that too, using chmod 644.
Click to expand...
Click to collapse
Ok, i see now you've edited your post, sneaky
I'll try it and report back.
Edit: it works!! yay :highfive:

Categories

Resources