[SOLVED] Removed framework-res.apk - XPERIA X10 Q&A, Help & Troubleshooting

Hey guys,
I accidently removed the framework-res.apk from /system/framework
Off course the phone isn't booting anymore, is there any way to push back the file or get the phone working again?
Rooted with z4root, but adb shell isn't working anymore to mount /system r+w :/
Fast help is really appreciated...

Unless you've got xRecovery installed you'll have to reflash, there is a way to save data but I don't recall it.

I remember someone mentioned either in the Flash tool thread or the AOSP Thread that you can use the Flash Tool to flash only the system.sin this way you won't loose your apps/data... But you'll reinstall the whole system back. I've never try this but you should try if this doesn't work you'll have to reflash anyway...
Just put in the "firmware" folder the system.sin file and delete everything else, run the flash tool and follow instructions....
Jim

Thanks for the help! Got everything working again
Just replaced the system.sin and loader.sin - all my data still remains!

BlackTigerX said:
Thanks for the help! Got everything working again
Just replaced the system.sin and loader.sin - all my data still remains!
Click to expand...
Click to collapse
I'm glad to help however you'll have to re root/ enable JIT etc... again since you've replaced the system with a fresh install
Sent from my X10i

Related

Flash system.sin only

Hi,
So I tried the [MOD] Reboot Options in Power Menu in http://forum.xda-developers.com/showthread.php?t=836942 and now my phone won't boot it gets stuck on the Sony Ericsson Logo. I backed up the original three files, but I am not able to push them back to the phone via ADB, as it refuses to mount the File system in write mode.
It has been suggested to reflash system.sin using Bin4ry's flash tool. I'm downloading the X10i_2_0_A_0_504_NORDIC which is what my phone had already. Do I just remove all the files from the firmware folder except system.sin ?
Alternatively any way I can mount the filesystem as write and push files to /system ?
Cheers
don't worry I fixed it.
mookie3three said:
don't worry I fixed it.
Click to expand...
Click to collapse
Would you mind telling us how you did it???
I am messing with my framework a lot, and a solution like this could come in handy, just in case!
Also, did you lose any of your data and apps?
My_Immortal said:
Would you mind telling us how you did it???
I am messing with my framework a lot, and a solution like this could come in handy, just in case!
Also, did you lose any of your data and apps?
Click to expand...
Click to collapse
In the "old" flash, non-gui, there is an option to "not erase user data"
It may work for what you want.

[Q] Removing 2.2 without wrecking my phone

Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
mackdaddy187 said:
Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
Click to expand...
Click to collapse
Just do a clean install of whichever ROM you want using flash tool then install recovery mode onto that.
mackdaddy187 said:
Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
Click to expand...
Click to collapse
what u need to do mate is fairly simple. you need to delete a file and a folder.
boot into 2.1, open root explorer and make sure you are in R/W mode.
delete the chargemon file from /system/bin and delete the /sdcard/freeX10 folder
the freex10 folder contains all the data files for the 2.2 rom
the chargemon file contains the boot hijack that allows you to multi-boot. without this file (if you delete it all together like i am suggesting) the phone will simply boot into 2.1
once you have booted back into 2.1, you can setup the recovery menu
hope that helps mate, and thanks for not posting in the Dev thread!!!
mrtim123 said:
what u need to do mate is fairly simple. you need to delete a file and a folder.
boot into 2.1, open root explorer and make sure you are in R/W mode.
delete the chargemon file from /system/bin and delete the /sdcard/freeX10 folder
the freex10 folder contains all the data files for the 2.2 rom
the chargemon file contains the boot hijack that allows you to multi-boot. without this file (if you delete it all together like i am suggesting) the phone will simply boot into 2.1
once you have booted back into 2.1, you can setup the recovery menu
hope that helps mate, and thanks for not posting in the Dev thread!!!
Click to expand...
Click to collapse
Thank you so much, that worked like a charm.
Also LOL @ the dev thread comment. I am not really that retardo.

X8 2.1 ROOT !!! APP2SD !!! + more

.....................
Rootshell file on the cooking 2.1/2.2 thread
Click here for the file.
To flash to 1.6
Go Here
Legen...wait for it...darryy!!
Awesome i saw ur post in the dev thread made my day!
Two questions 1) you mentioned in the dev thread it was restarting quite often is that fixed?
2)is there any means to flash it in internal memory?
muzik_demon said:
Legen...wait for it...darryy!!
Awesome i saw ur post in the dev thread made my day!
Two questions 1) you mentioned in the dev thread it was restarting quite often is that fixed?
2)is there any means to flash it in internal memory?
Click to expand...
Click to collapse
1. Yes, thats fixed, it works fast and stable ! (there's one big problem - sdcard is not properly seen for camera/music), still testing it ..
2. Yes, it will be possible to flash into internal memory later.
1) For the first problem i recommend throwing a pm to zdzihu- he has employed the same technique to get dual boot in x10 and his rom is able to access sdcard for camera/music but we cant mount sdcard
2) If flashing into internal memory is straightforward then i recommend it since it will solve all the above problems
Looking forward to testing
(where can i get x8.img and data.img? or are you gonna release it in some time?)
Well done pulpoff2, I will test this solution, when I gone back home from work. Thanks
thank you . i am downloading the flies .
pulpoff2 said:
So far so good!
I started a new thread cause other one is filled up with junk.
Following my weekend theory, I finally managed to boot 2.1 on X8 with root.
I will post the files shortly.
The process is quite complicated for now, but early testers are welcome.
So, to start u need :
1. Flash 1.6 and root it
2. Copy busybox and rootshell to /system/bin
3. chmod 4755 /system/bin/rootshell
4. copy chargemon.txt into /system/bin/chargemon
5. chmod 777 /system/bin/chargemon
6. copy data.img and x8.img to SDCARD root directory
7. Flash 2.1 KERNEL ONLY (put 2.1 firmware files, remove system.sin and userdata.sin from firmware directory, than flash)
8. reboot your new 2.1 pre-rooted X8 !
Wasted weekend .. was it worth the hassle guys?
Cheers!
Here are the files you need to boot :
pulpX8.rar
ext.rar contains e2fsck to check .img for errors before booting, if you will not install these, booting should work anyway.
P.S. this is a very early stage solution now, wait until I make it clean, or try it if you are a flash maniac
Click to expand...
Click to collapse
how to find rootshell?
isaac12 said:
how to find rootshell?
Click to expand...
Click to collapse
Its on the cooking 2.1/2.2 thread
Click here for the file.
To flash to 1.6
Go Here
thanks... flash only kernel.sin without amss.sin amss_fs.sin cache.sin fota0.sin fota1.sin simlock.ta and update.xml?
isaac12 said:
thanks... flash only kernel.sin without amss.sin amss_fs.sin cache.sin fota0.sin fota1.sin simlock.ta and update.xml?
Click to expand...
Click to collapse
No, do as I wrote in first post, move 2.1 files over 1.6 files, than just remove system and userdata and flash than..
This just keeps getting better and better
Sent from my E15i using XDA App
pulpoff2 said:
No, do as I wrote in first post, move 2.1 files over 1.6 files, than just remove system and userdata and flash than..
Click to expand...
Click to collapse
I'm flashing all files without system and userdata .phone booting only sonyericsson logo. overwrite files and delete user data and system?
pulpoff2 said:
So far so good!
I started a new thread cause other one is filled up with junk.
Following my weekend theory, I finally managed to boot 2.1 on X8 with root.
I will post the files shortly.
The process is quite complicated for now, but early testers are welcome.
So, to start u need :
1. Flash 1.6 and root it
2. Copy busybox and rootshell to /system/bin
3. chmod 4755 /system/bin/rootshell
4. copy chargemon.txt into /system/bin/chargemon
5. chmod 777 /system/bin/chargemon
6. copy data.img and x8.img to SDCARD root directory
7. Flash 2.1 KERNEL ONLY (put 2.1 firmware files, remove system.sin and userdata.sin from firmware directory, than flash)
8. reboot your new 2.1 pre-rooted X8 !
Wasted weekend .. was it worth the hassle guys?
If the answer is yes and you would like me to spend some time and make this perfect, don't forget the "donate" button.
Cheers!
Here are the files you need to boot :
pulpX8.rar
Firmware 2.1 (rus)
Firmware 1.6 (uk)
ext.rar contains e2fsck to check .img for errors before booting, if you will not install these, booting should work anyway.
P.S. this is a very early stage solution now, wait until I make it clean, or try it if you are a flash maniac
UPDATE
The system.img now comes with LauncherPro and other goodies, some vaporware removed and GingerBread (2.3) black theme !!!
Donation count : $0
Click to expand...
Click to collapse
may be superuser.apk put inside of your firmware?
dviktor said:
may be superuser.apk put inside of your firmware?
Click to expand...
Click to collapse
It is inside the x8.img, as well as su and rootshell and busybox.
So if phone gets stuck on boot, connect adb and u can get root in console and fix problems.
and if i am right understand all running files be booted from sd card? and if it's unmount the phone will be still work? or it will be freezing or rebooting? and may be then we can start 2.3 on expiria x8?
dviktor said:
and if i am right understand all running files be booted from sd card? and if it's unmount the phone will be still work? or it will be freezing or rebooting?
Click to expand...
Click to collapse
/system and /data are mounted from x8.img and data.img from Sdcard.
This is good to debug problems, without need to reflash the phone every time.
Once we have the Xrecovery for X8, it will be easy to replace/update files like on X10i.
Without sdcard, you will have 2.1 kernel with 1.6 system, it will get stuck on boot, but adb shell will work (with root!), so you can investigate/fix problems/put new /system files.
pulpoff2 said:
/system and /data are mounted from x8.img and data.img from Sdcard.
This is good to debug problems, without need to reflash the phone every time.
Once we have the Xrecovery for X8, it will be easy to replace/update files like on X10i.
Without sdcard, you will have 2.1 kernel with 1.6 system, it will get stuck on boot, but adb shell will work (with root!), so you can investigate/fix problems/put new /system files.
Click to expand...
Click to collapse
I'm flashing all files without system and userdata .phone booting only sonyericsson logo. overwrite 1.6 files and delete user data and system?. how to long wait for booting phone?
pulpoff2 said:
/system and /data are mounted from x8.img and data.img from Sdcard.
This is good to debug problems, without need to reflash the phone every time.
Once we have the Xrecovery for X8, it will be easy to replace/update files like on X10i.
Without sdcard, you will have 2.1 kernel with 1.6 system, it will get stuck on boot, but adb shell will work (with root!), so you can investigate/fix problems/put new /system files.
Click to expand...
Click to collapse
so, if i take a normal files with undeleted (clean) from system/app, and copy it in phone with root, i can delete x8.img and data.img from sd card? i am just a curator of 4pda (russian) thread by X8 phone. becouse i ask you about everything
Well... I am a new guy, I am happy that the root was released, however, I don't know about the post, so is there a detailed version with pictures please?
Regards
Sent from my E15i using XDA App
how to set chmod in windows vista?

