Related
Hi, I'm new to the forum.
I wonder exactly how it works in android system themes, I mean as is done programming in Java, because I want to develop one for my app but I'm stuck.
Thank you very much.
download a theme, unzip it, then unzip all the apk files and look through them and learn as you go and if you come to a roadblock use search
Ok, so I have only seen a file that might prove useful, the MANIFEST.MF, which contains a list of all images.
But what I really want to know is, the cycle accurate to use a downloaded theme, I mean, my app decompresses it in SD? Or just list the contents?
I want to know exactly how it is functioning, porq from what I've seen, the themes of the Open Home, at no time pass through the SD
Thx
Hello, all,
I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.
Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
someone needs to close this thread before this flame war gets any bigger
tekgek said:
Hello, all,
I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.
Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
Click to expand...
Click to collapse
Have you tried just pushing with adb? By development do you mean cooking or compiling your own?
Please be respectful of others ...
I taken the time to cleanup this thread and move to Q&A where it should have been. If someone has an answer post a reply; plans to respond using trolling tactics are ill-advised.
If the thread goes OT again, a moderator will be forced to close it and likely remove it ... would be nice if it didn't have to come to that.
Regards,
I am building this directly from AOSP, from scratch. Thanks to the mod for cleaning up the flame war, by the way
Oh, from AOSP. How are you adding them in? AOSP does NOT include the Google Apps by default, I'm not expert in ROM building but I am sure there are some .libs needed (I know GTalk requires some) and possibly need the other Google Apps as well.
And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.
Here is what I knew:
AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.
What the forum helped me figure out:
The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:
./adb install alpha-1-signed/system/app/Vending.apk
898 KB/s (1274068 bytes in 1.384s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Click to expand...
Click to collapse
This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.
EDIT: For all of you who are currently viewing this thread, how many of you would like a very fast (possibly faster than OpenEclair), stable, no-frills Android 2.1 ROM? I would like your opinions, because this will give me a good idea of how many people would be interested in this kind of thing.
Tekgek
tekgek said:
And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.
Here is what I knew:
AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.
What the forum helped me figure out:
The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:
This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.
Tekgek
Click to expand...
Click to collapse
It's good to know that you are missing libraries
Your best bet is to compile your rom, and then compare it to a rom that already has the google apps included (WesGarner build, CSDI, etc...) and see what libs are missing from yours, add them in and then try again
I was having the same problem too. I am gonna try this too.
And ya besides the libraries, the aosp build doesn't include some of the framework files and permission files too, like the framework files relating to gtalk and google maps should be added as well to the system/framework folder and the permission files in system/etc/permissions relating to gtalk and maps should be added as well.
I tried with all the missing libraries but with no luck...there must be some other files tooo. Gonna continue on Thursday.
Did you try resigning the apk file?
Not really. I am gonna try that too. Got coll tomorrow so may be later tomorrow. By the way did you got the video working?? I tried pushing some libraries from supereclair. But not workin till date. it works in his build though.
College is more important than android, imho. whenever you get the chance .
I hope to get video working in the future, but not right now. My primary computer (the core i7 rig I use for all my computer work) needed an OS reinstall, so I have made no progress since my post on ADB. My fist priority is to get the basics working, then I'll work on the other issues, like video playback and the camera. However, as of right now, I am re-downloading the source, and hopefully building it in the very near future, expect an update tomorrow, and maybe even a finished product (keep in mind that this is ALPHA, so don't expect anything wonderful).
Alright, I got it... mostly. The market appears installed, now all I need to do is make it not crash. Whenever I select the market app, I get a white screen, and then the home screen. I'm also getting a force close on the gapps process. What am I doing wrong
How did you got market show up???
The gapps framework file is also missin in the /system/framework folder in AOSP build.
Did you tried pushing the missing file?
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.
tekgek said:
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.
Click to expand...
Click to collapse
ya its com.google.android.gtalkservice.jar
okay, added it in, still getting a force close on the gapps. Where to go now???
As i mentioned earlier there are some files missing in system/etc/permissions. Did u tried pushing those files.
All permission files are in place, all gapps are resigned. The framework is in place. The setup wizard i also resigned, which now crashes. If anyone has any suggestions please post them. I am at my wit's end here.
Ok guys please help me. I am fairly new to linux so all of the commands and script dont click with me as it will in a few more months so please be thorough if you can.
I have been searching and trying different things for almost 3 days now and Im just going to ask for help before giving up.
For now im trying to get familiar with further hacking for modifying apk's and roms but I am having a terrible time getting the correct information on how to resign an apk to make it installable on an android phone.
In order to keep this simple lets assume this is what Im trying to do.
(im using ubuntu, and every tuturial I see is for win or mac. I have seen 1 (http://forum.xda-developers.com/showthread.php?p=3271434) for ubuntu but it seems that it either does not apply to me or is simply over my head at the time with my limited ubuntu knowlege).
Im wanting to take avp.apk and change the icon. I replace the ya.png with a properly sized png named ya.png. I then have tried both ways of either deleting the meta-inf file (do I need to do this?)
And then after that I am stuck. I have tried some different autosign and testsign and different tools but Im obvousially typing something wrong or just not getting something right because it simply does not work with me.
Can someone please help me or tell you what to do or point me to a youtube vid? I keep coming up with the same threads and videos at this point and none of them seem to apply to me (for win/mac).
It seems like what Im trying to do should be simple enough. So please show me what Im being dumb about.
Yep. I'm on linux. Windows was just too slow. But now I'm trying to start theming again but I just can't figure a way to edit ant .9.png image files. On Windows I would use Xultimates D9PC but i don't believe that option is available on Linux. I would just use the draw9patch compiler provided in my SDK but i get an error stating that the "draw9patch.jar file cannot be found" ....tho I certainly see it is in there. I have of coarse Googled the problem, nut while it does seem to be a common issue, I have yet to read of it being resolved. I figure if anyone knows the answer, its the brilliant folks at XDA, so...LOL .....here I am!
(please say its possible, please say its possible, please say its possible......)
CleveRuse said:
Yep. I'm on linux. Windows was just too slow. But now I'm trying to start theming again but I just can't figure a way to edit ant .9.png image files. On Windows I would use Xultimates D9PC but i don't believe that option is available on Linux. I would just use the draw9patch compiler provided in my SDK but i get an error stating that the "draw9patch.jar file cannot be found" ....tho I certainly see it is in there. I have of coarse Googled the problem, nut while it does seem to be a common issue, I have yet to read of it being resolved. I figure if anyone knows the answer, its the brilliant folks at XDA, so...LOL .....here I am!
(please say its possible, please say its possible, please say its possible......)
Click to expand...
Click to collapse
I use draw9patch without any problems. Have been for years. Make sure that the sdk tools is in your path.
Im on ubuntu 10.10 using windows xp ob virtualbox. I tried and tried to get the gothemesfactory to work, but to no avail, so i broke down and set up a vbox to make ot work.
CleveRuse said:
Yep. I'm on linux. Windows was just too slow. But now I'm trying to start theming again but I just can't figure a way to edit ant .9.png image files. On Windows I would use Xultimates D9PC but i don't believe that option is available on Linux. I would just use the draw9patch compiler provided in my SDK but i get an error stating that the "draw9patch.jar file cannot be found" ....tho I certainly see it is in there. I have of coarse Googled the problem, nut while it does seem to be a common issue, I have yet to read of it being resolved. I figure if anyone knows the answer, its the brilliant folks at XDA, so...LOL .....here I am!
(please say its possible, please say its possible, please say its possible......)
Click to expand...
Click to collapse
I am not familiar with the D9PC program, but have you tried to run it with WINE?
Ok, Thnx guys! (i love XDA)
Let me respond to u all at once. Ok, so sorry I wasn't as informative as possible.
First, I'm "'cd'-ing" to the draw9patch's dir, but I've also tried just moving the files over to my platform-tools folder.... I still get the same error: "draw9patch.jar cannot be found". Finally, even tho 'cd'ing to 'tools' folder should yeild the same result, I added it (tools) to my path and I still get the error message. Like I said, Google seems to agree that the issue is quite common .....who knows?
As for a virtual box? I've heard of it.... Just not sure Wut it is. Is that like booting an OS ROM 'flash'?
And as for "Wine", I just googled it and I'm thoroughly excited! That sounds perfect! I'd also heard of that but also wasn't sure what it was ...wait, is that a virtual box? O see I need to create a "mock" C drive to install to. Wut version of Wine should I use? On-line, its suggested to use an older version but the advice seems a little dated. I'm running 11.04 "Natty".
Hey Thnx guys! I really appreciate all the help.
I'm considering buying a HTC Vivid from AT&T, from what I've read, the bootloader for the AT&T Vivid is locked, but it is possible to temporarily unlock it. I also plan to overclock my phone, I've found custom kernels that can overclock the vivid, they say that the phone needs to be rooted. But is a temp root going to give me enough access to install the overclocking kernel? I have jailbroken consoles and HP Touchpad, but I haven't really played with Android or Linux. So if please excuse me if my terminology is used incorrectly. Thanks.
You can unlock the bootloader through HTC'S dev site and get perm root. Just follow the superguide in the development section and you will be good to go.
Sent from my Transformer TF101 using Tapatalk
Thanks for the info. I'm new to this, after I rooted the phone, how do I install the app? I have an apk file and I tried using the Android Central SWM, but it doesn't work with my phone. I have also enabled the Applications from Unknown sources. But there's no way for me to install.
Edit: I saw that it installed an app called Superuser, but I can't install any apps through Superuser, do I need to put the apk file in a specific folder in order for Superuser to recognize it? Thanks.
awdrifter said:
Thanks for the info. I'm new to this, after I rooted the phone, how do I install the app? I have an apk file and I tried using the Android Central SWM, but it doesn't work with my phone. I have also enabled the Applications from Unknown sources. But there's no way for me to install.
Edit: I saw that it installed an app called Superuser, but I can't install any apps through Superuser, do I need to put the apk file in a specific folder in order for Superuser to recognize it? Thanks.
Click to expand...
Click to collapse
you have some reading to do......
That was helpful. I was just looking for a way to install apps to my phone. So far it seems like maybe I can modify the .bat script from the temp root method to install .apk files that way, but that seems risky and I don't want to mess up my brand new phone.
Seems like this is the wrong site to ask, this is a developer site, so I guess I'll ask this somewhere else.
awdrifter said:
That was helpful. I was just looking for a way to install apps to my phone. So far it seems like maybe I can modify the .bat script from the temp root method to install .apk files that way, but that seems risky and I don't want to mess up my brand new phone.
Seems like this is the wrong site to ask, this is a developer site, so I guess I'll ask this somewhere else.
Click to expand...
Click to collapse
no, you just need to use some logic, and this little thing called SEARCHING
you want to install apps on your phone?
you just put them on your sdcard or download them from the phone itself, open a file manager, browse to the apk file and click on it. it will ask to install..... you are making this out to be way harder than it is. and you did not need root for that to take place. its a function of the OS, you dont need the computer in order to install apps.....this is all basic android stuff you could learn by using GOOGLE....
and you are right, this is a developers site, it is not a hold-my-hand site for noobs.....
awdrifter said:
That was helpful. I was just looking for a way to install apps to my phone. So far it seems like maybe I can modify the .bat script from the temp root method to install .apk files that way, but that seems risky and I don't want to mess up my brand new phone.
Seems like this is the wrong site to ask, this is a developer site, so I guess I'll ask this somewhere else.
Click to expand...
Click to collapse
No need to ask anywhere, google is your friend. Installing apps is very easy, and rooting isn't even necessary. As PG already said, it's as easy as using a file explorer, and also checking that box in the settings about unknown sources.
http://maketecheasier.com/install-applications-without-the-market/2011/01/28
Thanks for the link, those methods are definitely easier than what I did. I edited the temp root .bat file to copy the .apk file to the phone's internal memory, then I used Astro brower to browse to that directory, then install it from there.
awdrifter said:
Thanks for the link, those methods are definitely easier than what I did. I edited the temp root .bat file to copy the .apk file to the phone's internal memory, then I used Astro brower to browse to that directory, then install it from there.
Click to expand...
Click to collapse
dude, all you have to do is plug in your phone and when it asks you set it to disk mode...it shows up as another drive on your computer...you dont need to use any kind of bat file....this is all seriously generic and basic android usage. as i stated before:
you have some reading to do......
its not to be mean, but seriously, you are asking stuff like this in the same breath as ROOTING your phone. this type of stuff isnt meant to be taken lightly or without some READING and comprehension. know what you are doing to your phone before you royally screw it up....
at this rate, i have a feeling it wont be long before we see a help thread....
I don't understand either. Why not do it the apk way? That is the easiest method. It takes like twenty second to allow unknown sources, go to file manager, click on the apk and install it.
Sent from my HTC PH39100 using XDA App