Modify .xml without root? - Google Pixel 4 XL Questions & Answers

I am trying to modify the google keyboard xml file to make the height bigger. Can I do this without root?
I have tried to do "adb pull /data/data/com.google.android.inputmethod.latin/shared_prefs/com.google.android.inputmethod.latin_preferences.xml" but I get a permission denied..
All I need to do it edit this one line and I dont want to root just for that.. <string name="keyboard_height_ratio">1.0</string

vwgti18 said:
I am trying to modify the google keyboard xml file to make the height bigger. Can I do this without root?
Click to expand...
Click to collapse
No, you need to be rooted to access that file.

vwgti18 said:
I am trying to modify the google keyboard xml file to make the height bigger. Can I do this without root?
I have tried to do "adb pull /data/data/com.google.android.inputmethod.latin/shared_prefs/com.google.android.inputmethod.latin_preferences.xml" but I get a permission denied..
All I need to do it edit this one line and I dont want to root just for that.. <string name="keyboard_height_ratio">1.0</string
Click to expand...
Click to collapse
Is this method still working ? i want to increase the size of the keyboard but i cant find that xml file :')

Related

[PATCH] Soundless HTC Tattoo Bootscreen

I have made a little file for the people who want a silent bootscreen on a stock rom
Updated the installer for more ease
http://peecee.dk/upload/view/251459
How to apply?
Interested! And how to apply your hack/patch to device? Please explain, coz i'm using device for only a couple of days.
there is an easier method, just in case...
u need root and then to extract bootloader file. open it with an text editor. then find the lines where u see "use audio 1", change 1 with 0 and then push back the file to replace the old one...
myzhLAN said:
Interested! And how to apply your hack/patch to device? Please explain, coz i'm using device for only a couple of days.
Click to expand...
Click to collapse
just use the "root 1 click "http://forum.xda-developers.com/showthread.php?t=644279
program first to get root and then do as it says in readme
Bikers said:
there is an easier method, just in case...
u need root and then to extract bootloader file. open it with an text editor. then find the lines where u see "use audio 1", change 1 with 0 and then push back the file to replace the old one...
Click to expand...
Click to collapse
this is for people that aren´t so familiar with extracting and pushing files
Silent boot
if u have rooted tattoo
just install root explorer goto system/media/bootscreen/ & delete boot.mp3
u just done
don't forget backup your file

Change System Fonts | Root Not Required | Updated New APK

Okay, so I'm working on modding the fonts app on the 2x (Settings|Display|Display font) to get some custom fonts in there. I can't believe the ones they included.
Update: APK for Root Users
If you're rooted then you can still use this method but you may also want to have a look at this thread.​In the meantime here's how you can add *any* TrueType font you want as a system font to the 2x. It's quite easy and doesn't require root.
First of all, the fonts available via the above menu are stored in '/system/app/Fonts.apk' which is quite a tricky app and they're cached to '/data/data/jungle.app.fonts/tmp/'. To replace a font all you need to do is swap out a font file in the cache directory with an alternative TrueType font. This is a work-around until I can mod the app and as a result you can not yet change the name of the font.
** DO NOT REPLACE DroidSans or Jungle Gothics **
To replace a font follow these instructions:
1. Decide on a font you do not want:
Love = SJlover.ttf
Playful = SJplayful.ttf
MyHeart = SJmyheart.ttf
Ballerina = TDballerina.ttf
Display = TDdisplay.ttf
2. Decide on a font you want to include:
You can use any TrueType font (*.ttf) from any Windows or Mac or any font web site. I use LuxiSans for my ROM for the Nexus One (Kang-o-rama) and think it also works great on the 2x.
3. Rename your chosen font to the one you want to replace:
For example, you would rename the font linked above from 'LuxiSans.ttf' to 'SJmyheart.ttf'. Note that this is case sensitive.
Use the list above to determine the correct file name.
4. Copy the new font over the old font:
This is not permanent, this is reversible.
Settings|Display|Display font -> DroidSans
Reboot
Use any file manager, explorer or ADB to copy your replacement font
ADB commands (example only, use your chosen font name!):
Code:
adb push [COLOR="blue"]SJmyheart.ttf[/COLOR] /sdcard/
adb shell
cp /sdcard/[COLOR="blue"]SJmyheart.ttf[/COLOR] /data/data/com.jungle.app.fonts/tmp/
reboot
5. Select new font:
Settings|Display|Display font
Font will display correctly but will have old name (until I mod the app)
*. To Revert:
Delete '/data/data/jungle.app.fonts/*'
Reboot
*. Remember:
Don't 'say' thanks, 'click' thanks...
This is great!
Can I use this to get a smaller system font that will fit more lines into menues and notifications?
Will it shrink that pesky oversize (personal opinion) watch font in the right corner?
Also, I read that this change also applies to the browser when rendering web pages, is this the case and can this lead to pages having misalligning in pages made for a specific font size?
atkhobby said:
This is great!
Can I use this to get a smaller system font that will fit more lines into menues and notifications?
Will it shrink that pesky oversize (personal opinion) watch font in the right corner?
Also, I read that this change also applies to the browser when rendering web pages, is this the case and can this lead to pages having misalligning in pages made for a specific font size?
Click to expand...
Click to collapse
Yes to all of the above.
I agree the clock is far too big. You can use a smaller font at this affects everything including the browser. Some fonts work better than others. You can always replace two or three of them with different fonts to try them out.
It doesn't however change the font pitch - so 20 is still 20, it doesn't change this down to say 18. This means that bigger text will still be bigger... but a little bit smaller if your font is smaller... understand?
The font I linked above is slightly smaller/finer than the stock ones and seem to work well.
New APK Available
I've published a new apk for root users for those that are interested.
See here: http://forum.xda-developers.com/showthread.php?t=994544
hi,where is this '/data/data/jungle.app.fonts/*' located?
i cant find it...im using the es file explorer..Not rooted..
this is my FIRST android phone
so pardon me..im trying to read much knowledge here..very huge forum..
coming from symbian..
dzel said:
hi,where is this '/data/data/jungle.app.fonts/*' located?
i cant find it...im using the es file explorer..Not rooted..
this is my FIRST android phone
so pardon me..im trying to read much knowledge here..very huge forum..
coming from symbian..
Click to expand...
Click to collapse
No problem.
I don't think ES File Explorer can see the data partition without root access and ES root mode does not work on LG O2x.
You will need to use adb or try another file manager from the market...
I'm getting "permission denied" when entering "su"... I'm not rooted, what am I doing wrong? Thanks
.:george:. said:
...what am I doing wrong?
Click to expand...
Click to collapse
.:george:. said:
...I'm not rooted...
Click to expand...
Click to collapse
^^^ That...
Ok than... what the hell is this? Change System Fonts | Root Not Required
lol, omg
.:george:. said:
Ok than... what the hell is this? Change System Fonts | Root Not Required
Click to expand...
Click to collapse
lol... that's quite amazing... you're 100% correct! Oh dear...
The instructions are wrong...
And you're the first person to even point it out...
Okay, you don't need that step, I'll edit the first post.
Sorry to you, I just read your post and didn't think about the thread it was in... duh, my fault there. I'm quite amazed that nobody else has reported this...
Thanks!
No harm done )
Anyway, still getting same error when trying to copy to /data/data/blahblah... ) Not really sure one can achieve this without root... ) Any ideas?
It can be done without root, /data is read/write... not sure what's going on sorry.

