[mod][root]enable Google Assistant without editing build.prop - Xperia Z5 Compact General

Hello there!
I want to show you my way to enable Google Assistant on your Xperia Z5 Compact.
First to say I'm not a developer. I read a lot on XDA and try it sometimes on my own phone. I can't answer you to any specifical questions.
I want to enable the Google Assistant on my Z5C without editing the build.prof. I don't want editing anything of system partition.
I have systemless superSU so I find the following way.
Requiered:
- latest Google App
- Android 7
- systemless root e.g. superSU
Guide:
1. make a script and name it "00set.prop.script" or else
2. write in to the script:
Code:
setprop ro.opa.eligible_device 1;
3. copy the script to /su/su.d/
4. clear all data und cache from Google App
5. reboot phone
6. have fun
If you don't know what you do make a full backup for your own security.

About enable google assistant
How can I do that with magisk? Do you know how? Thanks

zlatkomas said:
How can I do that with magisk? Do you know how? Thanks
Click to expand...
Click to collapse
Place the script in the folder " /magisk/.core/service.d/ ".

Related

Nook HD+ Google Play Store. GAPPS, modified 12/04.

ANNOUNCEMENT:
If you have a new Nook HD/HD+ and want to root and get the GAPPS running, you should follow the guide at the All-in-One thread instead. That said, I won't copy all the information here to there, so you should continue to read on.
Proof:
https://www.youtube.com/watch?v=MssQ25bnZnk
Okay this one is more interesting than the root I created. I don't think there will be a simple batch file for this one. I barely get this working and I'm going to try to write instruction for the people. I guess let me start off with the same disclaimer.
Disclaimer:
If something gone wrong, it's all your fault. I take ZERO responsibility for what happen to your device, your life, your wife/husband, your kids, your unborn child and etc. You get the idea.
Background:
I basically taking the installation process from the Kindle Fire HD and apply it it here. The original instruction which I "borrow" from is here. For the most part, the process is the same, but we have to be extra careful for writing into /system partition or we are toast.
What I found:
Well, since we didn't have "UNKNOWN SOURCE" option, we have to adapt and fix that first. You can thanks skyhawk21 for coming up with that idea. Since then, there have been other way to enable Unknown Source. LeapinLar have wrote an excellent here. And I have make it even simpler here. Also, I have found that trying to install Google Play store after some other stuff already installed is kinda pain and brought some error. So I would strongly start this fresh. I mean factory reset and apply root. If you don't know how to gain root on the Nook HD+, I wrote an excellent piece for it here.
Hugh big caution
I did all my stuff based off my root method. I also noticed that verygreen updated his root. While there are some similarlity in our methods, THERE ARE SOME DIFFERENCE ALSO. For example his root doesn't have a working superuser or he have busybox installed and symbolicly linked for all sub command. This mean the instruction I have may not work if you used his method to root.
Addendum 1: 11/19/[email protected]:50PM Pacific
I have been told that the first set of instruction is no longer necessary by leapinlar. This mean that if you only want the ability to install app via Google Play, you can do the first set of instruction and be done with it. But this means you won't be able to utilize the rest of Google's services. On the other hand, you can skip the first instruction and purely do 2nd instruction and get most of the stuff working. Well I say most because it doesn't include Google Maps and Chrome.
Addendum 2: 11/19/[email protected] Pacific
I have added Google Map below so you can download separately But Chrome Browser is like 20MB and over the filesize limit of the xda forum. Since most people don't use it, and there are many good alternative browser already, I won't bother. You can also look up both apk online if you want. they both should work on Nook. You don't have to make symbolic link on these two, but you can't have it on /system either. Either try install it via "adb install" command or open it using your favorite file browser. I forgot which method I use, probably the first.
Addendum 3: 11/30/[email protected]:25AM Pacific
I rewrite and hide unnecessary stuff and streamline the guide.
Addendum 4: 12/01/[email protected]:25PM Pacific
Adding gapps-ics-inst.sh.img which should be compatible for both my and verygreen root method.
Addendum 5: 12/02/[email protected] Pacific
Adding troubleshooting tips
Addendum 6: 12/04/[email protected]:45PM Pacific
Update with brand new easy to follow instruction.
Addendum 7: 12/07/[email protected] Pacific
The Google Map will no longer install as part of the script. I think Maps may not function properly if google framework weren't installed correctly first.
So, you will just have to install it manually after the Google Play updated.
EXTREMELY OUTDATED NOT FULLY WORKING Instruction is hidden since it's no longer necessary.
Instruction:
Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Gain root access. Follow this guide.
Follow my instruction here to enable "UNKNOWN SOURCE".
Upload 3 files to /data/su/ using "adb push" command
GoogleServicesFramework.apk - mediafire.com/?zaumfwhraxcifqf
Vending.apk - mediafire.com/?31bn3e258jjpj8d
Play.apk - mediafire.com/?wwcqrlfwt8o1gnv
If you have problem downloading this Play.apk I suggest try using this Vending_v3.9.17.apk instead. Be sure not to confuse with the earlier Vending.apk file, or better yet, rename it to something like Play3917.apk
adb install $your_choice_of_file_manager(must support root), I prefer ES File manager
using your file manager and browse to /data/su and install GoogleServicesFramework.apk (I'm not sure if you can just do adb install GoogleServicesFramework.apk from your PC, but since I didn't do it that way and this is a known result, so I recommend doing it this way)
adb shell
su
mount -o remount,rw /system
mv /data/su/Vending.apk /system/app/Vending.apk
chmod 644 /system/app/Vending.apk
chown 0.0 /system/app/Vending.apk
mount -o remount,ro /system (not sure if this is necessary, but I better safe than sorry)
using your file manager and navigate to /system/app and install Vending.apk
mount -o remount,rw /system (only if you did step 11)
rm /system/app/Vending.apk
mount -o remount,ro /system
using your file manager and go to /data/su and install Play.apk or Play3917.apk depending on what you download
now you can delete both GoogleServiceFramework.apk and Play.apk in the /data/su folder.
That's all, your Google Play Store should now be working.
Login and have fun. I manage to install some stuff through that.
Click the "THANKS" button below.
OK, now to get a more complete gapps. The below steps are to be only after you have Google Play Store, meaning all the above steps are done. The instruction below will let your other app sync and use google account. Meaning stuff like RSS reader sync with google reader or Youtube app access your personal account. Well, atleast those are the two I have tried and seem to be working.
OUTDATED Instruction:
Instructions:
Download these two files. gapps-ics-inst.sh.img and gapps-ics-system.zip (if you use verygreen root method use this gapps-ics-inst.sh.img , the one embedded on this post instead. This one should work universally but untested. I re-wrote it to adapt for verygreen root method also. If it works I'll rewrite this part of instruction again to use the new version of the shell script.)
adb push gapps-ics-inst.sh.img /data/su/gapps-ics-inst.sh
adb push gapps-ics-system.zip /data/su/
This step might take some time
adb shell
su
cd /data/su
chmod 755 gapps-ics-inst.sh
./gapps-ics-inst.sh
This step could take some time too, once it return to shell, then go to next step
(optional delete installation file to save space) rm gapps-ics-system.zip
(optional delete installation file to save space) rm gapps-ics-inst.sh
exit
exit
(you should be back to your OS by now, if not keep exiting until you are out of adb)
adb reboot
once your nook is rebooted, the screen may say updating some files, this is normal.
enjoy, everything should work now.
If you didn't hit that "THANKS" button, you better do now. If you did, do it again?
Thanks leapinlar for catching the typo, I have reupload the shell script file now. And thanks to him for hosting the gapps-system.zip
There have been some errors on my initial instruction. Certain things have been point out. I have updated the instruction accordingly. leapinlar have also fixed gapps files and the shell script for that in post #34. So big kudo to him. I haven't have much time to toy with this lately, but since people report that his script work. So here are the new instruction.
If you were using verygreen version of root, try running this first.
Code:
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
FAQ:
Q: I don't see the Google Play Market on the list of apps.
A: If you use the "Skip OOBE" aka Test mode, then (reboot first or go into shell and kill the app launcher and then) you have to hold down the Vol-Up key and tap the word Apps on the top to see them. After that I recommend installing other launcher, then they can see all the apps.
Q: Some people are saying after they install an adblock app, after reboot it get into bootloop and wipe everything.
A: The way most adblock apps work is that they modify the hosts file which usually located at /system/etc/hosts Well, as we have discussed before this is not a good idea to make change directly to /system folder(directory). The only adblock I know of that work is AdAway with a specific setting.
When installed, first you have to go to menu > preferences > target hosts file > /data/data/hosts, it will then ask to create symbolic link, say yes and then you can reboot.
Troubleshooting Tips:
I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.
Pre-Requisite:
ADB + ROOT + Enable Unknown Source.
1. ADB: leapinlar wrote a post to help you getting ADB to work here.
2. ROOT: I wrote a guide on how to get root the easy way here.
3. Enable Unknown Source: Again, I make an easy little tool for you here.
Brand New and Improve Instructions:
Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
Unzip New.zip (don't unzip gapps-ics-system.zip)
run install.bat
PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.
That's it, I'm going out to buy one ASAP. Thanks for your hard work!
thanks for you Howto
after that is it possible to use Youtube and Google Maps apps?
Youtube can be install from Play Store but you have to sideload the Google Maps since it's not available for download in Play Store. GMail works, but the authentication through google account on other apps still aren't working. I guess this problem may be beyond my current level of tinkering knowledge.
great job on getting google market somewhat working!!!! We need the manual nooter developer or author to make what we need for the Nook HD AND HD+. Anyhow I belwive you need more framework files to get google authentication working and unfortunately they need to be installed within root folders like the /system folders and sub folders... Also Barness and noble included frameworks for google authentication, probably just not working with google apps installed manually.... gotta figure it out...
---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------
By the way youtube app works installed older version from my Motorola Droid 3 manually through es file explorer and it works and does HD fine
I have been thinking about that and wonder if we can put those lib files on diff folder and sym link them? I still afraid it might reset the thing.
someone0 said:
Instruction:
[*]Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Click to expand...
Click to collapse
I was able to do this with root explorer after rooting with no problem.
Thanks for this (and your rooting zip - both are super!)
issue was fixed, removed obnoxiously long quote
smatticus said:
still have the issue where i can't get the nookcolortools to run properly from /system/app. it just crashes. i googled this and it says that i need to reboot the nook to apply the system/app move BUT that supposedly creates the bootloop. i REALLY don't want to do that so can someone help me out here?
Click to expand...
Click to collapse
You probably shouldn't quote anything that big unless you very need to. As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
someone0 said:
As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Click to expand...
Click to collapse
turns out i wasn't supposed to install the app via adb. my fault for not following instructions. thanks for your hard work
Nice, I think I am getting the Nook HD+.. Hope there is custom ROM soon.. thanks man
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
I'm thinking about that right now but as I suggested, putting the google lib in other place and make symbolic link in the appropriate /system sub. I won't be able to test that theory of mine until I get home later tonight. I will have to research where all the files suppose to go and their permission. Unless you want to do it, you are welcome to.
I agree, getting authentication would be tha last missing link to make this device fully enjoyable as day-to-day usage. And the we can wait for custom ROM from real developers. That is definitely out of my knowledge.
works without full reset
figured i'd put it out there that i DID NOT do a full factory reset (partly to be a guinea pig, partly because i'm lazy) and this method DOES WORK without it. It took 2 tries (it loaded up the first time, then crashed a few minutes later.) the second time it worked like a charm. One note: the chown command gave me an "operation not permitted" notice, but the market IS working, i grabbed a TON of apps and thankfully got updates to the ones i purchased through the nook shop that hadn't seen an update since they first launched (i'm looking at you, machinarium).
Thanks!
Thanks so much for your work on this! I can access the Google Play Store along with the Amazon App Store now and have loaded up my new Nook with my favorite apps. My only disappointment is that I still can't get Amazon Instant Video or Google Play Movies to work...once these work I'll be in heaven!
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
BTW, I got that working now, my theory works. Now only if I have a place to store 60+MB file. Then I can update this guide to include that. I was able to use Youtube app to access my account and so is my RSS reader to sync with google reader.
Access Denied
I'm getting an error when I try to execute ./gapps-inst.sh. It's saying cannot execute - Permission denied. I've rooted and followed the instructions to install Google Play and all worked fine...I'm on this last step and it won't work! Advice is much appreciated!! I also keep having permission denied issues with the adb push command...I can paste the files manually via ES File Explorer and rename to remove the .bin but I still can't install from adb shell.
I've also tried chmod 777 on the gapps-inst.sh prior to doing ./gapps-inst.sh but that produces a giant string of errors.
I'm at a loss!
someone0:
I just rehosted your files on my MediaFire account.
Removed links. New links on OP.
Alright, so I have no idea what Nook HD/HD+ thread to put this is in... so here i go.
1. Will these steps get the play store on the Nook HD as well?
2. Will the apps show up in the Nook app section, or do we still need a launcher. I have sideloaded all my apps, but have to use a launcher to get at them.
Thanks!
someone0:
There is are a couple of typos in your gapps-inst.sh file -
Code:
ln -s /data/su/system/usr/srec/en-US/google_hotword_clg /system/usr/en-US/google_hotword_clg
ln -s /data/su/system/usr/srec/en-US/google_hotword_logistic /system/usr/en-US/google_hotword_logistic
are missing the /srec in the second /system link.
Also it seems the real /system has these files so the symlinks fail.
Code:
ln -s /data/su/system/etc/permissions/com.google.widevine.software.drm.xml /system/etc/permissions/com.google.widevine.software.drm.xml
ln -s /data/su/system/framework/com.google.widevine.software.drm.jar /system/framework/com.google.widevine.software.drm.jar
ln -s /data/su/system/usr/srec/en-US/acoustic_model /system/usr/srec/en-US/acoustic_model

[TUT] Disable OTA on 4.5.2 + Install GApps

Edit: Sorry for not maintaining this thread for a long time (rl stuff) but after all I really recommend you switching to LineageOS. It's very straightforward, you have full Play Store and Amazon access and a smooth, nice, customizable and clean android. Also you don't have to worry about your device getting incompatible to the Play Store^^ or bricking your device by accidental updates.
Srsly, don't do anything below here. It's old and not supported anymore. Also before doing anything to your tablet: Unlock the Bootloader here
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Just rename DeviceSoftwareOTA.apk to whatever you like
Click to expand...
Click to collapse
You need specify that need to change the extension exactly
Potato_of_Doom said:
Step 5:
PROFIT!!!! You have a fully working Play Store!
Click to expand...
Click to collapse
Worked great but for some reason on my kindle hdx 7" running 4.5.2 when I booted up the SetupWizard came up to select my language and then when I clicked the big arrow it dumped me into the wireless settings screen and I was stuck. I had to eventually remove /system/priv-app/SetupWizard.apk. You might want to recommend users not including this as well on the off chance it causes the same problem I had. After I fixed this I just clicked on the play store and it prompted me to login.
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
do i put <app etc framework lib priv-app> in /system dir
candiflan said:
do i put <app etc framework lib priv-app> in /system dir
Click to expand...
Click to collapse
Yes you can copy everything, just look out for /priv-app/PrebuiltGMSCore.apk (If you try to copy it you'll get a memory error)
@awinston
Thats strange. On my kindle it worked without any issues
Potato_of_Doom said:
Yes you can copy everything, just look out for /priv-app/PrebuiltGMSCore.apk (If you try to copy it you'll get a memory error)
@awinston
Thats strange. On my kindle it worked without any issues
Click to expand...
Click to collapse
Got it thanks
awinston said:
Worked great but for some reason on my kindle hdx 7" running 4.5.2 when I booted up the SetupWizard came up to select my language and then when I clicked the big arrow it dumped me into the wireless settings screen and I was stuck. I had to eventually remove /system/priv-app/SetupWizard.apk. You might want to recommend users not including this as well on the off chance it causes the same problem I had. After I fixed this I just clicked on the play store and it prompted me to login.
Click to expand...
Click to collapse
How did you remove /system/priv-app/SetupWizard.apk
After doing this to get gapps, I am receiving license error when attempting to play amazon instant videos. Any ideas?
Edit: obviously did something to drm as I can't access kindle books either.
Anyone know a way to fix? Thanks
candiflan said:
How did you remove /system/priv-app/SetupWizard.apk
Click to expand...
Click to collapse
Never mind I rename SetupWizard.apk to SetupWizard.apk.old this is what I did
adb shell "su -c 'mount -o rw,remount /system'"
adb shell "su -c 'mv /system/priv-app/SetupWizard.apk /system/priv-app/SetupWizard.apk.old'"
adb shell "su -c 'mount -o ro,remount /system'"
Is there a recommendation on installing the gapps via this method, versus the HDXposed method?
It sounds like this is easier and slightly less risky.
Sent from my KFTHWI using Tapatalk
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
tuanda82 said:
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
Click to expand...
Click to collapse
I had issues when I tried ES Explorer. I used Root Explorer with no issues. Also, make sure to set perms to RW R R to match other files in all the directories.
tuanda82 said:
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
Click to expand...
Click to collapse
Did you get an error message?
Notifications not working
Anyone else having problems not receiving notifications? I am not receiving notifications about updates from google play and I am not receiving notifications from apps where they have been enabled. I took a quick look at some test apps on the store and I never receive the notifications through those apps either. Below is a log cat from a test notifications app. I did some reading and it seems to suggest maybe the individual apps are not configured correctly but I will need to keep digging. Will keep digging, just not very familiar with c2dm so wanted to ask.
03-03 11:17:24.787 2024-4230/? I/GCM﹕ GCM message com.firstrowria.pushnotificationtester 0:1425403044280977%c5da679ff9fd7ecd
03-03 11:17:24.797 2024-2024/? W/GCM-DMM﹕ broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.firstrowria.pushnotificationtester (has extras) }
03-03 11:17:24.797 937-966/? W/BroadcastQueue﹕ Permission Denial: broadcasting Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10 pkg=com.firstrowria.pushnotificationtester (has extras) } from com.google.android.gsf (pid=2024, uid=10003) requires com.google.android.c2dm.permission.SEND due to receiver com.firstrowria.pushnotificationtester/.broadcast.GCMReceiver
Potato_of_Doom said:
Did you get an error message?
Click to expand...
Click to collapse
@riggsandroid: I tried root explorer and set permissions, same results.
@Potato_of_Doom: It closed without message. On the first boot, I can log in my account but after the home screen loading, PlayStore closed without warning. next time playstore close without warning (very fast). It is seem another Google service still working except playstore. I can log in to my play games account and load Clash of clans data without problems.
tuanda82 said:
@riggsandroid: I tried root explorer and set permissions, same results.
Click to expand...
Click to collapse
@tuanda82 I had similar issues when I didn't remember to install the GMS Core apk after moving all files over. Just a thought.
awinston said:
Anyone else having problems not receiving notifications?
Click to expand...
Click to collapse
Discovered a fix. I had to install Xposed and HDXposed. This leads me to wonder whether the technique used to install gapps with HDXposed might not be the better and safer solution if notifications only work with HDXposed. Anyone else have notifications working without HDXposed installed? After looking through the HDXposed code it looks like this is probably the only solution but maybe I am missing something.
candiflan said:
do i put <app etc framework lib priv-app> in /system dir
Click to expand...
Click to collapse
I don't want to confuse anyone, but you really don't want to overwrite the folders, just add files to their corresponding location within their like-named partition directories.
If you are comfortable with adb shell commands, I find it easiest to actually move all the folders from the zip into the data or a newly created system folder & then use batch scripts that take advantage of the * wildcard call, such as *.apk, to change ownership & permission setting to 644 for all files at one time. I don't have time to list it all out all the steps right now, but if you have been playing with adb for a while, you probably already know what I am talking about. You can also do the same thing, live in the system folder, but I personally like to segregate the new files so I can check several & then move them all over at once, after I am confident all the changes were made via the shell commands.
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
There's another way to get working playstore:
You need enough system store to flash gapps by recovery. To get this, change some system apps to user apps (for example by titanium backup). Don't do this with 'really' system apps, but there are many Amazon apps, you can change (for example kindle reader, music, audible). You can still use these apps after change. Then you can flash with twrp a small gapps package.

