How nkk71 solved my problem
Originally Posted by Tots85
I appreciate your help very much.
ubuntu@ubuntu:~/Downloads$ sudo fastboot flash recovery openrecovery-twrp-126.96.36.199-m7ul.img
sending 'recovery' (9840 KB)...
OKAY [ 1.434s]
OKAY [ 0.732s]
finished. total time: 2.166s
After that I did
ubuntu@ubuntu:~/Downloads$ sudo fastboot erase cache
OKAY [ 0.060s]
finished. total time: 0.060s
ubuntu@ubuntu:~/Downloads$ sudo fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.041s]
finished. total time: 0.041s
And it finally went into twrp!!! after that I flashed the rom again and it is working again!!!
Just to make it easier for anybody who encounters a similar problem, I am resuming the action that I took as instructed by nkk71.
First create a bootable ubuntu USB (I did it with ubuntu 12.04).
Then open the terminal in ubuntu and type the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Then type: adb version (it should say something about android bridge debug version ##)
Then tpye: sudo fastboot devices (it should say HT....)
Once the above is done and achived do the following:
Download latest TWRP (see faq #2 for links)
Check md5sum, to do this in the terminal type:
cd Downloads (or wherever you saved the twrp .img)
md5sum (name of file, including .img)
If md5sum is correct proceed to the following (if not correct download it again):
On terminal type:
cd Downloads (or wherever you saved the file)
sudo fastboot flash recovery (name of the file, including .img)
sudo fastboot erase cache
sudo fastboot reboot-bootloader
Then enter into recovery again and reflash the rom.