Moto g XT1068 aka Moto G 2nd generation Unbrick. No fastboot. No blankflash. - Moto G 2014 LTE Q&A, Help & Troubleshooting

Your current stage : qualcomm hs-usb qdloader 9008 in your network devices ,when you connect your phone.(if not, get your
google to findout how to get here).
Attention Moto G 2nd generation users. Unbrick using SD card dump
Can anybody create the following file from working Moto g(2014). ?.It will save Many devices. Please give a google drive link.
Reference from below Threads.....
http://forum.xda-developers.com/showthread.php?t=2549068
http://forum.xda-developers.com/showthread.php?t=2660566
The following guide is for S3 but it will work for All the Qualcomm based devices. No need to have Linux os to perform this back up.Can be done using the windows.
Insert memory card into working & rooted Moto g and issue the following command using ADB
->adb.exe shell dd if=/dev/block/mmcblk0 of=/storage/sdcard1/debrick.bin bs=1024 count=81920
increase the count if you face any problem. Compress and Upload the debrick.bin in google drive and leave a link.
Explanation:
How to UNBRICK:
Credit goes to these guys in this thread, I thought i was onto something origional, however after doign some searching i found others have figured this out for a different Variant of the S3
What you did:
Bricked downgrading the bootloader after upgrading to the 4.3 bootloader. The 4.3 bootloader appears to blow efuses that stop previous boot loaders from booting. Now your EMMC has non booting garbage on/in it. YAY! not...
What we are doing:
What we will be doing is writing the Partition layout (Partition.mbn) among other things to the SD so the phone will boot from it after it fails to boot from the EMMC. According to my research the CPU is designed to cascaded from one storage device to the other in the event of failure on the first device. This also means if your EMMC is smoked, you could technically run the whole rom and everything from the sd card, or that's my assumption.
What you need:
- A Micro SD card 16GB or larger. this will no work on smaller cards, i tried a 2GB 4 GB and 8GB for the sake of testing and it fails.
- A working Dump that includes the SBL1, SBL2, SBL3, aboot, TZ and RPM from a working device that matches your DEVICE MODLE ie: I747U or I747M If you wanto t create your own dump from a friends device the command in a rooted adb shell would be as follows but not exact depending where you want the dump file to end up being on your sd cards. "dd if=/dev/block/mmcblk0 of=/storage/sdcard1/debrick.bin bs=1024 count=81920" That is what I used my my co-workers CM 10.2 rom to get the 4.3 bootloader/debrick dump. NOTE: the device has to be rooted with a working busybox that supports the dd command.
- The ability to write the dump image to the micro sdcard.

If this method works, my hardbricked Moto G 2014 will thank you!
Anyway, thank you so much for your hard work trying to help every user with a bricked Moto G 2014!

Pleaseeeeeeeeee! help in xt1069 to!

Help me too! I have Moto g xt1069.
Tnx

help
ByReverso said:
If this method works, my hardbricked Moto G 2014 will thank you!
Anyway, thank you so much for your hard work trying to help every user with a bricked Moto G 2014!
Click to expand...
Click to collapse
hey guy has to offer me of your moto g2 files. Please mine too this in this state

@lets_do_it,
In Brazil has a group on Facebook with over 1000 (all witch hardbrick) people and we are trying to get the files but it's pretty hard ):
lets_do_it said:
Your current stage : qualcomm hs-usb qdloader 9008 in your network devices ,when you connect your phone.(if not, get your
google to findout how to get here).
Attention Moto G 2nd generation users. Unbrick using SD card dump
Can anybody create the following file from working Moto g(2014). ?.It will save Many devices. Please give a google drive link.
Reference from below Threads.....
http://forum.xda-developers.com/show....php?t=2660566
http://forum.xda-developers.com/show....php?t=2549068
The following guide is for S3 but it will work for All the Qualcomm based devices. No need to have Linux os to perform this back up.Can be done using the windows.
Insert memory card into working & rooted Moto g and issue the following command using ADB
->adb.exe shell dd if=/dev/block/mmcblk0 of=/storage/sdcard1/debrick.bin bs=1024 count=81920
increase the count if you face any problem. Upload the debrick.bin in google drive and leave a link.
Explanation:
How to UNBRICK:
Credit goes to these guys in this thread, I thought i was onto something origional, however after doign some searching i found others have figured this out for a different Variant of the S3
What you did:
Bricked downgrading the bootloader after upgrading to the 4.3 bootloader. The 4.3 bootloader appears to blow efuses that stop previous boot loaders from booting. Now your EMMC has non booting garbage on/in it. YAY! not...
What we are doing:
What we will be doing is writing the Partition layout (Partition.mbn) among other things to the SD so the phone will boot from it after it fails to boot from the EMMC. According to my research the CPU is designed to cascaded from one storage device to the other in the event of failure on the first device. This also means if your EMMC is smoked, you could technically run the whole rom and everything from the sd card, or that's my assumption.
What you need:
- A Micro SD card 16GB or larger. this will no work on smaller cards, i tried a 2GB 4 GB and 8GB for the sake of testing and it fails.
- A working Dump that includes the SBL1, SBL2, SBL3, aboot, TZ and RPM from a working device that matches your DEVICE MODLE ie: I747U or I747M If you wanto t create your own dump from a friends device the command in a rooted adb shell would be as follows but not exact depending where you want the dump file to end up being on your sd cards. "dd if=/dev/block/mmcblk0 of=/storage/sdcard1/debrick.bin bs=1024 count=81920" That is what I used my my co-workers CM 10.2 rom to get the 4.3 bootloader/debrick dump. NOTE: the device has to be rooted with a working busybox that supports the dd command.
- The ability to write the dump image to the micro sdcard.
Click to expand...
Click to collapse

Help
ByReverso said:
If this method works, my hardbricked Moto G 2014 will thank you!
Anyway, thank you so much for your hard work trying to help every user with a bricked Moto G 2014!
Click to expand...
Click to collapse
the links do not work
It days trying to solve this problem, mine is xt1068

thirtytwoob said:
the links do not work
It days trying to solve this problem, mine is xt1068
Click to expand...
Click to collapse
Links for the thread is updated. you can view the reference now

ripizud said:
@lets_do_it,
In Brazil has a group on Facebook with over 1000 (all witch hardbrick) people and we are trying to get the files but it's pretty hard ):
Click to expand...
Click to collapse
If someone creates this image it will be helpful. since it requires basic rooting of the device (busy box installed)
and adb pull and need to compress the image.i got the seperate files like tz,sb1,..etc from another thread but i dont know how to create each partition using mini partition wizard. Because there are around 36 partitions ,cannot perform this manually

Reference links won't work

JeffDrk said:
Reference links won't work
Click to expand...
Click to collapse
click my original post.i can able to access

Good morning friends!!!
This link here from a web site development:
https://github.com/MotorolaMobilityLLC

estou com uma aparelho xt1068
tenho duvida de esse procedimento poderia danificar o aparelho de teste ?

UP my thread is my only hope.. Please can someone link the 1068 files

Could you detail the procedure is to provide the files used my Moto G2 does not start the recovery.
In that format should be the sdcard? (FAT32, NTFS, EXFAT)?

If someone finds out that this solution actually does work, and tests it on a hardbricked device with success:
WALL OF TEXT INCOMING:
I would like to help, but I only have a working XT1072 and my debrick.img would be useless here. But it should work, and you can get technical details by dissasembling recovery.img and checking recovery.fstab But I might make sooner or later an XT1072 debrick.img and place it in a thread with multiple debrick images for multiple images. We could make these from rooted devices running a stable ROM with a specified bootloader version, and gather them listing them in the following format, along with usage instructions:
D_V_B_A_T_debrick.zip
Device Codename
V:Variant
B:Bootloader version
A:Android version
T:TWRP version
Example:
thea_XT1072_48.21_5.1.1_3.0.2-0_debrick.zip with an mmc0blk0.img file inside.
just like this thread http://forum.xda-developers.com/galaxy-s4-verizon/help/help-plz-starting-debrick-img-t3003027
If this does really work, then Moto users won't live in fear anymore. A prosperous, brick-free glorious era awaits...
But it's not guaranteed to work, because Motos have been never recovered from a Lollipop hardbrick and this method surely had to be tested before (or was never tested and we had the solution AT OUR EYES). We need cooperation from everyone, and testers with both bricked and working devices from the same variant will be thanked in the post main page. Once the process is perfected, I will send my own debrick to be the second one in the list Someone please unbrick any Moto and then post the IMG and how did you make it (block size, count)
Please OP read this and make a debrick test thread! My device works OK but anything can happen.

benjausen said:
If someone finds out that this solution actually does work, and tests it on a hardbricked device with success:
WALL OF TEXT INCOMING:
I would like to help, but I only have a working XT1072 and my debrick.img would be useless here. But it should work, and you can get technical details by dissasembling recovery.img and checking recovery.fstab But I might make sooner or later an XT1072 debrick.img and place it in a thread with multiple debrick images for multiple images. We could make these from rooted devices running a stable ROM with a specified bootloader version, and gather them listing them in the following format, along with usage instructions:
D_V_B_A_T_debrick.zip
Device Codename
V:Variant
B:Bootloader version
A:Android version
T:TWRP version
Example:
thea_XT1072_48.21_5.1.1_3.0.2-0_debrick.zip with an mmc0blk0.img file inside.
just like this thread http://forum.xda-developers.com/galaxy-s4-verizon/help/help-plz-starting-debrick-img-t3003027
If this does really work, then Moto users won't live in fear anymore. A prosperous, brick-free glorious era awaits...
But it's not guaranteed to work, because Motos have been never recovered from a Lollipop hardbrick and this method surely had to be tested before (or was never tested and we had the solution AT OUR EYES). We need cooperation from everyone, and testers with both bricked and working devices from the same variant will be thanked in the post main page. Once the process is perfected, I will send my own debrick to be the second one in the list Someone please unbrick any Moto and then post the IMG and how did you make it (block size, count)
Please OP read this and make a debrick test thread! My device works OK but anything can happen.
Click to expand...
Click to collapse
I have the files of all partition gathered from other thread but i don't know ,how to create 36 partition on sd card i mean file system differ for each partition.like FAT,ext4,.Thatswhy i require a debrick image file which has partition information.once it is available i can "dd" the files to each partition.
But can you please post your files ?. Xt1072 files are okay. our devices are bricked because of different partition size from kitkat to lollipop so
your help is required.i can change the partition size later i have the partition table information with me.
http://forum.xda-developers.com/moto-g-2014/help/help-partition-layout-info-dump-xt1068-t3333342

I am available for testing
benjausen said:
If someone finds out that this solution actually does work, and tests it on a hardbricked device with success:
WALL OF TEXT INCOMING:
I would like to help, but I only have a working XT1072 and my debrick.img would be useless here. But it should work, and you can get technical details by dissasembling recovery.img and checking recovery.fstab But I might make sooner or later an XT1072 debrick.img and place it in a thread with multiple debrick images for multiple images. We could make these from rooted devices running a stable ROM with a specified bootloader version, and gather them listing them in the following format, along with usage instructions:
D_V_B_A_T_debrick.zip
Device Codename
V:Variant
B:Bootloader version
A:Android version
T:TWRP version
Example:
thea_XT1072_48.21_5.1.1_3.0.2-0_debrick.zip with an mmc0blk0.img file inside.
just like this thread http://forum.xda-developers.com/galaxy-s4-verizon/help/help-plz-starting-debrick-img-t3003027
If this does really work, then Moto users won't live in fear anymore. A prosperous, brick-free glorious era awaits...
But it's not guaranteed to work, because Motos have been never recovered from a Lollipop hardbrick and this method surely had to be tested before (or was never tested and we had the solution AT OUR EYES). We need cooperation from everyone, and testers with both bricked and working devices from the same variant will be thanked in the post main page. Once the process is perfected, I will send my own debrick to be the second one in the list Someone please unbrick any Moto and then post the IMG and how did you make it (block size, count)
Please OP read this and make a debrick test thread! My device works OK but anything can happen.
Click to expand...
Click to collapse
The model of my cell phone and the XT1078, however he is full brick, if you can find the backup.img the XT1072 I could do a test here in my. I would be very agradesito.

ByReverso said:
If this method works, my hardbricked Moto G 2014 will thank you!
Anyway, thank you so much for your hard work trying to help every user with a bricked Moto G 2014!
Click to expand...
Click to collapse
Please tutorial??

lets_do_it said:
I have the files of all partition gathered from other thread but i don't know ,how to create 36 partition on sd card i mean file system differ for each partition.like FAT,ext4,.Thatswhy i require a debrick image file which has partition information. once it is available i can "dd" the files to each partition.
But can you please post your files ?. Xt1072 files are okay. our devices are bricked because of different partition size from kitkat to lollipop so
your help is required.i can change the partition size later i have the partition table information with me.
http://forum.xda-developers.com/moto-g-2014/help/help-partition-layout-info-dump-xt1068-t3333342
Click to expand...
Click to collapse
I will try to help. I currently cannot post my own files, also I need to know information like the block size for the DD command. Also a document with recovery.fstab will help because I run Windows right now. Android phones use ext4 by default, so use this.
---------- Post added at 03:33 PM ---------- Previous post was at 03:31 PM ----------
eliezer.system said:
The model of my cell phone and the XT1078, however he is full brick, if you can find the backup.img the XT1072 I could do a test here in my. I would be very agradesito.
Click to expand...
Click to collapse
I will try to take a partition dump from my own phone, but I am afraid I will mistype the command and ruin the phone. I will try anyway and when I have time I will post the IMG.

Related

[GUIDE] Changing your Bluetooth/Wi-Fi MAC Address

