[DEV] Disable OTAs, Change Default Launcher Config - Sprint LG G3

Couple questions if there are any knowledgeable devs roaming through here...
1. Is there any single reliable way to disable OTAs while rooted, other than disabling LGDMSClient.apk?
2. I know on Samsungs, you're able to change the default stock launcher layout, as it pertains to apps. IE., you can change which apps show on the home screen by default after a factory reset. Looking to do the same here. On Samsungs, it's an xml - was looking through everything on the G3 but couldn't find it. I can edit the current layout in a .db in /data, but looking to edit the factory default that loads after a reset.
I'm sure it would be an easy question for a ROM dev to answer, as they obviously have to decide which apps they want displayed on the home screen after a fresh install or wipe..
TIA.

Related

Remove default widgets!

Hi guys,
I am trying to create an update.zip, with stuffs from TheManii's 408 deodexed package. Since I decided that my phone won't contain any useless stock app, I decided to remove GoogleQuickSearch.apk, also use ADWLauncher as my default desktop replacement.
The problem is, my update.zip can be flashed successfully using CWM, but ADW reports "Problem loading widget" in its default screen, since GoogleQuickSearch is not there.
Could you please let me know how to adjust default ROM widget settings (e.g. I guess that there should be some settings some where that helps me removing GoogleQuickSearch from launcher by default).
--
Chacona
cái rom đấy tác giả xóa widget mặc đinh đi rồi hay sao ấy
Remove the broken widget and manually place a new one, this isnt specific to any launcher.
Any time it tries to load a widget that's not there/frozen you might have to place a fresh one if it doesnt fix itself when it should otherwise.
TheManii,
Yes, I know that the issue is not specific for any launcher. What I meant was, I do not want QuickSearch, so how to get rid of the error message when I remove it?
Is there any place in the ROM I could edit (e.g. a configuration file) so that Venue/ROM/launcher realizes that I do not want the widget to be loaded?
It should be possible, but also keep in mind that there's no hard, standardized layout for their config files. Each launcher could store the widget settings in their own manner and there's many different launchers.
Perhaps you should consider asking your launcher maker to add a setting to automatically remove uninstalled widgets, but from a user perspective your only real choice is to manually remove them.

[Q] Phone stuck with an error message at boot

Hi all,
I've sort of bricked my new razr this morining after a reboot...
after reading the thread about trebuchet, I saw that it is adviced to put it in the system folder of the ROM. I then did the same with my current launcher to improve the speed of it (I don't know at all if this is a good solution but I wanted to test anyway).
Problem now is that my launcher force close at phone boot with a basic message saying that the launcher has stopped and a single 'ok' button. when I press 'ok' the same message appear again after a few milli seconds and does not allow me to launch any task.
Then I guess that the only solution for me is to re-upload my ROM (Motorola Razr latest OTA) and that this will suppress my launcher in the system folder but I wanted to share this experience because maybe someone could know a good solution.
Thanks for your help!
Can you go into system settings before boot and just change the launcher? Possible like this
go home, menu, settings, applications, manage applications, running, scroll down to find ADW launcher, open, scroll down and click clear defaults. then when you go home, it should give you a choice to pick your desired launcher. Be sure to check the box on the bottom of the choice box to set your default launcher to your desired choice.
Actually, the launcher started to crash before the system gave me the hand and allowed me to do anything. No way to perform any action with the phone (not any action, nothing was possible under the ROM itself)
Then I finally found some time to get my computer and re-upload the official ICS OTA ROM of the Razr. It had done basically 2 things (and one was the one I was expecting or hoping): lose the root (obviously) and lose the settings of the 2 apps I putted under the phone /system folder.
After that I removed the 2 apps that were installed on /system and changed my default launcher to stay safe :fingers-crossed: (done today, that's why I came back to the thread now)
Everything is ok now.
BTW, I discovered that in the worst case, it is possible to do a full wipe / factory reset under the official / native Razr recovery, and even better, it is possible to install a ROM under this recovery.
Everything is under control at the end.
Thanks for your answer!

Xposed Framework DPI Ajustment (Hyperdrive ROM)

I have found a good work around for those of you who may enjoy more usable space on your screen. With the screen the S4 comes with it only makes sense to use it. Only follow these steps after you are running on Hyperdrive ROM successfully (I am guessing this will work with other roms as long as Xposed Framework can be installed).
Background Work (no major changes yet)
1) Open the app Hyperdrive Control
2) Navigate Custom Settings > Advanced Mods > Framework Installer
3) Click Install/Update
4) Select the tab 'modules' from the top
5) Check all the boxes you see (I had 3)
4) Click Reboot
Let's get started
1) Reopen Hyperdrive Control
2) Navigate Custom Settings > Advanced Mods > Per App DPI Settings
3) Select Google Keyboard
4) Turn the switch to ON
5) Enter 160 for DPI, 100 for Font and check the box labeled 'xlarge res'
6) Click save and click yes.
7) Repeat steps 4-6 with the apps Swype and Samsung Keyboard
8) Make sure you followed the above steps then continue
9) Now find an app called Android System from the list and select it.
10) Enter 280 and don't change anything else (I don't know what you would be doing so I stayed away)
11) Click save and click NO.
12) Restart and enjoy.
I went back and changed System UI to 340 as I didn't like how small the notification bar became. Also recommending ExDialer as the stock keypad won't 'stretch' and lastly as a must, look into a good launcher. I am using NOVA Prime.
If you want to undo changes you can simply turn everything 'Off' and click Save and No. Then restart.
Hopefully this helps some!
If I am missing anything or if anyone wants to add more detail let me know! Side note: random but AOSP helper was installed on my device also allowing easy toggle from 3G to 4G with JuiceDefender...
Colton
Mods can you list this as a [HOWTO]... sorry left that out.
awesome.. .thank you!
OMG thank you for this, i has given up on how to do anything on it. I did not know how to use Xposed frameworks, this is what i needed, than you very much:good:
Has anyone tried changing the overall system DPI and then changing just the misbehaving Samsung applications back to stock (i.e., Contacts/Dialer, Camera)? I pretty much manually set all of my apps to between 320 and 340, but the Notification dropdown is way too big. (Email and Gmail both at 320 in order to become usable).
This made my launcher grid super tiny and the keyboard is unusable it is so small. I can imagine how some slight DPI adjustment could be good, but this is aweful!
that being said, I will use this method to adjust things how I would like them.
I'm glad it worked well for you guys but both of those changes made things worse for me. I put it back on stock and am very happy with it.
I'm running 320 DPI in my build prop. To fix the dialer I went into the per app DPI and changed the contacts app and phone app to stock 480 DPI and also the calculator app as well. They all run just like stock now no problems at all
Forgot to mention gallery as well
Sent from my SCH-I545 using xda premium
im using 360 in my build.prop. and have had no problems. only thing i had to fix was my market. which i used this market found here
http://forum.xda-developers.com/showthread.php?t=1839871
using the correct version of the one in my current rom(hyperdrive). Dont ask me why this works. But someone else said they tried it and it worked. so i did and it worked. Sometimes ive noticed it will all the sudden on reboot, change to a different version of the market. But that has only happened a couple of times. and usually it didnt matter(most apps still showed up like normal). But i dont know that this will work the same way for everyone since it seems to be a semi flakey method.
It works fine in HyperDrive RLS 4. Don't try to change the build.prop for the first boot, though. Let it boot once, then change it. Let's just say that the results were a hung device first.
I added clock back to 480 because there are issues with it.. The year view in Calendar is a bit off, but that's the only screen that doesn't work right... The Market works fine at this resolution (360). This is much easier than what I was doing before...
Now Touchwiz can be somewhat usable as it isn't huge gigantic text everywhere (even on the Tiny selection in Screen)
My system ui keeps crashing whenever I change anything related to Android System. Followed the directions but no luck so far.
kcellb said:
My system ui keeps crashing whenever I change anything related to Android System. Followed the directions but no luck so far.
Click to expand...
Click to collapse
That's why I just went the other way around and changed build.prop then made things larger as needed. Less problems this way...
jeffreycentex said:
That's why I just went the other way around and changed build.prop then made things larger as needed. Less problems this way...
Click to expand...
Click to collapse
I will be the first to admit that I am not an expert at this in anyway. This is just how I got it to work...
You said Hyperdrive Build 4 is working for you? I flashed it and have had nothing but troubles so far. It always hangs at SAMSUNG Custom boot screen... I have tried everything and now once I went back to my Nandroid of 3.1 it boots up with no issue, Then I go to reboot through the power menu and it hangs on that screen again.
Colton
PS I guess an easier approach also to allow most programs to stay stock would be to allow the android system to stay stock and just change what you need like the launcher...
I had the same problem about system ui... make sure you are pressing NO to the option it gives you and then reboot. I also had some DPIs that the phone just didn't like (240)... everything kept fc'ing...
colton22 said:
I will be the first to admit that I am not an expert at this in anyway. This is just how I got it to work...
You said Hyperdrive Build 4 is working for you? I flashed it and have had nothing but troubles so far. It always hangs at SAMSUNG Custom boot screen... I have tried everything and now once I went back to my Nandroid of 3.1 it boots up with no issue, Then I go to reboot through the power menu and it hangs on that screen again.
Colton
PS I guess an easier approach also to allow most programs to stay stock would be to allow the android system to stay stock and just change what you need like the launcher...
I had the same problem about system ui... make sure you are pressing NO to the option it gives you and then reboot. I also had some DPIs that the phone just didn't like (240)... everything kept fc'ing...
Click to expand...
Click to collapse
I had problems with the first two downloads. Then I was able to get one to work early this morning... Also note that it is supposed to be a wipe'd flash, so make sure you do the format data/cache 3 times, then format system... I generally do a flash of the rom first to make sure that there aren't problems, though, before I format system...
I only use 320, 360, and 480's as DPI's on the S4.
Your approach is the way I used to do, but I wanted everything smaller, so every time I installed a program, I changed it to 320/360.. But then I wanted 320/360 to be the overall and only make exceptions for the things that demand stock DPI.
Understood - I didnt wipe to flash as i never did before without an issue. I am downloading stock ODIN now as something is up with my data partition...? It hangs on every second+ boot from restore/install and will not even boot off an install. I will go to stock odin, root, recovery and then install. Also downloading a fresh copy of Hyperdrive RLS4... Thank you for the tips.
C22
Found a better way!
Okay so I am now on RLS 10.2.0...
Download some type of Root file manager... I paid for/use Root Explorer love it.
Navigate to /system and long press build.prop
Find the line that contains screen density =480 and change it to your desired DPI (I am using 280)
From there all apps/everything is changed to that dpi... some stock apps you will have to use xposed to change them back to 480 just to make it work because they show different resolutions horribly.
I followed these steps...
http://forum.xda-developers.com/showthread.php?t=2269483
works great! Enjoy.. Also on the Multi DPI stock app post, the only one that works with the Verizion phone is the Gallery S4 v2.zip file... The others I am trying to work with the dev on getting up and running for our phones.
Colton22
deleted
Thanks

