[Fixed and Closed]Trying to RE-add the Google APPS to android. - Android Software/Hacking General [Developers Only]

Hi everyone,
I'm new to android but have some experience in Linux.
I've bought a Android phone from china but i found there is lack of the Google Apps. (Only have broswer and Maps. No market No Youtube No Gmail No Google Sync etc.) (I've seen some of the HTC india phone is No market too)
That make the phone nearly un-usable. (Only can make a phone call but no contact synced...LOL)
After i got the apk from the emulator and fixed some issue.
I'm interfacing a issue i don't know how to fix it.
The issue is Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS
Here is the logcat
Code:
[COLOR="Red"]E( 80) java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS (DatabaseUtils)[/COLOR]
E( 80) at com.android.providers.settings.SettingsProvider.checkWritePermissions(SettingsProvider.java:172) (DatabaseUtils)
E( 80) at com.android.providers.settings.SettingsProvider.insert(SettingsProvider.java:335) (DatabaseUtils)
E( 80) at android.content.ContentProvider$Transport.insert(ContentProvider.java:140) (DatabaseUtils)
E( 80) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:125) (DatabaseUtils)
E( 80) at android.os.Binder.execTransact(Binder.java:287) (DatabaseUtils)
E( 80) at dalvik.system.NativeStart.run(Native Method) (DatabaseUtils)
D( 509) Shutting down VM (AndroidRuntime)
W( 509) threadid=3: thread exiting with uncaught exception (group=0x4001aa08) (dalvikvm)
E( 509) Uncaught handler: thread main exiting due to uncaught exception (AndroidRuntime)
[COLOR="Red"]E( 509) java.lang.RuntimeException: Unable to create service com.google.android.googleapps.GoogleLoginService: java.lang.SecurityException: Permissio
n denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS (AndroidRuntime)[/COLOR]
E( 509) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2693) (AndroidRuntime)
E( 509) at android.app.ActivityThread.access$3100(ActivityThread.java:116) (AndroidRuntime)
E( 509) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1846) (AndroidRuntime)
E( 509) at android.os.Handler.dispatchMessage(Handler.java:99) (AndroidRuntime)
E( 509) at android.os.Looper.loop(Looper.java:123) (AndroidRuntime)
E( 509) at android.app.ActivityThread.main(ActivityThread.java:4203) (AndroidRuntime)
E( 509) at java.lang.reflect.Method.invokeNative(Native Method) (AndroidRuntime)
E( 509) at java.lang.reflect.Method.invoke(Method.java:521) (AndroidRuntime)
E( 509) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) (AndroidRuntime)
E( 509) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) (AndroidRuntime)
E( 509) at dalvik.system.NativeStart.main(Native Method) (AndroidRuntime)
E( 509) Caused by: java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS (And
roidRuntime)
E( 509) at android.os.Parcel.readException(Parcel.java:1218) (AndroidRuntime)
E( 509) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:145) (AndroidRuntime)
E( 509) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:111) (AndroidRuntime)
E( 509) at android.content.ContentProviderProxy.insert(ContentProviderNative.java:340) (AndroidRuntime)
E( 509) at android.content.ContentResolver.insert(ContentResolver.java:479) (AndroidRuntime)
E( 509) at android.provider.Settings$NameValueTable.putString(Settings.java:438) (AndroidRuntime)
E( 509) at android.provider.Settings$Secure.putString(Settings.java:1682) (AndroidRuntime)
E( 509) at com.google.android.googleapps.GoogleLoginService.onCreate(GoogleLoginService.java:396) (AndroidRuntime)
E( 509) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2684) (AndroidRuntime)
E( 509) ... 10 more (AndroidRuntime)
I've try to modify the
/system/etc/permissions/platform.xml
by
<assign-permission name="android.permission.WRITE_SECURE_SETTINGS" uid="system" />
but still no luck. (I've checked the PID 80 is run by System.)
Code:
system 80 46 176348 21752 ffffffff afe0c70c S system_server
From ps in the shell
Is anybody have an idea how to makes its works?
MY phone is already rooted but i haven't found the method to login to the recovery mode

No one know the method to grant this permission?

mp9_sit said:
MY phone is already rooted but i haven't found the method to login to the recovery mode
Click to expand...
Click to collapse
Have you tried "reboot recovery" from the shell?
-W5i2

place it on /system
To gain WRITE_SECURE_SETTINGS privilege the app should be placed on /system, but not always, see https://www.isecpartners.com/files/iSEC_Securing_Android_Apps.pdf

Related

Market Force Quitting

Hi All,
I have a rooted EVO 4G and I recently installed a updated stock ROM:
http://forum.xda-developers.com/showthread.php?t=1319881
Unfortunately, i can't post to that thread yet, so I'm forced to post here.
At any rate, everything seems to be working fine except that Market is force quitting on me.
I did a logcat and I see this:
D/Finsky ( 1084): [1] DownloadQueueImpl.startDownload: Download com.rerware.android.MyBackupRoot starting
E/DatabaseUtils( 441): Writing exception to parcel
E/DatabaseUtils( 441): java.lang.SecurityException: Invalid value for is_public_api: null
E/DatabaseUtils( 441): at com.android.providers.downloads.DownloadProvider.enforceAllowedValues(DownloadProvider.java:754)
E/DatabaseUtils( 441): at com.android.providers.downloads.DownloadProvider.checkInsertPermissions(DownloadProvider.java:692)
E/DatabaseUtils( 441): at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:495)
E/DatabaseUtils( 441): at android.content.ContentProvider$Transport.insert(ContentProvider.java:210)
E/DatabaseUtils( 441): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:181)
E/DatabaseUtils( 441): at android.os.Binder.execTransact(Binder.java:320)
E/DatabaseUtils( 441): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 1084): threadid=21: thread exiting with uncaught exception (group=0x4001d5a0)
E/AndroidRuntime( 1084): FATAL EXCEPTION: download-manager-thread
E/AndroidRuntime( 1084): java.lang.SecurityException: Invalid value for is_public_api: null
E/AndroidRuntime( 1084): at android.os.Parcel.readException(Parcel.java:1322)
E/AndroidRuntime( 1084): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 1084): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 1084): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:456)
E/AndroidRuntime( 1084): at android.content.ContentResolver.insert(ContentResolver.java:606)
E/AndroidRuntime( 1084): at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:44)
E/AndroidRuntime( 1084): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 1084): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1084): at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime( 1084): at android.os.HandlerThread.run(HandlerThread.java:60)
W/ActivityManager( 124): Unable to start service Intent { act=com.htc.android.iqagent.action.ui03 (has extras) }: not found
W/ActivityManager( 124): Force finishing activity com.android.vending/.AssetBrowserActivity
Any one have any idea how I can fix the invalid value for that "is_public_api" variable?
I've tried "fixing permissions" in the ClockworkMod, but that's not helped. I've also tried clearing the data & caches for the Market.
Any help would be appreciated!
Had you try to unistall market using Titanium Backup and then re-install it????
Plis let me know if this work
Unfortunately, I'd not tried that. I ended up using a older version of the market and it was fine then.
Sent from my PC36100 using XDA App