Hi guys
Well, I had an Atrix for a few days, but had some issues with AT&T and had to return it and deal with some customer service issues before I can re-purchase the device. I didn't let that slow me down though
While I had it, I made a few dumps of the NAND, and have been working on disassembling things. Thanks to the help from a number of great people on IRC (#xda-devs irc.freenode.net) I have been able to successfully change the Bluetooth and Wi-Fi MAC addresses, and discovered a way to write to the flash, bypassing the bootloader security.
The full writeup can be found at pocketnow.com
I will be posting more info about the bootloader bypass as soon as I get it 100% working, right now we are able to write data directly to the NAND, bypassing bootloader security, and also provide a false signature, allowing the device to boot. However there are some remaining issues (a custom kernel that was flashed to the device failed to boot properly) - stay tuned
You the man, thanks for the efforts !
Sweeeet!
Wonderful work!
Excellent, can't wait to see the end result. Hopefully custom kernels and ROMs will be coming soon.
Devs you guys are amazing! Thank you for the hard work that is put into all this! I know the challange is fun for you all, but it really helps us non dev ppl out a lot!
Sent from my MB860 using XDA App
nicely done Da-G.... great work as always glad to see you again and i hope to continue using your work as i did back in old winmo cooking !!!
quick question, is there really a reason why to change the bluetooth/wifi MAC drivers??? are there any benefits or basically just the same exact reasons when you do it on pc's
Main reason to change MAC address is to be able to join Wi-Fi networks that have whitelisting.
You could also use it to simplify device administration on your network.
Beyond that I can also imagine a few black-hat reasons to do it
Atrix is one of the few smartphones that can pull it off easily though, others I am aware of are the LG Optimus One and the SGS series (although it's not so easy on SGS)
There are plenty of other interesting datas in /pds, it is the device provisioning partition (NVRAM) and is equivalent to /efs on the i9000/Captivate (which is the last device I used, so easy for me to compare with)
Careful messing with it though, on the Captivate changing the wrong bit would kill your cellular radio until you restored an EFS backup, I suspect the same danger is here with the Atrix too! And we don't have a quick way to restore a PDS backup yet like with odin on SGS (although I am hot on the heels of a method to do so)
Omfg I'm excited! If this device gets real ROMs an even custom kernels, its going to be an even more amazing device
Sent from my MB860 using XDA Premium App
i'm exited about the bootloader bypass, i thought the firmware would do a complete checksum of it, so if it's partial then we should be able to find out exactly what gets checked.
i'm curious to see if you have been able to find something regarding sim unlock, just like the sgs was holding the lock very easily changeable with a simple hex editor. i bought the code already but maybe other people will get lucky
I've asked for a backup of /pds prior to and after locking over in the general forum, hopefully a few people can send those my way. I suspect a good hard look at that will reveal the location and provide an easy unlock method (I think I located it already, but as /pds is not restored via flashing the leaked SBF, i'm loathe to have someone else try it in fear of brickage)
I'll hammer it out once I get my device back in hand, whenever AT&T decides to allow me to purcahse
Da_G said:
I've asked for a backup of /pds prior and after locking over in the general forum, hopefully a few people can send those my way. I suspect a good hard look at that will reveal the location and provide an easy unlock method (I think I located it already, but as /pds is not restored via flashing the leaked SBF, i'm loathe to have someone else try it in fear of brickage)
I'll hammer it out once I get my device back in hand, whenever AT&T decides to allow me to purcahse
Click to expand...
Click to collapse
i will do it, but i am getting a permission denied.
Code:
C:\Users\fjleon\Desktop\android-sdk-windows\platform-tools>adb shell tar zcvpf /
sdcard-ext/pds-backup.tar.gz /pds/
tar: can't open '/sdcard-ext/pds-backup.tar.gz': Permission denied
i tried adb shell su and accepted super user on the phone, but i still cannot do it
wow bypass= custom roms...... this would be ingenious hope u get it working....
how does rsd lite 5 flashing work??? it seems to create an image and then re sign it.... would backtracking and try to use the same method work?
@franciscojavierleon:
Make sure you don't have usb internal/sd storage mounted when you issue the command, or the sd card will be unaccessible from device
@ahjdmarchi:
I didn't study the program too much yet. I'll look to that if the current method i'm working on proves to be a failure
Da_G said:
@franciscojavierleon:
Make sure you don't have usb internal/sd storage mounted when you issue the command, or the sd card will be unaccessible from device
@ahjdmarchi:
I didn't study the program too much yet. I'll look to that if the current method i'm working on proves to be a failure
Click to expand...
Click to collapse
heres a tattoo that i have on my chest
"failure is not an option" good luck brudda hope all turns well
Da_G said:
@franciscojavierleon:
Make sure you don't have usb internal/sd storage mounted when you issue the command, or the sd card will be unaccessible from device
Click to expand...
Click to collapse
i unmounted it and tried again and still get the same error. i killed root explorer first since i had it open and no dice
@franciscojavierleon:
Try this instead.
Code:
adb shell tar zcvpf /data/local/tmp/pds-backup.tar.gz /pds/
adb pull /data/local/tmp/pds-backup.tar.gz
adb shell rm /data/local/tmp/pds-backup.tar.gz
RadioComm
You really need to take a look at RadioComm if you haven't yet.
The BT MAC address can be edited directly in the NVM on all Motorola devices.
On CDMA chipset devices it is located in seem 01bf record 0001 bytes 0006 and there is also a module and special set of TCI commands for managing this called HOB restore.
There are also flags set in the firmware for whether the HOB is verified during the flash cycle or not.
just an FYI!
@cellzealot:
Checked out RadioComm already, but none of the commands work for Atrix. Have you tried it? Perhaps you have a more updated version?
Edited. Nevermind just saw you needed it before unlock as well. I've got my PDS folder from my unlocked phone if you need it (not sure)
i should get my unlock between today and tomorrow, so with my locked pds backup i will do a diff to see if anything gets changed at all.

OMAP4430 boot.rom dump

