Rom editing help - Hero CDMA Q&A, Help & Troubleshooting

Okay, I am trying to work with PureHero 2.1. I am trying to edit the rom for my needs. I chose this rom because it is small and clean. My main thing is to remove everything possible except for the Device Self Service, Contacts, Phone, SuperUser (Is SU needed if I am only going to use this to Update PRL?). It has A2SD, Dalvik, Jit, LWP (or at least remnants of these). Is there somewhere anyone can point me to figure out how to pull these things out? I will post up a list of the system/app dir for what I have kept if anyone has suggestions for removing more. I know this may be crazy, but it is just something I have wanted to do. I edited here and there and for the most part, it works, but when I try to add an updated busybox, it wont boot. I have used the kitchen, I have used other roms, I have done it myself, but everytime it wont boot past HTC logo. I know its busybox because it is the only thing I have changed between what I have on the phone and what I want to flash. Any help is appreciated.

System dir. There are a few things I could remove, like google titled things as this doesnt have the market, so it doesnt matter if it breaks
Code:
AccountAndSyncSettings.apk
AccountSyncManager.apk
ApplicationsProvider.apk
CalendarProvider.apk
CheckinProvider.apk
Clicker.apk
Contacts.apk
ContactsProvider.apk
CustomizationSettingsProvider.apk
CustomizationSetup.apk
DCSImpl.apk
DCSUtility.apk
DCSWeather.apk
DMPortRead.apk
DmService.apk
DownloadProvider.apk
EnhancedGoogleSearchProvider.apk
EPST.apk
FieldTest.apk
FieldTrial.apk
FilePicker.apk
GoogleApps.apk
GoogleContactsSyncAdapter.apk
GooglePartnerSetup.apk
GoogleSettingsProvider.apk
GoogleSubscribedFeedsProvider.apk
GSD.apk
HtcDialer.apk
HtcIQAgent.apk
HtcLocationPicker.apk
HtcLocationService.apk
HtcNaviPanel.apk
HtcPPST.apk
HtcSettingsProvider.apk
HTCSetupWizard.apk
IQRD.apk
LatinIME.apk
LatinImeTutorial.apk
Launcher.apk
MediaProvider.apk
NetworkLocation.apk
OMADM.apk
PackageInstaller.apk
PCSCII.apk
Phone.apk
PluginManager.apk
restartapp.apk
SDSA.apk
Settings.apk
SettingsProvider.apk
Sprint_Core.apk
StatusBarCleanService.apk
Superuser.apk
TalkProvider.apk
TelephonyProvider.apk
UploadProvider.apk
UserDictionaryProvider.apk

Well, I have it almost finalized, but 2-3 big issues remain. I cant update to the newest busybox, cant add bash or nano. I tried using the kitchen to add these, but every time, it wont get past the green logo. If anyone has any suggestions, please let me know. I have edited some of the boot.img (killed off a2sd). Maybe nobody agrees with what I am doing, but I look at it this way: I only need a rom that has the ability to do prl updates. I kept phone just in case a call comes in while trying to update. There are so many posts in the CM6 thread about updating prl's and everyone is directed to install Fresh, a different large Sense Rom, or something in those regards. PureHero had a smaller footprint, so I used that. Fresh is a very expansive, full-fledged rom, as it should be. If you are loading a rom simply to update the prl, why not make it small and quick? The rom is really fast (no data to back up, just feel), and it is smaller than CM6. Yea, I dont really compare the 2 roms because if I had the same programs on this rom that CM6 has, it would be way bigger, but for people that have done the MTD mod and dont want to have to redo the partitions, this is a great alternative.
I will post this up for people to benefit from what I have done, obviously credits will be given, but I dont want to throw something out to the masses that isnt 100% up to my standards. Please, if anyone has any suggestion to at least update busybox, let me know. Thanks

Related

Stop OTA update for market... [SOLVED!]

