Php servers not working in mi4i - Xiaomi Mi 4i

have an mi4i 16gb model. i installed androphp and also ksweb server trial for my php application. its running in my moto g 2nd gen. But in this phone it gives error no input file specified. After searching for long time i found that there is no permission to execute php commands on internal storage. so is there any way to give execute permission. I have rooted my phone.
Mysql server access is working, phpmyadmin is working.

Does anybody try or have an answer. I need it to run my php application on local server.
Thanks

Related

ADB USB Driver

the USB driver for windows is available at:
http://dl.google.com/android/android_usb_windows.zip
It seems to work... I will update this thread with what I find.
Thanks for posting the driver!
I've tried a few things with adb, and so far I can't get an install to work over usb. I tried the following command.
C:\...\android-sdk-windows-1.0_r1\tools>adb install OperaMini.apk
579 KB/s (0 bytes in 278155.000s)
pkg: /data/local/tmp/OperaMini.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
Click to expand...
Click to collapse
http://www.android-freeware.org/tutorial/how-to-install-apk-files-on-android-device-emulator Had some basic info about the emulator, not sure what would be different for the G1.
The "adb shell" option allows you to access a shell on the phone over USB, which is really great but it appears you don't have root privileges. Any ideas on how to obtain root priveleges? Also, is there a command to install from the android shell? When i cd to /sbin i get access denied. I'm trying to figure out some kind of way to invoke an install either from the device or over USB.
I have the same problem... working on it now...
I don't know about the USB installs, but it seems to be something with the APK as well. I also have the OperaMini.apk and it does nothing. I downloaded the iTunes remote via the G1 and it installed just fine without getting a PC involved.
It looks like you have to put the phone into a "Debug on USB" mode to use ADB. It's working for me now.
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on
Thank you dagentooboy!
Can someone explain this for this not so savvy person?
chrimage said:
So you were able to install the opera mini apk through adb with no trouble? I got the error listed above and did have debug mode on
Click to expand...
Click to collapse
I think that is caused by an issue with the the AndroidManifest.xml file within the APK having to do with going from "beta" to "live" Android. The same reason most of the apps were pulled from the store. I don't believe it takes a major change to make it compatible, but it's fully compiled so, unless you have a decompiler, I think we may be out of luck on that particular one. I have installed other apk's successfully using the same method.
Mikey1022 said:
Can someone explain this for this not so savvy person?
Click to expand...
Click to collapse
ADB is the Android Debug Bridge that comes as a part of the SKD. I don't think it was really intended as an end user tool. It has to be called from a command line. I know people have built basic UI's for it for file manipulation when the SDK was the only thing out there. If a better solution isn't found shortly I think we'll see one be made, or else I'll make one myself. In the end it seem to make a big difference of what you're trying to install some things work and some don't, there are some differences between the beta SDK and the G1.
For any developers out there, you can also access the ADB/DDMS feature through the Eclipse IDE, it provides a somewhat simpler graphic interface and is a really easy way to get screenshots. Has anyone tried just typing su through the ADB command prompt to see if it will switch you to # ?
Valicore said:
For any developers out there, you can also access the ADB/DDMS feature through the Eclipse IDE, it provides a somewhat simpler graphic interface and is a really easy way to get screenshots. Has anyone tried just typing su through the ADB command prompt to see if it will switch you to # ?
Click to expand...
Click to collapse
the su command and sudo su returns "no permission" or "access denied" or something like that. That is also the same message i get when typing arbitrary commands that shouldn't be anything. And like i said earlier, /sbin along with many other directories are inaccessible. Hopefully someone will find a way to access the root account on the G1 pretty soon.
yes... must... have.... root...
Also a normal shell would be helpful esp when looking thru /proc/ for information.
Please help (ahhhhhh)
Okay So I am pulling my hair out here... I just booted android on my Vogue for the first time, everything works great, voice calls and sms.. But I can get a Inet connection but I am using Cricket not sprint so I added the username and password lines in default.txt and can connect, but Cricket uses a proxy for all http connections. So I found this article http://fggarcia.blogspot.com/2007/11/setting-up-proxy-for-android-emulator.html , which basicly says to use the adp app that comes in the sdk to add some lines to make the proxy. NOW, here is my problem... I can not for the life of me get my come (in windows or linux) to see my vogue while its in android..
In windows it does not appear ANYWHERE in the device manager... So I cannot install the driver, and in Linux it doesnt make a blip in dmesg..... USB debugging is marked and so is use adb....
It does charge when plugged in to the comp running linux.....
Can anyone please help me... And thanks to DZO and everyone else for there hard work on this project..
check too make sure your Android isnt listed under usb mass storage devices in device manager.
Ya USB isn't possible on Vogue yet, I just extracted data.img and added the proxy that way, but it still doesn't work. My Problem is I need all connection to use the proxy wap.mycricket.com:8080. I am not trying to be cheap or anything like the tzones thing for tmobile. Its just the only data plan cricket have use this proxy. So any Ideas would be greatly appreciated.
my computer already had a driver installed and when i try to update it with this one it says there is no better match for my hardware
anyone got a solution for this
Im really sorry to bump this old thread up but i need the r3 drivers and i dont know why they are nowhere to be found on the official page... i think its a region lock thing...

[Q] Tiamat Manta Ray and OpenVPN

Having installed Tiamat 2.0.1 Manta Ray, I would like to be able to access OpenVPN. The list of Tiamat features indicates OpenVPN support, but I haven't found how this can be done.
Could someone help with this?
Thank you
Gordon
I never received any replies to my initial post regarding using OpenVPN, so I'd like to try again. If Manta Ray (no, I am not using Hammerhead yet) has built in support for OpenVPN, what do I need to do? Is it just a matter of creating and installing conf and certificate files. If so, where should they be placed?
Anyone had any experience of this?
Thank you
Gordon1M
http://forum.xda-developers.com/showthread.php?t=972550 tutorial work great for me, but I didn’t need to put the tun.ko in place, it was already there in the last taimat kernel.
Thanks for the reply. I saw the tutorial, but it seemed a bit old, given that Manta Ray has OpenVPN included in the ROM. However, maybe I should look at it again to see if I can adapt it. One downside of the tutorial seemed to be that one has to set things up each time OpenVPN is used.
Anyway, it's encouraging that OpenVPN is working well for you.
I have tried to follow the tutorial at http://forum.xda-developers.com/showthread.php?t=972550, but I can't get it to work. My Xoom is rooted. The steps I have taken are as follows:
Install Busybox ... Manta Ray comes with Busybox installed in /system/xbin/busybox, so I have skipped this step.
Install Openvpn Installer ... done.
Run Openvpn Installer ... In Manta Ray, the file openvpn is already installed in /system/xbin. There is also a file openvpn-up. I don't know what this file is for. Given that openvpn is already installed, I moved the original to another location, so that the Openvpn Installer could do its work, without any potential clash with an existing copy of openvpn. I then ran Openvpn Installer and, as instructed, specified /system/xbin as the installation location. The installer also asked me for the location of ifconfig and route, offering /system/xbin/bb, which I selected. I then let the installer continue, but there was no indication of any failure (the tutorial says it will fail but that it would leave "the bit we need on the sdcard"). I can't see that anything has been left on sdcard. Furthermore there is no /mnt/sdcard/openvpn directory (was this what should have been left?).
Regardless of the above, I continued with the tutorial and opened a terminal shell.
su worked fine.
I made the /system/xbin/bb directory without a problem.
I created the two symbolic links for busybox
I then tried to: cp /mnt/sdcard/openvpn /system/xbin/. Of course, this failed, as the source directory, /mnt/sdcard/openvpn did not exist.
So, where do I go from here? It seems that the Openvpn Installer should be doing something that it isn't. Should it be creating the /mnt/sdcard/openvpn directory and putting something in it? If so, this is not happening.
Any help much appreciated.
Thank you
Gordon
In the end, the solution was straightforward:
Install BusyBox and provide a link for ifconfig and route in a newly created directory, /mnt/system/bb.
For Manta Ray, openvpn was already there in /system/xbin (already set to chmod 555), so it wasn't necessary to install it.
tun.ko was also available in Manta Ray in /system/lib/modules, so I just copied it to a newly created directory /mnt/sdcard/openvpn.
Also, I placed (via a USB stick) the openvpn configuration files and certificates, client.ovpn, client2.key, client2.crt and ca.crt in the /mnt/sdcard/openvpn directory.
My existing Windows version of client.ovpn needed to be edited (on a PC) to specify the key and crt names that I had chosen (client2.key and client2.crt).
I saved client.ovpn in Linux file format (using LF for end-of-lines). Whether this was really necessary. I am not sure.
The last step was to use the OpenVPN Settings app from the Market to specify the paths for the location of openvpn and its configuration/certificate files.
From a remote location, I connected through the openvpn tunnel (having turned it on with VPN Settings) to my openvpn server and was able to see my home LAN, check IMAP4 e-mail on my home mail server (using LAN IP addresses) and use a VNC client.
So, this has worked all very satisfactorily in the end, despite my initial teething problems. Now that I have done it, it all seems very simple!!

