Hello,
I try to install an aptoide server on archlinux. When I execute the generate.ph, i get the following error: "sh: ./aapt: No such file or directory".
The aapt file can be executed and is in the same directory as the generate.ph script. I follow the instructions of the aptoide's website and download the aapt file from there.
How can I solve this problem ?
try to copy
this aapt file in the same directory of .generate.ph
Related
I didn't write this hack, but it appears to work with the new stock GB update.
I did edit the script and zip archive so it wouldn't need any external exe's or libs to apply. Just copy the newest framework.jar file to the script directory and run the HackHotspot.bat file. Then simply run these ADB commands from a dos window.
------
adb shell
mount /system
exit
adb push framework.jar /system/framework.jar
-------
clear Dalvik and fix permissions if desired
Reboot Phone
Done!
Much appreciated but way over my head (I've never done anything with ADB). Any chance of getting this, and the USB debugging notification fix, in a flashable form?
The debug fix is the one that doesn't display the statusbar icon when connected?
I'll see what I can do for ya
townsenk said:
Just copy the newest framework.jar file to the script directory and run the HackHotspot.bat file.
Click to expand...
Click to collapse
Awesome script. Thanks.
will this work for the revolutionary?
CAn i do this on a MAC?....
Can n e one verify that this works?
im getting errors in the script:
Code:
Extracting framework.jar
7-Zip 4.65 Copyright (c) 1999-2009 Igor Pavlov 2009-02-03
Processing archive: framework.jar
Extracting META-INF
Extracting META-INF\MANIFEST.MF
Extracting preloaded-classes
Everything is Ok
Folders: 1
Files: 2
Size: 65651
Compressed: 12413
Unpacking classes.dex
Can't find the file classes.dex
Putting HotspotHack into place
The system cannot find the path specified.
The system cannot find the path specified.
0 file(s) copied.
Repacking classes.dex
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:173)
Could Not Find C:\AddHotspotHack\classes.dex
The system cannot find the file specified.
Updating framework.jar
1 file(s) copied.
classes.dex : no such file or directory
Cleaning up...
Could Not Find C:\AddHotspotHack\classes.dex
The system cannot find the file specified.
Done if no errors listed above!
C:\AddHotspotHack>
and shouldnt it be
adb push framework.jar /system/framework/framework.jar
i did super cid using supercid.sh file in mac to my HTC one XL/at&t
and i got this error
please help me..
mkdir: tmp: File exists
./supercid.sh: line 43: ./adb: cannot execute binary file
./supercid.sh: line 44: ./adb: cannot execute binary file
Copying your misc partition to your sdcard partition...
./supercid.sh: line 47: ./adb: cannot execute binary file
Making a backup copy of the file, just in case...
./supercid.sh: line 50: ./adb: cannot execute binary file
Copying the file to your computer so we can work with it...
./supercid.sh: line 53: ./adb: cannot execute binary file
Making a backup copy here too...
cp: tmp/mmcblk0p4: No such file or directory
Converting the image file to text...
xxd: tmp/mmcblk0p4: No such file or directory
Checking to see what your CID is now...
grep: tmp/mmcblk0p4.txt: No such file or directory
grep: tmp/mmcblk0p4.txt: No such file or directory
grep: tmp/mmcblk0p4.txt: No such file or directory
We don't recognize your current CID.
You need to provide more information. What are your bootloader details? Are you perm rooted? What tutorial were you following? What commands came before the text you have posted here? What do you mean by you've lost the file?
PS. You've posted this in the General Section, I'll ask for it to be moved to the Q&A Section for you.
Sent from my Evita
Can't install a modified app using ADB "A problem occured during package analyze"
Hello,
I have modify an app (actually a simple .txt file) and I package it again.
Then I move the base.apk in the original folder in /data/app/app_folder and when I hit base.apk, an error message appears :
"A problem occured during package analyze"
Have you got any idea where I am wrong ?
Thanks
probably corrupted signature - Did you re-sign it?
DSA said:
probably corrupted signature - Did you re-sign it?
Click to expand...
Click to collapse
In the installation folder there was : "lib" folder, "oat" foolder and the base.apk
I only modified the base.apk using an extractor like 7-zip and pack it again after in .apk
How do I sign it again ?
Error log:
"C:\Program Files (x86)\Minimal ADB and Fastboot>adb install D:\app\com.toyquest.Cayla.fr-1\base.apk
Failed to install D:\app\com.toyquest.Cayla.fr-1\base.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1492354494.tmp/base.apk: AndroidManifest.xml]"
I sign it using :
keytool -genkey -v -keystore my-release-key.keystore -alias CAYLA -keyalg RSA -keysize 2048 -validity 10000
sudo jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore base.apk CAYLA
sudo jarsigner -verify -verbose -certs base.apk
Right method ?
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
Retry
i cant install , if i do push abb can i ?
The error reported has NOTHING to do with APK's signature:
Error log:
"C:\Program Files (x86)\Minimal ADB and Fastboot>adb install D:\app\com.toyquest.Cayla.fr-1\base.apk
Failed to install D:\app\com.toyquest.Cayla.fr-1\base.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1492354494.tmp/base.apk: AndroidManifest.xml]"
Click to expand...
Click to collapse
APK's AndroidManifest.xml is the culprit! Wondering why you don't carefully read error messages?
it's just that you removed or modify some line in xml file which is causing problem. just search for it alternatively if you want to change image file you can swamp it with another file with same name. hope it helped
I'm trying to create rsync to my andorid / TWRP So i can backup android folder
My code for compile:
Code:
Downloaded from (https://github.com/WayneD/rsync/releases)
./configure --host=arm-linux-gnueabi CFLAGS="-static" --disable-xxhash --disable-zstd
make
make prefix=/home/fredy/Desktop/rsync install
i copy the file ("rsync", "rsync-ssl") into /sbin
But i got this error here and testet with command "rsync":
Code:
/sbin/rsync: line 1: syntax error: unexpected "("
Can you help me out?
Thanks for your time
Hello, im trying to compile SM-T970 kernel but it returns error i searched through internet but i cant find any solution. Everything starts with "make: secgetspf: No such file or directory" error.
I think there is missing package. I found this https://github.com/b1ad3runn3r/drag-kernel-t975/issues/1#issuecomment-952635840 on github and I installed the packages that mentioned in issue.
but the error contiunes.
this is the output when i run "make clean"
make: secgetspf: No such file or directory
kperfmon_DUMMY="CONFIG_KPERFMON is off."
kperfmon_DUMMY="perflog.h file is missing."
cp: cannot stat './../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
drivers/net/wireless/broadcom/Makefile:13: CONFIG_BCM4389 =
drivers/net/wireless/broadcom/Makefile:14: CONFIG_BCM4375 =
make[4]: secgetspf: No such file or directory
drivers/sensors/vl53l5/Makefile:100: LOG_ENABLE=TRUE
drivers/sensors/vl53l5/Makefile:132: BUILD_TYPE=RELEASE
drivers/sensors/vl53l5/Makefile:183: LOG_ENABLE=TRUE
security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
CLEAN security/samsung/defex_lsm
Target not found