I have noticed one of two of you Vogue guys using my ADB File Explorer on your Android ports and coming across a couple of problems. I have updated the application which should allow for full functionality. This is tested and working, a few small bugs remaining for now I'm focusing on a getting to v1.0 before looking into ports.
Original post:
http://forum.xda-developers.com/showthread.php?t=523960
Project Page:
http://code.google.com/p/adb-file-explorer/
The Vogue version is listed under the downloads page.
thank you thank you thank you
thank you
i am one of those who have tried to use your adb file explorer
i will test it right now and let you know how it works
EDIT
tested and worked i was able to see my phone and all its files as soon as i plugged it in
i was able to transfer a music file into the mymusic on the sdcard
however i noticed that the list of music files on the phone was not a complete list it started at M- z and even after refreshing many times the list was the same
even after i transferred the "test.mp3" i had to check the on the phone because the list of music on the adb file explorer did not change
over all works well but a few things to fix
thank you with all this work being done on the vogue i may never have to buy an android phone
sorry posted in the wrong forum
evilclosetmonkeynate said:
thank you
i am one of those who have tried to use your adb file explorer
i will test it right now and let you know how it works
EDIT
tested and worked i was able to see my phone and all its files as soon as i plugged it in
i was able to transfer a music file into the mymusic on the sdcard
however i noticed that the list of music files on the phone was not a complete list it started at M- z and even after refreshing many times the list was the same
even after i transferred the "test.mp3" i had to check the on the phone because the list of music on the adb file explorer did not change
over all works well but a few things to fix
thank you with all this work being done on the vogue i may never have to buy an android phone
Click to expand...
Click to collapse
Thanks for testing.
I've not come across this bug before, it may be specific only to the Vogue so unless I get bug reports for official Android phones then I won't be doing anything further for ports until the program is at version 1.0.
If you use ADB via the command line, do you still get this problem('adb shell busybox ls [path]')? Are you using the latest version of busybox on your port?
Those would be the first things I'd check.
The file listing should automatically update once the transfer is complete, currently there is no status bar or anything so you'll just have to wait it out. I'll add a status bar if I can find a way to output progress info from ADB.
makethetick said:
Thanks for testing.
I've not come across this bug before, it may be specific only to the Vogue so unless I get bug reports for official Android phones then I won't be doing anything further for ports until the program is at version 1.0.
If you use ADB via the command line, do you still get this problem('adb shell busybox ls [path]')? Are you using the latest version of busybox on your port?
Those would be the first things I'd check.
The file listing should automatically update once the transfer is complete, currently there is no status bar or anything so you'll just have to wait it out. I'll add a status bar if I can find a way to output progress info from ADB.
Click to expand...
Click to collapse
no big rush to fix the bug just the fact that it works is good for me
as for busybox i couldn't tell you that would better answered by vilord or dzo or any of the developers
Update released, v.0.3.1.
All future versions will be compatible with ports
not working
I cannot for the life of me get my vogue running android 2.0.1. eclair to connect via adb,
the drivers install, and lists in my device manager as an htc dream,
put the adb.exe in my system32, then plugged in, installed drivers, and then run the file explorer, but it says there is no phone connected.
Any ideas?
Related
Hey guys,
I asked in the apps section about bluex. that I tried to use it to transfer files from my phone to a samsung behold and they told me to type this in the terminal:
mv /data/app/bluetoothFileshare.apk /data/app-private/
but when i did It says:
failed on '/data/app/bluetoothFileshare.apk' - No such file or directory
__________________
mv /data/app/com.alex.BluetoothFileshare.apk /data/app-private
this is case sensitive
enjoy
same thing
samething happened...
failed on '/data/app/com.alex.BluetoothFileshare.apk' - No such file or directory
does it matter that I have cyanogen v3.5.2 and my apps are on my sdcard?
isnt bluex automatically in the app-private folder?
so....
Is there something I have to do to get it to work with the samsung behold? Or does it just not work with that phone?
the behold would have to be rooted to receive files...i dont know if it works for just sending files
as far as i am aware the behold isnt even android powered so i dont know how you would expect it to work (in which case negate my last statement)
try this on the g1
cd /data/app/
ls (this will list all the files in that directory)
look for anything relating to bluetooth
mv /data/app/*filename.apk*/data/app-private/
hopefully with apps2sd it will all work out with the sym links
personally i dont use apps2sd so this could be the root of your troubles
instead of this code you could try a "root file browser"
and then im sure you would be able to cut and paste from one folder to another
out of curiosity, did u get bluex from a 3rd party source or the market? if it was the market i doubt there would be any problem (but where is the fun in that?)
good luck
oh, one little note...
if in the unlikely event something screws up n u need to reflash or anything else along those lines, please dont blame me
(im sure you wouldnt anyway, but just incase)
Gonna put my two cents in on this btw.
I'm trying to "pirate" this app (install it after getting a refund from the market. If I give up or succeed in "pirating the app", I'm going to rebuy it), for the sole reason I enjoy a challenge.
I believe that the app is infact not looking for whether a copy is in the app-private folder, but in the app folder.
Let me explain;
You install bluex from the market, it goes to app-private.
you give the application root permissions, and it checks to see whether there is a copy of it in the app folder. No copy, runs fine.
You install the app from an outside source. The install goes to the app folder. You copy the .apk to the app-private folder. The application looks for a copy of itself in the app folder, and OH NOES! it's there, and blocks all access to itself.
Is there anyway to adb an install to the app-private folder?
also, if the app locks itself, uninstall it, then *reinstall,* otherwise, even if you manage to succeed in installing the application and circumventing the security protection, you'll still be locked out of the application.
Bluex solution
this is how i did it - avoiding having to manually do anything
download version 1.1.2 here
rename it to com.alex.BluetoothFileshare.apk (case sensitive)
then stick it on your SD
then download SUFB (super user file browser) here
install this via watever method you normally do (personally i use ESTRONGS File Browser - free from the market)
open SUFB and navigate to /sdcard, find bluex and long press it and select copy and then navigate back to /data/app-private
press menu and select "mount /data RW" then paste bluex into app-private
press menu and select "mount /data R" to stop you screwing anything up by accident
reboot (not necessarily compulsory but it didnt work for me without it even tho bluex did appear in the dash thingie)
after reboot open bluex, enable bluetooth, enable server and enjoy
hope this helps
(the first time i did do this all in the terminal but was too lazy to type it after a couple of reflashes)
what i did find strange was that when doing a straight "mv ....." it worked without remounting RW but when using the file browser it wouldnt work without the remount
enjoy
i do encourage anyone who tries this to buy the app - i too did it for the challenge and then bought it (after my last reflash) (i was paranoid that after a reflash that i had schedualed that i would have to pay for it again). it is a great app and the developer deserves the £1.50
sorry, the links have been removed (for obvious reasons). google for droid appz and you will find a great site with some tips, tricks and appz
what phones does it work with?
does bluex only work with other g1's and android phones? or can you fileshare with blackberry's, iphones, etc.
iv not sent or received from any other phones (im in thailand now and none of my friends have bluetooth, poor them....) but it works great with my computer and the piece of crap dongle in both directions
so i dont see why it wouldnt work with other phones...its just and implimentation of the OBEX standard that is used for both infrared and bluetooth OBject EXchange
enjoy
garok89 said:
iv not sent or received from any other phones (im in thailand now and none of my friends have bluetooth, poor them....) but it works great with my computer and the piece of crap dongle in both directions
so i dont see why it wouldnt work with other phones...its just and implimentation of the OBEX standard that is used for both infrared and bluetooth OBject EXchange
enjoy
Click to expand...
Click to collapse
well I've tried with my friend and girlfriends behold and it will pair but not connect to it. and I'm the only one of my friends that have a g1, they're all iphone junkies :thumbsdown:
as far as i am aware the iphone still cant send or receive via bluetooth just like the g1
i dont think it was introduced in the new firmware upgrade
try it with someone who uses a real phone, not a jumped-up mp3 player
i can pair with my computer but not connect unless its for file transfer
the g1 and iphone only really connect to handsfree kits etc...
try sending something to your computer or something like that, it should work
also, double check that you have server enabled
once you have sent or received from one device, you can set it to automatically accept from that device on all occasions
Bluex>Options>Remote devices options>*device*>automatically accept files
i've been able to send and recieve files from my other phones sony erricson's and random other phones on the bus etc
Root has nothing to do with sending and receiving bluetooth. the only reason you need root on android is because the profile(obex) needed to exchange files is not "built-in" to android. In order to support this profile, the developer probably programmed his app to change read-only files, and that would be why the g1 requires root for obex. phones that ACTUALLY support obex don't require root/superuser/administrative privledges. So in other words, you don't need root for obex unless you're using android.
You guys shouldnt be openly discussing pirating applications. Thats not nice, and you are posting on a DEVELOPER forum. What's wrong with you guys?
garok89 said:
the behold would have to be rooted to receive files...i dont know if it works for just sending files
as far as i am aware the behold isnt even android powered so i dont know how you would expect it to work (in which case negate my last statement)
try this on the g1
cd /data/app/
ls (this will list all the files in that directory)
look for anything relating to bluetooth
mv /data/app/*filename.apk*/data/app-private/
hopefully with apps2sd it will all work out with the sym links
personally i dont use apps2sd so this could be the root of your troubles
instead of this code you could try a "root file browser"
and then im sure you would be able to cut and paste from one folder to another
out of curiosity, did u get bluex from a 3rd party source or the market? if it was the market i doubt there would be any problem (but where is the fun in that?)
good luck
Click to expand...
Click to collapse
garok89 said:
this is how i did it - avoiding having to manually do anything
download version 1.1.2 here
rename it to com.alex.BluetoothFileshare.apk (case sensitive)
then stick it on your SD
then download SUFB (super user file browser) here
install this via watever method you normally do (personally i use ESTRONGS File Browser - free from the market)
open SUFB and navigate to /sdcard, find bluex and long press it and select copy and then navigate back to /data/app-private
press menu and select "mount /data RW" then paste bluex into app-private
press menu and select "mount /data R" to stop you screwing anything up by accident
reboot (not necessarily compulsory but it didnt work for me without it even tho bluex did appear in the dash thingie)
after reboot open bluex, enable bluetooth, enable server and enjoy
hope this helps
(the first time i did do this all in the terminal but was too lazy to type it after a couple of reflashes)
what i did find strange was that when doing a straight "mv ....." it worked without remounting RW but when using the file browser it wouldnt work without the remount
enjoy
i do encourage anyone who tries this to buy the app - i too did it for the challenge and then bought it (after my last reflash) (i was paranoid that after a reflash that i had schedualed that i would have to pay for it again). it is a great app and the developer deserves the £1.50
Click to expand...
Click to collapse
Pirated programs IS NOT allowed on this forum.
Meaning if you have to pay for a program, you can not offer it to someone for free.
Warning offered.
my apologies
warning accepted
wont happen again
Idk what ur trying to do but my wifes memoir works flawless with this app and a g1. She can send and receive files from my fone with no problem.
jonnybueno said:
Root has nothing to do with sending and receiving bluetooth. the only reason you need root on android is because the profile(obex) needed to exchange files is not "built-in" to android. In order to support this profile, the developer probably programmed his app to change read-only files, and that would be why the g1 requires root for obex. phones that ACTUALLY support obex don't require root/superuser/administrative privledges. So in other words, you don't need root for obex unless you're using android.
You guys shouldnt be openly discussing pirating applications. Thats not nice, and you are posting on a DEVELOPER forum. What's wrong with you guys?
Click to expand...
Click to collapse
im well aware that phones that already support OBEX dont require root. i hadnt heard of the samsung he was talking about and thought it may have been a soon-to-be android phone...it was released under a different name here and i had interpreted the question as being that the phone ran (or was going to run) android. a simple mistake anyone could make when google is acting up (probably more the ISP than google but you get the point)
as for openly discussing pirated apps, i dont see a problem with it personally as i do things on a try-before-you-buy basis....i know it was stupid posting the links and i apologized for that and the links were removed
hiroots said:
Idk what ur trying to do but my wifes memoir works flawless with this app and a g1. She can send and receive files from my fone with no problem.
Click to expand...
Click to collapse
great. proof it works... iv still only tested it with my laptop
Is there a good way to get the current version of Cyanogen up and running on the SDK emulator? I have several people that complain about my application widget closing when they open or close the keyboard. The logs show nothing pertaining to my application and the only thing they all have in common is a stock G1 with Cyanogen 4.2.6 and no home screen manager. Many others with non-modded G1's do not have this problem.
I'd like to test it out in the emulator since I now only have a Droid
I found some instructions with an image file to use for this, but it was for a very old version of Cyanogen.
do a nandroid backup and then copy the files from it in to the directory of a virtual device you have already created
then all shall be good
Is there a good source to snag a existing nandroid backup of 4.2.6? I don't have a G1 or any other device to run a nandroid backup on. Too bad too cause I just shipped out my old HTC Magic a few days ago. Now all I have is my Droid.
I'll search around for one and report back if I locate one.
just did a dump for you
http://code.google.com/p/cyanogen-updater/downloads/list
itl be up in a few minutes
You just need to make a yaffs2 image of the /system folder from cyan's update.zip. The boot.img is already in the zip.
Search for mkfs.yaffs2.
That nandroid backup works perfectly in my AVD 1.6 emulator. Thanks so much for building that for me. I can test all my apps against Cyan now
Thanks goldenarmz too, I'll save this away for future versions. Does this work with Hero roms as well?
pcm2a said:
Thanks goldenarmz too, I'll save this away for future versions. Does this work with Hero roms as well?
Click to expand...
Click to collapse
Yes, you can run anything on the emulator like that
I also found out that trick a few days ago. The only problem I have is that I do not get an Internet connection.
Does the SDK simulate wifi, 3G or is there just another fictive network device? I've got DroidWall and Y5 installed. Furthermore I've got sometimes problems to start my wifi after rebooting (problem by manual copied wpa_...cfg, I guess).
I am not really sure where to search. I will investigate the stuff in the paragraph above but perhaps you've got another few hints for me?
btw: I've got 4.2.13, but that shouldnt make a big difference, should it?
Anybody has found a fix for internet Issue for Cyanogen system.img file and Android SDK emulator?
Regards,
Oscar.
DISCONTINUED DUE TO GINGERBREAD RELEASE AND NO TIME TO REWRITE ENTIRE SCRIPT
WILLING TO START NEW PROJECT WITH SOMEONE ELSE
INBOX ME IF YOU WANT MY HELP FOR A PROJECT
This application will allow you to:
Do everything to theme froyo
And More!!!
Android Theming & Tweaking v2 Alpha
Download below
2.0 Development - Enhancements Finished:
Work Directory can be placed anywhere
Work Directory Move & Update
Animated Splash Screen
Phone tools by Che123 & Me
using windows 7, it is not working for me! I click on 'click me' file and nothing happen
Edit: Click me.bat doesn't open menu.bat automatically, after I click 'click me.bat' I had to click 'menu.bat' to get the options to appear.
works like a charm~
good to see you're porting this over
i'll include the windows version in the original thread and have every OS in one place
all thanks for the windows version go to you
i'll also try and fix any bugs as i know better what the scripts are doing
blackfox888 said:
using windows 7, it is not working for me! I click on 'click me' file and nothing happen
Edit: Click me.bat doesn't open menu.bat automatically, after I click 'click me.bat' I had to click 'menu.bat' to get the options to appear.
Click to expand...
Click to collapse
Sorry for that, I'll have a look tomorrow and see what's wrong
I'll post a new update with lots of fixes tomorrow
(Strict parents - spent so long on computer they nagged me to turn it off, I'm 16 and they still boss me around lol)
I'll make sure all menus work (including click me) and most of scripts work properly
//edit
The only reason I know of for it not working is because you have a space in your username for Windows. Fix will be up today
//edit
The reason I didn't post it in yours because its too buggy to display in your thread, I wanted to keep a high standard in your thread. Once its finished I'll post it in yours
Sent from my HTC Desire using XDA App
shoey-n said:
The reason I didn't post it in yours because its too buggy to display in your thread, I wanted to keep a high standard in your thread. Once its finished I'll post it in yours
Click to expand...
Click to collapse
Would greatly appreciate that
Thanks again for your porting work
Regards
Alpha 2 Released!
Fixed all visible bugs, all menus (including CLICK-ME) should now all work
Most scripts should work properly
Report all bugs to thread (either post up error shown or name of script)
Any suggestions for extra features are welcome as well (I'll tell cgrec92 about them for his version as well)
shoey-n said:
Alpha 2 Released!
Fixed all visible bugs, all menus (including CLICK-ME) should now all work
Most scripts should work properly
Report all bugs to thread (either post up error shown or name of script)
Any suggestions for extra features are welcome as well (I'll tell cgrec92 about them for his version as well)
Click to expand...
Click to collapse
the click-me still not working for me on windows 7 x64
To get the patch work in windows 7 all you need to do
is place the "ThemePro" folder on you desktop!!
mine wasn't working either until i did that
nope still not working
then also try to enter the
"properties" of both the '.bat' files in the directory and play with the "compatibility" options.
hmmm, I don't see why it doesn't work, I'll do some research about x64 because it works fine x32
Can you post up the path to your desktop please (if you don't want to show username, replace with ** but if there's a space in your username include it clearly)
Found a better way of calling the other files, it will work with everyone
(sorry for issues VeeDubZ)
You will be able to run Theme-Pro from anywhere you want, no need to place on Desktop
The Work Directory will still be placed to Desktop by default, I'm adding an option to let you specify the directory you wish to put it
(e.g Where would you like to place your Work Directory?: C:\Users\shoey-n\My Documents)
The update will be up today, and I hope to merge most of Theme-Pro 3.0 features by tomorrow
Hi shoey-n,
Why do you use this command line in CLICK-ME.bat :
call "%homedrive%%homepath%\Desktop\ThemePro\menu.bat"
Click to expand...
Click to collapse
instead of this one :
call "menu.bat"
Click to expand...
Click to collapse
?
I had the same issue than VeeDubZ with the original click-me.bat and by using this command line, it solved it.
Cheers
Thanks for the suggestion, I just noticed that when I was testing out my new way of doing it. That way will be much easier. I'm updating it with that now
New version should be up tonight
//edit
Sorry guys, I've updated the script but haven't had time to upload ( internet is really slow, so it'll take about 15 minutes )
So I'll do a major update for the release tomorrow, just for you lot
thanks for the fix, no worries about the problems with it, i started using the linux version for now, your version will just save me rebooting to use that one.
my path is the standard path that a user would use without any spaces C:\Users\vaughn\
Thanks for the progress update, looking forward to the release.
V.
Alpha 3 is out, few changes and enhancements to this version
Been tested outside of ThemePro but not inside. Hopefully new method works (hopefully uploaded right one )
Added transparent notification drawer mod (uploading for themepro 3.1 Mac/Linux in 5mins, compiling it and adding to scripts right now)
Changelog is up on first post
alpha 3 broke it all for me... none of the options work, Cmd spits out an error about "er" not being a system variable, and not being able to find the directory...
That means I made a typo somewhere, the way I done it means I only have to check 2 files so should be easy to fix, thanks for reporting the bug, fix will be up in the morning
Sent from my HTC Desire using XDA App
Beaverman20 said:
alpha 3 broke it all for me... none of the options work, Cmd spits out an error about "er" not being a system variable, and not being able to find the directory...
Click to expand...
Click to collapse
Thanks for your bug reporting, it's all fixed now
I've tested it and can confirm working
Brand new phone...can't believe i did something wrong only a few hours into it!?
To cut to it, i am not able to run anything on my PC to my Atrix bc the phone is not visible to it via usb sync. It DOES still see it if i needed to transfer files etc, just not so i can flash anything to it off the PC.
And not sure if it has anything to do with it, but it seems like i ran into my problem when i inserted and formatted my SD card. Here's what i did (and i hadn't gotten very far):
I rooted with SuperOneClick, then I installed DG's Adeo ROM and the update.
I was trying to install Gingerbread and was just putting busybox installer on my phone when i went to put my SD card in there from my old phone. i formatted the card and it seemed after i did that i lost connectivity via the USB. It could still access the phone, but everytime i run ATRIX4G_MobileTV_GBTheme.bat it hangs at "daemon started succesfully" . It also hangs if i try to run SuperOneClick again on "waiting for device."
I wasn't sure what to do to get it running right again so i did a full wipe from the settings. Still can't connect
Any help be greatly appreciated. i've literally had this phone 4 hours so sorry if i'm missing something dumb
Try running aRoot (search this forum) and then trying all that.
thanks for that suggestion, gonna try that....just as soon as the damn search function comes back!!
oh the waiting...i am not going to be able to sleep tonight till i get somethin happenin
No need to search, it's only hanging about 3-5 posts down in this section. It's also here:
http://forum.xda-developers.com/showthread.php?t=981866
Ran aRoot - seems to run through the steps without a failure, but it went VERY fast, like 3 seconds...and it hangs when i try to "unroot"
so, all in all it seems like its still not recognizing the phone as before when connected through USB
Dillsnik said:
Ran aRoot - seems to run through the steps without a failure, but it went VERY fast, like 3 seconds...and it hangs when i try to "unroot"
so, all in all it seems like its still not recognizing the phone as before when connected through USB
Click to expand...
Click to collapse
Do you have Root Explorer? If so, look in /sbin and see if you have 'adbd' showing
OR
Have you tried installing the ADB interface from the Android SDK? See if your device can be seen? If not see THIS ARTICLE (external link to addictivetips) on setting up ADB.
No, I don't have Root Explorer
I installed SDK and ADB and it does show up, but only when the USB setting is set to "Motorola phone portal." None of the other options it shows up in device mgr.
I am kinda stabbing in the dark at this point...thinking maybe it's a driver issue?
maybe if i uninstall all the drivers and start from scratch i might have some luck? i actually did unistall all the drivers thru device mgr, but they just came right back next time i connected...so maybe i need to delete them entirely?
any suggestions to trouble shoot this greatly appreciated...i know it's probably small potatos but i'm really jammed up here...
Moved as not android development
Have you tried installing the latest drivers again directly from the Motorola Mobility site? You can install Media Link or just the drivers with MotoHelper. For some reason my phone installed all of this, but there were updates available immediately.
The ADB interface should function when USB is set to None.
Sent from my Rooted Atrix using Tapatalk Pro
Yeah i actually did a system restore and reinstalled all the drivers etc.
I can see the phone now in the device mgr under ADB interface when connection is set to "None" for USB
But still hangs when trying to flash basically anything
Do you have or can you pick up a Terminal Emulator in the Market and list the files in /sbin? See if you have adbd...
From $
su
cd /sbin
ls (Lower case L, not 1)
Look through list of files for adbd.
Sent from my Rooted Atrix using Tapatalk Pro
OK, No it's not in there
See this post here: http://forum.xda-developers.com/showpost.php?p=11738847&postcount=1 and the cooresponding thread for replacing adbd. There's another post in the thread about changing the permissions so that it doesn't get lost again with a reboot. You might have to purchase Root Explorer since you cannot push anything via ADB over USB.
Sent from my Rooted Atrix using Tapatalk Pro
This seems to be the type of problem i am having, very much thanks for directing me to that other thread.
At this point i have copied ADB to the sbin folder but nothing flashing yet...need to read through that thread more and play with it.
What a PITA so far but thanks so much for the help!
No problem. I hope it works out. If you don't mind, post up and let me know if you get it going and what it took so we can try to help others.
Sent from my Rooted Atrix using Tapatalk Pro
I'm pretty sure I had this working on the NA Rom, I'm now using the Stock EU 8GB Rom and the workout app wont start when my HRM is paired..
It crashes and force closes.
However the HRM does pair, and I can see my Heartrate displayed when I use the Heart rate clock face.
Anyone experienced this ? Any fix anyone knows of ?
scoobdriver said:
I'm pretty sure I had this working on the NA Rom, I'm now using the Stock EU 8GB Rom and the workout app wont start when my HRM is paired..
It crashes and force closes.
However the HRM does pair, and I can see my Heartrate displayed when I use the Heart rate clock face.
Anyone experienced this ? Any fix anyone knows of ?
Click to expand...
Click to collapse
Reading Moto Support forums, looks like it may have stopped working in ROM upgrade to 1.7.xx Does anyone have 1.6.13 for example ?
Fix for pairing with Polar H7
Hi scoobdriver,
This problem is related to versions 1.7.x of the MotoACTV firmware. There are several posts in the Motorola forums, but no official answer from Moto for the last two years. Up to now, the only solution if you wanted to pair your H7 with the MotoACTV was to revert to 1.6.12 (the last rom working with the H7). Luckily, ClearD root tool can do that for you ("return to stock" functionality flashes 1.6.12). Please read the instructions carefully before you try to root your device if you choose to follow this path.
In my case, I decided to follow a different path and go into the code for comparing both 1.7.10/12 and 1.6.12 (the last working rom). I found out that some dev at Moto thought that a null pointer check was not necessary when setting up the activity screen, and this caused an uncaught null pointer exception and the already famous crash "Sorry. The application Workout (com.motorola.gault.activity) has stopped unexpectedly. Please try again." Surprisingly, it had nothing to do with BLE protocol or with any compatibility problem with Polar implementation/interpretation of BLE.
I have fixed and repackaged the conflictive apk (attached); after several tests and workouts it has not given me any problems. If you want to test it, you can update you MotoACTV to the latest rom (1.7.10/1.7.12) with MotoCast, root it (read the available excellent tutorials on how to do it, if you need), download the attached file and copy it to the device with adb:
Code:
adb remount
adb pull /system/app/Workout.apk Workout_backup.apk # (if you want to backup your original apk)
adb push Workout.apk /system/app/
adb shell chmod 644 /system/app/Workout.apk
I know it could be packaged in a more friendly (non-adb) way, but I want to make sure it really works before going on. I have tested it with ClearD rom, but it should also work for a stock rom. Anyway, be warned that rooting and playing with adb is at your own risk, as usual. In any case, If you test the modified apk and you get any undesired result, do not hesitate to come back to this post.
J*R said:
Hi scoobdriver,
This problem is related to versions 1.7.x of the MotoACTV firmware. There are several posts in the Motorola forums, but no official answer from Moto for the last two years. Up to now, the only solution if you wanted to pair your H7 with the MotoACTV was to revert to 1.6.12 (the last rom working with the H7). Luckily, ClearD root tool can do that for you ("return to stock" functionality flashes 1.6.12). Please read the instructions carefully before you try to root your device if you choose to follow this path.
In my case, I decided to follow a different path and go into the code for comparing both 1.7.10/12 and 1.6.12 (the last working rom). I found out that some dev at Moto thought that a null pointer check was not necessary when setting up the activity screen, and this caused an uncaught null pointer exception and the already famous crash "Sorry. The application Workout (com.motorola.gault.activity) has stopped unexpectedly. Please try again." Surprisingly, it had nothing to do with BLE protocol or with any compatibility problem with Polar implementation/interpretation of BLE.
I have fixed and repackaged the conflictive apk (attached); after several tests and workouts it has not given me any problems. If you want to test it, you can update you MotoACTV to the latest rom (1.7.10/1.7.12) with MotoCast, root it (read the available excellent tutorials on how to do it, if you need), download the attached file and copy it to the device with adb:
Code:
adb remount
adb pull /system/app/Workout.apk Workout_backup.apk # (if you want to backup your original apk)
adb push Workout.apk /system/app/
adb shell chmod 644 /system/app/Workout.apk
I know it could be packaged in a more friendly (non-adb) way, but I want to make sure it really works before going on. I have tested it with ClearD rom, but it should also work for a stock rom. Anyway, be warned that rooting and playing with adb is at your own risk, as usual. In any case, If you test the modified apk and you get any undesired result, do not hesitate to come back to this post.
Click to expand...
Click to collapse
Thank you so much for this J*R! I just bought a motoactv just to use it with BLE accessories and none were working until I applied your APK. Straight forward very easy to follow instructions. Everything is working now.
I can't believe Motorola is not doing anything about it. Even if it's a discontinued product, it doesn't have to be a useless one....
rocos
not working
Hi and thank s for your work.
i m cleardroid rooted (1.7.10) and put your workout.apk fix on my actv...but still not ok. (Same msg: workout... crash....try again later)
First time, when i try to backup my original workout.apk in adb , the file was not founded on my actv. I push whatever your apk in system/app and everything is ok in adb. But nothing change for my problem when i try to launch a jogging.Is it possible that my actv system path is different of your example? (System/app)
i dont know if is it possible to explore the system file of my actv, at least for know where path is my original workout and replace it by your fix.
thank s man and sorry for my ugly english...i m french.