yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Droidriven:
One thing I meant to mention, years ago I was trying to chase down some RIL issues, I collaborated with a developer at a now dead android site called Android Area51. I remember using an adb method to adb chase the loading process for the radio one file at a time, each command we used would call forth the next file/resource required to load/start the radio, if anything was missing, it would tell us what file was looking for next if it wasn't there, if the next required file/resource was there but not working, it would tell us that, then we would use that info to add/fix what was needed at that point of the loading process, then we'd move on to the next layer/file/resource required in the loading process.

Maybe you could do something similar with the camera to see where in the loading process the files/resources are correct and give you an idea of what needs to be there in order for it load correctly.

I don't know what you would call the method or process that we used to chase it via adb command or what the exact commands were. Maybe you already know what I'm talking about, if not, you should be able to find info on the troubleshooting process I'm referring to.
[General Questions and Answers] Awate .Jr:
Ok sir I was just a little bit sarcastic ? ? at that post ok but I got you sir

Thanks ?
[General Questions and Answers] Awate .Jr:
Hi there can any one tell me how does wine work in detail . It's an windows emulator or more specifically a compatibility layer. Please tell me

Thanks in advance ?
[General Questions and Answers] Johanno:
Well I'm not a specialist for wine, but as far as I know it translates windows system commands to equivalent or similar linux commands. But if you want a more specific answer you probably want to go the wine forums.
[General Questions and Answers] Droidriven:
Well, it isn't exactly an emulator, but it somewhat "emulates" Windows "enough" to run "some" Windows programs, but not all of them, there are lots of Windows programs that will not run in Wine. Wine is not a reliable solution for running Windows software in Linux.

https://unix.stackexchange.com/questions/100739/how-wine-is-not-an-emulator

Another solution to run Windows programs in Linux is to use Oracle's VirtualBox for Linux, then install Windows in VirtualBox, then you can run Windows in a virtual machine. Then you should be able to use just about any Windows software you want.
[General Questions and Answers] DiamondJohn:
NOW you are off topic.Wine is NOT android, and the answer would be well beyond the scope of a single post. If its not open source, read the doco on their website.
[General Questions and Answers] Droidriven:
I assume his intention is to use Wine in some kind of android OS that he is trying to build so that windows can be ran in his OS.

Why? Who knows?

I really don't see the point, such an epic waste of time. It makes more since to run android in an emulator or VM on a Windows or Linux system if the intent is to have multiple operating systems at the user's disposal, since the software to do so already exists and more than likely exists in a better manner than anything they might come up with.
[General Questions and Answers] DiamondJohn:
Wine is specifically Windows on Linux. I would guess he is thinking of imitating that to get android on linux. However, any question of how windows runs on linux is NOT android.
[General Questions and Answers] Droidriven:
When he first posted his idea for his OS, I believe his idea was to build an android OS for PC and use emulation in the android OS to run Linux. Coupled with the question about Wine, this seems to suggest that his idea is to run Linux inside android and then run wine in linux to run Windows applications inside the Linux that is running inside android?

If that is the intent, I guess it "could" be considered relevant to android if he is trying to figure out how to get all that to work inside android. It doesn't make any sense at all, but it seems that may be the intent.

All I can say is, even if they somehow got all that to work at all, it would be a very slooowwwww machine, useless, even.

Some ideas "can" be done, but with many it is a matter of not being worth the effort, even if it can be done.
[General Questions and Answers] DiamondJohn:
I repeat. WINE IS WINDOWS
[General Questions and Answers] Droidriven:
You are absolutely correct...

But

I repeat, IF his question is aimed at building an android OS that he plans to attempt developing and somehow use Wine in that android OS, however vague or indirectly? That would seem to loosely fall under a form of android development. I don't see a whole lot of difference between that and porting a console game (e.g. NES/SNES/PS1/PS2 games) into an android apk. The console and its games are definitely NOT android, but, porting a game from that console system into an android apk to be used in android, means it falls under ANDROID development. Questions about using android on Windows are relevant android related questions, so to would be using Linux, Wine and/or Windows in ANDROID.

