Flash/install .apk with TWRP on Galaxy S8 (need HELP asap) - General Questions and Answers

Hello, I accidentally deleted Bixby and related files, after which my phone (Samsung Galaxy S8) crashed directly and got stuck in an infinite startup process (you see samsung logo all the time). Now I want to reinstall the apk's which I have deleted. These can be found under the following names:
com.samsung.android.bixby.wakeup
com.samsung.android.app.spage
com.samsung.android.app.routines
com.samsung.android.bixby.service
com.samsung.android.visionintelligence
com.samsung.android.bixby.agent
com.samsung.android.bixby.agent.dummy
com.samsung.android.bixbyvision.framework
It is extremely important to me that the data is kept, as important info/accounts are on my phone, so I don't want to factory reset it. Or is there a way to copy accounts saved on the device with TWRP to a PC or similar?
How can I install these (Bixby) files on my phone via TWRP?
Any help is appreciated. Thanks in advance!

Pack the mentioned APKs and an Updater script into an Update.ZIP, sign the Update.ZIP and install it via TWRP.
See also here:
Android Script Creator
Watch video how create update-script (update.zip)!
sites.google.com

jwoegerbauer said:
Pack the mentioned APKs and an Updater script into an Update.ZIP, sign the Update.ZIP and install it via TWRP.
See also here:
Android Script Creator
Watch video how create update-script (update.zip)!
sites.google.com
Click to expand...
Click to collapse
Ok, thanks I created the Update.zip now, but do I also need the md5sum file? And do you have an tutorial on how to sign and flash the Update.zip?
Would really appreciate it, if you can help.
Thanks in advance!

Look inside here:
How to Sign Update.zip Files and APK on Android devices [Free App]
If you’ve developed an application or a custom ROM for Android, then you first need to digitally sign the .apk or .zip files using a private key which is
webtrickz.com

jwoegerbauer said:
Look inside here:
How to Sign Update.zip Files and APK on Android devices [Free App]
If you’ve developed an application or a custom ROM for Android, then you first need to digitally sign the .apk or .zip files using a private key which is
webtrickz.com
Click to expand...
Click to collapse
Ok, thanks, so do I need to factory reset my phone first in order to sign it? Now I can't install and use apk, because at the boot process my phone stucks in infinite loading screen.

Hello,
I install flash renovate ice 7.0.0
My device S8 plus
In this rom i cant find private mode not in setting..
Plz help

Related

[Q] pls help me "assert failed" when upgrade to 2.3.2 [solved]

hi, my SNS has been ROOTed , the version is 2.3.1, for the google maps navagator can't work in my country reason, so, I also have been removed the original GMaps-5.0 use the System-App-Remover , replace installed the Googlemap-4.6-brut version.
now, here is the problem:
I download the 601kb upgrade file , moved to the sdcard/os, when I chose this zip file to apply from my clockworkmod recovery v3.0.0.5, it's always aborted like the attached image,
I have tried such as
1. remove the googlemap-4.6-brut, download & install the latest GoogleMaps from the market,
2. download the Maps.apk directly, use "adb push Maps.apk /system/app"
all can't pass the recovery process, aborted with such "assert failed ..."message,
PLS help me ! Thanks a lot.
vibramm said:
hi, my SNS has been ROOTed , the version is 2.3.1, for the google maps navagator can't work in my country reason, so, I also have been removed the original GMaps-5.0 use the System-App-Remover , replace installed the Googlemap-4.6-brut version.
now, here is the problem:
I download the 601kb upgrade file , moved to the sdcard/os, when I chose this zip file to apply from my clockworkmod recovery v3.0.0.5, it's always aborted like the attached image,
I have tried such as
1. remove the googlemap-4.6-brut, download & install the latest GoogleMaps from the market,
2. download the Maps.apk directly, use "adb push Maps.apk /system/app"
all can't pass the recovery process, aborted with such "assert failed ..."message,
PLS help me ! Thanks a lot.
Click to expand...
Click to collapse
The update script is failing because you have modified system files that it expects to find (specifically Google Maps) in the /system/app directory. Downloading Maps from the Market won't help you, because you have to put a copy that will match the CRC check for Google Maps in the /system/app folder, and the Market download copy goes into /data/app and has a different name, crc, etc.
You need to get a clean copy from a 2.3.1 ROM that hasn't been modified in any way and put it back in /system/app.
You could also edit the updater-script to skip that file... Check out this thread, start reading around post 184 to the end and you should be able to figure it out: http://forum.xda-developers.com/showthread.php?t=923705&page=19
distortedloop said:
The update script is failing because you have modified system files that it expects to find (specifically Google Maps) in the /system/app directory. Downloading Maps from the Market won't help you, because you have to put a copy that will match the CRC check for Google Maps in the /system/app folder, and the Market download copy goes into /data/app and has a different name, crc, etc.
You need to get a clean copy from a 2.3.1 ROM that hasn't been modified in any way and put it back in /system/app.
You could also edit the updater-script to skip that file... Check out this thread, start reading around post 184 to the end and you should be able to figure it out: http://forum.xda-developers.com/showthread.php?t=923705&page=19
Click to expand...
Click to collapse
Thanks distortedloop !
I have been restore the stock 2.3.1 img through the nandroid, unroot it , upgrade to 2.3.2 OTA, then, re-Rooted it , many thanks !
Happy rabbit year ! -

