yashsingh1/xdaforums huggingface dataset:
[Android General] gonsoXDA:
Hello,

I was searching about a feature to limit the access of apps to certain files or directories.

Use Case: I may have a directory I store music and do not want to share this with (amazon music, ....)

I may have a directory where I store pictures which should not be seen by other applications.

Today I use a of the shelf Samsung A3 2016 Android 7.0, but I used Xposed, CM and rooted devices. in the past. I'm not registered as developer here did never codded Android app or kernel but developed on embedded Devices and Linux in the past. I would be happy if you could share a ready to use setting, app or development idea (even if you did not got it running).

What I investigated and did not work so far:

Option A - .nomedia

I know already there is a possibility to use .nomedia file in the directory to avoid pictures being shown in Gallery, BUT this is a feature of the Gallery app (as far as I see). So the developer of the Gallery app could also access to the pictures in the directories, if they would like. So I'm not happy with this.

Option B - using cryptography

So I could simply put the sensitive data into a container, there are apps out e.g. EDS.

But I found out if the application who should access the data is not providing a "path" where the data is stored or doesn't provide an interface to a cryptography it can not be used. And once I entered the password and the directory is mounted all the applications running are able to access the files.

Option C - restrict media access

The Android allows to restrict the access to media, so I simply could switch off the access in the app I do not want to allow. But this doesn't work if the app need to store data. Android Music should be able to store the music on the phone but should not be allowed to access the other directories on my SD.

In pure Linux it would be quite easy you can use different users and access to files.

But Xposed may provide a solution as I could filter requests to the file system, but is there a example out there.

Thank you for reading all the stuff

I'm looking forward to read about your ideas

gonso
[Android General] gonsoXDA:
Hello,

no one has an idea or solution? I'm not able to post in the developers section may be one of you

may move the post into the Development part.

If not existing yet I would try to find out how to develop

Regards

gonso
[Samsung Galaxy S7 Edge Questions and Answers] dhawal4u:
mine is Galaxy S7 Edge SM 935FD

i am facing unique problem since i updated to stock rom nougat & also custom rom too which is a bluetooth problem

if i use 1 or 2 sim card OR 1 sim card or 1 memory card there - bluetooth works well

but if i use hybrid one which means 2 simcard & memory card both bluetooth fails to start

same happened when i updated to nougat stock rom & thats why iinstalled custom rom too & still same problem

pls help me ???
[Samsung Galaxy S7 Edge Questions and Answers] nouninou:
i had the same problem but found only one way to fix it temporary

download bluetooth auto connect and use it to connect to devices,, you still can't send files,,,, only

stream audio in cars or bluetooth speakers ...etc

good luck
[Zenfone 2 Laser Q&A, Help & Troubleshooting] Sakthidas11:
In my zenfone 2 laser z00ld Jio 4G is working fine. But other sims are not working I mean there is a problem with signal reception. The sim slot have no problem and sim are detecting by device.

Please help to fix this issue !!!
[OnePlus 5 Questions & Answers] TheFrozen4:
Guys I have found something strange.

Last night I had left my dash charger somewhere so I plugged in my OP5 in a regular charger for the night. The red charging led was on. The following morning, my phone was more or less on the same battery percentage. I installed Ampere from the playstore and the charger, that is supposed to output up to 2.4A or even more using QC3.0, was only charging my battery with 300mAh. I doubt it actually did this all night, considering my battery hadn't charged at all.

Since I've tried 4 other chargers, and it seems I can't get more than 400mAh out of them according to Ampere.

My 3T could be charged with any regular charger, although much slower than dash charging, but I could get 1-2A without problems.

Do you guys have the same? Or is my OP5 broken?

Could somebody please try?
[OnePlus 5 Questions & Answers] joergwrage:
Charging Ok here

With 830mA on an normal USB (1A) charger (Not great but OK)
[OnePlus 5 Questions & Answers] here is johnny:
Well i have a microsoft 3A usb c charger, works like a charm.. not dash but it charges!
[OnePlus 5 Questions & Answers] TheFrozen4:
Hm, thanks! So either a Quickcharge charger is a problem with th OP5, or my device is broken.

Let me find an old & simple charger to check this.
[OnePlus 5 Questions & Answers] kabauterman:
I've tested it with my QC 3.0 chargers all over the house and in my car and It works like it should.
[OnePlus 5 Questions & Answers] Hastaloego:
have you tried other cables too ? cause they are the problem most of the time.
[OnePlus 5 Questions & Answers] onlinejobwork:
I charged with Samsung Galaxy S7's fast charger and another USB-C cable and it's working fine and without overheating phone or charger
[OnePlus 5 Questions & Answers] ticoss:
Same for me, with this cable: https://www.aliexpress.com/item/TIE...on-Fast-Charging-Type-C-Data/32727882959.html ... and Zero problems
[OnePlus 5 Questions & Answers] TheFrozen4:
I'm so happy you posted this.

Indeed, the issue is not the charger or my phone, but the cabling!

I have many cheaper and ultra-cheap USB cables, and some work and others don't. I now got rid of all cables that do not work. I'm a happy man.

Thanks all.
[OnePlus 5 Questions & Answers] Hastaloego:
you are welcome.

i also used the app ampere https://play.google.com/store/apps/details?id=com.gombosdev.ampere

to test all my cables.. it was very surprising how many of the "quality cables" only provided usb charging while some "cheap cables" provided full power

(not dash power but way better than just usb current 200 - 500 mA)
[Samsung Galaxy Core Plus Questions & Answers] nicodemouse:
The phone had come to a low charge. Then it turned off. Now I can not turn it on and recharge the battery.
[Samsung Galaxy Core Plus Questions & Answers] forart.eu:
Same situation here after installing LineageOS 13 custom.

I'll try to reflash stock by Odin...
[Samsung Galaxy Core Plus Questions & Answers] frpbypass:
try this

Hi ! maybe USB port is damage ? Look on this video facebook.com/permalink.php?story_fbid=552299751823760&id=552297098490692 and open the your phone, next look at on port. Look for a bruise, patina and crack of solder
[Samsung Galaxy Core Plus Questions & Answers] MaCianz:
Leave it in download mode for 20/30 minutes

For me,it happened when i used the phone til the battery hitted 0 and automatically turned off,i've tried many things....but i think that leaving phone to download mode(vol down+power button) charges a bit the phone:silly:
[Samsung Galaxy S8 Questions and Answers] leekslk:
So me and my itchy fingers messed up Samsung Pay somehow and now all i get is aN "unable to connect/update" prompt.

So here's what I did.

I saw that there was an update on apk mirror to Samsung Pay 2.9.60 so i decided. Yeah why not? So I proceeded to sideload the apk and thought, ok maybe I should get the latest framework right? Thats where I proceeded to download and install the latest and greatest 2.7.55 framework.

And now, Samsung Pay doesn't work anymore. When it did, it was showing a new version of the Samsung Pay with rewards etc (I'm sorry I didnt manage a screenshot). But it was mostly in korean, plus some features in german (I guess i confused the hell out of the phone).

I am unable to connect let alone add a card and I think the only solution now would be to do a factory reset or flaah the latest ROM through Odin.

TL;DR I updated Samsung Pay and ****ed it up, please do not do that if you (like me) didn't know what you were doing

I am on 1AQF7 with the multi-CSC
[Samsung Galaxy S8 Questions and Answers] Fusseldieb:
I think you just messed up with SafetyNet or something like that. Normally, you can "uninstall" updates from system apps. Try seeing if something like "Uninstall updates" is available in the app manager. If it isn't, you need to reflash the stock rom using odin.

One thing more: If you rooted your phone to replace a system app, you might have tripped knox, and so far as I know, Samsung Pay won't work with tripped knox.
[Samsung Galaxy S8 Questions and Answers] chungdae:
Unfortunately you can't uninstall the samsung pay framework unless you have some PDP. Another way to downgrade is to factory reset. You don't usually want to mess with Samsung pay nor its framework. Samsung is very strict with that app and it's best to just let it be especially if it was working before
[Samsung Galaxy S8 Questions and Answers] leekslk:
Apparently I received an update for Samsung Pay through the Samsung App store and it fixed all the problems. Samsung Pay 2.8.20 and framework is now 2.7.76. I have no idea what has changed (apart from the version numbers) but its certainly working now.

