Unofficial Android 4.4 Lands on Three Mediatek Devices

For the last few years, devices with MTK systems-on-chip haven’t received much … more

MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

soft bricked!?

OP Badouken

21st February 2014, 12:39 AM   |  #1  
Badouken's Avatar
OP Senior Member
Thanks Meter: 59
 
231 posts
Join Date:Joined: Jan 2013
So I soft bricked my Nexus 7 (flo).... I have root access and I have TWRP installed still... just no files or anything... I could easily fix this if my PC had Windows but currently I only have Ubuntu. All the fixes and guides are for Windows and I need some help trying to sideload a rom in Ubunutu... I tried to adb sideload a rom but only get this error on my PC "cannot read sideload" . Any suggestions on what I can / should do?
21st February 2014, 01:29 AM   |  #2  
AarSyl's Avatar
Senior Member
Flag NJ
Thanks Meter: 779
 
1,931 posts
Join Date:Joined: Aug 2012
More
You have Ubuntu, and you're sad? Dude, you're better off. Trust me. Now, when you say to t you don't have files, do you mean that TWRP shows 0mb for memory space, or that your internal memory is empty? Either way, I suggest flashing the stock image, if all else fails.

But for now, you could always try adb push to get the file onto the tablet.


And for the record, I only use Ubuntu for flashing nowadays. All you need to know are the right commands to use. Toolkits are an easy solution, but they leave you stranded when something goes wrong....just like now. Besides, you only need to use the commands listed in the Windows guides, and disregard the process of setting up everything for the PC to recognize the device. Linux recognizes Android by default since Android was built from it.


Let me fully explain my two options that I have given you.

Option 1) ADB push - http://forum.xda-developers.com/show....php?t=1667929

Locate the file that you want to push to the tablet, and copy it to the '/home' directory. You can always navigate to the file using the 'cd' command, but it's much easier to move the file. In recovery, make sure that the SD is mounted. In Ubuntu, use:

sudo su

adb push RomName.zip /sdcard/RomName.img


Then use the tablet to locate the file and flash it.

If that doesn't work, then you might need:


Option 2) Flash Stock img - https://developers.google.com/android/nexus/images

Download the img for razor. Boot into the bootloader (power + vol down). Then put it in your '/home' directory, and use:



fastboot erase system
fastboot erase userdata
fastboot flash system system.img
fastboot reboot --> When completed


I don't think that it is necessary to wipe before you flash the stock img, but it doesn't hurt to do it. So remember that the stock img will wipe everything, and perform a factory reset. The only thing that it will not do is relock your bootloader, I didn't think. Simply reroot your device

fastboot on unlock --> if necessary
fastboot flash recovery RecoveryName.zip


The flash SuperSU in recovery, or flash the rom of your choice (you will have to use adb push again).

I hope that this helps, and if any of my information is erroneous, please let me know. I'm not a pro at this, but I do know how to get myself out of sticky situations.



_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off

Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel
Last edited by AarSyl; 21st February 2014 at 02:03 AM.
The Following User Says Thank You to AarSyl For This Useful Post: [ View ]
21st February 2014, 02:55 AM   |  #3  
Badouken's Avatar
OP Senior Member
Thanks Meter: 59
 
231 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by aarsyl

You have Ubuntu, and you're sad? Dude, you're better off. Trust me. Now, when you say to t you don't have files, do you mean that TWRP shows 0mb for memory space, or that your internal memory is empty? Either way, I suggest flashing the stock image, if all else fails.

But for now, you could always try adb push to get the file onto the tablet.


And for the record, I only use Ubuntu for flashing nowadays. All you need to know are the right commands to use. Toolkits are an easy solution, but they leave you stranded when something goes wrong....just like now. Besides, you only need to use the commands listed in the Windows guides, and disregard the process of setting up everything for the PC to recognize the device. Linux recognizes Android by default since Android was built from it.


Let me fully explain my two options that I have given you.

Option 1) ADB push - http://forum.xda-developers.com/show....php?t=1667929

Locate the file that you want to push to the tablet, and copy it to the '/home' directory. You can always navigate to the file using the 'cd' command, but it's much easier to move the file. In recovery, make sure that the SD is mounted. In Ubuntu, use:

sudo su

adb push RomName.zip /sdcard/RomName.img


Then use the tablet to locate the file and flash it.

If that doesn't work, then you might need:


Option 2) Flash Stock img - https://developers.google.com/android/nexus/images

Download the img for razor. Boot into the bootloader (power + vol down). Then put it in your '/home' directory, and use:



fastboot erase system
fastboot erase userdata
fastboot flash system system.img
fastboot reboot --> When completed


I don't think that it is necessary to wipe before you flash the stock img, but it doesn't hurt to do it. So remember that the stock img will wipe everything, and perform a factory reset. The only thing that it will not do is relock your bootloader, I didn't think. Simply reroot your device

fastboot on unlock --> if necessary
fastboot flash recovery RecoveryName.zip


The flash SuperSU in recovery, or flash the rom of your choice (you will have to use adb push again).

I hope that this helps, and if any of my information is erroneous, please let me know. I'm not a pro at this, but I do know how to get myself out of sticky situations.



_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off

Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel

I had the 0mb issue but I fixed it on my own! I also tried and push and it didn't work at all... Also I'm not sad I only have Ubuntu easily one of the best operating systems ever! Thanks for all the info I'll retry some of these methods when i get home later! If I still have issues I'll message back on here!
21st February 2014, 03:06 AM   |  #4  
AarSyl's Avatar
Senior Member
Flag NJ
Thanks Meter: 779
 
1,931 posts
Join Date:Joined: Aug 2012
More
No problem.

_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off

Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel
21st February 2014, 06:54 AM   |  #5  
Badouken's Avatar
OP Senior Member
Thanks Meter: 59
 
231 posts
Join Date:Joined: Jan 2013
Quote:
Originally Posted by aarsyl

No problem.

_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off

Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel

Thanks got it working!!! Was an idiot and typing in one of the commands wrong! Everything is a ok now! Might try some Ubuntu touch dual boot now!
21st February 2014, 11:42 AM   |  #6  
AarSyl's Avatar
Senior Member
Flag NJ
Thanks Meter: 779
 
1,931 posts
Join Date:Joined: Aug 2012
More
soft bricked!?
Quote:
Originally Posted by Badouken

Thanks got it working!!! Was an idiot and typing in one of the commands wrong! Everything is a ok now! Might try some Ubuntu touch dual boot now!

Be careful with that, but have fun! Remember that you need MultiRom to get it to work. Later.

_______________________________________
Phone: HTC EVO 4G LTE
Sense 5, S-Off

Tablet: ASUS Nexus 7.2
Rooted, Custom Rom & Kernel
_______________________________________
Last edited by AarSyl; 19th March 2014 at 02:19 AM.
The Following User Says Thank You to AarSyl For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes