MY p765 is from the mainland , so there is a logo of wo3g while booting .
lelus told me to replace the "xloader and u-boot" with them from other's unbranded phone , so i think it shoud be a P765 which is bought from HONGKONG and flashed on JB of V20D and it should be rooted .
and if you have a phone like that . can you backup your current xloader and uboot with the following code
Code:
adb shell su -c busybox dd if=/dev/block/mmcblk0p2 of=/sdcard/external_sd/p2.bin
adb shell su -c busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/external_sd/p1.bin
i can ensure this will do nothing but extract files from your phone . and it will not do harm to your phone . trust me !!!
if you succeed , copy your two files (p2.bin and p1.bin) . and mailed to me ([email protected]) . if you can't find them in your exernal_sd . open the file holder "dev" and set it read and write . then try again .
thank you very much .
mylk said:
MY p765 is from the mainland , so there is a logo of wo3g while booting .
lelus told me to replace the "xloader and u-boot" with them from other's unbranded phone , so i think it shoud be a P765 which is bought from HONGKONG and flashed on JB of V20D and it should be rooted .
and if you have a phone like that . can you backup your current xloader and uboot with the following code
Code:
adb shell su -c busybox dd if=/dev/block/mmcblk0p2 of=/sdcard/external_sd/p2.bin
adb shell su -c busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/external_sd/p1.bin
i can ensure this will do nothing but extract files from your phone . and it will not do harm to your phone . trust me !!!
if you succeed , copy your two files (p2.bin and p1.bin) . and mailed to me ([email protected]) . if you can't find them in your exernal_sd . open the file holder "dev" and set it read and write . then try again .
thank you very much .
Click to expand...
Click to collapse
Yes, at the moment I am on V20D P765 Hongkong Rom and both the files are attached here in Zip Format IN PREVIOUS POST.
Stop making multiple threads for single issue. You may be reported by me or someone.
Hope this helps.
Closed since you posted/created here a thread: Please keep to one thread, Thank You.
Related
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
Code:
adb shell
mkdir 21system
mount -o rw /dev/block/mtdblock2 /21system
If you're lucky it will mount your 2.1 system partition as /21system
Most likely it will say "Device or resource busy"... But worth trying anyway.
Cheers
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
I did the same thing at least twice. I was able to save it without restoring by replacing my framework-res.apk before it rebooted or froze.
Basically, try to adb into it while it is still at the Sony logo or if you get the blackscreen after the logo.
One weird thing I did notice was that I was able to replace the framework-res.apk file apparently without using 'su'. After I killed it when I was doing adb at/after the logo I tried to 'su' but it gave some error and remained at the '$' prompt. I then did the 'dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk' command and it completed. Rebooted and it worked again.
Think my whole thing was tested second time with a script.
Try making a frameworkfix.cmd file and putting this in it.
@echo off
@echo.
@echo Installing Framework
@echo.
@adb shell su
@adb push framework-res.apk /sdcard/framework-res.apk
@adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
The keep trying to run it while at the Sony logo. Give it a few runs before you give up, I swear it worked for me.
thermoska said:
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
Heck just try the following from folder with your original framework.
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
or
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
thanks guys , but I do not need commands,
I know them already , I had permissions problem.
Instructions mentioned above did not worked for me
I've got permission denied
anyway thanks
thermoska said:
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
You can access the 2.1 /system partition through 2.2 with adb.
Use this to unmount 2.2 /system
Code:
su
busybox umount /dev/block/loop1
You can check if all worked well this way:
Code:
busybox ls -1d /system/* | grep xbin
If it gives you anything, it's 2.1 -- if not, try
Code:
busybox umount -l /dev/block/loop1
Now, you should have the old 2.1 /system structure available. Ignore all errors appearing *on the phone* it'll be screwed up, unusable. Until a restart.
Now through adb you can overwrite your 2.1 framework apk with dd
(assuming you already have it on the sdcard, else, well, push it there (adb push framework.apk /mnt/sdcard/ )
Code:
dd if=/mnt/sdcard/framework.apk of=/system/framework/framework.apk
for remount system, just do
Code:
busybox mount -o remount,rw /system
after you have the 2.1 system available.
I installed 2.2 to my nand (almost fully working) at one point this way =3
Or...
You can flash again just using system.bin and everything you had would be there.
;-)
You also will need loader.sin
I did this a couple of times and work for me; I only need to root again
Good luck!
PS: In the firmware folder, you need to leave ONLY this 2 files: System.sin and loader.sin. Backup and delete all other files like amss.sin, cache.sin, etc.
well thank you
This a good idea ..
Unfortunatelly I already reflashed the phone
Hope it will help to somebody in the future
ttxdragon said:
I installed 2.2 to my nand (almost fully working) at one point this way =3
Click to expand...
Click to collapse
Thought that would work, was going to do it with .003, but I guess the recovery tool will do that for us - now we see what Z has been working on - excellent news
Just curios. Any speed improvements when extracting the img files to nand and mount/run it from there ?
Even running from sdcard img files is a perfect backup solution by just copy the img files away from time to time. But of course r/w cycles of the card are increased --> less lifetime.
But otherwise running from images is nice, as you're able to mount them. (diskinternals linux reader but R-only)
Anyone knows a win32 prog to mount the img files r/w ?
Hi , greeting everyone !
This tutorial is for windows and covering devices with locked bootloader !
I hope this tutorial come to help those who still have doubts in preparing tools for: Update Firmware Android version, Root device and Install CWM Recovery.
If you do not want to damage the device , or you will lose warranty then follow these steps carefully !!!
All Credit for Root devices [ @Dan Rosenberg] , and for CWM Recovery [ @nitroglycerine33]
These are the files you need for all operations : => http://www.4shared.com/zip/j1NYuSYZ/UPDATE_ROOT_CWM.html
=> http://hotfile.com/dl/149154452/d7164d2/UPDATE_ROOT_CWM.zip.html
( ...unpack zip archive into UPDATE_ROOT_CWM directory...)
HOW UPDATE YOUR ENVIRONMENT ( windows 7 x64) :
- go to UPDATE_ROOT_CWM/SDK&DRIVER/ and install all *.exe
HOW UPDATE STOCK FIRMWARE:
- go to UPDATE_ROOT_CWM/RSD_LITE/ install *.exe
For update , first you need Fastboot Files for your appropiate ROM ( you need to search on xda-developers/Motorola Droid Razr - your files)
- on your device enable USB debugging , connect USB cable and run RSDLite ....click on Show Device ( if your device is detected you'll see your device ....Model XT910 .....) , now click on ...(Filename) and go to your Fastboot Files archive previously downloaded and click Start . That's all ....wait ~ 10 min for update your device with the new version.
HOW ROOT YOUR DEVICE :
- go to .../Program Files (x86)/Android/android-sdk/platform-tools and copy all *.exe and all *.dll into .../Program Files (x86)/Android/android-sdk/tools
- go to UPDATE_ROOT_CWM/ROOT/ and copy *.* into ../Program Files (x86)/Android/android-sdk/tools
- enable USB debugging on your device , connect USB cable ...
- go to .../Program Files (x86)/Android/android-sdk/tools and click on Command Prompt
> adb devices
....you'll see your nr. device here ....
> adb push motofail /data/local/tmp
> adb shell "chmod 755 /data/local/tmp/motofail"
> adb shell "/data/local/tmp/motofail exploit"
> adb reboot
.....wait for reboot your device....
> adb remount
> adb push su /system/bin/
> adb push busybox /system/xbin/
> adb push Superuser.apk /system/app/
> adb shell
>/# chmod 755 /system/app/Superuser.apk
>/# chmod 755 /system/xbin/busybox
>/# chmod 6755 /system/bin/su
>/# system/xbin/busybox --install -s /system/xbin
>/# exit
> adb reboot
......wait for reboot your device .....
After reboot your device is ROOT, you can download Root Check Basic on Market and Verify Root Access ! ( allow su asked ...)
HOW INSTALL ClockWorkMod Recovery :
- go to UPDATE_ROOT_CWM/CWM/ and copy .apk into .../Program Files (x86)/Android/android-sdk/tools
- go to .../Program Files (x86)/Android/android-sdk/tools and click on Command Prompt
> adb push RazrBootstrap.apk /data/app/
> adb shell
>/# chmod 755 /data/app/RazrBootstrap.apk
>/# exit
> adb reboot
....wait for reboot your device .....
After reboot run on your device Razr Bootstrapper , check Bootstrap Recovery and click Reboot Recovery. Now you have CWM Recovery working and you can install your update.zip for customizing your favorit devices !
With respect,
surdu_petru
HI !
Please replace busybox with this version : => http://www.4shared.com/zip/A8_XZYnB/busybox.html
( Previous version of the busybox damage the root !!! )
Thanks and sorry for mistake ! Good Luck !
10000000x thanks
Thank you so much for this. I've been trying for a long time to regain root access after I made an error. This saved my device.
[Q] OTA update?
Question. Do I have to avoid OTA update (eu 2.3.6) and flash it via CWM/fastboot?
If yes. Why?
chuckyanutsup said:
Thank you so much for this. I've been trying for a long time to regain root access after I made an error. This saved my device.
Click to expand...
Click to collapse
Hi!
I'm glad he was able to use your ! Good luck !
LOCKDOC_UA said:
Question. Do I have to avoid OTA update (eu 2.3.6) and flash it via CWM/fastboot?
If yes. Why?
Click to expand...
Click to collapse
Hi!
No, not required ! You can do very well OTA update from 2.3.5 to 2.3.6 and after that you can root your device . Good luck !
You can use RSD Lite for update your device if update exist ( you need to search and found fastboot files for your device ) , but the device does not find ! ( into system updates ). I hope you understande me .
For some reason, 4shared will not allow me to download. I signed up, but the download never starts.
Ed Zachary said:
For some reason, 4shared will not allow me to download. I signed up, but the download never starts.
Click to expand...
Click to collapse
Hi!
Thank you for info . I'll upload now on the other site . Good Luck !
Hi!
If you can not download on 4shared , now you can do on hotfile. Is the same archive , but with correct busybox .
=> http://hotfile.com/dl/149154452/d7164d2/UPDATE_ROOT_CWM.zip.html
thanks for this guide. any way to get back to stock if you root? If so, how? Because when ICS get's released OTA it's nice to get it and then use root again. Also if I only want to stay stock and get root how do I do that? In the guide you state "get the appropiate fastboot files for your rom" But I want to stay on stock 651.73.30.XT910.NonEFIGSRetail.en.EU and get root. Is that possible?
surdu_petru said:
Hi!
If you can not download on 4shared , now you can do on hotfile. Is the same archive , but with correct busybox .
=> http://hotfile.com/dl/149154452/d7164d2/UPDATE_ROOT_CWM.zip.html
Click to expand...
Click to collapse
Thanks! Good to go now.
Hi folk,
I have a china phone SC6820 based on MocorDroid2.3.5 but I got many pb to root it.
No rooting app was working ( Z4root & UnLockRoot )
I tryied many CWM build but no-one was working ( white screen / flashing screen / auto-reboot )
I finaly find a CWM that allowed me access to flash with adb ( ofc, I was faced to white screen )
I rooted it by using those command ( in cwm / white screen ) :
PHP:
mount /system
mount sdcard
cp /sdcard/su /system/bin
cp /sdcard/Superuser.apk /system/app
chmod 06755 /system/bin/su
chmod 06755 /system/app/Superuser.apk
reboot
so now it is rooted, everything working ( removed go application that was too heavy for that phone )
but now I'm faced to a phone that can be bricked and no CWM is there a way to build it using boot.img or something like that ?
thx in advance
PS : I know there are thread that talk about those kind of phone but I found nothing about that q_q
PS2 : if you know where to find that, just link me where
Phone : 3w.dhgate.com/supply-mini-i9300-phone-3-5-inches-sc6820/p-ff8080813d7cbab5013d8b6afc952695.html
Actually I managed to root it with chinese ROOT MASTER
And I am still looking for a CWM for it
I found working one but with no display
Hope I helped you in a way
- Phone h901 rooted
- Use adb backup file:
adb shell
su
dd if=/dev/block/mmcblk0 of=/sdcard/H901.bin bs=1024 count=6291456
reboot
Then copy file h901.bin in phone memory to PC, Make zip or rar upload to host( gooledrive) i can make tot help.
tungkick said:
- Phone h901 rooted
- Use adb backup file:
adb shell
su
dd if=/dev/block/mmcblk0 of=/sdcard/H901.bin bs=1024 count=6291456
reboot
Then copy file h901.bin in phone memory to PC, Make zip or rar upload to host( gooledrive) i can make tot help.
Click to expand...
Click to collapse
Can you make tot out of file I've pulled
?
Everything is there just needs to be put together
i42o said:
Can you make tot out of file I've pulled
?
Everything is there just needs to be put together
Click to expand...
Click to collapse
i need primagrygpt
I'm trying to make an AOSP ROM, and while doing so, I now have a dysfunctional bootloader. If your tablet is rooted, please duplicate the boot.img from your system and share it with me. Would very much appreciate.
Instructions:
Use CMD and paste these 2 lines:
adb shell "dd if=/dev/block/platform/soc.0/by-name/boot of=/sdcard/boot.img"
adb pull /sdcard/boot.img
Then from ADB directory, upload to somewhere easily accessible.
Does it matter if we have updated to 7.0 or not? I'm rooted and have updated to 7.0 and would be happy to help.
That would actually be a good idea. The ROM is supposed to be 7.0.0 anyways.
Running the first command comes up as " no such file or directory"
Do you already have ADB?
mr_verystock said:
Do you already have ADB?
Click to expand...
Click to collapse
Yep. I do adb devices to make sure it recognizes the tablet and all is good there.
Maybe so I'm the same page i just open up ADB as normal : open the command prompt in my platform tools. I paste the first line in : adb shell "dd if=/dev/block/platform/soc.0/by-name/boot of=/sdcard/boot.img" I get no file or directory.
Unable to get the dumb file:
adb shell "dd if=/dev/block/platform/soc.0/by-name/boot of=/sdcard/boot.img"
dd: /dev/block/platform/soc.0/by-name/boot: No such file or directory
Edit: does a backup from the recovery could make the task done ? I backup the boot from the TWRP and I get a file of 32Mb with the name: boot.emmc.win
adb shell
cd /dev/block/platform
ls
And tell me the output. I appreciate your help!
mr_verystock said:
adb shell
cd /dev/block/platform
ls
And tell me the output. I appreciate your help!
Click to expand...
Click to collapse
Nothing, it returns an empty result
Unusual... Normally there's soc.0 or msm_sdcc.1.
mr_verystock said:
Unusual... Normally there's soc.0 or msm_sdcc.1.
Click to expand...
Click to collapse
That command never worked for me on this tablet. Yes the default kernels is 32mb.
You can get it from twrp backup as .win and then rename it (if it is not compressed) or use AUT or SuperR's kitchen to obtain it.
Another method would be flashifire>backup.
Im still on MM so I can not help you.
Try these: https://drive.google.com/file/d/0Bz54O_w1LEYpQ1k0aDVHX29NbkE/view?usp=sharing
the rooted files I grabbed from TWRP backup, should be idential to the ones get using dd method.
the stock files I extracted from stock kdz file using WindowsLGFirmwareExtract-1.2.6.1-Release