Further information:I'm in Switzerland and added a card from another country that also has Samsung Pay. Seems like the app doesn't care and it works.
[Honor 5C Questions & Answers] SCUZZY1337:
Oh my god, again some ***** ass problem, songs deleting after some days when i downloaded them, WTF?
[Honor 5C Questions & Answers] thelous:
move them to folder you crate YOURSELF, then system wont mess with them, dont use stock "music" folder..... if this wont help take permissions away from system to modify it, then it cant be phone's fault.
[Honor 5C Questions & Answers] gopinaidu77:
Where have to downloaded them ? I mean which app ?
[Honor 5C Questions & Answers] SCUZZY1337:
LOL bro, i download them from zf.fm.
[Honor 5C Questions & Answers] gopinaidu77:
Lmao thats the reason. Try to change the directory of songs and they will stay
[LeEco Le Max 2 Questions & Answers] marshharsha:
pls any devs help me to fix imei in le max2 how to restore procedure
[Tilt, TyTN II, MDA Vario III General] hv_thugg:
where do i find applications/software for tytn2

for example ------fscaller
[Tilt, TyTN II, MDA Vario III General] ach2:
For stuff like fscaller you can just use google to search.

For some stuff specific to WM6 and/or Kaiser try here or here.
[LG G6 Questions and Answers] Bleudovergne:
Hello and excuse me for my English :angel:

in your opinion, when you can have a rom with Xposed and 3minit battery, like Imperium ROM :good::good:

Thanks.
[LG G6 Questions and Answers] christopherrrg:
Probably when more bootloaders get unlocked.

Right now only two variants have it officially unlocked and the majority of development rests on whether or not the rest will get unlocked.

Looking at history, I'm regretting not knowing the model of my phone before purchase.

Now I'm stuck with an H873 I can't do anything with.
[LG G6 Questions and Answers] Bleudovergne:
Ok.

I was careful to buy the European version H870 .. certainly, less equipped, but unlockable. :o

I come from a LG G4 that had bootloop (H815) :crying:, and also, only the European version is unlockable.

thank you for your reply.

I will wait ...:angel:
[Huawei Mate 9 Questions & Answers] newyesor:
I am try extract system.IMG to system data but not working.
[Huawei Mate 9 Questions & Answers] ante0:
In phone or computer?

For Linux, I used this: https://xdaforums.com/showthread.php?t=1588461

basically, download simg2img, run a terminal and

mkdir mounted
./simg2img SYSTEM.img sys.raw
sudo mount -t ext4 -o loop sys.raw mounted/

Edit: As you see, you can't extract system.img as is.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
Hello,

I tried to flash the RessurectionRemix ROM and it was working well except the LTE so I decided to get back to EMUI.