My purpose is to locate the fastboot system, and I thought that I would start from, well, the start. Boot-up on the OMAP4430 tries many places, one is an on-chip 48kb ROM. I initially tried to read /dev/mem, but no matter what address I tried to read it would say Bad Address, so I had to make a kernel module, in which I dumped the boot ROM to a file... and it worked.
The reversion of the ROM on my bionic is 0x03 0x19
(Please read Ch 27(.4.2.1) of OMAP4430_ES2.x_PUBLIC_TRM_vY.zip )
I am more handy with ia32 assembly, not arm...
So where is fastboot? I can see a few other addresses, but if I try to map some of them, the device will reboot.. The TRM spoke of 0x08000000 for a fast boot XIP but a reboot occurs (I think) ... any ideas where to look next?
After a day of digging around, I was able to find that "fastboot"(0x08000000) address at 0x28C18 (0x28000 is the base address of the boot.rom) ... just helping out anyone else interested in looking into this. I somehow don't think that this is what I am looking for though... but atleast I do know that I am making some headway
Edit: Confirm that I am unable to read even one byte from 0x08000000 .. reboots
Edit2: Polling from the Control Register (0x4A0022C4) returned 0x00000AEF ... which means that
1) This is not a GP(General Purpose) OMAP4430
2) SYS_BOOT[5:0] is b101111 which tells us
a) to use Memory, not Peripheral boot devices
b) 1st boot device is MMC2(1)(perm) (eMMC/eSD = GPMC pins)
c) 2nd= USB-ULPI (external transceiver)
... Does the MMC mean it boots from the onboard 16gb? If so, then this might be easier to trace through than I thought...
Has anyone dumped the entire contents of that memory? or just the known partitions?
Edit3: Reading the TRM more (pg 5240) tells me that SDMMC2 only Raw mode is supported, no file system (FAT12/FAT16/FAT32) support because the purpose of this approach is to avoid the boot time penalty of searching for a file system hierarchy when it is not always necessary.
Edit4: ...and Sure enough, dumping the first 512 bytes of /dev/block/mmcblk1 shows the Bootable signature (0x55AA) at the end (0x01FE)
... I thought I read that it would just try to read in RAW mode, which makes it not want to even have such a thing, but I knew it had all those other partitions, so I figured I might have been wrong there...
A proper dump of this soon enough.. atleast I gave you guys the boot.rom from the actual OMAP4430 that would have been otherwise hard to retreive... I only wasted one day on this, not bad and I learned some ARM ASM
Edit5: Maybe I am getting ahead of myself, it is of type 0x83 ... which is Linux, not any of the FAT FS which the boot.rom supports... ?
Edit6: Well, it has the file it's looking for, not sure if it's a FAT system like it's suppose to be though, and it looks like in a 1MB dump that fastboot is in the 2nd or maybe more, partition... I still want to try to dump this "MLO" bootup file... but i have to learn about FAT fs structure, ugh...
The implications of deep hardware hacking like this make me very excited for what could be possible with the Bionic. It contains some absolutely absurd hardware for a mobile device so the sky's the limit at this point. Fantastic work! I could only dream of being able to comprehend the things that guys like you can.
Also I wonder if this thread would end up getting proper attention in the dev section.
projektorboy said:
The implications of deep hardware hacking like this make me very excited for what could be possible with the Bionic. It contains some absolutely absurd hardware for a mobile device so the sky's the limit at this point. Fantastic work! I could only dream of being able to comprehend the things that guys like you can.
Also I wonder if this thread would end up getting proper attention in the dev section.
Click to expand...
Click to collapse
I only wish I could comprehend what he is talking about. I'm glad to see a vested interest is being taken!
Sent from my DROID BIONIC
Thanks so much, Noxz for making the effort to do this!
hey, thanks finally for the responses, a full day after the initial dump and no responses... I think because it's NOT in the dev section... but I can't post a thread there until I have 10 posts... maybe I can get that privilege now, moderators?
The bad part with disassembling is that when it computes an jump in code(in ARM it's called a branch) and doesn't give a specific address, it makes finding that code very hard.. I found the text "MLO", the bootable file, in the boot.rom but nothing of the code I know referenced it yet, unfortunate because that partition is not a standard FAT fs and thus is taking a while to read, but if I did have the disassemble of the ROM code where it looks for that, or even just the file search, then I could easily see what it is reading...
Obviously knowing that fastboot and such is in the second or third partition is quite a step forward, but I need to dump this MLO file so we can read from start to finish...
I'll keep everyone posted
So this partition isn't a correct FAT fs... I don't know if being identified as a Linux partition means anything and I'm just not reading into it right, but I am having some time trying to look into these files, you can easily see the MLO file, a KEYS file, and a PRIMAPP file right at the start, or I should say the file name, but there isn't much information on where they are mapped, etc etc...
Maybe partition2 will be better? It's also identified as a Linux partition
I still have a few days to waste...
Sorry to ask dumb. But what exactly does this benefit me when flashing it?
Sent from my DROID BIONIC using Tapatalk
The current fastboot does not have several commands that is in the original source... but really, I am just interested in the entire boot procedure.. there's a few things I might like to change... The good news is because everything but the boot.rom resides on the eSD, that means we should be able to write to it very easily, so we can change quite a bit
Noxz, I am along with these guys in I would understand more if I was just dropped in the middle of Ghana :\ but I would like you to know that you have given me my 1024th item on my 'to research' list. So once I get bored with what I'm doing now, I am going to try to learn a little bit about ARM and OMAP
Hah, I understand...
I've done a bit of x86 ASM and BIOS disassembly before.. so I figured I might as well peek into this and see what is being hidden and such...
I am seeking help right now... If you know anything about the FAT filesystem... you can start by doing "dd if=/dev/block/mmcblk1p1 of=/mnt/sdcard-ext/partition1"
.. It obviously has that MLO bootup file in it as mentioned in the OMAP4430 TRM but I can't seem to trace what cluster it might be in... I have to assume that it is in fact a FAT fs... but it doesnt seem to follow any of the structures/formats I've been reading... ???
The boot rom you've dumped is the ti omap itself; the only real purpose of that is to bootstrap the bootloader. You are correct in that it's not a GP; none of the Motorola phones are -- this boot rom is what verifies the signature of the bootloader.
http://www.droid-developers.org/wiki/Booting_chain
While not exact, the above diagram will give you an overview of the layout used by Motorola phone. The short version is boot rom -> mbmloader -> mbm -> lbl -> kernel, where mbmloader is the Motorola terminology for the MLO or X-LOADER referenced in the TRM. mbm is the bootloader (motorola boot manager) and controls all actions henceforth, including fastboot (which replaced an older sbf protocol).
The CDT acts as a partition table and lists the layout of the device, including marking where the signatures are located and how often they're checked.
http://blog.opticaldelusion.org/2011/10/bionic-development-notes.html
Sorry for late answer.
Here you can find example of reversing OMAP 3430 bootrom http://hg.droid-developers.org/reverse_engineering/src/b8b881184b5f/asm
As mentioned before droid-developers wiki contain a lot of info about bootrom.
Here you can find info about bootrom itself http://www.droid-developers.org/wiki/Application_Processor_Boot_ROM
Here you can find info about security model in omap http://www.droid-developers.org/wiki/Security http://www.droid-developers.org/wiki/Secure_Services
Here you can find info about my project - emulation of early OMAP booting (including bootrom debugging) http://www.droid-developers.org/wiki/QEMU

Teclast X80 Pro (E3E6) Dual OS (Win10/Android 5.0): Remove Windows

Hey guys. Sorry to bother you in the X98 section, but since there's no section for the X80 yet and maybe the devices have some similarities, I hope it's ok.
The tablet worked fine, but to remove any possible bloatware under Windows or Android, I reset Windows. Somehow the device must have crashed (low battery?) and now I can't boot to Windows anymore (black screen and / or boot loop). Of course I made no backup / recovery disk. Android still works fine and I still get into BIOS / UEFI.
I tried reinstalling Windows via OTG with USB stick. I got to the point where I can choose a partition. Problem is, there are lots of partitions (Android, recovery, System and so on). I located the Windows partition, formatted / deleted it and tried to reinstall Windows on this partition. Just the exact way I would do it on a PC. Somehow it won't install on this partition. The error message says something about "the partitions are not in the recommended order. Further information for installation on GPT-volumes..." (I don't know the exact English phrasing because everything is in German). I chose "continue anyway". Then I get the message that "the EFI-system is not formatted in NTFS. Format the partition to FAT32 and start install procedure again". I press ok and get back to Windows Setup (Install now).
I also tried different repair and recovery options. One time I got error code 0xC0000034. Funny thing is, Windows still seems to be there because while trying to repair / recover I tried to load some drivers and could see the hard drives and folders under Windows.
I tried downloading the original roms here: http://pan.baidu.com/s/1qYEa8gc
You need a Baidu account for the larger files and after days and days I gave up to create such an account as it seems to work only with a mainland China number. There's an option for oversea mobiles but that's not working. I tried a QQ-account, but Baidu wants to link with it and you need that telephone number again. So apparently there's no way to get the original files that way.
I found some stuff here: http://www.needrom.com/download/teclast-x80-pro-dualboot/ but that's only a tutorial file in Chinese and some flash programms / drivers (also got them from Baidu - smaller files are possible to download without an account).
Long story short: I guess recovering Windows 10 is too much effort, so I want to make the tablet Android only and of course want to use the whole capacity for Android. I found a thread on reddit about removing Windows on the X98: https://www.reddit.com/r/teclast/comments/479eua/teclast_x89_how_to_remove_windows_10/
But I have no idea which partitions are definitely needed for Android and which ones I can safely delete. I found a partition map here: http://wheresmykeyboard.com/2015/08/teclast-x98-air-64gb-dual-boot-default-partition-map/ but that doesn't help me that much because they look different.
Attached you will find a photo of all the partitions on my device. I guess there are some which were created during the failed Windows installation because I had about 20 GB free space and now only 17.7 GB.
So is there anybody out there who knows if it's possible to remove Windows completely and which partitions I have to delete?
Did you ever figure this out? I just bought an X80 Pro and was thinking of doing something similar since I plan on making it an android-only tablet.
Deathgazer said:
Did you ever figure this out? I just bought an X80 Pro and was thinking of doing something similar since I plan on making it an android-only tablet.
Click to expand...
Click to collapse
Hi. Sorry for the late replay. Yes, I figured it out and my X80 Pro is now running Android-only with 32 GB. In the end, it wasn't that hard but a long way to success.
metalaxi said:
Hi. Sorry for the late replay. Yes, I figured it out and my X80 Pro is now running Android-only with 32 GB. In the end, it wasn't that hard but a long way to success.
Click to expand...
Click to collapse
Please do describe how you achieved Android-only with 32 GB memory
Cheers
metalaxi said:
Hi. Sorry for the late replay. Yes, I figured it out and my X80 Pro is now running Android-only with 32 GB. In the end, it wasn't that hard but a long way to success.
Click to expand...
Click to collapse
Yes please tell us how metalaxi , it'll be much appreciated.:good:
Ok, guys. Since some of you are asking how I did it, I'm going to try to explain it. It's kinda embarrassing that I don't remember the exact way but I hope it helps somehow. I used the tutorial from this site: http://techtablets.com/forum/topic/x80-plus-android-os-only/#login
Even though it's supposed to be for the Plus model, it also worked on the Pro. Btw, the guy Alex in that thread is me .
You can download all the files from my Google Drive here: https://drive.google.com/open?id=0BxEFqy4Rt9w_cnh3VG9ySk5sOHM
You need
- Android5.1 Upgrade Tool.rar
- X80 Pro (E3E6)- Dual OS - Android5.1-V1.04 Firmware.rar
- gpt.rar (Credit goes to Allember @techtablets-forum; hope it's ok to spread the file)
First you have to install the flash tool. Unrar the firmware and replace the gpt.bin. Then flash the firmware by checking BLANK.
Problem is that when I did all that, my Windows was already crushed and wasn't working anymore. I can't remember anymore if I erased the Windows partitions or any others beforehand. If you're not interested in Windows anymore, just flash it without changing or erasing any of the partitions. I guess by replacing the gpt-file, you do all that automatically.
I hope this somehow helps you. Feel free to ask for more help.
Have a good night!
metalaxi said:
Ok, guys. Since some of you are asking how I did it, I'm going to try to explain it. It's kinda embarrassing that I don't remember the exact way but I hope it helps somehow. I used the tutorial from this site: http://techtablets.com/forum/topic/x80-plus-android-os-only/#login
Even though it's supposed to be for the Plus model, it also worked on the Pro. Btw, the guy Alex in that thread is me .
You can download all the files from my Google Drive here: https://drive.google.com/open?id=0BxEFqy4Rt9w_cnh3VG9ySk5sOHM
You need
- Android5.1 Upgrade Tool.rar
- X80 Pro (E3E6)- Dual OS - Android5.1-V1.04 Firmware.rar
- gpt.rar (Credit goes to Allember @techtablets-forum; hope it's ok to spread the file)
First you have to install the flash tool. Unrar the firmware and replace the gpt.bin. Then flash the firmware by checking BLANK.
Problem is that when I did all that, my Windows was already crushed and wasn't working anymore. I can't remember anymore if I erased the Windows partitions or any others beforehand. If you're not interested in Windows anymore, just flash it without changing or erasing any of the partitions. I guess by replacing the gpt-file, you do all that automatically.
I hope this somehow helps you. Feel free to ask for more help.
Have a good night!
Click to expand...
Click to collapse
Hi @metalaxi. Do you think its possible to like "reverse" and use the same files to remove Android instead and maintain the Windows 10? Appreciate to hear from you. Thanks!
Do we have to change the gpt before doing what you said in your PDF? Or I have just to follow your PDF?
Hi guys, got mine a few months and want to get rid of the Windows part, but the instructions are insufficient for a joker like me.....
1. Download the firmware, its 4 parts of rar being zipped together
2. flash the firmware HOW?!?!?! I have no Idea...... please give us some closer instructions.
reycharlesconrad said:
Hi @metalaxi. Do you think its possible to like "reverse" and use the same files to remove Android instead and maintain the Windows 10? Appreciate to hear from you. Thanks!
Click to expand...
Click to collapse
Sorry, I can't answer that sufficent enough. As far as I know, you can just delete all partitions except the ones from Windows. Then format the unallocated space and merge it with the one from Windows. No guarantee!
dirkzelf said:
Hi guys, got mine a few months and want to get rid of the Windows part, but the instructions are insufficient for a joker like me.....
1. Download the firmware, its 4 parts of rar being zipped together
2. flash the firmware HOW?!?!?! I have no Idea...... please give us some closer instructions.
Click to expand...
Click to collapse
1. Which 4 parts do you mean?
2. To flash any firmware, you need to install all the upgrade tools:
IntelAndroidDrvSetup1.5.0
iSocUSB-Driver-Setup-1.2.0
PhoneFlashTool_5.3.4.0_internal_win32
metalaxi said:
1. Which 4 parts do you mean?
2. To flash any firmware, you need to install all the upgrade tools:
IntelAndroidDrvSetup1.5.0
iSocUSB-Driver-Setup-1.2.0
PhoneFlashTool_5.3.4.0_internal_win32
Click to expand...
Click to collapse
it's too long ago, so I don't know what I exactly did there, but since there was no reply for a long time, I just took a shot and worked out well, now I have an Android only tablet.
I just got lucky I guess....
partition help
Hi, please help.
I have x80pro e3e8
I managed to erase a complete disk partition.
You are trying to revive again, fail.
installed here:
iSocUSB-Driver-Setup-1.2.0
IntelAndroidDrvSetup1.5.0
PhoneFlashTool_5.3.4.0_internal_win32
downloaded here:
Firmware (20161020_SZ)
Tablet joined and tried to flash.
* failed - failed loadet.efi
Please help. I can not download from Baidu
* If I use phoneFlasTool and flash a blank disc - Create Flash partition and dual boot and replace recovery?
What to do with an empty disc?
Thanks for any advice
It is not so hard. By mine it was only trial and error. Installiert all drivers an go in the bootloader with three Finger method. Go two levels up and go into bootloader. Then connect to PC and look in Intel flashing tool if connection is reconiced correctly. Select the downloaded file and select flash. Thats it. Device will reboot and you are ready to go.
theone0987654321 said:
It is not so hard. By mine it was only trial and error. Installiert all drivers an go in the bootloader with three Finger method. Go two levels up and go into bootloader. Then connect to PC and look in Intel flashing tool if connection is reconiced correctly. Select the downloaded file and select flash. Thats it. Device will reboot and you are ready to go.
Click to expand...
Click to collapse
Thank you for the advice. That's right, I did it was marked. I found a reason. rom file was saved on desktop, and had a long name (as I downloaded it) It must copy the file to C've renamed the firmware. Everything went alright. I downloaded and used the GPT files for resizing disk and now goes all right. Thank you for responding to my question.
hi, I have problem while flashing.
Phone flash tool always gives ERROR
Automatic reboot is not supported on this device, please reboot the device manually
ERROR : [Port 0/1/4] Failed to reboot the device
Click to expand...
Click to collapse
Any idea what to do? I followed all the steps, tried many times, still same problem. And it's not possible to reboot device manually, because then it lose connection with PC
Restock OS Without Android
Hi there.
I have to restock my Device, but the Intel Flash Tool does not recognize my Device.
I cannot boot into Android to turn on USB-Debugging or go into fastboot mode
How do i flash my device without any OS installed?
---------- Post added at 04:03 PM ---------- Previous post was at 03:52 PM ----------
affe2000 said:
Hi there.
I have to restock my Device, but the Intel Flash Tool does not recognize my Device.
I cannot boot into Android to turn on USB-Debugging or go into fastboot mode
How do i flash my device without any OS installed?
Click to expand...
Click to collapse
Ok, got it working... dnx fastboot mode is there
....
hello guys by accident i deleted windows 10, how can i reinstall them? i dont have the windows 10 icon in the dual boot select i only see the android icon
mike mike baby said:
hello guys by accident i deleted windows 10, how can i reinstall them? i dont have the windows 10 icon in the dual boot select i only see the android icon
Click to expand...
Click to collapse
Straightforward if you can obtain a USB stick capable of storing over 7GB (some 8GB sticks may not); USB hub (ideally a powered hub); USB keyboard; OTG cable.
1) Obtain the Windows files of the correct firmware. The procedure outlined here is for E6E9 firmware, but other firmware will be similar. Download the circa 6.5GB E6E9 firmware Windows files from https://yadi.sk/d/XEvRsoiD3Q4vKX or https://mega.nz/#F!I0AXGR5C!YiNFkZL9DIvzepH28qAjEQ (or from appropriate source for your firmware version).
Decompress the downloads as required to obtain six folders and two files.
2) Format the stick to FAT32.
3) Name the stick WINPE (five uppercase characters).
4) Copy the previously mentioned folders and files to the USB stick.
5) Plug USB stick and USB keyboard into hub; plug hub into OTG cable; plug OTG cable into tablet whilst the tablet is off.
6) Turn on tablet and immediately start tapping << Delete >> key on USB keyboard. This should open the UEFI config section prior to Android boot option. If the tablet displays the Android boot option, turn off the tablet, wait a few seconds, then turn on and start tapping << Delete >> key on USB keyboard again.
7) When in UEFI, touch the title menu option of << Save and Exit >> and look in the << Boot Override >> section for the name of your USB stick, then touch the name of your USB stick. The screen will immediately go blank as the tablet starts to boot from the USB stick.
8) After a few minutes, a numerically display of progress will be displayed in a CMD window.
9) After reaching 100% and nearing completion of the overall installation, the tablet will prompt for acceptance, so accept that prompt.
10) The setup will run a few final operations for a few seconds, then automatically reboot.
11) Done.
You will be prompted to complete the OOBE on each Windows boot until you complete OOBE.

