Related
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.
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
Got bored, tried to port the flyer rom that the DHD and Inspire 4G has... 70% failure. It boots past the spashscreen, but the bootanimation loops. It doesn't even get done writing "quietly brilliant".. It's more like, "quietly bri" then a blank screen, then boot starts over. and loops. Any idea why? Anyone want the fail of a ROM and wants to help on it? [Note: It's a MASSIVE ROM, about 430 MB].
EDIT: Logcat, for the awesome. http://pastebin.com/vGjzUnYP
GazaIan said:
Got bored, tried to port the flyer rom that the DHD and Inspire 4G has... 70% failure. It boots past the spashscreen, but the bootanimation loops. It doesn't even get done writing "quietly brilliant".. It's more like, "quietly bri" then a blank screen, then boot starts over. and loops. Any idea why? Anyone want the fail of a ROM and wants to help on it? [Note: It's a MASSIVE ROM, about 430 MB].
Click to expand...
Click to collapse
Does it offer new features compared to the rom from Kingdom/Pyramid?
And can you upload the file the you were working on too?
Ace42 said:
Does it offer new features compared to the rom from Kingdom/Pyramid?
And can you upload the file the you were working on too?
Click to expand...
Click to collapse
I wouldn't know, I haven't used it (yet). I'm uploading it right now,, as well as a logcat for anyone to look at.
GazaIan said:
I wouldn't know, I haven't used it (yet). I'm uploading it right now,, as well as a logcat for anyone to look at.
Click to expand...
Click to collapse
Haha yeah forgot you said it doesnt boot yet.
Oh hell, I forgot it was uploading and turned off the computer.. ah ill upload it again tomorrow, but if anyone recognizes anything from the logcat ( like the Fatal exception, followed by the death of every process, then the complete fail and the () and knows a fix, suggest it.
Also, clearing data or fixing permissions didn't do the trick, so don't suggest that.
Sent from my aching fingers
GazaIan said:
Oh hell, I forgot it was uploading and turned off the computer.. ah ill upload it again tomorrow, but if anyone recognizes anything from the logcat ( like the Fatal exception, followed by the death of every process, then the complete fail and the () and knows a fix, suggest it.
Also, clearing data or fixing permissions didn't do the trick, so don't suggest that.
Sent from my aching fingers
Click to expand...
Click to collapse
I glanced over some parts and can see these are causing issues like the loop you're having
E/ActivityThread( 8727): Failed to find provider info for settings
E/AndroidRuntime( 8727): *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerService
Once this fails android will continually try to restart the service till it functions.
Some others..
E/libEGL ( 9331): eglSetSwapRectangleANDROID:1985 error 3008 (EGL_BAD_DISPLAY)
W/zipro ( 9349): Unable to open zip '/system/etc/customer/bootanimation.zip': No such file or directory
D/PackageManager( 9331): No files in app dir /system/app <--Same as below
D/PackageManager( 9331): No files in app dir /vendor/app <--Phone can't goto setup w/ no apps accessible in /system
The whole booting process just restarts once everything starts dying. I would check on the HW files being used and replace the GPU files(lib.so's). I'll try and help you after you re-upload the file.
I replaced everything from hw already, and even left the stock ones but I get the same result on both. I'm going to take a crack it again, AOSP calmed me down and now I have the energy to go back to Sense
when i try to SS, got an error saying that "its impossible due to low space or app or organization cant permit" (dunno the exactly words in english, i got the error in portuguese"
just think maybe any kind of permission problem, anyone with more skills to help?
i saw this in logcat: I/art (17500): Background partial concurrent mark sweep GC freed 173(8KB) AllocSpace objects, 0(0B) LOS objects, 37% free, 26MB/42MB, paused 6.992ms total 10.957ms
**i attached a fast log when i try 3~4 times to SS.
im using Ressurection Remix 5.0, but i believe its not a exclusive bug for that rom, but all 5.0, for our G2 at least.
rafaelsartori said:
when i try to SS, got an error saying that "its impossible due to low space or app or organization cant permit" (dunno the exactly words in english, i got the error in portuguese"
just think maybe any kind of permission problem, anyone with more skills to help?
i saw this in logcat: I/art (17500): Background partial concurrent mark sweep GC freed 173(8KB) AllocSpace objects, 0(0B) LOS objects, 37% free, 26MB/42MB, paused 6.992ms total 10.957ms
**i attached a fast log when i try 3~4 times to SS.
im using Ressurection Remix 5.0, but i believe its not a exclusive bug for that rom, but all 5.0, for our G2 at least.
Click to expand...
Click to collapse
I can take screenshots on CM12 just fine.
Raymonf said:
I can take screenshots on CM12 just fine.
Click to expand...
Click to collapse
thanks for the answer... can you send me your info SS? so i can get more information about the build you are using and maybe try it.
Well im lost. I' ve been just staring at your logcat and mine and cant think of anything but that its broken in whatever rom you're using.
derekmt95 said:
Well im lost. I' ve been just staring at your logcat and mine and cant think of anything but that its broken in whatever rom you're using.
Click to expand...
Click to collapse
already try ressurection remix and temasek, both gives me error when SS.
rafaelsartori said:
thanks for the answer... can you send me your info SS? so i can get more information about the build you are using and maybe try it.
Click to expand...
Click to collapse
See attachments.
thanks for all who helped.
after some moments thinking in what could be blocking my SS, i try to wipe everything (includind the internal), and bingo, it works...
but i saw that doing that way, my internal memory is now mounted using another path... so if anyone have the same problem, try this:
reboot recovery -> wipe everything (cache|data|system|internal|dalvik) -> reboot recovery -> enable MTP -> copy rom|gapps|kernel|supersu (supersu/kernel optional) -> install those files -> reboot recovery -> wipe internal -> reboot system ->restore your internal memory files (if you backup).
first and second reboot are just to able you to enable MTP correctly.
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