[Q] Installing Kali linux on lg g3 - Sprint LG G3

I have been trying for a few weeks to install kali linux on my lg g3. So far with no luck I have tried every guide on the internet but all have failed me can someone give me a detailed walkthrough on how to do so? my sd card is formatted and partitioned to fat32. I wish to install kali to the second 14 gig partition I made and named ext2. my phone is rooted with busy box installed it is the lg g3 S990 runing stock rom 5.0.1
anyone have any experience with this?

Here are some screen shots

Here are some screen shots

I don't think that you can..... They don't offical support it and there is a lot of things you have to take into effect. For example kernel, arm version, and hardware, wifi chips, touch screen drivers and a WHOLE LOT MORE!.

What would you suggest then? I'm debating getting a nexus 7 and installing nethunter on it would that be better??? I've been able to get quite close to having it work

turatt said:
What would you suggest then? I'm debating getting a nexus 7 and installing nethunter on it would that be better??? I've been able to get quite close to having it work
Click to expand...
Click to collapse
You can try that

GOOD NEWS (maybe)
I am able to get kali running through the complete linux installer app BUT it appears to be missing all pentesting tools and has no gui because vnc viewer wont connect but it does at least behave the way the app makers say it should :/

turatt said:
I am able to get kali running through the complete linux installer app BUT it appears to be missing all pentesting tools and has no gui because vnc viewer wont connect but it does at least behave the way the app makers say it should :/
Click to expand...
Click to collapse
Well, that's a start...
You can try opening a terminal and running: sudo apt-get install aircrack-ng

It says files are corrupted and cannot be read :/ ithink I will try limbo pc emulator instead will post the results

turatt said:
It says files are corrupted and cannot be read :/ ithink I will try limbo pc emulator instead will post the results
Click to expand...
Click to collapse
OK

So after many weeks of working day and night I finally have time to sit and tinker will post updates in the coming days

turatt said:
So after many weeks of working day and night I finally have time to sit and tinker will post updates in the coming days
Click to expand...
Click to collapse
Have you just looked into installing it onto like raspberry pi or a Chromebook or something? It seems pretty easy..... Plusnit might work better then the phone.

If I can't get to work ill be switching to a nexus seven with nethunter. I found a guide on how to run kali in limbo pc emulator and it appears to work to some extent but I get no gui nothing. I fear the iso file may be corrupted. Ill post screenshots next

turatt said:
If I can't get to work ill be switching to a nexus seven with nethunter. I found a guide on how to run kali in limbo pc emulator and it appears to work to some extent but I get no gui nothing. I fear the iso file may be corrupted. Ill post screenshots next
Click to expand...
Click to collapse
Just install gnome fallback or something....
Or open a terminal and try running "startx"

Here are my screenshots.
http://ikrami.net/2014/05/26/kali-linux-android/
This is the guid I have been using^

Just tried again with a new iso and limbo stopped working I will try reinstalling and wipeing cache in recovery.

turatt said:
Just tried again with a new iso and limbo stopped working I will try reinstalling and wipeing cache in recovery.
Click to expand...
Click to collapse
It could just be the arm version of our phone.... What are you trying to do with Kali?

Just run it I have a pwn box for mobile hacking so I can bluesnarf and do alot of fun things. I'm doing freelance pin testing so I thought it would be nice to be able to do those things on my phone without having to lug my laptop out

turatt said:
Just run it I have a pwn box for mobile hacking so I can bluesnarf and do alot of fun things. I'm doing freelance pin testing so I thought it would be nice to be able to do those things on my phone without having to lug my laptop out
Click to expand...
Click to collapse
OK, cool
Then I guess the nexus 7 is your best guest unless you get something like a Samsung S2 and put it in monitor mode and use aircrack-ng. Also the raspberry pi thing is pretty good if your like pretty handy you can wire up a battery, pi, and screen then just use a wireless keyboard.
S2 link: https://www.google.com/url?sa=t&sou...mgJhCRpHtESmUYXTw&sig2=IeGml16hwDKXeV9V7JXwRg

You can install kali linux on linux deploy and run with android VNC
I am running with linux deploy it on my AT&T 3g.
Im pretty sure your problem is in your configuration on preferences. Generally the SD is formatted to FAT which has maximum image file size 4095 MB. So pretty much if you want kali tools then hypothetically you could reformat your SD or external to ext4. There is also a permissions problem because of the image location. Here's how I got around it for now, I just started altering this phone 2 days ago so I'll keep you updated if you want. I moved the environment location to a folder in SD and it has consistently held up to 6000MB which is plenty for the os, necessary additions and a few fun kali tools.
Here's my mini pictorial, it's only my second post so maybe this will help.
Just do the settings like mine, Wait forever while it installs then after it finishes hit reconfigure. It takes a couple of minutes to reconfigure then you press start and wait until it's finished loading, press your home button, open VNC, make sure your port is 5900 and default password is "change me"
Open up a terminal and type "sudo su" make a password, update and make sure you have fun.
When you're finished go back to linux deploy, press stop and then use the menu button to exit the app