how the hell do i change the new market on my theme... it keeps refreshing the stupid new one OTA. I pulled all the system apps with adb to see if it over wrote anything, but to no avail... my original vending is still intact... where is this file so I can have the update automatically included in the build with MY files?????? Please help themers, im still new with this
update:
Ok, so most of you themers probably figured out how to overwrite the market file when its in the data/app/ but after troubleshooting, i could not get it to write to the system/app side... so for now, a temporary solve is to deleter picotts.apk and marketupdater.apk from the /system/app folder... market works still and installs still, just wont be 1.66, which for me doesnt really have any advantages other than the bill to account option... hope this helps some of you
Michaelr219 said:
how the hell do i change the new market on my theme... it keeps refreshing the stupid new one OTA. I pulled all the system apps with adb to see if it over wrote anything, but to no avail... my original vending is still intact... where is this file so I can have the update automatically included in the build with MY files?????? Please help themers, im still new with this
Click to expand...
Click to collapse
it's not you. it has something to do with cyan's latest roms. vending icon goes to stock so i believe it's allowing the htc 1.6 to overwrite it. i believe the only way perhaps to change it is to take vending from the htc image 1.6 itself and theme that. not 100% sure, but that's your best bet . hope it works.
Check my theme thread for more details, but it has to do with a tmo update placing a package com.android.vending.apk in /data/app/ thermr it, sign it in a .zip with the test keys, and pull the .apk from the .zip and push it back to /data/app/
opasha said:
it's not you. it has something to do with cyan's latest roms. vending icon goes to stock so i believe it's allowing the htc 1.6 to overwrite it. i believe the only way perhaps to change it is to take vending from the htc image 1.6 itself and theme that. not 100% sure, but that's your best bet . hope it works.
Click to expand...
Click to collapse
It's not Cy's ROM. It's like david said, the TMO update goes into /data/app instead of /system/app. Once everyone has the update, we can just start putting the themed vending in a data/app folder in our update.zips
jairomeo said:
It's not Cy's ROM. It's like david said, the TMO update goes into /data/app instead of /system/app. Once everyone has the update, we can just start putting the themed vending in a data/app folder in our update.zips
Click to expand...
Click to collapse
yeah my bad for the incorrect info. i just noticed that issue when i was on cyan's latest roms 4.2.7+. dwang's did not have this issue (except for 1.15). thanks for the correct info though .
I don't have the update because I wiped after it rolled out, but my GF's phone has the option to uninstall the update when you click on the Market inside the settings. Has anyone tried this yet? Just curious
jairomeo said:
I don't have the update because I wiped after it rolled out, but my GF's phone has the option to uninstall the update when you click on the Market inside the settings. Has anyone tried this yet? Just curious
Click to expand...
Click to collapse
I have been using this as a solution since the first day the issue arrived. What this does is remove com.vending.apk from /data/app (the tmo update is installed in data instead of system) with a manual delete. I have also tried pushing it back to data/app and the update works after that.
Here is what I have figured out: Do you remember the days of android when when it was first figured out how to manually set up apps2sd? There were many market issues in those days which often resulted from people setting up apps2sd before opening the market and signing the TOS. This same thing is reappearing with metamorph applications, in that after metamorph plays with the framework, the android market (online check server) no longer sees you as having signed the TOS, which normally happens upon the markets first launch. The market app itself has info in the cache that you have signed the TOS, and thus it will launch, but will the online check that occurs will not allow the install. When you downgrade it forces a resign of the TOS, and thus unless metamorph is used again, an upgrade is fine at this point.
jairomeo said:
It's not Cy's ROM. It's like david said, the TMO update goes into /data/app instead of /system/app. Once everyone has the update, we can just start putting the themed vending in a data/app folder in our update.zips
Click to expand...
Click to collapse
since its a tmo update, would it mess up anyones market that doesn't have tmo? or make separate version for people that have or don't have tmo?
yea, i found it last night after posting in the /data/app when i was extracting updated apks doing a backup (with backup for root)
wasnt the place i wouldve expected to find it. i tried renaming it to vending, themeing it, and then putting it back into system apps, but to no avail... so i added a /data/app and am going to have it auto install. hopefully the OTA wont still force it to overwrite my themed files... but thanks for the help guys, i hope this works
yeah im not on TMO im on rogers. i never even got a notice of any kind of update.
bump... check first post