[FIX] Google Play services has stopped. KK 4.4.4

BOYS I GOT IT!!!!!!!!!!! HERE IS THE FINAL SOLUTION FOR G.P.S. FC'S!!!
The problem is caused by libjavacore.so Arter released a fix for (what i think) lollipop releases only for info, DONT FLASH!. it forces a bootloop for 4.4.4.
BUUUUUUT Markox89 released this issue fixer but i was scared of destroying all optimzed libs and data from archidroid. so i copied Markox89s libjavacore.so aaaaaaaand it works!!!!
So step by step now:
1. download attached libjavacore.rar AND EXTRACT!!!!
2. Put the libjavacore.so somewhere on your phone
3. restart to TWRP (recovery)
4. make a nandroid backup (to be save if bootloop) --> full backup
5. open up mount and mount system
6. go to advanced and open file manager
7. now copy the new libjavacore.so (press on it and copy)
8. go to /system/lib
9. paste it
10. not sure if necessary but i pressed on libjavacore.so and sed chmod 755
11. reboot problem solved!!!!!!!!!!!
12. wipe data and cache from gps to avoid wakelock (go to settings-->apps-->g.p.s. (google play service)--> clear cache & manage space-->clear all data)!
13. install myandroidtools from playstore
14. reboot.
15. open myandroidtools --> services --> system
16. go to Google Play Services and google-services-framework and enable (make a tick at) at "System update service". (this will stop the google play services wakelock) BUT you need to tick it every restart. Keep on reading and you will find a solution to fix that automatically, but myandoidtools is nice to verify if it worked or not.
17. reboot. and your done
wakelock solution:
1. use boeffla kernel NOT THE NG (i9300 for 4.4.4 CM11.0 kernel - Stable )
2. enable init.d support in boeffla app under settings-->kernel start actions
3. download following script and put it in init folder like describted in Method #1: init.d Script
4. restart Phone
IF THAT DOESNT WORK and you still have update service wakelook. install universal init.d from playstore: https://play.google.com/store/apps/...sal.init.d&utm_source=//apk-freedownload.com/
You can check the wakelocks via wakelockdetector unplug your phone and wait at least 15 min.
now you never need to enable "System update service" after roboot by yourself
edit: after 4 months of use the error appeared again. couldn't fix it with doing the tutorial again. needed to reinstall my rom and did the tutorial afterwards. everything fine now
Hint: i dont get money for that information or anything else but try neatrom (the 4.4.4 version - AOSP) http://forum.xda-developers.com/galaxy-s3/development/rom-i9300-aosp-neatrom-v5-8-t2603155 its running like a charm. combine it with boeffla kernel omni
http://boeffla.df-kunde.de/sgs3/boef...omni11/stable/ and u have a way more stable system than we have with this patch (and way less wakelocks )
twinko said:
BOYS I GOT IT!!!!!!!!!!! HERE IS THE FINAL SOLUTION FOR G.P.S. FC'S!!!
The problem is caused by libjavacore.so Arter released a fix for (what i think) lollipop releases only for info, DONT FLASH!. it forces a bootloop for 4.4.4.
BUUUUUUT Markox89 released this issue fixer but i was scared of destroying all optimzed libs and data from archidroid. so i copied Markox89s libjavacore.so aaaaaaaand it works!!!!
So step by step now:
1. download attached libjavacore.rar AND EXTRACT!!!!
2. Put the libjavacore.so somewhere on your phone
3. restart to TWRP (recovery)
4. make a nandroid backup (to be save if bootloop) --> full backup
5. open up mount and mount system
6. go to advanced and open file manager
7. now copy the new libjavacore.so (press on it and copy)
8. go to /system/lib
9. paste it
10. not sure if necessary but i pressed on libjavacore.so and sed chmod 755
11. reboot problem solved!!!!!!!!!!!
12. wipe data and cache from gps to avoid wakelock!
13. install myandroidtools from playstore
14. reboot.
15. open myandroidtools --> services --> system
16. go to Google Play Services and google-services-framework and enable (make a tick at) at "System update service". (this will stop the google play services wakelock) BUT you need to tick it every restart.
17. reboot. and your done
wakelock solution:
1. use boeffla NG kernel (i9300 for 4.4.4 CM11.0 NG kernel - Stable: 2.8 )
2. enable init.d support in boeffla app under settings-->kernel start actions
3. download following script and put it in init folder like describted in Method #1: init.d Script
4. restart Phone
now you never need to enable "System update service" after roboot by yourself
Click to expand...
Click to collapse
Perfect! Thank you very much :good:
MATE MATE, thank you! Works!
cant find lib
there's only a bin folder when i go in "system" what can i do?
robbros said:
there's only a bin folder when i go in "system" what can i do?
Click to expand...
Click to collapse
yes because u didnt followed my instructions! do it step by step! do everything i wrote down and you will find the solution.
is there any way without wipping data ?????
i just did the cach and dalvik cach but still its stock on booting animation
rezadentevil said:
is there any way without wipping data ?????
i just did the cach and dalvik cach but still its stock on booting animation
Click to expand...
Click to collapse
you got me wrong. i rwote "12. wipe data and cache from gps". that means go to settings-->apps-->g.p.s. (google play service)--> clear cache & manage space-->clear all data.
iam not sure what do you talk about in your second sentence. i have no idea why do you have a bootloop. only reason could be you downloaded arters libjavacore.so. As i wrote DO NOT flash his file, its for 5.1 (lollipop)
twinko said:
you got me wrong. i rwote "12. wipe data and cache from gps". that means go to settings-->apps-->g.p.s. (google play service)--> clear cache & manage space-->clear all data.
iam not sure what do you talk about in your second sentence. i have no idea why do you have a bootloop. only reason could be you downloaded arters libjavacore.so. As i wrote DO NOT flash his file, its for 5.1 (lollipop)
Click to expand...
Click to collapse
hi bro
i had a backup of my rom just like u said. and i should thankyou,
i downloaded the app < myandroidtools>
this app fix my problem, i just went to services\system\and oppend the google paly services and unticked all 144 prmessions<(make the red)
and its comletely disabeled, and when i connect to internet , it aint run anymore
thanx alot bro
rezadentevil said:
hi bro
i had a backup of my rom just like u said. and i should thankyou,
i downloaded the app < myandroidtools>
this app fix my problem, i just went to services\system\and oppend the google paly services and unticked all 144 prmessions<(make the red)
and its comletely disabeled, and when i connect to internet , it aint run anymore
thanx alot bro
Click to expand...
Click to collapse
omg. thats not a solution, u need gps. its not helpful if u completely disable it. follow my instructions step by step and you have a solution that really works.
twinko said:
omg. thats not a solution, u need gps. its not helpful if u completely disable it. follow my instructions step by step and you have a solution that really works.
Click to expand...
Click to collapse
i tried again and im stock in bootloop....,
im using DN4 ROM ...,
and i downloaded the attched file,that u did uploaded
what do u suggest??
rezadentevil said:
i tried again and im stock in bootloop....,
im using DN4 ROM ...,
and i downloaded the attched file,that u did uploaded
what do u suggest??
Click to expand...
Click to collapse
Dude you are using a Note II. you see this thread its posted in a Samsung galaxy s3 subforum
Try to look for a fix in the note 2 part of xda
but anyway, good to know that it's not working for note 2
My suggestion. check for a 4.4.4 note2 rom that fixed the gps error. download the rom, extract it on your pc. go to /system/lib and copy the libjavacore.rar. with that libjavacore.rar you try my fix.
twinko said:
Dude you are using a Note II. you see this thread its posted in a Samsung galaxy s3 subforum
Try to look for a fix in the note 2 part of xda
but anyway, good to know that it's not working for note 2
My suggestion. check for a 4.4.4 note2 rom that fixed the gps error. download the rom, extract it on your pc. go to /system/lib and copy the libjavacore.rar. with that libjavacore.rar you try my fix.
Click to expand...
Click to collapse
dear twinko
look bro i know what am i doing,its I9300..., U got me wrong....,
The Md4 is a 4.4.4 Rom of Note4 for the GS3....,
heres the link
http://forum.xda-developers.com/galaxy-s3/development/m-d-4-tw-4-4-4-mody-rom-tw-4-4-2-l-n-t3005765
rezadentevil said:
dear twinko
look bro i know what am i doing,its I9300..., U got me wrong....,
The Md4 is a 4.4.4 Rom of Note4 for the GS3....,
heres the link
http://forum.xda-developers.com/galaxy-s3/development/m-d-4-tw-4-4-4-mody-rom-tw-4-4-2-l-n-t3005765
Click to expand...
Click to collapse
oh sorry i only found the original note rom.
so it looks like my fix doesnt work if your custom rom uses parts from note or as i saw s5. try using archidroid 3.0.2
Wohooooo!! Works like a charm!
Thank you soooooo much twinko!!
Kudos to you for the step by step procedure. What a relief!
:good::good:
twinko said:
BOYS I GOT IT!!!!!!!!!!! HERE IS THE FINAL SOLUTION FOR G.P.S. FC'S!!!
The problem is caused by libjavacore.so Arter released a fix for (what i think) lollipop releases only for info, DONT FLASH!. it forces a bootloop for 4.4.4.
BUUUUUUT Markox89 released this issue fixer but i was scared of destroying all optimzed libs and data from archidroid. so i copied Markox89s libjavacore.so aaaaaaaand it works!!!!
So step by step now:
1. download attached libjavacore.rar AND EXTRACT!!!!
2. Put the libjavacore.so somewhere on your phone
3. restart to TWRP (recovery)
4. make a nandroid backup (to be save if bootloop) --> full backup
5. open up mount and mount system
6. go to advanced and open file manager
7. now copy the new libjavacore.so (press on it and copy)
8. go to /system/lib
9. paste it
10. not sure if necessary but i pressed on libjavacore.so and sed chmod 755
11. reboot problem solved!!!!!!!!!!!
12. wipe data and cache from gps to avoid wakelock (go to settings-->apps-->g.p.s. (google play service)--> clear cache & manage space-->clear all data)!
13. install myandroidtools from playstore
14. reboot.
15. open myandroidtools --> services --> system
16. go to Google Play Services and google-services-framework and enable (make a tick at) at "System update service". (this will stop the google play services wakelock) BUT you need to tick it every restart.
17. reboot. and your done
wakelock solution:
1. use boeffla NG kernel (i9300 for 4.4.4 CM11.0 NG kernel - Stable: 2.8 )
2. enable init.d support in boeffla app under settings-->kernel start actions
3. download following script and put it in init folder like describted in Method #1: init.d Script
4. restart Phone
now you never need to enable "System update service" after roboot by yourself
Click to expand...
Click to collapse
Can anyone make a flashable zip out of this?
incognitonk said:
Can anyone make a flashable zip out of this?
Click to expand...
Click to collapse
just follow the step by step tutorial. lazy dude!
twinko said:
just follow the step by step tutorial. lazy dude!
Click to expand...
Click to collapse
My phone went into a bootloop as soon as I replaced the lib file. I didnt even get a chance to set permissions.
A flashable zip would be more helpful.
Also, I have already used the technique one time before to fix the error, but it reappeared again for some reason. So, a flashable zip would be easier than manually replacing a file every time the problem resurfaces.
incognitonk said:
My phone went into a bootloop as soon as I replaced the lib file. I didnt even get a chance to set permissions.
A flashable zip would be more helpful.
Also, I have already used the technique one time before to fix the error, but it reappeared again for some reason. So, a flashable zip would be easier than manually replacing a file every time the problem resurfaces.
Click to expand...
Click to collapse
ok so give me some more details. u using twrp as recovery? wich kernel, wich rom? did u changed something after fixing it with my tut after the first time?
Hi, thanks for sharing this! Really help me out, nice work!
Btw anyone have link for the init.d script? Its seems link broken and link for the "method #1" too please.
Thankss
Sent from my Oneplus One using Tapatalk
poemsme said:
Hi, thanks for sharing this! Really help me out, nice work!
Btw anyone have link for the init.d script? Its seems link broken and link for the "method #1" too please.
Thankss
Sent from my Oneplus One using Tapatalk
Click to expand...
Click to collapse
both links are working for me, try a different browser or reconnect
good to hear that i could help you

