[Request][help] calendar apk and/or repackaging firmware - Galaxy Tab 10.1 General

I liked some of the old programs from the original HC 3.1 with no TW interface for example the calendar most importantly, the old email app and the movie studio app. is there a guide on how to repackage and replace these in the touchwiz. I also don't like the touchwiz music app I'd rather use google's new music beta with cloud sync.
If there's a guide on how I'd really appreciate it...if not the only thing I ask for is the calendar.apk I really miss the column week view and this is sort of crucial to my work and seeing what hours I have open during the week. I havn't found a good one with a good column view and good integration to google on the market.
thanks

You should be able to just take the apk's and any required libs (probably not needed) and place them in your system folder and change the permissions to match that of the rest of the system apps using root explorer our something similar. You could get the apk's and files from any rom, like stock or bonsai. You can download music beta from the market instead of the samsung music app. Although you will probably want to de-odex the file system first...not sure if anyone had done it for TW yet.
Sent from my 2.3.4 Atrix with an unlocked bootloader!

Android Development is not for Problems, Questions or Requests
Please post in the correct forums Than you
Moving to General

Big-A-Rob said:
You should be able to just take the apk's and any required libs (probably not needed) and place them in your system folder and change the permissions to match that of the rest of the system apps using root explorer our something similar. You could get the apk's and files from any rom, like stock or bonsai. You can download music beta from the market instead of the samsung music app. Although you will probably want to de-odex the file system first...not sure if anyone had done it for TW yet.
Sent from my 2.3.4 Atrix with an unlocked bootloader!
Click to expand...
Click to collapse
Tried that stuff it doesn't seem to work, I'm sticking to stock for now!

Related

[HOW-TO] [Flash] [HULU] How to make Hulu (and others) work on the Samsung Galaxy Tab

The Galaxy Tab uses a custom build of Flash. If you try to install one of the hacked Nexus One Flash apks that are floating around, it won't work. Not only will you not be able to access Hulu, but Flash won't work at all. You also can't use the Android Market version.
Here's how to hack the Galaxy Tab to make Flash work with Hulu and other sites that block Android. These instructions are intended for more advanced users. Maybe someone nice will come along and post a pre-hacked apk, but I'm not going to post one myself. Sorry
1. Make sure your Galaxy Tab is rooted. If it isn't, you can easily root it by downloading z4root from the Android Market and running it.
2. Make sure you have Root Explorer installed. You can buy it for a few bucks in the Market if you don't already have it. It's a great program and worth the few dollars.
3. First, you need to get rid of the pre-installed version of Flash that comes with the Tab. Using Root Explorer, move install_adobe_flash.apk from /system/app/ to /sdcard/. You want to make sure it no longer exists in /system/app/ but that you have a backup copy in /sdcard/.
If you are like me and already deleted the original install_adobe_flash.apk from the Tab without backing it up, you will have to grab a new copy from a Galaxy Tab ROM. Find a Galaxy Tab ROM online (P1000XXJK5 works), uncompress it, mount factoryfs.rfs as an ISO, and get a new copy of the apk file out of it.
4. Next, you need to hex edit this version of Flash to make it appear as though it was Flash for Windows.
Now that you have install_adobe_flash.apk in the /sdcard folder, plug in the tab and enable USB file sharing.
Copy the apk file to your computer and unzip it. Inside, you will find /lib/armeabi-v7a/libflashplayer.so.
Open libflashplayer.so file in your favorite hex editor (Hex Fiend is good on OSX). Search for the ascii string "AND 10,1,92,8" (the numbers might be slightly different depending on your Tab's ROM). Replace that string with "WIN 10,1,102,64". Make sure the hex editor is in overwrite mode when you do this. The new string is longer than the old string, but you don't want to change the file size. Save the file.
5. Now you need to get your hacked version of Flash back onto the Tab.
You have a few options. You could install the flash apk using "adb install install_adobe_flash.apk". That would get you flash back. Then you could copy your hex edited libflashplayer.so to the /sdcard folder and then use Root Explorer to replace /data/data/com.adobe.flashplayer/lib/libflashplayer.so with your version. That will work fine, but you will have to recopy your modified libflashplayer.so over the original one every time you reboot.
The better option would be to rebuild install_adobe_flash.apk with your hacked library included. Then you can install your modified flash apk.
6. Browser Settings
Dolphin HD is the best choice. You need to make sure the user agent is set to "Desktop". It seems like you also need Flash set to "Always On", not "On Demand". It seems to act flakey with On Demand but your experience might vary.
You can alternatively use the Hulu Bookmark app in the app store instead of Dolphin HD.
Playback can be a bit choppy on Hulu in full resolution. Play around with other sites besides Hulu too. Other sites like cbs.com and adultswim.com worked for me.
Have fun!
Thx great work, any instructions on how to rebuild the apk ?
Sent from my GT-P1000 using XDA App
Nice, thanks for the writeup. Flash is still far too flaky on mobile for my taste though. Its a complete mess IMO.
Would you be able to post the apk you used? I would gladly host it.
Rebuilt .APK is not installing
Followed the directions but I am not sure if I rebuilt the .apk properly as my modified Flash Player package fails to install. Can someone please post a working modified .apk?
I was following great until
... rebuild install_adobe_flash.apk with your hacked library included ...
How is that done?
Sign APKs
here is a tutorial on creating a key and how to sign an apk. hope this helps.
http://www.androiddevelopment.org/tag/apk/
I tired following your instructions to the letter then returning the edited hex file into the apk replacing the existing one, but no go. Is there a particular way it needs to be recompiled? If anyone knows how and can provide the edited apk for an ATT galaxy tab I would happily donate and I'm sure I'm not alone.
no dice
hulu and other sites gives me an error "requires flash player 10.0.32 or higher..."
as far as hexing, signing, and installing everything works a charm.
http://www.pixeldesire.com/box/install_flash_player.apk-signed
Wondering if you could use the Flash apk from the files for the Epic: http://forum.xda-developers.com/showthread.php?t=841472
Does anyone know about that apk?
Which apk?
Sent from my SGH-T849 using XDA App
hulu and other streamers
okay so a whole peck of websites are rolling out xda's howto for the hulu hack, but any comment says it no workee. anybody that can confirm or deny? also, anybody got a line on netflix for the Galaxy Tab?
crazyhack said:
okay so a whole peck of websites are rolling out xda's howto for the hulu hack, but any comment says it no workee. anybody that can confirm or deny? also, anybody got a line on netflix for the Galaxy Tab?
Click to expand...
Click to collapse
im on sprint tab and it def dont work. spent a few hours with it one day...maybe intended for an older flash like the firmware op suggests...just amazed how many stupid blogging sites repost info w/o testing...way to spread the ignorance...i have another idea on how to make it work using what i know about my evo. this MAY work. if it does i will post the apk...
it would be cool if we can get something working.
Success! Thanks to the OP for the write-up. I took the stock AT&T flash player apk, hex edited the version in libflashplayer.so and replaced it on the phone. It works fine in Dolphin HD (plugins set to Always; haven't tried On-demand) for Hulu.
I tried my hand at repacking the apk and signing it, but it doesn't seem to register the plugin using my apk, even though it's properly signed. So for now, the only approach that seems reliable is to install the stock apk and once installed, copy the modified libflashplayer.so over to /data/data/com.adobe.flashplayer/lib.
See attached. I provide no guaranties, so YMMV. Unzip libflashplayer.so.zip prior to copying.
EDIT: Works great on southparkstudios.com too!
Would this work with the netflix web site?
Thanks for your efforts.
agentdr8 said:
Success! Thanks to the OP for the write-up. I took the stock AT&T flash player apk, hex edited the version in libflashplayer.so and replaced it on the phone. It works fine in Dolphin HD (plugins set to Always; haven't tried On-demand) for Hulu.
I tried my hand at repacking the apk and signing it, but it doesn't seem to register the plugin using my apk, even though it's properly signed. So for now, the only approach that seems reliable is to install the stock apk and once installed, copy the modified libflashplayer.so over to /data/data/com.adobe.flashplayer/lib.
See attached. I provide no guaranties, so YMMV. Unzip libflashplayer.so.zip prior to copying.
EDIT: Works great on southparkstudios.com too!
Click to expand...
Click to collapse
bhagiratha said:
Would this work with the netflix web site?
Thanks for your efforts.
Click to expand...
Click to collapse
Browsing their website works fine, but you can't stream directly to the browser. That requires Silverlight, which I don't believe is available for the Android platform.
agentdr8 said:
Success! Thanks to the OP for the write-up. I took the stock AT&T flash player apk, hex edited the version in libflashplayer.so and replaced it on the phone. It works fine in Dolphin HD (plugins set to Always; haven't tried On-demand) for Hulu.
I tried my hand at repacking the apk and signing it, but it doesn't seem to register the plugin using my apk, even though it's properly signed. So for now, the only approach that seems reliable is to install the stock apk and once installed, copy the modified libflashplayer.so over to /data/data/com.adobe.flashplayer/lib.
See attached. I provide no guaranties, so YMMV. Unzip libflashplayer.so.zip prior to copying.
EDIT: Works great on southparkstudios.com too!
Click to expand...
Click to collapse
Sorry, does not work for me. Any suggestions? I did try in Miren and the default browser so perhaps browser specific?
Just tried Dolphin HD, no go. using your files.
I hope someone who knows better can get this working on a Tmo tab and confirm it before I blow mines up.
Hulu is a must have for long trips!

[Q] making system apks Into regular installable apks.

I was wondering how to make a system apk such as idk the browser into a regular installable apk so that someone with no knowledge of pushing apks can install it along side their apk.
Generally system apps are just normal apps, only installed on a system partition. If you pull a system apk from a device, then you should be able to install it normally on any other device.
There are exceptions from this rule:
You can't install an app if you have it installed already. Many system apps are installed on most devices by default and this is the reason, why you can't install e.g. Browser.apk pulled from other device - most probably you have it installed already.
There are 2 solutions: you could remove system app before installation of new one or just replace it - but this isn't what you want. To create normal, installable apk you would have to modify its package name as I did with Google Maps.
Some system apps use system internals, private APIs or privileges, some additional libraries, etc. For example Settings.apk changes internal settings of OS - you can't do that in normal apk.
You can't easily move/install such apps, they're integrated with system.
thanks for this long great reply. So lets say I pulled my dialer apk changed the package name, could I install it on a friends phone NOT on the system partition ?
I'm trying to pull the dialer apk from gingerbread and port it into a normal apk using apk tool, but once and changed the package name and all that and compile it I go to install it on my phone but it says that it could not open it as an apk file. Any ideas?
Newklearx3 said:
thanks for this long great reply. So lets say I pulled my dialer apk changed the package name, could I install it on a friends phone NOT on the system partition ?
Click to expand...
Click to collapse
I think not. Note that Phone.apk is only one app that can dial, you can't add such feature to your own app, so most probably it uses private APIs to do that. It's integrated-with-system one. Same for Settings.apk and PackageManager.apk, but you should be able to pull Browser.apk, Launcher.apk, MMS.apk, Gmail.apk, Talk.apk, etc., change their package name and install on another device.
Ahh, there is one more group: SenseUI, Motoblur, etc. apps, which use additional framework resources: images, colors, texts. They won't work on a device lacking this framework, but it should be possible to make these apps framework-independent by copying all dependencies to app itself. Not that easy, but possible
Brut.all said:
I think not. Note that Phone.apk is only one app that can dial, you can't add such feature to your own app, so most probably it uses private APIs to do that. It's integrated-with-system one. Same for Settings.apk and PackageManager.apk, but you should be able to pull Browser.apk, Launcher.apk, MMS.apk, Gmail.apk, Talk.apk, etc., change their package name and install on another device.
Ahh, there is one more group: SenseUI, Motoblur, etc. apps, which use additional framework resources: images, colors, texts. They won't work on a device lacking this framework, but it should be possible to make these apps framework-independent by copying all dependents to app itself. Not that easy, but possible
Click to expand...
Click to collapse
Dude, you're amazing! So how would I go about porting the gingerbread dialer to workable installable apk?
I might be doing something wrong but I pulled the launcher and changed the package name and still the same error
Okay, i guess I'm not. I copied the apk ( unmodded ) from the rom zip and placed it on my SD card to install it and the same error, so there must be something wrong.
figured out it was the sdk version, got it to show up but wont install now.
im also interested in porting specific development apk, lets say.. CM Settings into a non Cyanogen. Tried that once by pulling CM*.apk and push it to other non Cyanogen but got cant be installed message.. any hints on this?
phoezies said:
im also interested in porting specific development apk, lets say.. CM Settings into a non Cyanogen. Tried that once by pulling CM*.apk and push it to other non Cyanogen but got cant be installed message.. any hints on this?
Click to expand...
Click to collapse
Use logcat as a start to see dependencies
XDA App

Can Liberty 1.5 run Backup Assistant?

Okay, I know some people think it's redundant to Have backups of my contacts in both Google AND Verizon Backup Assistant, but I'm OCD and like having backups of everything. Also, at some point in time in the future I may not have an Android phone (God forbid) and I would need Verizon Backup Assistant to port all my contacts over to my new phone. Anyway, I'm running Liberty 1.5 which doesn't have BA. I have a folder on my SD card where I've saved all the stock Droid X apps, so I went there and copied both the apk and odex files to system/app and I changed the permissions to rw-r-r. Then I rebooted hoping that it would work, but it didn't. I did a bit of Google searching and found out that BA needs additional Blur components to run. Obviously I have those too, but I don't know which Blur components I need to install to make BA run. Does anyone know the Blur files I need to install in order for Liberty 1.5 to run Backup Assistant? Thanks in advance!
i believe its buacontactadapter.apk
I tried copying the apk and odex for that just now in addition to the backup assistant apk and odex (and I still changed the permissions to rw-r-r). It still didn't work. Do you think there are more files I need to copy? Or is blur stuff just NOT compatible with Liberty 1.5?
Sent from my DROIDX using XDA App
It is designed to be blurless. However, if you keep installing files you may get it to work. Also, when you are in /system/app mount it as rw and install the app. You may have to do that as well
So you're saying I need to just keep randomly installing blur files and hope for the best? I'd rather not. I'm hoping someone knows exactly what files to install. Anyone?
Sent from my DROIDX using XDA App

[Q] Own ROM issues?

Right.
So, when I open up .ext3 files in 7zip I notice they have "users" and "modes".
Things I'm curious of:
1. How can I remove apps in my ROM via .ext3 editing?
2. How can I install apps in my ROM (via .ext3 editing)?
3. Just simply removing the .apk for, let's say, the Phone app (BlurPhone.apk) and putting a different apk named Phone.apk, but with the same function and simply being a port from a different phone, will it be a issue?
4. GO Launcher EX/Go Locker - can it be installed in a ROM?...
Also, I got some issues regarding the MD5 Sum ("mismatched " but it actually is a duplicate ). Was it because I had a vanilla copy of my backup in the backup folder?..
Bump?...
Firtst if all, learn to make an cwm zip , its much easier to make changes that way.
To remove an app, just remove the apk file. Do the opposite when adding apps.
Any launcher can be added to rom.
Sent from my MB525 using xda app-developers app
This excellent instruction might help you with building from source:
http://forum.xda-developers.com/showthread.php?t=1593117
thanks, but sadly I'm not going to develop 4.0/4.1 stuff, only 2.3 skins for the moment. Thanks for the help tho
Another (kinda random, but hey): how's the lockscreen app named?...Or is it a sub-part of a motoblur app?

Building first ROM for G900V

Good day, all!
I've been working on [my first] ROM for Verizon S5 and everything seems to be going great! I've cleaned out as much Samsung/Verizon/Google trash as I can, applied some tweaks to build.prop, changed some default apps to (IMHO) better replacements, and anything that is left (functions correctly) has been moved to /data/app so they can be Uninstalled fully (not just Turned Off). Just a few quick questions:
1) How can I "bake-in" app data? I have replaced the normal, crap launcher with Holo Launcher and cannot seem to get correct permissions when the ROM is installed thru SS. I believe the issue is permissions for /data/data/ get screwed up or not set correctly. I have looked and looked and tried to determine the correct permissions, but still no joy. I've tried to fix /data/data permissions in the updater-script, but it seems like each subfolder/file has different permissions making me think I'll have to go thru them one-by-one.
I have a work-around in place using a OneTimeInit script that does work, but it seems like that's not really the best approach?
2) Kind of ties into question number 1, I patched the framework-res.apk in to allow WiFiHotspot, but without being able to install the system settings data properly, there is not a "Quick Shortcut". Again, I've resolved the problem using the OneTimeInit to update Sqlite DBs after the system is up.
3) How do I de-odex the stock ROM? Using Android Kitchen doesn't seem to do it right. It works mostly but I still seem to get various FCs. I tend to believe that some things just cannot (should not) be De-Odex'd?
I've also discontinued Zip-Aligning because it sometimes produces errors on my ROM. Is it not advised to use Android Kitchen to do these tasks or is there some trick to getting it to work just right?
Bonus Question) I was going to share my ROM on XDA but it says I'm not allowed to post in Development. I assume because of my low post count. Any way I can get an over-ride or should I just make a few more posts and then do it?
Thanks again guys!
I appreciate all the help as always!
Jake
jake5253 said:
Good day, all!
I've been working on [my first] ROM for Verizon S5 and everything seems to be going great! I've cleaned out as much Samsung/Verizon/Google trash as I can, applied some tweaks to build.prop, changed some default apps to (IMHO) better replacements, and anything that is left (functions correctly) has been moved to /data/app so they can be Uninstalled fully (not just Turned Off). Just a few quick questions:
1) How can I "bake-in" app data? I have replaced the normal, crap launcher with Holo Launcher and cannot seem to get correct permissions when the ROM is installed thru SS. I believe the issue is permissions for /data/data/ get screwed up or not set correctly. I have looked and looked and tried to determine the correct permissions, but still no joy. I've tried to fix /data/data permissions in the updater-script, but it seems like each subfolder/file has different permissions making me think I'll have to go thru them one-by-one.
I have a work-around in place using a OneTimeInit script that does work, but it seems like that's not really the best approach?
2) Kind of ties into question number 1, I patched the framework-res.apk in to allow WiFiHotspot, but without being able to install the system settings data properly, there is not a "Quick Shortcut". Again, I've resolved the problem using the OneTimeInit to update Sqlite DBs after the system is up.
3) How do I de-odex the stock ROM? Using Android Kitchen doesn't seem to do it right. It works mostly but I still seem to get various FCs. I tend to believe that some things just cannot (should not) be De-Odex'd?
I've also discontinued Zip-Aligning because it sometimes produces errors on my ROM. Is it not advised to use Android Kitchen to do these tasks or is there some trick to getting it to work just right?
Bonus Question) I was going to share my ROM on XDA but it says I'm not allowed to post in Development. I assume because of my low post count. Any way I can get an over-ride or should I just make a few more posts and then do it?
Thanks again guys!
I appreciate all the help as always!
Jake
Click to expand...
Click to collapse
1: All I had to do was place apk in /system/app or /system/priv-app and thats it. Make sure when you add your apks you dont unzip the archive. basically use kitchen and build your base rom then simply open the archive and make your edits. I also used the updater script from beans base build and only edited the ui print.. Messing with the updater script i wouldnt recommend as it could be causing some of your issues.
2: If using beans base theres no reason for you to edit anything as the hotspot is already baked in.. you must have borked it.. If you are not using beans base then maybe you should copy his files for the native hotspot as its already done properly. I wouldnt mess with framework or settings apks unless you know what your doing. Id work on gettin the fcs n other issues sorted first as you might b doin too much too fast.. work on learning how to make your apks work first before making edits to framework n settings apks.
3: The kitchen is best to deodex and zipalign.. also these two things should not cause fcs or errors if done properly. zipalign should help more than anything.. i just like workin with deodex bcuz its easier and only one set of files instead of .apk and .odex for just bout everything..
Again, if you are not using beans bases id recommend to do so.. his bases are already deodexed have hotspot zipaligned read/write to ext sd etc.. so you wouldnt have to do all from scratch and have so many issues..
Sent from my SM-G900V using XDA Premium HD app
elliwigy said:
1: All I had to do was place apk in /system/app or /system/priv-app and thats it. Make sure when you add your apks you dont unzip the archive. basically use kitchen and build your base rom then simply open the archive and make your edits. I also used the updater script from beans base build and only edited the ui print.. Messing with the updater script i wouldnt recommend as it could be causing some of your issues.
2: If using beans base theres no reason for you to edit anything as the hotspot is already baked in.. you must have borked it.. If you are not using beans base then maybe you should copy his files for the native hotspot as its already done properly. I wouldnt mess with framework or settings apks unless you know what your doing. Id work on gettin the fcs n other issues sorted first as you might b doin too much too fast.. work on learning how to make your apks work first before making edits to framework n settings apks.
3: The kitchen is best to deodex and zipalign.. also these two things should not cause fcs or errors if done properly. zipalign should help more than anything.. i just like workin with deodex bcuz its easier and only one set of files instead of .apk and .odex for just bout everything..
Again, if you are not using beans bases id recommend to do so.. his bases are already deodexed have hotspot zipaligned read/write to ext sd etc.. so you wouldnt have to do all from scratch and have so many issues..
Sent from my SM-G900V using XDA Premium HD app
Click to expand...
Click to collapse
Thank you for the response!
It seems perhaps I didn't quite make clear what I've done versus what I'm trying to accomplish.
Firstly, I wouldn't go so far as to say I'm "having so many issues". Everything in my ROM is in perfectly fine working order. I just have these few quirks that I would like to address both so I can learn, and to make this and future projects better.
While I appreciate the recommendation to use bean's base, I have taken a look at his and there seems to be nothing in his which copies data into /data/data/com.whatever.package (or at least there's nothing in his zip in the /data/data folder -- not sure if his ROM has the toggle activated?)
I have the Apps working correctly in my ROM -- they just go in /data/apps, /system/app or /system/priv-app, respectively.
What I need, is to get /data/data/com.whatever.package/ copied With Correct Permissions when the ROM is installed; I do not want a second zip to update things after install, especially for a toggle and a couple shortcuts, seems silly.
For instance, when you boot your phone up with the default [stock] samsung launcher, it has a list of default apps and widgets on the first screen you see such as phone, messages, a clock widget, etc, etc. Since I've replaced the stock launcher with Holo Launcher HD and some other default apps have also been replaced, there's very few shortcuts on the main launcher screen.
** Holo Launcher does have a list of default apps it adds to your main page, but many of those have been removed in my rom.
The solution I've come up with basically waits for the system to boot up to the point that Holo Launcher actually creates the default (mostly blank) /data/data/com.mobint.hololauncher.hd/databases/launcher.db and then my script uses sqlite3 to update the DBs with a list of different shortcuts -- ones to apps that actually exist.
The Hotspot Toggle is the same way as above.. Hotspot works fine in my rom if you go through settings!
I just cannot add the notification panel pull-down toggle to /data/data/com.android.providers.settings/database/settings.db until after the system boots up at least ONE time, and then update the DB to include WiFiHotspot in notification_panel_active_app_list and notification_panel_active_app_list_for_reset
As for the zipalign and deodexing, I will have to try those again now that I have a fairly stable rom.
****EDIT****
I think I figured it out. I can just use busybox to kill the systemui after I update the databases during the first boot. I also figured out how I can add the SetupWizard without it locking up on activation.
Thanks anyways, guys.
Look for my rom, coming soon!
=P
Please add support for more languages
I found a mod for Motorola latest 4.4 please port it
Sent from my SM-G900T using XDA Free mobile app

Categories

Resources