Alldocube iPlay 10 Pro - Upgrading, Modifying and Unlocking

Hello,
I have a Alldocube iPlay 10 Pro. It runs on arm64 and I tried to install the Treble roms (or Lineage) :
I succesfully unlocked the device with fastboot flashing unlock and flashed a rom with fastboot flash system from the phhusson github with treble. I also tried the lineage builds for arm64. I didn't try anything with TWRP as I cannot find a build for the Alldocube iPlay 10 pro.
Unfortunately the device always ends up in a bootloop.
In an attempt to make the device work again, I tried restoring the original firmware from the alldocube site.
When I use the SP Flash tool, it does not find the device (does it work when you bricked your system partition?). When I try flashing the bundled system-signed.img with fastboot flash system, it shows me a bunch of errors:
target reported max download size of 134217728 bytes
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 1815164120 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1680893144 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1547130072 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1428010200 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1293604056 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1171297496 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1039533272 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 905168088 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 783959256 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 649729240 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 514151640 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 379110616 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 246174936 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 116065496 is not a multiple of the block size 4096
erasing 'system'...
OKAY [ 2.511s]
sending sparse 'system' 1/15 (117529 KB)...
error: write_sparse_skip_chunk: don't care size 1815164120 is not a multiple of the block size 4096
...
Does anybody has tips to, at least unbrick the device ? Are there things that I didn't try or do correctly ?
Thank you so much !

If it is useful for anybody with the same problem, I was finally able to flash the stock rom with SP Multi Port Download tool by changing ScanComportType=0 to ScanComportType=1 in the SPMultiPortFlashDownloadProject.ini before starting the program up.
I'm still interested in installing TWRP or LineageOS / Project Treble / Android One on this tablet, which should be doable as it supports Project Treble. If anybody has a clue why the tablet didn't boot, or anybody has the same tablet, let me know!
Thanks.

Related

This is where our RAM is used

