Default launcher, and app removal... - Hero CDMA Themes and Apps

Just a few quick questions that I had trouble finding answers to.
1. Easy way to set the default launcher to launcher.apk, even if rosie is removed it still shows up after flashing rom?...
2. When I unzip a rom, remove apk's, resign, and flash, many of the apk's I had removed still show up. Rosie, sprint nfl, default music, htc contacts, etc. Anyone know why this is? Tried with several different roms and wiped excessively. Still seem to be several app's I cannot remove without adb'ing after flash...
Thanks in advance

Make sure you Wipe Data/Factory Reset from the Recovery image before flashing

mrinehart93 said:
Make sure you Wipe Data/Factory Reset from the Recovery image before flashing
Click to expand...
Click to collapse
Turdburglar said:
Tried with several different roms and wiped excessively. Still seem to be several app's I cannot remove without adb'ing after flash...
Click to expand...
Click to collapse
10charsssssssssssssssss

Aah sorry I missed that. It could be that the apps you're attempting to remove that are being left-over are in /system/app... because wiping Data doesn't remove them from there.

mrinehart93 said:
Aah sorry I missed that. It could be that the apps you're attempting to remove that are being left-over are in /system/app... because wiping Data doesn't remove them from there.
Click to expand...
Click to collapse
Thanks, strange, shouldn't it format system/app on flash? Anyone tell me how I might accomplish that?

Actually now that I think about it, even if I adb rm, and flash a rom with the apk's removed, they still show up.

Wow... I have no idea then Nevermind, scratch that! DO you have an ext partition or Apps2SD installed? That would be the culprit!!!!!

mrinehart93 said:
Wow... I have no idea then Nevermind, scratch that! DO you have an ext partition or Apps2SD installed? That would be the culprit!!!!!
Click to expand...
Click to collapse
nope, weird right? think I got sprint nfl out by default finally. Still got Rosie, music, people...
default im won't go away either, or weather.

Screw it, i'll just make a .bat, what a pain...

Well I think I found my problem, not sure how to fix it tho if anyone can lead me in the right direction. I've been using fresh pre-kitchen to sign zips. Seems no matter what I put in the update-script before I sign it with pre-kitchen this is all I have in there afterword...
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
So obviously it's not formatting system. or doing anything but copying "system". I can also try to edit/replace the update-script after I sign the zip but that gives me a "E:/Wrong Digest .../update-script E:Verification failed" error when I attempt to flash.
All I'm trying to do is add a data folder to damagecontrol2.07.2, remove some apps, rosie, add a new taskbar, and lockscreen.
Is there any better easy way to do this, update-script is killing me.....
Suppose I could try to sign it manually, but I'm a noob and lazy I guess, easy and quick is good. Anyone else having this sort of problem with pre-kitchen?
I already got damagecontrol running on my phone with all the things I want using a .bat, just trying to figure out how to put it all in a rom I can flash and be done with it in the future.... Thanks for any help.

I find the easiest way to sign update.zip's is to find the script somewhere around here (I have no idea... I found it like 4 months ago) that adds "Sign Zip" to your right-click context menu. If you do that, then all you have to do is pull the META-INF folder from the ROM you're basing it off of, put that next to System and boot.img in the same directory, highlight them all, zip them, and then right click and sign the zip. That's how I do stuff, and it works perfectly every time.

mrinehart93 said:
I find the easiest way to sign update.zip's is to find the script somewhere around here (I have no idea... I found it like 4 months ago) that adds "Sign Zip" to your right-click context menu. If you do that, then all you have to do is pull the META-INF folder from the ROM you're basing it off of, put that next to System and boot.img in the same directory, highlight them all, zip them, and then right click and sign the zip. That's how I do stuff, and it works perfectly every time.
Click to expand...
Click to collapse
thanks, I'll take a look around for it.

No problem. If it helps, I'm pretty sure I found the script on a Droid forum. I'd help you look for it, but I have homework to do that involves Shakespearian soliloguy's... and Shakespeare is not one of my forte's.

