[Q] X8 gesture for Kaiser - Tilt, TyTN II, MDA Vario III Android Development

Hi guys! I found pinch to zoom for singletouch device SE X8. It uses the gesture, so maybee we could use the same gesture for our kaiser, cause there was similar thing in WinMo. I wanted to simply follow the tutorial on http://forum.xda-developers.com/showthread.php?t=1004740, but i couldnt find hw_config.sh file anywhere in the system... So maybee anybody could help or make this gesture to work?? Or port it somehow?

Already active and usable in most CM (Cyanogen Mod) builds out there.

zxxxy said:
Hi guys! I found pinch to zoom for singletouch device SE X8. It uses the gesture, so maybee we could use the same gesture for our kaiser, cause there was similar thing in WinMo. I wanted to simply follow the tutorial on http://forum.xda-developers.com/showthread.php?t=1004740, but i couldnt find hw_config.sh file anywhere in the system... So maybee anybody could help or make this gesture to work?? Or port it somehow?
Click to expand...
Click to collapse
Idea of ht_config.sh is a just start some code or any binary on start up. Same effect will get if u put code into init scripts Reason for this is code insmod do install loadable kernel module

PoXFreak said:
Already active and usable in most CM (Cyanogen Mod) builds out there.
Click to expand...
Click to collapse
How!! It didnt seem to do anything vhen pinchin on all newest scoot's cyanogens! Nayways im gonna give it a try If it works we should include it in all builds!!

Related

[REL][Donut SuperFast 1.3 Port][hw3d+wifi working][Root access fix 08.01.10][SCadded]

