Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,438 Members 42,803 Now Online
XDA Developers Android and Mobile Development Forum

SHV-E160L Debricking Tool / Qualcomm Tool Pack V2-1

Tip us?
 
darkspr1te
Old
(Last edited by darkspr1te; 3rd July 2014 at 05:44 PM.)
#1  
darkspr1te's Avatar
Senior Member - OP
Thanks Meter 445
Posts: 827
Join Date: Sep 2012
Default SHV-E160L Debricking Tool / Qualcomm Tool Pack V2-1

PLEASE NOTE: This tool only comes pre-packed with files for the Korean SHV-E160L galaxy note. Usage on other devices requires that you understand the requirements, this includes but not limited to :-
  1. 1. Alteration of the scripts to use the files specific to your device
  2. 2. Correct HEX and SD-CARD loader also known as sdcard mbn
  3. 3. Correct partition information (knowing if it's MBR/GPT or hybrid)
  4. 4. Correct bootloaders for your device (SBL1/2/3/ABOOT)

I am not currently doing further development on this tool, it is here for anyone to expand on use how they seem fit so long as the authors involved are given the credit.
Users are welcome to build and post altered versions specific to their device but PLEASE post plenty of information as to what device/model it is for or the post may be deleted to protect other less educated users.

darkspr1te


Hi All,
I've updated my Debrick tool to Version 2.
Many Changes to the base code, inclusion of new tools, Almost a one click Linux solution for Qualcomm Development and debricking of Qualcomm devices.
As documented on this thread SHV-E160L home debrick thread I debricked a qualcomm based msm8660 device without using any special devices.
my first tools were internal development and had more bugs than a sewer, so after many hours of work i can now bring this new version to you.

Please do not pm with bugs, POST HERE Only.
This tool currently only supports the SHV-E160L , if users willing to provide the files from their devices I can expand the support of this tool.
in most cases linux is required for this, a ubuntu live cd/flash will work perfectly.


New Feature, Windows Based BACKUP of partitions and bootloaders, ROOT/Python27-windows is required and cannot function without this.
*nix backup coming soon,

Rules for posting backups

Post ONLY the link here, use www.sendspace.com to upload your backup zip (remember to change the .zip filename to reflect your device, example SHV-E160L-16GB.zip )
zip up only the backup folder, not the whole program, right click on backup folder, sent to compressed folder, rename.
this program does not backup personal or device specific data like IMEI number, it only backups the bootloaders, partition table and .pit file for samsung SHV based devices
When Posting links, please include your device details well, a example would be

SHV-E160L 16 GB, 9000lang rom,

The rom part is only so if we a tracing possible backup issues that may be rom specific.
Future backup features will include automatic detection of .mbn partitions based on qualcomm header.

Support for non SHV devices will be slow, but future versions will include other devices.


Well Enjoy,

EDIT: some users are reporting cookie not present error could be fixed by using a winxp/another qpst driver windows driver. this is unconfirmed bu i thought i should mention it. 04-12/2013

Changelog:- V2-2(dev version only - not a public release)
  • added command line device/folder parameter, you can now specify a unzip copy of posted bootloaders and it will restore them
  • added additional file to specify output sectors based on getpart data, testing option for building partition0.bin by hand based on known simalr devices
  • added dev switches for wiriting specified parts only
  • added skip aboot option (for now it is specified to skip writing of aboot.mbn, public release will be opposite, you will have to force writing aboot , sbl1/2/4/tz/rpm seems to come as one package, interchangeable as a package, aboot is totally device specific)
    bugs:-
  • there is a known bug in the getpartbin.py python program, it cannot handle greater than 29 partitions.

Changelog:- V2-1
  • added windows backup.bat program to backup all bootloaders and partition0.bin
  • minor changes to code for changing device (current version support only changing of variable $DEVICE, feature will eventually be cmd line based)
  • tesing of backup files
    bugs:-
  • there is a known bug in the getpartbin.py python program, it cannot handle greater than 29 partitions, and one will to help in python please let me know. I am not the author of the program



Changelog : V2
  • Improved error checking*
  • automated qdload detection*
  • automated qdload hex & .mbn upload
  • automated detection of device in sd-card mode*
  • user input*
  • colours
  • major code changes to start support for automatic parition information & collection allowing backup to be one command and upload to a website for distribution & recovery for all
  • development documentation
  • Code changes to allow expansion to other Qualcomm devices

Sendspace Links

BrixFix V2-1-Inc Python27-Inc cwm recoveries
http://www.androidfilehost.com/?fid=9390355257214632490 mirror tanks too Marduk191

Brixfix V2-1 No Python for windows, No cwm-recovery-Slim Version
Brixfix V2-1-Super-SlimNo drivers, bootloaders, python-win.

Media Fire Links

BrixFix V2-1-Inc Python27-Inc cwm recoveries



SHV-E160K 32GB Recovery files

Here is the README

Quote:
brixfix V2
=================================
By dakrspr1te ========Doc=V=1====
=================================
Thanks To :-
E:V:A, SLS, JCSullins(Rootz Wiki), Adam Outler, many more, sorry if i've missed you out.

Warning, Although i've tested this tool many times on my own devices, it always has the potential to damage both computer & cell phone device, YOU HAVE BEEN WARNED!!!!


This tool is designed to repair SHV-E160L Korean Galaxy Note 1 based on the MSM8660 & MDM9600 Qualcomm Chips
It Only works with devices that are stuck in QDLOAD mode or 05c6:9008 as the PID/VID
It uses Tool/info Written By Others as well as myself.


Namely :-

qdload - http://github.com/jcsullins/qdloader
getpartbin.py - http://blog.csdn.net/su_ky/article/details/7773273
hex2bin - hex2bin.sourceforge.net


Instructions
############


connect Qualcomm based device to usb port on linux PC, not tested under windows via USB redirection,
on command line run
sudo ./brickfix

Follow on screen instructions, tool will detect device in QDLOAD mode (05c6:9008) and switch to DMSS protocol, upload a hex (converted to bin for this purpose)
the hex is then executed and the device switches to Streaming Protocol, at this point we write a .mbn file to the internal emmc chip, at the end of the emmc write process the device then reboots
after the reboot re-running brixfix with detect the device in the second stage for repair , the device's emmc is accssable as a sd-card, we then write back the damaged parts of the bootchain,
at a minimum you must write a new partition table or the device will always boot in sd-card mode, WARNING, failure to write the rest of the boot chain could leave your device in a situation
which give only black-screen, no usb enumeration, dead. The only way around that is jtag, or finding the Boot resistor which switches the device back to QDLOAD mode, or emergency boot.
goto http://forum.xda-developers.com/show....php?t=1914359 for further details.


Come give me thanks on XDA if this tool helped you

Additional Tools (DEV Level)
===========================
getpartbin.py - A tool for backing up the primary partition & extended parition tables and combines them into a writable parition0.bin file (python)
qdload.pl - A tool for talking in the HDLC framed DMSS & Streaming Protocol's used by Qualcomm (Perl)
switchmode.sh - A executes qdload.pl for msm8660 device upload
get-part.sh - **DEV** unfinished tool by darkspr1te for creating partition tables in sfdisk format and .csv format (to be used in the future to create parition0.bin plus more automated collection)
tools/ - Folder containing armv5 (arm7 compatible) tools for parition manipulation and data collection
SHV-E160L-16GB/ - Folder contain SHV-E160L bootloaders & pit file
ADB/ - Folder containing adb programs
extras/ - Folder containing odin and clock work mode recovery installers for 160l devices
QUALCOMM/ - Windows drivers (For QPST, Not required in linux, included for backwards compatability with older guides)
hex2bin - convert your xxxxMPRG.hex file to bin for use with qdload

Tips
====

Additional
==========
I will accept brick qualcomm devices for developing further debricks. pm me via XDA Forums

Darkspr1te
New Debrick Tools, See Below:- (I no longer will respond to unsolicited PM's)

Goto Brixfix V2
My Documentation in debricking Qualcomm Device
[SHV-E160]Rooting & Rom info
Tegrak Clean Roms
Korean Galaxy Note Development/Root/ROMS

비밀의 dark
도화의 spr1te
The Following 29 Users Say Thank You to darkspr1te For This Useful Post: [ Click to Expand ]
 
unoaman
Old
#2  
Junior Member
Thanks Meter 5
Posts: 24
Join Date: Nov 2011
Default Re: SHV-E160L Debricking Tool / Qualcomm Tool Pack

Kudos to u.
 
gregsarg
Old
#3  
gregsarg's Avatar
Senior Member
Thanks Meter 3506
Posts: 4,210
Join Date: Apr 2011
Location: B.F.E.
Nicely done ..OP
I'll get this thread added into the note super thread .
An amazing resource to be sure ...
Many thanks ....g
" There are Givers, and there are Takers. Be a Giver, and these things will come back to you. "......................g

And please, donate to your favorite developer...
Without them, we'd be writing on rocks with a stick...g
 
E:V:A
Old
#4  
E:V:A's Avatar
Recognized Developer
Thanks Meter 1760
Posts: 1,332
Join Date: Dec 2011
Location: -∇ϕ
Very nice!

< reserved >
MSM8960 Info, Architecture and Bootloader(s)
El Grande Partition Table Reference
How to talk to the Modem with AT commands

[REF][ServiceMode] How to make your Samsung perform dog tricks
[REF|R&D|RF] RF/Radio properties of Samsung ServiceMode

Want to know when your phone is getting tracked or tapped?

Help us develop the IMSI Catcher / Spy Detector!
(To be part of the EFF & The Guardian Project toolsets.)
_______________________________
If you like what I do, just click THANKS!
Everything I do is free, altruism is the way!
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
I do not answer support related PM's.

The Following User Says Thank You to E:V:A For This Useful Post: [ Click to Expand ]
 
agentkang
Old
#5  
Junior Member
Thanks Meter 6
Posts: 7
Join Date: Mar 2011
Thank you!
 
SouL Shadow
Old
(Last edited by SouL Shadow; 7th February 2013 at 09:54 PM.)
#6  
SouL Shadow's Avatar
Senior Member
Thanks Meter 295
Posts: 459
Join Date: Jun 2010
Location: Stratford, CT
Default Re: SHV-E160L Debricking Tool / Qualcomm Tool Pack

I'll take a deeper look at it later.

You should note that qualcomm chipsets do not have support for USB 3.0. While the linux USB 3.0 driver is backwards compatible with the older standards, it is still buggy so it's best to only use USB 2 and lower ports.

Also, you should be using a 32bit Linux distro with a kernel from 2012 or later.

-SLS-
-SLS-
The Following User Says Thank You to SouL Shadow For This Useful Post: [ Click to Expand ]
 
BarakOsama
Old
#7  
BarakOsama's Avatar
Member
Thanks Meter 21
Posts: 61
Join Date: Feb 2013
Unhappy Will this work on SHV-E160S??

Two days ago I tried to flash the 'N7000XXLSA_N7000OXALSA_DBT' into a SHV-E160S.. Odin failed two times
When tried to reboot the phone nothing appears(just black screen). When i connect it to my PC, windows device manger shows ' QHSUSB DLOAD'..

Can this tool fix my problem? Please help me..
 
SouL Shadow
Old
#8  
SouL Shadow's Avatar
Senior Member
Thanks Meter 295
Posts: 459
Join Date: Jun 2010
Location: Stratford, CT
Default Re: SHV-E160L Debricking Tool / Qualcomm Tool Pack

Quote:
Originally Posted by BarakOsama View Post
Two days ago I tried to flash the 'N7000XXLSA_N7000OXALSA_DBT' into a SHV-E160S.. Odin failed two times
When tried to reboot the phone nothing appears(just black screen). When i connect it to my PC, windows device manger shows ' QHSUSB DLOAD'..

Can this tool fix my problem? Please help me..
Probably. You'll need Linux. If you don't have linux, go grab the above mention ubuntu live cd (I suggest version 12.04 32bit)

As I'm not familiar with that device I don't know exactly what will need to be fixed.

-SLS-
-SLS-
 
darkspr1te
Old
#9  
darkspr1te's Avatar
Senior Member - OP
Thanks Meter 445
Posts: 827
Join Date: Sep 2012
Default Re: SHV-E160L Debricking Tool / Qualcomm Tool Pack

Quote:
Originally Posted by BarakOsama View Post
Two days ago I tried to flash the 'N7000XXLSA_N7000OXALSA_DBT' into a SHV-E160S.. Odin failed two times
When tried to reboot the phone nothing appears(just black screen). When i connect it to my PC, windows device manger shows ' QHSUSB DLOAD'..

Can this tool fix my problem? Please help me..
Please state specs of your model, you flashed the wrong firmware which has crashed your pit/partition and your running a boot chain for another device, which is failing due to signing issues
By specs I mean device size, original few etc, we can recover it, I am sure of that, I just need some info , don't jump the gun, if we have your device files already it would be a simple case of running ./brixfix.sh I was able to recover all my files from my device, same would be you all sure, but you WILL need a copy of Ubuntu as SLS said


Sent from my A210 using Tapatalk 2
New Debrick Tools, See Below:- (I no longer will respond to unsolicited PM's)

Goto Brixfix V2
My Documentation in debricking Qualcomm Device
[SHV-E160]Rooting & Rom info
Tegrak Clean Roms
Korean Galaxy Note Development/Root/ROMS

비밀의 dark
도화의 spr1te
 
chappatti
Old
(Last edited by chappatti; 8th February 2013 at 12:00 AM.)
#10  
chappatti's Avatar
Senior Member
Thanks Meter 171
Posts: 1,080
Join Date: Sep 2007

 
DONATE TO ME
Quote:
Originally Posted by darkspr1te View Post
Please state specs of your model, you flashed the wrong firmware which has crashed your pit/partition and your running a boot chain for another device, which is failing due to signing issues
By specs I mean device size, original few etc, we can recover it, I am sure of that, I just need some info , don't jump the gun, if we have your device files already it would be a simple case of running ./brixfix.sh I was able to recover all my files from my device, same would be you all sure, but you WILL need a copy of Ubuntu as SLS said


Sent from my A210 using Tapatalk 2
What files do you need from the ATT Note? I know what you have done, but don't understand it, but sure as hell would like to help !!!!!!!!!!

I have Ubuntu...(Yay !) ..... let me know the steps to dump files.

PS: Is there any chance of getting Tegrak kernel or ROMs for ATT Note. Maybe I should ask what is the status of the Tegrak kernel etc.? I see it on the app store, but I know its not for ATT Note. I remember Tegrak from when I used to use Voodoo Sound that Tegrak kernel supported. But I have never found anything comparable to voodoo sound for our more 'advanced' phones like the note.

PS: Does this make any sense to you ? Or am I rambling ?

Tags
05c6:9008 qdload, msm8660, shv-e160l
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes