flash Gapps into samsung rom? - Galaxy S II Q&A, Help & Troubleshooting

Have any one tried this?
flash Gapps into samsung based ics roms.
The gapps that i'm talking about are the zip file that you need to flash after flashing CM9 or AOKP roms.
this is because the stock messaging and stock calender app are much better than the samsung ones.
will there be any problem if i flash those on top of my samsung based rom?

Ray1 said:
Have any one tried this?
flash Gapps into samsung based ics roms.
The gapps that i'm talking about are the zip file that you need to flash after flashing CM9 or AOKP roms.
this is because the stock messaging and stock calender app are much better than the samsung ones.
will there be any problem if i flash those on top of my samsung based rom?
Click to expand...
Click to collapse
well instead of flashing the zip file and facing isssue's of Boot loop or stuck on the boot screen logo.
i would suggest u to extract the .apk file's of the same ie stock messaging and calender then push the same to system>app folder using root explorer/browser and then set permission to rw-r--r-- of the same apps then reboot ur phone and see.
ps- ur phone has to be rooted to use the rootexplorer/browser app since it requires root permission
else simply put the apk files in ur sdcard and then install from there and see

Sun90 said:
well instead of flashing the zip file and facing isssue's of Boot loop or stuck on the boot screen logo.
i would suggest u to extract the .apk file's of the same ie stock messaging and calender then push the same to system>app folder using root explorer/browser and then set permission to rw-r--r-- of the same apps then reboot ur phone and see.
ps- ur phone has to be rooted to use the rootexplorer/browser app since it requires root permission
else simply put the apk files in ur sdcard and then install from there and see
Click to expand...
Click to collapse
my phone is rooted and i know how to flash custom roms.
but i am still noob (or totally clueless) on how to extract .apk files.
you know where can i find the stock ICS apk for messaging and calendar?
or could you be so kind to extract for me if you are free?
thanks alot

Ray1 said:
my phone is rooted and i know how to flash custom roms.
but i am still noob (or totally clueless) on how to extract .apk files.
you know where can i find the stock ICS apk for messaging and calendar?
or could you be so kind to extract for me if you are free?
thanks alot
Click to expand...
Click to collapse
u can find all of them extracted for u HERE
dwnld the same either from the market link or the apk link and install the same and enjoy
in the future please dont be noob at least when it comes to using the XDA search or Playstore

Related

[Q] Deodex

Hey Guys,
I'm trying to get the stock contacts dialler and mms app onto my rooted ZTE Skate with cyanogen.
as far as my understand goes, odexed apps cannot be pushed onto the cyanogenmod rom because it is a deodexed rom.
I tried deodexing with xUltimate v2.2.
it gave me a single .apk file which i pushed onto my phone.
it transferred successfully like it always does, but it doesn't appear on my app drawer nor under the relevant folder using a file explorer.
would appreciate if someone can shed some light on my problem...
Thanks in advance,
Mubs
If you place an apk file in the system/app directory and you don't see the icon in your app drawer (even after a reboot), that means the app doesn't work. Have you tried installing the app normally?
thanks for the reply.
yes i have. i just get the message aop not installed.
I've also tried the dialler and mms app too.
Mubs said:
thanks for the reply.
yes i have. i just get the message aop not installed.
I've also tried the dialler and mms app too.
Click to expand...
Click to collapse
Don't know if you did this but, remember that you need to rename the new app to the stock app (Example: "ABCDE web browser.apk" would be need to be renamed to "browser.apk")
Yeah i extracted the apps from the stock rom so all throughout the journey, they've been holding the stock names.
Its strange because I can delete the contacts app that comes with cm and push the same contacts.apk that is present within the cyanogenmod system/app folder.
this app will appear in app manager, and the respected folder within the root directory.
but when i try to run it, i get a process failed error in acore or something like that.
same problem also exists after a reboot.
can anybody help me with this please?
Mubs said:
can anybody help me with this please?
Click to expand...
Click to collapse
State the exact error.
Ok thats very strange.
pushing contacts.apk that comes with cm7 now seems to work.
i can uninstall and push it back to my hearts content.
I then tried pushing the contacts.apk that i extracted from the stock ZTE skate rom and deodexed with xUltimate v2
and it doesn't appear in the app drawer, antek app manager list, or even under system/app when opened using ES file explorer.
what am i doing wrong?
is this contacts.apk even compatible with CM7?
i read that stock apps can be installed if deodexed, hence the reason why i went this route in the first place.
Thanks again,
Mubs
Mubs said:
Ok thats very strange.
pushing contacts.apk that comes with cm7 now seems to work.
i can uninstall and push it back to my hearts content.
I then tried pushing the contacts.apk that i extracted from the stock ZTE skate rom and deodexed with xUltimate v2
and it doesn't appear in the app drawer, antek app manager list, or even under system/app when opened using ES file explorer.
what am i doing wrong?
is this contacts.apk even compatible with CM7?
i read that stock apps can be installed if deodexed, hence the reason why i went this route in the first place.
Thanks again,
Mubs
Click to expand...
Click to collapse
Post the link to that rom.
Thanks for the reply Chief.
i got it from here:
http://android.modaco.com/topic/344...-monte-carlo/page__view__findpost__p__1779895
Regards.
Mubs
Mubs said:
Thanks for the reply Chief.
i got it from here:
http://android.modaco.com/topic/344...-monte-carlo/page__view__findpost__p__1779895
Regards.
Mubs
Click to expand...
Click to collapse
What firmware version is it?
the stock rom is 2.3.4 Gingerbread.
Mubs said:
the stock rom is 2.3.4 Gingerbread.
Click to expand...
Click to collapse
Did you set the permissions of the app to the same as the one for CM7?
Yes,
when push didn't work.
i transfered the deodexed (and the odexed) .apk from the stock rom onto my sd card and from there onto the sytem/app folder using es file explorer.
I changed the rights so that Owner has read and write privileges, Group has read privileges, and Others have read privileges.
Still no joy I'm afraid.
Mubs said:
i transfered the deodexed (and the odexed) .apk from the stock rom
Click to expand...
Click to collapse
I thought you said it was a Deodexed rom.
No the stock rom is odexed.
i manually deodexed using xUltimate v2
Mubs said:
No the stock rom is odexed.
i manually deodexed using xUltimate v2
Click to expand...
Click to collapse
Ok. Have you tried re-deodexing it (or even just the app separately)?
How would i go about doing that?
do i just run the deodexed .apk through xUltimate again? I'll try that now.
Mubs said:
How would i go about doing that?
do i just run the deodexed .apk through xUltimate again? I'll try that now.
Click to expand...
Click to collapse
No. You'll have to use both the odex file and app file again.
aah ok.
I'll do that.
I'm fine to push the deodexed .apk to the phone like normal right?
the xUltimate guide suggests i transfer the done_app folder to the sd card and then run a script.
are we sure this app is even compatible with CM7 in the first place?