[Q] Custom factory reset

I feel like this is a very basic question but I'm going to ask anyway, just want to make sure its the right direction before proceeding/researching and perhaps it would help others who may be looking to do the same. Hopefully I am posting in the right area, as this question should apply to any android based device.
I want to make a custom factory reset so when I factory reset my phone, it would revert back to almost factory settings, except with a few alterations. For example: some extra apps (maybe settings within those apps already selected), certain android settings already selected (developer tools, unknown sources etc), superuser with permissions already granted for certain apps, basically things beyond the scope of just pre-installed apps.
I understand the phone would need to be rooted, I would want to keep the original rom with the above mentioned changes. Of course I can always make a backup and simply load it, but I want to know if it can be done through factory reset. I only have experience rooting and loading custom roms (on many devices , I've always done so since droid 1) but I have never made a custom rom, which from my understanding, is what I need to do to for something like this.
Basically if you guys can tell me if I am in the right direction, completely off track and where should I go from here to make it happen.
Thanks!
Bump
No help?

[Q] Tab S3 hardware navigation - change function?

tl;dr
Is there a way to change what they do without a custom ROM?
I hate Samsung for deciding to go against virtually every other Android manufacturer and changing the order of the "Back" and "Apps" buttons but it isn't a problem on my S4 as they let you change the button order. On my mother's S3 it is a problem and given she has a few dexterity problems I want them to be familiar. I'm aware I can get apps to mimic software buttons on screen but I'm also guessing that custom ROMs can change what the hardware buttons do. A few questions come to mind.
1. Can it be done without rooting?
2. Can it be done without wiping the tablet?
I'm reluctant to go the custom ROM route as it otherwise works fine and she loves it plus it's a recent purchase so still under seller's warranty but I'd like to know for future reference. I did search and all I can find online is talk of using an app to mimic software buttons. Thanks for any help offered.
2 (not so) simple answers to 2 very simple questions:
1: Without rooting you cannot install a custom ROM anyway. You might try to install apps that put another software navigation bar on top of the hardware ones (similar to what you've mentioned). If you do want to root tho-
2: It will wipe the entire internal storage and all data. So if you did try to root, you must backup your internal storage on a laptop (what I do is just copy the entire internal storage from the tab to a laptop and then use SmartSwitch to backup the rest of the stuff).
FYI all the custom ROMs (except the Tweaked stock ROM by rorymc928) for the T820 are trash and are very buggy so don't try them. So reply if you have the courage of rooting your device and I'll post the steps.
Oh last thing please tell your android version and if it is T820 or T825.
I think you should go to /system/usr/keylayout
And find a file that contains
BACK
HOME
MENU
features
And then reace the functions of the keys
(Sorry for bad explanation)
This require root so try one click root but towelroot will be better because it isnt virus
(Once you have done it you can unroot but dont reinstall a rom)
all one click root is a virus exept for towelroot
[HowTo] Configure the WALKMAN Button
Hi everyone. I couldn't find any tutorial for this, though this is the easiest one to do so. You can edit this button to other app, or completely disable it. Go to /system/usr/keylayout/gpio-keys.kl and find the file, and open it with any text...
forum.xda-developers.com
Just read this article (it works for any button any phone expect for iphone. Pinephone, librem 5)
You should find
qemu.hw.mainkeys=1 on the build.prop
You should change 0 to 1 or delete the whole line
P.C you should reboot your device twice to see if it actually works

Categories

Resources