[Dev] Bypass "bootloader" [PROPER METHOD]

Search This thread

jacko_oafc

Senior Member
Mar 29, 2011
79
1
aparently this multi unlock client is supposed to be getting an update that will allow it to unlock the bootloader as well, until then you have two choices, 1) wait, or 2) pay again and have it reunlocked with setool2 and then use the method shown in the forums here, which i know works, cause i had my bootloader unocked before i used multi unlock client :(



i would consider paying again, if i knew someone that had access to it and could do it for/with me

Ok cheers. do you know roughly how much it is to unlock via SETools
Cheers
 

x016x

Senior Member
Mar 9, 2011
82
12
Hey, I recently unlocked my bootloader and now, my x10 won't read my T-Mobile US Sim Card. How do I go about relocking my bootloader? I desperately need to get this fixed or else I'm out one smartphone. Can anyone here help me? I tried reflashing Stock Android 2.1 and the phone still won't read my T-Mobile Sim Card. Does anyone here have any suggestions on what I can do? Any help on the subject would be much appreciated.
 

gm007

Senior Member
May 29, 2011
7,867
4,513
Hey, I recently unlocked my bootloader and now, my x10 won't read my T-Mobile US Sim Card. How do I go about relocking my bootloader? I desperately need to get this fixed or else I'm out one smartphone. Can anyone here help me? I tried reflashing Stock Android 2.1 and the phone still won't read my T-Mobile Sim Card. Does anyone here have any suggestions on what I can do? Any help on the subject would be much appreciated.

http://xdaforums.com/showthread.php?t=1259617
 

hoangluongvinh

Senior Member
Dec 29, 2010
284
128
My problem:
Welcome to S1 identify tool

TO CONNECT NEXT PHONES
X10 Xperia,E10 Xperia Mini,E15 Xperia X8,U20 Xperia Mini Pro
LT15 Xperia ARC,MT15 Xperia NEO,R800 Xperia PLAY
PRESS AND HOLD "BACK" BUTTON...

PLEASE ATTACH TURNED OFF PHONE NOW

RUNNING S1_EROM VER "r8A033"
SOFTWARE AID: 0001
SIMLOCK STATE: "TAMPERED"
LOADER AID: 0001
hash not supported [00000000000000000000000000000000]
Elapsed:14 secs.
is it possible to unlock it with SETOOL somehow?
 

totalz

Senior Member
Jan 28, 2011
178
7
Code:
process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
* daemon not running. starting it now *
* daemon started successfully *
failed to copy 'bootTools\rageagainstthecage' to '/data/local/tmp/expl': Permission denied
Unable to chmod /data/local/tmp/expl: No such file or directory
/system/bin/sh: /data/local/tmp/expl: No such file or directory
Waiting ...
Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights
.
failed to copy 'bootTools\fixPart' to '/data/local/tmp/fixPart': Permission denied
Unable to chmod /data/local/tmp/fixPart: No such file or directory
/system/bin/sh: /data/local/tmp/fixPart: No such file or directory
reboot: Operation not permitted
Waiting ...
Getting ROOT rights.
/system/bin/sh: /data/local/tmp/expl: No such file or directory
Waiting ...
Writing patched semcboot. Two step process
First, we need get access to semcboot area
failed to copy 'bootTools\mapper_2.6.29.ko' to '/data/local/tmp/mapper_2.6.29.ko': Permission denied
Unable to chmod /data/local/tmp/mapper_2.6.29.ko: No such file or directory
insmod: can't open '/data/local/tmp/mapper_2.6.29.ko'
Second, we need to write semcboot ;)
failed to copy 'qsd8250bootwrite_semcSL' to '/data/local/tmp/qsd8250bootwrite_se
mcSL': Permission denied
Unable to chmod /data/local/tmp/qsd8250bootwrite_semcSL: No such file or directory
/system/bin/sh: /data/local/tmp/qsd8250bootwrite_semcSL: No such file or directory

Phone is rooted and using EWJet rom v4.1. I'm using the azuzu downgrade-upgrade method. I worry that if I rush anything now I may brick my phone. Any detailed solution for the problem?
 
Last edited:

Anenth

Member
Apr 29, 2011
16
0
Calicut
help

process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
2994 KB/s (585731 bytes in 0.191s)
Failed to set prot mask (Inappropriate ioctl for device)
Waiting ...
Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights
.
334 KB/s (3087 bytes in 0.009s)

Unable to open router port: Permission denied
Diag_LSM: Diag_LSM_Init: Failed to open handle to diag driver, error = 13 ERR :
MSG Open handle failed, unable to open program 30eeeeee ver 10001 NOT FOUND
:FILE vendor/qcom-proprietary-qsd8k/oncrpc/oncrpc/oncrpc_cb.c:LINE 231:ARG1 82
0965102:ARG2 65537:ARG3 0:
ERR :MSG Couldn't setup RPC call :FILE vendor/qcom-proprietary-qsd8k/oncrpc/on
crpc/oncrpc_cb.c:LINE 276:ARG1 0:ARG2 0:ARG3 0:
Error: Failed to lookup client for 0x30EEEEEE 0x00010001
FATAL :MSG Failed to lookup RPC client. prog = 820965102, vers = 65537, tout =
0 :FILE vendor/semc/system/core/miscta/libmiscta/rpc_service.c:LINE 65:ARG1 820
965102:ARG2 65537:ARG3 0:
reboot: Operation not permitted
Waiting ...
Getting ROOT rights.
Failed to set prot mask (Inappropriate ioctl for device)
Waiting ...
Writing patched semcboot. Two step process
First, we need get access to semcboot area
715 KB/s (8064 bytes in 0.011s)
insmod: init_module '/data/local/tmp/mapper_2.6.29.ko' failed (Operation not per
mitted)
Second, we need to write semcboot ;)
2889 KB/s (588228 bytes in 0.198s)
can't find userdate partition
Press any key to continue . . .




What should i do?
 

flumps

Senior Member
Jun 15, 2009
371
22
grrrr. ive been trying to find a uncorrupted version of qsd8250.7z but everywhere ive looked they are ALL corrupted! can someone pls rezip the contents and reupload them pls!
 
Last edited:

klikli

Member
Jun 21, 2009
28
3
Can someone guide me how to extract "partition address" from a SEMC .SIN file?

And, more preferably, point out how to locate the "entrypoint and load address".


Thank you,
(PS: Sorry for being a noob.)
 

Antagonist42

Senior Member
Feb 5, 2012
682
248
52
Bolton
grrrr. ive been trying to find a uncorrupted version of qsd8250.7z but everywhere ive looked they are ALL corrupted! can someone pls rezip the contents and reupload them pls!

Just downloaded with no problems no corruption - are you using M$ Explorer? keep hearing of problems like this as 'won't download' or 'corrupted' try using another browser like Firefox or Comodo Dragon ;) I NEVER use explorer (not even sure I still have it on my system:confused: )
 

Hamodi

Senior Member
Apr 25, 2011
2,149
358
...
nothing happen with the CMD cant found the ADB even that the SEMC had been installed !!
 

Toledo_JAB

Retired Forum Moderator
Jan 16, 2011
3,076
3,142
Toledo
nothing happen with the CMD cant found the ADB even that the SEMC had been installed !!

Semc doesn't contain ADB, android sdk does.
Use flashtool to unlockedbootloader, very easy. When you use flashtool to unlock bootloader you must be on stock firmware & kernel to use plug-in

~Jaramie

from my LT28at rooted & eating an Ice Cream Sandwich ;)
 

Hamodi

Senior Member
Apr 25, 2011
2,149
358
...
How I can do that?? First I have to get my phone rooted no?

Sent from my LT26i using xda app-developers app
 

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 .