Do Not Bother xdandroid devs, with fillrate or hw3d being faster on donut than on eclair, plz they are not mages, stuff dont just magically work out of no were
Here is what iv been working on for the past couple of weeks, this was ready before but iv been holding back on releasing it because i was trying to get BT and gsensor fixed or at least attempted to. I figured i wont be able to do it or it will take some more time(if i decide to keep this up to date).Also the system img included is NOT my work it is from HTCClay, the zimage and rootfs.img is from me, what i did to get hw3d on donut was to change the hw3d driver configuration from eclair to donut,for the rootfs i edited and fixed a typo in wpa supplicant part , it was causing wifi to scan and then crash, but now its fixed. This port is not perfect expect bugs
Go ahead and try games and benchmark's this build should be pretty fast.This Rom is based on Cyanogenmod, also donut does not have fillrate bug, so 3d apps and overall system should be faster
I get 4.5mflops in linpack if thats impresive?
Click to expand...
Click to collapse
Screen shots:
Initial Release
Now to the good stuff currently working:
wifi
hw3d
JIT (Working Confirmed by babijoee)
gsm
Data?(i dont have a data plan you have to test for your self)
SDcard
Brightness control
Contacts syncing from SIM
Market (working fine now)
Now whats not working:
BT
gsensor( it works but it seems axis are reversed)
GPS? (probly not havent test so goes in here)
Click to expand...
Click to collapse
[Root access fix][08.01.10]: Place this in Storage Card/andboot/conf and replace the file
http://www.mediafire.com/?sn84lv46b9a244l
Click to expand...
Click to collapse
Update:7.22.10
Added:
AWD launcher
Advance Task Killer
Different Contact app version SIM sync working fine now
AOSP osk, fixes market problems and i also update market app to a newer one
Click to expand...
Click to collapse
Update:7.23.10
Removed some unused apps
Updated zimage to latest one
Still no root, im still looking into this
Click to expand...
Click to collapse
To make shure Hw3d is working fine restart phone after first boot
Compache is disabled on first boot, make shure you activate it in spareparts
Download Link:
Initial Release
http://www.mediafire.com/?z55tvxmb5gldydx
Update 1 07.22.10
http://www.mediafire.com/?zyj8pg53z9q562e
Update 2 07.23.10
http://www.mediafire.com/?e0m32ta3lq0xdn0
Link to original system thread:
http://forum.xda-developers.com/showthread.php?t=654771
Click to expand...
Click to collapse
Also the zimage and rootfs provided are not the latest one, i will try to update the zimage, rootfs i cant because it breaks hw3d for reasons that i dont know
And Last but not Least
Thanks To:
Phh (for teaching me how to compile the kernel and all the quirks that go with it, and ofcourse baring with my noobish knowledge on Android)
Babijoee (helping me figuring out stuff and overall help)
Stinebd (for teaching me how to compile android from source and baring with my noobness, and overall editing and stuff of rootfs)
hamagc
dcordes
Cass
and everyone else i forgot
BTW: this is Unholy from #htc-linux,#xdandroid
reserved for future updates
wooooooooooooooooooo 3rd post
Testing and posting feedback right now
Edit:
I think you should remove the boot command or value
Code:
acpuclock.oc_freq_khz=700000
as some people's device such as my own won't boot on those speeds.
gprs works
A few fs when trying to open app menu
Also you are welcome to steal my startup configs
as i think you shouldn't provide a specific / custom one as other people may want to use this
And it does seem that JIT is enabled
Market works fine
Hrmm no notification/ringtones. Will try a reboot soon
Running neocore crashed phone. Rebooting.
babijoee said:
wooooooooooooooooooo 3rd post
Testing and posting feedback right now
Edit:
I think you should remove the boot command or value
Code:
acpuclock.oc_freq_khz=700000
as some people's device such as my own won't boot on those speeds.
gprs works
A few fs when trying to open app menu
Also you are welcome to steal my startup configs
as i think you shouldn't provide a specific / custom one as other people may want to use this
And it does seem that JIT is enabled
Market works fine
Hrmm no notification/ringtones. Will try a reboot soon
Running neocore crashed phone. Rebooting.
Click to expand...
Click to collapse
thx for the feedback babijoee really apreciate it, neocore works fine here, 18.1 fps with sound,20.9 without sound
I have a little trouble, which comes with the space key on the keyboard and suddenly closes my process: android.inputmethod.latin
So it is impossible to conduct a search or a message of several words.
Otherwise, almost perfect, some delays, but I use it on a Diamond 100.
skypy said:
I have a little trouble, which comes with the space key on the keyboard and suddenly closes my process: android.inputmethod.latin
So it is impossible to conduct a search or a message of several words.
Otherwise, almost perfect, some delays, but I use it on a Diamond 100.
Click to expand...
Click to collapse
witch version are you using?, anyways i will look into that, thanks for reporting it
Edit: osk is working fine here, make shure you are using latest version dated Update 2 07.23.10, and if it the phys keyboard that is also working fine
I use the latest version: 7.23.10.
I will try to clean up properly.
skypy said:
I use the latest version: 7.23.10.
I will try to clean up properly.
Click to expand...
Click to collapse
yea delete data img, start from zero osk should work fine
Sorry for the off-topic, but how did you port this rom from the mytouch.
kdub94 said:
Sorry for the off-topic, but how did you port this rom from the mytouch.
Click to expand...
Click to collapse
search for a guide on touch pro>android development>android cooking
I have been trying for a clean base, same worries, concerns Diam100? French language?
skypy said:
I have been trying for a clean base, same worries, concerns Diam100? French language?
Click to expand...
Click to collapse
im no longer going to keep updating this rom, to many bugs stability issues plague it, JIT makes everything unstable, so i am now in the works of releasing another donut rom, this time its goin to be based on a ASOP rom, it will be themed by me, when its ready i will release it so stay tuned
I trying this build on my Topaz, is good and very fast.
But why WiFi cannot find networks?
DmK75 said:
I trying this build on my Topaz, is good and very fast.
But why WiFi cannot find networks?
Click to expand...
Click to collapse
as i said before you have to use my rootfs, if not wifi will break it is stated very clearly on first post
Donut AOSP released Follow this link http://forum.xda-developers.com/showthread.php?t=739730
test it now post feedback in a few minutes
Ok my Feedback
Compcache -- work
jit ? didnt found any settings oO
headphone -- works
market -- works
widgets -- work
linpack -- 3.4 mflops without overcloack
Mufflon12 said:
Ok my Feedback
Compcache -- work
jit ? didnt found any settings oO
headphone -- works
market -- works
widgets -- work
linpack -- 3.4 mflops without overcloack
Click to expand...
Click to collapse
there is a working and not working list already, and JIT is always on.
i cant sync my kontakt via google oO mail and kalender works !
Mufflon12 said:
i cant sync my kontakt via google oO mail and kalender works !
Click to expand...
Click to collapse
gmail sync if i remeber right worked just fine.

