NSPanel Pro - Custom android apps (working)

Hi @seaky,

I’m trying to install the latest webview:


Android System WebView 127.0.6533.143 (arm64-v8a + arm-v7a) (Android 8.0+)

But after getting:

adb install -r com.google.android.webview_127.0.6533.143-653314301.apk
Performing Streamed Install
Success

I still have 108.0.5359.128 version.

Maybe that is the wrong version?
Thanks

Hi

What is your fw version?
Where did you check it?

Regards

I’ve checked your link and this apk is a wrong distribution for sure!
Did your read my github section about what webview distribution is supported?

I currently have the same issue that I can install 128 successfully but it’s not showing up.

I will double check if the downloaded arch is the correct one. As far as I can judge the arch is correct, but does not work…

It would be nice if such things (updating WebView, HA) could be done via the NSPanelTools app. Every 1-2 months I need to remember how to do that :wink:

I’m also looking for the latest webview apk. could you please share a link to the prober distribution? Would be truly appreciated :wink:

I’ve had zero issues downloading from APKPURE , which is just a mirror site for Google Play. If it’s on a guide on GitHub then you may need to get that version. I ended up ordering one but won’t ship until around the 20th. Verify the Android version also, this says 8 is required, which I imagine it has. If you scroll down you will see all versions in case a specific version is required. The latest version was released on the 12th while the previous was the day before, they are also vastly different sizes… I will be following the referenced guide above when I get mine and will report back.

Webviews for NSPanel Pro fw1.5+:

Webview 125.0.6422.165

Webview 128.0.6613.88

command:
adb install -r <webview.apk>

1 Like

Hi! I found this post after looking for a solution to an issue I have with my NSPanel Pro. Since the last update to HA, the HA companion app on NSPanel crashes when changing tab, and I managed to pinpoint the problem so that now I am fairly certain that it only happens when changing to a tab designed with the new “sections” style (tabs with other styles have no issues).

From a quick glance to logcat it seems that this is due to webview crashing. I tried to install a new version of webview but I had the same issues other people had (it doesn’t appear in the selection window in the developer options).

So, long story short: seeing you adding the links to the new webviews fills me with hope for a quick resolution but… the links are private :slight_smile: Could you make them public? :slight_smile: Thanks!

my mistake, try now

I just tried version 128 and I can confirm that now the issue seems resolved (I can change to tabs with “section” layout withot the companion app crashing!

Thanks a lot!

I did this update yesterday and sofar I had no more crashes :slight_smile:

Legend !! massive thanks for this !!

I just had the new NSPanel pro 120 in my mailbox this morning: NSPanel Pro 120 - SONOFF Official

slightly different PCB, USB-Port still accessible when opening the display. Gonna report my findings tonight :slight_smile:

OK, this was stupidly easy :slight_smile:

Turns out you need to do the same procedure as described by Filya75 here: NSPanel Pro - Custom android apps (working) - #52 by Filya75

Steps I took:

#1 Open the display:
a) First remove the metal back
b) Then unscrew the four screws and use some guitar pleks or other mobile phone opening tools to remove the plastic back, so you’ll see the PCB as in my previous post.
c) Now Unscrew the six screws you see there (Note: There is a sixth screw under the fabric tape in the bottom right!)

#2 Install apps:
ADB is disabled, as expected, so we do what Filya75 described in his post:
a) Download the minimal launcher (or any launcher you wanna use) and save it somewhere. Prepare an adb install command for that launcher, like adb install ultra-small-launcher.apk
b) Connect a Micro-USB-Cable with data wires to the USB-Port (no need to loosen the ribbon cables, it’s fine with the screws unscrewed)
c) Smash the adb devices -l command until the display shows up as something like H082012302031503216 device product:px30_evb model:px30_evb device:px30_evb transport_id:8
d) Now execute your prepared install command which should install the launcher.
e) Reboot the device and it should prompt you which launcher you wanna use. Make sure to select the minimal launcher and say “Always” (or not, up to you).
f) Now go to Settings, System, About tablet and hit the build number seven (or eight?) times to enable Developer Mode.
g) Go back and then to “Developer settings” and check that "USB debugging is enabled.
h) You’ll now constantly have adb access and can sideload apps.

Great thing is, the device already comes with an updated Web View component (107.0.5304.105), so no need to update it. I literally just went ahead and installed Fully Kiosk and that’s it. I also recommend installing the latest NSPanel Tools (GitHub - seaky/nspanel_pro_tools_apk) to make use of the proximity and configure other things :slight_smile:

Have fun!

P.S.: Other facts, for people caring: The device also comes with their new UI “Rubik” (Explore NSPanel Pro V3.0.0 NEW UI: RUBIK - SONOFF Official). The launcher app is still called “eWeLinkControlPanel” and comes in version 3.4.1

Installed apps and versions:

>adb shell pm list packages --show-versioncode
package:com.android.cts.priv.ctsshim versionCode:27
package:com.android.providers.telephony versionCode:27
package:com.android.providers.calendar versionCode:27
package:com.android.providers.media versionCode:800
package:com.android.wallpapercropper versionCode:27
package:com.android.documentsui versionCode:27
package:android.auto_generated_rro__ versionCode:1
package:com.android.externalstorage versionCode:27
package:com.android.htmlviewer versionCode:27
package:com.android.companiondevicemanager versionCode:27
package:com.android.mms.service versionCode:27
package:com.android.providers.downloads versionCode:27
package:com.android.defcontainer versionCode:27
package:com.android.providers.downloads.ui versionCode:27
package:com.android.pacprocessor versionCode:27
package:com.android.certinstaller versionCode:27
package:android versionCode:27
package:com.eWeLinkNSPro.dev versionCode:1
package:com.android.camera2 versionCode:20002100
package:com.android.egg versionCode:1
package:com.android.mtp versionCode:27
package:com.android.nfc versionCode:27
package:com.android.backupconfirm versionCode:27
package:com.android.provision versionCode:27
package:com.android.statementservice versionCode:1
package:com.android.systemui.theme.dark versionCode:1
package:com.android.apkinstaller versionCode:1
package:com.android.providers.settings versionCode:27
package:com.android.sharedstoragebackup versionCode:27
package:com.rockchip.devicetest versionCode:2
package:com.android.printspooler versionCode:27
package:com.android.dreams.basic versionCode:27
package:com.android.webview versionCode:530410503
package:com.android.rk versionCode:5
package:com.android.inputdevices versionCode:27
package:com.android.bips versionCode:27
package:com.eWeLinkControlPanel versionCode:2024081601
package:l.l versionCode:5
package:com.android.musicfx versionCode:10400
package:android.ext.shared versionCode:1
package:com.android.onetimeinitializer versionCode:27
package:com.android.server.telecom versionCode:27
package:com.android.keychain versionCode:27
package:com.android.printservice.recommendation versionCode:2
package:android.ext.services versionCode:1
package:com.android.gl2jni versionCode:0
package:com.android.packageinstaller versionCode:27
package:com.svox.pico versionCode:1
package:com.android.proxyhandler versionCode:27
package:com.android.inputmethod.latin versionCode:27
package:org.chromium.webview_shell versionCode:1
package:com.android.managedprovisioning versionCode:27
package:com.android.dreams.phototable versionCode:27
package:com.android.smspush versionCode:27
package:com.android.wallpaper.livepicker versionCode:27
package:com.cghs.stresstest versionCode:1
package:com.android.storagemanager versionCode:27
package:com.android.bookmarkprovider versionCode:27
package:com.android.settings versionCode:27
package:acr.browser.barebones versionCode:93
package:com.android.cts.ctsshim versionCode:27
package:com.android.vpndialogs versionCode:27
package:com.android.music versionCode:27
package:com.android.phone versionCode:27
package:com.android.shell versionCode:27
package:com.smatek.test versionCode:24070816
package:com.android.wallpaperbackup versionCode:27
package:com.android.providers.blockednumber versionCode:27
package:com.android.providers.userdictionary versionCode:27
package:com.android.location.fused versionCode:27
package:com.android.systemui versionCode:27
package:com.android.bluetoothmidiservice versionCode:27
package:com.DeviceTest versionCode:27
package:com.android.bluetooth versionCode:27
package:com.android.wallpaperpicker versionCode:1
package:com.android.providers.contacts versionCode:27
package:com.android.captiveportallogin versionCode:27
package:android.rk.RockVideoPlayer versionCode:2
3 Likes

Hi,

I just received my nspanel pro 120 yesterday and I think instead of Sonoff’s sw (which for example cannot use an rtsps camera url…) it would be better to use it like an android device with companion app. I’ve checked the forums and watched @seaky 's videos but I’m not sure anymore which step is required for the SPECIFIC device and which is not. Is there any step-by-step guide for a dumb guy like me? :slight_smile: Also some documentation mentioning after I enable dev mode, the original fw cannot be installed and warranty is lost. Is this really true?

Thx
L:

Actually, Developer mode (ADB) could have been switched via Ewlink app after pairing the unit. So disassembly is not required.

1 Like

So, it was harder to read than actually perform :slight_smile:

so,

  1. enable developer mode (of course warranty is lost and no further OTA updates)
  2. install launcher (with adb)
  3. install nspanel tools (very very useful development for this usecase)
  4. install HA Companion app and/or Fully kiosk browser

that’s it

Thanks. Hoping to get mine soon, grey color was out of stock. Seems like the firmware is pretty complete, at least based on the reviews I’ve seen. The original nspanel pro had major issues when it came out, that and features that either took forever or just got removed from the descriptions on their website. I’m planning on setting the ZigBee setting to router then perform the above. I do need to mess with kiosk and some other cards for a dashboard, seems like that will by far take the most time.

I literally posted it above your post…

Did you try it? I should have tried actually, but what I get from reading Blackadders blog, the new displays all didn’t allow that anymore, so you had to go the path I went.

1 Like