System tune-up, optimization, tweaking
Feb 12th, 2016, 5:24 am
So far the patcher is working with 6.9.2
Feb 12th, 2016, 5:24 am
Feb 12th, 2016, 7:39 am
Thanks gamer; I'm not getting errors in the log anymore. Also, I'm not getting email notifications for replies to this thread anymore for some reason. Is it just me?
And I reluctantly downloaded the MEGA app, because otherwise I can't download the file. If I try to via the desktop version of the site, the downloaded apk can't be opened. Not sure if it's corrupted or something, but it never works.
Feb 12th, 2016, 7:39 am
Feb 12th, 2016, 7:43 am
Actually, I spoke too soon.

02-12 01:36:31.980 E/Xposed (15179): java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
02-12 01:36:31.980 E/Xposed (15179): at android.os.Environment.getExternalStoragePublicDirectory(Environment.java:481)
02-12 01:36:31.980 E/Xposed (15179): at com.hunterx.pandorapatcher.Patches.refreshPreferences(Patches.java:560)
02-12 01:36:31.980 E/Xposed (15179): at com.hunterx.pandorapatcher.Patches.handleLoadPackage(Patches.java:114)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
02-12 01:36:31.980 E/Xposed (15179): at android.app.ActivityThread.handleBindApplication(<Xposed>)
02-12 01:36:31.980 E/Xposed (15179): at android.app.ActivityThread.-wrap1(ActivityThread.java)
02-12 01:36:31.980 E/Xposed (15179): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
02-12 01:36:31.980 E/Xposed (15179): at android.os.Handler.dispatchMessage(Handler.java:102)
02-12 01:36:31.980 E/Xposed (15179): at android.os.Looper.loop(Looper.java:148)
02-12 01:36:31.980 E/Xposed (15179): at android.app.ActivityThread.main(ActivityThread.java:5417)
02-12 01:36:31.980 E/Xposed (15179): at java.lang.reflect.Method.invoke(Native Method)
02-12 01:36:31.980 E/Xposed (15179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-12 01:36:31.980 E/Xposed (15179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-12 01:36:31.980 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
02-12 01:36:31.995 E/Xposed (15179): java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
02-12 01:36:31.995 E/Xposed (15179): at android.os.Environment.getExternalStoragePublicDirectory(Environment.java:481)
02-12 01:36:31.995 E/Xposed (15179): at com.hunterx.pandorapatcher.Patches.refreshPreferences(Patches.java:560)
02-12 01:36:31.995 E/Xposed (15179): at com.hunterx.pandorapatcher.Patches.handleInitPackageResources(Patches.java:94)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.IXposedHookInitPackageResources$Wrapper.handleInitPackageResources(IXposedHookInitPackageResources.java:20)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.callbacks.XC_InitPackageResources.call(XC_InitPackageResources.java:29)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.XposedBridge$7.afterHookedMethod(XposedBridge.java:355)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:695)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ResourcesManager.getTopLevelResources(<Xposed>)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1701)
02-12 01:36:31.995 E/Xposed (15179): at android.app.LoadedApk.getResources(LoadedApk.java:548)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ContextImpl.<init>(ContextImpl.java:1832)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ContextImpl.createAppContext(ContextImpl.java:1785)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4505)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:681)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread.handleBindApplication(<Xposed>)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread.-wrap1(ActivityThread.java)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
02-12 01:36:31.995 E/Xposed (15179): at android.os.Handler.dispatchMessage(Handler.java:102)
02-12 01:36:31.995 E/Xposed (15179): at android.os.Looper.loop(Looper.java:148)
02-12 01:36:31.995 E/Xposed (15179): at android.app.ActivityThread.main(ActivityThread.java:5417)
02-12 01:36:31.995 E/Xposed (15179): at java.lang.reflect.Method.invoke(Native Method)
02-12 01:36:31.995 E/Xposed (15179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-12 01:36:31.995 E/Xposed (15179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-12 01:36:31.995 E/Xposed (15179): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
Feb 12th, 2016, 7:43 am
Feb 12th, 2016, 7:52 am
Have you tried resetting your download location? The module is failing at android.os.Environment.getExternalStoragePublicDirectory which is part of Android itself and not my code. I'll browse the AOSP code tomorrow to see where its crashing. It's 2 am, modded 6.9.2 is done already.
Feb 12th, 2016, 7:52 am

Like my work? Consider a donation: http://bit.ly/1fnw38T
Image
Feb 12th, 2016, 3:56 pm
Yeah, I changed the location to the root SD then changed it again to the location I had set, which is a pandora folder inside my music folder. I also have 'save in station folder' turned off, so all music downloaded goes into the same folder regardless of station.
Feb 12th, 2016, 3:56 pm
Feb 12th, 2016, 4:58 pm
based off that log it fails here: android.os.Environment.getExternalStoragePublicDirectory(Environment.java:481)
which according to AOSP is the following
Code: Select allpublic static File getExternalStoragePublicDirectory(String type) {
    throwIfUserRequired();
    return sCurrentUser.buildExternalStoragePublicDirs(type)[0]; <--- This appears to not be returning any value
}

When patcher tries to build the default save location, it doesn't get anything in return. I'll look into workarounds.

Actually, just read a bit further up
Code: Select all* @return Returns the File path for the directory. Note that this directory
*         may not yet exist, so you must make sure it exists before using
*         it such as with {@link File#mkdirs File.mkdirs()}.

So does the Music directory exist on your SD Card?
Feb 12th, 2016, 4:58 pm

Like my work? Consider a donation: http://bit.ly/1fnw38T
Image
Feb 12th, 2016, 11:58 pm
Yeah, of course it exists. How else can I select it? I have a music folder in the stoarge/emulated/0 location (the main area on the internal storage). Within that music folder, I have some mp3s and a folder named pandora. That folder is where I have it set. But the error happens even if I pick the default folder that appears, which is storage/emulated/0.
And I have no issues with downloads to that folder either. Nothing is wrong with the patcher, it functions correctly. I'm just getting errors in the log.
Feb 12th, 2016, 11:58 pm
Feb 24th, 2016, 4:07 pm
hmm first time poster, I can confirm that everything works good on 6.9.2 except for the download feature.
will donate to gamer when I get home I think everyone should buy this dude a cup of coffee... just think how much money you've saved by using his hacks... great work to gamer for this awesome and always updated hack
Feb 24th, 2016, 4:07 pm
Feb 24th, 2016, 6:11 pm
cyberone28 wrote:hmm first time poster, I can confirm that everything works good on 6.9.2 except for the download feature.
will donate to gamer when I get home I think everyone should buy this dude a cup of coffee... just think how much money you've saved by using his hacks... great work to gamer for this awesome and always updated hack



Download working fine for me on 6.9.2. The whole patcher works fine for me. On Marshmallow 6.0.1
Feb 24th, 2016, 6:11 pm
Feb 24th, 2016, 7:57 pm
Download working fine for me on 6.9.2. The whole patcher works fine for me. On Marshmallow 6.0.1[/quote]


strange I'm on 5.1.1 and my downloads stopped working with the new Pandora interface.. it was working this morning on 6.8 but suddenly the new Interface appeared on 6.8.. I had everything working except the downloads..
go figure...
Feb 24th, 2016, 7:57 pm
Feb 24th, 2016, 11:09 pm
Does anyone uses the Bypass Region License ? it doesn't work for me anymore :( I'm using Patcher 6.9.2 and I tried it with Pandora 6.3, 6.5 and 6.9.2.
Feb 24th, 2016, 11:09 pm
Feb 24th, 2016, 11:27 pm
xenz wrote:Does anyone uses the Bypass Region License ? it doesn't work for me anymore :( I'm using Patcher 6.9.2 and I tried it with Pandora 6.3, 6.5 and 6.9.2.


Wait... what's the latest version of the Patcher? I've got 6.9 Beta 1 installed. Is there a stable (non-beta version)?

I don't see a new interface in Pandora... and I just successfully downloaded a song. For what that's worth.

EDIT/UPDATE... Something weird happened when I downloaded the song. I had paused the song (in Pandora) to go check and make sure it downloaded. I played it from my phone. When the song reached the point at which I paused it... the song stopped. I went back to Pandora, and there was an error message "unhandled exception" or something. Is that normal? I thought that the song downloaded in full in a few seconds, and then it played out. I wouldn't have thought that I could only download as much as has played.

When I OK'd the error, I was able to play the next song without issue. I wasn't kicked out or anything.
Feb 24th, 2016, 11:27 pm
Feb 25th, 2016, 12:22 am
xenz wrote:Does anyone uses the Bypass Region License ? it doesn't work for me anymore :( I'm using Patcher 6.9.2 and I tried it with Pandora 6.3, 6.5 and 6.9.2.


I am in Canada and experience the same thing. I tried with V6.8 Patched, 6.9 Patched, 6.9.2 Untouched + Patcher V6.9 B1 and got the same result every time:
"Sorry, I'm unable to connect to Pandora.com"

I have a paid DNS service and when I change my connection configuration, The app launches and plays music with skips, etc.

I highly suspect this is related to the "Enable Region Bypass" and what it does with SU. It may need to be upated? Perhaps a different protocol now? Just trying to help.
Feb 25th, 2016, 12:22 am
Feb 25th, 2016, 5:16 am
I'm confused, my apologies in advance.

What is the current version of the Patcher? I have Pandora Patcher 6.2 which is working (for me) with Pandora 6.9. Am I missing something?

Thanks

n

DrBeaker wrote:
xenz wrote:Does anyone uses the Bypass Region License ? it doesn't work for me anymore :( I'm using Patcher 6.9.2 and I tried it with Pandora 6.3, 6.5 and 6.9.2.


I am in Canada and experience the same thing. I tried with V6.8 Patched, 6.9 Patched, 6.9.2 Untouched + Patcher V6.9 B1 and got the same result every time:
"Sorry, I'm unable to connect to Pandora.com"

I have a paid DNS service and when I change my connection configuration, The app launches and plays music with skips, etc.

I highly suspect this is related to the "Enable Region Bypass" and what it does with SU. It may need to be upated? Perhaps a different protocol now? Just trying to help.
Feb 25th, 2016, 5:16 am
Feb 25th, 2016, 9:43 am
nipp0n wrote:I'm confused, my apologies in advance.

What is the current version of the Patcher? I have Pandora Patcher 6.2 which is working (for me) with Pandora 6.9. Am I missing something?



I believe 6.8B4. Located in post #171 or #179.

Works fully for me up to the latest version of Pandora which is 6.9.2.
Feb 25th, 2016, 9:43 am