From Cyanogenmod to original google rom - Nexus 7 (2013) General

Hello, Can somebody help me, how to return from Cyanogenmod to original google rom on Nexus 7 (2013).
Thanks for help.

You should of made a backup of your original rom. If so just back up it in recovery
If not connect it to the computer and use the nexus 7 toolkit to flash stock ROM ( its like that for the nexus 4 ) so I'm guessing itd be the Same
J
Sent from my C6833 using xda app-developers app

Very easy. Go here to download the stock ROM. There's a "flash-all.bat" batch file within that will do a full wipe, restoring the stock ROM as well as the stock recovery. This doesn't relock the bootloader, so afterward you can reflash a custom recovery if you so choose.
https://developers.google.com/android/nexus/images#razor

But, Have I to install JDK, Android SDK to do this?
Or just plug-in device to PC and use .bat ?

jezzersky said:
But, Have I to install JDK, Android SDK to do this?
Or just plug-in device to PC and use .bat ?
Click to expand...
Click to collapse
No need for the JDK or SDK. You'll need something like 7-Zip or WinRAR to extract it the file, then extract the file again. But after that you'll be able to run the batch file from its own folder; it'll have everything it needs.

Related

[Q] How to load system.img?

I've compiled and installed a modded kernel. I'm trying to figure out how to load AOSP compiled binaries. I've tried using adb flash_image system /sdcard/system.img, but I get "failed with error: 6." Does anyone know what this means or how to load system.img on a Galaxy Tab from VZW? I'm working on reactivating the phone dialer...
the galaxy tab has nothing like fastboot, so its pretty hard to flash it! but u can try to overwrite a stock factory.rfs with the files from ur system.img and flash via odin!
That sounds like a great idea. However, I'm trying to figure out how to put the vendor specific drivers in the system.img, which is mountable and editable. If I could get my hands on an original stock system.img, that'd be awesome.
Sent from my SCH-I800 using XDA App
As far as I know, the Tab doesn't use mtd file system, so I don't think it uses .img extensions.
Not positive though. Somebody correct me if I'm wrong.
I know for a fact that img files are created as the output of an Android system build. This img can be broken apart with standard Linux tools. I've already done this. I've also mounted factoryfs.rfs to a local directory, which allows me to move apps to and from the file system.
Sent from my SCH-I800 using XDA App
If you have a md5 of it too, you should be able to flash it via an advanced restore in CWM recovery. That is if it is only the data that is flashed to /system. otherwise I would suggest converting it to a .fs or .tar and flash via heimdall or Odin (respectively).
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
http://android-dls.com/wiki/index.p...cking.2C_Editing.2C_and_Re-Packing_the_images
Landroid said:
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
Click to expand...
Click to collapse
thanks! this was very easy to use

[Q] I need help unzipping files!

Every time I get a new NAND build and try to unzipping it, it says that its an "Unknown compression method" I need some help! Thank you!
Use 7zip. Keep in mind you don't have to extract roms meant for cwm!
Ok the NAND I'm trying to unzip is MDJ's CyanogenMod 2.6 A2SD+ and it wont work. But when I use the 2.5 version the unzip works fine.
Again: use 7zip. If that still doesn't work, download the rom again because it's probably corrupt.
I downloaded it 5 times already and still nothing!
Then you probably still aren't using 7zip?
As StephanV said - USE 7zip!!!
There was recently a change to the compression algorithm they use, so all of a sudden you can't open zip files made with 7zip unless you use the most up-to-date version.
so download newest version of 7zip is all i need to do? trying to unzip eclipse....
Redownloaded 7zip.... No luck with eclipse.... Wth am I doing wrong here?
Sent from my Motorola Electrify using XDA

[Q] can´t install calculator

I am trying to install stock calculator from orange froyo to CyanogenMod 7 Nightly but every time i try to install it I get:application not installed
how can i get it in the phone?
Dude you can't do it, there is no such way that you can do a normal install with a copied HTC apk from rom. As they are not intended to install like normal apk. Besides you have to copy it to system/app. And you can't do it straight. You should be rooted. Also there is a support file in the folder of original file( dnt remb its name) which is required for its working. You have to copy both of them in system/app.
Repeat the question in threads like" android app development or some thing related to apps or developments, to get a procedure based fast replay.
Sent from my HTC Wildfire using XDA App
Cm7 i think comes with a calculator!!! Unpack zip on PC before install then in unzipped file goto system app and delete calculator then copy the apk your trying to install into same app folder then rezip all unzipped files making sure you don't include original zip package and make sure you have named it same as original too ending in (.zip) then flash as normal,should work if not then it must be the apk is at error.
Sent from my HTC Wildfire using XDA App

Where can i download .zip roms for Nexus 7?

I want to install more roms with multirom, but if i go to google nexus official website for downloading android 4.3 for example for my Nexus 7 Nakasig, it downloads a .tgz file
inside that .tgz file there´s a .zip and other files.
If i just copy that .zip file into my nexus 7 , and try to install that rom using multirom, it fails.
what can i do? thx
it gives me this error:
Failed to find entry META-INF /com/google/android/updater-script in ZIP file THEFILEIUPLOADED
oskuro83 said:
I want to install more roms with multirom, but if i go to google nexus official website for downloading android 4.3 for example for my Nexus 7 Nakasig, it downloads a .tgz file
inside that .tgz file there´s a .zip and other files.
If i just copy that .zip file into my nexus 7 , and try to install that rom using multirom, it fails.
what can i do? thx
it gives me this error:
Failed to find entry META-INF /com/google/android/updater-script in ZIP file THEFILEIUPLOADED
Click to expand...
Click to collapse
1) You are trying to flash a factory image with a custom recovery. Factory images can only be flashed with fastboot.
2) This is the forum for Nexus 7(2013) razor. You will probably find more help when the mods move this to the proper forum.
Moved to the correct forum.

Unroot & Re-pack firmware?

I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.
wee2000 said:
I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.
Click to expand...
Click to collapse
Your best bet is to post this question within the following Q&A thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
ok done, thx 4 the info
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
wee2000 said:
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
Click to expand...
Click to collapse
Should we search for this firmware or you can provide a link to its thread?
the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/
wee2000 said:
the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/
Click to expand...
Click to collapse
Generally, if it's 6.0.1 and rooted systemlessly, you need to replace boot.img with a stock one and remove SuperSU app from system.img.
This ROM intended to be flashed from TWRP, so it's an ext4 image.
You can mount it to a linux system on your PC and remove anything you want.
I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.
wee2000 said:
I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.
Click to expand...
Click to collapse
Ok, here' a simpler way:
1. Make changes on one phone.
2. Make a TWRP backup of boot and system partitions.
3. Restore this backup on other phones. They must have TWRP installed, a 6.0.1 bootloader and modem.
You'll have to rename backup's folder path and to wipe cache/data/system before restore.
can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..
wee2000 said:
can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..
Click to expand...
Click to collapse
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.
thx so much, already passed all units to the buyer. ill try that on next batch restock, may iknow if there's a way to get the service menu shortcode *#0*# to work again? This rom doesn't has the service menu.
bbsc said:
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.
Click to expand...
Click to collapse
I've replaced the updater-script in the zip file, but supersu is still there

Categories

Resources