[KERNEL][MOD] BLN kernel and liblights v5 - Galaxy S III Mini Original Android Development

This kernel works on any Galaxy S3 mini version, not only the i8190!
Requirements:
root (for installation, odin flashable still not available)
BLN control free or pro app
The BLN mod is fully functional with the free version of the control app!
If you like to support my work, you can buy the pro version.
Installation:
Method 1 (custom recovery required):
Use the file 'blnmod-v5-gt-i8190-cwm.zip' in the recovery to install.
Method 2 (manual installation):
Extract the content of 'blnmod-v5-gt-i8190.zip' into /sdcard/ and execute:
Code:
adb shell su -c mount -o remount,rw /dev/block/mmcblk0p22 /system
adb shell su -c cp /sdcard/lights.montblanc.so /system/lib/hw/
adb shell su -c dd if=/sdcard/boot.img of=/dev/block/mmcblk0p20
adb reboot
Sources:
https://github.com/neldar/linux_gt-i8190
https://github.com/neldar/initramfs_gt-i8190
https://github.com/neldar/buildenv_gt-i8190
https://github.com/neldar/liblights_gt-i8190
Changelog:
v2:
led brightness increased to 100%
nfc support added
ro.secure=0 and ro.debuggable=1 (this will be reverted for end user release)
v3:
fixed led handling, blinking fix
v4:
fixed setting of regulator state mem constraint
v5:
removed setting of regulator state_mem constraint (fix for increased battery drain)
added bln wakelock
Known bugs:
none

Re: [KERNEL][MOD] BLN kernel and liblights
neldar said:
Currently, for testing purposes only!
Requirements:
root (for installation, this may change later)
BLN control free or pro app
Before you are going to install this, please make a backup:
Code:
adb shell su -c cp /system/lib/hw/lights.montblanc.so /sdcard/lights.montblanc.so.backup
adb shell su -c dd if=/dev/block/mmcblk0p20 of=/sdcard/boot.img.backup
Installation:
Extract the content of 'blnmod-v1-gt-i8190.zip' into /sdcard/ and execute:
Code:
adb shell su -c mount -o remount,rw /dev/block/mmcblk0p22 /system
adb shell su -c cp /sdcard/lights.montblanc.so /system/lib/hw/
adb shell su -c dd if=/sdcard/boot.img of=/dev/block/mmcblk0p20
adb reboot
Sources:
https://github.com/neldar/linux_gt-i8190
https://github.com/neldar/liblights_gt-i8190
Click to expand...
Click to collapse
Features?
I do not respond to tech support via PM

Great, finally bln support Just a little question: is this for 4.1.1 or 4.1.2?

Re: [KERNEL][MOD] BLN kernel and liblights
Did anyone tried it...is it working?
sent from the super siii mini GT-I8190 using xda premium app.

neldar said:
Currently, for testing purposes only!
Requirements:
root (for installation, this may change later)
BLN control free or pro app
Before you are going to install this, please make a backup:
Code:
adb shell su -c cp /system/lib/hw/lights.montblanc.so /sdcard/lights.montblanc.so.backup
adb shell su -c dd if=/dev/block/mmcblk0p20 of=/sdcard/boot.img.backup
Installation:
Extract the content of 'blnmod-v1-gt-i8190.zip' into /sdcard/ and execute:
Code:
adb shell su -c mount -o remount,rw /dev/block/mmcblk0p22 /system
adb shell su -c cp /sdcard/lights.montblanc.so /system/lib/hw/
adb shell su -c dd if=/sdcard/boot.img of=/dev/block/mmcblk0p20
adb reboot
Sources:
https://github.com/neldar/linux_gt-i8190
https://github.com/neldar/liblights_gt-i8190
Click to expand...
Click to collapse
working on my mini with jb 4.1.2

Re: [KERNEL][MOD] BLN kernel and liblights
Can someone make a flushable zip?
Sent from my GT-I8190 using Tapatalk 2

I have tested it and it works fine without any problems. good work !:good:
---------- Post added at 12:54 PM ---------- Previous post was at 12:24 PM ----------
vonuzu said:
Can someone make a flushable zip?
Sent from my GT-I8190 using Tapatalk 2
Click to expand...
Click to collapse
flash both .zips and install the app...
custom-boot.zip - 6.75 MB
lights.montblanc.zip - 270.87 KB

Flashable zip anyone?

Benzonat0r said:
Flashable zip anyone?
Click to expand...
Click to collapse
Thanks for Flashable zip ! It's running !

what is this? Is this for development or end user....?
FEATURES?!!?!??!!?

Re: [KERNEL][MOD] BLN kernel and liblights
Working just fine
Sent from my GT-I8190 using Tapatalk 2
---------- Post added at 03:33 PM ---------- Previous post was at 03:31 PM ----------
Shaaan said:
Features?
I do not respond to tech support via PM
Click to expand...
Click to collapse
It's just bln. Nothing more. But it is great.
Sent from my GT-I8190 using Tapatalk 2

Benzonat0r said:
Flashable zip anyone?
Click to expand...
Click to collapse
I just installing this zip via recovery. But i can't find any new settings...
EDIT: .........got it, i need install software too, this is just kernel update for that ^^

Re: [KERNEL][MOD] BLN kernel and liblights
Is it just me, or the lights are not 100% on, they are like 60-70%?
Sent from my GT-I8190 using Tapatalk 2

More like 30%.

Sv: [KERNEL][MOD] BLN kernel and liblights
Benzonat0r said:
More like 30%.
Click to expand...
Click to collapse
It's enough
Sent from my GT-I8190 using xda premium

Re: [KERNEL][MOD] BLN kernel and liblights
Can you post a photo of the lights? I want to try it
Thanks in advance
Enviado desde mi GT-I8190 usando Tapatalk 2

Dani26 said:
Can you post a photo of the lights? I want to try it
Thanks in advance
Enviado desde mi GT-I8190 usando Tapatalk 2
Click to expand...
Click to collapse
just look at your device and imagine that the soft keys are light with 30% ... thats all...

Re: [KERNEL][MOD] BLN kernel and liblights
Ok haha but still visible? Can revert this mod?
Enviado desde mi GT-I8190 usando Tapatalk 2

Re: [KERNEL][MOD] BLN kernel and liblights
Dani26 said:
Ok haha but still visible? Can revert this mod?
Enviado desde mi GT-I8190 usando Tapatalk 2
Click to expand...
Click to collapse
Just flash it. There is nothing to lose. If you don't like it, don't enable it.
Sent from my GT-I8190 using Tapatalk 2

