[MultiROM] Debian for the Moto G - Moto G Original Android Development

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.

Related

[DEV][4.0.7]Huawei USB Dongles.

[UPDATE]2012-08-06 This is not the only way of getting Dongle's working on Android, If widgets are your thing and you doing feel confident working with system files etc then you may be better served using the ppp widget form draisberghof.de, these are the folks who piratically wrote the book on getting dongles working on linux and by extension android.
[UPDATE]2012-08-06 The source to libhuaweigeneric-ril ( github ) has been updated to include fixes made by omegaRed7 - This massively improves the fault tolerance upon RIL Startup, Tests were carried out on the E173s-1 but it should be beneficial to all modems ( I hope ).
[UPDATE]2012-07-28 As the Rom Version is quite old and it doesn't really require it's own rom I've extracted the files required to implement this functionality - Download Here, The Archive contains a README file with installation instructions
IMPORTANT - pppd permission need changing to 6755 also change to ownership to the root account ( Thanks to __DS__ ). you can do this through adb or terminal emulator
Code:
adb shell chown 0:0 /system/bin/pppd
adb shell chmod 6755 /system/bin/pppd
for this to function
[UPDATE]2012-06-25 Added Forked libhuaweigeneric-ril to Github Repo this includes all the changes I've made - Check This Post For Details
[UPDATE]2012-06-23 Added Github Repo - Check This Post For Details
[UPDATE]2012-06-16 THE DOWNLOAD LINK HAS BEEN UPDATED AS THE FILES IN /etc/system/usb_modeswitch WHERE NAMED INCORRECTLY[/UPDATE]
Hi Folks - This post is going to change fairly often, there is still more info to add, I just got bored with typing for now
The Sales Pitch
This rom aims to provides the same "hands free" approach offered by the Archos 3G Key and extends this functionality to Huawei Branded USB Modems.
Introduction
Here is a custom rom I've currently been hacking away at, if feels like I've had it under wraps for months.
That being the case. I'd like to thking on to enable Huawei USB Modems - This is still a WORK IN PROGRESS but It feels like i've been keeping it under wraps for months, So it's time to throw it out there for further testing. So Dongles at the Ready! It could get a little hacky
WARNING
The Full Size USB Slot has been known to fail from moderate use. As such I would recommend using an USB extensions cable for connecting devices.
VERY IMPORTANT NOTES - PLEASE READ
1. This is definitely not an every day use rom on any other device this woud have been deployed as a recovery flashable update. The reasoning behind the rom deployment is it's only one file to copy and youi're ready to go. It is also a tedious task to manually go through (especially on the 100th time
2. Please don't ask a me if a certain device will work or not. It is not helpful on a number of levels,
a) I simply don't know - I don't own the model in question. Further more you can figure it out yourself.
b) The Chances are that you could probably find out the answer without leaving the comfort of xda - The libhuaweigeneric-ril has been passed around xda like a <Insert Well Used Analogy Here> so a quick search of xda may turn up something useful to reassure you.
c) In reality though we are not going to know if your dongle is working until you "Try It Yourself".
3. if you find your device doesn't work then you need to gather all the relevant information to help get a feel of what's going on; See Below
SUPPORTED DEVICES
The theoretical list of supportted devices come from those devices supportted by usb_wwan and option kernelp drivers.
IMPORTANT NOTES - WHAT YOU NEED TO KNOW
In a perfect world you can download/flash the attached update file. Reload your SDE, Plug a USB 3G Dongle and have It connect and go about you day .
This is the ultimate goal and currently what happens on my own device
TROUBLESHOOTING
There's about a 25% based on my current test this won't happen. There are 2 main ways your connection attempt can fail.
1. The UsbStick has not switched to modem mode
2. The ppp connection script failed
Either Way it would be highly useful post the list of system properties, outputs of dmesg and also a full logcat aswell as the vendor/product id from lsusb,
some like this throught the adb
Code:
adb shell getprops
adb shell lsusb
adb shell dmesg
adb logcat -b radio -b system -b main -b events
Please have a glance over it before posting as It may contain information that you would not want others to see!
ROM DETAILS
Android Version: 4.0.3
Archos Version: SDE 4.06
Removed : Nothing
ADDITIONS
init.dongle.rc - initialization script, I wanted to avoid "polluting" any other init file too much
/lib/modules/usb_wwan.ko and /lib/modules/option.ko - USB Drivers for GSM modems
/system/lib/libhuaweigeneric-ril.so - A slightly tweaked version of DerArtem original huaweigeneric-ril
/system/etc/usb_modeswitch - the latest version of the usb-modeswitch-data
/etc/ppp - Added separate gprs scripts to retain compatibility with the Archos datakey
/system/bin/hotplugd - A new native android service; Manages Modeswitching and connection initialization for any Usb Device which has a valid configuration file present.
DOWNLOAD
3G Modem Redist Pack - For use with newer roms
Hotfile - archos.ext4.update.
INSTALL
Unpack zip and copy unpacked update file to the device
Code:
adb push archos.ext4.update /mnt/storage
restart device in sde mode
script should update automatically
KNOWN ISSUES
"3G Stick Connected" Icon remains in notification list after device disconnection.
pppd needs to be executed with elevated privileges.
pppd is not exiting correctly on some occasions and cause reconnection issues when using multiple sticks.
Thanks go to surdu_petru for the base sde, derAtem for his original work on the libhuaweigeneric-ril.so and pretty much every developer who has worked on these dongles with android, I think I've read every thread on XDA regarding this subject
Hi!
Thanks trevd!
I do not have this USB modem ....but you did a good job for those who have this modem ! Good luck...
i have a Huawei E160E
It is possible to add this modle on your rom ?
---------- Post added at 06:46 PM ---------- Previous post was at 06:23 PM ----------
For the buzz in FRANCE (and in the World :-= )
http://www.jbmm.fr/?p=28280
cajl said:
i have a Huawei E160E
It is possible to add this modle on your rom ?
Click to expand...
Click to collapse
Is this a new model ( released this year )? It may already be in there, The easiest thing to do is plug it in.
If you install this app you can find out what the product_id is and then we can find out for sure.
Thanks
no released in 2009
Device Class: Use class information in the Interface Descriptors (0x0)
Vendor ID: 12d1
Vendor Name: Huawei Technologies Co., Ltd.
Product ID: 03eb
Hi trevd.
Thanks for the work.
Before installing your rom, I'd like to know if my Huawei K3565 is or will be supported.
I can't remember when it was released, but it not a new one ; may be 2009 or 2010.
Rackham666 said:
Hi trevd.
Thanks for the work.
Before installing your rom, I'd like to know if my Huawei K3565 is or will be supported.
I can't remember when it was released, but it not a new one ; may be 2009 or 2010.
Click to expand...
Click to collapse
Hi Rackham666
I'd refer back to my first post, I've tried to make it a little more clear what this "rom" exactly is, more a testing ground, my apologises if that wasn't very clear at first glance, So to switch this query right back at you.
After installing my rom, I'd like to know if your Huawei K3565 is supported?.
For my usn dongle , is it ok for you ?
Okay.
I'll try your additions manually when [email protected] V3 will be released by Petru.
Get The Code
Hi Folks.
I've started a github repo if anyone wants to hack on this stuff.... It only contains the code for the hotplug service at the moment but I will obviously add more when I get chance and apply all the proper GPL licenses to it.
A personal word of note : C is not my first language by any stretch ( although it is fast becoming the case ) so If It causes any memory leaks or starts nuclear war I can't be held responsible, however if there is any noob coding errors in there then I'm ready to learn off those more knowledgeable than I. I have a feeling we have some hardcore developers lurking in Archos Development community
Equally If anyone has any fixes drop me a pm and I'll sort commit access on the repo or post them right here in the thread,
The code can be found here https://github.com/trevd
Hi Folks, Me Again!
Just to let you guys know I've added a forked libhuaweigeneric-ril to my github ( https://github.com/trevd )
It includes the changes I made to enable it to work the Archos.
You'll want to clone the ics branch if you want to compile yourself.
cajl said:
For my usn dongle , is it ok for you ?
Click to expand...
Click to collapse
???
I'm not sure I understand what you mean.... can you explain a little more
Thanks
Hi, I'm sorry if I'm bothering you but I've done the steps for installing this but when I get to sde menu nothing happens. You said script should install the update automatically but nothing happens. Is there something else I have to do?
Sorry again and thank you for your work
Sent from my ARCHOS 101G9 using xda premium
alahkel said:
Hi, I'm sorry if I'm bothering you but I've done the steps for installing this but when I get to sde menu nothing happens. You said script should install the update automatically but nothing happens. Is there something else I have to do?
Sorry again and thank you for your work
Sent from my ARCHOS 101G9 using xda premium
Click to expand...
Click to collapse
Hi Alahkel
You're not bothering me .... DO I really sound/come across as that grumpy/angry in my first post.... sometimes I get cranky when I don't get enough sleep.... too much time looking at code.... :laugh:
Thanks for having a go, Are you using the official SDE? and have you got a working SDE Rom already installed?
For now I would forget about the rom image and bear with me, I'm working on an installer APK which will probably better help with testing, I'll also put the manual installation method up for those who want to get dirty with adb.
Hi, i succesfully installed your build then, btw running unoff sde. I have a huawei 170something, I don't remember the model, but it's working great with no problems, but using a otg cable only. I didn't get it to work using the big usb slot
Sent from my ARCHOS 101G9 using xda premium
alahkel said:
Hi, i succesfully installed your build then, btw running unoff sde. I have a huawei 170something, I don't remember the model, but it's working great with no problems, but using a otg cable only. I didn't get it to work using the big usb slot
Sent from my ARCHOS 101G9 using xda premium
Click to expand...
Click to collapse
That's great news Interesting that you couldn't/haven't got it working on the full size port... It should function the same as the official Archos Stick, You need to switch on the 3G Stick in the settings and the full size slot should "Just Work". I may have missed that little detail out
If that doesn't work your full size slot is maybe broken A not uncommon issue it seems. unfortunately.
Out of interest what network are you on?
I'm just working on the installer now so you won't be stuck with old archos versions.
trevd said:
That's great news Interesting that you couldn't/haven't got it working on the full size port... It should function the same as the official Archos Stick, You need to switch on the 3G Stick in the settings and the full size slot should "Just Work". I may have missed that little detail out
If that doesn't work your full size slot is maybe broken A not uncommon issue it seems. unfortunately.
Out of interest what network are you on?
I'm just working on the installer now so you won't be stuck with old archos versions.
Click to expand...
Click to collapse
Hi, thx for answering. Well of course I turn on the 3g key in settings for big-size usb and my huawei 3gkey is on indeed (led on key) but the tab doesn't recognize that o.o I'm on tim (italy ) Thank you
Sent from my ARCHOS 101G9 using xda premium
Hi trevd,
i'm guessing this won't work on CM9 by JackpotClavin, or would it? If yes, would i install it the same way as described?
Thanks in advance!
Edit: Sorry i'm obviously still running in 1st gear in the morning... There's no 3G support in the CM9 port so there's no way this would just "work"...
Edit2: And confirmation that i need more coffee: Saw your post in CM9 thread about the successful connection with Archos' 3G stick and a Huawei 3G stick, but only through the browser... Any progress on fixing things so the ppp connection is fully usable by other apps & services?
Hi, trevd!
how to launch the modem on a firmware 4.0.7?
I copy these files from your firmware
init.dongle.rc - initialization script, I wanted to avoid "polluting" any other init file too much
/lib/modules/usb_wwan.ko and /lib/modules/option.ko - USB Drivers for GSM modems
/system/lib/libhuaweigeneric-ril.so - A slightly tweaked version of DerArtem original huaweigeneric-ril
/system/etc/usb_modeswitch - the latest version of the usb-modeswitch-data
/etc/ppp - Added separate gprs scripts to retain compatibility with the Archos datakey
/system/bin/hotplugd - A new native android service; Manages Modeswitching and connection initialization for any Usb Device which has a valid configuration file present.
Click to expand...
Click to collapse
I change the init.rc file for init.dongle.rc start
but the Huawei E1550 modem doesn't work
what it is necessary to change still?
Thanks!
=========================
sorry, everything earned, it was necessary to update a modem firmware
Hi deman05
You were nearly there, init.dongle.rc is imported on the very first line of init.rc so you need both files.
You shouldn't have to do anything with the modem firmware as usb_modeswitch will handle turning the modem.
The files required are.
init.rc
init.dongle.rc
/lib/modules/usb_wwan.ko
/lib/modules/option.ko
/system/lib/libhuaweigeneric-ril.so
/system/bin/hotplugd
Also you need the full contents of the following directories
/system/etc/usb_modeswitch
/system/etc/ppp
/system/etc/chatscripts
I've attached the latest versions to this post (hopefully I've not missed anything), you will need to change the permissions on /system/bin/pppd.
chmod 6755 pppd
[EDIT] I did miss something, please see the first post for the correct download link.
The new version also handles a cold boot ( modem plugged in on startup ) scenario.
If you are still having issues please refer to the troubleshooting section in my original post
Thanks

