Load an APK - Asus ZenWatch 2

How to load an apk file to my ZenWatch 2?
I have several watch faces that are an apk file and I haven't a clue as to how to load these to my watch. Your help on this would be appreciated.

cyaclone said:
How to load an apk file to my ZenWatch 2?
I have several watch faces that are an apk file and I haven't a clue as to how to load these to my watch. Your help on this would be appreciated.
Click to expand...
Click to collapse
you have to use adb
run the command:
adb install thisIsTheAPKName.apk

slothdabski said:
you have to use adb
run the command:
adb install thisIsTheAPKName.apk
Click to expand...
Click to collapse
Thank you, just what I needed.

could u please share the .apk and some screenshots?

Related

[Q] ADB without full SDK

I want to unlock my phone using bml5, but i dont want to install 80mb of java dev kit and the full 24mb sdk. I just want the ADB, and the drivers for my phone, if anyone could shoot me a link of where to get them.
AlwaysDroid said:
I want to unlock my phone using bml5, but i dont want to install 80mb of java dev kit and the full 24mb sdk. I just want the ADB, and the drivers for my phone, if anyone could shoot me a link of where to get them.
Click to expand...
Click to collapse
First install the drivers for your phone. Then just download the attachment and extract it. open the extracted folder "adb" and double click the cmd.exe shortcut .
You will have working adb and fastboot.
Download : adb.zip
Erroe
Hey guys I keep getting the error-" adb is not a recognized command......". Can someone plz help me....QUICKLY??!!
abhishek046 said:
Hey guys I keep getting the error-" adb is not a recognized command......". Can someone plz help me....QUICKLY??!!
Click to expand...
Click to collapse
You should run the command from directory where the adb binary is .
musarraf172 said:
You should run the command from directory where the adb binary is .
Click to expand...
Click to collapse
to do that. navigate to the folder where u hv placed adb. nw SHIFT+RIGHT click on that folder. nw choose "open command line here" and nw run those commands in the command window that pops up
Sent from my Nexus One using Tapatalk
ADB without full SDK
Download Android Control here
Extract the AndroidControl folder out of it to the root of your hard drive.
Open a command prompt and navigate to the folder.
Run adb commands

Problem regarding creation of ROM