Related

Ubuntu on A101

Ive managed to run Ubuntu Netbook Remix on the A101 in SDE.
By run i mean i see GDM, because the driver for the touchscreen seems not to be working.
What ive did was, i took an image from here: http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/ and copied everything from the data partition to a new .img file. Also ive copied the modules from the angstrom rootfs.img.
Then just copied over my rootfs.img over the angstrom one and booted.
There seems to be lots of issues, mainly, i guess, because the init script in the initrd should do something, the one from angstrom doesnt.
Also the kernel-log says it cant read the /proc/ filesystem.
I uploaded my rootfs img to rapidshare for you to try for yourselfes, maybe someone can pick up from here and build a really working kernel+initramfs.
http://rapidshare.com/users/KVLF41
I know it's not working out of the box but it's still pretty cool! IBy netbook remix you mean the new Unity UI correct>
Yes, but as i could not login,i havent seen if the windowmanager works correctly.
gomork said:
Ive managed to run Ubuntu Netbook Remix on the A101 in SDE.
By run i mean i see GDM, because the driver for the touchscreen seems not to be working.
Click to expand...
Click to collapse
Kudos! - You could just try to plug in a usb mouse/keyboard into the usb port - it's usb host (mouse and keyboard work in android)
I'd love to see some more action with this. A mouse+keyboard should at elast get you access to the desktop and thus, terminal. From there, enabling the touch screen should be within arms reach.
To experiment for myself, could you write together a fool proof (noob proof) guide to get to where you're at?
casimir007 said:
Kudos! - You could just try to plug in a usb mouse/keyboard into the usb port - it's usb host (mouse and keyboard work in android)
Click to expand...
Click to collapse
i tried that, but it did not work. But that might be because the only Device i have here to test is some wireless usb mouse, which might need some other drivers.
Im currently working on an image with the xserver-xorg-input-evtouch driver built-in. I hope that gets the touchscreen working in X11.
To get started:
Get some Ubuntu.
Install rootstock using: sudo apt-get install rootstock.
Run rootstock:
sudo rootstock --fqdn archos-ubuntu --login ubuntu --password ubuntu --keepimage --imagesize 2G --seed ubuntu-netbook
That one generates an .img file you can copy over your existing rootfs.img.
hi,
I'm very interested to get ubuntu working on archos 101
I've tried your instructions to build an image but it stops after:
...
Setting up software-center (3.0.4) ...
No protocol specified
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
WARNING:root:Failed to setup dbus (ignoring)
Setting up xul-ext-ubufox (0.9~rc2-0ubuntu5) ...
Setting up ubufox (0.9~rc2-0ubuntu5) ...
Processing triggers for python-central ...
Setting up xserver-xorg-core (2:1.9.0-0ubuntu7) ...
Setting up gamin (0.1.10-1ubuntu3) ...
Setting up firefox-branding (3.6.10+build1+nobinonly-0ubuntu3) ...
Setting up mono-2.0-gac (2.6.7-3ubuntu1) ...
Setting up mono-gac (2.6.7-3ubuntu1) ...
* Installing 3 assemblies from libappindicator0.1-cil into Mono
i had to ctrl+c, because i tas going no where for about an hour.
I guess it needs display ? ..but i don't know how to solve this
Maybe you could try with an imagesize of 3G or another release like karmic.
i did, my first try was with 2Gb, but didn't finish because it went out of space
then I've tried with 3Gb and stoped as i wrote
I had that problem too once.. Just trying again might work rootstock seems to be a bit buggy.
A little update: usb-mice work, when the modules are copied in /lib/modules in the image, but only when no computer is connected on the mini-usb port, that was the problem in the first place.
Wlan driver extracted from stock archos android can be loaded too, but i didnt manage to get the firmware to load yet.
Ps: a happy new year to all of you.
Sent from my U20i using XDA App
I've tried this image http://forum.xda-developers.com/showpost.php?p=10190468&postcount=38
boots really fast to desktop (10 seconds), but touchscreen don't work, also tried with mouse but nothing
please delete post
could be nice if we run Ubuntu on Gen8
Maybe the image from this thread:
http://forum.xda-developers.com/showthread.php?p=10486278
will get us a little further?
gomork said:
Im currently working on an image with the xserver-xorg-input-evtouch driver built-in. I hope that gets the touchscreen working in X11.
Click to expand...
Click to collapse
Any luck with this?
Would offer to help, but am pretty much a n00b dev at this point >.<
Good God, how awesome it'd be to have a USEABLE distro of linux on the 101 or 70. I love using linux (i have linux mint installed on all 3 computers in my home) and it'd be excellent if i could install an embedded version on my tablet, but alas, i'm a plumber not a programmer! So if someone could post a few links or tutorials to get us started ( as i'm sure there are plenty of gen 8 owners who feel the same as me ) it'd be much appreciated.
Q. Does the 101 it have the same hardware components as the 5 it? The reason i ask is that i think there is a working version of ubuntu nbr for this device and im pretty sure it has the same processor as the gen 8 tablets ( cortex arm a8 ).
Q. Would an amature linux geek like me have any hope of porting it over to our device?
Q. Would it work natively or would we need to modify it?
If anyone else has an interest in having ubuntu on their tablet please post as we have to get this bumped up the list of to do's. BTW, thanks to all you guys in advance and best of luck.
shameless bump for a worthwhile cause!
EDIT:
also, if they can port it to the nook color...
http://forum.xda-developers.com/showthread.php?p=10306407
and, here is a link to a german site where the dev managed to use ubuntu nbr on an a70it using the vpn method:
http://www.android-hilfe.de/archos-70-forum/59607-ubuntu-auf-dem-a70it-es-laeuft.html
pfarrelliv said:
shameless bump for a worthwhile cause!
and, here is a link to a german site where the dev managed to use ubuntu nbr on an a70it using the vpn method:
http://www.android-hilfe.de/archos-70-forum/59607-ubuntu-auf-dem-a70it-es-laeuft.html
Click to expand...
Click to collapse
that's only running via vnc - that means no drivers for display and touchscreen and unfortunately won't get us much further
yes it's just a chroot so you can imagine as a ubuntu running with the android kernel. you could try mux the drivers from the angström to the ubuntu kernel and compile the kernel for arm processors this could work, at least integrating ev-touch will help a lot. search for google for ubuntu4arm and you will find some howto.
the reason why i'm outta this is i have not much time at the moment and without a usable on-screen-keyboard (and at the moment there is none) ubuntu is worthless for me on the tablet.
Why o why have there been so few posts on this subject? Are we the only one's interested or is it just too much work to get another version of linux on the gen 8 devices? Really not trying to be rude to any of the developers on xda because i think you guys are awesome, really, but could someone please tell us if this is a worthwhile cause or a pure waste of time and effort.

HD2 ToolBox app and linux Hot BootLoader

After a long time it's a moment to realease HTC HD2 ToolBox app with HBL. Small app that will allow you to boot linux inside android, and display everything on screen or through VNC connection. ToolBox app is also redesigned and added some new functions.
In pack is barebone debian distro with xfce4 interface.
There is also posibility that this app and HBL will work on other phones like leo (desire, nexus one ...)
Everything else you need to know is in Readme file.
Bug reports or suggestions on this thread, i'll answer when i'll get some time.
Enjoy !!!
EDIT: I added Readme file to this post so lazy people can read everything before downloading pack, or asking silly questions!
EDIT 2: I'm currently working on support for sdcard roms and other non-working builds. Also i would like to mention that is possible to run ANY linux distro with HBL (with some modifications) or even to run another android rom!
So consider this early versions only as "technology preview", more support and bug-fixes in next few days...
P.S Thank you all for your support !
Download Link
wow awesome
Does it work within Android like vns versions?
I've been waiting for (something similar, but this should do the work) such an app.
Thank you.
@hd# ..
Read the "Read-me" file ?
been waiting for this too.
But my broadband is down and I've already exceeded my monthly data allowance using wifi tether (500mb !!!)
... might have to do it anyway
Edit; still downloading... I assume there is no sound enabled on this
hi
can i boot ubuntu with it?
hi first big thanks for your hard work.
now i need some help to get linux running from HBL.
i´m using kingdom sense3 rom from dungphp.
i installed hd2 toolbox and copied linux folder to root of sd card.
i installed HBL (Busybos is installed in version 1.19.x.x) i took rootexplorer and give /system/bin/ write permissions for owner/groups/others.
But i need initd support: what i have to do to get this?? or is it on my rom?
please help cause at the moment i´ve bootloops everytime i want to boot linux.
Thank's a lot for this! I've been waiting for this for for a while!!!
So if I understand this right.... which I don't think I did at first..... this is basically the same thing as booting ubuntu and connecting to it with vnc, the ubuntu that is in another thread.... i ask because what I am looking for is usb host support.... which I don't believe is possible with the other ubuntu that boots in android.... and I think if I undestand this right... is not possible with this one either......i do appreciate the work done on this app a lot.... but to me, it's useless unless usbhost is supported because of tiny menus and buttons not being easily clickable with fingers..... so I want to use my wireless mouse that has a usb receiever......
edit: download finally finished, I tried it out.... I really like it, couple questions.... is it normal for shutdown not to work? I chose to boot and show on local screen instead of vnc..... when I did that, it started fine, I messed around a little, then tried to shutdown... it said shutdown command failed or something similar.... then rebooted android..... and when you choose to boot on local screen, is this kicking android out so it's only linux, kind of like haret and booting android from winmo off sd? And last, is it possible for usbhost?
Edit2: I could barely see the text at the bottom of the hotboot screen that says to use log out feature to return to android... I did that instead of shutdown, there were no errors and it went to my android boot animation, then booted back to android just fine.....
Its working well. Thanks .I have the same question as Diesburg does. One more how to make right click.
diesburg said:
So if I understand this right.... which I don't think I did at first..... this is basically the same thing as booting ubuntu and connecting to it with vnc, the ubuntu that is in another thread.... i ask because what I am looking for is usb host support.... which I don't believe is possible with the other ubuntu that boots in android.... and I think if I undestand this right... is not possible with this one either......i do appreciate the work done on this app a lot.... but to me, it's useless unless usbhost is supported because of tiny menus and buttons not being easily clickable with fingers..... so I want to use my wireless mouse that has a usb receiever......
edit: download finally finished, I tried it out.... I really like it, couple questions.... is it normal for shutdown not to work? I chose to boot and show on local screen instead of vnc..... when I did that, it started fine, I messed around a little, then tried to shutdown... it said shutdown command failed or something similar.... then rebooted android..... and when you choose to boot on local screen, is this kicking android out so it's only linux, kind of like haret and booting android from winmo off sd? And last, is it possible for usbhost?
Edit2: I could barely see the text at the bottom of the hotboot screen that says to use log out feature to return to android... I did that instead of shutdown, there were no errors and it went to my android boot animation, then booted back to android just fine.....
Click to expand...
Click to collapse
HBL actually shuts down all android processes (except init and some critical ones) and then switches to linux. It's normal for shutdown not to work right now, in future it will work but for now use log out to exit from linux. USB Host support for now is not possible without modified kernel, but i'm working on custom kernel with usb-host/normal mode switching.
I must admit i didn't have much time to work on this project so many things can be improved, and i hope in fallowing days/weeks i will have much needed time to work on it. So everything is still a "prototype"!
@alltome
99.99% of custom roms have init.d support, just check if you have init.d directory in /etc.
Hi managed to install HBL but when I try to start linux using local screen the screen just hangs on "loading linux..." for ages. Tried vnc but doesn't work either. it doesn't seem to start shutting down android because if I press hardkey back button the phone is normal.
tried changing "writtable" statuses on the mount screen, but no joy. Is this what you mean by " writable /system/bin folder", or must I use rootexplorer?
Many thanks
u rock
hey dan1j3l HBL works flawlessly
keep on rockin'
Robbie P said:
Hi managed to install HBL but when I try to start linux using local screen the screen just hangs on "loading linux..." for ages. Tried vnc but doesn't work either. it doesn't seem to start shutting down android because if I press hardkey back button the phone is normal.
tried changing "writtable" statuses on the mount screen, but no joy. Is this what you mean by " writable /system/bin folder", or must I use rootexplorer?
Many thanks
Click to expand...
Click to collapse
The same problem for me, stuck at "HTC HD2 ToolBox loading linux.." screen
I'm using MIUI Offician 1.5.20
All those with problems starting HBL can you send me output of these few commands so i can get more info (use adb shell)
busybox ps | grep hbl
busybox mount
busybox ls -la /system/bin/hbl
busybox ls -la /etc/init.d
busybox df -h
Hello dan1j3l First of all I'd like to Thank you for your hard work and this cool app which has great potential...
now that being said, I'm also having some troubles like stated above from other users i managed to install HBL (i think, cause i got the success message when clicking install HBL) but when I try to start linux using local screen, the screen just hangs on "loading/booting linux..."
Below i attached the output from commands on adb shell
Have the info you wanted.
Thanks dan1j3l
Have also added signature below
Robbie P said:
Have also added signature below
Click to expand...
Click to collapse
Hmm... I see you are using sdcard rom, never tested HBL with sdcard roms. It seems i need to make a different installer for sdcard builds... I will try to test it this weekend, then i will know more.
when i try to start hbl my phone vibrates two times and restarts. but it starts already with the bootanimation. then it boots back to android.
i'm using ndt miui. busybox is installed and linux image is in the root of the sdcard in linux folder.

