[HELP] Samsung Galaxy S6 Duos China (SM-G9200) CHC/TGY MegaThread - Galaxy S6 Q&A, Help & Troubleshooting

Hello everyone,
I'm one of the few unfortunate to end up and stick with a Chinese variant of Galaxy S6 model SM-G9200. This particular model (SM-G9200) comes in 2 variants(CSC): The Hong Kong (TGY) version (last ROM G9200ZHU2ERK2 Nov.2018 v7.0) packed with Google Apps and all the goody goods, and the China (CHC) version (last ROM G9200ZCU2ERK2 Nov.2018 v7.0) with fewer features and which I happen to own.
Both are virtually the same phone with just different firmware. As some of you may know, the Chinese ROMs don't include Google Apps package due to local restrictions and naturally I've downloaded the Hong Kong variant but this is where I got stuck. The HK ROM won't flash through Odin and it fails at flashing sboot.bin while the phone saying "SECURE CHECK FAIL (BOOTLOADER)". This generally indicates that I attempt to flash the wrong ROM but SamMobile says the SM-G9200 has 2 CSC ROMs in which only the CN version seems to work in Odin. I've already unlocked the bootloader with CROM apk (link provided) but with no use still. I've also tried a .pit file for the HK variant but I get "SECURE CHECK FAIL (PIT)". Also, some have suggested a 4-file method of flashing but that's no where to be found.
Now I know that I could just stick with the CN ROM and root with CF-Auto-Root (link here), then flash the GApps but it goes much deeper than that. What I usually do with Samsung phones in the past was to just flash TWRP in Odin (link here) then flash/debloat/modify files only through TWRP because it won't modify the system files and break dm-verity, SafetyNet, SELinux and other Knox security as these are crucial for another app that I'm used to, the Barclays Mobile Banking app. This app won't work without Google Play Services and won't work if the phone is/was rooted in any way, even after a unroot and full restore. TWRP won't do the trick because as soon as I mount the /system partition, it goes through a boot loop (the bootloader detects that dm-verity tree hash check fails and resets itself). One trick that I use to bypass this is to repack the boot.img patched earlier by CF-Auto-Root generated bootloader (link provided) and flash it. However this method doesn't work either as the ROM is in Custom mode again and SafetyNet is missing. Maybe the rom lacks this feature altogether.
I've literally searched the entire internet for resources (Google, Baidu, xda, chinese forums) to get as much insight and files I can gather but my search went as far as it goes.
In conclusion, I've opened this thread to ask for help from the broader community and maybe research additional mods & root methods like Magisk and how to flash the HK or any ROM. My theory is that the block is related to Odin Mode's "Secure Download: Enabled". Please don't reply with things like "please root my phone", "pm please help"..... as I've already provided with all the possible files and what we need is a constructive discussion on how to bust open this phone.
Courtesy to those who made those tools. Their name is in he filename or link source. All files are relevant to the GM-G9200 CN model.

Conclusion
Alright guys, after a lot of research and hard work I came with the best solution. It turns out that there is no way to flash the TGY firmware, however this is not a problem. The solution that I found would be to manually install Open Gapps from TWRP recovery. So here are the instructions to get a clean rom with Google Play and no root traces for banking apps:
- Flash your original ROM with Odin.
- As soon as that finishes, go to recovery and choose "wipe /data" to clear any modified files left out.
- Flash TWRP provided from this post.
- In TWRP you do all the work, firstly you need to make space for Gapps so delete unnecessary apps. You will find a list of apps you can and can't delete in "Knox Out.txt".
- Now flash OpenGapps zip and you may also customise it to install only required apps.
- Now that you modified /system you have to disable dm-verity. Flash the "no-verity-withSE.zip".
- All done! Now you got a phone with Google Play Certified status and passing all SafetyNet & Root checks.

After using the S6 Duos for a while and testing literally every feature I have to say that it is worth using it. However, it does have a few issues which I've yet to fix. so you may want to consider them.
- Not all languages are available. Certain UI elements & apps might not be translated when using an unsupported language.
- I cannot hide the data type indicator (4G/3G) even after disabling Mobile Data, and Dual SIM mode really clogs up the status bar (5 items).
- VoLTE does not work on some networks (UPDATE! Needs to change customer.xml to add the IMS settings and other carrier related features) and Wifi Calling does not work at all because ePDG subsystem is missing on this phone.
- Floating Messages UI crashes when WeChat app is installed. However the feature works flawlessly, only the UI control in Advanced Settings doesn't.
- Maps for SHealth and other apps use the Chinese Amap instead of Google Maps. (UPDATE! Needs to change customer.xml and change Country and Region for your specific language).
- Phone number locator a.k.a Caller ID is only in Chinese.

Hi, Alex.
I have been having issues trying to use gapps on my samsung s6 dous China. I have been unable to use my google acccount on the phone after all the processes. I flashed android 7, twrp and installed gapps, then no verify. The processes went fine, but cant still activate my google account. Can u please point me to anything I am missing and also the version of the android OS and posibly download link you used on your phone. Thanks.

alexceltare2 said:
Alright guys, after a lot of research and hard work I came with the best solution. It turns out that there is no way to flash the TGY firmware, however this is not a problem. The solution that I found would be to manually install Open Gapps from TWRP recovery. So here are the instructions to get a clean rom with Google Play and no root traces for banking apps:
- Flash your original ROM with Odin.
- As soon as that finishes, go to recovery and choose "wipe /data" to clear any modified files left out.
- Flash TWRP provided from this post.
- In TWRP you do all the work, firstly you need to make space for Gapps so delete unnecessary apps. You will find a list of apps you can and can't delete in "Knox Out.txt".
- Now flash OpenGapps zip and you may also customise it to install only required apps.
- Now that you modified /system you have to disable dm-verity. Flash the "no-verity-withSE.zip".
- All done! Now you got a phone with Google Play Certified status and passing all SafetyNet & Root checks.
Click to expand...
Click to collapse
I went through the entire process and all went well until I tried to sign in through google play. It did the checking info screen and then went blank. No error messages. Has Google started blocking gapps?

abdullahik said:
Hi, Alex.
I have been having issues trying to use gapps on my samsung s6 dous China. I have been unable to use my google acccount on the phone after all the processes. I flashed android 7, twrp and installed gapps, then no verify. The processes went fine, but cant still activate my google account. Can u please point me to anything I am missing and also the version of the android OS and posibly download link you used on your phone. Thanks.
Click to expand...
Click to collapse
dervxerox said:
I went through the entire process and all went well until I tried to sign in through google play. It did the checking info screen and then went blank. No error messages. Has Google started blocking gapps?
Click to expand...
Click to collapse
Make sure you have also selected to install "WebView" in the Gapps list. So the 'gapps-config.txt' looks something like this:
Code:
# Pico+
#CalSync # Install Google Calendar Sync (if Google Calendar is being installed)
#DialerFramework # Install Dialer Framework (Android 6.0+)
GoogleTTS # Install Google Text-to-Speech Engine (Micro+ on 5.0-, Pico+ on 6.0+)
#PackageInstallerGoogle # Install Package Installer (Android 6.0 only & Android 8.0+)
# Nano+
BatteryUsage # Install Device Health Services (Android 7.1+)
#FaceDetect # Install Face Detect Library
#FaceUnlock # Install Trusted Face
Markup # Install Markup (ARM64 + Android 9.0+)
Search # Install Google App (excluding excludes GoogleNow/PixelLauncher)
Speech # Install Offline Speech Files
Wellbeing # Install Digital Wellbeing (Android 9.0+)
# Micro+
CalendarGoogle # Install Google Calendar
ExchangeGoogle # Install Exchange Services
Gmail # Install Gmail
GoogleNow # Install Google Now Launcher (Android 4.4 only) (requires Search)
PixelIcons # Install Pixel Icons (Android 7.1 only)
PixelLauncher # Install Pixel Launcher (Android 5.0+) (requires Search and Wallpapers)
Wallpapers # Install Google Wallpapers (Android 5.0+)
# Mini+
CalculatorGoogle # Install Google Calculator (Android 5.0+)
CarrierServices # Install Carrier Services (Android 6.0+) (required for Google Messages)
ClockGoogle # Install Google Clock
Maps # Install Google Maps
Messenger # Install Google Messages (except on tablet devices) (requires Carrier Services)
Photos # Install Google Photos
TagGoogle # Install Google Tags (Android 5.0+)
YouTube # Install YouTube
# Full+
Books # Install Google Play Books
Chrome # Install Chrome
CloudPrint # Install Cloud Print
Drive # Install Google Drive
Keep # Install Keep Notes
Movies # Install Google Play Movies & TV
Music # Install Google Play Music
NewsStand # Install Google News
PlayGames # Install Google Play Games
Talkback # Install Android Accessibility Suite
# Stock+
AndroidAuto # Install Android Auto (Android 5.0+)
CameraGoogle # Install Google Camera (Android 6.0+)
ContactsGoogle # Install Google Contacts (Android 5.1+)
DialerGoogle # Install Google Phone (Android 6.0+)
Duo # Install Duo
GooglePay # Install Google Pay
KeyboardGoogle # Install Gboard
PrintServiceGoogle # Install Print Service Recommendation Service (Android 7.0+)
StorageManagerGoogle # Install Smart Storage (Android 7.0+)
Translate # Install Google Translate
VRService # Install Google VR Services (Android 7.0+)
#WebViewGoogle # Install Android System Webview (Android 5.1+) (WebViewStub is installed on Android 7.0+)
#WebViewStub # Install Android System Webview (Stub) (Android 7.0+) (See note with WebViewGoogle)
# Super+
ActionsServices # Install Actions Services (Android 9.0+)
BetterTogether # Install Better Together (Android 9.0+)
DMAgent # Install Google Apps Device Policy
Docs # Install Google Docs
Earth # Install Google Earth
Fitness # Install Google Fit
GCS # Install Google Connectivity Services (Android 5.1+) (excluding also excludes ProjectFi)
Hangouts # Install Hangouts
Indic # Install Google Indic Keyboard
Japanese # Install Google Japanese Input
Korean # Install Google Korean Input
Pinyin # Install Google Pinyin Input
ProjectFi # Install Project Fi (Android 5.1+)
Sheets # Install Google Sheets
Slides # Install Google Slides
Street # Install Google Street View
Zhuyin # Install Google Zhuyin Input