Re: [KERNEL][MOD] BLN kernel and liblights
Ok. Thanks
EDIT: Works great! I think 30% lights is for save batery isn`t it?
Enviado desde mi GT-I8190 usando Tapatalk 2

Related

[MOD] XWJVH stock framework-res.apk with sip over 3G and CRT-off animation enabled

Hi all,
This is the stock JVH framework with SIP over 3G and CRT-OFF animations.
I post it for all I9000 owners who want to keep the stock application and to be able to do VOIP call on the go.
CRT-OFF is a bonus, keep in mind that you have to activate animations in Setting/display to use it.
Do not forget to press the thank button on this page if you like my mod.
See my post [MOD] XXJVH unlimited Browser Tabs to enhance the usage of the browser on your device.
To install :
-copy the apk to your sdcard
-Delete the old Browser.apk in /system/framework
-Place the new apk in /system/framework
Note:
Don't forget to be superuser and to mount the partition as read-write :
for stock kernel :
$su
#mount -o remount,rw /dev/block/system /system
#cp /sdcard/framework-res.apk /system/framework/framework-res.apk
#exit
$exit
Restart...
for CF-ROOT kernel, (thanks to ramad)
su
stop (phone will freeze, that's OK just move on)
busybox mount -o remount,rw /dev/block/system /system
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
exit
exit
adb reboot
Eric,
in Sri lanka.
so now is it jvk or jvh ?
JVK or JVH?
Sent from my GT-I9000 using XDA App
Woups...
It is JVH.
I corrected the post.
Thanks.
Eric,
In sri Lanka
Question
Hi Eric,
Thanks for this app.
I have rooted xwjvh rom.
I've done steps under adb and crt off is working but SIP settings does not appeared!
SIP is the only reason why I changed to 2.3.3
Can you help me?
Regards, Robert
Hi Robert,
I guess that you did not make a change to /system/permission.
Am i right ?
Is it late on the night here in Sri lanka, i will come back to you shortly.
Cheers,
Eric
Hi Eric,
Thanks for the answer.
Nop i did steps only what you wrote.
Now I went to Gingerreal and SIP is working fine. So I lost my interest... Sorry...
Thanks again for your help.
Regards,
Robert

[JVP] Automatic brightness fix DIY

I've made this thread to show you how to fix this frustrating bug. After few steps you'll get working light sensor better than in previous GB versions
Files need to be replaced or edited:
- services.jar
- framework-res.apk
- sensors.default.so
Recommended kernel:
- Galaxian*
Based on original Samsung sources
All Voodoo addictions (color fix, sound V9)
CPU frequencies: 100MHz, 200MHz, 400MHz, 800MHz, 1000MHz, 1200MHz, 1300MHz, 1400MHz.
CONFIG_HZ=500
CWM 3.0.0.5 based on, and fully compatible with CF-ROOT
Light sensor polling 1s instead of 2s
Compatible with RFS and EXT4
Much more I can't remember
What needs to be done:
framework-res.apk edit
1. Get apk manager (attached)
2. Put framework-res.apk in "place-apk-here-for-modding" folder
3. Run apk manager, decompile with dependancy (option 10)
4. Drag twframework-res.apk from your ROM into the script, or extract it somewhere and type path to it
5. Go into projects\framework-res\res\values\arrays.xml
6. Replace two sections:
<integer-array name="config_autoBrightnessLevels">
<item>30</item>
<item>300</item>
<item>600</item>
<item>1500</item>
<item>1500</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>80</item>
<item>150</item>
<item>200</item>
<item>255</item>
</integer-array>
Click to expand...
Click to collapse
7. Delete .bak file if you got one after changes
8. Go back to script and select compile
9. Say y
10. Say y
11. Delete resources.arsc from keep folder
12. Enter in script
13. U'll find unsignedframework-res.apk in "modding" folder
14. Use ADB
Code:
adb push unsignedframework-res.apk /data/local/tmp/framework-res.apk
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
services.jar replace/edit
Attached services.jar should be compatible with all JVP releases as long as author didn't modified it. If you are not sure you can always edit your own version by doing:
1. Get apk manager (attached)
2. Put services.jar in "place-apk-here-for-modding" folder
3. Rename it to services.apk
4. Run apk manager, decompile (option 9)
5. Go into projects\services.apk\smali\com\android\server\
6. Replace PowerManagerService.smali file with the one from my services.jar
7. Delete .bak file if you got one after changes
8. Go back to script and select compile
9. Say n
13. U'll find unsignedservices.apk in "modding" folder
14. Rename it to services.jar
14. Use ADB
Code:
adb push services.jar /data/local/tmp/
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/services.jar
cp /data/local/tmp/services.jar /system/framework/
rm /data/local/tmp/services.jar
reboot
sensors.default.so replace
1. Use ADB
Code:
adb push sensors.default.so /data/local/tmp/
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/lib/hw/sensors.default.so
cp /data/local/tmp/sensors.default.so /system/lib/hw/
chmod 644 /system/lib/hw/sensors.default.so
rm /data/local/tmp/sensors.default.so
reboot
GALAXIAN KERNEL:
1. Go to the Market place
2. Install SGS kernel flasher
3. Extract zImage.7z to your internal SD card
4. Select zImage and flash
5. Be happy
New version of sensors.default.so! Now all 4 steps are working!
BTW. With those files you will now loose BLN!
Thank you very much in providing this fix.
Thks
This is what I have been waiting for....
I will recompile my services.jar n framework-res.apk and incorporate them into my custom rom.
Thank you so much!
i do not get it =) what is this fixing Oo
$omator said:
i do not get it =) what is this fixing Oo
Click to expand...
Click to collapse
It fixes the Auto brightness issue in some kernels.
i guess when auto brightness is checkedit is not reacting or reacting wrong?
Im guessing this only works on deodexed?
This is a fix of the moth !
THANK YOU SIR !
btw., what kernel is this? your own ?
Simce I can't find Galaxian anywhere on the forum.
Btw. where are the attached binaries from? Extract from original JVP kernel ?
$omator said:
i guess when auto brightness is checkedit is not reacting or reacting wrong?
Click to expand...
Click to collapse
In some kernels the brighness is reversed or totally wrong.
This has fixed it.
@ Brotuck
Will you try and include this in your GingerMod Rom? (...does it need it?)
eternal-intent said:
@ Brotuck
Will you try and include this in your GingerMod Rom? (...does it need it?)
Click to expand...
Click to collapse
I already updated my GM22 @ damians site.
It also uses a slightly different value, tested it today worked fine !
Brotuck said:
I already updated my GM22 @ damians site.
It also uses a slightly different value, tested it today worked fine !
Click to expand...
Click to collapse
Cool.
Well, I'm off to check it out...
And to the OP thanks, I'm interested to see what effect this has...it's not that I'm lazy, I just still lack confidence in my adb (dis)ability or I'd be more inclined to try and do it myself.
CWM can ask
ok now i see what is going on here =)
-provided sensors.default.so is 1:1 with stock JVP one
Click to expand...
Click to collapse
-arrays.xml is tweaked when compared to stock - and my guess OP made an error here as
<!-- Array of output values for LCD backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
-->
Click to expand...
Click to collapse
those are stock values from JVP below
<integer-array name="config_autoBrightnessLevels">
<item>30</item>
<item>2000</item>
<item>6000</item>
<item>11000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>70</item>
<item>116</item>
<item>177</item>
<item>253</item>
</integer-array>
Click to expand...
Click to collapse
Click to expand...
Click to collapse
-at the services.jar few more tweeks that i do not see much sense in =)
i would realy like to see explanation of those changes
Click to expand...
Click to collapse
Ill look at this properly, but couldn't you put this in a CWM flashable package? Thanks if you can.
Sent from my ever changing Galaxy S
CWM flashable package, please
The biggest "problem" is that you need to change values in the framework.
And that one is connected to the theme you use.
Battery color / lockscreens stuff like that.
So making 1 general CWM is a problem....
If you encounter brightness problems, like not responding to changes or bright light in the dark (when it should be darker)
Then but only then consider this mod, if you do not know how to do it, then ask the theme maker.
ill rephrase my question =)
why those fixes (left stock, right this fix/tweak)
ALL_BRIGHT from 15 to 255
ANIM_STEPS from 10 to 50
AUTOBRIGHTNESS_ANIM_STEPS from 10 to 50
LIGHT_SENSOR_DELAY from 2000 to 1000
@$omator: it`s working! i think this is the only relevant answer!
you know a better way? then do it and start your own thread!
I'd like to try this fix but I can't because each time >compile< gets me an error in APK Manager! Something like "unknown source" and "could not exec command". Does anyone here have any success with this fix and Bezke JVP-ROM?

[Request of MOD] Prevent the auto-converting of SMS to MMS

Hey,
I've been Modding my Nexus all day long (despite the strong possibility of failing my next exam ) Whatever, anyway... Is there a possibility of making a MOD that would prevent the stock SMS/MMS app from auto-converting SMS's to MMS? i have no plan for MMS with my carrier so when i convert to MMS it's never sent... and i HATE using third party apps when the stock has everything i want..
So, Please Devs, take that into consideration, i've seen it done on Galaxy Note development so i still have hope for it to be done on the awesome developers phone ( the developers are the awesome.... and the phone )
Just noticed this tonight... awful feature for me as well as like you I have no MMS in my contract.
Please someone create an option to turn this off.
+1
I like using the stock messaging app too and would like an option to turn this off if possible.
Just one pump post if there is a developer that might be interested!
(Not gonna raise this post again, it's just this once, don't rage )
I'd love this too, this is my main gripe coming to this phone. I'd of hoped one of the many custom roms would've picked this up and changed it.
I don't see why google can't just give you the option to change it.
Sent from my Galaxy Nexus using XDA App
Maybe use a third party app to split the messages. Or idk if stock can do that
Sent from my SPH-D700 using Tapatalk
Not too hard. Was actually messing with the code last night. I'll see about getting it done tomorrow.
Sent from my Galaxy Nexus using Tapatalk
You could try kik.
Resun said:
Not too hard. Was actually messing with the code last night. I'll see about getting it done tomorrow.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Sounds promising... many thanks in advance
This is the solution:
- decompile Mms.apk
- change value for "smsToMmsTextThreshold" in mms_config.xml inside res/xml/ folder. 4 to 100 for example...
- compile
The big problem is I can't compile after... I have problem with apktools/dependency: framework-res.apk and/or systemUI.apk won't work for now. And I have no time to find what is the problem... If a great master could find this post it will be very good for us!
Juno-First said:
You could try kik.
Click to expand...
Click to collapse
Thanks, been doing this a while
---------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It will take a longer amount of time depending on how long your message is, the one I sent myself was 12 "parts", and took 4 minutes. It will auto convert at 20 parts now. Will work on adding splitting option, but not going to be any time soon.
Figured this was for GSM, tested on LTE fine, but let me know if it doesn't work.
Just used adb to push it over the stock Mms.
Mms.apk
Resun said:
Thanks, been doing this a while
---------------
It will take a longer amount of time depending on how long your message is, the one I sent myself was 12 "parts", and took 4 minutes. It will auto convert at 20 parts now. Will work on adding splitting option, but not going to be any time soon.
Figured this was for GSM, tested on LTE fine, but let me know if it doesn't work.
Just used adb to push it over the stock Mms.
Mms.apk
Click to expand...
Click to collapse
Hey do you think you can do this to the dark themed MMS.apk? I'll link to the thread.
Thanks alot for your work!
http://forum.xda-developers.com/showthread.php?t=1423638
DDRFAN said:
Hey do you think you can do this to the dark themed MMS.apk? I'll link to the thread.
Thanks alot for your work!
http://forum.xda-developers.com/showthread.php?t=1423638
Click to expand...
Click to collapse
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms
Resun said:
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms
Click to expand...
Click to collapse
Thank you so much! I really appreciate it .
Resun said:
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms
Click to expand...
Click to collapse
You my friend, are my hero!!! Thank You So Much!!!
Thanks!
This is exactly what im looking for. The only problem is that in still a noob when it cones to android and modifying it.
So I dont know where to copy the file to/ install it.
Ive got adb and my phone (Galaxy Nexus) is rooted.
So i need some more detailed instructions.
The answer is probably not too hard to find in these forums,
But i also wanted to ask what other mods etc you would suggest/ have done for your galaxy nexus/ android phone.
All my googleing seems to find is that i can get free wifi tethering or similat things that my phone can already do.
Ive got lots of tweaks that i use on my ipod touch that i would like to find for my phone .
Eg.
Activator
Sbsettings
XBMC -> xbmc . org it's awesome
Etc
Thanks for any help
ZeuBug said:
This is the solution:
- decompile Mms.apk
- change value for "smsToMmsTextThreshold" in mms_config.xml inside res/xml/ folder. 4 to 100 for example...
- compile
The big problem is I can't compile after... I have problem with apktools/dependency: framework-res.apk and/or systemUI.apk won't work for now. And I have no time to find what is the problem... If a great master could find this post it will be very good for us!
Click to expand...
Click to collapse
Didn't even come across this one (I usually only ever use gTalk to talk to folk), but I've added it in to my ROM now too Cheers for finding this one!
-TheAwesome- said:
This is exactly what im looking for. The only problem is that in still a noob when it cones to android and modifying it.
So I dont know where to copy the file to/ install it.
Ive got adb and my phone (Galaxy Nexus) is rooted.
So i need some more detailed instructions.
The answer is probably not too hard to find in these forums,
But i also wanted to ask what other mods etc you would suggest/ have done for your galaxy nexus/ android phone.
All my googleing seems to find is that i can get free wifi tethering or similat things that my phone can already do.
Ive got lots of tweaks that i use on my ipod touch that i would like to find for my phone .
Eg.
Activator
Sbsettings
XBMC -> xbmc . org it's awesome
Etc
Thanks for any help
Click to expand...
Click to collapse
Remount your /system partition in adb:
1. adb shell
2. su, only if you have a $ prompt
3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
4. exit
5. adb push Mms.apk /system/app/Mms.apk
Sent from my Galaxy Nexus using Tapatalk
Resun said:
Remount your /system partition in adb:
1. adb shell
2. su, only if you have a $ prompt
3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
4. exit
5. adb push Mms.apk /system/app/Mms.apk
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply.
It's not working though. I think it's not correctly making the /system partition rw.
This is what happens:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
# exit
exit
adb push Mms.apk /system/app/Mms.apk
failed to copy 'Mms.apk' to '/system/app/Mms.apk': Permission denied
any ideas?
-TheAwesome- said:
Thanks for the reply.
It's not working though. I think it's not correctly making the /system partition rw.
This is what happens:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
# exit
exit
adb push Mms.apk /system/app/Mms.apk
failed to copy 'Mms.apk' to '/system/app/Mms.apk': Permission denied
any ideas?
Click to expand...
Click to collapse
Sounds like you're on Linux? When you get the permission denied, it's usually if you're running adb without root. Kill the adb server, adb kill-server, then run it again with root permission. If it wasn't mounting it properly, it would give you something about being a read-only system.

