[Q] USB OTG Problems on Beanstalk and Ziddey's mod - Nexus 4 Q&A, Help & Troubleshooting

Hi Guys,
I am a noob at Android hacking / modding. I own a Nexus 4 and yesterday I rooted my phone and installed custom ROM. While trying to enable the USB OTG option I am facing certain issues. Kindly find below the steps I have followed till now :
1. Rooted and unlocked my phone.
2. Installed clockworkmod recovery
3. Installed Custom ROM (Beanstalk by He][razor) using the "Install from Zip on SD Card option"
4. After doing all the above I have tried installing the kernel zip files ("Install from Zip on SD Card option" in CWM) given for USB OTG in two different forums :
a. [fk r199] [fk r199-CM] in Ziddey thread : http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
b. [hells-Core-b43] [hells-Core-b43-CM] in justvarshney thread : http://forum.xda-developers.com/nexus-4/development/kernel-patch-hells-core-kernel-otg-t2586524
In both the cases after I bootup, android.media reported errors and my storage was un-mounted. I tried the above given 4 kernels till now. Either case the phone has ran into some problems.
Following is my phone info :
ROM : Beanstalk version 4.4.255-mako
Kernel version currently : 3.4.0-cyanogenmod-g72267ac [email protected] #1
Device - Nexus 4 16gb
Please help me out with the following questions as I cant post in the main thread by Ziddey :
1. Am I installing a kernel that doesn't match with the Android version / Rom Version / Rom type (deodexed / odexed) ?
2. Is this the right way to install a kernel - "Install from Zip on SD Card option" in CWM ?
3. Am I doing anything wrong?
Let me know if any more information is needed to answer my questions and sorry for my poor knowledge about Android.
Regards,
Amogh

Try stickmount from the play store
Sent from my Nexus 5

jd1639 said:
Try stickmount from the play store
Sent from my Nexus 5
Click to expand...
Click to collapse
I just read about the app on Play store it says
The Nexus 4 is not supported - this is an issue with the device, not with StickMount !
Click to expand...
Click to collapse

Can anyone help?

amokspam said:
Hi Guys,
I am a noob at Android hacking / modding. I own a Nexus 4 and yesterday I rooted my phone and installed custom ROM. While trying to enable the USB OTG option I am facing certain issues. Kindly find below the steps I have followed till now :
1. Rooted and unlocked my phone.
2. Installed clockworkmod recovery
3. Installed Custom ROM (Beanstalk by He][razor) using the "Install from Zip on SD Card option"
4. After doing all the above I have tried installing the kernel zip files ("Install from Zip on SD Card option" in CWM) given for USB OTG in two different forums :
a. [fk r199] [fk r199-CM] in Ziddey thread : http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
b. [hells-Core-b43] [hells-Core-b43-CM] in justvarshney thread : http://forum.xda-developers.com/nexus-4/development/kernel-patch-hells-core-kernel-otg-t2586524
In both the cases after I bootup, android.media reported errors and my storage was un-mounted. I tried the above given 4 kernels till now. Either case the phone has ran into some problems.
Following is my phone info :
ROM : Beanstalk version 4.4.255-mako
Kernel version currently : 3.4.0-cyanogenmod-g72267ac [email protected] #1
Device - Nexus 4 16gb
Please help me out with the following questions as I cant post in the main thread by Ziddey :
1. Am I installing a kernel that doesn't match with the Android version / Rom Version / Rom type (deodexed / odexed) ?
2. Is this the right way to install a kernel - "Install from Zip on SD Card option" in CWM ?
3. Am I doing anything wrong?
Let me know if any more information is needed to answer my questions and sorry for my poor knowledge about Android.
Regards,
Amogh
Click to expand...
Click to collapse
I have the similar problem. is there anyone know what the problem is?

amokspam said:
Hi Guys,
I am a noob at Android hacking / modding. I own a Nexus 4 and yesterday I rooted my phone and installed custom ROM. While trying to enable the USB OTG option I am facing certain issues. Kindly find below the steps I have followed till now :
1. Rooted and unlocked my phone.
2. Installed clockworkmod recovery
3. Installed Custom ROM (Beanstalk by He][razor) using the "Install from Zip on SD Card option"
4. After doing all the above I have tried installing the kernel zip files ("Install from Zip on SD Card option" in CWM) given for USB OTG in two different forums :
a. [fk r199] [fk r199-CM] in Ziddey thread : http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
b. [hells-Core-b43] [hells-Core-b43-CM] in justvarshney thread : http://forum.xda-developers.com/nexus-4/development/kernel-patch-hells-core-kernel-otg-t2586524
In both the cases after I bootup, android.media reported errors and my storage was un-mounted. I tried the above given 4 kernels till now. Either case the phone has ran into some problems.
Following is my phone info :
ROM : Beanstalk version 4.4.255-mako
Kernel version currently : 3.4.0-cyanogenmod-g72267ac [email protected] #1
Device - Nexus 4 16gb
Please help me out with the following questions as I cant post in the main thread by Ziddey :
1. Am I installing a kernel that doesn't match with the Android version / Rom Version / Rom type (deodexed / odexed) ?
2. Is this the right way to install a kernel - "Install from Zip on SD Card option" in CWM ?
3. Am I doing anything wrong?
Let me know if any more information is needed to answer my questions and sorry for my poor knowledge about Android.
Regards,
Amogh
Click to expand...
Click to collapse
ygtq_wang said:
I have the similar problem. is there anyone know what the problem is?
Click to expand...
Click to collapse
Try installing the AOSP kernel's in ziddey's thread and not the CM version.

Pointless
tarroyo said:
Try installing the AOSP kernel's in ziddey's thread and not the CM version.
Click to expand...
Click to collapse
Why bother with this as you cannot use the USB stick without an external battery and a Y USB cable? I tried to do this at some point and it seamed too cumbersome to do for the benefit it provides.
If it were the case, that this would work by itself, as it would for a tablet, than it would be useful. But as you still have to carry additional hardware on you to make it work, you could use a PC and a Micro USB to USB cable to obtain the same effect.

Related

