yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Q&A] filking:
Hi

This seems similar to others but thought i'd post for help incase there is something different.

Device hung, then rebooted but wouldn't get past google screen. Can get into bootloader.

When recovery mode selected get :-

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

E:failed to mount /cache (Invalid argument)

E:Can't mount /cache/recovery/last_install

E:Failed closing /dev/block/platform/msm_sdcc.1/by-name/misc (I/O error)

Using NRT, tried Back to stock/Unroot and got :-

sending 'bootloader' (3911 KB)...

OKAY [ 0.133s]

writing 'bootloader'...

FAILED (remote: flash write failure)

finished. total time: 90.702s

rebooting into bootloader...

OKAY [ 0.006s]

finished. total time: 0.006s

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: FLO-04.02

Baseband Version.....: none

Serial Number........: 0586533c

--------------------------------------------

checking product...

OKAY [ 0.003s]

checking version-bootloader...

OKAY [ 0.004s]

sending 'boot' (7018 KB)...

OKAY [ 0.235s]

writing 'boot'...

FAILED (remote: flash write failure)

finished. total time: 90.136s

Then followed instructions and set NRT to force write, and repeated the process.

sending 'bootloader' (3911 KB)...

OKAY [ 0.132s]

writing 'bootloader'...

FAILED (remote: flash write failure)

finished. total time: 90.701s

rebooting into bootloader...

OKAY [ 0.008s]

finished. total time: 0.008s

sending 'boot' (7018 KB)...

OKAY [ 0.235s]

writing 'boot'...

FAILED (remote: flash write failure)

finished. total time: 90.136s

rebooting into bootloader...

OKAY [ 0.005s]

finished. total time: 0.006s

erasing 'cache'...

And it's been like this for over an hour ..... ermmmm

Any ideas?
[Nexus 7 (2013) Q&A] mdamaged:
That looks bad, try a different USB port, if possible a different cable and even a different PC, don't use a usb hub or usb3 port, if none of that helps, it's probably a bad EMMC, see this thread and see if it is.
[Nexus 7 (2013) Q&A] filking:
Haven't got another computer but tried a different usb 2 port and now looks worse.

Flash Stock + Unroot...

------------------------------------------------------------------

