View Single Post
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#82
Originally Posted by carepack View Post
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 id.

Best start would be you have a tablet running sailfishos and installed google apps + phone tools(the flashing files) + developermode enabled + supersu + extracted android image + extracted cwm

Unzip android image and cwm. In the directory structure should appear at least one xml file or more.

1. Copy supersu to youre device /media/sdcard/first_entry_in_the_list

2. Poweroff the device

3. 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

4. Connect the device to the machine with phonetools installed. Open the prog and select browse. Go to the cwm directoy and select cwm-boot-only.xml -> Press flash

5. After a short time you'll see the cwm recovery. Select "install zip" and the "from external sdcard" (entry at the bottom). Select the supersu.zip and flash

6. After that reboot. Ignore fixing supersu

7. 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.

8. Power the the device on with oll 3 buttons pressed. You sould see some text after 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

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

10. 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

11. 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

12. In Android Setting/Security allow install untrusted software. Go back to add accounts and add you google account. Open PlayStore once after that. A error should appear

13. 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

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

15. 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\""
16. Reboot and it should work.

ahoy. thx coderus
Hello!
So, as i understood, this manual is the only possibility to have root in aliendalvik on Jolla Tablet?

I alredy have Google Playstore installed on the tablet. so i need only flash cwm and afterwards supersu.zip from the CWM?

Are additional sqlite command relevant for me?

THX

Sent from my Jolla using Tapatalk