[SOLVED]How to share files between Kali Nethunter and Android? - Android Q&A, Help & Troubleshooting

I want to share some files between Android and Kali Nethunter. Please tell me how to do it.

Well, I finally found a way to do it. I had overlooked that I can do it using any Root Explorer app.
The kali chroot is installed in the following directory on your device:
Code:
/data/local/nhsystem/kali-armhf
In the above directory, you will find the whole chroot filesystem.
If you want to place a file in any folder, you just have to navigate to the directory stated above and paste or, copy the file or folder and move it to the destination you want.
HIT THANKS IF FOUND USEFUL

Related

[Q] Way to list apks in a folder

I know there has to be a way, I just can not find it.
What I want to do is with the terminal find a way to create a list of only the .apk files in a folder, would also be nice to know how to list other different file extensions.
My goal is to create a text file with a list of all the apks in my /system/app folder, and other folders as needed.
Thanks
Don't know if this works on Android, but in a standard Linux shell you can cd to the directory (which would be /system/app in your case) and then type ls > file.txt (file can be named anything).

[Q] How to copy rsync binary to Android PATH.

Experienced Linux user, Android noob.
I'd like to be able to use rsync to transfer files from my Linux desktop to my Sony Xperia Tablet Z and initiate the transfers from my Linux desktop.
A blog explained how to do it by first installing an SSH app, which I have done. It works fine, I can now SSH from my Linux desktop to the tablet.
Now I need to copy the rsync binary to the tablet and to make sure it's in the PATH and has "755" permissions set. Over SSH I was able to see what my PATH is, but I can't copy the rsync binary to anywhere in the PATH as I run into permission denied problems.
How do I copy the rsync binary to within my PATH and set 755 permissions? I really do not want to ROOT my device.
Thanks all.
PS. I don't want to use "rsync backup for Android" as the rsync commands can only be run from the Android device.

[DEV HELP] make an apk execute a shell command when opening

Hey, i have recently been working on my own theming system, im not that good with .apk files yet, i know XML and am learning smali, but i am clueless with building..
so basically this is how my theming system works, i have a directory called /system/etc/SPRtools containing an ORS(openrecoveryscript) and a flashable .zip file called theme.zip, at the moment to start the theming system i have made a bin file that executes the following
#!/system/bin/sh
cp /system/etc/ORS /cache/recovery/openrecoveryscript
cp /system/etc/theme.zip /sdcard/
reboot recovery
now how would i go about making a .apk file that you click on and does this?
or even give me a hand on integrating it in SecSettings.apk??
oh and i also have an init.d script that deletes the copied theme.zip for the sdcard!
thanks guys!!

[HELP] Request sk17 sys file

Hello:
Ok here is the deal i flash a wrong ROM in my sk17 and now the touch screen is bricked.
i was reading this http://forum.xda-developers.com/showthread.php?t=2020766 and this http://forum.xda-developers.com/showthread.php?t=2657310
so i try this command in adb shell to check which firmware is there
Code:
cat /sys/devices/platform/spi_qsd.0/spi0.0/appid
And what a really weird surprise...
Code:
cat: can't open '/sys/devices/platform/spi_qsd.0/spi0.0/appid': No such file or
directory
i double check in ES File Explorer and no appid file or folder neither.
So now i kindly request to any user with a xperia mini pro (sk17) with ICS 4.0 if they can check via adb shell or root explorer is it an "appid" file or folder in /sys/devices/platform/spi_qsd.0/spi0.0 folder or anywhere else.
If is there. can you upload it here? or is there a way to create that file?
i hope this get a response
/sys is a virtual file system in linux .
It provides information about devices and device drivers.
You can't add any file to /sys.

Simple folder copy script

I'm looking for a script that I can lauch from my media box to copy a folder from a and paste it to b. Is there anything like that about?

Categories

Resources