eclair browser in dwang roms

hey you guys,
i'm using a rom i created which is based off dwang 1.17.1, and i'm trying to get the eclair browser like in cyan's build. to run on dwang.
i tried adb pushing... Browser.apk to /system/app/ and libwebcore.so /system/lib
but i reboot and it hangs on the initial start up screen. is there something i'm missing? or is there a bigger issue like perhaps an incompatible framework?
thanx in advanced
echo
the libwebcore.so is also dependant on a certain framework (though I can't remember which) jar and you'd also need libskia and libskiagl from cyanogen's build to get the browser to run.
Thanks for the reply
When I get home imma push thoses libs to the build and I'll post back with the results

How can I add Work Email into the ROM I'm using?

I'm trying out the Blue Magic MK.II ROM and love it, but it's lacking the HTC Framework, I'm assuming.
I pulled the Mail.apk from a different ROM, but I get the message stating it cannot be installed on this phone.
How can I add this into the ROM? I want to be able to use it, but I need the Work Email app.
TIA!
Got it, I had to copy the Mail.apk into /system/app, not just try to run it from the sdcard.

[SOLVED] How do I reinstall some bloatware w/Odex (Daily Briefing)?

I searched and found lots of threads on removing the bloat, not many on how to reinstall. I am going to flash a friend's phone to Cognition Froyo Beta6 and I know she uses this app.
I have successfully reloaded other removed .apk's using the Sideload Wonder Machine. However, this particular application won't install successfully (I'm testing it out on my phone just to see if it can install; I'm running Cog Beta5.5). After it tries to install I get a line saying Failure [INSTALL_FAILED_DEXOPT].
In DG's list of removed bloatware there are two files for Daily Briefing: InfoAlarm.apk and InfoAlarm.odex. Maybe the odex file is the problem? Do I do anything with that file? Drop it in /system/apps before trying to install the apk file? Any help appreciated.
Just get the genie widget. It is much better in my opinion and does the what the daily briefing widget did plus some. Just a thought.
Thanks, I will take a look at Genie Widget.
For what it's worth, I did finally figure out how to reload Daily Briefing. I'll post how I did it here since it may help someone else who is trying to reload an app that includes an odex file.
I used Root Explorer to put both of the files in system/app. Then I adjusted the permissions for the .apk file to: User; read, rewrite, execute - Group; read, execute - and Others; read, execute. I did not "install" the app. I just rebooted the phone and it was there. I don't know for certain, but I would expect this to work for other apps that have a corresponding odex file.
mobius911 said:
Thanks, I will take a look at Genie Widget.
For what it's worth, I did finally figure out how to reload Daily Briefing. I'll post how I did it here since it may help someone else who is trying to reload an app that includes an odex file.
I used Root Explorer to put both of the files in system/app. Then I adjusted the permissions for the .apk file to: User; read, rewrite, execute - Group; read, execute - and Others; read, execute. I did not "install" the app. I just rebooted the phone and it was there. I don't know for certain, but I would expect this to work for other apps that have a corresponding odex file.
Click to expand...
Click to collapse
Thanks for your instructions mobius911. This got me going in the right direction for my issue, which was reinstalling a couple other AT&T apps - AT&T Navigator and Family Map. I got the original AT&T APKs from designgears' list of removed apps in his Cognition mod [http://www.ponack.net/designgears/removed-apps-froyo/]. I knew which one was for AT&T Nav ("ATTNav") but I had to search to find out which APK was the right one for Family Map [http://forum.xda-developers.com/showpost.php?p=8420365&postcount=62]. Then I used Droid Explorer [http://forum.xda-developers.com/showthread.php?t=558108] to install the APKs into system/app. It was pretty easy to do once I figured it out but jeez, it sure took me a while to get there.
deanhatescoffee said:
It was pretty easy to do once I figured it out but jeez, it sure took me a while to get there.
Click to expand...
Click to collapse
That should be the slogan for XDA/Android newguys everywhere. I applaud you, and would give you a cookie if I could.
mobius911 said:
I searched and found lots of threads on removing the bloat, not many on how to reinstall. I am going to flash a friend's phone to Cognition Froyo Beta6 and I know she uses this app.
I have successfully reloaded other removed .apk's using the Sideload Wonder Machine. However, this particular application won't install successfully (I'm testing it out on my phone just to see if it can install; I'm running Cog Beta5.5). After it tries to install I get a line saying Failure [INSTALL_FAILED_DEXOPT].
In DG's list of removed bloatware there are two files for Daily Briefing: InfoAlarm.apk and InfoAlarm.odex. Maybe the odex file is the problem? Do I do anything with that file? Drop it in /system/apps before trying to install the apk file? Any help appreciated.
Click to expand...
Click to collapse
You by any chance have both files still for daily brief? Want to get them back on my phone.
i followed the instructions on root explorer and i get stuck in a boot loop upon reboot. any ideas?
I figured something out with this. I just bought the Samsung Desk dock and wanted DeskHome to work. It has an icon for Daily Briefing and I actually like the program. I am running Cognition 2.3b4 and it does not have the Daily Briefing on it. I had tried backing it up with Titanium backup, but it did not restore correctly.
Anyway, onto the meat of the matter. Cognition v2.3b3 actually DOES have an .apk for the daily briefing in it and it does not require the odex to work. I am assuming Designgears modified it. If you download the Cognition v2.3b3 and extract it to a folder somewhere, you can browse to system - app and find the InfoAlarm.apk there. Then use Root Explorer to copy it into the system - app folder on your phone. Reboot, and you will have Daily Briefing.
This is pretty much the same thing that deanhatescoffee did, but I was unable to find a link to where the extracted .apk files were.
Here is a link to Cognition v2.3b3.
.megaupload.com/?d=1L8GHQQG
ACK! I guess I am a new user so I can't post links? Anyway add an http and www up above and that's the link.
G.Hook said:
I figured something out with this. I just bought the Samsung Desk dock and wanted DeskHome to work. It has an icon for Daily Briefing and I actually like the program. I am running Cognition 2.3b4 and it does not have the Daily Briefing on it. I had tried backing it up with Titanium backup, but it did not restore correctly.
Anyway, onto the meat of the matter. Cognition v2.3b3 actually DOES have an .apk for the daily briefing in it and it does not require the odex to work. I am assuming Designgears modified it. If you download the Cognition v2.3b3 and extract it to a folder somewhere, you can browse to system - app and find the InfoAlarm.apk there. Then use Root Explorer to copy it into the system - app folder on your phone. Reboot, and you will have Daily Briefing.
This is pretty much the same thing that deanhatescoffee did, but I was unable to find a link to where the extracted .apk files were.
Here is a link to Cognition v2.3b3.
.megaupload.com/?d=1L8GHQQG
ACK! I guess I am a new user so I can't post links? Anyway add an http and www up above and that's the link.
Click to expand...
Click to collapse
For simplicities sake...
www.megaupload.com/?d=1L8GHQQG
Thank you very much!

System dump of the 4.1.2 update?

Hi everyone,
I accidentally removed phone.apk from /system/app, thinking I could replace the stock blur dialer application. Unfortunately, the blur dialer which is still being used in the jellybean update does not work well for blind people like myself who use talkback, and I can't find a way to remove it..
Regardless, I did do an adb pull /system/phone.apk prior to doing this but somehow the file cannot be found anywhere. I don't want to reflash as that would require sighted help, something I don't have at the moment.
I'm wondering if anyone has a dump of the d4 4.1.2 image, or can give me the original phone.apk file. Either works for now.
Thanks,
Tomi
http://db.tt/NuVZara3
Phone.apk
http://db.tt/YnAIhe3c
Phone.odex
Could someone get me the apks and odexs for the camera, messaging, and contacts?
Please and thank you

Categories

Resources