[Q] GingerBread Battery Fix v0.8 Problem - General Questions and Answers

I wiped cache and dalvik cache, then installed the ZIP -- and after more than five minutes, the screen is still on "Installing update..." How long does this take?
Ten minutes later, I took the battery out to hard reboot the phone. It all came back OK (took a while because it had to build back the cache), but I'm not sure if the update took.
I did notice this error:
E:can't mount /dev/block/mmcblk1p2
(File exists)
But then it said it did delete the dalvik cache, so I thought it was all right, but maybe it didn't quite work. I'm using System Recovery to go into Recovery GFAN.COM V2.5.1.8. How do I successfully wipe the dalvik cache?

Are u using Full Touch Recovery?
If yes - change to normal recovery, I had this problem and now it works.
If no - I don't know, maybe someone other helps you

ch3mn3y said:
Are u using Full Touch Recovery?
If yes - change to normal recovery, I had this problem and now it works.
If no - I don't know, maybe someone other helps you
Click to expand...
Click to collapse
No, I'm not using FTR. I'm not even using ROM Manager -- I use System Recovery (an apk I found). It's the Moto A4 bootstrap that's based on Koush's CWM Recovery.

There is a problem with my signing on linux, I'll try and get a quick fix for the .zip tonight... until then:
1. Push files to correct folders.
2. Fix permissions to rw-r-r
3. Reboot
EDIT:
This is for the x2 right?? You should post in the Droid x2 Q&A section if so. It's not for other phones, only the Dx2.
Regardless, Problem fixed.

Are you saying I should unzip the files and then change their permission? What you describe, rw-r-r, is chmod 644. So I should extract, chmod, re-zip, then run the flash update? And yes, this is for the X2.

No l, just redownload, I fixd the problem.
Tapin' the Talk on my HTC Trophy

Just re-downloaded it, but nothing's different -- still having the same issue where it freezes at Installing update. I noticed there are two directories off of root now, Dx2_GB_BatteryFix and META-INF -- is that correct?

I am having the same issue with the zip file. Although I wouldn't say I am a noob, pushing these files is something new to me. If the zip cannot be properly signed or there is difficulty unforeseen in being able to do so, can someone explain in some detail how to push this?
Many thanks!
EDIT: So I figured it out using File Expert. Copied and overwrote battd to system/bin and libbattd.so to system/lib and corrected the permissions as you stated, rebooted and wiped cache and dalvik cache. All seems good now! Thanks for the fix.

Related

