[Q] Request Help modifying an app - Droid X Themes and Apps

Been trying to do this for a few days, can't get it to work.
I'm trying to modify the SMS Unread count widget so that the Widget is White instead of green. I can get it into the apk fine, but I can't get the app to install after I modify it. I have no idea why. If i push it with adb, it doesn't install, if I try to install it on the phone, it won't install.
I attached my image, the original apk and my modified apk. Make sure to rename it if you try to do anything.
Thanks for any help.

could be a simple reason why its not installing.
Dumb question 1, did you uninstall old app or are you pushing over it?
Dumb question 2, are you trying to push to /data/app?
Is this app just an unread sms widget?

1. I tried pushing over it as well as uninstalling.
2. That's where I was pushing it to, yes.
Tried it both ways, can't figure it out.
Edit: I should note that it will start to install, then say installation unsuccessful.

To mount the data use..
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
cp........blah blah
reboot
you cant remount the data, you need to reboot.
If that doesnt work, mount the data again then remove, reboot, then push the app to /system/app. Had to do that with some apps.
Let me know.

Got it to work by pushing it to /system/app/ instead of /data/app/. Thanks for your help! You helped me achieve this =). White instead of green.
The Messaging and Gmail icons are widgets that show unread count in a bubble at the top right.

Glad to help
But im confused. Your using an extra app to do something launcher pro does by default?

Is that one of the options within launcher pro? I've always used this widget because I'm used to ADW. I'll have to check it out.
Question, why did it only work within /system/app/ and not /data/app/?
Edit: Just tried it and that actually works well too. I thought it only worked with the default icon for Messaging within LP. Now I have options at least

data/app doesnt like to play nice, did you try the mounting code for data i gave? Someone had to point me to it.

I did try your code, the file went there, but wouldn't function. Pushed it to /system/app/ and it was in the widgets option after long press on homescreen.

The X is a fussy little s.o.b

gnomesarealive said:
I did try your code, the file went there, but wouldn't function. Pushed it to /system/app/ and it was in the widgets option after long press on homescreen.
Click to expand...
Click to collapse
It's a market app, so you can't just push it to /system/app. You have to uninstall the old one, then re-sign the modified APK, then install it using ADB install.

btdownloads7 said:
It's a market app, so you can't just push it to /system/app. You have to uninstall the old one, then re-sign the modified APK, then install it using ADB install.
Click to expand...
Click to collapse
Not true. I have pushed many apps. I still have yet to use adb on my x.
Sent from my DROIDX using Tapatalk

Did you sign the apk with release keys. If not it will fail to install after you modify it.
Sent from my DROIDX using XDA App

nope, never have, i have pushed apps to both system and data. What do you mean by signing though in case i run into it.

Related

Lost SenseUI Widgets fix

