[-]
Who's Online
There are currently no members online.

[-]
Latest Threads
[Movie] Deadpool, go...see...it...now
Last Post: Golt
Today 08:21
» Replies: 4
» Views: 4748
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: dejanx
2024-05-04 16:44
» Replies: 1
» Views: 198
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 171
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 130
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 9768
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 108
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13661
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4247
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 33718
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 131
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2105
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22293
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5354
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8861
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1401
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4819
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1318
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 198
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5501
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 359
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4536
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12402
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5034





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DEAD PROJECT] beta project closed
#1
Hi

this takes over any discussion started in a nvram Linux script from here
[Only registered and activated users can see links Click here to register]

Firstly I have a failed test of this script.
so let me explain.

The beta script, based on the nvram script attempts to either extract your current recovery.img from your Android device or (NOT TESTED) installs a recovery image.

Trying to be smart, I already know I can use mobileuncle on my mediatek device without any Windows stuff....to install either CWM or my precious TWRP

I just ran the script in extract mode, and ran a md5sum against the resultant image and compared it to my original PC file version.

Its NOT a match.

This means this project is on the back burner until I work how where I went wrong.

Here is the mis-match
Code:
md5sum /a/1build/1ANDROID/1ROMS-STUFF/twrp-recovery/recovery.img
560a3936b1f7ca3673feb14cd3b11e15  /a/1build/1ANDROID/1ROMS-STUFF/twrp-recovery/recovery.img

md5sum /a/1build/1recovery/recovery.img
9c1e240b8af103a2ad9fbb836be4019a  /a/1build/1recovery/recovery.img

#### CHECK SIZE
-rw-r--r--  1 gordon gordon 6285312 Jun 20  2013 recovery.img
-rw-r--r--  1 gordon gordon 6291456 May  9 17:01 recovery.img

they are both 6 Megs and running strings against both show strings value are the same at top and the end.

EDIT.....script removed as it was wrong

cheers


If anyone can spot my error let me know, its a doozy to add you to credits

ok so I ran strings against both recovery images but called one file a and the b
then I ran a graphical diff program against both

verdict.....press N to go to next change claims there is none. hmmmm

[Image: 2z554eb.jpg]

I might take a risk later. but will retest after injecting CWM onto phone.

##############
EDIT
used mobileuncle to flash CWM onto phone

extracted image = recovery.img while original I call cwm.img gives

Code:
gordon@box:~/Downloads$ md5sum *
09ace826ad1f8934d4fa0a3785a18562  cwm.img
2602a502d6209cffd29b0426d27969b6  recovery.img
gordon@box:~/Downloads$ ls -al
total 11916
drwxr-xr-x  2 gordon gordon    4096 May  9 20:58 .
drwx------ 25 gordon gordon    4096 May  9 20:26 ..
-rw-r--r--  1 gordon gordon 5900288 Apr 11 07:32 cwm.img
-rw-r--r--  1 gordon gordon 6291456 May  9 20:56 recovery.img

recovery is bigger .....not tested strings as its getting late....but I seem to have a value or error on input issue

###############

AAAAH I just noticed something

something is good

Each extracted image is the same size as the other extracted image.......I tested CWM would boot up and it does
maybe I have it correct all along?

Maybe this shows my lack of Android skills?

Each image has to fit into those hex values as defined, so some recovery images are smaller but still work.

If I am right, when I try to flash TWRP back onto my phone tomorrow, using the script .....I won't brick

legs and arms crossed of course.
Reply
#2
This project is now dead. I have made a nice mistake and got a wonderful boot loop no matter whether I try factory/meta/recovery/normal
Reply
#3
This project restarts as my new phone has 2 recovery images so I will able to tell if I can install one over the other.

I will attempt this over the weekend.

first post script link removed I will use a non-interactive script to keep movie short, if I don't brick it

EDIT
I have split off all my root testing stuff into a separate script or tutorial here
[Only registered and activated users can see links Click here to register]
Reply
#4
(2014-05-10, 09:36)aus9 Wrote: [Only registered and activated users can see links Click here to register]

2 recovery? your phone has two different recoveries, post dumchar_info
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
#5
vampirefo
my bad communication skill

what I meant was needrom now has 2 available recovery ROMs for me to play with. I am aware we can only have only one flashed.

b) I have successfully flashed both onto my phone at various times using mobileuncle.

c) I may have done more bad things to that phone so appreciate your help but I may have bricked it more.

also.....but mildly related.....I have added a photo test for true root. My new device had a faulty su APK which meant IMHO that prompt was not changing to root@phonename prompt

I did not keep any notes on whether I had the same scenario for the bricked phone.

I am not asking for help to unbrick it........BTW....I accept my punishment for being a naughty boy on a learning curve for Android........grins sheepishly

cheers
Reply
#6
Modest update to myself mainly

Instead of tidying up this post and putting out a tutorial, I have just tested a hard drive install of a tiny Linux distro which uses udev (rough Windows translation= USB drivers for most Android devices are good).
edit
nope taking too much time have stopped this project
Reply
#7
due to some recent posts by Window users, I have restarted a look at using Linux but not here
but constructing a tutorial using an existing live cd.

Takes longer to get the packages but at least I don't have to maintain them
---upload the source
---comply with licenses etc

Tutorial will evolve but in my puny mind.....it may help some with clone Andoid devices
or struggle with Flashtool instructions

Notes to myself mainly
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [How-To] Easily Unbrick Mediatek MT65xx Dead device alforati 12 54,909 2020-05-22, 17:02
Last Post: candycamera2001
  MICROMAX Q372 PHONE DEAD pj7 0 1,637 2018-07-23, 14:52
Last Post: pj7
  Help Fix Sony Xperia C c2305 MT6589 Dead boot madboy46 14 29,448 2018-01-26, 23:38
Last Post: fawzy ads
  [ROM] Mediatek MT8176 , Mi Pad 3 Dead , no recovery ,no os,no debug catalin 0 2,072 2017-05-23, 18:44
Last Post: catalin
  dead phablet doogee f5 Micar 0 1,503 2016-09-30, 06:47
Last Post: Micar

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Corals Are Once Again Bleaching En Masse, but Their...
Last Post: Scientific American
Today 13:08
» Replies: 0
» Views: 7
[Sci-Am] People Keep Secrets Because They Overestimate Harsh...
Last Post: Scientific American
Yesterday 23:09
» Replies: 0
» Views: 27
[Sci-Am] How Unhealthy Are Ultra-Processed Foods?
Last Post: Scientific American
Yesterday 09:28
» Replies: 0
» Views: 39
[Sci-Am] Cicadas Are Basically Safe for You—And Your Dog—to ...
Last Post: Scientific American
2024-05-05 20:00
» Replies: 0
» Views: 30
[Sci-Am] The Threat of a Solar Superstorm Is Growing—And We’...
Last Post: Scientific American
2024-05-05 06:40
» Replies: 0
» Views: 18
[Sci-Am] New Pollution Regulations Could Largely Eliminate C...
Last Post: Scientific American
2024-05-04 16:11
» Replies: 0
» Views: 8
[Sci-Am] Extrovert or Introvert: Most People Are Actually Am...
Last Post: Scientific American
2024-05-04 02:50
» Replies: 0
» Views: 9
[Sci-Am] Lemon-Scented Marijuana Compound Reduces Weed’s ‘Pa...
Last Post: Scientific American
2024-05-03 13:20
» Replies: 0
» Views: 15
[Sci-Am] New Interactive Map Shows Where Extreme Heat Threat...
Last Post: macikus
2024-05-03 01:38
» Replies: 1
» Views: 46
[Sci-Am] How Ugandan Tobacco Farmers Inadvertently Spread Ba...
Last Post: Scientific American
2024-05-02 09:12
» Replies: 0
» Views: 25
[Sci-Am] Will the Amazon Rain Forest Help Save the Planet?
Last Post: Scientific American
2024-05-01 19:43
» Replies: 0
» Views: 28
[Sci-Am] The U.S. Spends a Fortune on Beach Sand That Storms...
Last Post: Scientific American
2024-05-01 06:15
» Replies: 0
» Views: 28
[Sci-Am] Could JWST Solve One of Cosmology's Greatest Myster...
Last Post: Scientific American
2024-04-30 03:14
» Replies: 0
» Views: 49
[Sci-Am] How to See the Lunar Far Side Right Here on Earth
Last Post: Scientific American
2024-04-29 13:40
» Replies: 0
» Views: 50
[Sci-Am] How Big a Threat Is Bird Flu?
Last Post: Scientific American
2024-04-29 00:05
» Replies: 0
» Views: 40
[Sci-Am] The Amazon's Record-Breaking Drought Is about More ...
Last Post: Tauma
2024-04-28 22:35
» Replies: 1
» Views: 45
[Sci-Am] FDA Recalls Heart Pumps Linked to Deaths and Injuri...
Last Post: Scientific American
2024-04-28 09:53
» Replies: 0
» Views: 19
[Sci-Am] Deadly African Heat Wave Would Not Have Been Possib...
Last Post: Scientific American
2024-04-27 20:10
» Replies: 0
» Views: 24
[Harvard] Getting ahead of dyslexia
Last Post: Harvard
2024-04-27 06:36
» Replies: 0
» Views: 33
[Sci-Am] Hollywood Should Give Brain Science a Star Turn
Last Post: Scientific American
2024-04-26 17:14
» Replies: 0
» Views: 42
[Sci-Am] Milky Way's 'Sleeping Giant' Black Hole Lurks Shock...
Last Post: Scientific American
2024-04-26 03:48
» Replies: 0
» Views: 54
[Harvard] Why AI fairness conversations must include disable...
Last Post: Harvard
2024-04-25 13:58
» Replies: 0
» Views: 62
[Sci-Am] How a New AI Model Helps Volcanic History Rise from...
Last Post: Scientific American
2024-04-24 23:17
» Replies: 0
» Views: 65
[Sci-Am] Everyone Will Have Fewer Relatives in the Future
Last Post: Scientific American
2024-04-24 09:25
» Replies: 0
» Views: 46
[Sci-Am] The Dark Side of Nostalgia for Wild, Untouched Plac...
Last Post: Scientific American
2024-04-23 19:59
» Replies: 0
» Views: 37
[Harvard] How did you get that frog to float?
Last Post: Harvard
2024-04-23 19:59
» Replies: 0
» Views: 52
[Sci-Am] In Matters of Scientific Debate, Follow the Houdini...
Last Post: Scientific American
2024-04-23 06:34
» Replies: 0
» Views: 35
[Harvard] Lifting a few with my chatbot
Last Post: Harvard
2024-04-23 06:34
» Replies: 0
» Views: 39
[Sci-Am] This Tiny Fish Makes an Ear-Blasting Screech for Lo...
Last Post: Scientific American
2024-04-22 17:01
» Replies: 0
» Views: 36
[Sci-Am] How Plant Intelligence Can Soothe Climate Anxiety
Last Post: Scientific American
2024-04-22 02:57
» Replies: 0
» Views: 50
[Sci-Am] Contributors to Scientific American’s May 2024 Issu...
Last Post: Scientific American
2024-04-21 13:36
» Replies: 0
» Views: 41
[Sci-Am] A ‘Computer’ Built from DNA Can Find Patterns in Ph...
Last Post: Scientific American
2024-04-20 23:27
» Replies: 0
» Views: 70
[Sci-Am] Unraveling the Secrets of This Weird Beetle’s 48-Ho...
Last Post: Scientific American
2024-04-20 09:17
» Replies: 0
» Views: 52
[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: 98
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
2024-04-18 03:05
» Replies: 0
» Views: 96
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 61
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 63