Has anybody seen this???
http://forum.xda-developers.com/showthread.php?p=29479707
All credits to the original developer.m just sharing....
Press thanks if i helped...
Sent from my GT-I9003 using xda app-developers app
loneagl said:
Has anybody seen this???
http://forum.xda-developers.com/showthread.php?p=29479707
All credits to the original developer.m just sharing....
Press thanks if i helped...
Sent from my GT-I9003 using xda app-developers app
Click to expand...
Click to collapse
that was super ****ing awsome...! Unfortunately I am currently busy in some work outside home. I will test it after few hours. Can anybody provide loading modules for rom ddlf2 urgently???
Edit : I am suspicious whether it will work or not because of this information provided in that thread
I am adding this here as this should work on any android device with support in the kernel for USB OTG and mass storage
Click to expand...
Click to collapse
vishal24387 said:
I am using galaxy i9003 with 2.3.6 stock rom rooted with cf root kernel. My installed kernel dont support for usb otg. Then will it be possible to use this app to enable usb otg in my phone with help by loading modules???
Edit : where are modules???
Click to expand...
Click to collapse
Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).
I think you need to find and load the modules yourself before using the application.
Skander1998 said:
Any phone with either in-built mass storage support, or custom kernels or having required modules (for stock kernel).
I think you need to find and load the modules yourself before using the application.
Click to expand...
Click to collapse
Ya I read that. Can anybody provide me necessary modules for DDLF2 rom??
can we use these modules??
forum.xda-developers.com/showthread.php?t=1244744
vishal24387 said:
Ya I read that. Can anybody provide me necessary modules for DDLF2 rom??
Click to expand...
Click to collapse
or xwlf2
Vishal, I gave u the ddlf2 modules by facebook, but I pase it here... http://www.mediafire.com/?laky21qc651oo3g
luiseteyo said:
Vishal, I gave u the ddlf2 modules by facebook, but I pase it here... http://www.mediafire.com/?laky21qc651oo3g
Click to expand...
Click to collapse
oh wow...thanx buddy. Just a quick question that I am using XDA_BAM v14fix cf root kernel. Do I need to install a saperate busybox OR its already included in kernel???
Edit:- It does not contain necessary modules of usb otg. Amit once provided me all modules necessary for usb otg but they are for xxkph. You can find those old modules in the thread whose link I have posted in above post.
vishal24387 said:
oh wow...thanx buddy. Just a quick question that I am using XDA_BAM v14fix cf root kernel. Do I need to install a saperate busybox OR its already included in kernel???
Edit:- It does not contain necessary modules of usb otg. Amit once provided me all modules necessary for usb otg but they are for xxkph. You can find those old modules in the thread whose link I have posted in above post.
Click to expand...
Click to collapse
Argg i thought u needed modules folder under system. If i can do anything more just tell me please
Sent from my GT-I9003 using xda app-developers app
luiseteyo said:
Argg i thought u needed modules folder under system. If i can do anything more just tell me please
Sent from my GT-I9003 using xda app-developers app
Click to expand...
Click to collapse
Oh surely buddy. I am always thankful to u Do u have usb otg cable???
I don't think that building the modules is enough, that's what amit and DooMLoRD tried to do.
Anyway, if you really want to try it, I built the modules (they should work with every universal kernel, but I didn't try them).
link: otg.zip
CF-root kernels provide a minimal busybox, but sometimes it's not powerful enough. For example Droidwall doesn't work so well with it.
I usually use this installer, a reboot is required after the installation of busybox (not the app).
I can't do more than this.
EDIT:
I can see that the app uses fuse.ko and ntfs.ko too: otg-2.zip
EDIT 2:
I forgot to strip them to make them smaller: otg-stripped.zip. These are just smaller and this zip contains all the modules. This is not a flashable zip.
loSconosciuto said:
I don't think that building the modules is enough, that's what amit and DooMLoRD tried to do.
Anyway, if you really want to try it, I built the modules (they should work with every universal kernel, but I didn't try them).
link: otg.zip
CF-root kernels provide a minimal busybox, but sometimes it's not powerful enough. For example Droidwall doesn't work so well with it.
I usually use this installer, a reboot is required after the installation of busybox (not the app).
I can't do more than this.
EDIT:
I can see that the app uses fuse.ko and ntfs.ko too: otg-2.zip
EDIT 2:
I forgot to strip them to make them smaller: otg-stripped.zip. These are just smaller and this zip contains all the modules. This is not a flashable zip.
Click to expand...
Click to collapse
Like always thanx buddy Your modules loaded successfully But as expected that usb otg app is not working May be our phone does not deliver any voltage to external device. Cant we change anything in kernel to give power by phone to external usb device???
Edit:- A little OT info I from u. I have installed busybox that u have suggested. When I open busybox then it shows lots of files need to install. But I purpisefully didnt installed it. Last time when I tried to install those files my phone was bootlooping Why it happens??? If I want to install busybox from busybox installer then which stable version of busybox should I install from busybox installer??
I guess the latest one:thumbup:
Inform us about the results, good luck
Sent from my GT-I9003 using xda app-developers app
vishal24387 said:
Like always thanx buddy Your modules loaded successfully But as expected that usb otg app is not working May be our phone does not deliver any voltage to external device. Cant we change anything in kernel to give power by phone to external usb device???
Click to expand...
Click to collapse
You should know it:
http://forum.xda-developers.com/showpost.php?p=26821044&postcount=279
http://forum.xda-developers.com/showpost.php?p=27082149&postcount=284
Maybe it's possible to make it work with every kind of USB device, but you need to wait for someone experienced.
Anyway I tried the app just to see if the modules are automatically loaded. It loaded only fuse.ko and it showed "NTFS support" even if I didn't add the module. When I did it, it showed "read-write" even if I added only "read" capabilities. Maybe it loads them in the wrong order.
If someone is interested, I found this: http://talk.maemo.org/showthread.php?t=65232
I don't know if it works, but a female to female USB adapter is cheaper than a USB OTG cable and these Nokia cables (CA-101D) are quite common. Don't blame me if it won't work as USB OTG cable.
vishal24387 said:
Edit:- A little OT info I from u. I have installed busybox that u have suggested. When I open busybox then it shows lots of files need to install. But I purpisefully didnt installed it. Last time when I tried to install those files my phone was bootlooping Why it happens??? If I want to install busybox from busybox installer then which stable version of busybox should I install from busybox installer??
Click to expand...
Click to collapse
The list of files are actually symlinks (they use no space). If you don't add them when you want to use a busybox tool, instead of typing only the name of the tool, you need to type "busybox" too. For example, if you want to use "cat", you have to type "busybox cat". It shouldn't be a problem if you don't add them, but I install busybox because I use some of its tools, so I had always added them. Maybe apps need them.
Anyway, read this (taken from here):
Chainfire said:
Installing busybox over the included version on GINGERBREAD ( CF-Root versions >= 3.0 )
It is possible to install a custom busybox over CF-Root v3.0 and newer. However, this is not without risk. CF-Root makes heavy use of scripting, and many CF-Root scripts rely on the internal busybox version. If you do install a seperate busybox version (always use "stericson" installer!), install it to /system/xbin. Installing it to /system/bin will mess things up for sure. Even if you do that part right, it may still break CF-Root, so make sure to make a backup before trying.
Click to expand...
Click to collapse
Maybe the problem was that you didn't have enough space in /system and busybox was not completely copied.
I can't remember which version I used, but all the versions provided by stericson's installer should be ok.
loSconosciuto said:
You should know it:
http://forum.xda-developers.com/showpost.php?p=26821044&postcount=279
http://forum.xda-developers.com/showpost.php?p=27082149&postcount=284
Maybe it's possible to make it work with every kind of USB device, but you need to wait for someone experienced.
Anyway I tried the app just to see if the modules are automatically loaded. It loaded only fuse.ko and it showed "NTFS support" even if I didn't add the module. When I did it, it showed "read-write" even if I added only "read" capabilities. Maybe it loads them in the wrong order.
If someone is interested, I found this: http://talk.maemo.org/showthread.php?t=65232
I don't know if it works, but a female to female USB adapter is cheaper than a USB OTG cable and these Nokia cables (CA-101D) are quite common. Don't blame me if it won't work as USB OTG cable.
The list of files are actually symlinks (they use no space). If you don't add them when you want to use a busybox tool, instead of typing only the name of the tool, you need to type "busybox" too. For example, if you want to use "cat", you have to type "busybox cat". It shouldn't be a problem if you don't add them, but I install busybox because I use some of its tools, so I had always added them. Maybe apps need them.
Anyway, read this (taken from here):
Maybe the problem was that you didn't have enough space in /system and busybox was not completely copied.
I can't remember which version I used, but all the versions provided by stericson's installer should be ok.
Click to expand...
Click to collapse
Really thanks for such detailed information I think usb otg feature is not simple as it looks It needs heavy coding, modding & dedicated talented developer. But still I will try with a usb power hub.
Can anybody tell me at what price a cheapest usb power hub I will get in indian local market? Or at what price I will get a cheapest usb y cable in indian local market??
vishal24387 said:
Like always thanx buddy Your modules loaded successfully But as expected that usb otg app is not working May be our phone does not deliver any voltage to external device. Cant we change anything in kernel to give power by phone to external usb device???
Click to expand...
Click to collapse
If our phone is not delivering any voltage to external device can we use device with external power source? I have an external hard drive with power source but dont have USB OTG cable to try out.
vibhorrr said:
If our phone is not delivering any voltage to external device can we use device with external power source? I have an external hard drive with power source but dont have USB OTG cable to try out.
Click to expand...
Click to collapse
hummm...good. But I think external hard disk will be too heavy to connect to a small phone. I wil suggest u to connect a small pen drive using usb power hub. But still u can try ur expernal hard disk just for a try.
For otg wire take a look here
http://forum.xda-developers.com/showpost.php?p=28611969&postcount=266
I have attached my modded usb otg cable.
@ loSconosciuto
Can u take a look at this log file of otg helper app??forum.xda-developers.com/showpost.php?p=29545801&postcount=10
vishal24387 said:
@ loSconosciuto
Can u take a look at this log file of otg helper app??forum.xda-developers.com/showpost.php?p=29545801&postcount=10
Click to expand...
Click to collapse
There's nothing interesting there, I can only see the modules are loaded.
To see if USB devices are connected I'd use a busybox tool: lsubs
Code:
insmod /system/lib/modules/usbcore.ko
# after that connect your USB device and type
lsusb
If there's no output from lsusb, there's nothing detected. Maybe other modules are needed.
Maybe building a kernel with this config could do something, I don't know.
All our custom kernels are built with this one instead. But after that probably we need a way to swtich mode etc... I'm not good enough for this, I don't even care about USB OTG :silly:, it's something I would never use.
dhiru already said that he will look into it, you have to wait.
loSconosciuto said:
There's nothing interesting there, I can only see the modules are loaded.
To see if USB devices are connected I'd use a busybox tool: lsubs
Code:
insmod /system/lib/modules/usbcore.ko
# after that connect your USB device and type
lsusb
If there's no output from lsusb, there's nothing detected. Maybe other modules are needed.
Maybe building a kernel with this config could do something, I don't know.
All our custom kernels are built with this one instead. But after that probably we need a way to swtich mode etc... I'm not good enough for this, I don't even care about USB OTG :silly:, it's something I would never use.
dhiru already said that he will look into it, you have to wait.
Click to expand...
Click to collapse
Thanks buddy. You have great knowledge. As compared to u I am totally a noob :silly:
Anyway I think I should wait for dhiru to wotk on usb otg
Related
I think all of you PS3 owners here already know about the Jailbreak tool that allows you too execute unsigned code on the PS3. That opens the console for a lot of homebrew possibilities(mplayer port maybe?). The source code for the exploit leaked and a dev called KaKaRoTo managed to get it to be executed from a N900. Yesterday KaKaRoTo released his souce code and today someone already ported it to the Palm Pre. This quick port was possible because the N900 and Palm Pre both share the same USB controller(mUSB) which happens to be the controller used by the Droid/Milestone.
Here is some info from KaKaRoTo's blog:
Q: How hard is it to port it to a new device ?
A: Well, I’ve just separated my code from the N900 specific stuff, so it’s quite easy, there are mainly two functions to write, one to get and one to set the USB address.. two other functions that only return some static result depending on the configuration of the controller (the name of the endpoints, and whether the controller supports high speed or full speed mode).
Read the README file provided with PSFreedom, and check the psfreedom_machine.c file for specifics on what to implement.
Q: How can I port it to a new device.
A: Well, first, you need to figure out what controller your device uses, in the case of the N900, it’s ‘musb’..
Then go to the driver code for that controller (probably in drivers/usb/gadget) and look for ‘SET_ADDRESS’. In the case of musb, it was in drivers/usb/musb/musb_gadget_ep0.c. In there it was setting the address to the USB device, so just copy that code into the psfreedom_machine.c to allow setting the address, and add a similar function to be able to retreive the address.
Then add a function to return 0 or 1 depending on whether the controller supports HIGH, FULL or LOW speed mode (go to usb_gadget_register_driver for your controller, and in the first lines, it should validate the speed argument, it will tell you which ones are acceptable), set LOW speed mode to return TRUE only if FULL speed isn’t available .
Finally, add a function to return the endpoint names.. it will usually be something like ‘epXin’ and ‘epXout’ (where X is the endpoint number), or “epXin-bulk”, etc.. look at how the driver initializes its endpoints or grep for “->name” in the file to find where it sets it…
That should be enough!
Ok this is it for now with the FAQ. Next time, I’ll tell you all about my experience, what problems I encountered and how I fixed them, maybe it will help others!
Click to expand...
Click to collapse
http://kakaroto.homelinux.net/
Some people over the HTC Desire boards are already working on a port but Desire's controller is a different one(MSM72K) so they might take some time and it will be of no use for us
http://forum.xda-developers.com/showthread.php?t=772795
So, any dev here willing to give it a try?
according to zzg in the desire forum, this is what you need to do. no source changes.
Well you don't really need any changes to get it compiled against Droid's kernel, a quick and dirty way by looking at psfreedom's make file:
make -C /path/to/droid/kernel/source M=/path/to/psfreedom/source ARCH=arm CROSS_COMPILE=/path/to/android_ndk/tree/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- EXTRA_CFLAGS=-DENABLE_MUSB_CONTROLLER modules
Click to expand...
Click to collapse
You can get the source from motorola.
Has anyone been successful with the exploit?
On the wiki it shows that it's in progress, but no info on who is working on it
hxxp://psfreedom.com/wiki/index.php?title=Device_compatibility_list
The guys over in the Milestone thread are beginning to get somewhere it seems, and someone in the desire thread said they've almost got the Milestone version working.
Not sure it means anything to the droid-ers though
Ahhhh I want a Droid version! I wish I could code!
Patiently waiting for the Motorola Droid Port....
Anybody know who is working on milestone/droid port?
desolateone1 said:
according to zzg in the desire forum, this is what you need to do. no source changes.
You can get the source from motorola.
Click to expand...
Click to collapse
Tried that. It didn't work, though I'm not familiar with configuring kernels. I have a compsci degree, but I just haven't ever played with them. Didn't figure it'd be as simple as this but thought I'd give it a go for the community... anyone want to give me a new clue?
Edit: I configured the kernel with 'make defconfig'
Where did you get the motorola source kernel?
https://opensource.motorola.com/sf/projects/droid
http://tinyurl.com/droid-ks-ese81
http://android.git.kernel.org/?p=ke...1;hb=34485287cb92a298eb6110926b729bf40bf3ba69
The third link is to the kernel space tree and I took the "snapshot" from there.
Got the NDK from here...
http://developer.android.com/sdk/ndk/index.html
Confirmed working!!!
place linked files on root of sdcard
First do nandroid backup!
Then reboot into recovery fire up adb and
"adb shell"
"#cd /sdcard"
"#flash_image boot boot.img"
reboot into ROM normally
open a terminal
"$su"
"#mount -o remount,rw /system"
"#mv psfreedom.ko /data/psfreedom.ko"
"#insmod /data/psfreedom.ko"
Then do the normal Jailbreak/PSgroove/PSFreedom power off on and quickly hit eject
It will take a little longer to boot (this is good)
Then under the "Game" tab it will show two new icons "/app_home/PS3/Game" and "Install Package Files"
Done using Cyanogenmod 6
Excellent job devs!
Links: hxxp://dl.dropbox.com/u/8949251/psfreedom.ko
hxxp://dl.dropbox.com/u/8949251/boot.img
freehood4all said:
Confirmed working!!!
place linked files on root of sdcard
First do nandroid backup!
Then reboot into recovery fire up adb and
"adb shell"
"#cd /sdcard"
"#flash_image boot boot.img"
reboot into ROM normally
open a terminal
"$su"
"#mount -o remount,rw /system"
"#mv psfreedom.ko /data/psfreedom.ko"
"#insmod /data/psfreedom.ko"
Then do the normal Jailbreak/PSgroove/PSFreedom power off on and quickly hit eject
It will take a little longer to boot (this is good)
Then under the "Game" tab it will show two new icons "/app_home/PS3/Game" and "Install Package Files"
Done using Cyanogenmod 6
Excellent job devs!
Links: hxxp://dl.dropbox.com/u/8949251/psfreedom.ko
hxxp://dl.dropbox.com/u/8949251/boot.img
Click to expand...
Click to collapse
So just to make sure I am understanding correctly you are saying that this method is confirmed working for the droid? If so where did the work come from? Was this recompiled from another platform and if so what is the source?
-Z
zerosignal0 said:
So just to make sure I am understanding correctly you are saying that this method is confirmed working for the droid? If so where did the work come from? Was this recompiled from another platform and if so what is the source?
-Z
Click to expand...
Click to collapse
Yes I have tested and it works, I have already backed up a game, and used the ftp server.
The work came from several people in #PSFreedom on irc.freenode.net
I think you are asking how was the module compiled, afaik it was from a 2.6.32 droid kernel.
Also you should note that when you flash the modded boot image Charging does NOT work you should have adequate battery BEFORE trying and you should flash back to your old boot image with an advanced nandroid restoring the boot image.
freehood4all said:
Yes I have tested and it works, I have already backed up a game, and used the ftp server.
The work came from several people in #PSFreedom on irc.freenode.net
I think you are asking how was the module compiled, afaik it was from a 2.6.32 droid kernel.
Also you should note that when you flash the modded boot image Charging does NOT work you should have adequate battery BEFORE trying and you should flash back to your old boot image with an advanced nandroid restoring the boot image.
Click to expand...
Click to collapse
Awesome! Thanks for the info, I was just wondering where the dev work was coming from. Also thanks a bunch for the boot_image heads up because I was just about to flash it over but wouldnt have been able to test it for a few hours.
-Z
So this may seem like a dumb question but I have the backup manager files and such but am not sure where on the sdcard to place it. Also what is the path you are supposed to use on the hdd (both internal and external) to place backups and write backups?
zerosignal0 said:
So this may seem like a dumb question but I have the backup manager files and such but am not sure where on the sdcard to place it. Also what is the path you are supposed to use on the hdd (both internal and external) to place backups and write backups?
Click to expand...
Click to collapse
Place any .pkg files on the root of a thumb drive thats formated to FAT32
As for backups you can put backups under /dev_hdd0/game/LAUN12345/GAMEZ "This is the path if you are using the original backupmanager.pkg and not some stealth backupmanger"
For games on an external I believe you put a folder named "GAMEZ" on the root of HDD. I haven't tried with external yet, so correct me if I'm wrong.
I will let you know when I get out of work. I have setup and saved my rom with the kernel changes so I can quick change when necessary. Thanks for the update on the file paths as well.
-Z
I'm totally lost right now can someone walk me through on how to do this? I have cm6 on my droid
You essentially are kinda following the same steps for flashing the boot image for getting manual root and some older roms. The instructions are pretty straightforward but make sure that you take a nandroid backup before making any changes.
I am running chevys SS 4.7 rom but I believe the kernel versions should be the same. As soon as I get out of here Ill update with the results.
-Z
What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you
60 views but 0 replies
Someone help me please
just use the search option
EdisDee said:
just use the search option
Click to expand...
Click to collapse
I find just one thread with the same question and that thread also has only 2 posts and the person who made the thread posted saying he found the answer but never mentions what the answer is.
I found something about placing a file in the init.d folder but the file was not specified so if anyone has the file in their init.d folder could they copy it to their sd card, upload it to dropbox or any other file share website and share it with me please.
Help please
I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.
mrvek said:
I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.
Click to expand...
Click to collapse
I did what you said. I am rebooting the phone now and hopefully your help is sufficient
Smonic said:
What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you
Click to expand...
Click to collapse
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.
umangsagar said:
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.
Click to expand...
Click to collapse
I clicked on 'push zipalign' a number of times and then clicked on zipalign data/app but nothing happens. It says zipalign not found. Push zipalign and try again or sth like that. I've rebooted my phone and i'm trying now,
Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.
mrvek said:
Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.
Click to expand...
Click to collapse
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.
umangsagar said:
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.
Click to expand...
Click to collapse
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction
Smonic said:
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction
Click to expand...
Click to collapse
hahhahahha...this tweak is not that difficult to implement..and i guess pretty safe...agree totally to the last line
I thought I'd give this a go. I've moved the first file on the previous page to system/etc/init.d and the second file on the top of this page to system/bin. Is this sufficient?
you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.
umangsagar said:
you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.
Click to expand...
Click to collapse
It's working fine. The apps load up fast and i'm happy Thanks!
So I have a GB 2.3.6 SGS4G but I tried to flash something before that set it into a bootloop and I've been using http://forum.xda-developers.com/showthread.php?t=1822626. (Also just a side note- the above mentioned rom doesn't give root)
But that Rom changed my Kernal to the blastoffv2 kernel from here http://forum.xda-developers.com/showthread.php?t=1828171. Now my problem with this is this kernel doesn't support wifi unless I do
Your rom also must change to use wifi.
You will need to update /system/etc/wifi/wifi.conf, and replace anything that says 'dhd' with 'bcm4329'
Also the module path is: /lib/modules
instead of /system/lib/modules
Click to expand...
Click to collapse
Now I'm a newbie so I don't know how to update that whether I have to navigate through my phone with RootExplorer or what. Exactly how do i replace it?
I would flash another kernel but my SD card is malfunctioning and the phone reads it and can access it, but whenever I try to make changes on it by connecting it to the computer, it doesn't save the changes even though I safely remove everything.** (Most urgent please help!) So I can't use CWM_blue (5.xx) to flash it even if I have CWM.
Also I've spent the last 3 days with almost no sleep just trying to understand Android so please be kind and very specific :crying::crying:
Oh I forgot-- the problem with Odin to flash a new kernel is that Odin doesn't recognize my phone when I plug it in. I've tried using zadig to update my drivers after I plugged it in (download mode + usb debug). I've also tried switching the ports but it still doesn't work. I've tried with Odin 1.7 and Odin 1.85, any suggestions? Do I need a pit file for my phone? Do I require bootloaders for it do work? I'm trying to flash http://forum.xda-developers.com/showthread.php?t=1610528 and then going over to CM9.
I'll be kind
Don't whine
Describe with words, back up with a link. I don't want to have to click three things to figure out what you did
You shouldn't be flashing anything without backing up
You can transfer using adb to your phone. You do have it and Heimdall already installed, right?
"I tried to flash something before that set it into a bootloop" isn't terribly helpful. What ROM are you on now?
Without root, you're not going to be able to remount /system to change anything
Did you read, in big letters, in the post you linked, right in the first paragraph, "This [ROM] targeted towards people that need to go from ICS to stock"
Edit -- Anyone who posts not three, but in six threads on the same problem is beyond me.
Edit -- Copying the search request, http://forum.xda-developers.com/search.php?do=finduser&u=4495723, provides the desired search results, rather than copying the URL from the search results.
This is your third thread on the same issue!
sent from me
itzik2sh said:
This is your third thread on the same issue!
Click to expand...
Click to collapse
you get a big THANKS!
six threads on one issues is desperation, why not just lead the man by the hand? less clutter on your forums
first you need to understand that odin and heimdall use different drivers, odin uses default drivers, heimdall uses open source drivers. EX:
if you have heimdall drivers installed on the USB port you connected your phone to and you're trying to flash w/ odin, it will fail to communicate w/ the phone.
a great suggestion made, was use two different ports, one for heimdall, one for odin, so that a driver switch is not necessary. remember to use your motherboard usb ports, and not from a usb extension.
http://forum.xda-developers.com/showthread.php?t=1936294
post #4, by me, goes over my PERSONAL flashing procedure, i hope it helps
http://forum.xda-developers.com/showthread.php?t=1669364
may i also suggest AntonX's Barebone KJ6, it also comes w/ his kernel, which is 2.3.6 - rooted, UV/OC, voodoo sound, BLN(google the acronyms)to flash this as is, you need to have rooted CWM. May i suggest gremlin remover first? ^first link
http://forum.xda-developers.com/showthread.php?t=1828171
blastoffv2 is a great kernel, i edited my wifi file w/ script manager(google play), which requires root to edit, you must also change the permissions on the folder that contains the file before editing. edit the file, save it, and then return the folder permission settings to default manually.(long press folder in your-choice-root-file-manager, properties, change permissions)
xakuvo said:
why not just lead the man by the hand? less clutter on your forums
Click to expand...
Click to collapse
Because the information has already been provided in the other five threads, if you had read them. He already has been led by the hand. You made suggestions without knowing what had already been suggested, potentially counter to a path he might have successfully been on. More clutter in the threads.
Please let this thread die and direct any responses to one of the previous five threads.
jeffsf said:
Edit -- Anyone who posts not three, but in six threads on the same problem is beyond me.
Click to expand...
Click to collapse
Just for future reference jeff. XDA won't let you link to search results. I'm assuming that's what your "six threads" link was too. This is a new record for sure. I wish the OP luck in fixing this cause if you gotta ask that many times luck is what you'll need.
What app can I use to read/write pendrive via USB OTG?
maxwarp79 said:
What app can I use to read/write pendrive via USB OTG?
Click to expand...
Click to collapse
I reply me: OTG works on Nexus % but is needed a third party app like OTG Disk Explorer (read only, no root) or StickMount (read and write but need root).
So I am trying OTG and found this thread. Can't get it to work. Used stickroot to mount my flash drive. Says its mounted at sdcard/usbstorage/sda1 but when I use gallery or even root explorer, nothing is in there. Dam
chugger93 said:
So I am trying OTG and found this thread. Can't get it to work. Used stickroot to mount my flash drive. Says its mounted at sdcard/usbstorage/sda1 but when I use gallery or even root explorer, nothing is in there. Dam
Click to expand...
Click to collapse
Had the same problem... The phone doesn't have native exfat support so if your flash drive is formatted exfat it'll silently fail. It's vfat or nothing right now.
There are exfat nexus 5 kernels
Sent from my Nexus 5 using Tapatalk
Get exFAT and NTFS drivers....
gtj0 said:
Had the same problem... The phone doesn't have native exfat support so if your flash drive is formatted exfat it'll silently fail. It's vfat or nothing right now.
Click to expand...
Click to collapse
For StickMount on the Google Play page there are instructions for adding exFAT and NTFS drivers. Basically, download a file to the internal emulated sdcard partition....
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount
----- Filesystem support -----
The filesystems supported depends on your device firmware. On most devices, at least vfat/fat/fat32 and ext2/3/4 are supported. On the latest Android versions, ntfs is also supported in read-only mode. Some devices also support exfat out the box, but most do not.
StickMount can utilize the "ntfs-3g" and "mount.exfat-fuse" binaries to add support for ntfs (untested) and exfat, but these are not included. If you place the "ntfs-3g" or "mount.exfat-fuse" files in the root of your internal storage ( /sdcard ), StickMount will automatically use them.
You can find the needed files here:
ntfs-3g: http://forum.xda-developers.com/attachment.php?attachmentid=1145436&stc=1&d=1340293802
mount.exfat-fuse: http://forum.xda-developers.com/attachment.php?attachmentid=806200&d=1323109372
Thanks david i got it to work!
mount.exfat-fuse seems to be read-only. Is there any better solution than this? Like a custom kernal?
xknobi said:
mount.exfat-fuse seems to be read-only. Is there any better solution than this? Like a custom kernal?
Click to expand...
Click to collapse
SELinux is preventing the writes. You can either find a custom kernel that has SELinux set to permissive or disabled instead of enforcing or from a root command line do a "setenforce 0".
gtj0 said:
SELinux is preventing the writes. You can either find a custom kernel that has SELinux set to permissive or disabled instead of enforcing or from a root command line do a "setenforce 0".
Click to expand...
Click to collapse
Great, tried the second method, it works like a charm.
maxwarp79 said:
I reply me: OTG works on Nexus % but is needed a third party app like OTG Disk Explorer (read only, no root) or StickMount (read and write but need root).
Click to expand...
Click to collapse
Recently bought a Nexus 5 and 7 to replace my previous phone and tablet, and the lack of a USB-OTG mount option in the GUI had me stumped for a while. I googled and found your post. I installed StickMount and it's working perfectly on both devices. Both are running stock 4.4.2 (KOT49H) rooted with Superuser 1.0.3.0. Just wanted to say thanks, and say it works great with these versions. :good:
Incompatible flash drives
I've bought 2 pens in the last 2 days that afterall weren't compatible with my Nexus 5. And I can't understand why... The light doesn't even turn on! (of the pen drive).
Can anybody help me? Does the flash drive need to support USB 1.1?
bixorastexante said:
I've bought 2 pens in the last 2 days that afterall weren't compatible with my Nexus 5. And I can't understand why... The light doesn't even turn on! (of the pen drive).
Can anybody help me? Does the flash drive need to support USB 1.1?
Click to expand...
Click to collapse
All USB 2 drives are backwards compatible. That's not it.
Maybe your cable is faulty / wrong.
Sent from my Nexus 5 using Tapatalk
rootSU said:
All USB 2 drives are backwards compatible. That's not it.
Maybe your cable is faulty / wrong.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That's not the problem, I think. I've already used 2 (bought in Ebay tho).
And besides I can't read any flash drive, I can still connect my mouse to it and the phone recognizes perfectly.
I've no idea what is going on here :/
(Already tried USB OTG Helper. The Recovery doesn't recognize any flash drive aswell).
But I've some cheap flash drives that the phone actually recognizes.
bixorastexante said:
I've bought 2 pens in the last 2 days that afterall weren't compatible with my Nexus 5. And I can't understand why... The light doesn't even turn on! (of the pen drive).
Can anybody help me? Does the flash drive need to support USB 1.1?
Click to expand...
Click to collapse
I've not yet got a N5 (in the post) but you remind of an issue with my existing N4 which is if I got USB Debugging mode or (on my N7) certain custom kernel settings like OTG host+charging mode, it interferes with what you're trying to make work.
Or in less words, N5, stock settings, it should "just work" (theoretically, I don't have N5 in my hands), it could be your N5 has a dud hardware (socket,etc) ? As as been said, could be your cable.
I got a OTG USB flashdrive to not carry the cable, works in my N7, N10 just fine and expecting it to also on N5.
On the N5, you need a 3rd party app like stick mount or otg helper, unless you have a special rom or kernel. If they don't work in recovery, that rules out software and settings and if others work, that rules out hardware so it must be the sticks. I've never heard of one being incompatible though
Sent from my Nexus 5 using Tapatalk
bixorastexante said:
That's not the problem, I think. I've already used 2 (bought in Ebay tho).
And besides I can't read any flash drive, I can still connect my mouse to it and the phone recognizes perfectly.
I've no idea what is going on here :/
(Already tried USB OTG Helper. The Recovery doesn't recognize any flash drive aswell).
But I've some cheap flash drives that the phone actually recognizes.
Click to expand...
Click to collapse
nigelhealy said:
I've not yet got a N5 (in the post) but you remind of an issue with my existing N4 which is if I got USB Debugging mode or (on my N7) certain custom kernel settings like OTG host+charging mode, it interferes with what you're trying to make work.
Or in less words, N5, stock settings, it should "just work" (theoretically, I don't have N5 in my hands), it could be your N5 has a dud hardware (socket,etc) ? As as been said, could be your cable.
I got a OTG USB flashdrive to not carry the cable, works in my N7, N10 just fine and expecting it to also on N5.
Click to expand...
Click to collapse
Damn guys, you're being awesome. Many thanks
So, I'll just keep you updated. I've just tried with another cable to go into the recovery to see if that pen I bought is recognized (once again, but with another cable).
Ends up that the phone actually recognized and I'm really happy. I'll try to see what's causing the issue inside of the Android.
I'm using this: C-Rom + Elemental 0.38 (with FastCharge and ExFat support).
I'll try to find what's interfering after the ROM boots. Anyway, many thanks, you were really helpful. What's weird is that the cable I had worked perfectly with the mouse, afterall. Idk why...
bixorastexante said:
I'm using this: C-Rom + Elemental 0.38 (with FastCharge and ExFat support).
.
Click to expand...
Click to collapse
Suspect found - you're using fastcharge, disable that and try again. ISTR when playing with Franco Kernel Fastcharge it warned it would interfere with OTG data.
The above is correct
From the wonders of mobile telephony.
nigelhealy said:
Suspect found - you're using fastcharge, disable that and try again. ISTR when playing with Franco Kernel Fastcharge it warned it would interfere with OTG data.
Click to expand...
Click to collapse
The kernel is not running in recovery. Recovery has it's own kernel, so if this kernel fastcharge was the culprit, there would be no interference in recovery, yet there is.
Also I have elementalx and fastcharge working perfectly with OTG
Q&A for NATIVE OTG Fix For Micromax Unite 2 Kitkat (NO NEED OTG HELPER)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
Needs some work
Thanks for this AWESOME tweak but it is very BUGGY!
It only works only once per reboot and if I remove and reconnect the USB drive, it says "Unfortunately External Storage has stopped" and then "Unfortunately Settings has stopped".
Please fix this asap
It is a MUCH NEEDED tweak for the Unite 2!
EDIT : I can still access the flash drive via ES, but I can't unmount the drive as Settings force closes
Will you mind trying another usb flash drive? As i can mount/unmount as many times as i want. And also no force close.
Edit: ok i can mount/unmount it as many times as i want till the drive is connected through otg cable, once removed, can't mount again till reboot.
Thanx for telling, will look into it.
Edit 2: you can still mount/unmount drives but there will be no notification and no listing in stock file manager, but you can do normal operations using es file explorer.
Anything else, just comment.
Force closing!
Sudeep Duhoon said:
Will you mind trying another usb flash drive? As i can mount/unmount as many times as i want. And also no force close.
Edit: ok i can mount/unmount it as many times as i want till the drive is connected through otg cable, once removed, can't mount again till reboot.
Thanx for telling, will look into it.
Edit 2: you can still mount/unmount drives but there will be no notification and no listing in stock file manager, but you can do normal operations using es file explorer.
Anything else, just comment.
Click to expand...
Click to collapse
I can't unmount as clicking the Storage menu in Settings while the drive is connected, force closes Settings.
Also, File Manager too fc
Galactiko said:
I can't unmount as clicking the Storage menu in Settings while the drive is connected, force closes Settings.
Also, File Manager too fc
Click to expand...
Click to collapse
Which rom you are using and do you have es file explorer?
Updating the patch, download and try this one.
???????
do we need to restart after every use to reuse again??????????
farukhwap said:
do we need to restart after every use to reuse again??????????
Click to expand...
Click to collapse
Nope. Watch the video.
Work only once's
It work's for the first time and after than, when I remove my USB drive and again try to connect to mobile then it doesn't mount. I need to restart if i want to connect it please fix it soon and good work man thanks I appreciate ur work
[email protected] said:
It work's for the first time and after than, when I remove my USB drive and again try to connect to mobile then it doesn't mount. I need to restart if i want to connect it please fix it soon and good work man thanks I appreciate ur work
Click to expand...
Click to collapse
Watch the video.
USB Otg Not Working
Dude I have completed the process as said by you step by step but still usb otg is not working
My unite 2 ( 8 gb version) is rooted and custom recovery is installed ( ctr 2.2)
I flashed the zip u provided but still otg is not working. Why ? can u tell me
Thanks, :good:
I just logged in to thanks you for solving the otg problem., it works great.., though i had a question in mind.., in your video your theme is like android L., how you did that., by using xposed.,? or any other way., coz themer through xposed in not working in mine., and i don't know why., please share it :good:
USB Otg Not Working
Sudeep Duhoon said:
Watch the video.
Click to expand...
Click to collapse
USB Otg is not working in my unite 2 ( 8 GB rom).
I completed the method step by step as you said but still otg is not working.
You asked for logcat output. I am attaching logcat output file.
Plzzz take a look & tell me if it is possible to use otg in my phone & how?
chetan91 said:
Dude I have completed the process as said by you step by step but still usb otg is not working
My unite 2 ( 8 gb version) is rooted and custom recovery is installed ( ctr 2.2)
I flashed the zip u provided but still otg is not working. Why ? can u tell me
Click to expand...
Click to collapse
got the logcat.
sorry for late reply, it's my last semester so i have to concentrate a bit on studies.
anyway, there is no issue that i can see in the log you attached.
when you attach pen drive, can you see any notification? or anything in settings-storage?
Got no notification
Exams ya I can understand
Thats the problem I got no notifications when connecting pen-drive through otg.
Nothing in storage settings, nothing in es file explorer.
Though I saw some videos on youtube in which when user connects pendrive through otg, notification shows but why its not working in mine. My phone is rooted,custom recovery installed, flashed the patch but still nothing.Plzz help me. Yes I am on stock (kitkat) rom.
OTG showing only one time in storage?
@Sudeep Thanks(and also pressed the Thanks button ) for providing the OTG fix. Used your patch v2. successfully fixed the otg. One thing is bugging me. Why does not the system detects the OTG drive second time? Is it the android system? or some bugs in your patch or IT COULD A NEW FEATURE(Like "Hide OTG pendrive from System when you use it Second time").
If we remove the drive without un-mounting will it harm our flash Drives? I normally use the "Safely remove the USB" option.
One more thing, I used TWRP with Materialized theme, when i installed it it was showing error in red lines. There was some lines about the font. and after installing the patch when i press reboot system, the recovery turned 180 and hanged. So had to remove the battery and re-insert it.
Hope you have some free time to fix those error.
Thanks man!!!!!.... Its working on 8gb version
Say Hello
Hello
v2 is it permanent fix
As when i diconected my otg once i had to restart my mobile for again detect it in file manager.did u fix that .
Thanks., much appreciated...
Sent from my GT-N7105 using XDA Free mobile app
hi i have a different device(lenovo a6000).Can you tell me what code to add to vold file.i would like to test it with my device.