VB.NET: IOEXCEPTION Error - Windows Mobile Development and Hacking General
I have trouble with my first vb.net program.
The program have to wirite the gps stream into a listbox and a file,too.
i have opened com9 on my trinity for the gps
(on a tytn->bluetooth->com9, too) but the app crash with "ioexception".
can someone pleade help me.
i dont know what i can do now.
Here's the complete Code:
an IO Exception occurs when there are errors while interacting with files.
Instead of posting your solution over here would it be better to learn how to debug.
- Look for additional information. An Exception contains more information than just 'ioexception'.
- Step through your application to find the line where the error occurs.
- Do you close your file properly? (after writing the GPS stream)
Only with files?
I think it crashed at: "SerialPort1.Open()"
Yes i close the File. But there ist no Stream. I get no information from the port,
cause at the opening the program crashed :-(
sorry for my bad english. i give my best.
here's the edited version:
http://rapidshare.com/files/62896996/GPRSGPS.ZIP.html
IO = Input Output, so basically files but indeed also with serial ports. Can you provide us additional information about the error?
Sorry only the complete german Error Message:
Unerwarteter Fehler in GPRSGPS.exe,
klicken Sie auf "Beenden", und starten Sie das Programm neu.
Weitere Informationen zu diesem Fehler erhalten Sie, indem Sie Details Klicken.
Es kann keine Fehlermeldung angezeigt werden, da
die optionale Ressource der Assebly,
die die Fehlermeldung enthält, nicht gefunden wurde.
IOEXCEPTION
Click to expand...
Click to collapse
Here is an example
Code:
Try
For nVar = 0 To 5 Step 1
Response.Write(arTest(nVar))
Next
Catch e As Exception
messagebox(e.toString)
End Try
(source: http://www.aspheute.com/artikel/20001024.htm)
build something like this around your SerialPort1.open()
e.g.
Code:
Try
SerialPort1.open()
Catch e As Exception
MsgBox(e.toString)
End Try
thank you for yours strive but it still don't work.
I do not have any ideas.
why don't you just set a breakpoint and start in in debug mode?
Because the "FakeGPS"Tool out of the WM6 SDK wouldnt work.
So cant emulate a GPS Stream and i have to test it on my htc trinity.
even when i set a break point, the application crashed bevor i reached the point.
just set your pda as target device and not the emulator, you CAN debug on real devices!
even when i set a break point, the application crashed bevor i reached the point.
Click to expand...
Click to collapse
Then move your Breakpoint!!!
thanks. yes the debug on real device works now.
Ohho....
the error ist not the "Serial1.Open"
else this function
Code:
Private Sub ListAdd(ByVal Ttext As String, Optional ByVal Write2File As Boolean = False)
'Den Focus auf den zuletzt inder Lisbox hinzugefügten Datensatz legen
'ebenfalls die Zeile in die oben deklarierte Datei speichern.
If Ttext <> "" And Len(Ttext) > 0 Then
'Versuch mit Messagebox = ok
'MsgBox(Ttext)
'Verusch mit einfach Listbox = absturz
'ListBox1.Items.Add(Ttext)
'Versuch mit Textbox= absturz
'TextBox1.Text = Ttext + vbNewLine + TextBox1.Text
'Versuch mit Listbox die automatisch den Fokus auf den zuletzt
'hinzugefügten Datensatz legt
'With ListBox1
'.Items.Add(Ttext)
'If .Items.Count > 0 Then
'.SelectedIndex = .Items.Count - 1
'End With
'Wenn Write2File=True dann soll er den TText ins File schreiben
If Write2File = True Then txt.WriteLine(Ttext)
End If
End Sub
i have re-edited the function once again:
Code:
Private Sub ListAdd(ByVal Ttext As String, Optional ByVal Write2File As Boolean = False)
'Versuch mit Listbox die automatisch den Fokus auf den zuletzt
'hinzugefügten Datensatz legt
Try
With ListBox1
.Items.Add(Ttext)
If .Items.Count > 0 Then
.SelectedIndex = .Items.Count - 1
End If
End With
'Wenn Write2File=True dann soll er den TText ins File schreiben
If Write2File = True Then txt.WriteLine(Ttext)
Catch e As Exception
'MsgBox(e.ToString)
txt.WriteLine(e.ToString)
If X = 10 Then 'Bei 10 Fehlern Text File speichern.
txt.Close()
Application.Exit()
End If
End Try
End If
End Sub
So it logged 10 Errors in a File:
Code:
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.GetGSM_STATUS()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.GetGSM_STATUS()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.GetGSM_STATUS()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.GetGSM_STATUS()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
System.NotSupportedException: Es kann keine Fehlermeldung angezeigt werden, da die optionale Ressource der Assembly, die die Fehlermeldung enthält, nicht gefunden wurde.
bei Microsoft.AGL.Common.MISC.HandleAr()
bei System.Windows.Forms.ListBox._NativeAdd()
at ObjectCollection.Add()
bei DeviceApplication1.Form1.ListAdd()
bei DeviceApplication1.Form1.SerialPort1_DataReceived()
bei System.IO.Ports.SerialPort.CatchReceivedEvents()
at EventLoopRunner.CallReceiveEvents()
at WorkItem.doWork()
bei System.Threading.Timer.ring()
Last but not least the complete project:
http://rapidshare.com/files/63389284/GPRSGPS.ZIP.html
IT WORKS
Now it works. (thx to "Useless User" from "PPC-Welt")
SUPER SUPER SUPER.
Here's the right code:
Code:
Imports System.IO
Public Class Form1
Dim X As Integer
Dim APPPATH As String
Dim GlobalGPSSTREAM As String
Dim txt As IO.StreamWriter
Private Delegate Sub SetGlobalGPSStreamDgt(ByVal text As String)
Private Sub SetGlobalGPSSTREAM(ByVal text As String)
ListAdd(text, True)
End Sub
Private Sub ShowVerNumber()
'App.Path und App.Minor etc Test
APPPATH = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules(0).FullyQualifiedName) & "\"
txt = New IO.StreamWriter(APPPATH + "testfile.txt", True)
ListAdd("Datenfile: " + APPPATH + "testfile.txt", False)
Me.Text = "GPRSGPS V" + GetType(Form1).Assembly.GetName.Version.ToString()
'ListAdd("Progfile: " + Me.Text, False)
'Me.Text = Path.GetDirectoryName(Assembly.GetExecutingAssembl y().GetModules(0).FullyQualifiedName) & "/"
'App.Path & IIf(Right(App.Path, 1) = "\", "", "\") & App.EXEName
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Listbox1.Items.Clear()
'TextBox1.Items.Clear()
ShowVerNumber()
SerialPort1.Encoding = System.Text.Encoding.Default
'SerialPort1.Encoding = System.Text.Encoding.ASCII
End Sub
Private Sub ListAdd(ByVal Ttext As String, Optional ByVal Write2File As Boolean = False)
'Den Focus auf den zuletzt inder Lisbox hinzugefügten Datensatz legen
'ebenfalls die Zeile in die oben deklarierte Datei speichern.
If Ttext <> "" And Len(Ttext) > 0 Then
Try
With ListBox1
.Items.Add(Ttext)
If .Items.Count > 0 Then
.SelectedIndex = .Items.Count - 1
End If
End With
'Wenn Write2File=True dann soll er den TText ins File schreiben
If Write2File = True Then txt.WriteLine(Ttext)
Catch e As Exception
'MsgBox(e.ToString)
txt.WriteLine(e.ToString)
If X = 10 Then 'Bei 10 Fehlern Text File speichern.
txt.Close()
Application.Exit()
End If
End Try
End If
End Sub
Private Sub GetGSM_STATUS()
'Anzeigen der aktuellen Mobilfunk-Signal-Stärke
X = X + 1 'Zeilenzähler
ListAdd(Microsoft.WindowsMobile.Status.SystemState.PhoneSignalStrength, True)
End Sub
Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
Dim newLine As String = SerialPort1.ReadLine
Me.Invoke(New SetGlobalGPSStreamDgt(AddressOf SetGlobalGPSSTREAM), New Object() {newLine})
End Sub
Private Sub BTN_STOP_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_STOP.Click
txt.Close()
Application.Exit()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Dim txt As IO.StreamWriter = New IO.StreamWriter("datei.txt"), False, System.Text.Encoding.Default)
'txt.WriteLine("blablabla")
'txt.WriteLine("")
'txt.Close()
End Sub
Private Sub BTN_COM_OPEN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_COM_OPEN.Click
If SerialPort1.IsOpen = True Then SerialPort1.Close()
'SerialPort1.PortName = Trim("COM" + Trim(Str(NumericUpDown1.Value)) + ":")
SerialPort1.PortName = Trim("COM" + Trim(Str(NumericUpDown1.Value)))
'ListAdd("COMPORT Setting: " + SerialPort1.PortName, False)
Try
SerialPort1.Open()
Catch Ausnahme As IOException
MsgBox(Ausnahme.Message, MsgBoxStyle.Critical, "Fehler !")
End Try
'MsgBox(SerialPort1.PortName)
End Sub
Private Sub BTN_COM_CLOSE_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_COM_CLOSE.Click
If SerialPort1.IsOpen = True Then SerialPort1.Close()
'ListAdd("COMPORT geschlossen", False)
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If SerialPort1.IsOpen = True Then
Label1.BackColor = Color.Green
Else
Label1.BackColor = Color.Red
End If
End Sub
Private Sub BTN_WriteHallo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BTN_WriteHallo.Click
'ListAdd("Hallo", False)
End Sub
End Class
, i hope you understand where you made mistakes .
not really. its a hard way from vb6 to .net
Related
Does Imei.uk can help to Rescue my Wizard?
HAllo ...sorry for my bad English Now I have a VPA Compact 2 IPL 2.21.001 SPL with 3:08 left in the 3 Color mode stand (bootloader) G4 device, what I learned from the previous Owner IPL was 2.21.001 SPL 2.21.001, softspl or executed there after Hardspl very likely G3 Rome flashed * the output via USB terminal: Cmd> info Cmd> INFO 2 GetDeviceInfo = 0x00000002 GetDeviceCID: Error - InitDecoder HTCS 'í • 6HTCE Cmd> set 32 SD controller init - SD controller init + StorageInit CMD55 failed SD controller init - SD controller init + StorageInit CMD55 failed GetDeviceCID: Error - InitDecoder g_cKeyCardSecurityLevel = FF Cmd> info 0 GetDeviceInfo = 0x00000000 Wizard ------------------- ------------------------- CID is locked, according ---- ---> g_cKeyCardSecurityLevel = FF Valid CID -----> HTCS 'í • 6HTCE? Hard reset does not go back to SD is not because CID Locked new flash device does not take on because CID Locked Now I have read www.imei-check.co.uk the CID unlocken can now for 26 € I have the tool download times and started on the screen of the VPA appears everything as described (on the homepage *. UK) only when you read the IMEI .... a minute later output of the program device not connectet hmm ... My question would be if I have a vaild CID may still have to be unlocked also my IMEI can not read I imagine this question whether I should spend 26 € and then nothing works? would be great if I could make somebody else smile * Thanks for reading! Greezt Resme ------------------------------------- In German Nun ich habe ein VPA Compact 2 mit IPL 2.21.001 SPL 3.08 bleibt im 3 Colour mode stehen (Bootloader) G4 Device, was ich erfahren habe vom Vorbesitzer war IPL 2.21.001 SPL 2.21.001 ,softspl oder Hardspl ausgeführt danach sehr wahrscheinlich G3 Rom geflascht * die Ausgabe über usb-terminal : Cmd>info Cmd>info 2 GetDeviceInfo=0x00000002 GetDeviceCID: Error - InitDecoder HTCS ´í•6HTCE Cmd>set 32 + SD Controller init - SD Controller init +StorageInit CMD55 failed + SD Controller init - SD Controller init +StorageInit CMD55 failed GetDeviceCID: Error - InitDecoder g_cKeyCardSecurityLevel = FF Cmd>info 0 GetDeviceInfo=0x00000000 Wizard ------------------- ------------------------- CID is Locked ----laut--->g_cKeyCardSecurityLevel = FF CID Valid----->HTCS ´í•6HTCE ? Hardreset geht nicht Backup auf SD geht nicht weil CID Locked neu flashen geht aber Device nimmt nicht an weil CID Locked jetzt habe ich gelesen www.imei-check.co.uk man die CID unlocken lassen kann für 26€ nun habe ich mir das tool mal runtergeladen und gestartet auf dem Bildschirm des VPA erscheint alles so wie beschrieben(auf der Homepage*.UK) nur beim auslesen der IMEI....eine minute später ausgabe des programms device not connectet...hmm Meine Frage wäre wenn ich eine vaild CID habe kann diese trotzdem unlocked werden auch das sich meine IMEI nicht auslesen lässt stelle ich mir diese Frage ob ich 26 € ausgeben sollte und dann doch nichts klappt?! wäre super wenn mich jemand weiterbilden könnte *smile Danke fürs lesen!! Greezt Resme
[CM9] Building from Source
Hello, I try to build my own CM9 ROM for the Motorola Defy. I get the Defy device files with the following command: Code: . build/envsetup.sh && breakfast jordan After this i would build the ROM by execute Code: . build/envsetup.sh && brunch jordan At first the building process ends up with this error: Code: build/core/base_rules.mk:166: *** vendor/cm/audio: MODULE.TARGET.SHARED_LIBRARIES.audio_policy.jordan already defined by device/motorola/jordan/audio_policy. So I delte the audio directory in vendor/cm But now I get a new error: Code: make: *** Keine Regel vorhanden, um das Target »system/core/toolbox/../../../external/bootmenu/libreboot/reboot.c«, benötigt von »out/target/product/jordan/obj/EXECUTABLES/toolbox_intermediates/../../../external/bootmenu/libreboot/reboot.o«, zu erstellen. Schluss. make: *** Warte auf noch nicht beendete Prozesse... system/core/toolbox/r.c: In function 'r_main': system/core/toolbox/r.c:87: warning: 'value' may be used uninitialized in this function Is this a known error? Can anyone help me? regards, Nico-X
search help for updater.script write
search help(aid) by the production flash zip with amora installer. would like to postinstall(postput in) some files with it(thus), but updater.script mistake has and alone I have not enough notion of it. the link is new. i have insert german and english languge. http://d-h.st/dxK pixelfreak
Can't download right now. Do I understand you correctly. There is an flashable.zip file that you would like to add to. But the script does not account for your new files? Post the contents of the script (text) if you can.
-pixelfreak- said: search help(aid) by the production flash zip with amora installer. would like to postinstall(postput in) some files with it(thus), but updater.script mistake has and alone I have not enough notion of it. http://d-h.st/PVE pixelfreak Click to expand... Click to collapse Schreiben auf deutsch fur mich Ich verstehe dein englisch nicht so gut Was sind die Defekt?
re sorry wenn ich die zip im CWM lade, so gehe ich durch das Amora menü und sobald es installieren wil geht nix mehr. also es wird nix installiert. es kann am amora script oder an der updater-script liegen. ich bin keinerlei bewannt mit der scripterei. es muss so sein , dass nur ein framework auszuwählen ist. und das alte durch das neu ersetzt wird. dabei sollte man vorher schon zwischen tmous und eu wählen können und dementsprechend installiert werden. gruss pixel
elesbb said: Schreiben auf deutsch fur mich Ich verstehe dein englisch nicht so gut Was sind die Defekt? Click to expand... Click to collapse yes the scripts has mistaks. i not found him. the link is new. i have insert german and english languge. http://d-h.st/dxK updater-script: Code: ui_print(""); ui_print(" "); ui_print("PIXELDROID LAST EDITION HD2 ROM "); ui_print(" Rom Updater "); ui_print(""); set_progress(0.1); ui_print(" "); ################### Tmous if file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1" then show_progress(0.90, 50); mount("MTD", "userdata", "/data"); mount("MTD", "system", "/system"); if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; #################### EU run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext"); else set_progress(0.5); if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; unmount("/system"); unmount("/data"); unmount("/sd-ext"); ui_print(" "); ui_print(" "); ui_print("@FERTIG..."); aroma-config: Code: ########### Calibrate Touchscreen weiter calibrate("1.1041","26","1.1616","16","yes"); ini_set("customkeycode_up", "115"); ini_set("customkeycode_down", "114"); ini_set("customkeycode_select", "231"); ini_set("customkeycode_menu", "139"); ini_set("customkeycode_back", "158"); ########## Setzt Splashscreen fuer 5 seconds ( 1000 = 1 sec ) splash(5000, "sample"); anisplash(5, "splash/a1", 30, "splash/a2", 30, "splash/a3", 30, "splash/a4", 30, "splash/a5", 30, "splash/a6", 30, "splash/a7", 30, "splash/a8", 30, "splash/a9", 30, "splash/a10", 30, "splash/a11", 30, "splash/a12", 30, "splash/a13", 30, "splash/a14", 30, "splash/a15", 30, "splash/a16", 30, "splash/a17", 30, "splash/a18", 30, "splash/a19", 30, "splash/a20", 30, "splash/a21", 30, "splash/a22", 30); ########### installations theme theme("black_blue"); # # SHOW LANGUAGE SELECTION # selectbox( #-- Title "Sprache/language", #-- Sub Title "Installations-Sprache/Install-language:", #-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png "@default", #-- Will be saved in /tmp/aroma/lang.prop "lang.prop", #---------------------------------[ Selectbox Without Group ]----------------------------------# # TITLE | SUBTITLE | Initial Value # #------------------+-----------------------------------------------------------+---------------# "English", "Welcome to Installer", 0, #-- selected.0 = 1 "Deutsch", "Willkommen im Installer", 1 #-- selected.0 = 2 #--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------# ); ## # SET LANGUAGE & FONT FAMILY # if prop("lang.prop","selected.0")=="1" then loadlang("langs/en.lang"); fontresload( "0", "ttf/DroidSans.ttf", "12" ); #-- "0" = Small Font ( Look at Fonts & UNICODE Demo Below ) fontresload( "1", "ttf/DroidSans.ttf", "18" ); #-- "1" = Big Font endif; if prop("lang.prop","selected.0")=="2" then loadlang("langs/de.lang"); fontresload( "0", "ttf/DroidSans.ttf", "12" ); fontresload( "1", "ttf/DroidSans.ttf", "18" ); endif; ########### autor und name ini_set("rom_name", "PIXELDROID"); ini_set("rom_version", "LAST EDITION ROM"); ini_set("rom_author", "PIXELFREAK"); ini_set("rom_device", "HTC HD2"); ini_set("rom_date", "JUNI 2012"); ########## erster Screen/beschreibung viewbox( #-- Title "PIXELDROID ROM GESTALTER", #-- Text "<~designupdate><b>\n\n"+ #-- Get Config Value ini_get("rom_name")+ "</b> <b>"+ini_get("rom_version")+"</b>.\n\n\n"+ " THEME\t: <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+ " VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+ " DEVELOPER\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+ " UPDATED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+ "<~text_next>", #-- Icon "@welcome" ); ########## modell wählen selectbox( "<~selectromsetup>", "<~pleaseselectromsetupbelow>", "icons/install", "rom.prop", "<~pleasepickyourrom>","",2, "<~tmobileusa>", "<~installrominnand>",0, "<~eurominstall>", "<~installromonsdext>",1 ); ########## dateien einfügen selectbox( "Customs Options", "", "@personalize", "theme.prop", "framwork Theme", "", 2, #-- Group 1. key = "selected.1" "Pixeldroid framework", "alles so belassen/everything leave so", 1, #-- selected.1 = 1 "Cyrcle framework", "blue mit Cyrcle Akku/blue Cyrcle Accu", 0, #-- selected.1 = 2 "Elegancia Glas framework", "blue mit Elegancia Akku/blue elegancia Accu", 0, #-- selected.1 = 3 "Elegancia Speedo framework", "blue mit Speedo Akku/blue elegancia speedo Accu", 0, #-- selected.1 = 4 "Stock framework", "Stock % Akku mit gruen/stock % Accu green", 0 #-- selected.1 = 5 ); ########## installation beginnt ini_set("text_next", "<~installnow>"); viewbox( "<~readytoinstall>", "<~press> <b><~installnow2></b> <~tobegintheinstallation>\n\n", "@install" ); ########## installations status ini_set("text_next", "<~text_next>"); setvar("retstatus", install( "<~Installiert>", "<b>"+ini_get("rom_name")+"</b> <~wirdinstalliert>\n\n"+ "<~eswirdinstalliert> <b>"+ini_get("rom_name")+ "</b>. <~diesdauert>.", "@install", "<~fertiginstalliert> <b>"+ini_get("rom_name")+ "</b>.<~weiterumfortzufahren>." ) ); ########## installation abgeschlossen ini_set("text_next", "<~fine>"); checkviewbox( "<~installationkomplett>", "<#selectbg_g><b>Congratulation...</b></#>\n\n"+ "<b>"+ini_get("rom_name")+"</b> <~erfolgreichinstalliert>\n\n"+ "Installer Status: "+getvar("retstatus")+"\n\n", "@welcome", "<~neustart>", "1", "reboot_it" ); if getvar("reboot_it")=="1" then reboot("onfinish"); endif;
In your script you have: Code: run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext"); should be Code: run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); I think. And should your run that line after your "ELSE"? Otherwise you have completed you update, ran busybox, then ended.
Dblfstr said: In your script you have: Code: run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext"); should be Code: run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); I think. And should your run that line after your "ELSE"? Otherwise you have completed you update, ran busybox, then ended. Click to expand... Click to collapse if it has now thus, however, it nothing is still installed(put in) it still breaks off Code: #################### EU else run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); set_progress(0.5); pixelfreak
What is the file structure of your flashable.zip? Edit: -Looking at it now.
re you can load the file and see the structure pixelfreak
Do you now which file is not being installed? You have many options 1,2,3,4,5 for selection, yet all options delete the same file and extract to the same file to the same place. Further you have these 5 options available for Tmous or Eu. i would think you wanted the script as such: Code: ui_print(""); ui_print(" "); ui_print("PIXELDROID LAST EDITION HD2 ROM "); ui_print(" Rom Updater "); ui_print(""); set_progress(0.1); ui_print(" "); ################### Tmous if file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1" then show_progress(0.90, 50); mount("MTD", "userdata", "/data"); mount("MTD", "system", "/system"); if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/cyrcle/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/data/framework"); endif; #################### EU else run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); set_progress(0.5); if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/sd-ext/framework"); endif; unmount("/system"); unmount("/data"); unmount("/sd-ext"); ui_print(" "); ui_print(" "); ui_print("@FERTIG..."); ---------- Post added at 01:49 PM ---------- Previous post was at 01:38 PM ---------- Also, i am not familiar with Aroma installer. I just did a little research in the Aroma thread. It seems this is not like CWM but you use it through CWM... Is that correct? So this is a fancier flashable.zip - or a flashable zip with built in options. Did you do this part? "Make sure You took an update-binary from a working ROM, renamed it to update-binary-installer and overwrote the one in my AROMA Installer zip" Also found this, Four your temp you have this: Code: if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1" Which I think should be this; Code: if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1" I have added that to the script above.
Dblfstr said: Do you now which file is not being installed? You have many options 1,2,3,4,5 for selection, yet all options delete the same file and extract to the same file to the same place. Further you have these 5 options available for Tmous or Eu. i would think you wanted the script as such: Code: ui_print(""); ui_print(" "); ui_print("PIXELDROID LAST EDITION HD2 ROM "); ui_print(" Rom Updater "); ui_print(""); set_progress(0.1); ui_print(" "); ################### Tmous if file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1" then show_progress(0.90, 50); mount("MTD", "userdata", "/data"); mount("MTD", "system", "/system"); if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/cyrcle/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/data/framework"); endif; #################### EU else run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); set_progress(0.5); if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/sd-ext/framework"); endif; unmount("/system"); unmount("/data"); unmount("/sd-ext"); ui_print(" "); ui_print(" "); ui_print("@FERTIG..."); Click to expand... Click to collapse 1 2 3 4 5 is only the position in script not the option. see in the aroma script on the end of position. you see =1 2 3 4 5 the installer is from my woking rom. i have write a new script. not more. he is a flash zip for CWM. it's okay so. you can see in my rom works the amora fine: http://forum.xda-developers.com/showthread.php?t=1667631 but I do not know whether it is so right. i'm not scripter
-pixelfreak- said: 1 2 3 4 5 is only the position in script not the option. see in the aroma script on the end of position. you see =1 2 3 4 5 the installer is from my woking rom. i have write a new script. not more. he is a flash zip for CWM. it's okay so. you can see in my rom works the amora fine: http://forum.xda-developers.com/showthread.php?t=1667631 but I do not know whether it is so right. i'm not scripter Click to expand... Click to collapse But you did want options to select from cyrcle, or elegancia, stock, etc. Right? Try my script on the previous page.
re yes i have aroma and aroma-data have the self mistake. pixelfreak
-pixelfreak- said: yes i have aroma and aroma-data have the self mistake. pixelfreak Click to expand... Click to collapse Just noticed that tmp/aroma and tmp/aroma-data are the same now. Sorry, still figuring out aroma. I have written a few scripts but I am no expert. What is it doing now that you have tried my edited script?
re the update log write: AROMA INSTALLER version 2.00 (c) 2012 by amarullz xda-developers ROM Name : PIXELDROID ROM Version : LAST EDITION UPDATER ROM Author : PIXELFREAK Device : HTC HD2 Start at : Mon May 28 22:33:40 2012 1 parse errors line 119 col 24: syntax error, unexpected $end Installer Error (Status 6) End at : Mon May 28 22:33:40 2012
-pixelfreak- said: sorry wenn ich die zip im CWM lade, so gehe ich durch das Amora menü und sobald es installieren wil geht nix mehr. also es wird nix installiert. es kann am amora script oder an der updater-script liegen. ich bin keinerlei bewannt mit der scripterei. es muss so sein , dass nur ein framework auszuwählen ist. und das alte durch das neu ersetzt wird. dabei sollte man vorher schon zwischen tmous und eu wählen können und dementsprechend installiert werden. gruss pixel Click to expand... Click to collapse Vielen danke! Aber, Dblfstr weiss was ist loss, so, er wolte hilfen sie
-pixelfreak- said: the update log write: AROMA INSTALLER version 2.00 (c) 2012 by amarullz xda-developers ROM Name : PIXELDROID ROM Version : LAST EDITION UPDATER ROM Author : PIXELFREAK Device : HTC HD2 Start at : Mon May 28 22:33:40 2012 1 parse errors line 119 col 24: syntax error, unexpected $end Installer Error (Status 6) End at : Mon May 28 22:33:40 2012 Click to expand... Click to collapse OH, do you need another endif for your very first if statement?! Code: ui_print(""); ui_print(" "); ui_print("PIXELDROID LAST EDITION HD2 ROM "); ui_print(" Rom Updater "); ui_print(""); set_progress(0.1); ui_print(" "); ################### Tmous if file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1" then show_progress(0.90, 50); mount("MTD", "userdata", "/data"); mount("MTD", "system", "/system"); if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/cyrcle/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/data/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/data/framework"); endif; #################### EU else run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext"); set_progress(0.5); if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1" then ui_print("@- Installiert Pixelfreak fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2" then ui_print("@- Installiert Cyrcle fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3" then ui_print("@- Installiert Elegancia Glas fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4" then ui_print("@- Installiert Elegancia Speedo fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework"); endif; if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5" then ui_print("@- Installiert Stock fw"); delete("/sd-ext/framework/framework-res.apk"); package_extract_dir("accu/stock/framework", "/sd-ext/framework"); endif; endif; unmount("/system"); unmount("/data"); unmount("/sd-ext"); ui_print(" "); ui_print(" "); ui_print("@FERTIG...");
re i dont now: Confused:: Confused:: Confused:: Confused:: Confused:
-pixelfreak- said: i dont now: Confused:: Confused:: Confused:: Confused:: Confused: Click to expand... Click to collapse Sorry man, try the above script. And I do not know what you guys are saying in German.
re yeeees the endif was the problem. now he instal(puts in) the file, but phone any more it does not start has reboots pixelfreak
Can't decompile SecSetting.apk...
Hi.. I have a decompile Problem, only with SecSetting.apk (it is Stock ME2) framework is installed as 1.apk in data/apktool click to see log file... java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing) C:\android-sdk\Apk_Manager_jb\place-apk-here-for-modding\../place-apk-here-for-modding/signedSecSettings.apk konnte nicht gefunden werden C:\android-sdk\Apk_Manager_jb\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSecSettings.apk konnte nicht gefunden werden I: Baksmaling... I: Loading resource table... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.regex.Pattern.compile(Pattern.java:1655) at java.util.regex.Pattern.<init>(Pattern.java:1337) at java.util.regex.Pattern.compile(Pattern.java:1047) at java.lang.String.replace(String.java:2180) at brut.androlib.res.xml.ResXmlEncoders.escapeXmlChars(ResXmlEncoders.java:29) at brut.androlib.res.decoder.StringBlock.getHTML(StringBlock.java:133) at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:227) at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182) at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170) at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135) at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110) at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83) at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49) at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491) at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74) at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66) any idee?? Thx for reply
Android 10 and Smartwatch?
Hey there, I'm running out of ideas, so I need some inspiration or maybe a solution would be great as well. Yesterday I updated my device to BSKO and applied Magisk root. After some troubles I managed the upgrade quite well and nearly everything is working really good now.. Well.. except Galaxy Wearable. I'm not able to connect any of my Samsung smartwatches to my S10+. Smartwatches are: Galaxy Gear S3 frontier and Active Watch 2. I already tried following things: - Deleted data and cache off following apps: Wearables, Plugins for watches, Samsung access.., Plugin manager for wearable - Tried several old versions of Wearable - Bluetooth on/off - Magisk secure_storage module installtion/removement - Watch factory reset Log: Code: 12-10 15:27:08.265 tUHM:RegistryDbManagerWithProvider.addDeviceRegistryData, result = content://com.samsung.android.uhm.framework.appregistry.BaseContentProvider.provider/Device/3 12-10 15:27:08.265 tUHM:HostManagerUtils.startPluginActivity() launch flag : Intent.FLAG_ACTIVITY_NEW_TASK|| Intent.FLAG_ACTIVITY_CLEAR_TASK launchMode : 1002 12-10 15:27:08.288 tUHM:HostManagerUtils.removeAllTasks() 12-10 15:27:08.288 tUHM:HostManagerUtils.startPluginActivity() return true 12-10 15:27:08.289 tUHM:HMConnectFragment.saveGearInfo() gearInfo:deviceName: Gear S3 containerPackage: com.samsung.android.gearoplugin pluginPackage: com.samsung.android.gearoplugin supportTablet: false supportNonSamsung: true supportMultiConnection: false connectAsAudio: false hostMinMemory: 1024MB requiresPairing: true supportsBLEOnly: false switchGearTitleIcon: null pluginAppName: Gear S PlugIn 12-10 15:27:08.289 tUHM:TWatchManagerApplication.getAppContext() 12-10 15:27:08.289 tUHM:TWatchManagerApplication.mAppContext = [email protected]ea4809 12-10 15:27:08.292 tUHM:HMConnectFragment.onPause 12-10 15:27:08.292 tUHM:SetupWizardWelcomeActivity.onPause 12-10 15:27:10.289 tUHM:HostManagerUtils.removeAllTasks() started with delay... 12-10 15:27:10.290 tUHM:HostManagerUtils.handleTaskInternal() requestType: 2 12-10 15:27:10.290 tUHM:TWatchManagerApplication.getAppContext() 12-10 15:27:10.290 tUHM:TWatchManagerApplication.mAppContext = [email protected]ea4809 12-10 15:27:10.290 tUHM:HostManagerUtils. handleTaskInternal() :LOLLIPOP 12-10 15:27:10.326 tUHM:SetupWizardWelcomeActivity.onStop 12-10 15:27:10.327 tUHM:SetupWizardWelcomeActivity.onSaveInstanceState 12-10 15:27:10.328 tUHM:HMConnectFragment.onDestroy() starts 12-10 15:27:10.328 tUHM:UHMDownloadManager.nullAndVoidHandler(Handler (android.os.Handler) {35683a2}) 12-10 15:27:10.328 tUHM:UHMDownloadManager.releaseThread(Thread[DOWNLOAD_THREAD,5,main]) 12-10 15:27:10.328 tUHM:InstallationManager. stopInstallation() 12-10 15:27:10.329 tUHM:InstallationManager. stopInstallation() 12-10 15:27:10.329 tUHM:HMConnectFragment.Exception: mActivity.unregisterReceiver(mBTScanReceiver) 12-10 15:27:10.329 tUHM:HMConnectFragment.Exception: mActivity.unregisterReceiver(mPSIReceiver) 12-10 15:27:10.329 tUHM:HMConnectFragment.onDetach 12-10 15:27:10.329 tUHM:SetupWizardWelcomeActivity.getCurrentFragment() :HMConnectFragment{eabc060 #2 id=0x7f08006c tUHMFragment} 12-10 15:27:10.329 tUHM:SetupWizardWelcomeActivity.onFragmentDetached 1 12-10 15:27:10.329 tUHM:SetupWizardWelcomeActivity.topFrag:HMConnectFragment{eabc060 #2 id=0x7f08006c tUHMFragment} 12-10 15:27:10.329 tUHM:SetupWizardWelcomeActivity.UHM onDestroy 12-10 15:27:10.330 tUHM:HostManagerUtils.displaying Toast [-UHM destroyed-] 12-10 15:27:10.330 tUHM:[Update]UpdateManager.UpdateCheckResponseHandler instance is null. 12-10 15:27:10.330 tUHM:WearableDeviceController.destroy starts 12-10 15:27:10.330 tUHM:WearableDeviceController.IllegalArgumentException(mReceiver)java.lang.IllegalArgumentException: Receiver not registered: com.samsung.[email protected]e0b87f0 12-10 15:27:10.330 tUHM:WearableDeviceController.destroy ends Result is always the same, first pairing is not finishing. Any suggestions?
Factory reset your watch? Watch menu -> Settings -> Connect to new Phone
Ofc I did that and it is last point on my already done list, but thanks anyway.
build.prop 302/5000 I had the same problem with lineage OS 16. The file in the main directory under System Folder Open and edit Build.prop. ro.product.brand = samsung ro.product.manufacture = samsung change samsung to htc for both entries and save. Then restart and everything will be fine. Greetings from Germany ---------- Post added 10th January 2020 at 12:15 AM ---------- Previous post was 9th January 2020 at 11:39 PM ---------- Gerade festgestellt dass du aus Deutschland bist, dann kann ich deutsch schreiben. Habe die App Galaxy Wearable entpackt und festgestellt, das in dem Ordner assets die Datei rules.xml die Regeln festgelegt sind zur Prüfung des Android Phones. supportTablet: false supportNonSamsung: true supportMultiConnection: false connectAsAudio: false hostMinMemory: 1024MB requiresPairing: true supportsBLEOnly: false switchGearTitleIcon: null Werde mal versuchen die Regeln zu löschen oder verändern und dann die apk neu installieren. Bei den Regeln ist der Hund begraben!