LG G Watch R Hardbricked. Any way to reflash Bootloader or Recovery?

Well as the Title say through my dumb idea of using rm -rf / on my linux laptop I managed to wipe my Linux Laptop HDD together with every partition of my LG G Watch R since I had it connected. It doesn't turn on anymore since bootloader is misssing and is only found as broken usb device in windows and when suing lshw on Linux it loads forever. Any way to maybe low level write the Bootloader or recovery again so that I can create all the partitions and stuff again?
Found something with lshw now but didn't find anything too helpful yet online
Beschreibung: Allgemeines USB-Gerät
Produkt: QHSUSB__BULK
Hersteller: Qualcomm CDMA Technologies MSM
Physische ID: 3
Bus-Informationen: [email protected]:3
Version: 0.00
Fähigkeiten: usb-2.00
Konfiguration: driver=qcserial maxpower=2mA speed=480Mbit/s
Can anyone with a working LG G Watch R please runt his command and send me the file?
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=200
Did you run him up ?
Maybe that will help You :
http://forum.xda-developers.com/showthread.php?t=2683073
As a tip...
I can share with files in case.
1 find way to load files on him . Worst then it is atm can not be
Also catch that:
http://forum.xda-developers.com/g-watch-r/help/restore-download-mode-t3124633
Hope it will help - GL!
Ping if sth.
gucio1200 said:
Did you run him up ?
Maybe that will help You :
http://forum.xda-developers.com/showthread.php?t=2683073
As a tip...
I can share with files in case.
1 find way to load files on him . Worst then it is atm can not be
Also catch that:
http://forum.xda-developers.com/g-watch-r/help/restore-download-mode-t3124633
Hope it will help - GL!
Ping if sth.
Click to expand...
Click to collapse
Thanks for the answer. I had tried to get my broken watch to be recognized as Mass storage which can somehow be achieved through Qualcomm's diagnostic ports but didn't succeed. Meanwhile I bought a new Motherboard for my Watch so I can finally use it again. All that's left now is to wait for Android Wear 2.0

