system files from extraced stock samsung rom - Galaxy S6 Q&A, Help & Troubleshooting

Hi,
I accidentally deleted the google services framework odex file with lucky patcher. now I wanted to replace the file from a stock rom that I have downloaded from sam mobile but I cannot extract the system files. Tried the tool sgs2toext4 but it is somehow not working.
Galaxy s6
5.02.
G920FXXU1AOCV
G920FDBT1AOCN
where do I get system files from a specific rom?
It would also be a great help if someone could send me the GoogleServicesFramwork.odex from System/priv-app/GoogleServicesFramework folder
Or maybe other suggestion what to do. My phone is unstable because this services tries to start periodically and a message gapps process has stopped...

Related

install apk extracted from other stock firmware or roms deodexed - help

Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
djskarpia said:
Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
Click to expand...
Click to collapse
I don't think you can just copy over a system apk from one device to another without porting it which I cannot help you with. Same thing goes for the launchers they too would need to be ported over. You could try and use something like apkManager to decompile the app then make the necessary changes to it, i.e. resolution, device name, etc, etc,. then compile it. I have no experience doing this with apps and you might find some help by digging around in the main android development forum, not the one for this device the main one.
http://forum.xda-developers.com/forumdisplay.php?f=524

[Q] Transferring stock apps

Summary: How can I transfer apps from the stock rom (that are stored as.apk and .odex pairs) to my current rom?
Full Story: The stock rom (Gingerbread) for the Samsung YP-G70 has a working fm radio app that I'd like to use with my current rom (CM 10.2). I saved the .apk and .odex files from a stock install to my sd card.
Is this even possible?
If anybody's managed to do it, what're the steps? (the default apps are stored as .apk with a .odex file and xultimate can't seem to handle the files (get "top level error" about missing files and such))
No mate it is not that way....
goggle For it
Ankit Gor said:
No mate it is not that way....
goggle For it
Click to expand...
Click to collapse
Already tried that. All the results I'm seeing involve a third party app backup tool (which I've already tried without success), or don't address the mixed apk & odex issue.
no it wont
it wont work as it is odexed .... try deodexing the apk but still i would say it wont work but still u try...

[Build.Prop] Original JSS15R Nexus 7 2013 (From Stock Image)

EDIT: WIFI ONLY - Not the LTE Version!
Title says it all. Hope this saves someone hours of searching for it like I did before giving up and pulling it from the stock JSS15R image. I know we should all make backups but life happens. This is for all of you [like myself] who found you could not upgrade to Stock 4.4 because of changes to your build.prop file.
In my case I forgot to uninstall a custom framework I had installed on a stock 4.3 image [root but stock recovery] and the 4.4 OTA failed. I never got another prompt to try again from Google so after removing the framework I downloaded the image manually and tried to install it through ADB. Again it failed this time telling me the file build.prop had the wrong checksum. The framework had restored the build.prop but the file checksum was off. The one below was pulled from the original stock image using ext4_unpack. I copied it to my system folder over the "original" and ran the update again. Worked like a charm.
If you run into the same issues try the stock file above. We really should just start a repository for these stock build.prop files.

[Q] Restore secmemo.apk

Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
korabio said:
Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
Click to expand...
Click to collapse
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Lgrootnoob said:
Take the package you initially got then find the apks in the /system/app folder and push those to your phone /system/app and then reboot.
Click to expand...
Click to collapse
if i restore from backup (my old rom was a stock rom) the application crash.
i try to extract it from the same stock samsung rom, put it into the system/app folder but it crash.
i try to deodex the apk and put it into system/app but it crash
i try also to restore from stock rom the symbolic link but it crash on start of the application ...
any idea?
Lgrootnoob said:
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Click to expand...
Click to collapse
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
korabio said:
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
Click to expand...
Click to collapse
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Lgrootnoob said:
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Click to expand...
Click to collapse
i hope that the different framework between two roms is the problem...
for now i extract the db from titanium backup and reimport to colornote (from google play).
Thanks for your help

How can I add jar and odex file to framework folder?

I have a Galaxy Young Duos TV (GT-S6313T), and I'm using a Galaxy Young Duos (GT-S6312) ROM, X-Sam Duos.
Trying to port TV to this ROM, I've searched in stock ROM all files that have "broadcast", "nex", "ltn" and "one seg" in its name. Then I copied them to new installation, including TV apk and odex.
I get two behaviors: if I put all files found in ROM, less the /system/framework files, ROM boot normally, but TV app doesn't appear. If I put all, including the frameworks, ROM doesn't boot, get stuck in Samsung animation.
What can I do?
List of files
/system/bin/broadcastProcessObserver_ltn
/system/etc/one-seg/debug_ltn.ini
/system/lib/libbroadcastForOneSeg_ltn_jni.so
/system/lib/libBroadcastProcObs_ltn.so
/system/lib/libbroadcast_signalForOneSeg_jni.so
/system/lib/libbroadcast_upgrade_ltn_jni.so
/system/lib/libnexcalbody_aac_ltn.so
/system/lib/libnexcalbody_h264_ltn.so
/system/lib/libnexcalbody_ltn.so
/system/lib/libnexcal_ltn.so
/system/lib/libnexplayerjni_ltn.so
/system/lib/libnexplayerservice_ltn.so
/system/lib/libnexralbody_ltn.so
/system/lib/libnexral_ltn.so
/system/lib/libnexsalbody_debug_ltn.so
/system/lib/libnexsalbody_file_ltn.so
/system/lib/libnexsalbody_mem_ltn.so
/system/lib/libnexsalbody_sock_ltn.so
/system/lib/libnexsalbody_syncobj_ltn.so
/system/lib/libnexsalbody_task_ltn.so
/system/lib/libnexsalbody_time_ltn.so
/system/lib/libnexsal_ltn.so
/system/lib/libonesegappmgr.so
/system/lib/libOneSegControl.so
/system/lib/libonesegdemux_ltn.so
/system/lib/libonesegdmxdriver_ltn.so
/system/lib/libonesegdsmcc_ltn.so
/system/lib/libOneSegESG.so
/system/lib/libOneSegfactorytest_jni_ltn.so
/system/lib/libonesegoc.so
/system/lib/libonesegsp_ltn.so
/system/lib/libonesegutils_ltn.so
/system/lib/libPGL_ltn.so
/system/lib/libProtocolProc_ltn.so
/system/app/MobileTV_LTN.apk
/system/app/MobileTV_LTN.odex
/system/bin/nexprocess_ltn
/system/framework/nextreaming.jar
/system/framework/nextreaming.odex
/system/etc/permissions/nextreaming_java_lib.xml
/system/lib/OneSegControl
/system/lib/OneSegDsmcc_ltn
/system/lib/OneSegGinga
/system/lib/OneSegTsDemux_ltn
/system/etc/permissions/SecBroadcast.xml
/system/framework/SecBroadcast.jar
/system/framework/SecBroadcast.odex
/system/etc/permissions/SecBroadcastSignal.xml
/system/framework/SecBroadcastSignal.jar
/system/framework/SecBroadcastSignal.odex
/system/etc/permissions/SecBroadcastUpgrade.xml
/system/framework/SecBroadcastUpgrade.jar
/system/framework/SecBroadcastUpgrade.odex
/system/etc/one-seg/tvfiles_database_ltn.db
Edit
Found the problem: framework files were odex, and ROM is deodexed. After deodex framework and TV apk files, system boots and TV app is there, but it FC. Tried another deodex method for TV apk, system lags a lot but app isn't launched

Categories

Resources