yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] Rebelj12a:
Ok not your usual thread. Have the USB OTG Y cable, drive is getting power, tried using a usb hub as well for testing to see if that made a difference (a forum topic seemed to indicated it did) got the same results.. The drive is recognized by the device in dmesg logs, however on the android logcat it is not. It throws a JNI error. I have logs for both.

Motorola Atrix 2 - Of course

Running Slim-Edison-4.4.2.build.4-UNOFFICIAL-20140330-1804

Build Number: slim_edison-userdebug 4.4.2 KVT49L

JBX Kernel

3.0.31-JBX-3.0-Hybrid-Atrix2-4.4

Dmesg

<6>[ 1445.076751,1] usb 1-1: new high speed USB device number 8 using musb-hdrc
<3>[ 1445.226043,1] usb 1-1: device v0781 p5406 is not supported
<6>[ 1445.226379,1] usb 1-1: New USB device found, idVendor=0781, idProduct=5406
<6>[ 1445.226959,1] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 1445.227508,1] usb 1-1: Product: U3 Cruzer Micro
<6>[ 1445.227813,1] usb 1-1: Manufacturer: SanDisk
<6>[ 1445.228088,1] usb 1-1: SerialNumber: 00009970B101148C
<6>[ 1445.237518,0] scsi6 : usb-storage 1-1:1.0
<5>[ 1446.241394,0] scsi 6:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 6.51 PQ: 0 ANSI: 0 CCS
<5>[ 1446.243743,0] sd 6:0:0:0: Attached scsi generic sg0 type 0
<5>[ 1446.245269,0] sd 6:0:0:0: [sda] 2014079 512-byte logical blocks: (1.03 GB/983 MiB)
<5>[ 1446.245819,0] sd 6:0:0:0: [sda] Write Protect is off
<7>[ 1446.246002,0] sd 6:0:0:0: [sda] Mode Sense: 45 00 00 08
<3>[ 1446.246398,0] sd 6:0:0:0: [sda] No Caching mode page present
<3>[ 1446.246582,0] sd 6:0:0:0: [sda] Assuming drive cache: write through
<3>[ 1446.249450,0] sd 6:0:0:0: [sda] No Caching mode page present
<3>[ 1446.250000,0] sd 6:0:0:0: [sda] Assuming drive cache: write through
<6>[ 1446.252593,0] sda: sda1
<3>[ 1446.260620,1] sd 6:0:0:0: [sda] No Caching mode page present
<3>[ 1446.261169,1] sd 6:0:0:0: [sda] Assuming drive cache: write through
<5>[ 1446.261444,1] sd 6:0:0:0: [sda] Attached SCSI removable disk

Logcat

04-02 13:24:44.954 659 921 E UsbHostManagerJNI: usb_device_open failed

from Services/JNI/com_android_server_UsbHostManager.cpp

static int usb_device_added(const char *devname, void* client_data) {
struct usb_descriptor_header* desc;
struct usb_descriptor_iter iter;

struct usb_device *device = usb_device_open(devname);
if (!device) {
ALOGE("usb_device_open failed\n");
return 0;
}

Through various USB programs the most common error seems to say the kernel recognizes it, the linux system has the pointers and classes but the Android side does not recognize it. Therefore it can only be mounted.

This also appears for regular plugged in usb devices as well mice, cameras etc.

Test was duplicated on original 4.0.4 rooted, PacMan Rom, and LiquidSmooth. Respective kernels that came with those roms as well.

I've attempted to do alot of research into getting this to work. Any help would be appreciate thanks!
[Motorola Atrix 2] Rebelj12a:
More info, connected ADB and dumped logs.

dumpsys

DUMP OF SERVICE usb:
USB Manager State:
USB Device State:
Current Functions: mtp,adb
Default Functions: mtp,adb
mConnected: false
mConfigured: false
mCurrentAccessory: null
Kernel state: DISCONNECTED
Kernel function list: mtp,adb
IOException: java.io.FileNotFoundException: /sys/class/android_usb/android0/f_mass_storage/lun/file: open failed: ENOENT (No such file or directory)

Could this be Kernel related? Running 3.0.8, Cyanogenmod 11 Unofficial Edison 2014-03-27

Kernel : 3.0.8g-2763615-dirty

At this point im thinking maybe it wont work on 4.4.2 possibly? May need to go with 4.3 or lower? Or do I just need to go searching for a different kernel? I mean ive tried two so far and no luck. BTW Pacman rom listed previously was 4.3
[Motorola Atrix 2] Rebelj12a:
Now on Paranoid Android 4.2 [4.4.2] Beta3

PA_Edison-userdebug 4.4.2 KVT49L

Anyone have anything? Firmwares that have worked kernels that have worked for them? Anything?

I mean ive even tried 3 different ways of hooking it up.

-Powered usb hub.

-OTG Y cable

-OTG Cable with Manual 5v power to the cable itself.
[Motorola Atrix 2] Rebelj12a:
Ok so nobody has anything? Is this something that just does not work at all with the Atrix 2?

Current trying Mokee 4.3 August 26th build. No dice, JBX kernel install is next.

Again if anyone has any experience with this I'd appreciate it if only to send me off in the right direction or just to confirm it doesnt so I can stop trying. Thanks
[Motorola Atrix 2] Rebelj12a:
OK nevermind then.

Thanks to some great support from Chainfire who created USB Host Diagnostics app for android. I was able to search for successful OTG test instances on the Atrix 2. Looks like the only successes documented in the database were for the stock 4.0.4 Atrix firmware and lower. No support or success for anyone who submitted on custom roms.

Good basepoint, ill be going from there in figuring out how to get it to work.

In case anyone new is wondering. Atrix 2 does NOT have USB OTG working for any custom at all. Even with powered usb otg host cable. No configuration will work at all. Must be something that never made it to the custom roms at least from 4.3 onwards.

For now you will have to have stock firmware and custom kernel for said stock firmware.

Thats all for now. Hopefully those searching will find this useful at least.
[Motorola Atrix 2] Rebelj12a:
UPDATE - Solved see this thread.
[Nexus 7 (2013) Q&A] crs353:
So I have modified my 02 mitsu galant so that I have a double din slot. I have it planed to put my nexus 7 2013 in the dash, but I'm worried about the battery. I dont want it to blow up or what not in the heat or the cold. ( I could care less if it ruins the battery I just don't want a car fire ) lol. So should I take it out before I install it? if so is there any mods I can install so that when there is power to the unit it auto boots up since I can not get to the buttons? If you have any recommendations please let me know.
[Nexus 7 (2013) Q&A] JustZaphod:
Use an Inverter..
[Nexus 7 (2013) Q&A] pacman1891:
Sounds like a real challenge.

First of all, I am not sure you can boot it without the battery, I know my HD2 won't. I guess you can bypass this limitation by connecting the power directly to the battery connections.

Even if you can boot and use it without battery, the time it takes to boot up is simply too long. You are likely end up using it while driving.

If you leave the N7 on all the time, that means power drain on your car battery while not driving. I think this should be fine for a short while. I guess N7 in idle does not use much power, so it mostly depends on the efficiency of your inverter.
[Nexus 7 (2013) Q&A] douger1957:
See if anything in this thread helps.
[Nexus 7 (2013) Q&A] tni.andro:
With sweep2wake/doubletap2wake enabled, the N7 uses 62mW in deep sleep. Even with a pretty inefficient 12V -> 5V power adapter, you will be well below 100mW. 100mW would drain a 100Ah car battery in 500days.
[Nexus 7 (2013) Q&A] pacman1891:
That's good to know, however, you are describing the best case scenario. In reality:

Your may find the next power drain bug/app has kept your N7 on high power mode all the time. N7 can drain its own battery in less than two hours, that's at least 7w, plus the efficiency of the inverter, it could be 10w on the battery.

You may find yourself in winter (like the one we just had) and there is not much power left in your car battery in the first place.

You don't need to a drain car battery completely before unable to start the car or damage the battery. In fact regular cars use shallow-cycle batteries that were never designed to be discharged below 90~85%. The high numbers marked on the battery is just to provide high output power, not high capacity.
[Nexus 7 (2013) Q&A] malikmoreni:
MAN just use the normal Car Chargers!
[General Questions and Answers] kecahh:
Heyy , which one could i buy ? What i looking for is have a good camera quality and not too expensive .

Lenovo S820 / SGS4 / Oppo N1 / Samsung Mega /

Other suggestion ?

Sent from my Lenovo A369i

Please press the thanks button if i help u , thanks :)
[General Questions and Answers] ArnauGonzalez98:
Sony Xperia L

Luck!
[General Questions and Answers] |>/\nte:
The upcoming sony xperia m2 has an 8 megapixel camera with exmor rs sensor and it can record up to 1080p hd video. As I've heard, its price should be about 220 euros.
[General Questions and Answers] LS.xD:
Just move to --> What phone to buy?
[General Questions and Answers] kecahh:
Heyy thanks ,

Sent from my Lenovo A369i

Please press the thanks button if i help u , thanks :)
[General Questions and Answers] Manke:
Sony Xperia Z1 has a great camera too.

Sent from my HOX+
[General Questions and Answers] Welhipre:
,Dear friend please help me I'm facing problem in my phone Celkon a98 rooted I tried to replace this systemUi and now it doesn't showing status bar, long press app history n screenshot not working so please help me to find out this problem thank you
[General Questions and Answers] LS.xD:
Have you set right permissions? "7-5-5" and owner "root" ? :P

If it doesn't help --> You shoul replace the new systemui.apk with the BACKED UP original.
[General Questions and Answers] Welhipre:
yea but where do i get that permissin to set?? :D:D:o:confused:
[Verizon HTC One (M8)] lucky_strike33:
If the Sprint HTC m8 is carrier unlocked ??

My All New One
[Verizon HTC One (M8)] sfreemanoh:
You may want to try asking in the relevant thread, this is the Verizon thread.
[Verizon HTC One (M8)] lucky_strike33:
Yes I did. No responses yet. Possibly too early to tell. But him getting the m8 speeds things up for s off. Just helping out.

My All New One
[Verizon HTC One (M8)] sfreemanoh:
Gotcha, just making sure you noticed. I know how easy it is to post in the wrong thread sometimes.
[G2 Q&A, Help & Troubleshooting] BLiNKT:
Hello everybody can anybody tell me how play games and use app in full screen size whatever i run i have softkeys on bottom and status bar i have stock kitkat + root i for now use xposed with immersive me module but this module is good but have some bug i try some apps like GMD,Immersive Mode app,AutoHide etc...but nothing help so if there any way to hide softkeys and status bar when play games or use any app

please don't ignore me and help me and sorry for my bad english
[G2 Q&A, Help & Troubleshooting] XxZombiePikachu:
If you are rooted and have xposed, I like to use the immerse me module which forces immersive mode on every app/game
[G2 Q&A, Help & Troubleshooting] BLiNKT:
Yes i use immersive me module + xposed but sometimes immersive me not hide softkeys only status bar so this is reason why i search something other
[G2 Q&A, Help & Troubleshooting] XxZombiePikachu:
That's odd the only time I see the softkeys are there is when I'm using the keyboard
[G2 Q&A, Help & Troubleshooting] AyDee:
I use "App Settings" module in xposed. You have to set it for each app but it works great for me.
[Huawei Ascend P6, Mate] PulseDroid:
Huawei said no. PulseDroid said YES!

Hi guys, I've got it right to enable ART on the new B506 CN Firmware!

Wait how..?

Well, when Huawei said they wont give us ART since it is too unstable, they were to lazy to edit the source code, so all they did was hide the "select_runtime" section in Smali. - Unfortunately for them PulseDroid knows Smali.

They've also modified:

libart.so
libart-compiler.so
core-libart.jar

To act as if they are complete, but it's basically unfinished code.

So what I did was recompile those three from www.github.com/android and edited the development settings smali to show the option in settings.

​
[Huawei Ascend P6, Mate] PulseDroid:
How to get ART

Don't flash this after a clean install, Settings.apk will stop, since it will be the first time loading the ROM and won't recognize the change in apk's. Flash the ROM first, go through the setup, then reboot at flash this.

____________________

Make sure your device is on B506, it will crash other versions.

Download this zip

Flash the zip via TWRP

Reboot

It will say "Android is upgrading", two apps will upgrade.

Go to Settings -> About -> tap Build number seven ( 7 ) times.