[Q] Stuck on bootloop!

oK! Sorry if this is in the wrong thread!
Now, i have been porting MIUI 2.8.17 ICS build to my device. but i am getting a bootloop at
Code:
W/dalvikvm( 357): threadid=26: thread exiting with uncaught exception (group=0x40a4a1f8)
E/AndroidRuntime( 357): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 357): android.database.sqlite.SQLiteException: no such table: systemex: , while compiling: SELECT value FROM systemex WHERE (name=?)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:78)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1564)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:354)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:291)
E/AndroidRuntime( 357): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:429)
E/AndroidRuntime( 357): at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
E/AndroidRuntime( 357): at android.provider.Settings$NameValueCache.getString(Settings.java:729)
E/AndroidRuntime( 357): at android.provider.Settings$Systemex.getString(Settings.java:4598)
E/AndroidRuntime( 357): at android.provider.Settings$Systemex.getInt(Settings.java:4637)
E/AndroidRuntime( 357): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:927)
E/AndroidRuntime( 357): at com.android.internal.policy.impl.MiuiPhoneWindowManager.init(MiuiPhoneWindowManager.java:97)
E/AndroidRuntime( 357): at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:733)
I/Process ( 357): Sending signal. PID: 357 SIG: 9
E/OMXCodec( 331): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 331): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/ServiceManager( 100): service 'permission' died
I/ServiceManager( 100): service 'usagestats' died
I/ServiceManager( 100): service 'telephony.registry' died
I/ServiceManager( 100): service 'batteryinfo' died
Can any1 help me out to fix this n pass through the bootloop!
thnx.
Any1?

"Unfortunately, Terminal Emulator has stopped." -- Missing library?

