Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,418 Members 46,735 Now Online
XDA Developers Android and Mobile Development Forum

[Q] A Unique Problem...:confused:

Tip us?
 
nkk71
Old
#11  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,930
Posts: 5,916
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by Shotgun4 View Post
I have TWRP 2.6.3.4 installed already as the recovery... And I do intend to gain S-Off

Sent from my LG-D801 using XDA Free mobile app
then install the ROM mentioned here: http://forum.xda-developers.com/show...&postcount=251

and then use revone to get S-Off: http://forum.xda-developers.com/show....php?t=2314582
 
Shotgun4
Old
#12  
Shotgun4's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 109
Join Date: Jan 2012
Quote:
Originally Posted by nkk71 View Post
then install the ROM mentioned here: http://forum.xda-developers.com/show...&postcount=251

and then use revone to get S-Off: http://forum.xda-developers.com/show....php?t=2314582
Ok thanks, I'll let you know how things go


Sent from my LG-D801 using XDA Free mobile app
 
Shotgun4
Old
(Last edited by Shotgun4; 3rd June 2014 at 05:05 AM.)
#13  
Shotgun4's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 109
Join Date: Jan 2012
Quote:
Originally Posted by nkk71 View Post
then install the ROM mentioned here: http://forum.xda-developers.com/show...&postcount=251

and then use revone to get S-Off: http://forum.xda-developers.com/show....php?t=2314582
ok sorry for the delay but here are some snaps of the issues im having. Every time try to push something to the device, it gives me "FAILED <remote:not allowed>

then it even says that the bootloader is not unlocked ..how is that if it clearly states in the bootloader menu *** UNLOCKED ***??

Any ideas on how to fix this? if the HTC One only had an SD Card Slot this could be so much easier ...
Attached Thumbnails
Click image for larger version

Name:	Capture3.PNG
Views:	36
Size:	24.9 KB
ID:	2777575   Click image for larger version

Name:	Capture4.PNG
Views:	30
Size:	25.6 KB
ID:	2777576   Click image for larger version

Name:	Capture5.PNG
Views:	25
Size:	26.8 KB
ID:	2777583  
 
nkk71
Old
#14  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,930
Posts: 5,916
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by Shotgun4 View Post
ok sorry for the delay but here are some snaps of the issues im having. Every time try to push something to the device, it gives me "FAILED <remote:not allowed>

then it even says that the bootloader is not unlocked ..how is that if it clearly states in the bootloader menu *** UNLOCKED ***??

Any ideas on how to fix this? if the HTC One only had an SD Card Slot this could be so much easier ...
hmm , and you want to s-off your device?

are you trying to brick your device in the 20 commands or so you ran (with the exception of fastboot devices), none of them are correct... either mistyped or completely inappropriate.

fastboot commands are not a joke, don't treat them as such, or you will end up bricking your phone. randomly typing fastboot commands is not a good habit.


Now please do some reading and research, but here's some quick info: Your phone has three states
1- bootloader (this is where you use fastboot.exe to flash things appropriate for bootloader mode flashing, such as a custom recovery)
2- recovery (with custom recovery you can use adb.exe commands, and install ROMs)
3- ROM (if you have USB debugging enabled you can also use adb.exe commands here)
 
Shotgun4
Old
#15  
Shotgun4's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 109
Join Date: Jan 2012
Quote:
Originally Posted by nkk71 View Post
hmm , and you want to s-off your device?

are you trying to brick your device in the 20 commands or so you ran (with the exception of fastboot devices), none of them are correct... either mistyped or completely inappropriate.

fastboot commands are not a joke, don't treat them as such, or you will end up bricking your phone. randomly typing fastboot commands is not a good habit.


Now please do some reading and research, but here's some quick info: Your phone has three states
1- bootloader (this is where you use fastboot.exe to flash things appropriate for bootloader mode flashing, such as a custom recovery)
2- recovery (with custom recovery you can use adb.exe commands, and install ROMs)
3- ROM (if you have USB debugging enabled you can also use adb.exe commands here)
Ok but even if the Command codes are wrong ( I did them at 2am I was so tired) the program Squabbi Toolkit should have worked... Right?

Sent from my LG-D801 using XDA Free mobile app
 
nkk71
Old
#16  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,930
Posts: 5,916
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by Shotgun4 View Post
Ok but even if the Command codes are wrong ( I did them at 2am I was so tired) the program Squabbi Toolkit should have worked... Right?
Wrong.

you use fastboot to flash
* recoveries
* erase cache
* ruu.zip packages
* firmware.zip packages

you use a custom recovery (such as TWRP 2.6.3.3), to install a <name of ROM>.zip

you cannot "fastboot flash ..." a custom ROM.ZIP.


PS: I seriously recommend you don't do these commands at 2am when you're tired, that could end badly
 
Shotgun4
Old
(Last edited by Shotgun4; 3rd June 2014 at 02:26 PM.)
#17  
Shotgun4's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 109
Join Date: Jan 2012
Quote:
Originally Posted by nkk71 View Post
Wrong.

you use fastboot to flash
* recoveries
* erase cache
* ruu.zip packages
* firmware.zip packages

you use a custom recovery (such as TWRP 2.6.3.3), to install a .zip

you cannot "fastboot flash ..." a custom ROM.ZIP.


PS: I seriously recommend you don't do these commands at 2am when you're tired, that could end badly
Ok so what I want to do is...

1. Upload the ROM you previously posted to my device via Fastboot

2. Gain S-Off using revon

My issue is what proper command I use to load the rom to my device for flashing threw the recovery??

I can access the Bootloader, Fastboot and Recovery.

ADB will not work, not sure why...

In Recovery I can not mount the storage, as I would on my LG to load the zip file to storage and flash threw recovery...

Sent from my LG-D801 using XDA Free mobile app

**Update**

So I found this in a guide...

""Alternatively you can flash through Fastboot. Download the ROM and place it in the platform-tools folder.

To start flashing, type fastboot update [romfile.zip].

This will take a few minutes to complete, so do not touch the device while it is working. ""
 
nkk71
Old
#18  
nkk71's Avatar
Recognized Contributor
Thanks Meter 2,930
Posts: 5,916
Join Date: May 2010
Location: Beirut
Quote:
Originally Posted by Shotgun4 View Post
Ok so what I want to do is...

1. Upload the ROM you previously posted to my device via Fastboot

2. Gain S-Off using revon

My issue is what proper command I use to load the rom to my device for flashing threw the recovery??

I can access the Bootloader, Fastboot and Recovery.

ADB will not work, not sure why...

In Recovery I can not mount the storage, as I would on my LG to load the zip file to storage and flash threw recovery...

Sent from my LG-D801 using XDA Free mobile app

**Update**

So I found this in a guide...

""Alternatively you can flash through Fastboot. Download the ROM and place it in the platform-tools folder.

To start flashing, type fastboot update [romfile.zip].

This will take a few minutes to complete, so do not touch the device while it is working. ""
Search more next time.


If I had a nickel for every time I post this


adb/fastboot files for Windows: http://www.androidfilehost.com/?fid=23329332407585867

get TWRP from:
2.6.3.3: http://techerrata.com/browse/twrp2/m7
or 2.6.3.4: http://techerrata.com/browse/twrp2/m7ul
(make sure MD5 is correct, that site does not play nice with download managers)


in bootloader/FASTBOOT USB:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader


 

Code:
C:\ADB3>adb version
Android Debug Bridge version 1.0.31

C:\ADB3>fastboot devices
HT34xxxxxxxx    fastboot <- you are in bootloader


C:\ADB3>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
target reported max download size of 1514139648 bytes
sending 'recovery' (9184 KB)...
OKAY [  1.209s]
writing 'recovery'...
OKAY [  1.144s]
finished. total time: 2.354s

C:\ADB3>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [  0.120s]
finished. total time: 0.120s

C:\ADB3>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.160s]
finished. total time: 0.160s

-> enter RECOVERY

then you can either:
1- OTG cable
2- adb push <name of rom>.zip /sdcard/
3- initiate sideload in custom recovery, then adb sideload <name of rom>.zip

adb push example:
 
Code:
C:\ADB3>adb version
Android Debug Bridge version 1.0.31

C:\ADB3>adb devices
List of devices attached
HT34xxxxxxxx    recovery <- you are now in recovery


C:\ADB3>adb push Android_Revolution_HD-One_52.0.zip /sdcard/
2990 KB/s (1172224138 bytes in 382.835s) <- yes, it took over 5 mins,
                                            without showing any progress

