|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Soo,
I want to start a project to make a script which includes the Market in a "bare bone" ROM. The goal is to have cyanogen to make ROM's without Google Experience and let the user run a script to reinclude the Market. I have an idea how: The user has to download a file from the HTC Website: The ADP1 Systemimage. He places it into a folder in which is a script which unyaffs the image, copys the necesarry files and makes an update.zip out of it which can be flashed over the "bare bone-rom". I don't know if this legal or not, but Google won't attack the end-user, but the one who provides software illegal. But HTC has a license, so there shouldn't be a problem. The end-user does something illegal I think, but he won't get into any trouble with google. The hardest part is to find the necesarry files. I diffed the folders of a market and non-market ROM and filtered out some unneeded parts. Here's the list of which files to copy. Quote:
PLEASE ONLY DEV-TALK! LINUX The script for linuxusers is ready. It's attached. Usage: Go to the folder chmod +x extract ./extract You will need your device connected with a ROM without Google Apps, but root, and you'll need the drivers (usb rules) if it doesn't work from the start. IT WILL TELL YOU TO DOWNLOAD A FILE, YOU HAVE TO GOOGLE FOR IT! CUSTOM RECOVERY Usage: Place "signed-dream_devphone_userdebug-img-150275.zip" on your sdcard. Boot into this recovery, adb into the device and run: sh /sbin/gapps It will do ALL automatically! I hope I can later include it in the menu =) Download: http://www.4shared.com/file/13553718...erynewimg.html It's based on Amom_RA's great recovery!
__________________
White HTC Magic (32B) ROM: Sapphire Sense 2.X (by me) SPL: 1.33.2005 Follow me on Twitter: www.twitter.com/maxisma ![]() If you like my ROMs, DONATE HERE =) Appreciated! : http://tinyurl.com/donatetomaxisma Last edited by maxisma; 26th September 2009 at 04:44 PM.. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Improved list for the backup and restore after flash or leave untouched strategies:
GOOGLE AND HTC STUFF (?) /system/app/BugReport.apk /system/app/checkin.apk /system/app/Clicker.apk /system/app/Gmail.apk (easy to substitute with other mail client): pop.gmail.com port 995 with SSL smtp.gmail.com port 465 with SSL) /system/app/GmailProvider.apk /system/app/GoogleApps.apk android/cupcake/packages/providers/GoogleContactsProvider is open source /system/app/GoogleContactsProvider.apk /system/app/GooglePartnerSetup.apk /system/app/GoogleSettingsProvider.apk android/cupcake/packages/providers/GoogleSubscribedFeedsProvider is open source /system/app/GoogleSubscribedFeedsProvider.apk /system/app/gtalkservice.apk android/cupcake/packages/providers/ImProvider is open source /system/app/ImProvider.apk /system/app/MediaUploader.apk /system/app/NetworkLocation.apk /system/app/SetupWizard.apk android/cupcake/packages/apps/Stk/src/com/android/stk is open source /system/app/Stk.apk /system/app/Street.apk /system/app/Talk.apk /system/app/TmoImPlugin.apk /system/app/Vending.apk android/cupcake/packages/apps/VoiceDialer is open source /system/app/VoiceDialer.apk /system/app/VoiceSearch.apk /system/app/YouTube.apk /system/etc/permissions/com.google.android.gtalkservice.xml /system/etc/permissions/com.google.android.maps.xml /system/framework/com.google.android.gtalkservice.jar /system/framework/com.google.android.maps.jar /system/framework/com.htc.framework.jar /system/framework/com.htc.resources.apk /system/lib/libcerttool_jni.so Other closed source(?) files: /system/bin/akmd (/system/etc/AudioFilter.csv) (/system/etc/AudioPara4.csv) (/system/etc/AudioPreProcess.csv) /system/etc/firmware/brf6300.bin (/system/etc/gps.conf) /system/etc/wifi/Fw1251r1c.bin (/system/etc/wifi/tiwlan.ini) /system/lib/libaudioeq.so /system/lib/libgps.so /system/lib/libhgl.so /system/lib/libhtc_acoustic.so /system/lib/libhtc_ril.so /system/lib/libjni_pinyinime.so /system/lib/libmm-adspsvc.so /system/lib/libOmxCore.so /system/lib/libOmxH264Dec.so /system/lib/libOmxMpeg4Dec.so /system/lib/libOmxVidEnc.so /system/lib/libopencorehw.so /system/lib/libpvasf.so /system/lib/libpvasfreg.so /system/lib/libqcamera.so /system/lib/libspeech.so /system/lib/hw/lights.goldfish.so /system/lib/hw/lights.msm7k.so /system/lib/hw/sensors.trout.so WAREZ (?) /system/app/HTC_IME.apk /system/lib/libt9.so /system/app/ PDFViewer.apk /system/lib/libpdfreader.so /data/app/Quickoffice_HTC_1.0.1.apk /data/app/teeter.apk also posted here http://forum.xda-developers.com/show...=564303&page=6 |
|
#3
|
||||
|
||||
|
Were gonna need Stk.apk it's for the sim card without that it's impossible to make calls.
And vending.apk is for Market and without that it is impossible to download the majority of apps.
__________________
In the Criminal Justice System of Gotham City the people are represented by three separate, yet equally important groups. The police who investigate the crime, the District Attorneys who prosecute the offenders, and the Goddamn Batman. These are their stories. ┴─┴ ಠ_ರೃ |
|
#4
|
|||
|
|||
|
I would suggest a different strategy that is even easier. Every user has this
files already on his rom, most (all?) of them are 1.5 based. So before updating the phone with a cooked rom you have only to backup (tar) the not redistributable files to the sdcard. After having flashed the coocked rom you just need to untar them to the flash memory. |
|
#5
|
|||
|
|||
|
Stk.apk is for the Sim menu. You can make calls even if you delete it from your rom
|
|
#6
|
||||
|
||||
|
Quote:
__________________
In the Criminal Justice System of Gotham City the people are represented by three separate, yet equally important groups. The police who investigate the crime, the District Attorneys who prosecute the offenders, and the Goddamn Batman. These are their stories. ┴─┴ ಠ_ರೃ |
|
#7
|
||||
|
||||
|
I'm building the AOSP android-1.5_r3 now and will load it onto my device and will try to push the files to it.
Please wait for the results. If I have success, I'll start making a script which automates the process.
__________________
White HTC Magic (32B) ROM: Sapphire Sense 2.X (by me) SPL: 1.33.2005 Follow me on Twitter: www.twitter.com/maxisma ![]() If you like my ROMs, DONATE HERE =) Appreciated! : http://tinyurl.com/donatetomaxisma |
|
#8
|
||||
|
||||
|
Good luck and good speed.
__________________
In the Criminal Justice System of Gotham City the people are represented by three separate, yet equally important groups. The police who investigate the crime, the District Attorneys who prosecute the offenders, and the Goddamn Batman. These are their stories. ┴─┴ ಠ_ರೃ |
|
#9
|
|||
|
|||
|
If i recall correctly JF made a tool to convert odex files to dex files which could then be repacked in the apk. Don't know if this could be run on the phone tough.
|
|
#10
|
||||
|
||||
|
SUCCESS! I found the needed files, got market working on AOSP!
It's the list above (first post). I'm writing a script now ;-) Edit: Script for Linux users is done, testing it now and looking for bugs, will then make a windows-one.
__________________
White HTC Magic (32B) ROM: Sapphire Sense 2.X (by me) SPL: 1.33.2005 Follow me on Twitter: www.twitter.com/maxisma ![]() If you like my ROMs, DONATE HERE =) Appreciated! : http://tinyurl.com/donatetomaxisma Last edited by maxisma; 26th September 2009 at 12:37 PM.. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|