yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] punitthereddevil:
Is there a CWM version that can work with backups on a USB storage device...?

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Ace42:
Don't believe this was ever asked, but does anyone think this otg mod would be compatibile with this micro sd reader?

https://shopmeenova.appspot.com/st/p/m3r.html

http://www.kickstarter.com/projects/andyfei/mini-microsd-reader-for-android-smartphones-and-ta
[Nexus 4 Original Android Development] punitthereddevil:
Tried already...doesn't read micro SD...mouse is detected fine...but no SD cards...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5

---------- Post added at 11:36 AM ---------- Previous post was at 11:32 AM ----------

Edit : I was talking about ziddeys kernel mod...haven't checked out the links u posted...sorry...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Ace42:
I was really hoping that gadget would be accepted by the hardware. :banghead:
[Nexus 4 Original Android Development] punitthereddevil:
I checked out the link u posted...they themselves have mentioned clearly "it will not work with any device not listed here"...

And they have dropped out the N4 even though the other nexus devices are included...

So I don't think it works...and like I said, SD ain't working even with ziddeys mod...so I don't think there's anyone else who can make it work...at least not yet...

Its also included in their FAQs...n4 not supported...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Ace42:
Yeah I read all that, though I was hoping by some miracle that this patch would fix its support.
[Nexus 4 Original Android Development] punitthereddevil:
I'd wish that too...I have a 16gb SD from my old phone which I use to keep backup...if that could directly work on the phone, my job would have been much easier since I dont have access to a computer...

And guess what, my friend has an s3 here which is able to read the SD on his old nokia phone...without taking the SD from the nokia...!!

Unlucky us...!!

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] adidas007:
But he must be still on android 4.1 :P
[Nexus 4 Original Android Development] punitthereddevil:
:D

Nah...I convinced him to root and use a custom ROM...so he's on illusion ROM based on 4.2.2...

I'm like the rooting agent in my hostel...:P

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5

---------- Post added at 09:37 PM ---------- Previous post was at 09:27 PM ----------

The small JWR66Y update to 4.3 that's rolling out has brought very minor changes...is it significant enough to be a problem to ziddeys kernel...? Will ziddey have to work on a new build again...? If its gonna be a problem, I'll not update it...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] feeq13:
How do i create scripts for not charging? Can someone teach me please. Can i use controller with it?
[Nexus 4 Original Android Development] blankit:
Noob question here, but is it possible to have an external memory on the nexus 4. Such as a small memory dongle that you can attach through USB and have extra memory
[Nexus 4 Original Android Development] ritchea:
The kernel works fine after the update, but getting the update after modding with the kernel took a bit of work. Post #1785. However, simply fastboot flashing the new image should work. That was my next step after running ziddey undo.zip, restoring both stock kernel and recovery only to have no successful upgrade. But, the revert-to-stock.zip linked by akiv worked.
[Nexus 4 Original Android Development] punitthereddevil:
I dint get the revert-to-stock.zip part...

Here's what I have in mind...

1. backup all apps with titanium

2. Flash ziddeys undo zip

3. Flash JWR66Y factory image from Google's site...via ADB...

4. Restore all apps

5. Flash ziddeys kernel

Have I got it right...? Where do I fit the revert-to-stock.zip...?

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] ritchea:
I'm not the expert, but I think that will work. I'm not even sure you have to run the ziddey undo zip but do it anyway. Again, not the expert, but I think if you delete the "userdata" file from the image folder, you won't lose your data. Check here as it is rpeated that all you have to do is run the system image from the image-occam-jwr66y folder after extracting all.