Problem, i took the backup of bluesmoothie and flashed it but the phone never finish to boot.... (I didn't wipe anything, i thought that the restore function of TWRP was doing everything, am I wrong ?)

Moreover, the TWRP recovery can't access the content of my ext sdcard where the RR ROM is located and even if i put this rom to internal storage, i got the ERROR 7 (this is for deive: can; you have generic_a53)

Do you know what can I do to :

- Come back to EMUI

- Unroot the phone

- Re-lock the bootloader

The files of the TWRP backup are located on the sdcard, if i wipe data/system/cache, will it delete these files ?

Infos :

- Bootloader unlocked

- TWRP of Garak (but still have ERROR 7 now)

Thank you very much
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
First you need to flash the stock recovery in fastboot. After that you need to put the update.app in a folder called dload in your internal storage.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
Okay but where can I find the stock recovery ?

Then, do i have to flash it via ADB like i did with TWRP ?

After that, where can I find the "update.app" that you are talking about ?

If i'm right, you're telling me that i can't go back to EMUI without flashing the stock recovery ?
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
That is correct. First use firmware finder to get the update.app. There is a firmware extractor tool for Huawei firmware. Use it to extract the recovery.img and flash with fastboot.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
First of all, thank you very much for your anwser, it's very kind of you.

If i understood everything, that's what i have to do :

- Download one of the Huawei firmwares with Huawei Finder (Better get the B100 or another one ?)

- Extract the recovery.img with the update.app from Huawei Finder

- Flash the stock recovery with ADB

Then :

- I put the update.app that i get through the Huawei Finder in the dload folder of the internal storage (If i flash the stock recovery, will I be able to put files in the storage ?)

- I reboot the phone in recovery and normally, it should install the EMUI rom

At the end, my phone will no longer have a custom recvery, bootloader unlocked and root status ?
[Huawei Nova/Nova Plus Questions & Answers] #Henkate:
Yes, that's correct. But you have to put update.app in dload folder on your SD card as far as I know. That's how I did it.

I couldn't find B100 on Firmware Finder and I've got relocked bootloader on Nougat.
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
Yes, you will need to copy the update.app to internal storage in TWRP, then flash the stock recovery. After flashing you need to hold all three buttons when booting (just like getting into TWRP. After update you will have no custom recovery, no root, and it should lock bootloader.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
I did everything, now it's booting but it's VERY VERY LONG... I'll wait and pray
[Huawei Nova/Nova Plus Questions & Answers] #Henkate:
If it doesn't boot, then boot in recovery and do a factory reset and then it should boot. It happened to me and that's what I did.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
I still have the warning message "your phone is unlocked", is it normal ?

When i boot into recovery it's displaying "eRecovery" and ask me to download the new update of recovery but it fails when getting the package. I can only reboot and turn off :/

Thank you as always
[Huawei Nova/Nova Plus Questions & Answers] #Henkate:
You shouldn't have that message anymore.

Are you sure that the update.app got installed? [MENTION=4850735]wangdaning[/MENTION] told you to put it on dload folder in internal memory. I don't know if that is right or if it works, but I've put it in dload folder on sdcard when I've installed update.app.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
Well i wasn't in front of it when it finished and I just did it : the update stops at 5% and then the phone reboot....

Do you know what do I have to do ? I took the recovery from the last B350 on huawei firmware finder

EDIT1 : but this time in recovery i can Reboot, Wipe factory reset, Wipe cache
[Huawei Nova/Nova Plus Questions & Answers] #Henkate:
You can read in this post the steps I've used to relock the bootloader and get update (official I guess) through Settings > System update. Just "click to show content".
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
The problem is that the phone doesnt finish to but anymore... i can't do things in menu.

When you talk about SD card, it's the external sd card ? Because i don't have access to it anymore, but i have the partition SD Card

When you installed the B340 update, you seen the percent growing up and had a "success" message ? Because, for me, the update is stuck at 5% and then it reboot the phone
[Huawei Nova/Nova Plus Questions & Answers] #Henkate:
Yes, I mean external sdcard.

Reinstall TWRP and restore bluesmoothie's backup and then flash the stock recovery again.

I didn't have any issues with installing the B340 firmware. It was installed successfully.

Try to follow the steps I've used. You shouldn't have any problem.
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
Okay i'm going to try it right away

My external sd card doesnt show up anymore when i connect it to my PC, i don't know why
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
I mentioned internal SD card because you said your external was not recognized, but you might try putting the dload folder on external. I have done it both ways. Sometimes the update through stock recovery is finicky. If it doesn't finish run it again. Also, make sure your USB is disconnected, as may Huawei users have mentioned this causes it to freeze. If it still fails, try dloading a different update from firmware finder.
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
Did it work?
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
I didn't have so much time these days but I did it and it worked for the 1st part (flash bouesmoothie's backup). Tomorrow I'll do the final step! Thank you again
[Huawei Nova/Nova Plus Questions & Answers] iSpeeX:
Here I am :

1 : flashed stock recovery from B350 and i don't have the "unlocked" message anymore !

2 : The update B350 made it, "update success"

3 : It doesn't boot for now

4 : The boot doesn't end

-----

1 : flashed TWRP recovery, launched a factory reset in the same time

2 : Phone booting again on B100

-----

1 : flashed stock recovery from b350

2 : flashed b350 update

3 : Everything is fine !

Thank you for your help !!!
[Huawei Nova/Nova Plus Questions & Answers] Yohannj:
I have do the same as you for going back to stock B350 but after step 4 you need to make a factory reset with stock recovery :

Turn off the phone and power on with "vol down + Power" , now you can do a factory reset and also wipe cache.

After that , the phone start correctly.
[Huawei Nova/Nova Plus Questions & Answers] veridator:
Hi,

I have done this without the need to do a factory reset

1.flash stock recovery

2. reflash current stock rom (B340 for me.) over rooted B340

3. flash B381 (lastest current version)
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
good to know I am not crazy!
[Huawei Nova/Nova Plus Questions & Answers] OrlandAce:
HELP!

I relocked my Nova 2i(RNE-L22) using this "fastboot oem relock your_unlock_code" method. I have no longer access to fastboot mode, when I press Volume Down + Power Button, it only shows the Huawei eRecovery screen. Tried "Download latest version and recovery" but failed. What should I do now?
[Huawei Nova/Nova Plus Questions & Answers] Mega.PK:
Huawei nova caz al 10

Dear i have HUAWEI NOVA ( CAZ-AL 10 ) with unoffical rom, i want to go to stock rom , for this modal

HUAWEI NOVA ( CAZ-AL 10 ) but i did not know the procedure and also want to relock and unroot phone .

Please help me.
[Huawei Nova/Nova Plus Questions & Answers] wangdaning:
If you are relocking bootloader that means you know how to unlock it. You need stock recovery, so either flash it in twrp or unlock bootloader and flash it there.
[Huawei Nova/Nova Plus Questions & Answers] Mega.PK:
Fastboot Command not allowed) error

