Customize shortcuts

766 views
Skip to first unread message

syl...@rentoo.immo

unread,
Dec 4, 2018, 1:13:10 PM12/4/18
to comp.mobile.nokia.8110
Hello guys,

To personalise your shortcut you can unzip /system/b2g/webapps/launcher.gaiamobile.org/application.zip, then use a service like https://beautifier.io to make the file app.bundle.js more readable.

a bit after line 4200 you will find :

{
                        name: "volume",
                        icon: "sound-max",
                        isShortcut: !0,
                        title: "volume",
                        order: {
                            portrait: 1,
                            landscape: 1
                        },
                        click: function(t) {
                            return e.volumeManagerTimer ? void("ArrowUp" !== t && "ArrowDown" !== t || (e.enterVolumeManagerMode(), navigator.volumeManager["request" + t.slice(5)]())) : (e.enterVolumeManagerMode(), void navigator.volumeManager.requestShow())
                        }
                    }, {
                        name: "brightness",
                        icon: "brightness",
                        isShortcut: !0,
                        title: "brightness",
                        subtitle: "percentage-number",
                        order: {
                            portrait: 2,
                            landscape: 2
                        },
                        cskType: "toggle",
                        click: e.toggleBrightness.bind(e)
                    }, {
                        name: "flashlight",
                        icon: "flashlight-on",
                        iconInactived: "flashlight-off",
                        title: "flashlight",
                        removed: !0,
                        order: {
                            portrait: 4,
                            landscape: 3
                        },
                        cskType: "toggle",
                        click: v.default.toggle.bind(v.default)
                    }, {
                        name: "camera",
                        icon: "camera",
                        isShortcut: !0,
                        title: "camera",
                        order: {
                            portrait: 7,
                            landscape: 6
                        },
                        cskType: "launch",
                        click: function() {
                            y.default.launch("manifestURL", "app://camera.gaiamobile.org/manifest.webapp")
                        }
                    }, {
                        name: "store",
                        icon: "calculator",
                        isShortcut: !0,
                        title: "calculator",
                        order: {
                            portrait: 5,
                            landscape: -1
                        },
                        cskType: "launch",
                        click: function() {
                            y.default.launch("manifestURL", "app://calculator.gaiamobile.org/manifest.webapp")
                        }
                    }, {
                        name: "settings",
                        icon: "settings",
                        isShortcut: !0,
                        title: "settings",
                        order: {
                            portrait: 8,
                            landscape: 7
                        },
                        cskType: "launch",
                        click: function() {
                            y.default.launch("manifestURL", "app://settings.gaiamobile.org/manifest.webapp")
                        }
                    }, {
                        name: "wifi",
                        icon: "wifi-32px",
                        iconInactived: "wifi-off-32px",
                        title: "wifi",
                        observerSetting: "wifi.enabled",
                        removed: !0,
                        order: {
                            portrait: 0,
                            landscape: 0
                        },
                        cskType: "toggle"
                    }, {
                        name: "network",
                        icon: "network-activity",
                        iconInactived: "network-activity-off",
                        title: "cellular-data",
                        observerSetting: "ril.data.enabled",
                        order: {
                            portrait: 3,
                            landscape: 4
                        },
                        cskType: "toggle"
                    }, {
                        name: "bluetooth",
                        icon: "bluetooth-32px",
                        iconInactived: "bluetooth-off-32px",
                        title: "bluetooth",
                        removed: !0,
                        observerSetting: "bluetooth.enabled",
                        order: {
                            portrait: 6,
                            landscape: 5
                        },
                        cskType: "toggle"
                    }

Here I've replaced airplane mode by the settings app.
All the app you can launch are here: /system/b2g/webapps

There is also some settings switch, but you will probably have to add more js to catch your case.

then rezip to application.zip and replace it on the device:
adb push application.zip /system/b2g/webapps/launcher.gaiamobile.org/application.zip

Enjoy :)

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 6:26:45 AM1/11/19
to comp.mobile.nokia.8110

Screenshot_3.png

Hi Sylvain 
i've read and replaced shortcuts
But here is problem
i am using windows 10
waiting for your response ,

John-David Deubl

unread,
Jan 11, 2019, 7:56:59 AM1/11/19
to comp.mobile.nokia.8110
http://adbshell.com/commands/adb-push

I think you have to specify source and destination 

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 7:58:10 AM1/11/19
to comp.mobile.nokia.8110
i'll try and inform now

--
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 post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John-David Deubl

