[Guide] Fixing Status 7 error - Galaxy Y GT-S5360 General

Hey everyone, I've made this thread to help people like me who face "(assert failed: getprop("ro.product.device" =="GT-S5360" error)" aka Status 7 error" while flashing custom roms/kernels.
Before we begin, here is a little introduction about it :-
Basically, Status 7 error is caused while the updater script of the Custom Rom/Kernel checks to see if the phone model of your phone is compatible with the ROM/Kernel you are installing, called “asserts”.
In a nutshell, "Asserts" is a safety valve which prevents you from installing a Rom/Kernel meant for another device on your phone. Say, a Galaxy S rom on Galaxy Y and vice versa.
A Status 7 error generally arises due to the carelessness of the developer of the Rom/Kernel.
Now, moving onto how to fix it. There are a no. of methods on internet about fixing Status 7 errors. Here, i'm going to list the one's that i think are easy and work most of the times.
Method 1 :-
Here, i'm going to cover the most common method of removing the asserts from updater script. This method works almost 100% of the times.So, lets start right away !
Step 1. Copy the ROM zip file to your
computer and extract it using your favorite unzipping software (WinRar recommended)
Step 2. Once unzipped, browse to the
META-INF/com/google/android
directory. You will find two files called
“update-binary” and “updater-script”.
Step 3. Rename “updater-script” to
“updater-script.txt” and open with your
favorite text file editor.
Step 4. Get rid of the line starting with “assert” to next semi-colon. Usually
this is the first line or one of the first
lines at the top of the text file.
Step 5. Save file.
Step 6. Rename “updater-script.txt”
back to “updater-script”.
Step 7. Rezip all the files you’ve
unzipped.
Step 8. Copy the new, edited zip file to your phone.
Step 9. Try re-installing ROM, now it
should install fine without Status 7 error.
You can do this even on your phone with root explorer
Method 2 :-
Now this method is tricky one ! This method can be helpful for people who are willing to try out custom roms/kernels but have regional varaiants of a phone. For example, Seven variations of the model Galaxy y exist:
S5360 L , S5360 B (Brazil), S5360 T ,
S536 3, S536 7 , S536 8 , and S536 9 .
So, basically this method is based on editing the build.prop of your phone.
However,this method is still untested so try it on your own risk and responsibility !
Open your build.prop.Search the following lines in build.prop having the model name and change them as shown below :-
ro.product.model=GT-S5360
ro.product.name=GT-S5360
ro.product.device=GT-S5360
ro.build.product=GT-S5360
Save the changes.Set the permissions and Reboot and now you may be able to install the rom !
NOTE :- Incase you're using this guide for flashing cm11, you'll have to change your device name to totoro.

Related

[Q] Absolute beginner root & rom?

I had the Samsung galaxy nexus for a while and I loved vanilla android. Then I cracked the screen and washed it in the washing machine. So I bought a galaxy note II. I would like to recreate that on my device, if possible. I have been reading through the forums here, and while I don't doubt that all of the information is some where, I can't sort out what is what.
So, is there
1. A beginner guide to rooting and loading roms (and whatever else is needed like radios??? etc), preferably from a linux machine
2. A list of up to date roms that offer an experience like the galaxy nexus.
Cyanogenmod and AOSP seem to be fairly close to the plain google experience, but there must be dozens of roms listed on the forums.
Edit 1:
teamhacksung . org /wiki/index.php/CyanogenMod10.1:t0lte:How_to_install
This page seems to have quite a bit of information, although some specific to Windows, for installing cyanogenmod 10.1 including links to all of these misc things you need like ClockworkMod Recovery and Google apps.
Edit 2:
galaxynote2root . com /galaxy-note-2-root/how-to-root-galaxy-note-2-on-linuxubuntu/
This page gaves good directions on rooting. That same website has links to several roms for the galaxy note 2 as well as a beginner's/dummy's guide to loading a custom rom.
Step 1 - Root your device
Step 2 - Transfer chosen rom in its original zip format to either the internal or external storage
Step 3 - Reboot to CWM or TWRP (two likely "recovery" softwares you could load during root process... twrp - team win recovery project, cwm - clockwork mod)
To boot into recovery turn the device off, hold down the power, center home and volume up buttons until recovery screen shows.
Step 4 - Choose wipe data/factory reset
Step 5 - Choose install zip from sdcard
Step 6 - Choose zip from sdcard (or external sdcard if that's where you put it)
Step 7 - Browse and select the rom zip (not the gapps yet), and confirm to install it. This should take around 5 minutes.
Step 8 - Repeat steps 5 - 7, replacing the rom zip with gapps.
Step 9 - Choose wipe cache partition
Step 10 - Reboot!
My recommended method of rooting would be the root toolkit.
Sent from my SGH-T889 using xda premium
OK, the root toolkit from here: http://forum.xda-developers.com/showthread.php?t=1957720
Is there something similar available for Linux users? I haven't had access to a Windows machine since my last job. Surely all of that is can be done with things like "adb shell". I have that running from having installed ubuntu images onto my Nexus 7.
senorsmile said:
OK, the root toolkit from here: http://forum.xda-developers.com/showthread.php?t=1957720
Is there something similar available for Linux users? I haven't had access to a Windows machine since my last job. Surely all of that is can be done with things like "adb shell". I have that running from having installed ubuntu images onto my Nexus 7.
Click to expand...
Click to collapse
It looks like some guys reverse engineered Samsung's ODIN protocol and made a cross-platform flashing tool called "Heimdall", here: http://www.glassechidna.com.au/products/heimdall/
I guess I'll download "the rootkit" (wtf) and then see if I can get it to work with Heimdall instead of the pirated Samsung tools it contains.
There seems to be little to no respect for or interest in Open Source as a concept or ideal in this community, and there's no attempt to explain anything anywhere. It's all just "ROMs", binary-only "Root Tookits", proprietary third party "root apps", and "For Dummies"-type step by step instructions that may or may not actually work
I don't know what happened, maybe there was no hacker community to start with or maybe it got blasted away by an endless stream of script kiddies, but I don't like what's left on this site

Ace 2 Gt-i8160L LATIN. How to install CM?

Ace 2 Gt-i8160L LATIN. How to install CM?
When I install CM, don't wok sim-card and not IMEI.
Restore IMEI don't helped.
This is modem or hw problems, i think.
Sorry my english is bad.
...
Replace tee folder in rom zip /system/lib with the one from stock rom
Sent from my GT-I8160 using Tapatalk
1) backup tee folder
2) On build.prop change all GT-I8160L to GT-I8160 (without L)
3) all wipes factory/cache/dalvik
3) Install CM_Xversion
4) Whith roo explorer replace tee folder
Enjoy.
2) also can delete assert :/
4) you can just replace in zip before flashing (just sayin)
Sent from my GT-I8160 using Tapatalk
When to alter ROM
teddytsen said:
2) also can delete assert :/
4) you can just replace in zip before flashing (just sayin)
Sent from my GT-I8160 using Tapatalk
Click to expand...
Click to collapse
Am located in New Zealand, and hence using model i8160L, running stock JB ROM
Am trying to modify / install Maclaw CM KK ROM -- but am having problems
-- it "reads" the ROM and "immediately" (afaik) but aborts installation
-- NO ERROR MESSAGES come up for any indication as to why it's aborting
Am trying to do the following -- appreciate any feedback to correct procedure if I'm making eny errors
(i) omitting any and all references to L in 8160L string -- should I restrict it to any particular lines? -- using Build.Prop Editor
-- the Settings/About Device shows it as an 8160, rather than an 8160L after the Build.Prop changes, but the boot screen still shows it as the 8160L -- but at least I don't get the error message about trying to install ROM on wrong device
(ii) before attempting installation, downloading the latest ROM, unzipping the ROM using 7zip, deleting "tee" folder
-- and pasting tee folder from the stock JB ROM installed on my phone
(iii) re-zipping the ROM using 7zip -- I notice I get a different MD5 to that llsted on the download page
(iv) attempting to flash the modified ROM in Recovery mode, but it aborts
Don't know enough to know if install procedure tries to validate the "to be installed" ROM's MD5 and aborts since it's different from that on the download page
Don't know what purpose of tee folder is -- is it to connect to local carrier?
How about if I try to install "unmodified" ROM (in its unmodified form) and once it's installed, if it does (?), replace the tee folder at that later stage, to check for ability to connect to carrier?
Do I need to unlock the SIM card first --- as that's also something I haven't done
(naturally, I've backed up and able to restore to what I had before attempting the install)
KiwiCool60a said:
Am located in New Zealand, and hence using model i8160L, running stock JB ROM
Am trying to modify / install Maclaw CM KK ROM -- but am having problems
-- it "reads" the ROM and "immediately" (afaik) but aborts installation
-- NO ERROR MESSAGES come up for any indication as to why it's aborting
Am trying to do the following -- appreciate any feedback to correct procedure if I'm making eny errors
(i) omitting any and all references to L in 8160L string -- should I restrict it to any particular lines? -- using Build.Prop Editor
-- the Settings/About Device shows it as an 8160, rather than an 8160L after the Build.Prop changes, but the boot screen still shows it as the 8160L -- but at least I don't get the error message about trying to install ROM on wrong device
(ii) before attempting installation, downloading the latest ROM, unzipping the ROM using 7zip, deleting "tee" folder
-- and pasting tee folder from the stock JB ROM installed on my phone
(iii) re-zipping the ROM using 7zip -- I notice I get a different MD5 to that llsted on the download page
(iv) attempting to flash the modified ROM in Recovery mode, but it aborts
Don't know enough to know if install procedure tries to validate the "to be installed" ROM's MD5 and aborts since it's different from that on the download page
Don't know what purpose of tee folder is -- is it to connect to local carrier?
How about if I try to install "unmodified" ROM (in its unmodified form) and once it's installed, if it does (?), replace the tee folder at that later stage, to check for ability to connect to carrier?
Do I need to unlock the SIM card first --- as that's also something I haven't done
(naturally, I've backed up and able to restore to what I had before attempting the install)
Click to expand...
Click to collapse
md5 sum change probably because you uncompressed and re-compressed file.
no you dont have to unlock carrier.
use total commander and delete first 3 lines in updater-script.(all before mount.. bahblablah) and then compress it, then try.
btw it doesnt show any status errors?
When to alter ROM cont'd
teddytsen said:
md5 sum change probably because you uncompressed and re-compressed file.
no you dont have to unlock carrier.
use total commander and delete first 3 lines in updater-script.(all before mount.. bahblablah) and then compress it, then try.
btw it doesnt show any status errors?
Click to expand...
Click to collapse
MANY MANY thanks for your very prompt reply, and further information
"status errors" -- as a result of ?? -- no status errors evident after rebooting with modfified Build.Prop
had lots of "fun" on my previous efforts with custom ROMs -- played with several on a Huawei G300 I had --
-- but, gee, this is an ongoing learning process -- now to learn about updater script !!!
(only learnt about Total Commander from your post - despite its high rating -- but note others have used other things for "text editing")
(but have discovered some TUTs on xda)
Reading more carefully through the posts I see it may be possible to flash the ROM, and then later, substitute the tee folder supplied in the Maclaw ROM with the stock JB one -- right?
I'll definitely learn more about updater-script, but I'll try to flash the ROM again without modifying the ROM === OK?
KiwiCool60a said:
MANY MANY thanks for your very prompt reply, and further information
"status errors" -- as a result of ?? -- no status errors evident after rebooting with modfified Build.Prop
had lots of "fun" on my previous efforts with custom ROMs -- played with several on a Huawei G300 I had --
-- but, gee, this is an ongoing learning process -- now to learn about updater script !!!
(only learnt about Total Commander from your post - despite its high rating -- but note others have used other things for "text editing")
(but have discovered some TUTs on xda)
Reading more carefully through the posts I see it may be possible to flash the ROM, and then later, substitute the tee folder supplied in the Maclaw ROM with the stock JB one -- right?
I'll definitely learn more about updater-script, but I'll try to flash the ROM again without modifying the ROM === OK?
Click to expand...
Click to collapse
-Dont care about ro.build.model. once assert is deleted you dont have to change it. And its not mandatory.
-I recommended total commander just because its the only root browser i have that shows the assert in 3 lines exactly. Unless es etc. You can also use other editors ^.^
-like when installation is aborted, it says status 7(or 0 etc)
Sent from my GT-I8160 using Tapatalk
Many thanks -- now for the "rest" and time for tee
teddytsen said:
-Dont care about ro.build.model. once assert is deleted you dont have to change it. And its not mandatory.
-I recommended total commander just because its the only root browser i have that shows the assert in 3 lines exactly. Unless es etc. You can also use other editors ^.^
-like when installation is aborted, it says status 7(or 0 etc)
Sent from my GT-I8160 using Tapatalk
Click to expand...
Click to collapse
Many thanks!! KK installed -- that was the "fascinating" thing -- no status errors on previous failed attempt at installation -- nothing
but now it's installed -- with GApps added, and now to "worry" about the rest of it all
unsurprisingly -- if tee does what I think it does -- but I can't find a TUT on that anywhere
-- so currently, I can't connect to my local carrier, so it's currently not a :"phone" as such
even more frustratingly, computer found phone when it was first plugged in, but now seems to have lost it!! time to reboot system
-- and, it's been a while since I used CM but I can't find extsdcard!!
Cm file manager?
Settings-general settings-access mode- root
Sent from my GT-I8160 using Tapatalk
Permissions
teddytsen said:
Cm file manager?
Settings-general settings-access mode- root
Sent from my GT-I8160 using Tapatalk
Click to expand...
Click to collapse
sorry, not used to that one -- for that matter, I tend to stay away from things affecting the system I don't know
so I'm lost in permissions in different apps -- can't find "paste" in CM file, and can't find RW permissions in ES!!
But you're being exceptionally patient! thanks, heaps
Lot easier than I thought -- and MANY thanks again
KiwiCool60a said:
sorry, not used to that one -- for that matter, I tend to stay away from things affecting the system I don't know
so I'm lost in permissions in different apps -- can't find "paste" in CM file, and can't find RW permissions in ES!!
But you're being exceptionally patient! thanks, heaps
Click to expand...
Click to collapse
Actually, it's a lot easier than I thought -- working phone, with KK installed -- without need to unlock carrier!!
Many thanks for the guidance, patience ....
and, of course, to the ROM developers
Repeated problems with Maclaw KK ROM
KiwiCool60a said:
Actually, it's a lot easier than I thought -- working phone, with KK installed -- without need to unlock carrier!!
Many thanks for the guidance, patience ....
and, of course, to the ROM developers
Click to expand...
Click to collapse
Many thanks for past help with intall procedure -- but have had repeated problems of late -- last installed ROM on March 9th -- could install several versions prior to that date, and use them successfully, but since then have been unable since I repeatedly get "Error searching for networks", and hence cannot connect to carrier, and hence unable to use phone as phone, though other functions seem to work OK, -- any ideas??

status 7 installation aborted

first thanks for Mr Hofs to help me now i cant enter my device from pc and the sd card is empty no file found i copy cm-11-20140525-NIGHTLY-endeavoru and try to install it but give me error status 7 installation aborted i have htc one x
Don't make new threads and surely not in the wrong subforum !!!
slimbone said:
first thanks for Mr Hofs to help me now i cant enter my device from pc and the sd card is empty no file found i copy cm-11-20140525-NIGHTLY-endeavoru and try to install it but give me error status 7 installation aborted i have htc one x
Click to expand...
Click to collapse
Status 7 = Bad updater script
There are two ways to correct the
status 7 error. I'm going to tell you the easier one (atleast i think so )
So, you need a computer for that.
Now, lets begin.
Step 1. Copy the ROM zip file to your
computer and extract it using your
favorite unzipping software.
Step 2. Once unzipped, browse to the
META-INF/com/google/android
directory. You will find two files called
“update-binary” and “updater-script”.
Step 3. Rename “updater-script” to
“updater-script.txt” and open with your
favorite text file editor.
Step 4. Get rid of the line starting with
“assert” to next semi-colon. Usually
this is the first line or one of the first
lines at the top of the text file.
Step 5. Save file.
Step 6. Rename “updater-script.txt”
back to “updater-script”.
Step 7. Rezip all the files you’ve
unzipped.
Step 8. Copy the new, edited zip file to
your phone.
Step 9. Try re-installing ROM, now it
should install fine without Status 7
error.
PS :- I am assuming that you are already rooted & have the specific recovery.
He needs a kitkat recovery first and not a sense recovery.

[GUIDE] IMEI / Connection Repair on Asus Zenfone 2E ZE500CL Z00D

[GUIDE] IMEI / Connection Repair on Asus Zenfone 2E ZE500CL Z00D
I am writing this guide because I recently recovered a bricked ZE500CL and after flashing around so many different files I lost my IMEI and connection abilities. After a little research and some thought I easily repaired my IMEI and restored my connection abilities. Just follow the steps below. I don't have this phone long and I am still learning so some of these steps might not be needed. Nevertheless it DOES work if you follow it properly.
What you will need:
1) Asus Flash Tool - https://drive.google.com/open?id=1n7tJr7lAlPnL8-nmK8f5kGmDHbRv5gxo
2) Asus Phone Drivers - https://drive.google.com/open?id=11XLRW5pEScYdBYwh0vDM-Wup9orGPWDf
3) Debug Service Firmware - https://drive.google.com/open?id=1ISofitM3yhYpu46JD0KWGLXybvtLQyAy
4) Intel Phone Tool - https://drive.google.com/open?id=1dQjjlHjWs8tDrfNU_ikgesKK2uKaTyXt
5) Intel Drivers - https://drive.google.com/open?id=1hE9j35VMOD5QGHjDy_aM2vVCs2PVOOm1
6) ADB / Fastboot Tools - https://drive.google.com/open?id=1nbAS8k4JMAXG8YH2qIFHpRjX60TTlYIt
7) IMEI Number - You should have this. If not generate one based off another ZenFone 2E Z00D's IMEI.
8) ZenFone Root Tool - https://drive.google.com/open?id=1NHf516Yex9KfsnufVNz0vkchJWCiMHo2
9) Root File Browser (ES File Explorer, Root Browser etc) - Get from the internet, place on your phone via MTP file transfer or push/install it in adb.
NOTE: If you choose the first way you will have to go into your debugging app in the applications. It will be the one with the magnifying glass and says Asus Log something on it. I no longer have the Service Firmware installed so I can't remember. You will find it though. Once you do go in and find the usb settings and just change modes and you will see the drivers install and device ASUS_Z00D or something similar should appear in device manager under devices. If it fails to load make sure you have the correct ASUS Drivers installed and if that doesn't work the last way is to select the ( ! )Driver and then manually install the USB MTP Device driver which will fix the issue.
10) Factory Folder Backup (This MIGHT not all be needed, still checking to make sure.. for now include it) - https://drive.google.com/open?id=1fvH0QdrzLFM34vsm2KNfQBU5fr8eSM14
First Step:
Download everything above and then install 6,2,5,4 (Install the drivers that come with Intel Tool before installing it. You should be prompted during installation) and then install 1.
Second Step:
Open Asus Flash Tool and make sure your phone is connected to the computer and you are in fastboot mode.
You can get there 2 ways. (1) Turn the phone off, hold Vol+, then push the power button, and when you feel it vibrate release the power button while holding Vol+. (2) Open command prompt and enter "adb reboot bootloader" (this is if you're adb is setup system wide, if not navigate to your SDK Tools folder and enter there).
Flash the Debug Service Firmware you downloaded. Check WIPE to wipe before flashing.
Once you see the phone boot up goto the next step.
Third Step:
Open Intel Phone Tool and follow this guide here to fix your IMEI! -
NOTE: You can skip the setprop commands he enters into adb shell in command prompt. This firmware already has the COM Port opened and USB Debugging enabled for you.
Fourth Step:
Now you will need to root your phone using the Root Tool I linked in the beginning (Do not worry about upgrading the SuperSU Binary.) Next you will need to install a root browser on your phone like ES File Browser, Root Browser etc. Something that allows access to root / hidden files. Navigate to /Factory and /Config and backup these two in their entirety to your MicroSD card or computer. Replace your factory with mine if it is empty and doesn't contain the files in the steps below. Now comes time to edit. Makes these changes to the files. (I am not 100% sure which all DO need to be made so I just modified most all of the values.)
These instructions are thanks to @BORETS24
I have changed them a tad as our handset differs from the one he wrote them for. I am still not entirely sure if everything needs to be copied/modified. Don't have a lot of spare time on this handset to figure out everything. I just know from testing this will get your phone functioning again.
Serial number, WI-MAC, BT-MAC repair instructions
(You will be replacing everything after step 5. Below explains what to edit.)
1. If you have an empty factory partition, use the archive, replace factory folder with archive version to root file system via file manager, ES File Explorer or others (root required and root browsing required of the application). Serial Number, WiFi MAC, BTMAC, colorID you may see on box from phone (or make up something for each value). .. you can generate the WiFi MAC based off these Unassigned? Assignments - 00:90:4C, 00:09:4C or just make one up based off a random Assignment from here - https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries. For the Bluetooth - 22:22:AF or something you find on the previous site. You can check easier after you generate here - http://www.coffer.com/mac_find/. For color ID I left mine the same as what is in the factory.zip which is Silver.
2. Then open and edit factory/PhoneInfodisk/bt_addr.conf- this BT MAC, replace 00:00:00:00:00:00 numbers to your MAC.
3 Then open and edit factory/PhoneInfodisk/colorID- color code of your phone. For example silver is 6J.
4. Then open and edit factory/PhoneInfodisk/PhoneInfo_inf- 6F0000000 (yours will be 12 numbers) replace to your serial number, 1C002C... change to you BT-MAC, 00B72... change to your WiFi MAC, 6J change to your color code, RU... change to US,EU,CN,TW,RU (do not think this matters much). I changed mine to US I think.
5. Then open and edit factory/PhoneInfodisk/ssn- enter your serial number replacing 0000000. (12 numbers)
6. Then open and edit factory/wifi/mac.txt- enter your WiFi MAC replacing 00000.
Fifth Step:
Open Asus Flash Tools and flash desired build of RAW firmware over the Debug Service Firmware. I suggest the latest WW firmware which is ver .126. From here you can stay on this firmware after replacing the files below or surf around XDA and find out what customized ROMS are available for this phone. Personally I unlocked my Bootloader, flashed TWRP, flashed .126, flashed Resurrection Remix 5.8.4 ? on Nougat 7.1.1 and then flashed a SU. RR I wouldn't recommend as it is buggy and neither would I of MoKee as it is buggy as well. I am fixing the bugs in RR so it runs fine as I particularly like RR over others since it comes pre installed with a horde of features so you can customize your handset to your hearts desire.
1. Install a root File Browser and root your phone again.
2. Replace /config with your backed up /config.
3. Replace /factory with your backed up /factory.
4. Reboot.
Now check everything in settings and make sure it looks right. All should look A-OK except for serial #. I am still working on that and will edit this once I finish. Layout of our phone is different than the one I took files from. You might have to replace the file again if you flash certain custom ROM's. I flashed RR and didn't have to.
EDIT: After a few reboots I seem to lose my MAC's again and the serial (unknown) is replaced by Medfield1534DD97. Both WiFi and BlueTooth still work though. You just have the random default generated MAC's. I can live with that as long as it works. Though if anyone can shed some light on this issue or anything else I would be extremely grateful.
Enjoy Your Phone!
-------------
For the Asus Zenfone 2E ZE500CL Z00D I will be uploading in the near future somewhere an organized package compiled of all recoveries, roms custom + stock firmware, root, bootload unlockers, tools, apps and guides all together so you can easily download and skip the time consuming research I had to endure. It is around 10GB. I am officially done learning this phone now. It has been a long 3 days and now it is time to ship it out to a buyer. =]
XDA: noidodroid

SP Flash Tool Fix Error: STATUS_BROM_CMD_STARTCMD_FAIL

So, this post is about the error some people (like me) may encounter after pressing the download button in SP flash tool when following the Hard brick guide
Im going to show you all how to fix it
so the problem resides in step 12: "2ND RUN THIS.bat"
so in the bypass folder, there is a file called mt6785_payload.bin, but redmi note 9 processor is mt6768
so you need to delete mt6785_payload.bin, go into the payloads folder thats in the bypass folder, copy the mt6768_payload.bin file and paste it in the root of the bypass folder
now do everything again starting from step 10 and you should be good to go
Instead of creating a new thread, maybe contact the OP of that guide and recommend he incorporate your additions?

Categories

Resources