[Q] How To get Stock Apps ??

i am using samsung galaxy ace with a custom rom. i want to have some of the stock apps mainly stock camera, stock task manager, and stock messages. is there a way i can get it and put it in my custom rom ???
my method-
i am not sure whether this will work or not but i think that if i get the apk file then i can put it in root/system/apps and set permissions to rw-r-r. this should work according to me.
but how do i get the apk file?
for that also i think i could extract it from the installation files for stock rom...
but the installations i have come across are either .md5 or .tar files for stock rom. hence i am unable to help to extract it and get the apk file. also i am unable to find a direct zip installation setup via cwm for stock rom. if i get that then its easy to extract the apks.
please help. i am not sure if my method is right. if it is then help me with it, if not then please tell me the other method
I think it´s not that easy, becaus the stock apps are using another framework, so they will not work if you just put them in the root/system/app folder. You have to install the framework which is used by the stock Samsung rom. If I´m wrong please correct me.

[GUIDE]Solution to recover some apps like IM,swype etc. mostly missing in custom ROMs

I am not sure if this is already known or has been discussed before. Search did not yield any relevant results. Please post your feedback.
Introduction
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing. These are not even there in many of the "Stock unmodified" versions released either. Surprisingly, they are very well present if you flash the original ROM through Odin. So where do these apps go? They are actually installed on first boot only if you flash from Odin.
Usual missing apps
KiesAir
OceanWeather and WindyWeather live wallpapers
Polaris Office
Photo Editor
Samsung IM
Swype
Vlingo
For those who do not want to go through this procedure and straight away want the CWM package of these missing files, you can download it from here...
How to extract them?
I am assuming the most common method ROM cooks use maybe using dsixda's kitchen (thanks to his fantastic scripts!).
When extracting and de-odexing the ROM, you may have noticed a file called hidden.img in the original ROM file which is usually ignored in this process. this file contains the above apps and they are installed to the /data/app folder. The hidden.img file is not readable using regular softwares, just like factoryfs.img.
Extract this hidden.img file from the original ROM image and paste it in the original_update folder of dsixda's kitchen (xxx.tar.md5 can be renamed to xxx.tar and opened in softwares like winrar)
Rename the hidden.img file to factoryfs.img.
Close any existing kitchen tasks and restart the kitchen.
Select option 1 to set working folder.
Make a backup of your existing working directory.
When prompted, choose the factoryfs.img option to proceed with (option 3).
You will get a message saying the file is being converted to a format for extraction.
The ext2fs program should automatically be launched.
Select open file in the program and choose the ext_factoryfs.img file (which is actually the converted from of the renamed hidden.img file).
Right click on the left pane where the opened file is listed and select Save.
Save it to the root folder of your working directory.
Now you will have a folder called data in your working directory with the missing apps. Include extraction of this folder in your updater script and you are done
If the tutorial wasn't clear, feel free to post questions on the thread.
Hope this was helpful, Cheers...
ajayjohn said:
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing.
Click to expand...
Click to collapse
It seems to be missing in all Deodexed ROM
Photo editor not working. Also there isn't new gallery app in official ROm???
nikki2325 said:
Photo editor not working. Also there isn't new gallery app in official ROm???
Click to expand...
Click to collapse
Photo editor works fine for me. Did you try clearing your cache?
Also, Samsung still uses the old GingerBread gallery.
Couldn't someone just extract the apps then post them here.
thecrater said:
Couldn't someone just extract the apps then post them here.
Click to expand...
Click to collapse
You can get them in a zipped file from here
Unzip and use the app you want.
ajayjohn said:
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing. These are not even there in many of the "Stock unmodified" versions released either. Surprisingly, they are very well present if you flash the original ROM through Odin. So where do these apps go? They are actually installed on first boot only if you flash from Odin.
Click to expand...
Click to collapse
Why not make a custom rom .tar? install with odin? or mobile odin?
If I wanted to flash this hidden.img in heimdall what should i do ? Meaning where should i put it ?
Sent from my GT-I9100 using XDA
Custom roms apps missing i just open the zip with win rar go to system /apps and ADD required apps or even delete apps not wanted close and flash .
Thats open not unzip .
jje
sachs said:
Why not make a custom rom .tar? install with odin? or mobile odin?
Click to expand...
Click to collapse
JJEgan said:
Custom roms apps missing i just open the zip with win rar go to system /apps and ADD required apps or even delete apps not wanted close and flash .
Thats open not unzip .
jje
Click to expand...
Click to collapse
That is definitely a way to do it.
But since these apps get installed to /data/app when installed via odin. Hence, to replicate that (not needed), i mentioned unzipping and installing as a regular apk.
Another option is to open the zip as you said and place these in a /data/app folder and flash it.
But primarily, this thread was created because i have found people asking on many rom threads about missing these apps, without getting a reply...
ajayjohn said:
But since these apps get installed to /data/app when installed via odin. Hence, to replicate that (not needed), i mentioned unzipping and installing as a regular apk.
Another option is to open the zip as you said and place these in a /data/app folder and flash it.
Its just the missing stock apps i put in system /apps i do not add apps to data s that is hit and miss unless the script is edited .
I also remove stuff i dont want from custom roms and add my own wallpaper ringtones boot CSC etc by the same method .
jje
Click to expand...
Click to collapse
Very nice and simple guide.Thank you :good:
since it s not mentioned, I advice to add the libs missing for polaris office and swype etc..
U can retrieve them opening the apks and check out the lib folder.
These have to be pasted into /system/lib to avoid FCs.
It s an important step, mention it into OP.
i'm trying to get stock swype for a galaxy ace s5830 installed on my custom rom. So far without succes. I have pasted swype.apk (extracted from stock rom!) into /system/app and libswypecore.so into /system/lib. Both with permissions: 6-4-4.
When I try to use swype I get an error that this swype version was intended to use on a different device. result: I can swype but nothing happens (no words are entered, though the different dictionairies are present in the swype.apk).
I'm wondering what I should do now. (besides checking the build.prop file for differences).
DutchArjo said:
i'm trying to get stock swype for a galaxy ace s5830 installed on my custom rom. So far without succes. I have pasted swype.apk (extracted from stock rom!) into /system/app and libswypecore.so into /system/lib. Both with permissions: 6-4-4.
When I try to use swype I get an error that this swype version was intended to use on a different device. result: I can swype but nothing happens (no words are entered, though the different dictionairies are present in the swype.apk).
I'm wondering what I should do now. (besides checking the build.prop file for differences).
Click to expand...
Click to collapse
It's galaxy s2 theard, ask in galaxy ace
Ganjax said:
It's galaxy s2 theard, ask in galaxy ace
Click to expand...
Click to collapse
sorry. I thought as it are both samsung devices, It would be the same for Ace, but I will ask in Ace forum.

