???Yaffsing??? - Folio 100 General

How to yaffs custom rom? I'm porting rom(only lerning but if I port it successfully, I'll post it) and when I yaffs it with mkyaffs2image, I get boot loop and adb said that system can't find sh command that I already included. I know that mkyaffs2image command don't work and that I included sh command because when I unyaffs CyanogenMod and yaffs it, I get same problem. What to do?????? I know that I can compile mkyaffs2image with kernel but I don't have kernel source for that kernel and is it problem in that? All the time I'm trying with 64 version of command and do I have to try with 128 version??
All that I know is that I can't boot system when I yaffs my custom rom. Any help is appreciated.
- - - - - - - - - - - - - - - - - - - - - - - - ~~~~~~~~~~~~~~~~~~~~~ - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - | - -!!!Thank's in advice!!!- - |- - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - |- - - - - - - - - - - - - - - - - - - - |- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - |- - - - - - - - - and - - - - - - - - - |- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - |- - - - - - - - - - - - - - - - - - - - - - |- - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - | ~Sorry if I post in wrong thread~ | - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - ~~~~~~~~~~~~~~~~~~~~~~~~~ - - - - - - - - - - - - - - - - - - - -
!!!!!!!!!!DON'T FORGET THAT IF YOU HELP ME YOU MIGHT WILL GET NEW CUSTOM ROM!!!!!!!!!

I think the folio does not use the yaffs filesystem, at least not for the system.img. Ext3 is used instead.

How to pack my custom rom into system.img?
Sent from my IDEOS S7 Slim using XDA App

Code:
make_ext4fs -l 268435456 -a system outputpath/system.img path_to_your_rom/system
€: OK, filesystem is ext4 instead of ext3

If you typed "make" using official Android way (with repo), it should create a "system.img" in ext4.

Kervala said:
If you typed "make" using official Android way (with repo), it should create a "system.img" in ext4.
Click to expand...
Click to collapse
Really? I allways repack my system folder in CM because it used an incorrect filesystem here. Maybe that changed at some point.
Anyway, I think he tries to pack a ported rom, not a compiled one.

mblaster said:
Really? I allways repack my system folder in CM because it used an incorrect filesystem here. Maybe that changed at some point.
Anyway, I think he tries to pack a ported rom, not a compiled one.
Click to expand...
Click to collapse
In fact, with the last git version, it's generating an ext4 system.img and you'll only have to edit some .mk files if you want to create a ext2 one. I flashed the automatically generated ext4 system.img with fastboot and it worked fine
See http://zhougaofeng.ixiezi.com/2011/01/05/errors-when-building-android-gingerbread-for-x86/ for changes to enable ext2
ext2 seems to be needed with kernels used by Foliomod.

Kervala said:
In fact, with the last git version, it's generating an ext4 system.img and you'll only have to edit some .mk files if you want to create a ext2 one. I flashed the automatically generated ext4 system.img with fastboot and it worked fine
See http://zhougaofeng.ixiezi.com/2011/01/05/errors-when-building-android-gingerbread-for-x86/ for changes to enable ext2
ext2 seems to be needed with kernels used by Foliomod.
Click to expand...
Click to collapse
Ah, thats why CM7 can't be flashed with the stock recovery?!?
Thanks for the info.

mblaster said:
Ah, thats why CM7 can't be flashed with the stock recovery?!?
Thanks for the info.
Click to expand...
Click to collapse
Yes
You're welcome

Thank you very much!!!

I get error:
make_ext4fs:command not found

Sorry for double post.

Jon2555 said:
Sorry for double post.
Click to expand...
Click to collapse
Tripple post
What linux distro are you using?
€: Forget it, it's in the tools cyanogenmod compiles. Try this file: http://dl.dropbox.com/u/27546176/make_ext4fs

Thank's, it WORKS!!!

In ubuntu or any debian (like):
[sudo] mkfs with parameters or
[sudo] mkfs.ext4 [pars] or
[sudo] mount -o loopback -t ext4 existing_device virtual_path and later use simple copy with eg. mc
m32

Related

Xperia SP System and Internal storage wipe and no recovery

Hey guys! First time posting there.
Few hours ago i full wiped my Xperia SP with TWRP. I checked all boxes in Advanced WIPE.
What Can i do now?
After connecting to PC it turns on and stuck with DoomKernel screen.
Flashtool log:
Code:
14/023/2014 15:23:39 - INFO - Flashtool Version 0.9.18.3 built on 10-20-2014 08:00:00
14/023/2014 15:23:39 - INFO - Executing search strategies to find proxy selector
14/023/2014 15:23:39 - INFO - No proxy found for IE. Trying next one
14/023/2014 15:23:39 - INFO - Proxy found for firefox
14/023/2014 15:23:39 - INFO - Syncing devices from github
14/023/2014 15:23:39 - INFO - Scanning devices folder for changes.
14/023/2014 15:23:46 - INFO - Changes have been found. Doing a hard reset (removing user modifications).
14/023/2014 15:23:47 - INFO - Pulling changes from github.
14/023/2014 15:23:47 - INFO - Devices sync finished.
14/023/2014 15:23:52 - INFO - Device connected with USB debugging on
14/023/2014 15:23:52 - ERROR - Cannot identify your device.
14/023/2014 15:23:52 - INFO - Selecting from user input
14/023/2014 15:23:57 - INFO - Connected device : C530X
14/023/2014 15:23:57 - INFO - Installed version of busybox : BusyBox v1.21.1 (2013-07-08 10:26:30 CDT) multi-call binary.
14/023/2014 15:23:57 - INFO - Android version : 4.0.4 / kernel version : 3.0.36-android-bst+ / Build number : IMM76L
14/023/2014 15:23:57 - INFO - Checking root access
14/023/2014 15:23:58 - INFO - Root Access Allowed
14/023/2014 15:23:58 - INFO - Device disconnected

problem flashing ICS to mt27i

03/038/2015 08:38:54 - INFO - Flashtool Version 0.9.19.0 built on 29-07-2015 12:00:00
03/038/2015 08:38:54 - INFO - Executing search strategies to find proxy selector
03/038/2015 08:38:54 - INFO - No proxy found for IE. Trying next one
03/038/2015 08:38:55 - INFO - Strategy firefox failed trying next one : No Firefox installation found
03/038/2015 08:38:55 - INFO - No proxy found for java. Trying next one
03/038/2015 08:38:55 - INFO - Syncing devices from github
03/038/2015 08:38:55 - INFO - Scanning devices folder for changes.
03/039/2015 08:39:02 - INFO - Pulling changes from github.
03/039/2015 08:39:03 - INFO - Devices sync finished.
03/039/2015 08:39:08 - INFO - Device connected with USB debugging on
03/039/2015 08:39:09 - INFO - Connected device : Sony Xperia Sola
03/039/2015 08:39:09 - INFO - Installed version of busybox : N/A
03/039/2015 08:39:09 - INFO - Android version : 2.3.7 / kernel version : 2.6.35.7+ / Build number : 6.0.B.3.184
03/039/2015 08:39:17 - INFO - Selected Bundle for Sony Xperia Sola (MT27i). FW release : 6.1.1.B.1.54. Customization : Global
03/039/2015 08:39:18 - INFO - Preparing files for flashing
03/039/2015 08:39:23 - INFO - Please connect your device into flashmode.
03/039/2015 08:39:24 - INFO - Device disconnected
03/039/2015 08:39:38 - INFO - Device connected in flash mode
03/039/2015 08:39:39 - INFO - Opening device for R/W
03/039/2015 08:39:39 - INFO - Reading device information
03/039/2015 08:39:39 - INFO - Phone ready for flashmode operations.
03/039/2015 08:39:39 - INFO - Opening TA partition 2
03/039/2015 08:39:39 - INFO - Current device : MT27i - BX9033SQEE - 1261-7807_R2E - 1254-4241_6.0.B.3.184 - WORLD_6.0.B.3.184
03/039/2015 08:39:39 - INFO - Closing TA partition
03/039/2015 08:39:39 - INFO - Start Flashing
03/039/2015 08:39:39 - INFO - Processing loader.sin
03/039/2015 08:39:39 - INFO - Checking header
03/039/2015 08:39:39 - INFO - Flashing data
03/039/2015 08:39:43 - INFO - Loader : S1_Root_3065 - Version : R5E003 / Boot version : R10E013 / Bootloader status : NOT_ROOTABLE
03/039/2015 08:39:43 - INFO - Transfer buffer size : 32768
03/039/2015 08:39:43 - WARN - File simlock.ta is ignored
03/039/2015 08:39:43 - INFO - You must have the according fsc script to flash this device.
03/039/2015 08:39:43 - INFO - Flashing finished.
03/039/2015 08:39:43 - INFO - Please unplug and start your phone
03/039/2015 08:39:43 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
I tried flashing ICS on my xperia sola all drivers all installed and I'm using windows 10 enterprise
but the flashing process finish with nothing changed and (still gingerbread rom is on deice)
please help!:crying:
Behdad77 said:
03/038/2015 08:38:54 - INFO - Flashtool Version 0.9.19.0 built on 29-07-2015 12:00:00
03/038/2015 08:38:54 - INFO - Executing search strategies to find proxy selector
03/038/2015 08:38:54 - INFO - No proxy found for IE. Trying next one
03/038/2015 08:38:55 - INFO - Strategy firefox failed trying next one : No Firefox installation found
03/038/2015 08:38:55 - INFO - No proxy found for java. Trying next one
03/038/2015 08:38:55 - INFO - Syncing devices from github
03/038/2015 08:38:55 - INFO - Scanning devices folder for changes.
03/039/2015 08:39:02 - INFO - Pulling changes from github.
03/039/2015 08:39:03 - INFO - Devices sync finished.
03/039/2015 08:39:08 - INFO - Device connected with USB debugging on
03/039/2015 08:39:09 - INFO - Connected device : Sony Xperia Sola
03/039/2015 08:39:09 - INFO - Installed version of busybox : N/A
03/039/2015 08:39:09 - INFO - Android version : 2.3.7 / kernel version : 2.6.35.7+ / Build number : 6.0.B.3.184
03/039/2015 08:39:17 - INFO - Selected Bundle for Sony Xperia Sola (MT27i). FW release : 6.1.1.B.1.54. Customization : Global
03/039/2015 08:39:18 - INFO - Preparing files for flashing
03/039/2015 08:39:23 - INFO - Please connect your device into flashmode.
03/039/2015 08:39:24 - INFO - Device disconnected
03/039/2015 08:39:38 - INFO - Device connected in flash mode
03/039/2015 08:39:39 - INFO - Opening device for R/W
03/039/2015 08:39:39 - INFO - Reading device information
03/039/2015 08:39:39 - INFO - Phone ready for flashmode operations.
03/039/2015 08:39:39 - INFO - Opening TA partition 2
03/039/2015 08:39:39 - INFO - Current device : MT27i - BX9033SQEE - 1261-7807_R2E - 1254-4241_6.0.B.3.184 - WORLD_6.0.B.3.184
03/039/2015 08:39:39 - INFO - Closing TA partition
03/039/2015 08:39:39 - INFO - Start Flashing
03/039/2015 08:39:39 - INFO - Processing loader.sin
03/039/2015 08:39:39 - INFO - Checking header
03/039/2015 08:39:39 - INFO - Flashing data
03/039/2015 08:39:43 - INFO - Loader : S1_Root_3065 - Version : R5E003 / Boot version : R10E013 / Bootloader status : NOT_ROOTABLE
03/039/2015 08:39:43 - INFO - Transfer buffer size : 32768
03/039/2015 08:39:43 - WARN - File simlock.ta is ignored
03/039/2015 08:39:43 - INFO - You must have the according fsc script to flash this device.
03/039/2015 08:39:43 - INFO - Flashing finished.
03/039/2015 08:39:43 - INFO - Please unplug and start your phone
03/039/2015 08:39:43 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
I tried flashing ICS on my xperia sola all drivers all installed and I'm using windows 10 enterprise
but the flashing process finish with nothing changed and (still gingerbread rom is on deice)
please help!:crying:
Click to expand...
Click to collapse
Have you tried turning the debugging mode on?
Dassem_ultor said:
Have you tried turning the debugging mode on?
Click to expand...
Click to collapse
unknown source and debugging are enable
Sent from my LG-V500 using Tapatalk

