Related
NEW USER THEREFORE LINKS ARE IN ATTACHMENT ...
What i did ...
1. Download the debian installer from here
LINK#1 IN ATTACHMENT
uploaded with the updated installer script and bootdeb script ...
2. Download to replace the bootdeb file in debian with the bootdeb file below
LINK#2
3. Download to replace the installer.sh in debian directory with the installer
below
LINK#3
3. Unzipped the file on my computer. This created a directory called "debian".
4. Moved the whole debian folder in the root directory of memorycard (root)
using the data cable. After this I disconnected the cable.
4. Opened ConnectBot in p500, choosed local connection.
Download it here : LINK#4
5. Became root by typing: su -
6. Entered the debian directory in memory card:
cd /sdcard/debian
7. Launched the installer script:
sh installer.sh
8. Entered Debian console:
bootdeb
9. Launched the setup script: /scripts/onetime.sh
10. This should be the whole thing.....
but i got the error in executing installer.sh
the error for ext2.ko in /lib/modules
so i pushed the .ko file in the megatron ROM
and the final rom is here...
LINK#5
But it is still giving me error
I NEED HELP TO FIGURE OUT IN RUNNING DEBIAN TO THIS PHONE !!!
STEPS ARE HERE :
LINK # 6
What is debian?
Its another operating system for pc's...!!
SAME LIKE THE UBUNTU...
lekhwani said:
What is debian?
Click to expand...
Click to collapse
It's a Linux distribution where Ubuntu took it's code as its base.
@ashupulse: This one's easier: http://www.droidforums.net/forum/droid-hacks/58908-how-install-ubuntu-droid.html
Look's like booting Debian and controlling it with a VNC client. Will test this one. Wanna see how well X11 works (though I doubt I can get it starting in the first place)
Note: If you're using a custom ROM or kernel taken from this forum, you may have ext2 support already. If unsure, check again in the threads. If you're using apps2sd, you have ext2 support.
Where Ubuntu *takes it's base from, the experimental software repository in Debian.
Sent from my VM670 using XDA App
Installer.sh is working now !!!
Alrght i have got the installer working
but the problem is now with
bootdeb !!
Any help would be appreciated !!!
ashupulse said:
NEW USER THEREFORE LINKS ARE IN ATTACHMENT ...
What i did ...
1. Download the debian installer from here
LINK#1 IN ATTACHMENT
uploaded with the updated installer script and bootdeb script ...
2. Download to replace the bootdeb file in debian with the bootdeb file below
LINK#2
3. Download to replace the installer.sh in debian directory with the installer
below
LINK#3
3. Unzipped the file on my computer. This created a directory called "debian".
4. Moved the whole debian folder in the root directory of memorycard (root)
using the data cable. After this I disconnected the cable.
4. Opened ConnectBot in p500, choosed local connection.
Download it here : LINK#4
5. Became root by typing: su -
6. Entered the debian directory in memory card:
cd /sdcard/debian
7. Launched the installer script:
sh installer.sh
8. Entered Debian console:
bootdeb
9. Launched the setup script: /scripts/onetime.sh
10. This should be the whole thing.....
but i got the error in executing installer.sh
the error for ext2.ko in /lib/modules
so i pushed the .ko file in the megatron ROM
and the final rom is here...
LINK#5
But it is still giving me error
I NEED HELP TO FIGURE OUT IN RUNNING DEBIAN TO THIS PHONE !!!
STEPS ARE HERE :
LINK # 6
Click to expand...
Click to collapse
I just dont want to flash megatron again to use that kernel modules...Can u tell us how to integrate that kernel modules in our "existing ROMS"..i mean i dont want to flash again.. HElp i was looking into this and then luckily u came up with this..Thnx
seems like i m near to it , let u know if support could be added to the default O.S !!
Hi,
i was too wondering about using debian on our phone, and found this: http://www.saurik.com/id/10
It is basicaly just installing debian into image, which you can mount then and use its bash in chroot mode.
You can see some screenshots of htop, midnight commander or gcc-avr compiler (thats why I wanted debian).
PS: That thing with unionfs did not work for me yet, but i have notice I did something wrong, so I will give it one more try.
EDIT: yep, if you add unionfs patch to your kernel, it is working too.
Tasssadar said:
Hi,
i was too wondering about using debian on our phone, and found this: http://www.saurik.com/id/10
It is basicaly just installing debian into image, which you can mount then and use its bash in chroot mode.
You can see some screenshots of htop, midnight commander or gcc-avr compiler (thats why I wanted debian).
PS: That thing with unionfs did not work for me yet, but i have notice I did something wrong, so I will give it one more try.
EDIT: yep, if you add unionfs patch to your kernel, it is working too.
Click to expand...
Click to collapse
How do i patch the kernel n i m also using the blog u mentioned..It just doesnt boot
You do not need to patch kernel in any way if you dont wanna unionfs (which you dont). To be honest, I dont remember what exactly I had to do - I just followed the tutorial and tried to solve problems, there was something with loop devices I think.....
Well, I will try to install it one more time on clean rom tomorrow and write some tutorial.
We need a ROM that has bash, right?
aMpeX proudly presents:
The Step-By-Step guide for building CM7
for the Optimus 2X
Disclaimer:
I'm taking no responsibility for any damage that might occur to your phone or your PC
This guide illustrates how to setup an UBUNTU 11.04 equipped PC to build CM7 from source
It does not provide any support beyond that operating system, so if you insist on using other
Linux distributions, either adapt the guide yourself or look elsewhere.
Moreover I'm not providing any support for any problems that might occur during the course
of this guide, if they are not introduced by faults within the guide itself. I will only
troubleshoot the activities that this guide is based upon and won't be able to help with your
general linux problems. Feedback however is greatly appreciated.
Reposting this on other forums:
Feel free to post this guide on other forums. I'd like to be given credit though. Thanks
I am new to this myself, but I thought I'd share my findings after successfully building my first kang.
News & changelog:
v0.92 2011/06/01 Fix:
Added "change directory" before init repository (thanks to peewster)
v0.91 2011/05/31 Fix:
Fixed PATH exports (thanks to bhanvadia)
v0.9 2011/05/31 Initial release:
Still much formatting to be done, typos possible. Leave me some feedback if you encounter them.
Alright, so you want to build your own CM7 KANG's ?
Step 0: The starting point + info
When you start this guide, I assume that you just installed your Ubuntu 11.04 copy to your PC and set up all the drivers to your hearts content.
All commands are supplied, as they would be typed in from a USER ACCOUNT, if you operate from the root account, you will
have to add /home/<yourusername> to the most commands. I suggest, after performing the actions required by root, that you log out by typing
Code:
exit
What you need:
A working copy of Cyanogenmod7 installed on your phone
A PC with Ubuntu 11.04 installed (NOTE: If you're about to install Ubuntu from scratch, use the 64Bit version.
I can build CM7 on a 32Bit OS just fine. But AOSP for example won't build beyond Froyo on 32Bit.
At least 20GB of free space (including space required for the operating system itself)
A considerably fast internet connection (syncing the repo takes everal Gbs)
At least 3 hours of time.
All done? Then let's get started:
Step 1: Install the Java JDK
Go to System → Administration → Synaptics Package Manager
Here, we have to enable the partner repositories.
Go to Settings → Repositories → Other Software → Tick Canonical Partners and hit Close
Now push the „Reload“ button, and use the Search button to find the sun-java6-jdk package
tick the box in front of it and choose „Mark for installation“ and accept the following dialogue.
Click the „Apply“ button. Accept the dialogues, you now have the Java JDK installed.
Step 2: Install the Android SDK
Go here and download this.
Extract the archive to a directory of your choice.
Open a Terminal, navigate to the „tools“ subfolder and run the AVD Manager using ./android
In the new Window hit „Available Packages“ tick the „Android Repository“ and select „Install selected“
Once thats done, close everything up, time for step 3.
Step 3: Set up udev
The description from the CyanogenMod wiki struck me as being a slightly bit overkill, and, while it might be necessary for other devices, for LG phones this works just fine:
Create a new file on your desktop named
Code:
99-android.rules
and fill them with the following content:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
This will enable the debugging for LG devices, if you have time, it won#t hurt to add the other vendors. Just add another line
like above and replace the „1004“ with the appropriate vendor ID from http://developer.android.com/guide/developing/device.html (scroll to the bottom)
Log in as root using
Code:
sudo su
and paste our file to
Code:
/etc/udev/rules.d
using the terminal (cp)
Set permissions for the file using
Code:
chmod a+r /etc/udev/rules.d/99-android.rules
Now would probably be a good time to check if adb is working correctly.
But first, lets update the PATH so we can type „adb“ anywhere on the file system.
Navigate to your user home directory, press CTRL+H to show hidden files and edit the
Code:
.bashrc
file by adding the following
Code:
export PATH="/home/<yourusername>/<path to the android SDK >/platform-tools/:${PATH}"
export PATH="/home/<yourusername>/bin/:${PATH}"
(The 2nd line is necessary for later)
NOTE:This only enable the use of adb everywhere when logged in with your username. When working as root, you'll have
to add a separate line with /home/<yourusername> in front of the path above.
You have to log out and in again for the changes to take effect.
Now check if you can see your phone with
Code:
adb devices
Alright, still awake? Good, because now it gets interesting
Step 4: Install build packages and create directories
Since we already installed the JDK this command differs a bit from the Cyanogen Wiki:
For 32 and 64 Bit
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool
For 64 Bit only
Code:
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.4-multilib g++-4.4-multilib
Now we need 2 directories
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Almost there ….
Step 5: Install the repository
Now we need our repo binary:
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
(credits to p.valenta for notifying me of the adress change)
NOTE: You may need to reboot now
Change to your previously created directory:
Code:
cd ~/android/system/
Initialize the repository:
Code:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
Enter your Name, eMail adress and select if you want colors or not.
AND NOW THE FINALE
Code:
repo sync -j16
Get yourself a BIG coffee, because this is going to take MUCH MUCH time, because basically you are now checking out all there is to CyanogenMod.
But wait, we're not done yet. Hang on
Step 6: Getting proprietary files for the Optimus 2X
For this step, you need an O2X with a running Cyanogenmod build, so if you're still on stock, this is the time to flash Cyanogenmod for the first time.
Connect your phone to your PC via USB and
navigate to the device tree in your repo folder:
Code:
cd ~/android/system/device/lge/p990/
and run
Code:
./extract-files.sh
This will extract some libs from your device. But sadly, not all of them (build will still fail) but we will fix this now.
Go to
Code:
https://github.com/koush/proprietary_vendor_lge/tree/gingerbread/p990
and click the download button on the right.
Extract the „p990“ folder located in the subfolder
Code:
/koush-proprietary_vendor_lge-a43238f/
in the archive to
Code:
~/android/system/vendor/lge/
Step 7: Get latest ROMManager
I know I must be annoying the sh** out of you by now, but hang in there
Code:
~/android/system/vendor/cyanogen/get-rommanager
Step 8: BUILD F***ING EVERYTHING
Now this is what you've been waiting for huh?
Sync the repository again:
Code:
cd ~/android/system/
repo sync
Build the ROM
Code:
. build/envsetup.sh && brunch p990
Wait
When everything is finished, your KANG will be stored in
Code:
~/android/system/out/target/product/p990/
And THATS IT!
Congratulations, you have just built your own CM7 KANG, don't forget to share it to other nightly testers
Cheers aMpeX
Useful stuff and tools:
SH script by bhanvadia, tailored to the directories introduced by this tutorial:
Download here
Extract anywhere and make it executable by typing
Code:
chmod +x kang.sh
Create shortcut to the output directory of your KANGs
Type
Code:
ln -s ~/android/system/out/target/product/p990/ <your desired shortcut location>
nice guide, really liked it.
too bad there were none when I started making my kangs.
btw: I use mac it is bit different for mac. but nothing its missing.
Here is file you keep on you desktop to make it work without any typing of commands after you setup your computer working directory as per guide by aMpeX.
and check post #2 for making that file executable.....
kang.sh
bhanvadia said:
nice guide, really liked it.
too bad there were none when I started making my kangs.
btw: I use mac it is bit different for mac. but nothing its missing.
add "~/android/bin/" to path too so you can "repo sync" from anywhere.
just a suggestion... can upload build.sh file on here to make it easy.
something like
1. for clean and build
2. for repo sync
open file and press your options.
thats what I use...
Click to expand...
Click to collapse
That's why the guide states its for ubuntu. I found that even the Cyanogenmod Wiki entries don't work completely for the latest ubuntu (with g++ and gcc 4.3 not being available anymore, also hat huge problems with the java jdk at first)
I'll add the additional PATH variables as you suggested. Thank you.
aMpeX said:
That's why the guide states its for ubuntu. I found that even the Cyanogenmod Wiki entries don't work completely for the latest ubuntu (with g++ and gcc 4.3 not being available anymore, also hat huge problems with the java jdk at first)
I'll add the additional PATH variables as you suggested. Thank you.
Click to expand...
Click to collapse
Here is file you keep on you desktop to make it work without any typing of commands after you setup your computer working directory as per guide by aMpeX.
PS: aMpeX can you just test that file??? just repo sync or rom manager update options.
awesome guide !!! thanks aMpeX !
seems to be working, after you chmod+x the sh file that is. My Repo Sync is stuck at 1%, but I doubt its related to your file.
I'll add it to the 2nd post
aMpeX said:
seems to be working, after you chmod+x the sh file that is. My Repo Sync is stuck at 1%, but I doubt its related to your file.
I'll add it to the 2nd post
Click to expand...
Click to collapse
modified my mac file i use to fit to your setup of directories, just changed directories. ...
yeah then it would work, hope it make it more easy
GET the KANGs flowing...........
aMpeX said:
Useful stuff and tools:
SH script by bhanvadia, tailored to the directories introduced by this tutorial:
Download here
Extract anywhere and make it executable by typing
Code:
chmod +x kang.sh
Create shortcut to the output directory of your KANGs
Type
Code:
ln -s ~/android/system/out/target/product/p990/
Click to expand...
Click to collapse
Download link is sending to wrong post still....
now it should work like this....
http://forum.xda-developers.com/showpost.php?p=14310172&postcount=5
copy
http://forum.xda-developers.com/showpost.php?p=14310172&postcount=5
Can you please also state that it only works on 64bit builds of ubuntu and not 32bit...
Renegade_Rulez said:
Can you please also state that it only works on 64bit builds of ubuntu and not 32bit...
Click to expand...
Click to collapse
Aside from what you can read on the net, my KANGs build perfectly fine on Ubuntu 32Bit
No reason to not install 64Bit though. I'll add a remark in the first post.
Edit: After some asking and digging, read this:
http://twitter.com/#!/CM_arcee/status/75677847712309249
So while standard Gingerbread cannot be built by 32Bit, the CyanogenMod7 repository can.
is this meant to download a lot of stuff for different phones? mine is downloading a lot of stuff at step 5 and it's taking forever..
Imperticus said:
is this meant to download a lot of stuff for different phones? mine is downloading a lot of stuff at step 5 and it's taking forever..
Click to expand...
Click to collapse
It will download files for each and every phones supported by CyanogenMod, thats why its called cyanogen repo, not just P990 repo, but mostly you will use stuff thats required by your phone.
and its suggested to have 15 - 20 GB free, as it takes a lot....
3.5 GB is just "out" folder when it compiles for one device (P990)......
bit of a noob.. done everything..when I try to make the build using build/envsetup.sh i get permission denied
Any help please?
copy/paste the command from the tutorial
there is a leading dot and space before "build
Code:
. build/envsetup,sh && brunch p990
Thank's for the tutorial but i allways get no gsm function build
logcat -b radio
RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
Click to expand...
Click to collapse
or
Couldn't find 'rild' socket; retrying after timeout
Click to expand...
Click to collapse
What baseband are you using? Make sure that the lge-ril.so is in your proprietary files
aMpeX said:
What baseband are you using? Make sure that the lge-ril.so is in your proprietary files
Click to expand...
Click to collapse
Thank's for repy.
lge-ril.so is in and generally i flash my build coming from cyano #31 (405) and mcr18 (405)
So...405
Possibly (if you synced the proprietary repository by koush AFTER you ran extract-files.sh) your ROM still includes the lge-ril for 0218.
Try reflashing the ril with the methods provided in this forum.
Other than that, I have no idea what might be causing your problems.
old ril file from koush files do work on 405 baseband too, but you feel better performance with new ril. with old ril you may loose signals sometime.
delete your vendor/lge/p990 folder, and download again from koush's files and put it back there. make sure your directories are in order
example: for lib-ril.so in as below
like ~/android/system/vendor/lge/p990/proprietery/lib/
I tried the below method and it successfully worked on my canvas a1(sprout 4) android 6.0.1
1.install linux deploy app from play storeclick here
2.open it, in properties, select your distribution(kali linux).
3.for armv7 cpu, select arhmf and for older select other options in architecture.
4.(optional)select gnome in desktop environment if you want pc like experience otherwise leave all settings default.
5.you need atleast 4 gb on your ext sd card (or internal) and a good wifi connection.
6. click on install button at the top.
7. app will start its process, and will take from 30MIN to 2 hours depending on your wifi speed.
8.after the process finishes,( with command <<install at the end), download bvnc click here and juice ssh click here from playstore. bvnc is required for graphical vnc session and ssh for terminal only session.
9.in linux deploy, click on start button, and it will tell you ports for both vnc and ssh sessions. ip address is listed on top of linux deply app. default username and password for both the sessions is 'android' and 'changeme' resp..
10. open bvnc(or juicessh) and enter your ip in address or hostname field and port no. in port field and your username and pasword as written in step 9.
11. click connect and enjoy kali linux on your android phone.
note* linux that will be installed is without any tools. just dowload them from putting apt_get install yourtoolname in the terminal.
this is my first post , i regret any inconviniece .
THERE WILL BE NO FACTORY RESET OR DATA LOST. THIS PROCESS IS ALMOST BUGFREE IF DONE PROPERLY.
HIT THANKS IF IT HELPED:laugh::laugh:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
official link (official kali.org guide) https://www.kali.org/tutorials/kali-linux-android-linux-deploy/
*NOTE:INSTALL MEEFIK BUSYBOX FROM PLAYSTORE FOR LATEST VERSION OF LINUX DEPLOY(THE OTHER BUSYBOX WILL NOT WORK)
LINK TO MEEFIK BUSYBOX..HERE
Ss please
Bro can you please help me I have a sprout 4 running on marshmallow 6.0 I have all apps you say . and doing everything same but after all process when I press start button its show me a ssh and vnc both are faild to open what I do for this. Plz help I want kali Linux in my Android one..a
Sent from my Micromax AQ4501 using XDA Forums
manishsarkar2017 said:
Bro can you please help me I have a sprout 4 running on marshmallow 6.0 I have all apps you say . and doing everything same but after all process when I press start button its show me a ssh and vnc both are faild to open what I do for this. Plz help I want kali Linux in my Android one..a
Sent from my Micromax AQ4501 using XDA Forums
Click to expand...
Click to collapse
ok, possible reasons for this are:
1. linux deploy hasn't been granted su permission. check for it.
2. installation not done properly. please click on reconfigure (with proper internet connection) and see if it downloads some other important things that you may have missed in installation.
3.then click on start. poth the ports should open now. if they doesn't, that means you have not installed them properly.
you have to delete your previous linux.img and create a new one with proper installation.
click thanks if it helped. it really works,:laugh: my all freinds use kali on their android.
Nice thread,
yash sharma100 said:
ok, possible reasons for this are:
1. linux deploy hasn't been granted su permission. check for it.
2. installation not done properly. please click on reconfigure (with proper internet connection) and see if it downloads some other important things that you may have missed in installation.
3.then click on start. poth the ports should open now. if they doesn't, that means you have not installed them properly.
you have to delete your previous linux.img and create a new one with proper installation.
click thanks if it helped. it really works,:laugh: my all freinds use kali on their android.
Click to expand...
Click to collapse
Can i do panatrck testing after linux install...
Bro one base file download faild and its not download after reconfuger how to download perfactly can you tell me on whatsapp plz +919654143486 fast plz...
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
dursosono said:
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
Click to expand...
Click to collapse
can you please send me a screenshot of error?
manishsarkar2017 said:
Bro one base file download faild and its not download after reconfuger how to download perfactly can you tell me on whatsapp plz +919654143486 fast plz...
Click to expand...
Click to collapse
please upload a screenshot of your problem so can undrstand it correctly.
plz help in asus zenfone 2
[email protected]:~$ su
Password:
su: Authentication failure
[email protected]:~$ sudo -i
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
[email protected]:~$
And now ?
it shows
when we type
sudo passwd
it shows
sudo effective uid is not 0 is /usr/bin/sudo on a filesystem with the 'nosuid'
plz help bro
tnx.....
I have successfully installed Kali Linux but without tools ...bro can u tell me which screen size better for android one for Kali linux
default settings are best
manishsarkar2017 said:
I have successfully installed Kali Linux but without tools ...bro can u tell me which screen size better for android one for Kali linux
Click to expand...
Click to collapse
default settings are best.
.
jakustar007 said:
[email protected]:~$ su
Password:
su: Authentication failure
[email protected]:~$ sudo -i
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
[email protected]:~$
And now ?
it shows
when we type
sudo passwd
it shows
sudo effective uid is not 0 is /usr/bin/sudo on a filesystem with the 'nosuid'
plz help bro
tnx.....
Click to expand...
Click to collapse
try sudo su
Thx..dude...can u plz contact wid me....
yash sharma100 said:
I tried the below method and it successfully worked on my canvas a1(sprout 4) android 6.0.1
1.install linux deploy app from play storeclick here
2.open it, in properties, select your distribution(kali linux).
3.for armv7 cpu, select arhmf and for older select other options in architecture.
4.(optional)select gnome in desktop environment if you want pc like experience otherwise leave all settings default.
5.you need atleast 4 gb on your ext sd card (or internal) and a good wifi connection.
6. click on install button at the top.
7. app will start its process, and will take from 30MIN to 2 hours depending on your wifi speed.
8.after the process finishes,( with command <<install at the end), download bvnc click here and juice ssh click here from playstore. bvnc is required for graphical vnc session and ssh for terminal only session.
9.in linux deploy, click on start button, and it will tell you ports for both vnc and ssh sessions. ip address is listed on top of linux deply app. default username and password for both the sessions is 'android' and 'changeme' resp..
10. open bvnc(or juicessh) and enter your ip in address or hostname field and port no. in port field and your username and pasword as written in step 9.
11. click connect and enjoy kali linux on your android phone.
note* linux that will be installed is without any tools. just dowload them from putting apt_get install yourtoolname in the terminal.
this is my first post , i regret any inconviniece .
THERE WILL BE NO FACTORY RESET OR DATA LOST. THIS PROCESS IS ALMOST BUGFREE IF DONE PROPERLY.
HIT THANKS IF IT HELPED:laugh::laugh:
official link (official kali.org guide) https://www.kali.org/tutorials/kali-linux-android-linux-deploy/
*NOTE:INSTALL MEEFIK BUSYBOX FROM PLAYSTORE FOR LATEST VERSION OF LINUX DEPLOY(THE OTHER BUSYBOX WILL NOT WORK)
LINK TO MEEFIK BUSYBOX..HERE
Click to expand...
Click to collapse
Hai
I had some issues in VNC (kali) give black and grey screen I do all good plz give some good and to solve this out using mi4w Xiaomi
Failed
Hello, help me plz i want to install kali linux but cant bcouz the ar cant found
Can't install kali linux on htc one
My HTC One having viper one rom .when I was trying to install it shows
Update configuration file ........done
Segmentation fault
Please help me.
This is android one oem cross development community thread . Go find your own community .
---------- Post added at 03:57 PM ---------- Previous post was at 03:27 PM ----------
what do i write in vnc server ?
dursosono said:
I can't install, both dns & mtab were fail. Running on custom stock rom MM 6.0 V30B already rooted, device LG G3 D855. Plz help
Edit: i can installed dns & mtab btw still can't vnc & ssh
Click to expand...
Click to collapse
same problem here too unable to start services vnc and ssh fail
HTC desire 816
##I DO NOT ACCEPT FOR BRICKED DEVICES, AND ILLEGAL WORKS##
!!!USE WITH CAUTION!!!
Device: Sony Xperia Z5 Compact
OS: LineageOS 14.1 / Android 7.1.2
Thanks for helps to: @Joeisgood99
1.Take a full backup or only Boot partition
2.Flash Nethunter zip
3. Reboot
4. Open FDroid Nethunter, Upgrade Nethunter apps
5. Open Nethunter app, give permissions
6. Open Nethunter Terminal, give permissions and: apt-get update
7. Open Nethunter app,Navigate to Chroot (metapackages) manager, select Nethunter and press install/upgrade
Unofficial Download Link: https://drive.google.com/file/d/1iFDtMelkcDjOgiNnS90GsHdaWTmeap6l/view
EDIT: Dear @Re4son built OFFICIAL NETHUNTER for Suzuran . It includes; patched wlan0 firmware, HID support and many RTL wlan1 drivers
INSTRUCTIONS FOR BUILD YOURSELF OFFICIALLY (RECOMMENDED):
1- clone this https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project
Code:
git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project
2-
Code:
cd nethunter-installer
3-
Code:
./bootstrap.sh
4- press Y to download devices list.
5-
Code:
python build.py -d suzuran --nougat --rootfs full
(if you prefer lower storage usage, then change rootfs full to rootfs minimal.)
(press Y to download latest rootfs chroot.)
(This will create about 1,2GB of flashable ZIP file and after flash this, it will take 10 GB of internal storage)
6- connect your Z5 Compact to your PC and move zip to your internal storage.
(if you arent have PC, then flash my UNOFFICIAL zip and start KeX in Kali Nethunter menu (Desktop Enviroment) and run that commands in Nethunter)
(if your PC doesnt know your device, press this commands:
Code:
adb push CreatedNethunterFlashableZip /sdcard
7- after, go to TWRP and press backup your BOOT partition for any bootloop causes.
8- in TWRP, press install and choose created Nethunter Zip then press flash.
9- Reboot device and go to FDroid Nethunter version and upgrade Nethunter to latest apk.
10- go to Nethunter app and grant permissions.
11- press Kali chroot manager and then press Add metapackage. Select Kali-linux-nethunter
12- after install procces, go to KeX menu and press Setup local server and write custom password for Kex VNC login. after write, press n
13- In KeX menu, press start server and wait.
14- go to KeX app and write ip to your local ip ( in Nethunter app, go to Home menu and check wlan0 inet without /24 (example 192.168.1.101))
(if you arent connect wifi, press 127.0.0.1 in ip section.
15- write your preconfigured custom password
16- in front of ip section, press 5901 and hit connect.
INSTRUCTIONS FOR WLAN0 (INTERNAL WIFI) MONITOR MODE AND INJECTIONS TEST
INSTRUCTIONS FOR EASILY SET MONITOR MODE:
1. Download Prepatched Firmware:
nougat/suzuran/nexmon-fw/fw_bcmdhd.bin.nexmon · master · Kali Linux / NetHunter / build-scripts / kali-nethunter-devices · GitLab
Devices https://stats.nethunter.com/ https://nethunter.kali.org/
gitlab.com
(rename to fw_bcmdhd.bin)
2. Go to TWRP, select mount and system.
3. Go to main, file manager.
4. Navigate to /system/etc/firmware/wlan/bcmdhd/
5. Move fw_bcmdhd.bin file to your /sdcard/ (for backup)
6. Move into prepatched firmware
/system/etc/firmware/wlan/bcmdhd/
7. reboot system and done.
PATCH YOURSELF:
PART 1:
IN YOUR PC:
1. git clone https://github.com/seemoo-lab/nexmon.git
2. sudo apt-get install git gawk qpdf adb flex bison
3. sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
4. cd nexmon
5. source setup_env.sh
6. make (enter in terminal, like that up)
7. cd patches/bcm43455/7_45_59_16/nexmon
8. make
9. Generate a backup of your original firmware file: make backup-firmware
Install the patched firmware on your smartphone: make install-firmware (make sure your smartphone is connected to your machine beforehand)
https://github.com/seemoo-lab/nexmon...ster/README.md
PART 2 TEST WLAN0 MONITOR MODE:
IN YOUR PHONE:
1- open your wifi and go terminal app.
2-
Code:
. monstart-nh
3- and lets test monitor and injections:
Code:
airodump-ng wlan0
Code:
aireplay-ng -9 wlan0
4- if monitor mode shows any AP's, injection test says injections works, and some AP's reach %1 or upper, then monitor support works good, enjoy
thanks to @Re4son ..
Source Code: https://github.com/Re4son/android_kernel_sony_msm8994/tree/nethunter-14.1
NV modding
Are you able to modify Modem NV Registers with this kernel (assuming it's custom). Can you give it a try via vi or vim? I would prefer to do the modifications on device and simply update ramfs, if possible let me know.
nice
good job, do you know if encryption is working ?
No wlan 1
Thank you so much for making Nethunter for the Z5 compact.
Im on LOS 14.1 / Android 7.1.2 unoffical-suzuran.
I flash the zip from twrp, Restart and update Kali Chroot.
Everything works, Except kali can not find my wifi adapter.
I use the TP Link TL-WN722N-V1 have tried different otg cables,
But no Luck. "i also turn on usb otg"
I have tried many different wifi adapters, im not shore
what wifi drivers that this kernel suport.
im a newbie, So hope someone could help me make this work.
Thank you and regards from Michael.
@NetRoot bro. How to enable monitor mode?
Monstart-nh?
aggunawan said:
@NetRoot bro. How to enable monitor mode?
Monstart-nh?
Click to expand...
Click to collapse
yes bro
source monstart-nh
@NetRoot whats wrong bro with this?
And what is external wireless card support to the kernel? I use tp-link 722n v-1. Chipset atheros ath9k.
NetRoot said:
yes bro
source monstart-nh
Click to expand...
Click to collapse
What's wrong ?
@NetRoot and no module installed
@aggunawan Oops bro i forget.
You must patch wifi:https://github.com/seemoo-lab/nexmon
Our phone uses BCM43455 .
I added broadcom wifi and bluetooth modules but it isnt correctly installed.
NetRoot said:
@aggunawan Oops bro i forget.
You must patch wifi:https://github.com/seemoo-lab/nexmon
Our phone uses BCM43455 .
Click to expand...
Click to collapse
thanks bro @NetRoot. But I have tried compile nexmon https://github.com/seemoo-lab/nexmon many many time, but i always failure. Please help me to compile step by step? Please bro
aggunawan said:
@NetRoot bro. How to enable monitor mode?
Monstart-nh?
Click to expand...
Click to collapse
aggunawan said:
thanks bro @NetRoot. But I have tried compile nexmon https://github.com/seemoo-lab/nexmon many many time, but i always failure. Please help me to compile step by step? Please bro
Click to expand...
Click to collapse
1. git clone https://github.com/seemoo-lab/nexmon.git
2. sudo apt-get install git gawk qpdf adb flex bison
3. sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
4. cd nexmon
5. source setup_env.sh
6. make (enter in terminal, like that up)
7. cd patches/bcm43455/7_45_59_16/nexmon
8. make
9. Generate a backup of your original firmware file: make backup-firmware
Install the patched firmware on your smartphone: make install-firmware (make sure your smartphone is connected to your machine beforehand)
https://github.com/seemoo-lab/nexmon/blob/master/README.md
4.
NetRoot said:
1. git clone https://github.com/seemoo-lab/nexmon.git
2. sudo apt-get install git gawk qpdf adb flex bison
3. sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
4. cd nexmon
5. source setup_env.sh
6. make (enter in terminal, like that up)
7. cd patches/bcm43455/7_45_59_16/nexmon
8. make
9. Generate a backup of your original firmware file: make backup-firmware
Install the patched firmware on your smartphone: make install-firmware (make sure your smartphone is connected to your machine beforehand)
https://github.com/seemoo-lab/nexmon/blob/master/README.md
4.
Click to expand...
Click to collapse
Have you @NetRoot succesfully compiled it bro ?
@aggunawan yes bro.
NetRoot said:
@aggunawan yes bro.
Click to expand...
Click to collapse
@NetRoot. does it have to compile Android-NDK? How to compile it?
Failure to compile nexmon
Bro @NetRoot
@aggunawan bro use Kali amd (pc) not use compiling procces in nethunter.
NetRoot said:
@aggunawan bro use Kali amd (pc) not use compiling procces in nethunter.
Click to expand...
Click to collapse
Is there another way to compile it bro @NetRoot?
And please make kernel support external wireless adapter bro? Please
aggunawan said:
Is there another way to compile it bro @NetRoot?
And please make kernel support external wireless adapter bro? Please
Click to expand...
Click to collapse
No bro you must patch bcm43455 wifi.
Yeah that kernel already compiled for rtlwifi drivers.
You can see in: /system/etc/firmware/rtlwifi/
I am looking for a list of all termux Packages and what there functions are, I am knew to the Linux and termux world and trying to learn anything and everything I can, any directions will be greatly appreciated, I'm trying to focus on learning termux right this moment. Thank you everyone and God Bless.
Package Management - Termux Wiki
wiki.termux.com
pkg list-all
Does list them all. Get to about half the alphabet and then no more why cause it cant keep going. So honestly someone needs to help with it.
well
termux package based on AUR (maybe)
and make sure u installed it from Fdroid
try this
Code:
apt update && apt upgrade
apt install x11-utils
apt install root-utils
#for x11 and root are showed from frist you open termux
apt list
# marked as comment, ignore it
Termux | F-Droid - Free and Open Source Android App Repository
Emulator terminala z pakietami
f-droid.org
Avisadius said:
(...)
apt install x11-utils
apt install root-utils
(...)
Click to expand...
Click to collapse
E: Unable to locate package x11-utils
E: Unable to locate package root-utils
A termux-setup-storage should be performed before use, but even that doesn't help.
ze7zez said:
E: Unable to locate package x11-utils
E: Unable to locate package root-utils
A termux-setup-storage should be performed before use, but even that doesn't help.
Click to expand...
Click to collapse
true
Make the command output to a text file, then it will contain all the lines.
First, make sure termux has storage permission (or maybe it will ask when you run this command, not sure)
pkg list-all >> /storage/emulated/0/Download/all.txt
cybercme2aT said:
(...) I am knew to the Linux and termux world and trying to learn anything and everything I can, any directions will be greatly appreciated, I'm trying to focus on learning termux right this moment. Thank you everyone and God Bless.
Click to expand...
Click to collapse
For you and for everyone who came across this thread, I recommend learning about the tremendous opportunities that come with using termux on your phone.
[GUIDE][NO-ROOT] How to install Ubuntu and other Linux Distros on Your Phone or Android TV Box, using Termux
NOTICE: THIS METHOD IS ONLY FOR NON ROOTED DEVICES PROOT-DISTRO GITHUB PAGE Hello Friends! Today I wanted to start a thread that will house prebuilt Linux environments, as well as instructions for building the Linux environments yourself...
forum.xda-developers.com
jenneh's other threads are also very informative.