yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
If you need to restore your data only, you could manually mount the /data image on your PC (if you're not using Linux as your desktop OS, you can install Ubuntu or Mint under a virtual machine like VMware Player, which is free - if you need help with that, or mounting the image, PM me), wipe your device and copy over data for any apps you need to the new file system. Then, reapply proper permissions for copied data. Titanium Backup Pro can do that for you with a GUI, but requires a CWM backup if I remember correctly and won't talk with TWRP/raw images (I might be wrong).

Now, this all looks nice and all, but that "reapply proper permissions" part is a bit messy. It's because Android creates a new Linux user and group for every individual Android app you install. There are some special users/apps sharing certain details, but regular apps will have a new account like "u0_a47" or something like that created for them. If you just copy and paste any data to your new filesystem, you'll get hit with access errors (pretty much exactly what you've described). Reinstall all apps from .apks (if you have bare .apks backed up somewhere, or have extracted them from your /data, you can reinstall them all en masse with adb), then in terminal (as root, otherwise you won't be able to peek inside /data/data): ls -la /data/data > /storage/sdcard0/applist.txt, pull /storage/sdcard0/applist.txt to your computer (with adb), and then the messy part: Copy over any data you want, and reapply proper permissions for any app you've restored with chown -R uX_aY /data/data/org.your.app, where uX_aY is your app's user/group (listed in applist.txt), and org.your.app is your app identifier (also listed in applist.txt).

This is messy as hell, but it works.
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Thank you for the answer! Can you confirm, please, if I'm getting this right?

1. Install from google play all the needed apps under clean rom (to get list of proper permissions)

2. Save output of ls -al from clean rom in a text file (proper permissions)

3. Extract apps from backed up /data image

4. Push them into /data of the clean rom

5. Run chown on each of the restored folders, using ouput of ls -al

6. Reboot

Now, the point where I extract apps from image is also tricky... afaik, single app is scattered between multiple directories under /data. Do you know any explanatory article on this subject? What's app structure under /data etc?
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
Extract apps and data from /data image, but yeah, everything else looks good. Under Android 6.0 (older versions aren't that different if I remember correctly), with a single user, you have two folders: /data/app which contains installed .apks, and /data/data which contains your app's data - everything else is system-specific and will get generated automatically if needed, regular apps can't touch these at all. Simply extract these two folders and you're good to go.
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Cool! I will try that during the weekend. If this works - it may become a very useful article.
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Are those changes persistent? I did chown for some /emmc files under TWRP recovery, reinstalled rom, and i can tell that root explorer& terminal do not show my changes at all... :-/
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
Yes, they should be as long as your file system is mounted R/W. Did you chown -R (recursively)?
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Unfortunately, your solution is missing something... still getting errors... [ 12-26 19:53:38.802 4124: 4124 W/com.socialnmobile.dictapps.notepad.color.note ]

type=1400 audit(0.0:197): avc: denied { lock } for comm=4173796E635461736B202331 path="/data/data/com.socialnmobile.dictapps.notepad.color.note/databases/colornote.db" dev=mmcblk0p10 ino=123103 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:system_data_file:s0 tclass=file

[ 12-26 19:53:38.802 4124: 4124 W/com.socialnmobile.dictapps.notepad.color.note ]

type=1400 audit(0.0:198): avc: denied { lock } for comm=4173796E635461736B202331 path="/data/data/com.socialnmobile.dictapps.notepad.color.note/databases/colornote.db" dev=mmcblk0p10 ino=123103 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:system_data_file:s0 tclass=file

[ 12-26 19:53:38.802 3821: 4125 E/FlurryAgent ]

java.io.FileNotFoundException: /data/data/com.socialnmobile.dictapps.notepad.color.note/files/.flurrydatasenderblock.ba285603-75ea-4129-84cd-8ac36726fb02: open failed: EACCES (Permission denied)

at libcore.io.IoBridge.open(IoBridge.java:456)
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
Ummm, looks like SELinux is set to restrictive and prevents app from touching what is not exactly theirs. Unfortunately I can't help you with this, I don't know how to configure SELinux properly :/
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Is it possible to replace only the 'databases/colornote.db' file?
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
I don't know how to copy it over and set correct permissions to make it work with restrictive SELinux policies, but you can use a database viewer/editor or sqlite3 binary on the device to export/import the data inside.

1. Copy your colornote.db with data somewhere accessible (not /data/....). Wipe the app's data completely, then start it once. It should regenerate all required files. Connect your phone to PC, and fire up adb shell. (You can do this with the terminal on the device directly too.) Get root access with "su".

2. "cd" to the folder with your colornote.db (which you want to use). Then (as root) do this on your device: https://stackoverflow.com/questions/4389930/exporting-data-from-sqlite-3#4390636 - sqlite3 and any text editor (vi, most likely) should be available in your ROM (if not, install Busybox). You should now end up with 2 .sql files in the same folder.

3. Still as root: "sqlite3 /data/data/com.socialnmobile.dictapps.notepad.color.note/databases/colornote.db", then ".schema" (there's a dot before "schema"). It'll write out a few statements like "CREATE TABLE foo". There shouldn't be too many, you'll have to "DROP TABLE foo;" for every single one of them, then ".read schema.sql", followed by ".read inserts.sql" - both files created in step 2, you'll have to supply full paths to be read. Then ".exit", and you're done.

(And someone will probably come and tell me all of this can be done in a few seconds with two-three commands I didn't know about before. :P)
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Thanks for your time, mate. I will probably try to dig into CM sources of SELinux implementation, or to read a really detailed book on the subject. I guess it's the only way to fix my backed up /data.
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Dragoon Aethis, tell me one more thing, please: if I grab/push single application, as you suggested, getting bad selinux feedback, then MOVING app to sdcard (built-in function of CM rom), and moving back? Should it restore proper permissions, what do you say? Of course, I'll try that on the weekend, since my i9100 is a daily driver, I cannot experiment during the week :) I thought of this, because most of the time sdcard has different filesystem than /data, which makes impossible to keep permissions there.
[Galaxy S II Q&A, Help & Troubleshooting] Dragoon Aethis:
Weeeell, you can format /sdcard as ext4 and your problems are gone, but so are proper Android permissions for that it thinks should be on /sdcard :D Moving it might work, but moving apps to SD is hit and miss most of the time anyways, so you'd have to try.
[Galaxy S II Q&A, Help & Troubleshooting] JavaScout:
Ok, I'll try. My /emmc is ext4 anyway. Not sure if this is a good thing, since I'm expecting the transferred application to lose permissions and selinux properties during move & restore. It is the only way to trigger creation of the proper properties. Otherwise it's only copy-paste of the same broken properties, as well as the files themselves. Of course I haven't seen the implementation on the github, but I will try that on weekend, and reply back.
[XDA Assist] FabioAngela:
Hello,

I'm running an APP that requires android 4.1 and it's running fine on most of the device, but I've a big problem with a device, the Galaxy Core Prime with 8 GB disk.

It's running Android 5.1.1 and after some day of usage the system gives an error about running out of disk space.

A customer sent me the phone so i could debug it and i saw that the used disk space keeps increasing while running the app, and even removing my app doesn't clean it, so i noticed that the files were allocated into the system folder and i needed to root the phone in order to see what's the problem and so i did.

What i found is that in the data/system/gps/mrvlgps folder there is a HUGE file called pedatain.dat that takes GB of space and I don't know what is it for and, more important, how to remove it (without root permission)

here a screen with the result of ls -l

i.stack.imgur.com/ihjZn.png (can't post direct image because i've less than 10 posts in this forum, so adjust the link on the left)

how you see, there is a huge file named pedatain.dat and i don't know what it is, how to remove it (without root permissions) or how to prevent it to be generad or be too big, who knows what i can do?
[XDA Assist] v7:
Hello,

Thanks for using XDA Assist.

Try flashing your stock rom.That may fix the issue.

___

v7

XDA Assist
[HTC One S] tariom18m:
please help me

need help whith ruu officiel

C:\Users\esc\Desktop\Nouveau dossier\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.15.0000

(bootloader) version-baseband: 1.15.50.05.29

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH25EW402246

(bootloader) imei: xxxxxxxxxxxxxxx

(bootloader) product: vle

(bootloader) platform: HBOOT-8960

(bootloader) modelid: PJ4010000

(bootloader) cidnum: VODAP102

(bootloader) battery-status: good

(bootloader) battery-voltage: 3829mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-64bedd38

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.187s
[Android Stick & Console AMLogic based Computers] Lt_Columbo_87:
I got a new media player called Mini MX. This device will be interested for many people because the price is around $40,

so in other words it is really cheap media player.

Packaging

Except the device you will also get user manual, remote control, power adapter and HDMI cable.

Design and build

For me it is not too much important because 90% of all media player the design is more or less the same.

Anyway the case is made of plastic in black color, the case is also very thin. It has all ports on both sides like HDMI, USB 2.0, RJ45 and DC 5V.

Performance

For this price range which is actually around $40 it has really solid hardware, so it is based on quad core processor Amlogic S905

with maximum speed up to 2GHz. From other hardware information I can say that it has 1 GB of RAM and 8 GB memory

for storage which can also be upgraded using microSD card up to 32GB. The hardware is not maybe the strongest one but it is enough strong for every purpose like KODI.

Software

If you read everyday tech news you already know that mostly this kind of devices and other similar like smartphones from China

comes with Android 5.1. In my opinion the operating system is almost stock, it has just several installed applications like KODI,

Movie Player and Google Play Store. So you don't need to waste your time for deleting unwanted apps. It's self the operating system

is fast and fluid and during use I did not find any problems because all apps worked as they should to work including of course KODI.

For KODI I have tried several different add-ons and they all worked really nice without lags.

Connectivity

The Mini MX has all ports you'll need. It has 1 x HDMI, 1 x LAN port, 2 x USB and 1 x SPDIF. So you can connect your

media player with lan cable or by wireless, this is up to. It has also buetooth 4.0 and I have normally connected my

Bluetooth keyboard which works perfectly normal. The Wi-Fi connection is stable and it has good range for connectivity.

This media player also supports H.265 video code and thanks to that you don't need to have high speed Internet connection.

Conclusion

In my personal opinion if you are looking for cheap media player with Android OS, then you should definitely consider the Mini MX.

Because it has very low price around $40 depending on the web shop. It comes with KODI, it has a very good hardware for this price range

and it works really nice. For more information please visit this official website.

Also for more information about this cheap media player if you want.
[T-Mobile Samsung Galaxy Note 3] Gsm UK:
Hi,

i have install Generic ROM to my tmobile note3 but after ROM install problem 4g not working its showing me H+

any idea how can i fix ??
[T-Mobile Samsung Galaxy Note 3] shaggyskunk:
Check your APN settings - Check that Network Mode is GSM /LTE Preferred.
[T-Mobile Samsung Galaxy Note 3] Gsm UK:
Yes bro the network mode is GSM /LTE Preferred selected .
[T-Mobile Samsung Galaxy Note 3] Muffycheeks:
It's probably due to the radio reception in your location, it can't find what's not there.
[T-Mobile Samsung Galaxy Note 3] Gsm UK:
when i flash back to stock firmware the 4g is working but with generic ROm the 4g will disappear .. and H+ comming instead 4g
[T-Mobile Samsung Galaxy Note 3] Muffycheeks:
H+ in some areas is considered 4g. Could be just an icon issue with the custom rom.

Check this out........http://telecomtalk.info/difference-between-g-e-3g-h-4g-symbols-we-find-out/121666/
[T-Mobile Samsung Galaxy Note 3] Gsm UK:
Do u know how to change the H+ icon to 4g ?
[T-Mobile Samsung Galaxy Note 3] Jhfreeze:
It's a built prop entry. If you look in the build.prop\ro.product.model= instead of SM-N900T it propbly has something else in there or the international one.

If it does, then change it to SM-N900T.
[T-Mobile Samsung Galaxy Note 3] Phreshlatinstyle:
http://xdaforums.com/showthread.php?t=2673861

Not sure if this will help. I use this and it works on certain ROMs

Use a root explorer app. I use es file explorer to change or add this value to

feature.xml

This sometimes works depending on the base used for the ROM.

Hope it helps

And as an FYI signal reception was the same when icon was h+ vs 4g - LTE icon.

But I guess it is a placebo effect
[G4 Q&A, Help & Troubleshooting] S51B14:
Hello there.

After updating to 20b marshmallow I experience everything but constant battery life. Sometimes it is really outstanding with about 5 hours of sot but the next day it is way worse. Gsam battery monitor shows, that "system (logd)" is the process with the most battery consumption. Is this a known thing and is there a way to fix this? Google did not deliver any results for system logd.

Thanks in advance
[G4 Q&A, Help & Troubleshooting] Pfeffernuss:
http://xdaforums.com/g4/help/strange-battery-eating-process-logd-t3268710
[ONE Q&A, Help & Troubleshooting] salilsurendran:
Hello,

Recently I lost my sim tray for Oneplus One. Is this something I can buy from a local store like Best Buy or Fry's or do I have to order it online?
[ONE Q&A, Help & Troubleshooting] klougar:
Use the one for nano sim
[ONE Q&A, Help & Troubleshooting] salilsurendran:
would it be available in stores like best buy and frys or do I have to order it online
[ONE Q&A, Help & Troubleshooting] klougar:
Dont you get it with pour opo ?
[ONE Q&A, Help & Troubleshooting] salilsurendran:
Dude I told you I lost it
[ONE Q&A, Help & Troubleshooting] klougar:
When I buy my opo I get two tray. One for micro sim and an other for nano sim. Si I asume you too.
[ONE Q&A, Help & Troubleshooting] salilsurendran:
I don't have it since I bought it a long time ago.
[ONE Q&A, Help & Troubleshooting] salilsurendran:
I have a micro SIM. However, the only SIM tray available from Amazon with 2day shipping is a nano SIM tray. If I cut down my micro SIM and fit it to a nano SIM tray, will it work?
[ONE Q&A, Help & Troubleshooting] klougar:
Probably.

You can also look for Original Sim Card Slot Tray Holder for Oneplus Oneon aliexpress.
[ONE Q&A, Help & Troubleshooting] nsyedhasan:
There are no stores that will sell you the SIM tray, you have to order it online. Also the other SIM tray that is being talked about is only in the newer batches of the phone, not in the older ones.
[JAMin, XDA Neo, S200 ROM Development] davidebeatrice:
well...now thanks to Gullum maybe i've made a italian rom pdaviet 4.0.0.0.6 touch based...

but the question is: if i've made some error and the pda after the upgrade don't start how can i downgrade to the original pdaviet 4.0.0.0.6...this question 'cause if the pda dont start the activesync also....
[JAMin, XDA Neo, S200 ROM Development] rohanmaini:
you can try and restart in bootloader and install a novid WM5...
[JAMin, XDA Neo, S200 ROM Development] davidebeatrice:
thx!!!!!!:)
[JAMin, XDA Neo, S200 ROM Development] xvx45:
this kind of error arrive generaly with bad initflashfiles.dat or user.default.hv ;)
[JAMin, XDA Neo, S200 ROM Development] davidebeatrice:
for now the problem isn't...;)

i asked to know how i must do if necessary...

now i'n trying to buildos, but buildos file don't start..both on vista and xp.

thx!!!
[YU Yuphoria] SIMBIOS:
hello guys

i have a yuphoria which had stock android and it had the option for drawing letters to open apps when the phone was locked

no other custom rom has that function so not even CM so i was wondering if some our lovely devs good do that

and a reply would me much appreciated

thanks guys and good luck
[Verizon Samsung Galaxy S6] Alonattias:
Hello,

I have galaxy s6 verizon (SM-G920V).

Build: G920VVRU2AOF1

Version: 5.0.2

I want to root device but the build version is not supported.

I bought the galaxy this way . There anyway I can root ?

Maybe change someway the build version?
[Xperia Z1 Q&A, Help & Troubleshooting] firdyRAY:
I am making my Z1 as a media phone with good performance for media and games. Please recommend me all the good stuffs.

Currently I'm running on odexed latest firmware of stock lollipop rom with 64gb SD card.

I have installed PDesire sound mod.

What else can I flash/install?
[Xperia Z1 Q&A, Help & Troubleshooting] UltraWelfare:
After experimenting with all the cm roms etc..

I can say the best option to go with is fully stock...
[Xperia Z1 Q&A, Help & Troubleshooting] PielunA:
You can get changes up to : that DSEE HX you just installed(check it on sound setting of walkman(music) app)

By unlocking bootloader the DRM key, which is required for Audio and Graphic enhancements to work, is deleted. Needless to say, it's not recommended in any ways. So stay stock based rom.

Unfortunately Xperia Z1 uses snapdragon's onboard sound chipset. So it has its HW limitation. If you want better, you need to pay more.
[Google Chromecast] Dlog:
Hi,

maybe this is simply not possible, but Displaylink creates an additional virtual display and the data sent to this virtual display is then sent via usb to the displaylink device.

Would this be possible to do for chromecast? Create a virtual display and then stream its content to the chromecast?

Cheers,

Dlog
[Nexus 6P Q&A, Help & Troubleshooting] exjc1986:
Hi,

Not sure if its just me, however, I tried taking a few photos in full darkness with flash on or even in low light. I realized that the flash was very dull and did not produce sharp photos as should happen when the flash is on. This phone has dual LED flash and I can still say that my Galaxy S3 with single LED flash had a better performance and produced really good photos with flash on.

The problem I see here is that the flash is kinda yellow in color while S3 had a pure white flash and that too extremely bright, however, with N6P thats not the case. Has anyone else noticed the same and is there a possible fix for the same ?
[Nexus 6P Q&A, Help & Troubleshooting] Casmo:
I agree, it's not that bright...

The flash on the Nexus 4 is also brighter than this one.
[Nexus 6P Q&A, Help & Troubleshooting] exjc1986:
Yes, infact all other phones have a white light flash while this one has a yellowish flash. Even if you're using it as a flash light its evident. This is really depressing to see on an overall excellent phone, though my phone too has that ghoulish yellowish tint, but I've learned to live with it.
[Nexus 6P Q&A, Help & Troubleshooting] Gorgtech:
I agree, the LEDs are not as bright. My Nexus 5 ( 2013 ) has a stronger LED with a cold white tone while the Nexus 6p is not as bright and has indeed a warm-white tint. It´s not a huge problem though since I don´t use my phone as a torch light.
[Nexus 6P Q&A, Help & Troubleshooting] fury683:
I believe when I first got it I had used it as a flashlight in a dark bedroom. When I was near the wall I could see that the two LEDs looks like they were different colors. One appeared more yellow while the other was more white. I assumed it had to do with balancing out the flash or something. I didn't really pay much attention to it because I take very few photos with flash.
[Nexus 6P Q&A, Help & Troubleshooting] BillyTheRatKing:
The Nexus 6P (like many newer phones) has a dual LED flash. One LED is a warm white, while the other is cool white. When taking a photo, the two lights are mixed to create a color balance the camera deems appropriate to the scene. When using the flashlight it just turns them both on at a fixed brightness, resulting in a warm-ish colored light.
[Nexus 6P Q&A, Help & Troubleshooting] Kiwi1999:
I really *don't* like this - there should be an option to just have the cool BRIGHT led activate when the tourch function is used
[LG V10 Accessories] MO3iusONE:
http://m.ebay.com/itm/111799492041?varId=410789114876&_trksid=p2060353.m2749.l2648&_mwBanner=1

Would be nice to have. Not sure about the price though
[LG V10 Accessories] felloffthetruck:
I read somewhere that it's just plastic.
[LG V10 Accessories] ZiCott:
Confirm the bumper is plastic, and just polished to look like metal bumper.
[LG V10 Accessories] WAIDroid:
Who would think that's metal? It's freaking plastic
[LG V10 Accessories] texas83:
my favorite case hands down
[LG V10 Accessories] ConfuciusTse:
I've had bumper cases for almost all my Android phones. But I've been going "naked" on the V10 as it appears to be designed to take somewhat more beating that most phones (I typically drop my phone like once a year). I did notice this LG OEM bumper case BUT it says it's for the F600 whereas I have the US H901. Does anyone know if there's an actual fit difference? Are any of the ports blocked? Thanks in advance.
[LG V10 Accessories] ZiCott:
Perfect Fit on H961N...=)....see my photo post...above

Perfect Fit on H961N...=)....see my photo post...above...=)
[LG V10 Accessories] ConfuciusTse:
OK, you convinced me. Ordered one from it's Korean homeland. Hopefully all the port cut-outs are in the same place!
[LG V10 Accessories] ConfuciusTse:
Received the OEM bumper case. Fit is perfect, no worries about regional variants. Quality of plastics and coloring matches very well with the V10. Corners and sides are well protected.

However, the side rails of the bumper are just as slick as the steel rails of the V10, so there's no added grip. The front face is raised so the screen is protected but I have a Yootech hardened glass protector on top already. The worst thing is the back bumper is only raised at the bottom, so when flipped over the whole phone is resting on the bottom bumper and the camera lens! That's probably not much worse than originally but I expected better of an OEM bumper case. The port cut-outs are very accurate but the case seems "thicker" than other bumper cases I have used so you have to be more aware of how things plug in and possible microphone blockage.

Overall I would NOT recommend buying this bumper case, unfortunately there don't appear to be many alternatives.