RESTORE .APKs FROM CWM

Hello Friends This is my first TUTORIAL.
DO, ANYONE RATHER THAN ME (AS A NOOB) NEEDS SOME SYSTEM OR USER INSTALLED .APKS from CWM (clockwork mod) Backups? It would be easy to get them just by Re-installing the Backups. But in some Cases we don’t want to restore the whole system backup instead of SOME APPS or DATA Only.
So Here’s the Tutorial to Extract the .APKs or DATAs From the Backups which is in the .tar format. (CWM RECOVERY only.) found By ME. (I don’t know if anyone Other than me have already found this Method. Coz I Didn’t find any.)
Steps:-
1. The BACKUP of your ROM (from which you want to Restore .APKs / DATA)
2. A Computer / Android Device.
3. 7 – Zip installed (for a Computer PC) / 7 zipper (free in the Play Store) Installed (for a Android Device)
4. Now go the Backup folder and Open It.
5. If you want to restore System (Pre-installed) .APKs of CWM RECOVERY find the File Named “system.ext4.tar.a”
6. If you want to restore your USER INSTALLED .APKs of CWM RECOVERY find the File Named “data.ext4.tar.a”
7. Open it with the Respective Installed “7-Zip | 7 Zipper” via the Device you have.
8. And Navigate to the Folder “system --> app” for Pre-Installed | and for USER installed APK.s “data --> app”
9. Now you’ve got to the Respective Place and you have the Whole .APKs of your Android. Restore / Copy them Which ever you want.
10. By this Method you can obtain much more than just APKs. Coz it has simply all the Vital Data or Information of your ROM.
Note: For Installing SYSTEM APPS you have to put it to your Root/System/App folder. And give it the Appropriate PREMISSIONs.
I hope You find it Helpful Noobs. just like me.
Thanks. & Regards,
v_singh (VIPIN SINGH)
v_singh said:
Hello Friends This is my first TUTORIAL.
DO, ANYONE RATHER THAN ME (AS A NOOB) NEEDS SOME SYSTEM OR USER INSTALLED .APKS from CWM (clockwork mod) Backups? It would be easy to get them just by Re-installing the Backups. But in some Cases we don’t want to restore the whole system backup instead of SOME APPS or DATA Only.
So Here’s the Tutorial to Extract the .APKs or DATAs From the Backups which is in the .tar format. (CWM RECOVERY only.) found By ME. (I don’t know if anyone Other than me have already found this Method. Coz I Didn’t find any.)
Steps:-
1. The BACKUP of your ROM (from which you want to Restore .APKs / DATA)
2. A Computer / Android Device.
3. 7 – Zip installed (for a Computer PC) / 7 zipper (free in the Play Store) Installed (for a Android Device)
4. Now go the Backup folder and Open It.
5. If you want to restore System (Pre-installed) .APKs of CWM RECOVERY find the File Named “system.ext4.tar.a”
6. If you want to restore your USER INSTALLED .APKs of CWM RECOVERY find the File Named “data.ext4.tar.a”
7. Open it with the Respective Installed “7-Zip | 7 Zipper” via the Device you have.
8. And Navigate to the Folder “system --> app” for Pre-Installed | and for USER installed APK.s “data --> app”
9. Now you’ve got to the Respective Place and you have the Whole .APKs of your Android. Restore / Copy them Which ever you want.
10. By this Method you can obtain much more than just APKs. Coz it has simply all the Vital Data or Information of your ROM.
Note: For Installing SYSTEM APPS you have to put it to your Root/System/App folder. And give it the Appropriate PREMISSIONs.
I hope You find it Helpful Noobs. just like me.
Thanks. & Regards,
v_singh (VIPIN SINGH)
Click to expand...
Click to collapse
or easier just restore from nandroid manager
ngoralph said:
or easier just restore from nandroid manager
Click to expand...
Click to collapse
hmm... thanks for your advice sir.
but does it offers to restore odex files.?
and other kind of files like built.prop etc.?

[Completed] Restore

