help! build nethunter kernel for lgv30 - LG V30 ROMs, Kernels, Recoveries, & Other Developm

I try to compile nethunter kernel for lgv30, the goal is to enable wireless and hid functions. Now the wireless function has been successfully completed, but the hid function has encountered a problem
Patches_hid_hid_gadget-4.4.patch found from [kali-nethunter-kernel](https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-devices/-/tree/master/patches/hid) merged with Two errors, from [Forums](https://forums.kali.org/showthread.php?48320-HID-on-4-X-kernel), I learned that there is no need to modify the kernel, but [enable usb function ](https://www.kali.org/docs/nethunter/nethunter-kernel-6-config-5/), and use [nethunter-installer](https://gitlab.com/kalilinux/nethunter/build- scripts/kali-nethunter-project/-/tree/master/nethunter-installer) compile the kernel, I followed the tutorial to complete this step, and then use twrp to flash into the phone
Now you can set hid mode, but it cannot be used, as shown
{
"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"
}
My compilation environment is ubuntu20.04, [kernel source code](https://github.com/SGCMarkus/android_device_lge_h930) is los17.1 linux4.4.153
The compilation tool is google gcc4.9
Compile command:
Code:
./make_defconfig.sh nethunter_joan_defconfig
export ARCH=arm64 &&\
export SUBARCH=arm64 &&\
export PATH=/opt/gccarm64/bin/:$PATH &&\
export CROSS_COMPILE=aarch64-linux-android- &&\
make -j$(nproc --all) O=out nethunter_joan_defconfig
make -j$(nproc --all) O=out ARCH=arm64 \
SUBARCH=arm64 CROSS_COMPILE=aarch64-linux-android- \
CONFIG_DEBUG_SECTION_MISMATCH=y
make mrproper && make clean && rm -rf out

Did anything ever come of this? Ive been trying to find a v30 nethunter version for awhile now....

I've got Nethunter installed and monitor mode working with onboard wlan0. It is impossible to catch a handshake though. There's nowhere online that I can find a working Nethunter kernel for the V30. This page is basically dead but I don't know where else to go for help.

Related

[REQ] Dropbear ssh client

Ive asked in Themes and Apps to no avail so please dont jump on this for possibly being in the wrong forum.
Im looking for a binary of dropbear but i cant seem to find one that will work with our phone.
The situation.
At work they block everything, so i figure since i can adb into my phone, and since it has its own internet connection, i can use a cli ssh client to run around the internet doing the things i need to do from my shell.
can anyone please compile it or post it? ive looked for a couple of days.
much obliged.
Have you already tried QuickSSHd on Market?
Also this guy claims to have got it working:
Gentooer said:
Got it working!
{
"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"
}
I basically built it with qemu by following the tips and using the patch found here: http://jblomer.web.cern.ch/jblomer/android.htm
I'm not too familiar with all the different kinds of authentication, so this my be very insecure, but it works for me. These are the steps I followed after building dropbear:
1. Transfer dropbear and dropbearkey to a rw partition where they can be executed.
2. Generate a private rsa key with "dropbearkey -t rsa -f my_rsa_key"
3. Run "dropbear -A -N root -U 0 -G 0 -C <desired password> -r <path to my_rsa_key> -p 22"
4. ssh into your phone using the password entered in previous step. You should now have a full root terminal!
Here are the files (If anyone can provide better hosting that would be great):
http://www.speedyshare.com/190562592.html
Click to expand...
Click to collapse
That quote was from this thread.
If you have enough access to get ADB running on your work PC, why not just put PuTTY on there as well?

[rom]arabic&farsi i9000 [ jvp] gamer edition rom by behtash

hi
this my rom gamer edition
Features:
CSC = I9000OJPJV6
# Zipaligned
# Deodexed
# Busybox 1.19
# Zipalign data/app on boot
# Zipalign system/app on boot
# add new bootanimation
apps:
#chainfire+plugins
#camera 360
#super box
#uc browser
# exunistall
# Root Explorer
and full rooted su#
kernel Galaxian Energy Efficient +cwm 3.0.0.5 Includes
Flashing Instructions:​instal cwm and flash zip file i used speedmod-kernel-k15i-t10.tar with this kernel cwm soo instal on phone... flash kernel with odin3 in download mode
http://www.fars-gsm.net/behtash/HTC/ANDROID/i9000/speedmod-kernel-k15i-t10.tar
chainfire:
if u like play with sd data cpu qualcomm Example avatar download plugin and copy in sd and instal with chainfire see this pic:
{
"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"
}
rom in 4 part :
Regards, behtash
NICE WORK
anyways can you please make a upzate.zip with PROPER arabic/farsi rendering ?? The one for me in the other thread doesnt suit me
good ROM and if you can make the instructions slightly clearer it will be better
hi
ok men i will make the instructions Completely. ..
but i think easy with my pic???
behtash said:
hi
ok men i will make the instructions Completely. ..
but i think easy with my pic???
Click to expand...
Click to collapse
why is this in 4 parts?.
just make 1 easy part, easy enough i say

[linux] - cron job for notifying when a new build of CM10 is available

While I don't believe that many people around use Linux as their main OS, maybe there's someone which finds this useful, so I'm sharing it. I've created a small script (python) to run on crontab to notify me (on the Desktop through libnotify) when there's a new build available.
I plan to do a GNOME3 and MATE applet soon for this task also (within a few days the MATE applet will be available). Information people want to know:
Dependencies:
* pynotify
* python-lxml
How to make usage of this? Quite simple... here's how to get the show running:
1. First thing, you need to copy the script to /usr/bin (or any other place, for this, lets assume /usr/bin);
2. Make sure you have the script with 0755 mode;
3. Add the task to cron (ex for 30 minutes, if this doesn't work for you, check cron documentation):
Code:
0,30 * * * * /usr/bin/cm-10-i8150-cron
If this is done like this, the script will run every 30 minutes, and in case there are changes (based on thread title parsing), you will get a nice notification on your Desktop (GNOME, MATE, Unity, most likely K(rap)DE).
For those who don't understand what this does... here's what happens when new releases are done:
{
"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"
}
Right... You probably noticed I've forgotten something... here it is:
https://github.com/ketheriel/scripts/blob/master/cm-10-i8150-cron
Right... You probably noticed I've forgotten something... here it is:
https://github.com/ketheriel/scripts/blob/master/cm-10-i8150-cron

[Q] LOOP_SET_FD failed: Device or resource busy

First of, jump down to the red dotted line for what i need help with, the text above just explains root method, phone and programs i have installed.
Thanks for taking the time.
I have been searching and reading up on every problem I've had so far in the install, i have come to a dead end and i need to get pushed a step further, i need help.
I am installing BT5 ARM on my Note 2 N7100.
Whatever the reason, i grew up with BT and i have my reasons why i want it on my phone (if i wanted to crack someone i would have just used my BT on USB, i have a lot of different things like this mostly for nostalgia)
I have a Note 2 N7100 with android 4.1.2
I rooted my phone using METHOD 2 in this thread (Odin307)
http://forum.xda-developers.com/showthread.php?t=2143479
I have SuperSU BusyBox and AndroidVNC
All installed and working as they should.
----------------------------------------------​
Backtrack version downloaded:
{
"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"
}
Now it gets wierd.
On Terminal Emulator i grant SU and go into the BT5 folder and boot the "bootbt" file.
"ioctl LOOP_SET_FD failed: Device or resource busy"
I am not a linux expert, I am what you will call an experienced n00b :good:
I was up LATE last night and i figured out something i cant remember now.
It was something about if my device had "loop 1-2-3-4 etc" enabled?
AND that i might need an modified "bootbt" file ?
I am so stuck and I have been staring in the eyes of this problem for so long i have gone blind.
Help me see.
Thank you.
I have the same problem on my samsung s5
good to know
you need custom kernel, as stock doesn't support it

Unable to Load Kernel Modules on Custom Kernel

Hey everyone,
I have been playing around with building custom kernels for both the G9880 and G988B S20 Ultras using Samsung's opensource code.
I've successfully built and flashed a custom kernel for both devices with a few tweaks however there seems to be some issues regarding Loadable Kernel Modules (LKMs).
On the initial try they wouldn't load due to an "Exec format error" and looking through the kernel logs with dmesg I found that Samsung's "micro hypervisor" (UH) related to KNOX was blocking them citing "Security Policy" . I promptly disabled CONFIG_UH_LKM_BLOCK in the kernel's defconfig file and rebuilt.
Now when I load any module (all from linux kernel tree) it causes a kernel panic at which point the phone restarts (due to watchdog). After retrieving the last kernel log from /proc/last_kmsg I see the following at line 16976 of the attached log file:
{
"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 seems that insmod is reading an incorrect memory address causing the kernel panic during init_module as shown by the program counter (pc). This is the same for all modules, however the "unreadable memory address" will change from module to module and even build to build.
I have tested on multiple devices, kernel versions and android versions and the exact same issue occurs. I also can't find any info regarding the Kernel Oops code: 8600000f.
I have also checked and the memory address does not appear in the kernel's System.map file or /proc/kallsyms which suggests its a memory mapping issue?
Does anyone have ideas on where to look or methods of figuring this out? It feels like it's something to do with memory mapping during kernel compilation which causes the insmod to have a false understanding of where things are?
Any assistance would be greatly appreciated!
- Caelan

Categories

Resources