Once you’re at a shell with root ADB access, you need to pull two files from the filesystem: the homescreen app package and the webapps
list. This can be done with:
adb pull /system/b2g/webapps/launcher.gaiamobile.org
and
adb pull /data/local/webapps/webapps.json
At this stage, you need to decide the 5 apps that we’re going to put on the homescreen. Mine are going to be:
Open the webapps.json
and find your 5 apps. Note down the ‘Manifest URL’. In the case of SMS, mine is:
app://sms.gaiamobile.org/manifest.webapp
As a whole, my configurations’ manifests are:
app | manifest |
---|---|
sms | app://sms.gaiamobile.org/manifest.webapp |
app://email.gaiamobile.org/manifest.webapp | |
https://api.kaiostech.com/apps/manifest/ahLsl7Qj6mqlNCaEdKXv | |
calendar | app://calendar.gaiamobile.org/manifest.webapp |
clock | app://clock.gaiamobile.org/manifest.webapp |
Now, you need to find where the original apps are referenced in the homescreen app. You pulled it from the phone earlier, and it should be a folder that looks like this:
Unzip that, and find the main app bundle JavaScript file in the dist
folder.
Open that, and it’s pretty intimidating! Use Ctrl/Cmd+F to find the following string: n.items=[["manifestURL"
, and it should take you to the definition for the side menu apps.
This section is where the apps are listed, and the part we need is the part between the double square brackets. ([[
and ]]
) You can edit this manually, by editing the manifest URLs to match the ones you noted down earlier. Alternatively, I wrote a small JavaScript page to make the edit for you.
Once this edit is made, you need to re-zip the files that make up the launcher. I used 7-Zip to add all of the base directory to a zip archive.
This zip should be named application.zip
, and the unzipped files should be removed.
Next, we need to push the launcher back to the phone. We shouldn’t push it back to its original location as this can mess with OTA updates. Instead push it to a new location:
adb push launcher.gaiamobile.org /data/local/webapps
We need to tell the system about this by editing the webapps.json
file. This is also a good time to change some bloatware from "removable": false
to "removable": true
. Find the launcher app in the webapps listing, and change the basepath from its original location to /data/local/webapps
.
Finally, adb push webapps.json /data/local/webapps/
push the file to the system, and reboot the phone (adb reboot
).
What is license of this guide and pictures used in it? Can I copy it elsewhere?
I hope yes and if so, under what conditions?
I am asking because one isn't permitted(legally) to copy someone else's work
unless the author clearly give that one permission to do so.
--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/b9c6bbcd-5cd5-48e1-a4ba-32660b250e7do%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahackers+unsubscribe@googlegroups.com.
Hello Ivan!
I wasn't aware that guides on Google Groups are in PD. If so there is absolutely no problem even if you don't mention them(legally, I mean but I believe they MUST be mentioned anyway as you, Ivan, always do), as far as I know.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/ef73dda4-3736-4e6a-a559-2ac17649ba27o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/ef73dda4-3736-4e6a-a559-2ac17649ba27o%40googlegroups.com.
If you want to write KaiOS related guides, how about writing also in our wiki directly? You write whatever you want(crap and nonsense does not count as whatever and abstract nonsense is an exception :D), write your name or omit it and specify the original source(e.g. your blog). As far as I know, guides in the current website all have reference to source and their author and it will be the same in the (new) wiki.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/c7e412cf-52ee-4919-9038-7976c6a44fbbo%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/b9c6bbcd-5cd5-48e1-a4ba-32660b250e7do%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/ef73dda4-3736-4e6a-a559-2ac17649ba27o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
I can give you a wiki account, just email me.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/ba5458bd-be40-407c-9155-266a82f51d6dn%40googlegroups.com.