yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] doublehp:
I have:

BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary

Not having it installed in /system is not an issue. When in recovery, you can install it in /data/local/tmp/ , and add this folder in your PATH.

I can not test things ATM because I have stock recovery.

It is possible that I used an other fsck. I have installed Linux Installer (by Galoula); I cloned from my previous phone into my M8; and it is usable as is from recovery (TWRP). So, my Armel was installed in HTC Sensation with Android 2, copied to HTC M8 Android 4, and is usable under TWRP. It provides it's own fsck.

http://dl.free.fr/mKAhcIvEW

Upload to your phone, extract (/data is fine for me; make sure you do NOT have noexec and nodev flags. Extraction will use 310 MB), mount -o bind /proc /data/local/Linux/proc ... same for dev and sys. Then you can chroot in it: chroot /data/local/Linux /bin/bash ... and then you can fsck (you may need to define a classic PATH). It's a legacy Debian; so, anything you want, just aptitude it :)

There are so many ways to get fsck ... I forgot which one worked for me.

You can also clone your partition with dd (zip on the fly can help boosting), send to computer, use losetup to build a fake device, fsck on desktop, and send it back. If your recovery can support USB MASS STORAGE, there is a faster way (TWRP Does not).
[One (M8) Original Android Development] Sn8kbordin:
Thank you.

Is there a way to tell when I restore my /system backup (which I think I did right past gaining root) that file system isn't already corrupted?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
the modded twrp recovery by captain throwback has an Option in Mount menu to repair the filesystem...it should work with System too...try that if you t hink it's corrupted
[One (M8) Original Android Development] Sn8kbordin:
I am extracting it on PC before copying to phone and WinRAR says this for two files:

[IMG="Error when extracting"]http://i170.photobucket.com/albums/u245/sn8kbordin/For%20forum/HTC1_1_zps4a667acb.png[/IMG]

Is this normal? I think it might happen when I extract on the phone with ES File Explorer also. <--- EDIT: ES File Explorer doesn't support that kind of archives.

One file that WinRAR wanted to overwrite had 0 bytes so I overwritten it, this one is different.

Edit 2: Oh, Linux filenames are different when capitol letters or not are used in file names, while Windows thinks it is the same file.

---------- Post added at 11:44 AM ---------- Previous post was at 10:47 AM ----------

Extracted with an app on the phone successfully.

Another issue highlighted in bold:

/data # ←[6nls /proc/data
ls /proc/data
/proc/data: No such file or directory
/data # ←[6nls
ls
[B][COLOR="red"]Linux_1[/COLOR][/B]
OTPData.dat
app
app-asec
app-lib
app-private
audio
backup
bugreports
cam_socket1
cam_socket2
cam_socket3
connectivity
dalvik-cache
data
dontpanic
drm
fdAlbum
fota
hdcp
hostapd
local
lost+found
media
mediadrm
misc
nfc
preload
property
radio
resource-cache
secure
security
shared
ssh
system
time
tombstones
user
/data # ←[6nls Linux_1
ls Linux_1
acct
bin
boot
cache
custdata
data
dev
devlog
etc
fataldevlog
firmware
home
lib
media
mnt
opt
proc
root
run
sbin
selinux
srv
storage
sys
system
tmp
usr
var
/data # ←[6nmount -o bind /data/Linux_1/proc
mount -o bind /data/Linux_1/proc
[B][COLOR="red"]mount: can't find /data/Linux_1/proc in /etc/fstab[/COLOR][/B]
/data # ←[6nmount -o bind /proc/data/local/Linux_1/proc
mount -o bind /proc/data/local/Linux_1/proc
[B][COLOR="Red"]mount: can't find /proc/data/local/Linux_1/proc in /etc/fstab[/COLOR][/B]
/data # ←[6n
[One (M8) Original Android Development] Sn8kbordin:
FOund that recovery 2.7.1.1. The repair file system option is under "wipe", then "file system" tab.

