So i'm no means a newbie & have a very well rounded knowledge of android. Here's my idea in a nut shell, I've already ported TWRP to our devices but its the damn locked bootloader thats holding me back.....(AKA US), So i've been researching safe strap & there are already so samsung galaxy devices that are already safe strapped. Why can't we recompile it so that it works on our device ?
jaaydogg said:
So i'm no means a newbie & have a very well rounded knowledge of android. Here's my idea in a nut shell, I've already ported TWRP to our devices but its the damn locked bootloader thats holding me back.....(AKA US), So i've been researching safe strap & there are already so samsung galaxy devices that are already safe strapped. Why can't we recompile it so that it works on our device ?
Click to expand...
Click to collapse
+1
I don't know enough about safe strap to contribute, but I'd like to see where this goes. Devs?
---------- Post added at 09:31 PM ---------- Previous post was at 09:16 PM ----------
This is a good read too
https://forum.xda-developers.com/showthread.php?t=2793891
Flashfire?????
Sent from my SM-G928T using Tapatalk
Root-Maniac said:
Flashfire?????
Sent from my SM-G928T using Tapatalk
Click to expand...
Click to collapse
Will flashfire boot a recovery.img ? All i know is that i've bootlooped this phone up pretty good with flashfire, lol. I know there is adb commands for that but i cannot remember, I thinks it's "adb boot recovery.img" or "adb boot recovery recovery.img" maybe its a fastboot command i'm not sure.
jaaydogg said:
Will flashfire boot a recovery.img ? All i know is that i've bootlooped this phone up pretty good with flashfire, lol. I know there is adb commands for that but i cannot remember, I thinks it's "adb boot recovery.img" or "adb boot recovery recovery.img" maybe its a fastboot command i'm not sure.
Click to expand...
Click to collapse
fastboot flash recovery recovery.img or fastboot boot recovery recovery.img
jaaydogg said:
Will flashfire boot a recovery.img ? All i know is that i've bootlooped this phone up pretty good with flashfire, lol. I know there is adb commands for that but i cannot remember, I thinks it's "adb boot recovery.img" or "adb boot recovery recovery.img" maybe its a fastboot command i'm not sure.
Click to expand...
Click to collapse
Yes you can recover with ff but since we have locked bl you have to re root then you can use ff to restore. Saves a little time but definitely not the same as unlocked bl and trwp...
Sent from my SM-G935T using XDA-Developers Legacy app
Fingers have been crossed since March. Good luck.
Sent from my SM-G935U using XDA-Developers Legacy app
Related
I got an engineering machine,
Interface is a native of Android. No,SN.The rest are all the same
Restore factory settings.it reboot, can't work.
Now,How I can get it to fastboot or working .
I think something like this happened with the cr48 Google Chrome netbooks last year someone got one by mistake and I think it helped out being able to flash an alternate bios.
Might want to hold on to this could be a important tool to help the developers out.
yes this is how the hp touchpad got android cyanhogen7mod can you do a full system dump with adb commands and post it here this is very crucial devs where are you.
kolboy said:
I got an engineering machine,
Interface is a native of Android. No,SN.The rest are all the same
Restore factory settings.it reboot, can't work.
Now,How I can get it to fastboot or working .
Click to expand...
Click to collapse
Contact @agrabren (twitter) he put TWRP on the KF and he apparently knows how to boot this thing into fastboot. Furthermore, if you can get into adb you might try pulling out a rom dump and other stuff for development purposes.
Sent from my SPH-D710 using xda premium
PM Sent
Hope you're willing to help us out!
---------- Post added at 02:05 PM ---------- Previous post was at 02:04 PM ----------
pyrostic said:
Contact @agrabren (twitter) he put TWRP on the KF and he apparently knows how to boot this thing into fastboot. Furthermore, if you can get into adb you might try pulling out a rom dump and other stuff for development purposes.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
We already knew how to boot into fastboot.
Code:
adb shell
su
idme bootmode 4002
reboot
death2all110 said:
PM Sent
Hope you're willing to help us out!
---------- Post added at 02:05 PM ---------- Previous post was at 02:04 PM ----------
We already knew how to boot into fastboot.
Code:
adb shell
su
idme bootmode 4002
reboot
Click to expand...
Click to collapse
Sorry this is using a special cable and would get you into fastboot even If you couldn't use adb.
Sent from my SPH-D710 using xda premium
Delete please.
pyrostic said:
Sorry this is using a special cable and would get you into fastboot even If you couldn't use adb.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Can you tell me about the special cable then?
pyrostic said:
Sorry this is using a special cable and would get you into fastboot even If you couldn't use adb.
Click to expand...
Click to collapse
Can you tell me about the special cable then?
kolboy said:
Can you tell me about the special cable then?
Click to expand...
Click to collapse
it's a Motorola "factory cable". I can't really lead you to a place that sells stuff, but I can LMGTFY the link .
http://lmgtfy.com/?q=http://shop.te...-programming-cable-for-Motorola-FactCable.htm
kolboy said:
I got an engineering machine,
Interface is a native of Android. No,SN.The rest are all the same
Restore factory settings.it reboot, can't work.
Now,How I can get it to fastboot or working .
Click to expand...
Click to collapse
same as me, if you know how to solve this problem, please pm me,thanks!
Now,I got zhe special cable into fastboot,
I try to enter a few commands
1. fastboot -i 0x1949 flash boot boot.img
2. fastboot -i 0x1949 flash recovery recovery.img
3. fastboot -i 0x1949 -w
4. fastboot -i 0x1949 boot boot.img
fire reboot, Next pic,i'm load to here,anyboby can help me ?
http://forum.xda-developers.com/atta...1&d=1322807775
Error effect:
MOUNT /CACHE Failure
http://forum.xda-developers.com/atta...1&d=1322807775
/backup/backup_userdata.zip Short of
http://forum.xda-developers.com/atta...1&d=1322807775
anyboby can help me ?
Anyone have any suggestions? Booting into recovery froze my device on the Google screen.
Sent from my Galaxy Nexus using xda app-developers app
Bump. Anyone have any suggestions?
joshtb86 said:
Bump. Anyone have any suggestions?
Click to expand...
Click to collapse
I suggest to install the Android ask and use the following fastboot commands.
fastboot oem unlock
fastboot flash recovery recovery.img
*change recovery.img to whatever filename the recovery is and put it in the same directory as your fastboot.
This way you'll learn what a "rootkit" does and be on your way to learning more .
Sent from my Nexus 7 using xda premium
mwalt2 said:
I suggest to install the Android ask and use the following fastboot commands.
fastboot oem unlock
fastboot flash recovery recovery.img
*change recovery.img to whatever filename the recovery is and put it in the same directory as your fastboot.
This way you'll learn what a "rootkit" does and be on your way to learning more .
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
do you know where i can get a version of CWM that works for the n7?
thanks!
joshtb86 said:
do you know where i can get a version of CWM that works for the n7?
thanks!
Click to expand...
Click to collapse
Here ya go.
before i do this, do i need to be booted or in bootloader. bootloader, because its using fastboot, right?
joshtb86 said:
before i do this, do i need to be booted or in bootloader. bootloader, because its using fastboot, right?
Click to expand...
Click to collapse
Fastboot mode within bootloader i believe.
I downloaded the latest twrp recovery and put the file in my platform tools. (also renamed it to twrp.img) and I go into fastboot mode. Run cmd in my platform tools directory and type fastboot flash recovery twrp.img and I get this message twrp.img no error. Im following a youtube video and the guy does the same thing im doing and his works..
Does it do the same with CWM?
EddyOS said:
Does it do the same with CWM?
Click to expand...
Click to collapse
I prefer twrp so no I have not tried CWm
Cjshino said:
I prefer twrp so no I have not tried CWm
Click to expand...
Click to collapse
Fair enough, but try it and see what happens
EddyOS said:
Fair enough, but try it and see what happens
Click to expand...
Click to collapse
still doesnt work
Cjshino said:
still doesnt work
Click to expand...
Click to collapse
1. Is your bootloader unlocked?
Use "fastboot oem unlock" to unlock your phone's bootloader. Be warn that it will wipe everything if you do not use "fastboot format cache" afterwards.
2. Can you see your device after you run command "fastboot devices"?
Install the fastboot drivers, download google usb driver here: http://developer.android.com/sdk/win-usb.html
ksilver89 said:
1. Is your bootloader unlocked?
Use "fastboot oem unlock" to unlock your phone's bootloader. Be warn that it will wipe everything if you do not use "fastboot format cache" afterwards.
2. Can you see your device after you run command "fastboot devices"?
Install the fastboot drivers, download google usb driver here: http://developer.android.com/sdk/win-usb.html
Click to expand...
Click to collapse
yes my bootloader is unlocked and when I run command 'fastboot devices' it works. Im really stumped..
is your kernel rooted? if yes use Recovery Tools (on play store).
Cjshino said:
yes my bootloader is unlocked and when I run command 'fastboot devices' it works. Im really stumped..
Click to expand...
Click to collapse
I just flashed it last night without any problems but I renamed the file recovery.img. You sure you have version 2.6 for the Nexus 4? TWRP has different recoveries for each device.
---------- Post added at 01:22 PM ---------- Previous post was at 01:16 PM ----------
Here's another thing to check. Make sure you didn't rename the file twrp.img.img as windows hides extensions by default. In my case when I renamed the file recovery I didn't have to add the extension .img as it was already there.
Cjshino said:
yes my bootloader is unlocked and when I run command 'fastboot devices' it works. Im really stumped..
Click to expand...
Click to collapse
If you're rooted, try this method:
1. Boot to Android system.
2. Enable USB Debugging
3. Connect your phone with USB.
4. Run the command below:
Code:
adb push twrp.img /sdcard/twrp.img
adb shell
5. Next, get root permission and flash the recovery.
Code:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
6. After confirming every steps, boot into recovery.
Code:
adb reboot recovery
Thanks guys i just used a toolkit and I have twrp for 4.3 now
This is the method tried on H815T model. But I think this should work with also other H815 models (other devices cannot say). Thanks to @autoprime, @thecubed and @Unjustified Dev for this.
Disclaimer: I am not responsible if your device gets into any more trouble for this.
Steps:
1. Download & clean install LG Drivers in your pc if u don't have it already.
2. Go into download mode by presing down the UP button and connecting the usb cable to the pc.
3. Go into LG ROOT folder. see this link to download: http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
4. Double click on ports.bat to know your COM port. Let's say it's COM4.
5. Open a windows command promt by Shift+Rt Click into the Lg Root folder.
6. Now send these commands:
Code:
Send_Command.exe \\.\COM4
It will reply
Code:
SPECIAL COMMAND : ENTER , LEAVE
#
7. Now command type
Code:
id
It should reply
Code:
uid=(0)root gid=(0)root
#
8. Now type
Code:
dd if=/dev/zero bs=8192 seek=35840 count=5120 of=/dev/block/mmcblk0
It will reply
Code:
#
9. Now pull out your battery, put it back in, go into HARD RESET mode by pressing down DOWN BUTTON+POWER BUTTON together and when the LG logo apprears, release the power button for a second and press it back again.
10. Now in HARD RESET, it will ask you whether you want to reset everything or not. Select "No" and it will take you to fastboot mode.
Special note:
1. @autoprime told me to factory reset everything before starting this whole process. I did as my bootloader was locked. Don't know how it affects in unlocked bootloader.
2. How to get out of fastboot normally: I don't know it quitely. My bootloader was locked, so neither I could flash any system file through fastboot, nor "fastboot reboot" or "fastboot reboot bootloader" worked for me. @autoprime told me to get out of fastboot, manually go into download mode, then pull out your battery and put back in. Actually you can't get out of the fastboot that way until you flash a KDZ.
Thank u. Reply in the comments if fastboot could help you any.
delete
Hi,
Thank you very much for this Guide. Unfortunately, having tried to unbrick my device (H815) previously by hard resetting and not having access to Android to re-activate ADB, the Shell (Send_command.exe) didn't help me (at every command it returns a "FAIL" message, my phone is recognized by Windows by the way).
So I couldn't get into Fastboot by following this Guide.
Hope it works for others, waiting for results!
TheBledard said:
Hi,
Thank you very much for this Guide. Unfortunately, having tried to unbrick my device (H815) previously by hard resetting and not having access to Android to re-activate ADB, the Shell (Send_command.exe) didn't help me (at every command it returns a "FAIL" message, my phone is recognized by Windows by the way).
So I couldn't get into Fastboot by following this Guide.
Hope it works for others, waiting for results!
Click to expand...
Click to collapse
You couldn't get into fastboot or u couldn't flash anything in fastboot? I cannot make my device recognised in adb too, but it is recognised in fastboot. U need to have the adb and fastboot setup in your pc. But I couldn't flash anything in fastboot as it shows my device is locked although someone said, theoritically it was supposed to flash system files through fastboot.
nipun1110 said:
You couldn't get into fastboot or u couldn't flash anything in fastboot? I cannot make my device recognised in adb too, but it is recognised in fastboot. U need to have the adb and fastboot setup in your pc. But I couldn't flash anything in fastboot as it shows my device is locked although someone said, theoritically it was supposed to flash system files through fastboot.
Click to expand...
Click to collapse
I couldn't get into Fastboot at all. Any command typed in send_command.exe gives "Fail" as result... Phone is connected in Download Mode and recognized in Windows, DIAG1 port is COM4.
Screenshot attached
lock bootloader , fastboot unnecessary
29y6145 said:
lock bootloader , fastboot unnecessary
Click to expand...
Click to collapse
True. I didn't realise that before, so gave it a try. But this may help those with unlocked bootloader.
Sent from my LG-H815 using Tapatalk
I always get a "FAIL" reply. Any ideas?
nipun1110 said:
True. I didn't realise that before, so gave it a try. But this may help those with unlocked bootloader.
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
With an unlocked bootloader...
Code:
adb reboot bootloader
nobnut said:
With an unlocked bootloader...
Code:
adb reboot bootloader
Click to expand...
Click to collapse
Hahahah tru!
nobnut said:
With an unlocked bootloader...
Code:
adb reboot bootloader
Click to expand...
Click to collapse
maybe u r suggesting to say
fastboot reboot bootloader
right?
Sent from my LG-H815 using Tapatalk
This does not work for me, I have an unlocked bootloader, but just get the response "FAIL".
And... Why don't you just zero the laf partition instead through an adb shell? What does this do that's different?
If we can get into fastboot, can we then do something like
Code:
fastboot boot recovery.img
to get into a custom type recovery and do a backup? I'm on the AT&T H810 version, locked bootloader, I don't know if that means a big fat NO lol or if this method of getting into fastboot mode would even work on my variant.
petermg said:
If we can get into fastboot, can we then do something like
Code:
fastboot boot recovery.img
to get into a custom type recovery and do a backup? I'm on the AT&T H810 version, locked bootloader, I don't know if that means a big fat NO lol or if this method of getting into fastboot mode would even work on my variant.
Click to expand...
Click to collapse
no one should be wiping laf or recovery to get into fastboot. it's a dumbed down fastboot that doesn't let anything flash or boot. the directions I gave OP were in a PM as a last resort because he was stuck in download mode with no booting and wanted to try fastboot. It was never meant to be suggested in public to users who might think they can get anywhere with it.
autoprime said:
no one should be wiping laf or recovery to get into fastboot. it's a dumbed down fastboot that doesn't let anything flash or boot. the directions I gave OP were in a PM as a last resort because he was stuck in download mode with no booting and wanted to try fastboot. It was never meant to be suggested in public to users who might think they can get anywhere with it.
Click to expand...
Click to collapse
Ok then if u suggesting me I should delete the post, I will ask Moderator to do so.
Sent from my LG-H815 using Tapatalk
It's good
Holly molly sir! You are a legend. Long story not so short. My lg got the bootloop bug. Took 2 months to fix, but apparently they changed my locked to three uk H815 "eu open" motherboard with actually unlocked one. So I was finally able to unlock boot-loader, root and **** up (LOL). Apparently I didn't install twrp properly (you'd think "fastboot boot twrp.img" would not install it but run it once) And i was following this to get Android M on. But it requires reboot before boot-loader is flashed. Right when i clicked reboot i figured it wont start in twrp but in stock recovery. So I couldn't even get proper bootloop, it would cut half way into the LG logo. I reckon kdz-ing would havedone the trick, but god it takes ages to DL the kdz file. So in the mean time i found this legendary post. The odd thing was i had to click Yes, on the factory reset screen, but it got me to "Fastboot mode started" and from there i booted into twrp and finished what it had started, currently its Optimising app 35 of 55. Nice one OP, Nice One!
hi i have unlocked bootloader. but i keep getting FAIL as response
nipun1110 said:
8. Now type
Code:
dd if=/dev/zero bs=8192 seek=35840 count=5120 of=/dev/block/mmcblk0
It will reply
Code:
#
Click to expand...
Click to collapse
Hi,
how can I change it back to default Factory reset??
Hi all,
Sorry if this is covered elsewhere but I cannot find it.
I successfully installed the May 2016 updates and now I am trying to get root back. I followed the usual steps for installing TWRP
Code:
adb reboot-bootloader
fastboot flash recovery .\recovery\twrp-3.0.2-0-clark.img
fastboot reboot
No errors seen...
Now if I try to reboot into recovery I get the "No command" page. If I then follow the power button and volume up keypress sequence, I am taken to the original recovery and not TWRP.
Any clues what I am doing wrong? I tried this several times today and no joy (yet all the other updates, I have had no problem getting TWRP and root installed).
Thanks.
user7743 said:
Hi all,
Sorry if this is covered elsewhere but I cannot find it.
I successfully installed the May 2016 updates and now I am trying to get root back. I followed the usual steps for installing TWRP
No errors seen...
Now if I try to reboot into recovery I get the "No command" page. If I then follow the power button and volume up keypress sequence, I am taken to the original recovery and not TWRP.
Any clues what I am doing wrong? I tried this several times today and no joy (yet all the other updates, I have had no problem getting TWRP and root installed).
Thanks.
Click to expand...
Click to collapse
You have to immediately boot into TWRP after flashing or the system will overwrite it with the stock recovery.
Sent from my XT1575 using XDA Labs
Thanks for that. Exactly the hint I needed.
Question
Would you mind telling me what steps you took to get the May update? It's so small that I'm reluctant to do anything major to get it and I'm debating on whether to just flash the stock recovery to give that a try, or whether I'm going to have to flash the unrooted image I've saved using TWRP, then flash stock recovery, then get the OTA. Seems like a lot of work for a tiny update.
user7743 said:
Hi all,
Sorry if this is covered elsewhere but I cannot find it.
I successfully installed the May 2016 updates and now I am trying to get root back. I followed the usual steps for installing TWRP
Code:
adb reboot-bootloader
fastboot flash recovery .\recovery\twrp-3.0.2-0-clark.img
fastboot reboot
No errors seen...
Now if I try to reboot into recovery I get the "No command" page. If I then follow the power button and volume up keypress sequence, I am taken to the original recovery and not TWRP.
Any clues what I am doing wrong? I tried this several times today and no joy (yet all the other updates, I have had no problem getting TWRP and root installed).
Thanks.
Click to expand...
Click to collapse
Marnina said:
Would you mind telling me what steps you took to get the May update? It's so small that I'm reluctant to do anything major to get it and I'm debating on whether to just flash the stock recovery to give that a try, or whether I'm going to have to flash the unrooted image I've saved using TWRP, then flash stock recovery, then get the OTA. Seems like a lot of work for a tiny update.
No errors seen...
Now if I try to reboot into recovery I get the "No command" page. If I then follow the power button and volume up keypress sequence, I am taken to the original recovery and not TWRP.
Any clues what I am doing wrong? I tried this several times today and no joy (yet all the other updates, I have had no problem getting TWRP and root installed).
Thanks.
Click to expand...
Click to collapse
If you have modified the system in any form, such as using Xposed, then OTA will fail. If the system image is stock that has never been rooted, in theory you should have no issues with stock recovery installed. The OTA is the May security update. Whether you feel it is necessary or not is up to you.
I can't get any further than unlocked bootloader I get no command after trying to get straight into twrp after flash and always goes to factory recovery if that will even boot is there a secret way to boot into recovery directly after twrp flash cause I've been trying for days and days what is going on is there a way to root without twrp first please help it's the main reason I bought this damn thing
Sent from my XT1575 using XDA-Developers mobile app
Sherrillface said:
I can't get any further than unlocked bootloader I get no command after trying to get straight into twrp after flash and always goes to factory recovery if that will even boot is there a secret way to boot into recovery directly after twrp flash cause I've been trying for days and days what is going on is there a way to root without twrp first please help it's the main reason I bought this damn thing
Sent from my XT1575 using XDA-Developers mobile app
Click to expand...
Click to collapse
Don't run the last command:
fastboot reboot
Select to reboot into recovery from the menu. If you're getting No command, you may need to flash the stock recovery then reboot the recovery. You should have the menu back. Flash TWRP and reboot into recovery to start TWRP.
HTH
Ooms
Sherrillface said:
I can't get any further than unlocked bootloader I get no command after trying to get straight into twrp after flash and always goes to factory recovery if that will even boot is there a secret way to boot into recovery directly after twrp flash cause I've been trying for days and days what is going on is there a way to root without twrp first please help it's the main reason I bought this damn thing
Click to expand...
Click to collapse
1. Periods, dude. Where are they?
2. Flash TWRP again.
3. In TWRP, mount /system (Advanced > Mount > system), and delete:
/system/etc/install-recovery.cfg
/system/etc/recovery-resource.dat
/system/recovery-from-boot.p
Click to expand...
Click to collapse
or add the .bak extension to the filenames.
/system/etc/install-recovery.cfg.bak
/system/etc/recovery-resource.dat.bak
/system/recovery-from-boot.p.bak
Click to expand...
Click to collapse
4. Reboot straight back into TWRP (Reboot > Recovery) to make sure TWRP sticks.
Can't get into twrp at all tried fastboot reboot and tried recovery mode directly after flash that's the whole issue just says no command upon trying to enter twrp directly after twrp.img flash.
Sent from my XT1575 using XDA-Developers mobile app
---------- Post added at 06:09 AM ---------- Previous post was at 06:08 AM ----------
Says flash successful but I don't think it truly is
Sent from my XT1575 using XDA-Developers mobile app
Sherrillface said:
Can't get into twrp at all tried fastboot reboot and tried recovery mode directly after flash that's the whole issue just says no command upon trying to enter twrp directly after twrp.img flash.
Sent from my XT1575 using XDA-Developers mobile app
---------- Post added at 06:09 AM ---------- Previous post was at 06:08 AM ----------
Says flash successful but I don't think it truly is
Sent from my XT1575 using XDA-Developers mobile app
Click to expand...
Click to collapse
Sounds like it's not flashing... what is your bootloader state? Try to start it with fastboot boot recovery.img command.
acejavelin said:
Sounds like it's not flashing... what is your bootloader state? Try to start it with fastboot boot recovery.img command.
Click to expand...
Click to collapse
Got it a while ago wrong windroid version.
Sherrillface said:
Got it a while ago wrong windroid version.
Click to expand...
Click to collapse
Umm... OK... No offense to @Rapscallion16 but why are you using a generic toolkit on the Moto X??? It has been mentioned many times that using one click tools and other toolkits is not safe with this and most newer Moto devices, doing it manually is pretty simple.
Anyway, glad you got it working. Enjoy...