[Q] ask for sensors.default.so - Galaxy Tab Q&A, Help & Troubleshooting

http://dl.dropbox.com/u/6775955/sensors.default.so
I can not download this file from our network.Could anyone help me to post this file on XDA?Thanks a lot!
from this issue:
http://forum.xda-developers.com/showthread.php?t=943669
Do you use JMI?
you need this method to work all sensors on JMI .
Originally Posted by crisvillani
Push file to /system/lib/hw then all sensors should work
http://dl.dropbox.com/u/6775955/sensors.default.so
Code:
adb remount
adb push sensor.default.so /system/lib/hw
adb reboot

Hey dude check the OC kernel thread by Richartrip, he posted the link to the file some where in there : )

I just want to say this worked like a charm on my galaxy tab Verizon. I had the orientation lock after flashing a ROM and this fixed my issue.
Thanks again!

Related

Every ROM I use drops Audio

I have used,
Cyanogenmod 6.0.0
Darchdroid v2.7 "KangSlayer"
Fresh Rom 2.3.3
It seems after I make a phone call (some times) that the audio goes out. I have searched for a fix and tried the fix that are found here
http://forum.xda-developers.com/showthread.php?t=657244&highlight=audio+loss
But still have the problem.
Am I missing something or is this just something I am going to have to live with? (I really hope not)
Any help would be great!
As of now I am running Cyanogenmod 6.0.0.
chaos67731 said:
I have used,
Cyanogenmod 6.0.0
Darchdroid v2.7 "KangSlayer"
Fresh Rom 2.3.3
It seems after I make a phone call (some times) that the audio goes out. I have searched for a fix and tried the fix that are found here
http://forum.xda-developers.com/showthread.php?t=657244&highlight=audio+loss
But still have the problem.
Am I missing something or is this just something I am going to have to live with? (I really hope not)
Any help would be great!
As of now I am running Cyanogenmod 6.0.0.
Click to expand...
Click to collapse
I had the same problem... ill post the csv when i get home
EDIT:
I have been having the same problem and this fix worked for me...
Just unzip the three files in this zip archive and adb remount and push them to the /system/etc directory, reboot and youre done!
for example
./adb remount
./adb push AudioPreProcess.csv /system/etc
./adb push AudioPara4.csv /system/etc
./adb push AudioFilter.csv /system/etc
./adb reboot
I gave it a test on my own hero and it works perfecly, but if I flash a new kernel I have to reapply the fix... unfortunate, but at least there is a solution

[Q] adb remount