It had an error on 1st repair, then it didn't and I can make chnages to /system partition.

THANK YOU! :highfive:

For the future, what causes the corruption of /system?

When one should repair /system partition?
[One (M8) Original Android Development] doublehp:
You need system write for a complete busybox installation, but you do not need a full busybox install to be able to use it. Extract it and install it anyplace where you can write, and add the path to $PATH.

Why the hell did you extract it on PC ? how do you want to store Linux folders on FAT or NTFS ? you are going to loose all perms, and won't even be able to extract the sockets. I don't have time to read the rest of your post. Just this step was wrong, and I don't need to read further.

This is automatic on normal Linux. Android seems to have removed several sanity checks. On normal Linux it's done at boot time, for all disks in fstab. Android removed fstab, and does not even include fsck anyway. In short, Android is always assuming that all disks are sane, and fine. It never does fsck on SD, or USB storage (see OTG and MHL). Once corrupted, Android is unable to fix them.

The bug only occurs if you don't write properly to your system. I think that it's a sync issue. Android assumes that system is always RO, do, probably never need ot sync system.

To prevent the bug, you need to manually run sync very often while you are in RW, and always remount RO before reboot. Any accidental reboot during RW mode can produce a fault on the partition.

Android does not provide any way to fix it, and, does not have dedicated place to do it for system.

Android has to handle it for /data, but I don't understand where, ho, and when.

You can also add the sync flag when you remount RW; with sync flag on remount, your data are always find, but write will be about 3 times slower.
[One (M8) Original Android Development] Sn8kbordin:
I am using stock HTC ROM. I didn't flash any ROMs on this phone. I have back up of HTC ROM that I did right after rooting.

If I want to restore the backup, stock ROM (clock widget looks broken, I think /system is bad even after repair in TWRP), I have a back up of HTC ROM right after rooting, what do I need to wipe if anything?

I want to keep most/ all apps, apps data, phone settings.
[One (M8) Original Android Development] flar2:
Just restore /system and you won't lose your apps or settings.

Your apps and settings are in /data, so keep that.

Your photos, downloads, etc are in /sdcard/ (which is actually mounted at /data/media/, but this is not wiped if you were to wipe /data partition in recovery)
[One (M8) Original Android Development] JellyTooth:
hey all worked fine until i tried to open terminal

typing :

su

insmod /storage/ext_sd/wp_mod.ko

then it says in terminal "execution error occurred "

same happened for diff paths

any ideas? i am sure i followed the steps

my device is htc on m8 dual sim
[One (M8) Original Android Development] doublehp:
This error message is not suffisant. Try with non existing file, to see how your insmod behaves. Maybe also, the file is not readable. If you have a dual SIM, what's your kernel ? Modules are usually NOT portable from kernel to kernel; worked for me with 3.4.0-g0c47a10 . If you don't have EXACTLY that same kernel version, then, ask to the publisher of the module to make a new build for your kernel.

Still, your insmod is not very verbose; try to find a different insmod to get more details about the issue.
[One (M8) Original Android Development] iamsmallpang:
just bought the elementalX App, Great Work!
[One (M8) Original Android Development] raksati:
Does it work on 3.29.161.5 (sense 4.4.4) version?

---------- Post added at 01:21 PM ---------- Previous post was at 01:09 PM ----------

on this last version kernel is "3.4.0-g924f94b and@ABM101 #1 SMP PREEMPT". Is it possible?
[One (M8) Original Android Development] flar2:
I don't know, did anyone modify it for 4.4.4 yet?
[One (M8) Original Android Development] flar2:
Anyone out there want to maintain this mod? For this and other HTC devices.

The initial hacking is a fun challenge, but I just don't have time to constantly update for every new base and every device. I am inundated with emails and PM's requesting new versions.

Job requirements are ability to use a hex editor, familiarity with Linux, a working Linux installation and attention to quality for each release. There is no pay but you will surely get many thanks on xda.
[One (M8) Original Android Development] migascalp:
wp_mod_3.28.401.6.zip

