Adding support for official Keyboard Cover in ONE UI ROMs - Samsung Galaxy S8+ Questions & Answers

[Same thread in S8 Q&A forum]
I asked this in the specific Hades android 10 ROM thread, but mabe this solution works in any One UI ROM.
AFAIK the steps to find a solution would be:
1. Figure out the processes involved in making the keyboard cover work.
2. Extracting them from a (or almost) stock ROM.
3. Flashing on top of the ROM in TWRP
4. If it doesn't boot up or is unstable, try editing the ROM myself replacing the new apps with the old ones.
5. Flash again
If it works, then perfect
If not, find a workaround with some external apps.
7.Make the keyboard stay always on screen.
8. Set up a keyboard that exactly matches the case. Maybe the native samsung keyboard from Pie itself works with this.
9. Lock the screen rotation.
10. Have a quick toggle to add and remove the keyboard cover settings and link it to the bixby button for convenience.
I have absolutely no idea about ROM development, so any help would be most helpful. thanks!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
elMagnate said:
Hello @corsicanu and congrats on the great ROM.
I'm asking you and anyone who has some experience in android ROM developement if it could be possible with a bit of tinkering to add support for the keyboard cover.
I know there's some remnants of code of it in your ROM cos in first boot, in the setup wizard it was attatched on the back side and a message popped up telling me I could not use it while setting the phone up (as it said on first boot on Pie).
AFAIK, there would be several processes involved in supporting this keyboard cover, from the Samsung keyboard app itself to some other system processes. Probably some background log registers which processes start runnig in a stock Samsung ROM and from then i'd have to export them to Android 10.
I don't know how hard is to grab them from a pie ROM, replace the Android 10 parts and hope it all work together while fashing in TWRP, or just have both apps in the same ROM and disable the newer ones and start tinkering.
Is there some signature or something required while flashing it?
If you could guide me to some material to start figuring this out, It'd be most helpful. Thanks!
Click to expand...
Click to collapse

Hi!
How's it going trying out to make the case work?
I recently found this case on Amazon for $10 and had to get it although I don't own a S8+ myself. Next task will be to buy a not too expensive phone and start to experiment. I have no knowledge either of ROM development but will try out different ideas on how to make the case work. Would be nice to have it still working on an recently updated phone.

Related

[TOOL] US Enabler 1.0

Now, I apologize in advance for this very...VERY ugly/horrific looking program, but I just whipped it together to save peoples time. I didn't really have too much time to make a typical 'qberty' styled GUI for this app, but it still does what it needs to do. Speaking of which.
The 'Unknown Sources' Enabler
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Don't ask about the background, i don't know why its purple )
This application runs on a windows pc. This application allows ANY user with ANY Android ROM with ANY Android phone to enable the 'Unknown Sources' option without physically going there to switch it on.
Why would you want to do that? Well, I first had the need to do this because of a certain ROM (Eagle Eye) that did not even have this option. So this application allows anyone without this option (or just wants to enable US a lot quicker) to do that nice and easy without having to sift through ADB's functions and SQLites confusion.
With an easy click this app will make the change on any android powered device.
Direct Download @ 0m3ga
If more people are actually interested in this a lot more, i will expand on it, depending on user feedback. Otherwise, there are no future release plans.
And also to the people wondering why I keep posting universal applications in this section of the forum. I have an HTC Magic 32A. So, I stick around here 98% of the time, so this is where i post 'em.
aaah, only windows version? hehe what about me and all linux users
Thanx for the tool man!
i'm uppping a patch for the rom today, which makes this tool not needed sorry
capychimp said:
i'm uppping a patch for the rom today, which makes this tool not needed sorry
Click to expand...
Click to collapse
It wont be needed once you patch YOUR rom. But I have seen other people have this problem with some other roms.
Also, a linux version is possible, if more people want it.
sorry was not meant to be rude or anything, but yes it was meant that in eagle eye it's fixed in the rom now
Would this work on an official ROM? Say, to enable sideloading on a Samsung Captivate where this option isn't in the menus?
InsaneJester17 said:
Would this work on an official ROM? Say, to enable sideloading on a Samsung Captivate where this option isn't in the menus?
Click to expand...
Click to collapse
This will work on any ROM, any Device that supports ADB. As stated in the first post, all this does, is enable 'Unknown Sources' for people too lazy to go and enable it themselves or they don't even have that option.

Customizing

Hi, I got a KF when it came out last year. I wanted to give it to my niece this year for her birthday. I'd like to put something other than the KF OS on it. Maybe CM9? That seems to be popular around here. Also I'd like to customize the screens so that a 4 year old can get to what they need and not get lost in all the extras.
Q1: Can anyone recommend an OS for it? CM7, CM9 or other. I don't need it to have all the gadgets or widgets. Just wifi, video, sound and the google market. Maybe I can strip down something already made?
Q2: I guess I would have to make some sort of custom theme for it. Does anyone know of one for kids? I want to get rid of the carousel and do maybe 3-5 BIG icons on the main screen. No extra screens (swipe to next screen). And a password protected settings icon.
I've done lots of windows and Mac programming before, but no android yet. I've got the SDK and have gone through several beginner tutorials ("Hello World", ect.)
Thanks.
Im using Cm7 currently, i suggest you to use the same! Very cool, smooth and fast.
Cm7 is quite stable, and its been fun customizing it to my liking.
Sent from my ADR6400L using xda premium
Ok cool. I'll start on CM7 then. Do I need to modify the source code to customize it or can I just manipulate the configuration files and graphics?
MIUI
I'm using MIUI.us, It's still quite buggy, but it promises lot!
If it's for kids, maybe the easier way should be:
Keep stock rom
Root KF. do not register in order to keep out amazon's further upgrades
Install the apps you like
Set another launcher as default and customize it as you like. Hide/unistall what you think the kids don't need
No need to flash roms, IMO
Put the MoDaCo Rom on it. It comes preloaded with the Android Market and uses the regular Kindle Fire OS. I've used it and I think it would be perfect for your niece!
Here's a preview: http://www.youtube.com/watch?v=F2QtQeOdOZg
He says in the video that the Rom is v6.2.1 (Gr2), but it is actually been updated to v6.2.2 (Gr6).
Here's the Rom: http://android.modaco.com/topic/350682-24-jan-gr6-622-modaco-custom-rom-for-the-kindle-fire/
CM7 is the only one that can do video for now. I recommend you use GO Launcher or the stock one. Don't go too overboard trying to make your own. Actually did one a few years ago for my brother to browse the internet.
Desktop VisualizeR lets you do "stickers" and put them where you please and then point them to an app. Kinda like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That's a really nice screenshot you have. Is that with the stock KF OS? or did you put something else on? I've downloaded the app, but the icons I get are always small, even when I give it a big image. Do I have to buy their image crop app or another one of theirs to get mine to look as good as yours?

Mediatek K107 MT8752 - Can I change the current ROM ?

Hello all!
First of all, I need to point out that I am a newbie when it comes to Android modifications, but I work in IT, so I have a good general knowledge on how these things work. I say "general", because obviously, working in IT does not make me a professional in this in any way...far from it. I'm just saying so in case you guys can explain to me, or point me a guide I can follow to achieve what I'd like to do Also, English is not my first language, so I apologize in advance if my text is hard to read..
I ordered a cheap chinese tablet from Aliexpress, but I can't post links...so I can't show you. But it's an Octa Core MT8752, 10 inches (really 9.6 though )
For the price I paid, it really does the job, and I am very satisfied. However, I hate the interface. It's not a big deal, but it's annoying. The icons, for one, are ugly. I own a Nexus 7 (2012 model) and it does not look the same, even if they both run on 5.1 Lollipop. I know it sounds stupid, but it bothers me Plus, everytime it boots, I see the big, ugly, Mediatek logo pop-up before the Android one does.
I'm well aware it shouldn't really matter, but I'd like to change that. Is there a way I can flash this tablet with another rom? I was already successful rooting it with KingRoot. I was about to go on and see how to make a backup with MTK Android Tools.
All that rambling to say I'd like to change the look and feel of the tablet and get rid of some junk applications that came already installed on the tablet. Some of these applications were installed by me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The specs are as follows:
Also, it bothers me that it seems like the disk space was split in two partitions. Can I change this?
Now, I searched for a while, and I've come across what I believe may be the factory file for flashing, but I am really unsure...I wonder if these files will come with the same icons built in.
Does anyone have any experience with said tablet? I would just like to know what I can do to flash it with another rom, without screwing anything up. I'm really new at this, and I'm not even sure which guide I should follow.
Thank you for your time

[APP][4.1+][NO ROOT]DPI Changer

