wifi getting ip address issue with adb enable in build.prop - General Questions and Answers

Hello. I have STB Vermax HD-100 with android 4.2.2 and allwinner A20 processor. I try to create custom image for device with enabled adb debugging by default. I found that post: https://forum.xda-developers.com/showthread.php?t=2335799 So, I have to insert the follow lines:
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
My stock build.prop is already has "persist.sys.usb.config=mass_storage"
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JDQ39
ro.build.display.id=JDQ39
ro.build.version.incremental=20150319
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Пт. марта 20 03:02:34 MSK 2015
ro.build.date.utc=1426809754
ro.build.type=user
ro.build.user=andrey
ro.build.host=cyberdev2
ro.build.tags=test-keys
ro.product.model=Vermax HD100
ro.product.brand=softwinners
ro.product.name=sugar_ref001
ro.product.device=sugar-ref001
ro.product.board=wing
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=ru
ro.product.locale.region=RU
ro.wifi.channels=
ro.board.platform=exDroid
# ro.build.product is obsolete; use ro.product.device
ro.build.product=sugar-ref001
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=sugar_ref001-user 4.2.2 JDQ39 20150319 test-keys
ro.build.fingerprint=softwinners/sugar_ref001/sugar-ref001:4.2.2/JDQ39/20150319:user/test-keys
ro.build.characteristics=tablet
# end build properties
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.carrier=unknown
ro.config.alarm_alert=Alarm_Classic.ogg
ro.setupwizard.mode=DISABLE
ro.com.google.gmsversion=4.2_r1
ro.com.google.clientidbase=android-orange-ouk
ro.com.google.clientidbase.ms=android-orange-ouk
ro.com.google.clientidbase.yt=android-orange-ouk
ro.com.google.clientidbase.am=android-orange-ouk
ro.com.google.clientidbase.gmm=android-orange-ouk
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
ro.display.switch=1
rild.libargs=-d/dev/ttyUSB2
rild.libpath=/system/lib/libsoftwinner-ril.so
keyguard.no_require_sim=true
persist.sys.timezone=Asia/Yekaterinburg
persist.sys.language=ru
persist.sys.country=RU
drm.service.enabled=false
dalvik.vm.heapsize=256m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
persist.sys.usb.config=mass_storage
persist.sys.noconfig=false
ro.property.tabletUI=true
ro.statusbar.alwayshide=true
ro.udisk.lable=sugar
ro.product.firmware=v1.3.1i
ro.sw.defaultlauncherpackage=com.kaiboer.tvlancher.sihh
ro.sw.defaultlauncherclass=com.kaiboer.tvlancher.sihh.MainActivity
audio.output.active=AUDIO_CODEC
audio.input.active=AUDIO_CODEC
ro.audio.multi.output=true
ro.sw.directlypoweroff=true
ro.softmouse.left.code=105
ro.softmouse.right.code=106
ro.softmouse.top.code=103
ro.softmouse.bottom.code=108
ro.softmouse.leftbtn.code=232
ro.softmouse.midbtn.code=-1
ro.softmouse.rightbtn.code=-1
ro.sw.shortpressleadshut=false
ro.sf.lcd_density=160
ro.sw.videotrimming=1
ro.opengles.version=131072
video.accelerate.hw=1
ro.hwa.force=true
debug.sf.hw=1
debug.composition.type=dyn
persist.sys.ui.hw=true
persist.sys.strictmode.visual=0
persist.sys.strictmode.disable=1
persist.sys.use_dithering=0
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.kernel.android.checkjni=0
ro.config.nocheckin=1
debug.checkjni=0
debug.performance.tuning=1
service.adb.tcp.port=5555
persist.sys.adbd=false
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
I try combinations:
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb,mass_storage
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=adb,mass_storage
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=adb
If I use ethernet - device gets ip well and I can connect via adb. But wifi in all cases can't get ip addres, there is just "getting ip address" status in settings panel. If I remove theres string - wifi works well. What can be wrong ?

I'm very late to this thread, but luckily, as of Android 11 and up, adb works over wi-fi (without USB) on non-rooted Android phones via Developer options Wireless debugging switches.

Related

[Q] the default build.prop for g2x