It's been a while since I've used Terminal Emulator on the phone, but this is a new failure for me. As far as I know, I'm still running the same CM9 build from months ago and shouldn't have changed much. As best as I can tell it is an unsatisfied library linkage.
Code:
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load jackpal-androidterm4: findLibrary returned null
but no indications as to what might be missing. I've re-installed a fresh APK from both Market/Play, as well as deleting and side-loading from the source distribution site, without much change in behavior. APK is installed in /system/app/ and is ODEX-ed when installed by Market/Play over the original. Installing from Market/Play or side-loading as a user app
Has anyone else run into this?
More logcat:
Code:
I/ActivityManager( 224): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=jackpal.androidterm/.Term bnds=[240,170][360,302]} from pid 14011
I/ActivityManager( 224): Start proc jackpal.androidterm for activity jackpal.androidterm/.Term: pid=20860 uid=10081 gids={3003, 1015}
I/dalvikvm(20860): Turning on JNI app bug workarounds for target SDK version 11...
E/Term (20860): onCreate
D/OpenGLRenderer(14011): Flushing caches (mode 1)
D/Term (20860): TermService started
I/TermService(20860): Activity called onBind()
I/Term (20860): Bound to TermService
I/TermService(20860): Activity binding to service
W/dalvikvm(20860): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Ljackpal/androidterm/Exec;
D/AndroidRuntime(20860): Shutting down VM
W/dalvikvm(20860): threadid=1: thread exiting with uncaught exception (group=0x40a2b1f8)
E/AndroidRuntime(20860): FATAL EXCEPTION: main
E/AndroidRuntime(20860): java.lang.ExceptionInInitializerError
E/AndroidRuntime(20860): at jackpal.androidterm.ShellTermSession.createSubprocess(ShellTermSession.java:198)
E/AndroidRuntime(20860): at jackpal.androidterm.ShellTermSession.initializeSession(ShellTermSession.java:135)
E/AndroidRuntime(20860): at jackpal.androidterm.ShellTermSession.<init>(ShellTermSession.java:88)
E/AndroidRuntime(20860): at jackpal.androidterm.Term.createTermSession(Term.java:430)
E/AndroidRuntime(20860): at jackpal.androidterm.Term.createTermSession(Term.java:439)
E/AndroidRuntime(20860): at jackpal.androidterm.Term.populateViewFlipper(Term.java:352)
E/AndroidRuntime(20860): at jackpal.androidterm.Term.access$400(Term.java:78)
E/AndroidRuntime(20860): at jackpal.androidterm.Term$2.onServiceConnected(Term.java:148)
E/AndroidRuntime(20860): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1068)
E/AndroidRuntime(20860): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1085)
E/AndroidRuntime(20860): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime(20860): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(20860): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(20860): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime(20860): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(20860): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(20860): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime(20860): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime(20860): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(20860): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load jackpal-androidterm4: findLibrary returned null
E/AndroidRuntime(20860): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime(20860): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime(20860): at jackpal.androidterm.Exec.<clinit>(Exec.java:33)
E/AndroidRuntime(20860): ... 19 more
W/ActivityManager( 224): Force finishing activity jackpal.androidterm/.Term

[Q] what is missing ?? logcat idea :D