Check it. I'm s-off.

the module is in the list returned by 'lsmod'
[One (M8) Original Android Development] Captain_Throwback:
I've been trying to figure out what exactly needs to be hex-edited for this to work with a specific stock kernel?

I also tried building the module from the source and kept getting an include error, even though the header it was looking for was there. I'm not sure what I'm doing wrong.
[One (M8) Original Android Development] migascalp:
Look here
[One (M8) Original Android Development] gelo01:
Will there ever be one for the E8? :)
[One (M8) Original Android Development] elsworth1983:
Dam your a perfect reader http://xdaforums.com/showthread.php?p=56198718 :sly:
[One (M8) Original Android Development] raksati:
i'm on 3.29.161.5 VODAP405, this is what i did:

G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>adb shell
shell@htc_m8:/ $ su
su
root@htc_m8:/ # insmod /sdcard/wp_mod.ko
insmod /sdcard/wp_mod.ko
root@htc_m8:/ # lsmod
lsmod
wp_mod 12486 0 [permanent], Live 0x00000000 (O)
wlan 3602972 0 - Live 0x00000000 (O)
adsprpc 21680 3 - Live 0x00000000
ecryptfs 120767 0 - Live 0x00000000 (O)
dm_crypt 22878 0 - Live 0x00000000 (O)
moc_crypto 402288 2 ecryptfs,dm_crypt, Live 0x00000000 (PO)
moc_platform_mod 12871 1 moc_crypto, Live 0x00000000 (O)
texfat 186834 0 - Live 0x00000000 (PO)
root@htc_m8:/ #
G:\HTC One M8\One_M8_AIO_Kit_v2.0\Data>

is it ok? how can i verify it?

---------- Post added at 02:23 AM ---------- Previous post was at 01:39 AM ----------

ok it works! ;) but is there a way to automatically load it? every boot it disappear...
[One (M8) Original Android Development] Captain_Throwback:
Add the insmod line to the bottom of install-recovery.sh in /system/etc.
[One (M8) Original Android Development] raksati:
I edited it like this:

... ...
/system/etc/install-recovery-2.sh
[I]insmod /sdcard/wp_mod.ko[/I]

but with lsmod module doesn't appear...:confused:
[One (M8) Original Android Development] Captain_Throwback:
Put the module in /system/lib/modules with the other ones and insmod it from there.
[One (M8) Original Android Development] raksati:
perfect!! ;)
[One (M8) Original Android Development] raksati:
I think this can be added as working wp_mod.ko for 4.4.4 Sense for now in the first page... :good:
[One (M8) Original Android Development] raksati:
hi, the mod worked nicely until today I installed Xposed.

Now every boot install.recovery.sh return to original and "insmod /system/lib/modules/wp_mod.ko" line disappear. I unistalled Xposed via TWRP (because now i can't load wp_mod) and I tried to edit install-recovery.sh again but nothing, every boot it return to original. Why?
[One (M8) Original Android Development] migascalp:
try flashing this Disable_system_write_protection_3.xx.zip
[One (M8) Original Android Development] raksati:
wow thanks it works, what is the difference?
[One (M8) Original Android Development] migascalp:
Same module in an install zip ;)
[Verizon HTC One (M8)] mc_365:
Hello all,

I got My VZW branded M8 on launch day and have been getting used to it and checking 20 times a day to see if a perm root solution has been found or better yet an S-Off method. On to my issue in the past few days I've had some time to listen to some mp3s from an SD card on the M8's stock music app and I have found that there is an audible stutter randomly occurring 3-5 times per song. The same mp3 played in poweramp plays smooth. The same SD card played the same songs smoothly in my DNA. So I'm lead to believe there some issue with the stock music app. I tested with screen timeout disabled, motion gestures disabled and still got the same thing.

Did anyone notice the same issue or is it just my phone.