Related

[MOD][FLASHABLE] microG unofficial installer

Description
microG unofficial installer simplify the installation of microG.
IT FEATURE ALSO NON-AROMA LIVE SETUP (now working on all phones).
Download
microG unofficial installer v1.3.1 beta - Full (Android 2.2 - 13) - MIRROR
microG unofficial installer v1.3.1 beta - OSS (Android 2.2 - 13)
Google Sync Add-on v1.2.0 beta (Android 4.4 - 4.4.4 and 7 - 8, probably even newer versions)
NOTE: Devices with a MIPS CPU aren't supported.
IMPORTANT: The installer isn't supported by the author of microG so installer related bugs should be reported to me instead app related bugs should be reported there.
Contents
See here.
Official threads
microG
UnifiedNlp
Credits
@MaR-V-iN (for microG, a perfect application that works perfectly also on old phones).
@YashdSaraf for building BusyBox (BusyBox is used only during the installation, nothing on the device is altered).
XDA:DevDB Information
[MOD][FLASHABLE] microG unofficial installer, Tool/Utility for all devices (see above for details)
Contributors
ale5000
Source Code: https://github.com/micro5k
Version Information
Status: Beta
Current Version: v1.3.1
Release Date: 2023-05-01
Created 2016-08-04
Installation
1. Copy the flashable ZIPs to the phone;
2. Add signature spoofing (needed only for ROMs without built-in support for it) to your ROM using Tingle or FakeGApps;
3. In the recovery flash the zip of microG unofficial installer;
4. In the recovery flash the zip of Google Sync Add-on (optional);
5. Restart the phone.
Know Issues
- Google Play Games (empty app or crashing)
- Google Assistant (freezing)
Known to work
- Google Play Store *
- Google Contacts Sync
- Google Calendar Sync
- Android Auto
- Gmail (on Android 8+)
- YouTube
- Pokémon GO
- Netflix
- Snapchat
- WhatsApp
- Signal Private Messenger
- WiFi Sherlock
- QR Droid / QR Droid Private
* Included in the pack.
microG unofficial installer - Changelog
Changelog is now here.
Google Sync Add-on - Changelog
Changelog is now here.
ale5000 said:
It currently support only Android from version 2.3 to 4.4.4 (some things may not work on Android < 4.0).
Click to expand...
Click to collapse
The official microG apps are working well on Android 5 and 6 so why don't you support these versions?
Primokorn said:
The official microG apps are working well on Android 5 and 6 so why don't you support these versions?
Click to expand...
Click to collapse
I will support it in the future but currently not, because I don't have a phone that run these versions of Android.
There are some big differences and if I add support without test it I will probably broke something.
Sent from my Samsung GT-S5830i using XDA Labs
It would be nice if anyone could post the phone model, the type of recovery, the android version and say if the installer works and if the detected CPU is correct.
Purchases and IAP
@ale5000
Hello!
I have set up my device (OPO running Darkobas MM ROM) using your script. Are purchases through the play store and in-app purchases working for you? Because my play store keeps crashing when I try to buy something.
EDIT: By saying "using your script", I meant that I enabled signature spoofing via your script.
fbamopoulos said:
I have set up my device (OPO running Darkobas MM ROM) using your script. Are purchases through the play store and in-app purchases working for you? Because my play store keeps crashing when I try to buy something.
EDIT: By saying "using your script", I meant that I enabled signature spoofing via your script.
Click to expand...
Click to collapse
This thread is about the microG unofficial installer and it doesn't yet support MM ROMs (only the installer, microG itself support it).
Instead the thread about the script that enable signature spoofing is here (this one already support MM ROMs).
About purchases I cannot be sure since I don't buy, it possibly work, but you need some things:
- You need to put the original Play Store apk in /system/priv-app (any other position will not work).
I'm not sure if the latest version work, to be sure manually extract the one inside the microG unofficial installer and put it in /system/priv-app (it is an old version that should work on almost every phone).
- Then restart the phone.
- Then open microG self check and check that everything is working as it should and re-try to buy.
After that please tell me if it is working or not.
ale5000 said:
This thread is about the microG unofficial installer and it doesn't yet support MM ROMs (only the installer, microG itself support it).
Instead the thread about the script that enable signature spoofing is here (this one already support MM ROMs).
About purchases I cannot be sure since I don't buy, it possibly work, but you need some things:
- You need to put the original Play Store apk in /system/priv-app (any other position will not work).
I'm not sure if the latest version work, to be sure manually extract the one inside the microG unofficial installer and put it in /system/priv-app (it is an old version that should work on almost every phone).
- Then restart the phone.
- Then open microG self check and check that everything is working as it should and re-try to buy.
After that please tell me if it is working or not.
Click to expand...
Click to collapse
@ale5000
I did what you suggested and tried using the version you provide in your installer. I was able to complete one purchase too, but then Google Play Store updated itself automatically to the latest version and purchases broke again. I read these two threads:
http://forum.xda-developers.com/galaxy-y/general/trick-how-to-disable-google-play-store-t2951378/
http://forum.xda-developers.com/android/help/delete-disable-downgrade-prevent-update-t3091832/
but didn't find a solution to the auto-update problem for marshmallow. Do you know of an other way?
Thanks for your help so far.
I need some time to look for a solution.
I have released a new version.
ale5000 said:
I have released a new version.
Click to expand...
Click to collapse
Oh hey. Thank you for all your help on GitHub. I wonder if I could flash this onto my S4 Active with FlashFire while it's running Kitkat instead of Lollipop. It would definitely be easier.
@PrincessPeach457: My installer works perfectly on KitKat.
PS: I will create a tool to automatically remove GApps through adb in these days.
@PrincessPeach457: Now there is ADB Toolbox, currently it only work with unlocked adb.
I plan improved support later.
Version 1.0.3 Alpha released with support for newer Android versions, see first post.
It need testing so don't use it if you don't know what to do.
If you decide to try it please report back.
Do you plan to support 64bit CPUs any time soon?
@PhatUgly: Yes, soon.
Can you please run these commands and post the results?
Code:
adb shell getprop ro.product.cpu.abi
adb shell getprop ro.product.cpu.abi2
adb shell getprop ro.product.cpu.abilist
adb shell getprop ro.product.cpu.abilist64
adb shell ls /system/priv-app/*/lib/
ale5000 said:
@PhatUgly: Yes, soon.
Can you please run these commands and post the results?
Click to expand...
Click to collapse
Here the commands running on an OP3 with CM 14.1:
Code:
adb shell getprop ro.product.cpu.abi
arm64-v8a
Code:
adb shell getprop ro.product.cpu.abi2
(nothing)
Code:
adb shell getprop ro.product.cpu.abilist
arm64-v8a,armeabi-v7a,armeabi
Code:
adb shell getprop ro.product.cpu.abilist64
arm64-v8a
Code:
adb shell ls /system/priv-app/*/lib/
/system/priv-app/CMAudioService/lib/:
arm64
/system/priv-app/DefaultContainerService/lib/:
arm64
/system/priv-app/Gallery2/lib/:
arm
/system/priv-app/MtpDocumentsProvider/lib/:
arm64
Thanks, now I need the same thing from someone with a phone with x86-64 CPU.
I have released a new version with support for 64-bit ARM CPUs.

