HOW TO: Webtop 2.3.4 HKTW fix - Atrix 4G Android Development

Tested and works (thanks jnl) I'm posting a link to CG61.img for easy loading extracted from 1FF-olympus_hktw-userdebug-2.3.4-4.5.2A-5_OLH-3-110614-test-keys-Retail-05.sbf
Download moto-fastboot for your os from http://forum.xda-developers.com/showthread.php?t=1138092
CG61.img Link - MD5 = 9151fca5183b85953d7afed83364802a
https://www.rapidshare.com/files/4119742271/CG61.img
Steps I followed on OSX:
Download CG61.img (placed in same directory as moto-fastboot)
Place your device in fastboot mode via the volume-down then volume-up procedure and verify it exists with ./moto-fastboot devices
./moto-fastboot flash webtop CG61.img
./moto-fastboot reboot
You might have to reboot the device 2X after this is complete before the webtop option shows up when docked
----=== NO NEED TO FOLLOW THE BELOW STEPS UNLESS YOU EXTRACT FROM THE SBF ===----
Below is from JNL:
Since I have the lapdock and did not want to revert to Froyo, I thought I'd give a more detailed explanation than the hint I worked from to re-enable webtop (with firefox 4.0.1!):
Download the leaked HK/TW sbf file and the 'sbf_flash' for linux (I did this under 32-bit ubuntu).
use sbf_flash -x 1FF-olympus_hktw...sbf
This will extract a collection of .img files.
Place your device in fastboot mode via the volume-down then volume-up procedure and verify it exists with:
sudo ./moto-fastboot32 devices
Then:
sudo ./moto-fastboot32 flash webtop CG61.img
This will run a 3-step flashing process. Once completed, do:
sudo ./moto-fastboot32 reboot
Voila. Webtop works and actually seems faster.
Hope this helps.

mburlingame said:
Steps I followed:
Download CG61.img
./moto-fastboot devices
./moto-fastboot flash webtop CG61.img
./moto-fastboot reboot
Click to expand...
Click to collapse
actually, just to clarify... is that in cmd on windows you're talking about? Where do we put the CG61.img?

s1mpd1ddy said:
actually, just to clarify... is that in cmd on windows you're talking about? Where do we put the CG61.img?
Click to expand...
Click to collapse
I ran this from OSX using the commands I listed jnl ran it from 32-bit ubuntu it looks like via the commands he posted
I placed the image in the same directory as moto-fastboot

Looking at the commands, it is for Linux. Get a Ubuntu LiveCD, very useful tool to have around.
Sent from my MB860 using XDA App

sifon187 said:
Looking at the commands, it is for Linux. Get a Ubuntu LiveCD, very useful tool to have around.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I am guessing this should work in Windows as well I am currently installing Windows 7 under VMware Fusion on my mac to confirm.
confirmed I could run this from Windows and did not get any errors back so performing this via the windows moto-fastboot should work as expected

Updated CG61.img link from DropBox to RapidShare due to DropBox shutting the link down due to excessive downloads (according to them)

So, I did the 1st step and nothing happened.
Do I have to do the 2nd step? If yes, where I find "sbf_linux" and "1FF-olympus_hktw...sbf"?

brunnogama said:
So, I did the 1st step and nothing happened.
Do I have to do the 2nd step? If yes, where I find "sbf_linux" and "1FF-olympus_hktw...sbf"?
Click to expand...
Click to collapse
You only need to follow the first section (Download the img file and download moto-fastboot for your os)
Are you saying that after you download the img and run moto-fastboot devices you do not see your device listed?
Can you post exactly whats happening when you run moto-fastboot devices then try to load the image on your device via moto-fastboot flash webtop CG61.img (make sure CG61.img is in your moto-fastboot directory)

So, I did everything again, and it´s still doesnt working.
No one errors appears. But when a plug phone on lapdock, doenst show the webtop´s option. when I execute them, appears an error: "This app Webtop.... has stopped unexpctedly..."
My log:

brunnogama said:
So, I did everything again, and it´s still doesnt working.
No one errors appears. But when a plug phone on lapdock, doenst show the webtop´s option. when I execute them, appears an error: "This app Webtop.... has stopped unexpctedly..."
My log:
Click to expand...
Click to collapse
Are you running the HKTW 2.3.4 image? ( Image from the following thread http://forum.xda-developers.com/showpost.php?p=15020775&postcount=2 )

Yes! I do!
It isnt correct?

brunnogama said:
Yes! I do!
It isnt correct?
Click to expand...
Click to collapse
Hmm yes that is correct - Can you tell me what OS you are using? maybe try another USB port I will do an md5 checksum on the file and post it maybe a bad download?
MD5 = 9151fca5183b85953d7afed83364802a

Did everything correct... Pretty damn sure. Phone won't even power up now.
Pull battery, plug back in usb cable, get green light, it goes out. Got it to fire up once with no sim.
F*ck !
EDIT: Dumb ass. Don't know how battery drained like a MF. Powered up in wall jack.

So, I´m using Windows 7 32.
I tried another port, tried new flash and nothing.. I´still having the same error when I execute webtop.
:/

brunnogama said:
So, I´m using Windows 7 32.
I tried another port, tried new flash and nothing.. I´still having the same error when I execute webtop.
:/
Click to expand...
Click to collapse
Hmm I have not been able to duplicate this issue - Can you confirm the MD5 checksum? Has anyone else seen this issue with Windows 7 and trying to flash this?

does this fix multimedia dock too? i dont get clock option when my phone is on the dock.

So, I tried on Ubuntu and doenst change anything. I still havent the webdock.
I have the clock issue too. When I plug on lapdock, the clock doenst fit on horizontal position.

Does this work with hdmi cable without any dock?

xabierd said:
Does this work with hdmi cable without any dock?
Click to expand...
Click to collapse
No this requires the Media Dock or the Laptop dock in order to work

Any chance to get the Debian 0.2.5 Webtop back?
Cheers

Related

[Link] Ubuntu On The Nexus 7

I was searching on the internet for info on the nexus 7 and linux and i bumped into this post that has information regarding ubuntu 12.04 being installed on the nexus 7 maybe it will interest some of you. The ubuntu version that will be installed is optimized for the nexus7
Code:
https://wiki.ubuntu.com/Nexus7/Installation
Yeah it's been posted on many sites. Although I'm waiting for a Windows installer. Don't feel like installing ubuntu just to install this... :/
ka24e said:
Yeah it's been posted on many sites. Although I'm waiting for a Windows installer. Don't feel like installing ubuntu just to install this... :/
Click to expand...
Click to collapse
texasice said:
mirror for images for the 16gb n7, install on any pc with fastboot http://d-h.st/Ik4
basic instructions
Code:
tar xaf n7-ubuntu-16gb.2012.10.26.tar.xz
# check sha sums if you want
fastboot erase boot
fastboot flash boot n7-ubuntu/16gb/boot.img
fastboot erase userdata
fastboot flash userdata n7-ubuntu/16gb/rootfs.img
fastboot reboot
the userdata is not a typo that is how the ubuntu installer does it.
you will lose all data including sdcard contents. so back it up or whatever.
WARNING: if you dont know what fastboot is ***stay the f--- away***
edit: 8gb images http://d-h.st/sau
Click to expand...
Click to collapse
Credit to texasice for uploading the images and instructions. You'll need to find a program on windows that can extract .tar.xz files but after that you should be able to flash them using fastboot on windows. Oh and I'd recommend reading the other thread here.
ka24e said:
Yeah it's been posted on many sites. Although I'm waiting for a Windows installer. Don't feel like installing ubuntu just to install this... :/
Click to expand...
Click to collapse
Just get Wubi, it installs to a folder within windows. Then you have the choice for dualboot too.
clarkey15 said:
Just get Wubi, it installs to a folder within windows. Then you have the choice for dualboot too.
Click to expand...
Click to collapse
*if it works*, used it before, sometimes it works sometimes you're left with a broken install.
I found the images anyways like 5 mins later and fastboot flashed em. Worked fine. Went back to regular android though. Brokeity broke broken lol.
Wasn't too bad with a mouse and kb but still not ready. Has a way to go.
h00py said:
Credit to texasice for uploading the images and instructions. You'll need to find a program on windows that can extract .tar.xz files but after that you should be able to flash them using fastboot on windows. Oh and I'd recommend reading the other thread here.
Click to expand...
Click to collapse
Thanks, i'm well versed in the know how of this stuff, but thanks for the links all the same.
7zip can extract the tar.xz file if anyone was wondering.
http://forum.xda-developers.com/showthread.php?t=1957561
Closed

Problems with Rooting, Errors with dd

I have extracted the two files from gtvhacker to my desktop and when I try to run the dd command It comes up with this error. Error opening output file: 3 The system cannont find the path specified. Im kind of stuck and have searched the forums and I am having some trouble coming up with a solution. If anyone can help it would be much appreciated as I dont want to plug in my chromecast for OTA before I do this. Thanks!
I'm not totally for sure, but if you're just opening a command-prompt window(black DOS prompt screen) from any folder other than the folder that the "dd" program is in and trying to just type in "dd" at the prompt, it won't work. You can only run the "dd" command by either 1.) opening the command-prompt window from inside the folder with the "dd" program 2.) If you open the command-prompt window from outside the program's folder, just navigate to that folder OR. 3.) Make sure your environment path variables are set properly, so that you can execute the "dd" command from within any folder. Try that, it sounds like that's your problem. I could be wrong, but it's at least worth looking into...
Sent from my VZW Galaxy S3 using Tapatalk 4 Beta
jsdecker10 said:
I'm not totally for sure, but if you're just opening a command-prompt window(black DOS prompt screen) from any folder other than the folder that the "dd" program is in and trying to just type in "dd" at the prompt, it won't work. You can only run the "dd" command by either 1.) opening the command-prompt window from inside the folder with the "dd" program 2.) If you open the command-prompt window from outside the program's folder, just navigate to that folder OR. 3.) Make sure your environment path variables are set properly, so that you can execute the "dd" command from within any folder. Try that, it sounds like that's your problem. I could be wrong, but it's at least worth looking into...
Sent from my VZW Galaxy S3 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I'm getting this problem too, and I have tried all the solutions you posted - no luck!
error with dd
StuMcBill said:
I'm getting this problem too, and I have tried all the solutions you posted - no luck!
Click to expand...
Click to collapse
Try this dd if=gtvhacker-chromecast.bin of=\\.\x: bs=1024 "x" being the letter of the usb
This isn't necessarily a solution to your dd issue (As I'm going to recommend another program), but I'm lazy and just use USB Image Tool to flash all my Chromecast images. It's 2 button clicks to flash the USB drive and I've never had it fail.
USB Image Tool Link
I had issues running DD on a Windows 7 machine. I eventually switched to an old XP machine and got it to work.
I'd second the recommendation of using another program. I suspect your issues will go away.....
ften said:
This isn't necessarily a solution to your dd issue (As I'm going to recommend another program), but I'm lazy and just use USB Image Tool to flash all my Chromecast images. It's 2 button clicks to flash the USB drive and I've never had it fail.
USB Image Tool Link
Click to expand...
Click to collapse
I agree. It's like this... You can get on a boat in SoCal, cruise over to Japan, then fly to Australia, and finally swim across the Pacific to the Baja in Mexico... or you can just take your chances crossing the border straight over into Mexico from SoCal. Same result, less hassle Lol I've used both the USB Image Tool and win32diskimager with great success. Take your pick. Both are just a few clicks and darn near stress-free.
sic0048 said:
I had issues running DD on a Windows 7 machine. I eventually switched to an old XP machine and got it to work.
I'd second the recommendation of using another program. I suspect your issues will go away.....
Click to expand...
Click to collapse
Sent from my VZW Galaxy S3 using Tapatalk 4 Beta
jsdecker10 said:
I agree. It's like this... You can get on a boat in SoCal, cruise over to Japan, then fly to Australia, and finally swim across the Pacific to the Baja in Mexico... or you can just take your chances crossing the border straight over into Mexico from SoCal. Same result, less hassle Lol I've used both the USB Image Tool and win32diskimager with great success. Take your pick. Both are just a few clicks and darn near stress-free.
Sent from my VZW Galaxy S3 using Tapatalk 4 Beta
Click to expand...
Click to collapse
ften said:
This isn't necessarily a solution to your dd issue (As I'm going to recommend another program), but I'm lazy and just use USB Image Tool to flash all my Chromecast images. It's 2 button clicks to flash the USB drive and I've never had it fail.
USB Image Tool Link
Click to expand...
Click to collapse
So to use the USB Image Tool I just plug in the microUSB cable to my Chromecast, hold down the button and plug the cable into my computer, and run the Image Tool to copy the gtvhacker-chromecast-12940.bin from my computer onto the Chromecast?
Or do I need to have the Chromecast plugged in to the TV as described for using the OTG cable on the GTVhacker site?
edit: OK. So after more research the Image Tool simply applies the .bin file to the USB stick. The rest of the process is the same as listed on the GTV site, correct?
FireRaider said:
So to use the USB Image Tool I just plug in the microUSB cable to my Chromecast, hold down the button and plug the cable into my computer, and run the Image Tool to copy the gtvhacker-chromecast-12940.bin from my computer onto the Chromecast?
Or do I need to have the Chromecast plugged in to the TV as described for using the OTG cable on the GTVhacker site?
edit: OK. So after more research the Image Tool simply applies the .bin file to the USB stick. The rest of the process is the same as listed on the GTV site, correct?
Click to expand...
Click to collapse
Correct
Sent from my XT897 using xda app-developers app