I'm not saying it ISN'T Windows related.

I'm not even saying that it can be done, I'm just saying it would be aimed at android if that is his plan, if we can even call it a plan.
[General Questions and Answers] Awate .Jr:
Sir wine IS also available from r ANDROID AS AN APP YOU CAN GOOGLE IT

THANKS FOR YOUR HELp

---------- Post added at 06:07 AM ---------- Previous post was at 05:55 AM ----------

Sir you got me a bit wrong I am not going to directly run these all my plan is to integrate all of them as in a kernal and customize their code to run efficiently and fast . My idea is to make a main kernal and then it's sub parts whet the karnal gets a call which it does not recognize it will pass to the sub part(where the instructions of other os are executed) .in that way I am going to customize the code to a lot extent and I AM NOT GOING TO USE ANY EMULATOR .

I AM GATHERING INFORMATION ABOUT WINE BECAUSE I JUST WANT TO INTEGRATE THE PART OF ITS CODE WHICH RUNS ANDEOID ULTIMATELY THE OS I WILL BE MAKING IS GOING TO BE COMPATIBLE WITH ALL SORT OF MOBILE DEVICES AS WELL AS THE OTHER DESKTOP LAPTOP COMPUTERS

DON'T MISUNDERSTAND ME

MIND IT THAT I AM just 12 AND I MAY LACK IN SOME TECHNICAL WORDS BUT I HAVE A HoPE THAT THIS COMMUNITY WILL HELP ME .

I HAVE AN EXPERIENCE WITH C . AND THENE TOO THE WORLD IS OPEN IS SHARE KNOWLEDGE ?

THE INTERNET IS TOOO

thanks in advance ?
[General Questions and Answers] Droidriven:
The kernel more or less just tells your hardware how to function in order to use your software. What you are talking about seems to be more like making a software talk to another software as if it the software that is doing the talking is a piece of hardware(which, effectively IS a type of emulation), instead of a hardware talking to software scenario.

In addition, you might be able to make an OS that works with all PC systems, but your idea of an OS that works with all kinds of mobile devices, just isn't going to work because of the vast range of hardware differences between each brand, model and variant. A single standardized OS that works on all mobile devices is a noble thought, but, don't waste your time attempting it. Unless there are significant changes that brings standardization of hardware in how mobile devices are built, a standardized OS will never happen, it is a pipe dream.

Now that you put it that way, I agree with [MENTION=5417899]DiamondJohn[/MENTION] now and it also brings us all the way back to my original reply to you on this whole idea. Your questions do not belong on an android development site. You need to go find a reputable PC development website/forum. You are out of place here at XDA with this idea.

Now that we have come full circle, let us no longer discuss this subject, I should have been more clear the first time. Maybe then you would have understood.
[General Questions and Answers] DragonFire1024:
Okay so a little bit of an update. I've actually been able to determine that the camera is fact ExynosCameraHAL2 on the AOSP built marshmallow ROM. I looked over the hardware repo briefly for the device and have discovered that the source files are actually ExynosCamera (no HAL). Now I know this to be the case based on simply playing with the camera for a minute and looking through the system logs and the titles match the files word-for-word minus the HAL. So now I guess I must hunt down, if they even exist, source files for ExynosCameraHAL2. I can possibly try contacting the developer of this ROM and hope that he is still around and might be able to shed some light on how he managed to even get HAL2 to work on this at all. So I guess it's safe to say the reason why a module is not being built is because it isn't even the right source files in the repo.
[General Questions and Answers] GOOGLE_USER:
CALMATIVE

[MENTION=2498947]awate Jr[/MENTION]

There is medication which may prove to be an effective treatment in your current conditions.
[General Questions and Answers] Awate .Jr:
And what it is sir
[General Questions and Answers] GOOGLE_USER:
Laughter. It's the best medicine.

Lash out with laughter, or by causing it, instead of frustration.