[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

ASUS Zenfone 2 ROM

USB Driver
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE500CL/ASUS_Android_USB_drivers_for_Windows_20150212.zip
ZE550ML ROM
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/UL-Z008-WW-2.12.40.9-user.zip.secure
ZE551ML ROM
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.12.40.9-user.zip.secure
Kernel source
ZE550ML/ZE551ML
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/zenfone2_2_12_40.zip
Great!! Looking forward for great dev support..
Fire code said:
USB Driver
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE500CL/ASUS_Android_USB_drivers_for_Windows_20150212.zip
ZE550ML ROM
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/UL-Z008-WW-2.12.40.9-user.zip.secure
ZE551ML ROM
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.12.40.9-user.zip.secure
Kernel source
ZE550ML/ZE551ML
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/zenfone2_2_12_40.zip
Click to expand...
Click to collapse
Links for ZE551ML and ZE550ML ROMs are broken.
BACKUP
Quote:
Originally Posted by Fire code
USB Driver
https://drive.google.com/open?id=0B-1_qo5woThsQkNWQnVwZG9CVzA&authuser=0
ZE550ML ROM
N/A(sorry ~i didn't backup this~ )
ZE551ML ROM
https://drive.google.com/open?id=0B-1_qo5woThsTnM3bjQxaHJoUzg&authuser=0
Kernel source
ZE550ML/ZE551ML
http://dlcdnet.asus.com/pub/ASUS/Zen...e2_2_12_40.zip
https://drive.google.com/open?id=0B-1_qo5woThsOHhkTUNEUFItdFU&authuser=0
I can't wait tell I get this device. Nothing but good old cyanogenmod and aosp roms.
Sent from my SM-T230NU using XDA Free mobile app
Anyone rip any apps out and had success with them running on AOSP yet?
Do you guys think there will be an Ubuntu Touch edition for the ZenFone 2? It has an Intel CPU, I really wish that.
update link
USB Driver:
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE500CL/ASUS_Android_USB_drivers_for_Windows_20150212.zip
ZE500CL
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE500CL/UL-ASUS_Z00D-WW-12.16.4.3-user.zip
ZE550ML
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/UL-Z008-WW-2.12.40.11-user.zip
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550ML/UL-Z008-WW-2.12.40.9-user.zip
ZE551ML
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.12.40.11-user.zip
http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.12.40.9-user.zip
hp420 said:
Anyone rip any apps out and had success with them running on AOSP yet?
Click to expand...
Click to collapse
You can get some ZenFone 2 apps From :-
I have deodexed rom.
and ported some apps and they are working flawlessly on CM11 without any bug.
http://forum.xda-developers.com/and...enfone-2-apps-port-root-t3073195#post59906345
ThunderSky7 said:
You can get some ZenFone 2 apps From :-
I have deodexed rom.
and ported some apps and they are working flawlessly on CM11 without any bug.
http://forum.xda-developers.com/and...enfone-2-apps-port-root-t3073195#post59906345
Click to expand...
Click to collapse
Deodexed rom meaning you have a zenfone 2 stock deodexded rom? Do you have a link to it or the rom is private?
You should add screenshots.. :good:
thanks for drivers
sooo much repo'ing to get AOSP before the compiling even begins. There's gotta be a better way for them to maintain the repository. :/
Edit:
After downloading around 40 gigs of files from AOSP, won't compile on our phones. Looks like build tools are only 64-bit and the Debian Jessie chroot I'm using on the phone isn't allowing the 64-bit tools to execute. Our kernel reports that it IS in fact x86_64, but I can't seem to find the phone's /lib64 directory to map to the chroot. So, something that could be fun is now a huge headache -- may need to put together a pc just to build this kernel & hope I still have enough bandwidth from my ISP to repo another 40 gigs.
ycavan said:
sooo much repo'ing to get AOSP before the compiling even begins. There's gotta be a better way for them to maintain the repository. :/
Edit:
After downloading around 40 gigs of files from AOSP, won't compile on our phones. Looks like build tools are only 64-bit and the Debian Jessie chroot I'm using on the phone isn't allowing the 64-bit tools to execute. Our kernel reports that it IS in fact x86_64, but I can't seem to find the phone's /lib64 directory to map to the chroot. So, something that could be fun is now a huge headache -- may need to put together a pc just to build this kernel & hope I still have enough bandwidth from my ISP to repo another 40 gigs.
Click to expand...
Click to collapse
It's already several years ago Android build tools migrated to x64-only. So, you cannot build Android (even 32bit version) on x32 machine.
Zenfone 2 kernel is 64bit. But Android itself is 32bit. You still can start 64bit binaries if you want. I'm using 64bit busybox and some other utilities I've made.
I didn't try to compile Zf2 kernel yet because there is no unlocked bootloader exist, so you simply can't boot your own kernel.
I was able to apt-get lib64 on debian jessie ( was called libc6-amd64 ) & that moved things along until the assembler refused to load libz.so. No amount of looking around helped figure that one out since libz.so did exist.
This is just something fun to do while waiting for the unlocked bootloader. Wouldn't it be nice to be able to just compile your own kernel on your phone?
Compilation requires a lot of typing in command line. I cannot imagine doing this on phone. It's simply crazy. I'm not even talking about time needed for compilation.
I'm using PC (with linux VM) to compile everything.
sorg said:
Compilation requires a lot of typing in command line. I cannot imagine doing this on phone. It's simply crazy. I'm not even talking about time needed for compilation.
I'm using PC (with linux VM) to compile everything.
Click to expand...
Click to collapse
@sorg..so currently is there anything that you have produced for zenfone 2? and is it possible for this phone to be developed once asus release and unlock the BL?
cangcan said:
@sorg..so currently is there anything that you have produced for zenfone 2? and is it possible for this phone to be developed once asus release and unlock the BL?
Click to expand...
Click to collapse
Yes, i've compiled many binaries already.
Of course it's possible to develop for ZF2. There is ASUS Nexsus Player (fugu) device in CM12 repository which is basically very close to ZE550/ZE551. So, there is already a lot of code in Cyanogenmod. But, i prefer stock ROM anyway.
sorg said:
Yes, i've compiled many binaries already.
Of course it's possible to develop for ZF2. There is ASUS Nexsus Player (fugu) device in CM12 repository which is basically very close to ZE550/ZE551. So, there is already a lot of code in Cyanogenmod. But, i prefer stock ROM anyway.
Click to expand...
Click to collapse
That's good news sorg, great to know you've been getting some code flowing while waiting for the bootloader unlock tool.:thumbup: I'll have to check out your repositories when I get the chance, especially since I wanted the device tree for my rom projects.
Sent from the Ace's MB865 using Tapatalk
edit: nvm

[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 ??

Ubuntu Touch?

Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
If you flash it, do share the results here.
n00bDroid said:
Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
Click to expand...
Click to collapse
Is Ubuntu touch the same as Ubuntu for PC?
2gg1 said:
Is Ubuntu touch the same as Ubuntu for PC?
Click to expand...
Click to collapse
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
n00bDroid said:
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
Click to expand...
Click to collapse
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
2gg1 said:
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
Click to expand...
Click to collapse
I had a look. It seems to be a virtual Linux running on the phone, that you can view from your android phone using vnc. Need to have a keyboard and prefferably a mouse. Also, not a Linux Phone, but Linux on a phone. But it's cool that it's doable

Categories

Resources