hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
richmondo said:
hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
Click to expand...
Click to collapse
Some things can be changed in /system/build.prop
Others in the init.rc and init.devicenamehere.rc, which are in the ramdisk. And some ROMs do have a init.d/*, but that's not standard AOSP.
Are you trying to change a running ROM or customize one for flashing?
For flashing a new own customized rom, how we can made roms, have ap2sd??? ( should we add anything special??
How can we add some new languages to rom..??
I need to add Arabic - persian just for supporting the characters but when I ad fonts to rom, it just shows them disconnected.. how can I fix this..??
.
RichmondoUK said:
hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
Click to expand...
Click to collapse
<bool name="def_enable_mobile_data">true</bool> change <bool name="def_enable_mobile_data">false</bool> Data transfer is disabled by default.
<bool name="def_install_non_market_apps">false</bool> change <bool name="def_install_non_market_apps">true</bool> Checkbox Unknown sources in Settings \ Security will be marked for easy installation of necessary software.
Lol thanks but this is basic now compared to what i do now as currently work on the xtended settings app.
Hi guys,
Since J001 I have used as lcd density 210 instead of 240. Now I have flashed J003 and forgot to change the lcd densitiy in the build.prop before flashing and recognized how much better the rom looks with 210, so I thought I should tell it to you.
J said anywhere that this lcd density will break some apps, but I weren't able to find any app that will be broken by using this lcd density instead of the normal one. So, could you try it please and report it back if you find any app that won't work/work right with this lcd density?
I'M NOT RESPONSIBLE IF YOU BREAK YOUR DEVICE OR DROP YOUR COFFE
Files:
Edited Build Prop Cm7.1 J002.zip
Edited Build Prop Cm7.1 J003.zip
back to original.zip
Cheers,
L
I don't know if it can be considered an app..but Arc launcher doesn't support different lcd density!!
is creating a new thread for this actually required?
in my opinion why dont u integrate all ur CM7 related threads into one "CM7 fixes / tweaks /etc" kinda thread? u can ask the mods for some help the can do such combining-thread-stuff...
it would be really helpful...
also there is an easier/more generic way to do this change in ANY build.prop:
just run this script (include it in update.zip) thru recovery:
Code:
#!/sbin/sh
# modify ro.sf.lcd_density=240
busybox sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop
# modify qemu.sf.lcd_density=240
busybox sed -i 's/qemu.sf.lcd_density=240/qemu.sf.lcd_density=210/g' /system/build.prop
DooMLoRD said:
is creating a new thread for this actually required?
in my opinion why dont u integrate all ur CM7 related threads into one "CM7 fixes / tweaks /etc" kinda thread? u can ask the mods for some help the can do such combining-thread-stuff...
it would be really helpful...
also there is an easier/more generic way to do this change in ANY build.prop:
just run this script (include it in update.zip) thru recovery:
Code:
#!/sbin/sh
# modify ro.sf.lcd_density=240
busybox sed -i 's/ro.sf.lcd_density=240/ro.sf.lcd_density=210/g' /system/build.prop
# modify qemu.sf.lcd_density=240
busybox sed -i 's/qemu.sf.lcd_density=240/qemu.sf.lcd_density=210/g' /system/build.prop
Click to expand...
Click to collapse
simply copy your code into the updat-script?
9Lukas5 said:
simply copy your code into the updat-script?
Click to expand...
Click to collapse
no...
u will have to make a file (say "install_mod") in the root of the update.zip
and the update-script should be something like:
Code:
run_program PACKAGE:install_mod
now the contents of "install_mod" should be the ones i posted above...
u might have to also mount system before executing the script...
also do test it out... i am really tired today to sit and make these zips
will go to sleep now [not "deep sleep" ]
Delete
Sent from my X10 using XDA Premium App
hi, i hope i understand it right, with broken apps did you mean they didnt fit the screen?
i change always on any custom roms the lcd.density to 190, then some apps didnt fit the screen (some games or widgets)
to fix is easy with spare.parts
-open spare.parts
-navigate to spare.parts settings
-scroll down to compatibility mode
-uncheck and check again
-reboot
-after reboot
-again open spare.parts
-navigate to compatibility mode
-uncheck
-reboot
after that the apps they didnt fit the screen, works now fine
only problem is with stock dialer, numberfield is smaller, or arc launcher will not work with this trick
edit: here are example pictures(lcd 190), before and after the trick with spare.parts
you know you could just use the lcd density changer app...;o
Zocker Tko said:
hi, i hope i understand it right, with broken apps did you mean they didnt fit the screen?
i change always on any custom roms the lcd.density to 190, then some apps didnt fit the screen (some games or widgets)
to fix is easy with spare.parts
-open spare.parts
-navigate to spare.parts settings
-scroll down to compatibility mode
-uncheck and check again
-reboot
-after reboot
-again open spare.parts
-navigate to compatibility mode
-uncheck
-reboot
after that the apps they didnt fit the screen, works now fine
only problem is with stock dialer, numberfield is smaller, or arc launcher will not work with this trick
edit: here are example pictures(lcd 190), before and after the trick with spare.parts
Click to expand...
Click to collapse
Works fine, thanks.
Sent from my X10a using XDA App
I've been using 220 since CM6 first was released and I can't find any apps that don't work either
I had problem with compatibile density in my phone (HTC DHD), I use IceColdSandwich - 7.4 - AOKP and I change the density from 240 to 190, then I get issue with download app form Google Play/ Android market, soo I've read many helps forum to fix it!
So now I want to help You:
What You need:
LCD Density Modder Pro works excelent!
(in download section)
in option of program:
- set the LCD Density to Your favourite
- click - 'Fix Market Compatibilty Issues'
OPTION 1
Read this, If You don't know what You do:
- go to 'Temp Fix' bookmark:
- 'Clear Market Data'
- Choose the DPI value to cheat the market/google store
- click 'Temp'
- reboot
- check in google play that can You already download the apk, which one You can't download before
OPTION 2
Do this if You know what You do and known the risk
- in 'Permanent Mod'
- look on option '2' and change the DPI value to lower than You have (example, I have 190 DPI, so I changed it to MDPI-160)
- use option '3' Download Modded Play Store
- use option '4', Download Modded GSF
- reboot & enjoy
Other option
FIX only for ISC
Download the pack GPlay-DPI-Fix-3519.zip and flash it by 4EXT or CWM.
It's a googlePlay app, but it's moddified for all density.
I'm not responsibble for damage or crash
No longer a solution
zomer331 said:
I had problem with compatibile density in my phone (HTC DHD), I use IceColdSandwich - 7.4 - AOKP and I change the density from 240 to 190, then I get issue with download app form Google Play/ Android market, soo I've read many helps forum to fix it!
So now I want to help You:
What You need:
LCD Density Modder Pro works excelent!
for example:
Download the program from somewhere (4shared or else)
in option of program:
- set the LCD Density to Your favourite
- click - 'Fix Market Compatibilty Issues'
OPTION 1
Read this, If You don't know what You do:
- go to 'Temp Fix' bookmark:
- 'Clear Market Data'
- Choose the DPI value to cheat the market/google store
- click 'Temp'
- reboot
- check in google play that can You already download the apk, which one You can't download before
OPTION 2
Do this if You know what You do and known the risk
- in 'Permanent Mod'
- look on option '2' and change the DPI value to lower than You have (example, I have 190 DPI, so I changed it to MDPI-160)
- use option '3' Download Modded Play Store
- use option '4', Download Modded GSF
- reboot & enjoy
I'm not responsibble for damage or crash
Click to expand...
Click to collapse
This app is no longer a solution as they BirdAPI has not updated their modded PLAY app post version 3.15 in March 2012. Current Google PLAY version is 3.19 hence modded app doesn't work anymore.
The developer doesn't respond to emails anymore.
uploaded
As we All know LeWa OS has a issue of wierd icons & incorrent sizes of icons!
You can resize the whole UI of your android easily using these easy steps!
Changing the DPI value of your android device will solve the issue!This MOD will also change the resolution of icons/status bar/menu/app drawer/homescreen/all other apps!
So here we go ~DPI Fix for LeWa/MIUI/CyanogenMod/AOSP/Stock/AOKP/Any ROM/ANY DEVICE!!!
Storngly Recommended for Custom ROMs only!.
1. At first root your device!.
2. Install Root Explorer/Root Browser/ES File Explorer! (Any file explorer that opens /system partition).
3. Open Root Explorer and go to system!.
4. Hold build.prop and a menu shall appear!.
5. Click Copy and Paste in your Memory Card/Any Place Safe! (for backup issues only).
6.Go Back to system and Hold build.prop!.
7.Click on "Open in text editor" and scroll down!.
8.On the end of the lines, create a new line!
9.type~ ro.sf.lcd_density=190 (190 is the value of your new display DPI! so you can change the DPI as you want! default is 210)
10. Save & Exit
11. Reboot your Device. Now see the changes!
Thanks For Reading
Idea generated by :
Xtreme Ornob
Tested by :
Sadia Afrin Rumu
Oxygen OS is a great ROM in my opinion. But I missed some things, which are quite common in AOSP ROMs.
Therefore I searched solutions for getting a better user experience, which I wanted to share with you now.
UPDATE: Another great idea to improve Oxygen OS is a ROM based on Oxygen OS with some modifications, it's called FreedomOS by @NevaX1. It's already available for the OnePlus 3, but will be ported to OnePlus 2 as well. Tests should begin soon. Keep an eye on this thread: [TEST] FreedomOS, need tester for OnePlus2
UPDATE: I don't use Oxygen OS anymore, but will keep on maintaining this thread. If you have an addition or found a mistake, let me know. Thanks.
Most things can be done with the Xposed framework so first get this running:
Oxygen 2.2.1 (last update: 04 Jun 2016, therefore outdated, won't be supported anymore)
Get root access and install a custom recovery - lots of guides available, check the device index thread
Download Xposed framework - file name is similar to xposed-vXX-sdk22-arm64.zip¹ currently xposed-v85-sdk22-arm64.zip (working with Oxygen OS 2.2.1)
Download Xposed installer - file name is currently XposedInstaller_3.0_alpha4.apk
Boot into recovery and make a backup first, then flash the Xposed framework ZIP file.
Reboot and install the Xposed installer APK file.
¹XX is the Xposed version, SDK 22 is for Android 5.1 API, ARM64 for our 64 bit SoC from Qualcomm
Oxygen 3.0.x
Get root access and install a custom recovery - lots of guides available, check the device index thread
Download Xposed framework - file name is similar to xposed-vXX-sdk23-arm64.zip¹ currently xposed-v86-sdk23-arm64.zip (working with Oxygen OS 3.0.x)
Download Xposed installer - file name is currently XposedInstaller_3.0_alpha4.apk
Boot into recovery and make a backup first, then flash the Xposed framework ZIP file.
Reboot and install the Xposed installer APK file.
¹XX is the Xposed version, SDK 23 is for Android 6.0 API, ARM64 for our 64 bit SoC from Qualcomm
Want more details? Check the thread [GUIDE] Installing Xposed Framework on Stock ROM after ROOT for Oneplus 2 by @thebuginyou
Audio Tuner working with Google Play Music
Audio Tuner doesn't work with Google Play Music out of the box, let's make it work
Solution: Disable "Ok Google" detection from any screen
Open the Google app -> Settings -> Voice -> "Ok Google" detection -> disable "From any screen" -> re-open Google Play Music
Battery percentage indicator OOS 2.x legacy, available since OOS 3
Brings the battery percentage text into the battery circle icon
Solution: GravityBox [LP]
Statusbar tweaks -> Battery settings -> Battery indicator style -> Stock battery with percentage
Data traffic monitor
Indicates incoming/outgoing traffic speed in the status bar
Solution: GravityBox [LP]
Statusbar tweaks -> Data traffic monitor
Disable camera shutter sound
Disables the camera shutter sound for all camera apps, including Google Camera
Solution: Any file manager with root access should do, I use Amaze File Manager (Google Play) (go to settings and activate Root Explorer)
Open your file manager and go to /system/media/audio/ui
Rename the file camera_click.ogg into camera_click.ogg.bak (don't delete it)
Done. Enjoy silence while shooting pictures.
Disable vibration
Disabling any vibration including device unlocking with fingerprint sensor
Solution: Vibration Tuner
Set the Global Vibration Strength to 0%, don't want a vibration anywhere
DPI changes
Lowering the DPI settings to get a size reduced UI, results in "more space"
Solution: Any file manager with root access should do, I use Amaze File Manager (go to settings and activate Root Explorer)
Open your file manager and go to /system
Open the file build.prop and add "ro.sf.lcd_density=380" (without quotation marks), where 380 is my settings, others are happy with 400 or 420
Save the file and reboot.
Double tap to sleep (DT2S)
Double tap on status bar switches off the screen/sends your OP2 into sleep
Solution: GravityBox [LP]
Statusbar tweaks -> Statusbar tweaks -> Disable peek (requirement)
Statusbar tweaks -> Statusbar tweaks -> Double-tap to sleep
Expandable volume panel
Expandable volume panel
Solution: GravityBox [LP]
Media tweaks -> Expandable volume panel
Power menu
Add more features to the power menu
Solution: GravityBox [LP]
Power tweaks -> Advanced reboot menu
Power tweaks -> Require reboot confirm
Power tweaks -> Screenshot in power menu
Reboot options
(Soft) Reboot (to recovery/bootloader) or shutdown without even using the power button
Solution: Simple Reboot (Google Play)
Just start the app...
RRO Layer customization
Customize the UI of your device and apps with famous RRO Layer themes
Solution: Layers Manager (Google Play)
Check Discussion for RRO Layers, see also "Bootanimations, Themes, Wallpapers" section in device index for more themes
Note: This is not working with every layer theme, sometimes it only works partially (for example Settings worked, SystemUI not in my case). Fixing bootloops caused by a incompatible/bad layer from TWRP.
Step 1: Go to Advanced.
Step 2: Go to file manager.
Step 3: Go to /system/vendor/overlay/ and remove the bad overlay apk.
Volume key skip track
Skips track while screen is off
Solution: GravityBox [LP]
Media tweaks -> Volume key skip track
Volume steps
Add more volume steps for a better volume scaling
Solution: GravityBox [LP]
Media tweaks -> More music volume steps (30 in my case)
Jan 6, 2016: How To: OxygenOS Tips and Tricks by OnePlus
If you have more ideas how to improve Oxygen OS, please share it within this thread. I'll very likely try out your ideas and probably include it to the OP.
Changelog
Code:
[B]31 Jul 2016[/B]
Added a hint about [URL="http://forum.xda-developers.com/oneplus-2/general/test-freedomos-tester-oneplus2-t3426552"]FreedomOS[/URL]
[B]17 Jul 2016[/B]
Updated to the latest Xposed version (v86)
Dropped support for Oxygen OS 2.x (Android 5.1 Lollipop)
[B]04 Jun 2016[/B]
Updated to the latest Xposed version (v85)
Updated to match with Oxygen OS 3.0.1 Community Build (still supporting 2.2.1)
[B]22 May 2016[/B]
Updated to the latest Xposed version (v84)
[B]01 May 2016[/B]
[URL="http://forum.xda-developers.com/showpost.php?p=66617418&postcount=18"]Battery percentage indicator available in OOS 3.0 Beta[/URL] (thanks [user=6493313]@Skick3[/user])
[B]30 Apr 2016[/B]
Updated to the latest Xposed version (v83)
[B]23 Apr 2016[/B]
Updated to the latest Xposed version (v82)
Added a video from OnePlus
[B]15 Apr 2016[/B]
Updated to the latest Xposed version (v81)
[B]02 Apr 2016[/B]
Updated to match with Oxygen OS 3.0 Beta (still supporting 2.2.1)
[B]06 Mar 2016[/B]
Updated to match with Oxygen OS 2.2.1
[B]03 Feb 2016[/B]
Updated to the latest Xposed version
[B]22 Jan 2016[/B]
Added Audio Tuner working with Google Play Music
[B]09 Jan 2016[/B]
Added RRO Layer theming
[B]23 Dec 2015[/B]
Updated to match with Oxygen OS 2.2.0
Added DPI settings
[B]19 Dec 2015[/B]
Added double tap to sleep (DT2S)
Added disable camera shutter sound
[B]13 Dec 2015[/B]
[STRIKE]Power tweaks -> Disable power menu on lockscreen[/STRIKE] (doesn't work with Oxygen OS, thanks [user=4077606]@frosty5689[/user])
[STRIKE]Power tweaks -> Screen record in power menu[/STRIKE] (doesnt' work with Oxygen OS, thanks [user=5849960]@Mehul.S[/user])
Gravitybox disable powermenu in lockscreen doesn't work with OOS
Any kernel recommendations to improve battery life?
Xposed Modules that mimic the Marshmallow volume controls (shows volume bar with dropdown arrow showing media, alarm, notification volumes)?
Power tweaks -> Screen record in power menu
doesn't work with OOS
Definitely I'm missing the smoothness of aosp...
Any suggestions beside using boeffla kernel and settings
CPU-govenor: performance
GPU-govenor: performance
Scheduler: fiops
Read - ahead: 2048
???
vergilbt said:
Definitely I'm missing the smoothness of aosp...
Any suggestions beside using boeffla kernel and settings
CPU-govenor: performance
GPU-govenor: performance
Scheduler: fiops
Read - ahead: 2048
???
Click to expand...
Click to collapse
Setting to such is insane as you'll wreck battery life surely by locking it to max frequency at all time
Sent from my ONE A2003 using Tapatalk
i want only fp vibration to stop. not globally. any solution ??
Thanks for this usefull guide
Oh also, i would suggest using the advanced reboot menu in developer options builtin from OOS. That one uses whatever customkzation color set and not the default text color. It also has confirmation.
override182 said:
Setting to such is insane as you'll wreck battery life surely by locking it to max frequency at all time
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
I know about max frequency but I'm able to reach more than 4 hour dot every time ... And that's enough for me
vergilbt said:
I know about max frequency but I'm able to reach more than 4 hour dot every time ... And that's enough for me
Click to expand...
Click to collapse
Saw the screenshot. It seems that those settings does fit your daily usage style. I can't get more than 2hrs with that as I have several chat apps with some always syncing. Sorry for doubting your call earlier.
Sent from my ONE A2003 using Tapatalk
So do you have a working settings for boeffla?
For some reason, I can't change my DPI anymore since 2.2.1. Previously I used the app "Le DPI Changer" with the build.prop change and it worked fine for months and multiple oxygen OS versions. But now even when I manually add the LCD Density line, it doesn't work correctly. Swiftkey and some icons are broken.
KodamaBE said:
For some reason, I can't change my DPI anymore since 2.2.1. Previously I used the app "Le DPI Changer" with the build.prop change and it worked fine for months and multiple oxygen OS versions. But now even when I manually add the LCD Density line, it doesn't work correctly. Swiftkey and some icons are broken.
Click to expand...
Click to collapse
Check if this line is included in build.prop only once with a valid value. I updated from 2.2.0 to 2.2.1 as usual, rooted/xposed and also set DPI as usual.
DPI changes
Lowering the DPI settings to get a size reduced UI, results in "more space"
Solution: Any file manager with root access should do, I use Amaze File Manager (go to settings and activate Root Explorer)
Open your file manager and go to /system
Open the file build.prop and add "ro.sf.lcd_density=380" (without quotation marks), where 380 is my settings, others are happy with 400 or 420
Save the file and reboot.
Click to expand...
Click to collapse
And I set the value to 380 again and it works very fine after a reboot. Please check your value. Are all icons broken or only modified icons/icons from an icon set or system icons?
Omg thank you so much!! MaxxAudio is working again with this simple trick
Gesendet von meinem ONE A2003 mit Tapatalk
Hi All
i've tried xposed 77, 80, 82, 83... and every single time.. the phone just randomly restarts.
I've removed all the xposed modules...and even then.. it's still losing its mind.
I've tried straight flash - no root.
=Fine
Then Rooted.
=Fine
then xposed in every version listed above...
=Loses its mind and crashes/reboots after getting to login/halfway through text/just going into app drawer/settings
in other words... Randomly.
Any ideas?
!SINGH! said:
Hi All
i've tried xposed 77, 80, 82, 83... and every single time.. the phone just randomly restarts.
I've removed all the xposed modules...and even then.. it's still losing its mind.
I've tried straight flash - no root.
=Fine
Then Rooted.
=Fine
then xposed in every version listed above...
=Loses its mind and crashes/reboots after getting to login/halfway through text/just going into app drawer/settings
in other words... Randomly.
Any ideas?
Click to expand...
Click to collapse
Clean flash ROM without any mod or restore, just SuperSU and Xposed still fail?
Sent from my ONE A2003 using Tapatalk
Battery percentage indicator
Click to expand...
Click to collapse
With Oxygen 3.0 beta you can set it via Menu -> Setttings -> Battery and at the top the 2. Icon.
Gravity Mod is not to be surplus to requirement
!SINGH! said:
Hi All
i've tried xposed 77, 80, 82, 83... and every single time.. the phone just randomly restarts.
I've removed all the xposed modules...and even then.. it's still losing its mind.
I've tried straight flash - no root.
=Fine
Then Rooted.
=Fine
then xposed in every version listed above...
=Loses its mind and crashes/reboots after getting to login/halfway through text/just going into app drawer/settings
in other words... Randomly.
Any ideas?
Click to expand...
Click to collapse
Whipe cache & dalivik after installed zip?
Sent from my ONE A2003 using XDA-Developers mobile app