Found one for linux here...
http://forum.xda-developers.com/showthread.php?t=538020
to bad I'm on windows at the moment, might be about time to go back to ubuntu anyway.
Anyone got one for windows for sh..s and giggles?

ahhh well I've been using winzip to zip the files, seems others have been having problems also, supposedly 7-zip works better? I'll post results in case anyone else has similar issues.

Nice! found the windows script for right click also incase anyone wants it.
http://forum.xda-developers.com/showthread.php?p=6232592

Yep problem was winzip. works like a charm when zipped with 7zip... tried zips from both winzip and 7zip with pre-kitchen and the script, update-script in the winzip'd files is always bare. odd. Thanks for pointing me to the script mrinehart, doesn't get easier than that.

No problem! Glad you were able to find it and get everything working

Related

[Q] removed swype by accident!!!

can someone please help me!
the device is almost unusable without swype....
can somene please help me to get the swype files from a the xwjj7 rom?
i dont know how to do it... im one of those 'noobs' im hearing about..
what do i do? how do i do it?
i have tried to download variouos other swype apks but they just forceclose...
andd i tried the beta, but they dont support the tablet screen size..
please help!
An easier method for you would be to perform a Factory Reset.
This will load up the stored ROM file which amongst everything else will load the necessary Swype data files.
Beards said:
An easier method for you would be to perform a Factory Reset.
This will load up the stored ROM file which amongst everything else will load the necessary Swype data files.
Click to expand...
Click to collapse
i tried that
but it didnt
i still only have the samsung keyboard
but no swype
is this a bug? that it doesnt restore swype??
when factory reseting it says
all USER data will be deleted but not system files
isnt that a little dumb?
Mmmm... I've looked into this and yes you are right.
In Android a Factory Reset aka Hard reset resets the phone back to what it was before you installed anything.
However,, if you changed any system files, rom, custom animations, battery bar, deleted bloat ware, or changed any files on the phone, they do not get put back. You need to flash the phone.
So, it would appear your options are again to see if you can either get hold of the two missing files and re-install or use Odin and a copy of the ROM image (samfirmwares.com)
Beards said:
An easier method for you would be to perform a Factory Reset.
This will load up the stored ROM file which amongst everything else will load the necessary Swype data files.
Click to expand...
Click to collapse
No it won't - /system is usually read-only unless you root, so it "assumes" that /system has been untouched and does nothing with it.
Regards,
Dave
foxmeister said:
No it won't - /system is usually read-only unless you root, so it "assumes" that /system has been untouched and does nothing with it.
Regards,
Dave
Click to expand...
Click to collapse
Yes Dave, I've just realized it was a rooted phone and we were talking of system files.
If you are unfamiliar with mounting RFS files, I'd suggest you download MoDaCo's ROM from here as it is a zip file.
You can then extract the /system/app/Swype.apk and /system/lib/libSwypeCore.so from the zip file and push them to the appropriate directories on your Tab.
Regards,
Dave
foxmeister said:
If you are unfamiliar with mounting RFS files, I'd suggest you download MoDaCo's ROM from here as it is a zip file.
You can then extract the /system/app/Swype.apk and /system/lib/libSwypeCore.so from the zip file and push them to the appropriate directories on your Tab.
Regards,
Dave
Click to expand...
Click to collapse
modaco swype is small you going to waste your time
download ultra iso . find the tar for your rom. extract the factoryfs and open with ultra iso and then remove what you need
b0ricuaguerrero said:
modaco swype is small you going to waste your time
download ultra iso . find the tar for your rom. extract the factoryfs and open with ultra iso and then remove what you need
Click to expand...
Click to collapse
Some people actually prefer the smaller Swype - even in landscape mode!
MoDaCo Beta 2, which should be released today, has the full res Swype according to the change log.
Regards,
Dave
foxmeister said:
Some people actually prefer the smaller Swype - even in landscape mode!
MoDaCo Beta 2, which should be released today, has the full res Swype according to the change log.
Regards,
Dave
Click to expand...
Click to collapse
It's interesting that there is so much controversy regarding the different swype versions. It seems to be a fashion vs function argument, fullscreen swype definitely looks better when you're looking at it on the screen, unfortunately in landscape it is useless for actually swyping as the keys are too far apart, thus the smaller keyed version. That being said it really is very easy to push, or copy using Root Explorer, whatever version you prefer to the tab as mentioned above.
I can Swype perfectly fine using the fullscreen one. Maybe the smaller one so that's it's under your right thumb (or left, if you're cool) instead of in the middle

[Q] Can't see Zip files in recovery

after flashing several roms back and foward, I'm having this problem, if I go into recovery I can't see any zip file at all, folders are there, but no zip files, I can still install from Rom manager but not from recovery since i cant find them, Please help
Running Ginger Beast 2.1.2.
But regardless what rom I'm running Zip's are gone
Are they on root of SD card or in a folder? If in a folder, try them in the root. I have never tried with them in a folder, but instructions always say put them on the root so there must be a reason.
they are on root, just can't see them from recovery, but can see and flash from Rom Manager.
I place my ROMs in a folder along with another folder containing kernels and system tweaks, there really is no problem placing them in folders.
I will try that, will let you know
Well guest what I can see them when I place them under a folder! Weird but I guess is another way to do it, I will still like to know why I can't see them on the root.
dragonfuego said:
Well guest what I can see them when I place them under a folder! Weird but I guess is another way to do it, I will still like to know why I can't see them on the root.
Click to expand...
Click to collapse
Try throwing a z in the file name and scroll all the way down while in CWR and see if it appears...maybee you couldnt decipher the right file out of a lot of others.
Folders make everything easier
Nope I always erase old roms from my phone, for some reason they just won't show
Hmm... Well thank you for that bit of info. I had a few roms j downloaded to play around with in folders never tried flashing! I always assumed since they stress placing them on a root there must be some reason! Well I guess the old saying about what happens when we assume holds true! I would thank now but can't from the app. Will do it soon!
Sent from my Inspire 4G using XDA App
I am not positive why Devs tell people to place them on the root of the SD card, but I have somewhat of an idea...
Many users simply do not know how to work there way around a file system and so they just infer every user doesn't understand and so placing on the root is just the easiest to do.
Yeah that's what I was thinking too... You'd think anybody who could root and use cwm would not be big enough noobs to fail with folder structures. Oh well. Thanks again!
Sent from my Inspire 4G using XDA App

Remove UOT Mods?

Anyone know if there is a way to remove UOT mods (like animations and battery meter stuff)? Or, is the only way to restore from a nandroid backup? thx
Four-Fifty-X said:
Anyone know if there is a way to remove UOT mods (like animations and battery meter stuff)? Or, is the only way to restore from a nandroid backup? thx
Click to expand...
Click to collapse
Flash original ROM framework.
Basically, flash ROM without wiping data and stuff and it will replace UOT with original framework.
Or if you still have the original framework-res.apk...just put it back into \system\framework.
Nickovtyme said:
Flash original ROM framework.
Basically, flash ROM without wiping data and stuff and it will replace UOT with original framework.
Or if you still have the original framework-res.apk...just put it back into \system\framework.
Click to expand...
Click to collapse
Tried copying the original framework-res.apk and got boot looped... oh well, restoring now...
Hmmm...thats worked for me in the past.
But you could've just reflashed the ROM. If you don't wipe data you won't lose anything.
Four-Fifty-X said:
Tried copying the original framework-res.apk and got boot looped... oh well, restoring now...
Click to expand...
Click to collapse
This process will NOT work on Inspire like it does on Captivate.
I too learnt about this only some time back.
On Captivate, u r copying to internal SD, and moving from there. So it works.
On Inspire, its the external SD where u r copying it to. U would need to copy it to /system folder, and then move it to /system/framework.
Or
U cud update the CWM flashable zip with these files and flash it.
Copy to /system. Set permission to read/write, read, read.
Then MOVE from /system to /system/framework.
Youhave to do it this way cause you have to set the permissions correctly before you overwrite the old framework - so you copy to /system first to get the permissions how they should be, then move to /system /framework.
If you do it like.this you'll be fine, if you don't=bootloop
di11igaf said:
Copy to /system. Set permission to read/write, read, read.
Then MOVE from /system to /system/framework.
Youhave to do it this way cause you have to set the permissions correctly before you overwrite the old framework - so you copy to /system first to get the permissions how they should be, then move to /system /framework.
If you do it like.this you'll be fine, if you don't=bootloop
Click to expand...
Click to collapse
Yep, found that out the hard way. Retested it too. Once you copy over the old framework, you can't do anything, including setting the proper permissions...
No big deal like I said. I had a backup, but it was a month or so old, so I had to do a little re-installing and stuff...
Sorry... I wasn't trying to tell ya wrong. I knew I had done it I'm the past but I forgot exactly how. I think ultimately I just reflashed the original ROM.
I learned something too.
Nickovtyme said:
Sorry... I wasn't trying to tell ya wrong. I knew I had done it I'm the past but I forgot exactly how. I think ultimately I just reflashed the original ROM.
I learned something too.
Click to expand...
Click to collapse
Cheers
After close to I think half a dozen boot loops, dilli (dilligaf) cleared me out why the process that worked all the time on captivate does not work on inspire.

[Q] Mod'ing System APKs

Hoping someone can give me a hand here... I feel like I am missing something obvious.
I wanted to learn how to make changes to system APKs, more educational than anything else... figured I'd do something simple like edit mms_config.xml for a slightly larger width/height in Mms.apk
I downloaded APK Manager and followed the steps (I thought). I decomplied the APK, made the adjustment, and recompiled the APK... choosing 'y' when it asked if it was a system file. The new APK was created (called unsignedMms.apk, which I figured was correct since it said never to sign system apps).
I renamed the file to Mms.apk and used root explorer to copy it over to /system/app. However, upon reboot the app doesn't install, as if the file is not there (but it is there and has the proper permissions).
Anyway... feel like I am missing something obvious, but I'd appreciate some enlightenment.
Thanks in advance.
Well, the info seemed confusing so I tried signing it anyway... and then after pushing the signed APK and rebooting the app was installed. I thought finally it was fixed.... but no, lol.
The app FC'd instantly upon opening, even if data was wiped and permissions fixed. I restored the original so I'm fine... but I wish I knew what I was being stupid about, lol.
Never re sign a system app, don't push it either. Flash it in cwm, and if it boots and force closes run adb logcat to see what your exact error is.
Sent from my Nexus S 4G using Tapatalk
dreamsforgotten said:
Never re sign a system app, don't push it either. Flash it in cwm, and if it boots and force closes run adb logcat to see what your exact error is.
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Hrm... no dice. I took the unsigned APK I created and flashed it instead of pushing it and it acts as if it's not installed (the apk is in the right place with the right name and permissions).
I must be missing some fundamental step in the creation process.
Edit: This is the APK if that is useful in identifying my ignorance, lol.

[Q] newb problem How to rezip a rom

I have googled this alot and have not found any helpful results. I have unziped a rom I like to remove some .apks and add some of the ones I always find myself re-installing. I also have been playing with the build.prop, and the framework. I'm not trying to steal anyones work I just want to have a fresh version of this rom when I go back to it (which I do about once a week). my intent would be to flash, enter my wifi and google passwords, and start using it. I know I can just do a backup and reinstall that, but this has been helpful with my trying to understand how to build a rom and what makes it work. My question being what are the steps to rezip this rom into a flashable update. I have tried dsixda kitchen with no luck, just reziping it, and some other dumb methods. What am I missing here? plz help thank you.
also don't think it matters but this is for a o.g. evo
we got same problem, i edited a working rom for galaxy y (adding and removing some apk) then i was like huh??? what to do next, tried zipping it but doesnt work. hope.someone will reply here.
Sent from my Nokia 3310 running ICS
The problem is the signature verification of the ROM. We sign the ROMS when we create them.
No idea what custom recovery you might use but there should be an option to disable it before you try flashing.
I hope this helps.
No I have cwm and I disabled signature verification, it still starts fine says updating than immediately says its failed
Sent from my PC36100 using XDA App
I also just have it in the folders it unzips in then inside a folder and I just zip that folder is that not right I don't know lol hope someone can help
Sent from my PC36100 using XDA App
That's what's wrong. You can't zip an entire ROM as a folder then zip that folder. Doesn't work that way.
Open a ROM. See how its packed. You'll have a system folder, data, sdcard perhaps. But that's how you package it.
This isn't as easy as you think. You can't just hack stuff up and expect it to work if you don't do it properly.
MattCrystal said:
That's what's wrong. You can't zip an entire ROM as a folder then zip that folder. Doesn't work that way.
Open a ROM. See how its packed. You'll have a system folder, data, sdcard perhaps. But that's how you package it.
This isn't as easy as you think. You can't just hack stuff up and expect it to work if you don't do it properly.
Click to expand...
Click to collapse
No I'm leaving the folders inside the ROM intact. everything is in a folder with all the folders ( data folder, META-INF folder, system folder ect..., and the boot image inside that single folder and then I am ziping all those items in the folder into a zip. I just can't get it to flash it starts then after a second of installation it says aborted.
sknight13602 said:
No I'm leaving the folders inside the ROM intact. everything is in a folder with all the folders ( data folder, META-INF folder, system folder ect..., and the boot image inside that single folder and then I am ziping all those items in the folder into a zip. I just can't get it to flash it starts then after a second of installation it says aborted.
Click to expand...
Click to collapse
Zip up the ROM you want. Take that ROM to the kitchen then build it again. Try that. Sign it and everything. If you want a walk through PM me and ill give you my gtalk address.
sknight13602 said:
No I'm leaving the folders inside the ROM intact. everything is in a folder with all the folders ( data folder, META-INF folder, system folder ect..., and the boot image inside that single folder and then I am ziping all those items in the folder into a zip. I just can't get it to flash it starts then after a second of installation it says aborted.
Click to expand...
Click to collapse
After reading this more I'm still understanding that the data and meta, system folders are in a folder, then that folder is zipped.
This is incorrect way to package it. The data, meta, system etc needs to be zipped all together as one. Not in a folder that is zipped. Make sense? Hope this explains more.
I'll try that I guess Mabry them all being in a folder is the prob I hope thanks man
Sent from my PC36100 using XDA App
Yup. Let me know if you need anymore help and if that works for you.
MattCrystal said:
After reading this more I'm still understanding that the data and meta, system folders are in a folder, then that folder is zipped.
This is incorrect way to package it. The data, meta, system etc needs to be zipped all together as one. Not in a folder that is zipped. Make sense? Hope this explains more.
Click to expand...
Click to collapse
lol so I find this funny but after some research I found that their were some commands in my update script I was leaving in that needed to be removed because I was removing the apk from the rom but it was looking for them and causing errors so after all my headaches it was something simple that'll teach me not to mess with something that aint broke
just tryed to flash it and now after it almost finished flashing I got
"update sdcard/romname/blah blah. failed"(status 6)
does that mean anything to you besides that I messed something up?
I playing with a sense 3.5 rom on a gb 2.3.5 base. Is their an easier rom to play with thats is more user freindly for a newb? mabey takeing the original ruu and tweaking that? I just want to start somewhere and develop my skills.
sknight13602 said:
just tryed to flash it and now after it almost finished flashing I got
"update sdcard/romname/blah blah. failed"(status 6)
does that mean anything to you besides that I messed something up?
I playing with a sense 3.5 rom on a gb 2.3.5 base. Is their an easier rom to play with thats is more user freindly for a newb? mabey takeing the original ruu and tweaking that? I just want to start somewhere and develop my skills.
Click to expand...
Click to collapse
k I got it now thnx for your help MattCrystal
Your welcome. Every phone works a little differently but get used to having problems and fixing them. Part of the struggle. And to me the fun. I love troubleshooting.
i think just open the zip (not unzip it)..
when dialog box open,,you can choose the apk or the others you want to delete..
if you want add somthing to zip,,just open the folder location you want add that,,and than drag n drop the file(s)..
thats it..
than close the dialog box..
winrar will ask you to save the change or not,,choose,,save..
its work for me..
P.S.
use the rom by yourself..
as your personal rom..
if you want to publish it,,ask the permit from the devs..

Categories

Resources