[App] AppWidgetPicker - Android Apps and Games

Hi there,
I published it a few weeks ago via twitter but I think I should post it here to:
I have written an App to replace the stock AppWidgetPicker. (you know long press on the homescreen -> add -> widget) which groups the widgets by packages.
So if you have a widget installed that has 3 different sizes, there is only one entry in the list and if you click it you can pick the size in a second dialog.
The main problem is that it needs to be installed on /system cause android will not grand the needed permission to any app installed on /data.
The APK is attached
The source can be found here
Its all released under Apache 2.0 license.
Hope you like it.
Instructions:
* Download the attached APK file
* Rename it to "AppWidgetPicker.apk"
* copy it to /system/app
* make sure it has the same file permissions as the other files in that directory
* maybe reboot.
* Don't install it just copy it!
Other Information:
* Doesn't work with HTC-Sense but should work with all "Stock-Based" Launchers like Launcher PRO, ADW, Zeam etc. pp.
Screenshot Version 1.2.3:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshot Version 2.0:
Have fun.
Boombuler
EDIT:
The attached version should work with eclair, froyo and gingerbread!
Changelog:
Version 2.0
* HC Style widget picking
Version 1.2.3
* fixed dutch translation
* added portuguese translation (Thx to PinhoPT)
Version 1.2.2
* added dutch translation (Thx to Hallahan)
* added norwegian translation (Thx to Royan)
* added russian translation (Thx to creage)
Version 1.2.1
* added italian translation (Thx to etoy)
* added france translation (Thx to EViollet)
Version 1.2.0
* Fixed sorting of the subitems
* now displays the number of subitems
Version 1.1.1
* Fixed sorting (Thx to Se7enLC)
Version 1.1.0
* Fixed layouts (should look more android like)
* Fixed black background while scrolling (with CM)
Version 1.0.1
* Fixed FC
everytime someone don't follow the instructions and get a FC afterwards a kitten dies!
Version 2 only works with android 3.1 or above!

hi,
I needed to remove anything in / system in order yo use your application?
e.g. the original appwidgetpicker?
agree

no.
I've set the priority of my app higher then the original one...
simply copy the apk to /system/app that should be all

/system/ data or / system/ app ?

sorry /system/app corrected my last post...
first thinking then writing...

any hope for an eclair version? Excellent idea.

This is actually very nice.
A few questions though, I noticed it's not using the same window as the stock one, any chance you can make it use the stock window graphics? I ask because I theme my ROM and the window doesn't match the regular one 100%.
Also, the sorting of the widgets is different as well. For instance, the stock sorting puts my 3 "cubed" player on top of the list while with yours it's at the bottom of the list. Can it be made to sort the widgets like the stock one?
Other than those two things, it's actually perfect. I love this.

Hi,
I was trying to make this on look like the stock once but I failed... If someone with some more Android GUI knowlede might have a look it would be nice...
Sorting is different? Shouldn't be but I have a look!
For the eclair version: If I have someone to test this stuff I'll try to
-- boombuler
Edit:
Uploaded eclair version in first post... please test this

Getting force close on anything that doesn't have more then one option.
Droid Incredible
FrankenROM
But I love the concept, keep up the good work.
-Flawless

xFlawless11x said:
Getting force close on anything that doesn't have more then one option.
Click to expand...
Click to collapse
Would you mind providing me a log?
(Only FCs I've noticed so far is when the app isn't located on system in cause of the missing permissions)
Regards
Florian

boombuler said:
Would you mind providing me a log?
(Only FCs I've noticed so far is when the app isn't located on system in cause of the missing permissions)
Regards
Florian
Click to expand...
Click to collapse
Yea ill try and grab one tomorrow at some point.
Sent from my ADR6300 using XDA App

I'm have FC too, here the log when try to add the widget.
PS: the widget are in system/app folder too.

Beackman said:
I'm have FC too, here the log when try to add the widget.
PS: the widget are in system/app folder too.
Click to expand...
Click to collapse
Info from your LogCat:
User 10093 does not have android.permission.BIND_APPWIDGET.
Have you installed the App to /system/app ??
Cause android didn't grant you the needed permission!
eclair or froyo?
Regards
Florian
Edit:
After inspecting the whole log:
You have installed the APK (which causes it to be installed to /data/app)
just copy it to /system/app instead of installing it... That should do the trick (uninstall it first )

Yea man, it works, sorry for that man, i just copy the apk for /system/app restart the phone and its works, i use Eclair version.
thx man, cheers.

Works on epic
all I did was installed it like a regular app because the epic don't have that app.

lil2good20 said:
all I did was installed it like a regular app because the epic don't have that app.
Click to expand...
Click to collapse
And it gants you the android.permission.BIND_APPWIDGET ??
Could you confirm that it work to add widgets with the new picker?
Regards
Florian

..moved to /system/app...still fc.
Code:
D/dalvikvm( 260): GC_EXPLICIT freed 2581 objects / 124088 bytes in 65ms
I/ActivityManager( 133): Starting activity: Intent { act=android.appwidget.action.APPWIDGET_PICK cmp=com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity (has extras) }
I/ActivityManager( 133): Start proc com.boombuler.system.appwidgetpicker for activity com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity: pid=1149 uid=10133 gids={}
W/InputManagerService( 133): Window already focused, ignoring focus gain of: [email protected]
W/asset ( 1149): Asset path /system/app/com.boombuler.system.appwidgetpicker-1.apk is neither a directory nor file (type=1).
D/AndroidRuntime( 1149): Shutting down VM
W/dalvikvm( 1149): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 1149): FATAL EXCEPTION: main
E/AndroidRuntime( 1149): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.boombuler.system.appwidgetpicker/com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity}: java.lang.ClassNotFoundException: com.boombuler.syst
em.appwidgetpicker.AppWidgetPickerActivity in loader dalvik.system.PathClassLoader[/system/app/com.boombuler.system.appwidgetpicker-1.apk]
E/AndroidRuntime( 1149): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
E/AndroidRuntime( 1149): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 1149): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 1149): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 1149): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1149): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1149): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1149): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1149): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1149): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1149): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 1149): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1149): Caused by: java.lang.ClassNotFoundException: com.boombuler.system.appwidgetpicker.AppWidgetPickerActivity in loader dalvik.system.PathClassLoader[/system/app/com.boombuler.system.appwidgetpicker-1.apk]
E/AndroidRuntime( 1149): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
E/AndroidRuntime( 1149): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
E/AndroidRuntime( 1149): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
E/AndroidRuntime( 1149): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 1149): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
E/AndroidRuntime( 1149): ... 11 more
W/ActivityManager( 133): Force finishing activity com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity
W/InputManagerService( 133): Window already focused, ignoring focus gain of: [email protected]
W/ActivityManager( 133): Activity pause timeout for HistoryRecord{465d7728 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}
D/dalvikvm( 133): GC_FOR_MALLOC freed 33698 objects / 1969056 bytes in 140ms
I/Process ( 1149): Sending signal. PID: 1149 SIG: 9
W/InputManagerService( 133): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 133): Process com.boombuler.system.appwidgetpicker (pid 1149) has died.
exD/dalvikvm( 570): GC_EXPLICIT freed 596 objects / 38120 bytes in 54ms
W/ActivityManager( 133): Activity destroy timeout for HistoryRecord{465d7728 com.boombuler.system.appwidgetpicker/.AppWidgetPickerActivity}

ZeroBarrier said:
This is actually very nice.
A few questions though, I noticed it's not using the same window as the stock one, any chance you can make it use the stock window graphics? I ask because I theme my ROM and the window doesn't match the regular one 100%.
Also, the sorting of the widgets is different as well. For instance, the stock sorting puts my 3 "cubed" player on top of the list while with yours it's at the bottom of the list. Can it be made to sort the widgets like the stock one?
Other than those two things, it's actually perfect. I love this.
Click to expand...
Click to collapse
Works very nice on the N1, everything works smoothly without event. I actually like this very much, I also would like to see improvements on the GUI...I also got resorting, see attached screenshots:
Sent from my Nexus One using XDA App