Can anyone post the G2x's stock build.prop? There are a few lines I need to edit back to the original and cannot seem to locate the original lines anywhere on the internet. Everyone here seems knowledgeable and helpful so here is hoping. Thanks.
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=FRG83G
ro.build.display.id=FRG83G
ro.build.version.incremental=2ED2B0648C
ro.build.version.sdk=8
ro.build.version.codename=REL
ro.build.version.release=2.2.2
ro.build.date=2011. 03. 27. (일) 10:55:38 KST
ro.build.date.utc=1301190938
ro.build.type=user
ro.build.user=sp9pm_9
ro.build.host=sp9pm2pl3
ro.build.tags=release-keys
ro.product.model=LG-P999
ro.product.brand=lge
ro.product.name=lge_star
ro.product.device=p999
ro.product.board=p999
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=lge
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
# ro.build.product is obsolete; use ro.product.device
ro.build.product=p999
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=star-user 2.2.2 FRG83G 2ED2B0648C release-keys
ro.build.fingerprint=lge/lge_star/p999/p999:2.2.2/FRG83G/lgp999-V10f.2ED2B0648C:user/release-keys
ro.product.rat=WCDMA_ONLY
# end build properties
rild.libargs=-d /dev/chnlat10
# 20100720, [email protected], Add haptic feedback of touch key
# Touch Key: SEARCH, BACK, HOME, MENU
ro.lge.touchkey=BACK|SEARCH|HOME|MENU
ro.build.lge.version.release=LG-P999-V10f
ro.build.lge.version.hidden=0
ro.opengles.version=131072
keyguard.no_require_sim=true
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
dalvik.vm.heapsize=40m
rilswitch.vendorlibpath=/system/lib/lge-ril.so
rilswitch.ganlibpath=/system/lib/libganril.so
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.notification_sound=Acoustic_Guitar.ogg
ro.config.alarm_alert=Alarm_Beep01.ogg
ro.config.ringtone=T-Jingle.ogg
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=2.2_r9
ro.com.google.clientidbase=android-lge
ro.com.google.clientidbase.ms=android-hms-tmobile-us
ro.com.google.clientidbase.gmm=android-lge
ro.com.google.clientidbase.yt=android-lge
ro.com.google.clientidbase.am=android-tmobile-us
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.enc.hprof.file.format=3gp
ro.media.enc.hprof.aud.hz=44100
ro.media.enc.hprof.aud.ch=2
ro.media.enc.hprof.codec.aud=aac
ro.media.enc.hprof.aud.bps=128000
ro.media.enc.hprof.vid.bps=4000000
ro.media.enc.hprof.vid.width=1280
ro.media.enc.hprof.vid.height=720
ro.media.enc.hprof.codec.vid=h264
ro.media.enc.hprof.vid.fps=30
ro.browser.useragent=0
persist.service.mount.umsauto=1
ro.sf.lcd_density=240
rild.libpath=/system/lib/librilswitch.so
rilswitch.vendorlibpath=/system/lib/lge-ril.so
rilswitch.ganlibpath=/system/lib/libganril.so
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
Sent from my LG-P999 using XDA App
You are a lifesaver.
please post in the proper section next time. should have been in "general"
Thanks for posting. This is exactly what I was looking for also.
I've changed this file build.prop in my LG and the device is corupted now !!
I want to replace this file but I did not how ? I don't install a recovery program in the device I don know how to enter to device files without these programs ?
Mustafa Hamza said:
I've changed this file build.prop in my LG and the device is corupted now !!
I want to replace this file but I did not how ? I don't install a recovery program in the device I don know how to enter to device files without these programs ?
Click to expand...
Click to collapse
Install ADB on your computer (look elsewhere on how to do this)
Connect phone to computer via USB
type "adb remount" to mount phone file system in read-write mode
type "adb push C:\path\to\your\good\build.prop /system
DONE
Nice I'm gonna put some of this on my thrill

[Q] Build prop

Anyone know why Model and Device still show as Transformer TF101 and TF101 after I changing options in build.prop ?
PHP:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=HTJ85B
ro.build.display.id=HTJ85B.prime_epad-1.7-20110804
ro.build.version.incremental=prime_epad-1.7-20110804
ro.build.version.sdk=13
ro.build.version.codename=REL
ro.build.version.release=3.2
ro.build.date=Wed Aug 03 00:00:00 GMT 2011
ro.build.date.utc=1312416000
ro.build.type=user
ro.build.user=roach
ro.build.host=nimda
ro.build.tags=release-keys
ro.product.model=GT-I9100
ro.product.brand=samsung
ro.product.name=GT-I9100
ro.product.device=GT-I9100
ro.product.board=GT-I9100
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I9100XWKDD
ro.build.hidden_ver=I9100XWKDD
ro.build.changelist=161513
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=14
ro.board.platform=tegra
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I9100
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I9100-user 3.2 GINGERBREAD XWKDD release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:2.3.3/GINGERBREAD/XWKDD:user/release-keys
ro.build.characteristics=tablet
# Samsung Specific Properties
ro.build.PDA=I9100XWKDD
ro.build.hidden_ver=I9100XWKDD
# end build properties
ro.opengles.version = 131072
wifi.interface=wlan0
ro.ethernet.interface=eth0
ro.ethernet.autoEnable=yes
rild.libpath=/system/lib/libmbm-ril.so
rild.libargs=-d /dev/ttyACM0 -i wwan0
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
wifi.version.driver=V5.2.53
bt.version.driver=V6.19
gps.version.driver=V1.5.0
keyguard.no_require_sim=true
drm.service.enabled=1
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=3.2_r1
gsm.bodysargsm=32,26,29,29
ro.com.google.clientidbase=android-samsung
ro.wifi.country=US
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
And it shows as :
Take a look into the kernel, into init.rc or [devicename].init.rc, if they contain a line "setprop [property_name] TF101", it's your little bugger, edit it, and done!
fonix232 said:
Take a look into the kernel, into init.rc or [devicename].init.rc, if they contain a line "setprop [property_name] TF101", it's your little bugger, edit it, and done!
Click to expand...
Click to collapse
looked into all of the init files and none of them have setprop that sets to TF101
You may need to clear the cache using recovery. I remember working on the VS GTab and having to do that once or twice when making changes.
Trist
tristanwolf1134 said:
You may need to clear the cache using recovery. I remember working on the VS GTab and having to do that once or twice when making changes.
Trist
Click to expand...
Click to collapse
Did hard-reset,delete files in /cache from OS, and even replaced build.prop in incremental-update zip file and updated my firmware.

[HowTo] Show hidden Market Apps on Gingerbread Roms