Root on Mac?

Anyway to root the Fire on a Mac? I see the Windows tool but nothing for Mac...
Mac . . .
Do we have to help?
What FireOS version do you have? Did you avoid connecting to wifi?
There may not be a point n click rooting tool for macs but you can always do it manually.
It is new, never connected to internet. I have enabled ADB but fast boot does not see the device, Where do I need to get the drivers for the Fire at for Mac? I have FireSO 5.0.1
You can get drivers from google.
This also came up on google.
GUIDE Set up ADB and Fastboot on a Mac easily (With Screenshots!)
blueberry.sky said:
Mac . . .
Do we have to help?
What FireOS version do you have? Did you avoid connecting to wifi?
There may not be a point n click rooting tool for macs but you can always do it manually.
Click to expand...
Click to collapse
I'll port http://forum.xda-developers.com/amazon-fire/general/root-fire-5th-gen-autoroot-script-noob-t3276923 with your help. Try the .sh file and tell me the result.
Think these are up to date.
https://github.com/simmac/minimal_adb_fastboot
Support page
http://forum.xda-developers.com/android/general/adb-fastboot-binaries-os-x-inclusive-t2941205
blueberry.sky said:
You can get drivers from google.
This also came up on google.
GUIDE Set up ADB and Fastboot on a Mac easily (With Screenshots!)
Click to expand...
Click to collapse
Can use the long winded way from there with the sdk but the attached files are for older version of adb that wouldn't connect to my friend's Fire as it's a Lollipop based device.
glitch3yf0x said:
I'll port http://forum.xda-developers.com/amazon-fire/general/root-fire-5th-gen-autoroot-script-noob-t3276923 with your help. Try the .sh file and tell me the result.
Click to expand...
Click to collapse
i'll gladly help.
dustintinsley said:
i'll gladly help.
Click to expand...
Click to collapse
Sweet! I'm working to make this fully compatible with linux, windows, and Mac OS X by tonight plus a few last minute added features. I have no idea how to emulate Mac OS X so when the time comes would you mind telling me if the script runs properly?
glitch3yf0x said:
Sweet! I'm working to make this fully compatible with linux, windows, and Mac OS X by tonight plus a few last minute added features. I have no idea how to emulate Mac OS X so when the time comes would you mind telling me if the script runs properly?
Click to expand...
Click to collapse
Code:
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 1: @echo: command not found
Plug in your device with a USB data cable.
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: syntax error near unexpected token `('
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: `echo Please enable ADB debuging in the developer options (Tap Serial Number in Device Options 20 tim's if it is hidden)
Dustins-MacBook-Air:~ dustintinsley$
dustintinsley said:
Code:
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 1: @echo: command not found
Plug in your device with a USB data cable.
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: syntax error near unexpected token `('
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: `echo Please enable ADB debuging in the developer options (Tap Serial Number in Device Options 20 tim's if it is hidden)
Dustins-MacBook-Air:~ dustintinsley$
Click to expand...
Click to collapse
Those will be an easy fix. Dummy me forgot to remove those. I thought I did. Thanks!
glitch3yf0x said:
Those will be an easy fix. Dummy me forgot to remove those. I thought I did. Thanks!
Click to expand...
Click to collapse
Just let me know i will test again...
dustintinsley said:
Just let me know i will test again...
Click to expand...
Click to collapse
Alright. I need to get a hold of the ADB platform-tools for MAC. Is there a way you can install android SDK for me and use the SDK manager to download platform-tools (latest version)? Then go into the platform-tools and send me the fastboot and adb tool?
http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
glitch3yf0x said:
Alright. I need to get a hold of the ADB platform-tools for MAC. Is there a way you can install android SDK for me and use the SDK manager to download platform-tools (latest version)? Then go into the platform-tools and send me the fastboot and adb tool?
http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
Click to expand...
Click to collapse
I really need these files in the above post. They are the last step before final testing and release. If anyone can upload them, please do it.

FireTV 2 Recovery Installer [v3]

[size=+2]This only works if you are on a software version BEFORE 5.2.1.0![/size]
This will allow you to install recovery easily whether you are rooted or not. The downloads will be numbered starting at v1, and at the bottom of the post it will explain what is contained within each version.
You must extract the installer zip and a recovery zip to the same directory.
Versions for Linux, OSX, and Windows are included. I have not tested the OSX version. Running it won't cause any damage, so don't be afraid to try it. Please let me know if it works.
After extracting the zips, run the .bat file for Windows or the .sh script for Linux and OSX. Make sure the USB cable is connected and if using Windows your drivers are set up. Then power cycle the firetv and the script should start. It should take about 5 minutes to run.
You must copy the ramdisk-recovery.cpio.lzma to USB storage or an sdcard. This must be plugged in when you boot after running the script. The one catch is you need to have a USB keyboard plugged in to select Recovery from bootmenu. So either use an sdcard, a usb hub, or unplug the USB storage once the splash screen shows up and plug in a keyboard.
The first thing you should do after booting in to recovery is to install a prerooted rom. This will fully install recovery so you won't need the ramdisk on external storage anymore.
Source Code
You can find the source code here:
https://github.com/androidrbox/mediatek-preloader-tools
NOTE
This method is only for people on 100% stock rom or people who have rooted with the previous method. Once you install recovery with firetv2_recovery zip file or install a prerooted rom, this method will not work.
Thanks to everyone who has donated to me and those that helped to get me my FireTV 2. Thanks to @zeroepoch, without his work, this wouldn't be possible.
Changelog and Downloads:
February 9, 2016 - v3 (md5sum: d9432930b8a6d50b6b09c31ef698b209)
Fixed the windows bat file
Everything else same as last
February 8, 2016 - v2 (md5sum: 05ddfdf84d4298eb2935acc02c94b70c)
This adds error checking to the .sh and .bat file to make sure all the files exist before attempting to start. (Thanks to @ImCoKeMaN for the idea)
This comes with the same version of mediatek_inject.
February 6, 2016 - v1 (md5sum: b55c61075607fe5d716355dbd8b03a2c)
This comes with mediatek_inject version fa8d8f.
Awesome work!
For those who need a step-by-step guide with screenshots:
[GUIDE] How to Root a Fire TV 2 by installing rbox's Pre-Rooted Image
[VIDEO GUIDE]
md5 = b55c61075607fe5d716355dbd8b03a2c ?
Axecaster said:
md5 = b55c61075607fe5d716355dbd8b03a2c ?
Click to expand...
Click to collapse
I'm just trying to make sure people are paying attention, haha. Not really. I corrected it.
Trying this using Ubuntu Virtual Machine on Windows 10 laptop
I get this error:
[email protected]:~$ '/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh' Waiting for preloader...
Found port = /dev/ttyACM0
Handshake complete!
Injecting 2ndinit...
/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh: line 10: ./mediatek_inject.linux: cannot execute binary file: Exec format error
Injecting 2ndinitstub...
/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh: line 13: ./mediatek_inject.linux: cannot execute binary file: Exec format error
Any ideas?
gazdaman. said:
Trying this using Ubuntu Virtual Machine on Windows 10 laptop
I get this error:
[email protected]:~$ '/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh' Waiting for preloader...
Found port = /dev/ttyACM0
Handshake complete!
Injecting 2ndinit...
/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh: line 10: ./mediatek_inject.linux: cannot execute binary file: Exec format error
Injecting 2ndinitstub...
/home/anthony/firetv2recoveryv1/install_firetv2_recovery.sh: line 13: ./mediatek_inject.linux: cannot execute binary file: Exec format error
Any ideas?
Click to expand...
Click to collapse
You're using a 32bit ubuntu I assume? How easy would it be to switch to a 64bit version?
rbox said:
You're using a 32bit ubuntu I assume? How easy would it be to switch to a 64bit version?
Click to expand...
Click to collapse
Yep, Ubuntu 15.10 (32-bit)
It was the image prepared by someone on this forum, so others may run in to the same problem.
Not sure how hard it is to prepare a 64-bit Ubuntu VM.
gazdaman. said:
Yep, Ubuntu 15.10 (32-bit)
It was the image prepared by someone on this forum, so others may run in to the same problem.
Not sure how hard it is to prepare a 64-bit Ubuntu VM.
Click to expand...
Click to collapse
Why not just use the native windows version?
rbox said:
Why not just use the native windows version?
Click to expand...
Click to collapse
When it's waiting on pre loader, the Fire TV just reboots and doesn't catch the pre loader.
Maybe a driver issue. which I don't know how to resolve
gazdaman. said:
When it's waiting on pre loader, the Fire TV just reboots and doesn't catch the pre loader.
Maybe a driver issue. which I don't know how to resolve
Click to expand...
Click to collapse
@AFTVnews.com has an excellent guide: http://www.aftvnews.com/how-to-root-the-amazon-fire-tv-2/
rbox said:
@AFTVnews.com has an excellent guide: http://www.aftvnews.com/how-to-root-the-amazon-fire-tv-2/
Click to expand...
Click to collapse
Thanks.
Got it working on windows now
Much appreciated rbox.
Installer worked fine but I ran into the same problems I had with the updated root method on my mates box.
Constant dropouts and having to restart.
Its down to his box though, not any of the processes as they (eventually) work.
This took 2 1/2hrs for this box with roughly 50 restarts.
This is posted just as another reassurance to people having similar issues. Closing the command window, unplugging the box, re-running the script and powering the box back up works fine. It just takes a little more attention and hand holding
SO, many thanks rbox !!!
awesome! now I can mess around with making a ROM
is anybody else having issues running the .bat file and getting nothing when connecting with USB & powering on? constantly seem to not be able to get pass the stage of waiting for preloader
win 10
chantelle310 said:
is anybody else having issues running the .bat file and getting nothing when connecting with USB & powering on? constantly seem to not be able to get pass the stage of waiting for preloader
win 10
Click to expand...
Click to collapse
im of no help since i use win 7 x64
I tried windows 7 X 64 getting mscvr.dll not found error
and tried in linux still in waiting preloaded.
Any help pls
---------- Post added at 09:29 PM ---------- Previous post was at 09:26 PM ----------
i tried in mac it passes hand shake and stops at reading 0000200 0%
go2xraj said:
I tried windows 7 X 64 getting mscvr.dll not found error
and tried in linux still in waiting preloaded.
Any help pls
---------- Post added at 09:29 PM ---------- Previous post was at 09:26 PM ----------
i tried in mac it passes hand shake and stops at reading 0000200 0%
Click to expand...
Click to collapse
you have all drivers installed and what type of usb cable are you using?
When powered on, does Fire show asadrive on pc when its plugged in?
elliwigy said:
you have all drivers installed and what type of usb cable are you using?
When powered on, does Fire show asadrive on pc when its plugged in?
Click to expand...
Click to collapse
I am using A to A usb cable.
Yes it shows fire tv asadrive
rbox said:
This will allow you to install recovery easily whether you are rooted or not. The downloads will be numbered starting at v1, and at the bottom of the post it will explain what is contained within each version.
You must extract the installer zip and a recovery zip to the same directory.
Versions for Linux, OSX, and Windows are included. I have not tested the OSX version. Running it won't cause any damage, so don't be afraid to try it. Please let me know if it works.
After extracting the zips, run the .bat file for Windows or the .sh script for Linux and OSX. Make sure the USB cable is connected and if using Windows your drivers are set up. Then power cycle the firetv and the script should start. It should take about 5 minutes to run.
You must copy the ramdisk-recovery.cpio to USB storage or an sdcard. This must be plugged in when you boot after running the script. The one catch is you need to have a USB keyboard plugged in to select Recovery from bootmenu. So either use an sdcard, a usb hub, or unplug the USB storage once the splash screen shows up and plug in a keyboard.
The first thing you should do after booting in to recovery is to install a prerooted rom. This will fully install recovery so you won't need the ramdisk on external storage anymore.
Source Code
You can find the source code here:
https://github.com/androidrbox/mediatek-preloader-tools
NOTE
This method is only for people on 100% stock rom or people who have rooted with the previous method. Once you install recovery with firetv2_recovery zip file or install a prerooted rom, this method will not work.
Thanks to everyone who has donated to me and those that helped to get me my FireTV 2. Thanks to @zeroepoch, without his work, this wouldn't be possible.
Changelog and Downloads:
February 9, 2016 - v3 (md5sum: d9432930b8a6d50b6b09c31ef698b209)
Fixed the windows bat file
Everything else same as last
February 8, 2016 - v2 (md5sum: 05ddfdf84d4298eb2935acc02c94b70c)
This adds error checking to the .sh and .bat file to make sure all the files exist before attempting to start. (Thanks to @ImCoKeMaN for the idea)
This comes with the same version of mediatek_inject.
February 6, 2016 - v1 (md5sum: b55c61075607fe5d716355dbd8b03a2c)
This comes with mediatek_inject version fa8d8f.
Click to expand...
Click to collapse
Didn't work for me. Installed recovery (what appears successfully) on Windows 7; I did run the install more than once; was running over USB hub and it crapped out once or twice, so removing the USB hub allowed it to complete. Completed all the way to "Press any key to continue". I then plugged into my TV, plugged in the USB drive with the 2 files on it (lzma and pre-rooted zip) and my keyboard into a USB hub. Plugged in power and saw the regular black and white amazon boot logo, then the colored one that said Fire TV. I was (am) on 5.0.4 non-rooted.
Any ideas on how to get this to install?
bubbanc said:
Didn't work for me. Installed recovery (what appears successfully) on Windows 7; I did run the install more than once; was running over USB hub and it crapped out once or twice, so removing the USB hub allowed it to complete. Completed all the way to "Press any key to continue". I then plugged into my TV, plugged in the USB drive with the 2 files on it (lzma and pre-rooted zip) and my keyboard into a USB hub. Plugged in power and saw the regular black and white amazon boot logo, then the colored one that said Fire TV. I was (am) on 5.0.4 non-rooted.
Any ideas on how to get this to install?
Click to expand...
Click to collapse
So my first suggestion is to try the guide and/or video linked in the 2nd post. My other suggestion is to try without the hub. I know some can be flaky. The guide in the 2nd post has some tips to deal with not using a hub.

SO... This happened... Secure Boot Error Code 1003 MODIFIED!!!

So, I wanted to go back to stock, after trying multiple steps listed here in XDA-dev, and multiple youtube videos and webpages. I will list the erros bellow :
LgUP - "unknown device"... I been having issues with this software since I first attempt to run it. I tried on 2 different computers and have the same issue. Installed the DLL first (like many suggested ) then LGUP and nothing
Flashtools14 - I get the .kdz and attempt to do either "normal" or "CSE" . after comes another window, stating the progress, do not disconnect the phone .. blah blah. After going thru that it stops at 9 % and nothing happens.
After couple of weeks, I thought that if Relocking the bootloader i would be able to go into the "factory Reset" with out booting from TWRP and going back to stock..*stupid move*, and so I did... And here we are with error 1003 MODIFIED
I been looking for answers in order to fix this issue, but they go to the same path... using LGUP or FLASHtools in which both dont work with me
I have this phone
LG G4 H811 Tmobile
Now im trying to see if i can conver a KDZ into a TOT since that process I also know.
If somebody have another method please let me know!
I cant go into recovery since I keep getting the error. pretty much I have a paper weight.
An3ru said:
So, I wanted to go back to stock, after trying multiple steps listed here in XDA-dev, and multiple youtube videos and webpages. I will list the erros bellow :
LgUP - "unknown device"... I been having issues with this software since I first attempt to run it. I tried on 2 different computers and have the same issue. Installed the DLL first (like many suggested ) then LGUP and nothing
Flashtools14 - I get the .kdz and attempt to do either "normal" or "CSE" . after comes another window, stating the progress, do not disconnect the phone .. blah blah. After going thru that it stops at 9 % and nothing happens.
After couple of weeks, I thought that if Relocking the bootloader i would be able to go into the "factory Reset" with out booting from TWRP and going back to stock..*stupid move*, and so I did... And here we are with error 1003 MODIFIED
I been looking for answers in order to fix this issue, but they go to the same path... using LGUP or FLASHtools in which both dont work with me
I have this phone
LG G4 H811 Tmobile
Now im trying to see if i can conver a KDZ into a TOT since that process I also know.
If somebody have another method please let me know!
I cant go into recovery since I keep getting the error. pretty much I have a paper weight.
Click to expand...
Click to collapse
can you try this file place in c: programfiles /lge/lgup/model
ther error you got am not sure what it is this is for LGUP to recognize your phone.
raptorddd said:
can you try this file place in c: programfiles /lge/lgup/model
ther error you got am not sure what it is this is for LGUP to recognize your phone.
Click to expand...
Click to collapse
Hey Raptorddd
we read each other again, i did put those files in the C:/programFiles(x86)/LGelectronics/LGUP/model
Fire up LGUP and still have the same issue Model " uknonw " COM Ports [ COM41, GENESIS]
An3ru said:
Hey Raptorddd
we read each other again, i did put those files in the C:/programFiles(x86)/LGelectronics/LGUP/model
Fire up LGUP and still have the same issue Model " uknonw " COM Ports [ COM41, GENESIS]
Click to expand...
Click to collapse
have done a search with that specific error see if someone fix it. ?
raptorddd said:
have done a search with that specific error see if someone fix it. ?
Click to expand...
Click to collapse
Wich error you mean, the one in LGUP or The modified 1003?, Yes i have done research on both errors, but nothing seems to work.
An3ru said:
Wich error you mean, the one in LGUP or The modified 1003?, Yes i have done research on both errors, but nothing seems to work.
Click to expand...
Click to collapse
sorry i have no idea. maybe pos in thread go back to stock.
So if I understood you correctly you still have download mode?
Then it can be fixed.
If you want I can guide you through..
For this you need any Linux or best would be if just using FWUL ( http://tinyurl.com/FWULatXDA ).
I recommend to use the persistent mode version so your settings and installations survive a reboot / shutdown.
instructions:
Boot FWUL, choose language & login
Download the KDZ file you want to flash (we need to know the path later e.g. /home/android/Downloads/)
Open the folder LG
Connect device in download mode to the PC
Double click "LG laf NG" icon
Type in the new opened terminal:
sudo python2 auth.py
[*]sudo python2 partitions.py --list
If this lists your partitions then we can proceed with flashing.
Download my brand new kdz manager tool into FWUL: (right click and save as)
When you are not using the persistent mode of FWUL: plug in a big USB stick (e.g. 32 GB or more) into FWUL and extract the attached file there
When you are using the persistent mode of FWUL: just extract it in your download folder
You need to know the full path so best is copying the path from the file manager (e.g. /home/android/Downloads/ ) or leave the file manager open there
Open another terminal (black little icon in the panel)
cd and directly behind this paste the path you copied (e.g. cd /home/android/Downloads/ )
press ENTER
bash kdzmanager.sh -x FILLINFULLPATH-TO-DOWNLOADED-KDZ
(e.g. bash kdzmanager.sh -x /home/android/Downloads/h811blablubb.kdz)
once finished type:
bash kdzmanager.sh --test --flash extracteddz/
(just like this as "extracteddz" is the path generated by the kdzmanager)
This will just test flashing and not actually flash. Let me know the results of this (copy & paste output)
if you can't wait the next step would be actually flashing ofc:
WARNING: by default the kdzmanager will not overwrite userdata (which would be like a factory reset) and I would recommend to leave it out always and better choose the LG factory reset menu (after flashing completed) if required. If you still want to flash it use --with-userdata as a parameter (can take a loooong time then btw).
bash kdzmanager.sh --flash extracteddz/
sfX
Sent from my LG-H815 using XDA Labs
steadfasterX said:
So if I understood you correctly you still have download mode?
Then it can be fixed.
If you want I can guide you through..
For this you need Linux or best would be if to just use FWUL ( http://tinyurl.com/FWULatXDA ). I recommend to use the persistent mode version so your settings and installations survive a reboot / shutdown.
First instructions:
Boot FWUL, choose language & login
Download the KDZ file you want to flash
Open the folder LG
Connect device in download mode to the PC
Double click "LG laf NG" icon
Type in the new opened terminal:
sudo python2 auth.py
sudo python2 partitions.py --list
If this lists your partitions then we can proceed with the flashing.
I have to go to now but will go on tomorrow with the rest of the instructions if you want to go this way..
sfX
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
Sure man i will do this and try to instal linux or go into your guide. One questions, which version of linux i need !?. I did a quick read on your post, is quite alot information to take, but i will try it!!!
Edit. I was able to download virtual box with extensions. Plug in my lg g4 and make sure that it read it. Double click on LG laf (auth) - * there is no LG laf NG* - termina opens, open new terminal type first command, ask for password - password is different than the ones mentioned in the OP - error : Python2: cant open file 'auth.py' : [Errno 2]\ No such file or directory
An3ru said:
Sure man i will do this and try to instal linux or go into your guide. One questions, which version of linux i need !?. I did a quick read on your post, is quite alot information to take, but i will try it!!!
Edit. I was able to download virtual box with extensions. Plug in my lg g4 and make sure that it read it. Double click on LG laf (auth) - * there is no LG laf NG* - termina opens, open new terminal type first command, ask for password - password is different than the ones mentioned in the OP - error : Python2: cant open file 'auth.py' : [Errno 2]\ No such file or directory
Click to expand...
Click to collapse
use his FWUL dont use linux use that one he provided. also please hit the thanks buttonto my friend steadfsterx.. on lower part right hand side..:good:
raptorddd said:
use his FWUL dont use linux use that one he provided. also please hit the thanks buttonto my friend steadfsterx.. on lower part right hand side..:good:
Click to expand...
Click to collapse
Hey Raptorddd
yeah I use the program he suggest me, im just waiting on him, also thank you for the help! I appreciate it
An3ru said:
Hey Raptorddd
yeah I use the program he suggest me, im just waiting on him, also thank you for the help! I appreciate it
Click to expand...
Click to collapse
It seems you havent downloaded the latest FWUL version v2.0? In v1 there is no LG laf NG.. But we can use that FWUL version as well. it's just very very outdated
If you want to have the best FWUL experience use v2.0 and download the persistent mode version of FWUL (it's the ZIP) and read the FAQ to make the persistent mode available in VirtualBox!
This combo is fantastic
I come back in about 3 hours to complete the guide...
sfX
Sent from my LG-H815 using XDA Labs
steadfasterX said:
It seems you havent downloaded the latest FWUL version v2.0? In v1 there is no LG laf NG.. But we can use that FWUL version as well. it's just very very outdated
If you want to have the best FWUL experience use v2.0 and download the persistent mode version of FWUL (it's the ZIP) and read the FAQ to make the persistent mode available in VirtualBox!
This combo is fantastic
I come back in about 3 hours to complete the guide...
sfX
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
Oh yeah, the main download server was a lil confusing but i was able to download it, i will be out. But i will be reading the FAQ and the new set of instructions!!!!
An3ru said:
Oh yeah, the main download server was a lil confusing but i was able to download it, i will be out. But i will be reading the FAQ and the new set of instructions!!!!
Click to expand...
Click to collapse
sorry for any confusion but thx for reporting. I have updated the OP to point to the new versions more clearly.
will come back asap
OK here you go: https://forum.xda-developers.com/showpost.php?p=73756863&postcount=7
let me know how it goes
steadfasterX said:
So if I understood you correctly you still have download mode?
Then it can be fixed.
If you want I can guide you through..
For this you need any Linux or best would be if just using FWUL ( http://tinyurl.com/FWULatXDA ).
I recommend to use the persistent mode version so your settings and installations survive a reboot / shutdown.
instructions:
Boot FWUL, choose language & login
Download the KDZ file you want to flash (we need to know the path later e.g. /home/android/Downloads/)
Open the folder LG
Connect device in download mode to the PC
Double click "LG laf NG" icon
Type in the new opened terminal:
sudo python2 auth.py
[*]sudo python2 partitions.py --list
If this lists your partitions then we can proceed with flashing.
Download my brand new kdz manager tool into FWUL: (right click and save as)
When you are not using the persistent mode of FWUL: plug in a big USB stick (e.g. 32 GB or more) into FWUL and extract the attached file there
When you are using the persistent mode of FWUL: just extract it in your download folder
You need to know the full path so best is copying the path from the file manager (e.g. /home/android/Downloads/ ) or leave the file manager open there
Open another terminal (black little icon in the panel)
cd and directly behind this paste the path you copied (e.g. cd /home/android/Downloads/ )
press ENTER
bash kdzmanager.sh -x FILLINFULLPATH-TO-DOWNLOADED-KDZ
(e.g. bash kdzextract.sh -x /home/android/Downloads/h811blablubb.kdz)
once finished type:
bash kdzmanager.sh --test --flash extracteddz/
(just like this as "extracteddz" is the path generated by the kdzmanager)
This will just test flashing and not actually flash. Let me know the results of this (copy & paste output)
if you can't wait the next step would be actually flashing ofc:
WARNING: by default the kdzmanager will not overwrite userdata (which would be like a factory reset) and I would recommend to leave it out always and better choose the LG factory reset menu (after flashing completed) if required. If you still want to flash it use --with-userdata as a parameter (can take a loooong time then btw).
bash kdzmanager.sh --flash extracteddz/
sfX
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
Hey steadfasterX, I download version 2 of the FWUL and still have the same error. as Sudo not found. Am I doing something wrong?! o.o
An3ru said:
Hey steadfasterX, I download version 2 of the FWUL and still have the same error. as Sudo not found. Am I doing something wrong?! o.o
Click to expand...
Click to collapse
you double clicked "LG laf NG" icon ? in this terminal u have to type the auth command
consider to come into IRC instead (channel carbon-user on freenode)
or just by clicking this link: http://webchat.freenode.net/?channels=Carbon-user
sfX
Saw something a few posts back about virtualbox or vmware...
FWIW, Historically, virtualized Linux Guests don't do so well with USB. I've always had to install it natively or use a LiveUSB distro with persistence.
barcodelinux said:
Saw something a few posts back about virtualbox or vmware...
FWIW, Historically, virtualized Linux Guests don't do so well with USB. I've always had to install it natively or use a LiveUSB distro with persistence.
Click to expand...
Click to collapse
VirtualBox plus FWUL works like a charm.
Sent from my LG-H815 using XDA Labs
steadfasterX said:
Download my brand new kdz manager tool into FWUL: (right click and save as)
When you are not using the persistent mode of FWUL: plug in a big USB stick (e.g. 32 GB or more) into FWUL and extract the attached file there
When you are using the persistent mode of FWUL: just extract it in your download folder
You need to know the full path so best is copying the path from the file manager (e.g. /home/android/Downloads/ ) or leave the file manager open there
Open another terminal (black little icon in the panel)
cd and directly behind this paste the path you copied (e.g. cd /home/android/Downloads/ )
press ENTER
bash kdzmanager.sh -x FILLINFULLPATH-TO-DOWNLOADED-KDZ
(e.g. bash kdzmanager.sh -x /home/android/Downloads/h811blablubb.kdz)
once finished type:
bash kdzmanager.sh --test --flash extracteddz/
(just like this as "extracteddz" is the path generated by the kdzmanager)
This will just test flashing and not actually flash. Let me know the results of this (copy & paste output)
if you can't wait the next step would be actually flashing ofc:
Click to expand...
Click to collapse
Your tool is far better than this one because your tool has extracted many such partitions of LG G4 H811 20o KDZ which that tool didn't. E.g. PERSISTENT, DEVINFO, MODEMST1, MODEMST2, DRM etc.
rizkhan999 said:
Your tool is far better than this one because your tool has extracted many such partitions of LG G4 H811 20o KDZ which that tool didn't. E.g. PERSISTENT, DEVINFO, MODEMST1, MODEMST2, DRM etc.
Click to expand...
Click to collapse
yea thx!!
and just checkout my new signature
.
steadfasterX said:
yea thx!!
and just checkout my new signature
Click to expand...
Click to collapse
Well. Yet another PhD thesis :good:. There is one thing that I couldn't understand though. At one place you mentioned that Hint: not wiping userdata can occur in a bootloop while at the other place you said WARNING: by default the kdzmanager will not overwrite userdata. Does it mean that flashing can cause bootloop if kdzmanager is used with default options?
Secondly, does it also support TOTs as LGUP does?

Categories

Resources