Hi,
have you uninstalled the old version first?
Looks kind of weird that he searches for the file:
/system/app/com.boombuler.system.appwidgetpicker-1.apk
please try this:
1) delete apk from /system/app
2) uninstall from system (if still present)
3) remove any "com.boombuler.system*" file from /data/dalvik-cache
4) look if it uses the old dialog
5) if 4 was positive copy the apk to /system/app without installing anything
Regards
Florian

NexuSix said:
Works very nice on the N1, everything works smoothly without event. I actually like this very much, I also would like to see improvements on the GUI...I also got resorting, see attached screenshots:
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Actually I posted too soon everytime I try to place a widget on the home screen using AppWidgetPicker I get a FC.
Sent from my Nexus One using XDA App

Related

[ROM] THL W8s (Sony S-Heart) 4.2.2

Description
ROM Phone THL W8s – ROM Android 4.2.2
Ported from iOCEAN X7 Elite Sony on THL W8s
- call data wifi bluetooth camera compass, GPS problems and other sensors are normal,
- Sony original camera only for Sony, has been replaced with the official version of the interpolation rear camera front 500w 1300w
- Add INIT.D support
- Apps Zippalign
- Rooted
- Boot saving technology
- Sony image display engine
- Build Touch / VM / image optimization
- Media performance
- Engineering mode
- GravityBox - centralized app for additional customizations
--- Status bar tweaks (QuickSettings tiles, additional tiles, background color and transparency, ...)
--- Lockscreen tweaks (custom background, maximized widgets, ...)
--- Power tweaks (advanced power-off menu, low battery warning policy)
--- Phone tweaks (flip action, disable vibrate on call connect, fullscreen caller photo)
--- Display tweaks (minimum brightness setting, autobrightness settings, ...)
--- Hardware key actions (action on menu long-press/doubletap, back key long-press)
--- Media tweaks (more volume steps for music, skip track using volume keys)
--- Other miscellaneous tweaks
Language support: EN/CN
COMPATIBILITY
Dont know if works with others W8 models, there's still a chance you might come accross some issues caused by incompatibility.
ALWAYS make a backup of stock rom before flashing anything on your device!!!
Install ROM :
CWM
Step 1: Download the custom ROM copied to an external SD card root directory
Step 2: the shutdown state. While holding down:
– Power button + volume button up, to enter the recovery mode.
– Wipe Data / Factory Reset -> delete all user data
– Wipe Cache Partition -> Wipe cache
-- Advanced-> wipe dalvik cache
Step 3: Return to recovery main interface Install zip from sdcard -> choose zip from sdcard -> Select your ROM
Step 4: Brush complete, restart the phone Patience required – first boot takes a while
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
https://shared.com/xtjc6xtezp
Anyone installed?
chenrp said:
Anyone installed?
Click to expand...
Click to collapse
Yes, installed it last night (W8s 2GB/32GB running on ...1.0.2. ROM). Until now all runs smooth. A big thank you krattos! Good work. :highfive:
It's there a chance to have this nice Rom Multilanguage (Italian)?
Yes, I want this rom in Italian language pls ^_^
Inviato dal mio ThL W8s con Tapatalk 4
@krattos
Exist a cm10.1 for iocean x7 is it possible to port on thl w8s for you?
http://www.htcmania.com/showthread.php?t=612884
You can implement the Italian language in this beautiful rom?
Bileterri said:
You can implement the Italian language in this beautiful rom?
Click to expand...
Click to collapse
On needrom there is an update of stock firmware ofw8s.
So if you are porting for Multilanguage please use the update as base.
Btw I suggest to you to post your Rom in needrom before that someone make it and maybe gets donations for it...
Thanks for this rom.
First because it is 4.2.2 and not 4.2.1 which has an ugly bug: it spamming the Logcat as crazy. Official rom is stil with 4.2.1
Next: at Developer it is a very nice feature.
Show Layout bounds. It help at UI developing.
I don't know how to use this attachments properly: I have uploaded png files not automatically they are converted to a miserable jpg file...
The important Xperia part it would be this Stamina settings - for me -
[img=http://s24.postimg.org/70w1k7e1t/Stamina.jpg]
it seems has an error, not sure, if is really working!!!
[img=http://s8.postimg.org/3t21f6aqd/Stamina_Error.png]
Can't edit and save my post ....Forum rules:
"The following errors occurred with your submission:
To prevent spam to the forums, new users must wait five minutes between posts. All new user accounts will be verified by moderators before this restriction is removed."
Watch out: Max memory runtime for apps is 128MB.
I am not so happy as it would be ... 512mb, since we have 2GB...
FHD display a few background settings a few other cache images and the app can run out of memory.
Ok seems that krattos abandoned this Rom.
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): Problem with socket or streams.
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): java.net.ConnectException: failed to connect to www.google-analytics.com/127.0.0.1 (port 80) after 90000ms: isConnected failed: ECONNREFUSED (Connection refused)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at libcore.io.IoBridge.isConnected(IoBridge.java:250)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at libcore.io.IoBridge.connectErrno(IoBridge.java:178)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at libcore.io.IoBridge.connect(IoBridge.java:112)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at java.net.Socket.connect(Socket.java:857)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at com.google.android.apps.analytics.PipelinedRequester.maybeOpenConnection(Unknown Source)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at com.google.android.apps.analytics.PipelinedRequester.addRequest(Unknown Source)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.dispatchSomePendingHits(Unknown Source)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at com.google.android.apps.analytics.NetworkDispatcher$DispatcherThread$AsyncDispatchTask.run(Unknown Source)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at android.os.Handler.handleCallback(Handler.java:725)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at android.os.Handler.dispatchMessage(Handler.java:92)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at android.os.Looper.loop(Looper.java:153)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at android.os.HandlerThread.run(HandlerThread.java:60)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): Caused by: libcore.io.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): at libcore.io.IoBridge.isConnected(IoBridge.java:234)
10-31 19:50:08.140: W/GoogleAnalyticsTracker(31101): ... 14 more
10-31 19:50:08.565: D/SuperStamina-NativeDaemonConnector(505): conecting to xssm ...
10-31 19:50:08.566: E/SuperStamina-NativeDaemonConnector(505): Error in NativeDaemonConnector: java.io.IOException: No such file or directory
Of course I will block www.google-analytics.com, why should I need adds?!!!
But who put those requests into this build? Kratos or SonyEriccson?
After many attempts to make multilanguage ROM was forced to retire.
many compilation errors in the file system. therefore there will be no updates.
Ok for traslation but can you work on some bugs?
Connect to pc internal memory is blank.
Some strange display effect when go back closing app.
In app drawer some empty apps
Menu button on home screen make nothing...
---------- Post added at 06:37 PM ---------- Previous post was at 06:28 PM ----------
Ok for traslation but can you work on some bugs?
Connect to pc internal memory is blank.
Some strange display effect when go back closing app.
In app drawer some empty apps...
Hi. This is a truly excellent Rom, but I still have a problem. The messages in sms app duo not show. I downloaded handcent and it works, but I would prefer the original app if possible. Any ideas?