Go to Settings -> Developer options -> Select runtime -> Select ART

Reboot ( Boot will take some time )

It will say "Android is upgrading" and upgrade all of the apps ( This will take some time )

Seriously it uses a modified Settings.apk / Provider.apk if you flash this on a Rom not based on B506 you will have problems.

____________________

Revert to stock ( First select Dalvik again )

I wouldn't be able to say if this is Placebo, but it feels really, really fast. NOTE:- Benchmarks wont show improvement since they test Dalvik, not art!

Thanks to [MENTION=3862405]SpaceCaker[/MENTION] for the idea to compile from github.com/android

If you add ART this way / with my zip , please credit me :)

Have fun!
[Huawei Ascend P6, Mate] Ajith Prabhu:
So... How do we enable art ? And is it really that fast ? What about gaming performance ?
[Huawei Ascend P6, Mate] amonev:
Great news :good:

The question now is how to do this? :)
[Huawei Ascend P6, Mate] Ajith Prabhu:
Ohh godd.. Please don't tell me this is an April fools joke
[Huawei Ascend P6, Mate] amonev:
Tell her, that this thread is with high priority :D
[Huawei Ascend P6, Mate] PulseDroid:
Lol, would be funny as hell! :P But no :)
[Huawei Ascend P6, Mate] relvas18:
can install install that with Stock Firmware Huawei KitKat B506 CN by surdu_petru ?
[Huawei Ascend P6, Mate] PulseDroid:
That's what it's made for. Yes.

BTW: B506 is stock, Surdu only modded it a bit, like added Root and made it flashable.
[Huawei Ascend P6, Mate] amonev:
It's not a placebo! It's really insane!!!

Thanks!!!
[Huawei Ascend P6, Mate] PulseDroid:
Right?!

Opening apps and transitions are like WHAAT.
[Huawei Ascend P6, Mate] cpx07:
It can be used with any rom that has b506 as base? Thanks
[Huawei Ascend P6, Mate] taaeem:
Is it stable because it will have a reason why they disabled it I think, on beta art doesn't work why it is working here but hidden?

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] PulseDroid:
It didn't work here either, I recompiled some stuffs to make it work. - I don't yet know how stable it is, haven't used it long enough.

Although I agree it is not quite perfect yet, I think the reason Huawei keeps this from us could be linked to the same reasons we have slow performance, no LTE even tough we could, etc.

Yes.
[Huawei Ascend P6, Mate] amonev:
I don't know why is hidden, but it work like a charm! It just FLY! Browser is opening and loading Facebook in just 2 sec. and this is when so many other apps are started!
[Huawei Ascend P6, Mate] RicardoA:
Will try that now! wondering about gamming performance :)

A question: since with ART rom performs faster, also batery drains faster with art enabled?

For gammers: how to get a bit more FPS's: Control your Ascend P6 through Init.d -> http://xdaforums.com/showthread.php?t=2580436

thanks PulseDroid!
[Huawei Ascend P6, Mate] PulseDroid:
As said before I don't know yet, will check and report back.

But seriously now, I am wondering why it is so much faster, could this have been the P6 problem all along? Bad Dalvik support or something.. hmm.
[Huawei Ascend P6, Mate] thex24:
Whatsapp plus is working? Would be great thx so far
[Huawei Ascend P6, Mate] PulseDroid:
Just found out something: Don't flash this after a clean install, Settings.apk will stop, since it will be the first time loading the ROM and won't recognize the change in apk's.

Also after a bit of play it doesn't seem as fast anymore, will install some games and see how it goes.
[Huawei Ascend P6, Mate] savudragosh2:
Thank you PulseDroid for your work.

I folowed the steps and installed.

For me the results are not spectacular. I didn't seen any changes in speed. In games it is a litlle better but not more.

Maybe do another restart of the system or wipe cash?

I have seen that your results after ART where WOW so why not for me too? I followed the exact steps and installed.

PulseDroid maybe you can give me more advices?

Thank you and congratiolations for your work.
[Huawei Ascend P6, Mate] PulseDroid:
I agree, seems slower now, asif once all the apps are loaded it's basically back to normal. Hmm.

Also, settings crash when you want to connect to wifi, that's my fualt.

It's late I'm going to bed, will create Devdb with bugtracker and so on so that we can get this thing working better.

As of now, goodnight.
[Huawei Ascend P6, Mate] kabirjedi:
Mate!

ART no magictoolbox.

Use more than 1 week.

ART vs Dalvik:

ART-.Better battery

Smoother run,faster app start.

Sorry for my horror animal lang :D
[Huawei Ascend P6, Mate] Hotfingers:
Thanks for this clever solution.

Just some feedback - after enable ART, 2 CPUs were stuck at 1000. Reboot fixed the problem.

Loving how responsive the phone is :)
[Huawei Ascend P6, Mate] PulseDroid:
Cool glad it's working for you.

Can you connect to wifi, or does settings forceclose?
[Huawei Ascend P6, Mate] mister-gwada97one:
[MENTION=4425071]PulseDroid[/MENTION] It's working well for me thank you. My phone is now more responsive. I can actually connect to wifi without no issue and no settings force close.

Thanks !
[Huawei Ascend P6, Mate] savudragosh2:
[MENTION=4425071]PulseDroid[/MENTION]

If i want to go back to the stock because wifi not working how can i do it?

I have to reflash stock ROM again?
[Huawei Ascend P6, Mate] PulseDroid:
I will quickly create a zip. :)

How strange, but cool. On what ROM are you? "[ROM P6][V2] EMUI 2.0▐║╪ HYD52ROM ╪║▐ ►► Fastest & Stable ROM ◄◄" ?
[Huawei Ascend P6, Mate] mister-gwada97one:
Yes that's what I'm using. I'm on V2.
[Huawei Ascend P6, Mate] PulseDroid:
How did you flash it? Anything specific?
[Huawei Ascend P6, Mate] PulseDroid:
[MENTION=3989962]savudragosh2[/MENTION]

Revert to stock

What that does is just push the old Settings.apk, since the problem sits there.
[Huawei Ascend P6, Mate] amonev:
I have no prolems with Settings.apk too. Everything is working fine. I'm on stock B506 from Surdu_Petru.

Battery drain is normal till now. Today I'll test it more to see is it better or worse than stock power drain with Dalvik.
[Huawei Ascend P6, Mate] Hotfingers:
I can connect to WiFi, and Settings do not Force Close.

_But_ I did do some changes after I installed the leaked ROM (and before I flashed your zip).

I followed these instructions that I got on a forum here at XDA (but I forgot where): -

1. You must be ROOTED

2. Having installed the app Root Explorer

3. with Root Explorer app, go to the folder "data" and see the contents of custom.bin

4. You must remember the contents of this file. Example "globe/ph"

5. Go to the root folder, using the Root Explorer

6. Go to the folder Cust.

7. Rename the folders according to the content of step 3. Example: rename folders "channel" to "globe" then the folder within "cn" to "ph"

8. After that go back to folder "cust" and rename the folder "cmccchannel" to "cmcc*****" then the folder within "cn" to "**". Example: "cmccchannel" to "cmccglobe" and "cn" to "ph"

9. Perform Factory Reset using stock recovery.

This made the settings for my notification toggle work correctly; it also gave me stock Huawei boot animation.

Then I re-installed TWRP recovery so that I could flash zips when needed.

Some more feedback about ART for me: -

Just checked my Antutu score It is now 16134!

(The highest I got before was about 15200)

The phone seems cooler when I play games that used to heat it up.

I don't know about battery life yet, Only just started my day.
[Huawei Ascend P6, Mate] PulseDroid:
What version of Antutu you using?
[Huawei Ascend P6, Mate] edward0181:
Works like a charm. Much obliged
[Huawei Ascend P6, Mate] Hotfingers:
The about screen says "AnTuTu Benchmark 4.3.3"
[Huawei Ascend P6, Mate] PulseDroid:
Strange how some ( Mine including ) Wifi FC's and others works. Hmm.

Ok thanks. Seems Antutu still tests Dalvik, which will lower your score, meaning it could maybe be even higher.
[Huawei Ascend P6, Mate] Hotfingers:
Wow. Happy to hear about AnTuTu score :)

There is another thing that is strange: - I cannot use the latest TWRP by surdu_petru (2.6.3.7) I have to use version 2.6.3.5