[Q] [HELP] Using fastboot/flashmode for pushing system files

I may have edited something wrong in build.prop and now my phone won't load after the SONY logo. I would push a stock build.prop if I had CWM but apparently I lost that after following steps to root JB with locked bootloader. All I have now is fastboot and flash mode.
Is there any way to push a file and set permissions using one of these modes? I can reflash ICS and do everything all over again but if I could just push a stock build.prop I think I can avoid the long way.
PS. Can I also get help putting CWM on this phone? I wanna keep bootlock 'coz I'm a purist like that. Lol! :silly:
do any of these modes support mounting \system and \data ??
XperiaMT27 said:
do any of these modes support mounting \system and \data ??
Click to expand...
Click to collapse
No, but fastboot can flash an update.zip according to a wiki. I don't think that's the same as a regular flashable zip is it?
Bump 'coz it's really getting tiring to reflash from zero when just one file needs editing.
androidmeda said:
Bump 'coz it's really getting tiring to reflash from zero when just one file needs editing.
Click to expand...
Click to collapse
Have you managed to solve this?
KOPRajs said:
Have you managed to solve this?
Click to expand...
Click to collapse
I ended up with reflashing only SYSTEM partition via Flashtool (don't forget to uncheck "Wipe DATA"). You are going to loose any modification of "/system" (e.g. root) but at least you won't loose your settings, apps and data.

[problem] Phone stuck in a bootloop after editing build.prop (rooted with custom rec)

Dear fellas,
I replaced my build.prop file to an another one and my phone is not booting up anymore.
I have a rooted Xiaomi Mi 5s Plus, with custom recovery.
Can anyone advise what to do without wiping the phone completely and flashing a new ROM?
What I've tried doing:
- I had the original build.prop that the phone had before it got stuck.
- I used the file explorer in custom recovery, copied that file to the system folder in root.
- Rebooted the device, still no luck!
- After rebooting, when I reopen the recovery, and navigate to the system folder again, I don't find the file I copied to the system folder!
Any thoughts on the matter please? Thanks in advance!
Have you tried writing original Rom to the phone. Don't have much experience with that kind best I can suggest
Sent from my SM-G930V using Tapatalk
black_hawk1990 said:
Dear fellas,
I replaced my build.prop file to an another one and my phone is not booting up anymore.
I have a rooted Xiaomi Mi 5s Plus, with custom recovery.
Can anyone advise what to do without wiping the phone completely and flashing a new ROM?
What I've tried doing:
- I had the original build.prop that the phone had before it got stuck.
- I used the file explorer in custom recovery, copied that file to the system folder in root.
- Rebooted the device, still no luck!
- After rebooting, when I reopen the recovery, and navigate to the system folder again, I don't find the file I copied to the system folder!
Any thoughts on the matter please? Thanks in advance!
Click to expand...
Click to collapse
Try mount system read/write first then copy og build prop file in system partition and reboot or use aroma file manager.

Categories

Resources