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

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 572
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 222
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 199
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 9813
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 163
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 256
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13714
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4260
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 33798
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 171
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2158
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22319
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5516
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8894
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1421
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4838
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1338
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 217
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5783
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 403
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4609
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12420
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5047





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,965 2020-05-22, 17:02
Last Post: candycamera2001
  MICROMAX Q372 PHONE DEAD pj7 0 1,638 2018-07-23, 14:52
Last Post: pj7
  Help Fix Sony Xperia C c2305 MT6589 Dead boot madboy46 14 29,455 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,505 2016-09-30, 06:47
Last Post: Micar

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] What’s Turning Cape Cod’s Water ‘Pea-Soup Green’?
Last Post: Scientific American
Today 16:37
» Replies: 0
» Views: 3
[Sci-Am] Egypt’s Famed Pyramids Overlooked a Long-Lost Branc...
Last Post: Scientific American
Today 02:00
» Replies: 0
» Views: 22
[Sci-Am] Device Decodes ‘Internal Speech’ in the Brain
Last Post: Scientific American
Yesterday 12:05
» Replies: 0
» Views: 29
[Sci-Am] Do We Have Enough Bird Flu Vaccines for a Potential...
Last Post: Scientific American
2024-05-25 22:44
» Replies: 0
» Views: 13
[Sci-Am] A Cubic Millimeter of a Human Brain Has Been Mapped...
Last Post: Scientific American
2024-05-24 19:28
» Replies: 0
» Views: 12
[Sci-Am] Don Pettit, NASA’s Oldest Active Astronaut, Is Goin...
Last Post: Scientific American
2024-05-24 05:41
» Replies: 0
» Views: 36
[Sci-Am] How to Disprove a Conspiracy Theory in 7 Steps
Last Post: Scientific American
2024-05-23 16:00
» Replies: 0
» Views: 72
[Sci-Am] Superheavy Elements Are Breaking the Periodic Table
Last Post: Scientific American
2024-05-23 02:38
» Replies: 0
» Views: 54
[Sci-Am] Revolutionary Genetics Research Shows RNA May Rule ...
Last Post: Scientific American
2024-05-22 13:11
» Replies: 0
» Views: 51
[Sci-Am] Why Insects Are Lured to Lights in the Night
Last Post: Scientific American
2024-05-21 21:08
» Replies: 0
» Views: 59
[Sci-Am] Contributors to Scientific American’s June 2024 Iss...
Last Post: Scientific American
2024-05-21 07:44
» Replies: 0
» Views: 37
[Sci-Am] Humans Are Driving a New Kind of Evolution in Anima...
Last Post: Scientific American
2024-05-20 18:17
» Replies: 0
» Views: 39
[Sci-Am] Poem: ‘Chrysalis’
Last Post: Scientific American
2024-05-20 04:55
» Replies: 0
» Views: 55
[Sci-Am] Stolen Bacterial Genes Helped Whiteflies to Become ...
Last Post: Scientific American
2024-05-19 00:39
» Replies: 0
» Views: 45
[Sci-Am] Book Review: Rats, Gardens, and Stories from a "Pos...
Last Post: Scientific American
2024-05-18 11:02
» Replies: 0
» Views: 53
[Sci-Am] Record-Breaking Ocean Heat Wave Foreshadows a Dange...
Last Post: Scientific American
2024-05-17 07:00
» Replies: 0
» Views: 55
[Harvard] Early warning sign of extinction?
Last Post: Harvard
2024-05-17 07:00
» Replies: 0
» Views: 70
[Sci-Am] AI Therapy Bots Have Risks and Benefits and More Ri...
Last Post: Scientific American
2024-05-16 17:39
» Replies: 0
» Views: 45
[Sci-Am] How Do People Get Parasitic Brain Worms like the On...
Last Post: Scientific American
2024-05-16 04:12
» Replies: 0
» Views: 40
[Harvard] So much for summers of love
Last Post: Harvard
2024-05-16 04:12
» Replies: 0
» Views: 48
[Sci-Am] How Bird Flu Caught the Dairy Industry Off Guard
Last Post: Scientific American
2024-05-15 14:42
» Replies: 0
» Views: 36
[Harvard] Are you a human? Select all that apply.
Last Post: Harvard
2024-05-15 14:42
» Replies: 0
» Views: 39
[Sci-Am] XPRIZE’s $100-Million Carbon-Removal Contest Select...
Last Post: Scientific American
2024-05-15 01:18
» Replies: 0
» Views: 34
[Sci-Am] Where Does the Solar System End?
Last Post: Scientific American
2024-05-14 11:40
» Replies: 0
» Views: 45
[Sci-Am] The Science of ‘3 Body Problem’: What’s Fact and Wh...
Last Post: Scientific American
2024-05-13 21:59
» Replies: 0
» Views: 87
[Sci-Am] The Famine Developing in Gaza Follows a Clear Patte...
Last Post: Scientific American
2024-05-13 08:23
» Replies: 0
» Views: 41
[Sci-Am] Is Sleeping on the Floor Good for Your Back?
Last Post: Scientific American
2024-05-12 17:41
» Replies: 0
» Views: 57
[Sci-Am] Here's What Universities Always Get Wrong about Stu...
Last Post: Scientific American
2024-05-12 03:26
» Replies: 0
» Views: 72
[Sci-Am] AI Is Helping Referee Games in Major Sports Leagues...
Last Post: Scientific American
2024-05-11 14:04
» Replies: 0
» Views: 86
[Sci-Am] Exercise Helps Your Brain as Much as Your Body
Last Post: Scientific American
2024-05-10 09:30
» Replies: 0
» Views: 77
[Harvard] Amazon butterfly evolved from hybrids
Last Post: Harvard
2024-05-10 09:30
» Replies: 0
» Views: 70
[Sci-Am] Nearsightedness Rates Are Soaring. Here’s Why
Last Post: Scientific American
2024-05-09 20:01
» Replies: 0
» Views: 53
[Harvard] Is AI friend or foe? Wrong question.
Last Post: Harvard
2024-05-09 20:01
» Replies: 0
» Views: 36
[Sci-Am] Do Insects Have an Inner Life? Animal Consciousness...
Last Post: dejanx
2024-05-09 19:24
» Replies: 1
» Views: 56
[Harvard] Climate alignment is no easy task
Last Post: Harvard
2024-05-09 06:10
» Replies: 0
» Views: 40
[Sci-Am] Energy Independence Is a Big Election Talking Point...
Last Post: Scientific American
2024-05-08 16:42
» Replies: 0
» Views: 62
[Sci-Am] Rat Neurons Repair Mouse Brains That Lack a Sense o...
Last Post: Scientific American
2024-05-08 02:49
» Replies: 0
» Views: 64