unread,
Jan 11, 2019, 8:01:00 AM1/11/19
to comp.mobile.nokia.8110
Can I also change the shortcuts for the keyboard in this file?

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:01:30 AM1/11/19
to comp.mobile.nokia.8110
this is the line i don't understand|
adb push application.zip /system/b2g/webapps/launcher.gaiamobile.org/application.zip 
how to write  

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:02:42 AM1/11/19
to comp.mobile.nokia.8110
May be you can..

--
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 post to this group, send email to banana...@googlegroups.com.

John-David Deubl

unread,
Jan 11, 2019, 8:05:04 AM1/11/19
to comp.mobile.nokia.8110
do you downloaded with adb pull the application.zip file ?


Am Freitag, 11. Januar 2019 14:01:30 UTC+1 schrieb Hossain Mohammed Shoaib:
this is the line i don't understand|
adb push application.zip /system/b2g/webapps/launcher.gaiamobile.org/application.zip 
how to write  

On Fri, Jan 11, 2019 at 6:57 PM Hossain Mohammed Shoaib <hossainmohammedshoaib01@gmail.com> wrote:
i'll try and inform now

On Fri, Jan 11, 2019 at 6:57 PM John-David Deubl <struk...@gmail.com> wrote:
http://adbshell.com/commands/adb-push

I think you have to specify source and destination 

Am Freitag, 11. Januar 2019 12:26:45 UTC+1 schrieb Hossain Mohammed Shoaib:

Screenshot_3.png

Hi Sylvain 
i've read and replaced shortcuts
But here is problem
i am using windows 10
waiting for your response ,

--
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 bananahackers+unsubscribe@googlegroups.com.

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:07:32 AM1/11/19
to John-David Deubl, comp.mobile.nokia.8110
yes now showing that
Screenshot_4.png

On Fri, Jan 11, 2019 at 7:05 PM John-David Deubl <struk...@gmail.com> wrote:
do you downloaded with adb pull the application.zip file ?

Am Freitag, 11. Januar 2019 14:01:30 UTC+1 schrieb Hossain Mohammed Shoaib:
this is the line i don't understand|
adb push application.zip /system/b2g/webapps/launcher.gaiamobile.org/application.zip 
how to write  

On Fri, Jan 11, 2019 at 6:57 PM Hossain Mohammed Shoaib <hossainmoha...@gmail.com> wrote:
i'll try and inform now

On Fri, Jan 11, 2019 at 6:57 PM John-David Deubl <struk...@gmail.com> wrote:
http://adbshell.com/commands/adb-push

I think you have to specify source and destination 

Am Freitag, 11. Januar 2019 12:26:45 UTC+1 schrieb Hossain Mohammed Shoaib:

Screenshot_3.png

Hi Sylvain 
i've read and replaced shortcuts
But here is problem
i am using windows 10
waiting for your response ,

--
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 post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.

John-David Deubl

unread,
Jan 11, 2019, 8:13:30 AM1/11/19
to comp.mobile.nokia.8110
Do you have root access to your phone?


Am Freitag, 11. Januar 2019 14:07:32 UTC+1 schrieb Hossain Mohammed Shoaib:
yes now showing that
Screenshot_4.png

On Fri, Jan 11, 2019 at 7:05 PM John-David Deubl <struk...@gmail.com> wrote:
do you downloaded with adb pull the application.zip file ?

Am Freitag, 11. Januar 2019 14:01:30 UTC+1 schrieb Hossain Mohammed Shoaib:
this is the line i don't understand|
adb push application.zip /system/b2g/webapps/launcher.gaiamobile.org/application.zip 
how to write  

On Fri, Jan 11, 2019 at 6:57 PM Hossain Mohammed Shoaib <hossainmohammedshoaib01@gmail.com> wrote:
i'll try and inform now

On Fri, Jan 11, 2019 at 6:57 PM John-David Deubl <struk...@gmail.com> wrote:
http://adbshell.com/commands/adb-push

I think you have to specify source and destination 

Am Freitag, 11. Januar 2019 12:26:45 UTC+1 schrieb Hossain Mohammed Shoaib:

Screenshot_3.png

Hi Sylvain 
i've read and replaced shortcuts
But here is problem
i am using windows 10
waiting for your response ,

--
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 bananahackers+unsubscribe@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 bananahackers+unsubscribe@googlegroups.com.

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:14:19 AM1/11/19
to John-David Deubl, comp.mobile.nokia.8110
none

To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/2f55f97d-24bf-43ec-9a69-d40d044d44de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:14:40 AM1/11/19
to John-David Deubl, comp.mobile.nokia.8110
that means it not work?

