[Q] Installing GAPPs direct from APKs? (without using custom recovery) - Android Q&A, Help & Troubleshooting

Is there a way to install GAPPs (google services and apps)
on a chinese phone without having to use a custom recovery or custom rom?
Phone is question is a nubia z7 max, but is there a generic way?
Can I follow
http://forum.xda-developers.com/showthread.php?t=2665401
I tried to follow to the nook/kindle method, but certain apks cannot be installed.
Thank you

TheKingKong said:
Is there a way to install GAPPs (google services and apps)
on a chinese phone without having to use a custom recovery or custom rom?
Phone is question is a nubia z7 max, but is there a generic way?
Can I follow
http://forum.xda-developers.com/showthread.php?t=2665401
I tried to follow to the nook/kindle method, but certain apks cannot be installed.
Thank you
Click to expand...
Click to collapse
Generally, yes. As long as your phone doesn't have a read/write protection on the /system partition that can't be bypassed with root access, then it's fairly straightforward. You just need to find the Gapps that match with the system update you are on and assuming you have root, then you would use a file manager with root access to make the system read/write and to move the apks into the correct /system folder. This folder will be either /system/app or /system/priv-app depending on the phone, update, and which Google app. Once you move the apps into the correct spots, then you will need to change the permissions to 0644 http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/ (I think that ES's menus have changed slightly with a few updates, but same idea...) or with Root Explorer https://www.youtube.com/watch?v=i7pKTOiNOVQ
You must reboot afterwards for the changes to be effective.

Hi
Thank you very much for the reply.
I extracted the apks from PA Gapps nano package... and used the info from the above links.... played around with ES File explorer....
took quite abit of time... but it seems to work fine.
Linked up to my google account, got my contacts downloaded and installed some apps from playstore.
Can I now unroot my phone using superSU, and delete/uninstall towelroot and supersu from the phone?

TheKingKong said:
Hi
Thank you very much for the reply.
I extracted the apks from PA Gapps nano package... and used the info from the above links.... played around with ES File explorer....
took quite abit of time... but it seems to work fine.
Linked up to my google account, got my contacts downloaded and installed some apps from playstore.
Can I now unroot my phone using superSU, and delete/uninstall towelroot and supersu from the phone?
Click to expand...
Click to collapse
Sure, but why bother? You can uninstall Towelroot either way as it's only needed for the initial step.

Related

[Q] Busybox installation failed in Android 2.2.

Hi All,
I am trying to Unlock my Samsung Vibrant phone which is updated to version 2.2.
When i try to install Busybox installer app which was downloaded from market, it is giving the error "Failed to install busybox!"
When i search in google somewhere it mention for Android v2.2 i need to install Busybox installer v1.2 but when i downloaded from maket i am getting v1.19.
how to download Busybox v1.2 (googled, but didnt get correct link) or install busybox v1.9 in Androidv2.2?
or is there any method to unlock phone with out using busybox?
Thanks in advance.
chsundar said:
Hi All,
I am trying to Unlock my Samsung Vibrant phone which is updated to version 2.2.
When i try to install Busybox installer app which was downloaded from market, it is giving the error "Failed to install busybox!"
When i search in google somewhere it mention for Android v2.2 i need to install Busybox installer v1.2 but when i downloaded from maket i am getting v1.19.
how to download Busybox v1.2 (googled, but didnt get correct link) or install busybox v1.9 in Androidv2.2?
or is there any method to unlock phone with out using busybox?
Thanks in advance.
Click to expand...
Click to collapse
Had the same issue when I tried to root my stock 2.2 Vibrant.
Busybox has to be installed somewhere in /system, I believe. The version of 2.2 that Samsung Kies installs, however, has /system packed completely full of bloatware, so there's no room for busybox.
What worked for me was to root with SuperOneClick, then reboot my phone. That got the Superuser app working, so I could use a file manager (I used Super Manager) with root privileges to go into /system and delete some of the bloat to make room for busybox.
An alternative choice is to just flash something else, instead of sticking with a rooted stock 2.2 firmware. As far as I know, all stock 2.1 builds have room in /system for whatever you might need to put there.
let me try to install file manage and clean some unwanted files and try again...
chsundar said:
let me try to install file manage and clean some unwanted files and try again...
Click to expand...
Click to collapse
I used Super Manager for the job, but I think about any file manager that can use root privileges would work.
Be sure to only delete bloat. Stuff like Sims 3, Amazon mp3, Slacker Radio, that sort of thing. Those are really just apps, and have no business being in /system. They're only put there because T-Mobile didn't want us to be able to delete the bloat they were paid to pre-load onto our phones. /system also holds all sorts of stuff your phone needs to work properly, so you can end up forced to Odin to stock if you delete stuff that's not bloat.
http://forum.xda-developers.com/showthread.php?t=925400 is the thread that I followed to get root working on my previously stock 2.2 Froyo Vibrant. It's /system/app that you need to clean up bloat from.
Thanks i could delete unwanted apps and free up some space in system folder. I could unlock my phone and use AT&T sim.

[Q] Installing another super user app? [SOLVED]

Hi guys! A friend brought me a S4 clon (4.2.2, MTK6589 based) few days ago, to root it. I've used VRoot and all went fine (root works good, even we've deleted some junk apps), but the app to manage the root permissions is a chinese one (check the attachment, please). Anyone knows if it's possible to install another app (like superSU or super user)? :silly:
At this point, I've tried this:
Delete the chinese app, and install superSU or super user. Result: Unable to update the binaries, so no root anymore.
Install superSU, update the binaries and delete the chinese app. Result: the binaries are installed without errors before delete the chinese app, but after that every time I open superSU it says that the binaries aren't installed (and it's unable to install them again).
Install super user, update the binaries and try to delete the chinese app. Result: unable to update the binaries, in some point always throw an error (sometimes trying to copy the binary to its place, sometimes trying to check if it's working...).
Any ideas?
A little bump...
After some try-error tests, I've found a way to do it, if anyone are interested:
Install superSU
Open it, and update the binaries.
Use any root explorer, and delete the old root manager (could be located at /system/app or /data/app)
Reboot
Done

Cannot install Google-related services

Hi all,
I have a ZTE S2004 from China that does not have the usual pre-installed Google apps. I had e-mailed the manufacturer (both the North American and Chinese customer service) and was notified that because the phone is from China, it does not support Google services.
I recently found out about and downloaded KingRoot v4.5 and Root Explorer v3.3.5 to try and install Google APKs as described in this thread: http://forum.xda-developers.com/showthread.php?t=1874285. I installed the APKs , then changed the permissions to align with the other APK files, restarted the phone and then tried to install the apps via the APKS. They all said installation successful, but the apps crash and do not work, with the error message reading "Unforunately [program] has stopped".
Thanks.
theSebra said:
Hi all,
I have a ZTE S2004 from China that does not have the usual pre-installed Google apps. I had e-mailed the manufacturer (both the North American and Chinese customer service) and was notified that because the phone is from China, it does not support Google services.
I recently found out about and downloaded KingRoot v4.5 and Root Explorer v3.3.5 to try and install Google APKs as described in this thread: http://forum.xda-developers.com/showthread.php?t=1874285. I installed the APKs , then changed the permissions to align with the other APK files, restarted the phone and then tried to install the apps via the APKS. They all said installation successful, but the apps crash and do not work, with the error message reading "Unforunately [program] has stopped".
Thanks.
Click to expand...
Click to collapse
Most likely because that thread is 3 years old. The apps are very outdated. Would try the same steps with the updated version of the Google apps.
es0tericcha0s said:
Most likely because that thread is 3 years old. The apps are very outdated. Would try the same steps with the updated version of the Google apps.
Click to expand...
Click to collapse
Sorry I forgot to mention that the phone is using Android version 4.4.4 and I read that some of the APKs only supported 5.0+. I am unsure how to proceed.
theSebra said:
Sorry I forgot to mention that the phone is using Android version 4.4.4 and I read that some of the APKs only supported 5.0+. I am unsure how to proceed.
Click to expand...
Click to collapse
Should just need the Play Store and Google Services Framework installed to get started. With 4.4, they should be placed into /system/priv-app with the correct permissions. 0644 I believe. Once placed there, permissions set, and rebooted, you should be able to access the store and download the rest of the stuff you need. I'd just grab them from a 4.4 Gapps package. They will be slightly outdated, but should be easily updatable.
es0tericcha0s said:
Should just need the Play Store and Google Services Framework installed to get started. With 4.4, they should be placed into /system/priv-app with the correct permissions. 0644 I believe. Once placed there, permissions set, and rebooted, you should be able to access the store and download the rest of the stuff you need. I'd just grab them from a 4.4 Gapps package. They will be slightly outdated, but should be easily updatable.
Click to expand...
Click to collapse
I have encountered a problem with the Play Store installation. I had downloaded a newer version of Google Play Store and have tried to uninstall it, but it still remains and I fear it is blocking the 4.4.4 version. I cannot remove it by using the default removal option or even root explorer. I attempted to reset the phone but that has not worked either.
The installation for Google Services Framework was successful, but when I tried to use the Google Play Store, it would open and subsequently close immediately, no error message showing and the process itself still running.
So you've deleted it with Root Explorer and it came back after reboot or there was an error when trying to remove it?
theSebra said:
Hi all,
I have a ZTE S2004 from China that does not have the usual pre-installed Google apps. I had e-mailed the manufacturer (both the North American and Chinese customer service) and was notified that because the phone is from China, it does not support Google services.
I recently found out about and downloaded KingRoot v4.5 and Root Explorer v3.3.5 to try and install Google APKs as described in this thread: http://forum.xda-developers.com/showthread.php?t=1874285. I installed the APKs , then changed the permissions to align with the other APK files, restarted the phone and then tried to install the apps via the APKS. They all said installation successful, but the apps crash and do not work, with the error message reading "Unforunately [program] has stopped".
Thanks.
Click to expand...
Click to collapse
I'm not sure but you can try this.
Root your phone,get a new custom rom.
use a vpn service app to access internet on your device. i think that will do the work.
Note: select VPN provider of somewhere outside china
here is a download link of a VPN app CLICK DOWNLOAD
Try this and let me know
es0tericcha0s said:
So you've deleted it with Root Explorer and it came back after reboot or there was an error when trying to remove it?
Click to expand...
Click to collapse
There was no error when trying to remove it, but it still appears on the phone after the reboot.
akky26 said:
I'm not sure but you can try this.
Root your phone,get a new custom rom.
use a vpn service app to access internet on your device. i think that will do the work.
Note: select VPN provider of somewhere outside china
here is a download link of a VPN app CLICK DOWNLOAD
Try this and let me know
Click to expand...
Click to collapse
I am unsure which custom ROMs are available, as I have been unable to find any for my phone model, S2004. The most common ones I've seen are the ZTE Blade and ZTE Warp.
theSebra said:
There was no error when trying to remove it, but it still appears on the phone after the reboot.
I am unsure which custom ROMs are available, as I have been unable to find any for my phone model, S2004. The most common ones I've seen are the ZTE Blade and ZTE Warp.
Click to expand...
Click to collapse
Then you can do one thing, download firmware of your device but of some other country. It may work for you.
akky26 said:
Then you can do one thing, download firmware of your device but of some other country. It may work for you.
Click to expand...
Click to collapse
There is no other firmware available, my phone is currently only available in China.
Any update on this ? I have the same phone and it's useless without the google related apps (and it would be great to have a newer version of android on it too)
Thanks,

Kingroot stuck as system apps

I rooted my phone using kingroot before and after removing al root authorization i found that kingroot has been installed as system app
also whenever i open the kingroot app it restarts my phone
how could i completely remove it
there's also the problem of the phone not able to connect to google play store (no connection, cannot login account)
my phone is NTT Docomo Sony Xperia SO-O4E
tried factory reset twice, deleting cached apps data, still doesnt work
a basic rundown on how it all happened :
-uninstall some bloatware from phone
-phone starts to restart randomly
-deleted cached apps data, no more random restart
-remove kingroot root auth and uninstall
-found out that phone cannot connect to play store, also kingroot has installed itself as system app
anonweeb said:
I rooted my phone using kingroot before and after removing al root authorization i found that kingroot has been installed as system app
also whenever i open the kingroot app it restarts my phone
how could i completely remove it
Click to expand...
Click to collapse
If your bootloader is already unlocked, the easiest way would be to restart the phone in fastboot mode, then boot (you don't need to flash it) TWRP and install SuperSU from a flashrecovery zipfile. This will remove kingroot app and running processes (mind you, there may be some dead kingroot traces left over on the filesystem - if you want to remove these too, you'll have to do so from a shell with root permissions). I haven't tried this with the Sony Xperia ZR/NTT Docomo Sony Xperia A (SO-04E), but it seems to work with most phones that are supported by TWRP. I wrote a short guide on how to do this (it's for a different device but these steps should be mostly generic if you have the necessary prerequisites in place).
Another good thing about SuperSU is that if you don't wish to keep root, it will remove itself cleanly and completely from your system (you'll find the unroot option in the apps settings). If however you would like to keep root, then SuperSU is an app that doesn't spy on you and doesn't phone home (I did a thorough check of the shell script used to install SuperSU and a rough check of the SuperSU apk using strings and wireshark only yesterday and as far as I could tell, it doesn't attempt to do anything malicious or touch files that it doesn't need to touch for its purpose, nor did it start a single internet connection by itself). The automatic NVISO analysis at https://apkscan.nviso.be/report/show/99a7841aa3eeaefa69f767602b0c454c confirms this too. Just saying this in case you decided to move away from root due to spyware concerns.
TWRP is an open source project. Their Homepage is https://twrp.me/
The TWRP image files for your device arel located here https://dl.twrp.me/dogo/
SuperSU homepage is https://www.chainfire.eu/ , the latest flashrecovery zipfile can be found here http://www.supersu.com/download
Both projects also have their own sections here on xda.
SuperSU also has it's own sections here on xda.
there's also the problem of the phone not able to connect to google play store (no connection, cannot login account)
Click to expand...
Click to collapse
Was this problem related to the rooting process in any way?
Does your internet access work otherwise?
What happens exactly when you start google play?
hi, thank you for the reply
the phone has only been rooted once with kingroot app, which i have removed (both the supposed app and the root auth), but kingroot app installed itself as system app without my permission and whenever i open the app my phone reboots
i'll try looking for ways to flash the phone
as for the play store, it always show the no connection screen even though i can browse the internet without any problem
i tried following the steps from google help page but it doesnt seem to do anything
i'm thinking that the hosts.txt file cause this so im trying to delete it, but i found no other way to delete it without rerooting my phone
i tried factory reset twice but it doesnt seem to help either
thanks before and sorry for the late reply
EDIT : i dont think i can unlock the bootloader officially so i need an exploit
anonweeb said:
EDIT : i dont think i can unlock the bootloader officially so i need an exploit
Click to expand...
Click to collapse
[/QUOTE]
In that case, you will have to root first. Once having gained root access you can unlock the bootloader. To root, you can either use the kingroot app you used before (not much to loose, since you already installed it and its spyware the first time, and you will later be able to remove it with SuperSU). Or you can try towelroot, although if your smartphone has seen firmware updates, that will propably no longer work. There may be other, more current options - search trough the Xperia ZR Section.
Once you have root, you can use adb and fastboot to boot the latest TWRP for Sony Xperia ZR, then install the latest SuperSU recovery flashable zip. Using that you can completely remove Kingroot even as a system app and afterwards remove SuperSU itself, which will cleanly uninstall itself via Settings.
Code:
as for the play store, it always show the no connection screen even though i can browse the internet without any problem
i tried following the steps from google help page but it doesnt seem to do anything
i'm thinking that the hosts.txt file cause this so im trying to delete it, but i found no other way to delete it without rerooting my phone
i tried factory reset twice but it doesnt seem to help either
I would try the above first, see if the playstore works again after you SuperSU has completely removed Kingroot (reboot), and if it doesn't take a look at the hosts file. Then uninstall SuperSU when you don't need root anymore...
I can help along with adb/fastboot commands, but you need to root your device first (and install the necessary drivers for your phone on your computer).
Good luck!