CANNOT flash any ROM :(

Ok I got my G2x last month, have it rooted w/ OneSuperClick...(they said, to make sure you're rooted, check to see if u have the superuser icon in your phone, it's there.
So I'm rooted, nandroid backed-up and have the recoverymod flashed too.....
I have tried to flash a few nightly roms (p99_46.zip is the latest) as well as the Eagleblood 1.0.4. None of the install......they start w/:
-- Installing: /sdcard/EagleBlood1.04.zip
Finding update package...
Opening update package...
E:Can't open /sdcard/EalgleBlood1.04.zip (bad)
Installation aborted.
(( so I'm forced to restore my stock back up.....
anyone have any suggestions...
I'm rooted, Have CWM recovery v3.0.2.7 installed...
Have clear davik's chache, have wiped cache partition, have wiped data/factory reset, tried installing any nightly ROMs from 44 and up and still nothing.....pls help...
GTLuver said:
Ok I got my G2x last month, have it rooted w/ OneSuperClick...(they said, to make sure you're rooted, check to see if u have the superuser icon in your phone, it's there.
So I'm rooted, nandroid backed-up and have the recoverymod flashed too.....
I have tried to flash a few nightly roms (p99_46.zip is the latest) as well as the Eagleblood 1.0.4. None of the install......they start w/:
-- Installing: /sdcard/EagleBlood1.04.zip
Finding update package...
Opening update package...
E:Can't open /sdcard/EalgleBlood1.04.zip (bad)
Installation aborted.
(( so I'm forced to restore my stock back up.....
anyone have any suggestions...
I'm rooted, Have CWM recovery v3.0.2.7 installed...
Have clear davik's chache, have wiped cache partition, have wiped data/factory reset, tried installing any nightly ROMs from 44 and up and still nothing.....pls help...
Click to expand...
Click to collapse
P.S... also....I heared about "gapps"...what is it and do I need it at all? When is the official 2.3.x (gingerbread) coming from Tmobile? I just want GB on my g2x
make sure u flashed clockwork recovery via NVflasher to TRULY gain a mod recovery. I always put the roms I wanna flash onto my phone's memory and NOT the microSD card. maybe that'll help.
Looks like a corrupt download. Delete the zip and try downloading again.
Sent from my LG-P999 using XDA App
Thnx for the reply. I tought I heard to have the ROMS in external memory card. Cuz, for example that's where clockworkmod backs up your nandroid.
Where do you place the ROMS(most roms have like 3 files in a compressed zip format.......i.e example.....the eagleblood ROM name is EagleBlood1.04.zip when u download it....inside the zip, theres two folders.....META-INF and "system".....a file called "boot.img" and another one called "installbusybox"...so where in the internal phone memory do u put the whole zip folder......?
put the WHOLE rom.zip on your memory. don't unzip anything.
+1 on the post above. redownload the rom and try flashing again.
after you flash the rom, flash gapps (this is the installer that includes market, gmail, etc.) You need it in order to get access to the market
Your steps should be as follows
1. Wipe Data
2. Wipe Dalvik cache
3. Flash Rom
4. Flash gapps
5. fix permissions
6. reboot
EDIT: and don't unzip anything. Place the WHOLE eaglesblood.zip file on your SD Card
Smurphjw said:
Looks like a corrupt download. Delete the zip and try downloading again.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
They all say the same....I got them from the cyanogenmod website......even Eagleblood1.04 from here.
funny thing i noticed tho, after I tried installing a rom, but of course it fails, I connect the phone to USB, go to external memory card, try to open the ROM zip file, it wont open....says "X:\EagleBlood1.04.zip The archive is either in unknown format or damaged"
Maybe it gets damaged or currupted during the time its trying to flash the files to the phone???
cybereclipse said:
+1 on the post above. redownload the rom and try flashing again.
after you flash the rom, flash gapps (this is the installer that includes market, gmail, etc.) You need it in order to get access to the market
Your steps should be as follows
1. Wipe Data
2. Wipe Dalvik cache
3. Flash Rom
4. Flash gapps
5. fix permissions
6. reboot
EDIT: and don't unzip anything. Place the WHOLE eaglesblood.zip file on your SD Card
Click to expand...
Click to collapse
thanks....where do I get gapps and how do i go about installing it....I need to install it AFTER sucessfully flashing a rom, right?
Kinda new to the whole android thing, but not to modding devices...I started it when I got the $500+ moto RAZR when it came out, the psp, wii, ps3, itouch, etc. enuff about me....lets stay on topic
hehe me too, started with my verizon razr as well.
You can get gapps from here:
http://wiki.cyanogenmod.com/index.php?title=Latest_Version/Google_Apps
You install it AFTER successfully flashing a rom
and there is a thanks button

(HOW TO FIX] Error while downloading XXX. There is insufficient space

if you are getting this error, please move your market-cache to your SD card:
Code:
cd /cache
su
mkdir /mnt/sdcard/market-cache
mv download download.bak
ln -s /mnt/sdcard/download download
exit
please give this a shot and report back here if this worked (and thank and bump it). i am seeing this error quite a bit lately and i think this might help some of you out.
Thanks for creating the topic. I'm having that problem but sadly your fix did not work for me . I used ES explorer with root to dump the cache all together and everytime I want to download something from market it tells me that there is insufficient space. BTW I'm running Android Revolution HD 1.1.2 if that makes any difference, anyone else have this problem?
P.S. I tried re-flashing with no positive results (Maybe partition problem?)
SOLVED: What I did is go into ClockWorkMod (Hold Vol- and Power button at reboot then choose RECOVERY) and wiped both the Cache and the Dalvik Cache (under advanced). I did not however try just to wipe one or the other I figured I'd do both to solve the problem so I'm guessing it might have just been the cache and not the Dalvik one so try both if you don't have luck just with the one
Didn't work.
But, was able to get it working from this link. Just create a file and run it using either terminal or Script Manager.
Hope, it helps for those facing issue. In my case, the actual issue was that I had converted to EXT4 due to which I had lost 4MB data in /cache, and hence only 27 MB was free. SO, some applications like Cordy (which needs 27.96 MB) wouldn't download. For others, just deleting the /cache contents either via root explorer or E-Strongs' file explorer or wiping cache in CWM would be enough.
PS: Another Market issue which I am facing is that some applications like Android System Info or Lookout Mobile Security can't be installed as it states that it is incompatible with SGS. (Only when doing via the web market, in mobile, no download option comes up)..
Any idea how to resolve this?
Thanks clearing cache and dalvik cache using twrp on my htc shooter fixed the problem for me
About89Puppies's solution perfectly works for me. Another symptom of the problem in my phone was a mount error for cache partition in CWM recovery. Now everything is just fine. Thank you guys!
Just reporting an experience...
Got that the other day when trying to fix my gps locking issues. I was flashing and reflashing roms like it was going out of style. LOL But in the end I got everything sorted.
But in doing reflashing of the roms, I did come across this error when the market tried to auto install all my apps without the use of titanium backup. I got a series of errors reporting that the apps did not install. I just did a wipe and restore to factory settings and then flashed a rom. Everything installed afterwards. I thought it was a formatting issue as well, but it cleared itself out basically.
Cache + Dalvik Cache didn't work for me :/
Hey, I have this problem to! My problem is I have a Samsung galaxy player that clockworkmod doesn't work on (I think). Mine is rooted though.
Edit: I went into dalvek cache with fileslick and deleted some of the files in there but still get the error? I am trying to install wind-up knight if that helps.
Solved!!!
After browsing around, I found out solution:
The problem is in the cache folder (that I assume used by the market) is using small partition (around 20mb in my case).
So to solve this we need to change it to bigger partition.
1. You gonna need Android Terminal Simulator or equivalent terminal app. This will also require your Android rooted.
2. Type ’su’ (root permission request will be showned, you need to approve it).
3. Type ‘cd /’
4. Type ‘umount /cache’
5. Type ‘mount -o rw,remount -t rootfs rootfs /’ (to set the folder access to rw – read write)
6. Type ‘rmdir /cache’ (delete cache folder)
7. I personally using root explorer to do point 5-6
8. Type ‘mkdir /sdcard/cache’
9. Type ‘ln -s /sdcard/cache /cache’ (to link cache folder to /sdcard/cache – which shoud have bigger partition size)
Works like a charm!!!
Thanks to jimmy!
jimmod.com/blog/2011/10/android-market-error-on-downloading-error-downloading-there-is-insufficient-space-on-the-device/
liova said:
After browsing around, I found out solution:
The problem is in the cache folder (that I assume used by the market) is using small partition (around 20mb in my case).
So to solve this we need to change it to bigger partition.
1. You gonna need Android Terminal Simulator or equivalent terminal app. This will also require your Android rooted.
2. Type ’su’ (root permission request will be showned, you need to approve it).
3. Type ‘cd /’
4. Type ‘umount /cache’
5. Type ‘mount -o rw,remount -t rootfs rootfs /’ (to set the folder access to rw – read write)
6. Type ‘rmdir /cache’ (delete cache folder)
7. I personally using root explorer to do point 5-6
8. Type ‘mkdir /sdcard/cache’
9. Type ‘ln -s /sdcard/cache /cache’ (to link cache folder to /sdcard/cache – which shoud have bigger partition size)
Works like a charm!!!
Thanks to jimmy!
jimmod.com/blog/2011/10/android-market-error-on-downloading-error-downloading-there-is-insufficient-space-on-the-device/
Click to expand...
Click to collapse
Thanks, it is working now
Hoora! It worked!
Edit; it seems this is only a temporary fix, as I have to keep doing this over and over again.
About89Puppies said:
SOLVED: What I did is go into ClockWorkMod (Hold Vol- and Power button at reboot then choose RECOVERY) and wiped both the Cache and the Dalvik Cache (under advanced). I did not however try just to wipe one or the other I figured I'd do both to solve the problem so I'm guessing it might have just been the cache and not the Dalvik one so try both if you don't have luck just with the one
Click to expand...
Click to collapse
thx. works perfect for me
just installed
i just installed 1Tap Cleaner - cache/his/def
& problem is gone
easy to use
hi guys did the above work for real
About89Puppies said:
SOLVED: What I did is go into ClockWorkMod (Hold Vol- and Power button at reboot then choose RECOVERY) and wiped both the Cache and the Dalvik Cache (under advanced). I did not however try just to wipe one or the other I figured I'd do both to solve the problem so I'm guessing it might have just been the cache and not the Dalvik one so try both if you don't have luck just with the one
Click to expand...
Click to collapse
Perfect...did the job...many thanks!
wiped cache only!
Had the same problem. In CWM wiped Cache only - that fixed it!!
Thanks everyone!
I have this problem.
How did you all follow the OP's instruction, because I can't even install a terminal app.
Clearing cache in the clockworkmod doesn't work for me.
Using android really pushes me to be a creative strategist... oh my...
You can download marketfix. It helps all kind of market problems.
I used to have an error showing there was insufficient space. Now, it works perfectly!

[Q] Recovery Reboot problems

Hi, All,
Sorry if this has been answered before, I could not find it through search.
Whenever I reboot my Droid 2 Global, it goes straight into recovery (ClockWorkMod). I press the camera button and it reboots into the OS just fine. I tried uninstalling Clockwork, reinstalling ClockWork but that does not help.
Tried flashing but the regular firmware that I found did not work for my D2G phone.
Anyone has any clue on how to fix this?
Thanks,
shadov
Try actually removing CWM hijack files, and then reinstalling it.
Go to /system/bin, find logwrapper.bin; if it's there, delete logwrapper and rename logwrapper.bin to logwrapper. Check if the problem persists (I highly doubt it), then try reinstalling CWM.
Worked
That worked, thanks, man!
Are there any resources that explain how ClockworkMod (or any recovery hijacking) works? Wanted to understand better what actually happens on the system level.
Thanks
The false logwrapper CWM installs starts the CWM binary when there's a certain file present in a certain directory. If there's no such file, it just starts logwrapper.bin and startup continues as usual. That's about it.
I tried installing ginerbread update abd it fails. That's why I am trying to solve this problem in the first place.
When I tried installing the update today, it downloaded the update, rebooted and went into recovery partition and started extracting it (progress bar was moving for about 5 seconds), then I saw droid with exclamation point, phone rebooted again and said "Update failed"
Any tips?
Sent from my DROID2 GLOBAL using XDA App
I'm a bit tired of explaining this all over again.
Download the standalone update file from somewhere, or fetch it from your phone's /cache directory with Root Explorer once the download completes (do not confirm installation, just fetch the zip file). Place it into the root directory (/) of your SD card. Rename it to update.zip. Reboot into stock recovery. Choose install sdcard:update.zip. Check the error messages it displays.
For 99% of the cases the problem is CWM's logwrapper.

[ROM] Barebone SGS4G KJ6 1.1.3

Barebone SGS4G KJ6 ROM
Use at your own risk, I take no responsibility for anything that may happen to your phone because of this ROM.
Here is a ROM that I made for myself, but what the heck, let's share. This ROM is very stock-like with just few usability mods.
Features
Will not wipe your programs or data, /data is preserved upon install
Heavily debloated. Most essentials apps are still there (like WiFi Calling)
No extra programs added, you need to add your own
ODEXed to save space in /data
CarrierIQ is completely removed
Extended Power Menu (including Screenshot)
Extended Quick Panel (10 buttons, including Data toggle)
1% battery (horizontal)
CRT-Off
Time zone version 2012b
/etc/hosts to cut ads out of the box (keep up to date with AdAway or similar)
Few conservative presets in build.prop and init.d
Basic with a Twist 1.1.3 kernel included
Notes
* Don't get confused about ODEXing, it's actually better to run and saves quite a bit of space in /data.
* Some Google apps (Maps, Streets, Voice) and Adobe Flash are removed from /system. Install them from market. Benefit - they can be moved to SD card this way.
* Original Swype is removed, is somebody needs it flash this.
* In case you need it, use this thread to add some bloat back.
* Factory Reset is removed from Settings->Privacy, use CWM if you ever need to reset all data.
* KJ6 modem included. Use this thread to flash a different modem if needed.
Install
Flash with CWM. Wait until the system boots up, then wait few more minutes for it to settle.
Download
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.8
Changelog
1.1.3
Removed "Mobile data connection disabled. Connect?" popup on boot
1.1.2
Removed Factory Reset from Settings->Privacy
Updated kernel
1.1.1
Fixed voicemail notifications not working without Visual Voice Mail installed
1.1.0
CIQ is properly removed
Some neutral cosmetics (logo, animations)
Minor update to the kernel
1.0.8
Fixed slow stock browser scrolling
1.0.7
Extended Quick Panel
1.0.6
Added Screenshot to power menu
1.0.5
Removed DriveSmart and Software Update from Settings menu
1.0.4
Put original framework-res.apk certificate back
1.0.3
Added power menu mod
1.0.2
Original public release​
does it have a screenshot option from the power menu??
m0bstr said:
does it have a screenshot option from the power menu??
Click to expand...
Click to collapse
Nope, never bothered with power menu. I don't reboot the phone too often and to say the truth don't even remember when last time I needed to take a screenshot. I use ShootMe and QuickBoot when I need to, they both do the job just fine.
Yes, power menu is fully modded now, including Screenshot option.
Thank you for this, Anton! Love your kernel. Is this ROM ok for OC/UVing with you OC/UV kernel? I think this will be the second ROM I have ever installed. Haven't bothered to try anything since first getting Val Final.
Download link is not working
Sent from my SGH-T959V using XDA
Does this come pre-rooted?
Blaggah said:
Does this come pre-rooted?
Click to expand...
Click to collapse
Yeppers it does.
I updated the link. I actually took it down on purpose, wanted to look at something but never had time.
I was troubleshooting an error message during boot time, so I traced it to the CIQ trying to execute some on-boot code, which was removed by Krylon. Strangely the original code itself doesn't do much, it's initilizing a broadcast receiver with an empty onReceive method. Removing this was a moot point, it probably didn't do much. I disabled the BOOT_COMPLETED permission for the service to avoid the error message.
So I looked at the CIQ more closely. What I found is a little peculiar. The main CIQ code is integrated quite deeply into the framework, it cannot be removed easily, there are just too many calls that send various metrics to the CIQ Agent. The main CIQ classes are not in the framework.jar, they are in ext.jar. Probably that's why nobody noticed them and never tried to modify them. What is strange that many calls seem to be not implemented. For example the sumbitMetric is an empty method, shouldSubmitMetric always returns zero, etc.
It's possible that T-Mobile decided not to use CIQ on our phone (at least extensively), but instead of removing it completely just plugged few calls.
I'm removing the "CIQ removed" description because it's actually not removed, although may not be doing much.
I cannot get it to boot. After the "Galaxy S 4G" screen, the screen goes back then nothing ever happens. I rebooted into CWM (which still shows Team Acid's logo) and tried fixing permissions to no avail.
Given that the OP says it won't wipe programs, data, etc, was it possibly a Bad Idea™ to have wiped everything before installing this ROM?
Update:
Indeed, installing from a blank phone (literally, I wiped everything) didn't work for me. I flashed Bryan's one-click with CWM, it booted, rebooted into recovery, flashed this, and it booted. Now for testing. Thanks, Anton!
I had the same issue as well... Thought it was just my phone
Sent from my SGH-T959V using xda premium
Would be interesting to look at the logcat to see where it's stuck.
There was a possible problem with 1.0.3 that I pulled off. The current one that I re-uploaded - I tried to install in on both fresh phone (after factory reset) and on top of a running ROM , everything seemed fine.
The problem was with framework-res.apk. I had to resign in because I changed some permissions in AndroidManifest.xml (related to CIQ), but something went wrong the first time.
There is a little bit of controversy with signing of framework-res.apk. Some say it's OK, some say the original cert should be kept. Maybe somebody else would chime in and tell me if I screwed it up or not.
wont flash
I wipe everything, the ROM installs, and then black screen...noting. Let it sit for 20min however this did not resolve issue. I was able to install Valhalla no prob. flashed your rom on top of Valhalla and then my phone boots your rom. Do i need to install on top of another rom? I should just be able to whipe my phone and install your rom correct?
AntonX said:
Would be interesting to look at the logcat to see where it's stuck.
Click to expand...
Click to collapse
I can probably capture that because I can use adb to get into the OS. I ran top to see what, if anything, was hogging CPU but there was nothing obvious & CPU usage was minimal. I have the phone running now but I'm willing to wipe it again and re-flash. Mind you, I did more than factory reset. I was quite literally trying to start from scratch, so here's what I did (if this helps at all):
Backed up /efs to my PC
Backed up the SD card to my PC
Wiped cache
Wiped Davlik cache
Wiped battery stats
Performed a nandroid backup
Copied the backup from /sdcard/clockworkmod/backup to my PC
Formatted /data, /system, & /sdcard
Rebooted back into recovery
Copied the ROM to the SD card
Flashed it
Let it cook for ~20 minutes
So it was quite literally a blank slate.
AntonX said:
There was a possible problem with 1.0.3 that I pulled off. The current one that I re-uploaded - I tried to install in on both fresh phone (after factory reset) and on top of a running ROM , everything seemed fine.
The problem was with framework-res.apk. I had to resign in because I changed some permissions in AndroidManifest.xml (related to CIQ), but something went wrong the first time.
There is a little bit of controversy with signing of framework-res.apk. Some say it's OK, some say the original cert should be kept. Maybe somebody else would chime in and tell me if I screwed it up or not.
Click to expand...
Click to collapse
I appreciate all of your hard work. When I get the chance I'll download the latest, follow my steps above, & let you know what I find.
stephen_w said:
I appreciate all of your hard work. When I get the chance I'll download the latest, follow my steps above, & let you know what I find.
Click to expand...
Click to collapse
Wow, you really wiped everything from your phone
I'd appreciate if you send me the log. All you need to do is to save the file with "adb logcat -d >MyLogFile.log" after couple of minutes of this black screen. On an factory reset phone ODEXed ROM should boot very fast the first time because it doesn't have to build Dalvik.
I just tried downloading from my own link and reinstalling, everything seems OK. I also tried installing after full phone reset yesterday, it went fine too. I don't want to reset and restore everything anymore, too lazy
If it proves to be the certificate in the framework-res.apk, I may need to put the original AndroidManifest.xml back.
Hey Anton,
You can snag the logcat from here. In case anyone wants them & to clarify what I did, here are the steps I followed (similar to above but more detailed):
- Boot into CWM
adb reboot recovery​- Disable voodoo lagfix
- voodoo lagfix​- disable lagfix​- /system lagfix off​- Reboot
- Create a backup directory structure on your PC (mine is in C:\Users\username\Downloads\SGS4G)
mkdir backups​cd backups​mkdir efs nandroid sdcard​- Backup /efs to your PC
cd efs​adb pull /efs/​- Backup /sdcard to your PC
cd ..\sdcard​adb pull /sdcard/​- Boot into CWM
adb reboot recovery​- Wipe cache
- wipe cache partition​- Wipe Dalvik cache
- advanced​- Wipe Dalvik Cache​- Wipe battery stats
- Wipe Battery Stats​- Create a nandroid backup
- +++++Go Back+++++​- backup and restore​- backup​- Copy the backup to your PC
cd ..\nandroid​adb pull /sdcard/clockworkmod/backup/​- Format /data
- mounts and storage​- format /data​- Format /sdcard
- format /sdcard​- Format /system
- format /system​- Reboot into CWM (necessary for CWM to see the sdcard contents)
- +++++Go Back+++++​- advanced​- Reboot Recovery​- Copy the ROM to the sdcard (this is from the directory in which the ROM is located on your PC)
adb push ROM-sms-T959V-GB2.3.6-antsvx.1.0.3.zip /sdcard/​- Flash the ROM
- install zip from sdcard​- choose zip from sdcard​- ROM-sms-T959V-GB2.3.6-antsvx.1.0.3.zip​- Reboot & let it sit for ~10 minutes
Sorry for the lengthy post, but I wanted to ensure there was transparency in what I did.
stephen_w,
Seems that it's not framework-res.apk issue, it's not complaining about any certificates.
A lot of unknown permissions in the log, but it's OK, we've removed some of the system packages that grant those permissions but they do more harm than good in the end.
The crash has something to do with that: *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerService. Hm......
Question. If after loading the ROM you shut down completely (power off) first and then boot instead of rebooting right from CWM, will it still do the same?
Btw you don't have to clean everything that extensively. Just do factory reset to erase /data and flash. Dalvik and /cache are cleared but the installer, the /system is completely overwritten anyway.
Weird...it flashed fine for me with no wipe....
I did move on and never gave it a break in....but it did work
Sent from my SGH-T959V using xda premium
AntonX said:
stephen_w,
Question. If after loading the ROM you shut down completely (power off) first and then boot instead of rebooting right from CWM, will it still do the same?
Btw you don't have to clean everything that extensively. Just do factory reset to erase /data and flash. Dalvik and /cache are cleared but the installer, the /system is completely overwritten anyway.
Click to expand...
Click to collapse
I usually don't do it that extensively at all. I was writing a process for myself in case I wanted to really clean it out So this gave me a good excuse to test it. I was having some weirdness which prompted me to write the instructions for myself.
I haven't tried shutting it down after the install. I can certainly try that for you, if you like.
So its something to do with power management. That's weird. Is there something we did to our phones before that is causing the issue now?
Sent from my SGH-T959V using xda premium
Lawful123 said:
So its something to do with power management. That's weird. Is there something we did to our phones before that is causing the issue now?
Click to expand...
Click to collapse
Doubtful. Nothing I can think of, off-hand. I have to wait until later this afternoon/evening to reflash it and try powering off vs. rebooting from recovery. If you have the chance, please feel free and let us know what happens.

Trying to set write permissions on /system ends in bootloop

hi,
i did a big mistake. I wanted to install some vpn apps, which requires write permission on /system. I downloaded root explorer und tried to set all permissions for the system folder. But the app stills lacks the wanted permissions, so i started root explorer again and additionally checked the checkboxes under "special permissions". After doing that android crashed, the "systemui" process crashed and restarted and crashed ...
I rebootet the device, but i only see "google" and then comes a reboot and the device boots into recovery (TWRP 2.6.3.4). I already tried the "fix permissions" under advanced, but it didn't helped.
Is there any way to fix whatever i did wrong and not lose any data?
Any help would be greatly appreciated
Greetings k1x1987
Reflash rom without wiping.
Sent from my Nexus 5 using Tapatalk
d
jyuuken said:
Reflash rom without wiping.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for your help. I don't want to miss something this time and complety brick my device. Could you/anybody tell me exactly what and how do flash to recover my device?
I did all the rooting stuff with the "Nexus Root Toolkit" program and followed strictly guides, except this time
Do i have to flash the rom with ADB? which file(s) should i flash system.img only? Or i have to flash more files?
A short noob guide would be really appreciated :good:
Greetings k1x1987
So you are just rooted on the stock setup? Then you should be able to flash a stock odexed rom that matches your current set up (4.4.1 or 4.4.2) and you should wipe, but just the caches. You'll likely need to adb push rom.zip /sdcard when in recovery. You probably could adb sideload as well, but not sure if that wipes anything else. Never had to mess with sideloading.
For future reference, once you are up and running, I think what you would need to change is the SELinux permissive state. There's an app do that. Then the most you would need is to hit the R/W button when you're in /system with Root Explorer. Or with the newer Root Explorer versions, once you try and make a change that needs R/W permissions, it'll stop and ask you if you want RE to switch it for you to complete the task.
es0tericcha0s said:
So you are just rooted on the stock setup? Then you should be able to flash a stock odexed rom that matches your current set up (4.4.1 or 4.4.2) and you should wipe, but just the caches. You'll likely need to adb push rom.zip /sdcard when in recovery. You probably could adb sideload as well, but not sure if that wipes anything else. Never had to mess with sideloading.
For future reference, once you are up and running, I think what you would need to change is the SELinux permissive state. There's an app do that. Then the most you would need is to hit the R/W button when you're in /system with Root Explorer. Or with the newer Root Explorer versions, once you try and make a change that needs R/W permissions, it'll stop and ask you if you want RE to switch it for you to complete the task.
Click to expand...
Click to collapse
Thanks for your help. Yes, i am complety stock besides root and franco kernel. I already downloaded factory image (4.4.2). Should i flash the zip, which contains all the system.img, userdata.img etc. (i think it was 5 files) or just specific ones? It would be n1 if my data dont get lost.
Thanks in advance.
k1x1987
k1x1987 said:
Thanks for your help. Yes, i am complety stock besides root and franco kernel. I already downloaded factory image (4.4.2). Should i flash the zip, which contains all the system.img, userdata.img etc. (i think it was 5 files) or just specific ones? It would be n1 if my data dont get lost.
Thanks in advance.
k1x1987
Click to expand...
Click to collapse
Just flash the system.img in fastboot.
Most devs recommend wiping /system first.
fastboot erase system
fastboot flash system system.img
I would also erase cache too.
fastboot erase cache
That will clear the cache, not the dalvik, but think that should be enough to get going.
...and once it is fixed, never change system permissions again.... Same a Linux, never change permissions at /root
.. phone works again
thanks at all for the help. But now i cant get any cell service. I looked under settings/about the phone/status and saw that my "IMEI" is "unkown". Could this be the problem? I read about restoring imei, should i try this and it this the cause for me not getting any service?
Thanks
k1x1987 said:
.. phone works again
thanks at all for the help. But now i cant get any cell service. I looked under settings/about the phone/status and saw that my "IMEI" is "unkown". Could this be the problem? I read about restoring imei, should i try this and it this the cause for me not getting any service?
Thanks
Click to expand...
Click to collapse
Using fastboot, flash the cache image from the factory image, fastboot flash cache cache.img
^ That should do the trick. If not, well, let's not go there yet. The cache should fix it. If that does, do yourself a favor and back up your EFS folder and save it somewhere safe. Either use TWRP or flash the EFS backup tool from here: http://forum.xda-developers.com/showthread.php?t=2514095

Categories

Resources