URL and Link repository

Saturday, September 23, 2017

Asus Zenfone Laser 2 - Lost Root Access

See about 3 posts ago. Anyhoos - This is where I have the files that I used to restore root: Google Drive. Of course, I used these files after resetting the device to factory.

Wednesday, September 20, 2017

ASUS_Z00MD Android Moving Apps to SD card

This device is also known as the Asus Zenfone Laser 2 with 6 inch screen.

Moving Apps to the SD Card.

  • First, you must have a very fast SD card
  • Second, you must enable USB debugging and attach device to your PC.
  • Third, open command line and type "adb shell"
  • Fourth, type "sm list-disks"
  • Fifth, note the partition, which in my case was "disk:179,64"
  • Lastly, type "sm partition disk:179,64 private"

  • Now find an app that moves apps to the SD card.

    Good luck.

    Tuesday, September 19, 2017

    Android APK uloaded to Google Play Supports 0 devices

    Recently uploaded a new APK for W.A.R. II only to discover that it now supports exactly 0 devices. This even after I installed the APK on my own devices running Marshmallow and Nougat.
    After e-mailing Google Support who did not identify anything specific in the manifest, I decided to add

    <uses-feature android:name="android.hardware.camera" android:required="true" /> <uses-feature android:name="android.hardware.location.gps" /> <uses-feature android:name="android.hardware.location.network" />
    and remove android:required = true from
    <uses-feature android:glEsVersion="0x00020000" />
    Now the W.A.R. app supports 11268 devices.

    Wednesday, August 23, 2017

    Root the Asus ZenFone Laser 2 KE600KL

    I recently acquired the Asus Zenfone 2 from Amazon, because I crave a 6 inch screen.
    Now I need to root the device in order to run Kali Linux. I also want to root, because I am a control freak.
    Here are the steps assuming you already have ADB and Fastboot installed on your PC.
  • Download to your PC the right TeamWin Recovery Program aka TWRP
  • Rename the download to recovery.img and move it into the same folder as the adb.exe and fastboot.exe
  • Download the SuperSU zip file to the microSD card that will be inserted into your Asus Zenfone
  • Connect Asus Zenfone to your PC via USB
  • Open a command line from within the directory that contains adb.exe, fastboot.exe and recovery.img
  • Type: "adb devices" to verify that the Asus Zenfone is indeed connected
  • Type: "adb reboot bootloader"
  • Type: "fastboot devices" to verify that the Asus Zenfone is indeed in Fastboot mode
  • Type: "fastboot flash recovery recovery.img"
  • Type: "fastboot boot recovery.img"
  • Use the TWRP menu interface on the Asus Zenfone to [Install Zip] the SuperSU file on the microSD card.
  • Done.
    For kicks you may also want to visit the Asus support site for additional software tools.

    Wednesday, July 19, 2017

    Malicious PHP code

    I found the following inserted to the far right of some of my PHP scripts behind SpiderOnFire.

    Wednesday, July 12, 2017

    Android Fragment Not Replacing Main Activity on Marshmallow

    I am writing a calendar app that will listen for clicks on dates and drive the remainder of the app's functions by date and user.

    The reason I am posting this is that my fragments replaced the main activity okay on a Lollipop device, but not on Marshmallow

    After many hours of frustration, I happened to tilt the Marshmallow phone just enough to have the external light source reveal that the fragment was indeed present on the main activity, but BEHIND IT. This was not readily detected because the backgrounds are the same color and size while the main activity layout was 100% opaque. It was my elevation shadow that showed another layer beneath the main activity

    Shazam!!! This fixed that problem:

  • When I build the fragment, I also specify calendar.setVisibility(View.GONE); , where calendar is the CalendarView in the XML layout.
  • This may not be proper form, but I don't care as I must push on and build the server application to the mobile. Meanwhile, here are some screen shots of the actual source code that I built and compiled directly on a Samsung Tablet with AIDE.

    Aha...the all important build.gradle file

    Saturday, July 8, 2017

    Amazon Web Services Story - AWS, EC2 and the WIMP

    Here are the steps that I took to create an AWS EC2 running Windows IIS, MySQL, PHP (WIMP), .NET, ASP, Visual Studio.

    I started by reading the AWS documentation.

    Get AWS account and create and Windows Server Instance - Already plenty of on-line documentation.

    Connect to the instance through Remote Desktop.

    Click the Windows Start icon and locate Server Manager Dashboard to install Windows IIS. - Also plenty of documentation on-line.

    This is what you should see as you run through the process:

    This is where web files go.

    Open a browser from inside the
    Remote Desktop Connection
    and type localhost in the address bar.

    Now in order to download and install programs from the internet, you will
    need to turn off Internet Enhanced Security.

    Finally, you can download the Microsoft Web Platform
    installer and go to town. (Remember to turn Internet Enhanced Security back on.)

    One last thing ...You may need to play around with HTTP and port 80 and other such nuances.