[Q] Difficulties with electonic bankinc certificate

Hi!
At Windows-Firefox I do as follows:
1. Logging into electronic banking site with user name and password
2. At my own profile settings there is a button for installing the CA certificate (direct import into Firefox, no download at PC first and no extra clicking on downloaded file)
3. Installing my own .p12 certificate-file from my PC, (I have the file from the bank)
4. Initializing and electronic signing of transactions etc.
Due to settings from the bank, it works, of course, only if I install the CA certificate from the site first, and after that I install my own .p12 certificate.
So, the same thing, I am trying to do at Android 4, Xperia Mini (not Xperia Mini X10), Android own build in browser.
Here are the steps:
1. Downloading the .crt (not .cer!) file of the CA certificate from the site into my PC, then copying the same .crt file into the main directory of my Xperia internal SD card.
2. Copying the .p12 certificate file from my PC into the main directory of my Xperia internal SD card.
3. Installing the CA certificate from the .crt file at the security settings of Android
4. Installing the .p12 certificate at the security settings of Android
5. Logging in at the Android own build in browser
The pop-up with the correctly installed certificate (.p12) shows normally by logging in. So I am able to get into initializing of a transaction.
But at the confirmation of the electronic signing of the transaction, I am getting a pop-up "unknown error"
Could someone help?
I have no idea about the certificate stuff, but have you tried if Firefox for Android handles them the same way?
[Q] Difficulties with electonic banking certificate
post-mortem said:
I have no idea about the certificate stuff, but have you tried if Firefox for Android handles them the same way?
Click to expand...
Click to collapse
FF for Android had only for the 13 Beta (Fennec) Version an addon (Cert Manager), which is no more compatible with Android 4...
I already contacted the developer... There are still no compatible updates, so we can temporarily forget about working with such certificates on Android-FF...

[Completed] [Q] Linux Deploy Help

Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
I'd also like to add that some normal commands were not accessible in the terminal even though it said that I had root privileges. Therefore, I could not get done what I would like to even if I were to do everything in the terminal .
jackfitz5 said:
Hi, I have successfully installed Kali Linux on my LG G3 using Linux Deploy and VNC viewer. I am successfully able to use everything, but I am relatively new to Linux. Still, I was able to switch to root in the terminal. I also tried creating a new account, giving it root access, and then switching to it, which I was able to do, again only in the terminal. However, even if I had root access in the terminal (confirmed by "whoami"), it seemed that I did not have any other root privileges. For example, everything, including the desktop, was read only. I tried switching users using the gui and that did not work at all. I also tried to open the root folder under computer and I wasn't able to do that either. I have tried changing the preferences in linux deploy to log me in as username "root," but I think even then I am logged in as a user that is named root... not the actual root administrator. If anyone could offer some guidance with this situation that would be great. I have spent a lot of time searching google and more to find the solution to this problem, but I haven't had any success. Thanks in advance.
Click to expand...
Click to collapse
There is not a specific XDA forum for Kali Linux.
You might find some help in Ubuntu Touch General
or [APP] Linux Deploy by AbuYahya
Which S3? SGH-I747 or I9300, I9305 ...

Changing MAC Address Moto E2

I have a Moto E2 3G phone and I have rooted the phone recently. Although I am not able to change the MAC address of the phone. I have already tried changing the WCNSS_qcom_wlan_factory_nv.bin file in the persist folder. Also I have using third party apps like BusyBox with Terminal Emulator and MacChanger. Please find a way and reply in the comments below.
Search ascii.txt and using a text editor change the mac of the phone to the required mac.

Categories

Resources