sending 'bootloader' (3911 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.001s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.636s

sending 'boot' (7018 KB)...

FAILED (command write failed (No such device or address))

finished. total time: -0.000s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.636s

sending 'cache' (4664 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.000s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.636s

sending 'recovery' (7564 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.001s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.637s

sending 'system' (717936 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.001s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.636s

sending 'userdata' (136890 KB)...

FAILED (command write failed (No such device or address))

finished. total time: 0.001s

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.636s

rebooting...

finished. total time: 0.549s

Any more suggestions?
[Nexus 7 (2013) Q&A] mdamaged:
Did you try the thread I linked and do what it said to test if you eMMC is fried? If it is, only a hardware repair will fix it.
[Nexus 7 (2013) Q&A] filking:
Hi,

I tried that link. I go through the recovery mode and get the android system recovery and the :

e:cant mount /cache

......

etc.

I issue the adb shell command and get

adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

Any more hints?
[Nexus 7 (2013) Q&A] tetakpatak:
Mate, there is obviously some connection problem between your PC and your device. The most likely of all: it is a USB driver related problem. I'm trying to help last few days to another forum mate [MENTION=5511151]PieceofSlice[/MENTION] who has almost identic problem. He is on 04.01 bootloader and uses Windows 7 PC.

Please take my advice and don't try to flash bootloader anymore until you are 100% sure that the fastboot connection works perfectly fine. If your bootloader gets erased and the new one doesn't get flashed, the Tab is hard-bricked and only JTAG service will can revive it. As long as your bootloader is OK, you will get your tab working again, don't worry.

Actually it would be worth it to install Linux besides Windows and execute fastboot directly from there. Linux needs no drivers and always works. IDK if Ubuntu could also work if you run it in a Virtual Machine in Windows.

tetakpatalked from P5110
[Nexus 7 (2013) Q&A] filking:
Thanks for your reply.

Actually, the more I think about it, the more I think it is the connection socket on the tablet that is faulty, rather than the link/pc.

I've had occasions when moving the cable near the socket, (which appears a tad loose), has caused the tablet to stop charging then start again.

This tablet is a replacement for a broken N7 (2012) that I got from a retail shop in the UK. As they gave me a new receipt, this tab is covered under year warranty. If I take it into the shop, they will refund and replace, no problem.

My last question is, how can I ensure that all info is wiped. (pretty sure it already is), but as the stock/unroot failed, it prob didn't actually overwrite anything.

ta
[Nexus 7 (2013) Q&A] tetakpatak:
Just one crucial question: is your bootloader locked?

If it is, you can give it back. They will unbrick it the way that they will totally wipe whole internal memory before they flash a factory image.

tetakpatalked from P5110
[Nexus 7 (2013) Q&A] filking:
It is unlocked.

Not sure this retail shop will know what to look for when I return it, turn it on, and it doesn't boot. That in my mind is broken and they will prob see it that way.

If they do spot it, or refuse.. I will take it away, rethink, and return to another branch, lots locally.

Unless, NRT will let me remove the lock... maybe....
[Nexus 7 (2013) Q&A] tetakpatak:
Try to execute in the bootloader mode "fastboot oem lock"

tetakpatalked from P5110
[Nexus 7 (2013) Q&A] tetakpatak:
OK, all guys with fastboot conectivity problems, it really makes me sad to read about your issues :( and I hate to hear about bootloops and desperate forum mates!

Therefore, I think this will be solution for most of you: I will post here a new guide within less than 24 hours how to install ADB and fastboot in Ubuntu/Linux OS. If you already have installed Ubuntu OS, it takes only 2 min to install ADB and fastboot.... and IT WORKS THERE!

Linux is in general much better than Windows for flashing Android devices. And it needs no stupid, nasty drivers so the things can't go so easy wrong.

Use this time and already install Ubuntu aside your Windows. In most of cases it works flawlessly. You will have dual boot possibility. Please check WWW how to do it, it costs bit of time but it is really easy afterwards.

tetakpatalked from Nexus 7
[Nexus 7 (2013) Q&A] filking:
That sounds like a very good plan and thanks for helping us poor unfortunate N7 sufferers.

PS: Tried to lock tablet and it said it was successful, and nothing happened. Rebooted, and still unlocked.

:eek:
[Nexus 7 (2013) Q&A] tetakpatak:
Yep, connection problems....in very most of cases it is related to unproperly working drivers = as I said: not Windows but "Loose-dows"

tetakpatalked from Nexus 7
[Nexus 7 (2013) Q&A] tetakpatak:
Mate, here is my promissed thread:

http://xdaforums.com/showthread.php?t=2726287

If Ubuntu won't flash successfully, we have a hardware related problem and it has to be fixed in the service.

tetakpatalked from Nexus 7
[Nexus 7 (2013) Q&A] filking:
Looking now..

Thanks a lot.
[Moto X Q&A] Quantumstate:
Need mfastboot for Linux, since I don't have Winduhs. Yes I know about

https://dl.dropboxusercontent.com/u/7632904/Mfastboot-4.4.zip

and

https://drive.google.com/folderview...sharing&tid=0B5uAY0sZrRUib0JMZVJGOURzMkU#list

... but it doesn't work.

# ./fastboot devices
bash: ./fastboot: No such file or directory

{der}

Anyone know what I'm talking about?
[Moto X Q&A] Quantumstate:
As a bonus, SafeStrap does not work on Moto X. Black screen.

Now after trying to replace the boot logo I get a scarred-up logo... and "Safestrap Disabled" on boot. Hooray for me.
[Moto X Q&A] imnuts:
I'm guessing that you set permissions properly so that you can execute the file, and also verified that the file is in the current directory.
[Moto X Q&A] Quantumstate:
Yes to both. Notice it's not a permissions problem.

# ls -al fastboot
-rwxr-xr-x 1 root staff 541322 Feb 13 16:10 fastboot*
# strace ./fastboot
execve("./fastboot", ["./fastboot"], [/* 54 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f105b38d000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x7f105b38d000, 4096) = 0
exit_group(1) = ?
[Moto X Q&A] ujoty:
Looks like you have 64bit Linux. mfastboot is 32bit binary. You need to setup your system to be able to run 32 bit binaries.
[Moto X Q&A] Quantumstate:
Yes I'm 64bit. But it should throw an exception to that effect.

Maybe I'll research adding 32bit.
[Moto X Q&A] Quantumstate:
Architecture must not be it. Debian 64bit is supposed to natively run 64bit and 32bit code if booted in 64bit mode.

Following the multiarch wiki article I also

# dpkg --add-architecture i386

# apt-get update

# ldconfig

... and no change.

# ldd fastboot

not a dynamic executable

# ls -al

total 532

drwxr-xr-x 2 root root 8 Dec 3 14:35 ./

drwxr-xr-x 5 root root 24 Dec 3 14:35 ../

-rwxr-xr-x 1 root root 541322 Nov 1 10:47 fastboot

# ./fastboot devices

bash: ./fastboot: No such file or directory

Like I say, it will normally let you know that it's 32bit code in a 64bit system if that's the problem.
[Moto X Q&A] ujoty:
Yes and your system is letting you know that with exactly this error message (message is stupid, but unfortunately that is how it works), believe me I was there...

Did you read carefully the article you linked. What you did with those commands is added i386 architecture to available packages to install, nothing more. You need to have installed 32bit versions of libc, libstdc++ and probably some more...

The fastboot binaries you linked in first post, are working perfectly on my 64bit Debian installation:

mna@rotfl:~/mfastboot_4.4/Linux$ uname -a
Linux rotfl 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux
mna@rotfl:~/mfastboot_4.4/Linux$ ldd fastboot
linux-gate.so.1 (0xf7736000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf770a000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7617000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75d1000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75b4000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7442000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7427000)
/lib/ld-linux.so.2 (0xf7737000)

I'm using Debian as my primary system for over 15 years, 64bit Debian installation will let you run 32bit binaries if you setup your system properly.

Run on your system dpkg --get-selections | grep i386 and see if you have anything installed. I have over 100 32bit packages installed just to run FoxitReader (which is 32bit).
[Moto X Q&A] Quantumstate:
Yes I read the whole wiki article. It only dictates the changes I made, and doesn't explain or say anything about additional libs so I was left to infer that adding the architecture would install the needed files, which is the only conclusion that makes sense out of the article. That's why I did an ldconfig.

Well I'll be damned. mfastboot now works. I installed libx32stdc++6, lib32stdc++6-4.7-dev, and all their dependencies.

Is there any way to get mfastboot from Motorola, or is it internal?
[Moto X Q&A] ujoty:
It's in GSM Dev Edition Moto X here: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images

At least it was when I downloaded 4.2.2 version image. It was not in Verizon one (some time ago I downloaded 4.2.2 GSM and Verizon Dev edition images and only in GSM one there were fastboot binaries, don't know why Motorola included it only in one image not all of them). Don't know about 4.4.2 images, never downloaded them. The 4.2.2 GSM Dev Edition image contained Win/Linux/Mac moto fastboot binaries.
[Moto X Q&A] imnuts:
Here is the fastboot binary for Linux from the 4.4.2 images that Moto posted. I also know that it works:

imnuts@virtualbox ~ $ ls -l fastboot
-rwxr-xr-x 1 imnuts imnuts 541322 Dec 6 13:40 fastboot
imnuts@virtualbox ~ $ ./fastboot
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message

options:
-w erase userdata and cache
-P enable parallel loading for multi-flash if
there is no enough memory on host to load
whole image
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048
-S <size>[K|M|G] automatically sparse files greater than
size. 0 to disable
imnuts@virtualbox ~ $
[Android Q&A, Help & Troubleshooting] Mystery000777:
Ok first of all hello everybody and welcome to the ultimate mythbusters thread about keeping apps in memory.

I would like you android pros, geeks, programmers, etc to answer me a simple question about android.

Answers may differ but i would like to solve this mystery once and for all:

How do i keep a d*mn app in my phones memory?

Little background sittuation, I want to "bulletproof" an application called hello sms and possibly other apps...

I would also love to know wich of these methods actually works:

1) add to build.prop

ro.sys.keep_app_1=com.hellotext.text / sys.keep_app_1= process here

2) init.d script (credits to zepplinrox, he is awsome and i saw this script on one of his threads)

#!/system/bin/sh

sleep 60

PPID=$(pidof process.here)

echo "-17" > /proc/$PPID/oom_adj

3) other init.d script (also credits to zpplinrox, but this one i got through digging on supercharger v6 rc 13 script..)

#!/system/bin/sh

sleep 60

PPID=$(pidof com.process.here)

echo "-17" > /proc/$PPID/oom_adj

echo "-1000" > /proc/$PPID/oom_score_adj

renice -20 $PPID

Whats the best way? I heard that the first one only works on 2.3 android, not on 4.0+, is that true?

Wich one of the init.d scripts works best? If one of them works how do i make it loop?

Dont tell me to use supercharger v6 bulletproof option because although it is a great script im trying to add all those tweaks

to my personal rom already in the instalation (no later tweaking, just flash it and bam, working)

Thanks in advance, and i hope someone can enlighten me and the whole xda forums
[Android Q&A, Help & Troubleshooting] SweetW0R:
I checked these keys 'ro.sys.keep_app_1=com.spotify.music.service' and 'ro.sys.keep_app_2=com.spotify.music' on ADT-1 with Android TV 5.0 and it doesn't work
[One (M7) Themes and Apps] Guich:
Welcome to the Inverted AOSP Theme for ViperOne 6.x with sense 6!

Features:

Dark Headers in Aroma

Trasparent Clock in Aroma

AOSP or Stock Icons for APM and Settings.

How to change Themes?

You only have to go into "Settings -> Personalize -> Theme and choose yours!

Available colors:

It's adviced do a dirty flash of rom switching from a Theme to another one.

(For example from ViperDark/ViperLight to this one)​

Theme is based on ViperDark by [MENTION=918378]Basil3[/MENTION]!!​

DOWNLOAD INVERTED AOSP 6.0.0

(Compatible with ViperOne 6.1.0)​

CREDITS:

The other Venom Themers, [MENTION=4854901]ViNOK16Bit[/MENTION] and [MENTION=918378]Basil3[/MENTION]

[MENTION=4905624]j to the 4n[/MENTION], [MENTION=1225716]Turge[/MENTION] and [MENTION=2431323]hansbert[/MENTION] for the awesome ViperOne ROM

[MENTION=704359]fisha21[/MENTION] for his help :D

[MENTION=2632943]Whiskey103[/MENTION] We are Musketeers! :p

Anyone else I forgot
​

​
[One (M7) Themes and Apps] Guich:
Changelog:

19-04-2014

Released AOSP for Sense 6.

​
[One (M7) Themes and Apps] ViNOK16Bit:
Awesome!

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M7) Themes and Apps] Basil3:
Nice
[One (M7) Themes and Apps] ghul21:
Wow :)

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Themes and Apps] Black-FR:
Wow nice... Time to test the next theme.

[MENTION=4647967]Guich[/MENTION]

You think it's ok, to flash over the dark theme or better first dirty flash the rom?

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Themes and Apps] Guich:
I already answered to you but, i advice always to flash the rom between the flash of two different themes :P
[One (M7) Themes and Apps] Naveon:
Nice, will probably use red, are there any plans to make multicoloured themes similar to the ones available as stock?
[One (M7) Themes and Apps] Guich:
ATM no, because I have to port another little things on sense 6 like all text coloured :).

Maybe in a future.
[One (M7) Themes and Apps] Black-FR:
I was lazy and flashed just the theme, without reflashing the rom.

It seems to work fine. :D

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Themes and Apps] JrWriter87:
When flashing the theme and choosing dark headers in aroma, the theme looks like ViperDark but if you choose color headers it's AOSP
[One (M7) Themes and Apps] shantanil:
Please look at the download link, The download stops at 63 percent.
[One (M7) Themes and Apps] Guich:
Yeah, thanks for the report but I know that.

I decided so because with dark headers, that black looks like better then the full black.

Maybe i can edit it if more people want so :)

Not my issue.

Probably the server, re-try now or in a couple of hours.
[One (M7) Themes and Apps] ghul21:
Team venom is amazing :) and your theme fit perfect :D simply love it ? tnx for Easter egg ?

View attachment 2697564View attachment 2697565View attachment 2697566View attachment 2697568View attachment 2697571

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Themes and Apps] JrWriter87:
Music widget and music notification doesn't change when choosing another theme. I'm using the blue theme View attachment 2698281View attachment 2698287

The contact background isn't theme also
[One (M7) Themes and Apps] patensas:
Very nice going! So far only one thing I found so far, the task manager doesn't show right

View attachment 2698797

Verstuurd van mijn unknown met Tapatalk
[One (M7) Themes and Apps] Guich:
Will take a look for the next update!

On my device is right.

Are you using dark or coloured headers?
[One (M7) Themes and Apps] ghul21:
+1 it looks good for me to ;)

View attachment 2699482

Wysłane z mojego HTC One przy użyciu Tapatalka
[One (M7) Themes and Apps] patensas:
I selected dark

Verstuurd van mijn unknown met Tapatalk
[One (M7) Themes and Apps] Guich:
Will check and fix in next update ;)
[One (M7) Themes and Apps] shantanil:
Sorry to intrude once again but could someone post an alternative link for downloading this. The link posted just doesn't work for me and I am desperate to try this.

Thanks in anticipation.
[One (M7) Themes and Apps] Guich:
Well mate i don't want that people reupload my theme without my consense.

However, theme was downloaded over 200 times, and right now i don't have any issue.

Try with another browser or with the phone connection.
[One (M7) Themes and Apps] aamitabh28:
Downloading doesnt work for me either.. It stops randomly.. Tried it a lot..
[One (M7) Themes and Apps] shantanil:
Understand perfectly. However, I have tried everything but none of them work. Thanks anyways. Let me wait till it is available in the hub.
[One (M7) Themes and Apps] Guich:
Ok, so, Theme will be avaiable on hub in some minutes.

[MENTION=4889844]aamitabh28[/MENTION] & [MENTION=2235713]shantanil[/MENTION], Theme is avaiable on HUB
[One (M7) Themes and Apps] itr2sti:
Guich,

Will you be making an AOSP theme with the green from the older roms like in 5.8?

Thanks.
[One (M7) Themes and Apps] fatduke720:
Is anyone else having problems downloading it from the hub?
[One (M7) Themes and Apps] Guich:
I don't know mate, I really like the new green.

Maybe if someone report that I will think about that, but at the moment I will use the new green, sorry. :)

Also from hub?

I think you have an internet issue mate.

Working fine for me and my friend that have tested.
[One (M7) Themes and Apps] myrigon:
+1 Don't like any of the new htc colours, they're all too soft and mild for my tastes.

But, perhaps that's progress.
[One (M7) Themes and Apps] Guich:
Good to know what the users want.

I will decide in future.

I really like the new color, so this decision will be difficoult. :)
[One (M7) Themes and Apps] myrigon:
No worries! Cheers!
[One (M7) Themes and Apps] maxpaynezm:
also have problem download it from the hub

i try two different internet connection, but no luck, problem is on the hub
[One (M7) Themes and Apps] Guich:
Try now.

Should be fixed all.
[One (M7) Themes and Apps] maxpaynezm:
now works, thanks :good:
[One (M7) Themes and Apps] Hopie:
whats the different between this and basils Viperdark theme?

sent from my HTC One powered by ViperOne
[One (M7) Themes and Apps] JrWriter87:
You couldn't tell by looking at the screenshots? But this theme has the black overlay as the ViperDark has more of a dark grey
[One (M7) Themes and Apps] Guich:
Well mate, the theme is based on his, so it's normal that they're similar.

However i have to port on sense 6 some things that i had on older version of theme and check if some others are compatible with the new HTC theming system.

If you don't like it, just not download ;)

ATM the theme is near the 400 down.
[One (M7) Themes and Apps] ThatGuy™:
Sorry if this is a dumb question, but is this compatible with ViperOneM8 1.3.1? I didn't see any reference either way in this thread, but I ended up here by following a link from the M8 thread.
[One (M7) Themes and Apps] ViNOK16Bit:
This one, no. But there will be an AOSPish theme up at the M8 theme section soon.

Sent from my HTC One_M8 using Xparent Red Tapatalk 2
[One (M7) Themes and Apps] FRoZeN ACiD:
Guessing that i need Viperone theme for this to work?
[One (M7) Themes and Apps] ViNOK16Bit:
You will need the Viper ROM for your device in order to use the themes that are made for Viper.
[One (M7) Themes and Apps] djkaija:
Can someone please confirm - BlinkFeed on all themes should be black or is it just me?
[One (M7) Themes and Apps] ViNOK16Bit:
I don't think so. The BlinkFeed feeds are coloured. The sliding menu should be black.
[One (M7) Themes and Apps] Basil3:
If based on my dark headers prism, then probably is always black

Sent from something using Tapatalk