How install apps to /system/data

Hi,
I try install SmartShare form my stock firm on custom ROM (DarDroidXD wich is based on stock). I have SmartShare.apk in /system/data with good premissions but still nothing. I dont see him in menu. Why ?
shajek said:
Hi,
I try install SmartShare form my stock firm on custom ROM (DarDroidXD wich is based on stock). I have SmartShare.apk in /system/data with good premissions but still nothing. I dont see him in menu. Why ?
Click to expand...
Click to collapse
For installing ur SmartShare apps, you need to copy that apk in your /system/app folder and give the permission "rw-r--r--" and just reboot your phon..
This work for you..no need to access /system/data folder for installing apk.
Cheers...
No need to say thanks, you only just pressed "THANKS" button..
Sent from my GT-I5510 using xda premium
Did you put the .apk in that folder or did you run the installer? Typically the installer will install to the /data/app folder then use either Titanium backup or ES File Manager to make it a "System app". Also some apps from stock ROM's do not work on custom ROM's, EX. The HTC weather app will not work on the AOSP ROM I am using now (most likely missing dependencies) and this can be the case with your ROM too

[WIDGET]Additional HTC Widgets

Firstly, thanks to ayyu3m and others too for the initial test.
Just install widget apks as how you install a normal apk.
All the 11 additional widgets attached
Thanks to ayyu3m and nlooooo for the screenshots
Unable to install.
ckpv5 said:
Before I start to upload all other htc widgets which is not in Desire X stock ROM, can someone test this one first.
Just install it as how you install a normal apk and advise if it working as it should.
If it works, I will upload more Htc widgets.
Click to expand...
Click to collapse
Application Not Installed
I wonder why
Ahh... maybe it need to be re-signed to install as normal apk.
Please retry as I uploaded a re-signed apk.
ckpv5 said:
Ahh... maybe it need to be re-signed to install as normal apk.
Please retry as I uploaded a re-signed apk.
Click to expand...
Click to collapse
Needs to be installed a system app make a flashable zip and flash through CWM
The Android Manual said:
Needs to be installed a system app make a flashable zip and flash through CWM
Click to expand...
Click to collapse
That's for unsigned apk.
This is a re-signed apk, can be installed on unrooted stock ROM or rooted ROM.
Still nothing. Manual is on point, it needs to be put on system partition.
This was downloaded from HTC HUB, so if it get installed after resigned, and you can't see the widget in the widget list, my guess is it may not work for Sense 4.1 lite.
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
You can't install it when it's not signed with an HTC certificate.
cobje said:
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
You can't install it when it's not signed with an HTC certificate.
Click to expand...
Click to collapse
Ahh..ok... nothing much I can do here to help; unless someone know how to make this widget installable on unrooted DX then I can provide total of 11 additional widgets.
I decompiled the APK, removed the shared uid part, compiled it, pushed it to /system/app and the widget didn't show up. I signed it with my own certificate, pushed it to /system/app and still no luck.
Use a flashable zip
cobje said:
I decompiled the APK, removed the shared uid part, compiled it, pushed it to /system/app and the widget didn't show up. I signed it with my own certificate, pushed it to /system/app and still no luck.
Click to expand...
Click to collapse
Use CWM because the Desire X does not allow you to touch the System Partition using a ROOT explorer even with Root Explorer
The Android Manual said:
Use CWM because the Desire X does not allow you to touch the System Partition using a ROOT explorer even with Root Explorer
Click to expand...
Click to collapse
There's an app called Aroma File Manager made by Amarullz, it is made to be used from recovery as a flashable zip, you just start it like you flash a zip from sd card. Maybe that can be used if there's a problem making flashable zip.
The Android Manual said:
Use CWM because the Desire X does not allow you to touch the System Partition using a ROOT explorer even with Root Explorer
Click to expand...
Click to collapse
Sorry, didn't mention it but I used ADB in recovery. I think I've gotten used to it, so I don't say it anymore.
I personally hate flashable ZIPs, I'd rather do it manually.
What about the version code and version name in AndroidManifest.xml
I have edited a few and will let you all know in a while
Is this the widget you guys are looking for? (left)
The Android Manual said:
Is this the widget you guys are looking for? (left)
Click to expand...
Click to collapse
Yeah. How is it working in your rom man? We need all other widgets also.
ayyu3m said:
Yeah. How is it working in your rom man? We need all other widgets also.
Click to expand...
Click to collapse
I told you guys use CWM make a flashable zip lol or just flash my ROM
I'll make one for you when I get home
and ckpv5 peace
The Android Manual said:
I told you guys use CWM make a flashable zip lol or just flash my ROM
I'll make one for you when I get home
and ckpv5 peace
Click to expand...
Click to collapse
I am still using stock man Will i be able to flash the zip via stock recovery?
ayyu3m said:
I am still using stock man Will i be able to flash the zip via stock recovery?
Click to expand...
Click to collapse
Can you retest the one that I re-uploaded on OP ? It's the same one that you tested in PM; just to make sure again it does work.

Categories

Resources