Flashing Issues - G1 Q&A, Help & Troubleshooting

I got my G1 last December. Like a lot of other people, I rooted it right away, and started testing other ROMs that are out there before settling on one that I liked.
In Mid February I gave SuperD a shot, and loved it. I stuck with it for a while, and then yesterday I decided to give his latest version a go, v1.9.3.
I flashed it the same way that any ROM is done. Using RA Recovery (1.6.2), wiping all data, hell, I even repartitioned my SD Card. I then flashed the .zip, and started the boot process.
Once it was booted, the first thing to appear on the screen was an FC Message for the Setup Wizard. It appeared before the "Click The Android" to begin message showed up. After pressing the FC button, it reappeared in a few seconds. Below is the part of the log file that kept cycling every time I hit the FC Button:
Code:
I/ActivityManager( 72): Process com.android.setupwizard (pid 397) has died.
I/ActivityManager( 72): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.setupwiza
rd/.SetupWizardActivity }
I/ActivityManager( 72): Start proc com.android.setupwizard for activity com.an
droid.setupwizard/.SetupWizardActivity: pid=406 uid=10014 gids={3003}
W/UsageStats( 72): Something wrong here, didn't expect com.android.setupwizard
to be resumed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Netw
orkMonitor$Callback; (285)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/NetworkMonitor$Callba
ck;' failed
I/dalvikvm( 406): Failed resolving Lcom/android/setupwizard/BaseActivity; inter
face 204 'Lcom/android/setupwizard/NetworkMonitor$Callback;'
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/BaseActivity;' failed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Setu
pWizardActivity; (165)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/SetupWizardActivity;'
failed
D/AndroidRuntime( 406): Shutting down VM
W/dalvikvm( 406): threadid=3: thread exiting with uncaught exception (group=0x4
001da28)
E/AndroidRuntime( 406): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 406): java.lang.RuntimeException: Unable to instantiate activ
ity ComponentInfo{com.android.setupwizard/com.android.setupwizard.SetupWizardAct
ivity}: java.lang.ClassNotFoundException: com.android.setupwizard.SetupWizardAct
ivity in loader [email protected]
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2324)
E/AndroidRuntime( 406): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2417)
E/AndroidRuntime( 406): at android.app.ActivityThread.access$2100(Activi
tyThread.java:116)
E/AndroidRuntime( 406): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1794)
E/AndroidRuntime( 406): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 406): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 406): at android.app.ActivityThread.main(ActivityThrea
d.java:4203)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 406): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 406): Caused by: java.lang.ClassNotFoundException: com.androi
d.setupwizard.SetupWizardActivity in loader [email protected]
68
E/AndroidRuntime( 406): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:243)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:573)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:532)
E/AndroidRuntime( 406): at android.app.Instrumentation.newActivity(Instr
umentation.java:1097)
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2316)
E/AndroidRuntime( 406): ... 11 more
I/Process ( 72): Sending signal. PID: 406 SIG: 3
I/dalvikvm( 406): threadid=7: reacting to signal 3
E/dalvikvm( 406): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 72): Added state dump to 1 crashes I/ActivityManager( 72): Process com.android.setupwizard (pid 397) has died.
I/ActivityManager( 72): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.setupwiza
rd/.SetupWizardActivity }
I/ActivityManager( 72): Start proc com.android.setupwizard for activity com.an
droid.setupwizard/.SetupWizardActivity: pid=406 uid=10014 gids={3003}
W/UsageStats( 72): Something wrong here, didn't expect com.android.setupwizard
to be resumed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Netw
orkMonitor$Callback; (285)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/NetworkMonitor$Callba
ck;' failed
I/dalvikvm( 406): Failed resolving Lcom/android/setupwizard/BaseActivity; inter
face 204 'Lcom/android/setupwizard/NetworkMonitor$Callback;'
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/BaseActivity;' failed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Setu
pWizardActivity; (165)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/SetupWizardActivity;'
failed
D/AndroidRuntime( 406): Shutting down VM
W/dalvikvm( 406): threadid=3: thread exiting with uncaught exception (group=0x4
001da28)
E/AndroidRuntime( 406): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 406): java.lang.RuntimeException: Unable to instantiate activ
ity ComponentInfo{com.android.setupwizard/com.android.setupwizard.SetupWizardAct
ivity}: java.lang.ClassNotFoundException: com.android.setupwizard.SetupWizardAct
ivity in loader [email protected]
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2324)
E/AndroidRuntime( 406): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2417)
E/AndroidRuntime( 406): at android.app.ActivityThread.access$2100(Activi
tyThread.java:116)
E/AndroidRuntime( 406): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1794)
E/AndroidRuntime( 406): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 406): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 406): at android.app.ActivityThread.main(ActivityThrea
d.java:4203)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 406): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 406): Caused by: java.lang.ClassNotFoundException: com.androi
d.setupwizard.SetupWizardActivity in loader [email protected]
68
E/AndroidRuntime( 406): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:243)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:573)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:532)
E/AndroidRuntime( 406): at android.app.Instrumentation.newActivity(Instr
umentation.java:1097)
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2316)
E/AndroidRuntime( 406): ... 11 more
I/Process ( 72): Sending signal. PID: 406 SIG: 3
I/dalvikvm( 406): threadid=7: reacting to signal 3
E/dalvikvm( 406): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 72): Added state dump to 1 crashes
I reflashed this ROM a few times, sometimes repartitioning, sometimes wiping, sometimes both...tried with ext[2,3,4], sometimes fixing the permissions, sometimes not.
No matter what I did, it would not let me get to the point where I could skip the setup wizard.
I tried numerous 1.6 based ROMs, including official releases from T-Mo, and Enoms 2.6.2 Base. Each and every ROM is giving me the same problems with the Setup Wizard being FCd.
I was working with Shadoch31 yesterday, and he recommended that I un-root, to bring the core of everything back to stock, which I did. The un-rooted device boots up fine, and I see the generic OS that came with the G1 when it was initially purchased.
I then re-rooted, upgraded the radio to 2.22.19.26i, upgraded the SPL to Hykuro's Death, and then tried to flash another custom ROM. I do not recall which one I tried to flash this time around, but I received the same exact problems.
One thing I noticed when the new ROM is booting, is the mountpoints seem a little bit odd...here is what I have:
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 52.3M 0 52.3M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 90.0M 72.0M 18.0M 80% /system
/dev/block/mtdblock5 89.8M 7.4M 82.4M 8% /data
/dev/block/mtdblock4 30.0M 1.2M 28.8M 4% /cache
/dev/block/mmcblk0p2 457.4M 26.8M 406.2M 6% /system/sd
/dev/block/mmcblk0p2 457.4M 26.8M 406.2M 6% /data/dalvik-cache
Click to expand...
Click to collapse
In the past, I remember seeing that /system/[app,app-private,dalvik-cache] symlinked to system/sd/[app,app-private,dalvik-cache], but, that is not the case in any rom I try now. Also, /system/sd/app remains empty, with no applications in there. And there are times when I see a zero length file in there named 'placeholder'.
Below is the output of 'busybox ls -lL /system':
# busybox ls -lL /system
busybox ls -lL /system
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 app
drwxr-xr-x 1 0 2000 2048 Aug 26 14:38 bin
-rw-r--r-- 1 0 0 951 Aug 1 2008 build.prop
-rw-r--r-- 1 0 0 1426 Aug 1 2008 build.sapphire.prop
-rw-r--r-- 1 0 0 1395 Aug 1 2008 build.trout.prop
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 etc
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 fonts
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 framework
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 lib
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 lost+found
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 media
drwxrwx--x 6 1000 1000 1024 Aug 26 01:40 sd
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 tts
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 usr
drwxr-xr-x 1 0 2000 2048 Aug 26 14:38 xbin
Click to expand...
Click to collapse
And here is ls -lL /data:
busybox ls -lL
drwxrwxrwx 1 1000 1000 2048 Aug 26 01:59 anr
drwxrwx--x 2 1000 1000 1024 Aug 26 14:43 app
drwxrwx--x 2 1000 1000 1024 Aug 26 01:40 app-private
drwxrwx--x 2 1000 1000 5120 Aug 26 14:43 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Aug 26 14:43 data
drwxrwx--x 1 2000 2000 2048 Aug 26 01:59 local
drwxrwx--- 1 0 0 2048 Aug 26 01:59 lost+found
drwxrwx--t 1 1000 9998 2048 Aug 26 14:41 misc
drwx------ 1 0 0 2048 Aug 26 01:59 property
drwxrwxr-x 1 1000 1000 2048 Aug 26 14:47 system
Click to expand...
Click to collapse
I am not seeing any symlinks anywhere...now, there may be a new process for using apps2sd, which does not require symlinks, which I am not aware of.
Logcat from HTC Clay 2.3: http://pastebin.com/KDjtA6YC
Logcat from HTC Clay 3.0.3: http://pastebin.com/DnYQYx2b
You can see in both of those log files that there is a lot of looping going on.
Does anyone have any ideas of what might be going wrong? I have tried different SD cards, different partitioning schemes, different ways of downloading and transferring the ROMs to the SD card, etc. I even verified MD5 sums when they were provided. Everything checks out just as it should, but it is still a no-go.
Both Shadoch31 and I are completely stumped, and have decided to see if anyone else can shed some light as to what might be causing this hicup in my flashing process.