[ROOT] Multi Window for XA

This is another short tutorial on how to enable the Multi Window Mode on all Sony Xperia XA! It`s a simple and riskfree process and you won`t need a PC, a flashable zip, xposed framework or a Custom Recovery! I still recommand making a full backup if you are using a recovery to avoid loosing your data if you make a writing mistake! This methode works with all Sony Xperia Marshmallow Devices (Android 6).
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
you only need:
#root (supersu/kingroot/superuser...)
#root explorer (like ES File Manager)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
instruction:
1. find the folder /system/
2. search for the file "build.prop"
3. open it using a text editor
4. search for the line "ro.build.typer=user
5. change "user" to "userdebug"
6. safe the file and reboot
7. enable the developing options
8. enable "Multi-window mode"
Don't change build type, stay on User! It will enable some useless services and logs who will slow down device. Userdebug mode is for dev only. I recommend use my previou guide to enable multi window. Why not switching to ENG type and be monitored continuously by Sony in bonus?
Your guide is nice and working but is not the better way.

Proper way to setup AdAway on stock rooted 6.0.1?

Hello, I'm on the latest 6.0.1 stock. I've used Nexus Root Toolkit to unlock my bootloader, root (SuperSU), and flash TWRP. I flashed Xposed using the Xposed installer. Now I'm looking to get AdAway up and running. I've done some searching and I see some conflicting reports about whether this needs to be done systemless, and how to get it working. Stuff I've heard is:
1. Just install the apk from XDA and install normally, update hosts, and you're good.
2. Install apk, use a program (like Titanium Backup) to make it a system app, update hosts, done.
3. Install apk, flash some sort of AdAway package in TWRP, update hosts, done.
4. Install apk, do some adb process to create a symlink of some sort, update hosts, done.
5. I haven't heard anyone really mention it, but in Preferences I see an option to "Enable systemless mode" which I haven't seen anyone really mention.
Can someone tell me which way I need to use, please?
>>> I also saw someone say that I need to use a file explorer after updating hosts to manually switch the permissions of the hosts file, in order to improve performance. Can anyone tell me if this is accurate, and if so how to do it?
Thanks!
kwest12 said:
Hello, I'm on the latest 6.0.1 stock. I've used Nexus Root Toolkit to unlock my bootloader, root (SuperSU), and flash TWRP. I flashed Xposed using the Xposed installer. Now I'm looking to get AdAway up and running. I've done some searching and I see some conflicting reports about whether this needs to be done systemless, and how to get it working. Stuff I've heard is:
1. Just install the apk from XDA and install normally, update hosts, and you're good.
2. Install apk, use a program (like Titanium Backup) to make it a system app, update hosts, done.
3. Install apk, flash some sort of AdAway package in TWRP, update hosts, done.
4. Install apk, do some adb process to create a symlink of some sort, update hosts, done.
5. I haven't heard anyone really mention it, but in Preferences I see an option to "Enable systemless mode" which I haven't seen anyone really mention.
Can someone tell me which way I need to use, please?
>>> I also saw someone say that I need to use a file explorer after updating hosts to manually switch the permissions of the hosts file, in order to improve performance. Can anyone tell me if this is accurate, and if so how to do it?
Thanks!
Click to expand...
Click to collapse
Hello... Just allow SU permission, tic "enable systemless mode" in preferences if you use systemless Root. Tap on "disable" next to the red cross and let it download the new host. When prompted, reboot. Done...
Never seen anything about setting extra permissions... I don't read the XDA thread anyway and downloaded the app from here: https://f-droid.org/repository/browse/?fdid=org.adaway
Cheers...

Categories

Resources