Related
Hi,
I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).
But it is still possible.
1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)
2. Activate Apps from unkown sources and ADB
Settings --> System --> Developersoptions
3. Make sure your are connected to the same network as your pc.
4. Sideload following app:
Code:
AndroidProxySetter:
github.com/jpkrause/AndroidProxySetter/releases
How To sideload:
aftvnews.com/sideload/#more-7959
5. Start the App over adb on your pc:
Code:
//connect to device
adb connect 192.168.1.184:5555
//check the connection
adb -s 192.168.1.184:5555 get-state
//start app
adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd
Where u would replace the device ip, host, port, ssid and key with the settings of your network.
Please mind that ur on a linux based system and everything is case sensitiv.
For more options look here:
Code:
github.com/jpkrause/AndroidProxySetter
5. Now, if everything is fine some little popups will be displayed and at last it should say connected.
6. Going back to the home screen and Done.
Known issues: After some major updates you will need to set the proxy again, so just repeat step 4
It should also run on the normal AFTV but i got none so i can't test it.
All Credit goes to JPKrause who wrote that little app, I just happend to find it
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
how to setting up proxy using pac file?
N4b0 said:
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
Click to expand...
Click to collapse
how to setting up proxy using pac file?
zcrself said:
how to setting up proxy using pac file?
Click to expand...
Click to collapse
Hi,
well I guess the AndroidProxySetter doesn't cover any way to use PAC files.
But you can actually open your pac file with an editor of your choise and extract your proxy settings from the containing functions.
bg N4b0
Hello, I have this working on a Fire Stick, I ran the commands on a Fire TV and is not working. Anyone has this working on a AFT (no stick)?
Any help is appreciated.
Thanks.
edit: it not working anymore on my fire tv stick, I see the connection going to the proxy but in the screen it says invalid_geo_ip, somehow they manage to get my original ip. My gf is american, and we are abroad, this was the only way to watch amazon content. Sad. I'll try to get a vpn instead, but this proxy setting was easy configuration.
Hi mastodonian,
in my case it still works like a charm on the AFTVS. I just tried it over a vpn that my home server provides, but the tv stick then says something about geo restriction even though its a german vpn. I suppose they are doing some kind of deep packet inspection or they got an ip blacklist.
Can't say but eventually the proxy you are tring to connect uses internally a vpn or is on a blacklist.
Cheers n4b0
can someone help me with this one im a bit slow on following instructions especially codes like these
gjhech said:
can someone help me with this one im a bit slow on following instructions especially codes like these
Click to expand...
Click to collapse
its pretty simple just do the following
Download adblock plus and install it on your firestick - use the power of google or an app store on your fire stick to get it
Download this app to your pc - https://github.com/jpkrause/Android...d/v0.1.3-alpha/proxy-setter-release-0.1.3.apk
Adb this app to your firestick by (assuming you have adb installed if not google howto)
enable adb on the fire stick in dev options if not already done so
adb connect 192.168.1.1 (change the ip address to your firesticks)
adb devices (you should see a list of devices connected if adb is working with your firestick ip address and port number)
adb install (then drag and drop the apk file into the command window - This will auto complete the path of the apk to save you entering it manually)
once the apk is installed
Code:
adb -s 192.168.1.1:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host localhost -e port 2020 -e ssid MyWifiName -e key MyWifiKey
Starting: Intent { cmp=tk.elevenk.proxysetter/.MainActivity (has extras) }
Change the ip address in the above code to your firestick ip address - the numbers after the : is the port address - it should match what you saw when you typed adb devices
Change the ssid to your wifi name and key to your wifi password
you will get some pop up windows on the firestick telling you if it has succeeded or you have errors
next open adblock plus and enable adblocking
restart the firestick
open adblock plus again and you shouldnt see the warning about it cannot manually set the proxy at the top of the screen
load up an adblock test website to test its working
Thank you for making this method clear and easy. However, even though I get the successful messages and the proxy chnages to localhost and the Port to 2020, Ad Block Plus still shows the "please configure manually" message after reboot.
Testing on some apps, the ads are most definitely not blocked!
Any suggestions?
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
It works perfect
I bought FireStick today and it wouldn't let me connect to Amazon as my ISP has made mandatory to use HTTP proxy.
I followed your step wise instructions and it worked. Thanks a ton
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
pdesai91 said:
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
Click to expand...
Click to collapse
Hi,
I actually had to do this myslef recently so what i did was just remove the network via the GUI and add the network again.
If you have to do this over ADB you should try to remove the network and add it without proxy flag
Cheers N4b0
xbarsasy said:
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
Click to expand...
Click to collapse
Well I have to clarify i did not make this app i just found it and put it to good use
On the issue i cant really say how to force him using the proxy. This method just configures the android intigrated Wifi network stack that supports proxys since 2.X is suppose. If an app like Netflix detects this, then u need an other method.
For windows i got an app called Proxifier, but until now i didnt find anything similar for android.
Only alternativ solution for your problem I can think of would be to configure your Accesspoint with a VPN on a second virtual network (well that's how i would do it).
Cheers N4b0
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Poareq said:
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Click to expand...
Click to collapse
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Not working for me too
uj812 said:
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Click to expand...
Click to collapse
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Solved... I think
phildani7 said:
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Click to expand...
Click to collapse
Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
The solution is simple! The latest version of the FIreTV OS includes a proxy setting!
Just follow Step 1. in the instructions here: Blocked
The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018
Since I've been blocked from posting a URL, here are the slightly modified instructions:
Setting a proxy on Fire TV
Bring up the Developer Tools Menu by one of the following two ways:
Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
Select Network Proxy
Select Manual
Enter your proxy IP address
Enter your proxy port
Click Save
Enjoy!
Hi All,
These proxy setting were working for me until the last update on OS 6.x and OS 7.x. The Developer setting app crashes on selecting save on the Network settings and the IP/port info is not saved.
Is someone else facing same issue.. Any work arounds?
Try this. It worked for me.
Use this .apk AndroidProxySetter. Install and follow the commands. It will route Network traffic to Charles proxy.
https://github.com/manadream/AndroidProxySetter
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
hosseinb said:
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
Click to expand...
Click to collapse
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
i_guana said:
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
Click to expand...
Click to collapse
'dun' option in APN settings. Pretty much make a new APN and copy everything exact and then add dun to APN type.
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Dr Doppio said:
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Click to expand...
Click to collapse
*#0808# are working with Samsung devices.
since i read about many people that wanted to flash a custom (or stock) rom but want to be able to restore the delivered rom i want to write a little tutorial for:
(this is what i did to make it work for me, be careful otherwise you can brick your device. i am not responsible if your device gets bricked)
I setting up ADB + Fastboot (on windows & Linux)
II booting a (racovery)image without flashing it
III backing up the WHOLE phone (to be able to restore the delivery status)
IV flashing (stock) rom
1. download:
- - - - 1.1 15 seconds ADB Installer (for Windows) from a xda user
- - - - - - - - - - 1.1.1 old and more complicated way to do that: Android IDE including the android sdk at https://developer.android.com/studio
actually you only need the android sdk which is included in the SDK tools package but i couldnt get that to work so i would be very happy if someone could write a short tutorial on how to use that and i will add it!
- - - - 1.2 twrp from https://twrp.me/devices/leecolemax2.html
- - - - 1.3 ROM: eg LineageOS from the ROM section
2. - 4. installing ADB and Driver
- - - - 2.5 WINDOWS: when using 15 seconds ADB installer step 2.-4. become obsolete
- - - - 2.6 LINUX: sudo apt update && sudo apt install android-tools-adb android-tools-fastboot && adb version (troubleshooting: sudo adb kill-server && sudo adb start-server)
2. install the ide:
- - - - 2.1 install the ide (android studio) which you downloaded
- - - - 2.2 open the android studio
- - - - 2.3 on the welcome screen press "configure" on the lower right corner, then "SDK Manager"
- - - - 2.4 go to "SDK Tools" and check the checkboxes "Android Platform Tools" (for ADB and Fastboot in console) and "Google USB Driver" (for the device driver) and press apply
3. setting adb and fastboot as Environment Variables (instead of navigating to the path where the adb.exe and fastboot.exe are (in order to use adb and fastboot in the console you can also add them to the system commands))
- - - - 3.1 open: open "Run" by pressing Windows+R -> enter "sysdm.cpl" and press ok -> advanced -> Environment Variables
- - - - - - - - - - 3.1.1 in the System variables section search for the variable "Path" and click the edit button
- - - - - - - - - - 3.1.2 add to the end ";" + your "platform-tools"-path (mine was in "C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools" but you can slo simply search the computer for "platform-tools" or "adb.exe" to find the path)
4. install adb usb driver
- - - - 4.1 plug in your Leeco Le Max 2 go to device manager (by openening "Run" by pressing Windows+R and enter "devmgmt.msc")
- - - - 4.2 search for your phone (mine was called "Android Phone" and had a yellow warning symbol)
- - - - 4.3 right click -> Update Driver Software -> "Browse my computer for driver software" -> "Let me pick from a list of device drivers on my computer" -> "Show All Devices" -> "Have Disk"
- - - - 4.4 enter the path to the Goolge USB Driver it should be "C:\Users\USERNAME\AppData\Local\Android\sdk\extras\google\usb_driver" (but you can also simply search your computer for "usb_driver" to find the path)
- - - - 4.5 select "Android ADB Interface" from the list -> confrim and install
- - - - 4.6 CAUTION: i had to install the driver twice!! once when the device was simply turned on and plugged in as described above and ALSO when it wen into fastboot mode!!!!
5. unlock your bootloader
- - - - 5.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times To Enable Developer Options
- - - - 5.2 Settings -> Developer Options -> enable "Usb Debugging"
- - - - 5.3 Settings -> Developer Options -> enable "Oem Unlock"
- - - - 5.4 connect your turned on Le Max 2 via USB
- - - - 5.5 start the console via Windows+R -> "cmd" and enter the following
- - - - 5.6 adb usb" -> confirm the connection on your device
- - - - 5.7 (optional) "adb devices" to check if your device is listed
- - - - 5.8 "adb reboot bootloader" brings you to the fastboot mode (if not check on of the links)
- - - - 5.9 (optional) "fastboot oem device-info" shows some info about your device e.g. your lock status
- - - - 5.10 "fastboot oem unlock" unlocks your bootloader -> confirm on smartphone (via "fastboot oem lock" you can also lock your device angain)
- - - - 5.11 (optional) "fastboot reboot" if you dont want to continue
6. boot into twrp without flashing and backup
- - - - 6.1 copy your twrp img (from 1.2) to the path you are using the console from (in the console you should see something like C:\Users\USERNAME>_ thats the device where you need to store your twrp image)
- - - - 6.3 enter the following to your console while beeing in fastboot mode (you possibly have to repeat steps 5.4-5.8)
- - - - 6.4 "fastboot boot RECOVERYNAME.img" replace the RECOVERYNAME by the name of your recovery imagename e.g. "twrp-3.0.2-1-x2.img" (for flashing the rom type [-"fastboot flash recovery RECOVERYNAME.img"
- - - - 6.5 twrp should start after a few seconds
- - - - 6.6 go to "backup"
- - - - 6.7 select everything!
- - - - 6.8 backup
- - - - 6.9 reboot your device (to system)
- - - - 6.10 copy the TWRP folder which contains the folder "BACKUPS" and your files to your computer
- - - - - - - - - - 6.10.1 you will possibly occure a "denied permission" error. so you'll have to go to the console (again in the twrp) and enter "chmod -R 777 /sdcard/TWRP" that changes the permission of everything invluded in the folder TWRP to read+write+execute
- - - - - - - - - - 6.10.2 alternatively you can also backup on a usb stick via otg
- - - - 6.11 to restore repeat till step 6.5 and go to restore, there you should see the backup you created (of course you should have copied it to your device via the pc)
7. flash recovery
- - - - 7.1 i flashed the indian stock rom since it already has the google play store installed (is there any benefit using the chinese rom????????)
- - - - 7.5 instead of steps 7.2-7.4 you can also simply copy the desired rom on your phone (or a usb stick that you connect to your phone and have to mount inside TWRP!) and use the install option of TWRPthats way easier!!!
- - - - 7.2 start twrp again (see 6.3-6.5) and enter the adb sideload mode
- - - - 7.3 on the cmd type "adb sideload STOCKrOM.zip" (another way is described in this post: https://forum.xda-developers.com/showpost.php?p=73995755&postcount=104)
- - - - 7.4 CAUTION: the adb command on my computer took so long that the adb sideloadmode on the smartphone exited with a timout error... if you have the same problem just try to start the adb sideload command on the smartphone one or two minutes after you entered it on the cmd
links:
1. https://translate.google.com/transl...e/wiki/Adb_und_Fastboot_Installation_(Windows)
2.
- - - - 2.6 https://www.linuxbabe.com/ubuntu/how-to-install-adb-fastboot-ubuntu-16-04-16-10-14-04
- - - - 2.6 https://wiki.ubuntuusers.de/adb/
- - - - 2.6 https://wiki.ubuntuusers.de/fastboot/
4. http://www.leeco.re/topic/88-manually-installing-android-adb-usb-driver/
5. https://www.******.com/install-twrp-root-le-max-2/
- - - - 5.10 http://en.miui.com/thread-279195-1-1.html
6. https://translate.google.com/transl....de/2014/08/android-geraet-sichern-ohne-root/
- - - - additonally https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
- - - - alternative: adb backup (but not working as nice as twrp/cwm backup) https://translate.google.com/transl...ystem-und-alle-apps-ueber-adb-backup-sichern/
- - - - 6.9 http://www.howtogeek.com/240655/how-to-copy-twrp-android-backups-to-your-pc-for-safe-keeping/
- - - - 6.9.1 https://www.codeproject.com/articles/825304/accessing-internal-data-on-android-device
7. http://forum.le.com/in/index.php?th...d-gen-superphones-offline-update-guide.12482/
https://wiki.lineageos.org/devices/x2/install
- - - - 7.1 http://forum.xda-developers.com/le-...m-recovery-t3419377/post67779556#post67779556
If you want to help make this tutorial better please feel free to comment and i will add it here:
there is a post that sums up almost everything i have written, but much more compact:
https://forum.xda-developers.com/showpost.php?p=72187023&postcount=73
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I AM VERY NEW TO THIS SO PLEASE CONSIDER THIS SIMPLY AS A PROTOCOL OF WHAT I DID
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS WHILE TRYING THIS OUT
thanks for the tutorial
Excellent tutorial, please add the step to root the phone for stock ROM. Thanks
nvm
atomicblue said:
i'm having permission errors when trying to move the backup to my desktop. when i type the chmod command in the adb terminal nothing happens. any help?
Click to expand...
Click to collapse
i need in order to help you:
- what is the error that occurs? can you please use the twrp file manager to locate the twrp backup path? on my device it was here "/sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" containing the syszem_image.emmc.win , data.ext4.win000 system.ext4.win000 and so on...
- canyou please also go to the console inside twrp and go to the twrp directory by typing "cd /sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" and then please type "ls -l" please post the output here ( i only need the first block of each line, it should look like this -rwxrwxrwx)
i read somewhere that you can copy files via adb... but i dont remember how that worked...
possible solutions:
but you can try to use a ubuntu live system and try to copy the files with linux
OR
you can use an otg adapter and copy the files via the file manager within twrp
Amowagou said:
Excellent tutorial, please add the step to root the phone for stock ROM. Thanks
Click to expand...
Click to collapse
thank you @Amowagou i never rooted my device since resurection and mokee are both prerooted so i dont know how to do that but i saw another very good post on that topic. basically you have to flash a supersu image.
so boot into twrp (depending on what you already have done you might need to start at point 1.1 till 6.4) and then just flash the supersu image with twrp
EDIT:
i just found the thread: http://forum.xda-developers.com/le-max-2/how-to/root-le-max-2-changing-stock-recovery-t3512619
i hope i could help!
I got it working, what happened was I didn't type the ch command in the terminal correctly haha.
thanks for taking your time to reply.
greenManGaming said:
i need in order to help you:
- what is the error that occurs? can you please use the twrp file manager to locate the twrp backup path? on my device it was here "/sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" containing the syszem_image.emmc.win , data.ext4.win000 system.ext4.win000 and so on...
- canyou please also go to the console inside twrp and go to the twrp directory by typing "cd /sdcard/TWRP/BACKUPS/"123abcd-canBeDifferent"/2016-12-13_someRandomDigits" and then please type "ls -l" please post the output here ( i only need the first block of each line, it should look like this -rwxrwxrwx)
i read somewhere that you can copy files via adb... but i dont remember how that worked...
possible solutions:
but you can try to use a ubuntu live system and try to copy the files with linux
OR
you can use an otg adapter and copy the files via the file manager within twrp
Click to expand...
Click to collapse
great, actually "chmod -R 755 /sdcard/TWRP" should be fine too i just wasnt sure what to do so i lifted ALL restrictions by granting EVERYBODY read, write and execute rights ^^
but for backing up data that should be fine
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Sweet-death said:
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Click to expand...
Click to collapse
Use Indian 15s it will work. Later change the EUI by updating it.
Sent from my Le X821 using XDA-Developers Legacy app
Sweet-death said:
Hello
First thank you very much for your great guide ! I think it is very clear and helped a lot of guys. :good:
However, i am facing an issue :
When i go to the sideload and write the code with the exact name of the zip file, it answer that it cannot read the file.
I tried to rename de file, with no special signs, replacing special signs with dots, naming it "filename". I tried to copy it in the C:\Users\Antoine\AppData\Local\Android\sdk\platform-tools it still wouldn't read it.
I tried with the indian version 16S but also 19S and both are not working.
Where should i copy the file ? What should be the name of it ? should i do something before coding "adb sideload" than just opening sideload in the phone's TWRP ?
To sum up : I don't know what to do, do you have a solution ?
Also, for newbies : the cmd in the twrp is in advanced, and called "terminal" (i seeked it for a long time).
Thank you in advance
Click to expand...
Click to collapse
it looks like your pathname has a white space in it. you have to choose a pathname without any whitespaces. (TIP: you can hold "SHIFT" + "RIGHT CLICK" then you can click on "copy as path", but remove the quotes if you paste it to the console)
[instead of using sideload you can also try to copy the stock rom on your device and install it with "install" on twrp or you can copy it on an usb stick and connect it via otg]
Hello,
thank you very much greenManGaming. It worked when in installed it through the TWRP
However it did not solve my problems with this phone, still cant recieve or send mms and wifi works only with youtube but won't open internet pages (which is very wierd, i can search on google, but can't open any pages ! Maybe setting issue ?).
Anyway, thank you very much for your tutorial, it was very clear and useful.
i heared that the chinese services for example the location service which runs over baidu arent working great outside china...maybe there are more issues outside china????
if nothing helps you can try one of the custom roms. (but be careful with mokee. i read that the mokee rom is (or at least was) trying to make a strange connection ... but i dont know if thats proven.. i just read it somewhere)
as far as i know @CrisBalGreece MIUI should be very good https://forum.xda-developers.com/le...max2-x820-822-miui8-1-6-12-3december-t3526832
regarding your browser problem. did you try another browser? (eg google chrome)
and also try another sms app (eg google messenger or maybe google allo)
if it didnt help, could you check which version you have right now? and maybe make an update?
greenManGaming said:
i heared that the chinese services for example the location service which runs over baidu arent working great outside china...maybe there are more issues outside china????
as far as i know @CrisBalGreece MIUI should be very good https://forum.xda-developers.com/le...max2-x820-822-miui8-1-6-12-3december-t3526832
[/URL])
Click to expand...
Click to collapse
Hello. Just take those scripts and put at the end of build.prop before flashing the rom. Those make the default DNS from BAIDU to Google DNS servers.
# Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
CrisBalGreece said:
Hello. Just take those scripts and put at the end of build.prop before flashing the rom. Those make the default DNS from BAIDU to Google DNS servers.
# Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Click to expand...
Click to collapse
Thank you CrisBalGreece for this advice, before trying the custom rom (always something not working at the end of the day) i would like to try your solution. :highfive:
Could you tell me were the file is ? it's a .whichformat ? Is it in the zip of the rom i will install ? Do i have to erase something before pasting it ?
I tried to find a build.prop file, don't have any, i also went through most of the files i found but nothing in it mention "google" or "baidu" and when "dns" is mentionned nothing's written like your quote
One last question, will this solve the mms solution ?
One last last question : i didn't erase data when upgrading from 16s to 19s, could it influence anyhing in anyway ?
I tried several other browser (chrome, opera, mozilla) and also sms programs (textra, chomp sms), nothing changes.:crying:
Don't forget i'm a total newbie so you should not expect much initiative from me :laugh:
withour root access you need to use adb to edit the build.prop
if you want to root your device there are plenty of apps on the appstore
here are two links for editing the build.prop with and without root, maybe the will help you
https://forum.xda-developers.com/showthread.php?t=1948558
http://www.theandroidsoul.com/edit-build-prop-without-root-using-adb-in-twrp-recovery/
Sweet-death said:
Thank you CrisBalGreece for this advice, >>>>>>>:
Click to expand...
Click to collapse
Hello, i don't know what is the phone you have so i can't help you. Eatch phone according his OS has diefrent properties. But if you have build.prop in your system file then you my go with this solution.
Maybye the mms,sms problem is on your APN settings and not on the DNS settings. Try to find your DNS configuration .xml to see inside if supports your carrier's configuration.
greenManGaming said:
since i read about many people that wanted to flash a custom (or stock) rom but want to be able to restore the delivered rom i want to write a little tutorial for:
(this is what i did to make it work for me, be careful otherwise you can brick your device. i am not responsible if your device gets bricked)
I setting up ADB + Fastboot (on windows)
II booting a (racovery)image without flashing it
III backing up the WHOLE phone (to be able to restore the delivery status)
IV flashing (stock) rom
1. download:
- - - - 1.1 Android IDE including the android sdk at https://developer.android.com/studio
actually you only need the android sdk which is included in the SDK tools package but i couldnt get that to work so i would be very happy if someone could write a short tutorial on how to use that and i will add it!
- - - - 1.2 twrp from https://twrp.me/devices/leecolemax2.html
- - - - 1.3 indian stock rom http://forum.le.com/in/eui_list.html -> on the top left choose "Le Max 2" in the drop down menu
2. install the ide:
- - - - 2.1 install the ide (android studio) which you downloaded
- - - - 2.2 open the android studio
- - - - 2.3 on the welcome screen press "configure" on the lower right corner, then "SDK Manager"
- - - - 2.4 go to "SDK Tools" and check the checkboxes "Android Platform Tools" (for ADB and Fastboot in console) and "Google USB Driver" (for the device driver) and press apply
3. setting adb and fastboot as Environment Variables (instead of navigating to the path where the adb.exe and fastboot.exe are (in order to use adb and fastboot in the console you can also add them to the system commands))
- - - - 3.1 open: open "Run" by pressing Windows+R -> enter "sysdm.cpl" and press ok -> advanced -> Environment Variables
- - - - - - - - - - 3.1.1 in the System variables section search for the variable "Path" and click the edit button
- - - - - - - - - - 3.1.2 add to the end ";" + your "platform-tools"-path (mine was in "C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools" but you can slo simply search the computer for "platform-tools" or "adb.exe" to find the path)
4. install adb usb driver
- - - - 4.1 plug in your Leeco Le Max 2 go to device manager (by openening "Run" by pressing Windows+R and enter "devmgmt.msc")
- - - - 4.2 search for your phone (mine was called "Android Phone" and had a yellow warning symbol)
- - - - 4.3 right click -> Update Driver Software -> "Browse my computer for driver software" -> "Let me pick from a list of device drivers on my computer" -> "Show All Devices" -> "Have Disk"
- - - - 4.4 enter the path to the Goolge USB Driver it should be "C:\Users\USERNAME\AppData\Local\Android\sdk\extras\google\usb_driver" (but you can also simply search your computer for "usb_driver" to find the path)
- - - - 4.5 select "Android ADB Interface" from the list -> confrim and install
- - - - 4.6 CAUTION: i had to install the driver twice!! once when the device was simply turned on and plugged in as described above and ALSO when it wen into fastboot mode!!!!
5. unlock your bootloader
- - - - 5.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times To Enable Developer Options
- - - - 5.2 Settings -> Developer Options -> enable "Usb Debugging"
- - - - 5.3 Settings -> Developer Options -> enable "Oem Unlock"
- - - - 5.4 connect your turned on Le Max 2 via USB
- - - - 5.5 start the console vie Windows+R -> "cmd" and enter the following
- - - - 5.6 adb usb" -> confirm the connection on your device
- - - - 5.7 (optional) "adb devices" to check if your device is listed
- - - - 5.8 "adb reboot bootloader" brings you to the fastboot mode (if not check on of the links)
- - - - 5.9 (optional) "fastboot oem device-info" shows some info about your device e.g. your lock status
- - - - 5.10 "fastboot oem unlock" unlocks your bootloader -> confirm on smartphone (via "fastboot oem lock" you can also lock your device angain)
- - - - 5.11 (optional) "fastboot reboot" if you dont want to continue
6. boot into twrp without flashing and backup
- - - - 6.1 copy your twrp img (from 1.2) to the path you are using the console from (in the console you should see something like C:\Users\USERNAME>_ thats the device where you need to store your twrp image)
- - - - 6.3 enter the following to your console while beeing in fastboot mode (you possibly have to repeat steps 5.4-5.8)
- - - - 6.4 "fastboot boot RECOVERYNAME.img" replace the RECOVERYNAME by the name of your recovery imagename e.g. "twrp-3.0.2-1-x2.img" (for flashing the rom type [-"fastboot flash recovery RECOVERYNAME.img"
- - - - 6.5 twrp should start after a few seconds
- - - - 6.6 go to "backup"
- - - - 6.7 select everything!
- - - - 6.8 backup
- - - - 6.9 reboot your device (to system)
- - - - 6.10 copy the TWRP folder which contains the folder "BACKUPS" and your files to your computer
- - - - - - - - - - 6.10.1 you will possibly occure a "denied permission" error. so you'll have to go to the console (again in the twrp) and enter "chmod -R 777 /sdcard/TWRP" that changes the permission of everything invluded in the folder TWRP to read+write+execute
- - - - - - - - - - 6.10.2 alternatively you can also backup on a usb stick via otg
- - - - 6.11 to restore repeat till step 6.5 and go to restore, there you should see the backup you created (of course you should have copied it to your device via the pc)
7. flash stock recovery
- - - - 7.1 i flashed the indian stock rom since it already has the google play store installed (is there any benefit using the chinese rom????????)
- - - - 7.2 start twrp again (see 6.3-6.5) and enter the adb sideload mode
- - - - 7.3 on the cmd type "adb sideload STOCKrOM.zip"
- - - - 7.4 CAUTION: the adb command on my computer took so long that the adb sideloadmode on the smartphone exited with a timout error... if you have the same problem just try to start the adb sideload command on the smartphone one or two minutes after you entered it on the cmd
links:
1. https://translate.google.com/transl...e/wiki/Adb_und_Fastboot_Installation_(Windows)
4. http://www.leeco.re/topic/88-manually-installing-android-adb-usb-driver/
5. https://www.gizdev.com/install-twrp-root-le-max-2/
- - - - 5.10 http://en.miui.com/thread-279195-1-1.html
6. https://translate.google.com/transl....de/2014/08/android-geraet-sichern-ohne-root/
- - - - additonally https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
- - - - alternative: adb backup (but not working as nice as twrp/cwm backup) https://translate.google.com/transl...ystem-und-alle-apps-ueber-adb-backup-sichern/
- - - - 6.9 http://www.howtogeek.com/240655/how-to-copy-twrp-android-backups-to-your-pc-for-safe-keeping/
- - - - 6.9.1 https://www.codeproject.com/articles/825304/accessing-internal-data-on-android-device
7. http://forum.le.com/in/index.php?th...d-gen-superphones-offline-update-guide.12482/
- - - - 7.1 http://forum.xda-developers.com/le-...m-recovery-t3419377/post67779556#post67779556
If you want to help make this tutorial better please feel free to comment and i will add it
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I AM VERY NEW TO THIS SO PLEASE CONSIDER THIS SIMPLY AS A PROTOCOL OF WHAT I DID
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS WHILE TRYING THIS OUT
Click to expand...
Click to collapse
PS I needed this dial *#*#76937#*#* and enable AT port before I could "see" my phone
can someone please confirm using "15 seconds ADB Installer" instead of android studio works?
i added the link of the "15 seconds ADB Installer" https://forum.xda-developers.com/showthread.php?t=2588979 to the guide as an alternative to installing the whole android studio. If you already have the drivers you might prefer https://forum.xda-developers.com/showthread.php?p=42407269
Thanks for your drivers file. Iv finally use ur driver to connect to my max2 on windows.
I have recently tried to root the new Fire HD 10 (2017). Unfortunately i've got today a bootloop. This little guide is for Linux. The principle stays the same, so you can apply this also on Windows. Here's what i did to resolve the problem:
1. Download adb on computer (here is for linux: dl.google.com/android/repository/platform-tools-latest-linux.zip ) & unpack
2. Download the 5.5.0.0 firmware for HD10(2017) from HERE : fireos-tablet-src.s3.amazonaws.com/afKacHmumxrMp9XPdw6oykKMaw/update-kindle-40.5.9.1_user_591450020.bin
3. Rename that in update.zip and place in the same folder with adb
4. Open terminal in the same folder with adb
5. Connect your device to the computer
6. Enter recovery mode on Tablet (Power + Vol Up) & go to install update from ADB
7. Go on computer and run in the opened terminal: ./adb sideload update.zip
8. Wait till the process is finished, restart and enjoy
Exsa said:
I have recently tried to root the new Fire HD 10 (2017). Unfortunately i've got today a bootloop. This little guide is for Linux. The principle stays the same, so you can apply this also on Windows. Here's what i did to resolve the problem:
1. Download adb on computer (here is for linux: dl.google.com/android/repository/platform-tools-latest-linux.zip ) & unpack
2. Download the 5.5.0.0 firmware for HD10(2017) from HERE : fireos-tablet-src.s3.amazonaws.com/afKacHmumxrMp9XPdw6oykKMaw/update-kindle-40.5.9.1_user_591450020.bin
3. Rename that in update.zip and place in the same folder with adb
4. Open terminal in the same folder with adb
5. Connect your device to the computer
6. Enter recovery mode on Tablet (Power + Vol Up) & go to install update from ADB
7. Go on computer and run in the opened terminal: ./adb sideload update.zip
8. Wait till the process is finished, restart and enjoy
Click to expand...
Click to collapse
I attempted the same activity and ran into the same issue (using different rooting methods, even though it has been stated no root is currently available), I can also confirm reloading the OS using the stock image works.
I don't think it really matters but I didn't rename the *.bin file to a *.zip; I used the following command (on Windows):
<ADB Tools working dir>\adb.exe sideload <path to bin>\update-kindle-40.5.9.1_user_591450020.bin
On a side note, with the release of FireOS 5.6.0.0, I am trying to hold my device at 5.5.0.0 in the event that a root method is discovered. The setup wizard doesn't allow you to skip the wireless setup, after connecting to a wireless network it wants to check for "system updates" - to work around this, I used my cellular hotspot, after connecting my kindle to the hotspot, it got me passed the wireless connection screen, where it then started to check for updates. I immediately turned off the hotspot. This allowed me to get past the setup wizard and prevent system updates/checks. (I suppose someone could setup a temp access point that doesn't have a connection or route to the internet, but I haven't tested this method.)
I installed G Play, G Services, G Framework apk's and NoRootFirewall. Once I blocked all of the Amazon Apps, I connected my kindle to my regular wireless network and the device hasn't been able to download 5.6.0.0.
That being said, on a side of caution, I turn off wireless when I turn off the tablet, to ensure that NoRootFirewall is up and running before connecting to WiFi on next boot. The device was able to start a download of 5.6.0.0 once and I had to boot into recovery to clear the partial/complete download of the OTA update to 5.6.0.0.
DaKat said:
The setup wizard doesn't allow you to skip the wireless setup, after connecting to a wireless network it wants to check for "system updates" - to work around this, I used my cellular hotspot, after connecting my kindle to the hotspot, it got me passed the wireless connection screen, where it then started to check for updates. I immediately turned off the hotspot. This allowed me to get past the setup wizard and prevent system updates/checks. (I suppose someone could setup a temp access point that doesn't have a connection or route to the internet, but I haven't tested this method.)
Click to expand...
Click to collapse
I can confirm that connecting to a router with no internet access will indeed allow you to get past the wifi setup portion. I bought an HD 10 7th gen. a few weeks ago and in order to prevent any updates before I could get a firewall installed, I plugged in an old router I had lying around. Once connected to the 'dummy' router I was able to continue setup.
As for disabling wifi before rebooting - I use NoRoot DF and have granted it usage access permission and never have any issues rebooting with wifi left on. This is certainly no guarantee that it is safe and I definitely wouldn't advise doing this if you haven't granted uap to your firewall, I'm simply sharing that I have had no issues.
Hi I ran into a bootloop while trying to get Xposed Framework. I get an "error: closed" in the terminal when I try to access adb shell. I have tried kill-server and it still wont work
Hello everyone,
i looked up similar but havent found a solution to my problem, so i hope you can help me on this one.
My OP 5 fell down, resulting in a broken screen. It is still fully functionally but completely black and i can access the phone via fingerprint as long as its still on. I need to get in MTP Mode to be able to transfer all the Media (e.g. the last year of my kids growing up in pictures)
Dev Mode is activated, so after i plug in my USB Cable to connect it to my PC i think i emember that i can access the selection (Charging/ MTP etc.) over the dropdown menue.
I just have to find the right spot to click.
Can anyone of you maybe screenshot the scenario?
1. After the USB is connected and the debugging window appears
2. The screen when you can select the connection mode?
I tried to use the Program "apowermirror" as well but i cant see where i have to click on the Screen when it says " allow usb debugging" when it tries to connect via USB. So a screenshot of this could work as well.
Additional Info: the bootloader is unlocked and i have TWRP, so maybe there is also a way ?! im a total noob regarding this...
Thank you very much in advance for any help on this.
Snyder
Maybe in twrp you can with adb command, install adb on your computer and search (google) about the command "adb pull" or maybe just reboot twrp (power off and power with vol down) you can access storage. Have you some security? Pin or pattern?
hi, try the program through MyPhoneExplorer, you can via Wi fi