Anyone that can help on this would be greatly appreciated as both of us have seriously tried everything I can think of! What gets me is returning to unrooted solved this to begin with but the second a rom is flashed it collapses again. Really would love someone with more knowledge to help me out here as its had me up all night. With the placeholder settings it reminds me of MT3G setup but its a G1 with danger spl and radio, amon v1.6.2.
I'm stumped :-(

shadowch31 said:
Anyone that can help on this would be greatly appreciated as both of us have seriously tried everything I can think of! What gets me is returning to unrooted solved this to begin with but the second a rom is flashed it collapses again. Really would love someone with more knowledge to help me out here as its had me up all night. With the placeholder settings it reminds me of MT3G setup but its a G1 with danger spl and radio, amon v1.6.2.
I'm stumped :-(
Click to expand...
Click to collapse
Shadow: Is there any other information that I could provide that might help others with diagnosing this problem? I have the 2 logcat files linked in the OP, and I think I have provided all of the relevant information. But, if there is anything else that you can think of that might help, let me know, and I will edit the post and add it.

jmhecker said:
Shadow: Is there any other information that I could provide that might help others with diagnosing this problem? I have the 2 logcat files linked in the OP, and I think I have provided all of the relevant information. But, if there is anything else that you can think of that might help, let me know, and I will edit the post and add it.
Click to expand...
Click to collapse
Nothing at all more I can think of, that has to be the single best post ever for providing proper details and logs

Okay update.
Unrooted works correctly.
Eclair 2.1 works correctly.
1.5 1 and 1.6 roms setup dies.
I'm beyond baffled.

As Shadow said in his previous post, there is an update to my situation. I am unable to flash any 1.5 or 1.6 ROMs. Well, they flash, but always are crashing during the setup wizard (FCing before I can skip out of it to use the Market to sign in). However, I am able to flash 2.1 based Eclair ROMs. (I have not tried a 2.0 for the main reason being 2.1 is newer, heh). The 2.1 works great. I can flash it, do the Setup Wizard on first boot, upgrade GMaps, use the net, make phone calls, etc. I can't do the things that it is not able to do yet, obviously (camcorder, 3d games, etc).
But, Shadow did mention something in a PM to me that got me thinking...before I post what he said though, I will admit that it confuses me a little bit, as I am not 100% fluent in the way that the ROMs detect what type of phone you have (MT3G or G1).
He stated that from the log files it looks as if the ROM is seeing the phone as an MT3G and is using placeholders (which it is using), and not creating the symlinks properly. We can not figure out why it is being detected as an MT3G. The Recovery image allows usage of the physical/hard keyboard, so we know the recovery knows it is a G1.
He also stated that because of the placeholdings that there was the possibility that the ext partition was messed up somehow, and that I should get a new card. But, we ruled that out by using multiple cards that I have (standard SD 2 gig, 4gig class 2, 8 gig class 6, etc). We also tried removing all of the partitions, and having only 1 large FAT32 partition, which didn't help...placeholders were still being used.
Again, I am not 100% fluent with the inner workings of the ROMs and the setup scripts to know how they detect which device I am using...or if it even matters. But, I thought I would pass the information along, in case it can help someone in pinpointing my problem.