apps and scopes available

hi im looking at maybe buying a ubuntu phone on the next flash sale or intsalling it on my nexus 5 and 7
but not sure if its good enough on the nexus 5 and just worth trying to buy one
two questions how does it run now on nexus 5 is it ready for day to day use and will the operating system be current like the one on the ubuntu phone
and were do i find a list of scopes and apps available
like i want to run nvpy can i just install as i do native like on a ubuntu
many thanks
wayne
Here's an unofficial store frontend: https://appstore.bhdouglass.com/apps
And yes, you can install debian packages, but that breaks OTA updates.
update
And yes, you can install debian packages, but that breaks OTA updates.[/QUOTE]
i change to and remounted RW
and did update and upgrade all worked fine but killed my dual boot
so if i did RW and then update
and installed say lifeograph would it install that package and be useable from the repository?
wayneward said:
And yes, you can install debian packages, but that breaks OTA updates.
Click to expand...
Click to collapse
i change to and remounted RW
and did update and upgrade all worked fine but killed my dual boot
so if i did RW and then update
and installed say lifeograph would it install that package and be useable from the repository?[/QUOTE]
Did you upgrade using the system settings update mechanism? That won't be blocked and the update will seem to work, but things will break after some time, just like your dual boot, especially when you start installing custom packages.
Theoretically, the application should work, but you're going to have to set up XMir properly to run X applications. If you are interested in doing that, the guy who made this video is the one who can tell you: https://www.youtube.com/watch?v=c3PUYoa1c9M
This video may be helpful, too: https://www.youtube.com/watch?v=XfMLzlki9XE
AND you'll have to install the devel-proposed channel as stable/rtm doesn't contain the necessary software yet.
I got root write - updated and upgraded and it killed my nexus 5 install basicaly wrote over the boot sector I think !
Can I not get a chroot for ubuntu apps I have on ubuntu and would they run? For example lithograph?
Ill take a look I've installed the sdk to test as well I'm certain these apps will get added soon scopes are great but being able to install ubuntu apps like lifeograph and other apps would be amazing.. Is this on the cards or do the developers have to release the touch apps version ?
Sent from my awesome Ubuntu Touch device using the Forum Browser app
wayneward said:
I got root write - updated and upgraded and it killed my nexus 5 install basicaly wrote over the boot sector I think !
Can I not get a chroot for ubuntu apps I have on ubuntu and would they run? For example lithograph?
Ill take a look I've installed the sdk to test as well I'm certain these apps will get added soon scopes are great but being able to install ubuntu apps like lifeograph and other apps would be amazing.. Is this on the cards or do the developers have to release the touch apps version ?
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Click to expand...
Click to collapse
I'm sorry for you killing your boot sector. Were you able to set up everything again?
I tried the chroot method some time ago but you still need to install the necessary packages for that using apt-get. So you need a writable system again...
You could, however, try to package the apps as a click package yourself. I've never tried that and I don't know of anyone who did, but if you ship xmir and the application in a click package, it should work.
I just had to reinstall and re-root was good really because got it set up right now.
I'm did a emulated rw and compiled lifeograph from source that it might work but it wont connect to mir using cmake there must be a use flag or ill look are cross compiling maybe.. Does it create a click package or a deb ? Ill take a poke around in apt cache to look at packages already cached from install
Sent from my awesome Ubuntu Touch device using the Forum Browser app
wayneward said:
I just had to reinstall and re-root was good really because got it set up right now.
I'm did a emulated rw and compiled lifeograph from source that it might work but it wont connect to mir using cmake there must be a use flag or ill look are cross compiling maybe.. Does it create a click package or a deb ? Ill take a poke around in apt cache to look at packages already cached from install
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Click to expand...
Click to collapse
Great that you got it sorted out.
There's a trick to get the app working on Mir: Lifeograph is an app for the X window system. To make it run with Mir, there's a software called Xmir. Check out whether it's in the repos. If not, the source code should be online somewhere.
The app is probably going to compile as a debian package though. Either you stay with your phone in rw mode or you look into packaging it as a click package. The latter might be a little bit more difficult.

Request kali nethunter

Dear Santa can you please port kali nethunter to z5 compact.
+1
Ha, been playing with Kali on LinuxDeploy here and there. Have to say though, NetHunter looks like a nice porting project....... Wish I knew how to port properly.
Have been trying to learn how to do all that is needed for the port.
Started of course here https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
Grabbed what is needed https://github.com/offensive-security
Then moved over to Sony for this http://developer.sonymobile.com/open-devices/how-to-build-and-flash-a-linux-kernel/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices/
Grabbed the Xperia Binaries here http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-marshmallow-6-0-1/
Lots of readmes and errors so far, lol but a mistake is the best learning experience.
I'll keep trying when I have time but till then Yeah Nethunter would be a nice port:fingers-crossed:
Tingles said:
Ha, been playing with Kali on LinuxDeploy here and there. Have to say though, NetHunter looks like a nice porting project....... Wish I knew how to port properly.
Have been trying to learn how to do all that is needed for the port.
Started of course here https://github.com/offensive-security/kali-nethunter/wiki#70-porting-nethunter-to-new-devices
Grabbed what is needed https://github.com/offensive-security
Then moved over to Sony for this http://developer.sonymobile.com/open-devices/how-to-build-and-flash-a-linux-kernel/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices/
Grabbed the Xperia Binaries here http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-marshmallow-6-0-1/
Lots of readmes and errors so far, lol but a mistake is the best learning experience.
I'll keep trying when I have time but till then Yeah Nethunter would be a nice port:fingers-crossed:
Click to expand...
Click to collapse
Have you seen this? https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
donthomaso said:
Have you seen this? https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
Click to expand...
Click to collapse
yeppers, and thanks for pointing that out for others to discover.
My problem right now is my setup. VMWare-Kali Guest, openjdk-8 blah blah blah...... I just started playing about a week ago and trying to watch my bandwidth.
Started a VMWare-Ubuntu Guest today because all the help files I was reading was using that OS so figured a bit easier to follow, and now my USB adapter is disconnecting like a mofo so it's hard to grab files/repos.
No worries gonna keep playing, I had an Xperia X10 before my Z5C. Scriptkiddied my way to years of enjoyment, but this time I wanna learn a few things of my own.
jing000l said:
+1
Click to expand...
Click to collapse
Tingles said:
yeppers, and thanks for pointing that out for others to discover.
My problem right now is my setup. VMWare-Kali Guest, openjdk-8 blah blah blah...... I just started playing about a week ago and trying to watch my bandwidth.
Started a VMWare-Ubuntu Guest today because all the help files I was reading was using that OS so figured a bit easier to follow, and now my USB adapter is disconnecting like a mofo so it's hard to grab files/repos.
No worries gonna keep playing, I had an Xperia X10 before my Z5C. Scriptkiddied my way to years of enjoyment, but this time I wanna learn a few things of my own.
Click to expand...
Click to collapse
@donthomaso
How you guys going with this?
I compiled a NetHunter kernel (Image.gz-dtb) and modules for Android 6 on the Z5C, added my device to my forked nethunter-devices repo, updated with bootstrap.sh, made the installer package with build.py, and Installed. It mostly worked. I wasn't able to test wifi hacks as Im still waiting on a wireless usb dongle to arrive in the post, but chroot successfully installed and I could download the various packages. I could open msf console or wifite without a hitch.
Issues. (in random order)
1. We need an official TWRP build/ The kernel patcher within the installer package wont work; would brick my phone so badly I couldn't even boot in to recovery, so now I modify the ram-disk manually on my pc and flash the boot.img before installing NetHunter. I contacted @jcadduono about this. Based of the recovery log submitted he is convinced the issue is caused by unofficial/half broken TWRP build for the Z5C. Iv tried a few different TWRP builds including my own. All have the same issue, so at this stage Im installing via a modified "nethunter-E5823-nougat-nobrand-kalifs-minimal-xxxx.zip", that installs the kernel modules but doesn't touch the actual kernel.
2. Boot animation/wallpaper installer. What is needed behind the scenes when changing wallpaper and boot animation is a little different in Sony devices to Nexus or Onepluss. In short to change the boot animation in Z5C you need t install the new animation to /oem/media as well as system/media, otherwise it wont work. https://mega.nz/#!phAS1R7C!9D8PvwpEyIk7IO7hzan9EumvvZCPvNDyzN2Pqe2fnXg (Z5C Kaliboot animation installer.zip) for you guys to look at as an example.
Also the section of script that selects the kali-wallpaper permanently breaks the phones ability to select any wallpaper, so Ill change it to add the wallpaper and the user can select it after installation.
3. DriveDroid wont work...despite patching the kernel. Not widely tested though. My Asus laptop never detects my phone as anything other then my phone (not usb or iso or cd) and wont detect it at all in efi. Iv only tested this with the DriveDroid test.img. It might work with SliTaz or for anyone who actually follows the readme within the app.
4. WiFi -promiscues mode... Not tested as Im waiting on a dongle. If anyone knows of a tried and tested wireless usb dongle that works in a Kitakami divice with custom kernel compiled with the suggested .config for NetHunter then please let me know. The Panda PAU05 Wireless usb doesn't work out of the box. The Source Code and makefile supplied for compiling the driver is for Fedora, and wont cross compile on ubuntu without a re write of the makefile...
Issues with Android 7.0
5. Kali-Terminal. For some reason the kali terminal and chroot manger are partially broken in my Nougat version of NetHunter.
for NH to work at all after installing, I have to open (any) other terminal app. run
Code:
bootkali
before the NetHunter terminal will do anything other then FC. I have to do this after every reboot.
Any package selected for download in the chroot manager wont download, but when
Code:
apt-get install <nethunter package>
is manually typed in to the terminal it downloads, installs and runs perfectly. This might have something to do with init.nethunter.rc or /etc/usb_config.sh installed in the ramdisk for NetHunter Nougat, but Im not sure.
6. I got a kernel panic when connecting to Metasploit server for the first time.... hasnt repeated though.
Was thinking about making a system-less install version of NetHunter...
That's as far as Iv got. If you guys have had more success or want to look at .congfig files or kernel S/C let me know. I want to get this to a point where basic trouble shooting has occurred and easy bugs ironed out before I submit a pull request to the NetHunter test branch and start bothering proper devs with bug reports.
I haven't had much luck getting it to work on nexus 4 or nexus 10 so i gave up on the dream of getting it to work on z5c, not much support for what they call supported devices.

