Hyperdia App crashes .. java.lang ?! - Android Q&A, Help & Troubleshooting

Hello,
I don't know where to post my question then I'm doing here.
I have a Jiayu S2 1Gb+16gb (MT6592) and I'm in Japan, everything works well but Hyperdia App doesn't work at all !
It's an app to search schedule of trains etc... in Japan. Very usefull.
My friends with Huawei and other brand with android 4.2 or 4.4, the app works.
I tried with 2 different roms (4.2 and 4.4) but the app crashed 1sec after launching.
Can you help me ? Maybe it's a problem of Java or ... I'm not really a noob, I can do some modifications into the ROM. (in case of problem, I'm able to flash a new rom)
Here some informations :
Report type : Crash
Package name : com.hyperdia.android.activity
Installed by : com.android.vending
[...]
Exception class name : java.lang.NumberFormatException
Source file : Integer.java
Source class : java.lang.Integer
Source method : invalidInt
Click to expand...
Click to collapse
I tried on 4.2.2 and 4.4.2 with the same issue.
I've tried to change the language of android french to english then the app crashed again .. but with another reason.
Exception class name : java.lang.ArrayIndexOutOfBoundsException
Source class : java.hyperdia.android.activity.P10000
Source method : onCreate
Line number : -1
Click to expand...
Click to collapse
Hyperdia was downloaded on Google PlayStore.
Thank you very much.

Related

[SHARE][MOD][Tweaks][Scripts] ATX - Script [Performance,Smoothness,FreeRam etc]

Note : I'm just sharing the work of XDA Member ryaneaepple.This has been tested on Hyperion 9 and it gives a good performance overall.Take a look at some of it's features:
ryanaepple said:
A.T.X​SCRIPTS​
Leaked Ram ?? .....
....................Lazy phone ??
...........................Laggy system ??
>>>>>>>>I Present this special for you all
Original Thread : http://forum.xda-developers.com/showthread.php?t=2875849​
Click to expand...
Click to collapse
FAQ​
for other confused about this script
Q : How to know this script run properly ??
A : Try to locate log file using root explorer, that name "ATX-Script.log" at /data/ATX-Script.log ... if there... try to read them...if no, make sure your init.d activated ...
Q : This script take or base from what ??
A : This script Building from Reference (V6superchaged,Rtmix manager,Thunderbold,pure-performance X.. see properly "credits" at 1st post)
Q : How to uninstall this script ??
A : i have tell it at 1st post
Q : My phone get laggy than before ??
A : Feel free to tell me ... i need your information such your device name and android version your device..also uninstall them if your phone gettingg lags ....
Q : My phone get Bootloop ??
A : Feel free to tell me ... i need your information such your device name and android version your device..and please restore your ROM from backup..
Q : My internet connection are slowly after this script ??
A : try to remove script using root xplorer at /system/etc/ini.d/94Nett and reboot

[Team Up] [Only Devs] Cm11 for zenfone 5

I have tried to manage to make a build of cm11
Links : http://d-h.st/tuND
But i get status 7 error for this
so i edited my tree a little bit and tried to build again
here's my tree : https://github.com/missesmr/android_device_zenfone5
Kernel : https://github.com/ZenfoneArea/android_kernel_asus_zenfone5
i used X86 deconfig
If anyone can help me , i would be happy
Great! I tried to build with shakalaca's tree, succeed but didnt past the asus oem splash will try today. Will let you know.
deleted
sai dev said:
I have tried to manage to make a build of cm11
Links : http://d-h.st/tuND
But i get status 7 error for this
so i edited my tree a little bit and tried to build again
here's my tree : https://github.com/missesmr/android_device_zenfone5
Kernel : https://github.com/ZenfoneArea/android_kernel_asus_zenfone5
i used X86 deconfig
If anyone can help me , i would be happy
Click to expand...
Click to collapse
http://www.mediafire.com/download/x33wtk1w9ohgm4z/A500CG_PHILZTOUCH_RECOVERY_WW-2.21.40.44.7z
Try this recovery with external sdcard support(ext4 formatted).
If you get status 7, try to wipe data.
X AnwarMov said:
hy @sai dev i'm succesfully build CM 11 from your source
i using asus Zenfone 4 A400CG
THANKS mate , but i found bugs . systemUi has stoped , telephony stoped .
how to fix it mate . ?
anyone can help me ?
Click to expand...
Click to collapse
Can you post logcat please? If you dont know you can search it on google.
deleted
X AnwarMov said:
hii @smgdev logcat in attachments
. i hope anyone help me
Click to expand...
Click to collapse
E/hwcomposer( 177): int hwc_eventControl(hwc_composer_device_1*, int, int, int): unsupported event 1
This is your error. Same as cm11 zenfone 5. Hwcomposer is broken in intel patches so you can try to replace hwcomposer.so file from your original rom and try to flash it again. It is something like hwcomposer.devicecode.so device code is a400cg I guess. I will update you on this. Good luck.
smgdev said:
E/hwcomposer( 177): int hwc_eventControl(hwc_composer_device_1*, int, int, int): unsupported event 1
This is your error. Same as cm11 zenfone 5. Hwcomposer is broken in intel patches so you can try to replace hwcomposer.so file from your original rom and try to flash it again. It is something like hwcomposer.devicecode.so device code is a400cg I guess. I will update you on this. Good luck.
Click to expand...
Click to collapse
Any updates?

Youtube Data API v3 - Help please!

Hi, i'm trying to develop one app for a youtube channel. This app will show the uploaded videos as a list (with some infos), show channel infos, trigger notification when a new video is uploaded and etc..
I'm a newbie in Android app development and i'm having trouble with the Youtube Data API... I saw the samples code from google, but when i copy it to my project and try to build it doesnt work at all...
Everything i did until now is just the basics and the designe (a part of it).
Do you guys have some app sample that does the samething i'm trying to do to help me?
Thanks.
I made some progress here, but now i need load the "client_secrets.json", but when i do the command "
getResourceAsStream("/client_secrets.json")", always return null.
The .json is inside "src/main/res" right now, but i tried in almost any other folder and changing the patch in code bellow but got no other result, just null exception ;/
Any help?
Code:
// Load client secrets.
Reader clientSecretReader = new InputStreamReader(Auth.class.getResourceAsStream("/client_secrets.json"));
GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY, clientSecretReader);

[MOD][XPOSED][APP] SSLUnpinning - Certificate Pinning Bypass

SSLUnpinning - Certificate Pinning Bypass
If you need intercept the traffic from one app who use certificate pinning, with a tool like Burp Suite Proxy, the SSLUnpinning help you with this hard work!
The SSLUnpinning through Xposed Framework, make severous hooks in SSL classes to bypass the certificate verifications for one specific app, then you can intercept all your traffic.
Source Code in GitHub
/ac-pm/SSLUnpinning_Xposed
Cool module. Big thanks!
I'm getting an error in the Xposed log:
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/mobi.acpm.sslunpinning-1.apk
Loading class mobi.acpm.sslunpinning.Module
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Any idea what the issue might be? I'm running 4.4.4 on a Nexus 7 nakasi-grouper
pwntastic said:
I'm getting an error in the Xposed log:
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/mobi.acpm.sslunpinning-1.apk
Loading class mobi.acpm.sslunpinning.Module
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Any idea what the issue might be? I'm running 4.4.4 on a Nexus 7 nakasi-grouper
Click to expand...
Click to collapse
sorry, I can't reproduce this error.
i tried it , it does not hook any app :/ i launched it from Exposed , even twitter app does not hook and throw me errir of network .. after CONNECT tunel , i will get network error .. means pinning ..
k3rnel31 said:
i tried it , it does not hook any app :/ i launched it from Exposed , even twitter app does not hook and throw me errir of network .. after CONNECT tunel , i will get network error .. means pinning ..
Click to expand...
Click to collapse
At this time only JSSE and Apache libraries are hooked. It is possible that your applications are using other libraries. For example Volley or LoopJ.
acarlosmartins said:
At this time only JSSE and Apache libraries are hooked. It is possible that your applications are using other libraries. For example Volley or LoopJ.
Click to expand...
Click to collapse
hi thanks for reply well some friend of friend lol has developped trustkiller from github and he is able to hook all apps so far :/ well how can i know wich libraries are used by some app ?
i decompiled it and changed both of checkClientTrusted,checkserverTrusted by putting return-void on first line but still now working
.method public checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/StringV
return-void
k3rnel31 said:
hi thanks for reply well some friend of friend lol has developped trustkiller from github and he is able to hook all apps so far :/ well how can i know wich libraries are used by some app ?
i decompiled it and changed both of checkClientTrusted,checkserverTrusted by putting return-void on first line but still now working
.method public checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/StringV
return-void
Click to expand...
Click to collapse
If you look at the two projects (trustkiller and SSLUnpinning), you will see that both hooks the same methods.
To find what the library used, you can do a reverse engineering in the apk. The dex2jar to convert apk to jar and with JD-GUI you can see the java code.
Good job with the return-void! :good:
acarlosmartins said:
If you look at the two projects (trustkiller and SSLUnpinning), you will see that both hooks the same methods.
To find what the library used, you can do a reverse engineering in the apk. The dex2jar to convert apk to jar and with JD-GUI you can see the java code.
Good job with the return-void! :good:
Click to expand...
Click to collapse
heyy thanks , yeah i know about jar to see the java code , but u can success recompiling and running the app only with smaliing , yeah anyway nowdays apps are using Obfuscator method wich makes decompiling the app very hard to understand it , and me myself i hooked ssl pinning for (subcard,anando uk,subway usa apk apps) and i found that + of the ssl pinning they are doing more private parameters with the post data like signature,token, .. and those params are generated instantly according with time/user/pass , anyway i decrypted all their paramraters : D , but sill my friend does not wanna share the developped trustkiller module with cydia ..
k3rnel31 said:
heyy thanks , yeah i know about jar to see the java code , but u can success recompiling and running the app only with smaliing , yeah anyway nowdays apps are using Obfuscator method wich makes decompiling the app very hard to understand it , and me myself i hooked ssl pinning for (subcard,anando uk,subway usa apk apps) and i found that + of the ssl pinning they are doing more private parameters with the post data like signature,token, .. and those params are generated instantly according with time/user/pass , anyway i decrypted all their paramraters : D , but sill my friend does not wanna share the developped trustkiller module with cydia ..
Click to expand...
Click to collapse
I thought you were talking about this module https://github.com/iSECPartners/Android-SSL-TrustKiller
acarlosmartins said:
I thought you were talking about this module https://github.com/iSECPartners/Android-SSL-TrustKiller
Click to expand...
Click to collapse
yeah thats right this module of cydia some friend has developped it , so now it catch most 99% of the latest app including old apps . i added u on skype ,
k3rnel31 said:
yeah thats right this module of cydia some friend has developped it , so now it catch most 99% of the latest app including old apps . i added u on skype ,
Click to expand...
Click to collapse
My skype id is antoniocarlosp.m
Nice module. Thanks.
I just tried it on an app that doesn't have permissions for external storage, and the module threw an exception because it couldn't read the app.conf file. I worked around this by patching the APK on the app I was looking at to include WRITE_EXTERNAL_STORAGE, but would it be possible to provide a fix for this in the module, for times when patching the target APK isn't feasible?
Thanks again!
Scytmo said:
Nice module. Thanks.
I just tried it on an app that doesn't have permissions for external storage, and the module threw an exception because it couldn't read the app.conf file. I worked around this by patching the APK on the app I was looking at to include WRITE_EXTERNAL_STORAGE, but would it be possible to provide a fix for this in the module, for times when patching the target APK isn't feasible?
Thanks again!
Click to expand...
Click to collapse
Thanks! I will open an issue for this.
Try the Inspeckage github.com/ac-pm/Inspeckage . It has this feature and many others.
acarlosmartins said:
SSLUnpinning - Certificate Pinning Bypass
If you need intercept the traffic from one app who use certificate pinning, with a tool like Burp Suite Proxy, the SSLUnpinning help you with this hard work!
The SSLUnpinning through Xposed Framework, make severous hooks in SSL classes to bypass the certificate verifications for one specific app, then you can intercept all your traffic.
Source Code in GitHub
/ac-pm/SSLUnpinning_Xposed
Click to expand...
Click to collapse
It doesn't seem to work at all in Android 7.1 (nougat), nor does JustTrustMe.
Does anyone have an alternative?

[COMPLETE][GUIDE] Create Basic Device Tree on your Own and Build a Custom Recovery

Hello Guys...:good:
-So,I'm here to Explain you "Create Basic Device Tree on your Own and Build a Custom Recovery".:fingers-crossed:
I'm providing you Two ways of Guide...:highfive:
1)Youtube Video
2)HTML Guide
Video Guide :
HTML Guide :
Link : https://mega.nz/#!Fxpk0T4Q!ZMShu7_VDG2HDhLCJze8DysTcjskXtTPKzsiAaoCJKc
or From Attachments
The Required File During The Process link : https://mega.nz/#!RghWgbwb!_zBLcurAg2DiejHKyw6fwTz564a3pO3UH1mhdIKClb0
Happy Developing
DevelopersWork said:
HTML Guide :
Link : https://mega.nz/#!Fxpk0T4Q!ZMShu7_VDG2HDhLCJze8DysTcjskXtTPKzsiAaoCJKc
or From Attachments
The Required File During The Process link : https://mega.nz/#!RghWgbwb!_zBLcurAg2DiejHKyw6fwTz564a3pO3UH1mhdIKClb0
Click to expand...
Click to collapse
Dear Gopinadh,
could you please re-upload the guide.zip ("the required file during the process"). It is no longer available on Mega.
Thank you
io2345

Categories

Resources