Flashing, rebooting, repartitioning, wiping, not wiping, not repartitioning, unrooting, re-rooting, etc. I have tried every possible combination that I could possibly think of today, to no avail.
I know the ROMs are good, as I have verified the MD5 sums and generated SHA1 checksums each step of the way and after each transfer (from the web to my PC, PC to sdcard, web to sdcard, or web to phone, etc. All values are the same each and every time. (different values for diff ROMs, obviously).
I am past the point of being amused and stumped, and to the point of being aggravated that I can not seem to get this to work anymore. I have successfully flashed many 1.5/1.6 ROMs in the past, but now it is refusing to work.
Anyone have any ideas?

Related

Swype for all HVGA devices. OFFICIAL VERSION IS HERE!!! 3/06

Here is a release of Swype for the G1/any other android device. It should work on any build of any rom. (as long as it is android 1.5+)
Install it like a normal app and then enable swype in settings>locale&text
*UPDATE*
I made a new version of the app that should fix a few of the slowdowns it has. Download it over at iq0. In order to have 0 crashes in the new one, you have to disable sounds. Then you can do whatever you want.
It should also work for everyone now! No more install error!
http://bit.ly/69ZgH1
Enjoy
Update #2
The OFFICIAL leaked update is on my site now. Same link as above ^^. It should work 100% for everyone, but I haven't tested it. If it won't install for you, uninstall the old one. Thanks Zappletoo
Update #3 OFFICIAL beta Link to the site in the post.
Thanks =D
But I notice that you say 1.5, is this because it is the only you thingyou have testes it on, or because it will crash on 1.6+?
JAguirre1231 said:
But I notice that you say 1.5, is this because it is the only you thingyou have testes it on, or because it will crash on 1.6+?
Click to expand...
Click to collapse
I would guess not, as it was originally built for larger screens (Liquid, Droid) which are both 1.6+
Branwen said:
I would guess not, as it was originally built for larger screens (Liquid, Droid) which are both 1.6+
Click to expand...
Click to collapse
Ah okay, well he edited. Now it says 1.5+, so I'm gonna try it
I can't install it onto my phone. It says this application cannot be installed onto this phone. I'm running Super D 1.6 on a rooted mytouch3g. any ideas?
Tempestrs4 said:
I can't install it onto my phone. It says this application cannot be installed onto this phone. I'm running Super D 1.6 on a rooted mytouch3g. any ideas?
Click to expand...
Click to collapse
What does it say in logcat? Anyone else having this issue?
persiansown said:
What does it say in logcat? Anyone else having this issue?
Click to expand...
Click to collapse
Same problem on my Magic with CM 4.2.13 ROM
I dont' have a magic to test it out on. What is it saying in logcat?
Persian, do you know when another release for the G1 will come out? The one I got from this thread is working great, but there are a few bugs. I was wondering when they would be fixed, if you know.
Thanks,
Chris
persiansown said:
I dont' have a magic to test it out on. What is it saying in logcat?
Click to expand...
Click to collapse
Where can i find it ?
ChrispyChris said:
Persian, do you know when another release for the G1 will come out? The one I got from this thread is working great, but there are a few bugs. I was wondering when they would be fixed, if you know.
Thanks,
Chris
Click to expand...
Click to collapse
I'm the one who modified this to work on the G1. So updates come out when I fix the bugs. haha
Maymaymay: type adb logcat into adb.
persiansown said:
Maymaymay: type adb logcat into adb.
Click to expand...
Click to collapse
I hope that's what You need:
Code:
D/dalvikvm(21476): GC freed 9822 objects / 511168 bytes in 106ms
I/ActivityManager( 100): Starting activity: Intent { act=android.intent.action.
VIEW dat=file:///sdcard/install/signed-swypetest_2.apk typ=application/vnd.andro
id.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity }
I/PackageParser(21466): Impliciting adding android.permission.WRITE_EXTERNAL_STO
RAGE to old pkg com.swype.android.inputmethod
I/PackageParser(21466): Impliciting adding android.permission.READ_PHONE_STATE t
o old pkg com.swype.android.inputmethod
I/installd( 85): free_cache(8195932) avail 238817280
I/ActivityManager( 100): Displayed activity com.android.packageinstaller/.Packa
geInstallerActivity: 171 ms (total 171 ms)
W/InputManagerService( 100): Starting input on non-focused client com.android.i
[email protected] (uid=10057 pid=21476)
I/ActivityManager( 100): Starting activity: Intent { dat=file:///data/data/com.
android.packageinstaller/files/signed-swypetest_2.apk cmp=com.android.packageins
taller/.InstallAppConfirmation (has extras) }
I/PackageParser(21466): Impliciting adding android.permission.WRITE_EXTERNAL_STO
RAGE to old pkg com.swype.android.inputmethod
I/PackageParser(21466): Impliciting adding android.permission.READ_PHONE_STATE t
o old pkg com.swype.android.inputmethod
I/ActivityManager( 100): Displayed activity com.android.packageinstaller/.Insta
llAppConfirmation: 242 ms (total 242 ms)
I/InstallAppConfirmation(21466): result ok
I/ActivityManager( 100): Starting activity: Intent { dat=file:///data/data/com.
android.packageinstaller/files/signed-swypetest_2.apk cmp=com.android.packageins
taller/.InstallAppProgress (has extras) }
W/InputManagerService( 100): Starting input on non-focused client com.android.i
[email protected] (uid=10021 pid=21466)
I/ActivityManager( 100): Displayed activity com.android.packageinstaller/.Insta
llAppProgress: 140 ms (total 140 ms)
D/PackageParser( 100): Scanning package: /data/app/vmdl17241.tmp
W/PackageParser( 100): Exception reading /data/app/vmdl17241.tmp
W/PackageParser( 100): java.lang.SecurityException: META-INF/SWYPE-AN.SF has in
valid digest for assets/files/Spanish-full.htm in /data/app/vmdl17241.tmp
W/PackageParser( 100): at java.util.jar.JarVerifier.verifyCertificate(J
arVerifier.java:370)
W/PackageParser( 100): at java.util.jar.JarVerifier.readCertificates(Ja
rVerifier.java:273)
W/PackageParser( 100): at java.util.jar.JarFile.getInputStream(JarFile.
java:416)
W/PackageParser( 100): at android.content.pm.PackageParser.loadCertific
ates(PackageParser.java:285)
W/PackageParser( 100): at android.content.pm.PackageParser.collectCerti
ficates(PackageParser.java:447)
W/PackageParser( 100): at com.android.server.PackageManagerService.inst
allPackageLI(PackageManagerService.java:3932)
W/PackageParser( 100): at com.android.server.PackageManagerService.acce
ss$1500(PackageManagerService.java:104)
W/PackageParser( 100): at com.android.server.PackageManagerService$5.ru
n(PackageManagerService.java:3449)
W/PackageParser( 100): at android.os.Handler.handleCallback(Handler.jav
a:587)
W/PackageParser( 100): at android.os.Handler.dispatchMessage(Handler.ja
va:92)
W/PackageParser( 100): at android.os.Looper.loop(Looper.java:123)
W/PackageParser( 100): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
D/dalvikvm( 100): GC freed 10842 objects / 894264 bytes in 245ms
D/dalvikvm(21466): GC freed 3123 objects / 264960 bytes in 101ms
D/ (21466): unable to unlink '/data/data/com.android.packageinstaller/fil
es/signed-swypetest_2.apk': No such file or directory (errno=2)
D/dalvikvm(21466): GC freed 3168 objects / 221936 bytes in 104ms
persiansown said:
I'm the one who modified this to work on the G1. So updates come out when I fix the bugs. haha
Click to expand...
Click to collapse
Well get to work then! Ha. I'm kidding, I appreciate the work you did on this. I just found out about it this morning and then was disappointed when it wasn't working on the G1. I did a Google search and found you had a link to it. I appreciate it.
Do you plan on posting your updates in this thread?
I got this to install by opening it up, deleting all the files in META-INF and resigning...
bump this up - i've been using a fender rom (with no gps) on my magic pretty much solely for the keyboard. I got this working by using adb install <.apk> instead of packageinstaller on the phone.
It's great, only bug i've found so far is long hold on the backspace
thanks for the hard work, hopefully you can get it going flawlessly
edit: so i made swpye fall over, then when trying to get it back it gives me this logcat:
Code:
W/InputMethodManager( 142): IME died: com.swype.android.inputmethod/.SwypeInputMethod dropping: KeyEvent{action=0 code=82 repeat=0 meta=0 scancode=139 mFlags=8}
W/InputMethodManager( 142): android.os.DeadObjectException
W/InputMethodManager( 142): at android.os.BinderProxy.transact(Native Method)
W/InputMethodManager( 142): at com.android.internal.view.IInputMethodSession$Stub$Proxy.dispatchKeyEvent(IInputMethodSession.java:289)
W/InputMethodManager( 142): at android.view.inputmethod.InputMethodManager.dispatchKeyEvent(InputMethodManager.java:1335)
W/InputMethodManager( 142): at android.view.ViewRoot.deliverKeyEvent(ViewRoot.java:2165)
W/InputMethodManager( 142): at android.view.ViewRoot.handleMessage(ViewRoot.java:1518)
W/InputMethodManager( 142): at android.os.Handler.dispatchMessage(Handler.java:99)
W/InputMethodManager( 142): at android.os.Looper.loop(Looper.java:123)
W/InputMethodManager( 142): at android.app.ActivityThread.main(ActivityThread.java:3948)
W/InputMethodManager( 142): at java.lang.reflect.Method.invokeNative(Native Method)
W/InputMethodManager( 142): at java.lang.reflect.Method.invoke(Method.java:521)
W/InputMethodManager( 142): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
W/InputMethodManager( 142): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
W/InputMethodManager( 142): at dalvik.system.NativeStart.main(Native Method)
and another one. this is swype falling over after a long press of the backspace:
Code:
D/AndroidRuntime( 707): Shutting down VM
W/dalvikvm( 707): threadid=3: thread exiting with uncaught exception (group=0x40013140)
E/AndroidRuntime( 707): Uncaught handler: thread main exiting due to uncaught exception
D/dalvikvm( 707): GC freed 15473 objects / 620440 bytes in 153ms
E/AndroidRuntime( 707): android.content.res.Resources$NotFoundException: File res/raw/beep.wav from drawable resource ID #0x7f050000
E/AndroidRuntime( 707): at android.content.res.Resources.openRawResourceFd(Resources.java:814)
E/AndroidRuntime( 707): at com.swype.android.inputmethod.SwypeInputMethod$1.handleMessage(SwypeInputMethod.java:329)
E/AndroidRuntime( 707): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 707): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 707): at android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 707): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 707): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 707): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 707): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 707): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 707): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
E/AndroidRuntime( 707): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
E/AndroidRuntime( 707): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:412)
E/AndroidRuntime( 707): at android.content.res.Resources.openRawResourceFd(Resources.java:811)
E/AndroidRuntime( 707): ... 9 more
I/Process ( 84): Sending signal. PID: 707 SIG: 3
I/dalvikvm( 707): threadid=7: reacting to signal 3
I/AlertDialog( 84): [onCreate] auto launch SIP.
W/WindowManager( 84): No window to dispatch pointer action 1
D/dalvikvm( 492): GC freed 2066 objects / 104000 bytes in 95ms
D/dalvikvm( 492): GC freed 1223 objects / 61416 bytes in 95ms
D/dalvikvm( 142): GC freed 13522 objects / 1058792 bytes in 175ms
march83 said:
and another one. this is swype falling over after a long press of the backspace:
Click to expand...
Click to collapse
He KNOWS of these problems.
ok i've got it running pretty much fine now - it's throwing heaps of warnings to the logcat, but from a user point of view it's doing what it's meant to do i think...
the thing that was making it fall over more often than not was a missing sound resource so you can just go setting-> location and text-> swype-> disable sounds. not sure if this is a compressed resource or what, but it's looking for the file path shown below so i guess you could make that yourself and see what happens, but tbh i cbf, i just want to get it working for the meantime:
Code:
E/AndroidRuntime( 707): android.content.res.Resources$NotFoundException: File res/raw/beep.wav from drawable resource ID #0x7f050000
i also pushed the keychars and keylayout files from the fender build i had been using. not sure if that actually helped but i had been seeing a logcat message saying something about an incorrect layout file and that seems to have gone now.
take the 2 files and do this:
adb push sapphire-keypad.kcm.bin system/usr/keychars/
adb push sapphire-keypad.kl system/usr/keylayout/
get the files here:
http://rapidshare.com/files/340382956/keys.zip.html
10x only, so if it proves that they are necessary could someone host them somewhere more permanent???
This isn't installing on my G1 running CM4.2.13
have you tried installing it via adb?

Anyone having market crashes?

I updated to Froyo from CM.
Some market updates/installs are fine. Some cause this crash and the Android GUI restarts (the whole N1 doesn't reboot however).
D/VoldCmdListener( 54): asec list
I/PackageHelper( 652): Size of container 2 MB 689299 bytes
W/dalvikvm( 83): threadid=11: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime( 83): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 83): java.lang.SecurityException: Requires android.permission.ASEC_CREATE permission
E/AndroidRuntime( 83): at android.os.Parcel.readException(Parcel.java:1247)
E/AndroidRuntime( 83): at android.os.Parcel.readException(Parcel.java:1235)
E/AndroidRuntime( 83): at com.android.internal.app.IMediaContainerService$Stub$Proxy.copyResourceToContainer(IMediaContainerService.java:164)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$SdInstallArgs.copyApk(PackageManagerService.java:5341)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$InstallParams.handleStartCopy(PackageManagerService.java:4956)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$HandlerParams.startCopy(PackageManagerService.java:4815)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$PackageHandler.doHandleMessage(PackageManagerService.java:470)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$PackageHandler.handleMessage(PackageManagerService.java:415)
E/AndroidRuntime( 83): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 83): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 83): at android.os.HandlerThread.run(HandlerThread.java:60)
I believe I get the same issue and log messages when I try to move applications to my sdcard either from the applications menu or by adb command. :/
I have the same error when trying to install the latest version of Neocore.
I have the same problem. Is there a solution ? Would full data wipe help ?
Just did a full data wipe, and it helped for me.
Yeah, have to do full wipe to fix it.
Isn't there any other solutions ?
I don't really feel like wiping now.. :s

[Q] Market FCs after installing applications.

Hi All,
This is my first post here, sorry if this thread is duplicate but I was unable to find a similar thread.
I have a SGS9000 that I bought from Turkey, since Market and YouTube is not bundled here, I rooted the official 2.2 update with Z4 and pushed Vending.apk and YouTube.apk. The problem is my Market application is FCing after updating or installing applications. I install an application, installation finishes and I get an FC. Then, when I open the installed application for the first time, I get another Market FC. Then everything works fine.
I didn't wipe the system after installing 2.2 update but wiped cache from recovery. Since I pushed the latest versions of the applications, there are no updates to remove. Also clearing cache or stored information doesn't help either.
Is this a known bug or are there any solutions?
Thanks in advance.
P.S: I'm a seasoned Linux admin and programmer and I'm probably able to pull most of the tricks you can propose.
I am having the same problem with my galaxy s too. I followed the same procedure you described. I heard you are bound to get FCs this way. Apparently you should install google apps by applying update.zip via recovery. However, I have recovery 3e and it does not have the capability to use unsigned update.zip. It seems you need to have 2e and I don't have that so I could not do it. As you are a capable linux admin, maybe you can figure out how to revert back to 2e and can share with us.
Sent from my GT-I9000 using XDA App
Actually this is kinda absurd because the g-apps package doesn't have any files related to market besides the Vending and MarketUpdater apks and when you put the packages to the /system/app, they are installed by the phone anyway. I'll try to find some logs in the phone. Maybe then I can understand the real cause of the problem and dig deeper.
It might have something to do with some permissions etc. set by some sys files. I heard something about conflicts/permissions issue with market causing FCs. If you can check the sys logs and figure out th rd problem, that would be great.
Also I read somewhere in these forums who had the same issue solved it via update.zip way.
Sent from my GT-I9000 using XDA App
I had time to debug the problem and I isolated the problem. I have both good news and bad news.
The good news is, the problem looks like a simple permission problem. adb logcat spilled all the guts of the problem and it looks like it:
Code:
E/DatabaseUtils(25977): Writing exception to parcel
E/DatabaseUtils(25977): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:337)
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.insert(ContentProvider.java:173)
E/DatabaseUtils(25977): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils(25977): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils(25977): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 8129): threadid=11: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime( 8129): FATAL EXCEPTION: UpdateCheckinDatabaseService
E/AndroidRuntime( 8129): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 8129): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 8129): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 8129): at android.content.ContentResolver.insert(ContentResolver.java:587)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.updateCheckinDatabase(UpdateCheckinService.java:140)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.access$000(UpdateCheckinService.java:34)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService$ServiceHandler.handleMessage(UpdateCheckinService.java:85)
E/AndroidRuntime( 8129): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8129): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8129): at android.os.HandlerThread.run(HandlerThread.java:60)
I/PowerManagerService( 2475): Light Animator Finished curIntValue=32
W/ActivityManager( 2475): Force finishing activity com.android.vending/.SearchAssetListActivity
I/ ( 2475): dumpmesg > /data/log/dumpstate_app_error.log
The bad news is, I'm not familiar to the internal workings of the android yet and I was unable to modify the permissions. I tried /system/etc/permissions and added some xml files that contained proper syntax but that was unable to solve the problem.
I'll be glad if someone more experienced can give me some hints because I want to solve this annoying problem.
Cheers and thanks in advance to all.
[SOLVED] Market FCs after installing applications.
Nevermind, just use the new market app, updating solves all the problems.
I copied APK to my sdcard, became root from adb shell and moved the APK to /system/app, then ran "pm install -r Vending.apk" and now everything is silky smooth.
Hey man,
I tried to do what you've described but when I tried to install the vending.apk
I got the following error:
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Can you describe the procedure step by step for a noob please ?
thearif
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Note that you need to have root (i had temporary Z4root). That is it.
Sent from my GT-I9000 using XDA App
thearif said:
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Click to expand...
Click to collapse
This worked well until I rebooted. After the reboot FCs were back. Logcat is identical to yours:
Code:
I/ActivityThread( 1151): Publishing provider com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider
D/vending ( 1151): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
D/GoogleLoginService( 409): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/ActivityManager( 259): Displayed activity com.android.vending/.AssetBrowserActivity: 906 ms (total 906 ms)
D/ResourceType( 1151): calling getConfigurations
D/ResourceType( 1151): called getConfigurations size=230
I/dalvikvm( 409): Jit: resizing JitTable from 4096 to 8192
D/dalvikvm( 1151): GC_FOR_MALLOC freed 6455 objects / 553792 bytes in 53ms
E/DatabaseUtils( 409): Writing exception to parcel
E/DatabaseUtils( 409): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permis
sion.WRITE_GSETTINGS
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:348)
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.insert(ContentProvider.java:196)
E/DatabaseUtils( 409): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils( 409): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils( 409): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 1151): threadid=11: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 1151): FATAL EXCEPTION: Thread-12
E/AndroidRuntime( 1151): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 1151): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 1151): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 1151): at android.content.ContentResolver.insert(ContentResolver.java:592)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 1151): at com.android.vending.compat.MarketCheckinHelper.updateCheckinDatabase(MarketCheckinHelper.java:12)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.sendContentSyncViaCheckin(CheckinUpdater.java:219)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.performCheckin(CheckinUpdater.java:176)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.access$000(CheckinUpdater.java:38)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater$1.run(CheckinUpdater.java:109)
E/AndroidRuntime( 1151): at com.android.vending.util.WorkService$1.run(WorkService.java:37)
W/ActivityManager( 259): Force finishing activity com.android.vending/.AssetBrowserActivity
W/ResourceType( 259): Skipping entry 0x7f040006 in package table 0 because it is not complex!
W/ResourceType( 259): Skipping entry 0x7f040005 in package table 0 because it is not complex!
I/Process ( 1151): Sending signal. PID: 1151 SIG: 9
I dont know what is causing your problem to come back after reboot. The very first thing that I checked was to is to see if the problem would pop back up after a reboot but it did not.
So you were on a rooted phone when you did this and gave root access to the sgstools app. If this is the case, maybe you can try clearing your cache.
thearif
Sent from my GT-I9000 using XDA App

Gtalk from 2.3.4 to 2.3.3

