Surgery - Xiaomi Redmi Note 4 Guides, News, & Discussion

I used to do this a lot, but on a rooted phone with custom recovery. More afraid to futz around with Xiamoi's bootloader. The mtk updates are going from bad to worse, however. And still on Android 6.
I would take a known, good ROM. Unzip it. Edit and replace the build file with the options I wanted. Minimally, for this phone, change the mode to userdebug to get split screen.
Custom init.d scripts (not active on this device, I fear!).
I would manually delete bloatware. (HAD TO trim the ROM to get it to fit on the old dinosaur. Most everything had to be user-installed!)
Even insert system files.
Would then rezip and flash the ROM.
Anyone tried such on this phone? Should one dare?

Related

Asus Transformer EPIC NOOB GUIDE.

In the process of updating information for ICS update and custom ROMs, please hold tight!
A lot of folks have been coming in with newly purchased TF101's lately, which is AWESOME, it means the community will go on longer than the expected life of the device probably, since the TF201 and TF700 have come out and are seeking to replace our beloved TF, this is good news that people still buy the OG Transformer.
That said, there have been the same problems posted by new users, over and over, and sure there are guides for just about everything. But why not one on..just...EVERYTHING?
Here we go, troubleshoot problems and learn your device, the noob way! The EPIC TF101 THREAD BEGINS!
All the typical disclaimers apply, if you mess your stuff up, it is your fault not mine. I did not discover any of these methods, develop any of these tools, or do anything else but compile it all in one epic post. This should be everything you need to know as a noob, I do not take credit for anything, except for making it all easily accessible to those who are unwilling/unable to spend the hours searching that I did. In other words, I did a lot of work for you, but others had done the work for me first. Full credit to them.
What is ROOTING? And why do it?
So you bought a new TF, and you want to root it? Or you want to know what rooting is, for that matter? Rooting is a method of obtaining what is called 'Root Access' to your device, giving you control of it. The 'Root' is the parent directory of your device's internal memory, where the system files are stored. Generally this is kept from your access, you will need to get your device 'rooted' in order to change the system. Once rooted, you will have an app installed called 'Superuser' which will selectively grant applications permission to alter or access your root directory. This method differs on every device, but don't worry- we have a very easy device to root.
VERY IMPORTANT! Do NOT use any of the tools here WHILE YOUR DOCK IS PLUGGED IN!! All these are for use with the TF101 unit BY ITSELF! Please don't brick your device or mess something up by trying it with the dock plugged in!
There have traditionally been several ways to accomplish this for our device, as new applications and tools are developed to make it easier it has gotten to be a very simple process. Which method you use will depend on what SBK version (Secure Boot Key) Transformer you have, and also that model's firmware version. Your firmware version can be located by going to Settings>About Tablet. Current version is 8.6.5.21 (TF101) or 8.6.6.23 (TF101G). When either firmware version (also referred to as the 'stock ROM' sometimes) can be used, it will be listed similar to '8.6.x.19', where x can be 5 or 6 for TF101 or TF101G, respectively.
KNOW YOUR SBK VERSION
As a TF owner looking to mod your device, you need to know that there are multiple SBK versions, primarily SBK1 and SBK2. There may possibly be other versions to come even. All you need to know is, that as of right now, SBK1 is the only model that can utilize a tool called NVFlash to UNBRICK your device if you mess it up too badly, and it is difficult to tell which SBK version you have. In order to find out, there are a few tools out there- one of them is for mac only, called SBKDetect found here
http://forum.xda-developers.com/showthread.php?t=1232612
Another is primarily for Linux, but saavy Windows users can always boot from a Linux live CD on their machines to use it, called SBKDetect v2, here;
http://forum.xda-developers.com/showthread.php?t=1290503
The other way, if you are like me, and don't have Linux-abilities at the time of this writing (I'm working on that), you can always just GO FOR IT and try to flash a modded ROM via NVFlash. If you are SBK1 it will succeed. If not, it will fail. No harm done. Of course that means skipping ahead of a lot of learning first, so it is not advised IMO. It also means that if you DO have an SBK1 tablet, you just wiped all your data. It is not absolutely necessary to determine which SBK you have in order to root and mod your device.
A hit-or-miss way of detecting your SBK version is by looking at your device's serial number, located on the bottom of the device on a sticker. It will take the form of:
B70KAS638075
The ONLY digits you need to know are the FIRST THREE. Older models are SBK1. Manufacturing started at Bxx, and has gone to Cxx this year. All Cxx serial numbers will be SBK2. In fact it was in the middle of the B70 manufacturing that they changed the SBK version, so if you are B60, B50, B40 etc..you are sure to be SBK1. If you are B80, B90, C10, etc, you are sure to be SBK2. B70 owners, it's a coin toss. You must use one of the other methods to determine it.
The only thing that differs between SBK1 tablets and SBK2 tablets is the use of NVFlash. SBK2 cannot use NVFlash, so if you end up botching both your recovery and your ROM, and cannot boot into either, then you are SCREWED, so I would suggest reading everything before attempting to mod your device if you are an SBK2 owner.
NVFlash and APX mode
This was an early method used to root and flash recovery/roms, and is still a very useful application to have saved on a disk somewhere in the event that you own an SBK1, as it renders your tablet practically unbrickable. It can be found here;
http://forum.xda-developers.com/showthread.php?t=1123429
To use it you must enter APX mode on your TF101. This is tricky and confuses many users. The procedure is;
1. Press and hold volume UP and POWER buttons at the same time (it doesn't matter if the TF101 is on or off, if it is on, simply wait until it shuts off before proceding).
2. HOLD these buttons for approximately SIX SECONDS.
3. Plug TF101 into PC and listen for it to chime that it has detected it, it should load drivers and device will be listed in Right Cick>Computer/Properties/Device Manager/USB Universal Serial Bus Controller (or similar) as NVIDIA, not as ASUS.
4. If it does not, power on the TF and try again until it does.
NOTE: This is the only way to know if it is in APX mode as the screen remains powered off completely.
Once in APX mode now you can use NVFlash tool, place the system, boot, and recovery .img files into the root of the folder you extract NVFlash into and execute the download.bat file. If at any point the flash fails, this likely means you are SBK2.
ADB Mode
This stands for Android Debugging Bridge. This is not to be confused with APX mode, which is a separate thing entirely. To learn more about your device's ADB mode, see this excellent thread here;
http://forum.xda-developers.com/showthread.php?t=1071584
Another quick guide for ADB can be found here:
http://www.droidforums.net/forum/droid-hacks/6865-how-use-adb-all-commands-options.html
(sorry for the off-site link, trying to keep it as xda pure as possible!)
Razorclaw Root Tool
Razorclaw is by far my favorite method of rooting for the TF, it can be found here;
http://androidroot.mobi/2011/11/14/introducing-razorclaw-v1/
It does not matter what SBK version you have to use Razorclaw, that is why I prefer this method of rooting.. HOWEVER, it does require you to be using an older firmware version though. If you are on version 8.6.x.21 or above, you cannot use razorclaw. It works best on firmware 8.6.x.19. You simply install the app and follow the instructions (Root me nao!). It is a one click, native rooting tool.
If you are not on this firmware version and razorclaw will not work, there are options. You can either roll back your firmware version, the method is located here;
http://forum.xda-developers.com/showthread.php?t=1417006
If you are unsuccessful or want to try another way, you can use Nachoroot or ViperMOD.
Nachoroot Root Tool
This is one of the newer root tools, it is for all firmwares and all SBK versions, and can be found here;
http://forum.xda-developers.com/showthread.php?t=1427838
Nachoroot uses the ADB (Android Debugging Bridge) via a command prompt or terminal, all necessary drivers must be installed.
I cannot personally get this method to work because my PC will not install the drivers properly, and since I don't need the tool any longer, I must admit I've never used it, thus my bias towards Razorclaw. So, if you are having similar driver issues, rolling back firmware and using RC might be quicker and more painless.
ViperMOD Root Tool
ViperMOD is another method, similar to and related to Nachoroot, in that it uses the PC to root your TF101 and will need the appropriate drivers installed. The main difference being that this method will install Superuser as well. The other major difference is that while Nachoroot is done with a command dialogue, ViperMOD is done with a much simpler command interface (choose a number from a list of options rather than typing out commands). Interestingly enough, both of these methods work on both the TF101 and the TF201, and both methods appeared about the same time (posted on January 4th 2012). ViperMOD and Nachoroot represent the most recent methods for gaining root on the TF101. ViperMOD is unique that it has a feature to unroot your device as well, though you will need to have the stock ROM and recovery files available to completely return to stock. Find out more about ViperMOD here;
http://forum.xda-developers.com/showthread.php?t=1427125
I also cannot attest to the use of ViperMOD personally, I have used other methods, but many users have reported it quite simple to root with.
A quick breakdown;
Razorclaw, Nachoroot and ViperMOD will ONLY ROOT your device. No data will be wiped and you will have to install recovery later. In the case of Nachoroot, you will have to download superuser from the market, Razorclaw and ViperMOD installs it for you.
NVFlash WILL WIPE EVERYTHING! So understand that it will rewrite your TF101 internal memory competely and install a rooted ROM (or whatever you tell it to) on your device, as well as a boot and recovery image.
REGARDLESS OF THE ROOTING METHOD YOU CHOOSE, PLEASE READ THAT METHOD'S INSTRUCTIONS VERY CAREFULLY!!!
[Q]How do I know if I am rooted?
[A] Simply check within your app drawer for the superuser application (or download it from the market if using Nachoroot), to verify it works, download titanium backup and begin a batch backup and see if it asks permission, and if the batch completes. If you are not rooted, either try your first method again or try an alternate method.
Tip: Immediately after rooting you should back up your system with Titanium Backup, skip ahead to that section to learn how before moving on.
Recovery Mode
The stock recovery mode on the TF101 shows one of two screens; a green android in the middle of the screen with gears turning inside it, or the same android with a yellow triangle with an (!) inside it instead. The gears obviously mean it is working (flashing firmware), the (!) means something has gone wrong (no file found, flash failed). To enter recovery mode, you need to press and HOLD Volume DOWN and POWER when the device is powered OFF. As soon as the screen comes on, RELEASE THE POWER BUT HOLD THE VOLUME STILL. You will see white letters appear in the upper left corner of the screen, it is now okay to release the Volume DOWN button and quickly (within 5 seconds) press the Volume UP button to enter recovery mode. There are also applications, such as Reboot to Recovery, available on the market, that will allow you to reboot your device with one click into recovery mode without having to toggle your power/volume buttons.
About Stock Recovery Mode
The stock recovery mode is absolutely required to install official Asus OTA (Over The Air) updates. Unless your device is unrooted with a stock recovery mode, you will not be able to install any OTA updates, this includes ICS!! It can also be used to install (or RE-install if it were) your STOCK ROM (only official, digitally signed files will be accepted by the stock recovery to flash over the firmware, no modded roms will work). The method for doing this is outlined in the link for rolling back your firmware version above but I will summarize;
Recovery mode searches your external SD card ROOT DIRECTORY(and the internal memory's cache directory, but this is not useful for any practical reason for you) for these Asus files. The files must be named either;
EP101_SDUPDATE.zip
or
XX_user-epad-Z.Z.Z.ZZ.zip (X = firmware region stamp, WW, US, DE, etc, and Z - firmware version, 8.6.5.19, 8.6.6.21 etc)
I personally find the second configuration to work best. If stock recovery finds a file named appropriately and signed with the proper digital signature it will install it, and you will see gears turning. Otherwise; (!). Remember, it has to be on the SD card in the ROOT, not in a folder or it won't find it.
CWM Recovery Mode
ClockWorkMod Recovery mode replaces your stock android recovery mode, and gives you control of;
Flashing (installing) ROMs, recovery, themes and app packs, patches, kernels and more
Wiping cache, dalvik cache, system, data, etc
Backup and Restore features
Advanced features you probably won't need like fixing permissions and mounting partitions etc.
The important thing to know is if you want to be able to change ROMs right from your device, you need this. In order to install it on the TF, you can use an app called RecoveryInstaller, located here;
http://forum.xda-developers.com/showthread.php?t=1346180
It is a one-click app just like Razorclaw, download and a single click will install CWM for you, though it may be an older version it will work fine to install the most recent version, directly from CWM once you enter it the first time. You will need to give it superuser permission as well. The newest CWM for the TF101 is called ROGUE XM and it is available here;
http://forum.xda-developers.com/showthread.php?t=1446019
Simply place the newest version on your SD card where you can find it, and use the 'install from SD card' option to navigate to the new version file and select it, which will flash the recovery..then you will need to reboot.
CWM Recovery can also be installed when flashing your device from NVFlash, and the NVFlash versions of ROMs almost always contain the most recent versions of the CWM recovery as well, thus making an NVFlash a one-step procedure (flashes both ROM and recovery at same time). The risk of the one-step procedure is if you are using corrupted images or something unexpected occurs you may end up BOTCHING both recovery and ROM at the same time..of course- if you are SBK1 anyways, just reflash it with a different ROM and it will be fixed.
Once you have installed the latest CWM recovery now you will want to start flashing ROMs and Kernels. I will not be posting links to the custom ROMs and Kernels because there are too many of them, that will be your homework.
Custom ROMs
We are blessed to have some great devs working on our humble TF101. That said, the procedure to flash a ROM through CWM is simple;
1: Download desired ROM and place into your external SD card somewhere you will be able to find it, it doesn't matter.
2: Boot into recovery and go to Backup and Restore and make a backup file. This is commonly referred to as a 'Nandroid' backup, and will backup everything from your ROM to your Kernel to user files.
3: Once backed up, proceed to factory reset and wipe cache partition and dalvik cache, located in the 'advanced' menu.
4: Install from SD card, navigate to your directory and find your ROM (ONLY FLASH THINGS THAT ARE MADE SPECIFICALLY FOR THE TF101! Be sure it is compatible with your device!) and select it, scroll to yes...read and follow instructions. Tapdance and sing ABC's while making some breakfast- and you are done!
5: Reboot device
Please be sure to flash only files that are meant to be flashed via CWM, as some ROMs will also have an NVFlash version, which will not work in CWM.
The Stock ROM currently provided with the TF101 is Android 3.2.1, which is called Honeycomb (HC) which is exclusively for tablets, we are all awaiting the release of Android 4.0 commonly known as Ice Cream Sandwich (ICS) which will merge the operating systems used on phones and tablets. Asus has said it will be out soon, so don't ask when it is coming! To learn more about the different Android versions, read this;
http://en.wikipedia.org/wiki/Android_version_history
I would suggest also to anyone wanting to modify their Android device to understand the history of Android itself and what it is, here;
http://en.wikipedia.org/wiki/Android_(operating_system)
Kernels
The kernel is the underbelly, the brain of the ROM. The kernel is what tells the hardware what to do when you interact with the software of the ROM. Most ROMs, I dare say almost every ROM unless specifically noted, does NOT come with it's own kernel but uses the kernel you have installed now on the device, unless it is a stock ROM, in which case most of them DO have kernels included. You want to be sure if what you are flashing has a kernel included or not, and you can always go back to another kernel version if you like, but understand that the OS will behave differently with different kernels. For example, if you wish to enable certain functions at the kernel-level, like overclocking, voodoo sound, etc, then you have to flash a customized kernel.
If you flash a custom kernel, then report your bugs to the developer of the kernel, not the ROM, as most bugs are produced by the kernel.
The procedure to flash a kernel is the same as with flashing a ROM, though you need not factory restore your device before installing, although every developer will agree that it is probably best to have what is called a 'clean install', where you would factory reset the device, flash your ROM, and flash your Kernel, and then restore your apps and information. How do you do that you say?
Titanium Backup
Titanium Backup is an app that is pretty self explainitory- it backs up all system files, data (this includes contacts, settings, call logs, etc) user apps, basically saves your state ON TOP of your ROM, where as the CWM Backup (commonly called a 'Nandroid') is the FULL ROM, Titanium Backup will only restore your settings and apps ON TOP of the ROM once installed. Therefore, you can backup all apps, safely factory reset. Install a clean ROM and Kernel together and then restore your data on top of them. This keeps your user files from either being accidentally overwritten or otherwise interfering with the installation of the ROM/Kernel whatever else you wish to flash.
IF YOU SKIPPED AHEAD READ THIS
Titanium Backup can be found on the market for free, if you like it, buy the paid version.
To backup and restore, simply press the settings softkey and choose 'batch' and select the appropriate action with caution. Press the 'RUN' button for the action of your choice and you will be prompted with a checklist of apps and data to run the batch on. Select which files you want or select all if it is your first time using the app and confirm the action. You will need to give Titanium Backup Superuser permission and make sure you have 'Unknown Sources' checked as well as 'Debugging Mode' checked in your settings/applications menu.
Ok, now go back to 'Recovery Mode' section and keep reading..
Also understand that if you are moving from a version that you have backed up in which apps will not be useable in the version you are moving to, the will not work either. For example, if you flash an ICS ROM and then save the ICS-only apps with titanium backup, and then try to move back to honeycomb or gingerbread (if you have a phone like I do) these apps will likely not install or if they do will FC (force close) constantly. Similar things can happen with user data, call logs from one dailer might not be compatible with an older version etc, so expect there to be instances where you have to selectively install apps one at a time to see if it causes bugs, testing the device for buggs, and uninstalling the app/data before proceding with your restore if it does.
Return to Stock
EDIT: While the below represents a review of how we used to unroot, I have now learned that merely flashing the stock ROM provided by Asus on their website will flash the recovery as well, and that there is a minor difference between the recovery img that came on the device stock versus the recovery img that comes loaded in the Asus firmware packages. If nothing else, the graphics are different, but I suspect that there could be other changes as well. To best unroot the device, simply watch and follow the video in the link.
Outdated info;
So, you played around, and you decided it was time to go back stock for that update, or maybe you just liked it better, or you wanted to give it to your grandma but knew Revolver was above her head- whatever the reason, you want to start fresh. The procedure requires you to get the Stock recovery image and a stock ROM. Luckily the stock ROMs are available on Asus' website, the recovery image isn't as easy to find, it is located here;
http://theunlockr.com/2011/11/28/how-to-unroot-and-remove-cwm-recovery-on-asus-transformer/
(Note: The recovery file is not region-specific, therefore it does not matter what version TF101 you have, it is one of the few 'universal' files for this device.
CAUTION: Unrooting with this procedure will only rewrite your system files on the system partition, if you have files located in your root directory that are user-created files that are not part of the system, these files will remain after unrooting, though you will not be able to view them as they are in the root directory, if you root the device again they will be visible. If selling your device or returning for an exchange and you are unrooting it, make sure to manually delete any files/folders that you created in your root directory and do a factory restore with CWM before flashing over your recovery.
Click to expand...
Click to collapse
Procedure:
Click HERE to watch my UNROOTING How-to video.
There should also be a distinction made here between unrooting and breaking root access, while breaking root access will prevent you from having root access to your device, it does not return your device to stock. For example, deleting your superuser application and su binary files can 'break your root' as it is referred to. Yet, in order to effectively unroot your device, you should return the device to it's 100% stock configuration. If you are giving the tab to your grandma or little sister, breaking root is probably enough. If you want to return the device or sell it on XDA, you should probably return to stock completely.
Now that you have read all of this (hopefully) here is the shortcut you wished you had;
My HOW TO ROOT video (Part one)
So, now you are a BUTTFLIPPIN' PRO, you can root, you can flash recovery mode, ROMs, even Kernels, and you can flash stock files from your SD card so you can unroot and return to stock if you want. What if something goes wrong? What if you want to expand your knowledge?
Well this is what we all fear, this section will attempt to address possible outcomes of bad flashes, corrupt ROM images, bad recovery images, etc. as well as help you diagnose your problem and determine whether you need an RMA or to ask for help in the forum.
[Q] My screen won't come on! Help!
[A] In order to determine what the problem is, first try to power on normally, if that does not work try to power on with the USB device plugged into a PC, if you hear it connect you unfortuntely likely have a screen malfunction. If not, try to enter APX mode and listen for notification of connecting to your PC, if still no notification, try charging your tablet overnight and see if it is over-discharged, mine did this once and scared the CRAP out of me, I thought it was bricked, after 10 minutes of fooing with it a battery warning finally popped onto the screen for 1 second before shutting off again. Repeat the previous steps after 24 hours of charging (if TF does not power on on its' own). If none of these solutions work, try powering on and listening for the camera to 'click', if you do not hear this, then it is very likely you have a brick or malfunctioning device.
[Q] My dock drains very fast..why?
[A] This is a problem with old firmware and certain docks. The docks themselves were manufactured with hardware that prevents the updated firmware from being installed in the dock itself, which results in being unable to change the battery consumption configuration. The dock was originally designed to keep the TF awake so that a quick key press would wake it easily, but this resulted in battery drain, when Asus updated the firmware they realized some docks simply needed to be RMA'd. To test yours;
1. Make sure you are updated to the latest firmware for the dock (in Settings?About Tablet), latest firmware is EP101-0213.
2. In Settings>Screen make sure "MobileDock Battery saving mode" is checked.
3. Press the power button on the TF101 to turn the screen off, then press a key on the keyboard (not the mouse buttons).
If any key wakes the TF, then you have the defective dock and must be RMA'd. However if it does not wake, and you still have severe drain, try to resolve it by shutting off background services and checking to see if drain is bad without the dock as well. If it is still draining, as mine has done previously, contact Asus for an RMA.
[Q] My dock is making a strange squealing sound??
[A] Yes, I received one that did this myself, and returned it to the store I purchased it. As far as I could tell it only presented an annoyance, but others reported the issue and suspected that it might have been connected with some people's battery drain issue, so I returned mine as you probably should as well.
[Q] My screen has light bleeding around the edges..is this common?
[A] Unfortunately, yes, light bleed on these devices is far too common. You can try to return the device and get a better one, depending on the severity of the light bleed, and unfortunately it seems every device has it's quirks, you may end up with one that doesn't have much light bleed but has another problem..
[Q] My case creaks, is this normal?
[A] Yes, unfortunately, the plastic backplate has notches that are supposed to affix into the bezel, and sometimes these come loose. However, some people have reported being able to 'snap' it into place again within the bezel, others had to remove the bezel and backplate partially to resolve the issue- others just ignore it as it is only cosmetic.
[Q] My Transformer won't charge! Help!
[A] There could be a few reasons for this experience- the connector is a proprietary connector, and the wires inside can be easily tangled and snapped according to user experience- to verify that the cable works try plugging the device while powered on into the PC and listen for audio confirmation. If your cable is working, but the tablet doesn't seem to charge, you can try to plug in the dock to see if the led on it lights up (unfortunately the TF unit has no charging indicator except for when powered on). The charging adapter itself sometimes has connection problems inside it, and some users have reported success in simply enclosing the charger in a ziplock bag and placing it in the freezer for several hours. I don't know why this works for some, but it does. If it doesn't for you, however, you may need to order a new power adapter from Asus, or you can make your own here;
http://forum.xda-developers.com/showthread.php?t=1087321
[Q] My TF keeps booting and booting but never loads into my ROM..
[A] This is called a 'bootloop', and depending on how far it loads can tell you the severity of the boot loop. First thing to do, is to attempt to boot into recovery. Unless you have an SBK1 tab, this is going to be the only way you will be able to stop this. If not, you have a soft-brick. Eee Pad logo loads and reboots after this, then you have a problem with the ROM itself not wanting to boot (corrupt image, files missing, etc), and usually reflashing your previous ROM without wiping will cure the issue. Sometimes the issue is within the ROM, settings that lock up your device while initializing. If it makes it to the boot animation and reloads, there is a possibility that it is a setting within a kernel if you have a custom kernel installed, try another one, if you aren't running a custom kernel it could be user settings and a factory restore may resolve the issue, and if that fails try another ROM. If the TF will not go into recovery mode and reboots within 5-10 seconds from powering on, you might have a major problem with your system in which case only NVFlash is likely to help.
[Q] I keep getting FC's and bugs..(OR) Do I need to wipe to install...?
[A] Making sure you wipe the correct partitions before you flash new software is vital to making sure it functions properly. This is your necessary wiping procedure, although always best to have a clean install as previously stated;
Nature of the flash| Wipe cache? Wipe Dalvik? Factory Reset?
Clean ROM Flash = YES YES YES
Kernel Flash = YES YES NO
App Pack Flash = YES YES NO
Theme Flash = YES NO NO
ROM Re-flash = NO NO NO
Recovery Flash = NO NO NO
Nandroid Restore = NO NO NO
(Will work on getting this more graphlike after dinner )
Of course always better safe than sorry, and unless you are trying to preserve user apps and data while flashing a kernel or theme then it is always best to reinstall everything after a clean wipe to avoid orphan files and other messy possible errors.
[Q] I can't get into recovery! Help!
[A] The only time you really need to start worrying about not being able to get into recovery is if your ROM also will not load, and vice versa. Since you can simply use the RecoveryInstaller app to fix your broken recovery, similarly if your TF will boot into recovery mode but NOT into the ROM you simply flash (or re-flash) your previous ROM to restore your OS. For this reason, when wishing to update BOTH ROM and recovery, DO NOT FLASH BOTH AT ONCE WITHOUT CONFIRMING THE FIRST FLASH WORKED!
My general rule is to flash my recovery mode first, and then flash my ROM, this is true whether going forward in versions or rolling back to older versions. This way, as soon as you are done flashing and restart (simply holding Volume DOWN as it reboots on its own is enough to initiate recovery mode, be sure to then press Volume UP), you will know if your flash was a success and can rest easy as you flash your ROM, if done the other way around you have to boot into your OS to confirm the flash worked and then reboot back into recovery. If your recovery flash fails, simply allow the OS to load, load recovery installer again and try again.
In the case in which your ROM or recovery will not load, again, your only hope is that you are an SBK1 device and can restore your device via NVFlash.
[Q] Help! My buttons (volume, power) don't work!
[A] Unfortunately this has been discussed quite a bit, sometimes it is related to poor manufacturing, or user damage, or even a poor RMA service. In this case you have only two options- you can try to RMA it, or you can try to tear down the TF101 yourself to try and repair it. It isn't advisable if you can get it repaired under warranty, but if not, you can find discussion with photos of a teardown of the unit here;
http://forum.xda-developers.com/showthread.php?t=1109928
[Q] How do I edit the files in my root directory?
[A] The File Explorer app provided by Asus by design will not allow you to access the root directory, you must use an app, like Root Explorer. In order to change or delete files directly from this app, you will need to make sure the root is mounted as R/W (readable/writeable) as opposed to R/O (Read Only), there will be an option to 'mount R/W' if it is mounted currently as R/O, and vice versa.
[Q] How do I remove Asus' Pre-Installed apps (Bloatware)?
[A]While you can simply delete the app file with your Root Explorer, this may not delete all user data. You could download a tool called Root Uninstaller from the Android Market, or you can use the functions in Titanium Backup to run batch uninstalls, or just 'deselect all' and delete one at a time.
[Q] How do I get back my Asus or Google apps after flashing a modded ROM?
[A]GApps and Asus apps generally are not included with many custom ROMs for copyright reasons, but GApps can be found here;
http://goo-inside.me/gapps/
Asus apps can be found in Gnufabios' package 'Asus Removed Apps' that can be acquired through his Revolver Parts package if you are running that ROM, or can be downloaded here if not;
http://www.gnufabio.com/revolver/dls/
Or you can always make a Titanum Backup of your valued system apps before you flash your ROM. You can then do what I do, find the Titanium Backup folder on your internal and rename it 'TitaniumBackupStockApps' and move it to your SD card, then backup your user apps, rename THAT folder 'TitaniumBackupUserApps' (you may even want to date it or name which ROM it came from, this is your choice), and remove that from your internal memory. You could then do the same with user data, if you decide to do that separately. To flash them back, simply replace the folder and rename it to the 'TitaniumBackup' as it was originally, or, if the folder already exists you can simply copy over the contents, run the batch, then delete the contents and copy the user data contents over as well. This is a great way to keep your apps and data organized and backed up safely. You should make sure this stays up to date and delete old backups after 2 to 3 iterations.
[Q] Can I run Linux?
[A] Yes, look here;
http://forum.xda-developers.com/showthread.php?t=1364095
[Q] How do I install themes?
[A] Depending on the ROM and Launcher you are using, some of the theming options can be built in and accessed in settings menus inside the Android UI (User Interface). However, there are other themes that change files within your root directories and these files will generally need to be installed either via CWM or via ADB. The themes' developer should have clear instructions on installing it.
One more reserved.. This one is for my thank-yous and anything else I miss guys
Roach2010, mike1986, gnufabio, xboxfanj, blades, Clemsyn, baseballfaz, danzano, paulburton, kaijura, daoist, supercurio, MrNago, jcarrz1, rayman84, lilstevie, rburrow, solarnz, fonix232, daxtsu, dipje, frankc123, Sharpe351, chatch15117 ,K900 ,earthbound, AproSamurai, TOO MANY TO REMEMBER YOU ALL!!
You guys are why I am able to do what I do now..
Mods: Stickie this!!!!
This is great! Have my tf a month and had to search all over to root/rom/etc.wish I'd had this info
Great help for us tf noobs.
Sent from my Transformer TF101 using xda premium
Thanks for taking the time to write this up!
Absolute champ!
nice one..thanks mate
Get work this is a must have guide
Sent from my EVO Titan 3D
Fantastic! Having current info all in one place is rare, especially on "older" devices.
Edit: Maybe add a section or note about ViperMOD
Nice job Luna.
+1 on the vipermod. That is what I used and it was extremy simple.
ViperMOD..the one thing I have no experience in on this device it seems; I did a crash course, seems it was actually based right off of Nachoroot, just a cleaned up command prompt interface, and interestingly works on TF101 and TF201. Perhaps that is why I never used it- the post is located in the Prime forum section
Added to OP, guys help me check for accuracy, and correct me if I get anything confused.
Next have some few things to polish up in my thank-yous and try not to leave anyone slighted. Also, thinking of a few more common problems to add to post two. Anything not addressed here just comment or PM me about it I will amend these posts.
THANKS!
Hi Luna
I tried to follow the Return to Stock instructions you listed but there seems to be some problems.
I know these problems are not your fault but maybe you know of another alternative which is as easy to follow as well?
I need a WW Version of the packed stock Rom but neither US nor WW are available due to the mediafire problem.
And the recovery is called 8239USrecovery so I assume I can't use it with my WW version?
Return to Stock
So, you played around, and you decided it was time to go back stock for that update, or maybe you just liked it better, or you wanted to give it to your grandma but knew Revolver was above her head- whatever the reason, you want to start fresh. The procedure requires you to get the Stock recovery image and a stock ROM. Luckily the stock ROMs are available on Asus' website, the recovery image isn't as easy to find, it i located here;
http://theunlockr.com/2011/11/28/how...s-transformer/
Place both files on your SD, but make sure the ROM file is in root (they can both be in the root it doesn't matter) and then use CWM to flash the recovery image, then WIPE EVERYTHING before rebooting into recovery mode again to confirm you have stock recovery in place, and allow it to flash stock ROM. Double check that you are unrooted by downloading superuser and installing it and seeing if it allows you root access (it should not).
Click to expand...
Click to collapse
luna_c666 said:
About Stock Recovery Mode
The stock recovery mode is absolutely required to install official Asus OTA (Over The Air) updates. It can also be used to install (or RE-install if it were) your STOCK ROM (only official, digitally signed files will be accepted by the stock recovery to flash over the firmware, no modded roms will work). The method for doing this is outlined in the link for rolling back your firmware version above but I will summarize;
Click to expand...
Click to collapse
So theoretically this stock recovery mode will allow us to recover to a stock Asus signed ROM in case the main ROM get damaged? for example if rooting goes wrong or any other reason?
I have an SBK2 TF101, and I don't want to install CWM for the moment but want to have root, and don't want to brick my pad.
Outstanding post. Thanks a lot...
Sent from my Transformer TF101 using Tapatalk
Malandro2011 said:
Hi Luna
I tried to follow the Return to Stock instructions you listed but there seems to be some problems.
I know these problems are not your fault but maybe you know of another alternative which is as easy to follow as well?
I need a WW Version of the packed stock Rom but neither US nor WW are available due to the mediafire problem.
And the recovery is called 8239USrecovery so I assume I can't use it with my WW version?
Click to expand...
Click to collapse
The recovery mode can be used regardless of region or firmware version, and if you are unable to locate the firmware files due to mediafire and megaupload etc. being down, simply retrieve them from Asus' website here;
http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/#download
I'll update the OP to make this more clear
mcbyte_it said:
So theoretically this stock recovery mode will allow us to recover to a stock Asus signed ROM in case the main ROM get damaged? for example if rooting goes wrong or any other reason?
I have an SBK2 TF101, and I don't want to install CWM for the moment but want to have root, and don't want to brick my pad.
Click to expand...
Click to collapse
Yes, if you retain your stock recovery mode then it will be able to flash your firmware in the event that your ROM gets messed up for whatever reason, so long as you use the Stock signed copies of your firmware from Asus (i.e. the official files), recovery mode as stated will only flash official Asus files, they are digitally signed by Asus and without the signature recovery mode will fail.
And to put you at ease, the likelihood of anything going wrong while rooting is much smaller than flashing custom ROMs or recovery mode. Rooting is fairly fail-safe if you follow directions well.
luna_c666 said:
Yes, if you retain your stock recovery mode then it will be able to flash your firmware in the event that your ROM gets messed up for whatever reason, so long as you use the Stock signed copies of your firmware from Asus (i.e. the official files), recovery mode as stated will only flash official Asus files, they are digitally signed by Asus and without the signature recovery mode will fail.
And to put you at ease, the likelihood of anything going wrong while rooting is much smaller than flashing custom ROMs or recovery mode. Rooting is fairly fail-safe if you follow directions well.
Click to expand...
Click to collapse
I am asking because, as mentioned earlier, I only need to root for now without going the whole mod thing, because at the moment I am still not convinced that an android tablet suits me, so in case I still don't like it I want to be able to restore the stock ROM without going more into modding CWM and risking a brick.
So, in the case I root then later decide that I want to unroot, it is enough to put the signed stock Asus firmware on the SD card and boot into recovery mode, and it will be unrooted? why is it then that most unrooting guides does this with a special repacked zip file? why not just stock asus zip?
sticky!
mcbyte_it said:
I am asking because, as mentioned earlier, I only need to root for now without going the whole mod thing, because at the moment I am still not convinced that an android tablet suits me, so in case I still don't like it I want to be able to restore the stock ROM without going more into modding CWM and risking a brick.
So, in the case I root then later decide that I want to unroot, it is enough to put the signed stock Asus firmware on the SD card and boot into recovery mode, and it will be unrooted? why is it then that most unrooting guides does this with a special repacked zip file? why not just stock asus zip?
Click to expand...
Click to collapse
First, you should know that if you do not install CWM and flash a custom ROM, you will never actually know what you can do with an android tablet
But to answer about why others use special zips, unrooting with the Asus file actually does not delete anything on your system partition, it will simply rewrite all the system files, if there are other files that are unrelated to the rooting process leftover in your system partition those files will remain after unrooting. That is what the unroot zip files do usually, is they delete everything and reformat the system partition before installing (instead of just overwrite installing) to avoid leaving orphan files. But these orphan files usually do not impact your system (the entire system has been rewritten anyway) and for sake of argument your TF is unrooted, as you no longer have root access. To avoid leaving anything in your system after unrooting you should factory restore and delete all user apps/data with something like titanium backup before installing the stock firmware over your old rooted ROM. I will think of how to add this to the OP to make it more clear.
Basically though, if you unroot you will want to manually remove any files that are in your system partition (root directory) that were not there when you first rooted your TF or flashing the stock ROM will simply leave those and overwrite the other folders/files.
Just to throw something in here about that. Vipermod does have an unroot setting in it's commands.
Or using terminal emulator or adb
su
rm -r /system/app/Superuser.apk
rm -r /system/xbin/busybox
rm -r /system/bin/su
reboot

[Q] Could I (and should I) copy a stock ROM backup and flash it to a new Note 3?

So I just dropped my Note 3 of 2 weeks on the floor (with a case on it) and although the glass isn't cracked, the LCD and digitizer is definitely junk since its all warped in color and mostly black. Thank the gods I have insurance.
I have it Rooted and Safestrap installed and luckily made a backup before I installed Xposed when all was still well. I'm familar with Clockworkmod and flashing that way but new to Safestrap. What is the best way to get my new phone back to how the dropped one was like? Not sure of what files to copy onto my PC and back onto the new phone once I get a new one. Would it make a difference if the backup is from another phone?
My main concern is getting all my username and passwords out of the OI Safe app so it's the main reason for wanting to flash my old backup to the new phone. Other than that I'm not to worried about the rest of the phone since it's fairly new and didn't have it long enough for lots of pics and getting it set up the way I really wanted it.
Thanks
That should work with the following big caveat: if you were on the MJ7 kernel (or earlier), and the new phone is on MJE, restoring the full nandroid backup probably won't work at all and is not adviseable. (Remember that Safestrap "ROM"s do not replace the stock kernel).
If the two phones are from the identical release, then what I would do is the following:
- Root and install SafeStrap as usual.
- Immediately make a Nandroid of the Stock Slot using Safestrap. Get it copied off the phone someplace safe (and named in a way that you can remember it) too.
- Make a second slot in Safestrap and restore the backup from the previous phone to this alternate/second slot.
( Note if you were using a ton of the userdata partition on the old phone you will need to right-size the 2nd slot when you create it. Of course, if you were a data-pig on the old phone and there is no room for a sufficiently-large 2nd slot, then this method of rescue is not available to you. In this case you could restore the original nandroid backup directly to the stock slot - only if you were 100% positive of the same kernel release being used on both phones - but if something goes wrong here you might be making a trip to Odin to re-flash stock and then going through the rooting process all over again ).
- You can use it this way for a little while if you like to see if things are working, or rescue critical data from individual apps, or perhaps make TiBu backups of individual apps (that can be later restored into a different ROM). If things seem to be going swimmingly, you can certainly repeat this process, restoring to the stock slot and then destroying the alternate/second slot.
Note that there are other means of rescue of individual apps which do not require a full restore; this is because the Nandroid backups are (concatenated) "tar" archives, and with sufficient command-line knowledge, you could manually splice into place the appropriate folders from /data/data/*, /data/app/*, and /data/lib/* for individual market apps you wanted to rescue from the old backups. Essentially you are doing the same thing that TiBu does, but manually using adb with the phone in Safestrap recovery mode and the command line.
I'm not going to document this, as it is too tedious to do so - either you already have the working knowledge to do this or you don't. The only tricky part to it is getting the user/group ownership of the files correct. (The easiest way to do this is to install the app from the market, then record the owner/group information it used for the new install of the app, restore the /data/data/* files into the correct place, and then as root "chown" them to the correct user ID... either that or run the "Fix Permissions" script of the recovery).
good luck
I am about 99% sure it was on MJE, I remeber checking it before rooting and following the newest root method available for the newest kernel among other things such as installing Safestrap and Xposed framework.
I unfortunately don't have any experience using Odin or adb, which is something I should know how to do seeing I'm always tinkering with all the phones I get. I'm pretty good with figuring things out when someone points me in the right direction such as you did by searching and following guides here on xda so I thank you for that! I'll try your idea of rescuing the individual app such as TiBu would do using adb. Or even restoring the ROM into a second slot, grabbing the data I need, then get rid of that rom.
And for anyone else reading this...it's never too early to use TiBu or any other backup app for all your important data. Never expected my brand new phone to break after only 2 weeks of owning it but lesson learned.
Thanks a lot for the help, I'll let you know how things go once my new phone arrives.

I need your Galaxy On5 (USA) ROM

Hi, I need the ROM for this phone, more specifically, the boot.img file, as the current kernel is for the older, Indian revision of the On5, and my revision, the USA version SM-G550T1, seems not to have any copies of its firmware floating around. I'm running an OS for the SM-G550FY, which has no audio or camera support. Even if the version isn't an exact match, if you bought this phone in the USA, new, in 2016, your boot.img will probably work. I need this kernel guys. Please, if someone has an On5 in the USA, can I please get a copy of your boot.img and possibly system.img? I really care about the boot.img.
Thanks guys
-Subsentient
Firstly, did you try the updated ones at these locations:
http://www.theandroidsoul.com/galaxy-on5-stock-firmware-2-86761/
http://firmwarefile.com/samsung-sm-g550fy
Secondly, why exactly do you need the boot.img, what problem do you think it'll solve? Is there any specific issue with your current ROM that you are trying to solve?
Yes, I did, but as you can see, those are for the SM-G550FY, not my SM-G550T1, and the camera and sound (including phone calls) don't work!
This makes me strongly suspect a driver issue, which could most likely be fixed by getting my hands on a copy of the factory boot.img.
Running Android 6.0.1 right now, compiled for the SM-G550FY, but I can't get it working.
Subsentient said:
Yes, I did, but as you can see, those are for the SM-G550FY, not my SM-G550T1, and the camera and sound (including phone calls) don't work!
This makes me strongly suspect a driver issue, which could most likely be fixed by getting my hands on a copy of the factory boot.img.
Running Android 6.0.1 right now, compiled for the SM-G550FY, but I can't get it working.
Click to expand...
Click to collapse
>> and the camera and sound (including phone calls) don't work!
Did they not work from day one or did they just stopped working after a passage of time or due to rooting or an OTA upgrade? If you didn't root or install a custom ROM, there is just no room for a software/driver issue to happen. Did you try wiping the cache partition and doing a factory reset?
EDIT
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
prahladyeri said:
>> and the camera and sound (including phone calls) don't work!
Did they not work from day one or did they just stopped working after a passage of time or due to rooting or an OTA upgrade? If you didn't root or install a custom ROM, there is just no room for a software/driver issue to happen. Did you try wiping the cache partition and doing a factory reset?
EDIT
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
Click to expand...
Click to collapse
I did install a custom ROM. None of the ROMs I can find support the camera or audio, not at all, ever.
Subsentient said:
I did install a custom ROM. None of the ROMs I can find support the camera or audio, not at all, ever.
Click to expand...
Click to collapse
There you are! I just cannot emphasize enough that why don't you guys backup your existing ROMs before flashing a new one? It hardly takes five minutes with CWM/TWRP recovery.
In any case, what happens when you flash the Indian ROM (5.1.1)? I guess that could be your only option.
Otherwise, you can put a request on the CyanogenMod thread for your particular Samsung model.
For future reference, perform device backups and all the research before flashing a custom ROM, not after the fact.
EDIT
If you can contact Samsung support, see if you can manage to get a stock ROM from them that you can flash using ODIN or something.
I contacted them already, they basically told me to go **** myself. The missing ROM is a result of bad parameters I accidentally put in to Heimdall/ODIN flasher. I wanted to back up, but ironically, my first attempt at installing TWRP is what destroyed my ROM.
I've downloaded the kernel source code from Samsung and I'll try compiling it myself. If I create a working boot.img, I'll post it here.
prahladyeri said:
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
Click to expand...
Click to collapse
boot.img is where the kernel is stored. I know, I decompressed it.
Subsentient said:
boot.img is where the kernel is stored. I know, I decompressed it.
Click to expand...
Click to collapse
You are right, boot.img has the monolithic kernel, however, a lot of drivers are available as separate modules in /system/lib/modules/, so you need to make sure that one is proper too.
In case of Samsung, I think it was probably a mistake to use TWRP/CWM to backup or flash ROMs since they don't tend to work as well with Samsung devices as ODIN/heimdall.
Yes, do post the result of your output once you are done, so its helpful to others.
prahladyeri said:
You are right, boot.img has the monolithic kernel, however, a lot of drivers are available as separate modules in /system/lib/modules/, so you need to make sure that one is proper too.
In case of Samsung, I think it was probably a mistake to use TWRP/CWM to backup or flash ROMs since they don't tend to work as well with Samsung devices as ODIN/heimdall.
Yes, do post the result of your output once you are done, so its helpful to others.
Click to expand...
Click to collapse
The kernel on this device does not have loadable module support. It's entirely monolithic. And, I'm having one hell of a time building a kernel this thing is willing to boot.
I really would love just to get a ROM from someone else's SM-G550T or SM-G550T1.
locked out by frp so i cant even turn on my sm-g550t1 so if you find the rom please let me know
bandtab said:
locked out by frp so i cant even turn on my sm-g550t1 so if you find the rom please let me know
Click to expand...
Click to collapse
I found a copy of the MetroPCS version: https://drive.google.com/file/d/0B_VtvT1vGmlsMjNnR2JvYzk0MFU/view?usp=sharing
You flash this with TWRP recovery, because those are tarballs and can't be flashed with Odin etc.
You flash TWRP for the On5 onto your recovery partition, and then restore from that.
Subsentient said:
I found a copy of the MetroPCS version: https://drive.google.com/file/d/0B_VtvT1vGmlsMjNnR2JvYzk0MFU/view?usp=sharing
You flash this with TWRP recovery, because those are tarballs and can't be flashed with Odin etc.
You flash TWRP for the On5 onto your recovery partition, and then restore from that.
Click to expand...
Click to collapse
thank you!
however, i can't install twrp to my recovery partition anymore because i got FRP locked, and i can't go into my settings to disable it now. so i think my only option really is via odin. i'll see what i can do with this though, thank you very much. i did have twrp on there before but after i got frp locked i can't go into recovery mode at all.
I've been losing my mind trying to make this work.
I think if I installed the stock recovery.img it may work, but I can't find it in the files you sent. Would you or anyone else be able to make a copy of it for me? I would be eternally indebted to whoever could.
If you want to go back to stock then use the official samsung software. I got a s6 tht a friend of mine straight up deleted the rom (idk how they managed that) and it wouldnt take to being flashed in odin. I put it in download mode and provided samsung smart something with all the info it wanted and it installed the stock rom and everything.
holydude92 said:
If you want to go back to stock then use the official samsung software. I got a s6 tht a friend of mine straight up deleted the rom (idk how they managed that) and it wouldnt take to being flashed in odin. I put it in download mode and provided samsung smart something with all the info it wanted and it installed the stock rom and everything.
Click to expand...
Click to collapse
unfortunately smart switch is incompatible with this model phone for the time being.
I got four of these from T-Mobile when we switched from Verizon ($120 for 4 lines). Three of our Verizon phones worked well on T-Mobile (after a few APN tweaks), but my dad's old Galaxy S3 barely worked at all, and when it did, only got Edge for data. So I set one of the On5 phones up for him.
Everything was going great. I put the TWRP recovery on it, rooted it, froze all the bloatware, and backed up/restored his apps from the old S3. However, he wanted me to see if I could restore all his SMS/MMS. I tried restoring that, and the stock Messaging app started FC'ing. I installed Textra, which worked (and saw the old messages), but he never received new texts (even though he could send). So I tried removing Messaging and Textra, as well as the SMS cache (which seemed to be in "Dialer Storage (Phone SMS/MMS). I removed it, but now I'm getting an error every five seconds about "com.android.phone" and can't seem to get rid of it. I tried to restore the dialer storage backup again, but it just seems to sit forever without installing.
I've looked far and wide for a stock ROM... hoping I could just put this mess behind me, but I'm surprised to find it is nowhere to be found.
My other alternative would be to fix the com.android.phone error, but nothing seems to fix it.
Which cynogenmod or any custom os suits for Samsung Galaxy on 5.......please tell me guys.....I am bored with this official os
I was really hoping to come back to this forum and finally see stock ODIN files for this phone. I really, really want to get rid of the MetroPCS ROM I used to fix it.
Has anyone been able to find it?

Can't We Just Port ROMS?

Here's my understanding of getting custom ROMS for your device by doing little to no work.
If SHARP isn't releasing the source code, can't we just go and flash a ported ROM zip?
First, you find a device with exactly the same specs as yours: Easiest way to do this is googling phones with the same processor.
https://www.kimovil.com/en/list-smartphones-by-processor/qualcomm-snapdragon-400-msm8926
Now, we press "Compare" and see if we can find a phone that has exactly the same camera and/or other components.
Let's assume that our cameras are going to work out-of-the-box, and sort it down.
https://forum.xda-developers.com/leon
Oh, lookie! A phone with pretty much exactly the same specs, and a community that is making/porting ROMS for it?
https://forum.xda-developers.com/leon/development/aosp-5-1-1-lg-leon-ms345-t3611883
Hey, an Android 5.0 ROM?
Now, knowing the information we know now. Can't we logically go into the (aosp-5-1-1-lg-leon.zip) and change around the MANIFEST values to make sure they point to the correct places? Can't we change around the configuration so it will install?
I don't know all too much about porting ROMS, but if it's as truly as easy as I'm explaining it, why haven't we done it yet?
(Feel free to correct me if I have any details wrong! I'm open to criticism!)
Quick Update:
To begin porting other ROMs, I am compiling an actual flashable ZIP (Stock ROM Image) to use as a base for the other images. I am getting my sources from here: http://www.sharpusa.com/Home/CustomerSupport/SharpCareCenter/MobileSupport/OpenSourceCode.aspx
And compiling them using AnyKernel. I will post flashable ROM.zip here when I am done.
updates
Rhioun said:
Quick Update:
To begin porting other ROMs, I am compiling an actual flashable ZIP (Stock ROM Image) to use as a base for the other images. I will post flashable ROM.zip here when I am done.
Click to expand...
Click to collapse
any progress?
Yes, I managed to make a flashable Aquos Sharp zip, based off Kernel Version S4081.
Currently, I'm attempting to get a ported ROM over.
I'll post the flashable Stock ROM though:
https://drive.google.com/file/d/0B0Fuy6MV4s8RU0NUMzRvLVp5WjA/view?usp=sharing
hi thanks for all very good news
can i flash with 305sh factory unlocked and rooted ?
No, that is a ROM for the 306SH.
The 305SH files are on a Japanese version of the Sharp website.. the links on these forums somewhere.
I can't test 305SH files, since I only own a 306SH.
If you could find the links for the 305SH system.img and boot.img, I could compile a flash able ROM for you.
Else, search around for a TWRP backup for the 305SH that you could restore on your phone.
Rhioun said:
Yes, I managed to make a flashable Aquos Sharp zip, based off Kernel Version S4081.
Currently, I'm attempting to get a ported ROM over.
I'll post the flashable Stock ROM though:
https://drive.google.com/file/d/0B0Fuy6MV4s8RU0NUMzRvLVp5WjA/view?usp=sharing
Click to expand...
Click to collapse
Can you paste a few pictures? THX
This seems like a cool idea. I'm willing to help with some testing if I can catch up. I remember getting this phone a few years back and due its low popularity I never thought it would get rooted. Now that it is I am at a loss of what to do. (I think I may have messed up a few things during my previous attempts at rooting, I can no longer access my security tab and my phone no longer detects the sim card.)
Any tips on how to get it safely backed up? (not that it's in great shape) I tried the TWRP tool and that gave me the option to backup "recovery" and "boot" (not that I really know what those are). I am not sure if it's actually making the files or where I should be storing them or how I would recover from them. I can see the files with ES file explorer but not with windows.
I really need to figure out what I'm doing XD
A TWRP Backup is a nandroid backup, in essential, it took a backup of the whole partitions. The partitions include names that identify them, such as boot, recovery, cache, system, etc.
It is just asking you to restore what partitions you want from your nandroid backup.
Let's say, you updated to a new TWRP version, but it is buggy or something, and you wish to switch back. Simply click "Restore" and select only "recovery" and it should flash your nandroid backup of the recovery partition to your existing recovery partition, and you'll have your old TWRP again.
Since you messed a few things up already, I'd suggest you go with the full nandroid backup, leave everything selected, and click "Restore".
Hopefully you made the backup before you began fiddling too much with your phone!
Rhioun
Any progress at work?
I've tried porting multiple ROMs, looking for compatibility. I've had zero success in getting one to boot up. Either the device goes to a black screen after the primary Sharp Boot Logo, or it boots up TWRP immediately after the Sharp Logo.
I saw how another guy on these forums also made a flashable room for the Sharp Aquos Crystal using Superr's Android Kitchen, so I believe my next trial-and-error phase will lie there. However, before I do that, I plan to use his flashable ROM as a base to port other ROMs, and see if I have any more luck.
Maybe my flashable ROM was invalid somehow.
Anywho, I highly recommend anyone who's interested in porting ROMs for this phone to begin to do so. We have plenty of materials scattered about, and DuckDuckGo is your friend.
Don't hesitate to try.
Thanks, and I'll hopefully keep this thread updated about my progress.
I've working on an Android 5.1 RR ROM from the LG Leon. I've (so far) replaced a majority of firmware files and updated symlinks, dumped vendor files, replaced a few .ko files, edited the build.prop and updater-script, configured the fstab from the ramdisk, copied over the kernel built for the Sharp Aquos Crystal, and rebuilt the boot.img. I customized the updater-script to include chameleon.img, modem.img, and persist.img (partitions that assist with connecting to Sharp, and some kernel configurations).
This has been a lot of tweaking to the ROM, and I tested it and was thoroughly disappointed when my device began to bootloop. (Goes to Sharp 1st boot screen, and reboot, go to 1st boot screen, reboot, etc.). TWRP won't boot when this happens, and holding Volume Down+Power will yield nothing. You can't even power off the device, troubling because the battery is (nigh impossible to remove) not meant to be removed. No matter, although, holding Power Up+Power puts the device in fastboot more (the led will hold solid white) and from there you can successfully power off the device and start up TWRP. Luckily, I made a TWRP backup before I tried flashing the ROM, so I was able to restore back to that. However, I edited a good deal of things, so I just need to know what is causing the bootloop, or maybe then ROM, even ported, is simply incompatible with our Crystals.
I looked around, and found XDA Forums that promote the use of logcat to figure out why a device isn't booting. I am going to try this next, and if it yield nothing, I will find another phone to try porting a ROM from. (We have a good deal with the same processor, shouldn't be too hard.)
Sent from my Aquos Crystal
Still patiently waiting for a ROM. I'm still holding on to this device just because i have been watching this thread and i have hope it will have run custom ROM one day.
Geodripp said:
This seems like a cool idea. I'm willing to help with some testing if I can catch up. I remember getting this phone a few years back and due its low popularity I never thought it would get rooted. Now that it is I am at a loss of what to do. (I think I may have messed up a few things during my previous attempts at rooting, I can no longer access my security tab and my phone no longer detects the sim card.)
Any tips on how to get it safely backed up? (not that it's in great shape) I tried the TWRP tool and that gave me the option to backup "recovery" and "boot" (not that I really know what those are). I am not sure if it's actually making the files or where I should be storing them or how I would recover from them. I can see the files with ES file explorer but not with windows.
I really need to figure out what I'm doing XD
Click to expand...
Click to collapse
Sorry for my reply earlier, I skimmed your post and thought you were trying to RESTORE a backup since your phone was in such terrible condition.
Just to be clear, unless the 306SH gets a new recovery, there is usually no reason to backup "recovery" as that is just backing up your current TWRP.
(Usually used in case a new TWRP version is buggy and you want to restore back to your old one)
However, certainly backup boot as that contains all kernel files and ramdisk settings, and without it, the phone would not 'boot'.
Just backup everything. Leave everything checked. (Unless you're a stickler for space.)
I recently made a flashable Aquos Crystal Stock ROM (seems camera and data and everything work fine) with no carrier-specific apps installed.
I can supply you with that, or, if you'd prefer, I can make a TWRP backup of a factory default 306SH phone and send it your way,
for either of them, just put one on your SD Card and if TWRP Backup, press "restore" and select the backup I provided you with, or for flashable ROM, press "flash" and navigate to it.
There is really no difference between them.
However, some things to note if you do want me to supply you with a backup.
It has SUPERSU preset installed. (I can't change this. It made its way into about everything.) So, if you want to use apps like (Android Pay, Applike), you will have to open SuperSU, and click "UNRoot" and take it off.
I have fixed Kitkat 3rd Party SD Card write privileges, (bug in android 4), and that fix has also seemingly worked itself into my factory default as well. (No disadvantages to it, although..)
Both of these files will fix your issues and supply you with a factory default environment.
If you, or anyone else in this forum would like a factory default TWRP backup, or flashable zip, feel free to say so.
I'm at a standstill. I've gotten my hands on a niche version of CyanogenMod 11, and replacing some vital files, I got it to boot on Sharp Aquos Crystal.
However, files I replaced were apk's, system ui, libs, and breaks some (most) functionality of Cyan 11.
I need a boot log tool of sorts so I can replace files, do a boot log, figure out what is causing a boot loop, or forever boot, and fix it.
I looked online, and everyone is all about the logcat. However, I tried this and it says "waiting for device".
So the device does not reach booting adb daemon.
I need a tool that will save a boot log.txt to the SD card at boot, (I imagine init.rc ) so that I may debug the ROM and then use the working ROM (and logging tool) to port more recent ROMs.
Anyone know of any such logging facility/tool?
keep it up
Does anyone know of a boot debugging/logging tool? There must be one. Please reply to this forum or PM me about one, as I do need one.
It is vital to building a ROM, rather than stupidly copy-pasting and blind guessing playing at Roulette trying to get the ROM to work.
Please. I need one.

Create a flashable zip with stock firmware

I'm having a hard time finding anything on this topic that isn't dated before 2015.
Anyone have updated steps? From the stock firmware extracting, swapping out stock recovery with twrp?
I think if you look at various custom ROMS you will find that components can be switched out, at least on the 930S, and I suspect it would be similar with the Edge.
Primarily you'd need to make sure the components are compatible with your hardware, and research into the compatibility with each other, as well. As you research/search around you'll find folks who replace BL's, etc, and experiment around.
The ROM's unpack into a set of 5 smaller packets. There you can replace one with another, given the above considerations.
Seems Odin is the current software suite that is the 'schiz' to mix/flash the phone.
Good luck
JeffDC said:
I think if you look at various custom ROMS you will find that components can be switched out, at least on the 930S, and I suspect it would be similar with the Edge.
Primarily you'd need to make sure the components are compatible with your hardware, and research into the compatibility with each other, as well. As you research/search around you'll find folks who replace BL's, etc, and experiment around.
The ROM's unpack into a set of 5 smaller packets. There you can replace one with another, given the above considerations.
Seems Odin is the current software suite that is the 'schiz' to mix/flash the phone.
Good luck
Click to expand...
Click to collapse
I was hoping to use twrp instead of odin.
TWRP will do. If you are thinking of rolling your own, read up well. So the following is assuming you already have TWRP.
TWRP is pretty straight forward, once you have selected the ROM, or items. Make sure in your phone settings, Developer options, you have unlock checked, if that exists on your setup, and adb options as well, JIC. Side-load the ROM, I think best onto an SD card, along with the SU version, or Majisk you wish to use.
Typically, if you are flashing, say, a full ROM package, and you already have an OS on your phone, you go to wipe/advance wipe, and select cache/dalvik, system, data, and cache.. and wipe them.
Next, use the back button to the main menu, go to Install, and select the ROM package you side loaded onto your phone, and then flash. Since you already have TWRP (?). Once the flash is done, use the back button again and select your rooting software package, flash, and when done, boot to system.
There are volumes of information on how to do this, and given the bit more complex nature of the S7, say over OnePlus One, LG3, it will likely take some reading. At least it did for me before I became comfortable enough to experiment with my newer S7.
Good luck.
Thanks Jeff. I have lots of reading
JeffDC said:
TWRP will do. If you are thinking of rolling your own, read up well. So the following is assuming you already have TWRP.
TWRP is pretty straight forward, once you have selected the ROM, or items. Make sure in your phone settings, Developer options, you have unlock checked, if that exists on your setup, and adb options as well, JIC. Side-load the ROM, I think best onto an SD card, along with the SU version, or Majisk you wish to use.
Typically, if you are flashing, say, a full ROM package, and you already have an OS on your phone, you go to wipe/advance wipe, and select cache/dalvik, system, data, and cache.. and wipe them.
Next, use the back button to the main menu, go to Install, and select the ROM package you side loaded onto your phone, and then flash. Since you already have TWRP (?). Once the flash is done, use the back button again and select your rooting software package, flash, and when done, boot to system.
There are volumes of information on how to do this, and given the bit more complex nature of the S7, say over OnePlus One, LG3, it will likely take some reading. At least it did for me before I became comfortable enough to experiment with my newer S7.
Good luck.
Click to expand...
Click to collapse
I'm actually trying to find out how to modify the BL,AP,CSC files from the stock firmware and put it into a zip to flash in twrp. Just so I can try out other roms then switch to stock without using a computer
JeffDC said:
TWRP will do. If you are thinking of rolling your own, read up well. So the following is assuming you already have TWRP.
TWRP is pretty straight forward, once you have selected the ROM, or items. Make sure in your phone settings, Developer options, you have unlock checked, if that exists on your setup, and adb options as well, JIC. Side-load the ROM, I think best onto an SD card, along with the SU version, or Majisk you wish to use.
Typically, if you are flashing, say, a full ROM package, and you already have an OS on your phone, you go to wipe/advance wipe, and select cache/dalvik, system, data, and cache.. and wipe them.
Next, use the back button to the main menu, go to Install, and select the ROM package you side loaded onto your phone, and then flash. Since you already have TWRP (?). Once the flash is done, use the back button again and select your rooting software package, flash, and when done, boot to system.
There are volumes of information on how to do this, and given the bit more complex nature of the S7, say over OnePlus One, LG3, it will likely take some reading. At least it did for me before I became comfortable enough to experiment with my newer S7.
Good luck.
Click to expand...
Click to collapse
Do you know where I can find some code to make a zip that can format everything but sd card
b_rad_1983 said:
Do you know where I can find some code to make a zip that can format everything but sd card
Click to expand...
Click to collapse
You need a app that can mark/roll .tar compressed files, to package a ROM, such as WinZip, etc. As far as formatting everything, Odin will functionally do that for you, TWRP once you've installed that, or straight adb commands. A good number of choices.
I found that the scripting language is edify
I tried to add apps to a update.zip from a tutorial I found online but all it did was cause the apps to crash.
I used zipme app. Picked all my apps then it made the zip.
Has anyone tried this way?

Categories

Resources