Just to double-check the file is not corrupt
C:\ADB3>adb shell md5sum /sdcard/Android_Revolution_HD-One_52.0.zip
2eff0d37fec5789b946c43f7da2c13bf  /sdcard/Android_Revolution_HD-One_52.0.zip
from the OP: Android Revolution HD 52.0 -- MD5 sum: 2EFF0D37FEC5789B946C43F7DA2C13BF -- ==> so all is good :)
C:\ADB3>

-> in recovery, select "install" and install the ROM
.


if you're having problems with PC seeing your phone, check FAQ#2 here: http://forum.xda-developers.com/show...24&postcount=2
The Following User Says Thank You to nkk71 For This Useful Post: [ Click to Expand ]
 
Shotgun4
Old
(Last edited by Shotgun4; 4th June 2014 at 02:15 AM.)
#19  
Shotgun4's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 109
Join Date: Jan 2012
Quote:
Originally Posted by nkk71 View Post
Search more next time.


If I had a nickel for every time I post this


adb/fastboot files for Windows: http://www.androidfilehost.com/?fid=23329332407585867

get TWRP from:
2.6.3.3: http://techerrata.com/browse/twrp2/m7
or 2.6.3.4: http://techerrata.com/browse/twrp2/m7ul
(make sure MD5 is correct, that site does not play nice with download managers)


in bootloader/FASTBOOT USB:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader


 

Code:
C:\ADB3>adb version
Android Debug Bridge version 1.0.31

C:\ADB3>fastboot devices
HT34xxxxxxxx    fastboot <- you are in bootloader


C:\ADB3>fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
target reported max download size of 1514139648 bytes
sending 'recovery' (9184 KB)...
OKAY [  1.209s]
writing 'recovery'...
OKAY [  1.144s]
finished. total time: 2.354s

C:\ADB3>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [  0.120s]
finished. total time: 0.120s

C:\ADB3>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.160s]
finished. total time: 0.160s

-> enter RECOVERY

then you can either:
1- OTG cable
2- adb push <name of rom>.zip /sdcard/
3- initiate sideload in custom recovery, then adb sideload <name of rom>.zip

adb push example:
 
Code:
C:\ADB3>adb version
Android Debug Bridge version 1.0.31

C:\ADB3>adb devices
List of devices attached
HT34xxxxxxxx    recovery <- you are now in recovery


C:\ADB3>adb push Android_Revolution_HD-One_52.0.zip /sdcard/
2990 KB/s (1172224138 bytes in 382.835s) <- yes, it took over 5 mins,
                                            without showing any progress

Just to double-check the file is not corrupt
C:\ADB3>adb shell md5sum /sdcard/Android_Revolution_HD-One_52.0.zip
2eff0d37fec5789b946c43f7da2c13bf  /sdcard/Android_Revolution_HD-One_52.0.zip
from the OP: Android Revolution HD 52.0 -- MD5 sum: 2EFF0D37FEC5789B946C43F7DA2C13BF -- ==> so all is good :)
C:\ADB3>

-> in recovery, select "install" and install the ROM
.


if you're having problems with PC seeing your phone, check FAQ#2 here: http://forum.xda-developers.com/show...24&postcount=2
Finally after 6 hours of sitting at my laptop, browsing the internet for answers ... it was so simple ...

1. adb wasnt working because when the device was connected in recover mode, Windows 8 had installed the "My HTC" drive ... To fix it all i did was uninstall that driver "My HTC".. refresh Device Manager and look under "unknown Devices" ... and install the Samasung OEM adb device driver in its place ...BOOM working adb!?

Next i followed your steps to push the rom via adb and it finished successful.


C:\Users\Peter\Android>adb devices
List of devices attached
FAXXXXXXXXXX recovery


C:\Users\Peter\Android>adb push rom.zip /sdcard/
4739 KB/s (1017950778 bytes in 209.742s)

C:\Users\Peter\Android>adb shell md5sum /sdcard/rom.zip
06c863ce41b0d5001290737a31e198a1 /sdcard/rom.zip

C:\Users\Peter\Android>

3. i check the "md5sum" and got "06c863ce41b0d5001290737a31e198a1" ... File i pushed was Android_Revolution_HD-One_9.4...

4. Flashed and device is now working perfectly

Thank You so much and for being so patient with me aha ... you deserve a thanks and a donation for all your help

Also gained S-Off using Revon

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more

Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more

Change Your Samsung Galaxy S2’s Dialer Background in Real Time

As with anything, if youve looked at something long enough, things can … more