So I have been an android user for about 3 days now and just signed up for the forums. So I cannot post this to the dev section.
Anyway.
So I'm trying to port the new Gtalk to 2.3.3 from 2.3.4.
I have used adb push to move the appropriate apk and odex files as well as moved the libtalk_jni.so
The app loads and it looks new and all but there is no video option.
So I decompile the apk and there seems to be some reference to video in the AndroidManifest
com.google.android.talk.permission.VIDEO_CHAT_SERVICE
Can someone get me up to speed? Am I missing something?
Well i am not as lucky as you,man. MIUI just cannot recognize new version gtalk.
Sent from my Google Nexus S using XDA Premium App
xiambax said:
So I have been an android user for about 3 days now and just signed up for the forums. So I cannot post this to the dev section.
Anyway.
So I'm trying to port the new Gtalk to 2.3.3 from 2.3.4.
I have used adb push to move the appropriate apk and odex files as well as moved the libtalk_jni.so
The app loads and it looks new and all but there is no video option.
So I decompile the apk and there seems to be some reference to video in the AndroidManifest
com.google.android.talk.permission.VIDEO_CHAT_SERVICE
Can someone get me up to speed? Am I missing something?
Click to expand...
Click to collapse
where to find the .so file? could you post a link please?
elban said:
where to find the .so file? could you post a link please?
Click to expand...
Click to collapse
Here are the files,, can anyone deodex the apks please
I was thinking the same thing, so I did a bit of research into this.
I was able to successfully deodex and recompile the app, however it doesn't show up in the launcher. I think because it's Talk2.apk it needs to be launched from "Talk". Looking at the update, there are patches for Talk.apk and Talk.odex, which confirm that suspicion.
Looking at the manifest however, it looks like there is some new video service, so I'm not sure if just installing the updated talk app will work.
If someone would like to upload a dump of their /system on 2.3.4 I can try deodexing the new talk and talk2 apks, and we can try that, but otherwise there isn't much I can do since I don't have a NS in my possession right now.
edude03 said:
I was thinking the same thing, so I did a bit of research into this.
I was able to successfully deodex and recompile the app, however it doesn't show up in the launcher. I think because it's Talk2.apk it needs to be launched from "Talk". Looking at the update, there are patches for Talk.apk and Talk.odex, which confirm that suspicion.
Looking at the manifest however, it looks like there is some new video service, so I'm not sure if just installing the updated talk app will work.
If someone would like to upload a dump of their /system on 2.3.4 I can try deodexing the new talk and talk2 apks, and we can try that, but otherwise there isn't much I can do since I don't have a NS in my possession right now.
Click to expand...
Click to collapse
Talk.apk isn't present after the update, updater-script deletes it entirely. It's never replaced and not present in /system/app any longer. There is not a single call to patch Talk.apk in the updater-script that I can find nor do I see the .p patch under the patch dir of the packaged update.
Talk2.apk and Talk2.odex are then extracted to /system/app (they are present in the update in their entirety, they are not patches). libtalk_jni.so is extracted to /system/lib (also present in its entirety in the update).
Here's Talk2.apk, Talk2.odex and libtalk_jni.so directly from the update.
krohnjw said:
Talk.apk isn't present after the update, updater-script deletes it entirely. It's never replaced and not present in /system/app any longer. There is not a single call to patch Talk.apk in the updater-script that I can find nor do I see the .p patch under the patch dir of the packaged update.
Talk2.apk and Talk2.odex are then extracted to /system/app (they are present in the update in their entirety, they are not patches). libtalk_jni.so is extracted to /system/lib (also present in its entirety in the update).
Here's Talk2.apk, Talk2.odex and libtalk_jni.so directly from the update.
Click to expand...
Click to collapse
The app has to be deodexed to be useful. For that we need the whole rom dump (well /system).
blunden said:
The app has to be deodexed to be useful. For that we need the whole rom dump (well /system).
Click to expand...
Click to collapse
Dumping system now - I'll upload when finished.
edit: Uploading now - this will take a little while. I'll post a link when it's finished.
And completed: https://docs.google.com/leaf?id=0B_...IxZTktNWQzNGFmYTExY2Y1&hl=en&authkey=CL2J6csE
Thanks for the dump krohnjw and thanks for the correction. I was looking at the wrong version of the OTA (I was looking at the 2.3.2 -> 2.3.3 OTA :s)
EDIT 2: Here's the de-odexed APK, signed with testkeys. http://dl.dropbox.com/u/9720998/Talk2.apk. As of right now, on GRI40 and XXJVK (android 2.3.3 on a GT-i9000) it gives me a permission error. I've tired adb install and adb push /system/app; chmod 644 Talk2.apk. '
Almost there, though for some reason it's getting a permission error even though I'm running it from /system/app
Code:
flg=0x10200000 cmp=com.google.android.talk/.SigningInActivity } from pid 446
I/ActivityManager( 307): Start proc com.google.android.talk for activity com.google.android.talk/.SigningInActivity: pid=2035 uid=10067 gids={3003, 1015, 1006}
D/dalvikvm( 260): GC_EXPLICIT freed 12K, 53% free 2580K/5379K, external 1625K/2137K, paused 67ms
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 100ms
D/szipinf ( 2035): Initializing inflate state
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 76ms
I/ActivityThread( 2035): Pub com.google.android.talk.SuggestionProvider: com.google.android.talk.SuggestionsProvider
V/PlayerDriver( 261): HandleInformationalEvent: 23
I/ActivityManager( 307): Starting: Intent { dat=content://com.google.android.providers.talk/accounts/1 cmp=com.google.android.talk/.SigninActivity } from pid 2035
W/ActivityManager( 307): Trying to launch com.google.android.talk/.SigninActivity
D/dalvikvm( 2035): GC_EXTERNAL_ALLOC freed 115K, 51% free 2715K/5447K, external 2120K/2137K, paused 22ms
D/AndroidRuntime( 2035): Shutting down VM
W/dalvikvm( 2035): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/AndroidRuntime( 2035): FATAL EXCEPTION: main
E/AndroidRuntime( 2035): java.lang.SecurityException: Need GTalk_SERVICE permission: Neither user 10067 nor current process has com.google.android.gtalkservice.permission.GTALK_SERVICE.
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1322)
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 2035): at com.google.android.gtalkservice.IGTalkService$Stub$Proxy.getImSessionForAccountId(IGTalkService.java:252)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.signInAccount(SigninActivity.java:414)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.access$200(SigninActivity.java:52)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity$1.run(SigninActivity.java:165)
E/AndroidRuntime( 2035): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 2035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2035): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2035): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 2035): at dalvik.system.NativeStart.main(Native Method)
E/ ( 307): Dumpstate > /data/log/dumpstate_app_error
W/ActivityManager( 307): Force finishing activity com.google.android.talk/.SigninActivity
I/dumpstate( 2047): begin
W/ActivityManager( 307): Activity pause timeout for HistoryRecord{40be0658 com.google.android.talk/.SigninActivity}
edude03 said:
Almost there, though for some reason it's getting a permission error even though I'm running it from /system/app
Code:
flg=0x10200000 cmp=com.google.android.talk/.SigningInActivity } from pid 446
I/ActivityManager( 307): Start proc com.google.android.talk for activity com.google.android.talk/.SigningInActivity: pid=2035 uid=10067 gids={3003, 1015, 1006}
D/dalvikvm( 260): GC_EXPLICIT freed 12K, 53% free 2580K/5379K, external 1625K/2137K, paused 67ms
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 100ms
D/szipinf ( 2035): Initializing inflate state
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 76ms
I/ActivityThread( 2035): Pub com.google.android.talk.SuggestionProvider: com.google.android.talk.SuggestionsProvider
V/PlayerDriver( 261): HandleInformationalEvent: 23
I/ActivityManager( 307): Starting: Intent { dat=content://com.google.android.providers.talk/accounts/1 cmp=com.google.android.talk/.SigninActivity } from pid 2035
W/ActivityManager( 307): Trying to launch com.google.android.talk/.SigninActivity
D/dalvikvm( 2035): GC_EXTERNAL_ALLOC freed 115K, 51% free 2715K/5447K, external 2120K/2137K, paused 22ms
D/AndroidRuntime( 2035): Shutting down VM
W/dalvikvm( 2035): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/AndroidRuntime( 2035): FATAL EXCEPTION: main
E/AndroidRuntime( 2035): java.lang.SecurityException: Need GTalk_SERVICE permission: Neither user 10067 nor current process has com.google.android.gtalkservice.permission.GTALK_SERVICE.
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1322)
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 2035): at com.google.android.gtalkservice.IGTalkService$Stub$Proxy.getImSessionForAccountId(IGTalkService.java:252)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.signInAccount(SigninActivity.java:414)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.access$200(SigninActivity.java:52)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity$1.run(SigninActivity.java:165)
E/AndroidRuntime( 2035): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 2035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2035): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2035): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 2035): at dalvik.system.NativeStart.main(Native Method)
E/ ( 307): Dumpstate > /data/log/dumpstate_app_error
W/ActivityManager( 307): Force finishing activity com.google.android.talk/.SigninActivity
I/dumpstate( 2047): begin
W/ActivityManager( 307): Activity pause timeout for HistoryRecord{40be0658 com.google.android.talk/.SigninActivity}
Click to expand...
Click to collapse
Have you tried to fix permissions or clear data for Talk? Sounds like a permission or UID error.
I've pushed the apk but it doesn't get loaded (no dex in dalvik cache), unfortunately no errors in logcat.
I think it's because it's not signed.
No I did sign it, let me clear the caches and data though just to make sure.
Sent from my GT-I9000 using XDA App
On cm 7 I can confirm it opens starts running then force closes.
Sent from my HTC Glacier using XDA Premium App
xiambax said:
Mine doesn't force close
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
You already have the update for the nexus s meaning you are on 2.3.4 cm7 runs 2.3.3
Sent from my HTC Glacier using XDA Premium App
Can you tell me exactly where you push the files? Talk is system app and lib would go into system lib correct?
Sent from my HTC Glacier using XDA Premium App
edude03 said:
Thanks for the dump krohnjw and thanks for the correction. I was looking at the wrong version of the OTA (I was looking at the 2.3.2 -> 2.3.3 OTA :s)
EDIT 2: Here's the de-odexed APK, signed with testkeys. http://dl.dropbox.com/u/9720998/Talk2.apk. As of right now, on GRI40 and XXJVK (android 2.3.3 on a GT-i9000) it gives me a permission error. I've tired adb install and adb push /system/app; chmod 644 Talk2.apk. '
Click to expand...
Click to collapse
I installed it successfully,, but I don't see the option for video calling ?!
I'll look into why that is as soon as I can get it working myself, probably because of some check for the video service.
What OS are you on Nokia7Vista?
edude03 said:
I'll look into why that is as soon as I can get it working myself, probably because of some check for the video service.
What OS are you on Nokia7Vista?
Click to expand...
Click to collapse
Android 2.3.3 on Galaxy S
I copied the .so file and your apk to their appropriate locations and removed the old talk.apk version and it worked,, but no video calling option
OK. I got it running now, it was a permission error.
That said it has a weird graphical glitch and doesn't show any contacts.
I'll investigate when I get home.
Sent from my GT-I9000 using XDA App

[APP][NST/G] Nook Settings

Version for no-BN account devices in post #5
This version of the app is for fully registered devices.
5-14-22: Updated to v1.5. Uninstall any previous version to insure all variables clear.
--removed Google accounts section
--removed Network Location setting (relied on Google accounts).
Over the years a few new "Settings" apps have been cobbled together from the ruins of what B&N left on the device. Starting with the original listing by @Renate NST which revealed the scope of what was hidden on the NST/G, people have rejiggered the app in a number of ways. Each of those attempts relied on actually changing the app or the framework and had limitations as to the type of installation they would run on and things that needed to be added, deleted, disabled, etc.
The Nook Settings app is my effort to create a utility that would encompass all the good ideas and none of the less good. But as I am no Java programmer, that meant Tasker (surprise). The result is a frankenapp, using screens from the B&N Settings app (you can't delete it!) as well as completely original pages I assembled from screen images and many, many invisible overlays to hijack the Back button and the return arrow throughout the app. My goal was to eliminate anything that did not work (USB debugging in the Development section, for example), try to fix what I could (USB debugging, for example!), and add in features that just should be there, mundane things like wallpaper and keyboard changes. I also wanted to re-organize the app in a more traditional way. A few representative screenshots below.
Disclaimers
1. Transitions are sometimes a little scrappy. It all depends on what the device is doing in the background and how difficult the item is to access.
2. Rather than introduce a lot of forking with many permutations, I elected to only separate the NST from the NSTG at first run. As far as accounts go, I included everything from B&N: Shop, Social). There is error trapping, so there should be no issues.
3. My number one goal in herding all these electric sheep was to keep what happens in the Settings app within the Settings app. This proved to be impossible in a few cases (keyboard swap is one) because of the way the native Android system was handling the main window. Those cases are clearly indicated in the app menus as "Exits Settings".
4. This app cannot be totally localized. That is, if you have a different display language (say, German), the parts of the app that are actually parts of the B&N Settings app will be localized, i.e., the phrases will be changed to the language you have selected. However, the custom pages I created are just images with invisible touch overlays so.... If anyone is seriously interested in localizing the app for themselves, they should contact me and we can discuss creating a custom set of images which I will then compile into a custom app.
5. I'm sorry to say that the App Manager was one of most difficult nuts to crack. It is part of the B&N Settings app but has an activity that cannot be opened via shell commands. Somehow ADW Launcher does it, but I was never able to come up with a method. Luckily, Tasker has a generic call to the App Manager and it actually works. Still, it is sluggish on the Back arrow where it must be tested against which screen is being displayed. Just not a happy camper. Be sure not to tap the Back arrow more than once or you'll end up who knows where. Consider it a free lesson in patience
6. This app is only for Portrait orientation. Oh, you can rotate your screen, but all the touch coordinates will be off and images distorted. This is not a priority for me, but I may look at it someday. It requires a redesign and right now, I'm sorta sick of working on this :silly:
Requirements
1. This is a Tasker app and has a dependency on two library files which are part of a GApps installation. If you don't have GApps or one of my other Tasker apps already, you need to copy the two files in the zip as below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
2. Root/SU. Right off the bat. Many, many shell commands, settings.db, accounts.db, etc. manipulations.
3. Sqlite3 (for the database manipulations), provided in the zip below. If you don't already have it, move the file to /system/bin and set the permissions to rwx r-x r-x.
4. Busybox. If you rooted with NookManager, you already have Busybox installed. A few other special packages probably include it. If you have it, you will find it in /system/xbin. If it's not there, copy the file from the zip to that location and set permissions to rwx-rwx-rwx
5. The original B&N Settings app installed
Edit: 6. I've discovered while working on a no-B&N variant that a kernal enabling multi-touch is needed for some of the "sendevent" sequences to execute. Lacking multi-touch does not mean the app will not function or that you will not be able to access some settings.
Installation
The easy part. This is not a system app, but a user app. Just install as normal. You don't have to disable or remove or change anything. If you don't like it, just uninstall.
On first run the app:
1. determines if you have an NSTG and adjusts the menus accordingly.
2. sets ADB debugging via TCP (for WiFi apps like ADB Konnect); This is the default state for rooting with NookManager. You can change to USB in Developer options.
Just to be clear, in every case in which there is a "return" arrow as part of a Settings screen, its function is identical to the Back button in the status bar (i.e., both have been hijacked).
Problems
If you have some issue and end up crashing the app or exiting unexpectedly (has not happened to me, but.....), there may still be invisible overlays present that will impair the function of your device. The easiest way to deal with these is to repeatedly press the Back button until the main Settings menu appears and then disappears. If there is still an issue, force stopping the app via the App Manager will clear all overlays. A power cycle is the last resort.
Acknowledgement
Wow, this was tough... I'm indebted to the generous folk who hang out at the Google Tasker group. I'm sure they all think I'm daft spending so much time on an Eclair device with an ancient version of Tasker, but they have nonetheless been helpful when I've been stuck.
Wow, @nmyshkin that looks like a bit of work.
On a different theme, I have an Android (Linux) executable for doing settings.
It's handy if you want to set a bunch of devices all the same (and you have root).
Settings are stored in different tables for global, system and secure.
Even worse, individual setting moved among these three categories for different versions of Android.
Even worse, they used to be stored in an SQLite database, then they moved to separate XML files.
Fortunately, if there is a setting "klaatu_barada_nikto" it is unique even though it might be in system or secure depending on Android version.
The executable takes an input file of settings.
Here is an example (just what I had at hand, I'm not saying that these settings are the right one for you (or even me)).
Code:
adb_enabled 1
airplane_mode_on 0
auto_time_zone 0
bluetooth_on 0
development_settings_enabled 1
dim_screen 0
heads_up_notification_enabled 0
immersive_mode_confirmations confirmed
install_non_market_apps 0
lockscreen.disabled 1
mock_location 1
package_verifier_enable 0
screen_auto_brightness_adj -1
screen_brightness 5
screen_brightness_mode 0
screen_off_timeout 1800000
skip_first_use_hints 1
stay_on_while_plugged_in 3
transition_animation_scale 1.0
usb_mass_storage_enabled 0
user_setup_complete 1
verifier_verify_adb_installs 0
window_animation_scale 1.0
wifi_frequency_band 0
If the setting exists, it will be set.
Notice, that you don't have to specify category (global, system, secure) since it can figure that out itself.
(No, I didn't attach the executable. I have to double check it.)
Renate NST said:
Wow, @nmyshkin that looks like a bit of work.
Click to expand...
Click to collapse
Yeah, this is another example of why humans are not allowed to know the future. If they did, they would shy away from attempting many things!
I'd be interested in the executable. From my work on this app I can imagine what it must involve to ferret out the appropriate entries. On the NST, at least, values in settings.db for some things appear to be artifacts only and don't actually seem to have any effect. It just made things more interesting...
nmyshkin said:
I'd be interested in the executable.
Click to expand...
Click to collapse
Well, here it is (in the signature).
Park "setvalues" in an executable directory (like /data or /data/local/tmp), chmod 755 it.
It takes the name of the values file as the only argument.
It's verbose in telling you what was and any changes done.
This also should run on any version of Android and any device.
Custom version for those without B&N account and/or apps
5-11-22: updated to 1.5. Uninstall any previous version to insure all variables clear.
--removed Google Accounts section
--removed Network Location setting (relied on Google Accounts)
This version is only for devices which either bypassed OOBE and then removed all B&N stuff or went through registration and then removed all B&N stuff
I've been playing around with a third (my last one, I swear) device and have finally hit upon the method for removing B&N apps without causing a constant drumbeat of protest in the system. More on that in a future post.
No B&N apps means no B&N account, whether you start with a registered device or skip OOBE, so my Nook Settings app had a lot of fluff in it for such devices. Also, the "About" stuff did not work so there was no information such as serial number, MAC address, etc.
This special version of the app addresses these issues. References to B&N stuff are removed and there is a custom "About" section which includes an editing option for those items the app could not dig up on its own (like your name, if you didn't register). See screenshot below.
Hint: if you skip OOBE, you will need to jot down the serial number, model number, and MAC address for entry into the "About" page. You can find these values on the screen where you elect to skip OOBE. Failing that, they are contained in text files in /rom/devconf
The zip below includes all the stuff from the zip in the OP with an updated custom app. Follow the installation instructions in post #1. If you are updating, you only need to uninstall the previous version and install the new one.
Great job!
The app dosen't install on my rooted NST fw ver.1.2.1 but at least I removed all unnecessary B&N apps. Thanks
kodovoimeji said:
Great job!
The app dosen't install on my rooted NST fw ver.1.2.1 but at least I removed all unnecessary B&N apps. Thanks
Click to expand...
Click to collapse
It should install and run on 1.2.1 without any problems. Did you remember to copy the two maps files? It won't install without those present. Also be sure the permissions for each file are set correctly. If not the installer may register them as MIA and refuse to run.
I'm not sure if the same level of dependency is present at installation for sqlite or busybox, but you do need both (with correct permissions) for some parts of the app to function.
Edit: I can confirm that the app installs and runs with FW 1.2.1, following the directions in the first post.
Hey, I find myself unable to put the com.google.android.maps.jar and com.google.android.maps.xml files in the required locations via ADB push due to the filesystem being readonly, and I'm not sure the safest way to remount readwrite on this device, please could you advise?
alexhorner said:
Hey, I find myself unable to put the com.google.android.maps.jar and com.google.android.maps.xml files in the required locations via ADB push due to the filesystem being readonly, and I'm not sure the safest way to remount readwrite on this device, please could you advise?
Click to expand...
Click to collapse
Did you choose one of the NookManager options with ES File Explorer? If so, you can mount /system as RW from within its Settings and just transfer the files to either your sdcard or /media (the "Nook" drive) and then move them with the file manager from there. You can even set the permissions (long-press on file and select "Properties").
Otherwise...hmm....let me see if I have that bookmarked...
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
I think that's it. Then for permissions:
Code:
adb shell chmod 644 /system/wherever/whatever.xml
(I'm not suggesting it's 644--you'll have to check that.
ES File Explorer is by far the easier method.
nmyshkin said:
Did you choose one of the NookManager options with ES File Explorer? If so, you can mount /system as RW from within its Settings and just transfer the files to either your sdcard or /media (the "Nook" drive) and then move them with the file manager from there. You can even set the permissions (long-press on file and select "Properties").
Otherwise...hmm....let me see if I have that bookmarked...
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
I think that's it. The for permissions:
Code:
adb shell chmod 644 /system/wherever/whatever.xml
(I'm not suggesting it's 644--you'll have to check that.
ES File Explorer is by far the easier method.
Click to expand...
Click to collapse
I went for the classic so no ES here! Just ReLaunchX. The mount command worked, and I can confirm 644 is the correct numeric for the required permissions. Busybox already existed from the root, and I installed sqlite3 with correct permissions, 755.
Copied those 2 google files over, set permissions, rebooted then installed the APK fine.
Sorry for being such a noob here, but how do I now run the app as superuser? Running it without just refreshes the screen (I assume that means it crashed after trying to open?)
Opening the Superuser app shows no apps in list.
alexhorner said:
I went for the classic so no ES here! Just ReLaunchX. The mount command worked, and I can confirm 644 is the correct numeric for the required permissions. Busybox already existed from the root, and I installed sqlite3 with correct permissions, 755.
Copied those 2 google files over, set permissions, rebooted then installed the APK fine.
Sorry for being such a noob here, but how do I now run the app as superuser? Running it without just refreshes the screen (I assume that means it crashed after trying to open?)
Opening the Superuser app shows no apps in list.
Click to expand...
Click to collapse
Sometimes SU is slow to respond. I'd reboot and try again.
No luck waiting or rebooting unfortunately. Superuser has no app list and the screen refresh flashes when trying to launch still
alexhorner said:
No luck waiting or rebooting unfortunately. Superuser has no app list and the screen refresh flashes when trying to launch still
Click to expand...
Click to collapse
Grr...
Ok, I've shut down my PC for the day. Let me try a clean install of the app tomorrow and refresh my memory on exactly what happens. SU can really be a pain on this device sometimes.
alexhorner said:
No luck waiting or rebooting unfortunately. Superuser has no app list and the screen refresh flashes when trying to launch still
Click to expand...
Click to collapse
So instead of reading till I get drowsy I have downloaded the zip right on the device! I uninstalled the app and checked Superuser to be sure any entries were gone. Then I extracted the app from the zip and installed it. The moment (or nearly) I tapped the app icon I got the Superuser permission request.
I'm baffled.
nmyshkin said:
So instead of reading till I get drowsy I have downloaded the zip right on the device! I uninstalled the app and checked Superuser to be sure any entries were gone. Then I extracted the app from the zip and installed it. The moment (or nearly) I tapped the app icon I got the Superuser permission request.
I'm baffled.
Click to expand...
Click to collapse
Well...
I opened ADB connect, as I knew that asked for super user too. It did, I accepted and it launched fine. I went back to ReLaunchX and decided to look at Superuser now. It won't open at all.
Okay, fine, I'll reboot the device.
Nope, still won't open.
So I decided to open ADB Connect again. Well now that's broken too! It gives me a black screen, so I decided to tap back. Nope. Okay, I'm stuck now.
After a few seconds I get "Sorry! Activity ReLaunchX (in application ReLaunchX) is not responding. [Wait] [Force Close]
I have since forced closed, uninstalled the settings app and rebooted. Superuser still broken. ADB works once and then subsequent times black screens me.
Edit: Got a logcat of superuser:
Spoiler: Logcat Superuser
Code:
D/AndroidRuntime( 1529): Shutting down VM
W/dalvikvm( 1529): threadid=3: thread exiting with uncaught exception (group=0x4001b210)
E/AndroidRuntime( 1529): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1529): java.lang.NullPointerException
E/AndroidRuntime( 1529): at com.noshufou.android.su.PinnedHeaderListView.configureHeaderView(PinnedHeaderListView.java:153)
E/AndroidRuntime( 1529): at com.noshufou.android.su.AppListActivity$AppListAdapter.onScroll(AppListActivity.java:326)
E/AndroidRuntime( 1529): at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:741)
E/AndroidRuntime( 1529): at android.widget.AbsListView.handleDataChanged(AbsListView.java:3181)
E/AndroidRuntime( 1529): at android.widget.ListView.layoutChildren(ListView.java:1488)
E/AndroidRuntime( 1529): at android.widget.AbsListView.onLayout(AbsListView.java:1314)
E/AndroidRuntime( 1529): at com.noshufou.android.su.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:123)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.onLayout(LinearLayout.java:918)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
E/AndroidRuntime( 1529): at android.widget.LinearLayout.onLayout(LinearLayout.java:918)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1529): at android.view.View.layout(View.java:6863)
E/AndroidRuntime( 1529): at android.view.ViewRoot.performTraversals(ViewRoot.java:996)
E/AndroidRuntime( 1529): at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
E/AndroidRuntime( 1529): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1529): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1529): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 1529): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1529): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1529): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 1529): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 1529): at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 790): Removing old ANR trace file from /data/anr/traces.txt
W/ActivityManager( 790): Send CRASH intent: true
I/Process ( 790): Sending signal. PID: 1529 SIG: 3
D/EPD#ActivityManager( 790): resetRegion 4
D/NATIVE-EPD( 790): epd_reset_region: 0x10
D/EPD#ActivityManager( 790): resetRegion 5
D/NATIVE-EPD( 790): epd_reset_region: 0x20
D/EPD#ActivityManager( 790): resetRegion 6
D/NATIVE-EPD( 790): epd_reset_region: 0x40
D/EPD#ActivityManager( 790): resetRegion 7
D/NATIVE-EPD( 790): epd_reset_region: 0x80
D/DeviceManagerBroadcastReceiver( 949): action (com.bn.devicemanager.ACTION_HANDLE_CRASH)
I/dalvikvm( 1529): threadid=7: reacting to signal 3
I/dalvikvm( 1529): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 1529): Sending signal. PID: 1529 SIG: 9
I/ActivityManager( 790): Process com.noshufou.android.su (pid 1529) has died.
I/WindowManager( 790): WIN DEATH: Window{4a0ebc98 com.noshufou.android.su/com.noshufou.android.su.Su paused=false}
I/UsageStats( 790): Unexpected resume of com.gacode.relaunchx while already resumed in com.noshufou.android.su
W/InputManagerService( 790): Window already focused, ignoring focus gain of: [email protected]
V/Activity( 1225): performResume()
Most disturbing, as Jeeves would say.
Here's where my lack of depth shows. I can see there is trouble in the logcat. The word "CRASH" being a clue. But as to the rest..not so much.
I would, at this point, uninstall and reinstall SU--you can get the apk from your NookManager card.
I've got a fairly busy day but my aim is to back up one of my devices, revert it to an unrooted, registered state, root with the "classic" package and try to reproduce your situation. That's one step short of converting to UK and going through the entire process. Which I hope not to do.
nmyshkin said:
Most disturbing, as Jeeves would say.
Here's where my lack of depth shows. I can see there is trouble in the logcat. The word "CRASH" being a clue. But as to the rest..not so much.
I would, at this point, uninstall and reinstall SU--you can get the apk from your NookManager card.
I've got a fairly busy day but my aim is to back up one of my devices, revert it to an unrooted, registered state, root with the "classic" package and try to reproduce your situation. That's one step short of converting to UK and going through the entire process. Which I hope not to do.
Click to expand...
Click to collapse
The reinstall has certainly fixed Superuser, however, no luck with NookSettings still even after another reinstall. I feel reverting to UK on your device wouldn't particularly help you, however going from stock to rooted might. I am wondering at this point if that might do me any good.
It clearly shows a lack of resilience of Superuser although the instigation lies elsewhere.
There is absolutely no reason that an app should bomb doing a layout.
Personally, I've never liked su. All I need in life (before the advent of system as root) is a rooted adbd.
alexhorner said:
The reinstall has certainly fixed Superuser, however, no luck with NookSettings still even after another reinstall. I feel reverting to UK on your device wouldn't particularly help you, however going from stock to rooted might. I am wondering at this point if that might do me any good.
Click to expand...
Click to collapse
I have just found a new APK for Superuser, 3.0.7 which I have attached in both the unextracted ZIP form and the extracted APK form. Source is https://forum.xda-developers.com/t/app-superuser-2-3-6-1-now-on-the-market-2010-09-05.682828/page-49
Not sure it will be of much help, but it certainly works with ADB Konnect perfectly fine.
Still no luck with NookSettings. I decided to logcat that too, here it is:
Spoiler: NookSettings Logcat
Code:
I/ActivityManager( 790): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x14000000 cmp=com.home.nmyshkin.settings/net.dinglisch.android.tasker.Kid }
I/ActivityManager( 790): Start proc com.home.nmyshkin.settings for activity com.home.nmyshkin.settings/net.dinglisch.android.tasker.Kid: pid=3357 uid=10019 gids={}
E/TC ( 1023): KPICollector: 1634321461142 platform process_start {"processName":"com.home.nmyshkin.settings"}
I/dalvikvm( 3357): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
E/TC ( 1023): KPICollector: 1634321461231 ActivityManager background {"component":"com.gacode.relaunchx/.AllApplications"}
E/TC ( 1023): KPICollector: 1634321461238 ActivityManager foreground {"component":"com.home.nmyshkin.settings/net.dinglisch.android.tasker.Kid"}
I/dalvikvm( 3357): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=56)
D/dalvikvm( 3357): GC freed 10007 objects / 357744 bytes in 64ms
D/dalvikvm( 3357): GC freed 10130 objects / 380968 bytes in 61ms
D/dalvikvm( 3357): GC freed 11236 objects / 402944 bytes in 41ms
D/dalvikvm( 3357): GC freed 7376 objects / 183336 bytes in 57ms
I/global ( 3357): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
D/dalvikvm( 3357): GC freed 10826 objects / 521112 bytes in 53ms
D/LocationManager( 3357): Constructor: service = [email protected]
D/dalvikvm( 3357): GC freed 1646 objects / 200792 bytes in 44ms
D/dalvikvm( 3357): GC freed 116 objects / 120272 bytes in 44ms
I/global ( 3357): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
E/dalvikvm( 3357): Could not find class 'com.google.android.maps.GeoPoint', referenced from method net.dinglisch.android.tasker.hf.a
W/dalvikvm( 3357): VFY: unable to resolve new-instance 279 (Lcom/google/android/maps/GeoPoint;) in Lnet/dinglisch/android/tasker/hf;
D/dalvikvm( 3357): VFY: replacing opcode 0x22 at 0x0005
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/hf;.a code (52 bytes)
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
I/dalvikvm( 3357): Could not find method com.google.android.maps.GeoPoint.getLatitudeE6, referenced from method net.dinglisch.android.tasker.hf.a
W/dalvikvm( 3357): VFY: unable to resolve virtual method 1180: Lcom/google/android/maps/GeoPoint;.getLatitudeE6 ()I
D/dalvikvm( 3357): VFY: replacing opcode 0x6e at 0x000a
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/hf;.a code (116 bytes)
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
I/dalvikvm( 3357): Could not find method com.google.android.maps.GeoPoint.getLatitudeE6, referenced from method net.dinglisch.android.tasker.hf.b
W/dalvikvm( 3357): VFY: unable to resolve virtual method 1180: Lcom/google/android/maps/GeoPoint;.getLatitudeE6 ()I
D/dalvikvm( 3357): VFY: replacing opcode 0x6e at 0x0009
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/hf;.b code (72 bytes)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/ht; (280)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/ht;' failed
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/ht; (280)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/ht;' failed
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
E/dalvikvm( 3357): Could not find class 'net.dinglisch.android.tasker.MyMapView', referenced from method net.dinglisch.android.tasker.ql.a
W/dalvikvm( 3357): VFY: unable to resolve check-cast 472 (Lnet/dinglisch/android/tasker/MyMapView;) in Lnet/dinglisch/android/tasker/ql;
D/dalvikvm( 3357): VFY: replacing opcode 0x1f at 0x000b
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/ql;.a code (264 bytes)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lnet/dinglisch/android/tasker/MyMapView;)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
I/dalvikvm( 3357): Could not find method net.dinglisch.android.tasker.MyMapView.getContext, referenced from method net.dinglisch.android.tasker.ql.a
W/dalvikvm( 3357): VFY: unable to resolve virtual method 3189: Lnet/dinglisch/android/tasker/MyMapView;.getContext ()Landroid/content/Context;
D/dalvikvm( 3357): VFY: replacing opcode 0x6e at 0x0001
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/ql;.a code (117 bytes)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lnet/dinglisch/android/tasker/MyMapView;)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): VFY: unable to find class referenced in signature (Lnet/dinglisch/android/tasker/MyMapView;)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
E/dalvikvm( 3357): Could not find class 'net.dinglisch.android.tasker.MyMapView', referenced from method net.dinglisch.android.tasker.ql.a
W/dalvikvm( 3357): VFY: unable to resolve new-instance 472 (Lnet/dinglisch/android/tasker/MyMapView;) in Lnet/dinglisch/android/tasker/ql;
D/dalvikvm( 3357): VFY: replacing opcode 0x22 at 0x0013
D/dalvikvm( 3357): Making a copy of Lnet/dinglisch/android/tasker/ql;.a code (96 bytes)
W/dalvikvm( 3357): Unable to resolve superclass of Lnet/dinglisch/android/tasker/MyMapView; (284)
W/dalvikvm( 3357): Link of class 'Lnet/dinglisch/android/tasker/MyMapView;' failed
W/dalvikvm( 3357): VFY: returning Ljava/lang/Object; (cl=0x0), declared Landroid/view/View; (cl=0x0)
W/dalvikvm( 3357): VFY: rejecting opcode 0x11 at 0x001c
W/dalvikvm( 3357): VFY: rejected Lnet/dinglisch/android/tasker/ql;.a (Landroid/content/Context;I)Landroid/view/View;
W/dalvikvm( 3357): Verifier rejected class Lnet/dinglisch/android/tasker/ql;
W/dalvikvm( 3357): Exception Ljava/lang/VerifyError; thrown during Lnet/dinglisch/android/tasker/md;.<clinit>
D/AndroidRuntime( 3357): Shutting down VM
W/dalvikvm( 3357): threadid=3: thread exiting with uncaught exception (group=0x4001b210)
E/Settings( 3357): 13.11.02#MyUEH: error: exception in thread main: java.lang.ExceptionInInitializerError
E/Settings( 3357): 13.11.02#: error: Caused by:
E/Settings( 3357): 13.11.02#: error: net.dinglisch.android.tasker.md.<clinit>(Unknown Source)
E/Settings( 3357): 13.11.02#: error: net.dinglisch.android.tasker.vh.b(Unknown Source)
E/Settings( 3357): 13.11.02#: error: net.dinglisch.android.tasker.vh.a(Unknown Source)
E/Settings( 3357): 13.11.02#: error: net.dinglisch.android.tasker.vh.d(Unknown Source)
E/Settings( 3357): 13.11.02#: error: net.dinglisch.android.tasker.Kid.onCreate(Unknown Source)
E/Settings( 3357): 13.11.02#: error: android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 3357): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 3357): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3357): at net.dinglisch.android.tasker.vh.b(Unknown Source)
E/AndroidRuntime( 3357): at net.dinglisch.android.tasker.vh.a(Unknown Source)
E/AndroidRuntime( 3357): at net.dinglisch.android.tasker.vh.d(Unknown Source)
E/AndroidRuntime( 3357): at net.dinglisch.android.tasker.Kid.onCreate(Unknown Source)
E/AndroidRuntime( 3357): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 3357): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime( 3357): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime( 3357): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 3357): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime( 3357): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3357): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 3357): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 3357): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3357): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 3357): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 3357): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 3357): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3357): Caused by: java.lang.VerifyError: net.dinglisch.android.tasker.ql
E/AndroidRuntime( 3357): at net.dinglisch.android.tasker.md.<clinit>(Unknown Source)
E/AndroidRuntime( 3357): ... 17 more
I/ActivityManager( 790): Removing old ANR trace file from /data/anr/traces.txt
W/ActivityManager( 790): Send CRASH intent: true
I/Process ( 790): Sending signal. PID: 3357 SIG: 3
D/EPD#ActivityManager( 790): resetRegion 4
D/NATIVE-EPD( 790): epd_reset_region: 0x10
D/EPD#ActivityManager( 790): resetRegion 5
D/NATIVE-EPD( 790): epd_reset_region: 0x20
D/EPD#ActivityManager( 790): resetRegion 6
D/NATIVE-EPD( 790): epd_reset_region: 0x40
D/EPD#ActivityManager( 790): resetRegion 7
D/NATIVE-EPD( 790): epd_reset_region: 0x80
D/DeviceManagerBroadcastReceiver( 949): action (com.bn.devicemanager.ACTION_HANDLE_CRASH)
I/dalvikvm( 3357): threadid=7: reacting to signal 3
I/dalvikvm( 3357): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 3357): Sending signal. PID: 3357 SIG: 9
I/ActivityManager( 790): Process com.home.nmyshkin.settings (pid 3357) has died.
V/Activity( 1225): performResume()
D/EPD#ActivityResume( 790): resetRegion 4
D/NATIVE-EPD( 790): epd_reset_region: 0x10
D/EPD#ActivityResume( 790): resetRegion 5
D/NATIVE-EPD( 790): epd_reset_region: 0x20
D/EPD#ActivityResume( 790): resetRegion 6
D/NATIVE-EPD( 790): epd_reset_region: 0x40
D/EPD#ActivityResume( 790): resetRegion 7
D/NATIVE-EPD( 790): epd_reset_region: 0x80
D/EPD#ActivityResume( 790): Disable EPD for 350ms!!!!!!!!
I/UsageStats( 790): Unexpected resume of com.gacode.relaunchx while already resumed in com.home.nmyshkin.settings
D/ReLaunchApp( 1225): --- onResume(AllApps)
W/InputManagerService( 790): Window already focused, ignoring focus gain of: [email protected]
I/DeviceManagerHandler( 949): HandleMessage(): msg.what (1)
I/global ( 949): Default buffer size used in BufferedWriter constructor. It would be better to be explicit if an 8k-char buffer is required.
D/dalvikvm( 949): GC freed 4915 objects / 501464 bytes in 41ms
I/LogcatProcessor( 949): LOG END MARKER - 1634321464060
alexhorner said:
I have just found a new APK for Superuser, 3.0.7 which I have attached in both the unextracted ZIP form and the extracted APK form. Source is https://forum.xda-developers.com/t/app-superuser-2-3-6-1-now-on-the-market-2010-09-05.682828/page-49
Click to expand...
Click to collapse
I have tried other SU apps in the past but they were always complaining about updating binaries (not going to happen). But if you have something that works, good.
That logcat seems to point to the two maps files that are expected by Tasker or any of its kid apps (like Nook Settings). So much stuff about maps, like it can't find what it wants. I've never seen anything like that on my devices (not that I sit around watching logcats scroll by all day). Check that both files are in the proper places. The jar file belongs in /system/framework and is rw-r-r (or 644, as you said). The xml file is in /system/etc/permissions and is also rw-r-r.
In short, if the old SU popped up with ADB Konnect, it's probably not the problem. The Nook Settings app itself is not the problem. I have it running on three devices and the fresh install last night went without a hitch. I've tested it on both FW 1.2.1 and 1.2.2.
Getting one of my Nooks ready for a backup now.

Categories

Resources