[Q] Error code-36 (Can't transfer files) (SuperAOSP Rom)

I have a Nexus One with AT&T and I have SuperAOSP 2.8.4 Rom on it,
2.6.35.10-superaosp-HAVS #36 - Kernel
and when I try to transfer a file to it through USB I get error code-36 on a Mac OSX 10.6.7. I have the SD Card partitioned for the Apps2ext (It's built into the Rom) How can I fix this?
BTW, I would ask the question in the SuperAOSP thread but I don't have enough posts and I'm not about to make random posts to get 10. I've had this account for a while just never posted anything.
Can MOD move this thread to the Q & A section of Nexus One? I didn't notice I couldn't post questions in this thread, thanks in advance.

Gen1, Gen2, TPT, Root, Recovery, Custom Rom, Cyanogen + Windows Flashing explanation.

Guide(/essay) removed as I don't have this phone anymore, so can't update or change the guide with accurate information, which I haven't tested on my own device first Thanks for all the help from others.
..
..
Restoring tpt functionality
..
These are good explanations, very thorough.
I've picked up on a few things that could be added/edited.
1.) Gen 2 is a newer version of the radio firmware, as well as the different memory map
2.) Add Amon Ra Recovery as an alternative to CWM, I know it's not very popular but I find it good for partitioning.
3.) Add link to Mr Pigfish, https://market.android.com/details?id=com.apedroid.pigfish&feature=search_result
4.) On the Flashing ROM's section, I'd also add 'Go into Mounts and Storage and Select Format System'. Not needed, but recommended for the cleanest installation and hopefully fewer problems down the line.
5.) There's the CM7 Converter thing for people to use CM7 on a Gen 1 phone. It can be flashed via recovery.
6.) Add TPT link for Ginger Stir Fry (Over on MoDaCo) since it's popular.
7.) Remove or clarify 'Gen does not matter' under the TPT section, a few may take this that Gen 1 ROM's can be flashed on a Gen 2 device :/
8.) Put warnings/important things in big scary red writing.
9.) Bold and underline the headings e.g. Gen 1/Gen 2, TPT, Root etc.
10.) Personally, I'd say that the Firmware is more similar to the BIOS than Recovery. Recovery is probably most similar to Windows Recovery Environment.
I'm glad you explained what recovery is since it's a bit annoying when people don't know and don't bother to Google it, hopefully they'll read this and understand. I hope you find my comments constructive.
Partitioning your SD Card.
Why?
To create an EXT Partition for A2SD (Not to be confused with the Froyo Apps2SD).
Why do I want this?
For more space on the phone's internal memory and to allow certain apps like widget's to reside on 'internal' memory which may not be available if they were on the FAT32 Partition used by the Froyo Apps2SD method.
How do I do this?
There are a few ways to do this, I found this method the best. I'd recommend doing this before flashing a ROM with a full wipe to avoid issues.
1.) Create a full Backup in Recovery in case something goes wrong
2.) Mount the SD Card on Windows/Linux/Mac
3.) Copy the contents of the SD card into a folder on Windows/Linux/Mac
4.) Download Amon Ra Recovery - Gen 1 Gen 2 Ensure you download and verify you download the correct version. Flashing the wrong version i.e. Gen 1 on a Gen 2 will cause a lot of problems.
5.) Flash it with your existing recovery e.g. Clockworkmod
6.) Go back to Advanced > Reboot Recovery
7.) Scroll down to Partition SD Card
8.) Select Partition SD
9.) Swap Size 0 MB EXT Partition Size 512 MB/1024 MB - depends on the size of your SD card and the number of apps you have.
10.) Press Home to Confirm. ALL Data on your SD will be erased.
11.) Press back and select EXT2 to EXT3 for the best compatibility with A2SD scripts.
12.) Select USB-MS toggle
13.) Drag and drop the ROM you want to flash on your SD
14.) Disable USB-MS toggle.
15.) Flash .zip from SD Card.
16.) If you intend to use CM7 download S2E from the Market to enable A2SD. Tick the first two boxes in the app. Alternatively, if you want to ensure you have enough space for when the Google Backup & Restore happens I've uploaded the APK of S2E to install BEFORE you flash Gapps.
Enjoy.
BTW are you going to post the guide that you wrote in the first post on MoDaCo? It'll get more views there and subsequently be of more use.
If you have any further questions you can find me on MoDaCo with the same username, I'll do my best to help. I'm not a developer either for that matter.
Hello, hedgepigdaniel from modaco here.
Nice guide, I have a couple of suggestions/comments
I don't know if you are aware, but Gen2 blades do have TPT, they just use a different file format (image.bin rather than the .img and .mbn files). There are not as many custom layourts and such around, but I have just put one up for the purposes of unbricking. For that reason, I don't think its a good idea to recommend flashing via windows as protection from a brick anymore (especially because windows flashing goes horribly wrong every so often).
In the rooting section, why don't you link to kalt kaffes modified z4root instead - since it can root Gen2 blades aswell. For Gen2 blades, ROM manager from market is the the easiest way to install recovery.
I've written an unbricking guide in the last few days (that's where the Gen2 TPT is). You are welcome to make use of that if you like.
Glad I finally got enough posts to post in the development section...
..
TPT is not able to change the lowest level firmware file - partition.mbn. If you try to flash a TPT with a different partition.mbn then it just wont flash. You need windows to change the entire firmware. What wbaw has done (and I just repackaged his work as "custom") is create a mixture of files from Gen1 and Gen2, partition.mbn and the few files that have to match from Gen1, and the rest from Gen2. This makes it possible to TPT a Gen1 phone to a mixture that for all intents and purposes is Gen2. wbaw's TPTs can't be flashed to a real Gen2 phone because they have a Gen1 partition.mbn, but It would be equally possible for someone to make the opposite of what wbaw has made - a image.bin TPT with a Gen2 partition.mbn and co and Gen1 everything else (or just with a different partition layout), but no one has yet done so (and I haven't taken the time to work out how). So right now windows is the only way to go back to Gen1 from Gen2, but it doesn't have to be. More to the point, it isn't the only way to re-flash real Gen2 firmware, because I've now put a Gen2 image.bin in my unbricking guide. That's why I wouldn't recommend that people flash anything via windows with the aim of avoiding a brick.
You can use this tool by fonix232 to convert between multi-image TPTs and image.bin TPTs. If you start out with the multi image files from stock Gen2 firmware then you can create a image.bin that will flash on stock Gen2 phones as I have done.
EDIT: jsut to clarify, It's still fine to flash via windows as per my guide if you want to be able to flash all the TPTs that are out there on forums now, or to repartition or enable fastboot, its just not necessary as a safety measure.
Not sure if this is the best idea for 'n00bs' but there's an excellent partition tool for custom partitions.
http://android.modaco.com/topic/337...ol-windows-only/page__p__1672185#entry1672185
By Ricardopvz
It works with the Windows Flasher and the TPT's.
Instructions for use:
1.) Open the program
2.) Drag the sliders or enter values for the partition layout you want
3.) Press Create files
4.) Open the TPT .zip
5.) Navigate to the directory with "partition_zte.mbn" and "appsboot.mbn"
6.) Replace the existing "partition_zte.mbn" and "appsboot.mbn" with the new ones.
Done.
Also, add How to flash the Gapps package/Where's my Market gone and difference between Stable, Nightlies etc. under the CM section since some people can't be bothered to Google it.
1.) Place the gapps file that you downloaded on the root of your SD Card
2.) Reboot into recovery
3.) Select Flash .zip from SD Card
4.) Confirm
5.) Reboot
6.) Done
What's the difference between Stable, Nightlies, Experimental and Alpha?
Stable versions are those where all known issues have been addressed and resolved. This version is for everyday use.
Test / RC versions are similar to the experimental versions, but are in the final stages of testing before being "stable". There may be a few bugs left, but this version is usually stable enough for everyday use.
Experimental / Alpha versions are those where new features are being added, modified, and tweaked, and there are known bugs that are being worked on. This version is for beta / alpha testers.
Nightly builds are daily compiled builds from source. This version therefore has the latest bleeding edge features & tweaks, but it is also the mostly likely to have bugs and issues.
Click to expand...
Click to collapse
CyanogenMod Tips/Solutions, some from the CyanogenMod Wiki here.
It's slow!
Remove stock launcher "ADW". It slows down the homescreen badly.
Recommended: "Launcher Pro" or "Gingerbread Launcher" from Market.
Omg I flashed CM7 and now I don't have Market!
You need to install the Gapps zip. Sign into your account on the First Time Setup screen and Market will activate
My Wi-Fi doesn't turn off/it's draining my battery!
The workaround for Wi-Fi sleep policy that doesn't seem work is download Green Power from the Market if you want your Wi-Fi off when your screen turns off.
Help, Nightly 1xx doesn't work properly/There's a bug!
They're nightlies, sometimes they don't work properly. Use the recommended Nightly from the Wiki Page or another ROM. Also, refer to the CM7 thread on MoDaCo linked below for possible fixes/workarounds.
I don't know what nightly to choose!
First check the CyanogenMod Wiki listed above the CM7 thread on MoDaCo here.
Read the last five pages on that thread for up to date info and feedback on the latest nightlies.
If you still don't know then post in the CM7 thread. Don't create an entire new thread to ask that question please.
Hi im trying to root my friend's blade. I cant find the file to root. Could you be kind to show the link please?
Guide to Rooting:
Enable USB Debugging:
Settings-->Applications-->Development-->USB Debugging (tick)
Install this Apk:
Install Astro File Browser from the market. https://market.android.com/details?id=com.metago.astro
Download the file on your computer, then copy it across to somewhere on your phone
Browse to that somewhere and click on the file. Open app manager and click install.
After installation, click open.
Tell it to do Permanent Root
Wait for it to reboot
Done.
Sent from my X10i using XDA App
teddymild said:
Hi im trying to root my friend's blade. I cant find the file to root. Could you be kind to show the link please?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
I'd suggest you use the TPT method here since the process would be quicker than rooting it manually etc.: http://android.modaco.com/topic/337798-gen1-to-gen2-tpt-upgrade/
This will root the phone, install Clockworkmod recovery and put on a new 2.3 ROM as well. I'd suggest you use the Ginger Stir Fry one on that page.
I think z4root would work as well if you don't want to carry out the TPT method.
How's the guide going?
Thank you. I'll try it.
k0zmic said:
I'd suggest you use the TPT method here since the process would be quicker than rooting it manually etc.: http://android.modaco.com/topic/337798-gen1-to-gen2-tpt-upgrade/
This will root the phone, install Clockworkmod recovery and put on a new 2.3 ROM as well. I'd suggest you use the Ginger Stir Fry one on that page.
I think z4root would work as well if you don't want to carry out the TPT method.
Click to expand...
Click to collapse
Sent from my X10i using XDA App
This thread dead?
..
It would be nice to take this thread further.

