[Q] Porting mail from other device (f.e. Cyanogenmod) - Galaxy S Plus I9001 Android Development

Hi all,
Haven't found a thread in the SGS+ forum yet, and therefore my question.
I have tried porting Email and Calendar from the Cyanogenmod as I hate the default (very bulky) mail & calendar apk's from Samsung. Haven't succeeded yet, but honestly have no idea what I am doing either as I have only started modding in Android just recently... Anyone any thoughts on how to do this? I have tried following some older threads but the Email client keeps FC-ing on me...
Regards,
Nika.

nikagl said:
Hi all,
Haven't found a thread in the SGS+ forum yet, and therefore my question.
I have tried porting Email and Calendar from the Cyanogenmod as I hate the default (very bulky) mail & calendar apk's from Samsung. Haven't succeeded yet, but honestly have no idea what I am doing either as I have only started modding in Android just recently... Anyone any thoughts on how to do this? I have tried following some older threads but the Email client keeps FC-ing on me...
Regards,
Nika.
Click to expand...
Click to collapse
Have you just tried ripping the apks from CM. Also get the libs and framework files.

I think I did get it going eventually!
Here's what I did:
1. Take Email.apk and ApplicationsProvider.apk and copy it to the adb folder
2. Run the following code using (USB debugging and root access are required for this!):
Code:
adb -d pull /system/app/Email.apk Email.apk.bak
adb -d pull /system/app/ApplicationsProvider.apk ApplicationsProvider.apk.bak
adb -d pull /system/app/ApplicationsProvider.odex ApplicationsProvider.odex.bak
adb -d pull /system/app/Email.odex Email.odex.bak
adb -d remount
adb -d push Email.apk /system/app/
adb -d push ApplicationsProvider.apk /system/app/
adb -d shell rm /system/app/Email.odex
adb -d shell rm /system/app/ApplicationsProvider.odex
adb -d remount
adb -d reboot
3. Clear E-mail cache from Manage Applications
4. That didn't work, E-mail still FC-ed. Then I modified the Permissions using Root Explorer (others & group needed to be checked off)
5. One more reboot
All is ok now
Will try with Calendar.apk too.
Who knows what ApplicationProvider.apk is for (did I need that or not?) and for Calendar, will I need CalendarProvider.apk too?
Regards,
Nika.

Related

Android Permision - Porting Of Rosie To Emulator Etc

