[Q] How To get Stock Apps ?? - Galaxy Ace S5830 General

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.

Related

How can I extract an apk file from a ROM ?

I'm trying to extract the file phone.apk from stock ROM version KG6.
I understand that the apk files are inside the factoryfs.img file, but how can I open this file ?, I tried Winrar but it doesn't open...
look at this thread. This is internal ext4 image. You must repack and mount it to read something.
You can try also to find an unpacked rom dump.
Take them attached. I've extracted them (apk+odex) from KG6.
Ivan_Belarus said:
look at this thread. This is internal ext4 image. You must repack and mount it to read something.
You can try also to find an unpacked rom dump.
Click to expand...
Click to collapse
Thanks Ivan. I've looked at that thread, but from what I understand that code is for linux, no ? I only have windows...
Any clue of where can I find that unpacked rom dump ?
Just look above I've unpacked them for you
P.S. in that thread is the program and tip for windows. Just read all the posts
Of course, linux is better and faster for that
Thanks Ivan !!
Ivan, I've tried to put the phone.apk file that you've extracted for me, in the system/app directory of my phone (I haven't moved phone.odex though).
The problem is that now I get forced close...
The ROM that I'm using is Cognition 1.42, which is based on KG6 (but Cognition is deodexed).
What do you think could be the reason that the phone.apk file that you've extracted from stock KG6, doesn't work with Cognition KG6 ROM ? ?
Reason you haven't moved the odex file - is the essential part of the app. Dont forget to reboot after that. This is not deodexed file
If it doesn't work (should be) you have to look for cognition orginal deodexed phone.apk, because it may have some modifications. I have many customs on my PC, but cognition. So pity
Tell me if it doesnt work, I'll ask someone to give it to me.
Thanks again for all your help Ivan. Much appreciated.
I tried to copy both phone.apk and phone.odex to system\app, but it still doesn't work.
I don't have a problem returning to the original cognition ROM (via CWM). The thing is that I want to replace his phone.apk with the one that comes with the stock version, because I want the "ascending ringtone" back (he disabled this feature in his version of the phone.apk).
I have sent you the stock version from KG6. As I said cognition won't work with stock phone.abk due to some modifications.

[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.

[q] uninstalled file manager -- need it back

While I was trying to clear the data of the file manager, I inadvertently uninstalled the file manager.
I am rooted on Virtuous Prime. I tried to use Titanium to extract the file manager from a nandroid backup; this did not work.
I do not have a titanium backup of the file manager.
Surprisingly, I like this stock file manager.
Is there a way I can get it back? A download?
Can I use adb to push the file manager to the device after extracting it from a ROM?
I don't know if this is the right one, but we can try it. It's the only one I could find.
I also have another file called filemanager2.odex
Im thinking that's just the data in my file manager....if you need that 2nd file, let me know
Added the file...had to change odex to zip to upload....just delete zip and change it back
robertg9 said:
I don't know if this is the right one, but we can try it. It's the only one I could find.
I also have another file called filemanager2.odex
Im thinking that's just the data in my file manager....if you need that 2nd file, let me know
Click to expand...
Click to collapse
If you are on a stock ASUS firmware, most of your system APKs will be odexed. You need both the APK and the odex file for the app to run.
A lot of custom ROMs have deodexed files for several reasons. Some people swear that deodexed ROMs are faster, some swear the opposite. Modifying deodexed ROMs is theorectically slightly easier also as you only need to deal with one file rather than 2.
This is a rather simple, nonsensical explanation of the situation, and I'm sure other folks will chip in with more accurate definitions, however, getting back to the point, YOU WILL NEED THE ODEX FILE ALSO IF ON STOCK.

flash Gapps into samsung rom?

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

Noob help with custom rom setup

Evening Everyone,
I am attempting to roll my own android version from this base and following instructions from this guide. I did the instructions from the base and installed the stock version just fine. I run linux at home and I didn't need to unpack the system.img.ext4 file, just mounted it and was able to edit. There wasn't a system/apps folder in the image, but there was app/ and it looked like that was where the core apks were stored.
I removed samsung junk, unmounted the image, zipped it back up with all the other files that came with the original zip from the link. When I go to install (TWRP) I get the error:: could not find 'meta-inf/com/google/android/update-binary' in the zip file :: but when I open the zip file it is definitely there. Is there a config file I need to edit also?
Trying to remove the bloatware on my own and will add my own prefered apps once I can get this down. I haven't decided if I want to also remove the google apps and only install a very light weight version. Eventually I might try rom editing, but not sure how deep I want to go down the rabbit hole. Trying to install Marshmallow on sprint galaxy s5. TWRP version is 3.0.2-1
Any help to get me started is greatly appreciated!!
**edit
Here is a link to my edited version: https://drive.google.com/open?id=0B7skzIXflRaLaVRjc29uMHlBUDA
Nevermind. I am an idiot and the whole structure was one layer too deep. Zip->folder->files instead of Zip->files.

Categories

Resources