[Q] Android for Photon/HD mini

So I just got to this site:
http://forum.xda-developers.com/showthread.php?t=1002178
And found the steps:
1.Format SD
2.Copy Files to SD
3.Run the HaRET
theres a link below (Android Porting Guide).
So I have done steps 1-2 , but I'm afraid to run it , Should I do what the Link Android Porting Guide says or that is just for choosing a custom Version?
Please help.
Then I went here:
http://forum.xda-developers.com/showthread.php?t=952996
and downloaded the files , so my question for this is, how do I use this?
Questions are:
1-Is it okay if I stop at Step 3 (running the HaRET)
2-If I downloaded the 2.1 version (2nd Forum link) how to run it?
3-What kind of SD do I need? MicroSDHC will work? or I need MicroSD?
Srry but Im new.
first of all here is the latest version http://code.google.com/p/photon-and...name=26.08.2011_r169.rar&can=2&q=#makechanges
don't be afraid to run it,your phone will not explode ..or maybe it will(anyway i'm not responsible for this)
then..
1. step 3 is the last one which u need to do then wait..
2. run it using HaRET
3. any kind,but SDHC cards are faster..just try yourself

121212121212121212

121212121212121212
I was hoping some post this here.
I wanted to know have you checked on stock kernel does it supports touchscreen work.
if not can anyone test and suggest which all kernels are supporting it and not.
anantshri said:
I was hoping some post this here.
I wanted to know have you checked on stock kernel does it supports touchscreen work.
if not can anyone test and suggest which all kernels are supporting it and not.
Click to expand...
Click to collapse
I got Aroma installer in X10S v8.2 addon zip (for unlock bootlaoader) and had no problem on stock or custom kernel.
However I never tried on fxp kernel.
For info there's a menu in aroma installer to config the touchscreen, values must be written in the config file (aroma config).
The only restriction for now is that Aroma installer is using Edify script so may cause problem on locked bootloader ... doesn't copy files or else ...
@Feravolt
Thanks for this thread !!!
About the script for locked bootloader did you have time to look at it ?
It would be very nice to include it directly in kernel .. maybe it could solve the problem with lock bootloader ?
Hi OP
Below is the latest Aroma File Manager's newest features :
- Terminal Emulator.
- Set Permissions.
- Auto screen calib.
Bugs :
- File copy, paste and move function from Internal Memory into SD Card (and vice versa).
- Scrolling Touch for X10, have to use volume buttons.
Any chance for X10 to have this recovery tool to be integrated in Kernel (for GB, ICS and JB) ?
Just incase if no backup file, PC/Laptop arround to repaire bootloop or bricked phone, easily .
Thanks in advance
Regards