Sometimes you just don't like the size of the items on your screen. If you're lucky, your phone's software has its own DPI changer of sorts, where you can choose among a few different presets, but what if you want more options, or you aren't one of the lucky few with that feature?
Well, this app aims to fix that problem on any Android device running 4.1 or later. There are quite a few apps out there that change your DPI, but this one doesn't actually require root, even if you aren't running Nougat. You will have to reboot if you aren't rooted, but hey, that's better than being around a computer all the time to use ADB, right?
There are instructions in the app for the setup and usage.
IMPORTANT:
- I don't know if this will work on every device running Android 4.1+. I was able to test it on an emulator running 4.1, along with various LG and Samsung devices on Marshmallow and Nougat, but that obviously doesn't include everything. Send some feedback if it isn't working for you, and include your device + Android version.
- Non-root mode requires you to execute a one-time ADB command (unless you uninstall and reinstall the app). From then on, all you'll need is a reboot.
- Avoid setting the DPI below 72. I don't specifically know what happens, but I know Android tools prevent this from happening by default. I will build the limit into this app in a future update.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PLAY STORE:
LINK REMOVED
XDA LABS:
LINK REMOVED
SOURCE CODE:
LINK REMOVED
@ProGuy1 if you can use ADB to change your DPI, that's great! But some people don't know how or don't have constant access to a computer. I figured rebooting would be more convenient than finding a computer with ADB.
Also, devices on 4.3 and above no longer need to reboot, whether rooted or not.
@S. Loranca You can certainly translate it if you want. The source code is on GitHub. Look in `/res/values/strings.xml`.
delete
Thanks for making this! I saw the "Display Size" setting missing on my new Xiaomi phablet; a few apps I tried on the play store failed, but this app works perfectly.
For reasons you'll see soon, I'm removing this project from XDA and closing the thread. If you have the app right now, email me or PM me with any questions.

FRP locked SM-G930w8 ( disabled OEM unlock on custom ROM )

Hello all,
From what I can tell XDADevelopers is the best place to ask stupid questions - because I'm noticing with how much time I've spent on here trying to solve this problem that everyone here seems to be particularly helpful! However, I have spent way too much time trying to solve this myself, so this is my last ditch effort before I go and buy myself a new phone, haha. If anyone can get this phone working again for me I will PayPal, send some BTC, or eTransfer ( if you're in Canada ) for your time!
So here goes:
I installed an 8.0 Oreo Superman ROM ( I don't remember the exact one I flashed - IIRC it was this one but I'm not entirely sure, but it was working really well and I was extremely satisfied with how everything was working ). Now I did this a while ago and I've been extraordinarily busy lately so it's been a while, so forgive the lack of detail. I was trying to install some sort of application/feature through Magisk Manager and it wasn't working as expected so I did what in hindsight what I know now to be an incredibly stupid idea - which was to disable OEM Unlock and disable developer options and reboot hoping it would get whatever I was attempting to install working. Instead I was greeted immediately to the following bootloop upon starting the phone again:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
( here's a direct link just in case since the thread preview isn't showing the image for whatever reason: https://i.gyazo.com/1a8af44f100198c70ef9ebfc98fea374.jpg )
I'm unable to boot into TWRP and Odin/PC does not recognize the phone at all. I've tried on multiple computers, different cables, etc. My other Samsung S7 has no trouble being recognized by my PC & Odin as well as Samsung Kies, so I know it's not a driver issue. I only have the IMEI engraved on the back of the phone since I have long lost the box that had the SN on it, which might allow me to reset it through Kies as far as I understand. I am starting to think this is well beyond my capabilities to fix, or the phone could potentially be completely bricked. But again, that's why I'm here asking for advice.
I have tried my best to solve this on my own but I simply don't have time to keep working on this - so like I said, I'd be willing to pay to have someone attempt to come up with a fix for this issue or at least tell me I need to go and buy a new phone - though, ideally I'd prefer the former, haha. If the phone is toast, I was thinking of getting a lightly used Xiaomi Mi Mix 2 off Kijiji or Ebay or something - but if anyone has any recommendations for an alternative I am open to that as well, but I like the bezel-less design and the fingerprint reader, but ideally I'd like an OLED and wireless charging.
Anyways, hopefully someone on here has a solution or at least tell me with 100% confidence that I can safely toss this phone and I will keep my fingers crossed....
Thanks guys - any help would be greatly appreciated.

Categories

Resources