View Single Post
Posts: 98 | Thanked: 52 times | Joined on Mar 2015
#81
Originally Posted by coderus View Post
Added folder ForFixingGApps to MEGA. Flash SuperSU.zip in CWM, if you didn't that before. It gives you root. Then install busybox.apk and install it to system, it gives you sqlite3 in shell. Then execute following commands in shell:
Code:
ID_SECRET=3f8cbdd85590d75c
ID_INT=3717620033319034474
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update secure set value=\"$ID_SECRET\" where name=\"android_id\""
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "insert into main (name, value) values (\"android_id\", \"$ID_INT\")"
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value=\"$ID_INT\" where name=\"android_id\""
then reboot, and check play store after rebooting.
First of all -> thx coderus

I don't know what does the trick. The new commands or my own credentials grabbed in sailfishos. But for everyone who is running into the "please authenticate before download" problem grab youre own

1. In sailfish start terminal or ssh in. Change the folder to /opt/alien
and execute the commands of coderus

Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from secure where name=\"android_id\""
Code:
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name=\"android_id\""
First one is ID_SECRET and the second one ID_INT. Backup the credentials and shutdown the device.

2. Power the the device on with all 3 buttons pressed. You should see some text after a short time at the top of the screen. Release the buttons. Connect to Phonetools and browse to the file flash-dnx.xml in the extracted android folder. Select and flash

3. Now you should be in android. Connect and copy supersu and gappsX86 to the device. Then poweroff the tablet.

4. Press power button until you see the jolla logo then immedaitely release the button and press VolDown until a little robot and some text are appearing

5. In Phonetools select again the cwm-boot-only.xml and wait until cwm recovery has started. Select zip to install / sdcard / supersu + gapps -> then reboot into android

6. In Android Settings/Security allow install untrusted software. Go back to accounts and add you google one. Open PlayStore once after that. A error should appear during download apps. If not - you're good to go.

7. Go to that page and download busybox:
https://www.roidbay.com/app/apk/stericson.busybox/
You'll find it under downlaods. Install it and grant superuser access

8. Close Playstore. If the device is still connected to a machine with adb start adb via the command "adb shell". Switch to "su" and allow the access on the tablet

9. Now you can run coderus commands:

Code:
ID_SECRET=YOUR_OWN
ID_INT=YOUR_OWN
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update secure set value=\"$ID_SECRET\" where name=\"android_id\""
Code:
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "insert into main (name, value) values (\"android_id\", \"$ID_INT\")"
Code:
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "update main set value=\"$ID_INT\" where name=\"android_id\""
Reboot and it should work.

ahoy. thx coderus

Last edited by carepack; 2016-06-30 at 10:07.
 

The Following 3 Users Say Thank You to carepack For This Useful Post: