Google Navigation For Sapphire - Working! - myTouch 3G, Magic General

First of all, a BIG thank you to everyone on the Dream forum, including tee aiy emm, JAguirre1231, and Followinginsanity, amongst others for posting enough information for me to get this little guy together, along with the guy that made the original version of these batch files. Attached is a file to install Google Navigation on the HTC Sapphire! Just run Part 1, let it reboot, then run Part 2 and let it do it's thing. If it doesn't work, uninstall Google Voice and reinstall it. It worked without me having to do that, however.
WARNING! I'm NOT a programmer, and I'm not even particularly good at Linux or scripting, so you do this AT YOUR OWN RISK! This isn't something I made from scratch - this is just a few different posts worth of information hacked together.
http://www.filefactory.com/file/a1a7bb9/n/SapphireNav.zip

Looking at the batch files, it looks like this doesn't push back the original prop files. Do all your applications work with the modified versions?
Any idea if this will be an issue with future ROM upgrades?

All of my applications work with no hiccups, wifi works, 3G works, everything I've tested works with no problems. Of course, we could run into some of the same problems that the Dream forum users are running into.

One minor error - you are missing the ADB command in front of reboot in the first batch file.
I'll take this for a spin and see how it works, thanks!

This worked for my on my mt3g running cm 4.2.3.1. I did have to uninstall and reinstall google voice to get the navigation option to show up.

ScottC said:
One minor error - you are missing the ADB command in front of reboot in the first batch file.
I'll take this for a spin and see how it works, thanks!
Click to expand...
Click to collapse
Thanks for the head's up... I corrected it and the ZIP file above now has the fix.

broke mobile wireless on my phone (not wifi)
no cell/3g service, basically. i'll try to debug and report back if i can figure out what's wrong.
running a myhero rom with 2.6.29-myhero kernel version

For anyone else having problems, here's an Undo batch file. Just run it in the same directory as the install and it will reverse the prop file changes and reboot your phone. I haven't tried it on a phone with a Hero ROM - you might try the original version of this batch file located on the Dream's forum.
This might help you guys with Hero ROMs out:
http://forum.xda-developers.com/showpost.php?p=4927420&postcount=608

lacroixdp said:
For anyone else having problems, here's an Undo batch file. Just run it in the same directory as the install and it will reverse the prop file changes and reboot your phone. I haven't tried it on a phone with a Hero ROM - you might try the original version of this batch file located on the Dream's forum.
This might help you guys with Hero ROMs out:
http://forum.xda-developers.com/showpost.php?p=4927420&postcount=608
Click to expand...
Click to collapse
Looking at the build.prop, it definitely seems to be for a cyanogen rom only.
I'm at work right now, so I don't really have the time to go through and pull out all of the necessary stuff to make it work. I will take a crack at it later from home tho.

When I run step two I get [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATE] any ideas?

novat said:
When I run step two I get [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATE] any ideas?
Click to expand...
Click to collapse
I get the same thing, I'm running latest CM, i'm on a 32a magic.
I've tried both manually and with the script, same error message.

I pieced together a build.prop for myhero and uninstalled/reinstalled the Maps.apk. It force quits as soon as it comes up. Here's the error from the log file:
----- pid 569 at 2009-11-11 15:36:48 -----
Cmd line: com.google.android.apps.maps
DALVIK THREADS:
"main" prio=5 tid=3 NATIVE
| group="main" sCount=1 dsCount=0 s=0 obj=0x40019678
| sysTid=569 nice=0 sched=0/0 handle=-1093628996
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationError(ActivityManagerNative.java:2103)
at com.android.internal.os.RuntimeInit.crash(RuntimeInit.java:302)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:75)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
at dalvik.system.NativeStart.main(Native Method)
"Binder Thread #2" prio=5 tid=11 NATIVE
| group="main" sCount=1 dsCount=0 s=0 obj=0x43c1f990
| sysTid=573 nice=0 sched=0/0 handle=1573264
at dalvik.system.NativeStart.run(Native Method)
"Binder Thread #1" prio=5 tid=9 NATIVE
| group="main" sCount=1 dsCount=0 s=0 obj=0x43c1cee8
| sysTid=572 nice=0 sched=0/0 handle=1571944
at dalvik.system.NativeStart.run(Native Method)
"Signal Catcher" daemon prio=5 tid=7 RUNNABLE
| group="system" sCount=0 dsCount=0 s=0 obj=0x43c1c1e8
| sysTid=571 nice=0 sched=0/0 handle=1569080
at dalvik.system.NativeStart.run(Native Method)
"HeapWorker" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 s=0 obj=0x42e610d0
| sysTid=570 nice=0 sched=0/0 handle=1566440
at dalvik.system.NativeStart.run(Native Method)
----- end 569 -----
Looks like a java runtime problem. But I'm no programmer, so I don't know where to go from here.

am also running the latest CM and have a 32a board.
Tried to do the 'uninstall google voice' thing first but couldnt find it in the manage applications list... is it a hidden system app that needs to be removed with adb or something?
Also: Is there any chance someone could dump their sapphire build.prop files? Accidentally overwrote mine when I was trying the G1 navigation hack last night...

Hmm... we'll have to get one of the guys that knows what they are doing to fix this thing on the 32A's from the Dream forum. I'm no programmer either

hmmmm
will this work on 32b and can sumone help me to install it

Do all you guys live in the US, or does this work in other areas aswell? I'm from Sweden, and it seems like the navigation is not available here yet.
I doubt we will ever get to see the Droid (It's called Milestone in Europe) here either.
Thanks!

I'm running dwang's 1.11 rom on a 32B Magic, just installed this by running your batch scripts, it all ran through without any errors.
I have the new version of Maps but I don't have navigation, I suppose it is because I am outside of the USA ... still good to have the updated maps though!

Shouldn't this be in Sapphire apps/games forum? I see at least two threads in there for Google Nav.

Anyone previously running Cyanogen 4.2.3 upgraded to 4.2.4 with Nav? Anything to worry about?
Edit: I found the nav works beautifully, but I can't make any calls out from Google Voice. I've tried reinstalling and uninstalling, rebooting and reinstalling GV. No luck. It also doesn't download my inbox, or have the correct balance on my account. I guess I'll try repushing the old props back and hope Nav sticks around.

m1k3- said:
I pieced together a build.prop for myhero and uninstalled/reinstalled the Maps.apk. It force quits as soon as it comes up. Here's the error from the log file:
Looks like a java runtime problem. But I'm no programmer, so I don't know where to go from here.
Click to expand...
Click to collapse
I had the same problem. I'm pretty sure you need some framework stuff in at least 1.6 donut. MyHero is still 1.5 Cupcake.

Related

[SOLVED] Porting 32B to 32A frustration...

I have been a happy 32A user for awhile now, trying virtually every ROM that came out, and never had a problem. Get a 32B rom, drop a 32A kernel pack on it (thanks to the fine people who do the Cyanogen port typically) and everything works awesome.
There are a couple eclair roms that this doesn't work for. Its been about 50-50. I'm trying to get King's and Hervers ROM's on my 32A, but they both error out immediately with:
I//system/xbin/busybox( 48): run-parts: /system/etc/init.d: No such file or directory
I/logwrapper( 48): /system/xbin/busybox terminated by exit(0)
Obviously they are using Busybox to do the init, busybox is calling run-parts, and its looking for init.d which doesn't exist. I get all that. I've looked thru the original roms, and I don't see an init.d in the originals either, so i'm frustrated at this point.
Can someone give me a clue or point me in the right direction on what I need to do to get these ported? Any help would really be appreciated. I'm currently running manup's 2.0.1, but I'd love to be able to try these others out.
-- Solution if anyone cares: --
It wasn't exactly rocket science; I found a couple eclair ROMs that worked on 32A. They had the /system/etc/init.d directory in them. They were basically identical. Took that directory from the working ROMs and put it in the unworking ROMs, and now they work.
What I don't understand is how anyones getting them to work as distributed (they obviously do). The kernel (as far as I know) shouldn't make a difference in how the ROM boots.
If anyone can clear that up for me, i'd appreciate it.

[Dev] Call for test, ril wrapper for pppd, 18/11/2010: test kernel 2K and wrapper 0.7

Dear All,
I modified libhtc_ril_wrapper to possibly fix the pppd disconnection problem.
As I don't have 3G at home, I'd appreciate some feedback to help me diagnose potential issues with it.
WARNING, there are reports of crash at boot, do a backup of your whole android directory before trying this!
Don't run this if don't have adb and know how to use it.
See post #2 for history and more information
To keep the thread clean, please only report problems and try to avoid unnecessary talking about it.
Don't report problem without logs, it won't help.
This is highly experimental, don't use it if you don't know what you're doing.
To install, just rename your previous wrapper and copy the attached libhtc_ril_wrapper.so to the same location.
Here are the logs I need:
Code:
logcat -d -v time -b radio > /sdcard/pppd_radiolog.txt
logcat -d -v time -s pppd:v > /sdcard/pppd_mainlog.txt
dmesg > /sdcard/pppd_dmesg.txt
/bin/ifconfig > /sdcard/pppd_if.txt
ps > /sdcard/pppd_ps.txt
Please review pppd_radiolog.txt before posting, it could show some personal stuff like phone numbers, feel free to remove these lines or refrain to post them
Wait 20 seconds to let the wrapper relaunch pppd and check connection again. If it doesn't work, please send the logs.
Grab the three files from sdcard root and post them back here.
I'm also experimenting some kernel tuning that can be activated with this:
Code:
echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio
echo 8192 > /proc/sys/vm/min_free_kbytes
Nothing conclusive yet, but it seems to help.
Thanks to Hastarin, I also attached his root package that includes wrapper with ppp options and tweaks.
Thanks,
LeTama
History
2010/11/24 Hastarin root package (ppp_tweaks_root.zip) added, it includes wrapper, ppp options and kernel tweaks.
2010/11/18 new kernel and wrapper v0.7
new test kernel with smd_tty trimmed to 2K.
wrapper fake data call list has now active=1
v0.6 - 2010/11/17
same as 0.5 without the stupid bug that trashed the code.
2010/11/16
Test kernel to diagnose the "tty_prepare_flip_string fail" error with high cpu usage, please check post here for detail
v0.5: delay changed for deactivate and fake data call list added.
v 0.4 - 2010/11/14
Changed tag to RIL_WRAP to improve log reading
Improved log messages
Signal tracking to try to find who kills wrapper monitor
Lower delay between AT commands
Sleep delays and sequence reworked
Tentative improvement to re-establish ppp
Tentative fix for wrapper monitor death with extra debug messages
Memory leak on deactivate fixed
v 0.3 - 2010/11/02
added network state detection to avoid doing ATD too early resulting in getting stuck.
changed nand handling, proper initialization for nand is now done by adding "nand_init" to wrapper command line in init.rc.
(Ex: service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init)
added a wrapper command line switch "rmnet_mode" for rmnet, "active" file in /etc/ppp is no longer used nor required for ppp.
v 0.2 - 2010/10/31, first release
restarts pppd when it dies
Troubleshooting
How to verify if wrapper is running:
In radio log (logcat -b radio -d), my wrapper write this at startup (do it quickly after boot, it disappears quite quickly over time):
Code:
----------- HTC Ril Wrapper v0.7 starting ------------
and you should have debug messages there starting with RIL_WRAP, not RILW.
Crash on boot (v0.2):
Check if your kernel command line in startup.txt has "nand_boot=0". If it still doesn't boot, try to remove any other option and only keep "nand_boot=0"
Troubleshooting crash on boot
Even if it crashes very early, it should be possible to grab early logs. To do that, start adb *before* starting android with this command:
adb logcat -b radio -v time
adb should say *waiting for device*, you can then start Android. Adb will show some logs before the device crashes. Please send me the logs if you are able to do so.
If you see [email protected]=0 in the log, it means that the wrapper thinks you are on nand, and that's why you device crashes.
pppd-fix
I saw in some logs that some are using Cass pppd-fix script with the wrapper. Cass script and wrapper are doing the same thing and are conflicting. So, if you have installed the pppd-fix, please remove it, it won't play nice with the wrapper.
Known issues
2010/11/14: pppd first launch fails after boot. wrapper catch it, however it would be nice to have it working the first time. It adds few seconds to re-establish data, so be patient!
2010/11/14: high cpu consumption. The issue comes from memory management in kernel, we still have to figure out what's happening.
2010/11/04: pppd monitor process seems to die from time to time. I don't know why yet, looking at the code it doesn't seem possible. I'll look into it and maybe release a new version with more debug traces. You can see it in terminal by doing a 'ps', it will show one of the rild as zombie ( Z instead of S just before process name). The easiest way to restart it is to do a data off/on.
Hi letama,
Currently i'm using ppp-fix. Can I contribute here? or I have to remove the script from init.rc then I reboot the device so I can contribute?
nice
try now
Hi LeTama,
thank you for your work.
It seems that your fix work. I don't notice any dropouts.
But that could be a reason of the issue that the phone does not start android.
It boots WM then haret and then it freezes on the black screen with the green HTC logo...
I use [UPD][BUILD][30.10.10] MDJ FroYo Revolution v.1.1 [kernel: hastarin R8] and after copying your file with ES explorer I've rebooted the phone and now it hangs on the htc screen after running haret...
But the good news are, the dropouts are gone
Sorry but I can't post logcat messages without booting android complete
Which build do you recommend?
funky81 said:
Hi letama,
Currently i'm using ppp-fix. Can I contribute here? or I have to remove the script from init.rc then I reboot the device so I can contribute?
Click to expand...
Click to collapse
Hi Funky81,
Well, it's better to remove ppp-fix as I do the same thing in the wrapper now. The way it's done in the wrapper is cleaner and should have the same effect.
You can just comment it in your init.rc if you want to keep it, but keeping it active could have side effects.
Crusoe86 said:
Hi LeTama,
thank you for your work.
It seems that your fix work. I don't notice any dropouts.
But that could be a reason of the issue that the phone does not start android.
It boots WM then haret and then it freezes on the black screen with the green HTC logo...
I use [UPD][BUILD][30.10.10] MDJ FroYo Revolution v.1.1 [kernel: hastarin R8] and after copying your file with ES explorer I've rebooted the phone and now it hangs on the htc screen after running haret...
But the good news are, the dropouts are gone
Sorry but I can't post logcat messages without booting android complete
Which build do you recommend?
Click to expand...
Click to collapse
You have adb on you pc ? You should be able to run adb even if android is not fully started.
With it, you can get logcat and even rename back the old wrapper to see if it starts booting again.
So far it's working very nice, I will be out and about today and will try to crash your masterpiece...
I just wanted to publicly say a big "THANKS" for helping everyone out with the PPP issues, you have always listened when I've popped in on the IRC and asked questions and relayed info from XDA. Thanks for your time and expertise. Your DEV work has not gone unnoticed!
Now get ready to fix the wrapper after we all crash it. Or read all the post on how your wrapper has made their microwave burn their popcorn and how their wifi can now communicate with the satellites....bla....bla.......
noellenchris said:
So far it's working very nice, I will be out and about today and will try to crash your masterpiece...
I just wanted to publicly say a big "THANKS" for helping everyone out with the PPP issues, you have always listened when I've popped in on the IRC and asked questions and relayed info from XDA. Thanks for your time and expertise. Your DEV work has not gone unnoticed!
Now get ready to fix the wrapper after we all crash it. Or read all the post on how your wrapper has made their microwave burn their popcorn and how their wifi can now communicate with the satellites....bla....bla.......
Click to expand...
Click to collapse
Hehe...that may not happen. At least for my copy. I am giving mine a thorough flogging with Speed Test and can't make the data freeze. And I'm seeing over 3000Kb/s HSDPA speeds...with the common, single APN settings. By the way, I'd like to thank both of you for your hard efforts.
testing...
testing now... thanks!
letama said:
You have adb on you pc ? You should be able to run adb even if android is not fully started.
With it, you can get logcat and even rename back the old wrapper to see if it starts booting again.
Click to expand...
Click to collapse
Sadly I got the same problem and it's the initial logo screen it's hanging at, not the boot animation, so no adb shell is possible. I did get you a dmesg via andlog though (attached).
Time to restore a copy of system.ext2 that I backed up before... Oh wait, I didn't. Oh well, time to restore the copy from the original build.
To anyone trying this I suggest first taking a copy of the system.ext2 from your Android folder, just in case. At least if you'd tweaked anything in it already (build.prop for example) like I had.
On the plus side I did setup a gscript with the commands you noted and test it before I rebooted the phone. From that I noticed I had some errors in my logs already. I've attached them in case they help. NOTE: This is on my kernel and it almost seems like your patch to hi/lo-mem and my patch to move ppp compression to hi-mem have countered each other. It's getting late here so I'll have to continue experiments tomorrow after work.
Hope this helps
Here you go. I had a disconnect and sync fail (Exchange Server).
And Another
Same as before
Dr Nicky said:
Here you go. I had a disconnect and sync fail (Exchange Server).
Click to expand...
Click to collapse
Dr Nicky said:
Same as before
Click to expand...
Click to collapse
crashes when your on exchange? were you doing anything else. Hmm, sounds like the same used to happen to me sometimes. But it's working ok now with this wrapper. Did you try to repush the wrapper on reboot?
hastarin said:
Time to restore a copy of system.ext2 that I backed up before... Oh wait, I didn't. Oh well, time to restore the copy from the original build.
Click to expand...
Click to collapse
Hastarin, you can mount the ext2 on your pc and replace the file ?
Your log show a modem crash, weird.
letama said:
Hastarin, you can mount the ext2 on your pc and replace the file ?
Your log show a modem crash, weird.
Click to expand...
Click to collapse
Yeah, mdeejay even sent me a whole build he had working with the wrapper and I got the same crash.
I'm back up and running now. Restored the original system.ext2 from the build and reapplied my few tweaks.
FYI I'm going to try the following in my init.rc
Code:
# Tweak inode caches
write /proc/sys/vm/vfs_cache_pressure 200
Based on this:
http://www.cyberciti.biz/faq/linux-page-allocation-failure-erro/
But now it's approaching 4am here and I really must sleep.
PS Giving up on testing your wrapper for now. It just really doesn't like me.
noellenchris said:
crashes when your on exchange? were you doing anything else. Hmm, sounds like the same used to happen to me sometimes. But it's working ok now with this wrapper. Did you try to repush the wrapper on reboot?
Click to expand...
Click to collapse
They were both forced repush. The only way I could get the radio back on line was to do a Hot Reboot.
Dr Nicky said:
Same as before
Click to expand...
Click to collapse
Thanks for the logs! Unfortunately, they are showing that the wrapper restarts pppd and it doesn't seem to go bad. Could you give me the dmesg also ?
Could you also show me /bin/ifconfig result ?
LeTama
I'm having the same issue as Hastarin - well, I've been using his latest kernel. Doesn't even boot.
Instead of restoring system.ext2, I just pushed an older lib and went back to the old method of restarting pppd.
My own logs for a dropout that just occurred (3G/H icon vanished while loading a web page). For me, the wrapper didn't work with Hastarin r8, but does with r7.7.
Thanks for looking into this!

Cyanogen 7 nightly with game pocket empires

Does anyone have a confirmed cyanogen 7 nightly that works with the game pocket empires?? I've tried a few but everytime I get "game data corrupted" but the game works fine on 6.1.
Sent from my HTC Vision using XDA App
Mine worked with a few nightly's but isnt working with the RC1 now, i'll grab a logcat of what's going on tonight and try and figure out why it's failing to launch
andrewhansen86 said:
Does anyone have a confirmed cyanogen 7 nightly that works with the game pocket empires?? I've tried a few but everytime I get "game data corrupted" but the game works fine on 6.1.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
alright I grabbed a logcat from launching app until that game data corrupt box comes up and this is what I got
Code:
I/ActivityManager( 7969): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.miracle.android.pe/.activity.SplashActivity bnds=[365,400][475,540] } from pid 8082
I/ActivityManager( 7969): Displayed com.miracle.android.pe/.activity.SplashActivity: +546ms
D/P (10229): get: http://server-list.appspot.com/server
D/P (10229): recv: {"V":0,"A":"http://www.pocket-play.com/terms-of-use","W":[{"N":"Glory beta)","D":"server4","E":true,"S":"http://pe4.pocket-play.com/","G":[{"S":"http://pe-server4.appspot.com/","L":41}]},{"N":"Honor (beta)","D":"server1","E":true,"S":"http://pe1.pocket-play.com/","G":[{"S":"http://pe-server1.appspot.com/","L":85}]},{"N":"Courage (beta)","D":"server2","E":true,"S":"http://pe2.pocket-play.com/","G":[{"S":"http://pe-server2.appspot.com/","L":37}]},{"N":"Test Server (close beta)","D":"server3","E":true,"S":"http://pe3.pocket-play.com/","G":[{"S":"http://pe-server3.appspot.com/","L":100}]},{"N":"Test Local","D":"test1","E":true,"S":"http://192.168.1.100/","G":[{"S":"http://192.168.1.100/","L":85}]},{"N":"Test Local 2","D":"test2","E":true,"S":"http://192.168.1.200:8888/","G":[{"S":"http://192.168.1.200:8888/","L":41}]}]}
W/IdleConnectionHandler(10229): Removing a connection that never existed!I/Database(10229): sqlite returned: error code = 1, msg = no such table: building
E/P (10229): android.database.sqlite.SQLiteException: no such table: building: , while compiling: SELECT DISTINCT type_id, show, level, name, desc, icon,image, req, func, pos, count, cost_time, cost_gold, cost_food, add_gold, add_food, store_gold, store_food FROM building ORDER BY show
W/System.err(10229): android.database.sqlite.SQLiteException: no such table: building: , while compiling: SELECT DISTINCT type_id, show, level, name, desc, icon, image, req, func, pos, count, cost_time, cost_gold, cost_food, add_gold, add_food, store_gold, store_food FROM building ORDER BY show
W/System.err(10229): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
W/System.err(10229): at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:92)
W/System.err(10229): at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:65)
W/System.err(10229): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:83)
W/System.err(10229): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
W/System.err(10229): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
W/System.err(10229): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1356)
W/System.err(10229): at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1235)
W/System.err(10229): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1189)
W/System.err(10229): at com.miracle.android.pe.entity.DBhelper.getBuilding(DBhelper.java:326)
W/System.err(10229): at com.miracle.android.pe.entity.UserEntity.getGameBuilding(UserEntity.java:278)
W/System.err(10229): at com.miracle.android.pe.activity.SplashActivity$LoaderTask.doInBackground(SplashActivity.java:198)
W/System.err(10229): at com.miracle.android.pe.activity.SplashActivity$LoaderTask.doInBackground(SplashActivity.java:1)
W/System.err(10229): at android.os.AsyncTask$2.call(AsyncTask.java:185)
W/System.err(10229): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
W/System.err(10229): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
W/System.err(10229): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
W/System.err(10229): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
W/System.err(10229): at java.lang.Thread.run(Thread.java:1019)
D/dalvikvm(10229): GC_CONCURRENT freed 350K, 52% free 2895K/5959K, external 1119
K/1631K, paused 3ms+3ms
Now I have no idea what I gotta do to fix this, I was thinking of contacting the developer but they don't seem too helpful from what I hear
Same here. PE will not work. cm7 nightly b#34. I was thinking about going to rc but guess i will wait.
AJOwens said:
Same here. PE will not work. cm7 nightly b#34. I was thinking about going to rc but guess i will wait.
Click to expand...
Click to collapse
I was one an older nightly and it was working fine and i had upgrade nightly to nightly without wipes until like 27 and it was still working, i think the wipe and reflash killed it ;(
we can see the error going on but i have no idea how to fix it, anyone have any ideas?
I dunno how to fix it, I love CM7 and how it looks and everything, its awesome, just wish I could play pocket empires with it.
Sent from my HTC Vision using XDA App
So I did find one solution....or half a solution, so this may help narrow down what the problem is.
If you are on 6.1, and update to 7.0 but do not include the google apps, and do not wipe date, you get into gingerbread, and pocket empires works fine.
Ive tested several different ways, ive done this and then tried to go back into rom manager and apply the google apps, but that didnt work, ive also tried an older version of google apps from CM 6 but that did not work either.
So that is what i found out via trial and error, maybe someone could explain MAYBE what is going on.
So after a little more research i did get everything working. Still dont understand the reason why though. Maybe someone with a little more insight can explain it.
So Start on 6.1, and you can go ahead and get rom manager up to 3.0, then click update and CM 7.0 pops up, download it and the google apps, and install. DO NOT WIPE DATA. It will go through the install process and gingerbread loads up, market works, google account sync works and POCKET EMPIRES works!!!!
Still dont understand why this happened though.
So enjoy everyone.
PS-I run am a commander and run a alliance on the honor server for dragons, alliance name is Chuck Norris, join if your new to the game or if you need a place to call home.
andrewhansen86 said:
So after a little more research i did get everything working. Still dont understand the reason why though. Maybe someone with a little more insight can explain it.
So Start on 6.1, and you can go ahead and get rom manager up to 3.0, then click update and CM 7.0 pops up, download it and the google apps, and install. DO NOT WIPE DATA. It will go through the install process and gingerbread loads up, market works, google account sync works and POCKET EMPIRES works!!!!
Still dont understand why this happened though.
So enjoy everyone.
PS-I run am a commander and run a alliance on the honor server for dragons, alliance name is Chuck Norris, join if your new to the game or if you need a place to call home.
Click to expand...
Click to collapse
I already knew if I went from 6.1 to CM7 it works as I did that a few times... I'm trying to find the issue I dont know if its missing a file it's looking for or something, if you have time can you run logcat then launch the app login to your server then close the game and copy/paste the log here so I can see it? I don't want to wipe then flash back to 6.1 as I finally got it all setup again and dont wanna have to do this again

Kindle Fire Software on Gtab (WIP)

I have been trying to get the kindle fire software running on the Gtablet, so far I can get through registration. After that force closes like crazy. If anyone has any ideas that might help feel free to discuss, in the mean time I will keep at it and see what happens, and if I get it to a useful state I will release it. I am currently using Flashback as a base which may account for some of the issues since the kindle fire runs 2.3 however I have had less apps crash on HC.
I have added crash logs below and rather than upload all the apps/libs that are required to even boot the launcher, I have uploaded a CW rom flash for the 1.2 bootloader only!! The rom is tlbardelljr's Flashback with some amazon stuff added.
*Update* I have managed to get it past registration, but then it force closes (com.amazon.kindle.otter). I am now at a stand still until I either learn more about modding apps to work with the core os, or I find a developer who has more knowledge than I to help get this going. If you are interested in helping and are knowledgeable in this area please contact me with a PM. Thanks, and in the mean time I will get to learning
*Update 11-26-11* Thanks to rajeevvp I am getting a little bit further with sorting out errors (I get past registration now) hopefully I will have something new soon.
*Update 12-6-11* The issues appear to be OpenGL/Driver related now, so for now I am putting this project aside. If anyone would like to take over from here feel free.
Warning: This is for testing purposes only!!! Be sure you know how to use nvflash!!!
Code:
11-26 12:31:39.927: W/InputManagerService(1031): Got RemoteException sending setActive(false) notification to pid 2203 uid 10025
11-26 12:31:39.927: E/AndroidRuntime(2393): FATAL EXCEPTION: GLThread 14
11-26 12:31:39.927: E/AndroidRuntime(2393): java.lang.IllegalArgumentException: Thread: + GLThread 14 No configs match config spec
11-26 12:31:39.927: E/AndroidRuntime(2393): at com.amazon.kindle.otter.ogl.FSAAConfigChooser.chooseConfig(FSAAConfigChooser.java:102)
11-26 12:31:39.927: E/AndroidRuntime(2393): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:981)
11-26 12:31:39.927: E/AndroidRuntime(2393): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1326)
11-26 12:31:39.927: E/AndroidRuntime(2393): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)
11-26 12:31:39.937: D/SurfaceFlinger(1031): screenshot: sw=173, sh=101, minZ=0, maxZ=21010
11-26 12:31:39.937: W/ActivityManager(1031): Force finishing activity com.amazon.kindle.otter/.Launcher
http://www.multiupload.com/HW4GXSCNF7 - Rom
http://www.multiupload.com/1HBY5YH7ST - Full Crash Log
Just out of curiosity. Since the Kindle Fire software was developed for froyo, have you tried like a vegan tab 5.11 ROM. I know some modules in the kernel software are present in the vegan froyo ROMS that are not present in the later kernels. This is a great idea and I will be watching this thread with great anticipation. Maybe you could post the software you are trying to load. Like if it is an APK host with mediafire or something. Then others like me can download and try to get it working too. once again GREAT IDEA!!!!!
Awesome, this is exactly what I want, wish I could help
Sent from my HTC Glacier using xda premium
I thought the kindle fire was gingerbread?
Sent from my GTablet using Tapatalk
I think you are right. I read an old article, it is 2.3. I will be updating with my crash logs and files soon.
Sent from my Nexus S using XDA App
barracudacm said:
Just out of curiosity. Since the Kindle Fire software was developed for froyo, have you tried like a vegan tab 5.11 ROM. I know some modules in the kernel software are present in the vegan froyo ROMS that are not present in the later kernels. This is a great idea and I will be watching this thread with great anticipation. Maybe you could post the software you are trying to load. Like if it is an APK host with mediafire or something. Then others like me can download and try to get it working too. once again GREAT IDEA!!!!!
Click to expand...
Click to collapse
I have tried vegan with no luck, the launcher won't even start on vegan. I have also tried to make a full from port with the vegan kernel and I can't get it to boot. I am not super experienced with ports though. I am a themer at heart, but just decided to try this because it is something that I would use a lot.
Sent from my Nexus S using XDA App
I am guessing they made quite a bit of changes to the underlying system
Sent from my HTC Glacier using xda premium
the3dman said:
This is the main error I am trying to figure out (com.amazon.dcp):
Click to expand...
Click to collapse
At least 3 errors are readily evident from the log file.
1. "No JNI_OnLoad found in /system/lib/libCommonWrapper.so 0x40587208, skipping init"
This looks like the wrong libCommonWrapper.so library is being used. Check for multiple copies of this file, or, if there is only one copy, try using the /system/bin/linker and /system/lib/libdl.so from the Kindle Fire.
2. "Error creating directory /system/etc/labdictionary"
The /system partition may be mounted read-only or the application trying to create the directory might not have permissions to create it in /system/etc. Create the directory and use the permissions of the original dir on the Kindle Fire.
3. "Native KRF library failed to load.
java.lang.UnsatisfiedLinkError: Couldn't load ft2KRF: findLibrary returned null"
This looks like a straightforward library missing problem. Look for any *KRF* in /system/lib on the Kindle Fire and copy those files to the same place on your ROM.
rajeevvp said:
At least 3 errors are readily evident from the log file.
1. "No JNI_OnLoad found in /system/lib/libCommonWrapper.so 0x40587208, skipping init"
This looks like the wrong libCommonWrapper.so library is being used. Check for multiple copies of this file, or, if there is only one copy, try using the /system/bin/linker and /system/lib/libdl.so from the Kindle Fire.
2. "Error creating directory /system/etc/labdictionary"
The /system partition may be mounted read-only or the application trying to create the directory might not have permissions to create it in /system/etc. Create the directory and use the permissions of the original dir on the Kindle Fire.
3. "Native KRF library failed to load.
java.lang.UnsatisfiedLinkError: Couldn't load ft2KRF: findLibrary returned null"
This looks like a straightforward library missing problem. Look for any *KRF* in /system/lib on the Kindle Fire and copy those files to the same place on your ROM.
Click to expand...
Click to collapse
Thanks for the assistance, it is much appreciated. I will definitely try these.
Sent from my Nexus S using XDA App
rajeevvp said:
At least 3 errors are readily evident from the log file.
1. "No JNI_OnLoad found in /system/lib/libCommonWrapper.so 0x40587208, skipping init"
This looks like the wrong libCommonWrapper.so library is being used. Check for multiple copies of this file, or, if there is only one copy, try using the /system/bin/linker and /system/lib/libdl.so from the Kindle Fire.
2. "Error creating directory /system/etc/labdictionary"
The /system partition may be mounted read-only or the application trying to create the directory might not have permissions to create it in /system/etc. Create the directory and use the permissions of the original dir on the Kindle Fire.
3. "Native KRF library failed to load.
java.lang.UnsatisfiedLinkError: Couldn't load ft2KRF: findLibrary returned null"
This looks like a straightforward library missing problem. Look for any *KRF* in /system/lib on the Kindle Fire and copy those files to the same place on your ROM.
Click to expand...
Click to collapse
I have set permissions and created the directory but am still getting: "Error creating directory /system/etc/labdictionary"
Also I cannot use the linker from the kindle I just get bootloops when I try.
Not quite sure if this will help. But here is a gingerbread kernel that slimm6099 compiled for me for use with gingerbread. He used alot of normally unused modules to make it,.. including loop device support and swap functionality. Just thought it might help.
http://dl.dropbox.com/u/14075340/barracudacm-kernel.zip
p.s. I cant boot linux or bactrack5 on gingerbread without this kernel. (dont know if thats relevant?!......)
barracudacm said:
Not quite sure if this will help. But here is a gingerbread kernel that slimm6099 compiled for me for use with gingerbread. He used alot of normally unused modules to make it,.. including loop device support and swap functionality. Just thought it might help.
http://dl.dropbox.com/u/14075340/barracudacm-kernel.zip
p.s. I cant boot linux or bactrack5 on gingerbread without this kernel. (dont know if thats relevant?!......)
Click to expand...
Click to collapse
Thanks, I will give it a shot.
Sent from my Nexus S using XDA App
the3dman said:
I have set permissions and created the directory but am still getting: "Error creating directory /system/etc/labdictionary"
Click to expand...
Click to collapse
Hmm. That's strange. Are other dirs/files missing? Try doing a filesystem comparison using the file listing on both devices using adb if possible. On a Linux system (on Windows, install Cygwin first):
Code:
[I]Connect gTab to PC[/I]
$ [B]adb shell find /system | sort > gtab-find.txt[/B]
$ [B]adb shell ls -lR /system > gtab-ls.txt[/B]
[I]Disconnect gTab and connect Kindle Fire[/I]
$ [B]adb shell find /system | sort > kfire-find.txt[/B]
$ [B]adb shell ls -lR /system > kfire-ls.txt[/B]
[I]Find differences[/I]
$ [B]diff -Bbu gtab-find.txt kfire-find.txt[/B]
Then look for dirs/files missing on the gTab and use the detailed listing in the kfire-ls.txt as a guide to creating the correct permissions.
Also I cannot use the linker from the kindle I just get bootloops when I try.
Click to expand...
Click to collapse
That is a risk you always take when messing around with the linker. Did you also copy the /system/lib/libdl.so library? Try using the linker and libdl.so from the latest CyanogenMod update.zip file.
rajeevvp said:
Hmm. That's strange. Are other dirs/files missing? Try doing a filesystem comparison using the file listing on both devices using adb if possible. On a Linux system (on Windows, install Cygwin first):
Code:
[I]Connect gTab to PC[/I]
$ [B]adb shell find /system | sort > gtab-find.txt[/B]
$ [B]adb shell ls -lR /system > gtab-ls.txt[/B]
[I]Disconnect gTab and connect Kindle Fire[/I]
$ [B]adb shell find /system | sort > kfire-find.txt[/B]
$ [B]adb shell ls -lR /system > kfire-ls.txt[/B]
[I]Find differences[/I]
$ [B]diff -Bbu gtab-find.txt kfire-find.txt[/B]
Then look for dirs/files missing on the gTab and use the detailed listing in the kfire-ls.txt as a guide to creating the correct permissions.
That is a risk you always take when messing around with the linker. Did you also copy the /system/lib/libdl.so library? Try using the linker and libdl.so from the latest CyanogenMod update.zip file.
Click to expand...
Click to collapse
Thanks for the help, I will attempt this when I have a free chance.
I'm really hoping to see this working on g tablet soon. I'd like to see what the kindle fire software is like.
bdds13 said:
I'm really hoping to see this working on g tablet soon. I'd like to see what the kindle fire software is like.
Click to expand...
Click to collapse
Same here, this will be really cool.
Well after playing around some more I got it narrowed down to one major issue. OpenGL seems to be what is now causing the force close, and I think until we get some proper drivers we are sol. I could be wrong, like I stated in the OP I am just an amateur at this. So for now I am going to take some time away from this, but if anyone would like to pick up from where I am leaving off then feel free.
the3dman said:
Well after playing around some more I got it narrowed down to one major issue. OpenGL seems to be what is now causing the force close, and I think until we get some proper drivers we are sol. I could be wrong, like I stated in the OP I am just an amateur at this. So for now I am going to take some time away from this, but if anyone would like to pick up from where I am leaving off then feel free.
Click to expand...
Click to collapse
I think you are right, the problem with all the ROMS for G tablet seems to be proper Nvidia drivers.
Hi All:
I'm a long time Viewsonic GTablet owner and have ran just about every ROM xda/slatedroid/ and other have to offer.
I really appreciate the work that ppl have done here but was curious as to why other than just because we can.
My friend has purchased a Kindle Fire and there are a few things really like about it and somethat I really hate. This all JMO and in no way am I trying to knock the work being done here. With that said, here are some of my observations:
-PRO- Kindle Fire UI is one of the cleaniest I have ever seen and I've been a tablet user for over a year now.
-PRO- the "newstand" UI concept is one that can get even the most non tech person into a tablet with the least amount of pain
-CON- Marketplace is not available
-CON- need to setup yet another email account on amazon (cant use a google account)
-CON- cant add additional mail accounts (gmail, yahoo, hotmail, etc) simpily
My overall impression is that the Fire is a inexpensive Ipad for digital consumer that want to do just that, consume, and not pay $700 to have the right to do so.
Good luck too all and happy holidayz, I'll keep an i-out to see if we make any progress and will glady be a alpha-beta tester.
nyciz said:
Hi All:
I'm a long time Viewsonic GTablet owner and have ran just about every ROM xda/slatedroid/ and other have to offer.
I really appreciate the work that ppl have done here but was curious as to why other than just because we can.
My friend has purchased a Kindle Fire and there are a few things really like about it and somethat I really hate. This all JMO and in no way am I trying to knock the work being done here. With that said, here are some of my observations:
-PRO- Kindle Fire UI is one of the cleaniest I have ever seen and I've been a tablet user for over a year now.
-PRO- the "newstand" UI concept is one that can get even the most non tech person into a tablet with the least amount of pain
-CON- Marketplace is not available
-CON- need to setup yet another email account on amazon (cant use a google account)
-CON- cant add additional mail accounts (gmail, yahoo, hotmail, etc) simpily
My overall impression is that the Fire is a inexpensive Ipad for digital consumer that want to do just that, consume, and not pay $700 to have the right to do so.
Good luck too all and happy holidayz, I'll keep an i-out to see if we make any progress and will glady be a alpha-beta tester.
Click to expand...
Click to collapse
I am also a kindle fire owner. When I am not making themes for my GTab, I really only use the GTab as an e-reader and to browse the net. I never use the google market on it, I use the amazon one though for the free apps, I don't check email on it I either use my nexus s or my computer. So really the only stuff I use is the amazon stuff, so I figured why not just have 2 kindle fires around the house so that when my wife is reading on the real fire, I have my own GFire to read on with a bigger screen. But I was also doing it because I love the UI and like you said because I can (It was something to keep my busy).