Hi, I installed Xposed and now i have a soft brick, and i haven´t got the exposed Disabler zip file. Can you share it please?
Bimalnxb said:
When you first install Xposed it creates a file in your sdcard folder called Xposed-Disabler-Recovery.zip. All you need to do is boot into recovery and flash the disabler file so Xposed will be disabled and your device will be working again as it should.... just search on your sdcard0 folder.....
Click to expand...
Click to collapse
I know, but I think I cancelled it, and now i haven´t got that .zip, so i´d like to download it and after that restore it, but I didn´t find this file uploaded anywhere, how can I obtain it? Anyone can upload it?
Please review Xposed - General info, versions & changelog The First post has the zip you are seeking.

Preinstall apps

Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Thanks and best regards
ultradj83 said:
Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Thanks and best regards
Click to expand...
Click to collapse
Didn't understand your question properly but if you want to preinstall apps everytime you flash the rom or factory reset then copy the apks to following location-
/system/vendor/operator/app/
It will do the work.
Well I did this, but some apps are not installed, this is the problem...
And I have no idea where to find a flash log to see what happened.
Thanks!
ultradj83 said:
Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Click to expand...
Click to collapse
Place the apks in /system/app folder so that they will automatically install.
Make sure to set its permission as 644
ultradj83 said:
Well I did this, but some apps are not installed, this is the problem...
And I have no idea where to find a flash log to see what happened.
Thanks!
Click to expand...
Click to collapse
In the firmware copy apks to
/data/app/
this should work but they will be erased when you factory reset.
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
ultradj83 said:
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
Click to expand...
Click to collapse
No, they won't be deleted if you place it in /system/app, even if you do factory reset
ultradj83 said:
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
Click to expand...
Click to collapse
Then you have to use 1st method which you said didn't work properly. So copying to /system/app/ folder is only option left. But you can't uninstall these apps, you can only delete them.
I'm trying to understand if the system partition has enough space.
Will Play Store update apps in the system?
Tks!
ultradj83 said:
I'm trying to understand if the system partition has enough space.
Will Play Store update apps in the system?
Tks!
Click to expand...
Click to collapse
Yes
That's how apps like Google Maps get updated.
System gets full with a few apps...
I need to put the most of apps into /data, how to set permissions 644 by a Windows computer?
The tool that packages the firmware is only for Windows.
What if I edit permissions on a Linux machine then I copy them to Windows machine?
Tks!
ultradj83 said:
System gets full with a few apps...
I need to put the most of apps into /data, how to set permissions 644 by a Windows computer?
The tool that packages the firmware is only for Windows.
What if I edit permissions on a Linux machine then I copy them to Windows machine?
Tks!
Click to expand...
Click to collapse
Just give permission to /data/app folder as same as /system/app folder. Giving permission to each and every app is not required.
Ok but files and folder are on a Windows machine because the builder is for a Windows.
How can I do?
ultradj83 said:
Ok but files and folder are on a Windows machine because the builder is for a Windows.
How can I do?
Click to expand...
Click to collapse
I didn't understand. What are you doing ? Flashable zip ? Which tool you are using ?
Yes it's a flashble firmware.
I use Rockchip Firmware Factory.
ultradj83 said:
Yes it's a flashble firmware.
I use Rockchip Firmware Factory.
Click to expand...
Click to collapse
What is the flashable firmware format ? Zip ? If zip then you can make changes in the firmware after making the firmware from that tool.
Yes it's a zip.
How to edit in the zip?
ultradj83 said:
Yes it's a zip.
How to edit in the zip?
Click to expand...
Click to collapse
Extract update.script from Zip's meta-inf/google/android/ folder and edit it using notepad++ or similar program and you can add permissions there. You can even add data folder directly to zip using winrar or 7zip and make changes in update.script file.
4shreyas said:
In the firmware copy apks to
/data/app/
this should work but they will be erased when you factory reset.
Click to expand...
Click to collapse
Dear,
I found that the automatic tool puts all apks that you suggest to put in /data/app in the system/preinstall, this might be the error.
At the same time apps to be installed as system apps are in the system/app.
How can I move my apks from system/preinstall to data/apps?
Creating a data.img in the update file, editing update-script and repacking firmware?
Thanks a lot.
ultradj83 said:
Dear,
I found that the automatic tool puts all apks that you suggest to put in /data/app in the system/preinstall, this might be the error.
At the same time apps to be installed as system apps are in the system/app.
How can I move my apks from system/preinstall to data/apps?
Creating a data.img in the update file, editing update-script and repacking firmware?
Thanks a lot.
Click to expand...
Click to collapse
First tell me what is the format of your firmware ? First you told .zip and now you're talking about .img. Zip firmware is easy to edit. Just extract the zip file using 7z , winrar etc and add data/app/ folders to it and move required apks from system folder then edit update.script as said in previous post and compress again to zip using same software with normal deflate compression mode in options. Then you can directly flash. If .img you are talking about then it is different and slightly difficult.

[GUIDE] Manually install Play Store on Fuhu Nabi Jr Edition SNBJR-MT5C-US

