Android Kitchen can't detect Java.exe during ROM (.zip) packaging - Android General

Hey guys
Till a few days back, I was a complete noob at making android roms and porting, but in these past few days, I've learnt a lot, thanks to wonderful tutorials on XDA. I'm trying to port LG Power X 's rom for my Micromax MEGA 4G Q417 device, and everything is all well and done and configured, but I'm getting struck here at this screen in Android Kitchen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It says that I probably do not have JAVA JDK installed, but, I DO HAVE IT. I don't know what I'm doing wrong.
Here is my .bash_profile if it helps...
Code:
# To the extent possible under law, the author(s) have dedicated all
# copyright and related and neighboring rights to this software to the
# public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along
# with this software.
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
# base-files version 4.2-4
# ~/.bash_profile: executed by bash(1) for login shells.
# The latest version as installed by the Cygwin Setup program can
# always be found at /etc/defaults/etc/skel/.bash_profile
# Modifying /etc/skel/.bash_profile directly will prevent
# setup from updating it.
# The copy in your home directory (~/.bash_profile) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# User dependent .bash_profile file
# source the users bashrc if it exists
if [ -f "${HOME}/.bashrc" ] ; then
source "${HOME}/.bashrc"
fi
# Set PATH so it includes user's private bin if it exists
if [ -d "${HOME}/bin" ] ; then
#PATH="${HOME}/bin:${PATH}"
export PATH=$PATH:"/cygdrive/C/Program Files/Java/jdk-10.0.2/bin/"
fi
# Set MANPATH so it includes users' private man if it exists
# if [ -d "${HOME}/man" ]; then
# MANPATH="${HOME}/man:${MANPATH}"
# fi
# Set INFOPATH so it includes users' private info if it exists
# if [ -d "${HOME}/info" ]; then
# INFOPATH="${HOME}/info:${INFOPATH}"
# fi
PATH=/cygdrive/c/Program\ Files/Java/jdk-10.0.2/bin:${PATH}
What am I doing wrong? I'm trying since yesterday to fix this, but, even after countless frustrating attempts, the error persists. I now have no other option than to ask the help of you guys here. Please help!

Sohail__Saha said:
Hey guys Till a few days back, I was a complete noob at making android roms and porting,.......
Click to expand...
Click to collapse
I haven't used Android Kitchen in quite some time but, I believe that you should be able to obtain some member guidance within one of the following threads.
https://forum.xda-developers.com/showthread.php?t=2073775
https://forum.xda-developers.com/showthread.php?t=3803044
https://forum.xda-developers.com/showthread.php?t=3067153
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Ibuprophen said:
I haven't used Android Kitchen in quite some time but, I believe that you should be able to obtain some member guidance within one of the following threads.
https://forum.xda-developers.com/showthread.php?t=2073775
https://forum.xda-developers.com/showthread.php?t=3803044
https://forum.xda-developers.com/showthread.php?t=3067153
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Thank you. I'll see if I can find some help.

Could you post the link for Android kitchen
And plus a guide to port ROMs to Micromax q417

Related

[APP] Jekyll Client for Android

Some months ago I ditched my WordPress blog and fall for a platform called Jekyll. I use Jekyll alongside with Github pages to host my blog. Being hosted on Github was a great advantage but what happens when I want to post from my smartphone or tablet?
Cloning the whole project with some client and pushing it up again seemed stupid for just one file, the setup of which was pleasant because the filename should be something in the form of:
Code:
YYYY-MM-DD-title.md
and the beginning of the file:
Code:
---
layout: post
title: "The Title"
description: ""
category:
tags:
---
So I started a little project called Jekyll for Android.
It is a little simple client for android that allows you to publish a post on your Jekyll blog if it is hosted on Github!
It it uses Github’s API and offers a Markdown Preview to check if your post looks ok (very Alpha feature) .
If you find it useful fork it, make it better or just use it!
You can find the project here and build it yourself or download it from Google Play!
It provides:
UI that is simple and I like.
Ability to commit a new post through Github API.
Keeps a draft.
A list of the user’s posts.
Ability to edit previous posts.
Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looks Interesting
Maven is broken for me since the latest (v19 SDK). Built with these (f-droid-style) instructions:
Code:
Build:1.0,1
commit=1e61b142c8
subdir=JekyllForAndroid
prebuild=wget [url]http://fossil.instinctive.eu/libsoldout-1.3.tar.bz2[/url] && \
tar -C ../bypass/dep/ -xf libsoldout-1.3.tar.bz2 && \
sed -i 's/libsoldout/libsoldout-1.3/' ../bypass/platform/android/library/jni/Android.mk && \
sed -i 's/all/armeabi/' ../bypass/platform/android/library/jni/Application.mk
buildjni=../bypass/platform/android/library/
Is there going to be a free/open source licence on it?
dabl8 said:
Maven is broken for me since the latest (v19 SDK). Built with these (f-droid-style) instructions:
Code:
Build:1.0,1
commit=1e61b142c8
subdir=JekyllForAndroid
prebuild=wget [url]http://fossil.instinctive.eu/libsoldout-1.3.tar.bz2[/url] && \
tar -C ../bypass/dep/ -xf libsoldout-1.3.tar.bz2 && \
sed -i 's/libsoldout/libsoldout-1.3/' ../bypass/platform/android/library/jni/Android.mk && \
sed -i 's/all/armeabi/' ../bypass/platform/android/library/jni/Application.mk
buildjni=../bypass/platform/android/library/
Is there going to be a free/open source licence on it?
Click to expand...
Click to collapse
I forgot to do that. I just licensed the project with GPL.

[SCRIPT] iotop for Android

There are probably only two ways you ended up here in this thread:
1) You were browsing XDA and came across this thread and thought "Hey, that's that? Let's take a look..."
2) You were looking for an iotop port for Android
If 2) applies to you, then the you were doing the exact same this as I was doing some days ago. The only difference is.... when I was searching there was no such port
But for debugging purposes on my Tab, I needed such a tool. So I started writing my own
So, in case you're not familiar with iotop, iotop is a tool for examining I/O loads and and I/O usage on per-process basis. It shows the total amount of read and written bytes as well as the current read/write speeds.
First up, the script is not yet as powerful as the one for PCs. It's still WIP but does the main tasks it's supposed to.
If you have an idea and know how to realize it, please feel free to fork my repo and create a pull request. I will most likely be merging it happily.
Requirements
Root
Kernel with I/O accounting enabled
The following configs must be set:
CONFIG_TASKSTATS
CONFIG_TASK_IO_ACCOUNTING
CONFIG_TASK_XACCT
CONFIG_TASK_DELAY_ACCT
If your kernel does not support I/O accounting, you may politely ask your kernel dev to enable it in his defconfig. But always remember, it's his call and you have to accept whatever he's gonna do. There is nothing you can do about it.
Usage
You can execute the script from wherever you like, be it your sdcard, data partition or system partition. But for easier use, I would recommend you to place it in your /system/bin folder.
(for this example, I assume you've placed it in /system/bin)
To run it, you must be root (---> $su )
Then you can run the actual script
Code:
iotop.sh
You don't like the units being KB? How about MB?
Code:
iotop.sh -m
Still not what you want? Bytes then?
Code:
iotop.sh -b
Found your desired unit? Great! But those entries with no I/O activity are quite annoying, right? So let's get rid of them!
Code:
iotop.sh --only
You don't want to see all those empty entries, but still want to know how many were skipped? No problem:
Code:
iotop-sh --only --show-skips
Still need some help? Check this:
Code:
iotop.sh --help
Download
So, in case you still want to know where to get it from, the github project is located HERE
The raw script can be found HERE
Help
If you want to join the fun, just let me know!
XDA:DevDB Information
iotop for Android, Tool/Utility for all devices (see above for details)
Contributors
laufersteppenwolf
Version Information
Status: Beta
Created 2014-10-19
Last Updated 2014-10-18
Reserved
cool,great work.thanx
This is pretty awesome! Now I can find out what or if something is wrong with my external sd card, and why power amp sometimes has problems.
Thank you very much! Schwabenpower!
IRKONIK said:
This is pretty awesome! Now I can find out what or if something is wrong with my external sd card, and why power amp sometimes has problems.
Thank you very much! Schwabenpower!
Click to expand...
Click to collapse
But make sure your kernel supports I/O accounting
BTW, please don't call me a "Schwabe"... It almost hurts
It seems like it does not.
And if you're not a Schwabe, then you are a Badenser. I don't anything against you. Well, nothing that helps. :laugh:
Can some one please tell me which kernels support this io accounting ?
cause i tried many , without any success.
I'm on Sammy Galaxy s3 i9300 and CM11
The result look's this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But the system running many many process...
OS:Android 5.1.1
Phone:Google Nexus 4

[DEV] HybridMod

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Info:
~ This project was originally started by me a long time ago, its been in different locations as different things, and its been written in many different styles.
~ So what is it? Well its a bash script/scripts/project/modular-project (this is how fragmented it is ) that were working on to be an all in one shell based application, currently we have a tonne of features in it and alot in our minds but we just need to get it down in the script.
~ So why post about it here if its still super alpha and not even 100% working!? Well cause we need developer help, anyone who wants can pm me or post here and ill add you with read access to our repo's , from there on you can create pull requests and help us refactor and clean up code.
~ Currently the project maintainers consist of me and @DeicPro , theres also @luca020400 who's contributed to cleaning up alot of the code. So we would love anybodys help! Even if you cant be on github constantly creating pull requests, at least pm me and ask to join the "dev" group since we can chill + it looks super cool to have a busy project
Source:
https://github.com/HybridMod
Setup:
~ This is the setup guide, you can either use the google repo tool guide and setup and use via that way, however you wont be able to do anything via git that way... The recommended way is below.
Recommended way:
Code:
mkdir -p ~/Scripts/HybridMod/
Code:
cd ~/Scripts/HybridMod/
Code:
git clone https://github.com/HybridMod/roomservice
Code:
cd roomservice
Code:
./repo_sync.sh
Now the repo_sync.sh will take care of cloning all the necessary scripts and etc...
Additional Notes:
Anyways thanks for the help if you do help, and enjoy!
banner-credits: idk , found on the google imgs, plis dont sue me ;-;
FAQ
Q: Do penguins have knees?
A: http://bfy.tw/LLo
reserved ^^

[Completed] Problem with zImage compiling

Good Morning! It's been four days that I can not sleep trying to compile the kernel of my smartphone. They appeared several errors , but i got to solve them alone. But I'm stuck in one, and i would appreciate your help . The problem is that after changing the required settings in the menu, I can not create the file " zImage". I run the command : "make -j4 ARCH=arm CROSS_COMPILE=arm-linux-androideabi-", the compiling process starts but in the end, the terminal does not convert the files. From what I saw on the internet, in the final lines should appear:
"#OBJCOPY arch/arm/boot/zImage
#Kernel: arch/arm/boot/zImage is ready".
Like in the image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But in my appears:
I really think that is some command missing, to order the terminal create the zImage. If someone knows what is happening, i would be greateful.
I think that im in the right topic session. If i dont, sorry, im new here.
tenifugo said:
Good Morning! It's been four days that I can not sleep trying to compile the kernel of my smartphone. They appeared several errors , but i got to solve them alone. But I'm stuck in one, and i would appreciate your help . The problem is that after changing the required settings in the menu, I can not create the file " zImage". I run the command : "make -j4 ARCH=arm CROSS_COMPILE=arm-linux-androideabi-", the compiling process starts but in the end, the terminal does not convert the files. From what I saw on the internet, in the final lines should appear:
"#OBJCOPY arch/arm/boot/zImage
#Kernel: arch/arm/boot/zImage is ready".
Like in the image:
But in my appears:
I really think that is some command missing, to order the terminal create the zImage. If someone knows what is happening, i would be greateful.
I think that im in the right topic session. If i dont, sorry, im new here.
Click to expand...
Click to collapse
Hello,
This forum is for newbies finding their way around XDA Developers, it isn't a development section.
You may try posting your query here [Tutorial] Building Your First Kernel with all relevant details, the experts there maybe able to assist you.
-Vatsal
Vatsal said:
Hello,
This forum is for newbies finding their way around XDA Developers, it isn't a development section.
You may try posting your query here [Tutorial] Building Your First Kernel with all relevant details, the experts there maybe able to assist you.
-Vatsal
Click to expand...
Click to collapse
Alright. Thank you my friend! I will post there.

[GUIDE] setup fake captive portal with android hotspot.

EDIT: This method is outdated, please find android app source in next post
If you want to redirect clients of your android hotspot to custom web page(on connection), then you are on wright thread.
what you are looking for is a captive portal.
Let's make it.
requirements:
Rooted device
Terminal emulator app.play store link
palapa web server app installed. download here
Patience
Installation:
Open palapa web server app and click install.
download captive_portal.zip attached below and extract it to /data folder (use current folder option).
Now open terminal type
Code:
su
chmod -R 777 /data/captive_portal
Then place your html file in /sdcard/pws/www/ and rename it to index.html (you can also use php files instead).
Running:
To start captive portal make sure that your hotspot and data is off.
open terminal emulator and type
Code:
su
cd /data/captive_portal/
./capstart
if you got an error, stop and start again like this
Code:
./capstop
./capstart
now turn on hotspot
voila! youre now hosting a fake captive portal. check it by connecting another device to your hotspot, you should probably see "sign into network." notification
To stop it, type following in terminal
Code:
./capstop
Hi devs,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
captive portal has got many potential use cases, from spoofing public WiFi splash pages to serving locally stored educational content easily.
Though above method works fine, to make it a bit more easier, we decided to make an app. so, with my inexpert JAVA skills, I made an app.
download it : View attachment mobile-release.apk.
currently, it has very minimal UI and options.
It is working as expected on my rooted Lenovo k8 plus device. But, has some problems on android 9+ devices.
if you got a rooted android device, please install it, use it! and test it!​
So dev,
we need your help in making this app more reliable and feature rich.
any major or minor modifications are welcomed.
​
Edit: Thanks for your support devs. contributions to GitHub repo is on pause, will be resumed soon.
Hi devs,
New alpha Release!
Certainly there are some bugs.
find APK attachment below.
Steps to follow:
Turn on hotspot.
press that solo start button.
Edit: Thanks for your support devs. contributions to GitHub repo is on pause, will be resumed soon.
Hello [email protected]
I've downloaded the latest apk on my rooted google pixel 4 running android 10 and granted it super user access.
when I launch the app and press the start button my hotspot automatically gets turned on all well and dandy. When I try and connect from my iphone I don't get redirected to the default html page.
PS: the hotspot on pixel gets broadcasted from wlan1 not wlan0, so I tried modifying the source code from terminal but had no luck.
Any help would be appreciated
hello, can you send the captive_portal.zip download link, because from the apk I can't use it because my android version is too old
Hi,Can you please send me the captive_portal.zip Thanks
hello , can you send the captive_portal.zip download link. because from the app I can't use it because my android version is old.

Categories

Resources