[MODULE] Detach3 - Detach Market Links

Detach3
Introduction
This Magisk module is for detaching apps from the Google Play Store.
It removes your defined packages from the 'Manage apps and device" section and disables them from auto-updates.
Installation
Flash module in Magisk Manager only.
Not necessary to reboot after flashing this module.
This module is designed to flash as many times as you like.
It is configured with a *configuration file. You can create one before flashing this module to define your package(s) or the default one will be used instead, which detaches YouTube by default.
Add your package name(s) you would like to detach to the configuration file, with each package name on a new line.
You can add more package names to your configuration file or the default one at any time, then simply just flash module again to apply it. Again, no need to reboot or any other user interaction needed.
Read the log that Magisk Manager displays when flashing the module, it displays the detached package(s) for confirmation.
*Configuration file: /storage/emulated/0/Android/detach.cfg
Reattach
https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84951411
Scheduler
https://forum.xda-developers.com/t/module-detach3-detach-market-links.3447494/post-84981039
Uninstallation
Uninstall with Magisk and reboot.
Troubleshooting
Follow uninstallation method. After reboot open playstore, navigate to the 'Manage apps and device' section so it can populate and then re-flash the module.
Still have an issue? Post your problem in detail and upload your Magisk installer log, found in your Download directory after saving it ( Shown here ).
Changelog
Spoiler: Click to expand
v3.00
- Initial release
v3.01
- Disabled Fallback broadcast
v3.02
- Disable auto-update for detached apps
- Disable playstore running in background
- Added uninstall script to revert changes
v3.03
- Updated sqlite3 binary
- Added support for x86 and x64
v3.04
- Added package check for configuration file
- Minor alterations
v3.05
- Recompiled sqlite3 binaries
- Improved device platform check
- Added database check
- Added the default detach.cfg file
- Minor alterations
v3.06
- Improved installer checks
- Fixed inflating uninstall script error
- Tidied installer script
- Added reattach feature*
* Comment out package name(s) in detach.cfg to reattach.
v3.07
- Fixed minor install.sh error on Android 11
- Improved some installer logic
- Added scheduler feature*
*Termux and Termux:API apks need to be installed beforehand for scheduler
v3.08
- Fixed playstore update log error on some devices
- Fixed script not applying package names with the same string of characters
- Fixed minor installer check for checking packages
- Fixed termux-api binary check
- Disabled package checks on some devices
- Added option to open playstore with scheduler notification
- Added option to open configuration file with scheduler notification
- Added option to flash module with scheduler notification
v3.10 - Note: Disable scheduler and uninstall previous version before installing this version.
- Removed package check (Some users have had issues, reboots etc.)
- Removed scheduler (Not needed for now)
- Removed unnecessary coding
- Added new method to prevent detached apps repopulating
- Added disabling of Play store trackers
- Other minor alterations in installer script
- Cleaned up installer script for new method
v3.11
- Added ignore GET_USAGE_STATS in AppOps
v3.12
- Updated sqlite binaries
- Removed disabling of fallback receiver
- Added disabling of alarm manager background service
v3.13
- Updated sqlite binaries
- Added ignore RUN_ANY_IN_BACKGROUND in AppOps
- Added ignore RUN_IN_BACKGROUND in AppOps
- Disabled App Discovery Service
Frequenly Asked Questions
Spoiler: Click to expand
Q. Can I use the old detach.txt?
A. No, I decided to ditch it. It now uses a new method explained in the installation section.
Q. Where is the boot script installed?
A. No boot script is needed for detaching, everything is done while flashing the module.
Q. Does this break safetynet?
A. No, it doesn't conflict with safetynet at all.
Q. Why shouldn't I re-enable Play Protect?
A. It will interfere with the module's purpose.
Q. Will having Play Protect disabled, open me up to vulnerabilities?
A. No, the playstore scans their market apk's after developers upload them.
Q. I usually install after-market apks (modified ones) and I think play protects me from this?
A. You should scan your unknown apk with Total Virus.
Q. How do you find a package name?
A. Magisk Manager lists your apps with the package name underneath each one, in the Magisk Hide list.
Q. What Magisk version is needed?
A. The module template is designed for Magisk v20.4+
Q. Do I need to uninstall previous version before updating?
A. No, unless stated. Just flash updated version.
Q. Do auto-updates still work for all my other apps that aren't detached?
A. Yes, auto-update and other notifications etc still work.
Download
See attached below -- detach-3.xx.zip
Previous versions
Detach Market Links for Theme Ready Apps *
Introduction
This Mod is for detaching apps from the Google Play Store that are included in the Theme Ready Apps zip and/or aroma installer from Team Black Out for CMTE and Substratum theme engines.
*Now also includes majority of all themed apps by Team Black Out by using an optional txt file.
The purpose is that updates will not show in your update list and also in update notifications from the Google Play Store.
This allows you to auto-update or the ability to use the update all button without the worry of updating Theme Ready Apps which will break your themes for those apps updated.
The Google apps that are detached if you're not using the optional txt file are Gmail, Google App, Google Plus, Hangouts, YouTube and Gboard (Google Keyboard).
Installation
Flash Mod in recovery, no need to wipe anything but if using SuperSU systemless mode or Magisk, flash this mod afterwards.
No need to flash again in-between ROM updates if using SuperSU systemless mode or Magisk or if your ROM supports addon.d scripts.
To detach more themed apps, place the detach.txt file either on root of your sdcard or internal storage and remove the comment from the apps you wish to detach and then flash Detach.zip
You can also use the optional detach.txt file to just selectively detach Theme Ready Apps.
If you don't use the supplied detach.txt file, only Theme Ready Apps will be detached.
To add your own custom packages (apps), read here > https://forum.xda-developers.com/showpost.php?p=72194332&postcount=147
Uninstallation
Rename detach.txt on sdcard to detach.remove, flash Detach.zip again and reboot.
This will remove all files related to installation, including the txt and custom file and restores all market links.
Note
If not using SuperSU or Magisk, you need to have init.d support.
The configured script doesn't execute until after 60 seconds when boot has completed, this also includes the remove script too.
This Mod has been tested by myself on Android 6 and 7.
You still have the ability to update your Theme Ready Apps via Google Play Store but you'll need to use the search function instead.
Changelog
v1.0
- Initial release
v1.1
- Changed detach method
v1.2
- Disabled service for database
v1.3
- Bug fixes
v1.4
- Added static sqlite binary
v2.0
- Added themed apps to detach with configuration txt file (optional)
v2.1
- Cleaned up installation script
- Added mod removal option
v2.2
- Magisk compatible (systemless installation)
- SuperSU systemless mode compatible (systemless installation)
- Fixed init.d detection
- Fixed market links reappearing
- Updated detach.txt (added Wallpapers, Pixel Launcher, Capture (GoPro))
v2.3
- Updated script and detach.txt (added Gboard, Clock, Camera, Google Connectivity Services, Google VR Services, Google Play Services)
v2.4
- Updated script and detach.txt (added Google Carrier Services and the ability to add custom packages)
v2.5
- Fixed market links reappearing
v2.6
- Main script updated for removal process
- Disabled code for a playstore service that no longer needs to be disabled
- Removed Contacts, Phone and Photos from default install
Thanks @hinxnz, I'll try the newest one.
Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?
sunanulh said:
Thanks @hinxnz, I'll try the newest one.
Report 1.3: My theme ready gapps were detached except Google Calendar. I installed Black Google Calendar from TBO. Is there something I can do for this?
Click to expand...
Click to collapse
I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.
hinxnz said:
I was thinking about adding more themed apps to detach but would have to either use a config file on sdcard for example or probably better to make an aroma version but I would need all the package names first.
Click to expand...
Click to collapse
I think a "fulfilled" config file is simpler. So the users have just to add/remove '#' symbol.
For the name of the apps, maybe you can ask to TBO.
Cheers
hinxnz said:
I updated mod, see if it works for you now & I made a thread for it too > http://forum.xda-developers.com/and...detach-market-links-theme-ready-apps-t3447494
Click to expand...
Click to collapse
It's still not working on Stock rooted N. Thanks for trying.
Glad I saw your post that you put this thread up!
I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.
cmo220 said:
It's still not working on Stock rooted N. Thanks for trying.
Click to expand...
Click to collapse
Could you call script manually with Terminal Emulator and post output
RED ZMAN said:
Glad I saw your post that you put this thread up!
I downloaded 1.3 and flashed it and rebooted and waited for two minutes, but YouTube is still showing an update.
Click to expand...
Click to collapse
But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?
hinxnz said:
Could you call script manually with Terminal Emulator and post output
But the first version still works for you?
YouTube hasn't been updated for awhile AFAIK, what version is showing an update?
Are the other theme ready apps showing in your 'My apps & games' list?
Do you have any apps in your 'Wishlist', found in side menu?
Click to expand...
Click to collapse
I couldn't get a /su.d folder so I put it in /system/su.d, which was already there and working. Here is the output.
angler:/ $ su
angler:/ # /su.d/99-detach.sh
sush: /su.d/99-detach.sh: not found
127|angler:/ # /system/su.d/99-detach.sh
angler:/ # Component {com.android.vending/com.google.android.finsky.services.DailyHygiene$DailyHygieneService} new state: disabled
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted
CANNOT LINK EXECUTABLE "sqlite3": cannot locate symbol "u_setDataDirectory_55" referenced by "/system/xbin/sqlite3"...
Aborted
And a bunch more of the same error.
The first version? I've deleted the previous versions .zips.
I've installed 1.0, 1.2, and 1.3.
Youtube has been showing this way for about a week, even after reboots.
11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube
Showing up in the My apps & games list as installed...
Gmail
Google App
Google+
Google Photos
Hangouts
Wishlist, yes, I've got several.
RED ZMAN said:
The first version? I've deleted the previous versions .zips.
I've installed 1.0, 1.2, and 1.3.
Youtube has been showing this way for about a week, even after reboots.
11.32.53 is what's showing on Google Play, I've got 11.29.55 installed from TBO Theme Ready Apps v 21.
com.google.android.youtube
Showing up in the My apps & games list as installed...
Gmail
Google App
Google+
Google Photos
Hangouts
Wishlist, yes, I've got several.
Click to expand...
Click to collapse
Could you call script in Terminal Emulator and post output too.
For example:
Code:
su
/system/su.d/99-detach.sh
I don't think I've used terminal emulator except for twice since the G1, so I'm not sure if I did this right.
[email protected]:/ $
[email protected]:/ $ su
system/su.d/99-detach.sh <
sush: /system/su.d/99-detach.sh: not found127|[email protected]:/ #
hinxnz said:
Could you call script in Terminal Emulator and post output too.
For example:
Code:
su
/system/su.d/99-detach.sh
Click to expand...
Click to collapse
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Surge1223 said:
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Click to expand...
Click to collapse
Thank you Surge! :highfive:
Surge1223 said:
Is there any reason you are using a dynamically linked sqlite in your zip? the error the user is getting is because of that I believe. Idk I would try to use a static sqlite binary. Ill attach one so you/someone can have, but in case anyone is curious how to quickly compile sqlite3 statically ill post it in the spoiler tags below.
oh and just to note, I forgot to rename it from sqlite3 to sqlite before uploading
Im not going to explain the lines though, pretty straight forward imho
/opt/androideabi is my ndk toolchain prefix
Code:
mkdir sqlite3-static
cd sqlite3-static
wget https://sqlite.org/2016/sqlite-amalgamation-3140100.zip
unzip sqlite-amalgamation-3140100
cd sqlite-amalgamation-3140100
export PATH=$PATH:/opt/androideabi/bin
cp $(ANDROID_BUILD_TOP)/bionic/libdl/libdl.c .
cp /opt/androideabi/sysroot/usr/include/android/dlext.h .
cp /opt/androideabi/sysroot/usr/include/dlfcn.h .
arm-linux-androideabi-gcc -static -I./ -L./ -ldl *.c -o ../sqlite3
cd ../
file ./sqlite3
Click to expand...
Click to collapse
Cheers, thanks and yeah that's definitely the reason
Super idea, this would of been good a few months ago when google pushed their framework update and it broke some apps that i kept from updating,,, @Shaftamle google keyboard is the main on one, thank you
3GotoM ym morf tneS
Version 1.4 works for me now on 7.0. Thanks everyone!
Installed version 2.0 earlier today and seems to be working perfectly. Nothing showing needing updated.
Thanks!
How to add Black Google Calendar and Black Keep in the list?
sunanulh said:
How to add Black Google Calendar and Black Keep in the list?
Click to expand...
Click to collapse
Just remove the comments from those two as well as the other theme apps you flash.
Here's an example, theme ready apps, calendar and keep will be detached.
Code:
Contacts
Gmail
Google App
Google Plus
Hangouts
Phone
Photos
YouTube
#Inbox
#Duo
#Dropbox
#PushBullet
Calendar
Keep
#Telegram
#Swiftkey
#Translate
I have tried installing your script... And no matter how I go about... I cannot get the script to populate the su.d directory like it should...
And... Since I don't understand your flashable... I can't pull what I want out of it...
Could you explain how to install said script without recovery?
Thanks