OnePlusCamera on LOS 18.1

I've been having a hard time finding my way around the camera situation on LOS. I've been reading a few threads, somewhere people suggest that it's not possible to port it because it needs to be baked into the ROM. In other situations people seem to refer to the now deprecated oyx-fi module for Magisk.
I tried tinkering around, i unpacked the OTA image and tried to push OnePlusCamera to /system/system_ext/priv-app as it's configured on the stock firmware but besides running out of space (partition has 29MB left and the app itself is over 130MB in size) adb disable-verity made the phone unstable and lead to the Qualcomm Crash Dump screen within a minute or two. Pushing libsnpe_dsp_v66_domains_v2_skel.so alone apparently wasn't enough either to do the magic. I thought about setting a softlink but since the phone would crash, i gave up on that method since i don't know how deal with such issues.
Based on a logs from a normal install i would assume that some services/applications might be missing that are essential for OPCam to work. One of the errors being:
Code:
[08-05 13:11:18.371 4892:4892 E/CameraActivity]
getRequiredPermissions() - failed
android.content.pm.PackageManager$NameNotFoundException: com.oneplus.camera.CAMERA_SERVICE
at android.app.ApplicationPackageManager.getPermissionInfo(ApplicationPackageManager.java:375)
at com.oneplus.camera.CameraActivity.getRequiredPermissions(CameraActivity.kt:2255)
at com.oneplus.camera.CameraActivity.requestRequiredPermissions(CameraActivity.kt:4200)
at com.oneplus.camera.CameraActivity.onResume(CameraActivity.kt:3679)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1456)
at android.app.Activity.performResume(Activity.java:8129)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4428)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4470)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
I tried installing OnePlusCameraService.apk but it resulted in the issue below.
Code:
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Reconcile failed: Package com.oneplus.camera.service has no signatures that match those in shared user android.uid.system; ignoring!]
If anyone would fancy to have a look at the logcat output to hint me in a direction, that would be much appreciated. My knowledge around android is pretty poor and googling only does so much. All I'm doing is trial and error .... The reason for all this is because I'd prefer to get the stock camera working, with vendor sources, as i have little trust in the random apks and configs that people upload to whatever platform and it would be to sad not to be able to use the otherwise pretty good camera.
Thanks in advance for help
@chandu dyavanapelli can help you out perhaps

Categories

Resources