Related
Programs Used in JMLToday <= 5.92
Post#2 : Programs Informations
JMLPicture.exe See Post#3
Build a picture from multiple images/texts
JMLMenu.exe
Displays a context popup menu.
JMLComm.exe
Phone on/flight-mode, Wifi on/off, BT on/off/discoverable, Data on/off
JMLCalendar.exe
Saves the next appointments in registry
JMLSms.exe
Saves SMS in registry
JMLContacts.exe
Saves the next birthdays/anniversaries AND Favorites contacts in registry
JMLMeteo.exe
Saves the MSN or ACCU or GOOGLE weather informations in registry
JMLTasks.exe
Saves the next tasks in registry
Programs Informations
JMLMenu v1.80
The menu is configurable via a .mnu file :
- The main menu is [Menu]
- One element per line of menu : label= program;parameters
- One section per submenu : use [] -> label=[mysubmenu]
- External submenu (.mnu file) : use {} -> label={filesubmenu.mnu}
- Separator : sepX=SEPARATOR (X=unique number)
Parameters :
Code:
[b][color=red]-execute[/color][/b] if menu as once choice, it execute it immediately (menu not show)
[b]-x:[/b]X = X coordinate (X clic per default)
[b]-y:[/b]Y = Y coordinate (Y clic per default)
[b]-timeout:[/b]N = timeout in seconds to hide menu (10s per default)
Example : JMLAction.mnu
Code:
[Menu]
Restart Titanium=%JMLTODAY%\JMLToday.exe;-refresh
Update=%JMLTODAY%\JMLToday.exe;-update
Weather=%JMLTODAY%\JMLMeteo.exe;-jmltoday
Configuration=[color=blue][b][Config][/b][/color]
Parameters=[color=blue][b]{JMLParameters.mnu}[/b][/color]
[color=blue][b][Config][/b][/color]
Clock=%WINDOWS%\ctlpnl.exe;cplmain.cpl,16,0
Skin=%JMLTODAY%\JMLTodaySkins.mscr
City=%JMLTODAY%\JMLTodayVille.mscr
Language=%JMLTODAY%\JMLLang.mscr
To Launch :
- in a .pnx file : %JMLTODAY%\JMLMenu.exe;JMLAction.mnu
- in a .mscr script : Run(instPath&"\JMLMenu.exe","JMLAction.mnu")
---------------------------------------------------------------------------------
JMLComm v1.98
Parameters :
Code:
[color=red]-vibrate:duration[/color] = make a vibration (duration=25ms per default)
[color=red]-volume[/color] = toggle vibrate/mute/normal mode[color=red]
-volume:mode[/color] = volume mode : [b]vibrate,mute, normal[/b]
[color=red]-volume:level[/color] = volume level : [b]silent,verylow,low,medium,high,loud[/b]
[color=red]-backlight[/color] = toggle auto/manual mode
[color=red]-backlight:mode[/color] = backlight mode : [b]auto,manual[/b]
[color=red]-backlight:level[/color] = backlight level : [b]mini,low,medium,high,maxi[/b]
[color=red]-gps:timeout[/color] = store latitude/longitude in HKCU\\Software\\JML\\Comm (timeout=60s per defaut)
[color=red]-status[/color] = store some informations in HKCU\\Software\\JML\\Comm
-data = toggle on/off data-connection
-data:on = switch ON data-connection
-data:off = switch OFF data-connection
-phone = toggle on/off phone
-phone:on = switch ON phone
-phone:off = switch OFF phone
-flight = toggle on/off flight-mode
-flight:on = switch OFF phone, wifi, bluetooth
-flight:off = switch ON phone
-bt = toggle 3 states bluetooth
-bt:on = switch ON bluetooth
-bt:discoverable = switch ON with discoverable mode bluetooth
-bt:off = switch OFF bluetooth
-bt2 = toggle on/off bluetooth
-bt2:on = switch ON bluetooth
-bt2:off = switch OFF bluetooth
-wifi = toggle on/off wifi
-wifi:on = switch ON wifi
-wifi:off = switch OFF wifi
Example : turn OFF bluetooth
Code:
instPath = SystemPath( "ScriptPath" )
RunWait(instPath&"\JMLComm.exe", "-bt:off")
exit
---------------------------------------------------------------------------------
JMLCalendar v2.45
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[color=green][b]Calendar[/b][/color]]
"total" = dword: number of appointments found
[HKEY_CURRENT_USER Software\JML\[b]Calendar[/b]\Cal[color=orange][b]N[/b][/color]]
"oid" = oid item in poom database
"allday" = 0=FALSE, 1=TRUE
"categories" = list of categories
...
"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key = registry key to store ("[color=green][b]Calendar[/b][/color]" per default)
Parameters for appointment :
Code:
-dateview:[color=orange][b]N[/b][/color] = open poutlook.exe to view the appointment number N
-deleteall:end = delete all [b]ended[/b] appointments (except reccurring appointments)
-deleteoid:oid = delete an appointment identified by his oid
-notifyoid:oid = show an appointment identified by his oid
---------------------------------------------------------------------------------
JMLSms v1.80
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Sms[/b]]
"total" = dword: number of SMS found
[HKEY_CURRENT_USER Software\JML\[b]Sms[/b]\Sms[color=orange][b]N[/b][/color]]
"oid" = oid item in SMS in database
"unread" = 1 if unread SMS, 0 otherwise
...
"subject"= subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-read:all = last all type SMS (last unread per default)
-reg:key = registry key to store ("[color=green]Sms[/color]" per default)
Parameters for sms :
Code:
[color=red]-phone:phone-number[/color] = Call a phone number
-reply:[color=orange][b]N[/b][/color] = Send a response SMS
-reply:[color=orange][b]N[/b][/color] = [color=red]-text:"my text"[/color] = Send a pre-defined text response SMS
-mark:[color=orange][b]N[/b][/color] = Mark as read the SMS
-mark:all = Mark as read all SMS
-markid:oid = Mark as read the SMS identified by his oid
-delete:[color=orange][b]N[/b][/color] = Delete the SMS
-delete:all = Delete all SMS
-delete:unread = Delete all Unread SMS
-deleteid:oid = Delete the SMS identified by his oid
-call:[color=orange][b]N[/b][/color] = Call in response to SMS (in order if exist : sender, mobilePhone, homePhone)
-notify:[color=orange][b]N[/b][/color] = show the SMS
-notifyid:oid = show the SMS identified by his oid
-sms:phone-number = Send a response SMS
-sms:phone-number = [color=red]-text:"my text"[/color] = Send a pre-defined text response SMS
---------------------------------------------------------------------------------
JMLContacts v1.95
Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Contacts[/b]\Anniversaries]
"total" = dword: number of contacts found
[HKEY_CURRENT_USER Software\JML\[b]Contacts[/b]\Anniversary[color=orange][b]N[/b][/color]]
"oid" = oid of Contact in database
...
[b][/b]
"picture"= full path of picture file name (in \My Documents\My Pictures...)
Idem for Favorites : in [HKEY_CURRENT_USER\Software\JML\Contacts\Favorites]
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (30 per default)
-reg:key = registry key to store ("[color=green][b]Contacts[/b][/color]" per default)
-anniversaries = search in 'Anniversary' field of contact
-birthdays = search in 'Birthday' field of contact
-anniversaries -birthdays are per default
Parameters for contact :
Code:
[color=red]-call:N[/color] = Call a contact
[color=red]-email:address -account:account[/color] = Send a email from an account-name (Outlook per default)
[color=red]-addfavorite:N[/color] = Add a new favorite contact
[color=red]-removefavorite:N[/color] = Remove a favorite contact
[color=red]-callfavorite:N[/color] = Call a favorite contact
-phone:phone-number = Call phone number
-sms:phone-number = Send SMS to phone number
-smsoid:oid = Send SMS to phone number to contact identified by his oid
---------------------------------------------------------------------------------
JMLMeteo v2.55
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Meteo]
"total" = dword: number of days found
...
[HKEY_CURRENT_USER Software\JML\Meteo\Current]
...
[HKEY_CURRENT_USER Software\JML\Meteo\DayN]
...
Parameters :
Code:
[color=red]-gps[/color] : acquire gps location (as JMLComm.exe)
-msn:code = city code (ex. : [b]FRXX0016[/b])
-lang:ll-ll = language (en-en per default)
-degree:C = C or F (C per default)
-map:m = number of map to download
-accu:code = city code (ex. : [b]EUR|FR|FR002|BORDEAUX[/b])
-metric: = 1 or 0 (1 per default)
-google:code = city code (ex. : [b]Bordeaux[/b])
-lang:ll = language (en per default)
-degree:C = C or F (C per default)
GPS location with built-in jmlPosition:
Code:
-gps
-accu:[b]jmlPosition[/b]
-metric: = 1 or 0 (1 per default)
OR Acquire GPS-location with JMLComm.exe and next call JMLMeteo with :
Code:
-accu:[b]jmlPosition[/b]
-metric: = 1 or 0 (1 per default)
GPS location with Sleuth's myLocation Service :
- first, install http://forum.xda-developers.com/showthread.php?t=607102
- use it to update Latitude/Longitude coordinates
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:[b]myLocation[/b]
-metric: = 1 or 0 (1 per default)
GPS location with Google Latitude:
- first, copy your googleLatitude account in google.ID file.
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:[b]googleLatitude[/b]
-metric: = 1 or 0 (1 per default)
---------------------------------------------------------------------------------
JMLTasks v1.40
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[color=green][b]Tasks[/b][/color]]
"total" = dword: number of tasks found
[HKEY_CURRENT_USER Software\JML\[b]Tasks[/b]\Task[color=orange][b]N[/b][/color]]
"oid" = oid item in poom database
"categories" = list of categories
...
"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key = registry key to store ("[color=green][b]Tasks[/b]][/color]" per default)
-withCompleted = show all tasks
-sort:due = sort by due tasks
-sort:start = sort by date (per default)
manila = store all tasks in HKEY_LOCAL_MACHINE\Software\HTC\\Manila
Parameters for task :
Code:
-view:[color=orange][b]N[/b][/color] = open poutlook.exe to view the task number N
-delete:[color=orange][b]N[/b][/color] = delete the task number N
-complete:[color=orange][b]N[/b][/color] = complete the task number N
-deleteall:due = delete all [b]due[/b] tasks
-deleteall:completed = delete all [b]completed[/b] tasks
-deleteoid:oid = delete the task identified by his oid
-completeoid:oid = complete the task identified by his oid
---------------------------------------------------------------------------------
JMLFavorites v1.00 (SOON)
Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Favorites[/b]]
[HKEY_CURRENT_USER Software\JML\[b]Favorites[/b]\Favorite[color=orange][b]N[/b][/color]]
"type" = type of favorite : '[color=orange]contact[/color]' or '[color=orange]program[/color]'
"picture"= full path of picture file name
"label"= fistname for contact, filename for program
...
Parameters for favorite :
Code:
-call:N = CALL a contact or RUN a program
-add:N = Add a new favorite (contact per default)
-type:contact = with -add parameter, add a '[color=orange]contact[/color]'
-type:program = with -add parameter, add a '[color=orange]program[/color]'
-remove:N = Remove a favorite
---------------------------------------------------------------------------------
JMLPicture Thank you for offering me a beer. All donations (3€, 5$, +) are appreciated !
Build a picture from multiple images/texts (see picture below).
<Picture...> Parameters :
Code:
[b]Width[/b] result picture with
[b]Height[/b] result picture height
[b]Bkg[/b] initial background color (RGB format)
[b]Transparent[/b] set one color of result picture as transparent (RGB format)
[b]Target[/b] png file name of result picture
[b]Source[/b] png file name of background picture
<Image...> Parameters :
Code:
[b]Left[/b] left-coordinate
[b]Top[/b] top-coordinate
[b]Width[/b] with of displaying picture (with of picture per default)
[b]Height[/b] height of displaying picture (heigh of picture per default)
[b]ScaleStyle[/b]
[b]Alignment[/b]
[b]ID[/b] JMLToday ID ITEM (Page is required)
[b]Page[/b] JMLToday Page ITEM (ID is required)
<Text...> Parameters :
Code:
[b]Left[/b] left-coordinate
[b]Top[/b] top-coordinate
[b]Width[/b] with of displaying text
[b]Height[/b] height of displaying text
[b]Value[/b] text value
[b]FontFamily[/b] font name
[b]FontSize[/b] font size
[b]FontStyle[/b] font style : 'italic', 'bold'
[b]Color[/b] text color (RGB format)
[b]Alignment[/b] 'center', 'right' or 'left' (per default)
[b]ID[/b] JMLToday ID ITEM (Page is required)
[b]Page[/b] JMLToday Page ITEM (ID is required)
Example : ClockText.xml
Code:
<Picture Width="400" Height="200" Bkg="192,192,192" Target="%APPDIR%/ClockText.png">
<Image Left="0" Top="0" ID="BGAMPMALARM" Page="Page1" />
<Image Left="20" Top="40" ID="H1" Page="Page1" />
<Image Left="100" Top="40" ID="H2" Page="Page1" />
<Image Left="225" Top="40" ID="M1" Page="Page1" />
<Image Left="305" Top="40" ID="M2" Page="Page1" />
<Text Left="15" Top="140" Value="AM" Color="128,0,0" FontFamily="Tahoma" FontSize="8" FontStyle="Bold,Italic" />
<Text Left="15" Top="160" ID="City" Page="Page1" FontFamily="Tahoma" FontSize="6" FontStyle="Italic" />
</Picture>
@all : add some program informations ..... in Post#2
A++
Hi.
I sure do love command-line tools! I added them to the Mortscript Source Compendium's list.
And to facilitate my testing them to see if magically they will work with wm5 smartphones, I added a Command-Line tester to The Mortifier. So we can browse to the exe and enter our command line parameters. Keeps the old exe and parameters in memory so you can re-test them easily.
Thanks for these.
Hi.
So i was using Message2reg.exe. It seems with wm653 m2reg gives an error.
I am trying to use jmlsms.exe to see if that can work.
Code:
RunWait(SystemPath("ScriptPath") \ "\Utility\JMLSms.exe","-read:all")
MsgSender = RegRead(HKCU, "\Software\JML\Sms\Sms1", "sender")
MsgBody = RegRead( HKCU,"\Software\JML\Sms\Sms1", "subject")
Think that looks good?
@howdykeith : Yes I think it should work.
StatusTicker and JML...
Hi,
So i incorporated JMLsms.exe and JMLcomm.exe into the StatusTicker.
Works super great!
In future version I will include more of you apps infos... I also will make sure to include the URL to your apps as well.
Thanks much!
Hello,
I'm trying to use JMLContacts.exe to have birthdays on my WAD2 Skin.
I've installed JMLToday and everything worked fine and registry was filled by next 5 birthdays information.
Now I'm trying to update information outside of Titanium/JMLToday and to do it I'm using a mortscript.
Inside script I wrote the following line:
RunWait("\Storage Card\Program Files\UtilsExe\JML\JMLContacts.exe", "-max:3")
Unfortunately it seems not working, at least registry values are not updated. I double checked path and it appears absolutely correct.
More I tried to simply launching JMLContacts.exe directly from TCMD, and I expected it worked with all default values, but of course it didn't... Is my supposition a wrong one?
Meanwhile, thanks a lot to let available for us those little but great tools
@dagosjt :
you must use also -days (0 per default), -birthdays (and /or -anniversaries) parameters
example :
-max:3 -days:365 -birthdays
Ok ? thanks for feedback.
A++
PS : i think i 'll change the default parameters values in a next version...
JMHL said:
@dagosjt :
you must use also -days (0 per default), -birthdays (and /or -anniversaries) parameters
example :
-max:3 -days:365 -birthdays
Ok ? thanks for feedback.
A++
PS : i think i 'll change the default parameters values in a next version...
Click to expand...
Click to collapse
Yes!
Works perfect now I thought days:0 meaning was "all days", sometime it happens in software
HI JMHL
I want to know if JMLMeteo can search for a location based on latitude and longitude
@saeli : not for the moment. Next feature perhaps if more people are interested and if it's easy to hard-coded.
A++
@jmhl: perhaps ypu can use this for location awareness:
forum.xda-developers.com/showthread.php?t=607102
then it could work
Salut
Micha
@Micha : thanks, i look ....
@saeli : ok, weather location based on latitude and longitude certainly in next version.
@micha : thanks for the tips.
A++
JMHL,
Still no HD2 ?
@Zepiii : no. waiting more operator points to change....
A++
@saeli & @all : location based on latitude and longitude in next version of JMLMeteo (in next JMLToday v5.80).
2 ways :
- Sleuth's myLocation Service
- google Latitude
A++
JMHL said:
@saeli & @all : location based on latitude and longitude in next version of JMLMeteo (in next JMLToday v5.80).
2 ways :
- Sleuth's myLocation Service
- google Latitude
A++
Click to expand...
Click to collapse
this is a wery fantastic news
when you think to release new version ?
Hello,
First, thanks to great developers ans support guys here.
I installed Android 2.3.3 / SuperNova 2.4.0.1 / iData2SD Renaissance Edition X6E Droidzone.
I've setup Data2SD and I have around 4GB spare internal memory, but when I try to create
a new SMS or read an existing one, I get the error "Unable to manage your messages because
your storage is full. Please delete content from other applications to make more space"
Is there anything I can do to fix this?
( I saw same Question in the forum ... but the other guy didn't post his log), so no answer.
I ran Get logs and get : ( I tried to put only "relevant" log based on the phone number +336******* that I hided).
I/ActivityManager( 3380): Displayed com.android.mms/.ui.ConversationList: +200ms
I/QuickContactBadge(31596): assignContactFromPhone: +336*******
I/QuickContactBadge(31596): assignContactFromEmail: null
D/EAS_AppSvc(12793): 06021143 INTENT_PAUSE_SYNC:com.android.mms.ui.ConversationList
D/EAS_AppSvc(12793): 06021143 setPause(com.android.mms.ui.ConversationList)
D/EAS_AppSvc(12793): 06021143 SyncThreadManager.pause()
D/BaseSyncSource(12793): 06021143 setPause(true,1)
D/BaseSyncSource(12793): 06021143 setPause(true,2)
D/BaseSyncSource(12793): 06021143 setPause(true,3)
W/dalvikvm( 3529): disableGcForExternalAlloc: false
D/MessagingShortcut(31596): updateMsgShortcut, msg count> 0
D/MessagingShortcut(31596): mPresentUnreadCount: 0
D/MessagingShortcut(31596): setMsgShortcutDrawable> 0
D/StatusBarPolicy(31477): onSignalStrengthsChanged
D/StatusBarService(31477): updateIcon slot=phone_signal index=20 viewIndex=13 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200cc level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200cc level=0 visible=true num=0 )
V/ConversationList(31596): onListItemClick: position=1, id=1
V/ConversationList(31596): getAddress: threadId=1, address=+336*******
D/SpaceBufferUtil(31596): The msgSizeLimit is: 307200
I/AlertDialog(31596): [onCreate] auto launch SIP.
D/ConversationList(31596): onWindowFocusChanged> false
I/htcfs-main(13320): main()
I/htcfs-main(13320): ############# HTC FS - START ##################
I/htcfs-main(13320): ############# HTC FS - END 1 ##################
I/wpa_supplicant(31700): Reset vh_switch_counter due to receive LINKSPEED cmd
D/ConnectivityService( 3380): getMobileDataEnabled returning false
D/MessageUtils(31596): click negbutton to cancel
Thanks for your help.
Laurent.
Hi,
I have the same problem... Could it be because of a wrong installation of Data2SD?
Thanks in advance and congratulations for your work... you're great!! :laugh:
Solved!
Hey, I solved my problem reading this post
{ http : // droid-force.com/showthread.php?tid=146 }
You get this error message because the ext4 partition is too big.
The solution is simple: with gParted reduce your ext4 partition to 2 GB (2048 MB), expanding the fat32 partition to fill the non-allocated space.
Remember to leave no space before and after partitions.
Thanks DroidZone again for the great work. Now I have a new phone! :highfive::highfive:
Here's how to use logcat..There are two main ways to do a logcat, within android, and through adb. Logcat within android can be done one of two ways, through a Logcat app..Here are two good examples are either aLogcat or CatLog I prefer catlog, because in my opinion it has a little bit nicer UI. Both of these programs can dump their logs to a txt file, which is very useful for debugging. Or, you can do it in terminal emulator (same rules as running through adb.
On the other hand, using adb to run logcat, in my opinion is much more useful, because you can start using it when android boots (i.e. once the boot animation appears.)
The code for logcat to output to a file is
Code:
adb logcat > name of problem.txt
you can also do
Code:
adb logcat -f name of problem.txt
how I prefer to do it is this way:
Code:
adb logcat -v long > name of problem.txt
with the -v flag & the long argument, it changes output to long style, which means every line of logcat will be on its own line (makes it a little neater, imo)
Note: When outputting to a file, you will see a newline, but nothing printed, this is normal. To stop logcat from writting to a file, you need to press ctrl+c.
Here's where using logcat (via adb makes life really easy)
Lets say you find a problem you're having after looking at a logcat.
For example:
When I was trying to use a different ramdisk, wifi wouldn't work so I got a logcat that's almost 1300 lines long (a lot of stuff happens in the background)
So if you are searching for an error in the logcat file (it's always e/ for error, f/ for fatal. Those are the two main things that will break a system.)
Code:
D/dalvikvm( 871): GC_CONCURRENT freed 472K, 6% free 10224K/10823K, paused 1ms+6ms
V/AmazonAppstore.DiskInspectorServiceImpl( 871): Available blocks: 21981, Block size: 4096, Free: 90034176, Threshold: 5242880, withinThreshold? true
D/AmazonAppstore.UpdateService( 871): Received action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
W/AmazonAppstore.UpdateService( 871): Confused about why I'm running with this intent action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/dalvikvm( 890): GC_CONCURRENT freed 175K, 4% free 9375K/9671K, paused 2ms+3ms
V/AmazonAppstore.ReferenceCounter( 871): Reference (MASLoggerDB) count has gone to 0. Closing referenced object.
E/WifiStateMachine( 203): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
V/AmazonAppstore.UpdateService( 871): runUpdateCommand doInBackground started.
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateCommand( 871): Not updating key: digitalLocker from: 1334228488057
V/AmazonAppstore.UpdateService( 871): Finished UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: serviceConfig
V/AmazonAppstore.MASLoggerDB( 871): performLogMetric: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
V/AmazonAppstore.MASLoggerDB( 871): onBackgroundTaskSucceeded: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
W/CommandListener( 118): Failed to retrieve HW addr for eth0 (No such device)
D/CommandListener( 118): Setting iface cfg
D/NetworkManagementService( 203): rsp
D/NetworkManagementService( 203): flags
E/WifiStateMachine( 203): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg eth0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
W/PackageParser( 203): Unknown element under : supports-screen at /mnt/asec/com.android.aldiko-1/pkg.apk Binary XML file line #16
D/wpa_supplicant( 930): wpa_supplicant v0.8.x
D/wpa_supplicant( 930): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 930): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 930): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): ctrl_interface='eth0'
D/wpa_supplicant( 930): update_config=1
D/wpa_supplicant( 930): Line: 4 - start of a new network block
D/wpa_supplicant( 930): key_mgmt: 0x4
(mind you, that's 29 lines out of 1300ish, just for example)
I then could do the following with logcat:
Code:
adb logcat WifiStateMachine:E *:S -v long > name of problem.txt
and this will only print out any errors associated with WifiStateMachine, and anything which is fatal, which makes it about a million times easier to figure out what's going on!
In WifiStateMachine:E, the :E = to look for Errors, the full list of options is as follows:
V — Verbose (lowest priority)
D — Debug
I — Info (default priority)
W — Warning
E — Error
F — Fatal
S — Silent (highest priority, on which nothing is ever printed)
You can replace the :E with any other letter from above to get more info.
In order to filter out anything other than what you are looking for (in this case, WifiStateMachine) you must put a *:S after your last command (i.e. WifiStateMachine:E ThemeChoose:V ... ... AndroidRuntime:E *:S)
Sources: http://developer.android.com/tools/help/logcat.html
http://developer.android.com/tools/help/adb.html
Please do NOTE: : I am just sharing. Original post is Here.
Don't be a noob. Be a newbie..!!
Details here.
Great guide! I am glad that I can help you by logcat. Thanks.
Sent from my E10i using xda app-developers app
How long take the. Logcat?
Sent from my E10i using xda premium
ruben21 said:
How long take the. Logcat?
Sent from my E10i using xda premium
Click to expand...
Click to collapse
Whatever you want.
Sent from my E10i using xda app-developers app
Well and how I finish the logcat because I leave them all the night and still run
Sent from my E10i using xda premium
ruben21 said:
Well and how I finish the logcat because I leave them all the night and still run
Sent from my E10i using xda premium
Click to expand...
Click to collapse
Just press CTRL + C
Thanks bro.
☜ Sent from my X10 MP U20i ☞
Hi,
Internation Pardus v15 image on rooted i9300, works very well except for this really odd USB connection error when connecting it to my Sony BT3900u car stereo, it was previously connecting without issue on the v15 Pardus build but for unknown reasons to myself now always presents an error.
Does anyone have any ideas as to what might be causing this issue? Any help would be greatly appreciated.
After getting this issue the first time, I ran through a full rebuild, wiped phone/cache/dalvick and error still persisted post rebuild.
Model:
GT-i9300
Android Version:
4.2.2
Baseband
I9300XXEMA5
Kernel version:
3.0.31-702147
Build Number:
Pardus HD Rom XV XXUDME7
Logcat:
E/MTPRx ( 8982): Read Error Came false
E/ ( 8982): read error [0] [Success]
E/MTPRx ( 8982): state from USB_STATE eventDISCONNECTED
E/MTPRx ( 8982): /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt: open failed: ENOENT (No such file or directory)
E/MTPRx ( 8982): stop observing and calling usbRemoved
E/MTPRx ( 8982): In usbRemoved Status bar enabled
E/MTPRx ( 8982): Sending Broadcast
E/MtpService( 8982): onDestroy.
E/MtpService( 8982): Unregister Mtp disable Receiver
E/MtpService( 8982): Receiver not registered: [email protected]
E/MtpService( 8982): unregistering mtpMediaReceiver in UnregisterAllIntent
E/MtpService( 8982): Receiver not registered: [email protected]
E/MTPJNIInterface( 8982): noti = 3
E/ ( 8982): ****** [mtp_usb_mtp_finalize] mtp_close_fd Calling
E/ ( 8982): [mtp_close_fd] fd = 50...
E/ ( 8982): [mtp_close_fd] USB endpoint [50] closed...
E/ ( 8982): ****** [mtp_usb_mtp_finalize] Updating the gInitializeFlag Flag to FALSE
E/ ( 8982): ****** [mtp_usb_mtp_finalize] Calling mtp_stop_io
E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input1/enabled: No such file or directory
E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input8/enabled: No such file or directory
E/videowall-TranscodeReceiver(10572): broadcastMSG : android.intent.action.ACTION_POWER_DISCONNECTED
E/MTPRx (10600): In MtpReceiverandroid.hardware.usb.action.USB_STATE
E/MTPRx (10600): check value of boot_completed is1
E/MTPRx (10600): check booting is completed_sys.boot_completed
E/MTPRx (10600): Sd-Card path/storage/extSdCard
E/MTPRx (10600): Status for mount/Unmount :mounted
E/MTPRx (10600): SDcard is available
E/MTPRx (10600): The value of first_boot is 1
E/MTPRx (10600): [ 662] The value of first_boot is 1NORMAL SEQUENCE
E/MTPRx (10600): Received USB_STATE with sdCardLaunch = 0
E/MTPRx (10600): configured is false
I'm guessing this is the correct part of the log that pretains to the MTP/USB part. If not I have attached a full log.
Try typing this in a terminal window or adb shell on your phone:
Code:
touch /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt
Or, make a txt file called gadgetDisconnectAndConnect and place it in /data/data/com.samsung.android.MtpApplication folder.
xpmode said:
Try typing this in a terminal window or adb shell on your phone:
Code:
touch /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt
Or, make a txt file called gadgetDisconnectAndConnect and place it in /data/data/com.samsung.android.MtpApplication folder.
Click to expand...
Click to collapse
Hi, thanks for the reply.
I did that as quoted, nothing seems to have changed, What should I be looking for?
Thanks!
Hi there,
It's my first post here, I landed here a lot of times and always found answers to my questions, many thanks to this community. I hope my frenchglish remains understandable.
The problem is that my poco F1 crashes randomly. I get a black, sometimes blue screen and then the device reboots to the OS normally, without any loop.
It can happen after 10 seconds or 1 hour and I cannot detect what is causing these crashes. Maybe something related to wifi.
How can I investigate to find a clue ?
About the device :
- I bought it used, already unlocked
- I tried with /e/, CalyxOS (2.7.0 and 2.9.0), and with miui (flashed with MiFlash)
- I tried several firmware versions
- I don't see anything relevant in logcat last messages, a lot of errors but different at each crash
There are these errors that are happening a lot of time, but I don't know if it's the cause because they seem to happen constantly :
- CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libwfdaac_vendor.so" not found: needed by /vendor/lib/libwfdmmsrc_proprietary.so in namespace (default) (300 lines over 20mn)
- W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_boost with value: 0, fd: -1 (500 lines over 20mn)
In dmesg, I have tons of these :
[ 176.525217] [schedu][3448610271][14:31:06.270389] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 177.161869] init: starting service 'wifidisplayhalservice'...
[ 177.179652] init: Service 'wifidisplayhalservice' (pid 4373) exited with status 1
[ 177.179670] init: Sending signal 9 to service 'wifidisplayhalservice' (pid 4373) process group...
[ 177.179785] libprocessgroup: Successfully killed process cgroup uid 1000 pid 4373 in 0ms
[ 179.562273] [schedu][3506921340][14:31:09.307424] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 179.562296] [schedu][3506922166][14:31:09.307467] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 179.562314] [schedu][3506922495][14:31:09.307484] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
If anyone has an idea to solve these crashes, some ways to reproduce the crash, test hardware, how to get relevant logs...
Any help appreciated.
Same problem dude ?? Did u get the solution
heyhoy said:
Hi there,
It's my first post here, I landed here a lot of times and always found answers to my questions, many thanks to this community. I hope my frenchglish remains understandable.
The problem is that my poco F1 crashes randomly. I get a black, sometimes blue screen and then the device reboots to the OS normally, without any loop.
It can happen after 10 seconds or 1 hour and I cannot detect what is causing these crashes. Maybe something related to wifi.
How can I investigate to find a clue ?
About the device :
- I bought it used, already unlocked
- I tried with /e/, CalyxOS (2.7.0 and 2.9.0), and with miui (flashed with MiFlash)
- I tried several firmware versions
- I don't see anything relevant in logcat last messages, a lot of errors but different at each crash
There are these errors that are happening a lot of time, but I don't know if it's the cause because they seem to happen constantly :
- CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libwfdaac_vendor.so" not found: needed by /vendor/lib/libwfdmmsrc_proprietary.so in namespace (default) (300 lines over 20mn)
- W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_boost with value: 0, fd: -1 (500 lines over 20mn)
In dmesg, I have tons of these :
[ 176.525217] [schedu][3448610271][14:31:06.270389] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 177.161869] init: starting service 'wifidisplayhalservice'...
[ 177.179652] init: Service 'wifidisplayhalservice' (pid 4373) exited with status 1
[ 177.179670] init: Sending signal 9 to service 'wifidisplayhalservice' (pid 4373) process group...
[ 177.179785] libprocessgroup: Successfully killed process cgroup uid 1000 pid 4373 in 0ms
[ 179.562273] [schedu][3506921340][14:31:09.307424] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 179.562296] [schedu][3506922166][14:31:09.307467] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
[ 179.562314] [schedu][3506922495][14:31:09.307484] wlan: [2652:E:WMI] Service id 258 but WMI ext2 service bitmap is NULL
If anyone has an idea to solve these crashes, some ways to reproduce the crash, test hardware, how to get relevant logs...
Any help appreciated.
Click to expand...
Click to collapse
maxpayne_69 said:
Same problem dude ?? Did u get the solution
Click to expand...
Click to collapse
Have you tried flashing persist partition? (you can find it at XIaomi Tools at in my collection)
Also did you tried to flash stock firmware according my guide? You can find all the guid in my POCO F1 Ultimate Collection & Guides.
maxpayne_69 said:
Same problem dude ?? Did u get the solution
Click to expand...
Click to collapse
Hi,
Nope. I changed the battery, it didn't solve anything but I read in several posts that it fixed the problem.
I also removed the mobo, put it in the oven. It was supposed to check if some soldering would be defective. It didn't solve anything.
I finally cancelled, I may try again later. I think it's a hardware issue.
Retrial said:
Have you tried flashing persist partition? (you can find it at XIaomi Tools at in my collection)
Also did you tried to flash stock firmware according my guide? You can find all the guid in my POCO F1 Ultimate Collection & Guides.
Click to expand...
Click to collapse
I'm not sure about persist partition. I flashed several times, with several firmwares and several roms. Is it part of these processes ?
I follow guides step by step without a good knowing of android, so I may have done a persist partition flash.
Thanks for this awesome collection anyway, the most things I did came from it.