[-]
Who's Online
There are currently 3333 online users. [Complete List]
» 3 Member(s) | 3330 Guest(s)
AvatarAvatarAvatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 912
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 510
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 600
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10309
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 972
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 639
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14257
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4558
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34661
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 431
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2546
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22642
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6216
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9458
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1649
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5110
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1571
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 472
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8183
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 637
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5054
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12848
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5234





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 55,681 2020-05-22, 17:02
Last Post: candycamera2001
  MICROMAX Q372 PHONE DEAD pj7 0 1,655 2018-07-23, 14:52
Last Post: pj7
  Help Fix Sony Xperia C c2305 MT6589 Dead boot madboy46 14 29,592 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,088 2017-05-23, 18:44
Last Post: catalin
  dead phablet doogee f5 Micar 0 1,520 2016-09-30, 06:47
Last Post: Micar

Forum Jump:


Users browsing this thread:
[-]
Tech & Science
[Sci-Am] Mathematicians Discover a New Kind of Shape That’s ...
Last Post: Scientific American
Today 06:17
» Replies: 0
» Views: 35
[Sci-Am] Curiosity, Horses and Hypochondria
Last Post: Scientific American
Yesterday 16:52
» Replies: 0
» Views: 63
[Harvard] Amid Hurricane Milton’s devastation, a sliver of g...
Last Post: Harvard
Yesterday 16:52
» Replies: 0
» Views: 16
[Sci-Am] Contributors to Scientific American’s December 2024...
Last Post: Scientific American
Yesterday 03:17
» Replies: 0
» Views: 33
[Sci-Am] Exotic Powder Pulls Carbon Dioxide from the Air at ...
Last Post: Scientific American
2024-11-26 13:56
» Replies: 0
» Views: 35
[Sci-Am] Enjoy Holiday Food without the Anxiety
Last Post: Scientific American
2024-11-25 11:05
» Replies: 0
» Views: 85
[Sci-Am] Climate Change Is Altering Animals’ Colors
Last Post: Scientific American
2024-11-24 21:08
» Replies: 0
» Views: 29
[Sci-Am] Drought across the U.S., H5N1 in Canada and Uranus ...
Last Post: Scientific American
2024-11-24 07:31
» Replies: 0
» Views: 41
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
2024-11-23 17:36
» Replies: 0
» Views: 40
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
2024-11-23 03:45
» Replies: 0
» Views: 59
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 133
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 54
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 37
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 44
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 37
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 21
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 85
[Sci-Am] Voting Has Never Been More Secure Than It Is Right ...
Last Post: Scientific American
2024-11-17 10:52
» Replies: 0
» Views: 45
[Sci-Am] The Virus That Causes Mpox Keeps Getting Better at ...
Last Post: Scientific American
2024-11-16 20:14
» Replies: 0
» Views: 61
[Sci-Am] How to Calm Your Election Anxiety—Even after Polls ...
Last Post: Scientific American
2024-11-16 06:43
» Replies: 0
» Views: 111
[Harvard] When we say ‘smart,’ what do we mean?
Last Post: Harvard
2024-11-15 03:38
» Replies: 0
» Views: 137
[Sci-Am] Why Election Polling Has Become Less Reliable
Last Post: Scientific American
2024-11-14 14:18
» Replies: 0
» Views: 49
[Harvard] Big discovery about microscopic ‘water bears’
Last Post: Harvard
2024-11-14 14:18
» Replies: 0
» Views: 32
[Sci-Am] The Universe in 100 Colors Provides a Stunning Tour...
Last Post: Scientific American
2024-11-14 00:31
» Replies: 0
» Views: 71
[Sci-Am] One in Three Tree Species Is at Risk of Extinction
Last Post: Scientific American
2024-11-13 11:08
» Replies: 0
» Views: 59
[Sci-Am] A Bird Flu Vaccine Might Come Too Late to Save Us f...
Last Post: Scientific American
2024-11-12 20:46
» Replies: 0
» Views: 118
[Sci-Am] Why Are Close Elections So Common?
Last Post: Scientific American
2024-11-12 07:16
» Replies: 0
» Views: 99
[Sci-Am] More Men Are Getting Vasectomies Since Roe Was Over...
Last Post: Scientific American
2024-11-11 17:54
» Replies: 0
» Views: 76
[Sci-Am] Exploring the Science of Spookiness at the Recreati...
Last Post: Scientific American
2024-11-10 14:38
» Replies: 0
» Views: 131
[Sci-Am] Underwater Temple from ‘Indiana Jones Civilization’...
Last Post: Scientific American
2024-11-10 01:00
» Replies: 0
» Views: 161
[Sci-Am] Math and Puzzle Fans Find Magic in Martin Gardner’s...
Last Post: Scientific American
2024-11-09 11:01
» Replies: 0
» Views: 81
[Sci-Am] How Harris’s Medicare Plan Could Make At-Home Care ...
Last Post: Scientific American
2024-11-08 21:03
» Replies: 0
» Views: 77
[Sci-Am] Wildfires Are Moving Faster and Causing More Damage
Last Post: Scientific American
2024-11-08 07:40
» Replies: 0
» Views: 75
[Sci-Am] Climate Goal “Will Be Dead Within a Few Years” Unle...
Last Post: Scientific American
2024-11-07 04:40
» Replies: 0
» Views: 133
[Sci-Am] This Is Your Robot Brain on Mushrooms
Last Post: Scientific American
2024-11-06 15:00
» Replies: 0
» Views: 111
[Sci-Am] The Unsettled Science behind Weight-Loss Drugs for ...
Last Post: Scientific American
2024-11-06 01:19
» Replies: 0
» Views: 103
[Sci-Am] Treat or Trick? Astronomical Objects Are Beautiful—...
Last Post: Scientific American
2024-11-05 11:42
» Replies: 0
» Views: 83