It sounds like song skipped a beat or someone bumping a CD player, not really a sound but just the timing got out of sync for an instant. The first time I just thought it was a error in mp3 then I picked up that it was happening continually but could not be reproduced by replaying the same section of music. I love poweramp but the stock music player should function correctly on a flagship phone and IMO. I like the HTC stock music app as it lets me stream music from my DLNA server on my network, so I like it to function properly.

Kind Regards,

mc
[Verizon HTC One (M8)] deeznuts:
Maybe try a factory reset since its obviously not a hardware issue if a third party app is working perfectly. Only music player i use is the stock HTC Music app and never had any issues with it across the board. Works perfect here even streaming over BT in the car or BT stereo headsets.
[Verizon HTC One (M8)] ihavenolife008:
No stuttering here, but i've had tracks reset to start after short inactivity. I listen to audiobooks and had to go use Google Play Music because my chapters kept starting over after pausing them.
[Verizon HTC One (M8)] compir99:
I've actually been having this issue but over Bluetooth only but my audio never skips when I have a 3.5mm jack plugged in. I'm getting a new Bluetooth device and I'll report back on my findings.
[Verizon HTC One (M8)] sitlet:
Have not had this issue with my Verizon M8. I have all my music (about 20gb) on the sd card, and normally play through the 3.5mm jack.

The one thing I did notice is, with my old htc phone, when playing music and a notification came in, it would interrupt the music and play the notification. I liked this because I would know to look at my phone. With this one, there is NO interruption of the music. So I can be in my car for a half hour playing music, and not know of any texts or emails unless I look at the phone. Anyone know a solution?
[Verizon HTC One (M8)] compir99:
UPDATE: I tried using another Bluetooth device and the same problem occurred. Also to note, I'm having this issue with the stock music app & PlayerPro. However, if I reboot my phone the problem does not occur and I'm able to play music through my Bluetooth device without stutters.

[MENTION=2030674]mc_365[/MENTION]: Trying to see if we have anything in common. When music stutters, are you connected via Bluetooth? By any chance are you rooted & did you freeze any apps? Do you have the problem while connected to a 3.5mm jack?

UPDATE (9:32a PT): I just tried a factory reset & I'm still having the problem. Anybody have any other suggestions?
[Verizon HTC One (M8)] bloodiedwraith:
I'm not rooted and trying to play music through my Camaro bluetooth from Play Music it just constantly skips. I am running on ART and will switch back to dalvik to see if that fixes it. If not, I'm going to exchange my phone or return it all together.

UPDATE:

I switched back to Dalvik and did a factory reset to make sure everything was done properly. Now Google Play Music doesn't skip when I play music through my car. Are any of you on ART runtime by chance?
[Verizon HTC One (M8)] compir99:
I just came back from Verizon & exchanged my M8; I'll have to check to see if that helped.

Trying to see if we have anything in common. When music stutters, are you connected via Bluetooth? By any chance are you rooted & did you freeze any apps? Do you have the problem while connected to a 3.5mm jack?

Are you playing music from your SD card or internal memory?

I never messed around with changing Dalvik/ART; I checked and I'm running Dalvik. Are you playing music off your SD card or internal memory over Bluetooth when you're having this problem?
[Verizon HTC One (M8)] mc_365:
I'm just playing mp3s from SD card on a regular pair of earphones. I think maybe my issue is the HTC decoder just doesn't like the CD rip I was playing, maybe the bitrate or the error handling within the app or something like that. I've played other mp3s now and can't say that this is something that is consistently happening.
[Verizon HTC One (M8)] deeznuts:
I have all my songs on external sd card. I can try streaming Pandora in my car and see if any stuttering If that makes a difference? I did though download a few so to internal storage and played over Bluetooth in my car on the way home without stuttering. Played the same as the songs on my external sd card.
[Verizon HTC One (M8)] wtoj34:
I have an obnoxious stutter on the Netflix app through speakers and headphone jack. Noticed it through play movies today also. Reset did nothing. Sadly it isn't noticeable for it to pass through the replacement check
[Verizon HTC One (M8)] broprah:
I get the occasional skip when streaming over bluetooth from my SD card. I'd suspect it has more to do with the I/O read ahead or scheduler than anything. It seems to happen whether or not the screen is on, so I don't think it's a processor hang or anything like that.
[Verizon HTC One (M8)] compir99:
I hope this update helps anyone with the same issue. :fingers-crossed:

*knock on wood

I noticed that the skips were less and far between if I was playing music over Bluetooth using the internal memory. So what I did is take another SD card and played music on that. This resulted in no skips that I could tell. Perhaps it might be a defective SD card or bad format so I reformatted the SD card completely (full

not

quick) and so far I'm having less skips in music. I ordered up the 128 GB SanDisk card & hopefully I won't have any skips using that card.

I'm thinking once we get a permanent root & S-Off we can try putting AOSP on our M8s & see if that eliminates the issue completely. :fingers-crossed:

If anybody else can share any suggestions on what to try, that would be great!
[Verizon HTC One (M8)] furious78:
This is the problem I'm experiencing that brought me to this thread. Did you ever find a solution? Both Google Play Music and Stock HTC Music play over the notification. My podcast app, Pocket Casts, appropriately gives focus to notification sounds every time.
[Verizon HTC One (M8)] broprah:
http://xdaforums.com/showthread.php?t=2732264

same problem, fix seems to be something to do with viper rom.
[Verizon HTC One (M8)] furious78:
In sum, the potential fix is to change the read-ahead buffer from 512 to 1024, and the guy said it worked for several days with no further updates. He happened to be running Viper when he made the changes... apparently it uses the stock kernel. I am running CleanROM with stock kernel, so I just installed trickster and changed my read-ahead buffer to 1024. I'll report back if that makes a difference. There was one follow-up comment that it didn't make a difference in the stock ROM (edit - ahh... from broprah... any update to that?).

FWIW, I have been noticing this issue a lot BUT I only get it when streaming to my BT earbuds (with HTC Music, Google Play Music, and Pocket Casts). This stuttering does not happen when I use wired earbuds or playing over BT in my car. I understand the scenarios are different for everyone, but that's my own situation.
[Verizon HTC One (M8)] broprah:
I ended up flashing Viper and I haven't experienced any stuttering since. In poking around, I see that changing the read ahead in the built in system tools only changes the internal read ahead. Further poking revealed that the external read ahead is preset to 4096kb, which could be the solution in the end.
[Verizon HTC One (M8)] furious78:
I don't see a differentiation in Trickster. Do you know if that's just a Viper setting?
[Verizon HTC One (M8)] broprah:
I was using FauxTool to check and change settings, regardless of kernel.
[Verizon HTC One (M8)] furious78:
No such luck with my read ahead change. :/
[Samsung Galaxy Tab Plus] frazelle09:
[SOLVED]

Have checked i don't know how many forum/posts but can't seem to find an answer to this perplexing problem...

Have a Tab p6210 with Omni version 4.4.2-20140209-p6210-HOMEMADE and although i can't seem to find the info, i remember that we have CWM 6.2.xx something.

Using Root Checker Advanced it shows that we have root. We are using Superuser v3.1.3 and su is in /xbin. The superuser app seems to work, i.e. it doesn't report any errors, but when i run Titanium Backup or Nandroid Manager, they both report that the superuser app is not installed. ???

Tit. Backup reports that the attempt was made using the /system/bin/su command. Root Checker Advanced reports that we have root access but that we need to install superuser app - SU path - /system/xbin/su

Any help would be greatly appreciated. Have a great evening! :)
[Samsung Galaxy Tab Plus] frazelle09:
Dear fred, see http://xdaforums.com/galaxy-s2/orig-development/rom-omni-11-1-2014-t2562055

