[-]
Who's Online
There are currently 828 online users. [Complete List]
» 1 Member(s) | 827 Guest(s)
Avatar

[-]
Latest Threads
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9725
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 36
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 123
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13589
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4227
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33625
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 88
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2072
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22274
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15399
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5287
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8804
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1384
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4796
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1308
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 183
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5146
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 323
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4478
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12385
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5027
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4098
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8784





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,826 2020-05-22, 17:02
Last Post: candycamera2001
  MICROMAX Q372 PHONE DEAD pj7 0 1,635 2018-07-23, 14:52
Last Post: pj7
  Help Fix Sony Xperia C c2305 MT6589 Dead boot madboy46 14 29,439 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,071 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] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
Yesterday 16:45
» Replies: 0
» Views: 25
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
Yesterday 03:05
» Replies: 0
» Views: 40
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 32
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 35
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 50
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 65
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 64
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 54
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 44
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 54
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 55
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 75
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 76
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 42
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 41
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 57
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 72
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 51
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 56
[Sci-Am] Baltimore Bridge Collapse Will Teach Engineers to B...
Last Post: Scientific American
2024-04-07 07:47
» Replies: 0
» Views: 50
[Sci-Am] Pregnancy Increases Biological Age, but Giving Birt...
Last Post: Scientific American
2024-04-06 18:13
» Replies: 0
» Views: 19
[Sci-Am] Understanding Dyscalculia, Dyslexia’s Numeric Count...
Last Post: Scientific American
2024-04-06 04:35
» Replies: 0
» Views: 13
[Sci-Am] Baltimore Bridge Collapse Wreaks Havoc on Coal, Car...
Last Post: Scientific American
2024-04-05 15:14
» Replies: 0
» Views: 12
[Harvard] A playbook for policy change
Last Post: Harvard
2024-04-05 15:14
» Replies: 0
» Views: 13
[Sci-Am] Does Long-Term Benadryl Use Increase Dementia Risk?
Last Post: Scientific American
2024-04-05 01:43
» Replies: 0
» Views: 22
[Sci-Am] How Visually Impaired People Can Experience Solar E...
Last Post: Scientific American
2024-04-04 11:44
» Replies: 0
» Views: 18
[Harvard] Under pressure
Last Post: Harvard
2024-04-04 11:44
» Replies: 0
» Views: 37
[Sci-Am] Wild Birds Gesture ‘After You’ to Insist Their Mate...
Last Post: Scientific American
2024-04-03 08:12
» Replies: 0
» Views: 90
[Harvard] Glimpse into how mind may affect healing
Last Post: Harvard
2024-04-03 08:12
» Replies: 0
» Views: 53
[Sci-Am] The Future of Driving in the U.S. Is Electric—Sort ...
Last Post: Scientific American
2024-04-02 18:49
» Replies: 0
» Views: 24
[Sci-Am] What Climate Change Means for Your Garden
Last Post: Scientific American
2024-04-02 05:13
» Replies: 0
» Views: 48
[Sci-Am] Banning TikTok Would Do Basically Nothing to Protec...
Last Post: Scientific American
2024-04-01 15:15
» Replies: 0
» Views: 51
[Sci-Am] Can AI Replace Human Research Participants? These S...
Last Post: Scientific American
2024-04-01 01:16
» Replies: 0
» Views: 60
[Sci-Am] We Need a Public Service Internet to Free Us from B...
Last Post: Scientific American
2024-03-31 10:31
» Replies: 0
» Views: 71
[Sci-Am] How Do Babies Realize They Can Influence the World?
Last Post: Scientific American
2024-03-30 19:18
» Replies: 0
» Views: 65
[Sci-Am] Earth Has More Than One Moon
Last Post: Scientific American
2024-03-30 05:26
» Replies: 0
» Views: 66
[Sci-Am] Kitten Season Is Out of Control. Are Warmer Winters...
Last Post: Scientific American
2024-03-29 15:41
» Replies: 0
» Views: 55