Hi guys,
sorry if my english isnt so good...
i'm in trouble with ADB..
i want to upgrade my swype keyboard on my NEW M1 rom eu....i got the 1.58 and i want to try the 1.60..
i found a thread on this forum with commands for upgrading the swype like this way:
Code:
adb remount
adb shell
su
pm list packages -f | grep swype
rm /system/app/<restOfApkPathFoundInAboveCommand>
pm uninstall <value after apk= found in result of 2 commands above>
exit
Install normally. If you want the apk in the rom:
adb push <newSwype.apk> /system/app/<newSwype.apk>
adb remount
adb shell
pm install <newSwype.apk>
(found here-> LINK)
I'm stuck at the beginning:
Code:
C:\android\tools>adb devices
List of devices attached
9000ec2a228b device
C:\android\tools>adb remount
remount failed: No such file or directory
my phone is rooted and in debug usb mode..I dont understand how can I go ahead...
what can I do?
thanks
ivan
Same here.
gbates said:
Same here.
Click to expand...
Click to collapse
oh..i'm not the only one! : >
we need to find the solution...but it's not easy..
are u using the NEW M1 rom too?
Rooting doesn't automatically give you remount permissions AFAIK.
i just use this command
Code:
adb push test.txt /sdcard/test.txt
and the copy is ok....i found the file in the sgs sdcard...
The command adb remount is for the /system directory (for set write permission) .... i think it cant find the directory /system on the phone......why?!?!
danmullen said:
Rooting doesn't automatically give you remount permissions AFAIK.
Click to expand...
Click to collapse
mmmm what do u mean? i need to do something else? thanks
Are you using the internal ext2 lagfix? I think that causes problems with the adb remount command. It doesn't work for me either.
Same results using a different ROM?
psychedelic'd said:
Are you using the internal ext2 lagfix? I think that causes problems with the adb remount command. It doesn't work for me either.
Click to expand...
Click to collapse
No lagfix installed at the moment..i installed lagfix when i was on M2 but i think that reflashing removed the lag fix...is it right?
harold4 said:
Same results using a different ROM?
Click to expand...
Click to collapse
Not yet but i think i'm gonna try it this afteroon if i dont find a solution.
Sent from my GT-I9000 using XDA App
adb remount as well
Trying to remap hard keys, adb remount along with push and pull do not work. Depending on whether im in shell or not I get no such file or directory or file not found errors. I can change into directory of each of the folders im trying to work with, and look at the file but I can't push it from my tools folder(locally) or pull it from the system folder. Every tutorial I see has adb remount command first, which fails every time.
Samsung Fascinate
Blackhole-build your own rom
(also tried on jt's latest rom, same issue
Crazy
I'm having the same issue here too. I'm trying to get a custom boot screen on my rooted Samsung Infuse and I've tried every way I can think of and it wont take. Clockworkmod says successfully installed, but its not. Soon as I reboot I see the At&T stock boot. I've fixed all of my permissions and still no luck.
So I saw a solution to do it via adb by typing "adb remount" and I get the same thing u guys are getting. I've got a headache now. Done all I could, even typing "shell", "su", that all goes well then when I tried to push it "adb push bootanimation.zip system/media" I get adb: not found. Smh, is it a device issue?
i think ive got the solution
flash a new kernel..................................worked for me................

How to install a kernel by Adb

I have samsung galaxy s advance and i want to know exactly how to install kernel
because i have installed JB and it lags ?
I Want to know the way to use ADB
thanks in advance
If you have no idea what you are doing, then just f****ng look in the threads of your desired kernel. Install-tutorials everywhere...
amr7san said:
I have samsung galaxy s advance and i want to know exactly how to install kernel
because i have installed JB and it lags ?
I Want to know the way to use ADB
thanks in advance
Click to expand...
Click to collapse
First save the kernel as kernel.bin.md5 in root of internal SD..
In the command give superuser permission by writing $su
Then "dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
Then hit enter and it should show some bytes of data transferred then hit reboot! Or simple use the universal kernel flash app!
Sent from my GT-I9070 using xda premium
amr7san said:
I have samsung galaxy s advance and i want to know exactly how to install kernel
because i have installed JB and it lags ?
I Want to know the way to use ADB
thanks in advance
Click to expand...
Click to collapse
Why don't u use frapeti's easy as a pie app. Here. Need also some file explorer like ES or Root Explorer. The easiest way for you.
Tons of tutorial and examples here on xda and all around the internet.
But anyway...
I will assume that you know how to run adb, you already have it and know what adb shell is.
If you don't, don't continue next and read a little bit more around xda forum.
Copy kernel.bin.md5 to your internal memory.
Run adb as adb shell
Code:
$ su
# dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
# reboot
Thanks all
amr7san said:
I have samsung galaxy s advance and i want to know exactly how to install kernel
because i have installed JB and it lags ?
I Want to know the way to use ADB
thanks in advance
Click to expand...
Click to collapse
Thank you very much i installed the thunderzap kernel by the universal app thanks
but PES 2012 Still do'nt work
it was work on GB ?

[MOD] Patched libaudiopolicy_sec.so to mute camera

Hello all,
Here is a way to mute the camera shutter/focus sound.
Pre-requisite:
Watch must be rooted to replace the file
Adb working with gear
Installation with adb:
Extract the file on your PC, in adb directory if you don't have it in your PATH
Connect your watch to PC
Type these commands on the PC:
Code:
adb shell su -c mount -o remount,rw /
adb shell su -c mount -o remount,rw /system
adb shell su -c mkdir /tmp
adb push libaudiopolicy_sec.so /tmp
adb shell su -c mv /system/lib/libaudiopolicy_sec.so /system/lib/libaudiopolicy_sec.so.org
adb shell su -c cp /tmp/libaudiopolicy_sec.so /system/lib/
adb shell sync
adb shell sync
adb reboot
Gear reboots
Set volume to vibrate and voila!
Notes:
Camera is muted only when watch volume is set to vibrate mode with this patch.
I patched NA3 firmware file, so maybe NA3 firmware installed is required. There are good chances that this file didn't change between MK7 and NA3, let me know if it works on MK7
* reserved *
letama said:
Hello all,
Here is a way to mute the camera shutter/focus sound.
Pre-requisite:
Watch must be rooted to replace the file
Adb working with gear
Installation with adb:
Extract the file on your PC, in adb directory if you don't have it in your PATH
Connect your watch to PC
Type these commands on the PC:
Code:
adb shell su -c mount -o remount,rw /
adb shell su -c mount -o remount,rw /system
adb shell su -c mkdir /tmp
adb push libaudiopolicy_sec.so /tmp
adb shell su -c mv /system/lib/libaudiopolicy_sec.so /system/lib/libaudiopolicy_sec.so.org
adb shell su -c cp /tmp/libaudiopolicy_sec.so /system/lib/
adb shell sync
adb shell sync
adb reboot
Gear reboots
Set volume to vibrate and voila!
Notes:
Camera is muted only when watch volume is set to vibrate mode with this patch.
I patched NA3 firmware file, so maybe NA3 firmware installed is required. There are good chances that this file didn't change between MK7 and NA3, let me know if it works on MK7
Click to expand...
Click to collapse
Worked like a charm! Thank you!
XanoZuke said:
Worked like a charm! Thank you!
Click to expand...
Click to collapse
Thanks for the confirmation
Are you on MK7 or NA3 ?
letama said:
Thanks for the confirmation
Are you on MK7 or NA3 ?
Click to expand...
Click to collapse
Sorry, forgot to mention. I'm on NA3.
Works like a charm on NA3, great job.
Thank you very much.
awesome! works perfectly :victory:
Works on MK7, thanks
Just out of curiosity. What did you patch?
Brutos said:
Works on MK7, thanks
Just out of curiosity. What did you patch?
Click to expand...
Click to collapse
Thanks for confirming it works in MK7!
I patched setSystemProperty("ro.camera.sound.forced", value) function in audio policy dll to be always 0 (it sets the ENFORCED_AUDIBLE:canBeMuted flag to true if you know a bit about the audio policy dll).
I tried to do it in a less "invasive" way, but it didn't work. Patch is rather safe though, audio_policy is not that big and shouldn't change too often.
I'm on BNA3 and it worked perfectly :good::good:
Awesome thanks!
Do people even use the non-vibrate option for their GG? I assumed everyone used Vibrate, negating any sound from the camera.
Where is adb directory?
where can I find the adb directory?
finally, after much googling...
i managed to follow and install the patch..
im not too familiar with linux commands... so, personally, this is the workaround i used...
this video helped me for the installation: http://www.youtube.com/watch?v=KzKbRaYdQ-A
i even downloaded the link in the video, where i got the ADB and keyboard.
instead of installing the keyboard, i copy and pasted every line of the instruction here...
it worked! im in MK7, rooted device. now my camera has no sound in mute mode...
thanks!
Awesome thanks!
Works good using null rom
Works great on latest firmware:
V700XXUBNA6
Can you tell me about how you patched a .so file? We have a problem with the MotoACTV, where the audio input only works for a bluetooth connection, but doesn't work for any usual android function.
Is there any web page I can read about that kind of patching?
These are the files for the MotoACTV, in case you wwant to take a look.
https://github.com/dproldan/android_vendor_motorola_G2/tree/master/proprietary/lib
Thanks in advance
dproldan said:
Can you tell me about how you patched a .so file? We have a problem with the MotoACTV, where the audio input only works for a bluetooth connection, but doesn't work for any usual android function.
Is there any web page I can read about that kind of patching?
These are the files for the MotoACTV, in case you wwant to take a look.
https://github.com/dproldan/android_vendor_motorola_G2/tree/master/proprietary/lib
Thanks in advance
Click to expand...
Click to collapse
Well, I did arm disassembly, locate the location that need patching and changed an arm conditional jump opcode to inconditional.
It works in simple case, your problem seems much more complicated than that. In this case, I'm afraid you'd have to rewrite dll from scratch.
Thanks for the patch. Works great on V700XXUBNA6 :good:
Scann69 said:
Thanks for the patch. Works great on V700XXUBNA6 :good:
Click to expand...
Click to collapse
Agreed, no problem for me, works perfect.
adb?
Hello, I was just about to try this, but I don't understand the adb directory. Where do I find that? Is it from the command prompt on the PC? I just rooted the Gear and installed the Samsung drivers in the process, but I don't know about adb. Where can I find this?
Thanks!
---------- Post added at 07:53 PM ---------- Previous post was at 07:21 PM ----------
Okay, so I found the answer and wanted to put it up here if anyone else is new to rooting like I am. Here is the link on how to use ADB on your pc. It helped me set it up and now this fantastic mod works great!
galaxy-note-3.wonderhowto.com/how-to/install-android-debug-bridge-adb-utility-windows-pc-0149131/

can anyone help me root my coolpad defiant?

Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
rebz408 said:
Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
Click to expand...
Click to collapse
Any luck?
Thank you very much
Jayfreshh said:
Any luck?
Click to expand...
Click to collapse
Did you ever find anything for this device?
remarkablecow913 said:
Did you ever find anything for this device?
Click to expand...
Click to collapse
Nothing as yet still searching, need to do some work on the phone but nothing to start with ?
Jayfreshh said:
Nothing as yet still searching, need to do some work on the phone but nothing to start with ?
Click to expand...
Click to collapse
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
---------- Post added at 04:24 AM ---------- Previous post was at 04:23 AM ----------
remarkablecow913 said:
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
Click to expand...
Click to collapse
Have you tried unlocking bootloader? That's probly most important. If it's locked there is no point tying
remarkablecow913 said:
I know. I can't find Any resources for this phone. I might get brave And see if I can find twrp for same chipset and try.
---------- Post added at 04:24 AM ---------- Previous post was at 04:23 AM ----------
Have you tried unlocking bootloader? That's probly most important. If it's locked there is no point tying
Click to expand...
Click to collapse
Okay if anything works out when you try let me know
The bootloader can be opened in developer mode for this devise if I'm correct
You can unlock bootloader in developer options but from there. I'm stuck and really want to get root and see what "deleted" files I can recover from a factory reset. Anybody ever try twrp for same chipset like someone was talking about doing?
rebz408 said:
Hello guys im new to these forums an did not know where to post at, i got a coolpad defiant (Not the best phone) an i wanted to root it and was seeing if anyone here maybe able to help me out?? ive tried to use kingRoot but not luck on using that method if anyone got any suggestions id really like that, thanks again!
Click to expand...
Click to collapse
[Update Anyone?]
I picked up a Coolpad 3632a yesterday and I've been trying to ROOT it for quite a while nowl; trying Kingroot v5.3.7 without PC, and KingRoot 3.5 on PC both failed to ROOT. I've been out of the loop for quite a while regarding Android devices and OS - the last Android Phone i owned was the LG G3 if i remember correctly. According to the available info I've found searching for Rooting Options for the coolpad 3632a it all seemed almost %100 easily rootable with or without PC mainly using Kingroot.
If anyone was successful in rooting this device (Coolpad 3632a / Android 7.1.1) - please let me know, my main goal is to find a good custom ROM and load it replacing the Bloat/Malware filled phone!
Thanks again to anyone who has taken the time to read and respond with any news (good or bad) on getting this device successfully rooted.
-=Mac3lite=-
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
phonecapone said:
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
Click to expand...
Click to collapse
EDIT: I just obtained temporary root.. seeing if it sticks.
Root for Coolpad Devices
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Yeah that's already what I tried previous to your post. Had zero luck. =/ Also after that point forward for some reason when i try to fastboot i cannot issue any commands and it displays "Secure Phone" at the bottom left of the screen. Whether or not it was due to this I do not know for certain.
phonecapone said:
Yeah that's already what I tried previous to your post. Had zero luck. =/ Also after that point forward for some reason when i try to fastboot i cannot issue any commands and it displays "Secure Phone" at the bottom left of the screen. Whether or not it was due to this I do not know for certain.
Click to expand...
Click to collapse
Does fastboot detect your device ? Or just the commands fail even after detection ?
Also , when your phone boots , does MTKlogger automatically start ?
dwaipayan774 said:
Does fastboot detect your device ? Or just the commands fail even after detection ?
Also , when your phone boots , does MTKlogger automatically start ?
Click to expand...
Click to collapse
It gets detected just the commands fail. There is a white "Secure Phone" line of text across the bottom left. Im going to try loading an sdcard to see if it will auto update anything.
I can't even use Flash Programmer in QFIL or many other apps in QDLOADER 9008 mode. I know the firehose is the correct one yet it never wants to boot. I don't know why.
MTKLogger might have before unless i'm thinking of a different handset here. But as of the moment it doesn't.
No luck with the sdcard. I think it's about time to factory reset this device and put it up for sale. I'll post the firmware here shortly.
Here is the firmware - https://forum.xda-developers.com/android/general/rom-coolpad-defiant-3632a-stock-t3855692
Temporary Root
phonecapone said:
Bootloader Unlock = Not happening on this device. At least yet.
Development = Absolutely none. Means no TWRP/ROMS etc.
Root = Nothing as of 10/10/2018.
Click to expand...
Click to collapse
What did you do? I've been trying for months now.
dwaipayan774 said:
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Click to expand...
Click to collapse
Any chance on a repost of the file?
dwaipayan774 said:
Root for Coolpad Devices
NOTE: I have not tried this on your device but I have tried it on my Coolpad Mega 2.5 D , Coolpad Mega 3 and Coolpad Note 5 lite. You might try to see if this works on your Coolpad Device.
Requirements :
A working ADB setup
Procedureownload the Given Zip File and Extract Them in a folder.
CONNECT YOUR DEVICE TO PC
ALLOW USB DEBUGGING IN DEVELOPER SETTINGS:
OPEN THE FOLDER WHERE YOU EXTRACTED THE FILES AND RUN CMD.BAT
COPY AND PASTE THESE CODES ONE BY ONE IN ADB ....
Or RUN THE SCRIPT IN THE GIVEN FILE
Quote:
adb wait-for-device
Quote:
adb install magisksu.apk
Quote:
adb install rootcheck.apk
Quote:
adb install root.apk
Quote:
adb shell monkey -p com.yulong.openrp -v 500
Quote:
adb reboot
WAIT TILL THE DEVICE BOOTS
OPEN MAGISK APP & COPY AND PASTE THIS CODE :
Quote:
adb shell mount -o remount,rw /system
NOW :
Quote:
adb push magisk /system/bin
IF SUCCESSFUL, TYPE:
Quote:
adb shell magisk su
RUN THIS COMMAND AFTER EVERY REBOOT TO AGAIN GET ROOT ;
Quote:
adb shell magisk su
OR
Update magisk for permanent root.
Download::::::::
https://drive.google.com/file/d/1e1atRg7PQ2JyI8W88g1E9L9NihdGEjqO/view?usp=drivesdk
Click to expand...
Click to collapse
hey the link is dead. could you make a new link?

Categories

Resources