[-]
Who's Online
There are currently 3331 online users. [Complete List]
» 4 Member(s) | 3327 Guest(s)
AvatarAvatarAvatarAvatar

[-]
Latest Threads
Unsurpassed Сasual Dating - True Females
Last Post: arnegson
2024-04-28 17:51
» Replies: 0
» Views: 86
Top-notch Сasual Dating - Verified Femal...
Last Post: dejanx
2024-04-28 15:08
» Replies: 0
» Views: 81
Unsurpassed Сasual Dating - Verified Lad...
Last Post: afifkhoury2005
2024-04-27 12:57
» Replies: 0
» Views: 80
Supreme Сasual Dating - True Females
Last Post: Golt
2024-04-26 17:03
» Replies: 0
» Views: 109
Top-notch Сasual Dating - Real-life Girl...
Last Post: mikrom79
2024-04-26 07:48
» Replies: 0
» Views: 94
Superlative Сasual Dating - Actual Girls
Last Post: rcancino
2024-04-25 09:33
» Replies: 0
» Views: 91
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 146
Prime Сasual Dating - Legitimate Girls
Last Post: lukasz1
2024-04-23 10:26
» Replies: 0
» Views: 113
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 92
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9753
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 76
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 159
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13628
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4243
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33665
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 104
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2090
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22289
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15427
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5319
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8840
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1396
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4815





Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Linux Backup NVRAM Script.
#11
(2014-04-28, 11:23)aus9 Wrote: [Only registered and activated users can see links Click here to register]

it suggests you need a backup of both
/dev/nvram
/data/nvram

your thoughts Sir?

2) Fair enough I will contine with my script for my own evil purposes then......grins

My script already does that, it backs up both.
If you use my scripts or work in your own scripts, your scripts or license should reflect that.

ZTE Open C
Reply
#12
vampirefo and good looking moderators

It is rude to reveal pms so I won't. I have waited a number of days before trying this method.

I was a naughty boy and failed to show code contribution to vampirefo. Luckily that post was deleted.

I was hoping I might be forgiven. Unfortunately the way I attempted to do it may have been the wrong way.

If moderators agree with my reasoning here is my suggestion.

I have ruined the look of vampirefo's tutorial. It can be undone, me thinks by only a moderator who deletes all my posts (except this one maybe) and vampirefo's replies.

I hope that vampirefo agrees with my intention, if not with my method of delivery.

cheers
You like this post
Reply
#13
I've restored your posts. What really ruins the tutorial is you editing out your posts, which leaves Vampirefo replying to a ghost.

The issue had nothing to do with your posts here. As you see Vampirefo even clicked like on your replies.

I'm guessing you modded your scripts to contain the correct licensing attribution. That's it. Please leave your posts alone and move on from this issue and enjoy the forum.
You like this post
Reply
#14
Hi Sniper47

maybe I am missing the point?

The point is from my point of view, there is one page of my waffle which I believe the OP does not want on his page detracting from his tutorial. I repeat I can not reveal what he said to me in his pm. If OP has no problems, I have no objection to him posting what he said to me via pm.

If you delete my posts and OP replies there won't be issue. Sorry if I am flogging a dead horse. My last post should remain as punishment for me being naughty.

Quote:I'm guessing you modded your scripts to contain the correct licensing attribution.
You bet I have, but I have only tested the script for backup. Script has changed to use the case command style which I won't post here but I will start a new thread when testing is complete.

this now requires script to run as
Code:
./v.sh backup (or restore)

Ideally I like a clean world. OP has made an excellent tut that I polluted. I am trying to clean it up but lack the power to do so.......

gordon
You like this post
Reply
#15
The purpose of the forum is to ask questions and help others. Your posts in this thread are fine and even have likes from the OP and he's included your posts in his quotes.

The issue at hand is there's nothing you've done or said in previous posts that is out of line other than possibly not putting correct attribution, which you've already taken care of.

There's no need to post what he said to you in PM. If Vampirefo still has a problem with you, that's his problem. I suggest you both squash it and move on. Or continue to rant in PM at each other.

That's it. No more regarding this tiff, because now it IS polluting the thread. Just move on and enjoy the forum. Cheers.
Reply
#16
Hi

Its me again looking at your page 1 tutorial I notice in the code box you have
Code:
adb pull /sdcard/nvram.bin

rm -r /sdcard/nvram.bin

Maybe that last line needs adb prefix?
Code:
adb shell su -c "rm /sdcard/nvram.bin  "

2) If it helps in discussing your hex to dec online stuff, I found once you have the dec conversion you can do this in the google search box at google.com

For example
Quote:5242880/4096
and press enter to see that google search box will do the calc for you.

3) I notice that you are very helpful to Windows users.
AFAIK the dd command may be only available to 32 bit MS users?
[Only registered and activated users can see links Click here to register]

Do you know if dd commands work on MS 64 bit?

cheers

EDIT (4)

I also found someone who dropped the bs=size to 1, which meant they don't need to divide by 4096
In other words once you have the hex to dec conversion thats it.

translates your dd command to hopefully
Code:
adb shell su -c "dd if=/dev/block/mmcblk0 of=/sdcard/nvram.bin bs=1 count=5242880 skip=4194304  "

Also I like the fact that for the small numbers the first number should match from hex to dec as per table

Quote:0x0000000000100000.........1048576
0x0000000000200000.........2097152
0x0000000000300000.........3145728
0x0000000000400000.........4194304
0x0000000000500000.........5242880
0x0000000000600000.........6291456
0x0000000000700000.........7340032
0x0000000000800000.........8388608
0x0000000000900000.........9437184
0x0000000000A00000........10485760

then I just noticed, hopefully you get a similar result altho it takes longer you get to see a match in count to record numbers?

I am writing to /data as its already rw for me and have no /sdcard/ folder possibly because I set my removeable storage to default storage.

Code:
adb shell su -c "dd if=/dev/block/mmcblk0 of=/data/nvram.bin bs=1 count=5242880 skip=8388608  "
5242880+0 records in
5242880+0 records out
5242880 bytes transferred in 94.618 secs (55411 bytes/sec)
You like this post
Reply
#17
vampirefo

OK I am a little more adept with Android and noticed on my phone I have

/dev/nvram
/dev/recovery etc

Why not keep it simple and use a dd command to back up like

Code:
adb shell su -c "dd if=/dev/nvram of=/data/nvram.bin bs=1"
adb pull /data/nvram.bin

2) I add that I know that not all devices use /dev/block/mmcblk0 but all should have /dev/nvram

cheers
Reply
#18
(2014-05-23, 12:04)aus9 Wrote: vampirefo

OK I am a little more adept with Android and noticed on my phone I have

/dev/nvram
/dev/recovery etc

Why not keep it simple and use a dd command to back up like

Code:
adb shell su -c "dd if=/dev/nvram of=/data/nvram.bin bs=1"
adb pull /data/nvram.bin

2) I add that I know that not all devices use /dev/block/mmcblk0 but all should have /dev/nvram

cheers

This could be, I don't know, I have only used two MTK devices, so can't say all use this or that, your code looks completely wrong to me, have you tested it?
If you use my scripts or work in your own scripts, your scripts or license should reflect that.

ZTE Open C
Reply
#19
Hi

Quote:This could be, I don't know

What is the context here pls? Do you mean that all phones you have---
do not have /dev/nvram or /dev/recovery?
EDIT
2) No I have not tested. I bricked my first phone....I will call it user idiot error

Off topic, on my new device I have a number of things that are sequential in block order but my recovery image is smaller than the next block address......so I am actually going to tidy up the root tests post then have a go at bricking my new phone by doing a dd command for /dev/recovery

Of course I prefer not to brick.

cheers
You like this post
Reply
#20
I only have seen two mtk phones, those two phones both use /dev/block/mmcblk0 for recovery and nvram so no need to probe /dev.

How did you brick your phone? Doesn't seem possible to brick a phone flashing nvram, worse case loose service but not brick phone.

Recovery flashing is dangerous, should only be done via flash_image or cwm recovery, I wouldn't recommend flashing recovery directly via adb a simple mistake could lead to phone caught in endless loop, that would require bootloader flashing to bypass.
aus9 likes this post
If you use my scripts or work in your own scripts, your scripts or license should reflect that.

ZTE Open C
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Another IMEI Restore and Backup Method tiefighter_85 6 10,844 2022-08-04, 19:10
Last Post: annabriett
  [Tutorial] How to backup MT6752 MT6732 MT6753 MT67xx (and others) SP Flash Tool compatible alexzap 15 65,223 2021-09-09, 22:51
Last Post: soldiaz
  [Tutorial] HOW TO PORT TWRP MT6735, MT6752, MT6753, MT6795, MT6797 TWRP MT67xx tutorial Cleopatra 485 298,832 2021-03-02, 20:32
Last Post: itanasa
  [Tutorial] BACKUP, CUSTOM RECOVERY AND ROOT FOR MT67xx SMARTPHONES djtetei 14 24,171 2020-04-11, 21:53
Last Post: romaneart
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,109 2019-03-18, 08:11
Last Post: abrahim

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] How to See the Lunar Far Side Right Here on Earth
Last Post: Scientific American
Yesterday 13:40
» Replies: 0
» Views: 12
[Sci-Am] How Big a Threat Is Bird Flu?
Last Post: Scientific American
Yesterday 00:05
» Replies: 0
» Views: 26
[Sci-Am] The Amazon's Record-Breaking Drought Is about More ...
Last Post: Tauma
2024-04-28 22:35
» Replies: 1
» Views: 34
[Sci-Am] FDA Recalls Heart Pumps Linked to Deaths and Injuri...
Last Post: Scientific American
2024-04-28 09:53
» Replies: 0
» Views: 14
[Sci-Am] Deadly African Heat Wave Would Not Have Been Possib...
Last Post: Scientific American
2024-04-27 20:10
» Replies: 0
» Views: 12
[Harvard] Getting ahead of dyslexia
Last Post: Harvard
2024-04-27 06:36
» Replies: 0
» Views: 14
[Sci-Am] Hollywood Should Give Brain Science a Star Turn
Last Post: Scientific American
2024-04-26 17:14
» Replies: 0
» Views: 32
[Sci-Am] Milky Way's 'Sleeping Giant' Black Hole Lurks Shock...
Last Post: Scientific American
2024-04-26 03:48
» Replies: 0
» Views: 48
[Harvard] Why AI fairness conversations must include disable...
Last Post: Harvard
2024-04-25 13:58
» Replies: 0
» Views: 52
[Sci-Am] How a New AI Model Helps Volcanic History Rise from...
Last Post: Scientific American
2024-04-24 23:17
» Replies: 0
» Views: 49
[Sci-Am] Everyone Will Have Fewer Relatives in the Future
Last Post: Scientific American
2024-04-24 09:25
» Replies: 0
» Views: 38
[Sci-Am] The Dark Side of Nostalgia for Wild, Untouched Plac...
Last Post: Scientific American
2024-04-23 19:59
» Replies: 0
» Views: 31
[Harvard] How did you get that frog to float?
Last Post: Harvard
2024-04-23 19:59
» Replies: 0
» Views: 47
[Sci-Am] In Matters of Scientific Debate, Follow the Houdini...
Last Post: Scientific American
2024-04-23 06:34
» Replies: 0
» Views: 29
[Harvard] Lifting a few with my chatbot
Last Post: Harvard
2024-04-23 06:34
» Replies: 0
» Views: 36
[Sci-Am] This Tiny Fish Makes an Ear-Blasting Screech for Lo...
Last Post: Scientific American
2024-04-22 17:01
» Replies: 0
» Views: 33
[Sci-Am] How Plant Intelligence Can Soothe Climate Anxiety
Last Post: Scientific American
2024-04-22 02:57
» Replies: 0
» Views: 45
[Sci-Am] Contributors to Scientific American’s May 2024 Issu...
Last Post: Scientific American
2024-04-21 13:36
» Replies: 0
» Views: 36
[Sci-Am] A ‘Computer’ Built from DNA Can Find Patterns in Ph...
Last Post: Scientific American
2024-04-20 23:27
» Replies: 0
» Views: 58
[Sci-Am] Unraveling the Secrets of This Weird Beetle’s 48-Ho...
Last Post: Scientific American
2024-04-20 09:17
» Replies: 0
» Views: 46
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
2024-04-18 16:45
» Replies: 0
» Views: 95
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
2024-04-18 03:05
» Replies: 0
» Views: 93
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 56
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 57
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 70
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 81
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 79
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 68
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 58
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 66
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 68
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 95
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 90
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 54
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 52
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 73
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 88