[Dev] Bypass "bootloader" [PROPER METHOD]

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
@doomlord:

you damaged device bootloader by attempting to mount raw nand flash it as yaffs.
was worst thing you could try.

as qsd8250 do not have normal usb bootrom recovery mode, there is no easy way to fix it at home.

you can only fix phone by special jtag tools, like "riff box" or "medusa box".
as soon as special connectors will be manufactured, i'll release same on setool2 software.

if you have friend with setool2 software, we can try to work it out without special connectors.

thanks for ur reply...

i will try n find a person who has SETOOL2 software/hardware in the city where i live ... do u know of any person who i can contact here?
 
Last edited:
D

Deleted member 3665957

Guest
sorry, have no idea.
try to browse service centers and ask "do you have setool2? "
maybe they will reply.
then some beers and we will fix it.
 
  • Like
Reactions: DooMLoRD

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
sorry, have no idea.
try to browse service centers and ask "do you have setool2? "
maybe they will reply.
then some beers and we will fix it.

incase i cant find anyone with that hardware/software what would u recommend i do? buy/order the hardware/software online (if yes then from where?) OR just get a new x10?

also wht is the cost of the hardware/software? and wht will be the cost of repairing/fixing it?
 
Last edited:

ten_tickles

Senior Member
Nov 1, 2010
272
46
Leicester
incase i cant find anyone with that hardware/software what would u recommend i do? buy/order the hardware/software online (if yes then from where?) OR just get a new x10?

also wht is the cost of the hardware/software? and wht will be the cost of repairing/fixing it?

Dude, just buy an X10 they must be cheaper these days. I'm sure our community would be willing to contribute to such an important member, I know I will. ;)
 

aZuZu

Inactive Recognized Developer
Jan 19, 2011
638
941
43
Zagreb
@the_laser:
Part with mounting i don't get .. DooMLoRD used "generic" mount command witch detect partition and mounts by know bit so R/O or R/W. in case of RAW it is R/O unless it is overrided.

So "mount" would mount mtdblock as "unknow" and R/O ,,, And none software couldn't write there unless mapper reveals mtdblock "raw" with know bit as R/W only then "mount" would assume that it needs to be mounted R/W and then device could be bricked.

Does mapper reveals mtdblock as R/W?
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
@doomlord:

you damaged device bootloader by attempting to mount raw nand flash it as yaffs.
was worst thing you could try.

as qsd8250 do not have normal usb bootrom recovery mode, there is no easy way to fix it at home.

you can only fix phone by special jtag tools, like "riff box" or "medusa box".
as soon as special connectors will be manufactured, i'll release more easy way by setool2 software.

if you have friend with setool2 software, we can try to work it out without special connectors.

had a few queries....

the tools u mentioned will fix the bootloader right?
after fixing do I need to flash stock fw?
can I unlock bootloader and continue flashing modified kernel.sin files? cause I don't want to go thru all the hassell and still end up with locked bootloader... cause I will need the device primarily for development...

Sent from my GT-I9100 using XDA App
 
  • Like
Reactions: sahibunlimited

ve6ay

Senior Member
Nov 20, 2010
423
159
Alberta
I get the following error throughout the unlock process:

process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error:
adb server is out of date. killing...
* daemon started successfully *

That adb server is out of date error I get almost every second line. What would you suggest ?
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
I get the following error throughout the unlock process:

process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error:
adb server is out of date. killing...
* daemon started successfully *

That adb server is out of date error I get almost every second line. What would you suggest ?

kill other adb servers... exit flashtool/ddms/etc
 
  • Like
Reactions: ve6ay

eltimmo

Member
Aug 19, 2008
8
0
Hi, this might just be an antivirus false positive. I've just extracted the tools 7z file and AVG has come up with Trojan in adb.exe :-( any one else had a problem may be just a crappy set of AV definitions?
 

rearbackxperia

Senior Member
Dec 29, 2010
136
3
Aragua
who may help me???? i cant send or receive regular sms.... by operator... it just keep showingme "sending", it is related to the unlocking bootloader procedure???
 

DLpnd

Member
Feb 13, 2011
40
3
Auckland
if your phone unlocked by 3rd-party software other than setool2, do not run anything -
it will disable radio capability of your phone and you will need to unlock phone by setool2 software.
hopefully, mizerable flea and mOxImKo will release something similar for your phone.

Straight from the OP
 

Hzu

Senior Member
Nov 13, 2010
1,689
577
who may help me???? i cant send or receive regular sms.... by operator... it just keep showingme "sending", it is related to the unlocking bootloader procedure???

Have you ever unlock the simlock your phone(if it's simlocked)? If the simlock wasn't unlocked using setool2, you need to re-unlock the simlock with setool2. You should have run the S1Tool.exe provided to make sure you can unlock your bootloader. For now you can try relocking your bootloader and use S1Tool.exe to determine if you have ever unlocking the simlock on your phone, and what was used.
 

SeeHarrier

Senior Member
Sep 10, 2010
56
3
Tampico
who may help me???? i cant send or receive regular sms.... by operator... it just keep showingme "sending", it is related to the unlocking bootloader procedure???

Same here idk why but i cant s/r sms !! calls yes but sms no!! D:! after unlocking


ok time after post this. i search and read~ read~ read~ and got it! i see the problem as be are on the BB because when u end of unlocking u have bb .54 and if u want install DM Kernel then it dont work good
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 159
    D
    Deleted member 3665957
    Greetings.

    warning.
    if you are not developer, please quit reading that post.
    wait for user friendly tool with one big button.


    here ( View attachment qsd8250.7z) is toolset to permanently "unlock" semcboot of qsd8250 semc phones ( x10a,x10i, so-o1b )

    that means, you can use own kernel and so on.

    it is much more better,stable,faster method, than present "bypass".

    steps,precautions, etc.

    unpack archive to any directory.

    if you using eset antivirus or similar ****, it will find evil virus in adb.exe.
    ignore that, it is not virus in any way, it is standard android debug bridge, bundled in one file to save space and usability.


    now, if your phone unlocked officially:

    flash phone with standard 2.0,2.1 android firmware,because kernel mapper module compiled for "2.6.29" kernel.

    of course, enable "usb debugging"

    run qsd8250_semc.cmd,
    ( if you want, examine it before run, it is pretty straightforward. )

    you will get similar output

    Code:
    process requires standard 2.x android firmware.
    Press any key to continue . . .
    Getting ROOT rights.
    1464 KB/s (585731 bytes in 0.390s)
    error: protocol fault (no status)
    Waiting ...
    Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights.
    192 KB/s (3087 bytes in 0.015s)
    success
    Waiting ...
    Getting ROOT rights.
    Waiting ...
    Writing patched semcboot. Two step process
    First, we need get access to semcboot area
    504 KB/s (8064 bytes in 0.015s)
    Second, we need to write semcboot ;)
    1531 KB/s (588236 bytes in 0.375s)
    successfully wrote 0001ff80
    Press any key to continue . . .

    bingo, your phone now has unlocked bootloader.

    if your phone unlocked by setool2 software, use qsd8250_setool2.cmd

    if your phone unlocked by 3rd-party software other than setool2, do not run anything -
    it will disable radio capability of your phone and you will need to unlock phone by setool2 software.
    hopefully, mizerable flea and mOxImKo will release something similar for your phone.


    to find out what tool was used to unlock your phone, use that ( View attachment s1tool.7z ) tool.
    if you will see "NOT RECOGNIZED SIMLOCK CERTIFICATE", you are out of luck.


    okay, now about other details.

    1.
    unlocked bootloader require unlocked loader, yep ?

    loader\loader.sin is special unlocked loader, which will be accepted ONLY after your "unlock" semcboot with previous steps.

    to distinguish unlocked semcboot and original semcboot, first letter in version tag of semcboot output will be lower case, i. e. "r8A033"

    ( same applies for loader version tag )

    so, all that stuff with signatures are not for us, so i removed them - loader will ignore signature part of SIN file.

    2.
    we should make SIN file somehow, right ?
    for that i prepared "dumb" bin2sin utility.

    Syntax : bin2sin [input] [partition info, 32 digits] [type] [block size]

    [input] - is input binary file.

    [partition info]
    android implementation on s1 semc qualcomm phones based on partitions,so we MUST define it for our file.

    you can get required partition info from standard semc sin files, it is first 0x10 bytes of DATA, right after header, i.e.
    x10 kernel partition info
    03000000220000007502000062000000

    [type] - partition type, 9 - partition without spare, 0xA - partition with spare.
    kernel partition is partition without spare.
    if that parameter omitted, type = 9

    [block size] - nand block size, if omitted, it is standard size 0x20000

    there is example in sinTools\example_build.cmd

    3.
    kernel should be prepared specially to be accepted by semcboot.
    for that there is tool bin2elf.

    Syntax : bin2Elf.exe [nbrOfSegments] [EntryPoint] [Segment1] [LoadAddress1] [Attributes1] ...

    we need 2 segments:
    segment 1 is unpacked linux kernel image, i.e.
    ( x10/kernel/arch/arm/boot/Image )

    it looks like entrypoint and load address for segment 1 is always same for all qsd8250-based semc phone, it is 0x20008000

    attributes for image 0x0

    segment 2 is ramdisk.

    it looks like entrypoint and load address for segment 1 is always same for all qsd8250-based semc phone, it is 0x24000000

    set attributes for ramdisk 0x80000000, that is extremly important.

    there is simple kernel example in sinTools\example_build.cmd

    ps.

    patched semcboot is doing exactly same thing as official "bootloader unlock" ( for some idiotic reasons called "rooting" ) , it skips checking of aARM firmware part ONLY.

    it will NOT unlock your phone from network.

    after procedure, you CAN use Emma/seUS safely.
    14
    D
    Deleted member 3665957
    @the_laser

    1) wht do we do if we want to relock bootloader? i am asking just for having a fail-safe option open...

    "unlocked" bootloader does absolutely same things as original, nothing changed.
    no need to return back ;)

    2) can we modify the S1 loader to accept fastboot commands?

    it is like writing it from scratch.
    better build some kernel module for that.

    3) can we now write to /boot partition in OS/recovery? (raw_write)?

    sin signature checking removed totally, you can write anything in phone.
    however, there is few restrictions:

    1.
    partition info and sin type should be proper.
    you can check partition info in corresponding original semc firmware files.

    2.
    semcboot WILL check following and STOP phone in case of failure:

    - security zone validity
    - FOTA code validity
    - mARM ( AMSS or modem code ) validity
    - DSP code validity

    you can safely build and flash own

    kernel_S1-SW-LIVE-AC12-0001-S1-PARTITION.sin
    system_S1-SW-LIVE-AC12-0001-S1-PARTITION-WITH-SPARE.sin
    userdata_S1-SW-LIVE-AC12-0001-S1-PARTITION-WITH-SPARE.sin

    again, do not forget use proper SIN type.
    11
    yaay my 2.3.3 custom kernel booted :)

    no more SE text logo!!!


    @all
    KINDLY STOP CHATTING IN THIS THREAD

    THAT'S AWESOME NEWS!

    And the X10 gets yet another successful burst from the Dev defibrillator! It is alive and kicking once more!


    Here's been the timeline of the X10. It's quite spectacular actually.

    -Pre-release. Huge hype and frenzy and craziness
    -Release-Even more craziness and hype
    -Post-release-dissapointment at locked bootloader and FPS cap and lag
    -Most of 2010-dissapointment at lack of updates, 2.1 delay, lack of rooting
    -Late 2010-Huge hype about 2.1 and its release, phone rooted, dualtouch, phone alive again
    -Early 2011-Great new custom ROMs, phone is alive and kicking, bootloader bypass
    -March 2011-Gingerbread update news, Bootloader bypassed, 2.2 Camera
    -April-June 2011-Dissapointment over no update by SE
    -July-August 2011-Huge craze over upcoming 2.3 update and wild speculation begins
    -August 2011-Release of GB. Mixed reviews but mostly positive. New life breathed into X10. Great stuff ported from Arc.
    -September 2011-Bootloader UNLOCKED! Even more awesomeness coming up!


    Which phone has this kind of history, ever?!
    -
    7
    D
    Deleted member 3665957
    to solve confusions:

    to unlock bootloader you DO NOT need to have "network unlocked" phone.

    however, if your phone was unlocked from network by any other 3rd-party tool than setool2, your phone will lose radio capability due to mismatched security zone.

    to restore radio capability and have unlocked bootloader you will need "unlock from network" phone using setool2.

    but not worry, i'm sure, that omnibus software will soon "integrate" that method ;)
    6
    D
    Deleted member 3665957
    @doomlord:

    wht i wanted is the ability to flash boot.img via recovery (raw_write/flash_image)
    will that work?
    you can write whatever you want, but it is better stick to semc standards and use SIN files.

    also there seems to be restriction on size of kernel.sin... i tired a large ramdisk and flash was accpeted but ramdisk was unchanged

    maximum partition size is 0x62 blocks ( 0xC40000 bytes ) for x10i
    dunno about ramdisk/etc restrictions .