FlashTool on Ubuntu (14.04 LTS) - Sony Live with Walkman (WT19i)

Sony Live with Walkman - Android Version 4.0.4
What I did...
1) Downloaded Flashtool 0.9.19.8 (for Linux)
2) Applied the 0.9.19.10 Patch
3) Downloaded WT19i_4.1.B.0.578_Generic.ftf then put it in > /root/.flashTool/firmwares/
4) Installed - ia32-libs
5) Ran FlashTool > Clicked Flash Device button > Flashmode > Chose to wipe APPS_LOG and USERDATA > Clicked Flash button.
Code:
14/012/2016 03:12:09 - INFO - Flashtool Version 0.9.19.10 built on 04-10-2015 21:00:00
14/012/2016 03:12:09 - INFO - libusb version 1.0.20
14/012/2016 03:12:09 - INFO - Executing search strategies to find proxy selector
14/012/2016 03:12:09 - INFO - No proxy found for gnome. Trying next one
14/012/2016 03:12:09 - INFO - No proxy found for kde. Trying next one
14/012/2016 03:12:09 - INFO - Strategy firefox failed trying next one : No Firefox installation found
14/012/2016 03:12:09 - INFO - Syncing devices from github
14/012/2016 03:12:10 - INFO - Scanning devices folder for changes.
14/012/2016 03:12:17 - INFO - Pulling changes from github.
14/012/2016 03:12:18 - INFO - Devices sync finished.
14/012/2016 03:12:21 - INFO - Device disconnected
14/012/2016 03:12:32 - INFO - Device connected with USB debugging on
14/012/2016 03:12:32 - INFO - Device connected with USB debugging off
14/012/2016 03:12:32 - INFO - For 2011 devices line, be sure you are not in MTP mode
14/012/2016 03:12:33 - INFO - Connected device : SonyEricson Xperia Live Walkman
14/012/2016 03:12:33 - INFO - Installed version of busybox : BusyBox v1.23.2-Stericson (2015-04-10 10:51:32 CDT) multi-call binary.
14/012/2016 03:12:33 - INFO - Android version : 5.0.0 / kernel version : 2.6.32.9-perf / Build number : 4.1.B.0.587
14/012/2016 03:12:33 - INFO - Checking root access
14/012/2016 03:12:34 - INFO - Root Access Allowed
14/012/2016 03:12:51 - INFO - Selected Bundle for SonyEricson Xperia Live Walkman (WT19i). FW release : 4.1.B.0.587. Customization : Generic
14/012/2016 03:12:51 - INFO - Preparing files for flashing
14/013/2016 03:13:01 - INFO - Please connect your device into flashmode.
14/013/2016 03:13:06 - INFO - Device disconnected
14/013/2016 03:13:39 - INFO - Device connected in flash mode
14/013/2016 03:13:40 - INFO - Opening device for R/W
14/013/2016 03:13:40 - INFO - Device ready for R/W.
14/013/2016 03:13:40 - INFO - Reading device information
14/013/2016 03:13:40 - INFO - Phone ready for flashmode operations.
14/013/2016 03:13:40 - INFO - Opening TA partition 2
14/013/2016 03:13:40 - INFO - Current device : WT19i - YT90017T67 - 1254-7338_R1I - 1250-5829_4.1.B.0.587 - WORLD-i_4.1.B.0.587
14/013/2016 03:13:40 - INFO - Closing TA partition
14/013/2016 03:13:40 - INFO - Start Flashing
14/013/2016 03:13:40 - INFO - Processing loader.sin
14/013/2016 03:13:40 - INFO - Checking header
14/013/2016 03:13:40 - ERROR - Processing of loader.sin finished with errors.
14/013/2016 03:13:40 - INFO - Ending flash session
I've done this before exactly 5 times on Windows 7 and once on 8 but this is my first time doing this on Ubuntu. In Windows I remember installing device drivers(?) but in /home/.flashtool/devices/ I see a "busybox" executable (.exe) file and am not sure whether I should run that with Wine to install on Ubuntu. Has anyone done this before and were successful on 14.04? What did I not do?
Please do not say "just use Windows if you know how to do it that way" because I wish to learn how to do it on Linux as well.
Thank you so very much for any/all help I get in advance. Please don't mind my bad English as it is not my first language.
Help! :silly:
Edit: I could not add links to this post as this is my first post. (I have the links to how I completed the above steps if anyone needs I will edit this post with links after 9* more posts for anyone who sees this post in the future for help.

Flashtool 'Can't read a byte value' error

hello guys,
I have been stuck with the following error message below in Flashtool for the last 2 days, trying to install the 5.11 firmware on my E5823.
Weird part is, that it worked once, when I was just moving files around in the firmware folder and reinstalling Flashtool...
07/013/2015 17:13:00 - INFO - Start Flashing
07/013/2015 17:13:00 - INFO - Ending flash session
07/013/2015 17:13:00 - ERROR - Can't read a byte value
07/013/2015 17:13:00 - ERROR - Error flashing. Aborted
07/013/2015 17:13:00 - INFO - Device connected in flash mode
07/013/2015 17:13:01 - INFO - Device disconnected
Click to expand...
Click to collapse
I tried all tips I found on other treads/forums, but nothing seems to work...
- Restart Flashtool
- Reinstall Flashtool
- Move *.tft files out of firmware folder, remove firmware folder, restart Flashtool, shutdown Flashtool, move files back (this worked only once before!!!)
- Download new firmwares
Getting desperate here, as Im completely stuck now...
sys: win10 64bit; flashtool 0.9.23.2 32/64bit; JDK: 1.8.0_121; flashtool driver installed
Hello Guy´s ...
I have the samest Problem as Mesh. Flashtool Error - "cant´t read a byte value".
Here my Log from Flashtool -
30/050/2017 20:50:09 - INFO - <- This level is successfully initialized
30/050/2017 20:50:09 - INFO - Flashtool Version 0.9.23.2 built on 19-01-2017 21:50:00
30/050/2017 20:50:09 - INFO - Executing search strategies to find proxy selector
30/050/2017 20:50:09 - INFO - No proxy found for IE. Trying next one
30/050/2017 20:50:09 - INFO - Strategy firefox failed trying next one : No Firefox installation found
30/050/2017 20:50:09 - INFO - No proxy found for java. Trying next one
30/050/2017 20:50:10 - INFO - Syncing devices from github
30/050/2017 20:50:10 - INFO - Opening devices repository.
30/050/2017 20:50:10 - INFO - Scanning devices folder for changes.
30/050/2017 20:50:14 - INFO - Pulling changes from github.
30/050/2017 20:50:15 - INFO - Quietly closing devices repository.
30/050/2017 20:50:15 - INFO - Devices sync finished.
30/050/2017 20:50:15 - INFO - Loading devices database
30/050/2017 20:50:15 - INFO - Loaded 94 devices
30/050/2017 20:50:15 - INFO - Starting phone detection
30/050/2017 20:50:20 - INFO - Device connected with USB debugging on
30/050/2017 20:50:22 - INFO - Connected device : Sony Xperia Z4 Tablet
30/050/2017 20:50:22 - INFO - Installed version of busybox : N/A
30/050/2017 20:50:22 - INFO - Android version : 7.0 / kernel version : 3.10.84-perf-gda8446f / Platform : 64bits / Build number : 32.3.A.0.376
30/050/2017 20:50:22 - INFO - Root access denied
30/050/2017 20:50:48 - INFO - Flash canceled
30/051/2017 20:51:29 - INFO - Selected Bundle for Sony Xperia Z4 Tablet(SGP771). FW release : 28.0.A.8.260_R13A. Customization : Nordic Generic_1295-7869
30/051/2017 20:51:29 - INFO - Preparing files for flashing
30/051/2017 20:51:42 - INFO - Please connect your device into flashmode.
30/051/2017 20:51:47 - INFO - Device disconnected
30/052/2017 20:52:16 - INFO - Device connected in flash mode
30/052/2017 20:52:16 - INFO - Opening device for R/W
30/052/2017 20:52:16 - INFO - Reading device information
30/052/2017 20:52:17 - INFO - Phone ready for flashmode operations.
30/052/2017 20:52:17 - INFO - Opening TA partition 2
30/052/2017 20:52:17 - INFO - Current device : SGP771 - CB5A26RGVW - 1295-6955_R1D - 1292-0698_32.3.A.0.376 - GENERIC_32.3.A.0.376
30/052/2017 20:52:17 - INFO - Closing TA partition
30/052/2017 20:52:17 - INFO - Start Flashing
30/052/2017 20:52:17 - INFO - Ending flash session
30/052/2017 20:52:17 - ERROR - Can't read a byte value
30/052/2017 20:52:17 - ERROR - Error flashing. Aborted
30/052/2017 20:52:18 - INFO - Device connected in flash mode
30/052/2017 20:52:18 - INFO - Device disconnected
30/052/2017 20:52:26 - INFO - Device connected in flash mode
I will "ROOT" without "UNLOCK" the Bootloader. I must make a TA-Backup, before i can unlock the Bootloader. I don´t will loose my DRM-Keys.
Can anywhere Expert help to my Problem ? ... i will hope.
!!! SOLVED !!! ... all Problems are solved.

[Q] Back to stock via flashtool

Hi fellas!
Have tested out LineageOS on my unlocked Z4 Tab wifi vers. SGP712 but now want to get back to stock.
Unfortiunatly i have no twrp backup so i am trying out the Flashtool by androxyde wich always worked w/o problems for upgrading stock.
But now since i am on LineageOS i am having a hard time to get it to work Here is the log:
07/014/2018 17:14:33 - INFO - <- This level is successfully initialized
07/014/2018 17:14:33 - INFO - Flashtool Version 0.9.24.4 built on 01-02-2018 22:15:00
07/014/2018 17:14:33 - INFO - Searching for a web proxy
07/014/2018 17:14:33 - INFO - No proxy found, using direct connection
07/014/2018 17:14:33 - INFO - Syncing devices from github
07/014/2018 17:14:33 - INFO - Opening devices repository.
07/014/2018 17:14:33 - INFO - Scanning devices folder for changes.
07/014/2018 17:14:40 - INFO - Pulling changes from github.
07/014/2018 17:14:40 - INFO - Devices sync finished.
07/014/2018 17:14:41 - INFO - Loading devices database
07/014/2018 17:14:41 - INFO - Loaded 100 devices
07/014/2018 17:14:41 - INFO - Starting phone detection
07/014/2018 17:14:44 - INFO - Device disconnected
07/014/2018 17:14:55 - INFO - Selected Bundle for Sony Xperia Z4 Tablet(SGP712). FW release : 32.4.A.1.54_R1E. Customization : Customized CE1
07/014/2018 17:14:55 - INFO - Preparing files for flashing
07/015/2018 17:15:16 - INFO - Please connect your device into flashmode.
07/015/2018 17:15:37 - INFO - Using Gordon gate drivers version 3.2.0.0
07/015/2018 17:15:37 - INFO - Opening device for R/W
07/015/2018 17:15:37 - INFO - Device ready for R/W.
07/015/2018 17:15:37 - INFO - Reading device information
07/015/2018 17:15:38 - INFO - Phone ready for flashmode operations.
07/015/2018 17:15:38 - INFO - Opening TA partition 2
07/015/2018 17:15:38 - INFO - Current device : Unknown: Jun 9 2017/20:03:06 - CB5A25P7KR - Unknown: Jun 9 2017/20:03:06 - Unknown: Jun 9 2017/20:03:06 - GENERIC_32.3.A.0.376
07/015/2018 17:15:38 - INFO - Closing TA partition
07/015/2018 17:15:38 - ERROR - The bundle does not match the connected device
07/015/2018 17:15:38 - INFO - Ending flash session
07/015/2018 17:15:39 - INFO - Device disconnected
Click to expand...
Click to collapse
Tried different USB Cables, different Flashtool versions, re-installed all drivers, tried different .ftf versions, etc. etc, etc.
Nothing works And with no flashable stock .zip i am out of options ...
So, any of you guys ever encountered such a problem? Or have any advice for me?
Many thx fellas
Cheers Schnabel

Categories

Resources