welcome. So if you have a 3g wifi router - Huawei E5830 or zte mf30, you can add features to your devices. Both devices have a micro sd slot. inside the device runs Linux, now get access to the content sd card via ftp server. First I will show you how easy to get ftpd at the Huawei E5830, then back to the zte mf30.
ftpd enable for the Huawei E5830
1. the first thing you need to do for enable ftpd on device is access to internal Linux via telnet. For huawei 5830 for enable telnet to open a web page http://www.zibri.org/2010/04/e5830-telnet-server-enabler.html You need use PC for to enable telnet at you wifi router. Huawei E585, E5830, E5832S, E583C declared supported, you need to download the application to enable support for telnet. Before downloading disable your anti-virus, it will be possible to report on the virus, but the virus is not present. then need to connect the device to a PC via USB and turn on. If the driver and the software is not installed, you must install. Then run the downloaded application. At the input field will be the date and time. You need to visit the blog entry that matches the date and time at input field of the application. You need to copy the blog title and paste into the application input field. When the application is worked out, congratulations, you now had access to the internal Linux. To check access via telnet you need to typing at console telnet 192.168.1.1 then you should see a login prompt. Enter root without a password.
2. Now when accessed through telnet open, now you need to download and unzip ftpenable.zip to the root at the micro sd card. You need ftpenable folder at the root of the micro sd card. Place micro sd card into wifi router and turn on it. Connect your android device to the wifi router via wifi
3. Now you can use any console but I recommend downloading connectbot. free application at the playstore https://play.google.com/store/apps/details?id=org.connectbot&feature=search_result#?t=W251bGwsMSwxLDEsIm9yZy5jb25uZWN0Ym90Il0 . Run connectbot, choose telnet, enter 192.168.1.1 connect over telnet. Now close the connection. Now we have a record in the connectbot 192.168.1.1 then long press and select from the list - edit host. Select from a list of post-login automation and at the input box paste the following text.
root
mkdir /mnt/sdcard
mount /dev/mmcblk0p1 /mnt/sdcard
sh /mnt/sdcard/ftpenable/inst.sh
echo "well done! congratulations!"
Note that after the last line cursor should be to move to a new line(like press enter). It was the execution of the script to install busybox which supports ftpd. After WiFi router will rebooted. Connect WiFi router and open connectbot. Then long press and select edit host. Go to the post-login automation. Delete script for installation busy box and paste text
root
startftpd.sh
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I created two entries in connectbot. one to install busybox, another to start ftpd.
after the close of the session in connectbot, ftpd stops.
it's convenient. When you need to access through ftp you turn it on when you need access to micro sd via usb, you turn off ftpd closing session connectbot.
so to enable FTP access to micro sd now need to connect to wifi router and run connectbot last entry that starts ftpd on the router. or enter into any console and connect to a telnet then typing startftpd.sh
Ftp enable for the ZTE mf30
Zte mf30 has busybox that support ftpd, and only that we need is get telnet access to the internal Linux. I do not know how to get instant access to telnet. Now access to telnet need to get every time after reboot the router.
1. For enable telnet access to the WiFi router you need have web browser that support opening offline page. I use opera mobile. Download ftpenable.zip, unzip it. First connect WiFi router. then go to opera mobile and type 192.168.0.1 then enter login and password admin admin.
Enter to the web page Wi-Fi router.
Then go to ftpenable folder and launch script.html choose open with opera mobile. Choose enable.
2. To enable ftp server. execute the commands below it. I have use connectbot, because it create record with automation. Then goto connect bot. you need to create a connection. telnet 192.168.0.1 then paste the text in the automation
root
mkdir /mnt/sdcard
mount /dev/mmcblk0p1 /mnt/sdcard
/system/busybox tcpsvd -vE 0.0.0.0 21 /system/busybox ftpd -v -w /mnt/sdcard
do not forget to go to the next line after the last sentence. to execute.
i have used total comander with ftp plaggin to connect ftp server 192.168.0.1
Hi, thanks for the above instructions am trying them out on my Huawei E5830. When I enter
mount /dev/mmcblk0p1 /mnt/sdcard
I get
mount: mounting /dev/mmcblk0p1 on /mnt/sdcard failed: Device or resource busy
have tried with connectbot and from terminal on my linux pc. What do you think is wrong?
EDIT
Got it working now, thanks.
This is very interesting! I wonder if it's possible to do also for my E589... I'll check shortly. However, it would be good to be able to circumvent that BS "telnet enabler" program which triggers 32/46 AV's for trojans ... Doesn't make sense. I bet $1 that it's just sending a modem specific AT command over terminal console to enable some feature or NV item. The E5830 is Qualcomm based...
If this is possible, I'll update with new info on my E589 thread.
darren1 said:
Got it working now, thanks.
Click to expand...
Click to collapse
What did you do exactly?
(Also what date/time did you get?)
I think I was getting the error message because I had previously mounted the sd card on my PC, so I turned off mifi took out SD card turned it back on and put SD card back and it worked. I just followed the instructions samapal gave. Im afraid I can't remember which date/time I got.
Hi, this seems to be very interesting, but the link to the attachment seems dead. Do anybody still have the ftpenable.zip??? Thanks!!!
Link still working for me.
https://www.dropbox.com/s/wqip2vs72wk55t1/ftpenable.zip
Thanks Darren. But unfortunately the link says the file has been deleted or move.
Ok, here is a fresh link.
http://www.filefactory.com/file/60sf5nd63jdz/ftpenable.zip
Thanks a lot!!!
E5830t.exe not working. After copy post title there is no OK button.
darren1 said:
Ok, here is a fresh link.
http://www.filefactory.com/file/60sf5nd63jdz/ftpenable.zip
Click to expand...
Click to collapse
hi,
do you still have the file ftpenable.zip?
it's no longer available for download at the filefactory link.
thanks.
tripper_11 said:
hi,
do you still have the file ftpenable.zip?
it's no longer available for download at the filefactory link.
thanks.
Click to expand...
Click to collapse
Here is a fresh link
https://www.dropbox.com/s/24cjrw79dijg5gq/ftpenable.zip
darren1 said:
Ok, here is a fresh link.
http://www.filefactory.com/file/60sf5nd63jdz/ftpenable.zip
Click to expand...
Click to collapse
darren1 said:
Here is a fresh link
https://www.dropbox.com/s/24cjrw79dijg5gq/ftpenable.zip
Click to expand...
Click to collapse
Thanks a lot!
Related
First and formost: I am not the original creator of this work and I am only offering my method of getting this to work with your Galaxy S III. I had some issues which I worked out myself and with a little help from the official support from LinuxonAndroid.
All credits go to the original creators of this work, Android on Linux:
Official website
XDA page
Complete Android on Linux app via Google Play
There are two main methods of getting the required files. One is via the App, the other is from the website. There is a third option of building your own image, detailed in the app, but I had problems with rootstock and qemu so I can't verify it works. Also, rootstock has been depreciated and isn't in the official repositories any more.
Currently, I find the LXDE version to be quite smooth with a Swapfile on. There is also no Audio output.
You WILL need:
Install the app listed above from Google Play.
Also, download Android Terminal Emulator if you don't already have that installed and android-vnc-viewer.
You will also need something like Root Explorer or ES File Explorer. ES is great and free. I recommend that.
The Guide:
Follow the instructions in the app. Download your chosen image and extract it somewhere on your phone's internal SD card. A Folder called Ubuntu might be best You can also use the above website links and get them yourself form SourceForge or BitTorrent.
Now open up your file explorer and navigate to /data/data/com.zpwebsites.linuxonandroid/files/ Inside you should see a file called "bootscript.sh". You can either delete it and replace it with the modified file I provided or you can make the following changes:
Find:
Code:
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
fi
Add Under:
Code:
if [ -d /mnt/extSdCard ]; then
$bbox mount -o bind /mnt/extSdCard $mnt/external_sd
fi
Save or overwrite that file and move onto the next step. This may be incorporated into the next bootscript update, it may not. Make sure you check for this!
Ok, we should now be ready to first boot. Open the Complete Linux On Android app and navigate to "Launch". Point the laucnh page towards the palce you stored the iamge, also hit "Configure Linux" and tick the Swap File option. VERY important to do that. You can click the button that says "Boot" and the Android Terminal Emulator should open up and proceed to boot!
You may get an error here but it should continue normally and won't be a problem. You will be asked for your resolution and Unix password. The Password will be your LINUX password to authorise root access as normal. The resolution you should set is 1280x720 to match the resolution of our Galaxy S III displays.
You should get a read out like this when all is done and successful:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now we can move into the last step, getting to the desktop!
Open up the AndroidVNC app from the app drawer (if you didn't install that already do so now, the links are above).
Enter whatever you like for the Nickname. Ubuntu would be a good one, or you can just leave it blank.
Enter "localhost" without the quotes as the Address.
Enter "ubuntu" without the quotes as the Password.
Leave the Port as 5900
Hit connect!
You should now see something like this:
Touch Input seems to be the best input method for AndroidVNC.
Lots of information and support can be found via the app and the official Android On Linux website!
Things you could do:
Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
Download a VNC program for your PC and connect over Wi-Fi to remotely control your install
Donate
You should buy the donate version of the app on Google Play store to unlock beta features and support the devs! It comes in a few flavours, £1, £2 etc. All donations receive the features! Support these guys!
Phone Fund
Help these guys get more devices to port this over to, like our GS3, then we can expect more features!
http://www.indiegogo.com/Linuxonandroid
Thanks:
Thanks to Zack and Tuxling for getting this off the ground and creating the images and app!
Thanks to Francis Is Bacon, Zack and Brouche on the Linux on Android IRC for their help getting this running
Updated!
Yeah, now i can build cm10 kangs at cinema with my sgs3
Thanks, maybe i will test it later
how could I miss this? :crying:
going to test this, thanks!
Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
I've been looking for whole forum to see it it's possible, and it's not possible yet, you must choose if you use de OTG or MHL. We're still waiting for some kernel developers solve this issue.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Ahh, maybe Bluetooth, then?
Kryten2k35 said:
Ahh, maybe Bluetooth, then?
Click to expand...
Click to collapse
Yes, this would be another option but i'm not sure if you can connect a bluetooh mouse and keyboard... Hope samsung or anybody else fix the problem with mhl connector
topfreitas said:
Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
I've been looking for whole forum to see it it's possible, and it's not possible yet, you must choose if you use de OTG or MHL. We're still waiting for some kernel developers solve this issue.
Click to expand...
Click to collapse
Working great with a BT keyboard with integrated trackball and hdmi for the display.
I'm using the keysonic ksk-3201 BT
My trouble now is that the tv out is not working with cyanogenmod.
I think need to get back to stock i9100 rom but the power needed by ubuntu/gnome need a faster rom.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
So when you say to add the code in the boot script am I just pasting the /extsdcard add on or removing what you have above it as well?
Sent from my GT-I9300
CreekDirt said:
So when you say to add the code in the boot script am I just pasting the /extsdcard add on or removing what you have above it as well?
Sent from my GT-I9300
Click to expand...
Click to collapse
Hi mate,
You can remove what they have there or add it as well. I'll clean up the OP now to make this clearer.
Add this:
Code:
if [ -d /mnt/extSdCard ]; then
$bbox mount -o bind /mnt/extSdCard $mnt/external_sd
fi
UNDER:
Code:
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
fi
PUT HERE
REST OF STATEMENTS ARE HERE
You can also just get rid of all the other statements if you want since none of them are specific to the GS3.
I will try later. Thanks for the guide.
Enviado do meu GT-I9300
Hi, this is what I did after trying a lot of others things(not goted) to get 3G USB dongle with my TFT 101 and stock firmware than I found this.
{
"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"
}
This widget allows the use of 3G modems and phones attached to USB host ports. These ports are mainly found on Android tablets.
Features:
PPPD and Usb_ModeSwitch binaries (natively linked to Bionic) are included
Autodetection of usable modem ports
Minimal configuration input required (in most cases just username, password and APN)
Remember you are doing this by your own will I can't be responsable if something go wrong.
What you need.
1: You need root,superuser,busybox on your device.
2: 3G USB dongle
3: PPP Widget software :link:PPP Widget
How to:
After installing the PPP Widget.apk go to widget area and drag the widget to your home screen.
There is a large list of native supported dongle. Plugin your 3G dongle and you will be asked for superuser permission,accept and then push connect, a second superuser permission show, accept and see if you get connected(if your 3G dongle is in the supported devices than you are done).
If your device is not yet supported the you can do some manual worck. You need to find out your Target Vendor & Target Product
Using Terminal emulator type: dmesg scrool the list until ttyUSB0 then note this ID's.
Go to your Internal Memmory(sdcard) where pppwidget folder store the configuration file then in "cfg" folder you need to create a cfg file like this.
create a 19d2.1016(replace with your VENDOR/PRODUCT).txt file with notepad on your computter with this content:
Code:
# Digi Net Mobil ZTE (MF110)[COLOR="Red"]<= replace with your 3G dongle Model[/COLOR]
TargetVendor= 0x19d2[COLOR="red"]<=replace with your VENDOR[/COLOR]
TargetProduct=0x1016[COLOR="red"]<= replace with your PRODUCT[/COLOR]
MessageContent="5553424312345678000000000000061b00000002000000000000000000000
Put this file in /sdcard/pppwidget/cfg folder and delete "txt" termination.
You should be fine now.
This is an example for ZTE MF110.
Wow nice info..
Thanks goodoane for the nice guide.
I posted my success using this method earlier in this forum over here
http://forum.xda-developers.com/showthread.php?t=1848320
(may be that thread can be deleted or combined with this one, as this is more informative).
I am using the ZTE MF 190 USB modem provided by DIGI/RDS in Romania. Works great ! Thank you !
Sent from my Transformer TF101 using XDA Premium HD app
Another succeee
its working with ZTE Mf821
PPP widget problem
Hello!
I have a problem with my Nexus 7 tablet. I try to connect it to mobile internet (via OTG cable), did some research over the net, followed the instructions and finally realised that my modem is ZTE MF110 and not supported by the PPP widget (So this thread is just what i am looking for, i suppose). My problem now is that when i type "dmesg", it says OPERATION NOT PERMITTED. In which path should i type this? Is there another way to find target vendor and target product? I would be very glad if you could help me in any way.
Waiting for your reply!
Thanks in advance.
How to find
goodoane said:
Hi, this is what I did after trying a lot of others things(not goted) to get 3G USB dongle with my TFT 101 and stock firmware than I found this.
This widget allows the use of 3G modems and phones attached to USB host ports. These ports are mainly found on Android tablets.
Features:
PPPD and Usb_ModeSwitch binaries (natively linked to Bionic) are included
Autodetection of usable modem ports
Minimal configuration input required (in most cases just username, password and APN)
Remember you are doing this by your own will I can't be responsable if something go wrong.
What you need.
1: You need root,superuser,busybox on your device.
2: 3G USB dongle
3: PPP Widget software :link:PPP Widget
How to:
After installing the PPP Widget.apk go to widget area and drag the widget to your home screen.
There is a large list of native supported dongle. Plugin your 3G dongle and you will be asked for superuser permission,accept and then push connect, a second superuser permission show, accept and see if you get connected(if your 3G dongle is in the supported devices than you are done).
If your device is not yet supported the you can do some manual worck. You need to find out your Target Vendor & Target Product
Using Terminal emulator type: dmesg scrool the list until ttyUSB0 then note this ID's.
Go to your Internal Memmory(sdcard) where pppwidget folder store the configuration file then in "cfg" folder you need to create a cfg file like this.
create a 19d2.1016(replace with your VENDOR/PRODUCT).txt file with notepad on your computter with this content:
Code:
# Digi Net Mobil ZTE (MF110)[COLOR="Red"]<= replace with your 3G dongle Model[/COLOR]
TargetVendor= 0x19d2[COLOR="red"]<=replace with your VENDOR[/COLOR]
TargetProduct=0x1016[COLOR="red"]<= replace with your PRODUCT[/COLOR]
MessageContent="5553424312345678000000000000061b00000002000000000000000000000
Put this file in /sdcard/pppwidget/cfg folder and delete "txt" termination.
You should be fine now.
This is an example for ZTE MF110.
Click to expand...
Click to collapse
How to find TargetVendor and TargetProduct in PC ??
How to create usb_modswitch for Micromax AD210 Dongle.
Tegroid said:
How to find TargetVendor and TargetProduct in PC ??
Click to expand...
Click to collapse
How to create usb_modswitch for Micromax AD210 Dongle.
Desktop environment: Mate.
What work?
Wi-Fi - automaticaly connect by using android config
Bluetooth
Xorg server
Audio
What doesn't work:
qemu-i386 + wine
Network Manager applet don't show network connection icon.
Download:
https://drive.google.com/file/d/0B-6iiCUyzZjWZVpKS3EwcjBpZ0k/view?usp=drivesdk
Install:
Install Debian_Jessie_ARMHF.mrom File by twrp multirom.
Working with LTE 2013 ^^
Boots on WiFi only "Flo". Need to figure out WiFi to confirm, but I think gnome will work as a better interface. Much more touch friendly.
Sent from my SM-N910T3 using XDA-Developers mobile app
That is really awesome! Habe been looking for something like this for a long time.
How does one bring up a keyboard?
Failed...
Hi, that was the ROM I was looking for!
I downloaded the ROM from the above link to a USB drive, then I tried to install that ROM on my Nexus 7 2013 device as a secondary ROM besides Cyanogenmod 13 with Multirom TWRP 3.0.0-0, but it failed with following messages:
Code:
Updating partition details...
...done
Full SELinux support is present.
Installing ROM Debian_Jessie_ARMHF...
Free space check: Required: 1500 MB, free: 29118 MB
Creating folders and images for type 9
Disk size: 30703664
Freesize: 29817632
Space Required: 1536000
Creating root.img...
MTP Enabled
Debian Jessie ARMHF by Szybol. GG: 12352244
Extrating tarball rom/root_00.tar.gz...
Failed to extract tarball rom/root_00.tar.gz for folder root!
Failed to extract base root
Erasing incomplete ROM...
Any idea what's been going wrong?
Thanks, Heinz
You want install debian on usb stick, simple set root's image size to 4000MB.
{
"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"
}
New distro comming.
Ubuntu Xenial
View attachment 3726433
Oh no, I wanted to install Debian on the Nexus 7, not on the USB stick. How do I do that? Must be quite simple, but I have no idea...
Heinz
Do you have Access to folder: /data/media/0/multirom/roms ? On this location can you find folder internal or cyanogenmod?
Your device is flo "wifi" or deb "LTE"?
If you have this path and folders you can install Debian manualy.
You must have busybox installed!
I wait for reply, then i post next steps to extract Debian archive
Szybol said:
Do you have Access to folder: /data/media/0/multirom/roms ? On this location can you find folder internal or cyanogenmod?
Click to expand...
Click to collapse
Yes, I have access to this folder. My device is rooted. And there is a folder "Internal".
Your device is flo "wifi" or deb "LTE"?
Click to expand...
Click to collapse
It is the "deb" version with LTE.
If you have this path and folders you can install Debian manualy.
You must have busybox installed!
Click to expand...
Click to collapse
Busybox is installed, it's version 1.24-meefik.
Thank you for supporting me! My English is not the best, I live in Germany.
Heinz
Copy file to /sdcard and run in terminal or adb commands
[email protected]:/# adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # unzip /sdcard/Debian_Jessie_ARMHF.mrom
[email protected]:/sdcard # mkdir /data/media/0/multirom/roms/Debian
[email protected]:/sdcard # mkdir /data/media/0/multirom/roms/Debian/root
[email protected]:/sdcard # cp /sdcard/root_dir/rom_info.txt /data/media/0/multirom/roms/Debian
[email protected]:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_00.tar.gz
[email protected]:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_01.tar.gz
[email protected]o:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_02.tar.gz
Click to expand...
Click to collapse
It stays stuck at Google Logo(after I've chosen Debian in Multirom) for me. I waited about 30 Minutes.
I Now I have a working GUI with root privileges, thank you Szybol! Even a wireless keyboard and mouse works, with the USB plug on the other end of an OTG cable. The next is to get the wifi and mobile network working...
The point all this is to have dock station with some usb's.
Wireless keyboard, mouse.
And hdmi to monitor, tv.
Of course OS must support second screen.
bluetooth devices
Has anyone test bluetooth keyboard and mouse yet ?
Considering before install
Does it have the same bugs, that the native Arch port had, like issues with rotating the screen or breaking the whole system while updating it? Does the framebuffer output work?
Tried pairing my bluetooth keyboard, sadly it fails everytime for me
Is there anyway to set screen rotation to horizontal? Tried that, but it made Debian crash
witti96 said:
Does it have the same bugs, that the native Arch port had, like issues with rotating the screen or breaking the whole system while updating it? Does the framebuffer output work?
Click to expand...
Click to collapse
RodrigoDavy said:
Tried pairing my bluetooth keyboard, sadly it fails everytime for me
Is there anyway to set screen rotation to horizontal? Tried that, but it made Debian crash
Click to expand...
Click to collapse
The driver that is being used for hardware acceleration (freedreno) does not support rotation on our GPU (Adreno 3xx). Unfortunately, when tried, the driver crashes and takes the entire X-Server with it. If you look in the arch thread, you can find that I had even attempted building freedreno from source with the hope that upstream has this issue fixed, but sadly they do not. That said, the framebuffer works, it's just that the refresher built into the MSM driver is broken. So a separate software refresher needs to be used in order to see anything via the FB. If you don't care much about hardware acceleration, you can easily install an alternative framebuffer driver such as fbturbo or the like, however you'll need to do some hacky work to get X to initialize properly with them. In my custom arch image, I had to make a systemd unit that first started X using a freedreno configuration file, then killed X and started it properly using fbturbo in order to get it to work properly.
How to connect to a WiFi network
Thank you for your work, it is awesome. But i don't understand how to connect to a WiFi network... Can you please explaine me this? Many thanks
jiocol said:
Thank you for your work, it is awesome. But i don't understand how to connect to a WiFi network... Can you please explaine me this? Many thanks
Click to expand...
Click to collapse
It uses the wifi configurations of your android tablet. So if you have your wifi configured on the android it should connect automatically on Debian. (even if it doesn't indicate so)
[=RodrigoDavy;66834836]It uses the wifi configurations of your android tablet. So if you have your wifi configured on the android it should connect automatically on Debian. (even if it doesn't indicate so)[/QUOTE]
Ok, great, many thanks
I am fairly adept at modifying and resolving issues associated with modifying. However, after every attempt possible I have not been able to fix this issue.
I have somehow permanently removed my MAC address and IP address (I still have a Bluetooth address and IEMI) thereby preventing my device from turning on wifi. I have wiped and formated, I have executed "fastboot erase modemst1/2", I have completed reflashed stock MIUI ROM along with vendor and firmware packages of various android versions, and still with every ROM I load my wifi does not function.... Are there any other solutions I may use as a last attempt or have I rendered my phone essentially useless for day-to-day use? Any help would be greatly appreciated.
Cheers
{
"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"
}
Have you tried using the MiFlash tool and flashing a fastboot ROM?
rickbos said:
I am fairly adept at modifying and resolving issues associated with modifying. However, after every attempt possible I have not been able to fix this issue.
I have somehow permanently removed my MAC address and IP address (I still have a Bluetooth address and IEMI) thereby preventing my device from turning on wifi. I have wiped and formated, I have executed "fastboot erase modemst1/2", I have completed reflashed stock MIUI ROM along with vendor and firmware packages of various android versions, and still with every ROM I load my wifi does not function.... Are there any other solutions I may use as a last attempt or have I rendered my phone essentially useless for day-to-day use? Any help would be greatly appreciated.
Cheers
View attachment 5339379
Click to expand...
Click to collapse
Your phone does not have its 'own' IP address - IP address is dynamically given to your phone when you connect to the network (WLAN or Mobile Network) by use of DHCP service
Are you able to connect to the Mobile Internet?
When you connect to the Mobile Internet, your phone will be given the IP address there - see my screenshot "Mobile": WiFi disabled (hence MAC Address unavailable), but connected to Mobile Interntet and IP address 10.x.x.x (IPv4 address) given by my Mobile ooerator
On my "WLAN" screenshot, MAC Address is available (ofc, I had to partially erase on the screenshot) since WiFi is enabled, but IP address is now totally diferent, (long) IPv6 address given by my WLAN
Finally, on the "NoNet" screenshot, MAC Address is shown (WiFi enabled) but there is no IP address since not connected to Mobile Network nor WLAN
Back to your problem:
You say you flashed the Fastboot stock ROM but still no success.
Then either your WiFi chip is broken or you messed up your EFS partition - do you have a backup of your EFS and have you tried to restore?
I have yes, unfortunately, this makes me worried that this cannot be fixed...
zgfg said:
Your phone does not have its 'own' IP address - IP address is dynamically given to your phone when you connect to the network (WLAN or Mobile Network) by use of DHCP service
Are you able to connect to the Mobile Internet?
When you connect to the Mobile Internet, your phone will be given the IP address there - see my screenshot "Mobile": WiFi disabled (hence MAC Address unavailable), connected to Mobile Interntet, IP address 10.x.x.x (IPv4 address given by my Mobile ooerator)
On my "WLAN" screenshot, MAC Address is available since WiFi is enabled, and IP address is now totally diferent, (long) IPv6 address given by my WLAN
Back to your problem:
You say you flashed the Fastboot stock ROM but still no success.
Then either your WiFi chip is broken or you messed up your EFS partition - do you have a backup of your EFS and have you tried to restore?
Click to expand...
Click to collapse
I doubt he had a backup of the EFS partition or he’d probably have done that already.
rickbos said:
I have yes, unfortunately, this makes me worried that this cannot be fixed...
Click to expand...
Click to collapse
Oh oops, um I saw this on another forum but can you open the wifi settings or does it crash?
You have informed us that the wifi cannot function, but can you access the settings or does it crash to the homescreen?
rickbos said:
I have yes, unfortunately, this makes me worried that this cannot be fixed...
Click to expand...
Click to collapse
You could inspect your kernel log - root is required
From PC, by ADB:
adb shell su -c dmesg > /sdcard/Download/dmesg.log
or from terminal app on the phone:
su -c dmesg > /sdcard/Download/dmesg.log
dmesg.log file will be saved to Internal memory, Download folder.
Open as a text file and search for lines containing wlan (and/or wifi)
I have many of them, specially one like:
wlan0(vdevid-0): <my_MAC_address> connected to <WLAN_AP_MAC_address>
You should probably find some warnings or errors.
If nothing, then your WiFi is not enabled?!
Keno_I said:
Oh oops, um I saw this on another forum but can you open the wifi settings or does it crash?
You have informed us that the wifi cannot function, but can you access the settings or does it crash to the homescreen?
Click to expand...
Click to collapse
I can access wifi but when I hit the toggle it will try to load and the toggle will go back to off after a few seconds
Keno_I said:
I doubt he had a backup of the EFS partition or he’d probably have done that already.
Click to expand...
Click to collapse
I actually did but when I restored it, my phone would not boot up :/
zgfg said:
You could inspect your kernel log - root is required
From PC, by ADB:
adb shell su -c dmesg > /sdcard/Download/dmesg.log
or from terminal app on the phone:
su -c dmesg > /sdcard/Download/dmesg.log
dmesg.log file will be saved to Internal memory, Download folder.
Open as a text file and search for lines containing wlan (and/or wifi)
I have many of them, specially one like:
wlan0(vdevid-0): <my_MAC_address> connected to <WLAN_AP_MAC_address>
You should probably find some warnings or errors.
If nothing, then your WiFi is not enabled?!
Click to expand...
Click to collapse
I'll have to try this, thanks
Hello there!
Since the most recent guide thread ((that I found) [GUIDE] USB Reverse Tethering - New method) does is quite
complicated for many and requires root and for the sake of simplicity, I wanted to present a simpler alternative
to you here in a separate thread, which works without root and is not outdated.
If this violates any XDA rules, please close the thread.
-This method works 100% on Android 9. For other versions you need to check.
-Very useful for people whose wifi module is broken (like mine x.x)
I will attach the .zip here as well as pictures for a better understanding.
Requirements are:
-A working USB connection
-USB debugging enabled.
-A Windows computer
-adb
First, of course, we need to unzip the .zip.
In this case it doesn't matter where.
{
"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"
}
Second, we need to open the console and go to the path of the extracted .zip
CD path\to\gnirhtet-rust-win64
Third, we press tab 2 times in the cmd, space, write install and press enter.
When that's finished, we press tab again twice, space and write run and press enter.
Alternatively, if "gnirehtet" is already installed, you can use the .bat, provided in the .zip to start it.
That's it! You got reverse usb tethering!
thank you for sharing, i followed the steps but didn't succeed in getting internet
i think you should mention having adb in systempath or just extract your program in adb directory
my steps were
get adb fastboot and extract it
get your program extracted inside adb directory
start cmd normally without admin rights
execute first command in your post to install ( returned success)
execute second command ( returnt 1 at the end ) but no internet
Code:
2022-07-30 00:41:44.389 ERROR Main: Cannot start client: Command adb ["reverse",
"localabstract:gnirehtet", "tcp:31416"] returned with value 1
i should am running AOSP 7.1
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
0cold said:
**solved
i report it working on AOSP 7.1
solution = use an up-dated version of adb-tools
Click to expand...
Click to collapse
Lol
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
How to share the usb reverse tethered share via hotspot
konrino said:
Can you host network as a hotspot using reverse tethering?
Edit: Yes you can using VPNHotspot
Click to expand...
Click to collapse
How
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
patelmilanun said:
The problem im facing is that im able to use the internet but the apps are not detecting it as an actual connection and showing no internet. Is there any way we can emulate or fake our wifi or mobile data is turned on and connected?
Click to expand...
Click to collapse
I think that's a problem of the application, which wants a specific connection e.g. wifi or mobile data.
actually i want to update the phone using this method to download update package
patelmilanun said:
actually i want to update the phone using this method to download update package
Click to expand...
Click to collapse
This should be no problem.
It was creating the problem but then I just reflashed whole stock ROM and bam my phone is better than before
working thank you for this program.
You may also check the re-link app at https://re-link.io, as it doesn't even need ADB on Windows, making it safer to use