[DEV][How-To] Get Back to Stock Even With Broken / Damaged USB Port

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Mr Doom, any eta on kernel manager?

Sent from my X10i using XDA App

hi anders260... the Kernel Manager is not yet final... will need help from some users here (regarding linux coding)... i will post whtever i have been able to come up till now... so it will be work-in-progress... as soon as it becomes fully usable i will package it and release it...
 

anders260

Senior Member
Apr 29, 2010
377
12
hi anders260... the Kernel Manager is not yet final... will need help from some users here (regarding linux coding)... i will post whtever i have been able to come up till now... so it will be work-in-progress... as soon as it becomes fully usable i will package it and release it...

Excellent, any screen shots yet?

Sent from my X10i using XDA App
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Great but what about att x10 phones

Sent from my X10i using XDA App

att x10 phones still on 1.6 right? or did they get 2.1 update?

anyway... if u guys can provide me a link to the FW file (preferably FTF) for flashing with FLASHTOOL, then may be i can create a nandroid/recovery backup for u guys on att x10 phones...
 

pcfanboy142

Senior Member
Dec 8, 2010
165
42
What's the difference between your recovery backup version and se's stock version? Shouldn't i be able to skip step 2 if I'm already on the same version (.435) and just flash the master uninstaller script without any problems? I'm asking because i don't have an sd reader and ftp servers are far too slow.
 

Mr. Clown

Senior Moderator / RC-RT Committee - Fear a Clown
Staff member
Nov 29, 2008
6,912
3,793
44
Lake Ridge, Virginia
eh.. still no radio.. booted up root still.. i found this though never saw it..
now i know said too much but what is this?
androidboot.hardware=es209ra vmalloc=256M g_android.product_id=0x312E console=ttyMSM0 mtdparts=msm_nand:0x00440000@0x3fbc0000(appslog),0x06f40000@0x38c80000(cache),0x160a0000@0x05ae0000(system),0x1d100000@0x1bb80000(userdata) androidboot.hardware=es209ra vmalloc=128M g_android.product_id=0x312E console=ttyMSM0 semcandroidboot.serialno=CB511J3MFK semcandroidboot.startup=0x00000018 semcandroidboot.000008A2=583130

Lol meant too take out my serial number..

Looks like my cache has a space in it when it shouldnt.. could that be a problem?
any more ideas on fixing a broken radio?
You think cause in sys/kernel/logger/log_main/ and log _radio thd file was_overrun has a 1 and not a zero?

Told you, you have been warned many times about these erratic posts. Maybe you need some time off to think about your posts.
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
What's the difference between your recovery backup version and se's stock version? Shouldn't i be able to skip step 2 if I'm already on the same version (.435) and just flash the master uninstaller script without any problems? I'm asking because i don't have an sd reader and ftp servers are far too slow.

well the thing is the files which i have provided have busybox symlinks in /system/xbin/ so as not to disturb /system/bin/toolbox symlinks...

sometimes busybox installs symlinks in /system/bin/ and overwrites toolbox symlinks... which can cause a problem when reverting to stock...

also different versions of busybox provide different numbers of symlinks...

so to avoid all these problems i have uploaded very specific backups which can be "cleaned" with the master uninstaller script...

if u try it on any other FW i cannot guarantee that all symlinks will be removed and/or toolbox symlinks will remain untouched...


regarding... "I'm asking because i don't have an sd reader and ftp servers are far too slow"
do u atleast have wifi router + pc on the same LAN segment?
there are ways where in u can mount/share ur x10 sdcard as a network share over wifi (Samba filesharing / WiFi File Explorer ) OR u can use ES File Explorer to access shares from ur PC on network...
 
  • Like
Reactions: pcfanboy142

lightyear420

Senior Member
Oct 16, 2010
478
67
  • Like
Reactions: DooMLoRD

miniGT

Senior Member
Sep 9, 2010
55
2
Newcastle-under-Lyme
I have sent my phone off to se and using the tracking number it says booked in at service centre, so no news is good news i hope, also estimated date i get my phone back is the 4/5th may but in the uk its been bank holiday galore atm. so it could possibly come later. ill keep you guys posted.

To DL in your post make sure to tell people to turn off usb debugging and install unknown applications.

Thanks to everyone who helped with this project.

MiniGT

EDIT- i just popped into my vodafone store and asked on the progress, they said they have sent it off to se, so it could take a while longer but it looks like it passed the vodafone check.
 
Last edited:
  • Like
Reactions: DooMLoRD

DooMLoRD

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

as far as i remember the baseband & kernel on ur X10 (those who have AT&T Branded phone) is very old... also if u would have installed generic 2.1 SE ROM / custom roms, i guess most have, u will be stuck on newer 2.1 baseband & kernel... i very much doubt that AT&T branded 1.6 ROM will work on newer baseband and kernel (ment for 2.1)

Until we figure out a way to flash baseband & kernel via recovery (mostly after we have cracked bootloader) AT&T branded X10 users will be in trouble... :(

or if by some far off chance AT&T manages to release 2.1 then we can do something...


do u guys still want me to prepare a nandroid/recovery backup for AT&T Branded FW 1.6 based on these files???
 
  • Like
Reactions: aroutis

compumasta

Senior Member
Jan 25, 2011
306
43
as far as i remember the baseband & kernel on ur X10 (those who have AT&T Branded phone) is very old... also if u would have installed generic 2.1 SE ROM / custom roms, i guess most have, u will be stuck on newer 2.1 baseband & kernel... i very much doubt that AT&T branded 1.6 ROM will work on newer baseband and kernel (ment for 2.1)

Until we figure out a way to flash baseband & kernel via recovery (mostly after we have cracked bootloader) AT&T branded X10 users will be in trouble... :(

or if by some far off chance AT&T manages to release 2.1 then we can do something...


do u guys still want me to prepare a nandroid/recovery backup for AT&T Branded FW 1.6 based on these files???

Didn't check kernal before I flashed but I am still on good ole bb 46. I've yet to have a reason to update it.

I, for one, would appreciate this setup were it possible.

Sent from my X10a TripNMiUI using XDA App
 
D

Deleted member 1483200

Guest
I called Sony Ericsson earlier and they said since my phone was originally a Rogers one and I have been using ATT that their new policy states i'm not covered..WTF.
When did that policy change because i have used quite a few phones I bought unlocked and never mattered. They repaired my X1i that was from like germany lol.
 

miniGT

Senior Member
Sep 9, 2010
55
2
Newcastle-under-Lyme
right then guys i have an update SE have fixed my phone it looks like they just swapped the boards, but more importantly DL's method is now tried and tested against SE.

Thanks DL once again.

MiniGT
 

rtblittlebrown

Senior Member
Feb 21, 2010
995
80
as far as i remember the baseband & kernel on ur X10 (those who have AT&T Branded phone) is very old... also if u would have installed generic 2.1 SE ROM / custom roms, i guess most have, u will be stuck on newer 2.1 baseband & kernel... i very much doubt that AT&T branded 1.6 ROM will work on newer baseband and kernel (ment for 2.1)

Until we figure out a way to flash baseband & kernel via recovery (mostly after we have cracked bootloader) AT&T branded X10 users will be in trouble... :(

or if by some far off chance AT&T manages to release 2.1 then we can do something...


do u guys still want me to prepare a nandroid/recovery backup for AT&T Branded FW 1.6 based on these files???

Yes

Aren't all BB 52> functioning the same on roms

Sent from my X10 using XDA App
 

Moon2

Senior Member
Aug 8, 2010
716
146
right then guys i have an update SE have fixed my phone it looks like they just swapped the boards, but more importantly DL's method is now tried and tested against SE.

Thanks DL once again.

MiniGT

How much did it cost you? and, is it at all possible to revert to stock with the foll probs:

- Broken microusb port (If I hold it at an angle, I can charge it, but not transfer data across)
- No rom installed at all, hence no xrec either.

So, I'm in this position, but with a broken microusb port
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    { INTRODUCTION }


    Hi everyone.... I thought of working on this issue for helping users who have a broken or damaged USB port as they are stuck on custom (rooted/etc) roms and are unable to use FLASHTOOL to get back to stock SE firmware (FW)….

    This is something that I have been working on for a few months now along with help from rendeiro2005.

    A BIG thanks to Bin4ry & Androxyde for their inputs and for scripts in FLASHTOOL.

    Also I want to tell everyone that one of the users miniGT has already used this and has sent his X10 for warranty claim and it WORKED!!!!


    P.S.: i know that this is a VERY long post but actually its very easy to do...
    PLEASE READ THE COMPLETE POST BEFORE TRYING ANYTHING OUT


    DIFFICULTY: Medium


    <- This is for Xperia X10 only but I am sure ppl can use similar technique to get back to stock even on other android devices ->




    { WHAT DOES THIS EXACTLY DO? }


    Basically I have created this in two parts:

    [1] I will provide nandroid/recovery backups of stock SE 2.1 ROMS which are/have:
    • Pre-rooted
    • Busybox installed (@ /system/xbin/ )
    • Working recovery (FreeXperia Recovery)

    [2] A “Master Uninstaller Script” which can be flashed via recovery. This will basically remove:
    • busybox binary
    • busybox symbolic links (from /system/xbin/)
    • su binary
    • Superuser.apk app (from /system/app/Superuser.apk)
    • Recovery files (from /system/recovery/ & others)
    • chargemon & charger file (from /system/bin/)
    and replace chargemon with original stock SE chargemon file




    { HOW TO USE IT? }


    [ STEP 0 ] Requirements

    • This will work on ALL available custom/stock/modded roms
    • Make sure that u have a working recovery
    • SD Card reader / wifi explorer / some way to transfer big files to SDCARD
    • Know wht is the current baseband on ur phone (Settings -> About Phone -> Baseband Version)
    • Get/Find the true SI number of your phone. Its on the sticker below the battery or it will be on the original box of the phone. Its basically looks something like this: 1264-7894. This is required to get ur X10 back to original branding/region/
    • Highly recommend using Root Explorer (paid app from market) to change SI number. If required I will provide a shell script, to do this.


    [ STEP 1 ] Preparing the files/folders

    [1] You will need to download specific stock FW files which I will provide below. Only download that file which is compatible with ur current baseband.
    Currently we have:
    Code:
    |- FIRMWARE -|- BASEBAND -|
    ---------------------------
    2.1.B.0.1    -  2.1.67
    2.1.A.0.492  -  2.1.65
    2.1.1.A.0.28 -  2.1.61
    2.1.1.A.0.16 -  2.1.58
    2.1.1.A.0.6  -  2.1.55
    2.1.A.0.435  -  2.1.54
    2.0.2.A.0.24 -  2.0.49 / 2.0.52
    2.0.A.0.504  -  2.0.46

    As of now, I have only the nandroid/recovery backups of the following three firmwares:
    1. GLOBAL GENERIC 2.1 [ X10i_2.0.A.0.504_stock.rar ]
      (MD5 hash): aaa70f592f7eebe1d996a656d42ac1ef

    2. GLOBAL GENERIC 2.1 [ X10a_2.1.A.0.435_stock.rar ]
      (MD5 hash): db9ef9292aeab439ffb3791559c64603

    3. AT&T Branded 2.1 [ X10a_2.1.A.0.492_AT&T_stock.rar ]
      (MD5 hash): e281bbf1bde077f90d106fafe98d7c63

    Ideally stick to (download) the specific stock ROM backup which is for the baseband on ur X10.

    Even if the current baseband is different than the above files which I have listed don’t worry. If ur baseband version is:
    2.0.46 / 2.0.49 / 2.0.52 u can still use the file: X10i_2.0.A.0.504_stock.rar
    2.1.54 / 2.1.55 / 2.1.58 / 2.1.61 / 2.1.65 / 2.1.67 u can still use the file: X10a_2.1.A.0.435_stock.rar OR X10a_2.1.A.0.492_AT&T_stock.rar
    So that atleast u get the radio (wcdma/gsm module) working

    Upon request (and if I get time) I will create nandroid/recovery backups for other firmware’s also.

    [2] Once u have downloaded the backup file for ur specific firmware:
    • extract it to a temporary folder on ur PC
    • the temporary folder will now have a new folder with 4 files:
      • cache.img
      • data.img
      • system.img
      • nandroid.md5
    • then connect the SDCARD of your X10 (sdcard reader/wifi explorer/samba file sharing app/etc)
    • place the extracted folder in /sdcard/xrecovery/backup/
    • [VVVIMP] verify the directory/file structure on sdcard. So e.g. if u have used X10i_2.0.A.0.504_stock.rar then the directory structure on ur sdcard (after copying the files) should be:
      • /sdcard/xrecovery/backup/X10i_2.0.A.0.504_stock/cache.img
      • /sdcard/xrecovery/backup/X10i_2.0.A.0.504_stock/data.img
      • /sdcard/xrecovery/backup/X10i_2.0.A.0.504_stock/system.img
      • /sdcard/xrecovery/backup/X10i_2.0.A.0.504_stock/nandroid.md5
    • Make sure that the above is correct and that there are no spaces in the file names else u WONT BE ABLE TO RESTORE THIS BACKUP

    [3] Download the Master Uninstaller script. And place it in ur SDCARD (preferably root of sdcard i.e. /sdacard/ )… you can download it from here:
    master_uninstaller_2.1only_v8.zip
    the above Master Uninstaller script is an update.zip flashable via recovery.
    [WARNING] THE ABOVE FILE WILL WORK ONLY ON 2.1 STOCK SE ROMS AND THAT TOO ON THE NANDROID/RECOVERY BACKUPS WHICH I PROVIDE
    IF U USE THIS ON ANY OTHER ROM AND U END UP BREAKING UR SYSTEM/ANDROID OS THEN I AM NOT RESPONSIBLE
    U HAVE BEEN INFORMED



    [ STEP 3 ] Restoring provided nandroid/recovery backup & prepping system

    1. verify that u have all the files in place from the above step.
    2. if u want take a backup of ur current ROM because the following procedure will WIPE ur SYSTEM & DATA (it wont touch sdcard)
    3. reboot into recovery and :
      • "Backup and Restore"
      • "Restore"
      • select the extracted image name (X10i_2.0.A.0.504_stock OR X10a_2.1.A.0.435_stock OR X10a_2.1.A.0.492_AT&T_stock)
      • now the restore process will start
      • it will take some time
      • after restore is complete Reboot Phone
    4. once the device restarts u will now get stock 2.1 SE rom
    5. DO NOT INSTALL ANYTHING RIGHT NOW
    6. reboot device to verify that u can still access recovery
    7. once u have verified that recovery is intact now reboot phone into android OS
    8. now u need to change the SI number in /system/build.prop... keep ur original/true SI number at hand... i suggest that u use RootExplorer to do this modification... u can check this thread on where exactly u need to make the changes... once changes are done save the file and exit RootExplorer...
    9. using Root Explorer navigate to '/system/' then "mount r/w" and long press on 'build.prop' file and select 'Permissions'... make sure the permissions are as follows:
      screenshot52x.png
    10. sometimes RootExplorer creates backup file /system/build.prop.bak remove that file
    11. once that is done reboot the device and check if everything is working
    12. now uninstall RootExplorer


    [ STEP 4 ] FINALLY!!! Doing the MAGIC!!! ;)

    • Well now we came to the LAST step
    • once u have made changes to build.prop now just reboot into recovery
    • flash master_uninstaller_2.1only_v8.zip
    • it will take some time as there are many files to be deleted ~360 files
    • once its done just reboot phone and viola!!! u should have a clean & unrooted stock SE 2.1 ROM :D
    • u can check that the su binary is no longer present in /system/bin/ and u can no longer access recovery!!!


    [ STEP 5 ] Clean-up

    • remove/uninstall all user installed apps (if any) especially those who require root
    • Turn off/uncheck installing unknown apps from: Settings -> Applications -> Unknown Sources
    • Turn off/uncheck USB Debugging from: Settings -> Applications -> Development -> USB Debugging




    {ADDITIONAL INFORMATION}


    How to create compatible nandroid/recovery backups
    • Rooted the OS using SuperOneClickv1.7-ShortFuse which also installs busybox... it installs the busybox symlinks to /system/xbin/ and doesnt disturb /system/bin/toolbox symlinks...
    • Installed Recovery using FlashTool v0.2.9.1
    • Finally booted into recovery and took backup


    Still to workout..
    • i dont know exactly how to remove the rageagainstthecage & psneuter exploit
    • if someone can help me with that we can truly CLEAN the complete rom


    [ REROOT ]
    • Since the rooting exploit is not yet removed u can use z4root app to root phone again
    • Busybox Installer from market to install busybox links
    • xRecovery installer to install recovery
    • BUT IF U DO THIS THE UNINSTALLER SCRIPT WILL NOT WORK. THEN U WILL NEED TO RESTORE THE ABOVE PROVIDED BACKUP VIA RECOVERY


    phew... this was about 6 pages in MSWORD :)
    2
    Mods, please shut this idiot up (again).
    1
    OH LORDY
    KERNELMANAGGGEEEEEEEEER!!!!oneone!11

    he he... u have a good eye... ;)

    anyways i will be releasing it soon... hopefully tonight... it still isnt fully complete... and as of now its in the form of a few scripts but i believe we can make it into something awesome!!!
    1
    ****!!!!

    I CAN`T BELIVE WHAT MY EYES SEEN WHEN I CHECK MY PM!!!

    GOD DAMN YOU BECAME MORE AND MORE LIKE A GOD HERE :D:D


    now just a curiosity...WTF do you exactly doing?!?!?! kernel manager?!?!

    180pxclaphands377.jpg
    180pxclaphands377.jpg
    180pxclaphands377.jpg
    180pxclaphands377.jpg
    180pxclaphands377.jpg
    1
    Then we need many custom kernels to choose from also.

    Sent from my X10i using XDA App