[Tilapia] Rom dont boot on tilapia but works on grouper? - Nexus 7 Q&A, Help & Troubleshooting

Hi,
I built a rom for tilapia which don't boot on tilapia but it boots on grouper and I hope some can give a hint to solve the problem (its an aosp rom, working fine on mako too).
(I think the problem is that dalvik crashes, but why? :
Code:
W/dalvikvm( 4808): No implementation found for native Ldalvik/system/Zygote;.nativeForkAndSpecialize:(II[II[[IILjava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 4808): Shutting down VM
W/dalvikvm( 4808): threadid=1: thread exiting with uncaught exception (group=0x4192fba8)
I/ServiceManager( 121): service 'media.audio_flinger' died
...
)
sorry for bad english
edit:
works now, thread may be closed or deleted

can u tell me how you fixed this?
Can you explain how you fixed it?
vetzki said:
Hi,
I built a rom for tilapia which don't boot on tilapia but it boots on grouper and I hope some can give a hint to solve the problem (its an aosp rom, working fine on mako too).
(I think the problem is that dalvik crashes, but why? :
Code:
W/dalvikvm( 4808): No implementation found for native Ldalvik/system/Zygote;.nativeForkAndSpecialize:(II[II[[IILjava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 4808): Shutting down VM
W/dalvikvm( 4808): threadid=1: thread exiting with uncaught exception (group=0x4192fba8)
I/ServiceManager( 121): service 'media.audio_flinger' died
...
)
sorry for bad english
edit:
works now, thread may be closed or deleted
Click to expand...
Click to collapse

Related

Missing method exception WM6.1

Hi all,
i'm trying to get a few apps work on my blackstone! They all worked on my WM6.0 device previously! any idea why im have problems. Please help.
Are there any new update from MS to resolve this issue!
G-meter dosent work!
Cheers
James
Jateu_01 said:
Hi all,
i'm trying to get a few apps work on my blackstone! They all worked on my WM6.0 device previously! any idea why im have problems. Please help.
Are there any new update from MS to resolve this issue!
G-meter dosent work!
Cheers
James
Click to expand...
Click to collapse
Check the wiki
Gives you a list of apps working on HD!
Applications
Programs/Utilities working on the Touch HD (1 - M)
Programs/Utilities working on the Touch HD (N - Z)
Games working on the Touch HD (A - Z)
Games that have been tested to work in Full screen Mode on a HD
EDIT
Wiki states that GMeter V2.11 Car Edition has no problem, full screen & fully functional..........so check which versioon of G Meter you have!!
All apps have been checked with Wiki first
Hi there,
Yep all apps should work! anothere error i get is a framework error!
Jateu_01 said:
Hi there,
Yep all apps should work! anothere error i get is a framework error!
Click to expand...
Click to collapse
What framework do you have installed. Have you NETCF 3.5 installed?
Unfortunately I do not have my phone sync'd today as I left my bloody cable at home, so I can't upload it for you. But you can download NETCF 3.5 & NETCF 3.5 Config here
Missing Method Exception, Method Not Found.
Hello,
I am developing a smart device application for win mo 6.0 smart phone using VS2008. When I run the code it works fine. However when I make a CAB and try to deploy the application. It throws an exception when tried to run. The exception is ...
Missing Method Exception
Method Not Found : set_PIN
Where PIN is an property declared in a class whose reference is added in the main program.
PLease Help.
Thanks in advance.
~ Mayur
Missing Method Exception, Method Not Found.
Hello,
I am developing a smart device application for win mo 6.0 smart phone using VS2008. When I run the code it works fine. However when I make a CAB and try to deploy the application. It throws an exception when tried to run. The exception is ...
Missing Method Exception
Methos Not Found : set_PIN
Where PIN is an property declared in a class whose reference is added in the main program.
PLease Help.
Thanks in advance.
~ Mayur
Is your CAB copying the file that is referenced when you install it?

P/Invoke FindWindow in WM6.5

Hi all,
Has anybody tried to P/Invoke FindWindow succesfully on WM6.5?
Not working, pointer returns zero with any window handle...
Thanks
param class cant be NULL in 6.5
Thanks. I think I also tried that. Will check again.
That's what they call backcompatiblity... LOL!
I already reported this same problem in an early ROM Beta:
http://forum.xda-developers.com/showpost.php?p=3393835&postcount=42
I thought it was a bug of the os build...
Maybe because it is not RTM yet?
Hey Potter:
You said...
mrpotter said:
param class cant be NULL in 6.5
Click to expand...
Click to collapse
I'm trying to confirm this. Is this official? Do you have any sources you can mention? Thanks.
C
i mean:
FindWindow(L"Class",L"window name") works
but FindWindow(NULL,L"window name") won't work
I have confirmed that too...

[PRJ]Toshiba TG01 Linux Kernel side development

I guess we need a place to continue development on the kernel, gonna clone Markinus kernel soon
edit: or maybe start from scratch with latest kernel version
Edit:
a new test build uped by tailormoon: http://depositfiles.com/files/7xbbcwk5o
Website: http://toshdevs.nyl.ro/
list of known chips: http://toshdevs.nyl.ro/showthread.php?tid=4
for irc:
server: androidirc.org
channel: #toshdevs and #android
web irc chat:
http://nyl.ro:9090/?channels=toshdevs,android&uio=d4
or
http://toshdevs.nyl.ro/cgi-bin/irc.cgi
thank you for kickstarting the development again!
nyl..... i can help you ... only for test your prodact, (mama ei de engleza)
well that's good to hear i would just like to see that work so we can compare what is better for our tg01. gj bro and keep going!
i help you for testing...
hope we get those HQ pics
I tried to compile Markinus kernel and get below error
CC arch/arm/mach-msm/board-tsunagi-power.o
arch/arm/mach-msm/board-tsunagi-power.c:53: error: variable 'usb_status_notifier' has initializer but incomplete type
arch/arm/mach-msm/board-tsunagi-power.c:54: error: unknown field 'name' specified in initializer
arch/arm/mach-msm/board-tsunagi-power.c:54: warning: excess elements in struct initializer
arch/arm/mach-msm/board-tsunagi-power.c:54: warning: (near initialization for 'usb_status_notifier')
arch/arm/mach-msm/board-tsunagi-power.c:55: error: unknown field 'func' specified in initializer
arch/arm/mach-msm/board-tsunagi-power.c:55: warning: excess elements in struct initializer
arch/arm/mach-msm/board-tsunagi-power.c:55: warning: (near initialization for 'usb_status_notifier')
arch/arm/mach-msm/board-tsunagi-power.c: In function 'tsunagi_power_init':
arch/arm/mach-msm/board-tsunagi-power.c:186: error: implicit declaration of function 'usb_register_notifier'
Please suggest how do I go about it?
Thanks
nyl> If you want more people to test I would suggest that you remove that android storing the text messages to the SIM card. As when you return to windows they are still stored on the SIM meaning you have to hard reset your phone a few times to get it to be back to normal.
Anyway.. I'm always ready to help test, but is there any other way I can support you?
glad to see android not dead on tg01
a
11calcal said:
glad to see android not dead on tg01
Click to expand...
Click to collapse
it's on life support but I don't hold out much hope for it.
I now have a HD2 as my main phone so if you want some tests I can do them on my TG01
Drop me a line
android port revival on tg01
qinwengui said:
I tried to compile Markinus kernel and get below error
CC arch/arm/mach-msm/board-tsunagi-power.o
arch/arm/mach-msm/board-tsunagi-power.c:53: error: variable 'usb_status_notifier' has initializer but incomplete type
arch/arm/mach-msm/board-tsunagi-power.c:54: error: unknown field 'name' specified in initializer
arch/arm/mach-msm/board-tsunagi-power.c:54: warning: excess elements in struct initializer
arch/arm/mach-msm/board-tsunagi-power.c:54: warning: (near initialization for 'usb_status_notifier')
arch/arm/mach-msm/board-tsunagi-power.c:55: error: unknown field 'func' specified in initializer
arch/arm/mach-msm/board-tsunagi-power.c:55: warning: excess elements in struct initializer
arch/arm/mach-msm/board-tsunagi-power.c:55: warning: (near initialization for 'usb_status_notifier')
arch/arm/mach-msm/board-tsunagi-power.c: In function 'tsunagi_power_init':
arch/arm/mach-msm/board-tsunagi-power.c:186: error: implicit declaration of function 'usb_register_notifier'
Please suggest how do I go about it?
Thanks
Click to expand...
Click to collapse
Hello. I was at the point of kindly asking Markinus what to do about this error, as I've got the same error as qinwengui above. However after some googling found out that t_usb_register_notifier was often defined in board.h and alike, so checked master branch (not linux-tg01 branch) and found the struct definition. Right now kernel has resumed compilation, not finished yet. I will keep you updated. Do not put expectations high as I don't have much experience with drivers for android, but I have some ideas in mind like: trying to grab htc leo driver for wi-fi, gdisassm of windows 6.5 wi-fi to at least find some offsets and device ids and such. Maybe we can have wi-fi soon. Me developer mainly in C++ under windows, but with knowledge of linux slackware going back to 1.2.13 ... in the past 2 days I've got ubuntu and downloaded a lot of stuff, set up my ubuntu on the laptop, followed up endrix tutorial, got both git sources from markinus/gitorious and endrix/toshdroid, I'll get as much info as possible.
I Compared with 12.11 and the last kernel, I compilation with last kernel,but call and power not work. compilation 12.11
kernel can work.I think that can be used to compilation with tg03's source,but i compilation a zImage with T01C_TER018_38.tar ,the kernel not work.
Howell said:
I now have a HD2 as my main phone so if you want some tests I can do them on my TG01
Drop me a line
Click to expand...
Click to collapse
I did the same, gave up on my tg01 - bought an hd2 on ebay for £165, best purchase i ever made!
Omule, închide-ți threadurile că au ajuns contoare de posturi pentru toți papagalii care se trezesc vorbind și care fac voluntar sau involuntar thread crapping. Deja pe ultimele pagini IQ-ul posterilor e căzut rău sub 100 și raportul semnal-zgomot e la cote alarmante.
Respect și toate bune.
Scuze, pe acesta nu-l omorati inca. Multumesc. A fost doar o pauza de o saptamana, fara laptop. Reincep munca de maine seara.
Excuse me, don't kill this thread yet, as I've just paused for a while. I am resuming work tomorrow evening. Last status was that I've got finally some december branch working fine, and I'm now inspecting the changes to get those compilable as well. I will keep you updated.
vasilica2008 said:
Omule, închide-ți threadurile că au ajuns contoare de posturi pentru toți papagalii care se trezesc vorbind și care fac voluntar sau involuntar thread crapping. Deja pe ultimele pagini IQ-ul posterilor e căzut rău sub 100 și raportul semnal-zgomot e la cote alarmante.
Respect și toate bune.
Click to expand...
Click to collapse
Excuse me! You have been warned before about not posting in other languages!!! Post in english! Follow the rules! Or you will get a ban!
really if u don't know english pls use google translator!
Slightly confused. How come you have gone back in some builds? I thought the last build from Markinus was working? (Apart from missing drivers etc?)
How can I be of help to you btw?
i'm so sorry to say but i am forced to sell my tg01, because i'm kinda bankrupt, so i'm sorry to say but i gonna keep only my hd2
for those from Romania that want to buy it, i'm selling it for 550RON
we can't evolve much on this phone without clear technical info, I wouldn't sell it, but hey that's life can someone close/delete the thread and start a new one?

[Q] Downloading a file from web on >= 4.0

Hey,
First of all I want to say that I'm from Germany, so please don't kill me for my english
I am new to developing apps for android, but I have gathered some experiences in Java.
I am working with the eclipse android developer tool extension.
I want the app to download a file from the internet and store it in a string-variable.
The app should be upward compatible from android 2.2 (Froyo).
But if it's not possible to be both, android >= 4.0 should be enough.
With the following code the download works, but only below android 4.0 (IceCreamSandwich):
Code:
public static String downloadFile(String u) {
StringBuffer s = new StringBuffer("");
try {
URL url = new URL(u);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConnection.setRequestMethod("GET");
urlConnection.setDoOutput(true);
urlConnection.connect();
InputStream inputStream = urlConnection.getInputStream();
BufferedReader r = new BufferedReader(new InputStreamReader(inputStream));
String x = r.readLine();
while(x!= null){
s.append(x+"\n");
x = r.readLine();
}
} catch (MalformedURLException e) {
e.printStackTrace();
return "ERROR";
} catch (IOException e) {
e.printStackTrace();
return "ERROR";
}
return s.toString();
}
The LogCat says:
05-20 14:31:20.172: E/AndroidRuntime(542): FATAL EXCEPTION: main
05-20 14:31:20.172: E/AndroidRuntime(542): android.os.NetworkOnMainThreadException
05-20 14:31:20.172: E/AndroidRuntime(542): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1084)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:74)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.io.IoBridge.connect(IoBridge.java:112)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
05-20 14:31:20.172: E/AndroidRuntime(542): at java.net.Socket.connect(Socket.java:842)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:77)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.connect(HttpEngine.java:303)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232)
05-20 14:31:20.172: E/AndroidRuntime(542): at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
05-20 14:34:17.322: W/System.err(596): at com.tobstar.testProject.DownloaderClass.downloadFile(DownloaderClass.java:28)
Click to expand...
Click to collapse
The NetworkOnMainThreadException does not say anything.
The permissions for "android.permission.INTERNET" are set, too.
Do I have forgotten anything?
Can someone tell me how I can download a file and read even on andoid >= 4.0 me?
Thank you very much
- tob.star
All of my internet apps have been for 2.3 so I can't give any code examples. But the error in my mind means that in 4.0, they want all network processes to run on a secondary thread and not the main (UI) thread. You will need to create a secondary thread and run your download from there.
Thank you very much!
Problem solved :good: :laugh:
Just to metion that an asynctask is more efficient than a simple thread and when you get used to it more simple.
mushrom said:
Just to metion that an asynctask is more efficient than a simple thread and when you get used to it more simple.
Click to expand...
Click to collapse
You can use a Thread, too. I use Threads in combination with Handlers.
An AsyncTask is a wrapper around those two classes. It might be easier but you can use both.
nikwen said:
You can use a Thread, too. I use Threads in combination with Handlers.
An AsyncTask is a wrapper around those two classes. It might be easier but you can use both.
Click to expand...
Click to collapse
I know, but asynctasks also provides a thread pool wich makes them more efficient, and handlers are not so usefull when you want to make your code reusable.
mushrom said:
I know, but asynctasks also provides a thread pool wich makes them more efficient, and handlers are not so usefull when you want to make your code reusable.
Click to expand...
Click to collapse
I did not know that. Thanks. :good:

Finow/Lemfo WatchHelper app - handling force close

I'm struggling with WatchHelper application with my Finow X5+ (AFAIK Lemfo LEM5 is the same) to get it working more stable - no FC, proper reconnects (after link is lost), get rid of awful "link lost" sound&alert.
I've noticed that FC is caused by SecurityException (Android 6.0 on MotoX 2014):
Code:
01-30 17:37:53.484 E/AndroidRuntime( 7304): FATAL EXCEPTION: main
01-30 17:37:53.484 E/AndroidRuntime( 7304): Process: com.android.BluetoothSocketTest:remote, PID: 7304
[COLOR="Red"]01-30 17:37:53.484 E/AndroidRuntime( 7304): java.lang.SecurityException: com.android.BluetoothSocketTest from uid 10103 not allowed to perform SYSTEM_ALERT_WINDOW[/COLOR]
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1599)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1552)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.IWindowSession$Stub$Proxy.addToDisplay(IWindowSession.java:747)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.ViewRootImpl.setView(ViewRootImpl.java:543)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.app.Dialog.show(Dialog.java:319)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at com.android.BluetoothSocketTest.ag.handleMessage(Unknown Source)
so I gave this permission (using App Ops) and it's a lot better now, no FC at all And I've gained auto-reconnections working also. So double win.
But I'd like to know if other users are in the same situation - if you use Watch Helper try to get logcat (CatLog from app store, root required) and search for "FATAL EXCEPTION". Then share here all stacktrace. I'd like to verify if there are different problems with this app or it's just this.
Second thing is to get rid of awful "link loss" sound & alert window. I've just wrote XPosed module and it looks like it's working. Still in alpha phase, but after few days of use I'll publish it with source code. Maybe someone will be interested in continuing it?
Hi,
I have the same problem. with a galaxy s7 edge and a lemfo lem5.
Is there any chance to give that permitions without root privileges ?
rufik said:
I'm struggling with WatchHelper application with my Finow X5+ (AFAIK Lemfo LEM5 is the same) to get it working more stable - no FC, proper reconnects (after link is lost), get rid of awful "link lost" sound&alert.
I've noticed that FC is caused by SecurityException (Android 6.0 on MotoX 2014):
Code:
01-30 17:37:53.484 E/AndroidRuntime( 7304): FATAL EXCEPTION: main
01-30 17:37:53.484 E/AndroidRuntime( 7304): Process: com.android.BluetoothSocketTest:remote, PID: 7304
[COLOR="Red"]01-30 17:37:53.484 E/AndroidRuntime( 7304): java.lang.SecurityException: com.android.BluetoothSocketTest from uid 10103 not allowed to perform SYSTEM_ALERT_WINDOW[/COLOR]
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1599)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.os.Parcel.readException(Parcel.java:1552)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.IWindowSession$Stub$Proxy.addToDisplay(IWindowSession.java:747)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.ViewRootImpl.setView(ViewRootImpl.java:543)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at android.app.Dialog.show(Dialog.java:319)
01-30 17:37:53.484 E/AndroidRuntime( 7304): at com.android.BluetoothSocketTest.ag.handleMessage(Unknown Source)
so I gave this permission (using App Ops) and it's a lot better now, no FC at all And I've gained auto-reconnections working also. So double win.
But I'd like to know if other users are in the same situation - if you use Watch Helper try to get logcat (CatLog from app store, root required) and search for "FATAL EXCEPTION". Then share here all stacktrace. I'd like to verify if there are different problems with this app or it's just this.
Second thing is to get rid of awful "link loss" sound & alert window. I've just wrote XPosed module and it looks like it's working. Still in alpha phase, but after few days of use I'll publish it with source code. Maybe someone will be interested in continuing it?
Click to expand...
Click to collapse
Hi. Have same issue with my Galaxy S8plus and Finow X5air. my phone is not rooted and I try to return this watches but if I will find a solution I will keep this watch Any Idea what to do
Thank you

Categories

Resources