[help needed] needed backup for unbrick

I bricked my device. Twice, first time i wrote g925f bootloader and unbricked after some time, opened thread about this:
https://forum.xda-developers.com/ga...t/guide-repair-hard-bricked-devices-t3573865/
But second time i wrote 5.1 At&T sboot and phone is now completely dead.
Tried everything, even build uart cable and converter...
I read here in xda that it is possible to unbrick with usb otg, i don't believe in this, but it is last option, can't hurt to try...
To try this i need backup of some device with 6.0 firmware with eng. boot (without root shell is impossible to dump backup)
And then in root shell type this for making backup:
adb dd if=/dev/block/sda of=/sdcard/mmcblk0 bs=1024 count=1048576 (pulls a 1GB raw dump)
adb pull /sdcard/mmcblk0 (saves it to the hard drive)
If someone is able to help, please upload me a backup.
I wrote all this here, it has more detailed axplanation: https://forum.xda-developers.com/at...-samsung-g920a-s6-g925a-s7edge-t3564637/page4
Edit: Didn't unbrick phone, at the end sent it to Samsung for warranty repair and they replaced charging board, motherboard, some coaxial cables (black and blue) and battery.
At least i have almost new phone now, Samsung accept warranty, didn't have to pay for repair.
If someone is willing to help and don't know how, here is rooted (adb only) odin flashable image:
http://www.mediafire.com/file/divdnst45jw1jp7/G925AUCS5DPJ1-rooted-upgrade.zip
This WILL NOT delete data, but use only on any 6.0 firmware.
After that just run bck.bat from this archive:
http://www.mediafire.com/file/uic3e6ea48bolox/adb-backup.zip
This will create 4. files. I need this files to try to restore my phone, but also is useful for making backup if someone likes to play like i played with my phone...

Categories

Resources