[Request] BLU VIVO IV Camera

BLU VIVO IV has a nice Camera Stock Camera app, with many configs and modes, I pulled .apk and .odex from my father's phone and installed as system app into my Nexus 5 but I got FC, can anyone port it?? Thanks..
App Download: Dropbox
Screens:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
rcoliveirajr said:
BLU VIVO IV has a nice Camera Stock Camera app, with many configs and modes, I pulled .apk and .odex from my father's phone and installed as system app into my Nexus 5 but I got FC, can anyone port it?? Thanks..
App Download: Dropbox
Screens:
Click to expand...
Click to collapse
can you get me the folder /system/framework?
opssemnik said:
can you get me the folder /system/framework?
Click to expand...
Click to collapse
Sure!, Click Here to download
rcoliveirajr said:
Sure!, Click Here to download
Click to expand...
Click to collapse
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
opssemnik said:
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Click to expand...
Click to collapse
Ok bro, I'm not with the phone right now (i'll get only on the weekend probably..), but I will send you as soon as I can.
opssemnik said:
will need one more thing, this device (as all other mediacrap devices) haves a set of modifications to it´s dalvik / framework, these modifications are intended to block dissasembling of the *dex files. in order to bypass that i will need you to the following(it dosen´t require root, however it requires adb and a connection to the pc)
Download this zip:
http://d-h.st/XqG7
extract it to the adb folder, and connect the phone to the pc(with adb already setup on both, phone and pc)
run get_inline.bat(you can right click it -> edit to see the commands if you have any doubts)
after that upload both inline.txt(will be generated by get_inline.bat) and libdvm.so (this one is found at /system/lib) and post the link
or else i can´t decompile it:
Error occurred while disassembling class Lcom.android.camera.gallery3d.common.Ut
ils; - skipping class
java.lang.RuntimeException: Invalid method index: 32
at org.jf.dexlib2.analysis.CustomInlineMethodResolver.resolveExecuteInli
ne(CustomInlineMethodResolver.java:95)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeExecuteInline(MethodAna
lyzer.java:1422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnaly
zer.java:941)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:20
2)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:137
)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:462)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:370)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:238)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:283)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:112)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:226)
at org.jf.baksmali.baksmali.access$000(baksmali.java:56)
at org.jf.baksmali.baksmali$1.call(baksmali.java:150)
at org.jf.baksmali.baksmali$1.call(baksmali.java:148)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Click to expand...
Click to collapse
Sorry for the long time, I just got the phone right now, Here are the files