[MOD] Tuned auto-rotation for JS3/5

Is your device changing its orientation to landscape way too quick?
If the answer is yes, read up, here is the solution.
I hate Froyo autorotation on Galaxy S.
It turns into landscape way too quick, even when I'm picking the device from the table.
Since there was no reaction from Samsung, I decided to fix this for them.
This involves decompiling framework.jar file, editing file:
Code:
android\view\WindowOrientationListener$SensorEventListenerImpl.smali
I attached a modified file. I dont exactly know what changes there are, I modified some values at random
For devs:
To be more serious, I decompiled SGS JS3 framework.jar and replaced WindowOrientationListener$SensorEventListenerImpl.smali from DesireHD's eViL-NXSense-HD-v.1.1_BETA (random pick). Having the right implementation of sensor listener i started to tweak it, changing some values.
If you want to tweak it further to your needs, focus on MAX_TRANSITION_TILT, MAX_TILT, PARTIAL_TILT constants.
(forgot to add) For a full reference: http://hi-android.info/src/android/view/WindowOrientationListener.java.html
Three files are attached to this post:
[rotation-fix]modified_JSX-CWM.zip - clockworkmod packages with fixed framework.jar, this is what an user needs
First boot after the update may take up to 5 minutes!
I do seem to have random errors due to firmware fragmentation. If you are a regular user and want this fix, you should rather ask your ROM developer for implementing it in his ROM, because at current state I cant guarantee if its compatible with ANY custom configuration.
auto_rotation_devs.7z original and recompiled framework.jar files form JS3/5 as well as original and patched smali.
//edit: lol accidently voted for front page Just a blind click sorry
On a second thought this might be interesting for more than SGS people, so maybe accident was not so bad.
let me try
not working for me
You mean? Bootloop/no changes?
I need some feedback;
Is this working for you?
Do you like it?
It might be slipstreamed into all current ROMS, you just need to encourage ROM developers to do so
xan said:
You mean? Bootloop/no changes?
I need some feedback;
Is this working for you?
Do you like it?
It might be slipstreamed into all current ROMS, you just need to encourage ROM developers to do so
Click to expand...
Click to collapse
it didnt work at all nothing has change
Sec gotta check update.zip
Was ina hurry yesterday.
Ok the update.zip was borked, replacing.
Hi xan. Good stuff, definitely an improvement over the factory settings.
Thanks for this. Flashing via CWM went flawless.
thanks, I appreciate your feedback
Same fix but on JS5
Hello.
Is there any chance to do same but on the JS5 framework?.
Thanks.
Sure, will upload patched JS5 framework in few hours.
xan said:
Sure, will upload patched JS5 framework in few hours.
Click to expand...
Click to collapse
Thanks, that will be great, because i hate too the auto rotation on froyo and this is what i was looking for.
great work
it a little more quickly,
Unfortunately, not as fancy-rotation
keep it up
It doesn't function at my SGS
Now my rotation doesn't work at all...
Try harder ;p
JS5 version up.
How about a revert back zip if something goes wrong?
I am on JS3, so I should use auto_rotation-FIX-CWM.zip or auto_rotation-FIX-JS5-CWM.zip
Thanks, Froyo's autorotation is pain in the ass.
Look forward to your answer.
Thanks.
Both should work, according to my tests. auto_rotation-FIX-CWM.zip or auto_rotation-FIX-JS5-CWM.zip
If you are familiar with adb, just adb pull /system/framework/framework.jar
I doubt it wont work.. Anyway will look into it.
Is it working on JPY too ?
99% its not.
does it work ok for js5....??? can i restore the previous WITH the original...???
ok, I tried your fix, works fine, but one thing, and that is that mine volulme controls are absolutely messed up :-D
for example, when I click on a side to increase/decrease ringer volume, it says Playing via Bluetooth instead of Ringer Volume, or instead of Media Volume it says Silent Ringtone, etc...
It's quite messed up, I saved my framework.jar before flashing so I am back on my original.
I have JS3 ROM Darky's 9.2.
Any idea what could be the problem?