[ROOT][FIX] Working Google Assistant for all 6.0+ [GUIDE]

As I was looking around, I saw that many people were having problems regarding Google Assistant. Especially those who were running on custom ROMs, like cm13, had the problem. So I thought of writing this post, which if you follow correctly, you'll get Google Assistant up & running in "ANY" devices running android 6.0 & up (TouchWiz might be an exception). So without wasting much of the time, let's get started.
Pre-Requisites:
• Rooted phone running android 6.0 or up
• Latest Gapps installed (especially Google App & Google Play Services)
• Xposed Framework
• Latest Android N-fy or Assistant Enabler (recommended) xposed module
• Pixel Launcher
• Some patience...
(Check 2nd post for download links)
Procedure:
1. First make sure you installed all the pre requisites apps from the download links. And also that xposed module are active.
2. Now open your build.prop (located in /system) & add the following line & reboot:
Code:
ro.opa.eligible_device=true
3. Go to Settings > Apps > Advanced > Default Apps > Assist & Voice Input > Assist App
4. Select Google App as your assist app, & agree the terms & conditions.
5. Open Google App & say "OK Google".
6. Now your first time Google Assistant setup will open up, complete the setup.
7. Now come to your homepage (or anywhere) & long press the home button.
8. BINGO!!! Your Google Assistant will open up. Have fun, enjoy .
Refer to 3rd post for FAQ
Don't forget to hit thanks...
Download Links
Make sure you download all the latest versions of the apps (beta if available)
• Google App
• Google Play Services
• Android N-ify (experimental builds, might slow down your device)
• Assistant Enabler (recommended than Android N-ify)
• Xposed Framework
F.A.Q & Miscellaneous
~ Post Under Construction ~
Feel free to ask any queries in comment section below...
Not working
I did as you said but it didn't works. Im running CM13 in Samsung Galaxy Grand 2