Hi guys,
Not sure if this has been found yet, but in the dmesg logs you can see how the RAM on the Galaxy S is reserved.
This is from the JPK ROM:
[ 0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000
[ 0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x30ec2000
[ 0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x40204000
[ 0.000000] s5pv210: 14680064 bytes system memory reserved for fimc0 at 0x42604000
[ 0.000000] s5pv210: 1048576 bytes system memory reserved for fimc1 at 0x43404000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc2 at 0x43504000
[ 0.000000] s5pv210: 16777216 bytes system memory reserved for pmem at 0x332c2000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for pmem_gpu1 at 0x342c2000
[ 0.000000] s5pv210: 1536000 bytes system memory reserved for pmem_adsp at 0x34cc2000
[ 0.000000] s5pv210: 5132288 bytes system memory reserved for jpeg at 0x44104000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x445e9000
[ 0.000000] s5pv210: 3145728 bytes system memory reserved for fimd at 0x44fe9000
[ 0.000000] s5pv210: 262144 bytes system memory reserved for wifi at 0x34e39000
[ 0.000000] Built 3 zonelists in Zone order, mobility grouping on. Total pages: 117856
[ 0.000000] Kernel command line: console=ttySAC2,115200 loglevel=4
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 80MB 256MB 128MB = 464MB total
[ 0.000000] Memory: 308048KB available (9224K code, 1910K data, 2868K init, 0K highmem)
I added up all the "system memory reserved for..." lines and got 151,633,920 bytes (144.6MB) reserved.
So the kernel can definitely see about 464MB of RAM in this case, but only 308,048KB is available.
hardcore said:
Hi guys,
Not sure if this has been found yet, but in the dmesg logs you can see how the RAM on the Galaxy S is reserved.
This is from the JPK ROM:
[ 0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000
[ 0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x30ec2000
[ 0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x40204000
[ 0.000000] s5pv210: 14680064 bytes system memory reserved for fimc0 at 0x42604000
[ 0.000000] s5pv210: 1048576 bytes system memory reserved for fimc1 at 0x43404000
[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc2 at 0x43504000
[ 0.000000] s5pv210: 16777216 bytes system memory reserved for pmem at 0x332c2000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for pmem_gpu1 at 0x342c2000
[ 0.000000] s5pv210: 1536000 bytes system memory reserved for pmem_adsp at 0x34cc2000
[ 0.000000] s5pv210: 5132288 bytes system memory reserved for jpeg at 0x44104000
[ 0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x445e9000
[ 0.000000] s5pv210: 3145728 bytes system memory reserved for fimd at 0x44fe9000
[ 0.000000] s5pv210: 262144 bytes system memory reserved for wifi at 0x34e39000
[ 0.000000] Built 3 zonelists in Zone order, mobility grouping on. Total pages: 117856
[ 0.000000] Kernel command line: console=ttySAC2,115200 loglevel=4
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 80MB 256MB 128MB = 464MB total
[ 0.000000] Memory: 308048KB available (9224K code, 1910K data, 2868K init, 0K highmem)
I added up all the "system memory reserved for..." lines and got 151,633,920 bytes (144.6MB) reserved.
So the kernel can definitely see about 464MB of RAM in this case, but only 308,048KB is available.
Click to expand...
Click to collapse
That's interesting. If we take the line:
Memory: 80MB 256MB 128MB = 464MB total as the total memory
So adding it all up:
((464 * 1024 (total memory)) - (9224 + 1910 + 2868 (reserved for kernel) + (144.6 * 1024 (reserved by system) ))) / 1024 = 306 MB (available for apps)
However we should be seeing 512Mb not 464 as the total, so we are missing 48 Mb somewhere.
I still don't understand how the Galaxy Tab sees 444MB for actual applications.
http://www.youtube.com/watch?v=KoOWPjIel-c look at 4:40 in this video. it clearly shows how much RAM the tab is seeing.
Maybe we should poke inside the TAB's firmware to find out what is different?
The hardware is almost 1:1 with the SGS.
hardcore said:
Hi guys,
Not sure if this has been found yet, but in the dmesg logs you can see how the RAM on the Galaxy S is reserved.
Click to expand...
Click to collapse
Yes, see this thread starting here.
mtoneman said:
That's interesting. If we take the line:
Memory: 80MB 256MB 128MB = 464MB total as the total memory
So adding it all up:
((464 * 1024 (total memory)) - (9224 + 1910 + 2868 (reserved for kernel) + (144.6 * 1024 (reserved by system) ))) / 1024 = 306 MB (available for apps)
However we should be seeing 512Mb not 464 as the total, so we are missing 48 Mb somewhere.
Click to expand...
Click to collapse
It's probably the dalvic-cache!
Because "/system/build.prop" says: "dalvik.vm.heapsize=48m"
Just an idea
any improvements if we set an higher value for dalvik heapsize?
MCOGW said:
It's probably the dalvic-cache!
Because "/system/build.prop" says: "dalvik.vm.heapsize=48m"
Just an idea
Click to expand...
Click to collapse
This is the max heapsize for a single VM...meaning
the single application can allocate max of 48Mb heap before it gets out of memory.
This has nothing to do with RAM reservation
MCOGW said:
It's probably the dalvic-cache!
Because "/system/build.prop" says: "dalvik.vm.heapsize=48m"
Just an idea
Click to expand...
Click to collapse
No its not the dalvik heapsize. Changing that value doesn't give us more usable RAM.
I'm wondering about the Tab too. I was playing with a prototype and it definitely had more accessible RAM, as one poster said - more than 400MB. Would be good to see the dmesg boot log from a Tab to see what the system reserved and total memory is.
According to this:
http://forum.xda-developers.com/showthread.php?t=792512&page=11
there are one 2GBit (256MByte) and 2 x 1GBit (128MByte each) RAM chips totalling 512MBytes on the board. What we need to find out is why the kernel is reporting "Memory: 80MB 256MB 128MB".
i.e. what happened to the 48MByte on one of the 1GBit modules.
hardcore said:
No its not the dalvik heapsize. Changing that value doesn't give us more usable RAM.
Click to expand...
Click to collapse
I don't think it's that easy to (really) modifiy this value. I think you need a JTAG to modify this because these are direct parameters for the (smdkc110) chip.
So how did you manage (and verified) this?
If you would have read this thread:
http://forum.xda-developers.com/showthread.php?t=792512
You probably have read this:
http://forum.xda-developers.com/showpost.php?p=8325266&postcount=18
Ok it is not directly a "blackhole", but it is reserved.
The SGS kernel config tells you a bit more for what it is reserved:
Code:
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=16384
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=8192
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1800
...
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=12288
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=12288
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=32768
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=32768
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=10240
16 (16384)
+ 8 (8192)
+ 1,75 (1800)
+ 12 (12288)
+ 1 (1024)
+ 12 (12288)
+ 32 (32768)
+ 32 (32768)
+ 10 (10240)
112 mb
And 48 mb are not in the mem map, so 112+48 = 160
512-160=352mb
but we have a total of 325 mb (jm8)
352-325=27 are still missing
Have a look at /proc/iomem for these 27mb yourself.
And by reading that:
http://forum.xda-developers.com/showpost.php?p=8350492&postcount=126
jpk is only missing 32 mb = gpu.
So everything is fine on the ram amount, nothing to worry about.
Ok I just read up on the other threads (sorry missed those initially). If I understood correctly, the radio is separate and not visible to the linux kernel (unlike the other "reserved" blocks). This probably amounts to the 48MBytes we are not seeing in the Linux dmesg output.
Total guess: the difference in free ram between SGS and the Tab is probably that video ram for the SGS comes out of the system ram, while the Tab probably has a dedicated framebuffer+ram for it's graphics, probably because it's required for the bigger screen.
Why does Froyo have less available ram than Eclair though (hardware is the same)? In fact, why do different Eclair versions have different available ram? Is this just tweaking, and if so, can we not tweak it ourselves?
RyanZA said:
Why does Froyo have less available ram than Eclair though (hardware is the same)? In fact, why do different Eclair versions have different available ram? Is this just tweaking, and if so, can we not tweak it ourselves?
Click to expand...
Click to collapse
Cause it is a different OS? With more or newer components taking various amounts of memory?
This is like saying "why does Windows 7 leave you with less available memory than Windows XP". Ummm because it is not XP.
brunes said:
Cause it is a different OS? With more or newer components taking various amounts of memory?
This is like saying "why does Windows 7 leave you with less available memory than Windows XP". Ummm because it is not XP.
Click to expand...
Click to collapse
Mmm, and why on Nexus one there is the same RAM available in Eclair and Froyo?
And Windows 7 shows exactly the same amount of total RAM available as Windows XP.
burnes,
You are wrong.
brunes said:
Cause it is a different OS? With more or newer components taking various amounts of memory?
This is like saying "why does Windows 7 leave you with less available memory than Windows XP". Ummm because it is not XP.
Click to expand...
Click to collapse
The 'OS' is Linux! It's always important to remember this. Android is just an ecosystem (a number of apps and services) running on top of stock linux. Just because Android has gone up a version, doesn't mean the underlying system has changed! Any changes to Android components are actually all far outside the kernel, and will use up the same ram as other userland apps.
The reserved memory has nothing to do with Android, and has everything to do with the hardware drivers. Since the hardware hasn't changed, the question is why the graphics and low level drivers have been allocated more ram in Froyo than in Eclair.
Possible explanations are that Samsung gave more ram to graphics to help with... something? Maybe OpenGL ES 2 needs more ram, and performs worse than OpenGL ES 1, and so the OpenGL ES 2 driver needs to eat up more ram now? Or the Froyo drivers might just be badly optimized. In any case, it seems like we can tweak this stuff, because Samsung can tweak it.
The question is, how do we tweak it? In the kernel video drivers? Are there open specs available that we could use to work it out? And more questions I can't think of...
Well actually comparing dmesg and iomem outputs from JM8 and JPK would answer a lot of questions.
Speculating is leading us nowhere.
xan said:
Well actually comparing dmesg and iomem outputs from JM8 and JPK would answer a lot of questions.
Speculating is leading us nowhere.
Click to expand...
Click to collapse
I think a very deep look at this http://opensource.samsung.com/ (and a search for "GT-I9000") would answer lots of questions (only for Eclair atm)...
MCOGW said:
I think a very deep look at this http://opensource.samsung.com/ (and a search for "GT-I9000") would answer lots of questions (only for Eclair atm)...
Click to expand...
Click to collapse
<sarcasm>Wow thanks for the link, I'm sure none of the devs on here have bothered to check!</sarcasm>

can we use crespo ROM for S I9000?

I have downloaded the source code for greenbreed 2.3.7 in which I have some changes to c++ library.
Then I build the images from the source code without error.
I want to create the update.zip form that to test it on my galaxy SI9000, but I dont know how? Could you help me?
What are the required files for making this zip file?
Also, In the device directory I found this source support crespo and crespo4G. Can we use them for galaxy SI9000??
I have searched this forum but this step is not stated (as far as I know)
My linux is ubuntu 11.10
alzaq said:
I have downloaded the source code for greenbreed 2.3.7 in which I have some changes to c++ library.
Then I build the images from the source code without error.
I want to create the update.zip form that to test it on my galaxy SI9000, but I dont know how? Could you help me?
What are the required files for making this zip file?
Also, In the device directory I found this source support crespo and crespo4G. Can we use them for galaxy SI9000??
I have searched this forum but this step is not stated (as far as I know)
My linux is ubuntu 11.10
Click to expand...
Click to collapse
It won't work without proprietary files, why don't you just use cm7 source?
For flash able zip I'm sure it's:
Make -jX otapackage
thanks for your replay.
but I want to know what are proprietary files?
from where can I download the cm7 soutces?
I have used the following command to get the proprietary files (from the device/crespo)
./extract-files.sh
I have got the following
744 KB/s (300352 bytes in 0.393s)
remote object '/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/hw/gps.s5pc110.so' does not exist
remote object '/system/vendor/lib/hw/gralloc.s5pc110.so' does not exist
remote object '/system/vendor/lib/libakm.so' does not exist
remote object '/system/vendor/lib/libglslcompiler.so' does not exist
remote object '/system/vendor/lib/libIMGegl.so' does not exist
remote object '/system/vendor/lib/libpvr2d.so' does not exist
remote object '/system/vendor/lib/libpvrANDROID_WSEGL.so' does not exist
remote object '/system/vendor/lib/libPVRScopeServices.so' does not exist
remote object '/system/vendor/lib/libsec-ril.so' does not exist
remote object '/system/vendor/lib/libsrv_init.so' does not exist
remote object '/system/vendor/lib/libsrv_um.so' does not exist
remote object '/system/vendor/lib/libusc.so' does not exist
[email protected]:~/WORKING_DIRECTORY/device/samsung/crespo$
which means the proprietary files does not existed.
any idea?
alzaq said:
I have used the following command to get the proprietary files (from the device/crespo)
./extract-files.sh
I have got the following
744 KB/s (300352 bytes in 0.393s)
remote object '/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/hw/gps.s5pc110.so' does not exist
remote object '/system/vendor/lib/hw/gralloc.s5pc110.so' does not exist
remote object '/system/vendor/lib/libakm.so' does not exist
remote object '/system/vendor/lib/libglslcompiler.so' does not exist
remote object '/system/vendor/lib/libIMGegl.so' does not exist
remote object '/system/vendor/lib/libpvr2d.so' does not exist
remote object '/system/vendor/lib/libpvrANDROID_WSEGL.so' does not exist
remote object '/system/vendor/lib/libPVRScopeServices.so' does not exist
remote object '/system/vendor/lib/libsec-ril.so' does not exist
remote object '/system/vendor/lib/libsrv_init.so' does not exist
remote object '/system/vendor/lib/libsrv_um.so' does not exist
remote object '/system/vendor/lib/libusc.so' does not exist
[email protected]:~/WORKING_DIRECTORY/device/samsung/crespo$
which means the proprietary files does not existed.
any idea?
Click to expand...
Click to collapse
Grab from cm?
burakgon said:
Grab from cm?
Click to expand...
Click to collapse
no. But even if I grab from CM 7 I got the following
[email protected]:~/android/system/device/samsung/galaxysmtd$ adb devices
List of devices attached
3034A5A47EDE00EC device
[email protected]:~/android/system/device/samsung/galaxysmtd$ ./extract-files.sh
4 KB/s (238 bytes in 0.048s)
783 KB/s (1295612 bytes in 1.615s)
29 KB/s (2559 bytes in 0.084s)
remote object '/system/vendor/lib/hw/gps.aries.so' does not exist
306 KB/s (45080 bytes in 0.143s)
153 KB/s (13708 bytes in 0.087s)
625 KB/s (416192 bytes in 0.649s)
109 KB/s (9808 bytes in 0.087s)
remote object '/system/lib/libsamsungcamera.so' does not exist
remote object '/radio/modem.bin' does not exist
remote object '/system/vendor/bin/pvrsrvinit' does not exist
234 KB/s (17626 bytes in 0.073s)
24 KB/s (1221 bytes in 0.049s)
remote object '/system/vendor/firmware/cypress-touchkey.bin' does not exist
723 KB/s (300352 bytes in 0.405s)
440 KB/s (93672 bytes in 0.207s)
remote object '/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so' does not exist
remote object '/system/vendor/lib/hw/gralloc.aries.so' does not exist
remote object '/system/vendor/lib/libakm.so' does not exist
remote object '/system/vendor/lib/libglslcompiler.so' does not exist
remote object '/system/vendor/lib/libIMGegl.so' does not exist
remote object '/system/vendor/lib/libpvr2d.so' does not exist
remote object '/system/vendor/lib/libpvrANDROID_WSEGL.so' does not exist
remote object '/system/vendor/lib/libPVRScopeServices.so' does not exist
remote object '/system/vendor/lib/libsrv_init.so' does not exist
remote object '/system/vendor/lib/libsrv_um.so' does not exist
remote object '/system/vendor/firmware/CE147F02.bin' does not exist
remote object '/system/vendor/lib/libusc.so' does not exist
remote object '/system/vendor/lib/libsensor_yamaha_test.so' does not exist
remote object '/system/vendor/lib/libsensorservice.so' does not exist
remote object '/system/vendor/bin/orientationd' does not exist
remote object '/system/vendor/bin/geomagneticd' does not exist
788 KB/s (594465 bytes in 0.736s)
793 KB/s (2156747 bytes in 2.652s)
491 KB/s (78024 bytes in 0.154s)
233 KB/s (17884 bytes in 0.074s)
260 KB/s (29776 bytes in 0.111s)
782 KB/s (905356 bytes in 1.129s)
478 KB/s (107680 bytes in 0.219s)
782 KB/s (636964 bytes in 0.794s)
161 KB/s (13648 bytes in 0.082s)
353 KB/s (48208 bytes in 0.133s)
532 KB/s (94148 bytes in 0.172s)
110 KB/s (9568 bytes in 0.084s)
500 KB/s (79032 bytes in 0.154s)
166 KB/s (14392 bytes in 0.084s)
297 KB/s (35168 bytes in 0.115s)
232 KB/s (17904 bytes in 0.075s)
151 KB/s (13640 bytes in 0.087s)
330 KB/s (47352 bytes in 0.139s)
61 KB/s (5392 bytes in 0.086s)
739 KB/s (460800 bytes in 0.608s)
764 KB/s (460800 bytes in 0.588s)
0 KB/s (4 bytes in 0.080s)
257 KB/s (19737 bytes in 0.074s)
0 KB/s (17 bytes in 0.048s)
747 KB/s (732591 bytes in 0.957s)
103 KB/s (9748 bytes in 0.091s)
113 KB/s (10052 bytes in 0.086s)
750 KB/s (482607 bytes in 0.627s)
448 KB/s (58556 bytes in 0.127s)
355 KB/s (53708 bytes in 0.147s)
498 KB/s (57984 bytes in 0.113s)
449 KB/s (57764 bytes in 0.125s)
489 KB/s (58176 bytes in 0.115s)
439 KB/s (57556 bytes in 0.127s)
437 KB/s (57924 bytes in 0.129s)
400 KB/s (57200 bytes in 0.139s)
427 KB/s (57372 bytes in 0.130s)
448 KB/s (57956 bytes in 0.126s)
437 KB/s (57396 bytes in 0.128s)
366 KB/s (56844 bytes in 0.151s)
351 KB/s (56704 bytes in 0.157s)
380 KB/s (56704 bytes in 0.145s)
363 KB/s (56568 bytes in 0.151s)
383 KB/s (56356 bytes in 0.143s)
391 KB/s (56300 bytes in 0.140s)
390 KB/s (56260 bytes in 0.140s)
393 KB/s (56232 bytes in 0.139s)
415 KB/s (56360 bytes in 0.132s)
389 KB/s (56860 bytes in 0.142s)
378 KB/s (55696 bytes in 0.143s)
I have solved a part of the problem by changing the extract-files.sh
most of these not existed files are stored in different directories and the extract-files.sh provied the wrong path. I have found that the /system/vendor/lib/... points to false directory and I have corrected it to /system/lib/...
another solution can be as follows
install the orignal CM7 from thier website
the perform the same command ./extract-files.sh
alzaq said:
I have solved a part of the problem by changing the extract-files.sh
most of these not existed files are stored in different directories and the extract-files.sh provied the wrong path. I have found that the /system/vendor/lib/... points to false directory and I have corrected it to /system/lib/...
Click to expand...
Click to collapse
a smart user would have noticed in this part of the instructions: http://wiki.cyanogenmod.com/wiki/Sa...le_CyanogenMod_(Linux)#Copy_proprietary_files
where it clearly states you must *already* be running CM7 to use the command as it is.

How TO downgrade Htc 820N 6.0.1 to 5.1.1

How TO downgrade Htc 820N 6.0.1 to 5.1.1
c:\fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 01.01.010_U10305041_08.01.50512
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.401.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: CC534YC01609
(bootloader) imei: 357586060681191
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: a51_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PFJ40000
(bootloader) cidnum: HTC__J15
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 1be89947
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 1001
all: Done!
finished. total time: 0.077s
Phone Stock In Logo Need 6.0.1 Firmware Or downgrade
Try with Ir & Bst & FastBoot & SD But Field
0PFJIMG_A51_UL_L50_DESIRE_SENSE60_MR_HTC_Europe_2.10.401.2_R_Radio_01.01.010_U10305041_08.01.50512_release_453024_signed
0PFJIMG_A51_UL_L50_DESIRE_SENSE60_MR_HTC_Europe_2.10.401.4_R_Radio_01.01.010_U10305041_08.01.50512_release_465230_signed
You need s-off to downgrade
How Make S-off Have ir-key
With java card or xtc2clip
Cant Flash ANy FLash After Make S-Off
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
C:\fastboot>fastboot devices
CC534YC01609 fastboot
C:\fastboot>
C:\fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.020s]
finished. total time: 0.020s
C:\fastboot>fastboot flash zip 0PGQIMG.zip
target reported max download size of 16777216 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 1295539982 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1278766862 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1261993742 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1245220622 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1228332814 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1211543310 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1194770190 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1177997070 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1161223950 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1144450830 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1127677710 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1110904590 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1094131470 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1077358350 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1060585230 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1043812110 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1027038990 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1010265870 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 993492750 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 976719630 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 959946510 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 943173390 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 926400270 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 909627150 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 892854030 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 876080910 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 859307790 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 842534670 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 825761550 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 808988430 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 792215310 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 775442190 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 758669070 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 741895950 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 725122830 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 708349710 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 691576590 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 674803470 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 658030350 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 641257230 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 624484110 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 607710990 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 590937870 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 574164750 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 557391630 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 540618510 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 523845390 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 507072270 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 490299150 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 473526030 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 456752910 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 439979790 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 423206670 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 406433550 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 389660430 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 372887310 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 356114190 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 339341070 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 322567950 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 305794830 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 289021710 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 272248590 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 255475470 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 238702350 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 221929230 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 205156110 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 188382990 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 171609870 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 154836750 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 138063630 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 121290510 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 104517390 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 87744270 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 70971150 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 54198030 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 37424910 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 20651790 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 3849998 is not a multiple of the
block size 4096
sending sparse 'zip' (16380 KB)...
error: write_sparse_skip_chunk: don't care size 1295539982 is not a multiple of
the block size 4096
error: write_sparse_skip_chunk: don't care size 1295539982 is not a multiple of
the block size 4096
OKAY [ 1.741s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 1.894s
C:\fastboot>
Any One Help Me ?
Why are you flashing 0PGQIMG?
The right RUU for your phone starts with 0PFJIMG_A51_UL...
Once you have it rename it to 0PFJIMG, copy it to the external sd card of your phone and reboot to bootloader mode and follow the instructions in the bootloader.
In 0PFJIMG the first character is a zero and not the letter O
same problem please help flash sd or fastboot flash not work because boot stuck and recovery not booting

How restore data from Kindle Fire Hd 8.9?Q for those who work in the recovery env. :)

Hi all! I have Kindle Fire HD 8.9 (root, stock 8.4.9), locked with password. My niece tried log in, she enters the password several times, but could not enter, then she just turned off(press power off button). When I tried to enter, the system is don’t requested a password, language was French, and all of the data disappeared since the beginning of 2015. Yes, I know, I need to backup, but I keep going use it.
Later I known in this model, if lead many times an incorrect password, it launch a factory reset, or proposes to do so, my niece does not know English, so ...............
I have read a few instructions, and was able to rooted again and download to my computer directly from the tablet dump memory:mmcblk0 from /dev/block/*. This is the largest unit, so that it should contain all the data, also i download mmcblkp13 /dev/block/platform/omap/omap_hsmmc.1/ *. It is the user's data. All in *.raw format. Scan R-studio and other programs, but all I found was data information from the default firmware.
I read that when you reset, the data do not disappear completely. Then I found one file, I think it only indicates what happened:
last log file:
Starting recovery on Fri Jul 15 18:33:45 2016
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1920 x 1200)
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /sdcard vfat /dev/block/sda1 (null) 0
2 /system ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system (null) 0
3 /cache ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache (null) 0
4 /data ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata (null) 0
5 /misc emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/misc (null) 0
6 /boot emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/boot (null) 0
7 /recovery emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/recovery (null) 0
8 /bootloader emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/bootloader (null) 0
9 /xloader emmc /dev/block/platform/omap/omap_hsmmc.1/by-name/xloader (null) 0
I:Boot command: boot-recovery
I:Got arguments from /cache/recovery/command
Battery capacity = 99%
Battery temp = 235 (in dCdegree)
Battery status = discharging
stat() of /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata succeeded on try 1
Command: "/sbin/recovery" "--wipe_data" "--batt_level=40"
Recovery counter: 0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
ro.build.id=IMM76D
ro.build.display.id=IMM76D
ro.build.version.incremental=8.4.7_user_4730020
ro.build.version.number=04730020
ro.build.version.name=8.4.7
ro.build.lab126.buildtype=Nightly
ro.build.lab126.build=300
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Fri Aug 2 17:18:29 PDT 2013
ro.build.date.utc=1375489109
ro.build.type=user
ro.build.user=ubuntu
ro.build.host=ip-10-222-195-0
ro.build.tags=test-keys
ro.build.platform.version=UNKNOWN
ro.product.model=KFJWI
ro.product.brand=Amazon
ro.product.name=Kindle Fire
ro.product.device=Kindle
ro.product.board=blaze_tablet
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Amazon
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=omap4
ro.build.product=jem
ro.build.description=jem-user 4.0.4 IMM76D 8.4.7_user_4730020 test-keys
ro.build.fingerprint=Android/jem/jem:4.0.4/IMM76D/8.4.7_user_4730020:user/test-keys
ro.build.characteristics=tablet
rild.libpath=/system/lib/libril-lab126qmi.so
com.ti.omap_enhancement=true
opencore.asmd=1
keyguard.no_require_sim=1
wifi.interface=wlan0
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
ro.sf.lcd_density=240
ro.opengles.version=131072
omap.audio.mic.main=AMic0
omap.audio.mic.sub=AMic1
omap.audio.power=PingPong
sys.usb.vid=1949
sys.usb.pid=0008
ro.camera.sound.forced=0
dolby.audio.sink.info=speaker
ro.lab126.skipscreenshots=1
persist.lab126.sys.usb.mtp=1
com.lab126.reap=1
com.lab126.trim=1
pcb.temp.sensor.sysfs.node=/sys/devices/platform/omap/omap_i2c.3/i2c-3/3-0070/temp1_input
batt.temp.sensor.sysfs.node=/sys/class/power_supply/bq27541/temp
cpu.temp.sensor.sysfs.node=/sys/devices/platform/omap/omap_temp_sensor.0/temp1_input
hotspot.temp.sensor.sysfs.node=/sys/class/thermal_sensor/thermal_sensor0/device/hotspot_temp
charge.current.sysfs.node=/sys/class/power_supply/smb347_usb/device/charge_current
ro.sf.hwrotation=90
telephony.sms.send=false
persist.whirlwind.enabled=0
persist.whirlwind.unplugged=0
persist.whirlwind.bandscan=0
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
hwui.render_dirty_regions=false
persist.hwc.mirroring.region=0:0:1920:1200
persist.hwc.mirroring.transform=1
persist.lab126.chargeprotect=1
persist.lab126.touchnoisereject=1
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=B0CC0603302501R0
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=bowser
ro.revision=0
ro.product.processor=omap4470
init.svc.watchdog=running
init.svc.recovery=running
Formatting /data...
Creating filesystem with parameters:
Size: 60814262272
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14847232
Block groups: 454
Reserved block group size: 1024
Created filesystem with 11/3711904 inodes and 279050/14847232 blocks
Formatting /cache...
Creating filesystem with parameters:
Size: 681574400
Block size: 4096
Blocks per group: 32768
Inodes per group: 6944
Inode size: 256
Journal blocks: 2600
Label:
Blocks: 166400
Block groups: 6
Reserved block group size: 47
Created filesystem with 11/41664 inodes and 5415/166400 blocks
Time spent in the recovery: 124.00 seconds
I'm worried about Null 0 operation - whats it is mean?
Its list of partitition:
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0boot0: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0boot0 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0boot1: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0boot1 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p13: 60.8 GB, 60814262272 bytes
4 heads, 16 sectors/track, 1855904 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p13 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p12: 681 MB, 681574400 bytes
4 heads, 16 sectors/track, 20800 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p12 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p11: 929 MB, 929038336 bytes
4 heads, 16 sectors/track, 28352 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p11 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p10: 8 MB, 8388608 bytes
4 heads, 16 sectors/track, 256 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p10 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p9: 8 MB, 8388608 bytes
4 heads, 16 sectors/track, 256 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p9 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p8: 16 MB, 16777216 bytes
4 heads, 16 sectors/track, 512 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p8 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p7: 67 MB, 67108864 bytes
4 heads, 16 sectors/track, 2048 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p7 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p6: 10 MB, 10485760 bytes
4 heads, 16 sectors/track, 320 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p6 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p5: 0 MB, 2048 bytes
4 heads, 16 sectors/track, 0 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p5 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p4: 0 MB, 16384 bytes
4 heads, 16 sectors/track, 0 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p4 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p3: 0 MB, 65536 bytes
4 heads, 16 sectors/track, 2 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p3 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p2: 0 MB, 262144 bytes
4 heads, 16 sectors/track, 8 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p2 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p1: 0 MB, 131072 bytes
4 heads, 16 sectors/track, 4 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0p1 doesn't contain a valid partition table
Disk /dev/block/platform/omap/omap_hsmmc.1/mmcblk0: 62.5 GB, 62537072640 bytes
256 heads, 63 sectors/track, 7573 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/block/platform/omap/omap_hsmmc.1/mmcblk0p1 1 7574 61071359+ ee EFI GPT
Maybe someone knows, there can be a way to raise the data may have some manipulation of data blocks or there are nothing here, all the data were erase and it makes no sense to do something(special firm ), so the question for those who understand?
I'm curious as to what command you used to dump the kindle data. If you used ADB's backup mechanisms, I don't see why you couldn't restore via ADB as well. If you directly ran dd (either on the device or through a shell on a computer connected to it), that's a little more complex. Also, how big are your backup files, and what partition(s) did you dump?
Hi! I used instructions in this thread http://forum.xda-developers.com/showthread.php?t=1818321
I found blocks of partition on my device in these paths: /dev/block/platform/omap/omap_hsmmc.1/* and /dev/block/* .They have mmcblk0* names, mmcblk0 and 13 parts, they have names mmcblk0p1-mmcblk0p13. Block mmcblk0 - largest, he contain all blocks, mmcblk0p13-user data, he also big. So I copy mmcblk0 (62,5gb) and mmcblk0p13(60,8gb) block in *.raw format directly to my PC( I have kindle with 64gb version). I scanned with the R-studio/R-Linux these blocks and i found nothing, only files and folders from usual default stock firmware. It looks like I have a new tablet from shop, all information that i have before it is gone(before it happened, my tablet was rooted, so in system folder left root checker app, and from previous google account, apps and also all that i did with system before-for example removed stock app-office ). So can you look in information that i found in last_log.txt file above. There the same date and time, when i think tablet launch factory reset itself, it contain "(null) 0" operation in each block of partitions and i think it erase permanently all my data. I think it didn’t was a usual factory reset, i think it feature was added by Amazon to reset all tablets they receive from buyers, but I didn’t know about that.

[GUIDE] OTA Tools LPUnpack

Please see this URL https://android.googlesource.com/platform/build.git/+/eec4a7cba4face3370acb6293ab357879920b467 and this for more information.
Hi everyone. I'm surprised I havent seen a thread about ota tools yet and lpunpack. This zip file contains a lot of useful tools for modifying super.img and making super.img as well as other tools found in other toolkits. This was just compiled using aosp master. The most useful function is the lpunpack tool which can extract a super.img into system, vendor, odm and product images.
Browse individual files
Download HERE
Extract super.img from device
Code:
adb shell
Code:
su
Code:
dd if=/dev/block/by-name/super of=/sdcard/super.img
Code:
exit
Code:
exit
Code:
adb pull /sdcard/super.img
Extract super.img with lpunpack
Usage on PC(linux):
Code:
./lpunpack - command-line tool for extracting partition images from super
Usage:
./lpunpack [options...] SUPER_IMAGE [OUTPUT_DIR]
Options:
-p, --partition=NAME Extract the named partition. This can
be specified multiple times.
-S, --slot=NUM Slot number (default is 0).
**Make sure <output_directory> already exists as this tool will not create a directory for you and will error if not found.**
**If you run this command with no slot specified, it will output 0 byte empty b images.
To extract all A images:
Code:
./lpunpack --slot=0 <path-to-super.img> <output_dir>
To extract all B images:
Code:
./lpunpack --slot=1 <path-to-super.img> <output_dir>
This program can take a couple minutes to run. After it is complete, your $output_dir will contain vendor, system, product and odm with either _a or _b.
Thanks for reading!
ALL CREDIT GOES TO HANETZER @ntzrmtthihu777 FOR ALL OF THIS INFORMATION
He taught me, I just wrote this!​
We are waiting for good dev support to build twrp, custom roms and kernel.
manan001 said:
We are waiting for good dev support to build twrp, custom roms and kernel.
Click to expand...
Click to collapse
Most kernels already support 7T/Pro. (Except Smurf)
Not that much on the ROM side but some are there.
Sent from my OnePlus7TPro using XDA Labs
manan001 said:
We are waiting for good dev support to build twrp, custom roms and kernel.
Click to expand...
Click to collapse
I agree. I just felt like a lot of people don't know about lpmake/lpunpack and wanted to share it. Think its a pretty cool tool.
Bit of a clarification. If you call lpunpack without any flags, it will extract
{odm,product,system,vendor}_a.img properly without issue, but will create 'empty'
0 byte images for {odm,product,system,vendor}_b.img. In order to get the b-sides,
you must call it again like so:
Code:
./lpunpack --slot=1 super.img
@bynarie
hello @All
How to repack super.img file from Odm.img.Product.img, system.img, vender.img
Pls help me , Thanks !
Any idea how I could build an arm version of lpunpack ?
oslo83 said:
build an arm version of lpunpack ?
Click to expand...
Click to collapse
For android?
You can take the build tree from my github (I cannot post external links due to the small number of posts).
holedinh said:
hello @All
How to repack super.img file from Odm.img.Product.img, system.img, vender.img
Pls help me , Thanks !
Click to expand...
Click to collapse
+1
I did not understand: this tool can extract .img partition or only extract them from phone?
Example: I want to extract product.img partition to edit it and then reconvert to .img and then flash it to phone. Is this possible?
Hitman478™ said:
I did not understand: this tool can extract .img partition or only extract them from phone?
Example: I want to extract product.img partition to edit it and then reconvert to .img and then flash it to phone. Is this possible?
Click to expand...
Click to collapse
you need to convert it using simg2img then mount the img to edit it then when done use img2simg to convert back into android sparse img then can b flashed
Invalid sparse file format at header magic, how to fix this?
Code:
./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:4294967296 --group main:2647101440 --partition system:readonly:1962512384:main --image system=./system.img --partition vendor:readonly:680239104:main --image vendor=./vendor.img --partition odm:readonly:4349952:main --image odm=./odm.img --sparse --output ./super.img
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1962512384 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 680239104 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition odm will resize from 0 bytes to 4349952 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
VladSector said:
Invalid sparse file format at header magic, how to fix this?
Code:
./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:4294967296 --group main:2647101440 --partition system:readonly:1962512384:main --image system=./system.img --partition vendor:readonly:680239104:main --image vendor=./vendor.img --partition odm:readonly:4349952:main --image odm=./odm.img --sparse --output ./super.img
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1962512384 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 680239104 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition odm will resize from 0 bytes to 4349952 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
Click to expand...
Click to collapse
It is not an error
VladSector said:
Invalid sparse file format at header magic, how to fix this?
Code:
./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:4294967296 --group main:2647101440 --partition system:readonly:1962512384:main --image system=./system.img --partition vendor:readonly:680239104:main --image vendor=./vendor.img --partition odm:readonly:4349952:main --image odm=./odm.img --sparse --output ./super.img
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1962512384 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 680239104 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition odm will resize from 0 bytes to 4349952 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
Click to expand...
Click to collapse
can you upload lpmake ! i cant find it anywhere
download link is broken, can you reupload it again bro?
mohamedfaky said:
download link is broken, can you reupload it again bro?
Click to expand...
Click to collapse
My bad, link is fixed in post. - https://drive.google.com/file/d/1h4sGXNI1Al5Y_Te9T8xMWrp3mHw1tke-/view?usp=sharing
M.sapry said:
can you upload lpmake ! i cant find it anywhere
Click to expand...
Click to collapse
Here is a link to a shared folder containing all of the ota tools. LPMake is located under bin/lpmake
https://drive.google.com/drive/folders/1BmBmFuYZXbISAncrnrMybQ0uQk0-cZXl?usp=sharing
can't get it to work... it always says "bash: ./lpunpack: Permission denied"
can someone help?
trying to run it in mint4kitchen with all updates
Sir, can you please expand on super image repack?
osahitzelgsngar said:
can't get it to work... it always says "bash: ./lpunpack: Permission denied"
can someone help?
trying to run it in mint4kitchen with all updates
Click to expand...
Click to collapse
Probably need to chmod it..
Code:
chmod +x lpunpack
OR
Code:
chmod 755 lpunpack

Categories

Resources