CyanogenMod 12.0 for Photon Q - Motorola Photon Q 4G LTE

Public service announcement: Official cm-12.0 nightlies for Photon Q have been enabled.
Download link: http://download.cyanogenmod.org/?device=xt897
Gapps (use gapps-lp-...): http://d-h.st/users/dhacker29/?fld_id=27426#files
Recovery TWRP 2.8.5.0 for xt897: http://d-h.st/2e6S
Device specific source repos:
https://github.com/CyanogenMod/android_device_motorola_xt897/tree/cm-12.0
https://github.com/CyanogenMod/android_device_motorola_msm8960_jbbl-common/tree/cm-12.0
https://github.com/CyanogenMod/android_device_motorola_qcom-common/tree/cm-12.0
https://github.com/CyanogenMod/android_kernel_motorola_msm8960-common/tree/cm-12.0
Please note:
In CM12, the Motorola 2012 msm8960 device line has been de-unified again, so moto_msm8960/moto_msm8960_jbbl builds are dead from now on.
Please check the xt897 device link for new Photon Q builds.
New features with caveats:
f2fs file system for /data and /cache partition can be used now.
You can switch to it in TWRP (don't forget to backup data and also the content of internal sdcard before changing the /data file system to f2fs in TWRP).
GSM users (SIM card mod):
Please switch the Settings>Mobile networks>Preferred network type to 'GSM/WCDMA auto' or 'GSM/WCDMA preferred' from 'Global' for correct modem functionality on GSM networks.
Known issues:
- USB audio output (analogue) via USB>audio Y-cable (Motorola Car Dock/EMU audio) is not working correctly yet
- USB audio DACs/sound cards connected as USB OTG peripheral do not work correctly yet

Awsom thank you
Planned a clean install today and just checked gapps where up to date. Just to find out cm 12.0 is out
nice
Edit:
Warning: No file_contextsdetected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
detected filesystem ext4 for for /dev/block/platform/msm_sdcc.1/by-name/userdata
detected filesystem ext4 for for /dev/block/platform/msm_sdcc.1/by-name/system
Click to expand...
Click to collapse
can I Ignore that, since update went successfully?
EDIT2
Somehow /system partition got broken had to install twrp recovery (from first post) and reformat /system partition with it.
---------- Post added at 12:50 PM ---------- Previous post was at 11:59 AM ----------
kabaldan said:
[...]
New features with caveats:
f2fs file system for /data and /cache partition can be used now.
You can switch to it in TWRP (don't forget to backup data and also the content of internal sdcard before changing the /data file system to f2fs in TWRP).
[...]
Click to expand...
Click to collapse
What are those caveats or hat are the benificials?
Thanks in advance

kecksk0enig said:
Awsom thank you
Planned a clean install today and just checked gapps where up to date. Just to find out cm 12.0 is out
nice
Edit:
can I Ignore that, since update went successfully?
EDIT2
Somehow /system partition got broken had to install twrp recovery (from first post) and reformat /system partition with it.
Click to expand...
Click to collapse
You have to use recovery with full selinux support.
What are those caveats or hat are the benificials?
Thanks in advance
Click to expand...
Click to collapse
Caveat is that there's no option in TWRP to backup the internal emulated sdcard (data backups skip /data/user folder where the internal sdcard resides) but when changing from etx4 to f2fs, the entire data partition has to be formatted.
Another thing is that you have to use a recovery with f2fs support in kernel, which is currently only the TWRP 2.8.5.0 linked above or CM recovery that comes with CM12 (its installation is however disabled by default, can be enabled under Develeper options.)
Benefit of f2fs compared to ext4 is faster I/O, more responsive device and higher benchmark results.
My Antutu score with f2fs (run only once as I'm not that interested in benchmarks) was 20694 (Storage I/O 719, Database I/O 630).

installing it right now, be back soon with reports of first impressions
- video cam doesnt work
- music app doesnt rotate to landscape and i get a lot of errors saying "music doesnt work anymore"
ill keep testing..

November91 said:
installing it right now, be back soon with reports of first impressions
- video cam doesnt work
- music app doesnt rotate to landscape and i get a lot of errors saying "music doesnt work anymore"
ill keep testing..
Click to expand...
Click to collapse
video recording seems to be working good
but I can't launch camera app by long-pressing the camera button, even though I got a tactile feedback...

palmwangja said:
video recording seems to be working good
but I can't launch camera app by long-pressing the camera button, even though I got a tactile feedback...
Click to expand...
Click to collapse
I think this is also an "issue" with CM11 because none of the other JBBL devices have a dedicated camera button.
Also, I think you mean "haptic" feedback. Tactile is the type of feedback having a great keyboard provides. Haptic feedback is vibration

long-press camera to launch cam app doesnt work for me either.
i'm also experiencing a lot of trouble with my wifi, it connects only occationally, but most of the time its offline

arrrghhh said:
I think this is also an "issue" with CM11 because none of the other JBBL devices have a dedicated camera button.
Also, I think you mean "haptic" feedback. Tactile is the type of feedback having a great keyboard provides. Haptic feedback is vibration
Click to expand...
Click to collapse
It's weird, I didn't have any problem with the camera-button launch on CM11....
---------- Post added at 01:40 AM ---------- Previous post was at 01:36 AM ----------
Up until CM11, I replaced keypad_8960.kl and keypad_8960.kcm to customize my keyboard, but CM12 didn't want to let me do that?
I double-checked but no-effect at all....
1. I really need to replace SYM with Search just to re-enable Quick Launch functionality.
2. CAPS for Shift, and Shift for CTRL.

Hi I am experiencing random wifi disconnects.
Catlog attached: http://pastebin.com/qV6kZfyT
Any advise? I allready changed to different wifi channels and also reinstalled cm12 (with reformat of course)
Ty

Everything seems to be working fine for the most part, although battery usage seems to be rather high (with wifi and my screen on, it lost ~1% every 3 minutes while plugged in).

palmwangja said:
It's weird, I didn't have any problem with the camera-button launch on CM11....
---------- Post added at 01:40 AM ---------- Previous post was at 01:36 AM ----------
Up until CM11, I replaced keypad_8960.kl and keypad_8960.kcm to customize my keyboard, but CM12 didn't want to let me do that?
I double-checked but no-effect at all....
1. I really need to replace SYM with Search just to re-enable Quick Launch functionality.
2. CAPS for Shift, and Shift for CTRL.
Click to expand...
Click to collapse
Oops, never mind.
layout file we used for KitKat and before does not necessarily work well with Lollipop.
You have to recreate them.

palmwangja said:
Oops, never mind.
layout file we used for KitKat and before does not necessarily work well with Lollipop.
You have to recreate them.
Click to expand...
Click to collapse
wrt Camera,
install Motorola Camera apk prior to version 4: you can solve two problems at once
1. you can save directly to SD card
2. you can launch via the shutter button
I tried version 4 & 5 which employed material design, but it fc'd with the following error:
java.lang.RuntimeException: createContext failed: EGL_BAD_ATTRIBUTE
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
Click to expand...
Click to collapse
Here is the working version : http://www.ibtimes.co.uk/moto-x-2nd-gen-stock-camera-gallery-apps-moto-g-how-install-1465213
but you can use the most recent moto gallery though : http://forum.xda-developers.com/moto-g/themes-apps/apps-motorola-camera-gallery-apps-t2965282

kabaldan said:
Yes, you can restore a data backup made from ext4 file system to the new f2fs file system in TWRP.
Click to expand...
Click to collapse
I tried that and it did not work for me. I used TWRP 2.8.5.0, installed CM12 on ext4, installed my apps, did a backup, changed to f2fs and then restored my backup. TWRP complained about the filesystem-change (something like "backup was made on ext4, it may not boot eventually") but restored my data.
The next boot took very long and then the "Android is upgrading" window came, telling me it is updating >170 apps. That's about twice as much as normal. When that finished I got many FCs and not a single non-system app was working. Starting it from the launcher gave me a FC every time.
I tried it two times, same result.
I even have some more problems with F2FS. Under heavy usage it corrupted my filesystem three times in two days. It starts with errors during app-install (error-codes 500, 503, 506 and/or 509, as far as I remember). Restoring these apps with Titanium doesn't work either.
Then there will be an inaccessible folder in /data/app/ with the name of the app causing the install errors. You can find out which folder it is easily by booting into TWRP and see the messages. It will tell you "Unable to stat /data/app/appname". Sometimes also something called /data/system/dropbox-[randomnumber] has the same error (and I don't have dropbox installed!).
Then it is getting worse and worse. You won't see this folder with normal file managers, but it will show up in the console with "ls -la". You can't remove this folder with "rm -rf" on the console, even with superuser rights. You can't remove the folder in TWRP because you can't select it. Wiping /data does not work, neither, because it will only remove all folders and files but can't remove this broken thing. It's also not possible anymore to make and restore backups. Do a filesystem check will result in an error and an unbootable system. Save with "restore permissions".
The only thing working is changing the filesystem to do a full format and then change it back to f2fs and then do a clean install. Until it happens again.
I switched back to ext4 now for /data and /cache and everything works again But f2fs felt great, it was responding faster.

tobby88 said:
I tried that and it did not work for me. I used TWRP 2.8.5.0, installed CM12 on ext4, installed my apps, did a backup, changed to f2fs and then restored my backup. TWRP complained about the filesystem-change (something like "backup was made on ext4, it may not boot eventually") but restored my data.
The next boot took very long and then the "Android is upgrading" window came, telling me it is updating >170 apps. That's about twice as much as normal. When that finished I got many FCs and not a single non-system app was working. Starting it from the launcher gave me a FC every time.
I tried it two times, same result.
I even have some more problems with F2FS. Under heavy usage it corrupted my filesystem three times in two days. It starts with errors during app-install (error-codes 500, 503, 506 and/or 509, as far as I remember). Restoring these apps with Titanium doesn't work either.
Then there will be an inaccessible folder in /data/app/ with the name of the app causing the install errors. You can find out which folder it is easily by booting into TWRP and see the messages. It will tell you "Unable to stat /data/app/appname". Sometimes also something called /data/system/dropbox-[randomnumber] has the same error (and I don't have dropbox installed!).
Then it is getting worse and worse. You won't see this folder with normal file managers, but it will show up in the console with "ls -la". You can't remove this folder with "rm -rf" on the console, even with superuser rights. You can't remove the folder in TWRP because you can't select it. Wiping /data does not work, neither, because it will only remove all folders and files but can't remove this broken thing. It's also not possible anymore to make and restore backups. Do a filesystem check will result in an error and an unbootable system. Save with "restore permissions".
The only thing working is changing the filesystem to do a full format and then change it back to f2fs and then do a clean install. Until it happens again.
I switched back to ext4 now for /data and /cache and everything works again But f2fs felt great, it was responding faster.
Click to expand...
Click to collapse
Interesting.
I had no trouble to restore the data from ext4 TWRP data backup to the newly created f2fs userdata file system.
And I haven't experienced any data corruption since the switch to f2fs so far...

kabaldan said:
Interesting.
I had no trouble to restore the data from ext4 TWRP data backup to the newly created f2fs userdata file system.
And I haven't experienced any data corruption since the switch to f2fs so far...
Click to expand...
Click to collapse
Um... no problem at all on my side either.
f2fs migration and data restore were both very smooth and no pain at all.
Overall, CM12 experience was way better than what I originally expected. with an antutu 20K > score.

CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.

I am not able to disable the LED light when the battery is being charged.
Do I overlook some option?
palmwangja said:
CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.
Click to expand...
Click to collapse
Confirm that.

Loader009 said:
I am not able to disable the LED light when the battery is being charged.
Do I overlook some option?
Confirm that.
Click to expand...
Click to collapse
My LED settings are still working out as expected by probably having inherited the value from the previous installation of CM11.
CM12 simply lacks the settings dialog?

@palmwangja, the settings dialog is there but I cannot set the color (completely missing), pulse length and speed (both are there but greyed out). (Well, the last two settings have also been greyed out in CM11.)
So the settings are kind of useless. We are only able to enable/disable "battery light" and "pulse if battery low".
But I think it is just a CM12 issue being in early development. It will probably be fixed in the next few months.

palmwangja said:
CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.
Click to expand...
Click to collapse
looks like CPU Governor setting section gone for a while. since 0221 nightlies.

Related

[GT-P6200][CWMRecovery][ROOT]ClockworkMod Recovery and Root

****** USE AT YOUR OWN RISK *******
This is NOT SUPPORTED SOFTWARE. This is purely for my amusement and entertainment. I'm making it available to download for those who might like to examine my work, but if you install it, you are on your own. I can't even test this myself. (I don't have a GT-P6200.)
Seriously - this has not been tested enough for me to be happy with it, and I'm unable to test it myself. Please read the thread for the GT-P6210 for instructions, known issues, warnings, etc.
If you do decide to install this anyway, please let me know how it works out for you. If no one is using it, I WILL NOT MAINTAIN IT AND WILL DROP IT.
If people do start using it, and the reports are that everything is working okay, then it'll get merged into what I'm already doing with the other two 7 plus models (meaning it'll get updated as needed when they do.)
Again, PLEASE READ the thread for the 6210 for everything you need to know: http://forum.xda-developers.com/showthread.php?t=1379532
..and here's a link for a CWM recovery.
Link: http://www.mediafire.com/download.php?do5jkna3dpas1tq
Take care
Gary
Hi! I'm a placeholder.
garyd9 said:
Hi! I'm a placeholder.
Click to expand...
Click to collapse
Hi, Placeholder. I'm a placeholder, too. Good meeting you here.
Pm'ed you. went straight in CWM, looks nice. able to make a full backup and md5. fails to restore in the middle of restoring /data
also getting UDIDs are inconsistent , fixing permission is supposed to take care of this.
and Im pretty much factory reset after reboot.
EDIT: appears as if Location cache map app by remy in market I had set to block wifi and cell caches. restoring a backup in CWM got permissions error, trestoring /data fails and Im left with pretty much a factory reset. went back to market and reinstalled suspicious app, installed and still says caches blocked removed app, rebooted, made back up and successful restore! woo hoo! Thank You Gary!
Note: should we make a note for 7+ CWM users beware blocked location caches, or re-write recovery to take care of this, and/or email the app dev?
anyways, pretty excited. Thanks so much Gary.
Anyone else want to help test the CWM Recovery for this tablet? (GT-P6200 only)
The current tester has had mixed results, but it _may_ have been the result of a third party app causing problems. I'd like to get someone else to test in addition to ensure there aren't any other issues.
In order to test, I need someone who has "adb" installed on their PC, is comfortable with linux commands, already knows how to use adb for commands such as "adb shell, adb push, and adb pull", doesn't mind using ODIN to restore their tablet to a factory state if it soft-bricks, and already knows how to use ODIN and CWM Recovery.
As a side-note; the third party app that MIGHT have been causing the problem is "Location Cache" by "remydemy." I don't use this app myself, but apparently it has some function to block the google/android location caches and it appears to do that by messing with the permissions on the files... which is somehow causing an error when the recovery tries to clean the /data directory in order to restore.
Thanks
Gary
link posted for testing.
thanks again gary loving it.
when I select wipe dalvik cache in CWM options it says dalvik cache wiped awfully fast. and after reboot and removing some bloatware.apks there are still loads of .dex files in /data/dalvik-cache including bloat that i removed.
So i just used root ecplorer to delete entire contents of folder. : )
is this not linked properly or CWM issue, or is this normal function?
thanks so much for your help.
chrisrotolo said:
when I select wipe dalvik cache in CWM options it says dalvik cache wiped awfully fast. and after reboot and removing some bloatware.apks there are still loads of .dex files in /data/dalvik-cache including bloat that i removed.
Click to expand...
Click to collapse
I'll look into it. Please try this alternative to test that function: Boot your phone normally, and then reboot into recovery. Using the recovery menu, mount the /data partition. Then use 'adb shell' to shell into the device and manually look in the /data/dalvik-cache directory. Then "cd /" and from within recovery choose the advanced->wipe dalvik-cache. Then look in /data/dalvik-cache directory again to see if it did what it should have done.
It's possible, based on the ordering of your above description, that the dalvik cache rebuilt after you wiped it (during the reboot) but before you removed your bloatware.
Take care
Gary
thank you. Gary tried not to get Banned OK? we need you buddy. lol
chrisrotolo said:
thank you. Gary tried not to get Banned OK? we need you buddy. lol
Click to expand...
Click to collapse
Where you able to run those tests yet?
thanks
Gary
not as of yet, sometime today though.
---------- Post added at 03:13 PM ---------- Previous post was at 02:23 PM ----------
so yeah, you must be right. dalvik-cache was full with /data mounted. cd / then wiped dalvik from CWM, which finishes in a split second; a list (ls) shows no dalvik-cache folder after wiping, completly gone.
Answers my question.
One other issue I ran into, that you're may be aware of is somehow I disabled the power button in CWM, it said something about back button disabled. I think I had to hold power for 10 sec. to reset device.
Thanks.
chrisrotolo said:
...somehow I disabled the power button in CWM, it said something about back button disabled.
Click to expand...
Click to collapse
That one I'm not sure of and really can't help much with. No 'power' button means you can't select anything which would really be annoying.
it works great! instant root and cwm within 2 minutes! i highly recommend gary's method than the other one. i also don't seem to lose root access by clearing ram memory. SWEET.
Not working:
- format internal sd-card
- update CSC
- installing pre-apps
how to remove CWMRecovery and install stock recovery?
lvsw said:
Not working:
- format internal sd-card
- update CSC
- installing pre-apps
how to remove CWMRecovery and install stock recovery?
Click to expand...
Click to collapse
formatting the internal SDCard isn't going to happen with this version of CWM (that's designed for GB.) Honeycomb devices don't have a seperate /sdcard partition to format. Formatting the "internal sdcard" can be done from within the settings menu via a factory reset.
The other two items aren't broken - they simply don't exist in CWM recovery, and probably never will... Is having the pre-loaded samsgung sample video and music files repushed to your device over and over actually more important to you than the ability to do a nandroid backup? Do you even know what the CSC is that isn't being updated?
Have you bothered to seach around BEFORE installing this? Have you bothered to search around AFTER installing it to find out how to restore to factory?
I'm NOT going to answer your specific question on the basis that it's been answered already and I honestly feel that a user of XDA needs to have the ability to SEARCH before posting.
Take care
Gary
worked like a charm...backup and restore works perfectly...
thanks gary !!!
Hey Gary-
Question -
Is it possible to get ROM manager to recognize the recovery flashed here? I'd like to flash the new version of CWM, which claims to fix the internal SD card problem, but when I install ROM Manager it doesn't recognize that I have CWM flashed.
I could just flash a new recovery from ROM Manager, but I don't want to screw anything up.
Thanks!
Sent from my Galaxy Tab Plus using Tapatalk
jeffcavicchi said:
Is it possible to get ROM manager to recognize the recovery flashed here? I'd like to flash the new version of CWM, which claims to fix the internal SD card problem, but when I install ROM Manager it doesn't recognize that I have CWM flashed.
Click to expand...
Click to collapse
This recovery is CWM Based - it is not an official ROM Manager supported recovery. I have no idea what "internal SD card problem" you are referring to, as I had internal sd card issues resolved with this CWM-based recovery before I posted it (there's only a single version for the P6200.)
I'd actually advise against using the "ROM Manager" program on this device. It's not a supported device, and things can go terribly wrong when messing with recovery and firmware partitions that aren't explicitly supported.
Take care
Gary
garyd9 said:
This recovery is CWM Based - it is not an official ROM Manager supported recovery. I have no idea what "internal SD card problem" you are referring to, as I had internal sd card issues resolved with this CWM-based recovery before I posted it (there's only a single version for the P6200.)
I'd actually advise against using the "ROM Manager" program on this device. It's not a supported device, and things can go terribly wrong when messing with recovery and firmware partitions that aren't explicitly supported.
Take care
Gary
Click to expand...
Click to collapse
Got it - sort of what I figured.
Am I wrong that Recovery still sees the external SD card as an internal SD card? I thought the last time I flashed a zip (boot animation) Recovery showed it as being on the internal card, even though it was actually on the external card. I could be wrong, though - and I don't have the device in front of me to check.
Not a big deal either way - thanks for the response, and your hard work!
*Edit*
Just realized I posted this in the wrong thread like an idiot - I have a P6210. guess that's what happens when you start posting things bc (before coffee).

[DEV][RECOVERY]CWM Touch 6.0.2.7 for OT-995 [2013-01-09]

Should be working fine but it's thoroughly untested so expect errors at some point.
It's for cyanogenmod installations where /custpack is mounted to /system/app, if there is a request i'll make a version that mounts /custpack to /custpack but for now this is it.
I take no responsibility for what this will do to your phone, it's entirely possible that it will kill your phone and even cause a rift in the space time continuum which will kill us all.
Anyway, here it is, flashable via fastboot as usual, if it goes to stable i'll make an installer for it to install via CWM.
For those not comfortable with flashing via fastboot or who don't have access to a computer at this time, use flash_image via terminal, it should work fine.
Latest version:
cwm_touch_cocktail_6.0.2.7-testing-V2.img
MD5: feb35010a527de42c6c68d6987b939e1
Old versions (kept but not recommended):
cwm_touch_cocktail_6.0.2.7-testing.img
MD5: da314f6eb6429bc3530539d8a0e9e20a
Changelog:
2013-01-09
* Fixed buttons, you can now scroll, select and go back using the buttons.
* Fixed backup, /custpack is now linked to /system/app, this should also make it compatible with older roms. (Remember, this is still testing)
* Added mountpoint for /sd-ext to fix nandroid backups for A2SD/S2E/Links2SD installed apps.
* Fixed some glitches and updated kernel code.
2013-01-08
* initial release
Just flashed it to my mobile and thus far it looks promising. Currently I am not planning to change my rom yet so I haven't confirmed if it is able to flash a rom I only saw it boot.
A little thing I noticed though.
When CWM boots and you are in the main menu the menu fills around 80% of the screen. But when you go to another menu lets say flash something from SDCard it only fills up 50% of the screen and you have to scroll a lot to reach the bottom.
Also the buttons are not working at all?
When you press some of the buttons it starts doing weird stuff..
It seems like the volume buttons and the power button work currectly but the buttons at the bottom of the screen are weird.
Hylix said:
Just flashed it to my mobile and thus far it looks promising. Currently I am not planning to change my rom yet so I haven't confirmed if it is able to flash a rom I only saw it boot.
A little thing I noticed though.
When CWM boots and you are in the main menu the menu fills around 80% of the screen. But when you go to another menu lets say flash something from SDCard it only fills up 50% of the screen and you have to scroll a lot to reach the bottom.
Also the buttons are not working at all?
When you press some of the buttons it starts doing weird stuff..
It seems like the volume buttons and the power button work currectly but the buttons at the bottom of the screen are weird.
Click to expand...
Click to collapse
I had completely forgotten about the bottom buttons TBH, i'll fix that in a future version.
Regarding the screen space, it's not much i can do about that ATM but i'll keep it in mind when and if it gets to stable.
Awesome looking good so far
Really cool. Just point and I'll help test.
Downloading and testing.
With this we can backup and restore CM/PA/PAC roms right?
Mrwargod said:
Downloading and testing.
With this we can backup and restore CM/PA/PAC roms right?
Click to expand...
Click to collapse
If you mount /system/app in mounts and storage it should work just fine.
I'm probably going to write a script and put it in the place of the nandroid/nanddump/nandwrite files so /system/app is mounted before the backup/restore is written.
Just added some stuff to it, partitioning sdcard and support for sd-ext (and swap).
Should work well with an init.d script and s2e for those interested in larger storage for apps.
(simple script to mount /dev/mmcblk1p2 to /sd-ext would work)
tumaini418 said:
Really cool. Just point and I'll help test.
Click to expand...
Click to collapse
Would be great it you have the opportunity.
When i use key test section, its dont back main screen and i need unplug battery.
You did great job thanks a lot...
master' said:
When i use key test section, its dont back main screen and i need unplug battery.
You did great job thanks a lot...
Click to expand...
Click to collapse
You are welcome.
Jinxxed said:
If you mount /system/app in mounts and storage it should work just fine.
I'm probably going to write a script and put it in the place of the nandroid/nanddump/nandwrite files so /system/app is mounted before the backup/restore is written.
Just added some stuff to it, partitioning sdcard and support for sd-ext (and swap).
Should work well with an init.d script and s2e for those interested in larger storage for apps.
(simple script to mount /dev/mmcblk1p2 to /sd-ext would work)
Click to expand...
Click to collapse
Yes, having that automated would be great. If i could backup/restore/install zip's all in one CWM that would be awssome and render it definitivelly daily usable. And way easyer for me to test more roms without the concern in loosing my previous rom.
Mrwargod said:
Yes, having that automated would be great. If i could backup/restore/install zip's all in one CWM that would be awssome and render it definitivelly daily usable. And way easyer for me to test more roms without the concern in loosing my previous rom.
Click to expand...
Click to collapse
Should work fine now, to check if it is, analyze the content of your /sdcard/clockworkmod folder.
Already on it to try the latest version of PAC.
I'll feed you on how it went.
---------- Post added at 11:39 AM ---------- Previous post was at 11:18 AM ----------
The link is dead Jinxxed, or is it still uploading?
Mrwargod said:
Already on it to try the latest version of PAC.
I'll feed you on how it went.
---------- Post added at 11:39 AM ---------- Previous post was at 11:18 AM ----------
The link is dead Jinxxed, or is it still uploading?
Click to expand...
Click to collapse
I mistyped the link. :silly: It's fixed now.
Sorry about that.
Yeah, i had already figured out the correct link anyway.
Thanks, testing!
Wipe battery stats is missing in advanced menu.
Backup / Restore - Not working properly - Some of my apps got lost in restore, namedelly all the gapps, some launchers (holoHD), some file explorers (root file explorer), google account, . . .
Flash zip - ROM flashed ok but gapps didn't flashed, neither did an aditional mod.
But it's really looking really good. And the hardware buttons are fixed.
Keep up the good work.
Mrwargod said:
Wipe battery stats is missing in advanced menu.
Backup / Restore - Not working properly - Some of my apps got lost in restore, namedelly all the gapps, some launchers (holoHD), some file explorers (root file explorer), google account, . . .
Flash zip - ROM flashed ok but gapps didn't flashed, neither did an aditional mod.
But it's really looking really good. And the hardware buttons are fixed.
Keep up the good work.
Click to expand...
Click to collapse
Thank you.
It's a weird result since that means that the backup has problems with both /data and /system/app (i assume since google account and launchers not installed via CWM are stored on /data). It really should be all or nothing, one would think...
There is a problem with mounting /system/app for some reason, that's why gapps isn't installed properly, i'll look into it.
It should be easy enough to fix though, expect a new version within the next couple of days.
Will post the same post here as in Benetnath his PAC rom cause maybe it has something to do with CWM?
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Just ran against a problem with doing the PAC update.
All my gapps seem to be broken and some apps crash on start up.
I had the first PAC rom running and flashed the newest over it while clearing my cache (tried flashing the gapps after this but still didn't fix it)
After this I did a complete reset and flashed it and now it seems to work.
Don't know if its the ROM or if its the new touch CWM which is still in testing..
NOTE: It seems like other people succeeded in flashing the updated rom over the previous rom.
I am not the only one with this problem and it seems like there are other people who have the same problem with the other CWM so ignore this all
trying to flash image in terminal in phone. i keep getting "error scanning partitionsfailed with error: -1
??????????
anyone?
nevermind i went ahead and did it the way i know how.
2nd Edit: just did a backup and restore. Seems to have worked fine.
I couldn't mount usb though.
Great work man. Between you and Benetnath we should be cooking with gas soon.
Thanks jinxxed.

[Q][HELP] convert EXT4 to F2FS

Hi all, I'm reading some things about f2fs vs ext4 and I'm really looking into it...
Recently, I've flashed a LOT of ROMS (CM10, 10.1, 10.2, Stock 4.1 and stock based ones) trying to get 'that smoothness' that I had some times ago, but it always started lagging 2 or 3 days after clean flashing.
I started to see things like this:
lotherius said:
...on my 2012 Nexus 7 I was having a lot of lag issues using stock/Faux123. It was painfully slow at times, even just waking the screen. I converted to F2FS (data only, not system), and the problems evaporated. [...] It was slow before, then it was fast. I had tried multiple other solutions prior to F2FS that didn't work. Many other users on the N7 2012 have also reported the same experience.
Click to expand...
Click to collapse
So this is exatcly the 'fix' that i'm looking for, if it really does bring it...
Can someone help to do this? I saw some kernels on development thread but I didn't get the convertion part... [N0ob]
Narciso Neto said:
Hi all, I'm reading some things about f2fs vs ext4 and I'm really looking into it...
Recently, I've flashed a LOT of ROMS (CM10, 10.1, 10.2, Stock 4.1 and stock based ones) trying to get 'that smoothness' that I had some times ago, but it always started lagging 2 or 3 days after clean flashing.
I started to see things like this:
So this is exatcly the 'fix' that i'm looking for, if it really does bring it...
Can someone help to do this? I saw some kernels on development thread but I didn't get the convertion part... [N0ob]
Click to expand...
Click to collapse
Have you find solution?
I found a tutorial (can't post links yet) that shows how to convert. You'll need the most recent TWRP for your device and a ROM compatible with F2FS (CM12 for sure is). You can use flashify to install the custom rom.
Boot into recovery
Make backup of your files (just for security reasons)
Go to Wipe > Advanced Wipe > Data > Repair or Change Filesystem > Change Filesystem > F2FS
I didn't tried it, but you can do the same thing with /cache partition
Restore your backup, if you did it
Go to Advanced > Fix Permitions
Reboot.
I'm going to test it and see if works.
EDIT: It works but DO MAKE a backup because it'll wipe all your data.
Will it delete all the files in internal storage?
shsagnik said:
Will it delete all the files in internal storage?
Click to expand...
Click to collapse
Yes, it'll as we'll format the partition as F2FS. Make a backup if you have important data on there.
willianalberto said:
I found a tutorial (can't post links yet) that shows how to convert. You'll need the most recent TWRP for your device and a ROM compatible with F2FS (CM12 for sure is). You can use flashify to install the custom rom.
Boot into recovery
Make backup of your files (just for security reasons)
Go to Wipe > Advanced Wipe > Data > Repair or Change Filesystem > Change Filesystem > F2FS
I didn't tried it, but you can do the same thing with /cache partition
Restore your backup, if you did it
Go to Advanced > Fix Permitions
Reboot.
I'm going to test it and see if works.
EDIT: It works but DO MAKE a backup because it'll wipe all your data.
Click to expand...
Click to collapse
I have tried the this procedure on my tab 2, and was not able to get it working. I have done this on my old Galaxy Nexus phone, and it made a huge difference in the performance. I was really hoping I would be able to make this work on the tab 2.
I was able to convert the data partition to F2FS, using Android-andy's twrp 2.8.1f2fs recovery. Then flash CM12. But after a reboot, it came up to a screen saying "Encryption Unsuccessful", and the only option available is to reset tablet. When I choose to reset, it would reboot into recovery, the attempt to mount /data, but would fail. It would reboot before I could read the exact errors.
I tried several time to get this to work, but every attempt failed.
jcooler said:
I have tried the this procedure on my tab 2, and was not able to get it working. I have done this on my old Galaxy Nexus phone, and it made a huge difference in the performance. I was really hoping I would be able to make this work on the tab 2.
I was able to convert the data partition to F2FS, using Android-andy's twrp 2.8.1f2fs recovery. Then flash CM12. But after a reboot, it came up to a screen saying "Encryption Unsuccessful", and the only option available is to reset tablet. When I choose to reset, it would reboot into recovery, the attempt to mount /data, but would fail. It would reboot before I could read the exact errors.
I tried several time to get this to work, but every attempt failed.
Click to expand...
Click to collapse
Have you tried converting AFTER CM boots the first time? Also, are you using the latest build? It can be TWRP's fault too (just read on a thread on ASUS) or maybe our device don't support F2FS yet.
I have managed 2 convert many ROMs for the tab 2. I've spent hours reading about it in the past. As far as I'm aware no lollipop ROMs can convert yet as u also need a custom kernel that supports f2fs. U should be able 2 convert most KitKat ROM s with the right tools. Its only about 4 lines of the updater script 2 edit then find a kernel that supports ur ROM and f2fs like agni,dhollmen or blackhawk. Youll also need custom recovery thats f2fs ready, theres a twrp and philz download around. pitty easy once you do it ab couple of times. Hope that helps u......
Are there performance improvements?
There was quite a bit improvement, first sign of any custom kernel for lollipop that support's f2fs I'll be trying 2 convert the ROM to see the comparison's. Think that might be a little time away yet tho........
I've opo and like to migrate on CM12 nightly with F2Fs but stopped on boot logo with AK kernel any suggestion??
-cm-12-20150312-NIGHTLY-bacon.zip
-AK.128.OPO.SKULL.CM12.zip
-formatted cache, data, system, sdcard as f2fs by philz_touch_6.59.1
what's wrong?

Team Win Recovery Project for the LG G Pad X 8.0 (V521, V522, V525)

[RECOVERY] TWRP 2.8.7.0 - TeamWin Recovery Project
TeamWin is proud to present TWRP v3.0.2.0 for the LG G Pad X 8.0 (V521, V522, V525)
Youtube video: http://www.youtube.com/watch?v=RIvWVS_Rkxo
Full TeamWin credits are on the TWRP page on the TeamWin website: http://teamw.in/project/twrp2
Introduction:
Team Win Recovery Project or twrp for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Key Features:
Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Decryption of /data
Easy selection of internal/external storage
See changelog below for new features
In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe cache & dalvik, and run a backup.
We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.
Source Code:
GitHub - https://github.com/omnirom/android_bootable_recovery
Gerrit for TWRP Official Device Configs - http://gerrit.twrp.me
Gerrit Instance - http://gerrit.omnirom.org
If you have made your own twrp build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.
b3 Device Config: https://github.com/Shabbypenguin/android_device_lge_b3
DOWNLOAD:
http://www.t2h-gh0st-is-garbage.xyz/TWRP-V521-3.0.2.0.img
Support:
Only ask for support in the chat for general twrp issues, not device specific problems.
Click http://webchat.freenode.net/?channels=twrp for live support or join us in #twrp on Freenode IRC servers[/QUOTE]
8/21/2016
updated the link, same file name fixed internal storage mount and a few other minor issues
8/20/2016 - initial release
Youll need to use flashify to flash the image after rooting. this should work on all b3 models, aka lg v525, v521 etc
For the test version i had of 2.7.8.0 i had to do this, since i have already done it i cant confirm if you need to on 3.0.2.0 or not. ----- data/internal storage wont mount/work until you go to wipe> format data and format without encryption reboot recovery and then do a factory reset. this will wipe your ENTIRE device but allow you to use twrp normally.
Thanks a lot, i'll flash it soon. Any idea if xposed would work on this device?
shabby is the man
emilyrugburn said:
Thanks a lot, i'll flash it soon. Any idea if xposed would work on this device?
Click to expand...
Click to collapse
I dont use or follow xposed development (my last 3 personal phones werent even rooted) i dont see any reason why it wouldnt we have twrp as well as stock kdz so you can mess things up pretty bad and still recover.
shabbypenguin said:
I dont use or follow xposed development (my last 3 personal phones werent even rooted) i dont see any reason why it wouldnt we have twrp as well as stock kdz so you can mess things up pretty bad and still recover.
Click to expand...
Click to collapse
Xposed looks to work just fine. Thanks again
emilyrugburn said:
Xposed looks to work just fine. Thanks again
Click to expand...
Click to collapse
glad to hear it
i grabbed the tablet as it was a great deal and ive loaded it up with apps for my daughter who is the primary user for it so i wont be doing much with it but its good to see the community finally taking off .
Please add the installation instructions - http://www.xda-developers.com/how-to-install-twrp/
Also, add a 'Donation' segment if you're interested in accepting them
avishah395 said:
Please add the installation instructions - http://www.xda-developers.com/how-to-install-twrp/
Also, add a 'Donation' segment if you're interested in accepting them
Click to expand...
Click to collapse
there is a donate to me button under my name and those instructions dont apply to this device. i specify how to use this in the second post.
IF POSSIBLE, please add your thread to our device ET so we can get a full thread eventually - http://forum.xda-developers.com/t/lg-g-padx
Also, update the version number in the title. I was able to get TWRP working, you do still need to wipe to clear the encryption (it says it does this in red). Then, you can continue using it normally.
avishah395 said:
IF POSSIBLE, please add your thread to our device ET so we can get a full thread eventually - http://forum.xda-developers.com/t/lg-g-padx
Also, update the version number in the title. I was able to get TWRP working, you do still need to wipe to clear the encryption (it says it does this in red). Then, you can continue using it normally.
Click to expand...
Click to collapse
i was on that page and clicked new thread, not sure why it didnt work or how exactly you are supposed to do it as that logically made the most sense to me.
i know you need to wipe to clear the encryption, but i wasnt sure if you needed to clear the encryption in order to use twrp properly as i had already done it on an older version. good catch on the version number
shabbypenguin said:
i was on that page and clicked new thread, not sure why it didnt work or how exactly you are supposed to do it as that logically made the most sense to me.
i know you need to wipe to clear the encryption, but i wasnt sure if you needed to clear the encryption in order to use twrp properly as i had already done it on an older version. good catch on the version number
Click to expand...
Click to collapse
I'm not entirely sure about clearing encryption to use TWRP. I know when I did it, TWRP functioned normally.
Ill ask XDA about the ET, maybe it has a second page that isn't showing.
UPDATE: To add our tag, look for "Edit Tags" (CTRL+F) or use this URL http://forum.xda-developers.com/threadtag.php?t= {add thread id - yours is 3443944}. Our ET/tag is "lg-g-padx"
If it could be made as flashable .dz or .tot, that would be excellent.
mingkee said:
If it could be made as flashable .dz or .tot, that would be excellent.
Click to expand...
Click to collapse
as previously mentioned, only people who have leaked lg tools can make flashable tots etc. i spent hours researching it, testing out different methods and reflashing stock kdz a bunch of times.
the only way i could streamline this is if i submitted this to be made official so once rooted you could use twrp manager, but the submission process isnt exactly one that is a lot of fun to do. especially considering with flashify you only have to do like 3 clicks anyways.
Got something for you, shabbypenguin.
My intitial partitions-being-unmountable-due-to-unknown-error-150 likely because of faulty .tot file. the 1.4GB one works. of course after flashing 10c
Device still reports as LG V510 via MTP. Not a huge deal.
In TWRP file browser, internal storage is mounted as /emmc ?!
SD Card will not mount, log attached. Complete. /external_sd is not /dev/block/mmcblk0p1. It's /dev/block/mmcblk1p1 I manually mounted it there and it works.
Some errors about /sdcard as well. Probably cant mount /data/media/0 there. is my guess.
OTG does not mount properly as well, in recovery it shows up at /dev/block/sda1, recovery's fstab points at /usb-otg?
Was gonna put the output of mount/df from recovery and android but thought that wouldn't help.
eriklion said:
Got something for you, shabbypenguin.
My intitial partitions-being-unmountable-due-to-unknown-error-150 likely because of faulty .tot file. the 1.4GB one works. of course after flashing 10c
Device still reports as LG V510 via MTP. Not a huge deal.
In TWRP file browser, internal storage is mounted as /emmc ?!
SD Card will not mount, log attached. Complete. /external_sd is not /dev/block/mmcblk0p1. It's /dev/block/mmcblk1p1 I manually mounted it there and it works.
Some errors about /sdcard as well. Probably cant mount /data/media/0 there. is my guess.
OTG does not mount properly as well, in recovery it shows up at /dev/block/sda1, recovery's fstab points at /usb-otg?
Was gonna put the output of mount/df from recovery and android but thought that wouldn't help.
Click to expand...
Click to collapse
thanks for the info, my sdcard is provisioned as internal storage so it doesnt show up as a micro sdcard in recovery, not sure how i got it so mixed up but ill push an updated version out later tonight
what do you mean it shows up as emmc?
shabbypenguin said:
thanks for the info, my sdcard is provisioned as internal storage so it doesnt show up as a micro sdcard in recovery, not sure how i got it so mixed up but ill push an updated version out later tonight
what do you mean it shows up as emmc?
Click to expand...
Click to collapse
When you're browsing for things to flash/etc, theres the path/directory /emmc, you enter it and it contains things that are supposed to be in /data/media/0
Confused About Install Instructions
shabbypenguin said:
8/20/2016 - initial release
Youll need to use flashify to flash the image after rooting. this should work on all b3 models, aka lg v525, v521 etc
For the test version i had of 2.7.8.0 i had to do this, since i have already done it i cant confirm if you need to on 3.0.2.0 or not. ----- data/internal storage wont mount/work until you go to wipe> format data and format without encryption reboot recovery and then do a factory reset. this will wipe your ENTIRE device but allow you to use twrp normally.
Click to expand...
Click to collapse
I have flashed TWRP many times in the past on many devices. Yet for the 1st time after using Flashify, it obviously did not install properly as it didn't mount internal storage on this pad. It doesn't even recognize show that there's anything available in internal storage to back up to. Frankly, I don't understand your above instructions on how to property install it.
Typing clear instructions would be greatly appreciated as I can't use it. But do appreciate the time you put into it and will make a donation once this has been fixed.
pressmoon said:
I have flashed TWRP many times in the past on many devices. Yet for the 1st time after using Flashify, it obviously did not install properly as it didn't mount internal storage on this pad. It doesn't even recognize show that there's anything available in internal storage to back up to. Frankly, I don't understand your above instructions on how to property install it.
Typing clear instructions would be greatly appreciated as I can't use it. But do appreciate the time you put into it and will make a donation once this has been fixed.
Click to expand...
Click to collapse
you need to go to wipe > format data. your devices data is by default encrypted and twrp cant decrypt it. once youve wiped data, reboot recovery and then do a factory reset. your device will boot and function as normal and youll have a fully working twrp
eriklion said:
When you're browsing for things to flash/etc, theres the path/directory /emmc, you enter it and it contains things that are supposed to be in /data/media/0
Click to expand...
Click to collapse
ive uplaoded a version taht fixed that, but im unable to mount external_sd or usb otg. sda1 doesnt show up for me in /dev/block and even manually trying to mount sdcard to mccblk1p1 fails due to an invalid arguement, how did you mount yours?

TF700t KatkKiss Marshmallow "Storage space running out"

TF700t
I am on twrp-3.0.2-0. I followed the following steps.
1. Full wipe
2. Format /data
3. Change /data to f2fs
4. Flash KatKiss-6.0_TF700T_029.zip
5. Flash OpenGapps ARM 6.0 Pico
6. Flash SuperSU BETA 2.52
7. Wipe cache/dalvik
8. Reboot
The tablet boots with the message "Storage space running out. Make sure there is at least 250mb free space". This is not only cosmetic but prevents me from installing some apps and enable sync on gmail.
I tried following the steps 2 times thinking I may have had done something wrong the first time each time with format of /data.
What am I doing wrong? Is there any way to increase the size of the system partition from TWRP? What are my options?
Are you trying to install apps to /system? They should go to /data, your system partition is pretty much filled with the rom.
In adb shell run cat /proc/partitions and post the result
Sent from my Nexus 5X using Tapatalk
Out of space in /system after clean install
I have pretty much exactly the same problem as @smodak - after formatting all partitions in TWRP and changing /data to f2fs I followed the published instructions - installed KatKiss from recovery, then SU 2.52 beta, then open gapps ARM 6.0 pico. All went well except that gapps won't install as there is only 102Mb free in the /system partition.
So I'm just flashing the gapps package in TWRP but it is obviously trying to install to /system instead of /data as you suspected @berndblb... I wonder if this is an error in the installer package configuration?
I had a look through the gapps zip but couldn't find anything explicitly referencing /system, so I'm not sure how to direct the installer to install to /data instead... any suggestions gratefully received. Meantime I might download a different flavour gapps and see if it behaves differently.
Thanks!
I downloaded open_gapps-arm-6.0-full and tried again - still trying to install to /system.
Is it possible to change this behaviour?
You cannot install the full gapps version. The system partition is not large enough. Download and flash the pico version. It has only the essential Gapps, those that need to be in /system to work.
If you're missing any Google apps install them from Play. Then they will install to /data
Yep, already tried pico first - not enough space. Was hoping that the /system target was an error but have since learnt this is by design in open gapps.
I'm having trouble finding any other distribution that targets /data - do you know of any?
Thanks.
Thousands of people have downloaded the rom and flashed the recommended pico gapps without a problem, including yours truly.. And your system partition is not large enough??? I don't think so. I have no idea what it is you are doing, but you are doing something wrong....
Back to basics I would recommend: double check each step and start over
Sigh... I've come so far - from a soft brick to a working OS, I can almost taste it! OK, back to square one. Wipe and try again.
Tell me if this sounds right though - TWRP is reporting that my /system is 503Mb in total, and after installing KK and SU 401Mb is used. So, only 102Mb free. Am I somehow chewing up extra space during the install, or is this what you'd expect, and the partition size you'd expect? The gapps pico zip is 155Mb so if it's trying to extract everything to /system during install, and these sizes are right, it's hard to see how it's ever going to work.
multiSingularity said:
Sigh... I've come so far - from a soft brick to a working OS, I can almost taste it! OK, back to square one. Wipe and try again.
Tell me if this sounds right though - TWRP is reporting that my /system is 503Mb in total, and after installing KK and SU 401Mb is used. So, only 102Mb free. Am I somehow chewing up extra space during the install, or is this what you'd expect, and the partition size you'd expect? The gapps pico zip is 155Mb so if it's trying to extract everything to /system during install, and these sizes are right, it's hard to see how it's ever going to work.
Click to expand...
Click to collapse
Where do you see the 503mb size? The TF700 has a 768 mb /system partition.
Format system, then flash rom, gapps and super su in that order.
With Nougatella, pico gapps and SuperSU I have 563 mb on /system.
Install and run DiskInfo from Play to see your partition size and what's in use.
Ooops, sorry - you can't boot the thing.. Didn't mean to twist the knife. :laugh:
Open a terminal in TWRP and run: cat /proc/partitions
You'll see that mmcblk0p1 is 786432 kb which equals 768 MB.
I would be stunned if you see anything dirfferent
berndblb said:
Where do you see the 503mb size? If I remember correctly the TF700 has a ~760 mb /system partition.
Format system, then flash rom, gapps and super su in that order
Click to expand...
Click to collapse
TWRP 3.0.2.1 > Wipe > Advanced Wipe > Select "System" > Repair or Change File System. Shows 503Mb for /system, ~59Gb for /data.
I'm wondering if there might be temp directories left over from installs that need cleaning up? Could I resize those two partitions without a high risk of bricking my tab again?
I'll try reflashing in your order... I was going from the instructions in the KK thread that said to do SU before gapps. Maybe that will help.
---------- Post added at 03:27 PM ---------- Previous post was at 03:13 PM ----------
berndblb said:
Install and run DiskInfo from Play to see your partition size and what's in use
Click to expand...
Click to collapse
Heh, it's a bit hard to access the Play Store without being able to install gapps!
multiSingularity said:
Heh, it's a bit hard to access the Play Store without being able to install gapps!
Click to expand...
Click to collapse
Yeah, I realized that, read my edit above
---------- Post added at 09:33 PM ---------- Previous post was at 09:30 PM ----------
multiSingularity said:
TWRP 3.0.2.1 > Wipe > Advanced Wipe > Select "System" > Repair or Change File System. Shows 503Mb for /system, ~59Gb for /data.
I'm wondering if there might be temp directories left over from installs that need cleaning up? Could I resize those two partitions without a high risk of bricking my tab again?
Click to expand...
Click to collapse
Mhh, definitely format system because in the same place TWRP shows me 755 mb for /system.
No, you cannot resize the partitions and you don't need to....
berndblb said:
Open a terminal in TWRP and run: cat /proc/partitions
You'll see that mmcblk0p1 is 786432 kb which equals 768 MB.
I would be stunned if you see anything dirfferent
Click to expand...
Click to collapse
Prepare to be stunned.
mmcblk0p1 is 524288 in size.
Unsurprisingly, formatting and reflashing KK then gapps still failed. I've attached the gapps installation log for some light reading.
(Scratches head) Soooo... something is screwy with my system partition size. I've never resized it (if that's even possible) so I don't know what's going on.
multiSingularity said:
Prepare to be stunned.
mmcblk0p1 is 524288 in size.
Unsurprisingly, formatting and reflashing KK then gapps still failed. I've attached the gapps installation log for some light reading.
(Scratches head) Soooo... something is screwy with my system partition size. I've never resized it (if that's even possible) so I don't know what's going on.
Click to expand...
Click to collapse
I am stunned and scratching my head. This is after running a format in TWRP???
It's late here and I'm going to sleep on this. c u later
berndblb said:
I am stunned and scratching my head. This is after running a format in TWRP???
It's late here and I'm going to sleep on this. c u later
Click to expand...
Click to collapse
Hey, thanks for all your help so far. I really appreciate the time you've put in answering my questions! Sleep tight.
Had to downgrade to KK 5.1.1 to get it all to fit. Worked OK, but noticably slower than Nougat. I did a little jiggerypokery with KK 7.1 in the TWRP terminal window and moved the /system/app directory to my sdcard (set up as Adoptable Storage) with a symlink to it under /system. Hoping this should work OK... it certainly gave me enough space to install gapps. Time to test.
Yeah well that was a bit of a flop. Got stuck on the boot animation. Tried moving some different directories out of system to sdcard or to /data and symlinking but no dice any which way. Tried leaving directories in situ but moving large files and symlinking those (eg foreign font files) but still no joy.
Unless there's a way to delete and recreate the system and data partitions I think I'm stuck on 5.1 till the end of time.
multiSingularity said:
Yeah well that was a bit of a flop. Got stuck on the boot animation. Tried moving some different directories out of system to sdcard or to /data and symlinking but no dice any which way. Tried leaving directories in situ but moving large files and symlinking those (eg foreign font files) but still no joy.
Unless there's a way to delete and recreate the system and data partitions I think I'm stuck on 5.1 till the end of time.
Click to expand...
Click to collapse
You really think the tablet will last that long?? :silly:
How about flashing the thing back to stock. AFAIK flashing the stock blob in fastboot puts everything back to stock. I have no idea if it also recreates the partition table though... Worth a shot if you ask me.
It's called a buster99 and typically used if you're stuck with an 'unrecoverable bootloader error'. Google those terms and you'll find the steps easy enough.
berndblb said:
You really think the tablet will last that long?? :silly:
How about flashing the thing back to stock. AFAIK flashing the stock blob in fastboot puts everything back to stock. I have no idea if it also recreates the partition table though... Worth a shot if you ask me.
It's called a buster99 and typically used if you're stuck with an 'unrecoverable bootloader error'. Google those terms and you'll find the steps easy enough.
Click to expand...
Click to collapse
Yeah, I used buster99's approach to recover from my soft brick. It's worth a go, for sure. Will let you know how it goes.
OK, here's the latest.
Flashing the stock ASUS ROM via fastboot failed because the staging partition is too small - it can't even get off first base.
HOWEVER... the lightbulb went on as to why my partitions are all out of whack - a while ago when I started experimenting with resurrecting my Infinity I accidentally flashed a stock TF201 ROM onto it, and this has clearly recreated TF201-sized partitions for me. So, this is an ecouraging sign that doing the same with the right ROM will fix the issue - if only we can get it to complete.
I'm thinking if I could delete all partitions except system and recovery, or even recreate a properly sized staging, and then flash the stock ROM it would likely create the missing partitions as it goes. Thoughts?
Now that explains a lot!
I seem to remember that _that posted a flashable partition table somewhere quite a while ago.... pt.blob I think it was.... I'll dig for it later today...
---------- Post added at 06:00 AM ---------- Previous post was at 05:52 AM ----------
Or you say wth and just flash the TF201 Katkiss to it
Which bootloader do you have on there now? The 700 or 201?

Categories

Resources