removing "tablet is starting " message from boot up

Post Reply
flyingbaloon
Posts: 8
Joined: Thu Jul 08, 2021 4:26 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

removing "tablet is starting " message from boot up

Post by flyingbaloon »

Hello everyone we are using the latest android image, we have a custom android launcher app . In the home settings we selected this app to run as launcher app and start on boot up . this works , and our custom launcher app is launched on boot up . However before our app starts for a second, we get the message "tablet is starting" and in the background of this image we have the default home app , and after few seconds our custom home app launches . Is there a way to get rid of this "tablet is starting" message and boot up with our custom launcher app .Thanks for your support

User avatar
codewalker
Posts: 1482
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 61 times
Been thanked: 106 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by codewalker »

Try to fix like this and builld Settings app.

Code: Select all

[packages/apps/Settings]$ git diff
diff --git a/src/com/android/settings/FallbackHome.java b/src/com/android/settings/FallbackHome.java
index 5f7b639236..4daa1f2110 100644
--- a/src/com/android/settings/FallbackHome.java
+++ b/src/com/android/settings/FallbackHome.java
@@ -85,14 +85,14 @@ public class FallbackHome extends Activity {
     protected void onResume() {
         super.onResume();
         if (mProvisioned) {
-            mHandler.postDelayed(mProgressTimeoutRunnable, PROGRESS_TIMEOUT);
+            //mHandler.postDelayed(mProgressTimeoutRunnable, PROGRESS_TIMEOUT);
         }
     }
 
     @Override
     protected void onPause() {
         super.onPause();
-        mHandler.removeCallbacks(mProgressTimeoutRunnable);
+        //mHandler.removeCallbacks(mProgressTimeoutRunnable);
     }
viewtopic.php?f=208&t=41666&p=323611&hi ... is#p323611

User avatar
codewalker
Posts: 1482
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 61 times
Been thanked: 106 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by codewalker »

Try to intsall Settings.apk.
https://dn.odroid.com/S905X3/ODROID-C4/ ... ttings.apk

Code: Select all

$ adb remount
$ adb push Settings.apk /system/priv-app/Settings/

flyingbaloon
Posts: 8
Joined: Thu Jul 08, 2021 4:26 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by flyingbaloon »

Thanks for your support, the above works and the message "tablet is starting" is not seen , but still the quick step launcher screen is seen for 2 seconds before our custom launcher apps is seen , is there any way the quick step app is not seen at the boot up . we want to only see our custom launcher app on boot up

User avatar
codewalker
Posts: 1482
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 61 times
Been thanked: 106 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by codewalker »


iprat
Posts: 17
Joined: Thu Jun 15, 2017 5:59 pm
languages_spoken: english, catalan, spanish
ODROIDs: C1+, C2, C4, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by iprat »

Hi folks I'm trying to reproduce the settings you've commented above.

As this was written in July 9th of 2021 the test image in the link is changed, thus I've flashed Android stock image from 20211201, but I see the same behaviour "tablet is starting".

Trying to download modified settings.APK is a broken link.

Settings.apk modifications are present in 20211201 stock Android image ?
If they are present where is the setting to disable "tablet is start" screen ?
Any hints on how to proceed ?

iprat
Posts: 17
Joined: Thu Jun 15, 2017 5:59 pm
languages_spoken: english, catalan, spanish
ODROIDs: C1+, C2, C4, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by iprat »

Having read a topic about this in N2 forums I have tried to change in adb:

Code: Select all

setprop persist.disable_bootmessages true
But, although the setprop gets stored (checked with getprop on next boot), it is not working, "tablet is starting" message and application is shown anyway during 2-3 seconds before my customized launcher is started.

Did I miss another step or property to modify ?

iprat
Posts: 17
Joined: Thu Jun 15, 2017 5:59 pm
languages_spoken: english, catalan, spanish
ODROIDs: C1+, C2, C4, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by iprat »

Correction:

Code: Select all

setprop persist.disable_bootmessages true
seems to have not any effect

But enabling "kiosk mode" does: the 2-3 second screen appears with an orange/rose background but without the "tablet is starting" text. A small improvement, but it's a progress.

Trying to close this issue:
Is there any way to eliminate completely that screen ? If not, maybe changing it's background to plain black / white ?

User avatar
voodik
Posts: 2117
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 440 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by voodik »

iprat wrote:
Fri Dec 24, 2021 1:53 am
Having read a topic about this in N2 forums I have tried to change in adb:

Code: Select all

setprop persist.disable_bootmessages true
But, although the setprop gets stored (checked with getprop on next boot), it is not working, "tablet is starting" message and application is shown anyway during 2-3 seconds before my customized launcher is started.

Did I miss another step or property to modify ?
This prop available only on Lineage-18.1 builds.
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

iprat
Posts: 17
Joined: Thu Jun 15, 2017 5:59 pm
languages_spoken: english, catalan, spanish
ODROIDs: C1+, C2, C4, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by iprat »

Hi voodik !

Thanks for your comment. Currently working on a project based on C2 migrating to C4. Using the stock Android 9.0 image trying to be as near as possible to HardKernel's image maintenance.

I don't need Android 11 features, just being as updated as possible in security patches. That's the reason I initially preferred stock HK image.

@voodik: Do you plan to long-term maintain LineageOS-16 builds ?

@hk: Is there any possibility to modify HK stock image to "hide" the initial transition from boot image to custom launcher as in LineageOS ?

User avatar
voodik
Posts: 2117
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 440 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by voodik »

iprat wrote:
Mon Dec 27, 2021 8:33 pm
Hi voodik !

Thanks for your comment. Currently working on a project based on C2 migrating to C4. Using the stock Android 9.0 image trying to be as near as possible to HardKernel's image maintenance.

I don't need Android 11 features, just being as updated as possible in security patches. That's the reason I initially preferred stock HK image.

@voodik: Do you plan to long-term maintain LineageOS-16 builds ?

@hk: Is there any possibility to modify HK stock image to "hide" the initial transition from boot image to custom launcher as in LineageOS ?
packages/apps/Settings

Code: Select all

diff --git a/src/com/android/settings/FallbackHome.java b/src/com/android/settings/FallbackHome.java
index e3944a65c6..99a6cc30c4 100644
--- a/src/com/android/settings/FallbackHome.java
+++ b/src/com/android/settings/FallbackHome.java
@@ -31,6 +31,7 @@ import android.os.Handler;
 import android.os.Message;
 import android.os.PowerManager;
 import android.os.SystemClock;
+import android.os.SystemProperties;
 import android.os.UserHandle;
 import android.os.UserManager;
 import android.provider.Settings;
@@ -53,6 +54,9 @@ public class FallbackHome extends Activity {
                 R.layout.fallback_home_finishing_boot, null /* root */);
         setContentView(v);
         v.setAlpha(0f);
+        if (SystemProperties.getBoolean("persist.disable_bootmessages", false)) {
+            v.setVisibility(View.INVISIBLE);
+        }
         v.animate()
                 .alpha(1f)
                 .setDuration(500)
These users thanked the author voodik for the post (total 2):
odroid (Fri Dec 31, 2021 9:53 am) • iprat (Wed Jan 05, 2022 12:31 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

iprat
Posts: 17
Joined: Thu Jun 15, 2017 5:59 pm
languages_spoken: english, catalan, spanish
ODROIDs: C1+, C2, C4, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: removing "tablet is starting " message from boot up

Post by iprat »

Hi voodik,

Thanks for your hints:

Excuse me, I'm new to customizing the Android distribution, I'll have to learn some details to make this modification. For the time being I've only made standard APK (and a customised launcher).

Should I download FallbackHome.java from which source ? Is this an APK for the ODROID customisation ?
Then compile it to an APK as I've done with my own app ? Do I have to build all the android compilation toolchain setup or I can do it directly from AndroidStudio ?
At the end, I'll have to upload the resulting apk and substitute the one that is released on a stock ODROID android image. Where's the settings apk currently ? I'll have to redo this task at each release ?
Maybe you have an example somewhere on how to build this kind of customisation, but I haven't been able to find it. Any advice ?

Best regards,
Ignasi Prat

User avatar
voodik
Posts: 2117
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 56 times
Been thanked: 440 times
Contact:

Re: removing "tablet is starting " message from boot up

Post by voodik »

iprat wrote:
Wed Jan 05, 2022 12:38 am
Hi voodik,

Thanks for your hints:

Excuse me, I'm new to customizing the Android distribution, I'll have to learn some details to make this modification. For the time being I've only made standard APK (and a customised launcher).

Should I download FallbackHome.java from which source ? Is this an APK for the ODROID customisation ?
Then compile it to an APK as I've done with my own app ? Do I have to build all the android compilation toolchain setup or I can do it directly from AndroidStudio ?
At the end, I'll have to upload the resulting apk and substitute the one that is released on a stock ODROID android image. Where's the settings apk currently ? I'll have to redo this task at each release ?
Maybe you have an example somewhere on how to build this kind of customisation, but I haven't been able to find it. Any advice ?

Best regards,
Ignasi Prat
I think you should ask @hk devs to implement this feature in official Android image otherwise you should setup full android build environment patch and build at least Settings.apk
https://wiki.odroid.com/odroid-n2/softw ... ng_android
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 0 guests