What I discovered after several unsuccessful attempts to flash the update (TWRP with one of the zip's posted--both with root and without; then reverting to stock kernel and recovery and unrooting to accept the OTA), is that somehow the system had been altered. The only thing I did to this stock rom was run franco's then ziddey's kernels. akiv pointed me to a "revert-to-stock.zip" that had been created to remove SystemUI.apk changes made by the MODS in that thread. It worked. I kept root and successfully flashed efrant's zip. This is really simple so you might want to try it first. . Afterward, all I had to do was reflash ziddey as everything else was the same (remember, I had reverted to stock kernel which isn't necessary); but, run a nandroid first, anyway.
[Nexus 4 Original Android Development] punitthereddevil:
So returning to stock kernel is not necessary...

Then all I need to do now is flash akiv's zip to revert systemUI.apk...then flash efrants zip...and I'm done...?

Is efrants zip the same 1.8mb update that shows up in system updates...?

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] ritchea:
efrant's is the same. He says: "People can also flash the attached file. It should work even if you have root. I just removed the problem lines in the install script. Flashable in custom recovery only, not stock, and you will keep root."

I flashed the zip akiv linked to. I used the odex version. If you are deodex, choose that one. Then, I flashed efrant's zip and the update flashed. If it doesn't work, I think all that will happen is a failedmessage in recovery. Nothing will be changed. (It happened to me at least 6 times with many explorations!) I was in the process of downloading the JWR66Y from Google when I read akiv's message.

Of course, I can't promise it will work; it did for me. If it doesn't fastboot flash the image.

I missed about stock kernel. I don't know. I had already reverted to stock kernel thinking I needed to to get the OTA. I'm fairly certain i read that this update doesn't do anything related to kernel. efrant: "Generally speaking this[no OTA with custom kernel] is true, but for this particular OTA update, you can get away without having a stock kernel, and there is nothing in the update that checks/patches the kernel."

EDIT: Read post 1756. I don't know if it means if you are de-odexed, you can't flash the zip or simply that the OTA will not run.
[Nexus 4 Original Android Development] punitthereddevil:
Sounds simple enough...I'll give it a try...if something should go wrong, I have a nandroid ready...or like u said, fastboot flash...

Thanks...:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] marhensa:
i think i already made it clear with those pics and explanation.. :)

it's usb hub with 4 ports which goes to usb devices,

1 port goes to USB OTG cable then plugged into N4.

and a plug hole for 5V DC adapter.

------

Cataclysm Mako 4.3 + Franco 176

it's pretty much stock-smooth with tons of useful and nice features.

i hate to be a rom preacher, but you should try it..

ps: it would cure your flashing habit if you had one :D

------

yes, only one goes to OTG cable > N4,

plus 4 ports to USB devices.

FYI i tried with keyboard and mouse, it works too.. :)

for the brand, it's just cheap generic chinese usb hub, with powered dc adapter.

Sent from Android device using Tapatalk 4
[Nexus 4 Original Android Development] punitthereddevil:
I managed to get it working on my stock 4.3...built my own otg cable with external power source...

Couldn't find a powered USB hub like the one your using...mouse works fine for me...haven't tried the keyboard yet...

BTW do u know a way to use a SD card reader with the otg...?

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] marhensa:
i havent tried sdcard reader, but my older device (GNex) could read sdcard reader just fine as long as it's usb.

i think N4 + 5V adapter + this mod also could read that.

Sent from Android device using Tapatalk 4
[Nexus 4 Original Android Development] punitthereddevil:
I'm using the wall charger to supply the 5V...SD card not being read...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] ziddey:
JWR66V 4.3.0 2013.08.24 0234ET: ziddey-otg-r178-08240234.zip Disable modversions, enable kernel wakelock stats-- rebase to Franco r178.

JSS15J 4.3.0 2013.08.24 0238ET: ziddey-otg-r178-JSS-08240238.zip Disable modversions, enable kernel wakelock stats-- rebase to Franco r178.

Maintenance release with a few adjustments to kernel config.

Aside about modversions / Touch Control: I believe this breaks support for the previously made Touch Control modules for my kernels. I misunderstood how modversions worked, and assumed enabling it would make things easier on module devs. I'm imagining that any new TC modules made for analogous official Franco kernels should work here. Other than that, I don't use TC so I can't comment on it.
[Nexus 4 Original Android Development] keyra74:
that was fast :)

i'm waiting for my Y cable to try usb host anew
[Nexus 4 Original Android Development] shalom06:
finally got my cable and bham it works thankyou so much:good:
[Nexus 4 Original Android Development] :
Touch Control works perfectly well. Thanks a lot.
[Nexus 4 Original Android Development] punitthereddevil:
Efrant's zip dint work for me...I'm still odexed...guess I'll do it via fastboot flash...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] ritchea:
My USB card reader (powered through PC USB) works on Gnex and nexus 7 but not on n4. Early in this mod development, sga999 posted success using powered USB reader.

---------- Post added at 05:24 AM ---------- Previous post was at 05:15 AM ----------

I was curious if it would work. I think the only difference in our set-ups is that I had reverted to stock kernel. Now I'm really confused as to why the zip didn't work.
[Nexus 4 Original Android Development] punitthereddevil:
So if I flash revert to stock zip > stock kernel JWR66Y > Efrant's zip, it should work since it did for u...I'll give it a try...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Javier.D:
[MENTION=584916]ziddey[/MENTION] have you tried to add kexec Support to the kernel for Oblikas' multiboot?, thanks ;)

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] ritchea:
At this point, who knows? However, if that works, it should help others.
[Nexus 4 Original Android Development] oblikas:
Anyone knows how I can use a normal OTG cable ? No Y cable
[Nexus 4 Original Android Development] punitthereddevil:
U can't...n4 cannot supply the necessary 5V for the USB device to be detected...so you'll have to supply that power from an external source for which you need a y cable...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] shalom06:
does anyone know how to get otg to work in recovery? dosent seem to work for me.
[Nexus 4 Original Android Development] ziddey:
http://xdaforums.com/showthread.php?t=2412689

Will add to first post soon
[Nexus 4 Original Android Development] punitthereddevil:
I got the mouse cursor showing on the screen...soon was wondering if I could play fps games with mouse support...

Anyone tried this...? If yes, then temme which games work...I don't want to buy a game and then repent if it doesn't work...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] :
Wohoooooooo! My self-made USB Y Cable works flawlessly. It works on top of my favorite kernel. What can I ask for. I'm jumping for joy! Thanks a lot guys.. Wohoooooooo!

Nexus 4|PA 3.99|Franco Kernel
[Nexus 4 Original Android Development] punitthereddevil:
I know exactly how ur feeling right now bro...I built my own cable a few days ago too...:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] :
I bet, bet.. Cheers!

Nexus 4|PA 3.99|Franco Kernel
[Nexus 4 Original Android Development] adidas007:
My self built cable worked flawlessly for 2-3 weeks but after that I guess some circuiting issue happened and burnt down my pendrive. Thank god nothing happened to my phone. Remember to get your wires soldered, I hadn't done any soldering maybe that's why the data cable strands touched the live wire strand :(

And the company offers no warranty on such burnt out pendrives (Transcend 32Gigs)
[Nexus 4 Original Android Development] punitthereddevil:
Woah...!! That's bad bro...

I've gotten mine soldered...but I'm gonna make another one soon...this one is very crudely made...I've made sure there ain't any chance for short circuits...but its very ugly and weak in its build...and I've a lot of old cables lying around uselessly...

Anyways thanks for the heads up...:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] adidas007:
I would suggest you order a cable from ebay.com , it cost around 2.5 to 3$ with free shipping to India. Though the cable took 45 days for delivery :P
[Nexus 4 Original Android Development] punitthereddevil:
I can try do...I can use this one for the 45 days...thanks...:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] shalom06:
Ive had a bad experience with self made cables (old phone motherboard fried) hence id suggest getting one from ebay,compact nd better
[Nexus 4 Original Android Development] punitthereddevil:
How did the motherboard get fried...? I mean I don't understand what fried it...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] aoaleman:
Thank you, [MENTION=584916]ziddey[/MENTION]! This works great with PA 3.99. You have solved my storage problems with my nandroids. Thank you very much for all your hard work and contribution. :good: :)
[Nexus 4 Original Android Development] oblikas:
Anyone tried to mount otg in recovery?
[Nexus 4 Original Android Development] Javier.D:
You can use this recovery, it works perfectly ;) http://xdaforums.com/showthread.php?t=2412689

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] oblikas:
Yeah,I want to fix otg in MultiROM
[Nexus 4 Original Android Development] shalom06:
otg Y cable was connected to wall charger suddenly heard a zap motherboard fried..
[Nexus 4 Original Android Development] muzadull:
http://www.wikihost.org/w/nexus4otg/start

Do you think there might be a problem with the voltage regulator?Because from what i've understood from this link is that the Nexus 4 recognises that a USB device has been disconnected.So it recognised the device, the problem should be elsewhere like the voltage regulator?

Can a patch like described in the link be used for the nexus 4?
[Nexus 4 Original Android Development] ziddey:
"Last edit:

Feb 5, 2013 3:21:49 PM"

Yes, pin5 detection is working for slimport, but not for otg as a result. I don't have too much time these days, but a good direction to proceed would be to compare our code against that flo's (N7 2013), which has essentially the same hardware but with working otg.
[Nexus 4 Original Android Development] muzadull:
If I could understand stuffs in kernel development I would certainly help.Thanks anyways for your quick answer :)