Be calm and calming results will most often follow.
[General Questions and Answers] Droidriven:
It makes sense that the source files aren't there, as I stated previously, stock camera source is proprietary/closed-source, there would be nothing to compile and spit out in the build.

I don't know where they pulled their resources from, but they probably pieced it together with stuff they pulled from other devices with similar camera hardware.
[General Questions and Answers] Raresh T:
does anyone knows where i can find info about battery sizes, the measurements of every smartphone out there? been thinking of replacing my Asus tf201 battery with a bigger one. and seems i can't find the exact measurements of the available space.
[General Questions and Answers] DiamondJohn:
Yes the source is proprietary, but the blobs are commonly pulled from a running device, and included in the ROM build as a file copy.

I think this is pretty common when upgrading a phone to a newer android, by pulling blobs off other devices, with the same or possibly compatible hardware camera.
[General Questions and Answers] Droidriven:
Yeah, I overlooked blobs, thanks. By the way, how does the build come out with what it needs to work "with" the blobs if their is no camera source to pull from in the build process. I'm not a developer but I'd still like to understand.
[General Questions and Answers] Droidriven:
Have you read this?

https://www.xda-developers.com/came...opers-make-hardware-work-without-source-code/
[General Questions and Answers] DragonFire1024:
I've skimmed over it for now and will take a detailed look at it on my days off. I guess for now the best thing I can do is try and either search for the files or find hardware files and blobs that will work with this device and camera.

Edit: actually as quick as I said I think I may have just found them. Turns out I've have been looking in the wrong spot. It seems the files are tucked away under an archive "previewing Android m" which I assume means marshmallow. I honestly did not even see any of these links in the general area I look at when searching for open source files from Android devices. I actually had to do a few different searches before this link finally popped up. This is just a link to one of the files. But because chrome browser is having a hissy fit it crashes when I visit the page on my mobile device so I was only able to grab the link for this specific file. But it appears they are here.

https://android.googlesource.com/pl...eview/libcamera2/ExynosCameraHWInterface2.cpp
[General Questions and Answers] Droidriven:
A combination of all three points gave me what I needed and is what I had surmised.

As for the black screen, that is weird behaviour but the screen hardware seems to be working. Maybe an issue with your launcher/UI? Corrupted cache for launcher/UI? It's hard to say without having the device in had to tinker with from different angles. Maybe share the screen to another device and look through everything to see if anything is out of place or if any settings are potentially causing this?

I'm not certain about adb but there is a method that uses Google to backup and restore SMS/MMS, I used it on a device that my wife had but that was like 4 years ago or so on a Nexus 5.

---------- Post added at 03:46 AM ---------- Previous post was at 03:30 AM ----------

It gave my device a hissy loading the page, but, I hit "stop" in browser and the rest of the page appeared. I used to write line by line program instructions in school(30+ years ago), but modern programming is far more detailed/advanced than what I had experience with in those days. It would have been better to learn today's stuff without previous experience, then I wouldn't have the old school stuff(that I was no expert with to begin with) in my head clashing with the new stuff.
[General Questions and Answers] elojete:
Sony xperia Lt26i Bootloop

Please, i need help, i dont know what else to do and i did not wanted to create a thread in the wrong place and get banned.

My phone stopped working all of the sudden and got stuck in the bootloop, if i connect it to the computer it says "usb device" but i cannot enter or do anything, i know i should use Sony Xperia Companion but from what i understand that works if your computer can read the phone.

I guess i will have to flash the phone (english is not my first language by the way) so i wanted to ask if somebody could please help me with that and if there is any way of doing it without losing data? Luckily i made a backup before so i wont lose anything important, but i am asking just in case.

Thank you, i dont know what to do and i cannot buy another phone right now.
[General Questions and Answers] Droidriven:
Do a Google search for:

"Return to stock (your specific model number)"

That should find the firmware, the tools, and the instructions. Find the newest firmware version that you can find for your specific model number then use the tools and instructions that you find.

If that won't work, do a Google search for:

"Unbrick (your specific model number)"

