Hey all,
Is it possible to unzip any custom ROM, and delete certain APK's from data/app folder or from system/app folder (including the corresponding odex files), thus making my own customized ROM?
I want to make sure there is no checklist file that will produce an error during flashing in the event it is missing certain APK's, or that this won't brick my beloved Desire.
Thanks.
Rusty
Hi! You can modify custom ROMs that way but before flashing you'll have to re-sign the zip, so there won't be an error at the verification stage.Here: androidforums. com/developer-101/8665-how-signing-roms.html you can find a pretty straightforward walkthrough on doing that. (note the space before the .com)
jarrekstar said:
Hi! You can modify custom ROMs that way but before flashing you'll have to re-sign the zip, so there won't be an error at the verification stage.Here: androidforums. com/developer-101/8665-how-signing-roms.html you can find a pretty straightforward walkthrough on doing that. (note the space before the .com)
Click to expand...
Click to collapse
Thanks for the quick reply. I'll give it a try.
You'll have to be careful with what you remove - some things just don't like getting yanked out of there. Keep a backup.
Either way, it'd be pretty hard to brick your phone, you'd just lose some functionality or the ability to boot that ROM. You can always flash back to a working one and try again.
The Professor said:
You'll have to be careful with what you remove - some things just don't like getting yanked out of there. Keep a backup.
Either way, it'd be pretty hard to brick your phone, you'd just lose some functionality or the ability to boot that ROM. You can always flash back to a working one and try again.
Click to expand...
Click to collapse
Thanks. I thought of removing things like Flicker, Facebook, Stocks, Footprints etc. and their widgets..
Those things can be removed in the Modaco online kitchen any way..
On the other hand, I may just become a premium member and bake it in the online kitchen..
Related
to all themers(of cyanogen roms): if you theme the google apps, please make it known in your threads that you have done so. like a warning.
clearly google apps can not be restored anymore by simply flashing the rom, because theyve been removed from it. there are a couple ways to restore them.
1. nandroid
not the best because if you like the theme, either you better keep that old nandroid around for when you get tired of the theme, or it becomes incompatible with updates, OR your screwed. most people wont keep around old nandroid backups. so this method while it works, isnt very pratical
2. bkmo
he if you go to his signature and dowload his file, you can just flash that, then flash your rom, then reboot. now its supposed to work, but for me, i kept losing my auto rotation. i tried everything to fix it(evne the old code in the cyanogen stable thread) but nothnig fixed it. i did not try a wipe. thats because if im gonna wipe, i might aswell use the 4th method. not sure if this is just me, but you could try this, if it works, great! if not, look down
3. daveid
http://forum.xda-developers.com/showthread.php?t=569825
the problem here should be obvious. if you do it this way, then you have to rely on this guy to continue to update his rom for every update cyanogen releases. and look, not to be mean, but 4.1.9999 has been out a while and this has not been updated. so its an option, not a good one, but its there lol.
EDIT: according to daveid, you can flash his update and still flash the cyanogen updates with no problems. so my guess now is this is the easiest way to restore, and actually the original way, cause his is just a normal cyanogen rom.
4. cyanogen!
just start over with the cyanogen way. wipe, flash the htc recovery, flash rom, and your done i chose this way because what better way to use than the way by the maker of the rom? its gonna work for sure. unless YOU screw up. oh and as for the rom, you dont need to literately start over from 4.1.99. just get whatever is the latest rom. unless cyanogen specifically says to start over. doubt that
5. you caan just try what david1171 said about 2 posts down. i havent tried it and dont care much for it cause im done with themes anyway(they just slow my phone down, or least the ones with advanced launcher do). but if it works, it works
thats all i can think of for how to restore themed google apps. if theres any other way, post it! just remember, if you flash a theme with themed google apps, and you lose the nandroid backup before you flashed that theme, be ready to deal with it. hope this helps
btw, i posted this cause i didnt want people asking me how to restore them. i like helping, but i dont have time. so its easier to just make this post, and let people post other/better methods of doing this. so, if you guys still dont understand, ask the people that posted down there, because they know more than me abuot this. ask them
One of the themes to look out for is m_blend sir mez theme has google themed apps I currently have this problem now great theme though
nandroid is the best way to go. you do know that before it was implemented into the recovery image (making it possible for even the dumbest people to restore a nandroid) the only way you could nandroid was through fastboot on a computer, that is why you store things on a computer.
make a folder on your computer, and every time you flash a new rom and get it set up the way you want it, then nandroid and store it on your computer.
you act like it is so hard to pull the apps from the htc file and restore them in recovery without flashing anything
Code:
mount sdcard
mount system
cp /sdcard/appname.apk /system/app/appname.apk
(do as many times needed for every google app themed)
reboot
What apps?
I don't see what the big deal is here. There are only a couple of apps in the HTC image that could possibly be themed here. Like youtube, maps and gmail are the only ones that come to mind. What else is there? Let me know and I will make an update to just restore those apps. In fact the apps folder from HTC has 55 files, and in Cyanogen there are 44.
sahurbari said:
One of the themes to look out for is m_blend sir mez theme has google themed apps I currently have this problem now great theme though
Click to expand...
Click to collapse
You was warned with a pic of the market being red. I like to theme everything to match.
sir*mez said:
You was warned with a pic of the market being red. I like to theme everything to match.
Click to expand...
Click to collapse
slow burn.
4.1.9999 has been out a few days, jesus christ people have a little freaking patience. I will re-up the single flash and theme template when I have time, I work a full time (over 40 hours a week) job, am married, and buying our first house. It is absurd to think that all I spend my time on is updating crap to make your life easier.
So... give me till the weekend like I posted in my thread. You will have a 4.1.9999 update (and theme template). And my update doesn't keep you from following Cyanogen's normal update path. Not sure where that came from. The backuptool.sh that I have removed is in the update itself, it does not reside on the device.
ehh screw it, it was pretty simple to modify the theme template, so a new version is up. Check my thread for links.
for some reason i couldnt do a back up with nandriod now that i have flashed htc rom and cyanogen rom i have no problems but for some reason after i flashed the theme i couldn't restore or do backups but like i said everything is fine now
david1171 said:
nandroid is the best way to go. you do know that before it was implemented into the recovery image (making it possible for even the dumbest people to restore a nandroid) the only way you could nandroid was through fastboot on a computer, that is why you store things on a computer.
make a folder on your computer, and every time you flash a new rom and get it set up the way you want it, then nandroid and store it on your computer.
you act like it is so hard to pull the apps from the htc file and restore them in recovery without flashing anything
Code:
mount sdcard
mount system
cp /sdcard/appname.apk /system/app/appname.apk
(do as many times needed for every google app themed)
reboot
Click to expand...
Click to collapse
thats why i said if there was another way to post it because the ones above were the only ones i knew about. so thanks for post it! and remember not everyone is a code person and knows that stuff, easy for you, "wha?" to others lol
bkmo said:
I don't see what the big deal is here. There are only a couple of apps in the HTC image that could possibly be themed here. Like youtube, maps and gmail are the only ones that come to mind. What else is there? Let me know and I will make an update to just restore those apps. In fact the apps folder from HTC has 55 files, and in Cyanogen there are 44.
Click to expand...
Click to collapse
mainly the market. market just annoyed me since i wasnt using m_blend anymore so it was all out of whack.
sir*mez said:
You was warned with a pic of the market being red. I like to theme everything to match.
Click to expand...
Click to collapse
wasnt there when i got the theme, but good thing you put it there! now people should know. thats as long they dont think the rom will restore it lol
daveid said:
4.1.9999 has been out a few days, jesus christ people have a little freaking patience. I will re-up the single flash and theme template when I have time, I work a full time (over 40 hours a week) job, am married, and buying our first house. It is absurd to think that all I spend my time on is updating crap to make your life easier.
So... give me till the weekend like I posted in my thread. You will have a 4.1.9999 update (and theme template). And my update doesn't keep you from following Cyanogen's normal update path. Not sure where that came from. The backuptool.sh that I have removed is in the update itself, it does not reside on the device.
ehh screw it, it was pretty simple to modify the theme template, so a new version is up. Check my thread for links.
Click to expand...
Click to collapse
if it came across that i was rushing anything my bad but i wasnt. i dont even use yours so dont really care how long you take lol.
and it doesnt? i said that cause thats what bkmo told me, ill change my thread then cause now your way is the best! thanks!
Not nandroid, bart.sh
I've been off straight nandroids for awhile now. I only use bart.sh (http://forum.xda-developers.com/showthread.php?t=562292) to backup/restore. This completely and totally solves the problem. PERIOD. This thread can now be close. LOL.
Found the following on Sirmez's theme xda page.. i flashed it, worked fine, removed his themeing...
If you dont like my Market and want to remove the theme fine heres the theme template, flash it and your free:
http://www.mediafire.com/?yx3kvmzzytw
(flash this to get you back to 4.2.1 as it was before)
APEX.7 said:
Found the following on Sirmez's theme xda page.. i flashed it, worked fine, removed his themeing...
If you dont like my Market and want to remove the theme fine heres the theme template, flash it and your free:
http://www.mediafire.com/?yx3kvmzzytw
(flash this to get you back to 4.2.1 as it was before)
Click to expand...
Click to collapse
I flashed this, and then my gmail app would just force close. Had to nandroid myself back, so now I still have themed google apps :\ I'll try pushing the apks via adb another time.
I like Fresh rom, and Cyanogen. I have only been rooted for a few days.
However, I would like to customize these roms even further.
First, is this frowned upon? Messing with other peoples roms for my personal use?
Second, is there a process I need to follow, or can I just simply delete .apks from the file before I copy it to my SD card then flash to my phone?
I did do a search, and found people saying to unzip, delete .apk's, then re-zip... And other people said unzip, delete, sign, then re-zip...
I'm lost... sorry for being such a noob.
Thanks. Even the littlest help is greatly appreciated.
You can delete apk's from a ROM before flashing and nobody is gonna give you trouble for personalizing their ROM for your personal use. Just be sure that if you're going to release your work to others, you ask the original developer first and give proper credits.
When removing apk's from a ROM before flashing, be sure you know what you're removing, and that it wont cause issues for you. I would recommend flashing the complete ROM and removing apk's one at a time until you are familiar with what does what and what may cause boot issues and/or battery drain. If you remove a bunch of stuff before you flash it, and it boot loops, it may be hard to tell what exaclty the problem was caused by. So, start small and build up to fully customizing, you'll be in the kitchen in no time.
Myself, I use 7zip for opening zips without having to unpack them. So, get 7zip installed on ur cpu. Then right click on the zipped ROM, drag over 7zip and pick open archive. You will now be inside and can modify to your hearts content. Add, remove, swap out, whatever you want. When your done, just close out and the changes are saved. Flash away.
I always make some changes to the build.prop file in /system for reference. such as changing the ro.build.description to something else, so I know which modded version it is. This is what is seen under menu > settings > about phone > software information > build number on ur phone. To edit the build.prop, you will first have to copy it out of 7zip and edit it with word pad or something, then copy it back in. There's lots of fun to have, so go for it! Lots of people here to help if you run into trouble.
Lots of good info above (thanks for the tip on ro.build.description, have to try that now ), but I always resign if I add or remove files.
Sent from my blah blah blah blah
fachadick said:
Lots of good info above (thanks for the tip on ro.build.description, have to try that now ), but I always resign if I add or remove files.
Sent from my blah blah blah blah
Click to expand...
Click to collapse
Yeah, I've gotten lazy ever since going to Eng HBOOT .76 and Amon RA 1.8, no more signature required to flash anything. Not sure if thats always a good thing
Although, you do still have to re-sign non system and market apk's if you want them to install.
JTNiggle said:
Yeah, I've gotten lazy ever since going to Eng HBOOT .76 and Amon RA 1.8, no more signature required to flash anything. Not sure if thats always a good thing
Although, you do still have to re-sign non system and market apk's if you want them to install.
Click to expand...
Click to collapse
Wow thank you for all that info! It's extremely helpful! I feel confident enough to start playing with roms now
Thanks again!
Sent from my HTC Evo 4G.
so i have the bell pay as you go edition of the gio
and when i got it, i just uninstalled as much crap as i could
one of those happen to be 'Talk', which i now discovered is google talk (thought the app was called gtalk)
uninstalling it makes it disappear forever and you cannot find it in the market
in addition to that, i uninstalled whatever app/service needed to run live wallpapers
so if someone could rip/backup those apps and upload it here, many thanks
(i tried installing the talk apk on it's own, and the talk service apks, it does not like me install for some reason)
last question is,
any 5660m users got adobe flash running, i tried the stand alone armv6 apk, installed it, and does nothing
the other flash apk with loading the lib files into the root dir, i have not tried, if i can get the standalone apk working, i'd rather do that
any other tips for the 5660m would be great
thanks
edit - see post #9 (need help with stock browser)
Promise you'll back things up the next time?
Look at my stock rooted ROM for the files you shouldn't have deleted. You should be able to read (not write, at least not in a way the phone can handle) the RFS partitions with MagicISO among others. (Basically any program capable of handling FAT partition images.)
ADB push back the files into place, make sure their permissions are correct.
Can't help you for Flash, I've never tried it myself and my Gio is out of order for the time being.
For flash you need root and push LIB files to /data/data/com.adobeflash***/lib ant set permissions
Sent from my GT-S5660 using Tapatalk
Darkshado said:
Promise you'll back things up the next time?
Look at my stock rooted ROM for the files you shouldn't have deleted. You should be able to read (not write, at least not in a way the phone can handle) the RFS partitions with MagicISO among others. (Basically any program capable of handling FAT partition images.)
ADB push back the files into place, make sure their permissions are correct.
Can't help you for Flash, I've never tried it myself and my Gio is out of order for the time being.
Click to expand...
Click to collapse
so this is something i cant just grab someone's titaniumbackup files and install?
That too, if you have another rooted Gio at your disposal. I answered based the info I got.
ya, sorry, that's sorta what i meant in the first post,
i was actually asking for someone's to backup the gtalk/talk service/app and the live wallpaper service/app with titanium backup and upload it
if someone could do that for me, much appreciated
Try this and let me know if it works.
View attachment TitaniumBackup.rar
thanks, that did the trick
additionally i want to ask:
is the reason 5660m incompatible with most of the custom roms is the slight difference in hardware?
if i were to change microsd card, is a drag and drop to the new card sufficient or are there hidden/protected files that cannot be copied
lastly,
if i were to update the rom/install custom rom, is there any way to back up settings and apps or would i have to do stuff all over again?
gonna bump this again,
I need the stock browser this time, if someone would kindly back up from titanium backup
i'm just testing some compatibilities on certain websites
anonxlg said:
gonna bump this again,
I need the stock browser this time, if someone would kindly back up from titanium backup
i'm just testing some compatibilities on certain websites
Click to expand...
Click to collapse
Enjoy.
FusiveR said:
Enjoy.
Click to expand...
Click to collapse
finally got around, i tried installing it, doesnt work
it starts installing, then resets and browser does not appear in app list
tried both app and app+data
anonxlg said:
thanks, that did the trick
additionally i want to ask:
is the reason 5660m incompatible with most of the custom roms is the slight difference in hardware?
if i were to change microsd card, is a drag and drop to the new card sufficient or are there hidden/protected files that cannot be copied
lastly,
if i were to update the rom/install custom rom, is there any way to back up settings and apps or would i have to do stuff all over again?
Click to expand...
Click to collapse
Only the roms flashed from Odin usually aren't compatible with our phone anything else such as CM7.1, CM7.2, CM9, and all the other roms able to be flashed from
Recovery mode are mostly compatible with our version of gio hope I helped
Sent from my GT-S5660M using xda premium
What isn't compatible are the baseband and the bootloaders.
As long as an Odin-flashable ROM contains only system and boot.img you're in the clear. This is mostly a problem with early Europe/Asia 5660 ROMs.
Drag and dropping your files to the new SD card should do the trick. Hidden files and folders for Android (and Linux) have a dot at the beginning of their name, e.g.: /.android_secure/ and by default there shouldn't be any files with the FAT32 "hidden" attribute set on the SD card. The settings of your Windows Explorer will influence whether or not the latter copy over or not.
Backing up your applications and their settings can be done by applications like Titanium Backup. Most should transfer well from one ROM "family" to another. (As in: from stock to CM7, or CM7 to CM9, or CM9 to stock...) Your mileage will vary if you try to transfer system apps, or system settings.
so why do you (have to?) use odin, i thought there is CWM for gio, isnt that better than odin?
and still looking for a titanium backup of stock browser
maybe i should just install the ics rc
anonxlg said:
thanks, that did the trick
additionally i want to ask:
is the reason 5660m incompatible with most of the custom roms is the slight difference in hardware?
if i were to change microsd card, is a drag and drop to the new card sufficient or are there hidden/protected files that cannot be copied
lastly,
if i were to update the rom/install custom rom, is there any way to back up settings and apps or would i have to do stuff all over again?
Click to expand...
Click to collapse
I dunno what you are talking about, My canadian Gt-S5660M runs all custom firmwares, kernels, scripts etc just fine.
Odin and CWM are different and each serves their purpose.
Odin works with the lower level Download Mode, and can recover from situations CWM can't. It is also the usual way to install CWM in the first place. (You could also do it with a clever dd command on a rooted phone.) It is however cloakware, undocumented, difficult to install, buggy at times and just quirky overall.
CWM is more stable, doesn't require a computer to run, and is generally much safer to use.
AlwaysDroid: If you look at very early posts about the 5660M, many users encountered major issues after flashing European 5660 ROMs. Screen brightness all over the place and no network connection.
The problem was that those ROMs were Odin flashable "One Package" files that contained bootloaders and radio images as well. Those files were required for users upgrading from Froyo to Gingerbread, as stock Gio 5660s were also sold with 2.2 unlike the 5660M.
Just a quick question. I know most people, as am I, are fumbling around seeking for a solution for the difficult Group MMS feature which is missing and nearly incompatible with Touchwiz. Well, I've found an AT&T Galaxy S3 Rom which seems to have solved the problem on their device. I want to try and extract the apk, or even just flash this zip provided by the developer, and see if it translates over.
Now I know I can backup my device, flash the zip, and if all goes to hell just wipe and restore, but I hate tedious endeavors like that and would rather know in advance if it's even worth the trouble to try, or if the frameworks are just too different. If anyone has tried this crossover with success or failure, can you please let me know to save me the trouble? Thanks in advance, and if this turns out to work, I will definitely post it's success somewhere.
PS - I'm on Clean Rom ATT SE 1.5. I know there are some framework differences between stock TW and this rom, so that might have some relative impact. Blah.
I remember seeing a thread in themes and apps about this...take a look there
I would dowload the rom and extract the zip and all framework and lib files necessary to run and a give it a shot. Ask the rom maker what was needed to get it working if you are not sure.
Sent from my GT-N7105 using xda premium
I just down;oaded the zip you refer to and unzipped it and I wouldn't just flash it as it has a build.prop included and chances are it'll mess up your phone anyway as it's for an S3. You could try extracting and just putting the SecMms.apk and SecMms.odex into your system app and make sure permissions are proper, reboot and see if it works. There are a few more files and libs in there but supper is burning lol, I'll have a look later to see if I can get it working on my phone if no one figures it out in the meantime.
Edit....just reread your post and moving those two files wont work....the rom your on is deodexed....sorry
Alot of odd tutorials that require the use of adb and various factory "razor" zips but I cant get anything to work, is there anything as simple as put stock zip on device, reboot into recovery, and wipe/install factory zip?
Thanks
rnaodm said:
Alot of odd tutorials that require the use of adb and various factory "razor" zips but I cant get anything to work, is there anything as simple as put stock zip on device, reboot into recovery, and wipe/install factory zip?
Thanks
Click to expand...
Click to collapse
I am assuming that you need the WiFi version and that you want the latest stock so here is the link to a thread for a flashable stock.
http://forum.xda-developers.com/showthread.php?t=2416438
Thanks Ill check it out, I'm looking to return it and both versions (Odexed/Deodexed? First time Ive heard those terms) are rooted.
Still reading through that thread but looks like the first 7 pages are all people telling him his roms dont work.
rnaodm said:
Thanks Ill check it out, I'm looking to return it and both versions (Odexed/Deodexed? First time Ive heard those terms) are rooted.
Still reading through that thread but looks like the first 7 pages are all people telling him his roms dont work.
Click to expand...
Click to collapse
Odexed - In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
DeOdexed - Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity."
That is an excerpt from Rooting Guide for Dummies.
Deodexed ROMs are more customizable. Odexed are smaller but no major theming such as changing your statusbar. My advice: if you want to stay complete stock forever, flash the odexed version.