And this is the d/l link for SU http://download.chainfire.eu/381/SuperSU/UPDATE-SuperSU-v1.91.zip

Have a great afternoon! :)
[Samsung Galaxy Tab Plus] kwakman:
@up

Working ☺

Omni ROM last build

Taptap Nexus 4
[General Questions and Answers] purezalbert:
I have a Samsung galaxy S II HD LTE (SGH-I757M)

ROM: CM11.0 for Canadian Samsung Galaxy S2 HD LTE (SGH-I757M)

http://xdaforums.com/galaxy-s2/general/-t2638280

ROOTED

-But, then just recently i have encountered an error in which when i open the android/data or /obb folder on my phone using CM file manager, it opens fine and shows all the files and what not's.

Then when I connect my phone to the computer via usb cable, the computer identifies the android folder and the obb and data folders but have nothing inside them!!!

-:crying::crying:This issue is really frustrating me, because i need it for modifying some apps.

PLEASE ANY HELP WOULD BE DEEPLY APPRECIATED!!!!
[JAM, MDA Compact, S100 Software Upgrading] baka-kun:
Hi,

my first post here. I've used the search function but I did not found an answer.

I've got an MDA Compact II (HTC Magician II i think).

With the old ROM (forgot to write down the version numbers ^^, i think it was 1.12) i was able to CID_UNLOCK using aWizard 1.3 beta 2, and then i've changed the bootscreen.

Now i've upgraded my MDA with the AKU2 upgrade from the German T-Mobile site.

My Questions:

:?: Is my phone still CID_UNLOCKED AFTER the AKU2 Upgrade?

:?: Do i have to CID_UNLOCK every time i start aWizard, when my MDA is allready CID_UNLOCKED?

After the Upgrade i can't CID_UNLOCK it :evil:, as many users report here too.

Thanks for your help.

Sorry for my mad english skills ^^
[Xperia SP Q&A, Help & Troubleshooting] dipesh1502:
Hey guys i need some help

I was trying to play songs on loudspeaker but it showed playing but didnt actually play

The volume is full

And alarm,ringtones etc are working

So the loudspeaker doesnt play songs
[Xperia SP Q&A, Help & Troubleshooting] sourabhp:
mine is working perfectly as it should. walkman version 8.1.A.0.6 using on your rom
[Xperia SP Q&A, Help & Troubleshooting] dipesh1502:
Actually i was asking on behalf of my friend
[Xperia SP Q&A, Help & Troubleshooting] Schokonuss:
Did you try clearing cache and data of WALKMAN and deactivate and activate it (if this option is existing)?

Gesendet von meinem Sony Xperia SP C5303
[Xperia SP Q&A, Help & Troubleshooting] Th3Duck:
Try inserting headphones play some music, stop the music and then unplug the headphone. With 4.1 sometimes the phone thought headphones where still plugged when I didn't stop the music when unplugging. Don't know if the problem still exist in 4.3.

Verstuurd van mijn C5303
[Xperia SP Q&A, Help & Troubleshooting] dipesh1502:
Yep tried it
[Xperia SP Q&A, Help & Troubleshooting] dipesh1502:
Will try
[Xperia SP Q&A, Help & Troubleshooting] dipesh1502:
Worked thanks:);)
[G2 Q&A, Help & Troubleshooting] chmura:
This icon with a white background and black person inside a circle appeared on my homescreen today. What app is doing this and how do I get rid of it?

Screenshot http://i.imgur.com/USGDi6M.png
[G2 Q&A, Help & Troubleshooting] Skolotaie:
Greetings,you should be able to Disable this Icon in your Phone Settings

Go to the General Tab and tap Accessibillity there Disable the Universal Touch Feature ;)
[G2 Q&A, Help & Troubleshooting] jrgilbert79:
I'd probably edit the post to say silhouette instead of something pottentially offensive to some.
[G2 Q&A, Help & Troubleshooting] chmura:
Thank you it worked!