[Solved] P7 easy update and adjust - Huawei Ascend P7

Hey guys,
i would like to create a batch/exe file that makes an update with twrp easyer.
Additional options are welcome!
One of this is to delete immutabel.list from a pc. i know the how to by using my phone (terminal emulator ...) etc. Can anybody tell me the how to from my PC?
I know how i use the console but i dont know the command for ADB file administration...
@surdu_petru: is there a way to transfer commands direktly into twrp?
Like: make a backup, recover last backup etc?
Edit:
Option 1 is okay. The batch file can make a update from stock huawei firmware with installed twrp.
Saturday i upload this for all.
Edit: This thread can be delete.
All infos now in: http://forum.xda-developers.com/asc...eandadjust-t2941186/post56774286#post56774286
Sent from my HUAWEI P7-L10 using XDA Free mobile app

87insane said:
...
@surdu_petru: is there a way to transfer commands direktly into twrp?
Like: make a backup, recover last backup etc?
Sent from my HUAWEI P7-L10 using XDA Free mobile app
Click to expand...
Click to collapse
I am not surdu but... answer You. There is easy way to do this... it called TWRP Manager from Google Play Store

Ziółek said:
I am not surdu but... answer You. There is easy way to do this... it called TWRP Manager from Google Play Store
Click to expand...
Click to collapse
No Problem...
But thats not the right way.
I would like to create a batch or exe file for PC (Windows). In this batch you can choose what you will do. Its no magic but i think its easyer and faster than make it manuell.
Exempel: stock Firmware update via twrp. Its an easy way but to awkward.
This APP is for our phone...
I search for commandline commands like: fastboot reboot recovery -backup
Edit:
Has anyone an idea how i can delete immutable.list via cmd?
Sent from my HUAWEI P7-L10 using XDA Free mobile app

Related

[How-To] Make nandroid backups really fast

Nandroid backups on the D3 aren't the fastest right now, but with a simple and quick tweak, we can make them much, much faster.
During the backup/restore, clockword recovery shows each individual file being copied. By turning this off, it drastically improves backup/restore times. It'll still say backup up /system, or /data, it just won't show the individual file. In order to remove the nandroid progress stats, you need to create two files using adb or terminal emulator.
ADB or Terminal Emulator​1) type- (may need to do "adb shell" first)
Code:
echo "" > /sdcard/clockworkmod/.hidenandroidprogress
Press enter
2) type
Code:
echo "" > /sdcard-ext/clockworkmod/.hidenandroidprogress
Press enter
3) Done!
Hint- to check to make sure it created the files, navigate to /sdcard/clockworkmod and see if there's a .hidenandroidprogress file. Also check in /sdcard-ext/clockworkmod for the same file.
Can't we just create the files manually instead of going through the trouble of using adb?
Yup. I used a terminal emulator on my phone since I didn't feel like taking the time to do it.
Sent from my DROID3 using XDA App
Thanks for this. I was wondering why backup/restore was so much slower on the D3 than on my OG Droid - synchronous IO strikes again.
FYI,
I removed the detailed progress bar from the upcoming Safestrap 1.0. The wait was just too long to even have that option enabled.
Excellent post, thanks a lot for sharing this tip.
Edit: I created both files and then rebooted into Recovery and started a backup. I still see each file being named as well as the progress bar. Did not seem to work for me...
g3m1n1 said:
Excellent post, thanks a lot for sharing this tip.
Edit: I created both files and then rebooted into Recovery and started a backup. I still see each file being named as well as the progress bar. Did not seem to work for me...
Click to expand...
Click to collapse
You'll still see the actually progress bar. It just won't show each individual file. But that's weird. Ill see what I can find out.
Sent from my DROID3 using XDA App
Definitely weird, I will delete the files and try to create them again to see if that helps. FYI, I used Android Terminal Emulator to create the files using the commands you posted.
g3m1n1 said:
Definitely weird, I will delete the files and try to create them again to see if that helps. FYI, I used Android Terminal Emulator to create the files using the commands you posted.
Click to expand...
Click to collapse
Did it actually create the files? try using /mnt/sdcard/clockworkmod/,hidenandroidprogress
Sent from my DROID3 using XDA App
erismaster said:
Did it actually create the files? try using /mnt/sdcard/clockworkmod/,hidenandroidprogress
Click to expand...
Click to collapse
Wow, had a temporary lapse of reason earlier... Your typo of the comma in your last comment made me realize my own typo in typing /.hideandroidprogress instead of ./hidenandroidprogress . Backups are much, much faster now.
Huge difference!
I'm not sure if this is where I should post this but... When making a backup with CWM bootstrap(Not Safestrap) does it backup the /preinstall stuff too? I ask because I tried using the safestrap to flash a compatible rom and didnt backup and the rom wasnt functioning properly. I managed to recover back to my ogblur i was running prior but i wanted to know if my /preinstall was reverted and if not do I have anything to worry about with it not being how it was originally?
MrObvious said:
Yup. I used a terminal emulator on my phone since I didn't feel like taking the time to do it.
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
YUP. Same here. Smooth
Nandroid is ripe for a rewrite anyway.
How do you make a nandroid backup to begin with?
MerCiLeSS28 said:
How do you make a nandroid backup to begin with?
Click to expand...
Click to collapse
You boot into clockwork recovery and click backup and restore and then backup...
Sent from my DROID3 using XDA App
At first, wondered why I couldn't see them with ls...
With terminal emulator, at least, you have to use "ls -a"!
Sent from my Droid 3 via the air
erismaster said:
You boot into clockwork recovery and click backup and restore and then backup...
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
Oh really? I didn't know that. Trollolol just playing bro.
Sent from my DROID3 using xda premium
Shouldn't it be spelled hidden? With two d's?
Sent from my DROID3 using XDA App
Izeltokatl said:
Shouldn't it be spelled hidden? With two d's?
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
Cause its not 'hidden' but 'hide android'
Sent from my DROID3 using XDA App

[Q] {V} Backup boot.img/recovery.img

OK guys needs some help/info.
Im kinda new to the Sony scene and im loving every bit of it so far.
I need to figure out how to extract my boot.img/recovery.img from device to computer using dd/adb/whatever command on my Xperia V.
The reason is im gonna try flashing a custom made CWM recovery using koush sources and before I do that I wanna make sure I have a backup of my old one. Any insight on this will be helpful.
While IM at this if I wanna backup lets say my whole phone system using dd or whatever, any help?
Utacka said:
OK guys needs some help/info.
Im kinda new to the Sony scene and im loving every bit of it so far.
I need to figure out how to extract my boot.img/recovery.img from device to computer using dd/adb/whatever command on my Xperia V.
The reason is im gonna try flashing a custom made CWM recovery using koush sources and before I do that I wanna make sure I have a backup of my old one. Any insight on this will be helpful.
While IM at this if I wanna backup lets say my whole phone system using dd or whatever, any help?
Click to expand...
Click to collapse
Any backup made in recovery is the whole phone system (except sd cards). When you restore it it restores everything. If yu use .tar format you can look in the backup and see your boot.img etc
gregbradley said:
Any backup made in recovery is the whole phone system (except sd cards). When you restore it it restores everything. If yu use .tar format you can look in the backup and see your boot.img etc
Click to expand...
Click to collapse
Your post did not help at all since I already know that and not what im asking.
Repeating: i wanna dump images using adb or similiar way using PC.
Probably my fault not being clear enough
Skickat från min LT25i via Tapatalk 2
Either your still not clear enough or you can't do simple tasks. Your wanting the backup files you created? Are you not able to to view your files on your PC when you hook it up with usb? The files are usually in a folder called recovery, or clockworkmod. You should be able to drag them to your PC as any other file. Then extract using winrar or gunzip. No need to use a adb.
- Xperia TL, XperimenT v1.5 ~ via XDA App
redincali said:
Either your still not clear enough or you can't do simple tasks. Your wanting the backup files you created? Are you not able to to view your files on your PC when you hook it up with usb? The files are usually in a folder called recovery, or clockworkmod. You should be able to drag them to your PC as any other file. Then extract using winrar or gunzip. No need to use a adb.
- Xperia TL, XperimenT v1.5 ~ via XDA App
Click to expand...
Click to collapse
Since I dont have cwm recovery installed that task is not possible. Anyway I figured it out myself using cross-reference to the T. Simple task you say? Might be but there is no cwm recovery for the V Stock out there from what I know. And if there is I was asking a question using dd and not cwm. What is not clear about that? You might not know what dd is then dont comment at all.
Skickat från min LT25i via Tapatalk 2
You figured it out, but you should give this thread some sense.
/dev/block/platform/msm_sdcc.1/by-name/* - all partitions can be easily dumped from here.
peetr_ said:
You figured it out, but you should give this thread some sense.
/dev/block/platform/msm_sdcc.1/by-name/* - all partitions can be easily dumped from here.
Click to expand...
Click to collapse
Holidays now and I will relax now
Skickat från min LT25i via Tapatalk 2

[Q] copy or moving of .APK files

Hello,
I want to ask, how can i copy the .APK files of different apps i installed, i seen a way to make aoma installer package for my favorite apps. when i change rom its easier to get my apps back on my OB. My problem is that i cant seem to copy the files from the phone to SD card.
i tried with root explorer and ES explorer also. what am i doing wrong ?? i feel stupid help :laugh::laugh::silly::silly:
Go in main root folder...enter data inside that enter app..u ll get the apk files of the app installed
Sent from my LG-P970 using xda app-developers app
SamBG said:
Go in main root folder...enter data inside that enter app..u ll get the apk files of the app installed
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
thanks for your reply
I went there, but it seems that in menu it wont give me a copy option, and even when i do get that option it says that i can't save it to SD card, what permissions do i need to set there, maybe this the problem? and is it permission per files of folder ?? how can i set the option to copy from root to SD ?
sorry for bunch of questions :laugh::fingers-crossed:
Just use the app Super Backup. Backup apps option will copy app apks to sd card.
cookiepuppy said:
thanks for your reply
I went there, but it seems that in menu it wont give me a copy option, and even when i do get that option it says that i can't save it to SD card, what permissions do i need to set there, maybe this the problem? and is it permission per files of folder ?? how can i set the option to copy from root to SD ?
sorry for bunch of questions :laugh::fingers-crossed:
Click to expand...
Click to collapse
U just need tohav proper root permission dats it..!!
Orelse use backup apps...many are available in playstore
Sent from my LG-P970 using xda app-developers app
ykumar00 said:
Just use the app Super Backup. Backup apps option will copy app apks to sd card.
Click to expand...
Click to collapse
SamBG said:
U just need tohav proper root permission dats it..!!
Orelse use backup apps...many are available in playstore
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
thanks for both of you guys, :good::good: i managed to use backup app, i still to check my es explorer permissions, i think it was root only with no read write stuff, i'll change it later on and try it.
right now i have those files backup so i want to try to create aroma package to install my apps on my next rom flash. i want to try the ParanoidAndroid ROM
Check that out here: http://forum.xda-developers.com/showthread.php?t=2085106
don't forget thanks button!!
Thanks for that link, i tried to use that app but for some reason it does not createnany zip file at all, i tried few times with the same resault.
I wonder if its bcoz im using win XP, i have all the updates needed but still no go.:-\
Replied using xda app-developers app
AW: [Q] copy or moving of .APK files
cookiepuppy said:
Thanks for that link, i tried to use that app but for some reason it does not createnany zip file at all, i tried few times with the same resault.
I wonder if its bcoz im using win XP
Click to expand...
Click to collapse
Used it in XP and no problems.
Sent from my LG-P970 using xda app-developers app
SaschaKH said:
Used it in XP and no problems.
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
maybe the exe file is located in the wrong place ? damn that wierd, i tried it few more times and nada.
im going back to that thread and read all 11 pages LOL i guess im doing something wrong or that i miss something.
cookiepuppy said:
maybe the exe file is located in the wrong place ?
[..]
i guess im doing something wrong or that i miss something.
Click to expand...
Click to collapse
I'm rather sure it was created in the same folder the aroma-app-package-creator.jnlp was in and it's a zip file, there is no exe.
Probably yes but there was not really a problem you just need all the apk files and it takes some time but the result is very good and usefull.
My mistake, i was talking about the .jnlp file.
Btw i put in this paclage creator only the apk files and did not add any app folder.
I'm gonna try it again later on today. The first few try out the program worked pretty fast but no zip to be seen LOL. Lets see what will happen later on.
Sent from my ****** LGOB
Works flawlessly for me
:victory::victory::victory: YES, FINALLY. i made it :laugh::laugh: i think i know what was the problem. i didnt give enough time to create the .ZIP file. if would have waited for 20 secs longer on each earlier attempt, i would have had those files already. LMAO, i'm such a noob dang so stupid of me. well no i know to double check myself. hehe.

NO CWM backups?

hey everyone well i was having some problem with my htc one root that it went away sometimes but after flashing 1.65 its fine but before that i had some backups of the cwm but i cant find them on my phone.In my s4 they are always on cwm folder and then backups but cant find on htc one.
Can someone please help me
thanks
Pretty sure they're in /data/media/clockworkmod/backup - they can't be seen by a PC so you have to use a file manager on the phone to move them to the PC-readable part of your memory
Thanks for the reply bro but i can find it.Nothing in that folder or anywhere else.Are my backups corrupt or something?
paras said:
Thanks for the reply bro but i can find it.Nothing in that folder or anywhere else.Are my backups corrupt or something?
Click to expand...
Click to collapse
Do you have root access for your file manager app? If not, you won't see the files
How do I give it root access and which file manager should I use
Sent from my HTC One using Tapatalk 4
Bro i see it now but dont know how to send them to pc please can u help me
paras said:
Bro i see it now but dont know how to send them to pc please can u help me
Click to expand...
Click to collapse
Either move them to /data/media/0/... using the root explorer on your phone, then you can see them with the PC,
or
use "adb pull" on your PC.
Tried to copy and it says operation failed.Should I move it or copy it?
Sent from my HTC One using Tapatalk 4
paras said:
Tried to copy and it says operation failed.Should I move it or copy it?
Sent from my HTC One using Tapatalk 4
Click to expand...
Click to collapse
Hi, can I suggest you create a symlink, that way both CWM recovery as well as your PC will see them; that's what I did and works fine
Follow this guide: http://forum.xda-developers.com/showthread.php?t=1991657

Twrp backup file location

Just did a twrp nandroid.
Twrp sees the file but I cannot for the life of me find the file in es file explorer.
Anyone know what I'm doing wrong?
Or the file location?
Sent from my XT1254 using XDA Free mobile app
Go to the twrp file manager, move the backup file to the root of your sdcard, reboot and it you will be able to see it in es and from your computer.
/sdcard/TWRP/backups
On a separate issue... On my device I can see my TWRP folder is there, but when I tap on it I get a message that the folder doesn't exist.
irish_711 said:
/sdcard/TWRP/backups
On a separate issue... On my device I can see my TWRP folder is there, but when I tap on it I get a message that the folder doesn't exist.
Click to expand...
Click to collapse
I noticed that as well.
Sent from my XT1254 using XDA Free mobile app
mrkhigh said:
Just did a twrp nandroid.
Twrp sees the file but I cannot for the life of me find the file in es file explorer.
Anyone know what I'm doing wrong?
Or the file location?
Sent from my XT1254 using XDA Free mobile app
Click to expand...
Click to collapse
Ever since JellyBean 4.2 with the advent of multi-user the backups go into the /data/media/0/TWRP/Backups by default.
GeoFX said:
Ever since JellyBean 4.2 with the advent of multi-user the backups go into the /data/media/0/TWRP/Backups by default.
Click to expand...
Click to collapse
Thanks. I was able to drop my ui.zip in there to re-theme TWRP.
If you are having trouble finding your nandroids remember to enable root explorer permissions in estrongs.
mrkhigh said:
Just did a twrp nandroid.
Twrp sees the file but I cannot for the life of me find the file in es file explorer.
Anyone know what I'm doing wrong?
Or the file location?
Sent from my XT1254 using XDA Free mobile app
Click to expand...
Click to collapse
Eaiest thing to do is to boot into TWRP and then plug your phone into your computer, then it will show up
Any one who has TWRP backup of xt1254 Motorola Quark ?
GeoFX said:
Ever since JellyBean 4.2 with the advent of multi-user the backups go into the /data/media/0/TWRP/Backups by default.
Click to expand...
Click to collapse
Hi, can you upload to any cloudstorage the STOCK original TWRP backup of xt1254 ?
I have many problems with my phone such as random rebooting ,problems with unlocking lockscreen, dialer truoblshots and others. I have flashed Official rom via fastboot, unlocked bootloader and installed many other roms ,also tried 4.4.4 and 5.1 but problems not solved. I think my be TWRP backup off clean official rom will solve my problem. THANKS
It's in data media 0 twrp that is zero
Sent from my XT1254 using XDA Free mobile app
GeoFX said:
Ever since JellyBean 4.2 with the advent of multi-user the backups go into the /data/media/0/TWRP/Backups by default.
Click to expand...
Click to collapse
Thank you for posting this, I was wondering where the TWRP backups were going.
I noticed this when I first unlocked my Turbo as well, however I no longer have this problem and I have no idea what I did to solve it.
However, I always make backups onto my USB OTG flashdrive, so it wouldn't be much of a problem (at least for me).

Categories

Resources