I decided to create a new topic in dev, as this issue affected me in MS2Ginger, CM7 and MIUI, and users from any of these roms could benefit from the info.
If this should be on General, I'm sorry mods, here seemed more appropriate.
Guys, for those like me that couldn't see some apps on Market after using Gingerbread ROMs, I found a workaround after some research that worked for me.
* I just tested it on MIUI but it should work on others.
Basically the Market checks the build.prop for the fingerprint, so I used this one from Nexus S on 2.3.4 and had no issues so far.
Code:
ro.build.description=soju-user 2.3.4 GRJ22 121341 release-keys
ro.build.fingerprint=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys
*If someone can provide build.prop or fingerprint from Milestone 2 would be great. Didn't want to flash stock froyo just for that. Tried to find a build.prop from any Droid with gingerbread with no success, and I'm downloading now the leak from Droid 2 Global to test.
To use it :
adb pull /system/build.prop c:\where\you\want\to\put\it\
backup the file
open with notepad++ (I guess wordpad would work too) and replace with the fingerprint
save
adb remount ( or mount /system r/w using root explorer )
adb push c:\where\you\want\to\put\it\build.prop /system/
adb reboot
changes to references to defy(jordan) made my lights and torch stop to work. will wipe the build.prop from first post until find a fix
For those who already applied it, Sorry!
Below it's the original build.prop for MIUI 1.8.19 (will5) with the fingerprint changed but the original fingerprint commented for easy rollback in case of any new bugs noticed due to this change
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MIUI
ro.build.display.id=MIUI.1.8.19
ro.build.version.incremental=1.8.19
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.5
ro.build.date=Fri Aug 19 11:00:00 GMT 2011
ro.build.date.utc=1313727796
ro.build.type=userdebug
ro.build.user=builder
ro.build.host=winton-desktop
ro.build.tags=test-keys
ro.product.model=MB525
ro.product.brand=MOTO
ro.product.name=libra_jordan
ro.product.device=jordan
ro.product.board=jordan
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=omap3
# ro.build.product is obsolete; use ro.product.device
ro.build.product=jordan
# Do not try to parse ro.build.description or .fingerprint
#ro.build.description=libra_jordan-userdebug 2.3.5 MIUI 1.8.19 test-keys
#ro.build.fingerprint=MOTO/libra_jordan/jordan:2.3.5/MIUI/1.8.12:userdebug/test-keys
ro.build.description=soju-user 2.3.4 GRJ22 121341 release-keys
ro.build.fingerprint=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys
# end build properties
#
# system.prop for generic sdk
#
rild.libpath=/system/lib/librilswitch.so
rilswitch.vendorlibpath=/system/lib/libril-moto-umts-1.so
rilswitch.ganlibpath=/system/lib/libganril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
# Default network type.
# 3 -> GSM/WCDMA (auto mode, according to PRL)
ro.telephony.default_network=3
wifi.interface = tiwlan0
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
wifi.supplicant_scan_interval = 90
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version = 131072
# This is a high density device with more memory, so larger vm heaps for it.
dalvik.vm.heapsize=48m
# Forbid format of these partitions in mount menu :
ro.cwm.forbid_format=/misc,/radio,/boot,/recovery,/pds,/system
# BatteryLight while charging, enabled by default.
ro.battery_light=false
# declare we're using Usb.apk
ro.usb.use_custom_service=1
# disable Windows Media Sync Usb.apk mode
ro.mtp_available=0
# use 1% battery steps
ro.product.use_charge_counter=1
# use default multitouch configuration
persist.input.multitouch_points=4
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.media.capture.maxres=5m
ro.media.capture.flash=led
ro.media.capture.flashIntensity=41
ro.media.capture.torchIntensity=25
ro.media.capture.classification=classH
#ro.media.capture.flip=horizontalandvertical
persist.sys.purgeable_assets=0
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.feedback
ro.setupwizard.enterprise_mode=1
ro.com.google.clientidbase=android-verizon
ro.com.google.locationfeatures=1
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.config.vc_call_vol_steps=7
ro.telephony.call_ring.multiple=false
windowsmgr.max_events_per_sec=130
ro.telephony.call_ring.delay=1000
ro.url.safetylegal=http://www.motorola.com/staticfiles/Support/legal/?model=A855
ro.setupwizard.enable_bypass=1
ro.default_usb_mode=4
ro.media.dec.jpeg.memcap=20000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.product.multi_touch_enabled=true
ro.com.motorola.smartsensor=true
dalvik.vm.lockprof.threshold=500
ro.kernel.android.checkjni=0
dalvik.vm.dexopt-data-only=1
dalvik.vm.dexopt-flags=m=y
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.setupwizard.mode=DISABLED
ro.com.android.dateformat=yyyy-MM-dd
ro.com.android.dataroaming=true
ro.ril.enable.managed.roaming=1
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
ro.moddevice=Defy
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.HOME_APP_ADJ=1
debug.sf.hw=1
debug.composition.type=hw
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
persist.adb.notify=0
debug.performance.tuning=1
video.accelerate.hw=1
ro.kernel.android.checkjni=0
dalvik.vm.startheapsize=8m
mot.proximity.delay=150
ro.config.ringtone=Pegasus.ogg
ro.config.notification_sound=Procyon.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
persist.sys.timezone=Europe/Berlin

[ROM] SGH-T679 // VKJ1 // Stock // Deodexed // Rooted //Busybox