John-David Deubl

unread,
Jan 11, 2019, 8:18:09 AM1/11/19
to comp.mobile.nokia.8110
I think only with root access is it possible to edit files in /system/


Am Freitag, 11. Januar 2019 14:14:40 UTC+1 schrieb Hossain Mohammed Shoaib:
that means it not work?

none

To unsubscribe from this group and stop receiving emails from it, send an email to bananahackers+unsubscribe@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 bananahackers+unsubscribe@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/2f55f97d-24bf-43ec-9a69-d40d044d44de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 bananahackers+unsubscribe@googlegroups.com.

Luxferre

unread,
Jan 11, 2019, 8:18:46 AM1/11/19
to comp.mobile.nokia.8110
You have to have substituted adbd (patched into boot or recovery partition) to have root ADB access for this to work.


On Friday, January 11, 2019 at 3:14:40 PM UTC+2, Hossain Mohammed Shoaib wrote:
that means it not work?

none

To unsubscribe from this group and stop receiving emails from it, send an email to bananahackers+unsubscribe@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 bananahackers+unsubscribe@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/2f55f97d-24bf-43ec-9a69-d40d044d44de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 bananahackers+unsubscribe@googlegroups.com.

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:24:02 AM1/11/19
to Luxferre, comp.mobile.nokia.8110
So i can't change anything..😖😖😖😖😖😖😖😖
i've only OmniSD safer mode v13
however thanks 

John-David Deubl
and dear Luxferre



On Fri, Jan 11, 2019 at 7:18 PM Luxferre <subor...@gmail.com> wrote:
You have to have substituted adbd (patched into boot or recovery partition) to have root ADB access for this to work.

On Friday, January 11, 2019 at 3:14:40 PM UTC+2, Hossain Mohammed Shoaib wrote:
that means it not work?

none

To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/f1015d64-1d61-4198-8ab1-3d3ab971a1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/2f55f97d-24bf-43ec-9a69-d40d044d44de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/afaf9cd3-741f-4a55-9177-369563d12ab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to banana...@googlegroups.com.

Hossain Mohammed Shoaib

unread,
Jan 11, 2019, 8:28:17 AM1/11/19
to Luxferre, comp.mobile.nokia.8110
i've a question when i install a app
where it located like pre-installed 
system/b2g/webapps

speeduploop

unread,
Jan 11, 2019, 8:38:21 AM1/11/19
to comp.mobile.nokia.8110
For adb-pull directly from those path you need 'adb root' (patched adb / adb-insecure) -- but telnet-backdoor works indirectly.
--> copy file to a 'pullable' folder like /data/local/tmp or copy it to sdcard...

Sylvain D

unread,
May 4, 2019, 2:47:31 PM5/4/19
to comp.mobile.nokia.8110
 
 Where are the shortcuts icons located and how to add custom?
 

perry

unread,
May 4, 2019, 3:08:17 PM5/4/19
to comp.mobile.nokia.8110
i tried in adb shell with 
find / -name "*wifi*"

but nothing
do have WebIde installed ? maybe with the debugger you can see the path of the icon

Sylvain D

unread,
May 4, 2019, 3:26:27 PM5/4/19
to comp.mobile.nokia.8110
Gerda doesn't allow me to use webide for now!

Also I can't change the 'title' : blank instead of my custom title

I Understand I Exist

unread,
May 4, 2019, 6:16:34 PM5/4/19
to comp.mobile.nokia.8110
Dude, add a shortcut in the menu for the launcher app then use the app to do whatever, its way simpler to creat shortcuts in an app rather than in the whole system

Lexa Relloem

unread,
May 5, 2019, 5:45:51 AM5/5/19
to comp.mobile.nokia.8110
customized shortcuts are great, this should be integrated in coming firmwares. 
until then and for the non-techies here, is it somehow possible to have an app doing this ?

Sylvain D

unread,
May 7, 2019, 5:55:46 PM5/7/19
to comp.mobile.nokia.8110
Very funny,
 now that I have replaced wifi.enable and data.enable shortcuts toggles 
by wifi.tether.enable and usb.tether.enable
I can have both tethering methods to work simultaneously!

I have also a shortcut from desktop : arrowright will open custom-launcher, which is very nice!

Arindam Biswas

unread,
May 12, 2019, 1:47:36 PM5/12/19
to comp.mobile.nokia.8110
That should be pretty useful. Could you give me a rough idea of what you did to make arrowright open custom-launcher and share your app.bundle.js from launcher.gaiamobile.org?

Sylvain D

