Related
I used to use "Root Explorer" on my hero to delete system apps before..doesn't seem to work anymore..
solution??
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
did you mount /system in rw mode? (it's ro by default)
U dont have write access to system partition in normal use if i read the tutorial right. U have to do it with an update.zip (editing the update script) or with adb both u have to do in recovery menu from modaco i think. Tell me if i am wrong.
Sry for my bad english
@cezarL yes I did
@xtcislove I wish u were wrong..seems like pain.. anyway to do it without a pc?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Click to expand...
Click to collapse
ye..I'm sure it has something to do with the root limitations Paul mentioned in his rooting guide. hope it'll be fixed soon.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Try this: Boot in recovery menu and try the following commands:
adb remount
adb shell rm /system/app/APP.apk
adb shell rm /data/app/APP.apk
where APP.apk is the filename of the apk with the .apk extention, remember case-sensitive!
for example:
adb remount
adb shell rm /system/app/FriendStream.apk
adb shell rm /system/app/FriendStream.odex
take a look before if your app has a odex or try this: (here u need only one command)
adb remount
adb shell rm /system/app/*FriendStream*
Good luck and have fun =)
Edit: Just find a topic =)
hxxp://android.modaco.com/content/htc-hero-hero-modaco-com/297207/removal-of-apps-via-adb/#entry1124362
(replace hxxp with http)
I'm trying to do these things in windows at the moment. No issues getting in the recovery with the windows scripts. But when I try to open a ADB Shell after I've gone to recovery I can't really do anything with it and the recovery hangs (not controllable with the track pad).
Anyone can tell me what I'm doing wrong?
You're not doing anything wrong, from what I've seen opening a new adb instance on Windows will kill the server created by the .bat file used for recovery... which means the connection to the device is lost. I haven't looked into it further, but it might be fixeable somehow.
Ah I see, so basicly you undo the patched recovery by opening a new session. It does work properly under Linux then? I run ubuntu on my netbook so It's not a big issue anyway. Thanks for the tip, gonna try under linux now!
I'm having the same problems as:
http://android.modaco.com/content/h...co-com/307401/removing-sys-apps/#entry1256015
I removed a load of HTC widgets but I get strange entries on the widget menu. Anyone know how to get rid of these?
Also, I removed Stocks (.apk and .odex), now I get a force close on 'Accounts & sync'. Anyone know how to remove Stocks properly?
Cheers.
After running the bat file to get into recovery, start a new cmd prompt in windows and use again adb-nilezon for shell commands instead of ordinary adb, and it wont be killed.
This has worked for me atleast
blackadder1000 said:
Anyone know how to remove Stocks properly?
Click to expand...
Click to collapse
The best, foolproof, failsafe way is to remove them from the rom before installing it... and remember that some services are still required, weather you use them or not.
But, if a system app is already installed you need to remove:
the apk from /system/app
the data from /data/data/appname
the cache from /cache/dalvik-cache
Do not remove Accounts & Sync...
Thanks for the answer.
I guess now is a good time to bake my own ROM!
blackadder1000 said:
Thanks for the answer.
I guess now is a good time to bake my own ROM!
Click to expand...
Click to collapse
Yep, that's what I do... see my sig...
my device is rooted and I want to backup all my apps before flashing a new ROM
but titanium backup wont start saying that im not rooted although I am and it stated that I need busybox installed. But when installing busybox it says failed to copy over /system/xbin and my device suddenly reboot. please help
will thank every useful post
Please help
From recovery:
mount /system
mount /sdcard
cp /sdcard/busybox /system/xbin/busybox
chmod 755 /system/xbin/busybox
cd /system/xbin
./busybox --install
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Obviously you have to put a good busybox binary within /sdcard/
Sibere's Data2sd thread had one attached
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Droidzone said:
From recovery:
mount /system
mount /sdcard
cp /sdcard/busybox /system/xbin/busybox
chmod 755 /system/xbin/busybox
cd /system/xbin
./busybox --install
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
I'm sorry but I don't understand what ur trying to say
im really a new to the desire. I dont understand what cp, chmod 755, cd is
Droidzone said:
Obviously you have to put a good busybox binary within /sdcard/
Sibere's Data2sd thread had one attached
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
it's busybox.zip attached to this thread rite? http://forum.xda-developers.com/showthread.php?t=852219. If so Ive downloaded.
and I can't do nandroid backup please help me.
thanks for the respond btw I really appreciate it
You're a newbie...why didnt you say so at first?
Never mind, just flash this..
Well, did it work?
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Droidzone said:
You're a newbie...why didnt you say so at first?
Never mind, just flash this..
Click to expand...
Click to collapse
thank you so much! I'll try and report back later cos the phone is not currently in my hand
thank you!!
Droidzone said:
Well, did it work?
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
Umm... Sorry for the long reply n not being really active. I flashed succesfully but after i go to busybox installer it says that i dont have busybox installed. I think i may have done something wrong with rooting....
When i go to the recovery it says:
E: cant find misc
E: cant mount cache: recovery/ command
E: cant find misc
E: cant mount cache: recovery/ log
E: cant find misc
And when i want to do a nand backup it says
Error while dumping boot image!
E: cant mount cache: recovery/ log
E: cant find misc
What did i do wrong?
Troble Installing Could Do With Some Help Thanks .
* NEED HELP INSTALLING BUSYBOX *
I have joined this form as i have finally came to my wits with trying to get Busybox installed but i am getting nowhere with it. I found and old HTC desire 620 phone lying around and i thought i would use it as a project phone its running on Android Kitkat 4.4.4 i unblocked it first for any sim and its network is BT it use to be with O2 then i paid One Click Root to Root my phone (PROBS A STUPID THING TO DO AS THERE IS LOADS OF WAYS TO DO IT BUT I JUST WANTED IT DONE THERE AND THEN ) and i dont no much about the android system but would like to get familiar with it tho at somepoint. Once the phone was rooted my boot menu is with TWRP But i think i can change that to Clockwork or would it matter what one i have.
I have watched lots of vids and read a good few forms aswell but still cant get this app to install. If i download anymore apps to try helping me install this app i wont have any more room at all and this is the part is where you are probs going to see how stupid i am with android below are a list of apps i have downloaded to try help me :-
I paid for SuperSu Pro, Paid for Busybox Pro, ROM Installer, ROM Toolbox Lite, ROM Manager, Busybox on Rails, ES File Explorer, Mount /system RO/RW App, ASTRO, Hack App Data, SU Update Fixer, SU Root Tools, Total Commander, Terminal Emulator and i even downloaded Titanium Backup as someone said it could help with the install of Busybox but hasnt got me anywhere. I also have dsploit and Lucky Patcher both apps that i would like to work but both require Busybox to be installed.
Now i have downloaded a few Busybox apks and even the free vrsion from the app store Stephen (stericson) version and nothing happend then i paid to get the full version thinking it should work straight away as i have now paid for it but still wont install. This is my situation when i open up the app i am on the install page i select the box in the top right hand corner (Auto Update Busybox), the version is Busybox 1.26.2 and the install path to /system/xbin and when i hit the install button the message i get back says :- ( It looks like the installation of Busybox was not successful, try installing to a differant location, that may resolve the issue) the i hit the red X button and the app cuts of back to the home page. When i reopen the app i change the path to /system/bin the i get the same message and a split 2 seconds l8r my phone just cuts of then reboots only happens everytime i press the install button and the location selected is /system/bin. When i even tryed the other to paths :- /su/xbin and /su/bin at the bottom of my screen a quick message flashes up saying :- (Systemless root is not configured, please choose another install location)
I do apologize for this very long message but it would be appreciated if there is anything someone could do for me or point me in the right direction as every where else i have looked it has been unsuccessfull or its been far to confussing to even understand. I guess there would be most of use saying if i dont no what i am doing i shouldnt be playing around i do no that i could brick the phone or end up in a constant bootloop but as i said i found a spare phone that was still working and though i would give it a go and you can always learn along the way from help by others. If you need more info just message me and i will give u as much info u need but i hope with what i have said so far will give you a chance to see where i have went wrong as i have said its prob been something so basic that is right under my nose but i just havnt noticed it lol.
I hope there is something you can do for me and i hope to hear back soon thanks for your time if you even get to read this.
Kind Regards
Davie
davie6098 said:
* NEED HELP INSTALLING BUSYBOX *
I have joined this form as i have finally came to my wits with trying to get Busybox installed but i am getting nowhere with it. I found and old HTC desire 620 phone lying around and i thought i would use it as a project phone its running on Android Kitkat 4.4.4 i unblocked it first for any sim and its network is BT it use to be with O2 then i paid One Click Root to Root my phone (PROBS A STUPID THING TO DO AS THERE IS LOADS OF WAYS TO DO IT BUT I JUST WANTED IT DONE THERE AND THEN ) and i dont no much about the android system but would like to get familiar with it tho at somepoint. Once the phone was rooted my boot menu is with TWRP But i think i can change that to Clockwork or would it matter what one i have.
I have watched lots of vids and read a good few forms aswell but still cant get this app to install. If i download anymore apps to try helping me install this app i wont have any more room at all and this is the part is where you are probs going to see how stupid i am with android below are a list of apps i have downloaded to try help me :-
I paid for SuperSu Pro, Paid for Busybox Pro, ROM Installer, ROM Toolbox Lite, ROM Manager, Busybox on Rails, ES File Explorer, Mount /system RO/RW App, ASTRO, Hack App Data, SU Update Fixer, SU Root Tools, Total Commander, Terminal Emulator and i even downloaded Titanium Backup as someone said it could help with the install of Busybox but hasnt got me anywhere. I also have dsploit and Lucky Patcher both apps that i would like to work but both require Busybox to be installed.
Now i have downloaded a few Busybox apks and even the free vrsion from the app store Stephen (stericson) version and nothing happend then i paid to get the full version thinking it should work straight away as i have now paid for it but still wont install. This is my situation when i open up the app i am on the install page i select the box in the top right hand corner (Auto Update Busybox), the version is Busybox 1.26.2 and the install path to /system/xbin and when i hit the install button the message i get back says :- ( It looks like the installation of Busybox was not successful, try installing to a differant location, that may resolve the issue) the i hit the red X button and the app cuts of back to the home page. When i reopen the app i change the path to /system/bin the i get the same message and a split 2 seconds l8r my phone just cuts of then reboots only happens everytime i press the install button and the location selected is /system/bin. When i even tryed the other to paths :- /su/xbin and /su/bin at the bottom of my screen a quick message flashes up saying :- (Systemless root is not configured, please choose another install location)
I do apologize for this very long message but it would be appreciated if there is anything someone could do for me or point me in the right direction as every where else i have looked it has been unsuccessfull or its been far to confussing to even understand. I guess there would be most of use saying if i dont no what i am doing i shouldnt be playing around i do no that i could brick the phone or end up in a constant bootloop but as i said i found a spare phone that was still working and though i would give it a go and you can always learn along the way from help by others. If you need more info just message me and i will give u as much info u need but i hope with what i have said so far will give you a chance to see where i have went wrong as i have said its prob been something so basic that is right under my nose but i just havnt noticed it lol.
I hope there is something you can do for me and i hope to hear back soon thanks for your time if you even get to read this.
Kind Regards
Davie
Click to expand...
Click to collapse
First of all, the topic chosen for Desire Bravo A8181, which means that you have chosen badly.
If you want to be sure to busybox from the root, then first check that you have the root with a root checker.
For busybox you do not need to have root, however.
Check the Install BusyBox (No Root).
It works for me. I have Android 4.3 on Samsung.
i want to install some market .apk apps on my pc
this is IMPOSSIBLE.
The apps might have a special version that is available for pc
Its possible via BlueStacks App Player ...check out
www.bluestacks.com.
[email protected] said:
this is IMPOSSIBLE.
The apps might have a special version that is available for pc
Click to expand...
Click to collapse
nope...you could use youwave (an android emulator on PC) or use emulator from android-sdk to run the application. to install it on your emulator you may use command "adb install <package name>". you may also install an *apk files to your SGY from any pc by using same command. but make sure you've installed SGY's driver and adb program.
I've tried emulators before but they ran too slowly for me and honestly just too complicated to setup. Tried BlueStacks just now and it's working fine. I can't seem to sync my games though. I took screenshots of it running the xda app.
Larger screenshot:
http://i43.tinypic.com/11ch1zb.png
AOSP JELLY BEAN 4.1.2_r1 straight from Google sources
This ROM is completely up-to-date w/ the 4AI1.7 kernel and latest ducati from TI
Download 4.1.2_r1 ROM here [10-10]
md5sum: d300fbbd65f3037f54519f7c3c2bc4a5
PLUS YOU WILL NEED TO FLASH GAPPS AFTER
Jelly Bean Gapps here
Data wipe might be required as this is 4.1.2_r1. If in doubt, wipe and use Titanium Backup to restore apps.
Make sure to WIPE Dalvik Cache.
BUILDING THIS ROM
I've updated GitHub with the local_manifest and patches for creating this rom from AOSP sources:
https://github.com/KFire-Android/android_local_manifest/tree/jb-aosp
Each patch should be applied via: git apply <patch name> in the respective project where it belongs.
Enjoy
FIXED AS OF 10/10:
[ Will fill in as bugs pop-up ]
Awesome Hash, you are the man. I don't suppose terminal emulator would work in place of ADB would it, I don't have a pc on hand.
First!
Thanks Hash ! This is were dual-boot takes its interest .
EDIT: Not the first .
neilrl79 said:
Awesome Hash, you are the man. I don't suppose terminal emulator would work in place of ADB would it, I don't have a pc on hand.
Click to expand...
Click to collapse
Seems possible except you need wifi to download terminal emulator from the play store unless you have the apk for terminal emulator saved on your kindle fire already.
Anyways thanks hashcode, I'm really looking forward to flashing this in the morning!
neilrl79 said:
Awesome Hash, you are the man. I don't suppose terminal emulator would work in place of ADB would it, I don't have a pc on hand.
Click to expand...
Click to collapse
I'm using "su" binary from AOSP.. which doesn't seem to want to work with Superuser from the market. Oddly, that puts many people who can't seem to get adb to work in a bind. Hrm. Probably the best way to fix it would be to use a "su" binary from another build and load it up in recovery by mounting system (use the recovery gui to do that), then:
adb push su /system/bin
adb shell
cd /system/bin
chmod 6755 su
chown root.root su
exit
Of course you can always wait and just play with it a bit, an I'll have all of this worked out for the next build w/ working HD codecs.
It's late and I need some sleep
Thank you hashcode and if anybody tells you how to fix the UMS bug can you say it to me i also have a bug with the nexus sense 4 rom i also need to enable it
Using terminal emulator I'm getting
"uid 10039 not allowed to su"
"1|[email protected]:/"
I can use ADB, but wondering if there's a quick way without hooking it up. (Ive got root explorer, another binary I can use, yada...)
Sent from my SPH-D710 using Tapatalk 2
Edit:
Nvmind: Adb fixed in 2 seconds.
Awesome work.
Any chance we could have TabletUI insted of PhoneUI?
Thanks. U are the best dev ever
Sent from my LG-P500 using xda premium
BTW GApps don't work well, at least I don't have any setup at first boot and Play Store crashes.
And my ADB is a mess, Windows keeps thinking the device is in a pluged in/unpluged loop... On Ubuntu it works . And I have no USB storage notification when my device is connected .
EDIT: And pictures are rotated in multitasking panel .
Did y'all notice that the superuser binary is in system/xbin and not system/bin in the ROM?
I guess that's why my root explorer isnt working, because the command for it looking in the superuser app IS sys/bin.
So, you'll have to use adb to move it.
(You don't have to grab one from another build, in other words.)
Pull it from system/xbin and push to system/bin.
Sent from my Amazon Kindle Fire using Tapatalk 2
yourbrotherrex said:
Did y'all notice that the superuser binary is in system/xbin and not system/bin in the ROM?
I guess that's why my root explorer isnt working, because the command for it looking in the superuser app IS sys/bin.
So, you'll have to use adb to move it.
(You don't have to grab one from another build, in other words.)
Pull it from system/xbin and push to system/bin.
Sent from my Amazon Kindle Fire using Tapatalk 2
Click to expand...
Click to collapse
what i have done
1) flash base rom
2) flash gapps 29/4
3) flash superuser the latest from this website
http://androidsu.com/superuser/
and i have just a smooth rom
how to root 4.1?
go to http://androidsu.com/superuser/ and flash the newest arm zip as QuBe2 said
Is the interface the tablet interface or phone interface? Because i have installed and it seens a big phone
That's the default UI for tablets since the Nexus 7 uses it, but it can be switched to TabletUI.
nice for a beta it is pretty quick and I used the adb trick and I got wifi
Cant get adb to work, only get no device on adb
vbdss I can help maybe
what OS are you using
Hi!
I am developing apps in Python/Kivy and testing them on my Moto G5. 6 months ago it worked fine. Now when I try to install Python/Kivy apps that worked 6 months ago or apps that others can install on THEIR devices, my Moto G5 with Android 8.1.0 says "app not installed". I have looked at many settings in the phone without finding a solution. Could installing a custom ROM, like ArrowOS, lineageOS or Pixel Experience be the solution to the problem?
I look forward to any input. Thank you!
Hero002 said:
Hi!
I am developing apps in Python/Kivy and testing them on my Moto G5. 6 months ago it worked fine. Now when I try to install Python/Kivy apps that worked 6 months ago or apps that others can install on THEIR devices, my Moto G5 with Android 8.1.0 says "app not installed". I have looked at many settings in the phone without finding a solution. Could installing a custom ROM, like ArrowOS, lineageOS or Pixel Experience be the solution to the problem?
I look forward to any input. Thank you!
Click to expand...
Click to collapse
You will get app not installed message for the following reason
There's not enough space on the device to install it
There's an app with the same package name already installed and the app you're trying to install with the same package name is signed with a different key
The apk is not signed
The apk is signed but with a platform key so it can only be installed to system and not to a user
The app only has 64bit libs and you are trying to install on a 32bit system
If it's an android version issue eg you need a higher version of android to install on you will get unable to parse the package so assuming your app is designed to install on 32bit Roms it will install on stock rom
If it's only designed for 64bit roms you will need a custom rom for this device
TheFixItMan said:
You will get app not installed message for the following reason
There's not enough space on the device to install it
There's an app with the same package name already installed and the app you're trying to install with the same package name is signed with a different key
The apk is not signed
The apk is signed but with a platform key so it can only be installed to system and not to a user
The app only has 64bit libs and you are trying to install on a 32bit system
If it's an android version issue eg you need a higher version of android to install on you will get unable to parse the package so assuming you app is designed to install on 32bit Roms it will install on stock rom
If it's only designed for 64bit roms you will need a custom rom for this device
Click to expand...
Click to collapse
Are we misunderstanding each other?
I am talking about test APKs that are not signed. Transferred via USB. And which could be installed 6 months ago. I HAVE uninstalled it before trying to reinstall it.
Hero002 said:
Are we misunderstanding each other?
I am talking about test APKs that are not signed. Transferred via USB. And which could be installed 6 months ago. I HAVE uninstalled it before trying to reinstall it.
Click to expand...
Click to collapse
He just listed all possible reasons for that message. You btw get an more informative error message if you use adb install, so use it and post the error here.
Hero002 said:
Are we misunderstanding each other?
I am talking about test APKs that are not signed. Transferred via USB. And which could be installed 6 months ago. I HAVE uninstalled it before trying to reinstall it.
Click to expand...
Click to collapse
Apks must be signed - if they are not signed even with just a test key they will not install
The only exception to this is if you are rooted and have changed your rom to disable signature checking
Just quickly sign the apk with a test key using this app
https://play.google.com/store/apps/details?id=com.haibison.apksigner
nift4 said:
He just listed all possible reasons for that message. You btw get an more informative error message if you use adb install, so use it and post the error here.
Click to expand...
Click to collapse
Thank you for your reply!
Someone in the Kivy forum also asked me to do that, but there isn't really any error message - see output from Ubuntu Terminal below.
The Moto G5 is connected to the PC with USB. USB file transfer is enabled, and USB debugging.
Now I have done it again with 4 APK-files:
1. A 'release' version of my app, which worked without problems 6 months ago.
2. A new 'debug' version of same app.
3. A 'Hello world' Kivy test APK file that worked for the Kivy guy who compiled it.
4. My compilation of the same Kivy test app.
As you can see, none of them work on my Moto G5 with Android 8.1.0 (the February 2019 update). I pressed <enter> twice then Ctrl-C each time:
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/2d-graphics/touchtracer/bin/GeoESPtrainingTEST__arm64-v8a-0.1-arm64-v8a-release.apk"
* daemon not running; starting now at tcp:5037
* daemon started successfully
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/2d-graphics/touchtracer/bin/GeoESPtrainingTEST__arm64-v8a-0.1-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/PyCharm-Python-Kivy-Buildozer-problemer/Android-not-installing-anything/hello/bin/HWtest-0.1-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/PyCharm-Python-Kivy-Buildozer-problemer/Android-not-installing-anything/hello/bin/HWtest__arm64-v8a-0.2-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$
TheFixItMan said:
Apks must be signed - if they are not signed even with just a test key they will not install
The only exception to this is if you are rooted and have changed your rom to disable signature checking
Just quickly sign the apk with a test key using this app
https://play.google.com/store/apps/details?id=com.haibison.apksigner
Click to expand...
Click to collapse
Thank you for your reply.
I installed that 'apk-signer' app on my Moto G5, but when I try to sign the 'HWtest__arm64-v8a-0.2-arm64-v8a-debug.apk' file (selecting that file through 'File Manager +', I get the message 'apk-signer has stopped'. When I try one of the other APK-files, I get the message 'apk-signer keeps stopping' (my translation from Danish).
If I try selecting the file through the build in 'FIles' app, I can't seem to select an APK-file. When I try, 'Files' thinks I want to edit the file name...?!
Hero002 said:
Thank you for your reply!
Someone in the Kivy forum also asked me to do that, but there isn't really any error message - see output from Ubuntu Terminal below.
The Moto G5 is connected to the PC with USB. USB file transfer is enabled, and USB debugging.
Now I have done it again with 4 APK-files:
1. A 'release' version of my app, which worked without problems 6 months ago.
2. A new 'debug' version of same app.
3. A 'Hello world' Kivy test APK file that worked for the Kivy guy who compiled it.
4. My compilation of the same Kivy test app.
As you can see, none of them work on my Moto G5 with Android 8.1.0 (the February 2019 update). I pressed <enter> twice then Ctrl-C each time:
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/2d-graphics/touchtracer/bin/GeoESPtrainingTEST__arm64-v8a-0.1-arm64-v8a-release.apk"
* daemon not running; starting now at tcp:5037
* daemon started successfully
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/2d-graphics/touchtracer/bin/GeoESPtrainingTEST__arm64-v8a-0.1-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/PyCharm-Python-Kivy-Buildozer-problemer/Android-not-installing-anything/hello/bin/HWtest-0.1-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$ /home/henrik/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/mnt/4AF15A0435E762B4/DataDoc/OneDrive/PycharmProjects/PyCharm-Python-Kivy-Buildozer-problemer/Android-not-installing-anything/hello/bin/HWtest__arm64-v8a-0.2-arm64-v8a-debug.apk"
Performing Streamed Install
^C
[email protected]:~$
Click to expand...
Click to collapse
Oh, that's strange... Try
Code:
adb push /path/to/my/apk /sdcard/app.apk; adb shell pm install /sdcard/app.apk
nift4 said:
Oh, that's strange... Try
Code:
adb push /path/to/my/apk /sdcard/app.apk; adb shell pm install /sdcard/app.apk
Click to expand...
Click to collapse
Just to be sure: Is that 2 commands? And could it look like this in my case:
adb push /mnt/4AF15A0435E762B4/DataDoc/bin/HWtest-0.1-arm64-v8a-debug.apk /sdcard/HWtest-0.1-arm64-v8a-debug.apk
adb shell pm install /sdcard/HWtest-0.1-arm64-v8a-debug.apk
Hero002 said:
Just to be sure: Is that 2 commands? And could it look like this in my case:
adb push /mnt/4AF15A0435E762B4/DataDoc/bin/HWtest-0.1-arm64-v8a-debug.apk /sdcard/HWtest-0.1-arm64-v8a-debug.apk
adb shell pm install /sdcard/HWtest-0.1-arm64-v8a-debug.apk
Click to expand...
Click to collapse
To make things easier
Copy the apk to your computer to a folder with a short filename and no spaces in the path
Make sure you adb is in your environmental veriables so it can be run from any path
Open a terminal window in the location where your apk is
Type
Code:
adb install nameofapp.apk
Also upload the app here or you can send me a private a message with a link if you don't want it to be public and I'll see if I can install it - I don't have this device anymore but if it installs on mine I don't see why it wouldn't on a moto g5
Also I've noted on your app name it's arm64-v8
This device stock rom is 32bit so unless your app supports 32bit roms it will not install as mentioned in my first reply to you
In this case you will need to use a custom rom that support 64bit architecture or make the app support 32bit architecture armv7
TheFixItMan said:
To make things easier
Copy the apk to your computer to a folder with a short filename and no spaces in the path
Make sure you adb is in your environmental veriables so it can be run from any path
Open a terminal window in the location where your apk is
Type
Code:
adb install nameofapp.apk
Also upload the app here or you can send me a private a message with a link if you don't want it to be public and I'll see if I can install it - I don't have this device anymore but if it installs on mine I don't see why it wouldn't on a moto g5
Also I've noted on your app name it's arm64-v8
This device stock rom is 32bit so unless your app supports 32bit roms it will not install as mentioned in my first reply to you
In this case you will need to use a custom rom that support 64bit architecture or make the app support 32bit architecture armv7
Click to expand...
Click to collapse
Thank you for your reply!
Connecting Moto G5 to my Ubuntu laptop again, I get the same result again. After a while, I pressed <enter> twice, then Ctrl-C. Here is the Terminal output:
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$ adb install HWtest-0.1-arm64-v8a-debug.apk
Performing Streamed Install
^C
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$
This particular file is a 'Hello world'-test that I could upload here, but there doesn't seem to be a way of uploading files here?
Should I put it on an Internet URL instead?
ADDITION:
I have put the file here:
http://transformation.dk/deling/HWtest-0.1-arm64-v8a-debug.apk
Hero002 said:
Thank you for your reply!
Connecting Moto G5 to my Ubuntu laptop again, I get the same result again. After a while, I pressed <enter> twice, then Ctrl-C. Here is the Terminal output:
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$ adb install HWtest-0.1-arm64-v8a-debug.apk
Performing Streamed Install
^C
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$
This particular file is a 'Hello world'-test that I could upload here, but there doesn't seem to be a way of uploading files here?
Should I put it on an Internet URL instead?
ADDITION:
I have put the file here:
http://transformation.dk/deling/HWtest-0.1-arm64-v8a-debug.apk
Click to expand...
Click to collapse
Your app installs and runs fine
The reason it won't install on stock rom on this device is because your lib files are for a 64bit devices
Stock rom on this device is 32bit and you have not included any 32bit lib alternatives armv7
If you want to install the app on this device you have two choices
1 - build the app to also include support for 32bit devices
2 - Install a custom 64bit rom on the Moto G5
TheFixItMan said:
Your app installs and runs fine
The reason it won't install on stock rom on this device is because your lib files are for a 64bit devices
Stock rom on this device is 32bit and you have not included any 32bit lib alternatives armv7
If you want to install the app on this device you have two choices
1 - build the app to also include support for 32bit devices
2 - Install a custom 64bit rom on the Moto G5
Click to expand...
Click to collapse
Great. Thank you!
I found an APK I compiled in March:
GeoESPtrainingTEST__armeabi-v7a-0.1-armeabi-v7a-release.apk
And yes - something happens - in Terminal:
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$ adb install GeoESPtrainingTEST__armeabi-v7a-0.1-armeabi-v7a-release.apk
Performing Streamed Install
Success
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$
But nothing happens on the Moto G5...!
Then I copied that APK file to Moto G5, and in 'File Manager +' I tapped on it to install it, and the installer said: "Do you want to install an update to the existing app?" I said 'yes', it installed successfully, and it worked as expected.
That seems strange... at least to me!
Hero002 said:
Great. Thank you!
I found an APK I compiled in March:
GeoESPtrainingTEST__armeabi-v7a-0.1-armeabi-v7a-release.apk
And yes - something happens - in Terminal:
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$ adb install GeoESPtrainingTEST__armeabi-v7a-0.1-armeabi-v7a-release.apk
Performing Streamed Install
Success
[email protected]:/mnt/4AF15A0435E762B4/DataDoc/bin$
But nothing happens on the Moto G5...!
Then I copied that APK file to Moto G5, and in 'File Manager +' I tapped on it to install it, and the installer said: "Do you want to install an update to the existing app?" I said 'yes', it installed successfully, and it worked as expected.
That seems strange... at least to me!
Click to expand...
Click to collapse
You may have had part of the apk still installed - it may have copied the apk of the 64bit version to data but failed to complete the install due to the 64bit libs and left some parts
You can do
Code:
adb shell
cd /data/app (or where ever the apk is located)
rm com.packagenameofapp.apk
And this will remove the apk but since you got it working via updating directly on the phone there's not really any need
TheFixItMan said:
To make things easier
Copy the apk to your computer to a folder with a short filename and no spaces in the path
Make sure you adb is in your environmental veriables so it can be run from any path
Open a terminal window in the location where your apk is
Type
Also upload the app here or you can send me a private a message with a link if you don't want it to be public and I'll see if I can install it - I don't have this device anymore but if it installs on mine I don't see why it wouldn't on a moto g5
Also I've noted on your app name it's arm64-v8
This device stock rom is 32bit so unless your app supports 32bit roms it will not install as mentioned in my first reply to you
In this case you will need to use a custom rom that support 64bit architecture or make the app support 32bit architecture armv7
Click to expand...
Click to collapse
He tried adb install and it didn't work!
nift4 said:
He tried adb install and it didn't work!
Click to expand...
Click to collapse
I said that because his terminal commands were messy - was just to eliminate any issues with long commands
Plus issue is solved - his app only had 64bit libs so won't install on stock rom on this device which is 32bit
TheFixItMan said:
I said that because his terminal commands were messy - was just to eliminate any issues with long commands
Plus issue is solved - his app only had 64bit libs so won't install on stock rom on this device which is 32bit
Click to expand...
Click to collapse
Sorry, I just read your quote, not the whole thread
TheFixItMan said:
You may have had part of the apk still installed - it may have copied the apk of the 64bit version to data but failed to complete the install due to the 64bit libs and left some parts
You can do
Code:
adb shell
cd /data/app (or where ever the apk is located)
rm com.packagenameofapp.apk
And this will remove the apk but since you got it working via updating directly on the phone there's not really any need
Click to expand...
Click to collapse
Yes - it works!
I tried compiling a 32bit version of the Python/Kivy 'hello world' test app by putting this line:
android.arch = armeabi-v7a
in the 'buildozer.spec' file.
(EDIT: Instead of this line:
android.arch = arm64-v8a)
In Terminal, while in the test app project folder, I ran:
$ buildozer android debug
$ buildozer android debug deploy run
And the app opened on the Moto G5!
Thank you VERY much!!!
(EDIT:
Now I tried compiling my 'real' app to 32bit using 'android.arch = armeabi-v7a', and that worked too!)
Thank you!
Hero002 said:
Yes - it works!
I tried compiling a 32bit version of the Python/Kivy 'hello world' test app by putting this line:
android.arch = armeabi-v7a
in the 'buildozer.spec' file.
(EDIT: Instead of this line:
android.arch = arm64-v8a)
In Terminal, while in the test app project folder, I ran:
$ buildozer android debug
$ buildozer android debug deploy run
And the app opened on the Moto G5!
Thank you VERY much!!!
(EDIT:
Now I tried compiling my 'real' app to 32bit using 'android.arch = armeabi-v7a', and that worked too!)
Thank you!
Click to expand...
Click to collapse
Am I kind of demanding?
I mean - it would have been VERY nice if either ADB (Android Debug Bridge) or the Package Installation App on my Moto G5 phone had given some kind of error message like for instance:
"ERROR: 64bit code found. Only 32bit code allowed."
That would have saved me a huge amount of time!
Hero002 said:
Am I kind of demanding?
I mean - it would have been VERY nice if either ADB (Android Debug Bridge) or the Package Installation App on my Moto G5 phone had given some kind of error message like for instance:
"ERROR: 64bit code found. Only 32bit code allowed."
That would have saved me a huge amount of time!
Click to expand...
Click to collapse
Would be nice but unfortunately error messages are never really that clear unless you know what's wrong
My favourite being unexpected or unknown error found - very helpful