This is the rom that ships on the Samsung Exhibit II 4G with a few added extras.
The most essential tools have been added to this stock rom including root (su and superuser) as well as busybox.
The whole rom itself has also been deodexed.
Why would I want a deodexed rom?
A deodexed rom allows for developers to theme the rom and tweak certain apps as they wish. It also make removing bloat alot easier.
Benefits of a stock rom?
Other than providing you with a rooted stock experience that is also deodexed, this rom will allow you to recover your phone in the situation that you have a custom recovery but your phone isn't booting to the lockscreen.
How to Flash
Booting into ClockworkMod Recovery. (Install ClockworkMod)
To boot into ClockworkMod Recovery (where we will be flashing the downloaded rom we put on our SD card) we have to power down the phone.
Then you simply need to hold the power button and the volume up button after 5 seconds release the power button and continue to hold the volume up till the ClockworkMod Recovery menu come up.
Wiping data/factory reset.
Once we are in recovery we will notice and option in the main menu to Wipe
Data/Factory Reset
Flashing the rom!
Now that we have followed all of the above steps and made sure to wipe data/factory reset, we are ready to flash the rom!
Choose "Install Zip from SD Card" from the main menu, and browse for the rom you put on your SD card.
Select yes and the process will begin.
Reboot.
When recovery reports to you that the flash is done and completed you can select reboot from the main menu, and your phone will reboot into the rom.
Also you can make a backup (nandroid) with ClockworkMod and is highly recommended prior to flashing anything!
Just for Developers!
Template for custom roms.
A rooted stock rom is useful as a base for many custom roms that developers create.
An updater-script that is guaranteed to work.
Just below is an updater-script that is guaranteed to work, it can be edited and tweaked to your liking but it currently does boot the rom and is used in this rom I've posted.
Enjoy!
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GINGERBREAD
ro.build.display.id=GINGERBREAD.VKJ1
ro.build.version.incremental=VKJ1
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.5
ro.build.date=Sat Oct 1 07:48:06 KST 2011
ro.build.date.utc=1317422886
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEP-68
ro.build.tags=release-keys
ro.product.model=SGH-T679
ro.product.brand=samsung
ro.product.name=SGH-T679
ro.product.device=SGH-T679
ro.product.board=SGH-T679
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=T679UVKJ1
ro.build.hidden_ver=T679UVKJ1
ro.build.changelist=625406
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm7k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=SGH-T679
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=SGH-T679-user 2.3.5 GINGERBREAD VKJ1 release-keys
ro.build.fingerprint=samsung/SGH-T679/SGH-T679:2.3.5/GINGERBREAD/VKJ1:user/release-keys
# Samsung Specific Properties
ro.build.PDA=T679UVKJ1
ro.build.hidden_ver=T679UVKJ1
ro.build.changelist=625406
ro.tether.denied=false
ro.flash.resolution=1080
# end build properties
#
# system.prop for surf
#
##rild.libpath=/system/lib/libsec-ril.so
## start GAN-Lite ##
rild.libpath=/system/lib/librilswitch.so
rilswitch.vendorlibpath=/system/lib/libsec-ril.so
rilswitch.ganlibpath=/system/lib/libganril.so
## end GAN-Lite ##
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
DEVICE_PROVISIONED=1
debug.sf.hw=1
dalvik.vm.heapsize=64m
ro.sf.lcd_density=240
ro.dev.dmm=1
dev.dmm.dpd.trigger_delay=30
#
# system props for the cne module
#
persist.cne.UseCne=vendor
persist.cne.bat.range.low.med=30
persist.cne.bat.range.med.high=60
persist.cne.loc.policy.op=/system/etc/OperatorPolicy.xml
persist.cne.loc.policy.user=/system/etc/UserPolicy.xml
persist.cne.bwbased.rat.sel=false
persist.cne.snsr.based.rat.mgt=false
persist.cne.bat.based.rat.mgt=false
persist.cne.rat.acq.time.out=30000
persist.cne.rat.acq.retry.tout=0
#
lpa.decode=false
ro.hdmi.enable=true
#
# system props for the data modules
#
ro.use_data_netmgrd=true
#
# system props for SD card emulation of emmc partition
#
ro.emmc.sdcard.partition=16
#
# system props for telephony modules
#
#device supports EHRPD
ro.config.ehrpd=true
#
# system props for the MM modules
#
media.stagefright.enable-player=true
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
# Samsung USB default mode
persist.service.usb.setting=0
# Qualcomm H/W crypto module load
crypto.driver.load=1
# Set Default Timezone as America/New_York
persist.sys.timezone=America/New_York
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.locationfeatures=1
ro.com.google.clientidbase=android-samsung
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=2.3_r7
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.ril.hsxpa=1
ro.ril.gprsclass=10
media.stagefright.enable-player=false
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=false
dev.sfbootcomplete=0
wifi.interface=eth0
wifi.supplicant_scan_interval=15
ro.com.google.clientidbase=android-samsung
ro.com.google.clientidbase.ms=android-hms-tmobile-us
ro.com.google.clientidbase.am=android-tmobile-us
ro.com.google.clientidbase.gmm=android-samsung
ro.com.google.clientidbase.yt=android-samsung
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.locationfeatures=1
ro.config.ringtone=CLEAN_Tmo_Jingle.ogg
ro.config.notification_sound=S_Cloud.ogg
ro.config.alarm_alert=Good_Morning.ogg
ro.setupwizard.mode=DISABLED
ro.opengles.version=131072
ro.com.google.gmsversion=2.3_r1
ro.secdevenc=true
ro.wtldatapassword=true
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
Download: SGH-T679_Stock_Deoxed
Congrats & good luck
Thanks
Yea now to remember what I did with other build so I can post it LOL
Sent from my SGH-T989 using Tapatalk
Nice! Is this pretty much the same as Peach Sunrise though?
dennis96411 said:
Nice! Is this pretty much the same as Peach Sunrise though?
Click to expand...
Click to collapse
No peach has been debloated and some minor tweaks. You can flash this and return your phone. Totally stock.
Sent from my SGH-T989 using Tapatalk
Very smooth install, no problems whatsoever. Camera/recorder, calling, sms,etc working fine. Excellent job!
dennis96411 said:
Nice! Is this pretty much the same as Peach Sunrise though?
Click to expand...
Click to collapse
I'll be releasing my custom Rom today sometime. Also be adding my themes on page 2 that work for Peach Sunrise and my Rom for now till Jocala starts his framework edits.
Sent from my SGH-T989 using Tapatalk
jocala said:
Very smooth install, no problems whatsoever. Camera/recorder, calling, sms,etc working fine. Excellent job!
Click to expand...
Click to collapse
Thanks sir
Sent from my SGH-T989 using Tapatalk

