Kali NET-Hunteron Huawei Y6II/P8 Lite - P8lite Android Development

Important Note:
* Your warranty is now void.
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Falshable zip
* before flashing it! YOU are choosing to make these modifications.
The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets
Hey Guys,
Hope you all doing great..........
Here is the details about installing Kali Nethunter on your Y6II CAM-L21 (in my case).....
there is a Software called Linux Deploy to install linux on your androidi tried but it's not as you expect but i have a different method to do that so let's head to the method......
tools needed:
A mobile usually (Y6II/P8 Lite)
A Flashable zip (Link down below)
A working Brain (Most important thing for the Rest)
there are zipped version of kali linux that you can flash via TWRP on your current android. in my case i have RROS 5.8.5 01-01-2018 Build. Android Nougat 7.1. see he attachments.
The Rom i'm Using:
https://forum.xda-developers.com/p8lite/development/rom-t3606568
This is the of all Nightly Builds of Kali Net hunter for different devices.
Link:https://build.nethunter.com/nightly/2017.11-18-1618/
The one your need is here
nethunter-generic-armhf-kalifs-full-rolling-2017.11-18-1618.zip
nethunter-generic-armhf-kalifs-minimal-rolling-2017.11-18-1618.zip
you need at-least 3 GB in your internal storage for full-rolling to work properly.
i don't know about minimal because i didn't check that one.... sorry for that.
there is a arm64 ver. also don't download that first i download that ver. but it didn't work so next i install armhf ver. and booooom it's working perfectly. arm64 get installed but didn't get the root permission so it's not for your device download the one i give the link above.
it's also change your boot image to kali linux that's looks really cool see the attachments for boot image.
now you're thing that how can i uninstall a flash-able zip so here is the method......
Uninstall
Do a Full backup before installing this zip so you can restore if get stuck at any point or
To remove this fully:
Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
Uninstall Kali Nethunter Magisk module (Reboot)
Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log
and incase if the apps didn't get the root access just uninstall all apps that come after flashing the zip and Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log.......
Bootloop issue:
i did face a boot loop once just restart once or twice and it's gone (in my case i'm so lucky.) literally guys i just restart my device twice and it's get's on.
Thanks for reading this bad English and useless way of giving instructions i'm really sorry for that ....
hope you guys enjoy this.....
Note: i have only Y6II CAM-L21 Device so i don't know how it's going to react with p8 lite or honor 4c and other devices and this version is only for Nougat 7.1 i don't even know if it's works on 7.0 or not so please do not try this on Marshmallow or any other ROM i'm not responsible for any damage. there are other version for marshmallow. see the link above... here
ask me if you have any quires and hit the Like button of you like this tutorial.

Faize_Lohar said:
Important Note:
* Your warranty is now void.
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Falshable zip
* before flashing it! YOU are choosing to make these modifications.
The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets
Hey Guys,
Hope you all doing great..........
Here is the details about installing Kali Nethunter on your Y6II CAM-L21 (in my case).....
there is a Software called Linux Deploy to install linux on your androidi tried but it's not as you expect but i have a different method to do that so let's head to the method......
tools needed:
A mobile usually (Y6II/P8 Lite)
A Flashable zip (Link down below)
A working Brain (Most important thing for the Rest)
there are zipped version of kali linux that you can flash via TWRP on your current android. in my case i have RROS 5.8.5 01-01-2018 Build. Android Nougat 7.1. see he attachments.
The Rom i'm Using:
https://forum.xda-developers.com/p8lite/development/rom-t3606568
This is the of all Nightly Builds of Kali Net hunter for different devices.
Link:https://build.nethunter.com/nightly/2017.11-18-1618/
The one your need is here
nethunter-generic-armhf-kalifs-full-rolling-2017.11-18-1618.zip
nethunter-generic-armhf-kalifs-minimal-rolling-2017.11-18-1618.zip
you need at-least 3 GB in your internal storage for full-rolling to work properly.
i don't know about minimal because i didn't check that one.... sorry for that.
there is a arm64 ver. also don't download that first i download that ver. but it didn't work so next i install armhf ver. and booooom it's working perfectly. arm64 get installed but didn't get the root permission so it's not for your device download the one i give the link above.
it's also change your boot image to kali linux that's looks really cool see the attachments for boot image.
now you're thing that how can i uninstall a flash-able zip so here is the method......
Uninstall
Do a Full backup before installing this zip so you can restore if get stuck at any point or
To remove this fully:
Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
Uninstall Kali Nethunter Magisk module (Reboot)
Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log
and incase if the apps didn't get the root access just uninstall all apps that come after flashing the zip and Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log.......
Bootloop issue:
i did face a boot loop once just restart once or twice and it's gone (in my case i'm so lucky.) literally guys i just restart my device twice and it's get's on.
Thanks for reading this bad English and useless way of giving instructions i'm really sorry for that ....
hope you guys enjoy this.....
Note: i have only Y6II CAM-L21 Device so i don't know how it's going to react with p8 lite or honor 4c and other devices and this version is only for Nougat 7.1 i don't even know if it's works on 7.0 or not so please do not try this on Marshmallow or any other ROM i'm not responsible for any damage. there are other version for marshmallow. see the link above... here
ask me if you have any quires and hit the Like button of you like this tutorial.
Click to expand...
Click to collapse
I did this on MM, and Yeah, works! No Bootloop, but, i had to install all components manually, by apt-get bla bla bla then it installs! Great work, buddy!

RootingPro-18 said:
I did this on MM, and Yeah, works! No Bootloop, but, i had to install all components manually, by apt-get bla bla bla then it installs! Great work, buddy!
Click to expand...
Click to collapse
Thanks [emoji4]
Sent from my CAM-L21 using Tapatalk

Youtube 720p60fps ???
And can use 3G sim ?

nkoxvip0 said:
Youtube 720p60fps ???
And can use 3G sim ?
Click to expand...
Click to collapse
It's not an os it's a module for kali linux
Sent from my CAM-L21 using Tapatalk

Faize_Lohar said:
Thanks [emoji4]
Click to expand...
Click to collapse
Bro! witch one i can install on stock MM B620? i am confused!

RootingPro-18 said:
Bro! witch one i can install on stock MM B620? i am confused!
Click to expand...
Click to collapse
Let me see
Sent from my CAM-L21 using Tapatalk

RootingPro-18 said:
Bro! witch one i can install on stock MM B620? i am confused!
Click to expand...
Click to collapse
Btw i i dont think flash it over stock emui is a good idea as we don't know the compatibility of emui over kali. I suggest you to update to and nougat ROM and them flash it
Sent from my CAM-L21 using Tapatalk

Faize_Lohar said:
Btw i i dont think flash it over stock emui is a good idea as we don't know the compatibility of emui over kali. I suggest you to update to and nougat ROM and them flash it
Click to expand...
Click to collapse
I will try! Always here will be test buddy!??

RootingPro-18 said:
I will try! Always here will be test buddy!
Click to expand...
Click to collapse
Well then install the one i refer i think it's a system free and based on hardware so it should be work on your one also. but again i'm not sure about EMUI. Sorry for that i wish i could try and then tell you but i'm on Nougat already .

Faize_Lohar said:
Well then install the one i refer i think it's a system free and based on hardware so it should be work on your one also. but again i'm not sure about EMUI. Sorry for that i wish i could try and then tell you but i'm on Nougat already .
Click to expand...
Click to collapse
if i dual boot nougat, it will work?

RootingPro-18 said:
if i dual boot nougat, it will work?
Click to expand...
Click to collapse
Ah man how can you manage that much space lol. i just deleted my kali and got 11+ Gb back in my internal LOL ...
well if you can manage space for that so you can for sure

Faize_Lohar said:
Ah man how can you manage that much space lol. i just deleted my kali and got 11+ Gb back in my internal LOL ...
well if you can manage space for that so you can for sure
Click to expand...
Click to collapse
Check this it might help you
https://forum.xda-developers.com/cr...ools-kali-nethunter-installer-sprout-t3470375

Faize_Lohar said:
Ah man how can you manage that much space lol. i just deleted my kali and got 11+ Gb back in my internal LOL ...
well if you can manage space for that so you can for sure
Click to expand...
Click to collapse
64Gb sdcard?

RootingPro-18 said:
64Gb sdcard?
Click to expand...
Click to collapse
Well i think you should give it a try the one i refer it should be work on your MM.

Faize_Lohar said:
Well i think you should give it a try the one i refer it should be work on your MM.
Click to expand...
Click to collapse
thanks, but witch one?

Check my post you'll find
Sent from my CAM-L21 using Tapatalk

Faize_Lohar said:
Check my post you'll find
Click to expand...
Click to collapse
i have this error! i can't start VM

Yes this vnc wont work download from Google play
Sent from my CAM-L21 using Tapatalk

Faize_Lohar said:
Yes this vnc wont work download from Google play
Click to expand...
Click to collapse
same
---------- Post added at 02:27 PM ---------- Previous post was at 02:27 PM ----------
RootingPro-18 said:
same
Click to expand...
Click to collapse
i cant start

Related

[P905M LTE and P905][KERNEL] STOCK compiled with SELinux setenfoce command enabled

I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
User esgie confirmed that it works on SM-P905 too!
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
Image sha1sum
b85360a80f6205269b75d9dfabccac211a224d46
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)
No one interested?
Thanks a lot. Will try it.
Sent from my GT-N7100 using XDA Premium 4 mobile app
rodpp said:
I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)
Click to expand...
Click to collapse
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation
esgie said:
Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation
Click to expand...
Click to collapse
Thank you very much for confirm that it works on SM-P905, I'll include this information on the first post.
If you find some WiFi issues don't forget to edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Regards,
Rodrigo.
Already had the property changed in my build.prop, so i'm not exactly sure if the wifi works out of the box or not. Although I confirm that it DOES work with the build.prop modification
And by "does work" I meant both wifi and mobile radio working flawlessly.
gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
Hi there, I tested here and the image is working fine here. The user esgie just confirmed that too, in a P905. Please check the sha1sum of your downloaded image file.
Regards,
Rodrigo.
rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
I probably did something wrong.
I've downloaded again and wiill try once more.
MD5 f39207bd4c45b1854372cd519942a6c2
SHA1 b85360a80f6205269b75d9dfabccac211a224d46
Thanks.
Sent from my GT-N7100 using XDA Premium 4 mobile app
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?
Please integrate fauxsound
esgie said:
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?
Click to expand...
Click to collapse
Unfortunately I don't have enough free time, so I don't have plans to work in kernel development. I did this because I was needing it to install some stuffs in my tablet and decided to share it here o XDA where I always found useful things.
If someone wants simple modifications and points some links explaining that I can try without problems.
And if someone have problems preparing an environment to compile the kernel, let me know, I'll be very happy to help.
Regards,
Rodrigo.
koko115 said:
Please integrate fauxsound
Click to expand...
Click to collapse
Do you have a link?
Honestly, I don't know what fauxsound is!
rodpp said:
Do you have a link?
Honestly, I don't know what fauxsound is!
Click to expand...
Click to collapse
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Spere said:
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Click to expand...
Click to collapse
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP
js345 said:
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP
Click to expand...
Click to collapse
Yes, one of my motivations to compile this kernel was to boot Linux images too.
Regards,
Rodrigo.
Enviado de meu SM-P905M usando Tapatalk
rodpp said:
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
Click to expand...
Click to collapse
I tried to compile the kernel with the patches sugested by the Fauxsound developer but, unfortunately, I have no success.
Probably it will be necessary more kernel modifications to compile it with the Fauxsound patches.
Enviado de meu SM-P905M usando Tapatalk
Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier
orobin said:
Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier
Click to expand...
Click to collapse
The kernel is for P905M/P905...

[QPAIR/LOA] - LinuxonAndroid GPad support

This will be used to detail how to get LinuxonAndroid running on the GPad and the process of QPair support to bring new and interesting features to the project as a whole.
Step 1 - Install Linux on the tablet
We shall start by using the standard Complete Linux Installer to install and run Linux with the GUI pumped over VNC (Frame buffer method coming soon!), this method works on most devices and is the most universal but as the project develops in the coming weeks a better method for the GPad will be developed.
Anyway on with installing!
Root
First things first you will need to root your tablet, currently my tablet is running Stock V50020d with root.
The below will most likely work on other ROMs as long as you have root it should work!
(A custom ROM may be developed for further features.. watch this space)
Download
Now we have root you will need to download the below:
Complete Linux Installer
Terminal Emulator
VNC View (I recommend PocketCloud)
Finally download A Linux .img file from our source forge site HERE, I recommend and will be using Ubuntu 13.10 Small ext4. Once downloaded extract the .zip file and copy the .img to your devices memory (internal memory or sdcard).
XDA:DevDB Information
LinuxonAndroid - GPad, Device Specific App for the LG G Pad 8.3
Contributors
zacthespack
Version Information
Status: Testing
Created 2014-11-01
Last Updated 2014-11-12
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
yoavst said:
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
Click to expand...
Click to collapse
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
SferaDev said:
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
Click to expand...
Click to collapse
Bingo!
With linuxonandroid running on the tablet we could then use QPair to allow the user to have a phone (or another tablet..?) as the mouse/keyboard for Linux
posted first steps in OP to start getting LoA running on the tablet.
Everything is running very well, I shall finish the guide shortly to get LoA running but really the app install guide will work perfectly.
Next step I will be releasing a special Ubuntu 14.10 image which will be the supported image for QPair features and other changes for the GPad.
it say I need a loopable kernel which I didn't find for stock LG rom...
yoavst said:
it say I need a loopable kernel which I didn't find for stock LG rom...
Click to expand...
Click to collapse
Stock LG kernel does have loop support so you should have no issue here, if you are having another issue getting linux to start let me know, shall be updated the OP in the next few days
As you know voting is now live so please do vote for the project!
http://forum.xda-developers.com/dev...-voting/xda-lg-contest-voting-thread-t2978598
Howdy, cool project. Couple of questions. I'm looking for a reason to install Linux on my tablet, but also understand that I can remotely view my home system with vnc. So what would be the benefit?
Is there more control using Linux to Linux?
Does this mean I could open into my home system, make changes to my kernel, compile, and upload to a server from my tablet?? Late night insomnia while in the mountains would be awesome. I would have to tether my tablet to my phone for WiFi, and run through Linux? This sounds pretty awesome.
Tell me the reasons it won't work.
Pretty awesome OP. Thanks!
Cant log in ubuntu
Can somebody tell me why im not able to boot?im running lollipop with red kernel and before i was running kitkat and still the same.Im my g2 there is no problem but on tab doesn work.I download complete linux installer,busybox,terminal and vnc and i never get the @root.i trh also a differend image but nothing.Any help will be appreciate

[A11UL|A11CHL] Modded CM11 Kernel

Code:
#include <rbh_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked phones, ISIS invasions, ebola outbreaks,
* or any other major catastrophe encountered while running my kernel.
* You flashed this, you did this to yourself. You did this to us all.
* The world shall stone you to death for your crimes against humanity.
* If you want to blame someone, blame my twin, he's evil!
*
* BASIC ADB/FASTBOOT SKILLS REQUIRED
*/
FEATURES:
* Based on HTC M8 CM11 Kernel
* Built with latest Linaro Toolchain
(refer below for more details)
* Extra Governors
* Extra Schedulers
* Supports Exfat, F2FS, NTFS, CIFS etc.
* Native Gamepad support for 6th Gen Controllers (USB+BT)
* Butter smooth!
* Updated GPU Drivers​
Linaro Toolchain info:
Code:
[email protected]:/media/rbheromax/4e3f6837-13f1-4e0e-b871-970c17fd13e7/Android/android_kernel_htc_msm8974$ ~/android/*hf*/bin/*gcc -v
Using built-in specs.
COLLECT_GCC=/home/rbheromax/android/gcc-linaro-4.9-2014.05-arm-linux-gnueabihf-x86_64-linux-gnu/bin/arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/media/rbheromax/4e3f6837-13f1-4e0e-b871-970c17fd13e7/Android/gcc-linaro-4.9-2014.05-arm-linux-gnueabihf-x86_64-linux-gnu/bin/../libexec/gcc/arm-linux-gnueabihf/4.9.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: '/home/buildslave/workspace/shared//snapshots/gcc.git~linaro-4.9-branch/configure' --with-bugurl=https://bugs.launchpad.net/gcc-linaro --with-mpc=/home/buildslave/workspace/BuildFarm/label/x86_64/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/buildslave/workspace/BuildFarm/label/x86_64/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/buildslave/workspace/BuildFarm/label/x86_64/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-multiarch --disable-multilib --enable-c99 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-languages=c,c++,fortran,lto --with-sysroot=/opt/linaro/sysroot-glibc.git-arm-linux-gnueabihf --disable-shared --enable-static --disable-bootstrap --with-build-sysroot=/home/buildslave/workspace/BuildFarm/label/x86_64/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --enable-lto --enable-linker-build-id --enable-long-long --enable-plugin --enable-shared=libgcc,libstdc++-v3,liblto_plugin --with-bugurl=https://bugs.launchpad.net/gcc-linaro --with-pkgversion='Linaro GCC 2014.05' --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/buildslave/workspace/BuildFarm/label/x86_64/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 4.9.1 20140422 (prerelease) (Linaro GCC 2014.05)
ToDO: Give me FEATURE REQUESTS!!!
It is OK to bug me about ETAs, otherwise I just might not even put anything out lol
Click to expand...
Click to collapse
Source: https://github.com/rbheromax/android_kernel_htc_msm8974
Reserved
Changelog:
V0:
Current bugs:
* FFC (Front Camera)
* Back Camera
* Likes to SOD (Sleep of Death) while on ART
* You tell me...​
your putting in major work bro,i can see you taking this phone to some great places :good:
@rbheromax, Kali Man and I have been working on CM11 for a few weeks now, i originally started the rom development and he is helping with rom and kernel. We are very close to having a fully working Cm11 port, Then on to CM12
shinru2004 said:
@rbheromax, Kali Man and I have been working on CM11 for a few weeks now, i originally started the rom development and he is helping with rom and kernel. We are very close to having a fully working Cm11 port, Then on to CM12
Click to expand...
Click to collapse
hey for a part of the cm11 could there be a way to get rid of the emulated sd card like entirely?
or have the system use symbolic linking like it has on stock?
Is the download link down? I'd like to test this kernel please.
Muhff said:
Is the download link down? I'd like to test this kernel please.
Click to expand...
Click to collapse
what every happen to the cm11 kernel..... forgotin rom....
---------- Post added at 12:36 PM ---------- Previous post was at 12:33 PM ----------
smiley45 said:
what every happen to the cm11 kernel..... forgot rom....
Click to expand...
Click to collapse
what is the best Linux to use to try and port cm11 and 12 form a5 to your phones. I was think BBQ Linux instead of Ubuntu 13.10 with Ubuntu 13.10 I failed so many times and they say BBQ have everything for android dev. please let me know and just a note I am still learning so a clean answer would be nice.........................
smiley45 said:
what every happen to the cm11 kernel..... forgotin rom....
---------- Post added at 12:36 PM ---------- Previous post was at 12:33 PM ----------
what is the best Linux to use to try and port cm11 and 12 form a5 to your phones. I was think BBQ Linux instead of Ubuntu 13.10 with Ubuntu 13.10 I failed so many times and they say BBQ have everything for android dev. please let me know and just a note I am still learning so a clean answer would be nice.........................
Click to expand...
Click to collapse
We've still got kernels, we've got an Omni kernel and a CM kernel, we can build a kernel just fine, EVERYTHING ROM side starts to break into pieces.
To answer your question, I switch between Arch and Mint quite frequently and @rbheromax uses Ubuntu.
I've never heard of BBQ, but it appears to be a just a spin-off of Arch (which is generally not a beginner-friendly dirstro).
Also you'll have to download the sources for whatever you decide to dev for and there's no way that comes bundled with BBQ.
dip_spit said:
We've still got kernels, we've got an Omni kernel and a CM kernel, we can build a kernel just fine, EVERYTHING ROM side starts to break into pieces.
To answer your question, I switch between Arch and Mint quite frequently and @rbheromax uses Ubuntu.
I've never heard of BBQ, but it appears to be a just a spin-off of Arch (which is generally not a beginner-friendly dirstro).
Also you'll have to download the sources for whatever you decide to dev for and there's no way that comes bundled with BBQ.
Click to expand...
Click to collapse
http://www.google.com/url?sa=t&rct=...9Ygt6pjJHA_Ic9abQ&sig2=cibdhoVUjSQxZ3Uz2xaeEw
thanks for the advice. I was reading about the bb q Linux form here . I thought it might help me out. but I just going to stay with Ubuntu or I will try the new Ubuntu mate 15.04 and see where it goes..... thanks again.
smiley45 said:
what is the best Linux to use to try and port cm11 and 12 form a5 to your phones. I was think BBQ Linux instead of Ubuntu 13.10 with Ubuntu 13.10 I failed so many times and they say BBQ have everything for android dev. please let me know and just a note I am still learning so a clean answer would be nice.........................
Click to expand...
Click to collapse
I wasn't going to answer this question as I am not as advanced as the Devs for this phone, I'm more intermediate, but I love Ubuntu 14.10. It is very user friendly and I have been able to simply do Google searches and ask a couple of questions to do everything I want to do on it. Ubuntu is pretty much self-correcting. If you try to install something and you are missing a prerequisite, it lets you know, or if it doesn't work quite right a Google search will always answer your inquiry.
rbheromax said:
Reserved
Click to expand...
Click to collapse
Can you also please provide a CM11 build with the latest repo sync (and your awesome kernel included)? Thanks.
Download link by chance?
shinru2004 said:
@rbheromax, Kali Man and I have been working on CM11 for a few weeks now, i originally started the rom development and he is helping with rom and kernel. We are very close to having a fully working Cm11 port, Then on to CM12
Click to expand...
Click to collapse
I'm interested in compiling cm12.1 and helping to debug the build process, however, there are so many device trees and kernel repos that I don't know which ones to use. Could you point me towards the ones that you use and will be using for cm-12.1?
r3pwn said:
I'm interested in compiling cm12.1 and helping to debug the build process, however, there are so many device trees and kernel repos that I don't know which ones to use. Could you point me towards the ones that you use and will be using for cm-12.1?
Click to expand...
Click to collapse
shinru isnt in the dev scene anymore ,heres rbheromax's dev tree,he said its ready for cm12
https://github.com/rbheromax/android_device_htc_a11
pattyboi:) said:
shinru isnt in the dev scene anymore ,heres rbheromax's dev tree,he said its ready for cm12
https://github.com/rbheromax/android_device_htc_a11
Click to expand...
Click to collapse
Sweet, thanks. Which kernel branch should I use?
r3pwn said:
Sweet, thanks. Which kernel branch should I use?
Click to expand...
Click to collapse
He has a cm12 branch in his kernel source,that'd be ur best bet right now
pattyboi:) said:
He has a cm12 branch in his kernel source,that'd be ur best bet right now
Click to expand...
Click to collapse
I do? Hmmm guess I might as well keep working on it
pattyboi:) said:
He has a cm12 branch in his kernel source,that'd be ur best bet right now
Click to expand...
Click to collapse
rbheromax said:
I do? Hmmm guess I might as well keep working on it
Click to expand...
Click to collapse
I don't see one. All I see is 3.4.0-stable, 3.4.0-cm, 3.4.0-experimental, 3.4.0-nw, 3.4.0-stock, and 3.10.28-stable. I'm guessing you meant the 3.4.0-cm one, but the default branch is set to 3.4.0-stable.
EDIT: Yes, it is the 3.4.0-cm one.
r3pwn said:
I don't see one. All I see is 3.4.0-stable, 3.4.0-cm, 3.4.0-experimental, 3.4.0-nw, 3.4.0-stock, and 3.10.28-stable. I'm guessing you meant the 3.4.0-cm one, but the default branch is set to 3.4.0-stable.
Click to expand...
Click to collapse
It's the cm one my man,my bad thought it was labeled cm12

[MultiROM] Debian for the Moto G

After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Dowloads​debian.mrom
setup_net.sh
The kernel is Optimus kernel by Flashhhh with a custom config
.
XDA:DevDB Information
Debian for the Moto G, ROM for the Moto G
Contributors
dvdkon
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: Debian
Version Information
Status: Testing
Created 2015-08-21
Last Updated 2015-08-29
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
navaneethkom said:
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
Click to expand...
Click to collapse
If I understand is a complete pc system , not a touch optimize system.Very useful for numerical computation, testing or something of similar.
The Ubuntu touch forum is this http://forum.xda-developers.com/moto-g/development/ubuntu-touch-utopic-ubuntu-touch-falcon-t2820359
I don't now if it is working on MultiRom.
(Sorry for my bad english)
good job D:
i've tried debian into android with the normal installer but this is awesome!
Thanks you!!
Enviado desde mi XT1032 mediante Tapatalk
What is this for? It is a PC for mobile Debian ?
Fedello7 said:
What is this for? It is a PC for mobile Debian ?
Click to expand...
Click to collapse
It is for Multirom, which is a program for dual booting an OS on an Android phone. Try searching.
Is it using a LXC Container ?
Where could I find kernel sources ?
h2o64 said:
Is it using a LXC Container ?
Click to expand...
Click to collapse
No, I'm just starting Debian instead of Android with my custom init script.
h2o64 said:
Where could I find kernel sources ?
Click to expand...
Click to collapse
I'm using the Optimus kernel with a few options changed (the config).
dvdkon said:
No, I'm just starting Debian instead of Android with my custom init script.
I'm using the Optimus kernel with a few options changed (the config).
Click to expand...
Click to collapse
Kernel changes are just about internet stuff isn't it ?
h2o64 said:
Kernel changes are just about internet stuff isn't it ?
Click to expand...
Click to collapse
I've only enabled sockets for all users and devtmpfs (for initramfs).
dvdkon said:
I've only enabled sockets for all users and devtmpfs (for initramfs).
Click to expand...
Click to collapse
Alright, thank you.
PS : Btw, do not forget to mention @Flashhhh for the kernel in the OP
The display work? The touch? A is for computer in a smartphone? Wow
Can anyone catch up to see how it looks ?
SLATE21&MOTOG said:
The display work? The touch? A is for computer in a smartphone? Wow
Click to expand...
Click to collapse
Nothing but USB works as of now, but I'm currently working on the display.
dvdkon said:
After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Click to expand...
Click to collapse
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
sub77 said:
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
Click to expand...
Click to collapse
Sorry for the late reply.
I have made sure that the firmware gets loaded properly, though that was a problem at first. I'm not so sure about the MAC address, though. If you get any further information, please post it in this thread. Development is currently its only purpose.
Something new??
Enviado desde mi Moto G mediante Tapatalk
luteriace said:
Something new??
Enviado desde mi Moto G mediante Tapatalk
Click to expand...
Click to collapse
i have wifi running. next step is framebuffer.
Is there a way of help you with this?
I'd love to see this running on falcon.

[NETHUNTER] Kali NETHUNTER

NetHunter -
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks. Beyond the penetration testing tools arsenal within Kali Linux, NetHunter also supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks and is built upon the sturdy shoulders of the Kali Linux distribution and tool sets. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page. NetHunter is an open-source project developed by Offensive Security and the community.
Instructions -
1. Install any ROM of your choice (AOSP, CM, Tesla)
2. Flash Gapps
3. Reboot
4. Setup your phone settings.
5. Go to Recovery and flash nethunter zip.
6. Reboot (It might reboot a couple of times, please setback)
7. Open NetHunter app to finalize settings.
Notes -
- Major portion of Kali works on kernel. I'm maintaining a kernel specifically designed for this. Flashing of any other kernel will result in unprecedented consequences.
- There are underlying issues which might cause a reboot when PEN-TESTING. Personally, I had very very very few reboots while testing.
- I have tested this extensively with ath9k_htc wireless adapter. Problems might arise with it, but I have created solutions too.
- If anyone who has knowledge in pen testing and is willing to contribute, let me know following things works or NOT.
Wireless Injection - Working with ath9k_htc. RALINK, Realtek supported but not tested.
Bluetooth interfaces USB hacks - Not tested, since I have no knowledge nor time to learn it.
Y cable - This is also not tested, since I don't have any resources left to buy new stuff.
Other Pen testing stuff - Again, not tested. But I have checked cSploit on my network and it works awesome.
Bugs :
1) Since PRIMA wlan is built-in, when our external adapter is disconnected there is a kernel panic and it reboots.
Other things????
XDA:DevDB Information
[NH] Kali Nethunter, ROM for the Sony Xperia ZR
Contributors
Daedroza, Daedroza, binkybear
Source Code: https://github.com/daedroza/nethunter_kernel_apq8064
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2016-09-26
Last Updated 2016-09-26
Reserved
Renjen-n00b said:
for atheros chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-atheros"
4- check "airmon-ng" after re-plugging your adapter
-----------------------------------------------------------------------------​
for realtek chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-realtek"
4- check "airmon-ng" after re-plugging your adapter
-----------------------------------------------------------------------------​
for chips other than (realtek or atheros) users are asked to follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-misc-nonfree"
4- check "airmon-ng" after re-plugging your adapter
Click to expand...
Click to collapse
- Also, remember that only 4 gigs is available after CM install. After chroot even less.
So, you might wana selectively install the pen-testings tools you want, unless you're using internal+external configuration.
Reserved
Download 1 -
https://drive.google.com/open?id=0B9yrk5QZnasiaUJXUVNSWTA5dWc
updated kernel(flash this over previous zip) and boot :
https://drive.google.com/open?id=0B9yrk5QZnasiaUJXUVNSWTA5dWc
Stuff to setup for wireless pentesting :
https://raw.githubusercontent.com/daedroza/bash-scripts/master/setup-for-work.sh
Sorry i have questions
1- its work on cm 13?
2- with this can i use aircrack
3- please insert screen shot?
Thanks
ostadmaster said:
Sorry i have questions
1- its work on cm 13?
2- with this can i use aircrack
3- please insert screen shot?
Thanks
Click to expand...
Click to collapse
Yes, and yes.
i didn't understand , it's a rom or app ?
and how i can delete it if it doesn't work well ?
Device must be UB or BL ?
Support to XZR Docomo/A?
Can't install linux-headers 3.4.0-perf-gbccb33a
Daedroza said:
- Also, remember that only 4 gigs is available after CM install. After chroot even less.
So, you might wana selectively install the pen-testings tools you want, unless you're using internal+external configuration.
Click to expand...
Click to collapse
Can't install linux headers 3.4.0-perf-gbccb33a ??
Pliz give me solution?
aggunawan said:
Can't install linux headers 3.4.0-perf-gbccb33a ??
Pliz give me solution?
Click to expand...
Click to collapse
Probably because there is 3.4.112 kernel present. You cannot overwrite this due to restrictions of Android system, what you are trying to achieve?
Daedroza said:
Probably because there is 3.4.112 kernel present. You cannot overwrite this due to restrictions of Android system, what you are trying to achieve?
Click to expand...
Click to collapse
Is there a custum kernel for LB users ?
Pliz
aggunawan said:
Is there a custum kernel for LB users ?
Pliz
Click to expand...
Click to collapse
No, the old stock ROM is bloated with security holes. You need a unlocked boot loader to flash a Kernel anyways, so why not use a custom ROM in first place and install this overlay without any troubles.
Im on tesla mm will it still be necessary to flash kernel ,this mm is on your airless kernel ?
An error occurred during the installation.
Hey. When I try to flash this zip, I get an error 1. Error: unable to extract! The zip may be corrupt or your device may not have enough RAM to proceed. Consider using a smaller installer if it is available. CM 13, the kernel is 3.4.112-cm, android is 6.0.1.
(TitTitTit) said:
Hey. When I try to flash this zip, I get an error 1. Error: unable to extract! The zip may be corrupt or your device may not have enough RAM to proceed. Consider using a smaller installer if it is available. CM 13, the kernel is 3.4.112-cm, android is 6.0.1.
Click to expand...
Click to collapse
Sorry, I haven't lately keeping track of this project.
It worked fine for me 6 months ago, that time we used 2.8.70 TWRP I guess.
Daedroza said:
Sorry, I haven't lately keeping track of this project.
It worked fine for me 6 months ago, that time we used 2.8.70 TWRP I guess.
Click to expand...
Click to collapse
YEEEEEEEEEEEEES, It was installed, thank you very much.
It does not quite work. I'm trying to pick up VNC, but the terminal print "command not found".
can this installed on custom rom with locked bootloader.?
download links not working!!
Please master @Daedroza, can you compile kernel for minitor mode internal wifi (wlan0) ?
@Daedroza . And please make the kernel support to magisk??
aggunawan said:
Is there a custum kernel for LB users ?
Pliz
Click to expand...
Click to collapse
Can this kernel use in Existenz ??

Categories

Resources