Related
I delete framework-res apk in system/framework with root explorer carelessly,and cannot turn on my phone (s5830)How can I turn on my phone again?(I have a backup up off the apk)
Can you go to download mode or recovery mode?
Sent from my GT-S5830 using XDA
do you have any backup of your rom? you have to get someone to make you a flashable zip that install the framework from clockwork mode
Marco Chung said:
Can you go to download mode or recovery mode?
Sent from my GT-S5830 using XDA
Click to expand...
Click to collapse
yes , I can
If you can upload a copy of that backup, I'll throw together an update package to restore the framework-res.apk file...
And,comes another guide from me.... I was actually extracting a stock firmware and this came into my mind
Ok,I made this guide since the process of extracting firmware is a bit confusing sometimes.So,lets start with it
What you would need:
1.7zip or any other zip utility
2.Stock Firmware
3.MagicISO
4.Nothing else
Tutorial:
1.Start off by downloading a stock firmware,for this guide,we assume its DDKQ8
2.You will get 2 files, S5830DDKQ8_<bla bla>.tar.md5 and SS_DL.dll
3.Ignore the second file,we only need the first file which has an extension of .md5
4.Now its not possible to extract the file with the current extension.
5.So,rename the file S5830DDKQ8_<bla bla>.tar.md5 to S5830DDKQ8_<bla bla>.tar
6.Now,the file is extractable,so extract it.
7.You will get approx. 9 files: arm11 boot,amss,csc.rfs and various others.
8.Delete all the files except boot.img and system.rfs.These are the only files we need.
9.Now,using MagicISO,open up system.rfs and extract it.
10.Make a new folder named Rom_working
11.Now,move the boot.img there
12.Make a folder called system
13.Move all contents of system.rfs to this this folder.
14.Now all you need is a META-INF folder to complete the rom.(Unless you messed up)
Thats it! Pretty easy huh,this is something really basic,but a few people get confused on extracting it anyway.Its just meant to be a basic guides for those people.If you want to get more info on making a rom,refer this guide which i wrote a few months ago.Hope this helped you guys out.
NOTE: I am not responsible if you mess up your phone or w/e happens to it.Btw,<bla bla> stands for the rest of the filename
thanks for that,, i was woundering how it was done,, i ended up using a nandroid backup with kitchen to make my own lol
How can I root the rom??
Sent from my GT-S5830 using xda premium
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
You can get a META-INF folder by creating one yourself
I don't understand your 2nd question though
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Take su bin file from a rooted rom and insert it in your rom.Done.
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
Make one yourself,refer other stock roms for the path,then get the update binaries and script from BlackHawk (if stock ONLY).
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
modolheula said:
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Kernel is in boot.img. If u want to change kernel, you should change the boot.img
Sent from my fingers to your face,take it or leave it.
okay, I'm trying to find out about the boot.img .... thanks for sharing knowledge
Sent from my GT-S5830 using xda premium
Well, on Linux I usually do this: http://forum.xda-developers.com/showpost.php?p=28933492&postcount=3
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Millenium3 said:
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Click to expand...
Click to collapse
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Y U No like cwm backups ?
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Thanks i will try and post if i have any problems
madman said:
Y U No like cwm backups ?
Click to expand...
Click to collapse
I want to flash the rom in another phone... or maybe it works by copying the backup files cwm made into the another phone? But anyways i tried to restore the stock rom once but it failed.. but thanx
PS: i actually thought the thread was the guide for my question
Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Millenium3 said:
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Click to expand...
Click to collapse
For Odin flash,refer freeyourandroid.com.
For CWM flash,take updater script and binary from Blackhawk and put it in your rom
Sent from the year 3000 using a SGA where sheep's are not present.
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Download root file with su and extract it you will find the files you need there.
Sent from my GT-S5830 using xda app-developers app
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
TechNoJerky said:
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
Click to expand...
Click to collapse
Logcat or it didn't happen
Insert witty sentence here
I have problems in installing part of **FeraLab*** ICS v1 heres the thread http://forum.xda-developers.com/showpost.php?p=25331067&postcount=2452
Please help...
i did was:
-flash the kernel *done
-go to CWM 5.5 and format all partitions and mount all partitions...install it and reboot ***problem part..
-Installing ROM **not done
-Reboot and done **not done
the problem part is what id dont know how to do...its messed up.. or something.. please help
did the rom download properly. check again if its downloaded fully.
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Gooperz06 said:
Yes it downloaded fully.. I dont know why it does not show up in CMW?
When I check the downloaded fule its a .tar not a .zip.. I tried to get to zip but it just takes erroe
Sent from my X10S using my hand
Click to expand...
Click to collapse
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
dunc4n88 said:
On the computer open up the .tar file and see if the .zip file of the rom is in there the TAR extension is a compressed file which has other files in it
Sent from my X10i using xda premium
Click to expand...
Click to collapse
yeah theres a zip file in there but theres a kernel in the .tar too..
THeLogiC said:
so the rom doesnt show up in cwm?
make sure the extension is .zip
also check if its inside some folder and not directly in root directory of sdcard
Click to expand...
Click to collapse
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Gooperz06 said:
inside the .tar theres a .zip called update_es209ra_ICS_alpha1_CWM5 and a kernel wich is a SIN file thats it..maybe i need to flash the .zip... and what will i do to tha kernel?
Click to expand...
Click to collapse
you need to flash zip file
THeLogiC said:
you need to flash zip file
Click to expand...
Click to collapse
and what will i do to the kernel.sin?
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
THeLogiC said:
ignore that.
just flash ferakernel
boot into cwm and install the zip file.
Click to expand...
Click to collapse
ok..tnx again for ur continues help...
will my current ROM will affect the new ROM... my current is X10S ROM
Gooperz06 said:
will my current ROM will affect the new ROM... my current is X10S ROM
Click to expand...
Click to collapse
not really.
make sure to wipe data before installing feraICS
Hi All
How can flash kernel.img via CWM,how to convert the .img to .zip for flash in recovery
Can body crate a falshble-kernel.zip for me...????????
PLZ help me....
TNX
Android:CM 4.1.2
XPERIA MINI ST15
UNLOCKED BOOTLOADER
Sent from my Xperia™ Mini using Tapatalk 2
First, turn off your phone.
-turn on it.
-turn off it.
-turn on it.
-turn off it.
-turn on it.
-turn off it.
-turn on it.
-turn off it.
-turn on it.
Done.
If the battery is over.
Recharge it and do all the step again..
Farshid-Iran said:
Hi All
How can flash kernel.img via CWM,how to convert the .img to .zip for flash in recovery
Can body crate a falshble-kernel.zip for me...????????
PLZ help me....
TNX
Android:CM 4.1.2
XPERIA MINI ST15
UNLOCKED BOOTLOADER
Sent from my Xperia™ Mini using Tapatalk 2
Click to expand...
Click to collapse
It can't be done...
Sent from my Xperia Neo V using Tapatalk 2
1.. Download the kernel
file to your SD Card. It
should be in *.zip or *.rar or *.7z extension.
2. Extract the file via
Root Explorer.
3. You'll get a "boot.img"
file after the extraction
is completed. This file IS the main kernel.
4. Now create a folder in your SD Card to be
shown as /clockworkmod/backup/*KERNEL NAME*. Replace ''KERNEL NAME'' to the name of the kernel you are flashing.
5. Move boot.img file you got after extraction to "/sdcard/
clockworkmod/backup/
NAME/*HERE*. (the folder you've created- in
step#4).
6. View the details of
that boot.img file. (long
tap on file>Details- on
root explorer).
7. Copy the MD SUM you
got in file details.
8. Now there, create a
file and name it as nandroid.md5 . Open
nandroid.md5 file you
have created in a TEXT
EDITOR and paste that
md5 sum you've
copied ..and save ur
nandroid.md5 file.
Now there will be 2 files
in /sdcard/clockworkmod/backup/NAME/*HERE*:
--BOOT.IMG
--NANDROID.MD5
make sure their is no
other file except these two (boot.img, nandroid.md5)
9. Boot in CWM recovery.
10. Mount/System.
11. Select "backup and
restores''> advanced
restore.
12. Choose ur kernel file.
13. Select restore boot> comfirm restore.
14. When restore done,
goto ADVANCED and fix
permissions.
15. Finally, click on
REBOOT SYSTEM NOW.
Phone will restart and
1st boot will take some
Sent from my WT19i using XDA Premium 4 mobile app
yazan.enbawe said:
1.. Download the kernel
file to your SD Card. It
should be in *.zip or *.rar or *.7z extension.
2. Extract the file via
Root Explorer.
3. You'll get a "boot.img"
file after the extraction
is completed. This file IS the main kernel.
4. Now create a folder in your SD Card to be
shown as /clockworkmod/backup/*KERNEL NAME*. Replace ''KERNEL NAME'' to the name of the kernel you are flashing.
5. Move boot.img file you got after extraction to "/sdcard/
clockworkmod/backup/
NAME/*HERE*. (the folder you've created- in
step#4).
6. View the details of
that boot.img file. (long
tap on file>Details- on
root explorer).
7. Copy the MD SUM you
got in file details.
8. Now there, create a
file and name it as nandroid.md5 . Open
nandroid.md5 file you
have created in a TEXT
EDITOR and paste that
md5 sum you've
copied ..and save ur
nandroid.md5 file.
Now there will be 2 files
in /sdcard/clockworkmod/backup/NAME/*HERE*:
--BOOT.IMG
--NANDROID.MD5
make sure their is no
other file except these two (boot.img, nandroid.md5)
9. Boot in CWM recovery.
10. Mount/System.
11. Select "backup and
restores''> advanced
restore.
12. Choose ur kernel file.
13. Select restore boot> comfirm restore.
14. When restore done,
goto ADVANCED and fix
permissions.
15. Finally, click on
REBOOT SYSTEM NOW.
Phone will restart and
1st boot will take some
Sent from my WT19i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I guess that's not working too, as restoring a nandroid backup on our devices doesn't restore the kernel, and it's even technically impossible. I guess that can't work
Sent from my Nexus 4 running Android 4.4
mihahn said:
I guess that's not working too, as restoring a nandroid backup on our devices doesn't restore the kernel, and it's even technically impossible. I guess that can't work
Sent from my Nexus 4 running Android 4.4
Click to expand...
Click to collapse
I didn't try it but here is the link
http://forum.xda-developers.com/showthread.php?t=1991168
Sent from my WT19i using XDA Premium 4 mobile app
yazan.enbawe said:
I didn't try it but here is the link
http://forum.xda-developers.com/showthread.php?t=1991168
Sent from my WT19i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes on Samsung galaxy devices it could work (I guess it should be working if there's this guide) because they have a separate kernel/recovery partition. On our xperia devices the recovery is installed in the kernel and you can't flash another kernel from your running kernel. So on xperia devices this won't work I guess
Sent from my Nexus 4 running Android 4.4
tnx
TNX all for help me...
mihahn said:
Yes on Samsung galaxy devices it could work (I guess it should be working if there's this guide) because they have a separate kernel/recovery partition. On our xperia devices the recovery is installed in the kernel and you can't flash another kernel from your running kernel. So on xperia devices this won't work I guess
Sent from my Nexus 4 running Android 4.4
Click to expand...
Click to collapse
But if you have the kernel in zip format you can install it from recovery.. My friend have xperia sp and he flashed several kernal from recovery. .... But the problem is to get a flashable recovery... I didn't find anyone for my Mobile
Sent from my WT19i using XDA Premium 4 mobile app
yazan.enbawe said:
But if you have the kernel in zip format you can install it from recovery.. My friend have xperia sp and he flashed several kernal from recovery. .... But the problem is to get a flashable recovery... I didn't find anyone for my Mobile
Sent from my WT19i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Maybe it works on newer xperia devices, but not on our devices
Sent from my Nexus 4 running Android 4.4
mihahn said:
Maybe it works on newer xperia devices, but not on our devices
Sent from my Nexus 4 running Android 4.4
Click to expand...
Click to collapse
I take a nandroid backup and change the kernal if I restore it the kernal will back or what??
Sent from my WT19i using XDA Premium 4 mobile app
yazan.enbawe said:
I take a nandroid backup and change the kernal if I restore it the kernal will back or what??
Sent from my WT19i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you restore the backup it won't restore the kernel. Flash the kernel for the rom you restore first and restore it then
Sent from my Nexus 4 running Android 4.4
I think this question has been repeated upteeeenth time
YOU CANNOT FLASH KERNEL VIA RECOVERY ON XPERIA 2011 DEVICES
Reason #1 : We don't have a recovery partition .Other devices boot from recovery partition which allows to flash boot partition .
Reason #2 : Our recovery lies in boot partition. You cant flash kernels while they are running .
Depending on the recovery used ,the flashing will fail or the device will be hard bricked .
Only way to flash kernels on Xperia 2011 lineup is via fastboot .Period . No compromise .
Don't apply methods for other devices on 2011 lineup without prior knowledge.
mihahn said:
If you restore the backup it won't restore the kernel. Flash the kernel for the rom you restore first and restore it then
Sent from my Nexus 4 running Android 4.4
Click to expand...
Click to collapse
So you till me that I cant flash a kernel in any way without a pc
But I don't have pc right now... I'm stuck with my recent Kernel
Sent from my WT19i using XDA Premium 4 mobile app
yazan.enbawe said:
So you till me that I cant flash a kernel in any way without a pc
But I don't have pc right now... I'm stuck with my recent Kernel
Sent from my WT19i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's it. The only way is fastboot via your PC
Sent from my Nexus 4 running Android 4.4
mihahn said:
That's it. The only way is fastboot via your PC
Sent from my Nexus 4 running Android 4.4
Click to expand...
Click to collapse
Can you help me with this problem my friend.
When I was on stock Rom I mack a nandroid bahck up then I changed the Rom ond the kernal.... yesterday I flashed the stock kernal then restored the the back up.... Look at the picture to see what happened :what:
Sent from my WT19i using XDA Premium 4 mobile app
You have corrupted backup or you deleted some file off the nandroid backup ..
karandpr said:
You have corrupted backup or you deleted some file off the nandroid backup ..
Click to expand...
Click to collapse
No I didn't do any thing.... But when it failed to restore I opened the nandroid.md5 file of the backup and check the md5 and I notice a different in the system md5...
Sent from my WT19i using XDA Premium 4 mobile app
The md5 of the system
Sent from my WT19i using XDA Premium 4 mobile app
..
Hi all! today i got this problem with TWRP. never seen this bug before. i tried flash a zip file from internal card or sdcard but have same result. pls help me how to fix it. now i cant install any zip file from recovery.
Srr for my bad english
romano19 said:
Hi all! today i got this problem with TWRP. never seen this bug before. i tried flash a zip file from internal card or sdcard but have same result. pls help me how to fix it. now i cant install any zip file from recovery.
Srr for my bad english
Click to expand...
Click to collapse
TWRP can copy error logs to your sdcard. If you do so, you can see the exact error in your zip files.
My guess is that your zip files were re-compressed using some 3rd party software like WinZip/WinRAR, or maybe the build-in Windows zip compressor. Hence these are probably missing something in the zip file-header that TWRP is looking for.
I faced a similar issue when I used the WindowsXP built in zip compressor. I would advice you to unzip your files, and re-zip them using Info-Zip.
http://www.info-zip.org/
I was able to flash my zip files after I re-compressed them using the command line zip tools from Info-Zip.
romano19 said:
Hi all! today i got this problem with TWRP. never seen this bug before. i tried flash a zip file from internal card or sdcard but have same result. pls help me how to fix it. now i cant install any zip file from recovery.
Srr for my bad english
Click to expand...
Click to collapse
Just downloas the ZIP a 2nd time and try to reflash it.The zip can be corrupted or not entirely downloaded.
Sent from my GT-I9300 using XDA Free mobile app
KeTuRr74 said:
Just downloas the ZIP a 2nd time and try to reflash it.The zip can be corrupted or not entirely downloaded.
Sent from my GT-I9300 using XDA Free mobile app
Click to expand...
Click to collapse
thank you. I have solved this problem. I reset the settings of TWRP. uncheck Zip signature verifying
romano19 said:
thank you. I have solved this problem. I reset the settings of TWRP. uncheck Zip signature verifying
Click to expand...
Click to collapse
Okay,good
Sent from my GT-I9300 using XDA Free mobile app