[Q] Editing cwm zip file

is it possible to edit cwm zip file so i can put my apps under system/app and may be edit build prop so i can change language, local, lcd density ...etc
niyazidk said:
is it possible to edit cwm zip file so i can put my apps under system/app and may be edit build prop so i can change language, local, lcd density ...etc
Click to expand...
Click to collapse
Yes it is if you know to make a cwm zip .or if you dont,download a cwm flashable mod and edit it for your work
Download 7 zip you can use it to edit files without unzipping. Use NotePad ++ to edit build.prop and pretty much anything else for that matter
Swyped From My Galaxy Note
niyazidk said:
is it possible to edit cwm zip file so i can put my apps under system/app and may be edit build prop so i can change language, local, lcd density ...etc
Click to expand...
Click to collapse
You can use 7-Zip to add or remove file from the cwm zip. You can also edit the script (text) file in it.
tknguyencsu said:
You can use 7-Zip to add or remove file from the cwm zip. You can also edit the script (text) file in it.
Click to expand...
Click to collapse
Thanks for help. I can add apps and they are installed but they cant run...
niyazidk said:
Thanks for help. I can add apps and they are installed but they cant run...
Click to expand...
Click to collapse
Did you set them correct permission??Upload your zip if you can.I'll check it and see if I can help
niyazidk said:
Thanks for help. I can add apps and they are installed but they cant run...
Click to expand...
Click to collapse
Remember some of the apps have the associate library files. You need to load these files into the system/lib folder before the apps can run.
Auto install
vijai2011 said:
Did you set them correct permission??Upload your zip if you can.I'll check it and see if I can help
Click to expand...
Click to collapse
tknguyencsu said:
Remember some of the apps have the associate library files. You need to load these files into the system/lib folder before the apps can run.
Click to expand...
Click to collapse
Actually, i have to read about creating a cwm zip file. After that, i can maybe be able to make a zip to install whatever i have.
Thanks for your help...
(It was a bit easer in winmo times. You could just make a new folder with your cab files and after rom installation they could be installed)

how to change Navigation Bar dpi?

I Edit the framework-res.apk\res\values\dimens.xml but it has keep rebooting
a546109781 said:
I Edit the framework-res.apk\res\values\dimens.xml but it has keep rebooting
Click to expand...
Click to collapse
go here:
http://forum.xda-developers.com/showthread.php?p=40214768
it required the installation of Exposed framework first:
only root needed, works for locked odexed deviced, no need for cwm.
works for my device with stock 244.
No need of exposed framework.. just push the following apk to /system/vendor/overlay/ folder
I have used 28 dp, but decompile that and change to whatever you want
shardul_seth said:
No need of exposed framework.. just push the following apk to /system/vendor/overlay/ folder
I have used 28 dp, but decompile that and change to whatever you want
Click to expand...
Click to collapse
YES,
This was the best method ever thanks no need to deodexed and no need to touch framework-res.apk
sijav said:
YES,
This was the best method ever thanks no need to deodexed and no need to touch framework-res.apk
Click to expand...
Click to collapse
happy it worked, though i don't see the problem with xposed, it doesn't ruin anything and you can add new mods when they come up easely with no need to flash anything.

Can't edit cred.conf file on Galaxy S5

I am getting permission issues when trying to edit this file. It is located in /system/etc/wifi/ What is the best way to make changes to this file?
thanks
WiFivomFranMan said:
I am getting permission issues when trying to edit this file. It is located in /system/etc/wifi/ What is the best way to make changes to this file?
thanks
Click to expand...
Click to collapse
More than likely need root access, which is not yet available for ATT GS5.
WiFivomFranMan said:
I am getting permission issues when trying to edit this file. It is located in /system/etc/wifi/ What is the best way to make changes to this file?
thanks
Click to expand...
Click to collapse
You need to su to root before you can make changes there(If I remember correctly this is true for everything in system. You may also have to be in a certain SELinux role as well I'm not sure since we don't have root.

Categories

Resources