Just for fun I have been looking at getting Rosie on to the Android Emulator and to see what I can do. All is well I believe except I am missing some shared librarys and a permisions file...
adb push com.htc.android.easopen.jar /system/framework/
adb push com.htc.android.pimlib.jar /system/framework/
adb push com.htc.framework.jar /system/framework/
adb push com.scalado.util.ScaladoUtil.jar /system/framework/
adb push com.htc.resources.apk /system/framework/
adb push framework-res.apk /system/framework/
adb push com.htc.framework.xml /etc/permissions/
Any way - I cant get these on to the relevant directory due to them ( framework / permissions ) been read only. I'm trying to do this in a way that wont massivly change a rom so i was hoping that I would be able to install to an unrooted device by changing just those directorys permissions.... in fact I assumed the emulator would be unrooted ???
Any way - pointers for this Android noob would be much apprciated......
PS I started by using the Android Toggle.bat so cudos to the Dev who started that.... I forgot your user name
Also is there any way to read the dependancys of an apk ? The know what they need and I am guessing by using logic..... might help to optimise my mess.
Heres the rest as is.... still a lot of messing to go...
Code:
@echo off
:start
cls
ECHO ********************************************************
ECHO * 1. Install HTC 2. Nothing to See *
ECHO ********************************************************
ECHO.
:opt
Set /p xch=Select Option:
If '%xch%'=='1' Goto choice1
If '%xch%'=='2' Goto choice2
ECHO That is not a valid choice, please try again.
ECHO.
Goto opt
:choice1
ECHO.
ECHO **********************
ECHO * Installing HTC *
ECHO **********************
adb push com.htc.android.easopen.jar /system/framework/
adb push com.htc.android.pimlib.jar /system/framework/
adb push com.htc.framework.jar /system/framework/
adb push com.scalado.util.ScaladoUtil.jar /system/framework/
adb push com.htc.resources.apk /system/framework/
adb push framework-res.apk /system/framework/
adb push com.htc.framework.xml /etc/permissions/
adb install AndFTP.apk
adb install AndExplorer.apk
adb install FlashPlayer.apk
adb install framework-res.apk
adb install com.htc.resources.apk
adb install Launcher.apk
adb install Rosie.apk
adb install com.htc.TwitterWidget.apk
adb install com.htc.MusicWidget.apk
adb install com.htc.StockWidget.apk
adb install com.htc.WeatherWidget.apk
adb install AccountManager.apk
adb install AndroidMarket.apk
adb install HTC_CIME.apk
adb install HtcAddProgramWidget.apk
adb install HTCAlbum.apk
adb install htccalendarwidgets.apk
adb install HtcClockWidget.apk
adb install HtcContacts.apk
adb install htccontactwidgets.apk
adb install HtcFootprints.apk
adb install HtcFootprintsWidget.apk
adb install htcinternetwidget.apk
adb install HtcLocationPicker.apk
adb install HtcLocationService.apk
adb install HtcLockScreen.apk
adb install HtcLog.apk
adb install htcmailwidgets.apk
adb install htcmsgwidgets.apk
adb install HtcMusic.apk
adb install com.htc.WeatherWidget.apk
adb install HTCNew.apk
adb install HtcPhotoWidget.apk
adb install HtcRingtoneTrimmer.apk
adb install htcsearchwidgets.apk
adb install HtcSettingsProvider.apk
adb install htcsettingwidgets.apk
adb install HTCSetupWizard.apk
adb install HtcSoundRecorder.apk
adb install HtcStreamPlayer.apk
adb install HtcTwitter.apk
adb install IM.apk
adb install ImProvider.apk
adb install Stk.apk
adb install SocialNetworkProvider.apk
ECHO.
ECHO Completed! Rebooting...
Pause
adb shell reboot
Exit
:choice2
ECHO.
ECHO **********************
ECHO * Nothing to see *
ECHO **********************
Exit
Terran
It would be easier to create a ROM that did not require the SWAP file, then flashing it into a G1, then doing a nandroid backup and using that for the Emulator (and adding much more RAM in the emulator.)
ivanmmj said:
It would be easier to create a ROM that did not require the SWAP file, then flashing it into a G1, then doing a nandroid backup and using that for the Emulator (and adding much more RAM in the emulator.)
Click to expand...
Click to collapse
Can you please elaborate on this a bit? How do I translate a nandroid backup into an avd file that the emulator can boot? I wanted to do this exact thing but never really figured out how. Will really appreciate your step by step?
devsk said:
Can you please elaborate on this a bit? How do I translate a nandroid backup into an avd file that the emulator can boot? I wanted to do this exact thing but never really figured out how. Will really appreciate your step by step?
Click to expand...
Click to collapse
This is a step by step walkthrough:
http://forum.xda-developers.com/showpost.php?p=3952890&postcount=7
If you get it up and running, I'd appreciate a copy of that system.img (without the swap partition requirement). ^_^
ivanmmj said:
It would be easier to create a ROM that did not require the SWAP file, then flashing it into a G1, then doing a nandroid backup and using that for the Emulator (and adding much more RAM in the emulator.)
Click to expand...
Click to collapse
MMmmmm - where I was trying to get to was the point where some one could just run this batch and update their eum / phone with out messing around with custom roms etc.... I have a feeling I am flogging a dead donkey going down that route though.
Terran
ccsnet said:
Just for fun I have been looking at getting Rosie on to the Android Emulator and to see what I can do. All is well I believe except I am missing some shared librarys and a permisions file...
adb push com.htc.android.easopen.jar /system/framework/
adb push com.htc.android.pimlib.jar /system/framework/
adb push com.htc.framework.jar /system/framework/
adb push com.scalado.util.ScaladoUtil.jar /system/framework/
adb push com.htc.resources.apk /system/framework/
adb push framework-res.apk /system/framework/
adb push com.htc.framework.xml /etc/permissions/
Any way - I cant get these on to the relevant directory due to them ( framework / permissions ) been read only.
Click to expand...
Click to collapse
You can make /system rw by using a remount command. It's not enough to just push the framework files onto system though. They need to be added to BOOTCLASSPATH in the init.rc as well. You'll have to unyaffs boot.img
Also is there any way to read the dependancys of an apk ? The know what they need and I am guessing by using logic..... might help to optimise my mess.
Click to expand...
Click to collapse
Look in the AndroidManifest.xml
jashsu said:
You can make /system rw by using a remount command. It's not enough to just push the framework files onto system though. They need to be added to BOOTCLASSPATH in the init.rc as well. You'll have to unyaffs boot.img
Look in the AndroidManifest.xml
Click to expand...
Click to collapse
Thanks....
Terran
EDIT - Remount command info - http://groups.google.com/group/andr...7ecb631689/da581f1b398fdf8b?#da581f1b398fdf8b