[TOOL] Nightly Updater | 1.5 | Make Your Nexus Perfect | Backup | AROMA | Manta

I only have the NEW Nexus 7 and Nexus 4, so I am relying on you all to test...
Although it should work swimmingly!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Make Your Nexus Perfect
WHAT'S NEW?
> VER 1.5 | SEPT 10 2013
-> Quick Install quickened to 4 clicks as opposed to 6
-> Backup/Restore Menu Added
-> Backup/Restore User Apps and be able to remove backups
-> Backup/Restore Anything using keep.txt and be able to remove backups
-> How To section updated with info on Backup/Restore Menu
-> junk.txt Updated with Media and Face Unlock files
-> On the horizon: App deletion in AROMA installer
PREREQS
Nexus Device that has a system app you do not want
Grade school diploma (i.e. ability to read)
THE SKINNY
WHAT IS NIGHTLY UPDATER
Nightly Updater is an AROMA installer for those that
yearn to have the cleanest device. Since I first
owned an HTC Droid Eris, I have been wiping bloatware
off of my device. Flash foward to my latest devices -
LG Nexus 4 and the 2013 Asus Nexus 7 and there ain't
much bloatware... But, all AOSP ROMs tend to come with
at least one or two apps that I can do without (and
sometimes a lot more). Nightly Updater is a simple
tool that allows users to remove unwanted system
applications in an easy manner. NU also allows users
to customize which apps are removed.
HOW DOES IT WORK
Nightly Updater works by relying on scripts that
read txt files. When customizing your script, the
installer looks for junk.txt in the "NU" folder of
your virtual (i.e. internal) SD card. Each line that
has not been "commented out" (i.e. does not have a
"#" at the front of it) or any terms (i.e. app
descriptions) that follow a "#" are removed from the
script. This leaves Nightly Updater with a clean text
file that only has the applications you want to remove.
Review:
Custom Script is called: junk.txt
Custom Script goes here: /sdcard/NU/junk.txt
#Chrome.apk -- NOT DELETED FROM DEVICE
Chrome.apk -- DELETED FROM DEVICE
Chrome.apk #Google Browser -- AFTER "#" IGNORED
HOW DO I ADD MY OWN APPS
You can add your own apps in three ways: [1] name (without
apk), [2] name (with apk), or [3] file path.
[1] Name (without ".apk")... Just type:
Code:
Chrome
The installer will automatically know it is looking for an apk and
delete Chrome.apk.
[2] Name (with ".apk")... Just type:
Code:
Chrome.apk
I think you know what it does.
[3] Full File Path... Now, you can get a little funkier and do the entire
file path like:
Code:
/data/app/Chrome.apk
This comes in
handy for files like pre-loaded wallpapers and
ringtones you may want to remove. Be cognizant of
where the files you are removing are located! This
will become very important when telling Nightly
Updater where to scan.
By the way, Nightly Updater also recognizes wildcards.
This is great for those user apps that end up having
unpredictable file names. For example:
Code:
/data/app/com.google.android.youtub*.apk
com.google.android.youtube*
These are both ways of erasing YouTube regardless of
the "-X" at the end of the file name.
WHAT'S UP WITH SCANNING
When using a Custom Script, Nightly Updater asks
where you would like to scan for apps. By default,
Nightly Updater recommends you only scan in the
System/App folder - which is where (shocker) system
apps are located. Remember, most junk apps are located
in System/App. However, Nightly Updater has also given
the option to scan Data/App. Some developers will put
apps in the Data/App folder, so it may be useful to
remove apps from there. But NORMALLY, these are only
the apps you chose to install. The final option is
to scan EVERYWHERE. Be very cautious with this command!
Remember that it is matching what you write in
junk.txt with the scan parameter. If you accidentally
wrote "system" as an app you wanted to remove instead
of SystemTuner.apk (with full scan on)... you would
erase your system folder... that's REALLY BAD!!!
Now, if you only check this option when you are using
full path and double check your junk.txt file so that
you did not make any mistakes... YOU ARE GOOD!!!
When in doubt, post your junk.txt here and I will
check it over for you
WHAT'S THE DEFAULT SCRIPT
If you download junk.txt from the OP at XDA, then
you have seen the Default Script. The Default
Script is meant to remove apps that MOST people
would consider expendable. If you are nervous to
tinker with your own Custom Script, try running
the Default Script first. If the script deleted
an app you need or did not delete at app you want
to destroy - hit me up and I will walk you
through the steps.
MORE DIRECTIONS ARE IN THE INSTALLER
DOWNLOADS
Check the "Downloads" Tab
NU-1.5.zip - Nightly Updater Installer
junk.txt - Customizable Removal Script
keep.txt - Customizable Backup Script
BUGS
Installer will occasionally hang when you press "< Back" - Reboot Device to fix temporarily
You tell me
HOW YOU CAN HELP
Give me feature ideas
Come up with more pre-loaded apps to be added to junk.txt
SPECIAL THANKS
Patrics83 and the whole ROM Cleaner team for the inspiration of this amazing tool!!! :good:​
XDA:DevDB Information
Nightly Updater, a Tool/Utility for the Google Nexus 10
Contributors
swagstr
Version Information
Status: Stable
Current Stable Version: 1.5
Stable Release Date: 2013-09-10
Created 2013-09-09
Last Updated 2013-09-10
This is a great idea! I've been doing this with shell scripts for the last few months, something I run after installing a new ROM.
One question, does the app work with system apps? The example showed /data/app/*. Is it the scam that does /data/app/* and /system/app?
Also - a nice enhancement would be able to delete an app's data/cache (but not the app) after installing a ROM.
Here's a sample from my script:
Spoiler
#!/system/bin/sh
# Mount /system rw
busybox mount -o remount,rw /system
# Variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Copy bootanimation
cp $tw/../bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d if needed
mkdir $ei
chmod 755 $ei
# Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change build.prop to support TWC streaming app
sed -i 's/release-keys/Nexus 10/' /system/build.prop
sed -i 's/test-keys/Nexus 10/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
# Remove unwanted apps
rm $sa/Accuweather*.apk
rm $sa/Apollo.apk
rm $sa/BlueBalls.apk
rm $sa/Books.apk
sttovo said:
This is a great idea! I've been doing this with shell scripts for the last few months, something I run after installing a new ROM.
One question, does the app work with system apps? The example showed /data/app/*. Is it the scam that does /data/app/* and /system/app?
Also - a nice enhancement would be able to delete an app's data/cache (but not the app) after installing a ROM.
Here's a sample from my script:
Spoiler
#!/system/bin/sh
# Mount /system rw
busybox mount -o remount,rw /system
# Variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Copy bootanimation
cp $tw/../bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d if needed
mkdir $ei
chmod 755 $ei
# Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change build.prop to support TWC streaming app
sed -i 's/release-keys/Nexus 10/' /system/build.prop
sed -i 's/test-keys/Nexus 10/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
# Remove unwanted apps
rm $sa/Accuweather*.apk
rm $sa/Apollo.apk
rm $sa/BlueBalls.apk
rm $sa/Books.apk
Click to expand...
Click to collapse
Most definitely works with system apps. Just add "Apollo" and scan system... /system/app/Apollo.apk is deleted! I really like your script too! Smart idea to back up init.d and boot animation!
Sent from my Nexus 4 using Tapatalk 4
swagstr said:
I really like your script too! Smart idea to back up init.d and boot animation!
Click to expand...
Click to collapse
Ok - will give this a shot when I flash again.
Please feel free to take whatever you want !!!
sttovo said:
Ok - will give this a shot when I flash again.
Please feel free to take whatever you want !!!
Click to expand...
Click to collapse
Good to hear! :good:
Also, if any of you adventurous five people out there that downloaded this bad boy want to post some results for the Manta... that would be nice (As I do not have one)
Question for you… I want to delete all the folders under a certain folder, the OS command would be like this:
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
Looking at the help in the junk.txt file, I'm not sure how to do this, seems I can do one file or one folder, not multiple folders?
# /path/to/file/file.txt > Deletes file.txt
# /path/to/folder/ > Deletes folder ... REMEMBER the trailing "/"
sttovo said:
Question for you… I want to delete all the folders under a certain folder, the OS command would be like this:
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
Looking at the help in the junk.txt file, I'm not sure how to do this, seems I can do one file or one folder, not multiple folders?
# /path/to/file/file.txt > Deletes file.txt
# /path/to/folder/ > Deletes folder ... REMEMBER the trailing "/"
Click to expand...
Click to collapse
Code:
/data/data/com.android.providers.contacts/*
Should do the trick. Still the same scripting you used to use, just easier The script does rm -rf already.
Sent from my Nexus 4 using Tapatalk 4
swagstr said:
Code:
/data/data/com.android.providers.contacts/*
Should do the trick. Still the same scripting you used to use, just easier The script does rm -rf already.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Sorry, it only does rm -f currently. So for now add the "*" and it will delete everything in the folder for ya! If it doesn't break anything I will add the recursive command for folders.
Hey y'all! Working on a sizable update that is trying include several things requested from different devices. Looking for a little help on the testing side. First few that hit me up will get it.
Sent from my Nexus 4 using Tapatalk 4
BIG WARNING! DO NOT use the Data Wipe in version 1.5 and below. The script does not exclude the "media" folder... As some of you know... That's the SD CARD! I just did it and it SUCKED lol It will be fixed in the next version along with many new updates
Sent from my Nexus 4 using Tapatalk 4
Yo. Working diligently on the backup/restore feature. Next update will be sick. Standby
Sent from my Nexus 4 using Tapatalk 4

[CWM-TWRP]Xperia S Dual Recovery for locked/unlocked bootloaders

Dual Recovery for locked-unlocked bootloaders. TWRP 2.6.3 - CWM 6.0.3 works together!​Warning 1 : I am not responsible for bricked phones..
Warning 2 : I am not user of Xperia S, so need testers for learn is it working... (working-confirmed)
Warning 3 : If you are using CM10 for locked bootloader, dont install this. It'll broke your initframs...
Warning 4 : If you have CWM(with chargemon hack) you may get problem. Do fresh install without recoveries...
How it works ?
-When booting your phone, BLUE led will appear.
--Volume UP enters TWRP 2.6.3
--Volume DOWN enters CWM 6.0.3
On CWM, " USB MOUNT STORAGE" works.
How to install :
Method 1)
Dual Recovery For Xperia S ( Installer Script )
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEdUdGVGc4aDFya3M
Requires : (JB-KK)
- rooted phone
- adb debug enabled
- busybox installed
- unknown sources enabled
and start
- download installer script from above.
- unzip it into a folder.
- there are batch files for windows users and also for linux users in both the zips.
- just execute the batch files and follow the messages if any.
Method 2)
Flashable Zip for Xperia S (only for TWRP flash, it wont work on CWM flashing.)
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLESmlYa1JSamxJTWc
Method 3)
- Download Flashable Zip version (on method 2 part).
- Extract it and copy files to your sdcard.
- Manually copy files via explorers with root:
cwmrecovery.tar and recovery.tar ---to--- /system/bin (set permissions 755)
step2.sh and pre_hw_config.sh ---to--- /system/etc (set permissions 755)
-Reboot​
XDA:DevDB Information
[CWM-TWRP] Xperia S Dual Recovery for locked/unlocked bootloaders , a Tool/Utility for the Sony Xperia S
Contributors
Zorbeyd
Version Information
Status: Stable
Created 2014-02-03
Last Updated 2014-02-04
Thanks goes to : @letama , @djolivier , @ganeshbiyer , twrp team, cyanogenmod, fxp, @MrGezz , @DooMLoRD , crazy_doze
good work thanks:thumbup:
Sent from my LT26i using xda app-developers app
XSL user
Can I use this on my XSL ??
It's says while intalling in windows ....,what i do?
----------------------------------------------------------------------
CWM-based Recovery v6.0.3.0 / TWRP v2.6.3
by Zorbeyd
----------------------------------------------------------------------
Thanks to
CM, FreeXperia, djolivier cray_Doze, letama, MrGezz, ganeshbiyer
----------------------------------------------------------------------
[*]Requirements for PC:
(1) usb driver installed
[*]Requirements for mobile:
(1) rooted
(2) busybox installed
(3) Unknown Sources' enabled
(4) USB debugging' enabled
----------------------------------------------------------------------
----------------------------------------------------------------------
* Start installation.("ctrl-c" to stop process)
----------------------------------------------------------------------
Press any key to continue . . .
connect device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
35 KB/s (1695 bytes in 0.046s)
0 KB/s (801 bytes in 1.000s)
3 KB/s (3397 bytes in 1.000s)
4053 KB/s (1165484 bytes in 0.280s)
4057 KB/s (5314560 bytes in 1.279s)
3885 KB/s (3041280 bytes in 0.764s)
0 KB/s (578 bytes in 1.000s)
----------------------------------------------------------------------
An error has occurred in dualrecovery.sh. Stop processing.
Press any key to continue . . .
----------------------------------------------------------------
20140203 134233: busybox mount -o remount,rw /system
20140203 134233: RET=0
20140203 134233: cp /data/local/tmp/pre_hw_config.sh /system/etc
h
20140203 134233: RET=0
20140203 134233: chown root.shell /system/etc/pre_hw_config.sh
20140203 134233: RET=0
20140203 134233: chmod 755 /system/etc/pre_hw_config.sh
20140203 134233: RET=0
20140203 134233: cp /data/local/tmp/step2.sh /system/etc/step2.s
20140203 134233: RET=0
20140203 134233: chown root.shell /system/etc/step2.sh
Unable to chown /system/etc/step2.sh: No such file or directory
20140203 134233: RET=10
Press any key to continue . . .
it s awesome, thx
i make all this instruction and in the final said dual instaled y have ub with kernel doomlord but everytime i restart the phone with vol plus no touch recovery just normal included in kernel doomlord any help is apreciate thank u don t work dual bro
Deleted
---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------
edwuard said:
i make all this instruction and in the final said dual instaled y have ub with kernel doomlord but everytime i restart the phone with vol plus no touch recovery just normal included in kernel doomlord any help is apreciate thank u don t work dual bro
Click to expand...
Click to collapse
If you have TWRP in your Kernel then it wont be replaced, as this is not kernel based. For that you need to flash stock kernel then use this mod. you will get Dual recovery.
Zorbeyd Can you add new cwm recovery 6.0.3.2 -Mod crazy_doze v2.5? .
On twrp usb mount storage works ?.
This is twrp recovery from this topic: [ http://forum.xda-developers.com/showthread.php?p=49014840 ? :what:
Wysłane z mojego LT26i przy użyciu Tapatalka
captain droid said:
deleted
---------- post added at 04:42 pm ---------- previous post was at 04:39 pm ----------
if you have twrp in your kernel then it wont be replaced, as this is not kernel based. For that you need to flash stock kernel then use this mod. You will get dual recovery.
Click to expand...
Click to collapse
doomlord kernel is stock withouwt twrp bro and as i say y have the old cwr not the new what is the problem to solve this i don t need to flash a kernel without recovery but this doomlord has the cwr not twrp any sugestion thank u
I added new installer script on first thread. Please try with it.
https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEdUdGVGc4aDFya3M
Thanks buddy for your hardwork!!!
I'll test it tonight
Gold_Phenix said:
Zorbeyd Can you add new cwm recovery 6.0.3.2 -Mod crazy_doze v2.5? .
On twrp usb mount storage works ?.
This is twrp recovery from this topic: [ http://forum.xda-developers.com/showthread.php?p=49014840 ? :what:
Wysłane z mojego LT26i przy użyciu Tapatalka
Click to expand...
Click to collapse
I'll look it.. And yes every specification must work.
rockernaxo said:
Thanks buddy for your hardwork!!!
I'll test it tonight
Click to expand...
Click to collapse
Thanks you my dear mate...
Zorbeyd said:
I added new installer script on first thread. Please try with it.
https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEdUdGVGc4aDFya3M
Click to expand...
Click to collapse
same thing bro when reboot it reboot in recovery of kernel doomlord nothing hapend thank u anyway i instal this batch file 10 times nothing just recovery from doomlord kernel i m going crazy
edwuard said:
same thing bro when reboot it reboot in recovery of kernel doomlord nothing hapend thank u anyway i instal this batch file 10 times nothing just recovery from doomlord kernel i m going crazy
Click to expand...
Click to collapse
Can you share logs?
If adb works on your pc, it must be there..
Locate : /data/local/tmp/dualrecovery.log
testing dual recovery
I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat
milocj said:
I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat
Click to expand...
Click to collapse
@milocj I tried flashing the initial version via cwm and it worked fine for my..I can acess twrp via vol+ and cwm via vol-..
Sent from my LT28h using XDA Premium 4 mobile app
Chocklety Boyee said:
@milocj I tried flashing the initial version via cwm and it worked fine for my..I can acess twrp via vol+ and cwm via vol-..
Sent from my LT28h using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks so much, i tried again
@milocj by DevSXSTEAM
milocj said:
I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat
Click to expand...
Click to collapse
Hello milocj
Can you share /data/local/tmp/dualrecovery.log ?
One question: u are flash zip for TWRP?
@milocj by DevSXSTEAM
---------- Post added at 07:02 PM ---------- Previous post was at 07:00 PM ----------
Zorbeyd said:
Hello milocj
Can you share /data/local/tmp/dualrecovery.log ?
Click to expand...
Click to collapse
Yes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@milocj by DevSXSTEAM

Categories

Resources