I don't know how this all connects up (or even if it does connect up).

The software for our device definitely seems to be "immature" - not enough error handling so little funnies in the settings of different phones give weird end results.

I'm just glad there are people interested in developing for the phone. For me this means we'll get mature software with time.
[Huawei Ascend P6, Mate] PulseDroid:
What happens when using 2.6.3.7?

Hotfingers you from SA?
[Huawei Ascend P6, Mate] cpx07:
[MENTION=4425071]PulseDroid[/MENTION] :Just followed the installation steps . the switch appears in the dev area. After I select use art the phone needs to restart but after restart no android is updating an when I go to the settings area it's still set to use dalvich so the setting is not kept after reboot. Any feedback? I'm on hyd52 v2 based on b506 and twrp 2.6.3.7 + plus exposed installer(if matters)
[Huawei Ascend P6, Mate] PulseDroid:
Uhm. Hyd52 is Deodexed right?
[Huawei Ascend P6, Mate] savudragosh2:
Antutu score 15900 vs 15088 before.

Please update thw zip so we ccan connect with wifi.

Thank you again for your work you people are awosome for making out devices run better.
[Huawei Ascend P6, Mate] cpx07:
Hmmm I don't know. It's not mentioned in the ROM description but I think its deodexed...
[Huawei Ascend P6, Mate] edward0181:
I thought xposed didn't work with huawei running on ART?
[Huawei Ascend P6, Mate] mister-gwada97one:
Nope, I did nothing specific.

Put zip in internal storage, flashed, reboot, went to devloper options and selected ART. That's it.

---------- Post added at 05:11 AM ---------- Previous post was at 05:08 AM ----------

Yes, it seems to be deodexed.
[Huawei Ascend P6, Mate] PulseDroid:
[MENTION=4238674]cpx07[/MENTION]
[Huawei Ascend P6, Mate] amonev:
I have found only these bugs:

1. There is a "Force close" in Settings -> "Manage apps" /only here, everything else in Settings menu is working/

2. Root explorer is not working -> Solution -> I've tried many versions, but only 3.1.4 with ART support is working /flashed via TWRP/CWM recovery/

ps - battery drain is normal, like good old B122 /maybe even better/ which is good thing:good:
[Huawei Ascend P6, Mate] cpx07:
Thank you that was it, i have uninstalled xposed and then Art enabled but now i have all kinds of FC meesages from Tapatalk and Setting, will try i clean install without installing xposed and see if how it goes. thanks
[Huawei Ascend P6, Mate] PulseDroid:
The settings FC is my fualt, the rootexplorer is becuase the app doesn't support ART yet.

See guys, this is why Huawei disabled the feature, since most apps need some tweaks to work, once the developer updated his app it should work fine.
[Huawei Ascend P6, Mate] xman9491:
WOW, so great, yahoo
[Huawei Ascend P6, Mate] Cocagy:
Good to hear good news from you guys , is there any custom rom contains the fix files and modifications ?

i think it will be nice to have one
[Huawei Ascend P6, Mate] savudragosh2:
helloo dont want to bee unpatient but cood you update the zip file sow it will not force closed anymore WIFI?
[Huawei Ascend P6, Mate] PulseDroid:
I could, but I am not going to. #Sarcasm

If I had a fix I would push it. >.<
[Huawei Ascend P6, Mate] savudragosh2:
Point taken. You are right.:laugh:

---------- Post added at 08:08 PM ---------- Previous post was at 07:54 PM ----------

From what i saw all the people that had problems with WIFI F.C. are using base B506 chinese . Those ho do not have any problems are using custom ROMs.
[Huawei Ascend P6, Mate] cpx07:
Does anyone know if titanium backup is compatible with art? I can't install it and i can't add any widgets on nova prime it gives setting fc, in the stock huawei launcher widgets are ok
[Huawei Ascend P6, Mate] RicardoA:
Nova Prime wont run wen i set runtime to ART, so i think "Nova" needs an update...

About titanium i dont know.
[Huawei Ascend P6, Mate] savudragosh2:
I installed the fre version and it runes ok. In free version i can only back-up one app per time so i give up. But it runs. I dont now about the pro version.

Seara buna.