[GUIDE] Google Assistant on ANY Nougat 7.x device (Rooted Devices Only)

[note]
For Nougat 7.x only - NOT SURE IF WORKS ON ROMS LIKE MIUI AND ON SAMSUNG STOCK ROMS.
[Procedure]
Backup your ROM in TWRP as it may cause trouble if not done properly.
Download Google App latest version.
Get Root access. (Ignore if root access is available)
Goto /system using a root file browser and edit the build.prop file
Add this line in the end
ro.opa.eligible_device=true
Save the changes.
Force stop Google App and clear all data.
Set this as the default Assistant.
Reboot again and set up.
[Downloads]
Google App: Choose the latest version with nodpi.
http://www.apkmirror.com/apk/google-inc/google-search/
Root Browser:
http://www.apkmirror.com/apk/jrummy-apps-inc/root-browser/
Hit LIKE if this helped.

[SM-J120FN] Debloat/DeGApp/DeSApp/DeKNOX/Tweak - SuperSU - microG

First of all, thanks to @javad490, most of this is based on his thread: [Custom][ROM] For j1(2016) j120F Android 5.1.1.
I take no responsibility for any damage or data loss - proceed at your own risk.
Below you will find step-by-step instructions on how to do what's in the title of thread.
I've made backups at every step, which I can upload on request.
SM-J120FN CUSTOM SETUP (1.0-170620)
Probably also 100% compatible with SM-J120F.
0 - Initialize device
Install latest Smart Switch for desktop (2017-05-26 - 4.1.17054_16)
Initialize device & update (2017-03-14 - PDA:QC1 / CSCL1 / PHONE:QC1 (SEE))
1 - Flash TWRP Recovery
Install latest Odin3 (2017-05-06 - 3.12.7)
Flash compatible TWRP Recovery (2016-12-31 - 3.0.2-0)
⇒ Backup 1 (stock)
2 - Flash latest SuperSU (2017-05-27 - 2.82)
⇒ Backup 2 (sprsu)
3 - Flash Debloat & Tweak and configure (1.0-170619)
WARNING: This script removes 167 out of 202 packages and 286 files/directories, and installs a few essential apps (see details).
Please review the bloat list and/or the script so you don't remove anything you want to keep.
You can also have the script install apps of your choosing (just place them in the correct directory).
Before & After
Details:
⇒ Debloat & tweaks by javad490 (2017-05-27)
1 - Debloat (full list (.ods)) (2017-06-19)
Imporant sources:
Debloater and Deknox Patch (2017-03-08)
Remove GApps (2017-04-28)
2 - Tweaks (2017-06-16)
Custom boot animation and sound (2017-06-16)
Boot: SciFi Droid (2016-07-01)
Shutdown: Blue Cube Shutdown (2015-06-11)
more: here and here
Tweaks by javad490 (2017-05-27)
improve Camera quality (2016-12-26)
50 tweaks (2016-11-22)
SpeedUp Wifi-3G-Lte (2016-09-15)
3 - Install apps (1.0-170620)
BusyBox (2017-01-18 - 1.26.2)
This is only an installer app, install Busybox manually
F-Droid (2017-06-02 - 0.103.2)
IzzyOnDroid Repository: https://apt.izzysoft.de/fdroid/repo
Yalp Store (2017-06-14 - 0.17)
Ghost Commander (2017-06-18 - 1.54)
Requires Busybox for root functions
KISS Launcher (2017-05-12 - 2.30.2)
Tap the O in the search bar to get a list of all apps
AnySoftKeyboard (2017-06-16 - 1.8.844)
Manually run app and setup to enable
Disa (2017-05-24 - 0.9.9-317)
Manually run app and setup to enable SMS
Click to expand...
Click to collapse
⇒ Backup 3 (dbltw)
4 - Install Xposed
Flash compatible Xposed Framework (2016-07-09 - 0.86)
Install latest Xposed Installer (2016-10-31 - 3.11)
⇒ Backup 4 (xposd)
5 - Install microG Services
Install FakeGApps with Xposed Installer (2016-03-04 - 1.1)
Enable and reboot
Install microG with F-Droid
microG Services Core (2017-06-12 - 0.2.4-103-gd9e86d9)
microG Services Framework Proxy (2016-02-07 - 0.1.0)
FakeStore (2016-11-16 - 0.0.2) - be sure to install 0.0.2 from microG repo
microG DroidGuard Helper (2017-05-19 - 0.1.0-10-gf64bf69)
Nlp Backends:
NominatimNlpBackend (2017-05-22 - 1.2.2)
OpenBmapNlpBackend (2016-12-09 - 0.2.6)
LocalGsmNlpBackend (2016-12-01 - 1.4.9)
LocalWifiNlpBackend (2016-08-21 - 1.1.6)
MozillaNlpBackend (2016-04-08 - 1.3.2)
Configure and reboot
⇒ Backup 5 (mcrog)
6 - Flash App installer, configure apps and reboot (1.0-170620)
App path inside zip must be: /apps/data/app.package.name-1/base.apk or /apps/system/app.package.name/base.apk
WARNING: make sure to download the correct APK for your system. For J120FN this is armeabi-v7a.
This script cannot handle updates - only use it to install apps for the first time
⇒ Backup 6 (final)
Installed apps:
Apps installed with Debloat script (see 3)
DAVdroid (1.6.1-ose)
Nextcloud (1.4.3)
oandbackup (0.2.12.1)
K-9 Mail (5.206)
Open Camera (1.38.2)
Camera Roll (1.5.2 Beta)
Vanilla Music (1.0.53)
Document Viewer (2.7.9)
Document Viewer Font Pack (2.3)
LibreOffice Viewer (5.3.0.0.alpha1+/4136757)
AddressToGPS (1.32)
MAPS.ME (7.3.5-Google)
Clock+ (1.1.3)
Etar (1.0.12)
Nextcloud Notes (0.11.0)
OpenTasks (1.1.8.2)
Calculator (5.4)
Firefox (54.0)
HTTPS Everywhere
uBlock Origin
Wi‐Fi Privacy Police (2.2.4)
EzraZebra said:
3 - Flash Debloat & Tweak and configure (1.0-170619)
WARNING: This script removes 167 out of 202 packages and 286 files/directories, and installs a few essential apps (see details).
Please review the bloat list and/or the script so you don't remove anything you want to keep.
You can also have the script install apps of your choosing (just place them in the correct directory).
Before & After
Details:
⇒ Backup 3 (dbltw)
Click to expand...
Click to collapse
The link for "Debloat & Tweak" is down, could someone please provide me with a working link ?

Categories

Resources