i try to boot into the twrp from fastboot i get FAILED (remote: Command not allowed)

---------- Post added at 11:26 AM ---------- Previous post was at 11:09 AM ----------

I'm trying to flash system.img with fastboot but that error occurs:

UNLOCKED Bootloader = FAILED Remote: command not allowed
[General Questions and Answers] Eyadbitar:
Hello Guys , I have installed a custom rom for my xperia l and I want to download the google apps I have already downloaded the gapps file from opengapps.org but the setup wizard crashes , can I install gapps manually?? thx
[General Questions and Answers] krasCGQ:
Hi,

Could you tell me what:

1) ROM

2) GApps type and version

...are you trying to flash?

Also flash ROM+GApps together.
[General Topics] Theomax123:
The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices. It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes.
[General Topics] zelendel:
You do know this is all common knowledge right.
[General Topics] sawdoctor:
Thread closed as duplicate

https://xdaforums.com/showthread.php?t=3619216

Please stop spamming the boards with pointless threads

Regards

Sawdoctor
[Meizu Pro 5 Questions & Answers] Gorchichka:
Previously, I used several faust's roms. Then I moved back to stock Flyme. Now I'm considering moving to custom rom again. So it has been quite a while since I used the custom rom and I wonder what is the most stable custom rom for our device currently. Particularly, in terms of gaming, fingerprint response and basic customization. Any advice? :confused:
[Meizu Pro 5 Questions & Answers] PYCON:
Yes, u can choose Faust93's rom or Faust93's rom... or even... Faust93's rom :D

In other words, u can choose RR rom. Or nothing else.
[Meizu Pro 5 Questions & Answers] Gorchichka:
Thanks for reply. So you mean the latest rom, right?
[Meizu Pro 5 Questions & Answers] PYCON:
The latest RR, the only custom rom actually available, yes :)
[Meizu Pro 5 Questions & Answers] Gorchichka:
Thanks for your advice dude!
[Huawei P9 Questions & Answers] Alfombra:
can anyone help me. my p9 stuck on Your Device Has been unlocked and can't be trusted.

cant go in twrp and won't power off only i can do is going in fastboot. but every time flash on fastboot it always failed (remote unknown command)

my phone status when fastboot is PHONE Unlocked FRP Lock. help me pls... thanks and sorry for my bad english
[Huawei P9 Questions & Answers] Alfombra:
how to re-lock bootloader and unlock sir? and the problem is every time i flash stock recovery in fastboot FAILED (remote: command not allowed)
[Huawei P9 Questions & Answers] Alfombra:
it always getting FAILED (remote: command not allowed)
[Sony Xperia XA Ultra Questions & Answers] bluefix:
for android: nougat stock FTP rom

I want to create a Sony Stock FTF ROM file using PC Companion and Flashtool.

But when I click on the create button

"A fsc script is found 36.1 fsc do you want to add at"

The question window comes up.

a fsc script is found 36.1 fsc do you want to add at

yes or no?

http: //imgur.com/a/BQZjt
[Sony Xperia XA Ultra Questions & Answers] EternalRageX7:
Yes add the script its important
[Sony Xperia XA Ultra Questions & Answers] bluefix:
Thank you
[Sony Xperia XA Ultra Questions & Answers] EternalRageX7:
NP so hows nougat?

No root tho atm :C
[Meizu M2 / M2 Mini Guides, News, & Discussion] ChakibDEV:
Excuse my newbieness but can these be flashed by twrp?
[Meizu M2 / M2 Mini Guides, News, & Discussion] irt118:
Yes, these roms can be flash by using twrp.
[Meizu M2 / M2 Mini Guides, News, & Discussion] Valkyriesh:
when i play MOBA Game, the task manager always open, whn i slide by accdnt . But i have turn on the Game Mode, also turn off slide from side and bottom to open the TM

when i play the game it still can open :(

i have Meizu M3s with 6.1.0.0G