Asus Zenfone 4: Oreo released

To whom it may concern: Asus software engineers were busy and they released Oreo: https://www.asus.com/de/Phone/ZenFone-4-ZE554KL/HelpDesk_Download/
For me I'll wait for some answers about compatibility of TWRP and the possibility to root. At present I run rooted Nougat Version WW_14.1064.1711.96 (TWRP 3.1.1 with Magisk V15.2, XPosed V89 and Gravity Box [N.] V 7.0.6). Never change a running system if you don't feel the urgent need
AP756 said:
To whom it may concern: Asus software engineers were busy and they released Oreo: https://www.asus.com/de/Phone/ZenFone-4-ZE554KL/HelpDesk_Download/
For me I'll wait for some answers about compatibility of TWRP and the possibility to root. At present I run rooted Nougat Version WW_14.1064.1711.96 (TWRP 3.1.1 with Magisk V15.2, XPosed V89 and Gravity Box [N.] V 7.0.6). Never change a running system if you don't feel the urgent need
Click to expand...
Click to collapse
Excellent. You use XDA guide to Root and install TWRP? You don't have brick?
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3.
The main problem: ROOT doesn't work. Root check says phone's rooted, and apps request and get root permissions, but in fact there's no one. For example, root uninstaller can't remove any system app. Tried lesser TWRP (3.1.1), tried SuperSU instead of Magisk. SuperSU doesn't even work, says "SU binnary occupied".
Also one problem: WW-15.0405.1712.83 doesn't want install through TWRP, says "no file contexts". But you can install it through stock recovery, it just bypasses this check.
To get stock recovery, you can do the trick: install SuperSU, boot system, open the app and pick "Unroot" option (it will offer you to clear recovery and boot). Now you get stock recovery and can install firmware.
UPD: Was wrong. Root works, but neither Magisk nor SuperSU gives RW permission on system folder. That's the main problem now. Tried updating permissions on system folders manually through file managers (Root Explorer, etc.). Tried updating through terminal: from adb shell and from recovery. Nothing works. Folders are marked RW now, permissions are right, but apps like Root Uninstaller still can't do anything.
Vikindor said:
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3.
The main problem: ROOT doesn't work. Root check says phone's rooted, and apps request and get root permissions, but in fact there's no one. For example, root uninstaller can't remove any system app. Tried lesser TWRP (3.1.1), tried SuperSU instead of Magisk. SuperSU doesn't even work, says "SU binnary occupied".
Also one problem: WW-15.0405.1712.83 doesn't want install through TWRP, says "no file contexts". But you can install it through stock recovery, it just bypasses this check.
To get stock recovery, you can do the trick: install SuperSU, boot system, open the app and pick "Unroot" option (it will offer you to clear recovery and boot). Now you get stock recovery and can install firmware.
UPD: Was wrong. Root works, but neither Magisk nor SuperSU gives RW permission on system folder. That's the main problem now. Tried updating permissions on system folders manually through file managers (Root Explorer, etc.). Tried updating through terminal: from adb shell and from recovery. Nothing works. Folders are marked RW now, permissions are right, but apps like Root Uninstaller still can't do anything.
Click to expand...
Click to collapse
Thanks to shared. You have sucess to make root?
PedroArmindo said:
Thanks to shared. You have sucess to make root?
Click to expand...
Click to collapse
Well, yes. As said at the end of the last message, phone in fact appears to be rooted. I have access to /root folder and apps now ask for super-user permissions.
But some apps, like Root Uninstaller, doesn't work... However you can manually delete unwanted .apk from /system folder, it's possible.
Vikindor said:
Well, yes. As said at the end of the last message, phone in fact appears to be rooted. I have access to /root folder and apps now ask for super-user permissions.
But some apps, like Root Uninstaller, doesn't work... However you can manually delete unwanted .apk from /system folder, it's possible.
Click to expand...
Click to collapse
Could you test if the Titanium Backup app works?
grinna said:
Could you test if the Titanium Backup app works?
Click to expand...
Click to collapse
Checked. Yep, it works.
I'm sorry if this is a noob question, but where can I get TWRP 3.2.1-0?
Vikindor said:
After couple nights of pain, finally installed 8.0.0. I have TWRP 3.2.1-0 and Magisk 15.3. ...
Click to expand...
Click to collapse
lunger said:
I'm sorry if this is a noob question, but where can I get TWRP 3.2.1-0?
Click to expand...
Click to collapse
Hi. Sorry, haven't seen this message.
TWRP: https://twrp.me/
Magisk can be found here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 (or in app stores).
Hi,
Can anyone help me with my phone ZE554kL on how to root this or link me to a guide? Thanks in advance.
"Continue reading only if interested what happen."
I've never done this before and I just want to do root because my internal storage was wiped out when I was backing up all my files to PC. Windows explorer stops responding while transferring files then after the not responding issue, my internal storage is empty and when I checked my phone all the files is gone (photos, videos, PDFs).
I tried different android recovery software in windows and everytime i do a scan, i always ending up being asked by the software to root my phone so it can scan through to my internal storage.
Since my files was lost, i never touch my phone since then so nothing will be written on internal storage that could take away the chance of recovering my files.

Categories

Resources