Hello!
I currently have a new tablet called the PiPo M9 but the manufacturer only gives out ROM's with the 'img' extension instead of the usual .zip
and i can't seem to open them in any way, not by using winrar/7zip/daemon tools etc.
Anyone that could help me out?
igi0n said:
Hello!
I currently have a new tablet called the PiPo M9 but the manufacturer only gives out ROM's with the 'img' extension instead of the usual .zip
and i can't seem to open them in any way, not by using winrar/7zip/daemon tools etc.
Anyone that could help me out?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1806969
learn from here..
hottesthunkkush said:
http://forum.xda-developers.com/showthread.php?t=1806969
learn from here..
Click to expand...
Click to collapse
Tried that alread, did not work. The image file is some sort of weird sort of file
igi0n said:
Tried that alread, did not work. The image file is some sort of weird sort of file
Click to expand...
Click to collapse
your device is rooted??
hottesthunkkush said:
your device is rooted??
Click to expand...
Click to collapse
My device is rooted, yes.
igi0n said:
My device is rooted, yes.
Click to expand...
Click to collapse
install busybox..
https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
and terminal emulator
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
in terminal emu type these
su
tar -c system/* >> sdcard/system.tar
you'll get the system files for cooking..
hottesthunkkush said:
install busybox..
https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
and terminal emulator
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
in terminal emu type these
su
tar -c system/* >> sdcard/system.tar
you'll get the system files for cooking..
Click to expand...
Click to collapse
Thanks! Though i want to change the ROM before i flash it and that is why i asked the question: Why can't i extract the file that the manufacturer gave me? It doesn't seem to be a ext4 file, and not an yaffs aswell..

[Q] [Help] Android not recognizing files pushed over adb

Hey guys!
I have a very weird problem regarding adb and Android. I am developing a little script to synchronize a folder's content with another one on the handset using PHP-CLI and ADB. I have no problem with using ADB over PHP but Android has a problem with files pushed via ADB.
Let's say my script found a local folder that is not on the device, to be more accurate, a music folder:
Code:
adb push /Volumes/Data/Music/Example.mp3 /sdcard/Music/Example.mp3
The file is successfully pushed BUT is neither recognized by Google Play Music nor by Android File Transfer for Mac. But I see the file via
Code:
adb shell ls /sdcard/Music/
and also see it in every file manager I have on my phone.
Why is that and how can I get over it?
Make folder in sdcard/bluetooth called music .
And navigate your music file,maybe this will work
Bluezzy said:
Make folder in sdcard/bluetooth called music .
Click to expand...
Click to collapse
Doesn't help. It still isn't recognized.
bluefirex said:
Doesn't help. It still isn't recognized.
Click to expand...
Click to collapse
Then clear app data,restart phone.
Bluezzy said:
Then clear app data,restart phone.
Click to expand...
Click to collapse
That's what I always do when such problems occur. This time nothing happened.
bluefirex said:
That's what I always do when such problems occur. This time nothing happened.
Click to expand...
Click to collapse
Try with other player?
Bluezzy said:
Try with other player?
Click to expand...
Click to collapse
As I stated in my original post it's not the player alone. Android File Transfer (the app for Mac since Mac doesn't support MTP) also does not show the file.

[SOLVED!] Installation of Modded Settings.apk in LP 5.1

hello,
Can someone help me why i cant install my modded settings.apk to lollipop 5.1?
i did not mod any XML files but edited 2 images from res and signed the apk and tried to install. no positive result.
Someone told me that settings.apk should not be signed.
someone help in this thing.
Thanks in advance
Settings must be signed with the platform key.
MasterAwesome said:
Settings must be signed with the platform key.
Click to expand...
Click to collapse
Can you please detail the step by step.?
When i tried it by signapk.jar I'am getting error while signing the apk after creating .keystore. When i Google'd it i got an info that it is already signed. What should i do to sign and install?
shmshd12 said:
Can you please detail the step by step.?
When i tried it by signapk.jar I'am getting error while signing the apk after creating .keystore. When i Google'd it i got an info that it is already signed. What should i do to sign and install?
Click to expand...
Click to collapse
You don't sign it at all. And you can't install it. You have to flash it with a zip in recovery.
zelendel said:
You don't sign it at all. And you can't install it. You have to flash it with a zip in recovery.
Click to expand...
Click to collapse
When i flashed the zip file it installed well in recovery but when i came to the system from recovery i couldn't find the settings apk installed.
Can you create a working signed zip file to flash in recovery for the attached apk.
Thnaks in Advance
There are plenty of tuts on how to do it yourself. The mount points are very different for each device so you will have to get a zip for your device that works and then just add your apk.
zelendel said:
There are plenty of tuts on how to do it yourself. The mount points are very different for each device so you will have to get a zip for your device that works and then just add your apk.
Click to expand...
Click to collapse
Now im confused on 1 simple thing.
should i add the apk in system/priv-app/settings or system/app/settings ??
shmshd12 said:
Now im confused on 1 simple thing.
should i add the apk in system/priv-app/settings or system/app/settings ??
Click to expand...
Click to collapse
Send me the apk i'll sign it install it using
Bash:
adb push ../Settings.apk /sdcard/
adb shell
su
mount -o remount,rw /system
rm pathToSettings.apk
cp /sdcard/Settings.apk pathToSettings.apk
chmod 0644 pathToSettings.apk
reboot
MasterAwesome said:
Send me the apk i'll sign it install it using
Bash:
adb push ../Settings.apk /sdcard/
adb shell
su
mount -o remount,rw /system
rm pathToSettings.apk
cp /sdcard/Settings.apk pathToSettings.apk
chmod 0644 pathToSettings.apk
reboot
Click to expand...
Click to collapse
Bro, here is the apk
the above mentioned apk is the wrong one!!!
please find the right apk from below attachment
thanks a lot
note that this is the settings.apk for hammerhead running LP 5.1
shmshd12 said:
Bro, here is the apk
the above mentioned apk is the wrong one!!!
please find the right apk from below attachment
thanks a lot
note that this is the settings.apk for hammerhead running LP 5.1
Click to expand...
Click to collapse
Aosp?
MasterAwesome said:
Aosp?
Click to expand...
Click to collapse
YES...EXTRACTED FROM GROGG'S rom 5.1
@MasterAwesome
Waiting for your signed settings.apk !!!
when will i get it ?
shmshd12 said:
@MasterAwesome
Waiting for your signed settings.apk !!!
when will i get it ?
Click to expand...
Click to collapse
Crap, I totally forgot about it... I was building something else. I'll upload it soon
Can someone else sign this or make a flashable zip?
shmshd12 said:
Can someone else sign this or make a flashable zip?
Click to expand...
Click to collapse
Relax and give him time. You would have had it by now had you done your own research and docent yourself.
zelendel said:
Relax and give him time. You would have had it by now had you done your own research and docent yourself.
Click to expand...
Click to collapse
I google'd a lot and I'm tired!!
That's the reason i started thread!!
shmshd12 said:
I google'd a lot and I'm tired!!
That's the reason i started thread!!
Click to expand...
Click to collapse
I think you mistake this for a support site. If you searched then you really didnt look very hard
http://forum.xda-developers.com/gal...tutorial-making-flashable-zips-edify-t1611615
That gives you everything you need to know to make it.
zelendel said:
I think you mistake this for a support site. If you searched then you really didnt look very hard
http://forum.xda-developers.com/galaxy-nexus/themes-apps/tutorial-making-flashable-zips-edify-t1611615
That gives you everything you need to know to make it.
Click to expand...
Click to collapse
Parsing error occurs while installing!!
So i need to sign the apk right?
In the above mentioned thread it only shows how to create a flashable zip or signed zip!!! I need to sign the apk!!
shmshd12 said:
Parsing error occurs while installing!!
So i need to sign the apk right?
In the above mentioned thread it only shows how to create a flashable zip or signed zip!!! I need to sign the apk!!
Click to expand...
Click to collapse
First off. No you should never sign a system APK. If you do it will conflict with the system Sig that all system apps use.
I told you once already. You cant install the apk that way. It has to be flashed in recovery.
zelendel said:
First off. No you should never sign a system APK. If you do it will conflict with the system Sig that all system apps use.
I told you once already. You cant install the apk that way. It has to be flashed in recovery.
Click to expand...
Click to collapse
but @MasterAwesome said that Settings must be signed with the platform key in the second post!! so are you telling that he is wrong?
I did a flashable zip by ZipMe app from playstore and flashed it...still the settings apk was not found in the app drawer!!!

Extract boot image from payload.bin on Android?

Is there any kind of tool FOR Android that can extract a boot image from a payload.bin? Or do you basically need a PC for the task? I do it all the time from my desktop, but a tool to do it on my phone itself would be super convenient if it exists somewhere. Thanks guys!
H4X0R46 said:
Is there any kind of tool FOR Android that can extract a boot image from a payload.bin? Or do you basically need a PC for the task? I do it all the time from my desktop, but a tool to do it on my phone itself would be super convenient if it exists somewhere. Thanks guys!
Click to expand...
Click to collapse
There's a high likelihood that Termux can do it. If you have a payload.bin that you can link me I'll try it. I think it can run these python scripts assuming there's nothing wrong with them.
https://github.com/cyxx/extract_android_ota_payload
Spaceminer said:
There's a high likelihood that Termux can do it. If you have a payload.bin that you can link me I'll try it. I think it can run these python scripts assuming there's nothing wrong with them.
https://github.com/cyxx/extract_android_ota_payload
Click to expand...
Click to collapse
Here's a download link for the latest OxygenOS build for a OnePlus 7 Pro: https://www.oneplus.com/support/softwareupgrade/details?code=PM1574156267635
I tried to run the python script with Termux, it said it couldn't execute the script, permission was denied. I granted it superuser too. Try it out, I may have done it wrong. Thanks man! [emoji16]
EDIT: You'll have to extract the payload.bin, that link is to a full flashable rom zip.
H4X0R46 said:
Here's a download link for the latest OxygenOS build for a OnePlus 7 Pro: https://www.oneplus.com/support/softwareupgrade/details?code=PM1574156267635
I tried to run the python script with Termux, it said it couldn't execute the script, permission was denied. I granted it superuser too. Try it out, I may have done it wrong. Thanks man! [emoji16]
EDIT: You'll have to extract the payload.bin, that link is to a full flashable rom zip.
Click to expand...
Click to collapse
I think I know what happened. Was the file on an sdcard? Because scripts can't run there, and I totally forgot about that. You normally have to copy the file into termux's home location. /data/data/com.termux/files/home If you get permission denied there, then change the group owner, and user to what's in the screen shot and it'll work. You can avoid that situation entirely though, by downloading the file directly into Termux's home folder using wget. For those scripts to run you'll need to install python and protobuf too. From termux run, (without root), pkg install protobuf & pkg install python.
I'm going to try extracting that. Downloading it now.
Edit: I tried but I can't get it to work. The scripts error out because it's expecting some kind of info from Google. I tried adjusting the metainfo structure to match a pixel device and it got further into the process, but it still gives an error. What do you use on pc? I might be able to port it to Termux.
Spaceminer said:
I think I know what happened. Was the file on an sdcard? Because scripts can't run there, and I totally forgot about that. You normally have to copy the file into termux's home location. /data/data/com.termux/files/home If you get permission denied there, then change the group owner, and user to what's in the screen shot and it'll work. You can avoid that situation entirely though, by downloading the file directly into Termux's home folder using wget. For those scripts to run you'll need to install python and protobuf too. From termux run, (without root), pkg install protobuf & pkg install python.
I'm going to try extracting that. Downloading it now.
Edit: I tried but I can't get it to work. The scripts error out because it's expecting some kind of info from Google. I tried adjusting the metainfo structure to match a pixel device and it got further into the process, but it still gives an error. What do you use on pc? I might be able to port it to Termux.
Click to expand...
Click to collapse
Thanks for testing this out, sorry for the late reply, life's been hectic. The tool I USUALLY use for WIndows is payload dumper 64. I'll link it here.
Link: https://androidfilehost.com/?fid=818070582850510260

Categories

Resources