[How-To] Install Windows on Android version [YB1-X90L/F]

Hello guys!
I'm starting this thread as I managed to install win10 on my X90L (Android) YogaBook
It was not easy to find a way to fix the ACPI error but it is possible!
Will update this post in a few hours with a guide on how to do it yourself.
UPDATE: link to the guide -> poz1.com/windows-on-android-lenovo-yogabook/
PLEASE NOTE THAT IF YOU CONTINUE YOU WILL END UP WITH A YOGABOOK WITHOUT INPUT DEVICES!!!
(EXTERNAL KEYBOARD WILL BE NEEDED) AND NO ANDROID INSTALL!!!​
So far i got almost everything working except:
- Touchscreen
- Keyboard
- Webcam in the keyboard panel (the other one works fine)
- NFC
- Backlight Control (added 25/5/2018)
I'm getting very near to have the touch and the keyboard working though
P.s. In attach you find the outputs from 3DMark - IceStorm Extreme (default settings), would be much appreciated if someone with the real Win version shared its score
Any chance of posting you work to date. Got an X90F just crying out for Windows.
Broomfundel said:
Any chance of posting you work to date. Got an X90F just crying out for Windows.
Click to expand...
Click to collapse
I have added the link to the guide! If yo have any issues let me know but keep in mind that currently no input devices (touchscreen or keyboard) work!
Thanks for posting this. I am really so impressed. Will be trashing my X90F tomorrow. Just got to dig out a powered USB hub. Ill report back, and lets see what happens.
(Hopefully not a brick)
OK,
So far so good. I get to the amending of the of aml. But keep getting.
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180508
Copyright (c) 2000 - 2018 Intel Corporation
iASL: Segmentation Fault
iASL: Terminating
To clarify the process. Decompile the DSTDroid.aml, then insert the OperationRegion (GNVS, SystemMemory, 0x7B3CF000, 0x0369)
Field (GNVS, AnyAcc, Lock, Preserve)
{ etc.. } section from the DSTDroid.dsl and use it to replace the equivalent section in the DSTWin.dsl in your files.
Then compile the DSTWin.dsl with the
iasli -ta DSDTWin.dsl
command.
This is how I am reading it, but have not managed to get it to work yet.
It decompiles with the two errors you mention, but wont recompile no matter how I try it.
I am using Notepadd++ so its not hidden characters.
Any thoughts, and thanks again for your efforts on this.
Broomfundel said:
OK,
So far so good. I get to the amending of the of aml. But keep getting.
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180508
Copyright (c) 2000 - 2018 Intel Corporation
iASL: Segmentation Fault
iASL: Terminating
To clarify the process. Decompile the DSTDroid.aml, then insert the OperationRegion (GNVS, SystemMemory, 0x7B3CF000, 0x0369)
Field (GNVS, AnyAcc, Lock, Preserve)
{ etc.. } section from the DSTDroid.dsl and use it to replace the equivalent section in the DSTWin.dsl in your files.
Then compile the DSTWin.dsl with the
iasli -ta DSDTWin.dsl
command.
This is how I am reading it, but have not managed to get it to work yet.
It decompiles with the two errors you mention, but wont recompile no matter how I try it.
I am using Notepadd++ so its not hidden characters.
Any thoughts, and thanks again for your efforts on this.
Click to expand...
Click to collapse
Hello Broomfundel,
I never got that error, but it seems to be a problem of the ASL Compiler build not of your file.
I am using Mac so I have another build, if you want to post the file I can compile it for you .
Otherwise you can try an older release or to build the tool from source maybe?
Poz1 said:
Hello guys!
I'm starting this thread as I managed to install win10 on my X90L (Android) YogaBook
It was not easy to find a way to fix the ACPI error but it is possible!
Will update this post in a few hours with a guide on how to do it yourself.
UPDATE: link to the guide -> poz1.com/windows-on-android-lenovo-yogabook/
PLEASE NOTE THAT IF YOU CONTINUE YOU WILL END UP WITH A YOGABOOK WITHOUT INPUT DEVICES!!!
(EXTERNAL KEYBOARD WILL BE NEEDED) AND NO ANDROID INSTALL!!!​
So far i got almost everything working except:
- Touchscreen
- Keyboard
- Webcam in the keyboard panel (the other one works fine)
- NFC
I'm getting very near to have the touch and the keyboard working though
Click to expand...
Click to collapse
Hi, i have the Lenovo Yoga Book Windows version, im crying to install Stock Android on it, can you PLZ write a guide about doing it, or at least if there is a way to install the kernelflinger.efi or the fastboot mode on YB windows it will be great.
to fix the whole bugs you faced, try to reinstall windows 10 using this methode https://forum.xda-developers.com/yoga-book/how-to/windows-guide-creating-windows-10-t3718823
Thanks
THE MAXIMUM POWER said:
Hi, i have the Lenovo Yoga Book Windows version, im crying to install Stock Android on it, can you PLZ write a guide about doing it, or at least if there is a way to install the kernelflinger.efi or the fastboot mode on YB windows it will be great.
to fix the whole bugs you faced, try to reinstall windows 10 using this methode https://forum.xda-developers.com/yoga-book/how-to/windows-guide-creating-windows-10-t3718823
Thanks
Click to expand...
Click to collapse
Hi,
KernelFlinger is opensource and come with an installer, it should be pretty simple to install it.
Right now I don't have my YogaBook as I am travelling but I can try in the next few days
OK, Older release worked, but I get a .hex file, your instructions talk about a new aml file. Do I use the .hex file or is there another option other than the -ta one that would create the aml.
BTW. I am enjoying this. So thanks again.
Broomfundel said:
OK, Older release worked, but I get a .hex file, your instructions talk about a new aml file. Do I use the .hex file or is there another option other than the -ta one that would create the aml.
BTW. I am enjoying this. So thanks again.
Click to expand...
Click to collapse
With the -ta option I get both the .hex and the .aml file but you can try -tc if it doesn't work. Maybe due to the different build
P.s. (for other people that may incur in this) If you don't get the output files check that you have as last line of the terminal
"Compilation complete. 0 Errors"
OK, I am getting 7 errors. My current theory is that the DSTDWin.dsl will only compile with the same version number of the compiler it was decompiled with. I have attached my DSDTDroid.dsl so you can have a go. At least it will prove I got things right up to that point. Might be worth posting the original DSTDWin.aml for me to try this end.
If we are lucky it might turn out that the patched DSTDWin.aml files are consistent across the same model devices.
So... It seems both pen mode and keyboard mode of holo keyboard won't work... Am I right?
It's sad that if they won't work even we install the drivers from the lenovo website
Poz1 said:
Hi,
KernelFlinger is opensource and come with an installer, it should be pretty simple to install it.
Right now I don't have my YogaBook as I am travelling but I can try in the next few days
Click to expand...
Click to collapse
can after installing Windows booting to kernelflinger? if you can make a thread about how can you install/reinstall kernelflinger will be amazing?
Thank you
Poz1 said:
Hello guys!
Click to expand...
Click to collapse
Have you tried with the ISO from this forum with the Windows injected drivers? Here https://forum.xda-developers.com/yoga-book/how-to/windows-guide-creating-windows-10-t3718823
As Poz1 is obviously busy at the moment. Can anyone else get the DSTDWin.aml file for me to try and decode?
Thanks
Sorry guys I've been busy with university
Broomfundel said:
OK, I am getting 7 errors. My current theory is that the DSTDWin.dsl will only compile with the same version number of the compiler it was decompiled with. I have attached my DSDTDroid.dsl so you can have a go. At least it will prove I got things right up to that point. Might be worth posting the original DSTDWin.aml for me to try this end.
If we are lucky it might turn out that the patched DSTDWin.aml files are consistent across the same model devices.
Click to expand...
Click to collapse
There you go I'm also updating the files DSTDWin of my blog with one with some fixes Well they depend on the settings you use in your Bios (that's why Windows may not boot after install, it changes some parameters (the wait time of the bios and the default boot partition)). When you use the builtin one is the bios that "updates" it for you but for now we need to do it by hand If we are going to end with everything working we can release a patched "Win" bios and everything will be simpler
Riskypedia said:
So... It seems both pen mode and keyboard mode of holo keyboard won't work... Am I right?
It's sad that if they won't work even we install the drivers from the lenovo website
Click to expand...
Click to collapse
I know There something in the DSDT (the file that tells the os which and where your pc components are) that has to be fixed to make Windows see these parts correctly
THE MAXIMUM POWER said:
can after installing Windows booting to kernelflinger? if you can make a thread about how can you install/reinstall kernelflinger will be amazing?
Thank you
Click to expand...
Click to collapse
Didn't try Will do as soon as I have some free time :fingers-crossed:
Kinyapiplele said:
Have you tried with the ISO from this forum with the Windows injected drivers? Here https://forum.xda-developers.com/yoga-book/how-to/windows-guide-creating-windows-10-t3718823
Click to expand...
Click to collapse
Yep, but the problem is in the DSDT Thanks fot the input anyway
Poz1 said:
Sorry guys I've been busy with university
Click to expand...
Click to collapse
Don't worry, we all have real lives as well. I'm in the UK and we have a bank holiday on Monday. So this weekend, Ill get stuck in again.
Thanks for all your doing on this. You have already got further than anyone else who tried.
let me know if you have more problems
I have added a 3DMark test in the first post for those that are interested in how it performs
Poz1 said:
let me know if you have more problems
I have added a 3DMark test in the first post for those that are interested in how it performs
Click to expand...
Click to collapse
Just another Question, you as a Advance user, do you believe that we (yoga book Windows owners) can boot Android yb STOCK ROM ( i mean not the Android x86 based distros)?
Yes, but I think you would have to do the "reverse" DSDT injection (from win to android) as the official ROM has drivers for that components.
This means that, if you're lucky you would end up with our same problems (keyboard, pen and touch). If we don't fix that before
The problem with Android is that it is meant to be flashed on rom instead of being installed and this makes things more difficult.
It should be possible to flash the rom on an USB key, add grub and use it for DSDT injection like we do and see what happens.
Another problem is that the provided kernelflinger seems to have most of the security options enabled so 99% it will refuse to boot anyway.
Since it is opensource it should be possible to fix this anyway.
So yes, but it a loooong journey

Categories

Resources