Related
I’m trying to run the dumpxip.pl perl script..
I Installed activestate Perl (maybe you recommend a better perl?)
I also downloaded the win32 patch at http://www.xs4all.nl/~itsme/projects/perl/Win32-API-0.41-wj2.tar.gz
And ran makefile.pl
Then nmake
I get several errors saying it cant find API.pm struct.pm etc etc
I put the files in the places it expects and I get:
Can't locate loadable object for module Win32::API in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\DOCUME~1\ADMINI~1\Desktop\N1 sw\dumpxip.pl line 9
Compilation failed in require at C:\DOCUME~1\ADMINI~1\Desktop\N1\sw\dumpxip.pl line 9.
BEGIN failed--compilation aborted at C:\DOCUME~1\ADMINI~1\Desktop\N1 sw\dumpxip.pl line 9.
I’m sure I’m not installing it properly.
Any ideas? Has anyone else sucesfully run this?
Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Latest sqlite3-3.7.16
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
blsrbl said:
Hey guys, i am trying to install sqlite3 using sqlite3 installer for root (available on play store) to get the preferred network on GSM instead of WCDMA but i'm getting this error: "Error in install process: /system/xbin/sqlite3: open failed: EROFS (Read-only file system)" although i've granted root permissions to the app. Any ideas?
Click to expand...
Click to collapse
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks bro. I'll try it when get back home.
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Thanks. It worked. But unfortunately, i can't set the preferred network for some reason. Thanks for your help anyway :good:.
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Mount the system as RW
lilfellabob said:
Hi, I am also trying to do this and get the error /system/xbin/sqlite3: open failed: EROFS (Read-only file system) when trying to install sqlite3 via the app SQLite Installer for Root. I just tried the method of manually putting the file in xbin but it told me it's read only.. My nexus 4 is rooted so any ideas why it isn't working? (I used to have it working before going to 4.3.3)
Click to expand...
Click to collapse
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
badhri said:
I think the system partition is in Read-Only mode. Mount the system in RW mode, move the sqlite3 binary and then do remember to remount in RO mode.
Sqlite3 is already attached in this XDA thread i guess. Try this set of instruction - http://stackoverflow.com/a/5022363
Happy Querying !!
Edit:
I think you should be pushing it in '/system/xbin', NOT '/system/bin' as mentioned in the above set of instruction
Click to expand...
Click to collapse
Thanks for the reply! I was hoping I could do this somehow without needing my computer (I tried using es file explorer). I don't particularly want to install the sdk - could I use a terminal app on the phone?
(Sorry for being a bit of a noob )
I haven't tried it.. But I think it should work.. Besides., you don't need to install the entire SDK.. You just have to have the adb exe..
Sent from my Nexus 4 using Tapatalk 4
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Could you please list what the permissions are supposed to be?
thanks,
use file manager in super user mode
ap1618 said:
Could you please list what the permissions are supposed to be?
thanks,
Click to expand...
Click to collapse
See attached screenshots. I used X-plore.
binary not working
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
Well, this binary is no longer working..
I am using a Nexus 4, android 4.4.2, rooted, moved the binary to xbin, when I try to execute it, fails with below error:
Code:
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "sqlite3" (built with --hash-style=gnu?)
---------- Post added 16th December 2013 at 12:37 AM ---------- Previous post was 15th December 2013 at 11:39 PM ----------
Well, spent a lot of time browsing and searching for binaries, uploading them to phone, making system rw, moving, changing permissions and checking if working, and finally have found a binary that it working on my Nexus 4.. And it was on my phone already.. the one that gets downloaded from within romtoolbox is working great.. when root browser from rom toolbox is opened it asks to download some extra files, these include busybox, zip, unrar and sqlite3! Out of frustration I searched the entire phone for sqlite3 and found this.. :laugh:
tks very much!
cod3warrior said:
Use the attached sqlite3...extract & copy it to the /system/xbin folder...give execute permissions and it should work...
Just tested today with my Nexus 4 to read out whatsapp notification message contents via tasker...
Click to expand...
Click to collapse
tks very much!
I am the developer of the app. Please use : https://groups.google.com/forum/#!forum/sqlite-installer-for-root for further help. I do not look at these forums very often, but get replies on the group.
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
WInEns said:
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
Click to expand...
Click to collapse
try this rr remix 569 http://forum.xda-developers.com/zenfone-5/development/rom-resurrection-remix-mm-5-6-7-t3357331
WInEns said:
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
Click to expand...
Click to collapse
Go the 'Reboot' section in Recovery mode and reboot your recovery. Try flashing again after rebooting your recovery. Hope it helps!
ingeniousretard said:
Go the 'Reboot' section in Recovery mode and reboot your recovery. Try flashing again after rebooting your recovery. Hope it helps!
Click to expand...
Click to collapse
I tried this, and still no luck.
paktepu said:
try this rr remix 569 http://forum.xda-developers.com/zenfone-5/development/rom-resurrection-remix-mm-5-6-7-t3357331
Click to expand...
Click to collapse
Thanks for the suggestion. I haven't download it yet but i tried to flash resurrection remix v5.5.8 and still failed. This is the log:
E: Unknown File System: 'osip'
E: Unknown File System: 'osip'
E: Unknown File System: 'osip'
E: Unable to find partition size for '/misc'
E: Unable to find partition size for '/splashscreen'
Updating partition details...
...done
Full SElinux support is present.
E; Unable to set bootloader message
MTP Enabled
Installing '/external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg, a501cg, cm_a500cg, cm_501cg, ASUS_T00F, ASUS_T00J, a600cg, cm_a600cg, ASUS_T00G; this device is .
E: Error executing updater binary in zip '/external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip
Error flashing zip 'external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip'
Updating partition details...
...done
WInEns said:
Thanks for the suggestion. I haven't download it yet but i tried to flash resurrection remix v5.5.8 and still failed. This is the log:
E: Unknown File System: 'osip'
E: Unknown File System: 'osip'
E: Unknown File System: 'osip'
E: Unable to find partition size for '/misc'
E: Unable to find partition size for '/splashscreen'
Updating partition details...
...done
Full SElinux support is present.
E; Unable to set bootloader message
MTP Enabled
Installing '/external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg, a501cg, cm_a500cg, cm_501cg, ASUS_T00F, ASUS_T00J, a600cg, cm_a600cg, ASUS_T00G; this device is .
E: Error executing updater binary in zip '/external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip
Error flashing zip 'external_sd/Resurrection-Remix-LP-v5.5.8-20151113-a500cg.zip'
Updating partition details...
...done
Click to expand...
Click to collapse
For that rr, use twrp 3.0
http://forum.xda-developers.com/showthread.php?t=3355749
Sent from my ASUS_T00F using XDA-Developers mobile app
WInEns said:
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
Click to expand...
Click to collapse
Flash the latest custom recovery and give a try (3.0 by xanwar)
Boomshiva said:
Flash the latest custom recovery and give a try (3.0 by xanwar)
Click to expand...
Click to collapse
try flashing latest twrp 3.0.4, its more stable and did'nt experience random shut during rom flash..tq
azackforum said:
try flashing latest twrp 3.0.4, its more stable and did'nt experience random shut during rom flash..tq
Click to expand...
Click to collapse
Thanks bro . But I don't have any issues with recovery every great here .
WInEns said:
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
Click to expand...
Click to collapse
Ur trouble isn't due vy any TWRP version but by yourself.
Bcuz u wiped system parttition, then certainly file build.prop's gone too. So, when TWRP want to get name of device, it can't, then it will cancel flash process. To fix, i suggest u some method:
1. Set "ro.product.device" manually
- Use terminal builtin of TWRP, type follow:
Code:
setprop ro.product.device a500cg
setprop ro.build.product a500cg
- Or, if use adb shell from ur PC:
Code:
adb shell
then type 2 lines as above
After that, choice & flash rom as normaln
2. Edit updater-script
- Open Rom zip via Winrar/7z (Windows) or file roller...(Linux)
- Goto META-INF/com/google/android, u'll see 2 files: update-binary & updater-script.
- Open file "updater-script" via any editor program u have (For Windows, use Notepad++ ONLY), find and delete any line contains "assert" word. On stock, first 10 lines, while custom rom just 1, or 2 lines, in generally.
- When done, save your file, choose "Yes" when a popup promt u want to update your zip.
- Push your new zip to device then choice it to flash
3. Find then flash any "system.img" for your device first via fastboot, then reboot to recovery, then u know what have to do, right :laugh:
4. Use Asus Flash tool & "raw" file. But this's a longest & hardest way, so avoid it anyway.
Hope can help u. Goodluck
quanganh2627 said:
Ur trouble isn't due vy any TWRP version but by yourself.
Bcuz u wiped system parttition, then certainly file build.prop's gone too. So, when TWRP want to get name of device, it can't, then it will cancel flash process. To fix, i suggest u some method:
1. Set "ro.product.device" manually
- Use terminal builtin of TWRP, type follow:
Code:
setprop ro.product.device a500cg
setprop ro.build.product a500cg
- Or, if use adb shell from ur PC:
Code:
adb shell
then type 2 lines as above
After that, choice & flash rom as normaln
2. Edit updater-script
- Open Rom zip via Winrar/7z (Windows) or file roller...(Linux)
- Goto META-INF/com/google/android, u'll see 2 files: update-binary & updater-script.
- Open file "updater-script" via any editor program u have (For Windows, use Notepad++ ONLY), find and delete any line contains "assert" word. On stock, first 10 lines, while custom rom just 1, or 2 lines, in generally.
- When done, save your file, choose "Yes" when a popup promt u want to update your zip.
- Push your new zip to device then choice it to flash
3. Find then flash any "system.img" for your device first via fastboot, then reboot to recovery, then u know what have to do, right :laugh:
4. Use Asus Flash tool & "raw" file. But this's a longest & hardest way, so avoid it anyway.
Hope can help u. Goodluck
Click to expand...
Click to collapse
After many failed attempts , I finally decided to go back to the original stock ROM . Maybe I'll try again when there was a bugless custom ROM .
Thanks anyway for all your efforts , it will definitely be useful in the future.
quanganh2627 said:
Ur trouble isn't due vy any TWRP version but by yourself.
Bcuz u wiped system parttition, then certainly file build.prop's gone too. So, when TWRP want to get name of device, it can't, then it will cancel flash process. To fix, i suggest u some method:
1. Set "ro.product.device" manually
- Use terminal builtin of TWRP, type follow:
Code:
setprop ro.product.device a500cg
setprop ro.build.product a500cg
- Or, if use adb shell from ur PC:
Code:
adb shell
then type 2 lines as above
After that, choice & flash rom as normaln
2. Edit updater-script
- Open Rom zip via Winrar/7z (Windows) or file roller...(Linux)
- Goto META-INF/com/google/android, u'll see 2 files: update-binary & updater-script.
- Open file "updater-script" via any editor program u have (For Windows, use Notepad++ ONLY), find and delete any line contains "assert" word. On stock, first 10 lines, while custom rom just 1, or 2 lines, in generally.
- When done, save your file, choose "Yes" when a popup promt u want to update your zip.
- Push your new zip to device then choice it to flash
3. Find then flash any "system.img" for your device first via fastboot, then reboot to recovery, then u know what have to do, right :laugh:
4. Use Asus Flash tool & "raw" file. But this's a longest & hardest way, so avoid it anyway.
Hope can help u. Goodluck
Click to expand...
Click to collapse
Thank you bro.... I used your first option step and flashing rom successful.:good::good:
WInEns said:
After many failed attempts , I finally decided to go back to the original stock ROM . Maybe I'll try again when there was a bugless custom ROM .
Thanks anyway for all your efforts , it will definitely be useful in the future.
Click to expand...
Click to collapse
Hello. Actually I am having the very same problem. Could you please guide me how to install the stock rom. Thank you
Thanks man ... you are a legend ...just fixed my phone i erased my os and no backup was available .. thanks a lot
Flashing system.img should help too, but you alredy fixed it.
Try to full wipe and reboot recovery mode
WInEns said:
I cant flash any ROM after wiped "system" I always get this error on log
Installing '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'...
Checking for MD5 File...
Skipping MD5 check: no MD5 file found
This package is for device: a500cg,a501cg,cm_a500cg,cm_a501cg,ASUS_T00F,ASUS_T00j,a600cg,cm_a600cg,ASUS_T00G; this device is .
E : Error executing updater binary in zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Error flashing zip '/external_sd/Cyanogenmod-12.1-Zenfone-5-TWRP.zip'
Updating partition details...
...done
what should i do now?
Click to expand...
Click to collapse
Try.
1. Full wipe.
2. *Important* Reboot Recovery Mode (select menu in twrp).
3. Install > ROM > Gapps > Supersu .
4. Reboot system.
it worked
ShOgYzzz said:
Try.
1. Full wipe.
2. *Important* Reboot Recovery Mode (select menu in twrp).
3. Install > ROM > Gapps > Supersu .
4. Reboot system.
Click to expand...
Click to collapse
Thanks dude you saved me
Here the link to the newest roms for the doogee x3
www.needrom.com/category/doogee/x3-doogee/
I am using linux and use the sp flash tool with wine with looks good so far,i have to study it first before starting,but i want to start the thread already.
first problem is unpacking the rar file ..... syntax error nearby unexpected symbol 'newline' after the command #unrar e <DOOGEE-X3-6.0.rar >solved,installing unrar and reboot system(!)...
second problem rooting phone after installing ...BETA-SuperSU-v2.50.zip... recovery said installation aborted...
Than smart phone flash tool wont recognice the doogee x3...
phone is connected through usb and connected as usb storage...(i am googling for advice...)
thanks for some advice
(SOLVED see post from 9okt)rooting DOOGEE X3
After putting BETA-SuperSU-v2.50.zip. on my sdcard i went in recovery mode,volume up and power button pressed, than choosed update system by sdcard,pressed power button,choose BETA-SuperSU-v2.50.zip and pressed power button.... recovery said installation aborted..
what to do...
thanks for some advice
after flashing the recovery i got the following result...
a red line(download DA 100%) and an popup telling ERROR: S_ TIMEOUT (1042)
on the terminal....
[[email protected] SP_Flash_Tool_exe_Linux_v5.1632.00.100]# ./flash_tool.sh
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: None of the authentication protocols specified are supported
QMetaObject::connectSlotsByName: No matching signal for on_pushButton_browser_clicked()
QThread::setPriority: Cannot set priority, thread is not running
"07-30-2016"
QObject::moveToThread: Cannot move objects with a parent
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
[email protected]/devices/pci0000:00/0000:00:13.2/usb2/2-5
[email protected]/devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.0
[email protected]/devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.1
[email protected]/devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.1/tty/ttyACM0
vid is 0e8d
device vid = 0e8d
pid is 2000
device pid = 2000
com portName is: /dev/ttyACM0
Total wait time = -1472583651.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
COM port is open. Trying to sync with the target...
Failed to Connect DA: S_TIMEOUT
Disconnect!
BROM Exception! ( ERROR : S_TIMEOUT (1042)
[HINT]:
)((ConnectDA,../../../flashtool/Conn/Connection.cpp,131))
thanks for some advice...
connecting not as root but as user after setting gtk theme in user dir
Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
[email protected]/devices/pci0000:00/0000:00:12.2/usb1/1-4
[email protected]/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.0
[email protected]/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.1
[email protected]/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4:1.1/tty/ttyACM0
vid is 0e8d
device vid = 0e8d
pid is 2000
device pid = 2000
com portName is: /dev/ttyACM0
Total wait time = -1472900250.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
Connect BROM failed: S_COM_PORT_OPEN_FAIL
Disconnect!
BROM Exception! ( ERROR : S_COM_PORT_OPEN_FAIL (1013)
[COM] Failed to open COM port.
[HINT]:
)((ConnectBROM,../../../flashtool/Conn/Connection.cpp,85))
solved,i installed ubuntu followed al the instructions put the flashtool on upgrade connectthe phone and android 6.0 was installed after a few minutes.
devrieshh said:
solved,i installed ubuntu followed al the instructions put the flashtool on upgrade connectthe phone and android 6.0 was installed after a few minutes.
Click to expand...
Click to collapse
I made it in Windows yesterday successfully. There is also a way to flash TWRP on Doogee X3 running Android 6.0.
Look here: http://4pda.ru/forum/index.php?showtopic=713470&st=100#entry51434308
The Problem is, I don't understand russian and I even can't type it. Also the Captcha is a major problem. I think there is an account needed to be able to download the board attachments. Otherwise "404" error. Could anyone Download TWRP for Android 6.0 from this site + the scatter file there ? Would be awesome :highfive:
EDIT: I got it and already installed it. it works ! twrp on doogee x3 running android 6.0. just flash it with sp flash tool. you know how if you had flashed 6.0 already
link: http://www18.zippyshare.com/v/yAM5FXOt/file.html
have fun
EDIT: don't try to root it. doesn't work. neither supersu, kingo root nor kingroot. i tried it and my nvram was corrupt after trying with supersu. had to flash back imei and wifi mac address. i'm back on android 5.1 for this device.
Flashing didnt work,it said coudnt find files or path wasnt right,a red line...
after a wile the flash window got black and wite got frosen,i closed it started to reload and then the flash window didnt showed up and the message in the therminal was ...
:~/Desktop/SP_Flash_Tool_exe_Linux_v5.1520.00.100$ ./flash_tool.sh
QGtkStyle was unable to detect the current GTK+ theme.
QObject::moveToThread: Cannot move objects with a parent
so i dont know what to do now for the moment
solved,reinstalled ubuntu.. flashed TWRP_3.0.2_Doogee-X3_Android-6.0.zip
Ok i managed to root our doogee X3,tryed it with an old root tool used with my samsung gio,flashed with the TWRP 3.0.2.
SOLVED (file is already .img ,not .dat) trying to port cm-13.0-20160817-UNOFFICIAL-TECNO W4-nana (MTK 6580) i got a problem after the ./sdat2img.py command .../S2603_DG_A42_PUBLIC_M_V0.2.8_S160628$ sudo ./sdat2img.py system.transfer.list system.new.dat sys
tem.img
Traceback (most recent call last):
File "./sdat2img.py", line 131, in <module>
main(sys.argv)
File "./sdat2img.py", line 75, in main
version, new_blocks, commands = parse_transfer_list_file(TRANSFER_LIST_FILE)
File "./sdat2img.py", line 43, in parse_transfer_list_file
trans_list = open(TRANSFER_LIST_FILE, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'system.transfer.list'
anybody know what to do...
doing the same with the cm 13 rom...
/cm-13.0-20160817-UNOFFICIAL-TECNO W4-nana$ sudo ./sdat2img.py cm-13.0-20160817-UNOFFICIAL-TECNO
%20W4-nana .transfer.list system.new.dat system.img
Traceback (most recent call last):
File "./sdat2img.py", line 131, in <module>
main(sys.argv)
File "./sdat2img.py", line 75, in main
version, new_blocks, commands = parse_transfer_list_file(TRANSFER_LIST_FILE)
File "./sdat2img.py", line 43, in parse_transfer_list_file
trans_list = open(TRANSFER_LIST_FILE, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'cm-13.0-20160817-UNOFFICIAL-TECNO%20W4-nana'
devrieshh said:
Ok i managed to root our doogee X3,tryed it with an old root tool used with my samsung gio,flashed with the TWRP 3.0.2.
Click to expand...
Click to collapse
[at first for everyone to know: it affects Android 6.0 for the Doogee X3. Android 5.1 is no problem.]
root checker told me my device is rooted after I flashed your zip. The problem I experienced was, I got no asking for root triggered by any app which uses root permission. And also when I try to update SuperSU binary inside the app it tells me there is no "su data" and it couldn't update it. I think to get a flawless root permission it would take a while
SOLVED $mkdir working and than.... $ sudo mount -t ext4 -o loop /img-tools/sys.raw working/
so i did succeed to format the system.img to sys.raw but after trying to mount the sys.raw image i got the following response after the in the tortual suggested command
Am I right that you are already working in the directory "/img-tools" and want to mount the sys.raw file in it ? So then, if you determine to mount "/img-tools/sys.raw" that this could be interpreted as mount "/img-tools/img-tools/sys.raw", a directory that doesn't exist ?
Or am I seeing something wrong ?
i have compiled the system.img file to sys.raw and i want the sys.raw folder so that you can swich framework,apps and other folders with roms to port
i want to have the outcom from the sys.raw ext4 file mounted in the /base home/working folder..
see .http://forum.xda-developers.com/chef-central/android/guide-how-to-port-lollipop-marshmallow-t3283452
mounting system.img should do the job ,so you do not have to format it to sys.raw.
i made a map working in the img-tools map,but with the command below i got ...mount point working/ does not exist
base home/img-tools$ sudo mount -t ext4 -o loop system.img working/
mount: mount point working/ does not exist
devrieshh said:
i have compiled the system.img file to sys.raw and i want the sys.raw folder so that you can swich framework,apps and other folders with roms to port
i want to have the outcom from the sys.raw ext4 file mounted in the /base home/working folder..
see .http://forum.xda-developers.com/chef-central/android/guide-how-to-port-lollipop-marshmallow-t3283452
mounting system.img should do the job ,so you do not have to format it to sys.raw.
i made a map working in the img-tools map,but with the command below i got ...mount point working/ does not exist
base home/img-tools$ sudo mount -t ext4 -o loop system.img working/
mount: mount point working/ does not exist
Click to expand...
Click to collapse
I'm more familiar with DOS. But the principle should be the same.
i will try to understand the link you posted...will keep you informed
EDIT: if i'm right, then you are inside the "img-tools" folder and trying with this command to mount system.img to a folder named "working" in it.
e.g.: /base home/img-tools/working
but you want to mount it to the folder /base home/working, right ?
so you have to type it in another way. try: sudo mount -t ext4 -o loop system.img /base home/working/
I'm not sure what Linux expect. maybe the slash before "base home" in my example is not needed.
fixt it http://stackoverflow.com/questions/8663891/how-to-mount-the-android-img-file-under-linux
/Downloads/doogee x3 porting/base/base home/img-tools$ mkdir sys
[email protected]:~/Downloads/doogee x3 porting/base/base home/img-tools$ sudo mount -t ext4 -o loop sys.raw sys/
[email protected]:~/Downloads/doogee x3 porting/base/base home/img-tools$
i had to use my sys.raw file and make a sys map with ...mkdir sys ... command
How to convert .img to .raw... download img-tools extract it in a folder (http://forum.xda-developers.com/chef-central/android/guide-how-to-port-lollipop-marshmallow-t3283452) put the system.img from base rom with it and run the command... ./simg2img system.img sys.raw
I sat the whole night to find any supersu which roots flawless our doogee x3 on android 6.0. and i found it ! i flashed, installed, reflashed about hundred of times another supersu version by version downwards. it's the version 2.61 which works properly ! and yes, you can still use the playstore update of supersu + binary update inside the app without losing root or getting a boot stuck. see linked zip for working supersu you'll better save it safely
http://www89.zippyshare.com/v/iUH99ub0/file.html
EDIT: I'm not sure it could be important, but I kept the system partition as read only as I installed SuperSU. Maybe you want to do it also.
i bought a doogee x5 so i am no longer active in this forum
Hi,
I am trying to install the latest Lineage version on my Samsung Nexus 10 via twrp, but so far it always immediately fails with
Error E1001: Failed to update system image.
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/lineage-17.1-20220318-UNOFFICIAL-manta.zip'
I tried wiping the entire system, cache and all and I tried both the adb push method and sideloading adb and they all produce the exact same error.
This is my first time doing this type of thing, so any help would be greatly appreciated.
P.S. I am currently running Windows 10, but could boot into a Linux Live Medium if that would be useful.
Edit: I was following this tutorial for the setup.
I'm facing exactly the same issue here with the installation of `lineage-17.1-20220919-UNOFFICIAL-manta.zip` file.
I'm currently on the latest original Google Android ROM flashed with `image-mantaray-lmy49j.zip` and want to update the system to the lineage OS as above.
I'm using TWRP v3.6.2_9.
What I did:
- uploaded `lineage-17.1-20220919-UNOFFICIAL-manta.zip` to `/sdcard` location;
- wiped out `dalvik-cache` and `cache` partitions;
- tried to install `lineage-17.1-20220919-UNOFFICIAL-manta.zip` as a single installation file;
Got this error. Here is an output from recovery.log:
Code:
Installing zip file '/sdcard/lineage-17.1-20220919-UNOFFICIAL-manta.zip'
Unmounting System...
I:Update binary zip
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
No path given to file labeling backend
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsTarget: google/mantaray/manta:5.1.1/LMY49J/2640980:user/release-keysTarget: google/mantaray/manta:5.1.1/LMY49J/2640980:user/release-keys
Extracted file "/tmp/install/bin/backuptool.functions"
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted 2 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 4 args
Backup/restore is not possible. Partition is probably empty
Patching system image unconditionally...
performing update
blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/4dd6bf24fbba9cc76c352f5c4cfaed0074be0244
535756800 bytes free on /cache (0 needed)
/cache/recovery/last_command doesn't exist.
erasing 3367 blocks
BLKDISCARD ioctl failed: Invalid argument
failed to execute command [erase 4,225950,228864,229947,230400]
new data receiver is still available after executing all commands.
Patching system image unconditionally...script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 7
I:Install took 0 second(s).
Error installing zip file '/sdcard/lineage-17.1-20220919-UNOFFICIAL-manta.zip'
Does anyone have any clue on what could be wrong here and why it fails?
unpack zip remove lines, then pack zip and try again. voilla
or utube eroor 7
I'd the same problem with twrp but does did successfully for version 16 installation. I tried the above listed way but failed again. Same thing happened even I unchecked the system in twrp before flashing again. Need expert to help fix the issue. Appreciate in advanced!
Cpluo said:
I'd the same problem with twrp but does did successfully for version 16 installation. I tried the above listed way but failed again. Same thing happened even I unchecked the system in twrp before flashing again. Need expert to help fix the issue. Appreciate in advanced!
Click to expand...
Click to collapse
Not enough space on /system. Resize the partition. After 17.1 is running for me. https://www.hovatek.com/forum/thread-32750.html
Thanks a lot Daniel! I will try your way.