i am using modaco rom ,after reset for me showing no sd card......some one help me......
USB Brick
read this thread:
http://forum.xda-developers.com/showthread.php?t=733713
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
smartsreenath said:
no way.....its not working showing
C:\sdk\tools>chmod 755 /data/flash_image
'chmod' is not recognized as an internal or external command,
operable program or batch file.
C:\sdk\tools>cat /sdcard/flash_image > /data/flash_image
The system cannot find the path specified.
Click to expand...
Click to collapse
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
i can't download......... showing insufficient storage........i even can't install application through 91pc suite for android..........i need help....and in device manager my htc is showing but i can't connect.........nnnnnnnnnnneeeeeeed hhhelllllp
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
ilos said:
use a sdcard reader ( if you have one ) and put connectbot.apk ( that you can find here http://code.google.com/p/connectbot/downloads/list ) on your sd...
mount your SD card before trying to unbrick your USB like that :
type :
fastboot oem enableqxdm 0
in fastboot mode
after reboot, your phone will see your SD.
If you have a file manager already installed, look for connectbot and install it.
After that , follow unbrink process.
Click to expand...
Click to collapse
i appreciate your response.......but you don't understand my problem....my phone neither detects sdcard nor download file from market[also through browser]....could you suggest any other way ......please its urgent.....
i tried with terminal emaluator but showing permission denied....but my phone is rooted.......
after fastboot oem enableqxdm 0 , a bricked phone can see the sdcard.
don't try to connect your computer to your device, computer will not see your sdcard, sdcard will be only readable by the device.
if all of that doesn't work you have probably a problem with your sdcard.
and take a look here :
http://forum.xda-developers.com/showthread.php?t=748813
thousand thanks man............
Txkw said:
Did you tried from a terminal emulator on your Legend or via adb instead of Windows? (chmod and cat are Unix's binaries and they can't work with Windows directly)
Click to expand...
Click to collapse
sorry my mistake
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Learners Lisence said:
whats a 'terminal emulator' please ?
EDIT: Found it in the Market.
Hope they put a link to [How To] Unbrick your Legend in the first post in android development since its a common ailment for Legend and Desire.
Click to expand...
Click to collapse
you want it, you get it
http://forum.xda-developers.com/showthread.php?t=751265
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
bylee123 said:
sorry for bringing up this topic...
I've tried to "fastboot oem enableqxdm 0" but my phone still canot c my sd card..
to show my step,
i booted up my phone into fastboot mode and enter the code using cmd in windows..
it says success then i booted it back up normally...
but sdcard removed message still there...
did i do wrongly or what else can i do?
my card is still a working card...
Click to expand...
Click to collapse
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
HpX said:
First use a adapter and check if u can read your card on the computer, if it does backup your content, and format. (If u have HTC Synk installed, close it)
*insert the card in your phone.
*press volume down + power
*chose fastboot
*connect your phone (make sure it say fastboot usb before u continue)
*open cmd, go to AndroidSDK -> Tools
*Type "fastboot oem enableqxdm 0"
Reboot, and your card should be up and running. If needed continue with the steps from the Unbrick guide in dev
Click to expand...
Click to collapse
Below are what I did before I kept getting the error "Removed SD card"...
Eclair 2.1 with update 1.
1. Create goldcard. Success.
2. Then i went on with the rooting guide, without applying RUU.1.31.
3. Failed in step1-windows.bat, step2-windows.bat. Thus kept creating goldcard.(obviously i am so newbie)
4. Then after sometimes of retrying I get the error after a reboot.
After i got the error, I created a goldcard based on the previous CID i got.
The goldcard enables me to downgrade to RUU.1.31.
But still the error is still there.
Tried the unbrick guide.
But even after I execute "fastboot oem enableqxdm 0",
then follow the guide with "fastboot oem boot", my USB still didn't work.
Ignoring the fact that the guide needs SD capability I did all the steps in the guide(i use softroot, since i never rooted my legend yet!),
all commands went through without error, even retried.
Till now my phone stilll shows the error, "Removed SD card".
Can anyone help me? Paul? anyone?
Card i used: 1. Sandisk 2GB card that comes with the phone(my goldcard), 512MB old microSD card.
Guides used: modaco rooting guide and unbrick guide
Both cards are working well, can be detected in windows and no error when checked with h2testw in windows.
Windows can detect Legend when connected. Drivers all good.
So guys, is this really USB bricked or what it is?
If u guys need any information bout the phone please let me know, i'll try to provide.
help me
Please help me. I have the same problem and I do not know where to write command oem fastboot enableqxdm 0
bro read the previous posts.....
Related
******************************************************
******************************************************
Finally got my CID to create my gold card.
(All steps are on a Windows Vista Machine)
1. Download the Android SDK from: http://developer.android.com/sdk/1.5_r3/index.html
2. Extract the folder to your harddrive.
3. Make sure your SD card is formatted to FAT32, then insert into MyTouch.
4. Enable device debugging on MyTouch.
5. Plug MyTouch into computer when prompt to install drivers select drivers from Android SDK. (if you have 32-bit OS use x84 if 64-bit use amd64, these are your usb drivers required to recognize MyTouch)
6. Once drivers are loaded select start type "cmd" to open command prompt.
7. Navigate to your Androidsdk folder>tools.
Code:
abd shell
cd /sys/class/mmc_host/mmc1/
ls
cd mmc1:
(**NOTE**The "cd mmc1:" should contain the number you recieve after the ls command. Example: "cd mmc1:456d697")
Code:
cat cid
afterwards you should have your cid!
instead of trying it through terminal, use ADB:
adb shell
cd /sys/class/mmc_host/mmc1/
ls
(cd to mmc1:*whatever the directory is called)
(then)
cat cid
copy and paste that number into QMAT, and you're on your way.
***
I'm still not able to get it to work though, for whatever reason. I've gone through all the steps and I still get prompted to format the card. This is a Kingston 2gb card. Are some cards just not compatible? I thought the Kingston should do the trick..who knows..
Stupid question - when you run this command, do you have an SD in the reader of your phone? I think it needs this in order for the MMC interface to be operational.
issues getting gold card set up
Is anyone else having problems getting their gold card set up?
I have a class 4 4gb Kingston SD card, which I purchased specifically for this, that I've set up a gold card on SEVERAL times that is not working.
Every time I fast boot on my MyTouch it checks the .img file, then I get an error:
"Model ID incorrect!
Update Fail!"
I know for a fact that my model ID is correct as I pulled it from adb, copied and pasted, and I've followed these instructions to the letter including using the hex editor.
I've also verified that the gold card is functioning by testing its ability to be written to.
Does anyone have any suggestions?? If this is not the place to post, please let me know and I apologize in advance as I haven't been able to find any one else with similar issues.
Feel free to get at me on gtalk:
[email protected]
Rooted! Please see first post for more in depth directions.
THANK YOU!!!! I've been pulling my hair out over this for hours today. Need to add this step to all the tutorials that are out there! Thanks, illmatic
Tim
_illmatic_ said:
rooted! Please see first post for more in depth directions.:d
Click to expand...
Click to collapse
what "first" post.
Be more specific. People pull their hair out because of unclear communication. The first post here shows nothing. Gold card is not working.
Hi, sorry if i waste your time, but happens to me a problem with my htc legend.
Before write you i try many times and search a lot on google for find solution to my issue. For start, sorry for may bad english..
After do a nandroid backup to my htc legend rooted, i tryed rodrigezsstyle rom; than i wanna back to my settings and i did a nandroid restore. After the restor my legend was restored, BUT it doesn'r read the sd card and it doesn't sync with the pc. I can't install the pc driver, i can't flash an original rom and i can't flash different rom. And, now, i don't see in software the Superuser Permission.
The phone make yours, data, calls, sms, mail are ok, but i can't do nothig more. the sd was in the phone but it doesn't read it.
Please help me to make all ok, i thing that HTC support and warranty are loose.
Thank you
thank you
thank you
I do this: root - flash rom 2.xx root- nandroid backup -
flash rodriguez style rom - nandroid restore - puf, the phone doesn' read sd card.
There is a step by step guide for make my phone able to read the sd card, please help me?
LITTLE NEWS:
Now i put phone in fastboot usb and i try with suxcess to flash the 1.31.405.5 signed rom, but legend doesn't see sd card anyways......
sorry for my bad english
Money for who help me to make all issues ok!!!!
Fix SD
Press & hold vol down and power on the phone
Select fastboot by pressing the power button
Make sure in device manager the driver is installed(Win 7 x64 downloaded them automatically)
Open command prompt like you would to use ADB and type
fastboot oem enableqxdm 0
fastboot reboot
That should fix your SD card not being detected.
Fix USB
Press & hold vol down and power on the phone
Select fastboot by pressing the power button
Make sure in device manager the driver is installed(Win 7 x64 downloaded them automatically)
Open command prompt like you would to use ADB and type
fastboot oem boot
It will give you a log, look for the line that says INFOCID is SPCS_001, if it says something different, then use the generator below to create one(or hex edit the one I posted)
Download the mtd0.img attached or use this CID generator made by stevebrush over @ Modaco to create a custom one
Download the flash_image attached
Unzip both zips and copy both files to the SD card
Open a terminal emulator(I used ConnectBot) and type
su
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod 755 /data/flash_image or chmod u+x /data/flash_image
/data/flash_image misc /data/mtd0.img
reboot
And that should fix the USB issue
-----
Last question:
Now usb seems ok and the PC can read the phone like a external storage, but i have error with HTC sync. How can i do?
thank you
SD Cards not recognized by phone, but work in Computer
Since last night - out of the blue - my HTC Legend doesn't recognize any SD Card anymore. I tried 3 different ones (8GB, 2GB, 1GB, different brands), but ES File Manager or Astro say 'no SD Card mounted' and under 'Setting/SD & Phone Storage' the Mount/Dismount Options are greyed out (also Camera and Gallery say 'please insert SD Card').
All Cards work flawlessly on the PC, the 8 GB I was using so far has still all my apps, music, pics, videos. Copied files to HD, re-formatted and copied back, no change.
I tried Factory Reset to no avail. Then I tried to connect via Fastboot with USB Debugging enabled, installed ADB and did the command 'fastboot oem enable qxdm 0' upon which it said 'Okay!.....0.13ms' or something like that. Still not SD Card showing up.
Rebooting several times, cleaned contacts with nail polish remover, connected to PC or unconnected. No change.
Has anyone another idea what I could try to get it working again? Thanks a million!
nomad4ever said:
...Then I tried to connect via Fastboot with USB Debugging enabled, installed ADB and did the command 'fastboot oem enable qxdm 0' upon which it said 'Okay!.....0.13ms' or something like that. Still not SD Card showing up.
Click to expand...
Click to collapse
For the SDCard:
Reboot your phone to the bootloader screen. Plug it into your computer and enter into fastboot on your phone.
On your computer, use the command prompt and target the directory where fastboot is stored. Eg) /AndroidSDK/tools/
Then type: fastboot devices
This should return your Legend's serial number. Then type fastboot oem enableqxdm 0 <---- NOTICE THAT THERE IS NO SPACE BETWEEN "enable" and "qxdm"!
The reason I'm repeating these instructions is because your post suggests you didn't do it correctly. USB Debugging is irrelevant in this case since your phone is at the bootloader screen. ADB is irrelevant in this case too since we're not using ADB commands. Also, when the SDCard isn't being recognized, many people find that ADB isn't working either.
For ADB (If yours isn't working):
Check Post # 104 here: http://android.modaco.com/content-page/299174/no-adb-no-sd/page/100/#
Make sure you input "chmod 755 /data/flash_image" in the terminal emulator after you enter "cat /sdcard/mtd0.img > /data/mtd0.img" and before "/data/flash_image misc /data/mtd0.img".
If the SDCard still isn't recognized, it may be a hardware issue. Good luck!
Thank you jaStorm for the detailed explanations! I tried it again step by step with the same result. I think it was just my mistake before, producing a space in my previous post.
'fastboot devices' gives out my serial number
>HT045xxxxxxx fastboot
and 'fastboot oem enableqxdm 0' gives out
> ... OKAY [0.031s]
finished. total time: 0.031s
>
upon 'fastboot reboot' the device reboots properly, but still without the SD Card coming back:
> rebooting...
finished. total time: 0.016s
>
I'm not so clear yet about the steps in the post #104 you mentioned. It seems to be for the USB not recognized. Would it probably help for my SD Card issue also?
I tried 'fastboot oem boot' and my CID is 'HTC__044'. So if I understand it correctly, I would have to take the image file there, edit the CID number and try to copy it somehow into the /data directory of my phone? My phone is not rooted (still Stock 2.2 HTC Sense). I have a Terminal Emulator installed on the phone, but what now?
Can I download the image probably, if I sent it to myself via e-mail to the device? I could maybe also FTP it. Sorry, am I bit clueless here, regarding the steps on how to get the modified file into the device and if it would work without rooting! Rooting for my device would require downgrading/flashing the firmware, for which I would need the SD Card again.
Thanks for your help though!
U saved my life........thx a miliooonnnnnnnnn..........i really love this forum!!!!!!!!!
thank you
thanks alot you saved my phone yaar .. thank u sooo much
Hi,
I have a legend and everything was fine but after I tried to install the legend CM6RC2 BUILD 66 Rom from cynogenmod it would not reboot any more and I only saw the android robot. After that I tried to get into recovery but that's not possible anymore.
I al ready tried modaco's guide but I didn't understand.
Does anyone know how I can unbrick my usb to be able to get into recovery to install another Rom?
Thanks in advance!
you must unbrick your USB by following this step ( nobody can do it for you... ) :
http://android.modaco.com/content/h...com/309961/usb-brick-rickrolled-b0rked-fixed/
usb drivers
I tried to understand this guide but I don't understand this part:
"Move this to /data/ , and flash the modified image using:
"/data/flash_image misc /data/mtd0.img"
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator:
'cat /sdcard/flash_image > /data/flash_image'
'cat /sdcard/mtd0.img > /data/mtd0.img'
You might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image)"
and also i cant do step one because device is not found
you must do this after starting your device.
Before starting your device you must mount you sdcard with 'fastboot oem enableqxdm 0' under fastboot mode ( device off : hold power button + volume down )
after your device started, go to market and install Connecbot.
Start connectbot, select ( at the bottom ) Local in place of ssh , and type 'su' 2 times.
If you get permission denied, do what he's done in his PS http://android.modaco.com/index.php?s=&showtopic=309961&view=findpost&p=1335813
i can type su as many times as i want and nothing happens.
YES i typed it in local.I re-installed htc sync and still my pc cant recognize my phone.
what should i do?
you type SU on your device ? ( in connectbot )
if you see a # at the begining of the line , you are logged as root , just follow the unbrink step
ilos said:
you must do this after starting your device.
Before starting your device you must mount you sdcard with 'fastboot oem enableqxdm 0' under fastboot mode ( device off : hold power button + volume down )
after your device started, go to market and install Connecbot.
Start connectbot, select ( at the bottom ) Local in place of ssh , and type 'su' 2 times.
If you get permission denied, do what he's done in his PS http://android.modaco.com/index.php?s=&showtopic=309961&view=findpost&p=1335813
Click to expand...
Click to collapse
could you explain it for me ? how to do fastboot oem enableqxdm 0 in fastboot.....
you must have android sdk installed to use adb
When you have installed android sdk, go to tools directory, open a command prompt ( MSDOS ) , type 'adb shell' and 'fastboot oem enableqxdm 0'
after that, just reboot your device.
Look that for adb : http://forum.xda-developers.com/showthread.php?t=517874
ilos said:
you must have android sdk installed to use adb
When you have installed android sdk, go to tools directory, open a command prompt ( MSDOS ) , type 'adb shell' and 'fastboot oem enableqxdm 0'
after that, just reboot your device.
Look that for adb : http://forum.xda-developers.com/showthread.php?t=517874
Click to expand...
Click to collapse
what should i do after i reboot my device?
Win7 said he cant recognize the usb device.
is this good? dont you have the drivers or something?
zorro12010 said:
what should i do after i reboot my device?
Win7 said he cant recognize the usb device.
is this good? dont you have the drivers or something?
Click to expand...
Click to collapse
see post #6
to be simple :
only the device will see your sdcard.. not your computer... all steps for unbrick must be done on the phone except the fastboot command
i also tried typing SU and sl
and instead of # it says sh-3.2#
so you are logged as root
just to be sure type : ls not sl
you will see same thing like my screenshoot posted early
now follow unbrick command
ilos said:
you must have android sdk installed to use adb
when you have installed android sdk, go to tools directory, open a command prompt ( msdos ) , type 'adb shell' and 'fastboot oem enableqxdm 0'
after that, just reboot your device.
Look that for adb : http://forum.xda-developers.com/showthread.php?t=517874
Click to expand...
Click to collapse
thousand thanks......for you man.....i made it...........
congratulations !!!
Hi ..
I do not speak English well ،But I'm trying to understand
Please have the same problem, and tried to solve, but to no avail
at the above link in comment # 14
Thanks to Google Translate
tested on cdma sprint nexus s 4g
idk if the gsm version will work or not
its so simple
idk if anyone else found this yet
but its really easy.
i found this out when i read that
unlocking the phone may wipe the sdcard
_____________________________________________
you have to have adb or android sdk
i provided it if you dont have it
note: i didnt not create the files
and have samsung drivers for usb fastboot
goto junefabrics.com/android/download.php
just install and select the right brand
_____________________________________________
extract the folder to anywhere
hold shift then right click on the folder (tools)
select open command window here
type in the following
commands:
Code:
adb shell
fastboot oem lock
(check screen, select lock)
fastboot oem unlock
(check screen, select unlock)
(done)
Man BIG THX!
Dont now why my NS cant mount the SD Card but ur little Trick works perfekt!
Serial Kazama said:
Man BIG THX!
Dont now why my NS cant mount the SD Card but ur little Trick works perfekt!
Click to expand...
Click to collapse
error devce nfo! What do i do?!?!
READ THIIS!
*this thread is for m9. it will NOT work on m7,or any older device. please check the general forum for your particular device for a similar thread.
this thread will let you unlock your bootloader without htcdev,or let you change your hboot watermark from relocked or locked back to stock.
advantages
-no hassle with htcdev,tokens,or unlock codes
-no submitting your phones personal info to htc
-the ability to get back to 100% stock without any visual traces or records of having been s off or unlocking your bootloader.
you do NOT need to downgrade your hboot. this simple adb command works without any scary hboot downgrades.
*you must be s off.
*you must have superuser installed
read this:
this will not work if your s on. its not a way to magically unlock
the usual disclaimers:
use this info at your own risk. if it melts your phone into a little pile of aluminum goo,its not my fault.
credits
-beaups for schooling me on echo comand protocol
-strace for originally discovering the location of the lock status flag(check out this thread for more info)
- @Mutasek24 for fearlessly testing all commands
IF you are an advanced user with adb/fastboot set up and some basic knowlede of the cmd window,you can skip to #2
1)set up adb(windows 7 and older)
-download this file
-install drivers: if you have htc sync installed,you should allready have drivers. if not,you can install htc sync,or install these modified htc drivers from revolutionary (driver mirror)
-unzip your miniadb_v1031.zip file. this is native funtionality in windows 7. you otherwise may need a utility such as "7-zip" to extract,or unzip it. place the unzipped folder onto the root of your C drive on your PC. root means the top level,not inside any folders. so just copy and paste,or drag and drop the folder onto C with everything else that is there. you may want to rename it to "miniadb_m7" since youll be putting some device specific files in here.
-open a command window. on windows 7,click the start bubble in the lower left and type "command" in the search box. xp i believe is similar or the same. doing this should open a small black command window.
-change to your miniadb_m7 directory. type the following at the prompt in your cmd window:
cd c:\miniadb_m7
your command promt should change to "c:miniadb_m7>" provided you: 1)unzipped the miniadb_v1031 zip file,and 2)put the folder on your c drive,and 3)entered the name of the folder correctly ("miniadb_m7" in this case)
-now make sure usb debugging is checked in developer options(you will need to turn it on first),and plug your phone into your PC with a usb cable
-make sure your phone is being recognized- type:
adb devices
if your drivers are installed correctly,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.
if you get your serial number back,then enter this command:
adb reboot bootloader
this should take your phone to the "fastboot" screen,wich is white with colored letters. this is one mode of your bootloaders interactive modes. at the top youll see fastboot devices as confirmation youre in fastboot.
now enter:
fastboot devices
again,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.
if you get your serial number back,you can enter the following to boot back to the phones OS:
fastboot reboot
and now,youve installed adb/fastboot and tested youre phones drivers. if at either spot,you have trouble and dont get your serial number back,there is some sort of connection issue. use these steps to troubleshoot:
troubleshooting connectivity issues:
-try a reboot of the PC
-try different usb cables and ports
-dont use a usb hub
-dont use usb 3.0
-make sure nothing capable of comunicating with the phone is enabled and running. htc sync,pdanet,easy tether,and even itunes have all been known to cause issues.
-windows 8 has been known to have issues. try a windows 7 or older machine
failing the above,
-i use these drivers for fastboot and adb(donwload and run as admin): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe (mirror)
failing that,try manually updating the drivers in the following manner:
-put the phone in fastboot mode(select fastboot from the hboot menu)
-open device manager on the PC
-plug in phone,watch for it to pop up in device manager.
-update drivers with device manager,pointing the wizard to the extracted
driver download folder from above
note that you can check the connectivity of the phone,and make sure drivers are working by in the following manner:
-open cmd window. change to directory containing adb/fastboot utilities
-adb with the phone in the booted OS,usb debug enabled,enter:
adb devices in a cmd window
-fastboot with phone in fastboot,enter:
fastboot devices in cmd window
in either case,a properly connected phone with working drivers installed should report back the phones serial number.
Click to expand...
Click to collapse
this process,in your cmd window,should look something like this:
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Scott>[COLOR="red"]cd c:\miniadb_m7[/COLOR]
c:\miniadb_m7>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
FAxxxxxxxxxx device
c:\miniadb_m7>[COLOR="red"]adb reboot bootloader[/COLOR]
c:\miniadb_m7>[COLOR="red"]fastboot devices[/COLOR]
FAxxxxxxxxxx fastboot
c:\miniadb_m7>[COLOR="red"]fastboot reboot[/COLOR]
rebooting...
finished. total time: 0.037s
c:\miniadb_m7>
2)reset your "lock status flag"
to LOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now locked
_____________________________________________________________________________________________
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
other useful threads:
restore software status: original banner: http://forum.xda-developers.com/one-m9/general/how-to-restore-software-status-original-t3092882
change mid: fastbooot oem writemid xxxxxxxxx
change cid: fastboot oem writecid xxxxxxxx
mine
scotty1223 said:
mine
Click to expand...
Click to collapse
Thanks a lot for your very useful information. I have 2 questions??
1) When I am s-on and need to get s-off, then I need to be unlocked and rooted, so to do these still I need to use HTC-dev to unlock and root.
2) Does this method wipe data like when we use HTC-dev?
Nima78600 said:
Thanks a lot for your very useful information. I have 2 questions??
1) When I am s-on and need to get s-off, then I need to be unlocked and rooted, so to do these still I need to use HTC-dev to unlock and root.
2) Does this method wipe data like when we use HTC-dev?
Click to expand...
Click to collapse
1)yes. the first time you root,you will need to use htcdev to unlock the bootloader. the biggest benefit of this is the ability to return to a locked status for warranty. while s on,the best youll be able to do is relocked.
2)no,it will not wipe your data. it just changes the flag that hboot checks in order to decide if its locked,or not.
scotty1223 said:
1)yes. the first time you root,you will need to use htcdev to unlock the bootloader. the biggest benefit of this is the ability to return to a locked status for warranty. while s on,the best youll be able to do is relocked.
2)no,it will not wipe your data. it just changes the flag that hboot checks in order to decide if its locked,or not.
Click to expand...
Click to collapse
Thanks a lot mate. Appreciate for your replying
anyway to get "modified" back to "official" in boot loader?
Thanks @scotty1223. Used your threads for the m7 and m8. Happy to see this here too.
an0ther said:
anyway to get "modified" back to "official" in boot loader?
Click to expand...
Click to collapse
Flash your device RUU.
I am a little confused. How do I unlock my boot loader without root? I have s-off and i'm just messing around with trying to get rid of modified status but how does the "su" work without root?
an0ther said:
I am a little confused. How do I unlock my boot loader without root? I have s-off and i'm just messing around with trying to get rid of modified status but how does the "su" work without root?
Click to expand...
Click to collapse
You don't. This method requires s-off and root. It does say that in the OP BTW.
Behold_this said:
Thanks @scotty1223. Used your threads for the m7 and m8. Happy to see this here too.
Flash your device RUU.
Click to expand...
Click to collapse
I did, it still says modified in boot loader. Do I need to lock boot loader first?
an0ther said:
I did, it still says modified in boot loader
Click to expand...
Click to collapse
Use Sdcard method
Behold_this said:
Use Sdcard method
Click to expand...
Click to collapse
Mine is 64 gig, guess i'll have to get a 32 gig to make it fat32. Dang. Thanks for your help
Thanks for your very important knowledge.This question is not related to this thread, do you know which adb commands we can use to remove tampered flag as such in M7 and M8? I wonder mmcblk0p blocks might be different.
Thanks!
Enviado desde mi HTC One M9
coolberry said:
Thanks for your very important knowledge.This question is not related to this thread, do you know which adb commands we can use to remove tampered flag as such in M7 and M8? I wonder mmcblk0p blocks might be different.
Click to expand...
Click to collapse
The block where the tampered flag is write protected,so it cannot be written to with adb and have the change "stick". We know the command,it just doesn't work.
An ruu won't be available for all variants,so there will still be a work around,it will just be a bit more complicated. I just need to make sure it works and try to make it as user friendly as possible.
an0ther said:
Mine is 64 gig, guess i'll have to get a 32 gig to make it fat32. Dang. Thanks for your help
Click to expand...
Click to collapse
What does 64gb have to do with anything? Just back it up and reformat
scotty1223 said:
What does 64gb have to do with anything? Just back it up and reformat
Click to expand...
Click to collapse
Not possible. Only cards up to 32gb can be formatted as fat32, it's because above 32gb cards are not SDHC anymore but SDXC and this doesn't work..
devatxda said:
Not possible. Only cards up to 32gb can be formatted as fat32, it's because above 32gb cards are not SDHC anymore but SDXC and this doesn't work..
Click to expand...
Click to collapse
Did a little bit of searching and found a couple references to this:
http://mympx.org/Downloads/p13_sectionid/2/p13_fileid/13
And
http://m.download.cnet.com/EaseUS-Partition-Master-Home-Edition/3000-2248_4-10863346.html
Have you tried either?
Sent from my HTC One max
Behold_this said:
Use Sdcard method
Click to expand...
Click to collapse
im a little confused on what methods reset the flag,and which dont
could someone clarify the results of
-flash 0PJAIMG.zip via download mode from sd card
-flash 0PJAIMG.zip via RUU mode from pc
-run .exe from windows machine
-any other methods??
thanks
scotty1223 said:
im a little confused on what methods reset the flag,and which dont
could someone clarify the results of
-flash 0PJAIMG.zip via download mode from sd card
-flash 0PJAIMG.zip via RUU mode from pc
-run .exe from windows machine
-any other methods??
thanks
Click to expand...
Click to collapse
Ruu.exe worked for me.
Sdcard worked for @Mutasek24, but download mode manual flash did not (as reported in your other thread).
Because all methods are flashing the exact same SIGNED zip, and exe flashes through RUU mode, it's likely that flashing zip manually from RUU mode would reset the flag while using download mode does not. That needs to be tested tho.