Air Command Shortcut (without S-Pen)

Air Command Shortcut (without S-Pen)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Simple tool as name suggest to activate Air command with shortcut. You can press on app icon to open air command without using Spen. Also you can set application for Long pressing/Double pressing home to launch air command with ROM control - keymap to launch air command with long /double pressing home.
Installation guide :
Requirements :
Rooted Note5 with 5.1.1 . Also should be work on other device with ported N5 ROM provided Air command is working with S-Pen.
- Download Air Command 1.1.apk (read below) and install as regular apk.
- Click installed app from drawer, It won't have any UI but just monitor notification.
- It will install some missing resources, Once it finished, notification will be removed and you may see a toast notification to reboot device. At this stage there may be FC and just ignore it.
- Reboot device and now you can use same app icon to launch Air Command.
- Floating air command icon will remain on screen, you can remove it by long pressing floating AC icon - drag it to bin.
Limitation : You can open smart select but still requires Spen to select area. (will look into it if possible to fix) Rest of function should work fine.
Download
Pro Version
XDA
Difference between play store and XDA version - Nothing. Buy from play store to show your love!
DON'T REDISTRIBUTE THIS APP IN ANY FORM
WILL NOT WORK ON MARSHMALLOW
Working fine and many thanks doctor. Now without pulling pen out we can enjoy air command. Very usefull.. thanks a lot
Sent from my SM-N920G using Tapatalk
hi doc,
i am facing an issue... i installed this app..and later uninstalled it ... now whenever i take out the s-pen i get the floating icon..which i have disabled ..but it still shows up ..even though floating icon is disabled in air command settings.
can you please help me resolve this ?
thanks!!
Which variant you have? It's too late here. Will make revert mode tomorrow.
I have n9208 .. it installed fine but nothing happens....
using latest software.. rooted phone
i m on 920g using your l9 rom
max.android said:
hi doc,
i am facing an issue... i installed this app..and later uninstalled it ... now whenever i take out the s-pen i get the floating icon..which i have disabled ..but it still shows up ..even though floating icon is disabled in air command settings.
can you please help me resolve this ?
thanks!!
Click to expand...
Click to collapse
I have fixed floating icon setting issue and updated play store version(may take couple of hrs to reflect 1.2 on play store). I will update XDA version tonight/tomorrow.
Hi dr
Please help
In n920c can't edit text when selecting text with smart select
Sent from my SM-N920C using Tapatalk
No issue here. It's related to direct input and not with air command.
dr.ketan said:
I have fixed floating icon setting issue and updated play store version(may take couple of hrs to reflect 1.2 on play store). I will update XDA version tonight/tomorrow.
Click to expand...
Click to collapse
I still only see 1.1 using the XDA download link
dr.ketan said:
No issue here. It's related to direct input and not with air command.
Click to expand...
Click to collapse
I'sorry if it's ot but In the Note 5 I lost this Note 4 feature: convert handwriting to text as @drketan 's screenshot
I dont find a solution.......
Inviato dal mio SM-N920C utilizzando Tapatalk
That screenshot is from Note5 only and no issue here.
@dr.ketan
I am going to ask a question, not sure if you can help or point me a right direction (I hope!)
Spen features are also, as you may know, on Note 10.1 (2014) and new device Galaxy TAB A SM-P550 and SM-P350.
I have SM-T350 version, which is identical device with SM-P350, but does not comes with SPen. So built ROM out of SM-P350 and flashed to my SM-T350, all good..however, there's no way to check and see if SPen is working, so thought let's use Air Command Shortcut, you probably already know, there are several different versions of Air Command Shortcut app floating around in XDA in different threads, but I guess I installed one that actually installs on Lollipop (devices are 5.0.2). Anyway, when I run Air Command Shortcut, it says Unfortunately it stopped, and checking the catlog, I see following error message (see below).
I know that Samsung's Note phone devices SPen different than Tablet's SPen.
I know you are extremely busy, but thought maybe you can help...
All the best!
--------------
04-25 21:46:51.997 E/AndroidRuntime(6924): FATAL EXCEPTION: main
04-25 21:46:51.997 E/AndroidRuntime(6924): Process: mobi.wissamaz.aircommand, PID: 6924
04-25 21:46:51.997 E/AndroidRuntime(6924): java.lang.RuntimeException: Unable to start activity ComponentInfo{mobi.wissamaz.aircommand/mobi.wissamaz.aircommand.AirCommand}: java.lang.SecurityException: Permission Denial: not allowed to send broadcast com.samsung.pen.INSERT from pid=6924, uid=10229
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2790)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2855)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread.access$900(ActivityThread.java:181)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.os.Handler.dispatchMessage(Handler.java:102)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.os.Looper.loop(Looper.java:145)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread.main(ActivityThread.java:6117)
04-25 21:46:51.997 E/AndroidRuntime(6924): at java.lang.reflect.Method.invoke(Native Method)
04-25 21:46:51.997 E/AndroidRuntime(6924): at java.lang.reflect.Method.invoke(Method.java:372)
04-25 21:46:51.997 E/AndroidRuntime(6924): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
04-25 21:46:51.997 E/AndroidRuntime(6924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
04-25 21:46:51.997 E/AndroidRuntime(6924): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
04-25 21:46:51.997 E/AndroidRuntime(6924): Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast com.samsung.pen.INSERT from pid=6924, uid=10229
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.os.Parcel.readException(Parcel.java:1540)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.os.Parcel.readException(Parcel.java:1493)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:3040)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1702)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:391)
04-25 21:46:51.997 E/AndroidRuntime(6924): at mobi.wissamaz.aircommand.AirCommand.f(Unknown Source)
04-25 21:46:51.997 E/AndroidRuntime(6924): at mobi.wissamaz.aircommand.AirCommand.onCreate(Unknown Source)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.Activity.performCreate(Activity.java:6374)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
04-25 21:46:51.997 E/AndroidRuntime(6924): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2743)
Is it third party app? I doubt it's from Samsung
dr.ketan said:
Is it third party app? I doubt it's from Samsung
Click to expand...
Click to collapse
it is 3rd party app
http://forum.xda-developers.com/note-4/themes-apps/app-air-command-shortcut-t3058056
dr.ketan said:
Is it third party app? I doubt it's from Samsung
Click to expand...
Click to collapse
Hi dr.Ketan,
I got working all good, only thing I am having the issue it displays the Note 5 Air Command window but I can't click on any buttons. I think it only accepts clicks from the SPen?? since my device is not note device...I wonder where's the restriction comes from?
@dr.ketan can you update the v2 with a new package name for notes ? the new S note was unified on grace update and now it doent work with your command. and i managed to make it working on galaxy s6 edge all features
@dr.ketan
Will there be development for marshmallow ?
Thank you
Anyone knows about any such app for Marshmallow roms?
can it works for nougat rom?

MobyDroid - Android Device Manager (for Linux, Windows and MacOS)

Hello every one,
MobyDroid is a simple and cross-platform Android Devices Manager.
It runs on any operating system with Java support (Mac OS X, Windows, Linux, BSD, Solaris...).
THIS IS JUST A BETA RELEASE !
I have been running linux from while now. And what I noticed is there is no GUI Android Devices Manager until now (QtADB didn't work for me).
Basicly I kept using ADB command line and kept waiting for someone to make something or some alternatives.
Some day a friend of mine kept complaining about the same problem. After that, I decided to make a simple Apk installer with a graphical user interface. And something lead to another.
And I wanted to share it for any one having the same problem.
So here it is !
Prerequisites
Java Runtime Environment (JRE) 1.8 or later
ADB
BETA
THIS IS JUST A BETA RELEASE !
So you should expect a ton of bugs or crash issues.
if you encounter an issue or have a great ideas please file an issue.
Download
You can download from here.
Authors
Bilux ([email protected])
Link
MobyDroid
https://github.com/ibilux/MobyDroid
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
windows
Would love to try this out. Looks very nice. Attempting on Windows 10. I have ADB and Java installed. Getting an error that cannot run adb. Ideas?
Aug 06, 2018 12:39:30 PM Y a
INFO: [Logger] : initialized.
Aug 06, 2018 12:39:30 PM Y a
SEVERE: [JadbLauncher] : java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 20
at java.lang.String.substring(Unknown Source)
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(Unknown Source)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
sunshynman said:
Would love to try this out. Looks very nice. Attempting on Windows 10. I have ADB and Java installed. Getting an error that cannot run adb. Ideas?
Aug 06, 2018 12:39:30 PM Y a
INFO: [Logger] : initialized.
Aug 06, 2018 12:39:30 PM Y a
SEVERE: [JadbLauncher] : java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 20
at java.lang.String.substring(Unknown Source)
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(Unknown Source)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
Click to expand...
Click to collapse
Are you sure you have installed adb ?
Are you on windows or linux?
I am using Kubuntu 18.04 LTS and adb has got install. Android studio also has got. MobyDroid does not see my oneplus 3T however at terminal adb devices works well. What else need to be done to see my phone?
Is that any chanche to be able to run from the Terminal this OnePlus3&[email protected]_radaideh toolikit? Unfortunatelly this is an .bat file and i haveto use VirtualBox as on Linux does not work...
Hi, I downloaded the mobydroid_v0.2-1.deb from the github page and tried to install it on Xubuntu 16.04 I get an error from Package Installer:
Dependency is not satisfiable: android-tools
I installed latest platform-tools and is now on
Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as /usr/local/sbin/platform-tools/adb
So why am I getting this error?
Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as /usr/local/sbin/platform-tools/adb
Also:
java -jar "mobydroid.jar"
Feb 09, 2020 3:30:57 PM Y a
INFO: [Logger] : initialized.
Feb 09, 2020 3:30:57 PM Y a
INFO: [JadbLauncher] : Launched.
Exception in thread "main" java.lang.NullPointerException
at au.a(Unknown Source)
at java.util.HashMap$Values.forEach(HashMap.java:981)
at au.b(Unknown Source)
at au.<init>(Unknown Source)
at com.hq.mobydroid.MobyDroid.main(Unknown Source)
java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
JBJ
Nice app - suggestion: Phone No Entrys ?
Can a contacts manager list option be added ?

Android is starting/Optimising app issue

Hello I am having an issue with my Samsung Galaxy S6 Edge and wanted to find out if anyone had any advice. Every time I restart the phone I am met with this screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It always boots up without further issues but it takes about 15 to 20 minutes for my phone to get passed this screen, which is quite frustrating. Is there any way that I can fix this issue without having to boot into the bootloader and wiping all the data from the phone or is this the only way that I can get rid of this issue.
Thank you in advance
James.​
James10101 said:
Is there any way that I can fix this issue without having to boot into the bootloader and wiping all the data from the phone or is this the only way that I can get rid of this issue.
Click to expand...
Click to collapse
You keep getting that persistent message because the amount of cache files that is present in your phone. Including cache files are unwanted remnants after deleting multiple apps.
Download an app called SD Maid and:
1) Clean your junk files/cache and any other files you consider unwanted
2) Optimize your databases
3) Delete bloatware (If rooted)
4) And plenty of other things the app has to offer.
If that does not work, try doing this https://www.unlockunit.com/blog/how-to-get-rid-of-android-optimizing-apps/
Hope that helps.
Tiqqy said:
You keep getting that persistent message because the amount of cache files that is present in your phone. Including cache files are unwanted remnants after deleting multiple apps.
Download an app called SD Maid and:
1) Clean your junk files/cache and any other files you consider unwanted
2) Optimize your databases
3) Delete bloatware (If rooted)
4) And plenty of other things the app has to offer.
If that does not work, try doing this (had to remove the link because i'm a new member and can't post outside links)
Hope that helps.
Click to expand...
Click to collapse
Thanks for the help, I have used SD Maid and it still brings me to the android is starting screen. I don't know if it could have something to do with the fact that I tried and failed at rooting the device which caused some kind of error, I cant remember what it said now. I'll take a look at the link to see if that helps. Thank you.
James10101 said:
Thanks for the help, I have used SD Maid and it still brings me to the android is starting screen. I don't know if it could have something to do with the fact that I tried and failed at rooting the device which caused some kind of error, I cant remember what it said now. I'll take a look at the link to see if that helps. Thank you.
Click to expand...
Click to collapse
Boot to recovery and wipe the cache partition.
If that doesn't work, boot to recovery and factory reset(do not use factory reset in system settings, do it in recovery).
Sent from my LGL84VL using Tapatalk
This is a bug in dexopt. Sometimes it crashes, not being able to produce the optimized oat file. This causes PackageManager to invoke it again and again on each boot.
For me it happened with the Google Photos app.
To find out for sure, follow these steps:
1. Enable Developer options. Enable USB debugging in Developer options.
2. Install ADB and phone USB drivers.
3. Connect phone to PC, run adb logcat, permanently authorize the PC on the phone. Make sure "adb logcat" succeeds and you can see the logs.
4. Restart the phone.
5. Run adb logcat > log.txt while the phone is booting, wait for the boot to finish.
6. Open log.txt and look for lines containing PackageManager.DexOptimizer. For example:
Code:
03-18 11:24:40.685 4448 4448 I PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/com.google.android.apps.photos-1/base.apk pkg=com.google.android.apps.photos isa=arm vmSafeMode=false debuggable=false oatDir = /data/app/com.google.android.apps.photos-1/oat bootComplete=false
03-18 11:24:54.555 4921 4928 W dex2oat : No verified method for method calling String.<init>: java.lang.String android.text.TextUtils.substring(java.lang.CharSequence, int, int)
03-18 11:24:55.410 4921 4927 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 4927 (Compiler driver)
03-18 11:24:55.470 3298 3298 F DEBUG : pid: 4921, tid: 4927, name: Compiler driver >>> /system/bin/dex2oat <<<
03-18 11:24:55.490 3298 3298 F DEBUG : #00 pc 0020f4be /system/lib/libart-compiler.so (_ZN3art8MIRGraph27ComputeTopologicalSortOrderEv+717)
03-18 11:24:55.635 3320 4920 E sdp.engine_list: DexInv: --- END '/data/app/com.google.android.apps.photos-1/base.apk' --- status=0x000b, process failed
7. Delete/disable the mentioned app(s) in Settings > Apps (reinstalling the app won't help, it's a bug in the ROM).
If your log.txt does not start with "---- beginning of main", increase Buffer size for logging in Developer options from 256KB to 1MB and repeat.

Categories

Resources