"GBX0A_Full_Bundle_11.3.2011" Ginger Bread is cool

http://htcandroid.xland.cz/GBX0A_Full_Bundle_11.3.2011.zip
This build have keyboard issue but you can:
1st activate the "Japanese IME" in the input method just to type and do your google account and get you to android market then find and install the "Better Keyboard 8" for free.. Enjoy...
Better Keyboard 8 apk file
Better Keyboard 8 apk file
like it allot however there is still the classic battery issue .. if it wasnt for that i would run it as my main OS instead of win mobile
error
i get an error "cannot open script file \storage card\default.txt"
any idea?
thanx
edit-problem solved
First impressions, after ~ 1 hour of digging:
- seems to run smoother than previous version;
- battery drainage better even than FRX05`s;
- WiFi works OK;
- camera OK;
Using 01277 kernel from here: http://forum.xda-developers.com/attachment.php?attachmentid=536877&d=1299597262
Always freezes on my Blackstone with "Using 01277 kernel from here: http://forum.xda-developers.com/atta...7&d=1299597262" this kernel
I need help!
I was waiting the haret to be done, I calibrated the blackstone, and then it turned on as ginger bread.
The Led was orange and i thought it was problem of android, but I realised that I havent battery and it closed and it couldnt turn on again.
I removed battery and put it back again and when I turned it on, it was back at windows, without any sign of android.
I have to do the haret again or what?
mitikos said:
Always freezes on my Blackstone with "Using 01277 kernel from here: http://forum.xda-developers.com/atta...7&d=1299597262" this kernel
Click to expand...
Click to collapse
Strange. It works for me but I use original GBX0A bundle with 11.3 system and my own kernel/rootfs.
Kernel: http://forum.xda-developers.com/showpost.php?p=11936968&postcount=37
RootFS: http://forum.xda-developers.com/showpost.php?p=12066475&postcount=24
AlexandrosNic said:
I was waiting the haret to be done, I calibrated the blackstone, and then it turned on as ginger bread.
The Led was orange and i thought it was problem of android, but I realised that I havent battery and it closed and it couldnt turn on again.
I removed battery and put it back again and when I turned it on, it was back at windows, without any sign of android.
I have to do the haret again or what?
Click to expand...
Click to collapse
Haret doesn't delete Winmo from your device. Haret just loads Android while removing Winmo from RAM. You need to run Haret every time.
Hi, I installed and it works and has a good look and feel. But i'm stucked on the keyboard problem. Each time I try to write, the keyboard doens't show the keys and I can't proceed. Any help (for dummies) about how to activate the Japanese IME? Thanks
pmachado99 said:
Hi, I installed and it works and has a good look and feel. But i'm stucked on the keyboard problem. Each time I try to write, the keyboard doens't show the keys and I can't proceed. Any help (for dummies) about how to activate the Japanese IME? Thanks
Click to expand...
Click to collapse
on any text input, press longer until there's a menu pop-out to select "Input method" option then choose "Japanese IME"
g3rm0 said:
Strange. It works for me but I use original GBX0A bundle with 11.3 system and my own kernel/rootfs.
Kernel: http://forum.xda-developers.com/showpost.php?p=11936968&postcount=37
RootFS: http://forum.xda-developers.com/showpost.php?p=12066475&postcount=24
Haret doesn't delete Winmo from your device. Haret just loads Android while removing Winmo from RAM. You need to run Haret every time.
Click to expand...
Click to collapse
tnx i'll givi it a try
mitikos said:
Always freezes on my Blackstone with "Using 01277 kernel from here: http://forum.xda-developers.com/atta...7&d=1299597262" this kernel
Click to expand...
Click to collapse
Same here, freeze after a while...
Navigation
Anyone know which Navigation program that is installed with the Froyo version?
Works smooth overall, but got some 3g issues. Anyone else with such problem?
how i can instal this ?
g3rm0 said:
Strange. It works for me but I use original GBX0A bundle with 11.3 system and my own kernel/rootfs.
Kernel: http://forum.xda-developers.com/showpost.php?p=11936968&postcount=37
RootFS: http://forum.xda-developers.com/showpost.php?p=12066475&postcount=24
Haret doesn't delete Winmo from your device. Haret just loads Android while removing Winmo from RAM. You need to run Haret every time.
Click to expand...
Click to collapse
But this means is temporary?
Is there a permanent android rom for blackstone? Or i have to wait?
AlexandrosNic said:
But this means is temporary?
Is there a permanent android rom for blackstone? Or i have to wait?
Click to expand...
Click to collapse
Android now works off the SD card and is not touching Winmo ROM on your device. However it saves settings and stuff and is very usable (I use it on a daily basis). We're working on full NAND rom that will replace Winmo but it's difficult - so no ETA yet.
g3rm0 said:
Android now works off the SD card and is not touching Winmo ROM on your device. However it saves settings and stuff and is very usable (I use it on a daily basis). We're working on full NAND rom that will replace Winmo but it's difficult - so no ETA yet.
Click to expand...
Click to collapse
Ok... Thanks man
Elpoet said:
Works smooth overall, but got some 3g issues. Anyone else with such problem?
Click to expand...
Click to collapse
Can't wake the device up after going to sleep while mobile data is on. Is this a known bug? Also sometimes is not connecting to mobile data at all. Other than that, it's really usable.
g3rm0 said:
Android now works off the SD card and is not touching Winmo ROM on your device. However it saves settings and stuff and is very usable (I use it on a daily basis). We're working on full NAND rom that will replace Winmo but it's difficult - so no ETA yet.
Click to expand...
Click to collapse
I would be so happy if I could use Android on my Touch HD on a daily base, too!
In these threads there are many users as myself experiencing random freezes of the device, in particular if not used for a while.
I have this problem with Froyo version, both X-Red and FX05 builds...
Any advice to avoid the mobile freezes and/or doesn't wake up?
I also tryed changing the sleep parameter to "2", instead "1" but no hope!

[Q] [help]Auto rotate problem

I'm having this problem in any ics and jb roms.
Auto rotate isn't working at all but in games,camera accelerometer works fine.
And in gb autorotate also works
please help me.
Model : Arc S
current rom: Xperia Ultimate HD 3.02
Kernel : KTG
Baseband : 77
Turning it on might help?
Settings - screen - rotate automaticly
Sent from my Xperia Arc S using xda premium
TheHaso said:
Turning it on might help?
Settings - screen - rotate automaticly
Sent from my Xperia Arc S using xda premium
Click to expand...
Click to collapse
that's the first thing i chetk after installing each n every rom.....
any other solutions ??? any patch or something that can help me ?
I tried samsung's "auto rotate hot fix" patch and advanced tools which is mentioned in this topic
http://forum.xda-developers.com/showthread.php?p=25869460
but no luck
Does it work in messages, browser, gallery?
Sent from my Xperia Arc S using xda premium
TheHaso said:
Does it work in messages, browser, gallery?
Sent from my Xperia Arc S using xda premium
Click to expand...
Click to collapse
not working : gallery album walkman etc
working only on camera to capture landscape or portrait and in temple run like games it is working
and if I put ginger bread everything works
no issue on gb
Is there anyone who can help me out ???
it7.phoenix said:
Is there anyone who can help me out ???
Click to expand...
Click to collapse
You might want to ask Jader since he developed the ROM...
僕のLT18iから送られてきた
I have the same problem on my arc s
Stock ics, locked bootloader
I have searched a lot, but couldnt fins any fix
Same Problem | Some extra Info | Help needed
it7.phoenix said:
I'm having this problem in any ics and jb roms.
Auto rotate isn't working at all but in games,camera accelerometer works fine.
And in gb autorotate also works
please help me.
Model : Arc S
current rom: Xperia Ultimate HD 3.02
Kernel : KTG
Baseband : 77
Click to expand...
Click to collapse
Well, I've got the same problem on my ArcS too. Been trying to figure it out for a few days now but no luck so far. Everything stock here, got it with GB, used the PCC to upgrade to .587 and boom, no auto rotate. Currently using Rotation Locker (off market apk) to lock the screen in landscape mode to watch movies etc but it is a pain in the bottom not having it auto.
Tools I used.
1. Advanced Tools aka AT by SCDevs (Found on GPlay)
2. ES File Explorer
3. Eroot 1014 (For testing purposes but has no effect either positive or negative on the rotate problem.)
Some of my findings and let me know if any of you facing the problem have the same things wrong on your phone(s) too.
1. On AT, it lists the devices that are there but the compass is not shown while the accelerometer is. The accelerometer is showing unusual readings, i.e. the normal reading for the z-axis listed by AT is supposed to be 9.8 m/s^2 (i.e. just gravitational acceleration) when laid on a flat surface (& x,y are both supposed to be 0) but mine shows z @ 20 m/s^2 which is the max reading that the device supports.
2. The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively]. All the folders in /i2c-0 parent folder has a symlink "driver" to the respective in bus/i2c/drivers folder. I assume this means that there is no link to the drivers while booting up and this is causing the devices to get cranky. All the other device folders have the symlink to their respective drivers folder and all the other devices are working afaik.
[See Update at the bottom]
3.
I tried samsung's "auto rotate hot fix" patch and advanced tools which is mentioned in this topic
http://forum.xda-developers.com/show...php?p=25869460
Click to expand...
Click to collapse
Yeah, I tried that too but no go.
Like someone else mentioned on that thread, SGS2 has a completely different hardware. You can figure this out yourself (If you have root). Extract the files from the AutoRotateHotfix.zip provided in that thread. Copy the file /system/bin/sensorservice and system/lib/hw/sensors.default.so to the corresponding folders on your phone. The phone will restart automatically ( after copying only one file if you have already started AT but definitely after both). Start AT and then check the list of Sensors on the device and you'll get a completely different list compared to when the stock files were there. Incidentally with the stock files the compass was not being detected at all.
My next steps.
1. Try editing the hw_config.sh file to somehow load the driver after boot or the pre_hw_config.sh or init.rc files for pre-boot/boot process.
2. Try figure out a way to add the symlink in the /sys folders but that seems to be a no go as well since that is an in-memory file system and is automatically mounted by the kernel during boot. Which probably means any changes have to be done on the source level, too much work for auto rotate since I have the rotation locker in hand.
3. Try a different kernel and ROM combo but I'm new to this so I'll need to read up a lot on that. Flashtool for Xperia seems to have capabilities to pack the .ftf files from different ROMs together so that might be a way to go. Maybe a GB kernel and ICS ROM mashup, i don't even know if that will work at all.
Help required from your side.
Check is the stuff I've noted as faulty in my phone is also the same in your phone. While this by no means guarantees that that is in fact the source of the trouble, atleast it is a start.
Hopefully this can be resolved and we can all learn a few things on the way
Updates/Edit
The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively].
Click to expand...
Click to collapse
Checked a ST15i Xperia Mini which has no problems with auto rotate and looks like I was right, so to speak. The Mini has the symlinks in the correct places and according to AT it has the same/similar hardware. The compass chip is AKM8975 as in the Arc S but the accelerometer is BMA250 instead of BMA150 in the Arc S. So if any of you can confirm that those symlinks are missing in your phone(s) then the source of the problem can be confirmed and maybe Sony can be updated about it for a fix, which should be simple enough considering it requires only adding a couple of symlinks. How they managed to miss out on adding them in the first place is a mystery to me as the Mini is all stock and came with the ICS .431 firmware out of the box, so no updates from GB to ICS.
sabeer.abdulla said:
Well, I've got the same problem on my ArcS too. Been trying to figure it out for a few days now but no luck so far. Everything stock here, got it with GB, used the PCC to upgrade to .587 and boom, no auto rotate. Currently using Rotation Locker (off market apk) to lock the screen in landscape mode to watch movies etc but it is a pain in the bottom not having it auto.
Tools I used.
1. Advanced Tools aka AT by SCDevs (Found on GPlay)
2. ES File Explorer
3. Eroot 1014 (For testing purposes but has no effect either positive or negative on the rotate problem.)
Some of my findings and let me know if any of you facing the problem have the same things wrong on your phone(s) too.
1. On AT, it lists the devices that are there but the compass is not shown while the accelerometer is. The accelerometer is showing unusual readings, i.e. the normal reading for the z-axis listed by AT is supposed to be 9.8 m/s^2 (i.e. just gravitational acceleration) when laid on a flat surface (& x,y are both supposed to be 0) but mine shows z @ 20 m/s^2 which is the max reading that the device supports.
2. The compass device (AKM8975 IC) /sys/devices/i2c-0/0-000c does not have a symlink to the /sys/bus/12c/drivers/akm8975 folder. [The accelerometer is 0-0038 & bma150 respectively]. All the folders in /i2c-0 parent folder has a symlink "driver" to the respective in bus/i2c/drivers folder. I assume this means that there is no link to the drivers while booting up and this is causing the devices to get cranky. All the other device folders have the symlink to their respective drivers folder and all the other devices are working afaik.
[See Update at the bottom]
3.
Yeah, I tried that too but no go.
Like someone else mentioned on that thread, SGS2 has a completely different hardware. You can figure this out yourself (If you have root). Extract the files from the AutoRotateHotfix.zip provided in that thread. Copy the file /system/bin/sensorservice and system/lib/hw/sensors.default.so to the corresponding folders on your phone. The phone will restart automatically ( after copying only one file if you have already started AT but definitely after both). Start AT and then check the list of Sensors on the device and you'll get a completely different list compared to when the stock files were there. Incidentally with the stock files the compass was not being detected at all.
My next steps.
1. Try editing the hw_config.sh file to somehow load the driver after boot or the pre_hw_config.sh or init.rc files for pre-boot/boot process.
2. Try figure out a way to add the symlink in the /sys folders but that seems to be a no go as well since that is an in-memory file system and is automatically mounted by the kernel during boot. Which probably means any changes have to be done on the source level, too much work for auto rotate since I have the rotation locker in hand.
3. Try a different kernel and ROM combo but I'm new to this so I'll need to read up a lot on that. Flashtool for Xperia seems to have capabilities to pack the .ftf files from different ROMs together so that might be a way to go. Maybe a GB kernel and ICS ROM mashup, i don't even know if that will work at all.
Help required from your side.
Check is the stuff I've noted as faulty in my phone is also the same in your phone. While this by no means guarantees that that is in fact the source of the trouble, atleast it is a start.
Hopefully this can be resolved and we can all learn a few things on the way
Updates/Edit
Checked a ST15i Xperia Mini which has no problems with auto rotate and looks like I was right, so to speak. The Mini has the symlinks in the correct places and according to AT it has the same/similar hardware. The compass chip is AKM8975 as in the Arc S but the accelerometer is BMA250 instead of BMA150 in the Arc S. So if any of you can confirm that those symlinks are missing in your phone(s) then the source of the problem can be confirmed and maybe Sony can be updated about it for a fix, which should be simple enough considering it requires only adding a couple of symlinks. How they managed to miss out on adding them in the first place is a mystery to me as the Mini is all stock and came with the ICS .431 firmware out of the box, so no updates from GB to ICS.
Click to expand...
Click to collapse
1.My compass is there in AT
my Z-axis shows 21 ( but under 'BMA150 accelerometer' it shows maximum range "9.81 m/s^2"
2.i got no symlink it the /sys/devices/i2c-0/0-000c folder
3.That didnt work for me either
still no luck guys
found something interesting
http://www.slatedroid.com/topic/374...ks-fine-but-screen-doesnt-rotate/page__st__40
post #45
but this app is for bm250 and we do have bm150 so this app isn't working.
and i found one more blog which says install GB and install ics/jb without wiping anything... i did that too but no luck.......
i found something more tempting i downloaded a app "Hi Music" and autorotate is working in this app.....
now im using xperia z jelly bean 3
and as far as auto rotate i just need landscape mode in album/gallery which can be done by playing a video(which stucks screen on landscape till screen locks)
it7.phoenix said:
still no luck guys
found something interesting
http://www.slatedroid.com/topic/374...ks-fine-but-screen-doesnt-rotate/page__st__40
post #45
but this app is for bm250 and we do have bm150 so this app isn't working.
and i found one more blog which says install GB and install ics/jb without wiping anything... i did that too but no luck.......
i found something more tempting i downloaded a app "Hi Music" and autorotate is working in this app.....
now im using xperia z jelly bean 3
and as far as auto rotate i just need landscape mode in album/gallery which can be done by playing a video(which stucks screen on landscape till screen locks)
Click to expand...
Click to collapse
there are many apps for auto rotation
u should try one
and by advanced tools
orientation sensor not detected
magnetic field sensor not detected
and on accelerometer bma150 and z axis is on 22 and maximum range 9.81 m/s^2
Sahaab said:
there are many apps for auto rotation
u should try one
Click to expand...
Click to collapse
name it brother
i'll try
it7.phoenix said:
name it brother
i'll try
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=gpc.myweb.hinet.net.RotationAnywhere
here
by the way have u tried any custom kernel?
try rotation lock adaptive
Sent from my ZL 6502 latest Pac rom using XDA Premium [HD]
yes
my bootloader is unlocked
found another app whoch is great for rotating screen
https://play.google.com/store/apps/details?id=nl.fameit.rotate_license
this can help to select apps to use landscape/portrait screen
it7.phoenix said:
yes
my bootloader is unlocked
found another app whoch is great for rotating screen
https://play.google.com/store/apps/details?id=nl.fameit.rotate_license
this can help to select apps to use landscape/portrait screen
Click to expand...
Click to collapse
Is auto rotation fixed when u use a kernel which is not based on stock?
any kernel on any GB rom(stock/custom) rotation works fine
But in any JB/ICS custom or stock roms with any kernel, auto rotate is not working
it7.phoenix said:
any kernel on any GB rom(stock/custom) rotation works fine
But in any JB/ICS custom or stock roms with any kernel, auto rotate is not working
Click to expand...
Click to collapse
Its not the problem with any ROM. Arc S seems to have different drivers than Arc.
Some lib files u need to take from ur stock rom. It used to come when I flash other device os in my pro. Then, adding few libs will solve that. Dont remember wht...
If I m not wrong, browser autorotation will go to landscape and will not come back to potrait mode... Am i correct?

[Q] double tap to wake?

Hi everybody, I wanted to ask if it's possible to bring this feature in p6's kernel. I find this device very interesting but I can't understand some things...why almost no developing on this phone? And why putting a sooooo old kernel version? I have already read some posts regarding this, but I can't find precise answers..I can't even find out if someone is working on kernel tweaking and AOSP roms or not
gigsaw said:
Hi everybody, I wanted to ask if it's possible to bring this feature in p6's kernel. I find this device very interesting but I can't understand some things...why almost no developing on this phone? And why putting a sooooo old kernel version? I have already read some posts regarding this, but I can't find precise answers..I can't even find out if someone is working on kernel tweaking and AOSP roms or not
Click to expand...
Click to collapse
Maybe you should read more? P6 has signature check when you try to flash custom kernel, recovery etc. Only Huawei can tell us the signature key. And P6 running Qemu ( goldfish emulator) doesnt make the things any easier. There is few guys who had tried to port CM to our device, but with no results.
Still, newest china firmware has unlocked bootloader, but the time shows if it was helpful to develop of P6 or not.
Thank you for the right hint. Now I can understand why, OMG this phone is just crazy, it EMULATES android. Now it could sound so dumb but if it isn't a native android phone..can it run windows phone?
Vivo phones come with the off screen double tap feature as well as a touch gesture feature by which you can jump to apps directly: http://www.youtube.com/watch?v=QzLy9zWO9RA
Ill be disappointed if at least a double tap is not on the Emui 2.0. Its high time

Categories

Resources