hi,buddies
i have an question here is activity logcat
Code:
I/ActivityManager( 1752): Start proc com.htc.launcher for activity com.htc.launc
her/.Launcher: pid=3661 uid=10024 gids={3003, 1015, 1028}
D/dalvikvm( 1490): GC_EXPLICIT freed 38K, 74% free 2172K/8259K, paused 2ms+2ms,
total 37ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 4ms+2ms,
total 40ms
E/Trace ( 3661): error opening trace file: No such file or directory (2)
D/dalvikvm( 1490): WAIT_FOR_CONCURRENT_GC blocked 1ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 3ms+2ms,
total 41ms
I/ActivityThread( 3661): Pub com.htc.launcher.settings.facade: com.htc.launcher.
facade.LauncherProviderFacade
W/dalvikvm( 3661): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/htc/htcjavaflag/Native;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/htcjavaflag/HtcBuildFlag;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/SettingUtil;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/Logger;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/LauncherProvider;
W/dalvikvm( 3661): Class init failed in newInstance call (Lcom/htc/launcher/faca
de/LauncherProviderFacade;)
D/AndroidRuntime( 3661): Shutting down VM
W/dalvikvm( 3661): threadid=1: thread exiting with uncaught exception (group=0x4
114c300)
E/AndroidRuntime( 3661): FATAL EXCEPTION: main
E/AndroidRuntime( 3661): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 3661): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installProvider(Ac
tivityThread.java:4733)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installContentProv
iders(ActivityThread.java:4375)
E/AndroidRuntime( 3661): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:4317)
E/AndroidRuntime( 3661): at android.app.ActivityThread.access$1300(Activi
tyThread.java:142)
E/AndroidRuntime( 3661): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1268)
E/AndroidRuntime( 3661): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3661): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3661): at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 3661): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.LauncherProvider.<clinit>(La
uncherProvider.java:79)
E/AndroidRuntime( 3661): ... 15 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.Logger.<clinit>(Logger.
java:10)
E/AndroidRuntime( 3661): ... 16 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.SettingUtil.<clinit>(Se
ttingUtil.java:17)
E/AndroidRuntime( 3661): ... 17 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcDebugFlag.getProject(H
tcDebugFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.getHtc_PROJE
CT_flag(HtcBuildFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.<clinit>(Htc
BuildFlag.java)
E/AndroidRuntime( 3661): ... 18 more
E/AndroidRuntime( 3661): Caused by: java.lang.UnsatisfiedLinkError: Cannot load
library: link_image[1916]: 1490 could not load needed library 'libhtcflag_nativ
e.so' for 'libhtcflag-jni.so' (reloc_library[1331]: 1490 cannot locate '__htclo
g_init_mask'...
E/AndroidRuntime( 3661): )
E/AndroidRuntime( 3661): at java.lang.Runtime.loadLibrary(Runtime.java:39
1)
E/AndroidRuntime( 3661): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.Native.<clinit>(HtcDebugF
lag.java)
E/AndroidRuntime( 3661): ... 21 more
W/ActivityManager( 1752): Force finishing activity com.htc.launcher/.Launcher
W/ActivityManager( 1752): Activity pause timeout for ActivityRecord{41585298 com
.htc.launcher/.Launcher}
So,what is wrong?? can somebody help?
EDIT :
after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/show....php?t=2321867
http://forum.xda-developers.com/show....php?t=2184706
http://forum.xda-developers.com/show....php?t=2185699
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??
Doğa you need to ask a recognized developer this
Sent from my One V using Tapatalk 4 Beta
any idea??
Are you trying port a sense ROM to non-HTC device?
yes and no lol
i'm trying port sense 5 for htc one v - we didnt get official update.
try to copy dalvikvm
forumber2 said:
try to copy dalvikvm
Click to expand...
Click to collapse
oba abi sen türk değilmisin ya kocaeli-gebze
dalvikvm yi kopyalayınca milyon tane başka bişey istiyor onun yerine şu linklerdeki portları birleştirip htc one v ye portlamayı deniyorum şimdide başka problemler çıktı ama
translate : after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/showthread.php?t=2321867
http://forum.xda-developers.com/showthread.php?t=2184706
http://forum.xda-developers.com/showthread.php?t=2185699
devamını ingilizce yazcam yoksa ban veriyolar
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??

[Q] SuperSU on Galaxy S4

Hello,
I installed UPDATE-SuperSU-v1.65.zip with the TWRP recovery image on my Galaxy S4.
The installation completed successfully. But when booting into Android it does not start.
Logcat shows the attached entries. Did I do something wrong?
Many thanks,
Rainer
Code:
E/dalvikvm( 7847): Dex cache directory isn't writable: /data/dalvik-cache
I/dalvikvm( 7847): Unable to open or create cache for
/system/app/Superuser.apk (/data/dalvik-
cache/[email protected]@[email protected])
V/WindowManager( 788): Window{42dd32c8 u0
Keyguard}mOrientationRequetedFromKeyguard=false
D/AndroidRuntime( 7847): Shutting down VM
W/dalvikvm( 7847): threadid=1: thread exiting with uncaught exception
(group=0x4113aac8)
E/AndroidRuntime( 7847): FATAL EXCEPTION: main
E/AndroidRuntime( 7847): java.lang.RuntimeException: Unable to instantiate
application eu.chainfire.supersu.Application: java.lang.ClassNotFoundException:
Didn't find class "eu.chainfire.supersu.Application" on path:
/system/app/Superuser.apk
E/AndroidRuntime( 7847): at
android.app.LoadedApk.makeApplication(LoadedApk.java:516)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4568)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.access$1400(ActivityThread.java:152)
E/AndroidRuntime( 7847): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
E/AndroidRuntime( 7847): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7847): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7847): at
android.app.ActivityThread.main(ActivityThread.java:5328)
E/AndroidRuntime( 7847): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7847): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7847): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 7847): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
E/AndroidRuntime( 7847): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 7847): Caused by: java.lang.ClassNotFoundException: Didn't
find class "eu.chainfire.supersu.Application" on path: /system/app/Superuser.apk
E/AndroidRuntime( 7847): at
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
E/AndroidRuntime( 7847): at
java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 7847): at
java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 7847): at
android.app.Instrumentation.newApplication(Instrumentation.java:985)
E/AndroidRuntime( 7847): at
android.app.LoadedApk.makeApplication(LoadedApk.java:507)
E/AndroidRuntime( 7847): ... 11 more
/system/app/Superuser.apk is there
I forgot to mention, that Superuser.apk
[email protected]:/ $ ls -l /system/app/Superuser.apk
-rw-r--r-- root root 1966976 1970-01-24 21:18 Superuser.apk
[email protected]:/ $
is available.

Categories

Resources