Edit:Nexus 7 drivers seems to be fully updated while nexus 4 one seems imcomplete.What happens if we replace the drivers?(They use the same Analogix ANX7808 slimport but same power management??)
[Nexus 4 Original Android Development] geokilla:
I have a question regarding the OTG cable. With the Nexus 4 price drop to $199, I'm looking to switch over from my Optimus G. However the lack of internal storage space and expandable storage is a problem. This is where OTG comes into play. Instead of uploading everything to the cloud like Google and a lot of tech companies want us to, I'd rather carry a flash drive with me. Can I use this OTG mod with a 32GB USB3.0 flash drive which has my movies and music stored? The OP states that the USB device needs to have its own power source. This picture indicates that it should be possible, but I'm not 100% sure on that.
[Nexus 4 Original Android Development] :
Seems interesting..

Nexus 4|PA 3.99|Franco Kernel
[Nexus 4 Original Android Development] punitthereddevil:
The cable in the picture doesn't seem to have its own power source for the flash drive...so it won't work since the phone won't g into host mode without some current passing through the drive...

Moreover, presently this method doesn't support SD card readers...I've tried with 16gb flash drive and a mouse...both work absolutely fine...a guy here named marhensa (I think that's how its spelt) has managed to make external hard drives work, by connecting them via a powered USB hub...

Bottom line is, u need to have the "otg cable with external power source" or u can use the combination of "a regular otg cable + USB y cable ( with one USB A female and 2 USB A males)"...

If such a cable is not available in your country, u can build your own cable easily...here's the link to the tut...

http://xdaforums.com/showthread.php?t=1828032

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5

---------- Post added at 08:59 AM ---------- Previous post was at 08:57 AM ----------

Can CWM work with otg too...?

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] geokilla:
But if you look at the picture, it shows that the card reader is powered on. You can see the blue LED. And we all know that card readers don't have their own power source. Reading the reviews, it seems that I don't need my own power source... It's just that there will be higher than normal battery drain?

Another video.... which leads me to think that my thinking is correct. http://www.youtube.com/watch?v=gZwPgyiEb84
[Nexus 4 Original Android Development] punitthereddevil:
It the picture, its a Samsung phone which natively supports OTG...so there's power flowing to the connected drive too...but on the nexus 4, its the hardware limitation...the phone battery can't supply power to the drive...that's why we need the external power source...

I too followed the androidcentral link to understand the scenario with nexus 4...its been given pretty clearly there...just one mistake I wanna point out...its mentioned there that we need a deodexed ROM to flash and run ziddeys kernel...a deodexed ROM is not required actually...I'm on stock 4.3 odexed and the kernel is running flawlessly...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] geokilla:
Really? That I did not know. So that means I have to carry a power pack AND my USB flash drive, mouse or whatever else I want to use via OTG.
[Nexus 4 Original Android Development] punitthereddevil:
Exactly...easy mobility is the only thing we gotta sacrifice...unless u have an extra battery pack...

But its still a good feature to have...I needed this feature solely for a way to keep backups without access to a PC...coz I don't have one...especially since nandroids on nexus 4 take up a whooping 1.2gb...so having a nandroid on a flash drive gives me more space on the phone...and they can be restored directly from the drive too...via OTG supported recoveries...presently only TWRP supports this...u can find a link to it a few posts ago...

I'm more of a CWM person...hope that supports too someday...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Sillik:
Hello,

I don't agree. I tested this with a card reader and it works. I could read a micro-sd just fine...

I inserted the micro-sd before pluging it in the phone, don't know if it makes a difference.
[Nexus 4 Original Android Development] punitthereddevil:
Really...?:eek:

That's great...how did u do it...? Are u using anything else...? Stickmount or anything...? Coz I've been trying for a while now and I've had no luck so far...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Sillik:
I used nothing but this mod and a Y cable.

Maybe it depends on the card reader? Mine is a small cheap one from the supermarket. I don't remember the brand but will look it up when I'm home tonight...
[Nexus 4 Original Android Development] punitthereddevil:
I tried with a simple cheap card reader too...dint work...the order of connecting matters sometimes...temme what u follow...I'll give it a try...

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5
[Nexus 4 Original Android Development] Sillik:
This is what I did:

- put the card in the reader

- plug the reader in the Y cable

- plug the powered USB cable in the Y cable

- plug the Y cable in the phone
[Nexus 4 Original Android Development] punitthereddevil:
K...so plugging to the phone is the last step...I'll try...thanks bro...:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66V | ZIDDEY'S OTG KERNEL | CWM RECOVERY 6.0.3.5