There are two ways to get your Widgets back when they disappear.
1. Menu > Settings > Applications > Manage Applications > HTC Sense > Clear data.
This works, but you loose all the modifications you did to your home screens to get them the way you like.
Or
This method will preserve your screens without losing anything.
2. Use an app like Root Explorer (paid app but well worth it). Goto the following directory /system/app ,make the directory r/w, Click on the com.htc.MusicWidget.apk and tell it to install. Then go to the HTCClockWidget.apk and tell it to install.
If any other htc widgets are missing it is safe to come back and install them too if need be.
Now go to your home screen long tap on were the clock goes and install the clock, then go to were ever your music widget is and do the same. Also for any other HTC Widgets that may be missing.
Walla all fixed and your screens are still intact.
Thanks I needed this.
scirio said:
Thanks I needed this.
Click to expand...
Click to collapse
My pleasure. I got sick and tired of having to set things up all the time as I am always jumping from rom to rom.
I don't have HTCWeather.apk or HTCClock.apk in /system/app
I do have HTCWeatherWallpaper.apk and HTCClockWidget.apk though.
So I guess i can't do this unless I push the weather and clock apps in adb push style. Anybody know where I can find those? I imagine my widgets and music player widget disapeared because they didnt come with the rom...
scirio said:
I don't have HTCWeather.apk or HTCClock.apk in /system/app
I do have HTCWeatherWallpaper.apk and HTCClockWidget.apk though.
So I guess i can't do this unless I push the weather and clock apps in adb push style. Anybody know where I can find those? I imagine my widgets and music player widget disapeared because they didnt come with the rom...
Click to expand...
Click to collapse
Just install HTCClockWidget.apk and your clock will be back
I updated the first post to clarify a bit better on which files to install. You can install any of the htc widget files without hurting anything
Which apk handles the Wifi/Bluetooth/Airplane/GPS toggle widgets? Those I lost and use all the time.
EDIT: must be HTCsettingwidgets.apk
duh.
EDIT2: Confirmed. that's the one.
scirio said:
Which apk handles the Wifi/Bluetooth/Airplane/GPS toggle widgets? Those I lost and use all the time.
EDIT: must be HTCsettingwidgets.apk
duh.
EDIT2: Confirmed. that's the one.
Click to expand...
Click to collapse
I never had to redo that one. It came back on it's own when I did the clock and music. But I guess your mileage may vary from mine a bit.
jeb0921 said:
There are two ways to get your Widgets back when they disappear.
Or
This method will preserve your screens without losing anything.
2. Use an app like Root Explorer (paid app but well worth it). Goto the following directory /system/app ,make the directory r/w, Click on the com.htc.MusicWidget.apk and tell it to install. Then go to the HTCClockWidget.apk and tell it to install.
If any other htc widgets are missing it is safe to come back and install them too if need be.
Now go to your home screen long tap on were the clock goes and install the clock, then go to were ever your music widget is and do the same. Also for any other HTC Widgets that may be missing.
Walla all fixed and your screens are still intact.
Click to expand...
Click to collapse
Is there any way to do this without Root Explorer, or a free alternative? Or maybe some adb shell commands?
e30user said:
Is there any way to do this without Root Explorer, or a free alternative? Or maybe some adb shell commands?
Click to expand...
Click to collapse
Never tried it in adb. I am sure you probably could. just be a matter of making the system/app directory r/w. Then installiing the apps. Since you don't wipe, or clear the data, it is still there so your stuff remains.
Any adventurous souls who really know their way around adb want to take it on. I am sure we would all appreciate it. maybe even write a script to do it for us.
I'm getting "application not installed" when I try to install the widgets, even though I made /system/app and the files themselves r/w (and /system is mounted rw). What am I doing wrong?
Same thing here. Running DamageControl 2.07
not to be a ****, but losing is spelled 'losing', and where is spelled 'where'.
ah, and the clock w/ weather widget is called
HTCClockWidget (obvious I guess, but this is the one I was looking for (and doesn't have a com. prefix))
jonnythan said:
I'm getting "application not installed" when I try to install the widgets, even though I made /system/app and the files themselves r/w (and /system is mounted rw). What am I doing wrong?
Click to expand...
Click to collapse
same issue
jonnythan said:
I'm getting "application not installed" when I try to install the widgets, even though I made /system/app and the files themselves r/w (and /system is mounted rw). What am I doing wrong?
Click to expand...
Click to collapse
Same here...used to work fine this way before -_-
jeb0921 said:
Never tried it in adb. I am sure you probably could. just be a matter of making the system/app directory r/w. Then installiing the apps. Since you don't wipe, or clear the data, it is still there so your stuff remains.
Any adventurous souls who really know their way around adb want to take it on. I am sure we would all appreciate it. maybe even write a script to do it for us.
Click to expand...
Click to collapse
Create a ReinstallWidget.bat file and add these lines into:
adb remount
adb shell cd /system/app
adb shell install /system/app/Calendar.apk
adb shell install /system/app/DCSWeather.apk
adb shell install /system/app/com.htc.WeatherWdiget.apk
adb shell install /system/app/HtcClockWidget.apk
adb shell install /system/app/htcbookmarkwidget.apk
adb shell install /system/app/htccalendarwidgets.apk
adb shell install /system/app/com.htc.MusicWidget.apk
adb shell install /system/app/HtcContacts.apk
adb shell install /system/app/htccontactwidgets.apk
After creating the file, let me know if it works. No risk here if it's already installed, ADB will just report the app is already installed and do nothing else.
Haven't tried this myself, but it may work.
76flip said:
same issue
Click to expand...
Click to collapse
Same here.
I'm so bored of clearing and rebooting.....
This is getting rediculous. I have done FULL wipes of every option, reflashed, cleared sense, tried to reinstall using root explorer, and still can't get the damn things back...
EDIT: Funny...reboot one more time...and they are all back...so much bull...but I am happy to have it working again.
Wasney said:
This is getting rediculous. I have done FULL wipes of every option, reflashed, cleared sense, tried to reinstall using root explorer, and still can't get the damn things back...
EDIT: Funny...reboot one more time...and they are all back...so much bull...but I am happy to have it working again.
Click to expand...
Click to collapse
I'm also getting sick of it.
I'm now stuck in a loop with HTC Photo Frame. Add Widget --> Choose Album --> Choose Picture --> Saving Picture --> Choose Album --> Choose Picture etc etc etc etc etc etc etc
I'm just going back to my stable 2.06
**EDIT. So WTF. My 7th attempt at adding a pic, and it works......what's wrong with this ?
its funny how its working for everyone all of a sudden. some sort of a conspiracy I tell you.

Update Gmail App

I am looking for the updated gmail app. Does anyone have the .apk file?
Sent from my PC36100 using XDA App
Version 2.2 is what I have, or is there something newer?
Sent from my EVO with swype on the XDA app
It has been updated today. Ive been looking for it too
Sent from my PC36100 using XDA App
try this one.. taken from a zip in the first post on the following thread:
http://forum.xda-developers.com/showthread.php?t=735596
version 2.2.1 gmail.apk
You may need to push through ADB as it was taken from a flashable package.
Edit: I can confirm this works. Just installed it on my phone. Rebooted and got the "whats new" screen when first opening gmail. Also reply button is at the top along with all other changes.
To install, copy over to /system/app with root explorer or push through ADB with "adb push Gmail.apk /system/app"
Verified also working on other phones. Also, if you are on an odex'd rom, make sure you delete original .apk and .odex files.
works good on Fresh 3.1.0.1, thanks!
I am running BS 1.4 and I can't get it to work. I was an idiot and overwrote the original gmail.apk. Do yall have the original froyo gmail.apk.
Thanks ahead.
Never mind I got it to work and I love it.
Thanks superevilllama!!!
I can install the APK onto my phone but I wouldn't mind waiting for the official release of the app.
Does anyone know how it will become available? Is it through an OTA or will it be in the Market?
What else has changed besides the snapping to top reply button bar?
oxeneers said:
What else has changed besides the snapping to top reply button bar?
Click to expand...
Click to collapse
According to androidcentral.com it includes "lots more stuff you will love" in addition to that. They do have some screenshots though..
http://www.androidcentral.com/newest-google-apps-bring-welcome-changes-gmail
cant u just update it on the marketplace or no?
SiL3nTKiLL said:
cant u just update it on the marketplace or no?
Click to expand...
Click to collapse
If I would have posted that, I probably would have searched the marketplace first to find out that no you cannot, at least not yet.
I think google may be moving everything towards being able to update individual gapps through the marketplace, but not quite yet. Plus I am not sure whether this has been officially released.
Can anyone explain how to install this via terminal emulator?
I've tried "cp" and I've tried "install" - always get the "File exists" error.
Am I using the wrong command? Can't use adb since I'm not at my computer for a while.
fchipm said:
Can anyone explain how to install this via terminal emulator?
I've tried "cp" and I've tried "install" - always get the "File exists" error.
Am I using the wrong command? Can't use adb since I'm not at my computer for a while.
Click to expand...
Click to collapse
Try just cut and paste with root explorer and reboot. A whole lot easier.
Either way you have to mount /system/app as RW before it will let you modifiy it.
superevilllama said:
Try just cut and paste with root explorer and reboot. A whole lot easier.
Either way you have to mount /system/app as RW before it will let you modifiy it.
Click to expand...
Click to collapse
Hey thanks for this. Never tried Root explorer - worked like a charm. Dunno why I've always been messing with terminal and adb when it's been this easy

icon for Gmail????

Ok i can't stop messing with my X. does anyone know what file the gmail icon is in.I am talking about the one that appears in the top left of the notification bar when you get new gmail. i tried changing the icon I found in the gmail app itself and had no luck when i got new mail.
No biggie if no one does just like to tinker.
Nycorduroy
nycorduroy said:
Ok i can't stop messing with my X. does anyone know what file the gmail icon is in.I am talking about the one that appears in the top left of the notification bar when you get new gmail. i tried changing the icon I found in the gmail app itself and had no luck when i got new mail.
No biggie if no one does just like to tinker.
Nycorduroy
Click to expand...
Click to collapse
I forget the name off the top of my head but if memory serves me it is in the framework-res.apk. So if you know what you have now decompile that and look in there to change it.
it used to be in the gmail apk, but since we got the update, search your data/app folder. you will find the update in there. For this one you must pull it from your phone, delete the old update (via market or app manager) change your image drop it into a good apk (one that wasnt decompiled) then re sign it. then install from sd or adb.
So in data/apps I see com.google.android.gm-1.apk. I checked and sure enough the icon is in there. So let me see if I got this right. Pull that file using adb to my computer. Then uninstall gmail app from phone. Download clean gmail app from market. Place icon I want in the apk using something like 7zip and then install gmail??? Am I understanding you correctly?
Thanks bad
Sent from my DROIDX using XDA App
pull the apk
uninstall gmail
modify the apk
sign the apk
install new apk
Ok hopefully last question. what is the best way to sign an application??
Edit: alright I figured it out. Thanks again bad4u
no prob, sorry i wasnt able to get back to ya on the last question.
Alright,
I have tried and tried but no luck. Here is what i have done so far:
pulled the update from phone. uninstalled gmail updates. Modified the icon image in the gmail update. Signed the modified new gmail update apk ( did it twice separately with 2 different methods found on these forums). Sent signed, modified new update for gmail back to data/app on phone. disconnected phone from pc. through root explorer clicked on the new update. It attempts to install and then comes back with application failed to install. Just to check if i click on the unmodified update.apk it installs just fine.
Any ideas?? So little of a mod, but it is driving me nuts!!!
nycorduroy said:
Alright,
I have tried and tried but no luck. Here is what i have done so far:
pulled the update from phone. uninstalled gmail updates. Modified the icon image in the gmail update. Signed the modified new gmail update apk ( did it twice separately with 2 different methods found on these forums). Sent signed, modified new update for gmail back to data/app on phone. disconnected phone from pc. through root explorer clicked on the new update. It attempts to install and then comes back with application failed to install. Just to check if i click on the unmodified update.apk it installs just fine.
Any ideas?? So little of a mod, but it is driving me nuts!!!
Click to expand...
Click to collapse
You placed in system/data then tried to install? if so just place on sd then try to install.
Are you decompiling then recompiling? if so, just take your edited images and drop them into the apk you didnt decompile, into their correct folders then resign.
do you have "unknown sources" checked in settings>app
try those, if you still cant get it, i might be able to look at them and check it out.
Finally got it!!! The only way I got it to work after trying every possible suggestion was to use Ninjamorph. No matter how many times i uninstalled, edited, signed, and attempted to install I kept getting application did not install. Don't know why but it would not accept my signed apk. I never even decompiled it. Weird but i am new at this stuff. ninjamorph took the least amount of work and effort and it worked 1st try.
Go figure.. thanks bad4u for all your help. i almost gave up but your suggestion kept me going.
Now, what can i mess with
I would like to see the image you used. Maybe I will do the same. Could you do a little step by step on your ninja morph process? Thanks.
Sent from my DROIDX using XDA App
Ok I attached icon I am using.
These were my steps. 1. Download and install Ninjamorph from market
2. Put the gmail icon on root of sdcard
3. start ninjamorp
4. click allow checks in ninjamorph
5. when done click start new project
6. click data folder
7. click app
8. scroll down to and click com.google.android.gm-1.apk
9. NM will extract files, just wait
10. when down click res
11. click drawable-hdpi
12. scroll down and click stat_notify_email.png
NM will bring you to the root of the sdcard
13. click on the new icon that you want to use
14. NM will replace it, once done, click on blue arrow in bottom right of NM
15. click finish project
16. You should see com.google.android.gm-1.apk. Click it.
17. hit ok at all warnings. One will mention zipalign or something like that I clicked no for that one.
18. Phone should reboot (if not do it yourself) and you should have the new icon appear in top left of notification bar when you get Gmail.
This is how I got it to work. Of course make a backup and don't blame me if anything screws up
Nycorduroy
Here it is in action
Man! That is the kind of write up I can appreciate.
+10
Do you have any other images you can share? i.e. tweetdeck, set cpu etc?
Also - I assume - just right click on the icon and "save as"? It is the proper size? I mean the gmail icon is the exact one you are using?
thanks a bunch.
glad you like the right up. This forum has taught me so much so I gotta give back what little I do know. Yeah just right click and save as. It is the right size and named correctly. As for other icons, don't have anything special really. All the ones I have, I've snagged from these forums and other droid spots.
where is this icon on gingerbread? Ur Guide doesnt works for me :-( ne new icon is inside the .apk file but still the old gmail icon appears and makes me crazy
im on gingerbread 2.3.3 with a ram build on HTC HD2
any help?
honki said:
where is this icon on gingerbread? Ur Guide doesnt works for me :-( ne new icon is inside the .apk file but still the old gmail icon appears and makes me crazy
im on gingerbread 2.3.3 with a ram build on HTC HD2
any help?
Click to expand...
Click to collapse
I'm having the same issue I've tried everything to change it.

[UPDATED 11/1/2012] [Exclusive] Unreleased Gmail 4.2 APK With Pinch-To-Zoom

here it is guys, the newest Gmail 4.2 Reported to be working for Android 4.0+, rooted devices only. If you are having issues with 'waiting to sync', clear app data under settings and try again
Installation Option 1:
uwdus said:
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
get it here
Video review courtesy of qbking added
original link: http://www.androidpolice.com/2012/1...ed-gmail-4-2-apk-with-pinch-to-zoom-and-more/
Just keeping this on the first page
Sent from my SGH-T999
Is it really official one from Google?
Cuz I don't want my Google account to be stolen
Sent from my GT-I9100 using xda app-developers app
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
uwdus said:
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
So you didnt have to go through all the steps outlined in the first post?
If someone can invert this, it would so awesome!
Works fine by doing what Uwdus said, just uninstall the old gmail with titanium backup and then use a root explorer to push the new one to system/app and reboot.
I just renamed the gmail .apk and .odex to .bak and .odex.bak respectively in es explorer, and rebooted. Than I moved the Gmail2.apk to /system/app, fixed permissions, and installed. One more reboot and wala - she was up and running! Thanks for this, very sweet!
Sent while rotating @ 860mph
very nice. worked like a charm.
Awesome, finally pinch to zoom
Please, someone make it it inverted with holo colors
Phelicks said:
Please, someone make it it inverted with holo colors
Click to expand...
Click to collapse
+10000000
×*Don't Stress Too Much Over Android. Just Get A Device That You Like & Make Sure That It Has Good Development*×
I installed it, nothing happens it tries to sync and it just stops.
So can someone make a flashable zip file please?
Running:
HTC MyTouch 4G. True perm root s-off. Rom - Awesome ics 3.7.
-------------------------

Sent from my MyTouch 4g using Tapatalk 2
nice..... thanks for sharing
GCHiker said:
..... .....Than I moved the Gmail2.apk to /system/app, fixed permissions, and installed. One more reboot and wala - she was up and running! Thanks for this, very sweet!
Sent while rotating @ 860mph
Click to expand...
Click to collapse
Fixing the permissions was the key for me
,,, tried all the steps and rebooted several times,, blah, blah....but wouldn't work till i fixed the permissions :thumbup:
Sent from my swagger
When it is trying to sync go back an you have to reset permissions.
Sent from a rocket ship called earth.
I can't even find the original gmail file on my phone!!!! It's not in system/app, there was one in data/app and i deleted it but it didn't do much
dragid10 said:
I can't even find the original gmail file on my phone!!!! It's not in system/app, there was one in data/app and i deleted it but it didn't do much
Click to expand...
Click to collapse
It really is most easy to uninstall with titanium backup. Restart device and install new gmail.
Sent from a rocket ship called earth.
jthrift said:
It really is most easy to uninstall with titanium backup. Restart device and install new gmail.
Sent from a rocket ship called earth.
Click to expand...
Click to collapse
yeah wasn't there either in system or user (odd i know)
but i found out the reason i couldn't copy it to the system/app folder was because i apparently didn't have enough space in my system folder (had to give up hellpaper :'-( )
uwdus said:
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
added to OP :good:
Kind of inverted
Just picked up the semi inverted 4.2 made by TeamBaked. Even though I prefer a full inverted app, I must say the white background in the email is actually easier to read. Anyway, check it out (I would post a link but I am not sure I am allowed to).
And installing was a breeze. As others mentioned, uninstall via TiBackup then install...loving the swipe feature.

[App]GMail from Android 4.2

This is a leaked version from Android 4.2
There are new features and seems to be working on Android 4.0+
Enjoy! Not my work, I take no credit, just passing it along
Hows everyone liking it? Swipe to delete is great! Any bugs out there?
The link in that thread was removed but here it is
Installation Option 1:
]
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
All instructions taken from the original post, just posting them here to help you guys
Neverendingxsin said:
The link in that thread was removed but here it is
Click to expand...
Click to collapse
Thanks!
speedybishi said:
Thanks!
Click to expand...
Click to collapse
No problem
I like it. Pinch to zoom is nice and swipe is also. Hope to start seeing this in a few roms.
Sent from my SCH-I535 using Xparent Blue Tapatalk 2
Is it just me...or can we only access our inbox with this gmail. No outbox/sent items...trash or anything?
Sent from my SCH-I535 using xda app-developers app
duarian said:
Is it just me...or can we only access our inbox with this gmail. No outbox/sent items...trash or anything?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
It's working fine for me. Just now checked. You have to hit the label looking icon to change sections. Thats on the bottom right corner.
Neverendingxsin said:
It's working fine for me. Just now checked. You have to hit the label looking icon to change sections. Thats on the bottom right corner.
Click to expand...
Click to collapse
Ah! That's it. Alright I take that back. Works great. Refresh animation doesn't work for me but it does refresh either way. Thanks!
Sent from my SCH-I535 using xda app-developers app
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
kichard said:
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
great, did the same for me, so i used titanium to un-install gmail and then tried to install it, still get an error. Now ti is not restoring my gmail.
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
TokedUp said:
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
Click to expand...
Click to collapse
Ok, I may try that. After it hung re-installing gmail, I rebooted and my screen said updating and then I had gmail again. I'm on stock. Is that an issue?
kichard said:
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I personally used root explorer and changed the original gmail apk to Gmail2.bak (yours may either be in system/app or data/app) mine was in data/app because im using AOSP, for stock touchwiz it might be in system/app. For AOSP its probably going to be named com.gmail.apk or something along the lines of that. Anyways after you delete/rename your original one move the 4.2 Gmail2.apk to system/app, set the permissions and reboot. It MUST be in system/app and you have to set the permissions and reboot for it to work
---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ----------
Installation Option 1:
Originally Posted by uwdus
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
All instructions taken from the original post, just posting them here to help you guys
The TI method worked wonderfully, thanks boys and girls.
Thank yo:thumbup:
TokedUp said:
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
Click to expand...
Click to collapse
Yep, worked now too. Thanks
Gotta lock this up,the new app is considered warez. Google doesn't want this being distributed.

Categories

Resources