EvolutionX_2.3 Fastboot ROM Ported_Unofficial

This file is exclusively prepared by BN_P
for
Asus Zenfone Max M2 (X01AD). It is EvolutionX Pie 2.3 on pie vendor, Firmware-JP-16.2018.1910.52.
How to ::
1. Confirm your device model as above.
2. No need to be worried on which build your device is presently. This Rom can be flashed on any build. Also separate unlock bootloader not required... It will b done by flash process automatically.
3. Only for windows users, flashing can be done in windows only.
Before start flashing,
Unzip the downloaded file. Put it in a folder in desktop.
There are files named "system.zip, vendor.zip, recovery.zip and boot.zip" , unzip those all, refer readme guide for details.
Put those above unzipped .img files in the main folder i.e same location of flash_all.cmd.
4. Put your device in fast boot mode, connect to PC and run the flash_without_data_erase.cmd or flash_all_erase_data.cmd, just double click on it.
5. Follow the pop up screen.
6. Data erase will be required after flashing before boot if your device is encrypted before flash or you were using any rom other than evoX.
Detailed process available in readme file inside.
Best of luck....Hit a thanks button if you like my works...
This ROM is included
TWRP+Magisk
opengapps pico
Gcam 7.2 (parrot)
Ampere app
Google Phone Dialer
Safetynet basic integrity Fixed but cts profile not fixed yet.
Bugs::
You tell me.
This ROM is a ported version and unofficial, converted into fast boot ROM for easy installation only.
Thanks to developers of
Magisk, Gapps, TWRP for this device and all those who have supported directly or indirectly.
Download Link ::
https://www.androidfilehost.com/?fid=4349826312261722798
https://drive.google.com/file/d/1222F_fuYa85Fa0_Nxcv-FL0lRLERdR3G/view?usp=drivesdk
reserved 1
reserved2
[email protected] said:
This file is exclusively prepared by BN_P
for
Asus Zenfone Max M2 (X01AD). It is EvolutionX Pie 2.3 on pie vendor, Firmware-JP-16.2018.1910.52.
How to ::
1. Confirm your device model as above.
2. No need to be worried on which build your device is presently. This Rom can be flashed on any build. Also separate unlock bootloader not required... It will b done by flash process automatically.
3. Only for windows users, flashing can be done in windows only.
Before start flashing,
Unzip the downloaded file. Put it in a folder in desktop.
There are files named "system.zip, vendor.zip, recovery.zip and boot.zip" , unzip those all, refer readme guide for details.
Put those above unzipped .img files in the main folder i.e same location of flash_all.cmd.
4. Put your device in fast boot mode, connect to PC and run the flash_without_data_erase.cmd or flash_all_erase_data.cmd, just double click on it.
5. Follow the pop up screen.
6. Data erase will be required after flashing before boot if your device is encrypted before flash or you were using any rom other than evoX.
Detailed process available in readme file inside.
Best of luck....Hit a thanks button if you like my works...
This ROM is included
TWRP+Magisk
opengapps pico
Gcam 7.2 (parrot)
Ampere app
Google Phone Dialer
Safetynet basic integrity Fixed but cts profile not fixed yet.
Bugs::
You tell me.
This ROM is a ported version and unofficial, converted into fast boot ROM for easy installation only.
Thanks to developers of
Magisk, Gapps, TWRP for this device and all those who have supported directly or indirectly.
Download Link ::
https://www.androidfilehost.com/?fid=4349826312261722798
https://www.androidfilehost.com/?fid=4349826312261722798
Click to expand...
Click to collapse
Can you please check and update the download links.
heaven992 said:
Can you please check and update the download links.
Click to expand...
Click to collapse
Only g drive is working of now
How is the rom anyone checked it?..
I am new here and finding daily driver rom
Meer Hossain said:
How is the rom anyone checked it?..
I am new here and finding daily driver rom
Click to expand...
Click to collapse
This one is best as per my experience. Till now this one is in use in mine one.
[email protected] said:
This one is best as per my experience. Till now this one is in use in mine one.
Click to expand...
Click to collapse
Pls provide command file for linux....
Please tell me which rom is best for gaming
Which Gcam 7 is working on max m2
Can you please give me the apk
By the way Does it work stock android pie
[email protected] said:
Only g drive is working of now
Click to expand...
Click to collapse
You have the latest version of Evo X?
how to go back to original rom?
Which os is better Havoc os or Evo X os
Asus max 2 evolution x updated do android Q
There's one issue after installing rom,
The receiver and me are unable to hear our voices.
I can't hear the connecting tune/caller tune too.
Plz help me out
Hey bro as I've used all GSI and you fastboot bundles I can say that this Evo X 2.3 is best in terms battery life as well as customisation. I request you to please update the vendor to latest WW......71 so more battery improvement can be done.
Plzz fixed sefety net

Categories

Resources