adb how to use notepad, please help

Hey Guys, I am totaly new to android(adb), but yet fascinated...I recently downloaded all the files needed for adb, got it working, but I've found that I'm not sure how to use commands...For most, this question may seem very simplistic, but for me, it's not so simple...lol Here is my dilema
adb remount
adb shell rm /system/app/*.odex
adb pull /system/bin/user.conf c:\user.conf
Used Notepad++ to edit and
adb push c:\user.conf /system/bin/user.conf
adb shell chmod 755 /system/bin/user.conf
adb shell reboot
##Optional##
after you get everything setup the way you want it do a backup... I found switchrom.sh to be more dependable than purely nandroid backup.
reboot in recovery
adb shell
/#mount /system/sd
/#sh /system/sd/switchrom.sh -s <name>
To restore it...
reboot in recovery
adb shell
/#mount /system/sd/
/#sh /system/sd/switchrom.sh -r
##select the rom you want to restore##
What is Notepad and how do I use it, is it in adb ?
This is for ZeroXd 6.10 ROM
Thanx in advance for all of those who took time to help a real N00B
G1 Black
MT3G Merlot
Rooted

What Sprint Apps are you tired of removing?

Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Remove:
03 - NASCAR
01 - Sprint TV
01 - NFL
01 - Peep
01 - IM
NASCAR
please
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
- Stocks
- Teeter
- Sprint Navigation - it rocks and better than Google Nav in my opinion. Works (and sounds) much more like a Garmin.
Ceger
NASCAR
What a waste of time to uninstall....
S
Ceger said:
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
Click to expand...
Click to collapse
Agreed with this, but also tired of having to add voice recorder back...not sure why all devs delete it.
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Mail.apk
adb shell rm system/app/htcmailwidgets.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
if you already have adb in your path, just double click this file to run it. If not, place this in the adb tools directory and double click from there.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Anything else you want to do to crash what I am up to? Thanks kid.
Remove-
- Nascar
- NFL
- SprintTV
- Peep
- IM
Keep in, user optional
- Teeter
- Sprint Navigation
- Ringtone Trimmer
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
nah dude. Intention was not that. I'm sure you figured out by now that if you were to create a common ROM that with the most unwanted apps removed, it would only consist of the NFL, Nascar, and Navigation wiped. The rest are a toss up for almost all users. It'll be hard for you to please all. So I was just suggesting this, thats all.
Any efforts for help are appreciated. So more power to you.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Yep, best way to do it, or use Android Commander.
Ceger
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
He's just giving other options...
And my rom is gonna have that stuff out too, but that doesn't mean you shouldn't make what you're making, because I know a lot of people who DO want a slimmed down version of DC 2.06 and don't know how.
Keep doin it man
jerry43812 said:
Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Click to expand...
Click to collapse
You can consider adding a poll to this thread. That'll be easy way to see what everyone doesn't want.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
+1. This is what I do.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
jackal, what are the commands to run this file once I've created it?
hoopsdavis said:
jackal, what are the commands to run this file once I've created it?
Click to expand...
Click to collapse
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
cd C:\android-sdk-windows\tools
adb remount
adb shell rm system/app/Facebook.apk
adb shell rm system/app/Flickr.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/SocialNetworkProvider.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/Sprint_TV.apk
adb shell rm system/app/Sprint_TVWidget.apk
adb shell rm system/app/Stock.apk
adb shell rm system/app/com.htc.StockWidget.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
Click to expand...
Click to collapse
seyer0686 said:
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
Click to expand...
Click to collapse
Thanks, I appreciate it.
I thought you weren't supposed to delete IM.apk because it had some other dependencies throughout some other apps. is this no longer true?
...because I just killed it based on you guys doing it.
Since this thread got jacked, if anyone wants my work you can contact me. Thanks. I am done here.
Don't let these guys get to you. I and others are very interested in what you are doing!!

[9001][MOD] Replace stock Samsung TW email/calendar + CarHome/DeskClock [2011-12-21]

First of all: NO WARRANTY AT ALL. I have no idea what I'm doing... it simply worked what I did
Attached is also the Calendar and Email APK files - I got them from the stable Cyanogenmod repository for HTC Desire HD (update-cm-7.1.0-DesireHD-signed - thanks crybert!!)
Not documented as well as the method to do it manually, I now also created a Faemod/CWM installable zipfile:
http://forum.xda-developers.com/showpost.php?p=20520096&postcount=38
If you want to do it manually, continue the guide below...
In all cases:
1. Stop all internet access on device (Data & Wifi, preferably Flight Mode) to avoid sync
2. Go to Settings
3. Select Applications
4. Select Manage Applications & Select All tab & scroll to Calendar
5. Select Calendar
6. Press Clear Data (WARNING: make sure you have a backup using Sync!)
7. Press OK to Clear all Calendar data
8. Press Back (hardbutton) & scroll to Email
9. Repeat Clear data for Email applications (also Force Stop first, if available, may be a good idea)
Then for replacing using Root Explorer:
1. Download & install Root Explorer (or any explorer app that allows you to mount /system/app as writable)
2. Enable Mass Storage or Mound SDCard in PC
3. Copy ICS folder (with APK files in it) to SDCard
4. Disable Mass Storage (!)
5. Start Root Explorer
6. Browse to /sdcard/ICS and click Menu (hardbutton)
7. Select all of the files (Select All button)
8. Press Copy
9. Browse to /system/app folder, by default system is mounted as Read Only
10. Press "Mount R/W" button
11. Press Paste (and sometimes accept warning)
12. Delete the ApplicationsManager.odex, Email.odex and TouchWizCalendar.odex files
13. Modify the permissions of Email.apk and TouchWizCalendar.apk
14. Restart your device
Optionally, here's the steps for replacing using ADB:
1. Root your device
2. Install the Android SDK or ADB Tools
3. Take Email.apk, ApplicationsProvider.apk and TouchWizCalendar.apk and copy them to your adb folder
4. If also doing the calendar from another source, make sure to rename Calendar.apk to TouchWizCalendar.apk
5. Run the following code using (USB debugging and root access are required for this!):
Code:
adb -d pull /system/app/Email.apk Email.apk.bak
adb -d pull /system/app/Email.odex Email.odex.bak
adb -d pull /system/app/ApplicationsProvider.apk ApplicationsProvider.apk.bak
adb -d pull /system/app/ApplicationsProvider.odex ApplicationsProvider.odex.bak
adb -d pull /system/app/TouchWizCalendar.apk TouchWizCalendar.apk.bak
adb -d pull /system/app/TouchWizCalendar.odex TouchWizCalendar.odex.bak
adb -d remount
adb -d push Email.apk /system/app/
adb -d shell chmod 644 /system/app/Email.apk
adb -d shell rm /system/app/Email.odex
adb -d push ApplicationsProvider.apk /system/app/
adb -d shell chmod 644 /system/app/ApplicationsProvider.odex
adb -d shell rm /system/app/ApplicationsProvider.odex
adb -d push TouchWizCalendar.apk /system/app/
adb -d shell chmod 644 /system/app/TouchWizCalendar.apk
adb -d shell rm /system/app/TouchWizCalendar.odex
adb -d remount
6. Clear E-mail and Calendar cache's from Manage Applications
7. Reboot your device (for instance with adb -d reboot)
Then, when you are finished copying the files, you need to resynchronize your Calendar and Mail:
1. Enable all internet access again
2. Start Calendar (is still empty!)
3. Start Email and finish wizard
Last but not least, here's some examples of how it can look like:
All done
Regards,
Nika.
nikagl said:
First of all: NO WARRANTY AT ALL. I have no idea what I'm doing... it simply worked what I did
Here's the steps:
1. Root your device
2. Install the Android SDK or ADB Tools
3. Take Email.apk and ApplicationsProvider.apk from for instance the Galaxy S Cyanogenmod (I used cm_galaxysmtd_full-181) and copy then to your adb folder
4. Run the following code using (USB debugging and root access are required for this!):
Code:
adb -d pull /system/app/Email.apk Email.apk.bak
adb -d pull /system/app/Email.odex Email.odex.bak
adb -d pull /system/app/ApplicationsProvider.apk ApplicationsProvider.apk.bak
adb -d pull /system/app/ApplicationsProvider.odex ApplicationsProvider.odex.bak
adb -d remount
adb -d push Email.apk /system/app/
adb -d shell chmod 644 /system/app/Email.apk
adb -d shell rm /system/app/Email.odex
adb -d push ApplicationsProvider.apk /system/app/
adb -d shell chmod 644 /system/app/ApplicationsProvider.odex
adb -d shell rm /system/app/ApplicationsProvider.odex
adb -d remount
5. Clear E-mail cache from Manage Applications
6. Reboot your device (for instance with adb -d reboot)
Start your mail and complete the wizard
Regards,
Nika.
Click to expand...
Click to collapse
Would love to see the CM Calendar in action
Lol, me too. Didn't work, can't get it to go whatever I try. Probably something to do with different naming of the Calendar as the Samsung calendar is called TouchWizCalendar.apk and the stock calendar is called Calender.apk. Tried whatever was suggested in older threads (remove TouchWizCalendar, InfoAlarm and CalendarProvider files and delete them from Applications after a reboot en then install Calendar.apk and CalendarProvider.apk) but it did not work
Still gotta try simply renaming Calendar.apk into TouchWizCalendar.apk and replace it, but first came accross a market Calendar replacement which seems good enough too:
Calendroid
Will post results whenever I do decide not to use Calendroid and try again to go back to the Stock Calendar.
By the way: the stock email client has possibility to correctly accept and go to meeting invitations... Much better than that horrible Samsung TW client
Regards,
Nika.
Tested it a minute ago, nope - renaming Calendar to TouchWizCalendar and repeating same procedure didn't work... Gotta stick with Calendroid I guess... Will add some pictures of mail in a moment!
Added some pics to the first post...
And here's some pictures of what happens when an invite is received and why I would love to get the stock calendar app... this is from Calendroid which is good enough for me, but it doesn't integrate 100% for instance from mail...
Regards,
Nika.
just copy the aosp calendar over deodexed rom,it works
sakindia123 said:
just copy the aosp calendar over deodexed rom,it works
Click to expand...
Click to collapse
I'll try deodexing the ROM and getting it from the AOSP build, but I tried to avoid that as I do not want the entire ROM to be deodexed.
As mentioned I tried copying calendar from the cm_galaxysmtd_full-181 build, but that did not work...
Regards,
Nika.
sakindia123 said:
just copy the aosp calendar over deodexed rom,it works
Click to expand...
Click to collapse
Sakindia,
I have tried it with my fully deodexed ROM, but still nothing.
1. First I deodexed the current ROM (using xUltimate-2.3.3)
2. I put all files from done_app and done_frame in /system/app and /system/framework
3. Removed all *.odex files from /system/app and /system/framework
4. Uploaded Calendar and CalendarProvider apk's using following script:
Code:
adb -d pull /system/app/Calendar.apk Calendar.apk.bak
adb -d pull /system/app/Calendar.odex Calendar.odex.bak
adb -d pull /system/app/CalendarProvider.apk CalendarProvider.apk.bak
adb -d pull /system/app/CalendarProvider.odex CalendarProvider.odex.bak
adb -d remount
adb -d push Calendar.apk /system/app/
adb -d shell chmod 644 /system/app/Calendar.apk
adb -d shell rm /system/app/Calendar.odex
adb -d push CalendarProvider.apk /system/app/
adb -d shell chmod 644 /system/app/CalendarProvider.apk
adb -d shell rm /system/app/CalendarProvider.odex
adb -d remount
adb -d reboot
But it still FC's
5. Tried renaming Calendar.apk into TouchWizCalendar.apk and uploaded that file...nope, still FC...
Any help appreciated
Regards,
Nika.
I use the Galaxy S build of Cyanogenmod btw (cm_galaxysmtd_full-181)... not sure whether that was the AOSP one you meant (I haven't spent much time yet compiling my own AOSP build)? If not, can you point me to the one you'd recommend?
i added to my rom without setting perms or anything..
try to simply copy with root exploere
sakindia123 said:
i added to my rom without setting perms or anything..
try to simply copy with root exploere
Click to expand...
Click to collapse
Just to make sure, what file did you copy? Only Calendar.apk or also CalendarProvider.apk?
nikagl said:
Just to make sure, what file did you copy? Only Calendar.apk or also CalendarProvider.apk?
Click to expand...
Click to collapse
just the calendar.apk(or calculator.apk)
i doubt calendarprovider would work bcoz of touchwiz dependencies!
cell4review said:
very goood and working
latest mobiles
Click to expand...
Click to collapse
spam!!!!!!!!!!!!
Agree, and judging from all the different posts in different threads:
http://forum.xda-developers.com/search.php?searchid=102046930
I will have him banned!
Regards,
Nika.
sakindia123 said:
just the calendar.apk(or calculator.apk)
i doubt calendarprovider would work bcoz of touchwiz dependencies!
Click to expand...
Click to collapse
Ok, so I now only renamed Calendar.apk to TouchWizCalendar.apk and copied it over, and now it works. I thought the CalendarProvider.apk had a dependency to Calendar.apk...
I updated my first post with some new pictures, changed the instructions and added the apk files too
nikagl said:
Ok, so I now only renamed Calendar.apk to TouchWizCalendar.apk and copied it over, and now it works. I thought the CalendarProvider.apk had a dependency to Calendar.apk...
I updated my first post with some new pictures, changed the instructions and added the apk files too
Click to expand...
Click to collapse
renaming isnt necessary though
good to hear u got it working!
sakindia123 said:
renaming isnt necessary though
good to hear u got it working!
Click to expand...
Click to collapse
For me it was, I really tried it without renaming. Calendar.apk does not exist, just added it to the system (copied with root explorer), rebooted and tried accessing "Agenda" which still opened the horrible TouchWizCalendar
Then I replaced TouchWizCalendar.apk with the renamed version of Calendar.apk and it worked
How else does the system know that the Agenda shortcut in the App Drawer should open the app from Calendar.apk instead of TouchWizCalendar.apk?
Regards,
Nika.
if u delete the touch wiz one
@nikagl
I just copied the files from the first post to \system\app using root explorer (after taking a backup ) rebooted and cleared the cache as you suggested and it works great, many thanks! I really disliked the TW Calender interface

[Q] Rooting the motorola atrix 2

i tried a few ways to root my atrix 2 but i cant. I tried super one click, lazy one click (or however its called) and i cant root it i have a mac someone help! is there another way to root the atrix 2?
I heard there was an app that can do it too. Its in this forum somewhere.
I used the manual method on my Mac with no issues, did it twice actually.
What error messages are you getting?
I'll be home in about 15 mins and I can help further
Sent from my MB865 using Tapatalk
If all else fails, you could always reflash the fkz's, than try to root again, but the problem here is that you have a mac. Perhaps borrow a friends pc, or install Windows through bootcamp. (I wouldn't recommend a Virtual Machine though).
OK so if you used a root tool in the first place then I assume that-
-You have adb set up
-You have the necessary files to push (zerg, su, superuser.apk)
If you have no idea of what I'm talking about then just look around the folders of the root tools and you'll find them.
OK, here's what you have to do:
1. Open up a terminal.
2. CD (change directory) to where you have the necessary files located, ex. "cd ~/Desktop/" if they're on the desktop
3. Enter the following commands (one line at a time):
Code:
adb shell
cd /data/local
rm ./temp/*
exit
This removes temporary files created by the root exploit.
4. Now enter these commands (again, one at a time)
Code:
adb push zerg /data/local
adb push su /data/local
adb push Superuser.apk /data/local
adb shell
cd /data/local
chmod 777 zerg
./zerg
adb shell
mount -o rw,remount /dev/null /system
cat /data/local/su > /system/bin/su
cat /data/local/Superuser.apk > /system/app/Superuser.apk
chmod 4755 /system/bin/su
chmod 4755 /system/app/Superuser.apk
reboot
I hope you understand this... good luck getting complete root.
thread moved to general forum
If you find a specific android app that can do this for you and you can post it in the OP, I will gladly move it down to its original location. Until there, it doesnt belong in the app and themes forums.
What's your android version ?
Deliberate said:
I heard there was an app that can do it too. Its in this forum somewhere.
Click to expand...
Click to collapse
Unfortunately that app seems to have only been in the market and was recently removed... I tried looking for it today. Please correct me if I'm wrong!
jpumford said:
Unfortunately that app seems to have only been in the market and was recently removed... I tried looking for it today. Please correct me if I'm wrong!
Click to expand...
Click to collapse
You're correct, the app was written by an author who made it just to make money... he never even tested it. He took it down because it didn't work.
Most important question of all here: What OS are you running on your Mac?
If you're running 2.3.6 you can't root yet. You need to downgrade to 2.3.5

Categories

Resources