unread,
May 12, 2019, 8:34:11 PM5/12/19
to comp.mobile.nokia.8110
A bit after line 4600 of app.bundle.js, I copied the function to give you an example : 

{
                key: "onKeyDown",
                value: function(e) {
                    var t = this;
                    if (this.mcc = I.default.getDataMcc(), this.simmcc = I.default.getSimmcc(), "complete" === document.readyState && !b.default.query("LaunchStore.isLaunching")) {
                        var n = e.key;
                        if (!this._longPressTimer) {
                            switch (n) {
                                case "Call":
                                    return void E.default.launch("manifestURL", "app://communications.gaiamobile.org/manifest.webapp");
                                case "SoftLeft":
                                    E.default.launch("iac", "notice");
                                case "Enter":
                                    this.simmcc ? "460" !== this.simmcc && "250" !== this.simmcc || b.default.request("openSheet", "appList") : "460" !== this.mcc && "250" !== this.mcc || b.default.request("openSheet", "appList");
                                    break;
                                case "SoftRight":
                                    return void b.default.request("openSheet", "instantSettings")
                            }
                            this._longPressTimer = setTimeout(function() {
                                switch (t.clearLongPressTimer(), t._longPressActionTriggered = !0, n) {
                                    case "ArrowUp":
                                        S.default.toggle();
                                        break;
                                         case "ArrowLeft":
                                    return void E.default.launch("manifestURL", "app://email.gaiamobile.org/manifest.webapp");
                                    break;
                                    case "ArrowDown":
                                    return void E.default.launch("manifestURL", "app://contact.gaiamobile.org/manifest.webapp");
                                     break;
                                    case "ArrowRight":
                                    return void E.default.launch("manifestURL", "app://custom.launcher.org/manifest.webapp");
                                    break;

                                    case "Enter":
                                        t.simmcc ? "460" !== t.simmcc && "250" !== t.simmcc && I.default.apps.some(function(e) {
                                            "Assistant" === e.manifest.name && e.launch()
                                        }) : "460" !== t.mcc && "250" !== t.mcc && I.default.apps.some(function(e) {
                                            "Assistant" === e.manifest.name && e.launch()
                                        });
                                        break;
                                    default:
                                        t._longPressActionTriggered = !1
                                }
                            }, this.longPressDuration)
                        }
                    }
                }
            }, 


speeduploop

unread,
May 12, 2019, 8:48:33 PM5/12/19
to comp.mobile.nokia.8110
Interesting... seems that the app-drawer and google-assistant isn't allowed for chinese or russian SIMs... ;)

Arindam Biswas

unread,
May 13, 2019, 4:22:56 AM5/13/19
to comp.mobile.nokia.8110
Thanks! 👍

Arindam Biswas

unread,
May 15, 2019, 9:27:23 AM5/15/19
to comp.mobile.nokia.8110
Do you know what
 case "ArrowUp":
                                       S.default.toggle();
                                       break;
does? What is the S object?

Arindam Biswas

unread,
May 15, 2019, 9:48:31 AM5/15/19
to comp.mobile.nokia.8110
All right, silly question; it just toggles the flashlight.

Luxferre

unread,
Dec 27, 2019, 4:27:19 AM12/27/19
to comp.mobile.nokia.8110
Nice. Pinned the topic until they provide an official update with shortcut editor.

I Understand I Exist

unread,
Dec 27, 2019, 5:59:33 AM12/27/19
to comp.mobile.nokia.8110
to which update are you referring ???

Luxferre

unread,
Dec 28, 2019, 2:20:10 AM12/28/19
to comp.mobile.nokia.8110
Possibly feature KaiOS versions will have it at some point.

Ivan Alex HC

unread,
Jan 18, 2020, 8:34:14 PM1/18/20
to comp.mobile.nokia.8110
Now this guide is secured (without break updates) https://sites.google.com/view/bananahackers/customizations/customize-shortcuts

This was tested on a Nokia 8110 4G with the old launcher version:

1. Get a copy of the launcher application's folder from the system:

adb pull /system/b2g/webapps/launcher.gaiamobile.org

2. extract the application.zip, open the /dist/app.bundle.js file and use a website like Beautifier to read in a more detailed way the content of the js file. After line 4200 (at least on Nokia 8110) you should find something like this:

{ name: "volume", icon: "sound-max", isShortcut: !0, title: "volume", order: { portrait: 1, landscape: 1 }, click: function(t) { return e.volumeManagerTimer ? void("ArrowUp" !== t && "ArrowDown" !== t || (e.enterVolumeManagerMode(), navigator.volumeManager["request" + t.slice(5)]())) : (e.enterVolumeManagerMode(), void navigator.volumeManager.requestShow()) } }, { name: "brightness", icon: "brightness", isShortcut: !0, title: "brightness", subtitle: "percentage-number", order: { portrait: 2, landscape: 2 }, cskType: "toggle", click: e.toggleBrightness.bind(e) }, { name: "flashlight", icon: "flashlight-on", iconInactived: "flashlight-off", title: "flashlight", removed: !0, order: { portrait: 4, landscape: 3 }, cskType: "toggle", click: v.default.toggle.bind(v.default) }, { name: "camera", icon: "camera", isShortcut: !0, title: "camera", order: { portrait: 7, landscape: 6 }, cskType: "launch", click: function() { y.default.launch("manifestURL", "app://camera.gaiamobile.org/manifest.webapp") } }, { name: "store", icon: "calculator", isShortcut: !0, title: "calculator", order: { portrait: 5, landscape: -1 }, cskType: "launch", click: function() { y.default.launch("manifestURL", "app://calculator.gaiamobile.org/manifest.webapp") } }, { name: "settings", icon: "settings", isShortcut: !0, title: "settings", order: { portrait: 8, landscape: 7 }, cskType: "launch", click: function() { y.default.launch("manifestURL", "app://settings.gaiamobile.org/manifest.webapp") } }, { name: "wifi", icon: "wifi-32px", iconInactived: "wifi-off-32px", title: "wifi", observerSetting: "wifi.enabled", removed: !0, order: { portrait: 0, landscape: 0 }, cskType: "toggle" }, { name: "network", icon: "network-activity", iconInactived: "network-activity-off", title: "cellular-data", observerSetting: "ril.data.enabled", order: { portrait: 3, landscape: 4 }, cskType: "toggle" }, { name: "bluetooth", icon: "bluetooth-32px", iconInactived: "bluetooth-off-32px", title: "bluetooth", removed: !0, observerSetting: "bluetooth.enabled", order: { portrait: 6, landscape: 5 }, cskType: "toggle" }

And now set the path of the application you need on the launcher menu.

3. Push the app and its folder on the data partition, exactly in /data/local/webapps with a temporary root access:

adb push launcher.gaiamobile.org /data/local/webapps

4. Get the webapps.json file:

adb pull /data/local/webapps/webapps.json

And change the value of the launcher.gaiamobile.org app

  • "basePath": "/system/b2g/webapps",

in this way

  • "basePath": "/data/local/webapps",

Use the JSONLint website to verify that the format is correct for any json file you want to modify.

5. Afther this change push the webapps.json file in its place and reboot the phone:

adb push webapps.json /data/local/webapps/
adb reboot

After rebooting your launcher will be ready to "launch" your favourite apps. All the changes will be restored after a factory reset or after the update.

(source by Sylvain BLOT, improved by Vivek)

pometlon

unread,
Apr 8, 2021, 3:35:43 AM4/8/21
to comp.mobile.nokia.8110

Hi, I have tried to customize the shortcuts menu on Nokia 2720 Flip by these instructions.
However, the code supposed to be in app.bundle.js file is not there, no parts of it. The tutorial is said to be tested on Nokia 8110, I would be grateful for any ideas where else or what else to search on Nokia 2720.


Dne neděle 19. ledna 2020 v 2:34:14 UTC+1 uživatel Ivan Alex HC napsal:

Affe null

unread,
Apr 8, 2021, 4:39:35 AM4/8/21
to banana...@googlegroups.com

On newer versions of KaiOS, the code is somewhere in the "system" app. But be careful when modifying it, because it is the app that powers everything except for the devtools and ADB, so if it gets messed up, you will just get a blank screen!

You can also download an old version of the launcher for the Nokia 8110 (I think there was a thread about a modified "better" version of the launcher somewhere in this forum, it should have the right version). But the "Notifications" menu might not work because the necessary IAC channel has been renamed from "notice" to "launcher-panel" in newer KaiOS versions.

--
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/edb4cf68-8803-44a9-90d2-5df12945cf62n%40googlegroups.com.

pometlon

unread,
Apr 10, 2021, 4:27:22 AM4/10/21
to comp.mobile.nokia.8110
Thanks, it is in the "system" app. The code is more complicated than on Nokia 8110 but I will be trying.

Dne čtvrtek 8. dubna 2021 v 10:39:35 UTC+2 uživatel Affe null napsal:
Reply all
Reply to author
Forward
0 new messages