That might find a guide to repair your device with some form of unbrick method.
[General Questions and Answers] elojete:
Thank you i really appreciate it, i will try that and let you know if it worked
[General Questions and Answers] Droidriven:
Status check, any progress?
[General Questions and Answers] DiamondJohn:
It was depper than the launcher as the reboot UI was something from a previous version of android (obviously a fall-back state) and other things such as the QS tiles/status bar were not working, nor my Pie launcher (LMK) etc etc etc Also wiping /data/app would of reverted me to the default launcher, which would of been "clean"

OK, I managed to get my calls/sms & MMS all back up to date.:highfive::highfive::highfive:

I restored a working TWRP from about a month back (and hence missing a months worth of calls / SMS & MMS

Pulled the Calls/SMS & MMS databases (see the insert dest in the script to know the 2 dB's I used) from the current TWRP backup, of the failing setup, using 7-Zip

moved the dB's into a known location

created and ran the attached script, in recovery

It is based on the assumption that all changes would be inserts into existing data structures, so I just inserted the missing records, and it worked!

I have attached the script for reference purposes in case someone else needs to do the same, but it does require some manual steps and understanding of what you are doing, so its not for a casual user.

EDIT: Almost forgot the steps.

from the "merged" ROM, I made a backup of the calls and SMS & MMS using an appropriated app. As well as the app data from selected apps.

Then I cleaned flashed the rom (maybe the backup already had the decent into madness), restored my backed up call history etc, re-installed all my apps, and re-configured the phone; a lot of which I have scripted as I historically have cleaned flashed many times before.
[General Questions and Answers] Raresh T:
hey guys, any idea what might have triggered this? every app that usually was running in landscape mode, now is blocked in portrait mode. i havd an xiaomi note 8 pro, miui 11.03 , android 10. even youtube doesnt force landscape.
[General Questions and Answers] Partha Dip:
[Help][Kernel][Mod] Lowering minimum display brightness on android device

Hi, Is it possible to lower the minimum brightness level in android by modifying only the kernel or do one have to edit parameters in both the bootloader and the kernel ?.

I edited the minimum brightness value in the dtsi file for my panel in kernel source but after flashing the kernel and placing the kernel modules in system/lib/modules still the brightness won't go lower than 10%. When the phone was running nogut the brightness was lower but after upgrading to oreo

the minimum brightness was set to 10%.

links:

1. Why i think the bootloader may need to be recompiled (I don't have the source code) :

https://www.google.com/url?sa=t&sou...FjAAegQIBRAC&usg=AOvVaw36iGobw4OPDJ8BvC_fcXma

talks about putting display parameter for both kernel and lk.

2.https://github.com/MiCode/Xiaomi_Ke...m/dsi-panel-ili9881c-ebbg-c3b-720p-video.dtsi

near the end of file minimum backlight value 4. It was 4 in nogut too so I think maybe they have changed the lk parameter.

*I have tried to set values in sys/class/leds/......brightness file.anything between 10 and 225 works but wont go below 10.

If anyone have any idea please let me know. I atleast want to understand how the thing works.
[General Questions and Answers] Droidriven:
There are some adb commands that you can run in a terminal emulator on the device that can change your minimum brightness.

settings put system screen_brightness_mode 0

And

settings put system screen_brightness 1

There should be some set.prop commands also.

Since android tends to make significant changes from one version to another, those commands may or may not work.

There are also root enabled apps in the PlayStore that can change minimum brightness as well as other changes.
[General Questions and Answers] Partha Dip:
I tried those but it won't go below 10. Even in orangefox custom recovery the brightness control wont go below 10. So it is hardcoded inside the kernel or something. I want to understand if the bootloader plays a part in it.
[General Questions and Answers] DragonFire1024:
Actually not really. the files I found that I had hoped or what I needed, were not. So I have tried to find other devices that have the same Samsung camera modules that I'm looking for, in hopes that I can work some magic and get those to work. All of the one repo I downloaded, so far, the build files are inside device/Samsung/manta as opposed to being in the hardware directory inside the source. So I'm not sure why that is but I guess I'll have to screw around some more. I will also have to look over the source code for Samsung camera that shows the breakdown of each layer. Other than that I really don't know. I guess I have a few more things I can read over but so far at a loss
[General Questions and Answers] SubwayChamp:
Try RootDim (root) in Play Store.
[General Questions and Answers] DiamondJohn:
Shy assistant?

I have google assistant running, and have turned on response via voice. So if I ask "whats the weather today", it will read out today's weather forecast. However, if i ask it other questions, the voice is not used, when previously it was (I just clean flashed my phone).

For example, if I say "tell me a joke", the assistant will respond by text only. Previously it read the joke out to me. i.e. it actually told me a joke

Actually just checked other questions ("what is the square root of 4", "what is a turducken" and "how long is a piece of string"), and it appears its only the joke part that is not responding via voice. Is this something that has changed recently?
[General Questions and Answers] Droidriven:
Do you think might be some set prop commands might work? Seems like they should have some kind of .prop, config, .xml or some kind of manifest they can edit. There is some kind of file/files somewhere they haven't discovered that is setting the minimum to 10 that needs to be edited. I don't think it should be necessary to edit anything in the bootloader itself, should it? It shouldn't be necessary do anything at the compiling level, should it. Unlocked bootloader, root binaries/permissions, dm-verity, and permissive kernel/mode should be enough to modify whatever they want. There is probably something I'm not seeing in their issue that I'm missing that probably should be ridiculously obvious but isn't from my perspective, lol.
[General Questions and Answers] SubwayChamp:
I think that the wide-system brightness values are set in system itself (no kernel nor bootloader related), in Android 10 Google changed some things in the API like where the props are placed; the directory was changed apparently and the adb commands might change too.

It's up every OEM to set a minimal to be accessed to the final user not a restriction from Google itself like the user did think.

May I'm wrong but probably since newer Android versions, it seems that now we need to root the device in order to change that since probably it's not enough with write_secure_settings permissions otherwise an app without root should do it with the interaction of the user and I don't know of any that do that by now (in a quick search)

I didn't try this command on Android 10 since I'm currently on oreo:

adb shell settings put system screen_brightness "value"

, my device (MZD) doesn't allow less than 3% (0/255) and this way I set to 0.
[General Questions and Answers] Droidriven:
Running the

adb shell ls

command via adb shell would be a good start, from there, chase through the directories/folders/files until the culprit is found and edited.

[MENTION=8158572]Partha Dip[/MENTION], are you reading this?
[General Questions and Answers] DragonFire1024:
If you guys are talking about brightness levels or automatic brightness, they are set in the framework-res.apk. however you have to go around the back door in order to get them to work. Since most OEMs preset the values themselves, they are done in an overlay before the ROM is built. so you have to use apktool to decompile the framework APK, and locate the array file in res/values. if you look up the source code you can see some examples for other devices on what they set for automatic brightness and you can tweak those settings based on your likings. There are other things you can use like LUX auto brightness, and gravity box also has settings for auto brightness. but if you're not careful with those types of applications making your screen too bright or too dark will make it seem like your screen has died or your device is turned off when it actually isn't. so far as I know there are no brightness settings in the colonel for most devices at least based on my experience.

PS. I can decompile, edit and recompile most framework on most of the devices I own with no problem.the auto-brightness configurations was one of my specialties for several devices that appear to not have any auto brightness controls, but there is ambient lighting which can be used for the same thing. However with all of this being said so far as I know the only way 2 modify permanently, the brightness settings a through the framework-res.
[General Questions and Answers] Droidriven:
I don't think the member that is trying to do this is rooted.
[General Questions and Answers] DragonFire1024:
Then that would be a tough one. There are ways the sort of get around it. Trying to use lighter backgrounds lighter icons and so on I know that sounds cheesy and dumb but without Root there is not much more you can do and in fact I think a lot of those LUX apps require root access as well.