This guide is for helping people that want to install Google play store at fuhu Nabi Jr Edition SNBJR-MT5C-US that have some expert skills. It is not an automated procedure yet.
This edition is equipped with an MTK processor and is not recognized by Nabilab tools so this procedure has to be entirely manual executed.
Root your device
Root device using Kingo Root
Enter Daddy mode
Boot rooted device and enter Daddy mode
Install Es File Explorer
Allow unknown sources to be installed
Install File Explorer from direct downloading apk
Make system rw
Enter Root Explorer option in Es File Explorer and select to mount system as rw
Download zip
Download zip from link below and extract contents using Es File Explorer
Link = https://www.androidfilehost.com/?fid=24665509702140403
copy files to system folder
Copy files within each folder of extracted zip to own folder Inside system folder
copy files to data folder
Copy files within each folder of extracted zip to own folder Inside data folder
reboot
Reboot device and cross finger.
Do these procedures at your own risk
So after following this procedure, is the play store supposed to just show up in the list of apps? No installation or anything?
Works!
Thank you very much. I have the SNBJR-MT5C 8GB version, which I brought from Aliexpress.
A number of things dont work as I am not located in the USA so could not enter billing information, so many of the built in apps dont work at all.
Device Rooted.
Installed the files, and Google Play works! It asked me to create/use a google account, all looking good so far!!
Thank you!
Only thing left is to figure out how to remove/hide some of the built in apps in Nabi mode which are not appropraite for my kid, or are too advanced etc, or dont work due to billing issue.
...
Only thing left is to figure out how to remove/hide some of the built in apps in Nabi mode which are not appropraite for my kid, or are too advanced etc, or dont work due to billing issue.
Click to expand...
Click to collapse
Well, to do this uninstall you may use some apps available on playstore like 'es file manager' or 'titanium backup'; the ones I use most for this task.
The problem is that I do not have much luck on restoring deleted apps afterwards on this device.
You should try to disable the app on Android Apps settings before attempt to delete them.
slplsnphx said:
So after following this procedure, is the play store supposed to just show up in the list of apps? No installation or anything?
Click to expand...
Click to collapse
Yes !
Simple like that.
Play Store is available on drawer list of apps.
Bit of help
Hi,
I just picked up two of the 8 gig models for my boys. I want to get the google app store going on both so i can get the nick jr app on there. I would love to flash the nabi jr nickelodeon edition on here if possible, not sure if it is. I'd like to follow this guide. Any problems if i follow this guide and then do a system update via nabi update, or should i disable that?
I'd be willing to provide any stock files if that would help make a recovery? Should I do twrp to make a backup for myself anyways?
Any thoughts would be appreciated.
Cheers,
Kutas
_Kutas_ said:
Hi,
I just picked up two of the 8 gig models for my boys. I want to get the google app store going on both so i can get the nick jr app on there. I would love to flash the nabi jr nickelodeon edition on here if possible, not sure if it is. I'd like to follow this guide. Any problems if i follow this guide and then do a system update via nabi update, or should i disable that?
I'd be willing to provide any stock files if that would help make a recovery? Should I do twrp to make a backup for myself anyways?
Any thoughts would be appreciated.
Cheers,
Kutas
Click to expand...
Click to collapse
This procedure will not install TWRP, just play store.
It will not allow to flash another nabi rom.
By the way, since it is a different processor, they are not compatible.
We would need to port TWRP to this device and compile an specific kernel for this device...
This made my kid very happy.
arvati said:
This guide is for helping people that want to install Google play store at fuhu Nabi Jr Edition SNBJR-MT5C-US that have some expert skills. It is not an automated procedure yet.
This edition is equipped with an MTK processor and is not recognized by Nabilab tools so this procedure has to be entirely manual executed.
Root your device
Root device using Kingo Root
Enter Daddy mode
Boot rooted device and enter Daddy mode
Install Es File Explorer
Allow unknown sources to be installed
Install File Explorer from direct downloading apk
Make system rw
Enter Root Explorer option in Es File Explorer and select to mount system as rw
Download zip
Download zip from link below and extract contents using Es File Explorer
Link = https://www.androidfilehost.com/?fid=24665509702140403
copy files to system folder
Copy files within each folder of extracted zip to own folder Inside system folder
copy files to data folder
Copy files within each folder of extracted zip to own folder Inside data folder
reboot
Reboot device and cross finger.
Do these procedures at your own risk
Click to expand...
Click to collapse
I know this is an old thread with nobody paying attention to it anymore but I just revisited this topic to try again. Followed instructions (I'm pretty sure correctly). Good new is I do have play store in the list of apps but when I try to login to my Google account it just immediately gives the message "there was a problem communicating with Google servers" or something like that. Any idea what the problem might be.

Categories

Resources