Hi , I know close to nothing about adb commands , but i do know about rooting and changing ROMs . My problem is im trying to run an adb command . I got into an error , luckily someone hopefully gave the solution . My problem is he said to replace the commands inside the adb backup , i tried but didnt work .
Im trying to follow this solution for my problem stated here https://forum.xda-developers.com/showpost.php?p=70801840&postcount=418
ferraro.dav said:
I noticed that I'm not the only one who's having the tar errors "tar: apps/com.whatsapp/f/key: Not found in archive", the problem is with the backup file given by adb that is empty. I found on stackexchange (android.stackexchange .com /a/143481/207500) that it has to do with a backup command bug and a simple solution. You just need to use the phone shell instead of letting abd take care of it.
On unix open the ssh file and change this:
Code:
if [ $sdkver -ge 23 ]; then
adb backup -f tmp/whatsapp.ab com.whatsapp
else
adb backup -f tmp/whatsapp.ab -noapk com.whatsapp
fi
to this:
Code:
if [ $sdkver -ge 23 ]; then
adb shell "bu 1 backup com.whatsapp" > tmp/whatsapp.ab
else
adb shell "bu 1 backup -noapk com.whatsapp" > tmp/whatsapp.ab
fi
Also, it kept giving me empy backup files until I didn't put a "desktop backup password" and wrote it in BOTH the boxes (even if it says that leaving the second blank will make it use the default password).
Hope this helps and that the developers put this change in the script so that no one else has this problem.
Click to expand...
Click to collapse
I think its a really easy step but i cant seem to do it . Please can someone help me ? Maybe download the file and upload it after going through the instructions ? That would help me alot . Thank u
P.s Ive uploaded the file that needed to be edited .
Related
So as the title suggests whenever I run the crackin.bat file in order to prepare my legend to be downgraded, it always displays the
cr--rw---- 1 1001 2002 90 line instead of the needed crwxrwxrwx 1 1001 2002 90 line.
I have looked everywhere to find a solution to this problem yet no matter where I look, everybody seems to be able to fix this by just either turning off and on their phone or wiping it. But I have tried all of those and, I have also tried doing this step on a different computer and reinstalling the needed files yet to no avail.
So if anybody has a possible workaround please do share it so I can finally root my phone after many tedious hours.
Sorry for the noob question and many thanks in advanced to anyone who can help me.
Azaruc said:
- Get visionary+
- Temproot your legend with it
- Use commandline with adb on your pc to flash misc1-2.img.
type the following commands from the folder where you have adb;
Code:
adb shell
su
accept the notification on your phone if one comes up
and then in the command line type this;
Code:
/data/local/flash_image misc /data/local/misc1-2.img
That should be enough to make it possible to run the 1.31 RUU.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=11863394&postcount=2
Ahh, thank you. I had come across that before but i just didn't think that it would help! Silly me.
Ok, is there an IRC chat for the legend somewhere, im STILL getting this error. I can't find visionary+ anywhere where im sure enough its not going to mess up my phone, and i aparently am missing the files needed however none of the guides have downloads of everything i need.
PLEASE can someone help me? im so confused nothing is making sense. I get to copying files from DxDrx but that is nonexistant, what am i missing?
Ok, i got passed this step by doing these steps
1: download visonary here
http://forum.xda-developers.com/atta...3&d=1290501865
or here
http://content.modaco.net/dropzone/com.modaco.visionaryplus.r13.apk
or you can get it off the market
Then download hack4legend here http://www.multiupload.com/I3ZALKWB6A and unzip it somewhere (this is adb and the rooting tools)
2: install and open up visonary on your phone and do a temp root on your phone.
3: open up cmd and type in the following
cd "your hack4legend path here but with out the "" "
adb shell
su
4: after you do that on your computer you should see a notification on your phone come up, it might take a little. Accept it.
5: type this into the command promt
/data/local/flash_image misc /data/local/misc1-2.img
6: run the 1.31 RUU and your good.
Hope this helps
Unreal_628 said:
Ok, i got passed this step by doing these steps
5: type this into the command promt
/data/local/flash_image misc /data/local/misc1-2.img
Click to expand...
Click to collapse
/data/local/flash_image: not found
what am i doing wrong? i had to copy the contents of hack4legend to my adb folder so i have adb, is that it? do i have to change the drectory somewhere?
Mmm, if their is a platform tools sub folder in the android sdk try putting the hack 4 legend in there and re trying. It will either have to go in there or the tools sub folder in the android sdk.
And also make sure that when you use the cd command make sure to not just go to the android ask folder but into the platform - tools/tools depending on where you put your hack, try putting it in both and using different paths. Also you might wanna try updating the adb module "android sdk platform - tools revision 3" through the sdk manager.
And as allways make sure you have usb debugging on and have your phone connected to the computer through charge mode only.
Ive seen that the Backtrack 5 can be installed on xperia x10..
here's the link
Does it work on LGP500 too?
It would be great if this would work on our phone to give some special features..
up please answer my question.
rexon2011 said:
up please answer my question.
Click to expand...
Click to collapse
Hmmm? Well, go and try it?
I tried... at first i thought it should work. As the file system and all are similar
It worked till the 'startbt' but when i entered 'bt' it said segmentation fault
So anyone can tell me please what i have done wrong ( I know the wrong thing is its not meant for Optimus but anything other than that?? ) or tell me how to make it work
Thank you
PS --> My First post on XDA
Ohk looks like something is missing.
do following
reboot your phone do startbt as usual...
after that us
http://forum.xda-developers.com/showpost.php?p=14006091&postcount=15
this script copy script to any location and run it.
sh debug.sh
output will be in /data/local/debug_log.txt
just copy paste the whole file here.
tips you can push the debug.sh file using adb push.
and simmilarly pull the log out using adb pull.
once you are done then post the debug log that can help in diagnostics.
anantshri said:
Ohk looks like something is missing.
do following
reboot your phone do startbt as usual...
after that us
http://forum.xda-developers.com/showpost.php?p=14006091&postcount=15
this script copy script to any location and run it.
sh debug.sh
output will be in /data/local/debug_log.txt
just copy paste the whole file here.
tips you can push the debug.sh file using adb push.
and simmilarly pull the log out using adb pull.
once you are done then post the debug log that can help in diagnostics.
Click to expand...
Click to collapse
http://www.mediafire.com/?x4kuvorawo4reqr
is this the debug log u wer asking??
please do something... i am too much exited to try it on my optimus
BTW add me on FB i have sent u a friend request
cooltoad92 said:
http://www.mediafire.com/?x4kuvorawo4reqr
is this the debug log u wer asking??
please do something... i am too much exited to try it on my optimus
BTW add me on FB i have sent u a friend request
Click to expand...
Click to collapse
two things.
1) reboot your phone and do startbt and bt again.
post all output here.
2) also segmentation fault could be coz of the busybox chrooting failure.
i hve busybox version 1.15.3
anantshri said:
Ohk looks like something is missing.
do following
reboot your phone do startbt as usual...
after that us
http://forum.xda-developers.com/showpost.php?p=14006091&postcount=15
this script copy script to any location and run it.
sh debug.sh
output will be in /data/local/debug_log.txt
just copy paste the whole file here.
tips you can push the debug.sh file using adb push.
and simmilarly pull the log out using adb pull.
once you are done then post the debug log that can help in diagnostics.
Click to expand...
Click to collapse
When i try to run BackTrack 5 on my P500 Optimus One with Gingerbread 2.3 and root installed, i get this error:
mkdir failed for data/local/mnt, File exists
net.ipv4.ip_forward = 1
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
Segmentation fault
Shutting down BackTrack ARM
losetup: /dev/loop7: Device or resource busy
Here mine debug.sh.txt: http://www.megaupload.com/?d=2SE35OPZ
Can anyone help me?
You really need a bigger screen size to get this working properly.
Hi,
Sorry for my English; I'm French people.
I have an HTC Tattoo with HCDR ROM 1.7 since one year. But with the patched market i can't have the new version of the market. I read lot of topic about the subject in this forum and the Frandroid forum but I not found a running issues.
Have you got a solution for my probem ?
Thaks a lot,
Florian
florianlyon
Dude, hey! I ran into same problem.
Here you go: http://forum.xda-developers.com/showthread.php?t=723255&page=66
read last messages in the thread, especially my posts
Hey !
Thanks for you answer. I have already read this posts but it's not work for me !
If you have successfully fix this problem please leave me the procedure and shell command.
Follow the URL and download original market:
http://www.mediafire.com/file/wrw9tdzhveoqvgh/Vendingtrue.apk
Then reboot your phone to recovery.
Start cmd in windows.
Go to C:\rtattoo folder (i presume u use 1-click root-rec too).
If necessary mount your phone's system partition as RW:
Code:
adb shell mount -o remount,rw system
And the main command u have to run here is:
Code:
adb push Vendingtrue.apk /system/app/Vending.apk
note: of course it's implied that Vendingtrue.apk should be in the same directory as adb or locate it in a different way if u want.
If push command executes successfully just restart your phone, if not - then, naturally, do some work around. U may even try running it under loaded Android, it may do the trick too (for example, once when i tried installing hosts file it worked).
The main idea, as u might have already guessed , is to replace Vending.apk. Then it will autoupdate itself at the first time u launch it.
Hope it helps, good luck, dude!
I have try this procedure when Android running but it was impossible to push the new Vending.apk even with the system partition mounted.
But in Recovery mode I could push the new apk.
But when I launch the market it not auto update and when I run
Code:
adb pull /system/app/Vending.apk
The Vending.apk size is 1158ko, as the vendingtrue.apk size is 1146ko.
So I conclude that the replacement was not performed.
Have you got a solution ?
Thanks a lot
Dude !
I retry and it's work !
My system partition was not mount correctly.
I launched the following command with my tattoo in recovery mode :
Code:
adb shell
mount /dev/block/mtdblock3 /system -o rw
ctrl+c (or exit)
adb push Vendingtrue.apk /system/app/Vending.apk
I reboot my tattoo and launch :
Code:
adb pull /system/app/Vending.apk
The size is 1146ko (YES my APK has successfully replace).
I ran the market, 5 minute after, it was up to date.
thank you very much for your precious help !
the new market is rubbish...too bug...too slow...get the old market...I have download the old market I can ensure you it's better than new
Hello,
I followed the instructions
in http://forum.xda-developers.com/showthread.php?t=1886310
to root my tablet.
I do it using Linux so I don't use the half automatic way.
I signed also the VpnFaker.apk
But it does not work, I got the error at the end, sometimes mentioned:
:~/Infos/android/SonyTabletICS4.03Root> adb shell am start -n com.android.vpndialogs/.Term
Starting: Intent { cmp=com.android.vpndialogs/.Term }
Error type 3
Error: Activity class {com.android.vpndialogs/com.android.vpndialogs.Term} does not exist.
I tried the same procedure again - no success and all my apps are gone.
Ok I thought - I do it back.
I copied the old system- and old app- back to system and app.
And that was it ...
The device does not start. It shows sony and after that the yellow to golden
animation which normally ends sometimes.
It does not end.
I can connect via adb on linux not on windows (I use it very rarely and the win 7 notebook
allowas says that the driver is not installed correctly )
I can't get the right to manipulate /data
using the while loop. I think I can't confirm the restore with the touchscreen.
I post this also in the thread http://forum.xda-developers.com/showthread.php?t=1886310
I don't know what to do now.
Greetings
Karsten
I think we have the same issue, in my case I can't fix it until Sony release a new update.
Can you post your recovery log?
Sent from my MB525 using xda app-developers app
karo said:
Hello,
I followed the instructions
in http://forum.xda-developers.com/showthread.php?t=1886310
to root my tablet.
I do it using Linux so I don't use the half automatic way.
I signed also the VpnFaker.apk
But it does not work, I got the error at the end, sometimes mentioned:
:~/Infos/android/SonyTabletICS4.03Root> adb shell am start -n com.android.vpndialogs/.Term
Starting: Intent { cmp=com.android.vpndialogs/.Term }
Error type 3
Error: Activity class {com.android.vpndialogs/com.android.vpndialogs.Term} does not exist.
I tried the same procedure again - no success and all my apps are gone.
Ok I thought - I do it back.
I copied the old system- and old app- back to system and app.
And that was it ...
The device does not start. It shows sony and after that the yellow to golden
animation which normally ends sometimes.
It does not end.
I can connect via adb on linux not on windows (I use it very rarely and the win 7 notebook
allowas says that the driver is not installed correctly )
I can't get the right to manipulate /data
using the while loop. I think I can't confirm the restore with the touchscreen.
I post this also in the thread http://forum.xda-developers.com/showthread.php?t=1886310
I don't know what to do now.
Greetings
Karsten
Click to expand...
Click to collapse
Factory RESET from recovery
I don't think so. if the problem is on /system directory, factory reset will not help.
Sent from my MB525 using xda app-developers app
_kyo_ said:
I don't think so. if the problem is on /system directory, factory reset will not help.
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
I had to do factory reset when I was trying to root and it worked for me. I know your problem is worse unfortunately
Just thought it was worth a try in this case
of course it worth a try
Sent from my MB525 using xda app-developers app
adb logcat of bricked device
Hello,
the log get by adb logcat repeats after some time, so here
is only one part.
Since yesterday I try in /data/system - yes I could read it don't have permissions on app:
/data/local/tmp/busybox find . -type d -exec chmod 755 {} \;
/data/local/tmp/busybox find . -type f -exec chmod 644 {} \;
ups the log is to long you can find it under
zb42.de/logcat-2012-09-23-v2.txt using your browser
(sorry I'm not allowed to post a link to an external site)
there are three lines which shows where the logs repeat :
--------------------------------------------------
and from here it seems to repeat
-------------------------------------------------
hmm, now I have done a
/data/local/tmp/busybox find . -type d -exec chmod 777 {} \;
and the system starts but all applications vanished.
Puh, but it seems I'm back to the system.
Log shows still many errors, there is no app available,
Apps are shown on the Screen, but if I tap it
then it says: "App ist nicht installiert" (application is not installed)
I think my fault was that I copied back the system- directory so I have
destroyed the correct permissions on the file-system.
Can anybody give me a hint, how I should go further.
First goal would be a working system, second goal is
rooting
My goal of rooting was:
- curiousity (right word? Neugier in German) I've done it with Android 3
- correct the sdcard problem
update - device is rooted, I needed to start from factory defaults - then it works
Thanks
Karsten
dont think /system - I never touched it
no longer important, I can't delete this
Hello,
I've just received new phone, Alcatel One Touch Fire E (6015X).
This phone has got installed FirefoxOS,
my question is can I install android somehow?
I was looking for that information however not found anything what would help me.
kmlnvm said:
Hello,
I've just received new phone, Alcatel One Touch Fire E (6015X).
This phone has got installed FirefoxOS,
my question is can I install android somehow?
I was looking for that information however not found anything what would help me.
Click to expand...
Click to collapse
Hello,
I'm looking for a recovery image of this phone, do you know of any location to find one? Or could you possibly make one very please to help such people out? Hamachi (Flame) builds dont work.
uxuxux said:
Hello,
I'm looking for a recovery image of this phone, do you know of any location to find one? Or could you possibly make one very please to help such people out? Hamachi (Flame) builds dont work.
Click to expand...
Click to collapse
if you could tell me how to extract it from my phone, i can make it for you
jecustoms said:
if you could tell me how to extract it from my phone, i can make it for you
Click to expand...
Click to collapse
Hey, thanks for your offer. I found a guide for the Alcatel Flame, but I think we are interested in Step 5 only.
Code:
Step 5: Create backup images
Now start shell on the phone using adb shell command and dump backup images to SD card:
$ cat /dev/mtd/mtd0 >/mnt/sdcard/boot.img
$ cat /dev/mtd/mtd1 >/mnt/sdcard/system.img
$ cat /dev/mtd/mtd5 >/mnt/sdcard/userdata.img
$ cat /dev/mtd/mtd7 >/mnt/sdcard/recovery.img
When finished (you may also dump some more MTD partitions if you like), transfer those files to your computer. You may again use ADB for that:
$ mkdir hamachi-backup
$ I="boot.img system.img userdata.img recovery.img"
$ for i in $I; do adb pull /mnt/sdcard/$i hamachi-backup/; done
I can't link yet but it's from Krzysztof Adamski's blog, the full post is titled Alcatel One Touch Fire Hacking (Mini)Guide.
Maybe it would be enough, as the alcatel source for this device is not available yet on their sourceforge page, I'm not sure if it's possible to make a full recovery image without that.
I found another mention of such thing on the b2g-dev mail list
Code:
> You can backup the partitions from a working phone using 'dd' to dump
> them (you can find the relevant devices under /dev/block) and then use
> fastboot to flash them on the bricked phone (provided that fastboot
> still works).
first of all, i am a total noob..
"Now start shell on the phone using adb shell command"
what does it mean? how can start it?