Related
hi,
I've created an application that runs in kiosk mode. However, there sometimes appear certain system popups (e.g., when a GPRS connection is being established). Quick users can then tap the "Settings" field in the popup and access parts of the system that I want to prevent (no possibility for the user to access system settings).
Thus, is there any possibility to disable those popups? (Preferably, disabling should work programmatically...)
(I'm using the HTC ARTEMIS, sw is developed in native c++ using MS Visual Studio 2005).
best regards,
Günther
My extensive “Tips & Tricks” guide to:
• Installing a new ROM
• Installing a new Kernel
• Achieving the best battery life as possible
Installing a new ROM
ZIP file Corruption issues?
When installing a new ROM it is important to make sure that when you copy the .zip file over (for a CWM installation) that the file copies correctly. One of the major causes of issues with massive 100-200meg ROM zip files is corruption when copying the file across. The best way to eliminate this is to:
1) Boot into CWM (vol up + menu + power)
2) Go to “Mounts & Storage”
3) Go to “Mount USB Storage”
4) Copy the files onto your “Internal SDcard”
5) Use the windows “safely remove usb device” function
6) Go to unmount on the phone
This method safely ensures that the file has copied over as corruption free as possible. If the .zip file is still corrupt, this could be an issue with either A) the zip file thats online, so check the forums from the creator to see if there has been any excess reports of people having a similar issue or B) re-download the file using a PC (if you originally downloaded it OTA (over the air – on the phone via WIFI or 3G) as there is a greater chance of a .zip file of such large quantity being corrupted OTA rather than through a PC download.
mudferret said:
Checking MD5 sums is good practice as well. Winzip, et al, can do it on your PC "show checksum" or a app like ES File Explorer, et al, can check MD5 sums under properties.
Click to expand...
Click to collapse
How to eliminate any residual files during a full-wipe ROM installation?
Once the .zip file is located on the Internal SDcard, enter CWM:
1) Boot into CWM (vol up + menu + power)
2) Wipe Data/factory reset (main menu)
3) Wipe Cache (main menu)
4) main menu > advanced menu > Wipe Davlik
5) main menu > advanced menu > Reboot Recovery
6) Install ZIP from sdcard > Choose ZIP from sdcard > XXX.zip
7) Wipe Cache (main menu)
8) main menu > advanced menu > Wipe Davlik
This may or may not be unnecessary – it all depends on how each individual ROM is designed, created and how many customisations are made to it. This takes only 30 seconds extra, and could save you a vast amount of time after booting into the new ROM and finding out that there are residual (left over) files from any previous ROMs that can be conflicting or causing force closes.
Installing a new Kernel
1) Boot into CWM (vol up + menu + power)
2) Wipe Cache (main menu)
3) main menu > advanced menu > Wipe Davlik
4) main menu > advanced menu > Reboot Recovery
5) Install ZIP from sdcard > Choose ZIP from sdcard > XXX.zip
6) Wipe Cache (main menu)
7) main menu > advanced menu > Wipe Davlik
This too, may or may not be unnecessary – but at the cost of 3 seconds of your time, can result in a smoother installation and transition from Kernel to Kernel, even if it is the same Kernel or a new updated version.
Achieving the best battery life as possible
Batteries on any android device are a tricky thing to master to maximise. The selection of the ideal ROM and Kernel plays a vital role in determining how the phone itself will function both visually and behind the scenes. To maximise your battery, you should choose a slimmed down ROM and Kernel combination that has removed as many default Samsung bloat ware applications and system functions as possible, but retaining as much functionality as possible. E.g. not removing such things like the camera or wifi drivers etc etc etc
After installing a new ROM or Kernel or even on an existing ROM/Kernel combination there are certain things a person can do to help improve battery life, these include:
• Monitoring the battery
• Freezing unnecessary applications / system processes
• Removing applications from startup
• Ensuring applications are efficiently accessing the internet only when required
• Underclocking & Undervolting
• Other tips and tricks (must read)
Monitoring the battery
Monitoring the battery is very simple, and only a few applications are required. I personally use 3 in particular. These include:
1) “Better Battery Stats”- (Paid version) – This can help to determine what applications or processes or even kernel functions are waking the phone from a deep sleep via a “partial wakelock” or “kernel wakelock” – and to help you eliminate these to effectively achieve a higher deep sleep so your phone is no longer using battery when the screen is turned off.
a. This application can be found here: https://market.android.com/details?...sImNvbS5hc2tzdmVuLmJldHRlcmJhdHRlcnlzdGF0cyJd
2) “CPU Spy” – This application helps to show what state the phone has been in, to help show you visually why your battery has been draining. It ranges from “Deep Sleep” / 200mhz / 500mhz / 800mhz / 1000mhz and 1200mhz states giving both a “time in” each state and a total % of the whole.
a. This application can be found here: https://market.android.com/details?...251bGwsMSwxLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ..
3) Battery Monitor Widget - (Free and Pro versions) - What this app does, is actually meausre the VOLTAGES in the battery itself, and shows you a mah/pHr output via a widget and can also calibrate its own statistics based on precise measurements from when it is drained to charged. It also has the ability to calibrate the battery, and shows the “draw” voltages history timeline to help better understand and follow where your power is going based on timestamps. I am not sure how "accurate" these readings actually are, but they seem to be fairly good. You can create battery profiles (for people who swap out batteries often OR want to test multiple types of batteries from ebay or wherever.)
a. Free Version here: https://market.android.com/details?...ch_result#?t=W251bGwsMSwxLDEsImNjYzcxLmJtdyJd
b. Pro/Paid Version here: https://market.android.com/details?...ult#?t=W251bGwsMSwxLDEsImNjYzcxLmJtdy5wcm8iXQ
Freezing unnecessary applications / system processes
The freezing of applications that you no longer wish to use can be vital to increasing battery life. Freezing over Uninstalling also allows for a better “User Error” as such, if you FREEZE a particular application and you later find out that you either wanted that app or needed that app for another app to work, you can go back in and UNFREEZE rather than having to relocate and reinstall this app. All of this can be done with the most vital tool that any ROOT user should have in their app repertoire – Titanium Backup – Located here:
A) Free Version here: https://market.android.com/details?...DEsImNvbS5rZXJhbWlkYXMuVGl0YW5pdW1CYWNrdXAiXQ..
B) Pro/Paid Version here: https://market.android.com/details?...mNvbS5rZXJhbWlkYXMuVGl0YW5pdW1CYWNrdXBQcm8iXQ..
The Pro/Paid version is well worth the funds, and can save you hours of time by backing up applications before any ROM and KERNEL installation to prevent loss of vital information and data settings for all of your applications. It also has the above mentioned FREEZE app function which I will run you through now.
To FREEZE an application:
1) Open Titanium Backup
2) Tap “Backup/Restore tab at the top of the screen. This will show all of the applications you have installed on your phone. RED apps are SYSTEM apps, and WHITE apps are USER apps. This is vital to remember, as SYSTEM apps “CAN” cause faults in the ROM and cause force closes if a particular app is required for another to work.
3) Scroll up and down to find the applications you wish to FREEZE – then tap that application and push FREEZE (middle centre)
4) To UNFREEZE an app, repeat the process and tap UNFREEZE
ADDED: 22/11/2011 – Complete list of SYSTEM applications that CAN and CANT be frozen or removed.
Here is a compiled list of almost every SYSTEM application that another member on the forums called Yeyka (a.k.a. Angus) has compiled and i have updated and added to. Please be extremely careful with ones that have an AQUA CAUTION beside them, as they can cause massive problems if frozen or uninstalled by mistake.
List1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
List 2
List 3
List 4
Original Source: Veyka
Link here: https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
Although my list is substantially long, and not all ROMS will have everyone of these or the NUMBERING version of each application will be different for everyone, the applications are still the same, just the version number is different.
PLEASE BE CAUTIOUS WHEN FREEZING APPLCATIONS – ESPECIALLY THE TWLAUNCHER ONES, NOT FOR NOVICES.
Some people have asked why I freeze applications like Videos / Music / My Files / Samsung Keyboard / Swype etc – The reasons are, I have alternate apps for music, videos, file exploring and keyboards etc – Which are all USER applications and easier to transfer between ROM to ROM rather than SYSTEM apps which can be difficult to backup and move from ROM to ROM. The more you can get away from using the stock Samsung applications the better and easier the transition from ROM to ROM will be – and the settings you use will also be kept.
Removing applications from startup
Another useful and extremely handy application is “Startup Manager” app. Using this application, you can choose which USER and SYSTEM apps you wish to be prevented from opening on startup. This is handy for 2 reasons.
1) Allows for faster boot times
2) Gives the user better control over which applications open by themselves and therefore conserving more battery by not having them all open on startup.
a. Free Version here: https://market.android.com/details?...wsMSwxLDEsImltb2JsaWZlLnN0YXJ0dXBtYW5hZ2VyIl0.
b. Pro/Paid Version here: https://market.android.com/details?...DEsImltb2JsaWZlLnN0YXJ0dXBtYW5hZ2VyLmZ1bGwiXQ..
Ensuring applications are efficiently accessing the internet only when required
There is 2 ways to do this:
1) Open each application you believe that uses any kind of internet connectivity and check that they are either disabled or set within an acceptable range for the users preference e.g. Facebook application > Notifications > polling every X minutes OR X hours
2) Use an application to help do this for you. Such an application as “Juice Defender” – This application is designed for people who have a heavy amount of applications on their phones that access the internet regularly. It disables all connectivity to the phone upon “Screen Off” and only reenables these connections when the screen is turned on. There are other settings but this is the overall concept behind it. There are 3 main versions:
a. Free : https://market.android.com/details?id=com.latedroid.juicedefender&feature=search_result
b. Plus: https://market.android.com/details?id=com.latedroid.juicedefender.plus&feature=search_result
c. Ultimate: https://market.android.com/details?id=com.latedroid.ultimatejuice&feature=search_result
The names are appropriate to the level of functionality included in each. Free gives basic level of control, Plus gives a little bit more and Ultimate gives you the most control and functionality for maximum battery conservation.
Underclocking & Undervolting
Specific Kernels allow the user to control the speeds of their processors and the voltages at which it can run. Some of these Kernels include: Siyah & SpeedMod and many more (others I have not tested myself) Some Kernels do this via scripting methods built into the Kernel itself and others allow the user to control these via 3rd Party applications such as:
A) SetCPU – allows frequency / voltage control (only if the Kernel is supported): https://market.android.com/details?...wsMSwxLDEsImNvbS5taHVhbmcub3ZlcmNsb2NraW5nIl0.
B) Voltage Control – very similar to SetCPU but with alot more advanced settings: https://market.android.com/details?...xLDEsImNvbS5kYXJla3hhbi52b2x0YWdlY29udHJvbCJd
Other Tips and Tricks
This is the part where I tell you a few other tips and tricks that I have learnt over the past 2-3 years of using Android based phones and tablets which will help to dramatically increase battery life while also giving the user a better knowledge base from which to give them the tools to possibly explore even better ways of maximising their batteries.
A) Turning off EVERYTHING – applications that you are not using so that your phone has better “Deep Sleep”. This can be done through a number of applications that give quick, easy, 1 press access to things such as Wifi / 3G / Bluetooth / GPS / Auto Sync / Air Plane Mode / Screen Brightness / Volume (silent / Vibrate and Sound) / Auto Rotation etc. This can be done through a number of ways.
a. Certain themes like J-Kays http://forum.xda-developers.com/showthread.php?t=1154278 which allows the user to customise their Status bar and power button menus.
b. Applications like Switch Pro https://market.android.com/details?id=alei.switchpro&feature=search_result which you can add and customise widgets on your home screen and many more
c. ADDED: 22/11/2011 - ADVANCED SYSTEM AUTO START UP CONTROL
Do you have an issue with applications automatically starting all the time? Have you disabled notifications and refresh times, but the app still seems to open itself and run in the background? e.g. Facebook app. I have disabled the application from auto syncing, however BetterBatteryStats still says that it runs in the background causing partial wakelocks... Well I have found the answer an app called "AUTORUN MANAGER" which can help.
This application gives the user almost complete control over which applications start by themselves, and the services that run in the background. By disabling each applications ability to AUTOLOAD this can help save battery life, and prevent apps from still accessing the internet, even when you have turned off the service.
The application comes with SIMPLE and ADVANCED modes. Root access is required. Simply open the application, tap on the application name that you wish to stop from running in the background, and disable the appropriate services.
This application also has the ability to stop SYSTEM applications from AUTOLOADING and running in the background. BE EXTREMELY CAUTIOUS WHEN DEALING WITH SYSTEM APPS.
Links Provided:
Free:
https://market.android.com/details?...lt#?t=W251bGwsMSwxLDEsImNvbS5ycy5hdXRvcnVuIl0.
Pro / Paid:
https://market.android.com/details?...=W251bGwsMSwxLDEsImNvbS5ycy5hdXRvcnVuLnBybyJd
B) Task killers – this is a very touchy subject and many people believe the phone does not require a task killer. With this i totally agree, however, there are certain circumstances when a having a task killer installed may be useful. This is when the designers of certain apps create them with memory leaks and sometimes they don’t close effectively and efficiently from the internal Android OS task killer which is built into most ROMs.
Example: a big graphical game, may have an error, rather than exiting out of the program upon closing of the game, it sits in the background awaiting you to return to it (which a lot of games do, as they may record high scores, achievements etc) and will not close unless the user specifies an “Exit” type function built into the game. Some of these apps and games may sit in the background for minutes or even hours before the task killer can and will do anything about these. A little nudge from the user can be the difference in a substantial battery % loss and gain depending on the user’s ability to identify, and kill specific tasks at will.
Some task killers have widgets which can run silently on the home screen and give you quick 1 touch application killing functions quick and easily. HOWEVER – killing all application processes is not a good thing to do, and will most likely result in a great deal of battery drain, as the system WILL reboot most of these apps and will take more battery power than leaving them running in the background.
C) Using black or dark themes – the screen on the S2 especially is the biggest battery drainer there is. The darker the themes and backgrounds the better the battery saving you will achieve. It is a well known fact that anything bright from a device with such a large screen will generate a greater level of power draw needed to display these on the screen.
D) Default phone settings such as:
a. Fast Dormancy (*#9900 in keypad) disabled or enabled can cause better battery drain.
b. SETTINGS > WIRELESS > MOBILE NETWORKS > NETWORK MODE > WCDMA ONLY – can cause the phone to not keep switching 3G modes so rapidly and achieve faster internet speeds with greater battery life
c. SETTINGS > WIRELESS > WIFI-SETTINGS > (menu button > ADVANCED) > WI-FI sleep policy > Never when Plugged in – can switches off WiFi when the phone isn’t plugged in and the screen is turned OFF
d. SETTINGS > LOCATION AND SECURITY > USE WIRELESS NETWORKS (off) – this sends constant location based information to and from google (or so ive read) – it is unnescceary to have it on all the time, unless you are using GPS / Google maps or other location based applications – however may also result in the marketplace not constantly updating in the background.
e. ADDED: 21/11/2011 - DISABLING GOOGLE BACKGROUND SYNC
After reading through some better battery stats partial wake locks, and doing some online research. It appears that Google will send and receive information to its SYNC server if the following setting is enabled:
SETTINGS > PRIVACY > BACK UP MY DATA
So you will want to DISABLE this.
f. ADDED: 21/11/2011 - DISABLING GOOGLE BACKGROUND SYNC
Disable both:
MARKET > SETTINGS > NOTIFICATIONS
&
MARKET > SETTINGS > GOOGLE ADMOB ADS
This will disable the background service where market place continues to poll the google servers for information about new application versions that are out, and the current versions you have installed. Will help with GTALK_ASYNC_CONN partial wakelock but will NOT solve it entirely.
I hope this guide has helped, and I’m sure that more things will add or edited with time. But if this guide has helped in any way to solve your queries please click “Thanks” button below, and enjoy your better understanding of how your phone works from my point of view.
Cheers
Your post is very useful. Thank you.
Sent from my GT-I9100 using xda premium
thanks mate
no problem guys - glad i could pass on some of my knowledge to help others.
appreciate the effort you put into it.. Thanks for the info!
Thanks for all this info. Bought my S2 yesterday and this is a great list to start customizing it
Sent from my GT-I9100 using XDA App
Sent from my GT-I9100 using XDA App
Would you mind explaining what fast dormancy means? Presumably fast dormancy means a better battery life?
Fast Dormancy (to my knowledge) - is a specific function on the service providers (your phone company) end which allows the phone to switch network modes fast (3-6 seconds) where as having Fast Dormancy disabled allows phones to switch network modes 20-30 seconds or so....
What this means is that by having Fast Dormancy enabled AND the service provider can allow for faster 3G speeds and battery saving... however (again only to my knowledge from what i have read) if the service provider DOESNT support this function, the phone can be "polling" for instructions from the service provider as to which network mode to switch to, if the service provider doesnt support fast dormancy, this can decrease battery life AND decrease 3G speeds...
The service provider i use in Australia is called OPTUS and they (to my knowledge) do not support fast dormancy function, and therefore when i switch it off my battery life increases (only so slightly) and my 3G speeds increase substancially...
To test your 3G speeds with fast dormancy ON and OFF - use an applcation called: "Speedtest.net Mobile" - can be downloaded from here: https://market.android.com/details?...DEsIm9yZy56d2Fub28uYW5kcm9pZC5zcGVlZHRlc3QiXQ..
I usually run the test under these conditions:
* Reboot the phone
* Run the speedtest application 2 times (practice)
* Record the next 3 attempts
* Always pick the same time of day (as network congestion from day to day is fairly similar around the same time of day but differs throughout the day)
* Always choose similar weather conditions (as stormy and rainy weather actually decreases 3G speeds - again only slightly but enough to create bias in your results)
If any SMS's or phone calls or notifications (say from facebook or any other app) appears on screen, reset the phone again and try again - as this can cause a bias in the read outs....
This application is also very handy for testing specific modem files - such as the newest XXKI3 and XXKI4 modems to see which is better for your specific service provider and location.
Modem files can be found here: http://forum.xda-developers.com/showthread.php?t=1277593
I hope this helps
Cheers
Gavin.csy said:
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Hardly any usage at all mate to be honest, shows good idle time but what's the point of having a smartphone and not using it to it's potential?
On topic, very good thread lot's of useful information.
How to eliminate any residual files during a full-wipe ROM installation?
Once the .zip file is located on the Internal SDcard, enter CWM:
1) Boot into CWM (vol up + menu + power)
2) Wipe Data/factory reset (main menu)
3) Wipe Cache (main menu)
4) main menu > advanced menu > Wipe Davlik
5) main menu > advanced menu > Reboot Recovery
6) Install ZIP from sdcard > Choose ZIP from sdcard > XXX.zip
7) Wipe Data/factory reset (main menu)
8) Wipe Cache (main menu)
9) main menu > advanced menu > Wipe Davlik
After flash the rom, must factory reset again?
Just for confirmation..
because i have to work to pay for the phone
Another thing I'd recommend is to inject toggle2g, options to switch to 2g while screen is off and more, I'm sure this will save some battery life as well especially when your screen is off and are in a bad signalled area.
Going to try this out tonight and test next week while at work to see if it works or not.
I've now got the 2000mah battery, so let's see how well this baby can perform for regular use.
Sent from my GT-I9100 using Tapatalk
aers99 said:
How to eliminate any residual files during a full-wipe ROM installation?
Once the .zip file is located on the Internal SDcard, enter CWM:
1) Boot into CWM (vol up + menu + power)
2) Wipe Data/factory reset (main menu)
3) Wipe Cache (main menu)
4) main menu > advanced menu > Wipe Davlik
5) main menu > advanced menu > Reboot Recovery
6) Install ZIP from sdcard > Choose ZIP from sdcard > XXX.zip
7) Wipe Data/factory reset (main menu)
8) Wipe Cache (main menu)
9) main menu > advanced menu > Wipe Davlik
After flash the rom, must factory reset again?
Just for confirmation..
Click to expand...
Click to collapse
I usually do, the reason why i wipe data again AFTER a new ROM has been installed, all depends on the ROM maker. There may be certain temp file/folders or scripts left behind. Doing another quick data wipe as well as cache and davlik afterwards can help to eliminate these residual files.
Its also the reason why a few people have issues with "not enough space" when moving from ROM to ROM - its very rare, but as ive said before, it takes about 30 seconds for all of the "excess" wipes - i believe its worth that 30 seconds before entering Android OS for the first time and start restoring your apps and settings, only to find out that theres an issue that could have been solved with the 3 wipes and then you have to go back into CWM - wipe them, and start again, costing you a vast extra amount of time to re-restore everything over again.
Basically they are just precaution measures. Not always necessary, but in my experience of testing a HUGE variety of ROM's and Kernel combinations, these are the small tips and tricks i have found to eliminate a few of the common issues that arise from messing around with vital ROM and Kernel files.
Cheers
you can also customize your display settings, setting shorter screen awake times and shorter key lighting time
how can u be so clever ,and patient? taking all your time to help us noobs ?
Thank You for the Great Guide!
yoshx05 said:
how can u be so clever ,and patient? taking all your time to help us noobs ?
Thank You for the Great Guide!
Click to expand...
Click to collapse
haha, clever not so much. more so alot of trial and error, and reading copius amounts of webpages and guides myself over the 2-3 years ive been using android phones and tablet devices.
whats the point in having knowledge if you dont share it with others.
glad i could help
Have just added 2 more in GREEN to the main page. Trying to eliminate partial wakelocks in betterbatterystats called:
Managewakelock:
partial UID
&
GTALK_ASYNC_CONN
Will continue to do some research to try and cutback / eliminate as many partial wakelocks from the Android OS as possible. Will keep adding to the main page with dates to show progress.
Cheers
Checking MD5 sums is good practice as well. Winzip, et al, can do it on your PC "show checksum" or a app like ES File Explorer, et al, can check MD5 sums under properties.
mudferret said:
Checking MD5 sums is good practice as well. Winzip, et al, can do it on your PC "show checksum" or a app like ES File Explorer, et al, can check MD5 sums under properties.
Click to expand...
Click to collapse
Good point - will add to main post, cheers
Moderators - I tried searching for a thread, I couldn't find a way to do this on a stock ROM without root. Post a link to the thread if there exists one please? Thanks in advance.
Everybody else: if you have an idea how to get this working, please help out. I've wracked my brains to no avail. If anyone has tried this out, let me know if this works for you as well.
Edit: I've added the XML file below
My Phone:
Nexus 4, stock ROM, no root.
Requirement:
Use an NFC tag to unlock my phone, ensure no one else can access the phone without the tag/password.
Status:
Work-in-progress, here's how.
Disclaimer:
Phone: I almost got locked out of my phone. I'm not responsible if you get locked out of your phone. Please use some caution (and don't set the time delay for less than 10-20s before you nail it)
Security: Till the lock engages, your phone is insecure. If this is not acceptable, please don't try this.
1. Install Tasker - device admin
2. Install Secure Settings - device admin
Tasker:
Tasks
1. Uncheck "Beginner Mode" under the UI tab in preferences
2. Create a variable: (I used, a variable name "%NFC")
3. Create a task - Set variable %NFC to 1 (I used "NFC YES")
4. Create a task with the following actions - Clear password using secure settings, disable keyguard using secure settings (I named mine "Phone Unlock")
5. Create a task with the following actions - wait for 10s (This is my problem area, keep this high or you will be locked out of your phone!!),Enter If condition (if %NFC=0) - set pin using secure settings, enable keyguard using secure settings, system lock (you can use the action built into tasker for this) - (I named mine "Phone Lock")
Contexts
1. Display on --> Run Task --> Phone Lock
2. Display off --> Run Task --> Phone unlock
Use an NFC Tag Writer to configure a tag (I used AnyTAG NFC Launcher) - Run a tasker task to change the tasker variable to 1 (Run "NFC YES" in my case)
You should be done.
This is how it should work - You turn your display on and place the tag under your phone. This will make Tasker change your variable "%NFC" to 1. As long as your variable value is not "0", your phone will remain unlocked. If you do not bring your tag close to your phone, your phone will lock after (10s or 20 or however long you've set the timer)
The Problem:
This works like a charm if I use the NFC tag every single time (i.e. never allow my screen to lock). If I don't use the tag even once, the tag doesn't get read, the variable doesn't change, my phone locks after the time expires.
If anyone can help me with this, that would be great!
Thanks in advance
I don't know if you've figured this out yet or not, but you might want to try having it check if NFC = 1, if it doesn't, re-enable the keyguard / pin and lock / unlock the screen so it shows up. This would make it so that if you used NFC, it would stay open, but if you didn't, you would still be able to unlock your phone with the pin.
You might have to throw a few ms of wait time in there somewhere for it to pick up on the setting changes before locking / unlocking or something.
Just an idea. I'll try it out later if I have time.
Only for devices processor Rockchip PX5, MCU - S32F0
Mod Pie 9.0 (10 fake android) Android PX5 S32F0 RK3368
Not suitable for those who have a real 10 android installed. Install the Device Info HW application in Google Market and look at the API level. 28 API - 9 android, 29 API - 10 android.
Please excuse me. I'm bad at spelling in english. I use the translator Google. I rarely answer questions in private messages and on the forum. Sorry.How to find out if your device is suitable for this forum thread? You can see of the device in Settings - About device :
There are 2 types of firmware for installation, with different installed MCU versions - the first type of firmware is more common with an installed MCU that starts with letters and numbers - S32F0_XinRC, S32F0_ZIQI, S32F0_LingYun, S32F0_Leima, S32F0_yunht and other compatible MCUs (you need to find out) and the second type of firmware for the installed MCU - S32F0_yuemao and others (you need to find out). To find out what version of the MCU you have installed, go to the Settings - About device application and look at the line with the MCU name.
LITE Firmware mod for the first type of installed MCU - S32F0_XinRC, S32F0_ZIQI, S32F0_LingYun, S32F0_Leima, S32F0_yunht and others
The instruction in the archive of the LITE version of the firmware was updated on March 28, 2022
What's added:
Full ROOT access (SuperSU)
Added PlanetsPack live wallpapers
ESFileExplorer, RootExplorer programs.
New application for system settings - Settings Mod.
Two modified launchers with the ability to configure them in Mod Settings - Mod Settings - Launcher Settings.
Added in Mod Settings - Mod Settings - Statusbar Settings
a) Make the Status Bar semi-transparent
b) Clock settings in the StatusBar
c) Gradient StatusBar.
Added in Mod Settings - General Settings - Developer options
Many other changes and additions.
Installation:
1. Unzip the archive Update_lite_Malay_Mod_S32F0_XinRC.rar
2. Write the files ZQ_PX5C_UPDATE_lite_Malay_Mod_S32F0_XinRC.zip and Mod_Installer.apk to a USB flash drive (preferably formatted in FAT32)
3. Insert the USB flash drive into the loaded system in the device.
4. Install the Mod_Installer.apk application from a USB flash drive using any file manager.
5. Launch the Mod Installer application.
6. Click on the "INSTALL MOD RECOVERY" button and wait for the end of the process.
7. The device will automatically reboot into Recovery and the firmware installation will begin.
8. After the end, you will be asked to remove the USB flash drive - pull it out and you will be taken to Recovery.
9. With the help of short-term finger presses on the screen, we go down to the item "Wipe data / factory reset"
10. Hold your finger on this item for a long time until we get to another menu. There we press "YES". All data will be deleted and reset to factory settings.
11. Click on the item "Reboot system now"
12. The device will reboot. This completes the installation.
13. The first download will take a long time!
If the sound does not work for you, then you need to go to Settings and specify your sound type - with or without DSP.
The instruction in the archive was updated on March 28, 2022
Download: https://disk.yandex.ru/d/_VHEwJvIPuZjKQ
Mirror: https://mega.nz/file/k04jgbTb#qRrhtDylG7gWu51UfKiN8jRDl7VK4L7llkLm82gG8zw
Not suitable for those who have a real 10 android installed. Install the Device Info HW application in Google Market and look at the API level. 28 API - 9 android, 29 API - 10 android.
LITE Firmware mod for the second type of installed MCU - S32F0_yuemao and others
The instruction in the archive of the LITE version of the firmware was updated on March 28, 2022
What's added:
Full ROOT access (SuperSU)
Added PlanetsPack live wallpapers
ESFileExplorer, RootExplorer programs.
New application for system settings - Settings Mod.
Two modified launchers with the ability to configure them in Mod Settings - Mod Settings - Launcher Settings.
Added in Mod Settings - Mod Settings - Statusbar Settings
a) Make the Status Bar semi-transparent
b) Clock settings in the StatusBar
c) Gradient StatusBar.
Added in Mod Settings - General Settings - Developer options
Many other changes and additions.
Installation:
1. Unzip the archive Update_lite_Malay_Mod_S32F0_yuemao.rar
2. Write the files ZQ_PX5C_UPDATE_lite_Malay_Mod_S32F0_yuemao.zip and Mod_Installer.apk to a USB flash drive (preferably formatted in FAT32)
3. Insert the USB flash drive into the loaded system in the device.
4. Install the Mod_Installer.apk application from a USB flash drive using any file manager.
5. Launch the Mod Installer application.
6. Click on the "INSTALL MOD RECOVERY" button and wait for the end of the process.
7. The device will automatically reboot into Recovery and the firmware installation will begin.
8. After the end, you will be asked to remove the USB flash drive - pull it out and you will be taken to Recovery.
9. With the help of short-term finger presses on the screen, we go down to the item "Wipe data / factory reset"
10. Hold your finger on this item for a long time until we get to another menu. There we press "YES". All data will be deleted and reset to factory settings.
11. Click on the item "Reboot system now"
12. The device will reboot. This completes the installation.
13. The first download will take a long time!
If the sound does not work for you, then you need to go to Settings and specify your sound type - with or without DSP.
The instruction in the archive was updated on March 28, 2022
Download: https://disk.yandex.ru/d/qaCFAY7qlxNsAQ
Mirror: https://mega.nz/file/9tJyWSKA#EdaMXvKH-CXgQXwt0eJbGrxGr83PE-t16SRMAaw4edo
Doesn't fit anyone with a real 10 android !!!
DSP Programs - https://forum.xda-developers.com/t/...0-rk3368-with-android-9.4194651/post-84182975
FULL Firmware Version Information:
Video :
What's added to the full version:
Root access (SuperSU)
Six completely modified launchers with the ability to view tags for music listening (any music app), bluetooth music and radio stations (not in all launchers).
The ability to customize Launchers (enable, disable unnecessary functions in the settings) and weather settings in them and display the speed via GPS.
4 types of screen savers with analog and digital clocks, with the ability to display GPS speed, weather, music listening tags (any music application),
Bluetooth music and radio stations from the Radio app. Full customization of screensavers - color, font, disable unnecessary functions, your car logo, etc. In the settings.
Change splash screen - hold your finger in the center of the screen for 3-5 seconds - the view will change. Other screensavers are in the OEM app.
Changed the volume bar and reduced its disappearance time. It is also fully configurable in Settings Mod - Mod settings - Sound settings.
Fully customizable panel status with the ability to enable and disable buttons and icons in it in the settings and it is possible to completely disable it.
Reload key added to the status bar.
Added buttons "Screensaver", "Music", "Navigation", "Bluetooth Music" in the status bar (can be enabled or disabled in the settings).
The screensaver runs in all programs, there is an Application Whitelist in Mod Settings where you can specify applications where the screensaver will not start.
Added a list of applications in the Settings Mod, where you can specify autostart after sleep.
Added equalizer ViperFX (if you have a device with DSP, then it does not work)
Changed Bluetooth Music app.
Music and Radio applications have been completely changed. You can install standard applications from the OEM application.
You can execute your scripts in the System /etc/Init.d folder
Added online radio PCRadio
Settings Mod - MOD Settings - System settings - added automatic screen brightness by GPS.
Added four customizable buttons to screensavers to launch your programs.
- Long press on the button - select the application.
- Short press on the button - start the application.
Added the ability to automatically adjust sound based on GPS speed.
Located in Settings Mod - MOD Settings - Sound settings - Auto volume control by GPS.
Added the ability to set pop-up messages about playing Music, Radio, Bluetooth music and PCRadio.
Located in Settings Mod - MOD Settings - System Settings - Popup Settings.
Fixed GPS work.
- Improved location accuracy.
- With a cold start - satellites are located in 40-70 seconds.
- With a hot start (after sleep or reboot) - instantly.
Anyone who had problems with USB ports or missing WiFi - fixed.
USB and WiFi initialization occurs after full system boot and after sleep.
New method and settings of the whitelist of programs to run after sleep (located in Settings Mod - Mod Settings - System Settings)
New whitelist for programs in which the screensaver will not start (located in Settings Mod - Mod Settings - Screensaver Settings)
You can now set the time for showing music and radio notifications in Settings Mod from 1 to 10 seconds.
You can change the DPI of the screen. Range from 260dpi to 160dpi (default standard 220). Located - Settings Mod - Mod Settings - System Settings.
More flexible graphic equalizer settings are in Settings Mod - Mod Settings - Sound Settings.
Settings Mod - Mod Settings - Car - added GPS fix (enabled by default).
Redesigned regular widgets for managing Music, Radio, Bluetooth music, etc.
Added 5 attempts to initialize WiFi every 20 seconds with checking network availability
Added forced inclusion of disabled WiFi SSIDs, the GU for some reason periodically sets the Disable status of the working SSID and does not automatically connect.
Added display of RDS Radio in the screensaver and in some launchers.
There are a lot of other additions and fixes.
Installation:
We must download the LITE version, read the instructions in the archive along with the firmware, install the LITE version and check its work on your device, if everything suits you and you want more functions and changes in the firmware, then we do everything that is written in the instructions for the LITE version ...
A mini update to version 1.1.1 has been released (2 mb) from 5 February 2021
Fixed the work of online applications such as Spotify.
In Settings Mod - Settings related to sound - added a settings item - List of applications that have problems with sound (you need to add your players there, in which the sound does not work correctly, disappears when rewinding, the next track or after sleep)
OTA (Internet) update to version 1.1.5 (FULL version) of May 15, 2021
(NEW) Android base from 08 March 2021
(NEW) Hardware buttons control alternative players without starting the radio
(NEW) New launcher with Day and Night support - Launcher 10 android with support for managing standard Radio, Music, Bluetooth applications
(NEW) Support Day and Night in Mod Settings, Settings, Factory Settings, Basic Settings.
(NEW) Added an application for voice calling contacts from the bluetooth application - MTCDialer (Voice Dialer) - launch Voice Dialer and for example say "<Contact Name>" from the bluetooth application.
(NEW) Support for voice call of contacts from Google Assistant (your contacts from your Google account must be synchronized) - for example, say "Call <Contact Name>"
(NEW) Added alternative True Contact dialer to sync and call your contacts from google account.
(NEW) Added new screensaver with clock and date only. Located in the OEM application - ScreenClock__black
(NEW) In Settings MOD - Settings Mod - System Settings - Autostart applications after sleep / reboot - Disable the regular autostart mechanism for Radio, Music, BT after sleep and boot.
(NEW) In settings MOD - Settings Mod - System settings - Auto screen brightness by GPS - Enable control of the system theme depending on the time of day. (must be enabled auto brightness screen by GPS)
(NEW) In settings MOD - Settings Mod - System settings - Auto screen brightness by GPS - Day and night mode - you can specify it yourself Automatically, Always night, always day (must be disabled - Enable system theme control depending on the time of day)
Very, very many other fixes and additions (the firmware has been redone by 80 percent)
Video:
Possible problems :
The serial number is replaced by: Unknown or 1234
Solution :
To get your serial number, try:
1. Connect to Wi-Fi (you can create a WiFi hotspot in your phone and connect to it).
2. Make bluetooth pairing to your phone.
The serial number is generated by the MAC addresses of the WiFi and bluetooth modules.
3. Reboot after that the device 1 or 2 times!
You can reboot in the Settings Mod and click on the circle icon in the upper right corner. The reboot menu will appear.
Check if the serial number appears.
The Bluetooth application says that there is no license.
Solution :
1. Connect the device to WiFi to the WiFi access point of your phone, check whether the Internet is working on the device, for example, launch a browser and see if the Internet is working there.
2. Reboot. You can reboot in the Settings Mod and click on the circle icon in the upper right corner. The reboot menu will appear.
3. After rebooting, connect to the internet. Go to the bluetooth application and try to press the buttons there or click on the inscription where it is written that there is no activation.
Sound does not work or shows I2C error on every reboot
Solution :
Your DSP is incorrectly configured in the factory settings.
Go to Settings Mod - Settings related to the car - Engineering menu (password 0000)
and set up the DSP there.
My settings (you may have other settings !!!)
1. DSP Settings - Audio IC Type - BU37033 Series
2. Application Settings - Ess DSP or ROHM DSP
The work on the full version of the firmware mod is completed, the first release of version 1.0 is made. Please read the information under the spoiler "FULL Firmware Version Information:"
I ask you to excuse me in advance if I don’t often answer in the topic, since I’m physically not enough for all the time and I ask you to understand me! And we will help other users if you know the answers to questions!
Thanks @Malaysk. As Beta tester I am testing your ROM since some weeks on my Erisin (Leima MCU) and everything is fine!
Awesome. I have one of these units and very eager to test. However, I have some questions I hope a user can anser:
1. I have no original software for backup. Is it available somewhere in case this doesn't work?
MCU: S32F0_XinRC-18-W_20200812-09:08_HD1_7708_D_FF_C8
APP: PX5C_C54_HA1_Xrc2-10-EN_2020-06-05-1726
2. If I take the power off of it, will it remember equalizer sound settings?
3. I always get a popup that my usb device want access. I can check a box to remember the setting, but after each boot it asks again... Is this solved?
4. Steering wheel controls programmable?
Thanks.
Hi Everyone
I've got the MCU down here, but i can't understand what Firmware i have to install, first or second?
Thanks!
Installed... thank you for the great work you have done. I have a problem with my canbus (ft-ss-05) now not available in the settings and those available lack the functions. Why are there no canbus models compared to the original Rom?
Jarninho said:
Awesome. I have one of these units and very eager to test. However, I have some questions I hope a user can anser:
1. I have no original software for backup. Is it available somewhere in case this doesn't work?
MCU: S32F0_XinRC-18-W_20200812-09:08_HD1_7708_D_FF_C8
APP: PX5C_C54_HA1_Xrc2-10-EN_2020-06-05-1726
2. If I take the power off of it, will it remember equalizer sound settings?
3. I always get a popup that my usb device want access. I can check a box to remember the setting, but after each boot it asks again... Is this solved?
4. Steering wheel controls programmable?
Thanks.
Click to expand...
Click to collapse
I try to answer to your questions.
1) You need a "backup" only of the Android Part. The MCU is untouched by this ROM. You need the reinstall the original SW. I don't know if this is straight away, after the Custom ROM installation. In any case, Here you will find several original firmware, search for the one for you unit:
https://yadi.sk/d/lBxQipoetfkMLw
You can find also a thread here: https://4pda.ru/forum/index.php?showtopic=973677&st=0
2) If you remove the fixed +B, typically all the settings should be lost. I am not sure about the equalizer.
3) This happened also to me before I had installed the Malaysk ROM. It is a bug of the original FW. With the Malaysk ROM this issue is gone.
4) Only resistive for the moment, as the original FW one.
Installed, works amazing, I have only a big issue: using spotify, when i play next manually with swc (resistive) the song changes, but i have no audio, i need to press pause then play to get audio again... If the songs changes automatically after reaching the end no issue...
No one tested the ROM with YUNHT MCU?
What happen if i flash it? don't want to brick the unit
royalhawk2002 said:
I try to answer to your questions.
1) You need a "backup" only of the Android Part. The MCU is untouched by this ROM. You need the reinstall the original SW. I don't know if this is straight away, after the Custom ROM installation. In any case, Here you will find several original firmware, search for the one for you unit:
Click to expand...
Click to collapse
Thanks for all your help (and getting this organised).
Unfortunately I don’t see any xinrc roms there. But I’m too curious not to try. The confirmation checkbox for usb has been bugging me a lot.
I’ll try soon and report. Fingers crossed!
Great work! My unit has a 800x480 display, will the custom ROM work just as well?
Does this rom works with the same radio PX5 MCU S32F0 RK3368 with Android 10?
ilciumbia said:
Great work! My unit has a 800x480 display, will the custom ROM work just as well?
Click to expand...
Click to collapse
I don't think that the display will be correct, it works well at a resolution of 1024X600
lucktechnician said:
Does this rom works with the same radio PX5 MCU S32F0 RK3368 with Android 10?
Click to expand...
Click to collapse
You have installed, I think a fake 10 android, in fact it's 9 android.
DarkJackal87 said:
No one tested the ROM with YUNHT MCU?
What happen if i flash it? don't want to brick the unit
Click to expand...
Click to collapse
Very many different MCUs from different manufacturers! We need to check.
Hi Malaysk,
Thanks for the reply! so i shall wait? It's my only head unit so i really don't want to risk to brick it
post out of topic
Which one will work for me?
Malaysk said:
I don't think that the display will be correct, it works well at a resolution of 1024X600
Click to expand...
Click to collapse
Rats! Is there a way to backup my current firmware so that if anything goes wrong I can go back?
did some testing today. Fcc launcher works. I miss the nice volume bar of the old roms. Where can I setup the delay for sleep mode? .Radio will not turn off.
uvs1313de said:
did some testing today. Fcc launcher works. I miss the nice volume bar of the old roms. Where can I setup the delay for sleep mode? .Radio will not turn off.
Click to expand...
Click to collapse
These radio works differently from MCU MTCD based one with regards to the sleep philosophy. The are going in stand by and they will completely switch off only when the car battery goes under 12 volt. This is done to have a fast boot
Inviato dal mio SM-N970F utilizzando Tapatalk
really a great job installed without problems everything much smoother and faster I was wondering if it was possible an automatic dark mode on the whole system as it happens on smartphones for all apps to solve the problem of reflections in the car the apps would be more visible thanks a lot of compliments
Hi,
"DEMO VERSION" is still displayed after installing the software How do I remove it?
AppSwitcher SWC (Steering Wheel Control) app launcher
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Stay focused on the street and don't touch the head units display to switch between apps.
Support the development of this free app via
ko-fi.com/appswitcher
Please note: This app is developed and tested only on Junsun V1 Pro with MTK825X AND MT8667 CPU. You can test on other devices and let me know if it works...
One user reported usage on Xtrons unit - so give it a try.
User Interface:
Your browser is not able to display this video.
Covered features:
- allow to select an app to start without the need to jump from app to app.
- one button press to switch between last used navigation app and last used media app.
- support usage of multiple navigation apps.
- works with pre-installed apps like Radio and apps added by the user.
- start the last used media app automatically.
- long button press to cancel (if dialog is shown) or to jump to home screen.
- reactivate accessibility service of Automate and start initial Automate Flow
- enable/disable DuraSpeed
- change system property to make Android status bar visible (work as on other Android devices)
- automatic screen dimming based on sunset / sunrise information
- allows to start the (Junsun) equalizer app
- Supports Mtk8257 and 8667 devices. Thank you @Jetblack31 for your testing engagement on 8667.
Feedback on the web
Unfortunately the author only picks up one specific aspect of the app.
Testers are welcome! I need YOUR help and your feedback. Don't be a stranger!
Please install both apps because 'AppSwitcher Starter' is just used to start the App Switcher Service. Find installation instruction in 3rd post.
FAQ
https://forum.xda-developers.com/t/...sun-and-similar-devices.4435555/post-86825555
version 2.7.5
Fixed bugs:
- AppSwitcher detected itself as current foreground app and suggests all apps including the one which is behind the AppSwitcher dialog
version 2.7.4
Whats new:
- new setting "Dialog\Equalizer" which allows to show a button to open the head units equalizer
- fixed dialog flickering. It's not required anymore to enable "Others\Disable navi start activity" to avoid flickering of the dialog
version 2.7.3
Whats new:
- sound on key press (can be disabled in "Dialog" settings section)
- added "Restore LTE connection" which helps to re-establish 4G connection after sleep. Only for MTK825X devices.
- "On button press log entry" and "Long button press log entry" can be emptied, no dummy entries are required. E.g. if users with can box only want to configure "Short button press log entry".
- several stability/reliability optimizations, better dialog performance (especially directly after reboot of MTK825X devices)
Fixed bugs:
- uninstalling a selected media/navigation app leads to crash of AppSwitcher
- the dialog may skip entries on subsequent keystrokes after SWC key gets pressed quickly several times
version 2.7
Whats new:
- new setting "Screen\Landscape overlay" which forces all apps to run in landscape orientation. This fixes the appearance issue of Spotify (and other apps like Tidal and Apcoa Flow) after disabling "Screen\Forced fullscreen system property".
- "Apps and activities\Set media apps/activities" offers all exported activities, now. This allows to start a specific screen of your app.
- optimized switch dialog performance and countdown sync.
- adjusted color of settings button
- optimized app starts (actively by user and after countdown)
- "Dialog\Grayscale app icons" is enabled by default (after fresh installation)
- run of media app gets skipped if SWC button gets pressed. Only relevant if "Autostart\Delay (seconds) before start of media app" is set.
- click on AppSwitcher status bar notification opens settings screen
- code cleansing and other code optimizations/simplifications
Fixed bugs:
- App crashes when settings are changed after service is stopped
- Dialog does not disappear when user clicks on settings button
- set delay of media activity freezes app start
version 2.6.25alpha
What's new:
- fixes bug: "Forced fullscreen system property" not applied. Only relevant for Mtk8257 devices
Please uninstall previous version before installing. Thank you for reporting this bug.
- new dialog setting "Grayscale app icons"
version 2.6.24alpha
What's new:
- supports sleep mode
https://forum.xda-developers.com/t/...-devices-incl-autostart.4435555/post-88168463
- enabled GPS provider if coarse location can't get retrieved
- added "always show launcher on 2nd position
- reorganized settings menu
- several bug fixes and improvements
- re-coded permission checks and self authorization
- implemented fix to avoid crash on older Android versions while retrieving location
- reworked screen dimming
- optimized log reader and derivation of current foreground app
version 2.6
What's new:
- added display dimming feature. Tap on title of dialog to show the button to switch between the modes: no dimming, always and automatic
- added option to start media app twice which can fix issues if media app stuck on launch
- several bug fixes and code improvements
Please note: If installation fails, uninstall AppSwitcher first and try again.
version 2.1
Whats new:
- allow to disable 'Smart list' and use a static list instead. Manual re-order by user possible.
- delay before last used media app gets started automatically
- minor bug fixes but massive code changes to realize the new features.
Please clear app storage or uninstall previous version to avoid force close if you currently use version <= 1.9. Sorry for that!
version 1.9
Whats new:
- added setting to disable forced fullscreen for non-stock apps. Please reboot the system after changing the setting
version 1.8
Whats new:
- last used navigation app was not offered as 1st navigation app in all circumstances
version 1.7
Whats new:
- added option to enable Automate Accessibility Service on service start
- added option to start Automate Flow on service start
- performance optimizations by moving tasks to background class
version 1.5
Whats new:
- added option to disable DuraSpeed (see FAQ)
- distance between app icons unified to give UI a cleaner look (see screenshot in 1st post)
- fixed screen flickering when manually scroll on / touching the UI
- some smaller code optimizations
version 1.4
Whats new:
- bug fix: touching the ui leaves last entry in the dark.
- bug fix: setting screen not updating after change of 'short button press log entry'
- performance optimization: evaluation of concrete log entry moved to background class.
version 1.3
Whats new:
- bug fix: current navigation app offered to select although it already runs in foreground.
- new clean b/w UI. Degree of graying adjustable via settings.
- shows clock which can be disabled via settings.
- considering "push down" of SWC button (setting 'on button press log entry') which allows to leave the dialog with long press although delay is set to a short time period.
- minor bug fixes and code optimizations
Please clear app storage or uninstall previous version to avoid force close. Sorry for that!
version 1.2
Whats new:
- bug fix: In rare cases the app closes while dialog is still present. After this the app doesn't come up again.
version 1.1 alpha
Whats new:
- cleaner settings menu
- swipe on dialog or tap outside of app icons to show button for settings
- performance improvements
Please clear app storage or uninstall previous version to avoid force close. Sorry for that!
Installation/configuration on Junsun V1 pro:
I know real men don't need to read manuals but have a look before asking stupid questions. ;-)
- Install both! apps ('AppSwitcher' and 'AppSwitcher Starter')
- Enable automatic start of navigation app in factory settings and let your device reboot
- Open app 'AppSwitcher' and select your navigation and multimedia apps'
- Set 'AppSwitcher Starter' as navigation app:
- Configure one button of steering wheel to start navigation app (if not already done)
- Optional, if you're using not the stock launcher: Add 'AppSwitcher Starter' to autorun. This will start AppSwitcher even if the head unit misses to start the navigation app after sleep. This step is optional and shouldn't be required.
--> Basic configuration completed
Further settings
Run media app on service start:
Last used media app will be started as soon as 'AppSwitcher Service' gets started. Exception: Another media app or navigation app is already in foreground.
FAQ
Post in thread 'AppSwitcher - smart SWC launcher (for Junsun and similar devices)' https://forum.xda-developers.com/t/...sun-and-similar-devices.4435555/post-86825555
Is it for 8227L chipset mtk devices ?
Anton TNT said:
Is it for 8227L chipset mtk devices ?
Click to expand...
Click to collapse
It is not tied to a specific chipset. The app reads the device log to identify if the steering wheel button was pushed.
So you could check that with a device log reader app like Logcat.
On Junsun devices you can find a entry with TAG 'MainUI' and message 'nDealPkey = = xxx' for each button press in the log.
I'm asking that because Junsun has similar boards like mine ALPS device with AC8227L chipset.
Added video of alpha app version to first post.
Added APKs (1st post) and installation/configuration instruction (3rd post) .
New version 1.1 alpha available. Please download from 1st post. Major changes are listed in 2nd post.
Please excuse my scepticism.
How can we make sure that your application is safe?
1. The application is not on Google Play.
2. The code is not open source.
3. You have no link to a repository.
Other than that, great idea keep up the good work.
A functionality for trying to connect to the latest wifi hotspot, or to try all previous used networks?
Pylotis said:
Please excuse my scepticism.
How can we make sure that your application is safe?
1. The application is not on Google Play.
2. The code is not open source.
3. You have no link to a repository.
Other than that, great idea keep up the good work.
A functionality for trying to connect to the latest wifi hotspot, or to try all previous used networks?
Click to expand...
Click to collapse
Thank you for your feedback. You're right but I just started with Android app development recently. Github will come, PlayStore maybe never. In meantime feel free to use an (online) decompiler as you would have to do for a lot of apps provided here on Xda. On the other side be sure the Chinese pre-installed enought risky stuff on the head units.
I thought about the possibility to trigger system scan for wifi networks to get the internet connection faster.
FAQ
Why is the starter a separate apk?
Junsun head units check if the navigation app package is already in foreground. If that's the case home screen gets displayed. If we set 'AppSwitcher' as navigation app it would not stay in foreground. Here the relevant coding of MainUI:
What does the different log listener log entries mean?
AppSwitcher is listening to different log messages of the Android system log. We need not the enter the whole message, a substring is sufficient. But we need to consider spaces.
- Short button press log entry
The most important log entry. If this gets recognized the AppSwitcher dialog gets opened or the next app to start gets highlighted.
On some head units we can use the message which gets written after we release the SWC key after a short period of time.
- On button press log entry
This message will only stop the countdown and AppSwitcher is waiting for the next configured log entry.
Usually we configure a log message which gets written as soon as we push down the SWC key.
- Long button press log entry
AppSwitcher will return to home screen or close (cancel) the dialog.
If possible we configure a message which gets written when we release the SWC key after a long period of time.
What is DuraSpeed?
DuraSpeed is a proprietary tool from MediaTek restricting and closing(!) background apps and services to free memory and so to make it available for starting apps.
AppSwitcher can set the properties to turn DuraSpeed off in case you're struggling with closed services / apps and want to give back control to Android.
AppSwitcher dialog isn't shown
On some head units you have to provide permissions manually. According to my experience on a Junsun V1 pro (with MTK8259/MTK8257 CPU) the authorizations granted automatically.
1. Ensure that the AppSwitcher service is running. We should see the AppSwitcher icon on top of the status bar and a notification in the status bar.
2. Check if AppSwitcher has permission to appear on top of other apps. You can provide the authorization in "application settings".
3. On some head units AppSwitcher doesn't get authorization to read the Android log. In this case you have to grant authorization via ADB:
Code:
adb shell pm grant com.thf.AppSwitcher android.permission.READ_LOGS
How display dimming works
Screen dimming is realized by "painting" a semi-transparent overlay on top of the screen because we don't have the possibility to access display brightness on system level.
Some apps don't like to get overlayed and so Google PlayStore shows a warning message. AppSwitcher is pausing the overlay if Google PlayStore is the app in foreground.
If you're using an app which doesn't work well whiles it's overlayed, let me know.
What is Automate?
Automate is a powerful alternative to Tasker...
Automate for Android ⋅ LlamaLab
Create flowcharts that make your Android smartphone or tablet perform tasks automatically.
llamalab.com
...which allows to execute tasks, start apps, change settings, change connectivity (wifi, hotspot, Bluetooth,...) and much more.
Unfortunately our head units are killing the Automate service during sleep and not enabling it after reboot.
AppSwitcher can re-enable the Automate service and trigger an Automate flow.
thanks for sharing. for me it is very useful
ramig said:
thanks for sharing. for me it is very useful
Click to expand...
Click to collapse
Thank you for your great feedback.
Added version 1.2
Added version 1.3
Added version 1.4.
Only minor changes but the UI bug was too painful for my eyes. (-:
Hi Thorsten,
thanks for this app.
This is exactly what I was looking for. A brilliant and creative idea to use the navi app as a trigger
Opteronix said:
Hi Thorsten,
thanks for this app.
This is exactly what I was looking for. A brilliant and creative idea to use the navi app as a trigger
Click to expand...
Click to collapse
Thank you very much! After ~90 downloads I'm really happy to read such a great feedback.
Wish you good and safe rides with the app.
Hi Thorsten, I found your app through your reply in other thread regarding fyt. I test it on teyes cc3, it works as you describe. I assign the 3rd party dvr app to steering switch long press. However I wonder if next version could be expanded to not only replace navi app/button but other button/function as well, or when assigned button press it will cycle to different apps. And one more thing I’m pretty sure I downloaded the latest version of your app but the app info still showing version 1.3 instead version 1.4. Thank you for the app.