[Q] App says Bluetooth LE not supported, can editing build.prop fix it?

I recently installed Bactrack Mobile by side loading the .apk file. I have a rooted Photon Q 4G running cm-10.2.1-xt897. The app requires Android 4.3 and Bluetooth 4.0 LE, both of which my phone have, but I had to side load because the google play store still thinks my device is incompatible. Apparently so does the app, because when I open the app it says "Low Energy Bluetooth not available. Low Energy Bluetooth is not supported by this device. Android version 4.3 or greater is required for this application. Please upgrade or change devices." I can hit OK and then hit the Connect button in the app to try to pair the device and the same error pops up again but the screen changes to "Connecting..." which goes on indefinitely. When I turn on my Bluetooth, I see "SmartBreathalyzer" listed as an available device but I can't pair it (Note: I believe this device has trouble pairing under the Bluetooth menu and requires the app to pair even on proven compatible devices). Anyway, I'm wondering how I can get this app to work since I'm fairly confident I have the necessary hardware. I am working under the following assumptions, any of which may be wrong:
1) The Motorola Photon Q 4G has Bluetooth 4.0 LE
2) Whatever the Google Play Store checked to determine that my phone was incompatible is the same thing that the app is checking when I open it
3) Said compatibility check is in build.prop
So far here's what I've tried:
1) Using Market Helper
2) Editing ro.product.model, ro.product.brand, and ro.product.manufacturer to imitate a Galaxy S3, a known compatible device (if it's running 4.3+)
3) Editing ro.product.model, ro.product.brand, and ro.product.manufacturer to imitate a Galaxy S4, another known compatible device if running 4.3+
All of these were attempts to trick Google Play just so I could install the app before I got a copy of the .apk file to side load, none worked. The latter 2 broke my keyboard, making it incredibly difficult to undo the changes (I had to copy and paste letters to type, all the while racing against pop up error messages which would interrupt my ability to copy). I am hesitant to try them again to get the now installed app to work, since I am operating under assumption 2.
Below is the text of my build.prop file. I've noticed that in other devices' build.prop file, there seems to be a lot more settings regarding Bluetooth, but nothing stands out as saying "version 4.0" or "Low Energy supported". It could also be that the app just doesn't recognize my phone as running Android 4.3 but it's giving me an ambiguous error about Bluetooth anyway. So my main questions are:
1) Is there any way to open the .apk file to see how it's running its compatibility check? (I'm assuming this is unlikely)
2) If not, what can I do to edit my build.prop file that would have the best chance of fixing the problem? Are there properties I can add, or would I need to change certain properties that are already there? Does my current build.prop file need help saying "I am Bluetooth LE compatible" or "No seriously, I really AM running Android 4.3. Really." or both?
3) What potential side effects would these edits have? I don't want to break anything that would prevent me from restoring my original build.prop file (Note: when I rooted my phone, I could never get any adb/fastboot commands to work from a command prompt on my PC. I had to do all that stuff with the hardware buttons on the phone, so if I DO break my keyboard or something like that, my only hope is to fix it from the phone itself).
4) Is there a chance assumption #3 is incorrect? If so where else would the app be running a compatibility check?
Thanks in advance for any help.
My current build.prop file:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JLS36I
ro.build.display.id=cm_xt897-userdebug 4.3.1 JLS36I 4d3a90376d test-keys
ro.build.version.incremental=4d3a90376d
ro.build.version.sdk=18
ro.build.version.codename=REL
ro.build.version.release=4.3.1
ro.build.date=Sat Feb 1 01:15:55 PST 2014
ro.build.date.utc=1391246155
ro.build.type=userdebug
ro.build.user=jenkins
ro.build.host=cyanogenmod
ro.build.tags=test-keys
ro.product.model=XT897
ro.product.brand=motorola
ro.product.name=xt897
ro.product.device=xt897
ro.product.board=MSM8960
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm8960
# ro.build.product is obsolete; use ro.product.device
ro.build.product=xt897
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=cm_xt897-userdebug 4.3.1 JLS36I 4d3a90376d test-keys
ro.build.fingerprint=motorola/XT897_us_spr/asanti_c:4.1.2/9.8.2Q-122_XT897_FFW-5/6:user/release-keys
ro.build.characteristics=default
ro.cm.device=xt897
# end build properties
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.rommanager.developerid=cyanogenmod
ro.com.google.clientidbase=android-google
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.build.selinux=1
persist.sys.root_access=1
ro.cm.version=10.2.1-xt897
ro.modversion=10.2.1-xt897
ro.cmlegal.url=http://www.cyanogenmod.org/docs/privacy
ro.config.ringtone=Orion.ogg
ro.config.notification_sound=Argon.ogg
ro.config.alarm_alert=Hassium.ogg
ro.carrier=unknown
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
debug.egl.hw=1
debug.sf.hw=1
persist.sys.ui.hw=true
debug.composition.type=dyn
persist.hwc.mdpcomp.enable=true
debug.mdpcomp.logs=0
debug.enabletr=0
ro.vendor.extension_library=/system/lib/libqc-opt.so
com.qc.hardware=true
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=false
persist.audio.handset.mic=digital
ro.qc.sdk.audio.fluencetype=fluence
ro.qc.sdk.audio.ssr=false
ro.bluetooth.hfp.ver=1.6
ro.qualcomm.bluetooth.sap=true
ro.qualcomm.bt.hci_transport=smd
ro.bluetooth.request.master=true
ro.bluetooth.remote.autoconnect=true
lpa.decode=false
tunnel.decode=true
tunnel.audiovideo.decode=true
qcom.hw.aac.encoder=true
af.resampler.quality=255
persist.audio.lowlatency.rec=false
persist.sys.qc.sub.rstrtlvl=3
persist.sys.qc.sub.rdump.on=1
persist.sys.qc.sub.rdump.max=20
rild.libpath=/system/lib/libril-qc-qmi-1.so
ril.subscription.types=NV,RUIM
ro.use_data_netmgrd=true
ro.ril.transmitpower=true
persist.radio.apm_sim_not_pwdn=1
persist.radio.call_type=1
ro.config.vc_call_vol_steps=7
ro.modem.no_wdog_chk=1
persist.timed.enable=true
ro.usb.mtp=0x2e32
ro.usb.mtp_adb=0x2e33
ro.usb.ptp=0x2e30
ro.usb.ptp_adb=0x2e31
ro.hdmi.enable=true
ro.opengles.version=131072
ro.telephony.ril_class=MotorolaQualcommRIL
persist.fuse_sdcard=true
wifi.interface=wlan0
wifi.supplicant_scan_interval=30
persist.log.aplogd.enable=1
ro.sf.lcd_density=240
telephony.lteOnGsmDevice=1
ro.telephony.ril.v3=signalstrength
ro.telephony.default_network=3
persist.sys.report_gprs_as_edge=1
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
I am on CM 11 the program gave me no blue tooth errors.
Sent from my PHOTON Q using XDA Premium 4 mobile app
This is an old thread, but in case anyone comes across this while searching for the solution to BLE (bluetooth 4.0 LE) on a Photon Q running CM 10.2 this is what got it working for me. Create a file in the system/etc/permissions directory named android.hardware.bluetooth_le.xml with the following contents:
<permissions>
<feature name="android.hardware.bluetooth_le" />
</permissions>
(hopefully if the post ate the greaterthan and lessthan characters you can figure out how to build a properly formatted xml file).

Categories

Resources